:root {
  --night-950: #090b22;
  --night-900: #0e102b;
  --night-850: #131535;
  --night-800: #191a40;
  --orchid: #b66aa8;
  --orchid-soft: #d798c8;
  --pink: #ff6ead;
  --gold: #e7c46b;
  --gold-deep: #b99643;
  --white: #f8f7ff;
  --ice: #c8d4ec;
  --muted: #929db9;
  --line: rgba(215, 152, 200, 0.22);
  --line-strong: rgba(231, 196, 107, 0.42);
  --header-h: 76px;
  --container: 1180px;
  --shadow: 0 24px 80px rgba(2, 3, 16, 0.34);
  --radius-module: 16px;
  --radius-image: 12px;
  --radius-tag: 4px;
  --radius-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 18px); }
body {
  margin: 0;
  color: var(--white);
  background: var(--night-950);
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: 0; text-wrap: balance; }
h1, h2 { font-family: "Microsoft YaHei UI", "PingFang SC", sans-serif; }
h2 { font-size: 2.5rem; font-weight: 800; }
h3 { font-size: 1.12rem; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.05em; height: 1.05em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 999; padding: 10px 16px; border-radius: var(--radius-pill); background: var(--gold); color: var(--night-950); font-weight: 800; }
.skip-link:focus { top: 10px; }
.reading-progress { position: fixed; inset: 0 0 auto; z-index: 200; height: 3px; pointer-events: none; }
.reading-progress span { display: block; width: 0; height: 100%; background: var(--gold); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); border-bottom: 1px solid transparent; transition: background-color .25s, border-color .25s; }
.site-header.is-scrolled { background: rgba(9, 11, 34, .94); border-color: var(--line); backdrop-filter: blur(14px); }
.nav-shell { width: min(calc(100% - 32px), 1400px); height: 100%; margin: auto; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 250px; font-weight: 800; font-size: .92rem; }
.brand img { width: 48px; height: 48px; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius-image); }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(10px, 1.2vw, 20px); }
.primary-nav a { position: relative; display: inline-flex; align-items: center; gap: 6px; color: var(--ice); font-size: .84rem; font-weight: 700; white-space: nowrap; }
.primary-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--gold); transition: right .3s ease; }
.primary-nav a:not(.nav-cta):hover::after, .primary-nav a:not(.nav-cta):focus-visible::after { right: 0; }
.primary-nav .nav-cta { padding: 9px 15px; border-radius: var(--radius-pill); background: var(--gold); color: var(--night-950); border: 1px solid var(--gold); }
.primary-nav .nav-cta { transition: transform .3s ease, background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.primary-nav .nav-cta:hover, .primary-nav .nav-cta:focus-visible { transform: translateY(-2px) scale(1.04); background: #f4d680; border-color: #f4d680; box-shadow: 0 12px 30px rgba(231,196,107,.28); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--night-850); cursor: pointer; }
.nav-toggle .icon { width: 23px; height: 23px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle { transition: transform .3s ease, background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.nav-toggle:hover, .nav-toggle:focus-visible { transform: scale(1.04); border-color: var(--gold); background: var(--night-800); box-shadow: 0 10px 28px rgba(182,106,168,.2); }

.hero { position: relative; min-height: min(76svh, 820px); display: grid; align-items: end; isolation: isolate; overflow: hidden; background: #12152f; }
.hero-media { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 36%; border-radius: var(--radius-image); }
.hero-shade { position: absolute; z-index: -2; inset: 0; background: rgba(7, 8, 26, .56); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 34%; background: rgba(9, 11, 34, .72); }
.hero-content { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; padding: calc(var(--header-h) + 70px) 0 62px; }
.eyebrow, .section-index, .phase-kicker, .aside-label { margin: 0 0 14px; color: var(--gold); font-size: .76rem; line-height: 1.4; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 740px; font-size: 4.4rem; font-weight: 900; text-shadow: 0 3px 22px rgba(0,0,0,.74); }
.hero-copy { max-width: 650px; margin: 22px 0 30px; color: var(--ice); font-size: 1.2rem; font-weight: 600; text-shadow: 0 2px 10px rgba(0,0,0,.8); }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: var(--radius-pill); font-weight: 900; transition: transform .3s ease, background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px) scale(1.04); }
.button-primary { background: var(--gold); color: var(--night-950); border-color: var(--gold); box-shadow: 0 12px 34px rgba(231,196,107,.18); }
.button-primary:hover, .button-primary:focus-visible { background: #f4d680; box-shadow: 0 16px 38px rgba(231,196,107,.32); }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--white); font-weight: 800; border-bottom: 1px solid var(--line-strong); }
.hero-facts { display: flex; gap: 42px; margin: 40px 0 0; }
.hero-facts div { padding-left: 14px; border-left: 2px solid var(--gold-deep); }
.hero-facts dt { color: var(--muted); font-size: .7rem; font-weight: 800; }
.hero-facts dd { margin: 2px 0 0; font-weight: 800; }
.section-cue { position: absolute; right: 3vw; bottom: 28px; width: 28px; height: 44px; border: 1px solid rgba(255,255,255,.38); border-radius: 16px; }
.section-cue span { position: absolute; top: 8px; left: 12px; width: 3px; height: 8px; background: var(--gold); animation: cue 1.5s ease-in-out infinite; }
@keyframes cue { 50% { transform: translateY(14px); opacity: .4; } }

.section { padding: 112px 0; border-bottom: 1px solid var(--line); }
.section-copy { align-self: center; }
.section-copy .lead, .section-heading .lead { color: var(--white); font-size: 1.25rem; line-height: 1.75; }
.section-copy > p:not(.section-index):not(.lead), .section-heading > p:last-child { color: var(--ice); }
.section-intro { background: var(--night-900); }
.intro-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(480px, 1.14fr); gap: clamp(48px, 7vw, 100px); }
.feature-visual { margin: 0; position: relative; }
.feature-visual img { width: 100%; height: auto; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius-image); box-shadow: var(--shadow); }
.feature-visual img { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.feature-visual:hover img, .feature-visual:focus-within img { transform: scale(1.03); border-color: var(--line-strong); box-shadow: 0 28px 86px rgba(182,106,168,.28); }
.feature-visual::before { content: ""; position: absolute; inset: -14px 18px 14px -18px; z-index: -1; border: 1px solid var(--line-strong); }
.feature-visual figcaption { display: flex; justify-content: space-between; gap: 20px; padding: 13px 2px 0; color: var(--ice); font-size: .78rem; }
.feature-visual figcaption span { color: var(--gold); font-weight: 900; letter-spacing: .14em; }

.section-content { background: var(--night-950); }
.section-heading { max-width: 780px; margin-bottom: 56px; }
.split-heading { max-width: none; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); align-items: end; gap: 60px; }
.split-heading > p { margin: 0; padding-left: 22px; border-left: 2px solid var(--gold-deep); color: var(--ice); }
.day-night { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.phase { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-module); background: var(--night-850); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background-color .3s ease; }
.phase img { order: -1; width: 100%; height: auto; object-fit: contain; object-position: center; border-radius: var(--radius-image); }
.phase:hover, .phase:focus-within { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 20px 54px rgba(182,106,168,.24), 0 0 28px rgba(231,196,107,.1); }
.phase img { transition: transform .3s ease; }
.phase:hover img, .phase:focus-within img { transform: scale(1.05); }
.phase-number { position: absolute; z-index: 2; top: 18px; left: 20px; padding: 5px 10px; border-radius: var(--radius-tag); background: var(--night-950); color: var(--gold); font-size: .68rem; font-weight: 900; letter-spacing: .2em; }
.phase-copy { position: relative; z-index: 2; flex: 1; padding: 36px; }
.phase-copy h3 { margin-bottom: 12px; font-size: 1.65rem; }
.phase-copy p:not(.phase-kicker) { color: var(--ice); }
.tag-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { padding: 5px 11px; border: 1px solid var(--line); border-radius: var(--radius-tag); color: var(--orchid-soft); font-size: .78rem; }
.content-points { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 62px; border-block: 1px solid var(--line); border-radius: var(--radius-module); }
.content-points article { min-height: 214px; padding: 28px 24px; border-right: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease; }
.content-points article:hover, .content-points article:focus-within { transform: translateY(-5px); background: var(--night-850); box-shadow: 0 18px 42px rgba(182,106,168,.2), 0 0 24px rgba(231,196,107,.08); }
.content-points article:last-child { border-right: 0; }
.content-points span, .guide-steps > article > span, .route-list article > span { color: var(--gold); font-size: .74rem; font-weight: 900; }
.content-points h3 { margin: 38px 0 12px; }
.content-points p { margin: 0; color: var(--muted); font-size: .9rem; }

.section-characters { background: #11132e; }
.character-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); gap: clamp(48px, 7vw, 96px); align-items: center; }
.character-shot { margin: 0; position: relative; }
.character-shot::after { content: ""; position: absolute; inset: 22px -18px -18px 22px; z-index: -1; border: 1px solid var(--line-strong); }
.character-shot img { width: 100%; height: auto; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius-image); box-shadow: var(--shadow); }
.character-shot img { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.character-shot:hover img, .character-shot:focus-within img { transform: scale(1.03); border-color: var(--line-strong); box-shadow: 0 28px 86px rgba(182,106,168,.28); }
.route-list { margin-top: 34px; border-top: 1px solid var(--line); }
.route-list article { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.route-list h3 { margin-bottom: 6px; }
.route-list p { margin: 0; color: var(--muted); font-size: .9rem; }

.section-guide { background: var(--night-900); }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .55fr); gap: 64px; align-items: start; }
.guide-steps { border-top: 1px solid var(--line); }
.guide-steps article { display: grid; grid-template-columns: 46px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.guide-steps h3 { margin-bottom: 8px; font-size: 1.25rem; }
.guide-steps p { margin: 0; color: var(--ice); }
.guide-aside { position: sticky; top: calc(var(--header-h) + 26px); padding: 32px; border: 1px solid var(--line-strong); border-radius: var(--radius-module); background: #171834; box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background-color .3s ease; }
.guide-aside h3 { font-size: 1.5rem; }
.guide-aside:hover, .guide-aside:focus-within { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 20px 54px rgba(182,106,168,.24), 0 0 28px rgba(231,196,107,.1); }
.check-list { list-style: none; padding: 0; margin: 24px 0 28px; }
.check-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ice); font-size: .88rem; }
.check-list span { color: var(--gold); }

.section-features { background: var(--night-950); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius-module); }
.feature-grid article { min-height: 260px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--night-900); transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease, border-color .3s ease; }
.feature-grid article:nth-child(3n) { border-right: 0; }
.feature-grid article:nth-last-child(-n+3) { border-bottom: 0; }
.feature-grid article:hover, .feature-grid article:focus-within { transform: translateY(-5px); background: var(--night-850); box-shadow: 0 18px 44px rgba(182,106,168,.2), 0 0 26px rgba(231,196,107,.08); }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: var(--radius-module); color: var(--gold); font-family: Georgia, serif; }
.feature-grid h3 { margin: 36px 0 11px; font-size: 1.25rem; }
.feature-grid p { color: var(--muted); margin: 0; }

.section-gallery { padding-inline: 0; background: #0b0d26; overflow: hidden; }
.gallery-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 38px; }
.gallery-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.gallery-track figure { min-width: 0; margin: 0; }
.gallery-card { display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-image); background: #19172b; cursor: zoom-in; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .3s ease; }
.gallery-card:hover, .gallery-card:focus-visible { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 18px 44px rgba(182,106,168,.2), 0 0 26px rgba(231,196,107,.08); }
.gallery-card:hover img, .gallery-card:focus-visible img { transform: scale(1.05); }
.gallery-track figcaption { padding: 12px 2px 0; color: var(--ice); font-size: .85rem; }
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox { position: fixed; z-index: 300; inset: 0; display: grid; place-items: center; padding: 28px; color: var(--white); }
.gallery-lightbox-backdrop { position: absolute; inset: 0; background: rgba(3, 5, 18, .9); backdrop-filter: blur(8px); }
.gallery-lightbox-dialog { position: relative; z-index: 1; display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; grid-template-rows: minmax(0, 1fr) auto; align-items: center; width: min(1180px, 94vw); max-height: 92svh; gap: 12px; }
.gallery-lightbox-figure { grid-column: 2; grid-row: 1; min-width: 0; margin: 0; text-align: center; }
.gallery-lightbox-figure img { display: block; width: 100%; max-height: 78svh; object-fit: contain; border: 1px solid var(--line-strong); border-radius: var(--radius-image); background: #080a1c; box-shadow: 0 24px 80px rgba(0,0,0,.55); }
.gallery-lightbox-figure figcaption { margin-top: 12px; color: var(--ice); font-size: .9rem; }
.gallery-lightbox-close, .gallery-lightbox-nav { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: rgba(19,21,53,.9); color: var(--white); cursor: pointer; transition: transform .3s ease, background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.gallery-lightbox-close:hover, .gallery-lightbox-close:focus-visible, .gallery-lightbox-nav:hover, .gallery-lightbox-nav:focus-visible { transform: scale(1.04); border-color: var(--gold); background: var(--gold); color: var(--night-950); }
.gallery-lightbox-close { position: absolute; top: -8px; right: -8px; z-index: 2; }
.gallery-lightbox-close .icon, .gallery-lightbox-nav .icon { width: 20px; height: 20px; }
.gallery-lightbox-prev { grid-column: 1; grid-row: 1; }
.gallery-lightbox-next { grid-column: 3; grid-row: 1; }
.gallery-lightbox-count { grid-column: 2; grid-row: 2; margin: 0; color: var(--muted); font-size: .8rem; text-align: center; }
.gallery-lightbox-count span { color: var(--gold); font-weight: 900; }
body.gallery-modal-open { overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.section-updates { background: var(--night-900); }
.update-layout { display: block; }
.section-updates .section-heading { max-width: 900px; margin-bottom: 42px; }
.section-updates time { display: inline-block; margin-top: 22px; color: var(--gold); font-size: 1rem; font-weight: 800; }
.update-list { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
.update-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 22px; align-items: start; width: 100%; padding: 25px 28px; border: 1px solid var(--line); border-radius: var(--radius-module); background: rgba(19, 21, 53, .62); transition: border-color .3s ease, background-color .3s ease, transform .3s ease, box-shadow .3s ease; }
.update-list li:hover { border-color: var(--line-strong); background: rgba(25, 26, 64, .82); transform: translateY(-2px); }
.update-list li:hover, .update-list li:focus-within { box-shadow: 0 16px 40px rgba(182,106,168,.18), 0 0 26px rgba(231,196,107,.08); }
.update-list span { color: var(--gold); font-size: 1.05rem; font-weight: 900; line-height: 1.5; }
.update-list p { margin: 0; color: var(--ice); font-size: 1.05rem; line-height: 1.85; }
.update-list strong { display: block; margin-bottom: 5px; color: var(--white); font-size: 1.12rem; line-height: 1.45; }

.section-faq { background: var(--night-950); }
.faq-layout { display: block; }
.faq-heading { max-width: 900px; margin-bottom: 42px; }
.faq-heading > p:last-child { margin-top: 20px; color: var(--muted); font-size: 1.02rem; }
.faq-list { display: grid; gap: 14px; border: 0; }
.faq-list details { border: 1px solid var(--line); border-radius: var(--radius-module); background: rgba(14, 16, 43, .76); transition: border-color .3s ease, background-color .3s ease, transform .3s ease, box-shadow .3s ease; }
.faq-list details[open] { border-color: var(--line-strong); background: rgba(19, 21, 53, .82); }
.faq-list details:hover, .faq-list details:focus-within { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 16px 40px rgba(182,106,168,.18), 0 0 26px rgba(231,196,107,.08); }
.faq-list summary { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 23px 58px 23px 26px; font-size: 1.05rem; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 24px; top: 20px; color: var(--gold); font-size: 1.5rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary span { color: var(--gold); font-size: .88rem; line-height: 1.6; }
.faq-list details p { margin: 0; padding: 0 58px 26px 98px; color: var(--ice); font-size: 1rem; line-height: 1.85; }

.final-cta { position: relative; min-height: 500px; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.final-cta > img { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: var(--radius-image); image-rendering: auto; }
.final-cta-shade { position: absolute; z-index: -2; inset: 0; background: rgba(9, 11, 34, .7); }
.final-cta-content { text-align: center; }
.error-title { font-size: 4.5rem; }
.final-cta p:not(.section-index) { margin: 18px auto 28px; color: var(--ice); font-size: 1.1rem; }

.floating-cta { position: fixed; z-index: 90; right: max(22px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 20px; border: 1px solid rgba(255,255,255,.32); border-radius: var(--radius-pill); background: var(--gold); color: var(--night-950); font-size: .9rem; font-weight: 900; box-shadow: 0 14px 40px rgba(2,3,16,.48); transition: transform .3s ease, background-color .3s ease, box-shadow .3s ease; }
.floating-cta:hover, .floating-cta:focus-visible { transform: translateY(-3px) scale(1.04); background: #f4d680; box-shadow: 0 18px 44px rgba(231,196,107,.32); }
.floating-cta .icon { width: 18px; height: 18px; }

.friend-links { padding: 48px 0 50px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(125deg, rgba(182,106,168,.28), rgba(19,21,53,.96) 45%, rgba(231,196,107,.13)); }
.friend-links-inner { text-align: center; }
.friend-links h2 { margin: 0 0 24px; font-size: clamp(1.55rem, 3vw, 2rem); }
.friend-links-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.friend-links-list a { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-height: 44px; padding: 10px 20px; border: 1px solid rgba(248,247,255,.48); border-radius: var(--radius-pill); background: rgba(9,11,34,.28); color: var(--white); font-size: .9rem; font-weight: 700; line-height: 1.45; text-align: center; transition: transform .3s ease, color .3s ease, border-color .3s ease, background-color .3s ease, box-shadow .3s ease; }
.friend-links-list a:hover, .friend-links-list a:focus-visible { transform: translateY(-3px) scale(1.04); border-color: var(--gold); background: rgba(182,106,168,.22); color: var(--gold); box-shadow: 0 12px 28px rgba(182,106,168,.24); }

.site-footer { padding: 44px 0; background: #07091c; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 34px 60px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-brand img { width: 54px; height: 54px; object-fit: contain; border-radius: var(--radius-image); }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand span { color: var(--muted); font-size: .72rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; color: var(--ice); font-size: .78rem; }
.copyright { grid-column: 1 / -1; margin: 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 1080px) {
  h2 { font-size: 2.3rem; }
  .hero h1 { font-size: 3.85rem; }
  .error-title { font-size: 3.8rem; }
  .brand { min-width: auto; }
  .brand span { display: none; }
  .primary-nav { gap: 10px; }
  .intro-grid, .character-layout { grid-template-columns: 1fr 1fr; gap: 50px; }
  .content-points { grid-template-columns: repeat(2, 1fr); }
  .content-points article:nth-child(2) { border-right: 0; }
  .content-points article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .guide-layout, .update-layout, .faq-layout { gap: 54px; }
}

@media (max-width: 820px) {
  :root { --header-h: 68px; }
  .site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .nav-shell { width: calc(100% - 24px); gap: 12px; }
  .brand { min-width: 0; gap: 8px; }
  .brand img { width: 44px; height: 44px; flex-shrink: 0; }
  .brand span { display: block; min-width: 0; font-size: clamp(.75rem, 3.2vw, .92rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav-toggle { display: inline-flex; margin-left: auto; flex-shrink: 0; }
  .primary-nav { position: fixed; inset: var(--header-h) 0 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 20px 18px 40px; background: var(--night-950); transform: translateX(100%); transition: transform .25s; overflow-y: auto; }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav a { gap: 12px; padding: 16px 8px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .primary-nav a .icon { width: 19px; height: 19px; color: var(--gold); }
  .primary-nav .nav-cta .icon { color: var(--night-950); }
  .primary-nav a::after { display: none; }
  .primary-nav .nav-cta { margin-top: 18px; text-align: center; border: 0; }
  .hero { min-height: min(73svh, 680px); }
  .hero-media { object-position: 54% center; }
  h2 { font-size: 2.05rem; }
  .hero h1 { font-size: 3.4rem; }
  .error-title { font-size: 3.1rem; }
  .hero-content { padding-bottom: 42px; }
  .hero-facts { gap: 20px; }
  .section-cue { display: none; }
  .section { padding: 80px 0; }
  .intro-grid, .character-layout, .guide-layout, .update-layout, .faq-layout { grid-template-columns: 1fr; }
  .intro-grid { gap: 46px; }
  .feature-visual::before, .character-shot::after { inset: -10px 10px 10px -10px; }
  .character-shot { order: 2; }
  .guide-aside, .section-updates .section-heading, .faq-heading { position: static; }
  .split-heading { grid-template-columns: 1fr; gap: 24px; }
  .day-night { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid article:nth-child(3n) { border-right: 1px solid var(--line); }
  .feature-grid article:nth-child(2n) { border-right: 0; }
  .feature-grid article:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .feature-grid article:nth-last-child(-n+2) { border-bottom: 0; }
  .gallery-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .copyright { grid-column: auto; }
}

@media (max-width: 560px) {
  .hero { min-height: 650px; }
  .hero-media { object-position: 70% center; }
  .hero-shade { background: rgba(7, 8, 26, .66); }
  .hero-content { padding-top: 122px; }
  .hero h1 { font-size: 2.65rem; }
  .error-title { font-size: 2.5rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-facts { display: grid; grid-template-columns: 1fr 1fr; margin-top: 28px; }
  .section { padding: 66px 0; }
  h2 { font-size: 1.65rem; }
  .friend-links { padding: 42px 0 44px; }
  .friend-links-list { gap: 12px; }
  .friend-links-list a { width: 100%; padding-inline: 16px; }
  .section-heading { margin-bottom: 36px; }
  .feature-visual figcaption { flex-direction: column; gap: 3px; }
  .phase-copy { padding: 25px 22px; }
  .content-points { grid-template-columns: 1fr; }
  .content-points article, .content-points article:nth-child(2) { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .content-points article:last-child { border-bottom: 0; }
  .content-points h3 { margin-top: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article, .feature-grid article:nth-child(3n), .feature-grid article:nth-child(2n), .feature-grid article:nth-last-child(-n+2) { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-grid article:last-child { border-bottom: 0; }
  .gallery-head { align-items: flex-start; flex-direction: column; gap: 24px; }
  .gallery-track { grid-template-columns: 1fr; gap: 20px; }
  .gallery-lightbox { padding: 18px 14px; }
  .gallery-lightbox-dialog { grid-template-columns: 42px minmax(0, 1fr) 42px; width: 100%; gap: 6px; }
  .gallery-lightbox-close { top: -12px; right: -4px; }
  .gallery-lightbox-figure img { max-height: 70svh; border-radius: var(--radius-image); }
  .update-list li { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 21px 18px; }
  .update-list p { font-size: .98rem; line-height: 1.78; }
  .update-list strong { font-size: 1.04rem; }
  .faq-list summary { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 20px 48px 20px 18px; font-size: .98rem; }
  .faq-list summary::after { right: 17px; top: 17px; }
  .faq-list details p { padding: 0 18px 22px 68px; font-size: .95rem; line-height: 1.8; }
  .site-footer nav { display: grid; grid-template-columns: 1fr 1fr; }
  .floating-cta { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); min-height: 46px; padding: 0 16px; }
}
