/* 张韶涵 · 歌词宇宙 — concert-poster editorial */

:root {
  --ink:        oklch(14% 0.032 350);
  --ink-2:      oklch(19% 0.036 350);
  --ink-3:      oklch(25% 0.038 350);
  --paper:      oklch(94% 0.018 80);
  --muted:      oklch(74% 0.018 75);
  --gold:       oklch(79% 0.105 76);
  --gold-deep:  oklch(64% 0.125 66);
  --rose:       oklch(67% 0.13 14);
  --line:       oklch(45% 0.045 70);

  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 350;
  line-height: 1.75;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
}

body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: var(--ink); }
body::-webkit-scrollbar-thumb { background: var(--ink-3); border: 2px solid var(--ink); }

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

/* ---------- NAV ---------- */
.site-nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
  border-bottom: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s var(--ease);
}
.site-nav.scrolled {
  background: color-mix(in oklch, var(--ink) 94%, transparent);
  border-bottom-color: color-mix(in oklch, var(--gold) 28%, transparent);
}
.brand { display: flex; align-items: baseline; gap: .8rem; }
.brand-mark {
  font-family: var(--font-display); font-size: 1.55rem; font-weight: 700;
  letter-spacing: -.05em; color: var(--gold);
}
.brand-mark span { color: var(--rose); }
.brand-text { font-size: .78rem; letter-spacing: .3em; color: var(--muted); }

.nav-links { display: flex; gap: clamp(1.2rem, 3vw, 3.5rem); }
.nav-links a {
  position: relative; font-size: .9rem; letter-spacing: .12em;
  padding: .5rem 0; color: var(--muted); transition: color .35s var(--ease);
}
.nav-links a i { font-style: normal; font-size: .65rem; color: var(--gold-deep); margin-right: .5rem; font-variant-numeric: tabular-nums; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .45s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--paper); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-sound {
  display: flex; align-items: center; gap: .6rem;
  background: none; border: 1px solid var(--line); color: var(--muted);
  padding: .45rem .8rem; font-size: .7rem; letter-spacing: .18em;
  transition: border-color .3s, color .3s;
}
.nav-sound:hover, .nav-sound[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
.sound-bars { display: flex; gap: 2px; align-items: flex-end; height: 12px; }
.sound-bars i { width: 2px; background: currentColor; height: 5px; }
.sound-bars i:nth-child(2) { height: 11px; }
.sound-bars i:nth-child(3) { height: 7px; }
.sound-bars i:nth-child(4) { height: 9px; }
body.no-motion .sound-bars i { height: 3px !important; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; display: flex; align-items: center; }
.hero-slides, .hero-slide, .hero-veil { position: absolute; inset: 0; }
.hero-slide {
  background-size: cover; background-position: center 35%;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.6s var(--ease), transform 9s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-veil {
  background:
    linear-gradient(90deg, oklch(12% 0.03 350 / .93) 0%, oklch(12% 0.03 350 / .62) 42%, oklch(12% 0.03 350 / .18) 100%),
    linear-gradient(180deg, oklch(12% 0.03 350 / .42) 0%, transparent 35%, oklch(14% 0.032 350 / .55) 78%, var(--ink) 100%);
}
.hero-rule { position: absolute; left: clamp(1.25rem, 4vw, 4rem); top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, transparent, color-mix(in oklch, var(--gold) 32%, transparent), transparent); }

.hero-inner { position: relative; z-index: 2; width: min(1440px, 100%); margin: 0 auto; padding: calc(var(--nav-h) + 4vh) clamp(2rem, 6vw, 7rem) 6rem; }
.hero-eyebrow { display: flex; align-items: center; gap: 1rem; margin: 0 0 clamp(1.5rem, 4vh, 3rem); font-size: .72rem; letter-spacing: .42em; color: var(--gold); }
.eyebrow-dot { font-size: .5rem; color: var(--rose); }
.hero-title { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: .88; }
.title-line { display: block; font-size: clamp(4.5rem, 13vw, 12rem); letter-spacing: .06em; text-shadow: 0 10px 60px oklch(10% 0 0 / .5); }
.title-sub { display: block; margin-top: .28em; padding-left: .35em; font-size: clamp(1.5rem, 4.5vw, 4rem); letter-spacing: .42em; color: var(--gold); font-weight: 400; }

.hero-feature { margin: clamp(2rem, 5vh, 4rem) 0 2.5rem; padding-left: 1.4rem; border-left: 2px solid var(--gold-deep); max-width: 40ch; }
.feature-quote { margin: 0; font-family: var(--font-display); font-size: clamp(1.1rem, 2.1vw, 1.6rem); line-height: 1.6; color: var(--paper); }
.feature-meta { margin: .5rem 0 0; font-size: .72rem; letter-spacing: .22em; color: var(--muted); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 1.2rem;
  min-height: 52px; padding: .8rem 1.8rem; border: 1px solid var(--gold);
  font-size: .82rem; letter-spacing: .2em; transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--paper); border-color: var(--paper); }
.btn-ghost { background: transparent; color: var(--paper); }
.btn-ghost:hover { background: color-mix(in oklch, var(--gold) 14%, transparent); color: var(--gold); }

.hero-side { position: absolute; right: 1.2rem; bottom: 18%; writing-mode: vertical-rl; font-size: .62rem; letter-spacing: .38em; color: var(--muted); z-index: 2; }
.hero-counter { position: absolute; right: clamp(1.25rem, 4vw, 4rem); bottom: 2.5rem; z-index: 2; font-size: .72rem; letter-spacing: .2em; color: var(--muted); font-variant-numeric: tabular-nums; }
.hero-counter span { color: var(--gold); font-size: 1.4rem; font-family: var(--font-display); }

/* ---------- SECTION SHELL ---------- */
.section { position: relative; padding: clamp(6rem, 12vw, 11rem) 0; overflow: hidden; isolation: isolate; }
.section-bg { position: absolute; inset: 0; z-index: -2; background-image: var(--section-bg); background-size: cover; background-position: center; background-attachment: fixed; }
.section-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, oklch(14% 0.032 350 / .96) 0%, oklch(14% 0.032 350 / .82) 60%, oklch(14% 0.032 350 / .92) 100%),
    linear-gradient(180deg, var(--ink) 0%, transparent 18%, transparent 82%, var(--ink) 100%);
}
.section-inner { width: min(1440px, 100%); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 5rem); }

.section-head { display: grid; grid-template-columns: 110px 1fr auto; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; margin-bottom: clamp(3.5rem, 7vw, 6rem); }
.section-index { display: flex; flex-direction: column; gap: 1rem; }
.section-index span { font-family: var(--font-display); font-size: clamp(3.5rem, 7vw, 6rem); line-height: 1; color: color-mix(in oklch, var(--gold) 42%, transparent); }
.section-index i { display: block; width: 38px; height: 1px; background: var(--gold); }
.section-kicker { margin: 0 0 .8rem; font-size: .68rem; letter-spacing: .42em; color: var(--gold); }
.section-heading h2 { margin: 0; font-family: var(--font-display); font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 700; line-height: 1; letter-spacing: .06em; }
.section-desc { margin: 1.4rem 0 0; color: var(--muted); max-width: 52ch; line-height: 1.95; }
.section-stat { display: grid; grid-template-columns: auto auto; gap: .2rem 1rem; align-items: baseline; padding-top: .6rem; border-top: 1px solid var(--line); min-width: 190px; }
.section-stat strong { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; color: var(--gold); font-variant-numeric: tabular-nums; }
.section-stat span { font-size: .72rem; letter-spacing: .18em; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 01 LYRICS ---------- */
.lyric-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: start; }
.lyric-sidebar { position: sticky; top: calc(var(--nav-h) + 2rem); max-height: calc(100vh - var(--nav-h) - 4rem); overflow-y: auto; scrollbar-width: thin; }
.search-box { display: flex; align-items: center; gap: .7rem; border-bottom: 1px solid var(--gold-deep); padding-bottom: .7rem; margin-bottom: 2rem; }
.search-icon { font-size: 1.3rem; color: var(--gold); line-height: 1; }
.search-box input { flex: 1; min-width: 0; background: none; border: 0; color: var(--paper); font-size: .92rem; outline: none; }
.search-box input::placeholder { color: color-mix(in oklch, var(--muted) 80%, transparent); }
.sidebar-label { font-size: .64rem; letter-spacing: .34em; color: var(--gold-deep); margin-bottom: .8rem; }
.album-nav { display: flex; flex-direction: column; }
.album-nav button {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid color-mix(in oklch, var(--line) 55%, transparent);
  color: var(--muted); padding: .78rem .2rem; font-size: .92rem; transition: color .35s, padding-left .35s var(--ease);
}
.album-nav button:hover { color: var(--paper); padding-left: .6rem; }
.album-nav button.active { color: var(--gold); }
.album-nav button.active::before { content: "◆"; font-size: .45rem; margin-right: .4rem; color: var(--rose); }
.album-nav button .album-name { flex: 1; font-family: var(--font-display); }
.album-nav button .album-year { font-size: .68rem; font-variant-numeric: tabular-nums; opacity: .8; }
.sidebar-note { margin: 1.6rem .2rem 0; font-size: .7rem; line-height: 1.8; color: color-mix(in oklch, var(--muted) 75%, transparent); }

.lyric-main { min-height: 520px; }
.album-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--gold-deep); margin-bottom: 1rem; }
.album-header h3 { margin: 0; font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; line-height: 1.1; }
.album-header .album-cn { display: block; font-size: .8rem; letter-spacing: .24em; color: var(--muted); margin-top: .6rem; font-family: var(--font-body); font-weight: 350; }
.album-header .album-info { display: flex; gap: 1.6rem; font-size: .72rem; letter-spacing: .16em; color: var(--gold); }
.album-header .album-info b { font-size: 1.6rem; font-weight: 400; font-family: var(--font-display); }

.track-row {
  display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) auto; gap: 1rem; align-items: center;
  width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid color-mix(in oklch, var(--line) 45%, transparent);
  color: var(--paper); padding: 1.05rem .8rem; transition: background .35s var(--ease), padding-left .35s var(--ease);
}
.track-row:hover { background: color-mix(in oklch, var(--gold) 7%, transparent); padding-left: 1.3rem; }
.track-no { font-size: .72rem; color: var(--gold-deep); font-variant-numeric: tabular-nums; }
.track-name { font-family: var(--font-display); font-size: clamp(1rem, 1.5vw, 1.25rem); }
.track-preview { display: block; font-family: var(--font-body); font-size: .76rem; color: var(--muted); margin-top: .25rem; line-height: 1.5; }
.track-arrow { color: var(--gold); font-size: 1.1rem; opacity: 0; transform: translateX(-8px); transition: opacity .35s, transform .35s var(--ease); }
.track-row:hover .track-arrow { opacity: 1; transform: none; }

.result-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--gold-deep); margin-bottom: 1rem; }
.result-head h3 { margin: 0; font-family: var(--font-display); font-size: 1.8rem; }
.result-head span { font-size: .72rem; letter-spacing: .18em; color: var(--gold); }
.empty-state { padding: 5rem 1rem; text-align: center; color: var(--muted); }
.empty-state b { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--paper); margin-bottom: .6rem; font-weight: 400; }

/* ---------- 02 TOURS ---------- */
.tour-timeline { position: relative; }
.tour-timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: linear-gradient(180deg, transparent, var(--line) 6%, var(--gold-deep) 50%, var(--line) 94%, transparent); }
.tour-item { position: relative; display: grid; grid-template-columns: 1fr 90px 1fr; align-items: center; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.tour-card {
  position: relative; border: 1px solid color-mix(in oklch, var(--line) 70%, transparent);
  background: color-mix(in oklch, var(--ink-2) 92%, transparent);
  padding: clamp(1.5rem, 3vw, 2.4rem); transition: border-color .45s var(--ease), transform .45s var(--ease);
}
.tour-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.tour-card::before { content: ""; position: absolute; top: -1px; left: -1px; width: 34px; height: 2px; background: var(--gold); }
.tour-item:nth-child(odd) .tour-card { grid-column: 1; margin-right: 2rem; }
.tour-item:nth-child(even) .tour-card { grid-column: 3; margin-left: 2rem; }
.tour-card .tour-years { font-size: .68rem; letter-spacing: .3em; color: var(--gold); }
.tour-card h3 { margin: .7rem 0 1.1rem; font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.35; font-weight: 700; }
.tour-card .tour-route { margin: 0 0 .8rem; font-size: .82rem; color: var(--paper); line-height: 1.8; }
.tour-card .tour-scale { display: inline-block; margin-bottom: .8rem; padding: .2rem .7rem; border: 1px solid var(--line); font-size: .7rem; letter-spacing: .1em; color: var(--gold); }
.tour-card .tour-note { margin: 0; font-size: .8rem; line-height: 1.85; color: var(--muted); }
.tour-card .tour-source { display: inline-block; margin-top: 1.2rem; font-size: .7rem; letter-spacing: .14em; color: var(--gold-deep); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.tour-card .tour-source:hover { color: var(--gold); border-color: var(--gold); }
.tour-node { grid-column: 2; justify-self: center; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--gold-deep); border-radius: 50%; background: var(--ink); font-family: var(--font-display); font-size: 1rem; color: var(--gold); z-index: 1; font-variant-numeric: tabular-nums; }
.data-note { margin-top: 3rem; font-size: .72rem; color: color-mix(in oklch, var(--muted) 80%, transparent); border-left: 2px solid var(--line); padding-left: 1rem; }

/* ---------- 03 GAMES ---------- */
.game-shell { border: 1px solid color-mix(in oklch, var(--gold) 25%, transparent); background: color-mix(in oklch, var(--ink-2) 94%, transparent); }
.game-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.game-tabs button {
  flex: 1 1 auto; min-width: 150px; background: none; border: 0; border-right: 1px solid var(--line);
  color: var(--muted); padding: 1.1rem 1rem; font-size: .84rem; letter-spacing: .14em;
  transition: background .35s var(--ease), color .35s;
}
.game-tabs button:last-child { border-right: 0; }
.game-tabs button:hover { color: var(--paper); background: color-mix(in oklch, var(--gold) 6%, transparent); }
.game-tabs button.active { background: var(--gold); color: var(--ink); }
.game-stage { padding: clamp(2rem, 5vw, 4rem); min-height: 460px; position: relative; }
.game-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 2.5rem; font-size: .72rem; letter-spacing: .2em; color: var(--muted); }
.game-top .score { color: var(--gold); font-variant-numeric: tabular-nums; }
.game-top .score b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }
.game-question { text-align: center; margin: 0 auto 2.8rem; max-width: 900px; }
.game-kicker { margin: 0 0 1rem; font-size: .66rem; letter-spacing: .34em; color: var(--gold-deep); }
.game-text { margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1.55; font-weight: 700; }
.game-hint { margin: 1rem 0 0; font-size: .76rem; color: var(--muted); }
.game-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: 820px; margin: 0 auto; }
.option {
  min-height: 74px; padding: 1rem 1.4rem; background: transparent; border: 1px solid var(--line);
  color: var(--paper); font-family: var(--font-display); font-size: 1.15rem; text-align: left;
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.option:hover:not(:disabled) { border-color: var(--gold); background: color-mix(in oklch, var(--gold) 8%, transparent); transform: translateX(4px); }
.option.correct { border-color: var(--gold); background: color-mix(in oklch, var(--gold) 20%, transparent); color: var(--gold); }
.option.wrong { border-color: var(--rose); background: color-mix(in oklch, var(--rose) 16%, transparent); }
.option:disabled { cursor: default; }
.game-feedback { min-height: 2rem; margin: 2rem auto 0; text-align: center; font-size: .9rem; letter-spacing: .1em; color: var(--muted); }
.game-feedback.good { color: var(--gold); }
.game-feedback.bad { color: var(--rose); }
.game-controls { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.game-controls .btn { min-height: 44px; padding: .6rem 1.4rem; font-size: .72rem; }

.chain-input-wrap { max-width: 760px; margin: 0 auto; }
.chain-prompt { font-family: var(--font-display); font-size: clamp(1.5rem, 3.5vw, 2.6rem); line-height: 1.6; }
.chain-input {
  width: 100%; margin-top: .8rem; padding: .6rem 0; background: none; border: 0; border-bottom: 2px solid var(--gold-deep);
  color: var(--gold); font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.2rem); text-align: center; outline: none;
}
.chain-input:focus { border-color: var(--gold); }
.chain-input::placeholder { color: color-mix(in oklch, var(--muted) 55%, transparent); }

.sort-pool { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; max-width: 900px; margin: 0 auto 2rem; }
.sort-chip { padding: .8rem 1.2rem; background: none; border: 1px solid var(--line); color: var(--paper); font-family: var(--font-display); font-size: .95rem; transition: border-color .3s, background .3s; }
.sort-chip:hover:not(:disabled) { border-color: var(--gold); background: color-mix(in oklch, var(--gold) 8%, transparent); }
.sort-chip.picked { border-color: var(--gold-deep); color: var(--gold-deep); background: color-mix(in oklch, var(--ink-3) 60%, transparent); }
.sort-sequence { min-height: 60px; padding: 1rem; border: 1px dashed var(--line); text-align: center; color: var(--muted); font-size: .85rem; }

/* ---------- TOUR ACTIONS & MEDIA DIALOGS ---------- */
.tour-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.tour-btn {
  background: transparent; border: 1px solid var(--gold-deep); color: var(--gold);
  padding: .55rem 1rem; font-size: .72rem; letter-spacing: .12em;
  transition: background .35s var(--ease), color .35s, border-color .35s;
}
.tour-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.media-dialog {
  width: min(1080px, 94vw); max-height: 90vh; overflow-y: auto; padding: 0;
  border: 1px solid var(--gold-deep); background: var(--ink-2); color: var(--paper);
  box-shadow: 0 40px 120px oklch(5% 0 0 / .65);
}
.media-dialog::backdrop { background: oklch(8% 0.02 350 / .86); }
.media-dialog-head { padding: clamp(1.8rem, 4vw, 2.8rem) clamp(1.5rem, 4vw, 3rem) 1.2rem; border-bottom: 1px solid var(--line); }
.media-dialog-head h3 { margin: .5rem 0 .3rem; font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.media-dialog-head p:last-child { margin: 0; font-size: .78rem; letter-spacing: .12em; color: var(--muted); }
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 0; padding: clamp(1rem, 3vw, 2rem); }
.map-canvas { width: 100%; height: 520px; border: 1px solid var(--line); background: var(--ink-3); overflow: hidden; }
.map-stage { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.map-base, .map-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-base { object-fit: contain; }
.map-overlay { pointer-events: none; }
.map-side { padding: 0 0 0 1.5rem; display: flex; flex-direction: column; min-height: 520px; }
.map-side-title { font-size: .66rem; letter-spacing: .32em; color: var(--gold); margin-bottom: .8rem; }
.stop-list { margin: 0; padding: 0 0 0 1.4rem; overflow-y: auto; max-height: 340px; font-size: .8rem; line-height: 1.9; color: var(--paper); }
.stop-list li::marker { color: var(--gold-deep); font-variant-numeric: tabular-nums; }
.overseas-box { margin-top: 1rem; padding: .9rem; border: 1px solid var(--line); font-size: .74rem; line-height: 1.8; color: var(--muted); }
.overseas-box b { color: var(--gold); font-weight: 400; }
.map-note { margin: auto 0 0; padding-top: 1rem; font-size: .68rem; line-height: 1.75; color: color-mix(in oklch, var(--muted) 78%, transparent); }
.map-fallback { display: grid; place-items: center; height: 100%; padding: 2rem; text-align: center; color: var(--muted); font-size: .85rem; line-height: 1.9; }

/* ---------- DIALOG ---------- */
.song-dialog {
  width: min(660px, 92vw); padding: 0; border: 1px solid var(--gold-deep);
  background: var(--ink-2); color: var(--paper); box-shadow: 0 40px 120px oklch(5% 0 0 / .65);
}
.song-dialog::backdrop { background: oklch(8% 0.02 350 / .82); }
.dialog-body { position: relative; padding: clamp(2rem, 5vw, 3.5rem); }
.dialog-close { position: absolute; top: .8rem; right: 1rem; background: none; border: 0; color: var(--muted); font-size: 2rem; line-height: 1; }
.dialog-close:hover { color: var(--gold); }
.dialog-kicker { margin: 0; font-size: .66rem; letter-spacing: .38em; color: var(--gold); }
.dialog-body h3 { margin: .8rem 0 1.8rem; font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.2; }
.dialog-line { margin: 0 0 2rem; padding-left: 1.2rem; border-left: 2px solid var(--gold-deep); font-family: var(--font-display); font-size: clamp(1.2rem, 2.6vw, 1.8rem); line-height: 1.7; color: var(--gold); }
.dialog-line.is-empty { color: var(--muted); font-family: var(--font-body); font-size: .9rem; }
.dialog-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .75rem; letter-spacing: .14em; color: var(--muted); padding-top: 1.2rem; border-top: 1px solid var(--line); }
.dialog-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.dialog-actions .btn { min-height: 46px; font-size: .74rem; }
.dialog-foot { margin: 1.5rem 0 0; font-size: .68rem; line-height: 1.7; color: color-mix(in oklch, var(--muted) 75%, transparent); }

/* ---------- FOOTER ---------- */
.site-footer { padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 5vw, 5rem) 2rem; background: var(--ink); border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 6vw, 6rem); max-width: 1440px; margin: 0 auto; }
.footer-brand span { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); }
.footer-brand p { margin: .3rem 0 0; font-size: .75rem; letter-spacing: .2em; color: var(--muted); }
.footer-note { margin: 0; max-width: 70ch; font-size: .74rem; line-height: 1.9; color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; max-width: 1440px; margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid color-mix(in oklch, var(--line) 60%, transparent); font-size: .66rem; letter-spacing: .2em; color: color-mix(in oklch, var(--muted) 70%, transparent); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .section-head { grid-template-columns: 80px 1fr; }
  .section-stat { grid-column: 2; margin-top: 1rem; }
  .lyric-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 2rem; }
}

@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .brand-text, .nav-sound .sound-label { display: none; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: .78rem; }
  .nav-links a i { display: none; }
  .hero-inner { padding-left: 2rem; padding-right: 2rem; }
  .hero-side { display: none; }
  .section-bg { background-attachment: scroll; }
  .section-head { grid-template-columns: 1fr; gap: 1rem; }
  .section-index { flex-direction: row; align-items: center; }
  .section-index i { width: 60px; }
  .section-stat { grid-column: 1; }
  .lyric-layout { grid-template-columns: 1fr; }
  .lyric-sidebar { position: static; max-height: none; }
  .album-nav { flex-direction: row; overflow-x: auto; padding-bottom: .8rem; scrollbar-width: thin; }
  .album-nav button { flex: 0 0 auto; width: auto; border: 1px solid var(--line); padding: .6rem 1rem; margin-right: .5rem; }
  .album-nav button.active::before { display: none; }
  .album-nav button .album-year { display: none; }
  .sidebar-note { display: none; }
  .tour-timeline::before { left: 20px; }
  .tour-item { grid-template-columns: 42px 1fr; gap: 1rem; align-items: start; }
  .tour-item:nth-child(odd) .tour-card, .tour-item:nth-child(even) .tour-card { grid-column: 2; margin: 0; }
  .tour-node { grid-column: 1; grid-row: 1; justify-self: start; width: 42px; height: 42px; font-size: .85rem; }
  .game-options { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .map-layout { grid-template-columns: 1fr; }
  .map-canvas { height: 420px; }
  .map-side { padding: 1.5rem 0 0; min-height: 0; }
  .stop-list { max-height: 220px; }
}

@media (max-width: 560px) {
  .hero-eyebrow { letter-spacing: .25em; font-size: .62rem; }
  .title-line { font-size: clamp(3.6rem, 19vw, 6rem); }
  .title-sub { letter-spacing: .25em; }
  .hero-actions .btn { flex: 1 1 100%; }
  .section-heading h2 { font-size: 2.8rem; }
  .album-header { flex-direction: column; align-items: flex-start; }
  .track-row { grid-template-columns: 2.2rem 1fr; gap: .6rem; }
  .track-arrow { display: none; }
  .game-tabs button { flex: 1 1 50%; min-width: 0; font-size: .75rem; }
  .game-stage { padding: 1.5rem 1rem; }
  .dialog-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

body.no-motion .reveal { opacity: 1; transform: none; }
body.no-motion .hero-slide { transition: opacity .01ms; transform: none; }
