body {
  margin: 0;
  background: #1a120b;
  color: #e9d1a1;
  font-family: "宋体", "Microsoft YaHei", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: 1000px;
  margin: 0 auto;
  background: #24170f;
  border: 1px solid #3a2618;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: #1f140c;
  border-bottom: 1px solid #3a2618;
}

.logo img {
  height: 64px;
  width: 200px;
  object-fit: contain;
  display: block;
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 13px;
}

.breadcrumb {
  display: none;
  margin-left: auto;
  position: relative;
}

.breadcrumb summary {
  list-style: none;
  cursor: pointer;
  padding: 0;
  border: 1px solid #3a2618;
  background: #1f140c;
  color: #f3d08a;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 1px;
  min-width: 32px;
  width: 32px;
  height: 32px;
  text-align: center;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.breadcrumb summary::-webkit-details-marker {
  display: none;
}

.breadcrumb summary::before {
  content: "";
  width: 18px;
  height: 2px;
  background: #f3d08a;
  border-radius: 2px;
  box-shadow:
    0 5px 0 #f3d08a,
    0 -5px 0 #f3d08a;
}

.breadcrumb-links {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid #3a2618;
  background: #24170f;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
  min-width: 140px;
  z-index: 10;
}

.breadcrumb-links a {
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid transparent;
}

.breadcrumb-links a:active {
  transform: translateY(1px);
}

.breadcrumb-links a:hover {
  border-color: #4a3524;
  background: #1f140c;
}

.banner-hero {
  position: relative;
  min-height: 240px;
  padding: 24px 18px;
  background: url("../images/banner-2003.jpg") center/cover no-repeat;
  border-bottom: 1px solid #3a2618;
}

.banner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.75));
}

.banner-content {
  position: relative;
  max-width: 520px;
}

.banner-content h1 {
  margin: 0 0 8px;
  font-size: 26px;
  color: #f6d496;
  letter-spacing: 2px;
}

.banner-content p {
  margin: 0 0 14px;
  color: #e6c27f;
}

.banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.banner-actions .btn {
  min-width: 140px;
}

.main {
  display: flex;
  gap: 20px;
  padding: 18px;
}

.left {
  flex: 1;
}

.right {
  width: 280px;
}

h3 {
  font-size: 14px;
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #3a2618;
  color: #f3d08a;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list li {
  padding: 6px 0;
  border-bottom: 1px dashed #3a2618;
}

.panel {
  background: #2a1b12;
  border: 1px solid #3a2618;
  padding: 12px;
  margin-bottom: 12px;
}

.app-logo {
  text-align: center;
}

.app-logo img {
  width: 160px;
  height: auto;
}

.download-logo {
  margin: 6px 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.download-logo img {
  width: 64px;
  height: auto;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid #4a3524;
  background: #1f140c;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.45), inset 0 0 6px rgba(255, 210, 140, 0.08);
}

.download-info {
  font-size: 12px;
  color: #caa86f;
  line-height: 1.6;
}

.download-title {
  color: #f3d08a;
  margin-bottom: 2px;
}

.btn {
  display: block;
  text-align: center;
  padding: 8px 0;
  margin-bottom: 8px;
  border: 1px solid #4a3524;
  background: #1f140c;
}

.btn.primary {
  background: linear-gradient(180deg, #d7a455, #8d5a24);
  color: #fff1c9;
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

.intro-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-top: 1px solid #3a2618;
  border-bottom: 1px solid #3a2618;
  background: #1f140c;
}

.intro-bar img {
  width: 260px;
  height: 120px;
  object-fit: cover;
  border: 1px solid #3a2618;
}

.intro-text p {
  margin: 6px 0 0;
  color: #caa86f;
}

.jobs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px 18px;
}

.job {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #2a1b12;
  border: 1px solid #3a2618;
  text-align: left;
  padding: 12px 14px;
}

.job img {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.job h4 {
  margin: 8px 0 4px;
  color: #f3d08a;
}

.screenshots {
  padding: 16px 18px;
  border-top: 1px solid #3a2618;
}

.screenshots h3,
.jobs h3 {
  font-size: 14px;
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #3a2618;
  color: #f3d08a;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (min-width: 901px) {
  .shot-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.shot {
  background: #2a1b12;
  border: 1px solid #3a2618;
  padding: 10px;
  text-align: center;
}

.shot img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid #3a2618;
  background: #1f140c;
}

.shot-link {
  display: block;
}

.shot-link img {
  display: block;
}

.shot p {
  margin: 8px 0 0;
  color: #caa86f;
  font-size: 12px;
}

.no-scroll {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 24px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border: 2px solid #3a2618;
  background: #1f140c;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #3a2618;
  background: #1f140c;
  color: #f3d08a;
  font-size: 20px;
  cursor: pointer;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 16px 18px 20px;
  border-top: 1px solid #3a2618;
  background: #1f140c;
  color: #b8925c;
  font-size: 12px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  height: 64px;
  width: 200px;
  object-fit: contain;
}

.footer-info {
  line-height: 1.6;
}

@media (max-width: 900px) {
  .wrap {
    width: 100%;
  }

  .topbar {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .logo {
    margin-left: -30px;
  }
  
  .nav {
    display: none;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .breadcrumb {
    display: block;
  }

  .breadcrumb summary {
    padding: 8px 12px;
    border-radius: 6px;
    background: linear-gradient(180deg, #2b1c12, #1c120b);
    border-color: #4a3524;
    font-size: 13px;
  }

  .main {
    flex-direction: column;
  }

  .banner-hero {
    min-height: 200px;
  }

  .banner-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .right {
    width: 100%;
  }

  .intro-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .intro-bar img {
    width: 100%;
    height: auto;
  }

  .jobs {
    grid-template-columns: 1fr;
  }

  .shot-grid {
    display: flex;
    overflow-x: auto;
    gap: 0;
    scroll-snap-type: x mandatory;
    padding-bottom: 0;
  }

  .shot {
    min-width: 100%;
    scroll-snap-align: start;
    padding: 0;
    border: none;
  }

  .shot img {
    border: none;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
