:root {
  --bg: #fff8ef;
  --surface: #fffdf8;
  --surface-strong: #f6e7d2;
  --ink: #321c18;
  --muted: #735b50;
  --line: rgba(92, 45, 35, 0.16);
  --maple: #a84434;
  --maple-dark: #7b2e3a;
  --honey: #d48b3f;
  --wine: #5a2230;
  --leaf: #537a5a;
  --shadow: 0 20px 60px rgba(72, 34, 23, 0.16);
  --radius: 8px;
  --shell: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fffaf2 0%, #f8ead5 46%, #fff8ef 100%);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
summary {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--wine);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 248, 239, 0.88);
  border-bottom: 1px solid rgba(90, 34, 48, 0.08);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--wine);
}

.brand img {
  width: 58px;
  height: 38px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.brand span {
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  color: #50342c;
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 6px;
  transition: background-color 160ms ease, color 160ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--wine);
  background: rgba(168, 68, 52, 0.1);
  outline: none;
}

.nav-menu .nav-download {
  margin-left: 6px;
  color: #fffdf8;
  background: linear-gradient(135deg, var(--maple) 0%, var(--maple-dark) 100%);
  box-shadow: 0 10px 24px rgba(90, 34, 48, 0.18);
}

.nav-menu .nav-download:hover,
.nav-menu .nav-download:focus-visible {
  color: #fffdf8;
  background: linear-gradient(135deg, #b9553d 0%, #682437 100%);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffaf2;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--wine);
  grid-area: 1 / 1;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.hero {
  min-height: min(760px, calc(100svh - 72px));
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: -2;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(40, 16, 16, 0.78) 0%, rgba(65, 24, 23, 0.52) 44%, rgba(37, 25, 18, 0.15) 100%),
    linear-gradient(0deg, rgba(255, 248, 239, 0.95) 0%, rgba(255, 248, 239, 0.06) 34%, rgba(34, 21, 16, 0.1) 100%);
}

.hero-content {
  padding: 92px 0 64px;
  color: #fffaf2;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: #ffe1a5;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 72px;
  line-height: 1.02;
  letter-spacing: 0;
  color: #ffe1a5;
  background: linear-gradient(180deg, #fff4c7 0%, #f4bd68 46%, #c86444 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 14px 28px rgba(34, 12, 10, 0.5));
}

.hero-copy {
  max-width: 660px;
  margin: 22px 0 0;
  font-size: 20px;
  color: rgba(255, 250, 242, 0.94);
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 6px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.button.primary {
  background: #fff3ce;
  color: var(--wine);
  box-shadow: 0 12px 30px rgba(49, 18, 13, 0.22);
}

.button.download {
  color: #fffdf8;
  background: linear-gradient(135deg, #a84434 0%, #7b2e3a 100%);
  border-color: rgba(255, 225, 165, 0.42);
  box-shadow: 0 14px 34px rgba(72, 20, 24, 0.32);
}

.button.secondary {
  color: #fffdf8;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-facts {
  margin: 42px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 180px));
  gap: 12px;
}

.hero-facts div {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.13);
  backdrop-filter: blur(14px);
}

.hero-facts dt {
  font-size: 12px;
  color: #ffe6bb;
}

.hero-facts dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.quick-panel {
  position: relative;
  z-index: 3;
  margin-top: -34px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.quick-panel a {
  min-height: 112px;
  padding: 18px;
  background: rgba(255, 253, 248, 0.96);
  transition: transform 160ms ease, background-color 160ms ease;
}

.quick-panel a:hover {
  transform: translateY(-2px);
  background: #fff7e9;
}

.quick-panel span {
  display: block;
  color: var(--maple-dark);
  font-weight: 800;
  margin-bottom: 7px;
}

.quick-panel strong {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.compact {
  margin-bottom: 28px;
}

.section h2 {
  margin: 0;
  color: var(--wine);
  font-size: 38px;
  line-height: 1.16;
  letter-spacing: 0;
}

.section h3 {
  margin: 0;
  color: var(--wine);
  font-size: 22px;
  line-height: 1.35;
}

.section h4 {
  margin: 0 0 12px;
  color: var(--wine);
  font-size: 18px;
}

.section p {
  color: var(--muted);
}

.text-warm {
  color: var(--maple);
  font-weight: 800;
}

.text-gold {
  color: #a96c24;
  font-weight: 800;
}

.text-leaf {
  color: var(--leaf);
  font-weight: 800;
}

.section-head p,
.section-copy > p {
  font-size: 17px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: 42px;
  align-items: center;
}

.intro-section {
  padding-top: 78px;
}

.intro-section .section-kicker,
.features .section-kicker,
.characters .section-kicker,
.guide .section-kicker,
.updates .section-kicker,
.faq-section .section-kicker,
.gallery-section .section-kicker {
  color: var(--maple);
}

.info-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.info-grid div {
  padding: 16px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.info-grid strong,
.info-grid span {
  display: block;
}

.info-grid strong {
  color: var(--wine);
  margin-bottom: 6px;
}

.info-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.feature-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-figure img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.feature-figure figcaption {
  padding: 13px 16px;
  color: var(--muted);
  font-size: 14px;
  background: #fffdf8;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-list article {
  min-height: 248px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(246, 231, 210, 0.66));
}

.feature-index {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--wine);
  color: #fff3ce;
  font-size: 13px;
  font-weight: 800;
}

.feature-list h3 {
  margin-bottom: 10px;
}

.feature-list p {
  margin: 0;
}

.characters {
  background:
    linear-gradient(180deg, rgba(91, 44, 42, 0.06), rgba(91, 44, 42, 0)),
    #fff8ef;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.character-card {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #231313;
  isolation: isolate;
  box-shadow: 0 18px 45px rgba(75, 34, 28, 0.12);
}

.character-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(35, 13, 18, 0.9) 0%, rgba(35, 13, 18, 0.28) 54%, rgba(35, 13, 18, 0.04) 100%);
}

.character-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.character-card div {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 20px;
}

.character-card p {
  margin: 0 0 4px;
  color: #ffe1a5;
  font-size: 13px;
  font-weight: 800;
}

.character-card h3 {
  color: #fffdf8;
}

.character-card span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 253, 248, 0.82);
  font-size: 14px;
  line-height: 1.55;
}

.guide {
  background:
    linear-gradient(180deg, #fff8ef 0%, #f3dfc6 100%);
}

.guide-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 36px;
}

.guide-aside {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.88);
}

.guide-aside p {
  margin: 0 0 12px;
  color: var(--wine);
  font-weight: 800;
}

.guide-aside a {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
}

.guide-aside a:hover {
  background: rgba(168, 68, 52, 0.08);
  color: var(--wine);
}

.guide-body {
  padding: 6px 0 0;
}

.guide-body > p {
  font-size: 17px;
}

.guide-block {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.order-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.order-columns div {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: #fff8ef;
  border: 1px solid var(--line);
}

.order-columns ol {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.route-table {
  display: grid;
  gap: 10px;
}

.route-table div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 6px;
  background: #fff8ef;
  border: 1px solid rgba(92, 45, 35, 0.1);
}

.route-table strong {
  color: var(--wine);
}

.route-table span {
  color: var(--muted);
}

.route-table b {
  color: var(--maple-dark);
  font-weight: 800;
}

.image-text {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: center;
}

.image-text img {
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--honey);
}

.gallery-section {
  background: #fff8ef;
}

.gallery {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 12px;
  align-items: center;
}

.gallery-frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #251316;
  box-shadow: var(--shadow);
}

.gallery-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-frame figcaption {
  padding: 14px 18px;
  color: #fff4df;
  background: #4e2330;
}

.gallery-button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fffdf8;
  cursor: pointer;
  position: relative;
  box-shadow: 0 8px 22px rgba(72, 34, 23, 0.1);
}

.gallery-button::before {
  content: "";
  position: absolute;
  inset: 17px 15px;
  border-top: 2px solid var(--wine);
  border-left: 2px solid var(--wine);
}

.gallery-button.prev::before {
  transform: rotate(-45deg);
}

.gallery-button.next::before {
  transform: rotate(135deg);
}

.updates {
  background:
    linear-gradient(180deg, rgba(91, 44, 42, 0.06), rgba(83, 122, 90, 0.08));
}

.timeline {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  list-style: none;
}

.timeline li {
  min-height: 245px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.9);
}

.timeline time {
  display: block;
  color: var(--maple);
  font-size: 13px;
  font-weight: 800;
}

.timeline strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--wine);
  font-size: 18px;
  line-height: 1.35;
}

.timeline p {
  margin: 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 40px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.94);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--wine);
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
}

.site-footer {
  padding: 42px 0;
  background: #331c1d;
  color: #fff7e8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 28px;
}

.site-footer strong,
.site-footer span {
  display: block;
  margin-bottom: 10px;
  color: #ffe1a5;
  font-weight: 800;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0;
  color: rgba(255, 247, 232, 0.78);
  font-size: 14px;
}

.site-footer a + a {
  margin-top: 6px;
}

@media (max-width: 1080px) {
  .quick-panel,
  .feature-list,
  .character-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .character-card {
    min-height: 300px;
  }

  .guide-layout,
  .two-column,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .guide-aside {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .guide-aside p {
    width: 100%;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100vw - 24px, 1180px);
  }

  .nav {
    min-height: 64px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-menu {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 64px;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fffaf2;
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: grid;
  }

  .nav-menu a {
    padding: 12px;
  }

  .nav-menu .nav-download {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    min-height: 720px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-media {
    object-position: center top;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(52, 18, 20, 0.92) 0%, rgba(75, 28, 24, 0.68) 58%, rgba(37, 25, 18, 0.16) 100%);
  }

  .hero-content {
    padding: 84px 0 42px;
  }

  .hero-copy,
  .section-head p,
  .section-copy > p,
  .guide-body > p {
    font-size: 16px;
  }

  .section h2 {
    font-size: 26px;
  }

  .hero-facts,
  .quick-panel,
  .feature-list,
  .character-grid,
  .timeline,
  .info-grid,
  .order-columns,
  .image-text,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quick-panel {
    margin-top: 0;
    border-radius: 0;
    width: 100%;
  }

  .quick-panel a {
    min-height: auto;
  }

  .section {
    padding: 64px 0;
  }

  .guide-body {
    padding: 22px;
  }

  .route-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .gallery-button {
    display: none;
  }

  .gallery-frame figcaption {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
