:root {
  --ivory: #f1e8d5;
  --paper: #e8dbc1;
  --stone: #566773;
  --ink: #1f2c31;
  --deep: #102129;
  --gold: #c89643;
  --gold-light: #e8c77f;
  --red: #8d302a;
  --blue: #486473;
  --header-height: 74px;
  --ease: cubic-bezier(.22, .75, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--deep);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  width: 100%;
  padding: 0;
  color: var(--ivory);
  border: 0;
  background: #0c1a20;
  cursor: wait;
  transition: opacity .55s var(--ease), visibility .55s;
}

.loading-screen.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-screen__seal {
  display: grid;
  width: 132px;
  height: 70px;
  place-items: center;
  padding-left: .16em;
  border: 1px solid rgba(232, 199, 127, .7);
  color: var(--gold-light);
  font-size: 27px;
  letter-spacing: .16em;
  animation: sealPulse 1.7s ease-in-out infinite;
}
.loading-screen p { margin: 0; font-size: 13px; letter-spacing: .3em; opacity: .68; }

.site-bar {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 4.5vw, 76px);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(7,18,23,.68), rgba(7,18,23,0));
  pointer-events: none;
  transition: color .4s, background .4s, border-color .4s, opacity .8s var(--ease), visibility .8s;
}

body.is-light-chapter .site-bar {
  color: var(--ink);
  border-color: rgba(31,44,49,.12);
  background: linear-gradient(180deg, rgba(242,236,220,.93), rgba(242,236,220,0));
}

.brand, .site-bar__actions, .sound-toggle { pointer-events: auto; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-decoration: none;
}
.brand__red {
  padding: 4px 7px 5px;
  color: white;
  background: #d91520;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.08em;
  transform: skew(-5deg);
}
.brand__divider { width: 1px; height: 19px; background: currentColor; opacity: .35; }
.site-bar__actions { display: flex; align-items: center; gap: clamp(14px, 2.8vw, 38px); }
.current-chapter { font-size: 12px; letter-spacing: .2em; opacity: .72; }
.sound-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}
.sound-toggle__bars { display: flex; height: 18px; align-items: center; gap: 3px; }
.sound-toggle__bars i { display: block; width: 2px; height: 5px; background: currentColor; opacity: .7; }
.sound-toggle[aria-pressed="true"] .sound-toggle__bars i { animation: soundBars .8s ease-in-out infinite alternate; }
.sound-toggle[aria-pressed="true"] .sound-toggle__bars i:nth-child(2) { animation-delay: -.2s; }
.sound-toggle[aria-pressed="true"] .sound-toggle__bars i:nth-child(3) { animation-delay: -.45s; }
.sound-toggle__label { font-size: 11px; letter-spacing: .12em; }

.chapter-nav {
  position: fixed;
  z-index: 70;
  top: 50%;
  right: clamp(15px, 2.5vw, 42px);
  display: flex;
  flex-direction: column;
  gap: 13px;
  transform: translateY(-50%);
}
.chapter-nav::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  content: "";
  background: rgba(255,255,255,.15);
  transform: translateX(-50%);
}
.chapter-nav button {
  position: relative;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  color: rgba(255,255,255,.58);
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: color .3s, background .3s, transform .3s;
}
.chapter-nav button::before {
  position: absolute;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: currentColor;
}
.chapter-nav button span { font: 600 9px/1 Arial, sans-serif; opacity: 0; }
.chapter-nav button:hover, .chapter-nav button.is-active { color: var(--gold-light); background: rgba(16,33,41,.48); transform: scale(1.08); }
.chapter-nav button.is-active::before { width: 0; }
.chapter-nav button.is-active span { opacity: 1; }
body.is-light-chapter .chapter-nav::before { background: rgba(31,44,49,.16); }
body.is-light-chapter .chapter-nav button { color: rgba(31,44,49,.48); }
body.is-light-chapter .chapter-nav button.is-active { color: #8f6323; background: rgba(255,255,255,.55); }

.page-progress {
  position: fixed;
  z-index: 90;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: rgba(255,255,255,.08);
}
.page-progress span { display: block; width: 100%; height: 0; background: linear-gradient(var(--gold-light), var(--gold)); }

#story { position: relative; }
.panel { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; }
.panel-shell {
  position: relative;
  z-index: 5;
  width: min(1420px, calc(100% - clamp(46px, 10vw, 170px)));
  height: 100%;
  margin: 0 auto;
  padding-top: var(--header-height);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 18px;
  color: #7f6c4f;
  font: 500 clamp(11px, .86vw, 14px)/1.5 "Microsoft YaHei", sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow::after { width: 70px; height: 1px; content: ""; background: currentColor; opacity: .45; }
.eyebrow span { color: var(--red); font-weight: 800; letter-spacing: .08em; }
.eyebrow--light { color: rgba(255,255,255,.66); }
.eyebrow--light span { color: var(--gold-light); }
.panel h2 {
  margin: 0;
  font-size: clamp(34px, 3.45vw, 66px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.03em;
}
.panel h2 em { color: #9c6e2e; font-style: normal; }
.panel p { font-size: clamp(15px, 1.02vw, 18px); line-height: 1.92; }
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.panel.is-active .reveal { opacity: 1; transform: none; }
.panel.is-active .reveal:nth-child(2) { transition-delay: .1s; }
.panel.is-active .reveal:nth-child(3) { transition-delay: .18s; }

.primary-button, .ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  min-width: 230px;
  padding: 16px 20px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  background: var(--red);
  font: 600 13px/1.4 "Microsoft YaHei", sans-serif;
  letter-spacing: .08em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s, background .3s;
}
.primary-button:hover, .ghost-button:hover { transform: translateY(-3px); box-shadow: 0 18px 35px rgba(68,36,20,.18); }
.primary-button--dark { background: var(--ink); }
.primary-button span, .ghost-button span { color: var(--gold-light); font-size: 18px; }

/* 01 Hero */
.hero-panel { height: 100svh; color: #fff; background: #0b171d; }
.hero-intro {
  position: absolute;
  z-index: 30;
  inset: 0;
  overflow: hidden;
  background: #03080b;
  opacity: 1;
  visibility: visible;
  transition: opacity 1.25s var(--ease), visibility 1.25s;
}
.hero-intro::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.08), transparent 70%, rgba(0,0,0,.18));
}
.hero-intro video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  background: #03080b;
}
.hero-intro.is-complete { opacity: 0; visibility: hidden; pointer-events: none; }
.hero-intro__sound {
  position: absolute;
  z-index: 3;
  top: clamp(22px, 3.4vh, 38px);
  right: clamp(22px, 4.5vw, 76px);
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 142px;
  padding: 9px 13px 9px 12px;
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(232,199,127,.48);
  background: rgba(4,13,18,.54);
  box-shadow: 0 8px 28px rgba(0,0,0,.16);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: color .3s, border-color .3s, background .3s, transform .3s;
}
.hero-intro__sound:hover,
.hero-intro__sound:focus-visible { color: #fff; border-color: rgba(232,199,127,.8); background: rgba(4,13,18,.72); transform: translateY(-1px); }
.hero-intro__sound-icon { position: relative; display: flex; align-items: end; gap: 2px; width: 17px; height: 17px; }
.hero-intro__sound-icon::after { position: absolute; top: 8px; left: -2px; width: 21px; height: 1.5px; content: ""; border-radius: 2px; background: var(--gold-light); box-shadow: 0 0 4px rgba(232,199,127,.36); transform: rotate(-43deg); transform-origin: center; transition: opacity .25s, transform .25s; }
.hero-intro__sound-icon i { display: block; width: 3px; height: 6px; border-radius: 2px; background: rgba(232,199,127,.68); }
.hero-intro__sound-icon i:nth-child(2) { height: 13px; animation-delay: -.34s; }
.hero-intro__sound-icon i:nth-child(3) { height: 9px; animation-delay: -.68s; }
.hero-intro__sound-copy { display: block; text-align: left; }
.hero-intro__sound-copy strong { font: 500 12px/1 "Microsoft YaHei", sans-serif; letter-spacing: .16em; }
.hero-intro__sound.is-on { border-color: rgba(232,199,127,.24); background: rgba(4,13,18,.34); }
.hero-intro__sound.is-on .hero-intro__sound-icon::after { opacity: 0; transform: rotate(-43deg) scale(.55); }
.hero-intro__sound.is-on .hero-intro__sound-icon i { background: var(--gold-light); animation: soundBars 1s ease-in-out infinite alternate; }
.hero-intro__skip {
  position: absolute;
  z-index: 3;
  right: clamp(22px, 4.5vw, 76px);
  bottom: clamp(50px, 7vh, 72px);
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 13px;
  color: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(4,13,18,.34);
  font: 500 11px/1 "Microsoft YaHei", sans-serif;
  letter-spacing: .12em;
  cursor: pointer;
  backdrop-filter: blur(9px);
  transition: color .3s, border-color .3s, background .3s;
}
.hero-intro__skip:hover,
.hero-intro__skip:focus-visible { color: #fff; border-color: rgba(232,199,127,.7); background: rgba(4,13,18,.58); }
.hero-intro__skip i { display: block; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.hero-intro__credit {
  position: absolute;
  z-index: 3;
  right: clamp(22px, 4.5vw, 76px);
  bottom: clamp(20px, 2.4vh, 28px);
  margin: 0;
  color: rgba(255,255,255,.45);
  font: 10px/1.3 "Microsoft YaHei", sans-serif;
  letter-spacing: .12em;
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
}
.hero-intro__progress { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.08); }
.hero-intro__progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, rgba(232,199,127,.4), var(--gold-light)); box-shadow: 0 0 12px rgba(232,199,127,.45); }
.hero-intro.is-playing .hero-intro__progress i { animation: heroIntroProgress 12.051s linear forwards; }
body.has-hero-intro { overflow: hidden; }
body.has-hero-intro #story { overflow: hidden !important; }
body.has-hero-intro .site-bar,
body.has-hero-intro .chapter-nav,
body.has-hero-intro .page-progress { opacity: 0; visibility: hidden; pointer-events: none; }
.chapter-nav,
.page-progress { transition: opacity .8s var(--ease), visibility .8s; }
.hero-panel__content,
.hero-panel__credit { transition: opacity 1.05s .22s var(--ease), transform 1.05s .22s var(--ease); }
body.has-hero-intro .hero-panel__content,
body.has-hero-intro .hero-panel__credit { opacity: 0; transform: translateY(12px); }
.hero-panel__scene, .hero-panel__background, .hero-panel__mist, .hero-panel__particles, .hero-panel__light { position: absolute; inset: 0; }
.hero-panel__scene { z-index: -2; overflow: hidden; }
.hero-panel__background { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; transform: scale(1.03) translate3d(calc(var(--mx, 0) * -8px), calc(var(--my, 0) * -5px), 0); transition: transform .35s ease-out; }
.hero-panel__mist { background: radial-gradient(circle at 73% 45%, transparent 0 25%, rgba(5,12,16,.14) 63%), linear-gradient(90deg, rgba(7,15,18,.2), transparent 48%, rgba(7,15,18,.05)); }
.hero-panel__particles { opacity: .5; background-image: radial-gradient(circle, rgba(255,255,255,.88) 0 1px, transparent 1.5px); background-size: 73px 73px; mask-image: linear-gradient(90deg, #000, transparent 47%); animation: particleDrift 18s linear infinite; }
.hero-panel__light { background: radial-gradient(circle at 91% 34%, rgba(251,211,134,.23), transparent 25%); mix-blend-mode: screen; }
.hero-panel__content {
  position: relative;
  z-index: 3;
  display: flex;
  width: min(66vw, 1160px);
  height: 100%;
  margin-left: 29vw;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding-top: 3.5vh;
}
.hero-panel__title { width: min(49vw, 900px); filter: drop-shadow(0 18px 22px rgba(0,0,0,.3)); }
.hero-panel__subtitle { width: min(29vw, 550px); margin-top: -2.2vh; filter: drop-shadow(0 7px 12px rgba(0,0,0,.38)); }
.hero-panel__strapline { width: min(44vw, 800px); margin-top: 2.4vh; opacity: .82; }
.scroll-cue {
  display: flex;
  margin-top: 4vh;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  color: rgba(255,255,255,.74);
  border: 0;
  background: none;
  font-size: 11px;
  letter-spacing: .26em;
  cursor: pointer;
}
.scroll-cue i { position: relative; display: block; width: 1px; height: 45px; overflow: hidden; background: rgba(255,255,255,.22); }
.scroll-cue i::after { position: absolute; top: -50%; left: 0; width: 100%; height: 50%; content: ""; background: var(--gold-light); animation: scrollLine 1.8s ease-in-out infinite; }
.hero-panel__credit { position: absolute; z-index: 3; right: 4.5vw; bottom: 2.3vh; margin: 0; color: rgba(255,255,255,.38); font: 10px/1.3 "Microsoft YaHei", sans-serif; letter-spacing: .18em; }
@keyframes heroIntroProgress { to { width: 100%; } }

/* 02 Prologue — Video + Caption */
.prologue-panel { color: #fff; background: #050a0e; }
.prologue-panel__background { position: absolute; inset: -4%; z-index: -3; background: url("../generated/dawn-river.webp") center/cover no-repeat; transform: scale(1.06) translate3d(0, var(--parallax-y, 0), 0); }
.prologue-panel__veil { position: absolute; inset: 0; z-index: -2; background: linear-gradient(0deg, rgba(11,25,31,.4), transparent 55%); }

/* 视频全屏背景 */
.prologue-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.85) saturate(1.05);
  transition: opacity 1.6s var(--ease);
}
.prologue-video.is-quiet { opacity: .22; filter: brightness(.7) saturate(.9) blur(1px); }
.prologue-video.is-stopped { opacity: 0; }

.prologue-video__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 55%, transparent 0 25%, rgba(5,10,14,.55) 70%),
    linear-gradient(180deg, rgba(5,10,14,.45) 0%, transparent 28%, transparent 72%, rgba(5,10,14,.7) 100%);
  pointer-events: none;
  transition: opacity 1.6s var(--ease);
}
.prologue-video__overlay.is-quiet { opacity: .25; }

.prologue-video__skip {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: clamp(20px, 4vw, 64px);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  color: rgba(255,236,194,.78);
  border: 1px solid rgba(232,199,127,.35);
  border-radius: 999px;
  background: rgba(8,18,24,.32);
  font: 11px/1 "Microsoft YaHei", sans-serif;
  letter-spacing: .14em;
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s var(--ease);
}
.prologue-video__skip.is-visible { opacity: 1; }
.prologue-video__skip i {
  display: block;
  width: 28px; height: 1px;
  background: linear-gradient(90deg, var(--gold-light), transparent);
}
.prologue-video__skip span { white-space: nowrap; }

/* 字幕（卷轴 + 篆刻印章） */
.prologue-caption {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 clamp(16px, 5vw, 80px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.4s var(--ease);
}
.prologue-caption.is-shown { opacity: 1; pointer-events: auto; }

.prologue-caption__inner {
  position: relative;
  width: 85%;
  max-width: 920px;
  padding: clamp(36px, 4.6vw, 56px) clamp(58px, 6vw, 88px) clamp(28px, 3.4vw, 40px);
  z-index: 2;
}

/* 卷纸：横向拉满的金丝宣纸 */
.prologue-caption__paper {
  position: absolute;
  z-index: 1;
  inset: clamp(54px, 8vh, 90px) 0;
  background:
    linear-gradient(180deg, rgba(28,18,12,.78) 0%, rgba(20,12,8,.88) 50%, rgba(28,18,12,.78) 100%),
    radial-gradient(ellipse at 50% 50%, rgba(232,199,127,.07), transparent 70%);
  border-top: 1px solid rgba(232,199,127,.55);
  border-bottom: 1px solid rgba(232,199,127,.55);
  box-shadow:
    inset 0 0 0 1px rgba(232,199,127,.18),
    inset 0 0 0 4px rgba(20,12,8,.85),
    inset 0 0 0 5px rgba(232,199,127,.32),
    0 24px 80px rgba(0,0,0,.55);
  background-image:
    linear-gradient(180deg, rgba(28,18,12,.78) 0%, rgba(20,12,8,.88) 50%, rgba(28,18,12,.78) 100%),
    radial-gradient(ellipse at 50% 50%, rgba(232,199,127,.07), transparent 70%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
  background-blend-mode: normal, normal, soft-light;
}
.prologue-caption__paper::before,
.prologue-caption__paper::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,199,127,.55) 30%, rgba(232,199,127,.55) 70%, transparent);
}
.prologue-caption__paper::before { top: 7px; }
.prologue-caption__paper::after { bottom: 7px; }

/* 卷轴轴头 */
.prologue-scroll { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.prologue-scroll__roller {
  position: absolute;
  top: clamp(50px, 7.6vh, 86px);
  bottom: clamp(50px, 7.6vh, 86px);
  width: 30px;
  background:
    linear-gradient(90deg, #1f1610 0%, #5a4022 18%, #c89855 50%, #5a4022 82%, #1f1610 100%);
  border-top: 1px solid rgba(232,199,127,.7);
  border-bottom: 1px solid rgba(232,199,127,.7);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.55),
    inset 0 0 18px rgba(0,0,0,.6),
    inset 6px 0 12px rgba(0,0,0,.4),
    0 10px 22px rgba(0,0,0,.6);
}
.prologue-scroll__roller::before,
.prologue-scroll__roller::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f0c870, #6b4c2c 70%, #1a1108);
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(232,199,127,.7), 0 2px 6px rgba(0,0,0,.7);
}
.prologue-scroll__roller::before { top: -9px; }
.prologue-scroll__roller::after { bottom: -9px; }
.prologue-scroll__roller--left { left: 0; }
.prologue-scroll__roller--right { right: 0; }

/* 卷轴顶/底小金带 */
.prologue-scroll__edge {
  position: absolute;
  left: 30px;
  right: 30px;
  height: 1px;
  background: linear-gradient(90deg, rgba(232,199,127,.4), rgba(232,199,127,.6) 12%, rgba(232,199,127,.6) 88%, rgba(232,199,127,.4));
}
.prologue-scroll__edge--top { top: clamp(50px, 7.6vh, 86px); }
.prologue-scroll__edge--bottom { bottom: clamp(50px, 7.6vh, 86px); }

/* 标题区 */
.prologue-caption__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}
.prologue-caption__head-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.prologue-caption__head-text em {
  display: inline-block;
  padding: 2px 12px 3px;
  color: rgba(232,199,127,.78);
  border: 1px solid rgba(232,199,127,.45);
  border-radius: 1px;
  font: 500 10px/1.2 "Microsoft YaHei", sans-serif;
  letter-spacing: .5em;
  padding-left: calc(12px + .5em);
}
.prologue-caption__head-text strong {
  font: 600 clamp(28px, 3.4vw, 44px)/1 "STKaiti","KaiTi","Songti SC", serif;
  color: #fff5d8;
  letter-spacing: .28em;
  padding-left: .28em;
  text-shadow: 0 2px 14px rgba(232,199,127,.32);
}
.prologue-caption__cloud {
  position: relative;
  display: block;
  width: 60px;
  height: 18px;
  flex-shrink: 0;
}
.prologue-caption__cloud::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 14px 9px at 12px 12px, rgba(232,199,127,.7), transparent 70%),
    radial-gradient(ellipse 16px 8px at 30px 8px, rgba(232,199,127,.55), transparent 70%),
    radial-gradient(ellipse 12px 7px at 46px 12px, rgba(232,199,127,.6), transparent 70%);
  filter: blur(.5px);
}
.prologue-caption__cloud--r::before {
  transform: scaleX(-1);
}

/* 副标题 */
.prologue-caption__eyebrow {
  margin: 6px 0 14px;
  text-align: center;
  color: rgba(232,199,127,.7);
  font: 500 clamp(11px, 1vw, 13px)/1.4 "Microsoft YaHei", sans-serif;
  letter-spacing: .32em;
}
.prologue-caption__eyebrow span {
  color: #ffd2c2;
  border: 1px solid rgba(141,48,42,.6);
  padding: 2px 8px 3px;
  margin-right: 12px;
  letter-spacing: .14em;
  background: rgba(141,48,42,.18);
  font-weight: 700;
}

/* 中部分隔：细线 + 菱形点 */
.prologue-caption__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 18px;
  width: 78%;
  max-width: 380px;
}
.prologue-caption__divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,199,127,.5));
}
.prologue-caption__divider span:last-child {
  background: linear-gradient(90deg, rgba(232,199,127,.5), transparent);
}
.prologue-caption__divider i {
  position: relative;
  width: 10px;
  height: 10px;
  background: rgba(232,199,127,.75);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(232,199,127,.5);
}
.prologue-caption__divider i::before {
  content: "";
  position: absolute;
  inset: 3px;
  background: rgba(20,12,8,.95);
}

/* 正文段落 */
.prologue-caption__text {
  position: relative;
  margin: 0 0 24px;
  color: rgba(245,236,217,.96);
  font: 500 clamp(19px, 2.45vw, 32px)/1.85 "STKaiti","KaiTi","Songti SC","Noto Serif SC", serif;
  letter-spacing: .03em;
  text-align: justify;
  text-justify: inter-ideograph;
  text-indent: 2em;
  text-shadow: 0 1px 2px rgba(0,0,0,.55);
  width: 100%;
}

/* 篆刻印章：圆形朱红 + 四字"忠魂归乡" */
.prologue-seal {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin: 8px auto 12px;
}
.prologue-seal__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #b3281d 0%, #8d1d14 100%);
  box-shadow:
    inset 0 0 0 3px rgba(0,0,0,.35),
    inset 0 0 0 5px rgba(255,236,194,.18),
    inset 0 0 22px rgba(0,0,0,.45),
    0 6px 18px rgba(141,28,20,.45);
}
.prologue-seal__ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px dashed rgba(255,236,194,.32);
}
.prologue-seal__stamp {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 56px;
  height: 56px;
  color: rgba(255,236,194,.92);
  font: 700 17px/1 "STKaiti","KaiTi", serif;
  text-align: center;
  letter-spacing: -.04em;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.4));
}
.prologue-seal__stamp em {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,236,194,.16);
}
.prologue-seal__halo {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(179,40,29,.45), transparent 65%);
  filter: blur(6px);
  pointer-events: none;
  z-index: 0;
}

/* 末句标语 */
.prologue-caption__sig {
  position: relative;
  margin: 0 0 22px;
  text-align: center;
  color: #ffe6b3;
  font: 600 clamp(16px, 1.7vw, 22px)/1.55 "STKaiti","KaiTi","Songti SC", serif;
  letter-spacing: .14em;
  text-shadow: 0 1px 12px rgba(232,199,127,.4);
}
.prologue-caption__sig::before,
.prologue-caption__sig::after {
  display: inline-block;
  margin: 0 14px;
  vertical-align: middle;
  color: rgba(232,199,127,.7);
  font-size: .82em;
  content: "❖";
}

/* 大按钮 */
.prologue-caption__btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 18px 22px 22px;
  color: #fff;
  border: 1px solid rgba(232,199,127,.5);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(141,48,42,.95), rgba(102,28,24,.95));
  font-family: "Microsoft YaHei", sans-serif;
  cursor: pointer;
  letter-spacing: .12em;
  transition: transform .35s var(--ease), box-shadow .35s, background .35s;
  box-shadow: 0 12px 30px rgba(141,48,42,.35), inset 0 0 0 1px rgba(232,199,127,.25);
  overflow: hidden;
}
.prologue-caption__btn::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(232,199,127,.32);
  pointer-events: none;
}
.prologue-caption__btn-shine {
  position: absolute;
  top: 0;
  left: -45%;
  width: 40%;
  height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(255,236,194,.18) 50%, transparent 100%);
  transform: skewX(-22deg);
  animation: btnShine 3.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btnShine {
  0%,100% { left: -45%; }
  50% { left: 105%; }
}
.prologue-caption__btn:hover,
.prologue-caption__btn:focus-visible {
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(166,55,48,.95), rgba(122,32,28,.95));
  box-shadow: 0 20px 40px rgba(141,48,42,.55), inset 0 0 0 1px rgba(232,199,127,.4);
  outline: none;
}
.prologue-caption__btn {
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 600;
}
.prologue-caption__btn small {
  display: block;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 400;
  letter-spacing: .14em;
  color: rgba(255,236,194,.85);
}
.prologue-caption__btn-arrow {
  position: absolute;
  bottom: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 16px;
  background: rgba(232,199,127,.7);
  animation: prologueArrow 1.6s ease-in-out infinite;
}
.prologue-caption__btn-arrow::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 6px; height: 6px;
  border-right: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
}
@keyframes prologueArrow {
  0%,100% { opacity: .4; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(4px); }
}

/* 兼容剩余布局（隐藏） */
.prologue-layout { display: none; }

/* 03 Bottle */
.bottle-panel { background: linear-gradient(125deg, #f5efe2, #e4d7bc); }
.bottle-panel::before { position: absolute; inset: 0; z-index: -3; content: ""; opacity: .3; background: url("../generated/dawn-river.webp") center/cover; filter: saturate(.4) brightness(1.34); mix-blend-mode: multiply; }
.bottle-panel::after { position: absolute; inset: 0; z-index: -2; content: ""; background: linear-gradient(90deg, rgba(245,239,226,.97) 0 43%, rgba(239,230,211,.74) 66%, rgba(220,205,176,.52)); }
.bottle-panel__contours { position: absolute; inset: 0; z-index: -1; opacity: .24; background-image: repeating-radial-gradient(ellipse at 72% 48%, transparent 0 32px, rgba(102,92,70,.35) 33px 34px, transparent 35px 48px); mask-image: linear-gradient(90deg, transparent 38%, #000); }
.bottle-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(30px, 5vw, 88px); }
.bottle-copy { max-width: 600px; }
.bottle-copy > p { max-width: 570px; color: #4e5655; }
.question-card { display: grid; margin: 24px 0; padding: 17px 19px; grid-template-columns: auto 1fr; align-items: center; gap: 17px; border: 1px solid rgba(87,75,51,.25); background: rgba(255,255,255,.35); }
.question-card span { padding: 5px 7px; color: #fff; background: var(--red); font: 700 10px/1 "Microsoft YaHei", sans-serif; letter-spacing: .1em; }
.question-card strong { font-size: 15px; font-weight: 600; line-height: 1.65; }
.article-row { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.article-row a, .article-list a { color: #4a5960; font: 600 12px/1.6 "Microsoft YaHei", sans-serif; text-underline-offset: 4px; }
.article-row a span, .article-list a span { color: var(--red); }
.bottle-exhibit { position: relative; display: grid; aspect-ratio: 1.08/1; max-height: 72vh; place-items: center; outline: none; perspective: 1200px; cursor: grab; }
.bottle-exhibit:active { cursor: grabbing; }
.bottle-exhibit::before { position: absolute; inset: 6%; content: ""; border: 1px solid rgba(89,82,66,.24); background: linear-gradient(135deg, rgba(255,255,255,.45), rgba(255,255,255,.06)); box-shadow: inset 0 0 0 16px rgba(255,255,255,.08), 0 36px 70px rgba(79,65,37,.12); backdrop-filter: blur(2px); }
.bottle-exhibit__halo { position: absolute; width: 66%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(223,184,105,.72), rgba(226,209,173,.2) 43%, transparent 70%); filter: blur(15px); animation: haloBreath 3.8s ease-in-out infinite; }
.bottle-exhibit__grid { position: absolute; inset: 13%; border-radius: 50%; border: 1px solid rgba(121,97,54,.23); background: repeating-radial-gradient(circle, transparent 0 31px, rgba(121,97,54,.16) 32px 33px); }
.bottle-exhibit__scanline { position: absolute; z-index: 6; left: 14%; top: 16%; width: 72%; height: 2px; border-radius: 50%; background: linear-gradient(90deg, transparent, rgba(72,173,188,.8) 12%, #fff0b5 50%, rgba(72,173,188,.8) 88%, transparent); box-shadow: 0 0 9px #f3d895, 0 0 22px rgba(73,164,181,.72); opacity: 0; pointer-events: none; animation: bottleScan 3.6s ease-in-out infinite; }
.bottle-exhibit__scanline::after { position: absolute; left: 8%; right: 8%; top: -16px; height: 32px; content: ""; background: linear-gradient(0deg, rgba(110,207,219,.15), transparent); filter: blur(7px); }
.bottle-exhibit__float { position: relative; z-index: 3; display: grid; width: 35%; max-height: 72%; place-items: center; transform-style: preserve-3d; animation: bottleFloat 3.5s ease-in-out infinite; pointer-events: none; }
.bottle-exhibit__object { width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 28px 25px rgba(62,43,13,.32)); transform: rotate(-16deg) rotateY(var(--bottle-rotate, 0deg)); transition: transform .65s var(--ease), filter .4s; user-select: none; }
.bottle-exhibit:hover .bottle-exhibit__object { filter: drop-shadow(0 40px 32px rgba(62,43,13,.46)); }
.bottle-exhibit.is-open .bottle-exhibit__object { transform: translateX(-44%) rotate(-9deg) rotateY(var(--bottle-rotate, 18deg)) scale(.82); }
.bottle-exhibit__label { position: absolute; z-index: 5; right: 10%; bottom: 9%; display: flex; flex-direction: column; gap: 6px; color: #5c513e; font-family: "Microsoft YaHei", sans-serif; text-align: right; }
.bottle-exhibit__label span { color: var(--red); font-size: 10px; letter-spacing: .18em; }
.bottle-exhibit__label b { font-size: 12px; font-weight: 600; }
.bottle-exhibit__reveal { position: absolute; z-index: 4; left: 49%; top: 43%; width: 37%; color: #4e483e; opacity: 0; transform: translateY(12px); transition: .5s var(--ease); }
.bottle-exhibit__reveal small { display: block; margin-bottom: 12px; color: var(--red); font: 700 10px/1 "Microsoft YaHei", sans-serif; letter-spacing: .18em; }
.bottle-exhibit__reveal strong { font-size: clamp(15px, 1.2vw, 20px); font-weight: 500; line-height: 1.75; }
.bottle-exhibit.is-open .bottle-exhibit__reveal { opacity: 1; transform: none; }

/* 04 Guardian */
.guardian-panel { color: #243035; background: var(--ivory); }
.guardian-panel__photo { position: absolute; z-index: -3; inset: 0 0 0 43%; overflow: hidden; clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%); }
.guardian-panel__photo::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, #f1e8d5 0, rgba(241,232,213,.6) 13%, rgba(28,37,40,.02) 38%, rgba(28,37,40,.2)); }
.guardian-panel__photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 51% center; transform: scale(1.06) translate3d(0,var(--parallax-y,0),0); filter: saturate(.78) sepia(.07); }
.guardian-panel__paper { position: absolute; z-index: -2; inset: 0; background: linear-gradient(96deg, #f1e8d5 0 43%, rgba(241,232,213,.92) 49%, rgba(241,232,213,.22) 66%, transparent 76%); }
.guardian-panel__paper::after { position: absolute; inset: 0; content: ""; opacity: .18; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E"); }
.guardian-layout { display: grid; grid-template-columns: .9fr .36fr .64fr; align-items: center; gap: clamp(22px, 3vw, 52px); }
.guardian-copy { grid-column: 1; max-width: 590px; }
.guardian-copy > p { color: #536063; }
.guardian-quote { margin: 23px 0 27px; padding: 18px 19px; border-left: 3px solid var(--gold); background: rgba(255,255,255,.36); }
.guardian-quote span { color: var(--red); font: 700 10px/1 "Microsoft YaHei", sans-serif; letter-spacing: .18em; }
.guardian-quote p { margin: 7px 0 0; font-size: 14px; line-height: 1.7; }
.guardian-portrait { grid-column: 2; position: relative; width: min(100%, 305px); margin: 0; justify-self: start; transform: translateX(10%) rotate(2deg); box-shadow: 0 24px 55px rgba(60,49,28,.2); }
.guardian-portrait::before { position: absolute; z-index: 3; top: -9px; left: 41%; width: 58px; height: 18px; content: ""; background: rgba(223,204,158,.7); transform: rotate(-4deg); }
.guardian-portrait img { width: 100%; aspect-ratio: 3/4.3; object-fit: cover; object-position: 56% center; filter: sepia(.12) saturate(.8); }
.guardian-portrait figcaption { padding: 14px 16px 17px; background: #fffaf0; }
.guardian-portrait figcaption span { display: block; color: var(--red); font: 700 9px/1 "Microsoft YaHei", sans-serif; letter-spacing: .16em; }
.guardian-portrait figcaption b { display: block; margin-top: 7px; font-size: 14px; font-weight: 600; }

/* 05 Restoration — 引导封面 + 内嵌播放 */
.restoration-panel { background: linear-gradient(120deg, #dbe4e5, #f4eee0 65%, #eee2c8); }
.restoration-panel__mesh { position: absolute; z-index: -1; inset: 0; opacity: .3; background-image: linear-gradient(rgba(65,91,101,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(65,91,101,.12) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle at 30% 50%, #000, transparent 60%); }
.restoration-layout { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: clamp(36px, 5.5vw, 95px); }

/* 引导封面 */
.restoration-stage { position: relative; width: 100%; }
.restoration-cover {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  padding: 0;
  border: 0;
  background: #07141a;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 36px 72px rgba(29,50,58,.22);
  outline: none;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.restoration-cover:hover,
.restoration-cover:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 46px 90px rgba(29,50,58,.34);
}
.restoration-cover__frame {
  position: absolute;
  z-index: 6;
  inset: 16px;
  border: 1px solid rgba(207,229,230,.34);
  pointer-events: none;
}
.restoration-cover__image {
  position: absolute;
  inset: 0;
  background: url("../story/image5.jpeg") center/cover no-repeat;
  filter: saturate(.72) contrast(1.05) brightness(.85);
  transform: scale(1.04);
  transition: transform 1.2s var(--ease), filter .55s;
}
.restoration-cover:hover .restoration-cover__image,
.restoration-cover:focus-visible .restoration-cover__image {
  transform: scale(1.08);
  filter: saturate(.95) contrast(1.05) brightness(.92);
}
.restoration-cover__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(7,18,24,.15), rgba(7,18,24,.78) 70%),
    linear-gradient(180deg, rgba(7,18,24,.32) 0%, rgba(7,18,24,.45) 100%);
  pointer-events: none;
}
.restoration-cover__chip {
  position: absolute;
  z-index: 5;
  top: 30px;
  left: 36px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  color: var(--gold-light);
  border: 1px solid rgba(232,199,127,.55);
  background: rgba(8,22,28,.55);
  font: 700 11px/1 "Microsoft YaHei", sans-serif;
  letter-spacing: .22em;
  backdrop-filter: blur(6px);
}
.restoration-cover__play {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: 96px;
  height: 96px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,236,194,.12);
  box-shadow: 0 0 0 6px rgba(255,236,194,.08), 0 12px 40px rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  transition: transform .35s var(--ease), background .35s;
}
.restoration-cover__play::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px dashed rgba(232,199,127,.55);
  border-radius: 50%;
  animation: coverSpin 16s linear infinite;
}
.restoration-cover:hover .restoration-cover__play,
.restoration-cover:focus-visible .restoration-cover__play {
  background: rgba(255,236,194,.22);
  transform: translate(-50%, -50%) scale(1.06);
}
.restoration-cover__triangle {
  display: block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 26px solid var(--gold-light);
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
}
@keyframes coverSpin { to { transform: rotate(360deg); } }

.restoration-cover__title {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 24px;
  color: rgba(255,236,194,.95);
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
  pointer-events: none;
}
.restoration-cover__title em {
  display: inline-block;
  font: 500 12px/1 "Microsoft YaHei", sans-serif;
  letter-spacing: .4em;
  color: rgba(232,199,127,.85);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(232,199,127,.5);
}
.restoration-cover__title strong {
  font: 600 clamp(18px, 1.7vw, 26px)/1.4 "STKaiti","KaiTi","Songti SC", serif;
  letter-spacing: .12em;
  max-width: 80%;
  margin-top: 4px;
}
.restoration-cover__title b {
  font: 400 13px/1.6 "Microsoft YaHei", sans-serif;
  letter-spacing: .04em;
  color: rgba(255,236,194,.72);
  margin-top: 2px;
}
.restoration-cover__hint {
  position: absolute;
  z-index: 5;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  pointer-events: none;
}
.restoration-cover__hint i {
  width: 18px;
  height: 2px;
  background: rgba(232,199,127,.7);
  animation: coverHint 1.4s ease-in-out infinite;
}
.restoration-cover__hint i:nth-child(2) { animation-delay: .2s; }
.restoration-cover__hint i:nth-child(3) { animation-delay: .4s; }
@keyframes coverHint {
  0%,100% { transform: scaleX(.6); opacity: .3; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* 内嵌播放 */
.restoration-player {
  position: relative;
  width: min(100%, calc(100vh - var(--header-height) - 110px));
  margin-inline: auto;
}
.restoration-player__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.restoration-player__chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  color: var(--red);
  border: 1px solid rgba(141,48,42,.4);
  background: rgba(255,255,255,.45);
  font: 700 11px/1 "Microsoft YaHei", sans-serif;
  letter-spacing: .22em;
}
.restoration-player__close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  color: #5b6770;
  border: 1px solid rgba(31,44,49,.18);
  background: rgba(255,255,255,.45);
  font: 600 12px/1 "Microsoft YaHei", sans-serif;
  letter-spacing: .14em;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.restoration-player__close:hover {
  color: var(--red);
  border-color: rgba(141,48,42,.45);
  background: rgba(255,255,255,.9);
}
.restoration-player__close i {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
}
.restoration-player__close i::before,
.restoration-player__close i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1px;
  background: currentColor;
}
.restoration-player__close i::before { transform: translate(-50%, -50%) rotate(45deg); }
.restoration-player__close i::after  { transform: translate(-50%, -50%) rotate(-45deg); }

.restoration-player__stage {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #0c171d;
  box-shadow: 0 30px 60px rgba(29,50,58,.3);
}
.restoration-player__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 1.6s var(--ease);
  filter: saturate(.95) contrast(1.04);
}
.restoration-player__img.is-active { opacity: 1; transform: scale(1); }
.restoration-player__caption {
  position: absolute;
  z-index: 5;
  left: 0; right: 0; bottom: 0;
  padding: 60px 24px 22px;
  background: linear-gradient(180deg, transparent, rgba(7,18,24,.88) 70%);
  color: #f5ede0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}
.restoration-player__chip-mini {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 10px;
  color: var(--gold-light);
  border: 1px solid rgba(232,199,127,.45);
  background: rgba(7,18,24,.55);
  font: 700 10px/1 "Microsoft YaHei", sans-serif;
  letter-spacing: .28em;
  backdrop-filter: blur(6px);
}
.restoration-player__title {
  font: 600 clamp(16px, 1.5vw, 22px)/1.45 "STKaiti","KaiTi","Songti SC", serif;
  letter-spacing: .08em;
  margin: 4px 0 0;
}
.restoration-player__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(245,237,224,.78);
  letter-spacing: .04em;
}
.restoration-player__progress {
  position: absolute;
  z-index: 4;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: rgba(255,255,255,.06);
  overflow: hidden;
}
.restoration-player__progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-light), var(--red));
  transition: width .15s linear;
}
.restoration-player__progress-ticks {
  position: absolute;
  inset: 0;
  display: flex;
  pointer-events: none;
}
.restoration-player__progress-ticks i {
  flex: 1;
  border-right: 1px solid rgba(255,255,255,.15);
}
.restoration-player__progress-ticks i:last-child { border-right: 0; }

/* 隐藏旧 carousel */
.lab-gallery[hidden], .restoration-cover[hidden], .restoration-player[hidden] { display: none !important; }

.restoration-copy { max-width: 600px; }
.restoration-copy > p { color: #506169; }
.data-callout { display: flex; margin: 20px 0 18px; align-items: center; gap: 15px; }
.data-callout b { color: var(--red); font: 200 clamp(54px, 5vw, 86px)/.85 Georgia, serif; }
.data-callout span { color: #4b5a60; font: 600 12px/1.6 "Microsoft YaHei", sans-serif; letter-spacing: .08em; }
.article-list { display: grid; gap: 7px; }
.article-list a { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid rgba(68,89,96,.18); text-decoration: none; }
.article-list a:hover { color: var(--red); }

/* 06 Timeline */
.timeline-panel { color: #fff; background: #1b3039; }
.timeline-panel__background { position: absolute; inset: -5%; z-index: -3; background: url("../generated/dawn-river.webp") center/cover no-repeat; transform: scale(1.07) translate3d(0,var(--parallax-y,0),0); filter: saturate(.75); }
.timeline-panel__wash { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(11,31,39,.91), rgba(13,35,43,.62) 51%, rgba(23,46,53,.35)), linear-gradient(0deg, rgba(8,23,28,.58), transparent 60%); }
.timeline-layout { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: clamp(30px, 4vw, 76px); }
.timeline-main { max-width: 650px; }
.timeline-main h2 { font-size: clamp(30px, 2.6vw, 50px); }
.timeline-main h2 em { color: var(--gold-light); }
.timeline-summary { margin: 12px 0 0; color: rgba(255,255,255,.72); font-size: clamp(13px, .9vw, 16px) !important; line-height: 1.7 !important; }
.year-display { display: flex; margin: clamp(25px, 4vh, 45px) 0 10px; align-items: baseline; color: var(--gold-light); font-family: Georgia, serif; line-height: .8; }
.year-display__ghost { font-size: clamp(58px, 7vw, 124px); font-weight: 200; opacity: .32; }
.year-display strong { min-width: 1.9em; font-size: clamp(86px, 10.5vw, 180px); font-weight: 200; text-shadow: 0 14px 44px rgba(233,190,104,.25); }
.year-display strong.is-flipping { animation: yearFlip .48s var(--ease); }
.year-tabs { display: flex; gap: 10px; }
.year-tabs button { padding: 7px 13px; color: rgba(255,255,255,.52); border: 1px solid rgba(255,255,255,.18); background: rgba(8,23,28,.18); font: 600 10px/1 Arial, sans-serif; letter-spacing: .1em; cursor: pointer; }
.year-tabs button.is-active { color: #17272d; background: var(--gold-light); border-color: var(--gold-light); }
.year-copy { min-height: 4.2em; max-width: 610px; margin-top: 17px; color: rgba(255,255,255,.72); font-size: 14px !important; }
.wish-tree-stage { position: relative; min-height: min(75vh, 720px); overflow: hidden; border: 1px solid rgba(232,199,127,.34); background: radial-gradient(circle at 72% 19%, rgba(241,193,95,.12), transparent 22%), linear-gradient(145deg, rgba(12,35,42,.68), rgba(23,44,50,.2)); box-shadow: inset 0 0 90px rgba(245,196,99,.05), 0 34px 70px rgba(5,17,22,.24); isolation: isolate; backdrop-filter: blur(7px); }
.wish-tree-stage::before, .wish-tree-stage::after { position: absolute; z-index: 20; width: 42px; height: 42px; content: ""; border-color: var(--gold-light); opacity: .7; pointer-events: none; }
.wish-tree-stage::before { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; }
.wish-tree-stage::after { right: -1px; bottom: -1px; border-right: 2px solid; border-bottom: 2px solid; }
.wish-tree-stage__title { position: absolute; z-index: 12; top: 24px; left: 28px; width: min(58%, 470px); pointer-events: none; }
.wish-tree-stage__title span { color: var(--gold-light); font: 700 10px/1 "Microsoft YaHei", sans-serif; letter-spacing: .2em; }
.wish-tree-stage__title strong { display: block; margin-top: 8px; font-size: clamp(14px, 1vw, 18px); font-weight: 500; line-height: 1.6; }
.wish-tree-svg { position: absolute; z-index: 1; inset: 6% -3% -2% 0; width: 104%; height: 96%; overflow: visible; }
.wish-tree-svg__moon circle:first-child { fill: rgba(239,201,124,.09); stroke: rgba(239,201,124,.26); }
.wish-tree-svg__moon circle:last-child { fill: none; stroke: rgba(239,201,124,.1); }
.wish-tree-svg__mist { fill: none; stroke: rgba(218,228,219,.13); stroke-width: 13; filter: blur(6px); }
.wish-tree-svg__foliage { opacity: .5; }
.wish-tree-svg__leaves circle { animation: leafBlink 3.4s ease-in-out infinite alternate; }
.wish-tree-svg__leaves circle:nth-child(3n) { animation-delay: -1.1s; }
.wish-tree-svg__leaves circle:nth-child(4n) { animation-delay: -2.2s; }
.wish-sky { position: absolute; z-index: 18; inset: 0; overflow: hidden; pointer-events: none; }
.tree-lanterns { position: absolute; z-index: 10; inset: 0; }
.tree-lantern { position: absolute; left: var(--x); top: var(--y); display: grid; width: 72px; height: 122px; padding: 0; place-items: start center; color: #553b1e; border: 0; background: none; filter: drop-shadow(0 8px 7px rgba(0,0,0,.28)); transform: translate(-50%,-50%); transform-origin: 50% 0; cursor: pointer; animation: treeLanternSway 3.9s ease-in-out infinite; animation-delay: var(--delay); }
.tree-lantern__hook { display: block; width: 1px; height: 25px; background: linear-gradient(#c8a765, rgba(200,167,101,.26)); }
.tree-lantern__body { position: relative; display: grid; width: 52px; height: 69px; place-items: center; border: 1px solid rgba(255,230,159,.82); border-radius: 45% 45% 30% 30% / 28% 28% 17% 17%; background: linear-gradient(90deg, rgba(125,53,26,.88), #ed9e3d 24%, #ffd276 51%, #dc8432 78%, rgba(121,48,24,.9)); box-shadow: inset 0 0 13px rgba(255,243,182,.72), 0 0 14px rgba(236,166,61,.35); transition: transform .35s, box-shadow .35s, filter .35s; }
.tree-lantern__body::before, .tree-lantern__body::after { position: absolute; left: 4px; right: 4px; height: 3px; content: ""; border-radius: 50%; background: #5b3424; box-shadow: 0 1px rgba(255,220,145,.6); }
.tree-lantern__body::before { top: -2px; }
.tree-lantern__body::after { bottom: -2px; }
.tree-lantern__body b { font: 700 12px/1.15 "KaiTi", "STKaiti", serif; letter-spacing: .12em; writing-mode: vertical-rl; }
.tree-lantern__tassel { position: relative; display: block; width: 1px; height: 17px; background: #d3a654; }
.tree-lantern__tassel::after { position: absolute; left: -3px; bottom: 0; width: 7px; height: 7px; content: ""; border-radius: 50%; background: #d29f47; }
.tree-lantern:hover .tree-lantern__body, .tree-lantern:focus-visible .tree-lantern__body, .tree-lantern.is-lit .tree-lantern__body { filter: saturate(1.25) brightness(1.12); box-shadow: inset 0 0 17px #fff1b4, 0 0 26px 10px rgba(241,172,58,.43); transform: translateY(-4px) scale(1.07); }
.tree-lantern:focus-visible { outline: 1px dashed var(--gold-light); outline-offset: 5px; }
.lantern-message { position: absolute; z-index: 16; left: 24px; right: 24px; bottom: 16px; margin: 0; padding: 8px 14px; color: rgba(255,255,255,.75); border-top: 1px solid rgba(232,199,127,.2); background: linear-gradient(90deg, transparent, rgba(8,25,30,.48), transparent); font-size: 12px !important; text-align: center; letter-spacing: .05em; transition: opacity .25s; }
.launched-lantern { position: absolute; display: grid; width: 220px; justify-items: center; color: #fff5d3; opacity: 0; transform: translate(-50%,-50%) scale(.9); filter: drop-shadow(0 0 18px rgba(246,180,69,.7)); }
.launched-lantern .tree-lantern__body { width: 58px; height: 78px; color: #563518; }
.launched-lantern__message { max-width: 220px; margin-top: 10px; padding: 7px 11px; border: 1px solid rgba(245,214,151,.38); border-radius: 2px; background: rgba(8,28,34,.66); font: 500 12px/1.55 "Microsoft YaHei", sans-serif; text-align: center; text-shadow: 0 1px 2px #000; }
.launched-lantern.is-flying { animation: wishLanternRise 7s cubic-bezier(.18,.72,.3,1) forwards; }

/* 灯身气泡 */
.tree-lantern__bubble {
  position: absolute;
  bottom: calc(100% + 18px);
  left: 50%;
  width: 188px;
  padding: 9px 12px;
  color: rgba(255,236,194,.95);
  border: 1px solid rgba(232,199,127,.55);
  background: rgba(8,22,28,.78);
  font: 500 12px/1.55 "Microsoft YaHei", sans-serif;
  text-align: center;
  letter-spacing: .04em;
  box-shadow: 0 6px 22px rgba(0,0,0,.4), inset 0 0 10px rgba(232,199,127,.08);
  transform: translate(-50%, 6px);
  opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
  pointer-events: none;
  z-index: 30;
  white-space: nowrap;
}
.tree-lantern__bubble::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 12px; height: 12px;
  border-right: 1px solid rgba(232,199,127,.55);
  border-bottom: 1px solid rgba(232,199,127,.55);
  background: rgba(8,22,28,.78);
  transform: translateX(-50%) rotate(45deg);
}
.tree-lantern:hover .tree-lantern__bubble,
.tree-lantern:focus-visible .tree-lantern__bubble,
.tree-lantern.is-shown .tree-lantern__bubble {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* 入场动画 */
.tree-lantern {
  opacity: 0;
  transform: translate(-50%, calc(-50% + 80px)) rotate(-3deg);
  animation: treeLanternEnter .9s var(--ease) forwards, treeLanternSway 3.9s ease-in-out infinite;
  animation-delay: calc(var(--delay, 0s) + .15s), calc(var(--delay, 0s) + 1.1s);
}
@keyframes treeLanternEnter {
  0% { opacity: 0; transform: translate(-50%, calc(-50% + 80px)) rotate(-3deg) scale(.92); }
  60% { opacity: 1; transform: translate(-50%, calc(-50% - 6px)) rotate(2deg) scale(1.04); }
  100% { opacity: 1; transform: translate(-50%, -50%) rotate(0) scale(1); }
}

/* "再次点亮"按钮 */
.lantern-replay {
  position: absolute;
  z-index: 18;
  right: 22px;
  bottom: 64px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  color: var(--gold-light);
  border: 1px solid rgba(232,199,127,.6);
  background: rgba(8,22,28,.55);
  font: 600 12px/1 "Microsoft YaHei", sans-serif;
  letter-spacing: .24em;
  cursor: pointer;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), background .35s;
}
.lantern-replay[hidden] { display: none; }
.lantern-replay.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.lantern-replay:hover { background: rgba(232,199,127,.18); }
.lantern-replay__icon {
  position: relative;
  width: 14px;
  height: 18px;
  border: 1px solid var(--gold-light);
  border-radius: 45% 45% 35% 35% / 25% 25% 18% 18%;
  box-shadow: 0 0 8px rgba(232,199,127,.5);
}
.lantern-replay__icon::before {
  content: "";
  position: absolute;
  left: 50%; top: -6px;
  transform: translateX(-50%);
  width: 6px; height: 4px;
  background: var(--gold-light);
  border-radius: 1px 1px 0 0;
}

/* 左侧引导 CTA */
.timeline-cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 480px;
  margin-top: 28px;
  padding: 14px 22px 14px 18px;
  color: var(--gold-light);
  border: 1px solid rgba(232,199,127,.5);
  background: linear-gradient(90deg, rgba(8,22,28,.55), rgba(232,199,127,.08));
  font-family: "Microsoft YaHei", sans-serif;
  letter-spacing: .12em;
  cursor: pointer;
  outline: none;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s, background .35s;
}
.timeline-cta::before {
  content: "";
  position: absolute;
  left: -38%;
  top: -38%;
  width: 60%;
  height: 200%;
  background: linear-gradient(110deg, transparent 0%, rgba(232,199,127,.18) 50%, transparent 100%);
  transform: skewX(-22deg);
  animation: ctaShine 3.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ctaShine {
  0%,100% { left: -38%; }
  50% { left: 110%; }
}
.timeline-cta:hover,
.timeline-cta:focus-visible,
.timeline-cta.is-pulsing {
  transform: translateY(-3px);
  border-color: rgba(232,199,127,.85);
  background: linear-gradient(90deg, rgba(232,199,127,.18), rgba(8,22,28,.4));
  box-shadow: 0 14px 32px rgba(232,199,127,.16);
}
.timeline-cta__halo {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  box-shadow: 0 0 0 1px rgba(232,199,127,.4), 0 0 26px rgba(232,199,127,.2);
  opacity: 0;
  animation: ctaPulse 2.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ctaPulse {
  0%,100% { opacity: .35; }
  50% { opacity: 1; }
}
.timeline-cta__core {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(232,199,127,.55);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,199,127,.28), rgba(232,199,127,.05) 70%);
  flex-shrink: 0;
}
.timeline-cta__core::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(232,199,127,.55);
  border-radius: 50%;
  animation: coverSpin 12s linear infinite;
  pointer-events: none;
}
.timeline-cta__flame {
  position: relative;
  display: block;
  width: 12px;
  height: 16px;
  background: radial-gradient(circle at 50% 70%, #fff1b4, #ff9530 60%, transparent 80%);
  border-radius: 50% 50% 30% 30% / 60% 60% 30% 30%;
  filter: drop-shadow(0 0 8px rgba(255,180,80,.7));
  animation: flameFlicker 1.3s ease-in-out infinite alternate;
}
@keyframes flameFlicker {
  0%,100% { transform: scale(1) translateY(0); opacity: .92; }
  50% { transform: scale(1.1) translateY(-1px); opacity: 1; }
}
.timeline-cta__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.timeline-cta__text strong {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .24em;
  color: #fff5d3;
}
.timeline-cta__text em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(255,236,194,.6);
}
.timeline-cta__arrow {
  position: relative;
  flex-shrink: 0;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-light), transparent);
  margin-left: 4px;
}
.timeline-cta__arrow::after {
  content: "";
  position: absolute;
  right: -1px; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid var(--gold-light);
  border-right: 1px solid var(--gold-light);
  transform: rotate(45deg);
}

/* 07 Epilogue */
.epilogue-panel { display: grid; min-height: 100svh; place-items: center; color: #2c3638; background: #e9ddc4; }
.epilogue-panel__background { position: absolute; inset: -4%; z-index: -3; background: url("../generated/lantern-valley.webp") center/cover no-repeat; transform: scale(1.06) translate3d(0,var(--parallax-y,0),0); }
.epilogue-panel__wash { position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 50% 48%, rgba(248,239,218,.94) 0 19%, rgba(244,233,209,.74) 36%, rgba(234,220,191,.16) 67%), linear-gradient(0deg, rgba(234,220,191,.64), transparent 62%); }
.epilogue-tree { position: absolute; z-index: 1; bottom: -9%; width: min(31vw, 500px); height: 92%; opacity: .58; filter: drop-shadow(0 16px 22px rgba(59,49,28,.2)); pointer-events: none; }
.epilogue-tree--left { left: -2%; }
.epilogue-tree--right { right: -2%; transform: scaleX(-1); }
.epilogue-tree__lights { fill: #f5bd58; filter: drop-shadow(0 0 12px #f4b64e); animation: epilogueLights 3s ease-in-out infinite alternate; }
.photo-wall { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.photo-wall figure { position: absolute; width: clamp(150px, 16vw, 270px); margin: 0; padding: 7px 7px 22px; background: #f8f2e6; box-shadow: 0 18px 35px rgba(73,57,30,.22); transition: transform .7s var(--ease), opacity .5s; }
.photo-wall figure:nth-child(1) { left: 8%; top: 17%; transform: rotate(-7deg); }
.photo-wall figure:nth-child(2) { right: 8%; top: 16%; transform: rotate(5deg); }
.photo-wall figure:nth-child(3) { left: 13%; bottom: 7%; transform: rotate(-3deg); }
.photo-wall figure:nth-child(4) { right: 12%; bottom: 7%; transform: rotate(7deg); }
.photo-wall:hover figure { opacity: .96; transform: rotate(0) scale(1.035); }
.photo-wall figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: sepia(.16) saturate(.78); }
.epilogue-copy { position: absolute; z-index: 5; left: 50%; top: 50%; width: min(62vw, 1040px); padding: 38px 22px; text-align: center; transform: translate(-50%,-50%); }
.panel.is-active .epilogue-copy.reveal { transform: translate(-50%,-50%); }
.epilogue-copy::before { position: absolute; z-index: -1; inset: -18% -5%; content: ""; border-radius: 50%; background: radial-gradient(ellipse, rgba(248,240,220,.88), transparent 69%); filter: blur(8px); }
.epilogue-copy > p { color: rgba(44,54,56,.66); font: 11px/1.6 "Microsoft YaHei", sans-serif; letter-spacing: .18em; }
.epilogue-copy blockquote { margin: clamp(25px,4.5vh,49px) 0 20px; color: #263437; font: 500 clamp(31px,3.55vw,68px)/1.58 "STKaiti", "KaiTi", "FangSong", serif; letter-spacing: .025em; text-shadow: 0 4px 14px rgba(248,240,217,.8); }
.epilogue-copy__wish { display: block; margin: 0 0 25px; color: var(--red); font: 600 12px/1.5 "Microsoft YaHei", sans-serif; letter-spacing: .28em; }
.ghost-button { min-width: 170px; color: var(--ink); border-color: rgba(40,55,57,.32); background: rgba(255,255,255,.28); backdrop-filter: blur(5px); }
.ghost-button span { color: var(--red); }
.epilogue-actions { display: flex; align-items: stretch; justify-content: center; gap: 12px; }
.epilogue-article-button { display: grid; min-width: min(430px, 54vw); padding: 12px 48px 12px 18px; position: relative; align-content: center; justify-items: start; color: var(--ink); border: 1px solid rgba(40,55,57,.32); background: rgba(255,255,255,.48); box-shadow: 0 12px 30px rgba(75,60,34,.1); backdrop-filter: blur(7px); text-align: left; text-decoration: none; transition: transform .3s, box-shadow .3s, background .3s; }
.epilogue-article-button small { margin-bottom: 5px; color: var(--red); font: 700 10px/1.2 "Microsoft YaHei", sans-serif; letter-spacing: .16em; }
.epilogue-article-button strong { font: 600 14px/1.45 "Microsoft YaHei", sans-serif; letter-spacing: .04em; }
.epilogue-article-button > span { position: absolute; right: 18px; top: 50%; color: var(--red); font-size: 20px; transform: translateY(-50%); }
.epilogue-article-button:hover,
.epilogue-article-button:focus-visible { transform: translateY(-3px); background: rgba(255,255,255,.68); box-shadow: 0 18px 35px rgba(68,36,20,.16); }

@keyframes sealPulse { 50% { transform: scale(.94); opacity: .58; } }
@keyframes loadingFallback { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@keyframes soundBars { to { height: 16px; } }
@keyframes particleDrift { to { background-position: 73px -73px; } }
@keyframes scrollLine { 0% { top: -50%; } 100% { top: 120%; } }
@keyframes haloBreath { 50% { transform: scale(1.08); opacity: .72; } }
@keyframes bottleFloat { 0%,100% { transform: translateY(10px) rotate(-1deg); } 50% { transform: translateY(-18px) rotate(1.4deg); } }
@keyframes bottleScan { 0%,10% { top: 16%; opacity: 0; } 18%,82% { opacity: .86; } 90%,100% { top: 82%; opacity: 0; } }
@keyframes scanMove { to { top: 110%; } }
@keyframes yearFlip { 50% { transform: translateY(-12px) rotateX(80deg); opacity: 0; } }
@keyframes treeLanternSway { 0%,100% { transform: translate(-50%, -50%) rotate(0); } 50% { transform: translate(-50%,calc(-50% - 7px)) rotate(2.5deg); } }
@keyframes wishLanternRise { 0% { opacity: 0; transform: translate(-50%,-45%) scale(.84) rotate(-2deg); } 10% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--fly-x)), -720px) scale(.54) rotate(5deg); } }
@keyframes leafBlink { to { opacity: .28; transform: scale(.72); } }
@keyframes epilogueLights { to { opacity: .45; transform: translateY(-3px); } }

@media (min-width: 901px) {
  body { overflow: hidden; }
  #story { height: 100svh; overflow-y: auto; overflow-x: hidden; scroll-snap-type: y mandatory; scroll-padding-top: 0; scroll-behavior: smooth; overscroll-behavior-y: contain; }
  #story::-webkit-scrollbar { display: none; }
  .panel { height: 100svh; min-height: 660px; scroll-snap-align: start; scroll-snap-stop: always; }
}

@media (min-width: 901px) and (max-height: 760px) {
  :root { --header-height: 62px; }
  .panel h2 { font-size: clamp(31px, 3.1vw, 54px); }
  .panel p { font-size: 14px; line-height: 1.75; }
  .question-card { margin: 15px 0; padding: 12px 15px; }
  .prologue-copy blockquote { margin: 15px 0 20px; }
  .bottle-exhibit { max-height: 68vh; }
  .wish-tree-stage { min-height: 69vh; }
  .epilogue-copy blockquote { margin: 25px 0; }
}

@media (max-width: 900px) {
  .loading-screen__seal { width: 116px; height: 64px; font-size: 24px; }
  .loading-screen p { max-width: calc(100vw - 48px); font-size: 12px; line-height: 1.8; text-align: center; }
  :root { --header-height: 58px; }
  body { background: var(--ivory); }
  .site-bar { padding: 0 18px; background: linear-gradient(180deg, rgba(7,18,23,.72), transparent); }
  .current-chapter { display: none; }
  .brand { font-size: 11px; }
  .brand__red { font-size: 14px; }
  .sound-toggle__label { display: none; }
  .chapter-nav { display: none; }
  .page-progress { width: 100%; height: 2px; }
  .page-progress span { width: 0; height: 100%; }
  #story { overflow: visible; }
  .panel { min-height: 100svh; height: auto; overflow: hidden; }
  .panel-shell { width: calc(100% - 38px); height: auto; min-height: 100svh; padding: calc(var(--header-height) + 48px) 0 58px; }
  .panel h2 { font-size: clamp(31px, 9.4vw, 48px); }
  .panel p { font-size: 15px; line-height: 1.85; }
  .eyebrow { margin-bottom: 14px; font-size: 10px; }
  .primary-button { min-width: 210px; padding: 14px 16px; }
  .reveal { opacity: 1; transform: none; }

  .hero-panel { height: 100svh; min-height: 620px; }
  .hero-panel__background { object-position: 31% center; }
  .hero-panel__mist { background: linear-gradient(0deg, rgba(5,12,16,.8), transparent 55%), radial-gradient(circle at 80% 30%, rgba(238,193,109,.15), transparent 25%); }
  .hero-panel__content { width: 100%; height: 100%; margin: 0; padding: 28vh 17px 7vh; justify-content: flex-end; }
  .hero-panel__title { width: min(89vw, 530px); }
  .hero-panel__subtitle { width: min(64vw, 390px); margin-top: -7px; }
  .hero-panel__strapline { width: min(88vw, 550px); margin-top: 17px; }
  .scroll-cue { margin-top: 29px; }
  .hero-panel__credit { display: none; }

  .prologue-panel { min-height: 100svh; }
  .prologue-video__skip { top: auto; bottom: 22vh; right: 50%; transform: translate(50%, 0); }
  .prologue-caption { padding: 0 14px; align-items: end; padding-bottom: 12vh; }
  .prologue-caption__inner { width: 100%; padding: 24px 20px 26px; }
  .prologue-caption__paper { inset: 46px 18px; }
  .prologue-scroll__roller { top: 42px; bottom: 42px; width: 16px; }
  .prologue-scroll__roller--left { left: 6px; }
  .prologue-scroll__roller--right { right: 6px; }
  .prologue-scroll__edge { left: 24px; right: 24px; }
  .prologue-scroll__edge--top { top: 42px; }
  .prologue-scroll__edge--bottom { bottom: 42px; }
  .prologue-caption__head-text strong { font-size: 22px; }
  .prologue-caption__cloud { width: 36px; }
  .prologue-caption__eyebrow { font-size: 10px; letter-spacing: .22em; }
  .prologue-caption__divider { width: 60%; }
  .prologue-caption__text { font-size: 16px; line-height: 1.85; text-indent: 2em; }
  .prologue-seal { width: 78px; height: 78px; }
  .prologue-seal__stamp { width: 44px; height: 44px; font-size: 14px; }
  .prologue-caption__sig { font-size: 16px; margin-bottom: 18px; }
  .prologue-caption__btn { padding: 16px 18px 22px; }
  .prologue-caption__btn-arrow { bottom: 10px; }

  .bottle-layout { display: flex; flex-direction: column; gap: 25px; }
  .bottle-copy { max-width: none; }
  .bottle-exhibit { width: 100%; max-height: none; aspect-ratio: 1/1.12; }
  .bottle-exhibit__float { width: 37%; }
  .bottle-exhibit__object { width: 100%; }
  .bottle-exhibit__label { right: 9%; bottom: 8%; }

  .guardian-panel__photo { inset: 0 0 44% 0; clip-path: none; }
  .guardian-panel__photo::after { background: linear-gradient(0deg, #f1e8d5 0, transparent 42%); }
  .guardian-panel__paper { background: linear-gradient(180deg, transparent 0 37%, rgba(241,232,213,.91) 47%, #f1e8d5 64%); }
  .guardian-layout { display: grid; grid-template-columns: 1fr .55fr; align-content: end; gap: 21px; padding-top: 42vh; }
  .guardian-copy { grid-column: 1 / -1; }
  .guardian-portrait { grid-column: 2; grid-row: 2; width: 100%; align-self: end; }
  .guardian-portrait img { aspect-ratio: 3/4; }
  .guardian-copy .primary-button { margin-right: 44%; }

  .restoration-layout { display: flex; flex-direction: column-reverse; gap: 36px; }
  .restoration-cover { aspect-ratio: 4/3; }
  .restoration-cover__chip { top: 18px; left: 20px; padding: 6px 10px; font-size: 10px; }
  .restoration-cover__play { width: 76px; height: 76px; }
  .restoration-cover__triangle { border-left-width: 22px; border-top-width: 13px; border-bottom-width: 13px; margin-left: 4px; }
  .restoration-cover__title strong { font-size: 17px; }
  .restoration-cover__title b { font-size: 12px; }
  .restoration-player { width: 100%; }
  .restoration-player__stage { aspect-ratio: 1/1; }
  .data-callout b { font-size: 72px; }

  .timeline-panel { min-height: auto; }
  .timeline-panel__wash { background: linear-gradient(180deg, rgba(10,30,38,.84), rgba(12,32,39,.58)); }
  .timeline-layout { display: flex; flex-direction: column; gap: 28px; padding-top: 6vh; }
  .timeline-main { max-width: none; }
  .year-display__ghost { font-size: 65px; }
  .year-display strong { font-size: 108px; }
  .timeline-cta { max-width: none; padding: 12px 16px; }
  .timeline-cta__core { width: 36px; height: 36px; }
  .timeline-cta__text strong { font-size: 14px; letter-spacing: .18em; }
  .timeline-cta__text em { font-size: 10px; }
  .wish-tree-stage { width: 100%; min-height: 650px; }
  .wish-tree-svg { inset: 9% -8% -1% -8%; width: 116%; height: 91%; }
  .tree-lantern { width: 65px; }
  .tree-lantern__bubble { width: 152px; font-size: 11px; padding: 7px 10px; white-space: normal; }
  .lantern-replay { right: 14px; bottom: 56px; padding: 8px 14px; }

  .epilogue-panel { display: grid; min-height: 100svh; padding: 76px 18px 35px; }
  .epilogue-panel__wash { background: linear-gradient(0deg, rgba(239,225,198,.88), rgba(247,237,217,.34)); }
  .epilogue-tree { width: min(57vw, 390px); height: 72%; bottom: -5%; opacity: .47; }
  .epilogue-tree--left { left: -18%; }
  .epilogue-tree--right { right: -18%; }
  .photo-wall { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; transform: none; }
  .photo-wall figure { width: clamp(105px, 27vw, 190px); padding: 5px 5px 15px; }
  .photo-wall figure:nth-child(1) { left: 3%; top: 14%; }
  .photo-wall figure:nth-child(2) { right: 3%; top: 13%; }
  .photo-wall figure:nth-child(3) { left: 5%; bottom: 8%; }
  .photo-wall figure:nth-child(4) { right: 5%; bottom: 8%; }
  .epilogue-copy { left: 50%; top: 50%; width: min(86vw, 660px); margin: 0; padding: 18px 0; transform: translate(-50%,-50%); }
  .epilogue-copy > p { max-width: 68%; margin: 0 auto; }
  .epilogue-copy blockquote { font-size: clamp(25px, 7vw, 42px); line-height: 1.62; }
}

@media (max-width: 520px) {
  .question-card { grid-template-columns: 1fr; }
  .article-row { display: grid; }
  .guardian-layout { grid-template-columns: 1fr; padding-top: 44vh; }
  .guardian-copy .primary-button { margin-right: 0; }
  .guardian-portrait { grid-column: 1; width: 56%; margin-left: auto; }
  .film-stage__time { left: 34px; right: 34px; }
  .bottle-exhibit.is-open .bottle-exhibit__object { transform: translateX(-50%) rotate(-9deg) rotateY(var(--bottle-rotate, 18deg)) scale(.72); }
  .bottle-exhibit__reveal { left: 46%; width: 45%; }
  .bottle-exhibit__reveal strong { font-size: 13px; }
  .wish-tree-stage { min-height: 585px; }
  .wish-tree-stage__title { top: 18px; left: 18px; width: 78%; }
  .wish-tree-svg { inset: 12% -19% 0 -19%; width: 138%; height: 87%; }
  .tree-lantern { width: 54px; height: 104px; }
  .tree-lantern__hook { height: 20px; }
  .tree-lantern__body { width: 43px; height: 59px; }
  .tree-lantern__body b { font-size: 10px; }
  .tree-lantern:nth-child(5) { --x: 74% !important; --fly-x: 46px !important; }
  .launched-lantern { width: 150px; }
  .launched-lantern__message { max-width: 145px; padding: 6px 8px; font-size: 10px; }
  .lantern-message { left: 12px; right: 12px; bottom: 10px; }
  .photo-wall figure { width: 29vw; }
  .epilogue-copy { width: 92vw; }
  .epilogue-copy > p { max-width: 74%; font-size: 9px; letter-spacing: .1em; }
  .epilogue-copy blockquote { margin: 20px 0 15px; font-size: clamp(23px, 7.1vw, 34px); }
  .epilogue-copy__wish { font-size: 10px; letter-spacing: .18em; }
}

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

/* ============================================================
   2026-08 modification pass — eight-screen editorial edition
   ============================================================ */

/* Header: dissolve the hard dividing line into the scene. */
.site-bar { border-bottom: 0; }
.site-bar::after {
  position: absolute;
  left: clamp(22px, 4.5vw, 76px);
  right: clamp(22px, 4.5vw, 76px);
  bottom: -16px;
  height: 34px;
  content: "";
  background: radial-gradient(ellipse at 50% 0, rgba(255,255,255,.09), transparent 68%);
  opacity: .55;
  pointer-events: none;
}
body.is-light-chapter .site-bar::after { background: radial-gradient(ellipse at 50% 0, rgba(31,44,49,.1), transparent 68%); }

/* 01 — cinematic but restrained opening treatment. */
.hero-panel__scene picture { position: absolute; inset: -1.5%; animation: heroSceneArrive 7s var(--ease) both; }
.hero-panel__background { object-position: 50% 50%; }
.hero-panel__mist {
  background:
    radial-gradient(ellipse at 23% 46%, transparent 0 22%, rgba(3,8,12,.24) 62%),
    linear-gradient(90deg, rgba(3,9,13,.2), transparent 48%, rgba(3,9,13,.03));
  backdrop-filter: saturate(.92);
}
.hero-panel__particles { opacity: .34; background-size: 96px 96px; animation-duration: 26s; }
.hero-panel__light { background: radial-gradient(circle at 88% 42%, rgba(255,216,143,.29), transparent 28%); animation: heroLightBreathe 5.5s ease-in-out infinite alternate; }
.hero-panel__horizon,
.hero-panel__signal { position: absolute; inset: 0; pointer-events: none; }
.hero-panel__horizon {
  z-index: 2;
  top: 42%;
  bottom: auto;
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg, transparent 2%, rgba(212,232,235,.1) 24%, rgba(255,225,167,.72) 52%, rgba(212,232,235,.08) 72%, transparent 98%);
  box-shadow: 0 0 18px rgba(244,210,144,.34);
  transform: translateX(-66%) scaleX(.42);
  animation: heroHorizonSweep 5.8s 1.2s ease-in-out infinite;
}
.hero-panel__signal {
  opacity: .22;
  background:
    repeating-radial-gradient(circle at 23% 46%, transparent 0 48px, rgba(158,209,218,.16) 49px 50px, transparent 51px 82px);
  mask-image: radial-gradient(circle at 23% 46%, #000 0 12%, transparent 42%);
  animation: heroSignal 5s ease-in-out infinite;
}
.hero-panel__credit { color: rgba(255,255,255,.56); letter-spacing: .12em; }
@keyframes heroSceneArrive { from { transform: scale(1.08); filter: brightness(.72) saturate(.72); } to { transform: scale(1); filter: brightness(1) saturate(1); } }
@keyframes heroLightBreathe { to { opacity: .62; transform: scale(1.06); } }
@keyframes heroSignal { 50% { opacity: .36; transform: scale(1.025); } }
@keyframes heroHorizonSweep {
  0%,12% { opacity: 0; transform: translateX(-66%) scaleX(.42); }
  28%,62% { opacity: .62; }
  82%,100% { opacity: 0; transform: translateX(66%) scaleX(.54); }
}

/* 02 — compact, formal prologue card after ten seconds of video. */
.prologue-caption { padding: var(--header-height) clamp(24px, 6vw, 110px) 3vh; }
.prologue-scroll,
.prologue-caption__paper { display: none; }
.prologue-caption__inner {
  width: min(78vw, 850px);
  max-width: 850px;
  padding: clamp(28px, 4vh, 43px) clamp(30px, 4.6vw, 60px) clamp(26px, 3.7vh, 38px);
  border: 1px solid rgba(232,199,127,.48);
  background: linear-gradient(135deg, rgba(8,16,20,.9), rgba(22,21,18,.76));
  box-shadow: inset 0 0 0 5px rgba(232,199,127,.05), 0 32px 90px rgba(0,0,0,.46);
  backdrop-filter: blur(14px) saturate(.82);
}
.prologue-caption__inner::before,
.prologue-caption__inner::after {
  position: absolute;
  width: 44px;
  height: 44px;
  content: "";
  border-color: var(--gold-light);
  opacity: .72;
}
.prologue-caption__inner::before { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; }
.prologue-caption__inner::after { right: -1px; bottom: -1px; border-right: 2px solid; border-bottom: 2px solid; }
.prologue-caption__head { margin-bottom: 10px; }
.prologue-caption__head-text { gap: 8px; }
.prologue-caption__head-text em { padding: 3px 10px; font: 500 9px/1.2 Arial, sans-serif; letter-spacing: .24em; }
.prologue-caption__head-text strong {
  color: #fff7df;
  font: 600 clamp(27px, 2.7vw, 40px)/1.18 "Microsoft YaHei", "Noto Sans SC", sans-serif;
  letter-spacing: .18em;
  padding-left: .18em;
}
.prologue-caption__eyebrow { margin: 0 0 13px; font-size: 11px; letter-spacing: .13em; }
.prologue-caption__text {
  margin: 15px 0 16px;
  color: rgba(255,249,235,.9);
  font: 400 clamp(17px, 1.25vw, 21px)/1.85 "Microsoft YaHei", "Noto Sans SC", sans-serif;
  letter-spacing: .035em;
  text-indent: 2em;
}
.prologue-caption__sig { margin: 8px 0 17px; font: 600 clamp(15px, 1.25vw, 18px)/1.55 "Microsoft YaHei", sans-serif; }
.prologue-caption__sig::before,
.prologue-caption__sig::after { margin: 0 9px; }
.prologue-caption__btn { width: min(100%, 390px); padding: 14px 18px 19px; }

/* 03 — article entries are earned by decrypting the bottle. */
.bottle-copy { max-width: 640px; }
.article-row {
  display: grid;
  gap: 9px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: max-height .7s var(--ease), opacity .55s ease, transform .7s var(--ease), margin .55s;
}
.bottle-panel.is-decrypted .article-row {
  max-height: 250px;
  margin-top: 18px;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.article-row__label { color: var(--red); font: 700 10px/1.2 "Microsoft YaHei", sans-serif; letter-spacing: .18em; }
.article-row a {
  position: relative;
  display: grid;
  min-height: 64px;
  padding: 11px 48px 11px 16px;
  align-content: center;
  gap: 4px;
  color: #27373d;
  border: 1px solid rgba(63,73,69,.2);
  background: rgba(255,255,255,.52);
  box-shadow: 0 8px 24px rgba(78,59,31,.06);
  text-decoration: none;
  transition: transform .28s, border-color .28s, background .28s, box-shadow .28s;
}
.article-row a:hover { transform: translateX(6px); border-color: rgba(141,48,42,.48); background: rgba(255,255,255,.82); box-shadow: 0 12px 28px rgba(78,59,31,.12); }
.article-row a small { color: #8b6d45; font-size: 9px; letter-spacing: .12em; }
.article-row a strong { font-size: clamp(13px, .93vw, 16px); line-height: 1.45; }
.article-row a > span { position: absolute; right: 17px; top: 50%; color: var(--red); font-size: 18px; transform: translateY(-50%); }

/* 04 — museum image becomes a clear interactive entrance. */
.guardian-layout { grid-template-columns: .92fr .34fr .66fr; }
.museum-entry {
  position: relative;
  grid-column: 3;
  display: flex;
  width: min(100%, 410px);
  min-height: 170px;
  padding: 26px;
  align-items: center;
  justify-content: center;
  gap: 19px;
  justify-self: center;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,236,194,.62);
  background:
    linear-gradient(90deg, rgba(8,21,27,.88), rgba(8,21,27,.48)),
    url("../story/image3.jpeg") center/cover;
  box-shadow: 0 24px 55px rgba(10,20,22,.3), inset 0 0 0 5px rgba(255,255,255,.05);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}
.museum-entry::after { position: absolute; inset: 8px; content: ""; border: 1px solid rgba(232,199,127,.2); pointer-events: none; }
.museum-entry__play { position: relative; z-index: 2; display: grid; width: 58px; height: 58px; flex: 0 0 auto; place-items: center; padding-left: 0; border: 1px solid rgba(255,240,203,.8); border-radius: 50%; background: rgba(141,48,42,.76); font: 15px/1 Arial, sans-serif; box-shadow: 0 0 0 10px rgba(255,255,255,.07); transition: transform .35s, box-shadow .35s; }
.museum-entry__pulse { position: absolute; left: 46px; top: 50%; width: 58px; height: 58px; border: 1px solid rgba(255,232,182,.54); border-radius: 50%; transform: translateY(-50%); animation: museumPulse 2.4s ease-out infinite; }
.museum-entry > span:last-child { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 4px; }
.museum-entry small { color: var(--gold-light); font: 600 9px/1.2 "Microsoft YaHei", sans-serif; letter-spacing: .22em; }
.museum-entry strong { font: 600 clamp(17px, 1.35vw, 23px)/1.4 "Microsoft YaHei", sans-serif; letter-spacing: .08em; }
.museum-entry em { color: rgba(255,255,255,.68); font: normal 10px/1.4 "Microsoft YaHei", sans-serif; letter-spacing: .12em; }
.museum-entry:hover .museum-entry__play { transform: scale(1.08); box-shadow: 0 0 0 15px rgba(255,255,255,.1), 0 0 32px rgba(232,199,127,.34); }
@keyframes museumPulse { to { opacity: 0; transform: translateY(-50%) scale(1.75); } }

.museum-modal { position: fixed; z-index: 160; inset: 0; display: grid; place-items: center; padding: 24px; }
.museum-modal[hidden] { display: none; }
.museum-modal__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(3,10,13,.86); backdrop-filter: blur(12px); cursor: pointer; }
.museum-modal__dialog { position: relative; z-index: 2; width: min(1040px, 91vw); padding: 14px; color: #fff; border: 1px solid rgba(232,199,127,.42); background: #0c191f; box-shadow: 0 40px 100px rgba(0,0,0,.6); }
.museum-modal__head { display: flex; min-height: 54px; padding: 0 7px 10px; align-items: center; justify-content: space-between; }
.museum-modal__head > span { display: flex; flex-direction: column; gap: 5px; }
.museum-modal__head small { color: var(--gold-light); font: 600 9px/1 Arial, sans-serif; letter-spacing: .2em; }
.museum-modal__head strong { font: 600 18px/1.2 "Microsoft YaHei", sans-serif; letter-spacing: .1em; }
.museum-modal__close { width: 40px; height: 40px; color: #fff; border: 1px solid rgba(255,255,255,.22); background: transparent; font: 300 27px/1 Arial, sans-serif; cursor: pointer; }
.museum-modal video { display: block; width: 100%; max-height: 72vh; background: #000; }
.museum-modal__dialog > p { margin: 9px 4px 0; color: rgba(255,255,255,.56); font: 10px/1.4 "Microsoft YaHei", sans-serif; letter-spacing: .13em; }
body.has-modal { overflow: hidden !important; }

/* 05 — a monumental, five-stage restoration wall behind the controls. */
.restoration-panel { background: linear-gradient(120deg, #d8e1e2, #eee8dc 58%, #e8dac0); }
.restoration-gallery-wall { position: absolute; z-index: 0; inset: 0; display: grid; place-items: center; overflow: hidden; opacity: .74; pointer-events: none; perspective: 1500px; }
.restoration-gallery-wall::before { position: absolute; inset: 0; content: ""; background: radial-gradient(ellipse at 48% 50%, rgba(240,249,247,.06), rgba(215,222,218,.2) 42%, rgba(231,224,208,.82) 86%); }
.restoration-gallery-wall__frame {
  position: relative;
  width: min(52vw, 880px);
  height: min(82vh, 780px);
  border: 1px solid rgba(89,120,127,.32);
  background: rgba(229,237,234,.36);
  box-shadow: 0 42px 90px rgba(54,69,67,.2), inset 0 0 0 12px rgba(255,255,255,.16);
  transform: translateX(-16vw) rotateY(8deg) rotateX(1.5deg);
  transform-style: preserve-3d;
  overflow: hidden;
}
.restoration-gallery-wall__frame::before,
.restoration-gallery-wall__frame::after { position: absolute; z-index: 8; width: 64px; height: 64px; content: ""; border-color: rgba(99,143,151,.52); }
.restoration-gallery-wall__frame::before { top: 14px; left: 14px; border-top: 2px solid; border-left: 2px solid; }
.restoration-gallery-wall__frame::after { right: 14px; bottom: 14px; border-right: 2px solid; border-bottom: 2px solid; }
.restoration-gallery-wall img {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  max-width: none;
  object-fit: cover;
  opacity: 0;
  filter: grayscale(.28) saturate(.72) contrast(1.06);
  transform: translateZ(-70px) scale(1.1);
  animation: restorationWallCycle 25s linear infinite;
}
.restoration-gallery-wall img:nth-child(2) { animation-delay: 5s; }
.restoration-gallery-wall img:nth-child(3) { animation-delay: 10s; }
.restoration-gallery-wall img:nth-child(4) { animation-delay: 15s; }
.restoration-gallery-wall img:nth-child(5) { animation-delay: 20s; }
.restoration-gallery-wall__scan { position: absolute; z-index: 7; left: 4%; right: 4%; top: -10%; height: 16%; background: linear-gradient(180deg, transparent, rgba(185,246,247,.16) 72%, rgba(232,255,251,.78)); filter: blur(.4px); box-shadow: 0 4px 18px rgba(126,222,226,.48); animation: restorationScan 5s ease-in-out infinite; }
.restoration-gallery-wall__grid { position: absolute; z-index: 6; inset: 0; opacity: .15; background-image: linear-gradient(rgba(85,133,139,.44) 1px, transparent 1px), linear-gradient(90deg, rgba(85,133,139,.44) 1px, transparent 1px); background-size: 56px 56px; }
.restoration-gallery-wall__index { position: absolute; z-index: 9; right: 25px; top: 25px; color: rgba(51,86,93,.76); font: 600 10px/1.2 Arial, sans-serif; letter-spacing: .16em; }
.restoration-layout { z-index: 5; }
.restoration-cover,
.restoration-player { box-shadow: 0 35px 90px rgba(57,69,64,.32); }
.restoration-copy { padding: 28px; background: rgba(244,240,227,.72); box-shadow: 0 18px 48px rgba(74,74,58,.1); backdrop-filter: blur(13px); }
.restoration-copy .restoration-lead { font-size: clamp(13px, .9vw, 16px); line-height: 1.75; }
@keyframes restorationWallCycle {
  0%,2% { opacity: 0; transform: translateZ(-80px) scale(1.12); }
  6%,17% { opacity: .42; transform: translateZ(6px) scale(1.025); }
  20% { opacity: 0; transform: translateZ(28px) scale(1); }
  21%,100% { opacity: 0; }
}
@keyframes restorationScan { 0% { top: -18%; opacity: 0; } 8%,84% { opacity: .8; } 100% { top: 102%; opacity: 0; } }

/* 06 — calendar archive and larger year controls. */
.timeline-layout { grid-template-columns: .82fr 1.18fr; }
.year-display {
  position: relative;
  display: block;
  width: min(100%, 480px);
  margin: clamp(24px, 3vh, 34px) 0 14px;
  padding: 42px 30px 19px;
  color: #182b32;
  border: 1px solid rgba(232,199,127,.48);
  background: linear-gradient(150deg, rgba(246,239,221,.96), rgba(213,199,165,.9));
  box-shadow: 0 24px 54px rgba(3,15,19,.34), inset 0 0 0 7px rgba(255,255,255,.18);
  line-height: 1;
}
.year-display::after { position: absolute; left: 0; right: 0; bottom: -7px; height: 8px; content: ""; background: linear-gradient(135deg, transparent 5px, rgba(220,208,178,.94) 0) 0 0/10px 10px repeat-x; }
.year-display__rings { position: absolute; top: -12px; left: 28px; right: 28px; display: flex; justify-content: space-between; }
.year-display__rings i { width: 11px; height: 28px; border: 3px solid #a57b3b; border-radius: 8px; background: #22353a; box-shadow: 0 3px 0 rgba(0,0,0,.2); }
.year-display__label { display: block; padding-bottom: 10px; border-bottom: 1px solid rgba(39,57,60,.2); color: #7d633b; font: 700 9px/1.2 "Microsoft YaHei", sans-serif; letter-spacing: .22em; }
.year-display__digits { display: flex; align-items: baseline; justify-content: center; margin-top: 7px; padding-bottom: 40px; font-family: Georgia, "Times New Roman", serif; line-height: .72; }
.year-display__ghost,
.year-display strong { font-size: clamp(94px, 8.3vw, 142px); font-weight: 600; letter-spacing: -.08em; }
.year-display__ghost { color: #8d302a; opacity: 1; }
.year-display strong { min-width: 1.45em; color: #203239; text-shadow: none; }
.year-tabs { width: min(100%, 480px); gap: 12px; }
.year-tabs button {
  position: relative;
  flex: 1;
  min-height: 62px;
  padding: 12px 10px 9px;
  color: rgba(255,255,255,.82);
  border: 1px solid rgba(232,199,127,.42);
  background: rgba(8,23,28,.48);
  font: 700 clamp(17px, 1.3vw, 22px)/1 Arial, sans-serif;
  letter-spacing: .06em;
  box-shadow: inset 0 3px 0 rgba(232,199,127,.14);
  transition: transform .3s, background .3s, color .3s, box-shadow .3s;
}
.year-tabs button::after { display: block; margin-top: 8px; color: currentColor; font: 500 7px/1 Arial, sans-serif; letter-spacing: .18em; content: "点击查阅"; opacity: .55; }
.year-tabs button:hover { transform: translateY(-4px); background: rgba(232,199,127,.15); box-shadow: 0 12px 25px rgba(0,0,0,.2); }
.year-tabs button.is-active { color: #17272d; background: var(--gold-light); box-shadow: 0 14px 28px rgba(232,199,127,.18); }
.year-copy { width: min(100%, 480px); min-height: 6.6em; white-space: pre-line; }
.tree-lantern { transition: filter .9s ease; }
.tree-lantern__bubble { display: none !important; }
.tree-lantern.is-departed { opacity: 0 !important; filter: blur(3px) drop-shadow(0 0 18px rgba(246,180,69,.6)); pointer-events: none; animation: none !important; transition: none !important; transform: translate(-50%, calc(-50% - 60px)) scale(.88) !important; }
.launched-lantern.is-flying { animation-duration: 10.5s; animation-timing-function: cubic-bezier(.18,.55,.26,1); }
@keyframes wishLanternRise {
  0% { opacity: 0; transform: translate(-50%,-42%) scale(.86) rotate(-1deg); }
  8% { opacity: 1; transform: translate(-50%,calc(-50% - 18px)) scale(1) rotate(1deg); }
  34% { opacity: 1; transform: translate(-50%, -170px) scale(.95) rotate(-2deg); }
  75% { opacity: .88; transform: translate(calc(-50% + var(--fly-x)), -500px) scale(.72) rotate(3deg); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--fly-x)), -820px) scale(.48) rotate(6deg); }
}

/* 06 — 山河回响：以五束微光取代具象树与孔明灯。 */
.echo-stage {
  position: relative;
  min-height: min(75vh, 720px);
  overflow: hidden;
  border: 1px solid rgba(232,199,127,.28);
  background:
    radial-gradient(circle at 69% 20%, rgba(233,195,113,.11), transparent 21%),
    radial-gradient(ellipse at 50% 68%, rgba(91,116,105,.14), transparent 42%),
    linear-gradient(155deg, rgba(10,29,36,.84), rgba(22,45,51,.34));
  box-shadow: inset 0 0 110px rgba(232,199,127,.035), 0 34px 70px rgba(5,17,22,.24);
  isolation: isolate;
  backdrop-filter: blur(7px);
}
.echo-stage::before,
.echo-stage::after { position: absolute; z-index: 22; width: 42px; height: 42px; content: ""; border-color: var(--gold-light); opacity: .58; pointer-events: none; }
.echo-stage::before { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; }
.echo-stage::after { right: -1px; bottom: -1px; border-right: 2px solid; border-bottom: 2px solid; }
.echo-atmosphere { position: absolute; z-index: 1; inset: 0; overflow: hidden; pointer-events: none; }
.echo-atmosphere::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, rgba(5,18,24,.08), transparent 42%, rgba(5,19,24,.52)); }
.echo-moon { position: absolute; top: 8%; right: 12%; width: clamp(110px, 15vw, 210px); aspect-ratio: 1; border: 1px solid rgba(232,199,127,.11); border-radius: 50%; background: radial-gradient(circle, rgba(232,199,127,.08), rgba(232,199,127,.018) 57%, transparent 70%); box-shadow: 0 0 70px rgba(232,199,127,.055), inset 0 0 42px rgba(232,199,127,.04); }
.echo-moon::after { position: absolute; inset: 20%; content: ""; border: 1px solid rgba(232,199,127,.13); border-radius: 50%; }
.echo-landscape { position: absolute; inset: 7% -5% -1%; width: 110%; height: 94%; overflow: visible; }
.echo-landscape__mountains--far path { fill: url(#echoMountainFar); }
.echo-landscape__mountains--near path { fill: url(#echoMountainNear); opacity: .84; }
.echo-landscape__contours { fill: none; stroke: rgba(197,209,193,.11); stroke-width: 8; filter: blur(2px); }
.echo-landscape__contours path:nth-child(2) { stroke-width: 5; opacity: .72; }
.echo-landscape__contours path:nth-child(3) { stroke-width: 3; opacity: .56; }
.echo-landscape__river { fill: none; stroke: url(#echoRiver); stroke-linecap: round; filter: drop-shadow(0 0 9px rgba(232,199,127,.2)); }
.echo-landscape__river path:first-child { stroke-width: 3; }
.echo-landscape__river path:last-child { stroke-width: 1.5; opacity: .56; }
.echo-dust { position: absolute; width: 280px; height: 180px; background-image: radial-gradient(circle, rgba(232,199,127,.75) 0 1.2px, transparent 1.8px); background-size: 34px 29px; opacity: .13; filter: blur(.2px); animation: echoDustDrift 13s linear infinite; }
.echo-dust--one { left: 4%; top: 17%; transform: rotate(-12deg); }
.echo-dust--two { right: 6%; top: 32%; transform: rotate(8deg) scale(.82); animation-delay: -5s; }
.echo-dust--three { left: 34%; bottom: 15%; transform: scale(.65); animation-delay: -9s; }
.echo-sky { position: absolute; z-index: 16; inset: 0; overflow: hidden; pointer-events: none; }
.echo-lights { position: absolute; z-index: 10; inset: 0; }
.echo-light {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  width: 102px;
  height: 112px;
  padding: 0;
  place-items: center;
  color: rgba(255,243,208,.88);
  border: 0;
  background: none;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 24px));
  cursor: pointer;
  animation: echoLightEnter .9s var(--ease) forwards;
  animation-delay: var(--delay);
}
.echo-light__halo { position: absolute; top: 2px; left: 50%; width: 80px; height: 80px; border: 1px solid rgba(232,199,127,.24); border-radius: 50%; transform: translateX(-50%); transition: border-color .35s, transform .45s var(--ease), opacity .7s; }
.echo-light__halo::before { position: absolute; inset: 13px; content: ""; border: 1px solid rgba(232,199,127,.18); border-radius: 50%; }
.echo-light__halo i { position: absolute; inset: -12px; border: 1px solid rgba(232,199,127,.1); border-radius: 50%; animation: echoRing 3.8s ease-out infinite; }
.echo-light__halo i:nth-child(2) { inset: -26px; animation-delay: -1.9s; }
.echo-light__core { position: absolute; top: 31px; left: 50%; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 38% 34%, #fff8d8 0 13%, #f0c36a 34%, #b87531 61%, transparent 72%); box-shadow: 0 0 10px #f5cc76, 0 0 26px rgba(240,184,82,.7), 0 0 55px rgba(232,199,127,.22); transform: translateX(-50%); animation: echoCoreBreath 2.7s ease-in-out infinite; animation-delay: var(--delay); transition: filter .35s, box-shadow .35s, transform .35s; }
.echo-light b { position: absolute; top: 84px; left: 50%; font: 600 12px/1 "Microsoft YaHei", sans-serif; letter-spacing: .26em; padding-left: .26em; text-shadow: 0 2px 9px rgba(0,0,0,.65); transform: translateX(-50%); transition: color .35s, letter-spacing .35s, opacity .7s; }
.echo-light__note,
.launched-echo__note { display: flex; width: clamp(168px, 16vw, 225px); min-height: 54px; padding: 11px 14px 11px 13px; align-items: center; gap: 10px; color: #28363a; border: 1px solid rgba(232,199,127,.72); background: linear-gradient(103deg, rgba(249,239,215,.97), rgba(224,207,170,.94)); box-shadow: 0 12px 30px rgba(2,12,16,.38), inset 4px 0 0 rgba(150,48,39,.72); font: 500 12px/1.65 "Microsoft YaHei", sans-serif; text-align: left; letter-spacing: .035em; }
.echo-light__note::before,
.launched-echo__note::before { width: 24px; height: 24px; content: ""; border: 1px solid rgba(149,47,38,.58); background: radial-gradient(circle, rgba(149,47,38,.18), transparent 64%); box-shadow: inset 0 0 0 3px rgba(249,239,215,.72); flex: 0 0 24px; transform: rotate(45deg); }
.echo-light__note::after,
.launched-echo__note::after { position: absolute; top: -6px; left: 50%; bottom: auto; width: 10px; height: 10px; content: ""; border-top: 1px solid rgba(232,199,127,.72); border-left: 1px solid rgba(232,199,127,.72); background: #e8d7b4; transform: translateX(-50%) rotate(45deg); }
.echo-light__note em,
.launched-echo__note em { position: absolute; left: 17px; width: 18px; color: #8e3029; font: 700 9px/1.1 "Microsoft YaHei", sans-serif; text-align: center; letter-spacing: .08em; transform: translateX(-1px); }
.echo-light__note span,
.launched-echo__note span { display: block; }
.echo-light__note { position: absolute; z-index: 24; top: calc(38% + 30px); left: 50%; bottom: auto; opacity: 0; transform: translate(var(--note-x, -50%), -10px) scale(.96); transform-origin: 50% 0; pointer-events: none; transition: opacity .32s var(--ease), transform .4s var(--ease); }
.echo-light:hover,
.echo-light:focus-visible { z-index: 25; }
.echo-light:hover .echo-light__note,
.echo-light:focus-visible .echo-light__note { opacity: 1; transform: translate(var(--note-x, -50%), 0) scale(1); }
.echo-light:hover .echo-light__halo,
.echo-light:focus-visible .echo-light__halo,
.echo-light.is-awake .echo-light__halo { border-color: rgba(232,199,127,.56); transform: translateX(-50%) scale(1.12); }
.echo-light:hover .echo-light__core,
.echo-light:focus-visible .echo-light__core,
.echo-light.is-awake .echo-light__core { filter: brightness(1.2) saturate(1.16); box-shadow: 0 0 12px #fff2bb, 0 0 34px rgba(240,184,82,.9), 0 0 72px rgba(232,199,127,.34); transform: translateX(-50%) scale(1.18); }
.echo-light:hover b,
.echo-light:focus-visible b { color: #fff4ce; letter-spacing: .34em; }
.echo-light:focus-visible { outline: 1px dashed rgba(232,199,127,.72); outline-offset: 3px; }
.echo-light.is-awake .echo-light__halo { animation: echoAwakeWave 1.6s ease-out infinite; }
.echo-light.is-departed { opacity: .2 !important; filter: blur(.5px); pointer-events: none; transition: opacity 1.1s ease, filter 1.1s ease; }
.echo-light.is-departed .echo-light__halo { opacity: .38; }
.echo-light.is-departed .echo-light__core { width: 8px; height: 8px; box-shadow: 0 0 12px rgba(232,199,127,.54); }
.echo-light.is-departed b { opacity: .3; }
.echo-light.is-launched { opacity: 0 !important; pointer-events: none; animation: none !important; transition: none !important; }
.echo-response { position: absolute; z-index: 17; left: 12%; right: 12%; bottom: 88px; margin: 0; color: rgba(234,240,233,.68); font: 500 clamp(11px, .85vw, 13px)/1.7 "Microsoft YaHei", sans-serif !important; text-align: center; letter-spacing: .12em; text-shadow: 0 2px 9px rgba(0,0,0,.65); transition: opacity .25s; }
.echo-theme { position: absolute; z-index: 18; left: 24px; right: 24px; bottom: 22px; display: flex; min-height: 38px; align-items: center; justify-content: center; gap: clamp(13px, 1.4vw, 24px); text-align: center; text-shadow: 0 2px 10px rgba(0,0,0,.62); }
.echo-theme span { color: var(--gold-light); font: 700 clamp(13px, 1vw, 16px)/1.2 "Microsoft YaHei", sans-serif; letter-spacing: .3em; padding-left: .3em; }
.echo-theme i { position: relative; display: block; width: clamp(38px, 4vw, 66px); height: 1px; background: linear-gradient(90deg, transparent, rgba(232,199,127,.8), transparent); }
.echo-theme i::after { position: absolute; top: 50%; left: 50%; width: 5px; height: 5px; content: ""; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 9px rgba(232,199,127,.72); transform: translate(-50%,-50%); }
.echo-theme strong { color: rgba(255,255,255,.9); font: 500 clamp(12px, .95vw, 15px)/1.55 "Microsoft YaHei", sans-serif; letter-spacing: .08em; }
.echo-replay { position: absolute; z-index: 19; top: 20px; right: 20px; display: inline-flex; min-height: 42px; padding: 0 16px; align-items: center; gap: 9px; color: var(--gold-light); border: 1px solid rgba(232,199,127,.5); background: rgba(8,22,28,.5); font: 600 11px/1 "Microsoft YaHei", sans-serif; letter-spacing: .2em; cursor: pointer; backdrop-filter: blur(8px); opacity: 0; transform: translateY(-7px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease), background .35s; }
.echo-replay[hidden] { display: none; }
.echo-replay.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.echo-replay:hover { background: rgba(232,199,127,.14); }
.echo-replay__icon { position: relative; width: 17px; height: 17px; border: 1px solid rgba(232,199,127,.8); border-radius: 50%; }
.echo-replay__icon::before { position: absolute; top: 50%; left: 50%; width: 5px; height: 5px; content: ""; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 8px rgba(232,199,127,.7); transform: translate(-50%,-50%); }
.launched-echo { position: absolute; z-index: 3; width: 1px; height: 1px; opacity: 0; transform: translate(-50%,-50%); }
.launched-echo::before { position: absolute; top: -10px; left: -10px; width: 20px; height: 20px; content: ""; border-radius: 50%; background: radial-gradient(circle, #fff8d5 0 12%, #e8bc62 35%, rgba(232,199,127,.1) 72%); box-shadow: 0 0 25px rgba(240,187,86,.9), 0 0 70px rgba(232,199,127,.34); }
.launched-echo::after { position: absolute; top: -42px; left: -42px; width: 84px; height: 84px; content: ""; border: 1px solid rgba(232,199,127,.42); border-radius: 50%; animation: launchedEchoWave 2.1s ease-out infinite; }
.launched-echo__note { position: absolute; z-index: 2; top: 30px; left: 0; transform: translateX(var(--note-x, -50%)); transform-origin: 50% 0; }
.launched-echo__particle { position: absolute; left: 0; top: 0; width: var(--size, 3px); height: var(--size, 3px); border-radius: 50%; background: #f5d486; box-shadow: 0 0 7px rgba(245,203,117,.9); animation: echoParticle 2.6s ease-in-out infinite alternate; animation-delay: var(--particle-delay, 0s); transform: translate(var(--px), var(--py)); }
.launched-echo.is-rising { animation: launchedEchoRise 9.8s cubic-bezier(.18,.55,.25,1) forwards; }

@keyframes echoLightEnter { to { opacity: 1; transform: translate(-50%,-50%); } }
@keyframes echoRing { 0% { opacity: 0; transform: scale(.72); } 36% { opacity: .5; } 100% { opacity: 0; transform: scale(1.18); } }
@keyframes echoCoreBreath { 50% { opacity: .76; transform: translateX(-50%) scale(.82); } }
@keyframes echoAwakeWave { 0% { box-shadow: 0 0 0 0 rgba(232,199,127,.32); } 100% { box-shadow: 0 0 0 28px rgba(232,199,127,0); } }
@keyframes echoDustDrift { to { background-position: 68px -58px; } }
@keyframes launchedEchoWave { 0% { opacity: .7; transform: scale(.35); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes echoParticle { to { opacity: .22; transform: translate(var(--px2), var(--py2)); } }
@keyframes launchedEchoRise { 0% { opacity: 1; filter: blur(0); transform: translate(-50%,-35%) scale(1); } 18% { opacity: 1; transform: translate(-50%,-70px) scale(.97); } 70% { opacity: .9; filter: blur(0); transform: translate(calc(-50% + var(--drift-x)), -190px) scale(.7); } 100% { opacity: 0; filter: blur(2px); transform: translate(calc(-50% + var(--drift-x)), -330px) scale(.38); } }

@media (min-width: 901px) and (max-height: 760px) {
  .echo-stage { min-height: 69vh; }
  .echo-response { bottom: 76px; }
  .echo-theme { bottom: 14px; }
}

@media (max-width: 900px) {
  .echo-stage { width: 100%; min-height: 650px; }
  .echo-landscape { inset: 8% -17% -1%; width: 134%; }
  .echo-light { width: 86px; height: 103px; }
  .echo-light__halo { width: 68px; height: 68px; }
  .echo-light__core { top: 26px; }
  .echo-light b { top: 75px; font-size: 11px; }
  .echo-response { bottom: 102px; }
  .echo-theme { left: 16px; right: 16px; bottom: 18px; gap: 12px; }
  .echo-replay { top: 14px; right: 14px; }
}

@media (max-width: 520px) {
  .echo-stage { min-height: 585px; }
  .echo-landscape { inset: 11% -28% -2%; width: 156%; }
  .echo-light { width: 64px; height: 92px; }
  .echo-light__halo { width: 58px; height: 58px; }
  .echo-light__halo i:nth-child(2) { inset: -18px; }
  .echo-light__core { top: 21px; width: 16px; height: 16px; }
  .echo-light b { top: 64px; font-size: 10px; }
  .echo-light:nth-child(1) { --x: 14% !important; --y: 43% !important; --drift-x: -32px !important; --note-x: -20%; }
  .echo-light:nth-child(2) { --x: 31% !important; --y: 24% !important; --drift-x: -15px !important; --note-x: -42%; }
  .echo-light:nth-child(3) { --x: 50% !important; --y: 40% !important; --drift-x: 8px !important; }
  .echo-light:nth-child(4) { --x: 69% !important; --y: 22% !important; --drift-x: 25px !important; --note-x: -58%; }
  .echo-light:nth-child(5) { --x: 84% !important; --y: 43% !important; --drift-x: 42px !important; --note-x: -80%; }
  .echo-response { left: 8%; right: 8%; bottom: 118px; font-size: 10px !important; line-height: 1.65 !important; }
  .echo-theme { bottom: 17px; display: grid; grid-template-columns: 1fr; justify-items: center; gap: 7px; }
  .echo-theme span { font-size: 13px; }
  .echo-theme i { width: 58px; }
  .echo-theme strong { max-width: 290px; font-size: 11px; line-height: 1.6; }
  .echo-replay { min-height: 38px; padding: 0 12px; font-size: 10px; }
}

/* 07 — each quotation remains an unbroken line. */
.epilogue-copy blockquote { display: grid; justify-items: center; gap: 4px; }
.epilogue-copy blockquote span { display: block; white-space: nowrap; }

/* 08 — concise end credits. */
.credits-panel { color: #fff; background: #091820; }
.credits-panel__mountains { position: absolute; z-index: -3; inset: -4%; background: url("../generated/credits-memorial-dawn.webp") center/cover no-repeat; filter: brightness(.68) saturate(.78) contrast(1.05); transform: scale(1.035); }
.credits-panel__glow { position: absolute; z-index: -2; inset: 0; background: radial-gradient(ellipse at 78% 44%, rgba(213,168,87,.08), transparent 30%), linear-gradient(180deg, rgba(3,12,17,.38), rgba(3,15,20,.16) 48%, rgba(3,13,18,.55)); }
.credits-layout { position: relative; z-index: 4; display: grid; width: min(1320px, calc(100% - clamp(56px, 10vw, 170px))); height: 100%; margin: 0 auto; padding: calc(var(--header-height) + 42px) 0 38px; grid-template-rows: 1fr auto; gap: clamp(28px, 4.5vh, 52px); }
.credits-main { display: grid; align-content: center; justify-items: center; gap: clamp(26px, 3.6vh, 40px); }
.credits-signatures { display: flex; align-items: center; justify-content: center; gap: clamp(44px, 6vw, 94px); text-align: center; }
.credits-signature { width: min(36vw, 470px); }
.credits-signature h2 { margin: 0 0 19px; color: var(--gold-light); font: 600 clamp(18px, 1.45vw, 25px)/1.3 "Microsoft YaHei", sans-serif; letter-spacing: .32em; padding-left: .32em; }
.credits-signature p { display: grid; margin: 0; gap: 10px; }
.credits-signature strong { color: rgba(255,255,255,.94); font: 600 clamp(20px, 1.55vw, 28px)/1.45 "Microsoft YaHei", sans-serif; letter-spacing: .08em; }
.credits-signatures__divider { width: 1px; height: 148px; background: linear-gradient(transparent, rgba(232,199,127,.6), transparent); }
.credits-team-button { display: flex; min-width: 238px; min-height: 58px; padding: 0 24px 0 30px; align-items: center; justify-content: space-between; gap: 28px; color: rgba(255,255,255,.94); border: 1px solid rgba(232,199,127,.58); background: rgba(7,23,29,.5); box-shadow: 0 14px 38px rgba(0,0,0,.2); backdrop-filter: blur(9px); font: 600 15px/1 "Microsoft YaHei", sans-serif; letter-spacing: .18em; cursor: pointer; transition: color .3s, border-color .3s, background .3s, transform .3s, box-shadow .3s; }
.credits-team-button i { color: var(--gold-light); font: 300 24px/1 Arial, sans-serif; transition: transform .3s; }
.credits-team-button:hover,
.credits-team-button:focus-visible { color: #fff; border-color: var(--gold-light); background: rgba(11,32,39,.78); box-shadow: 0 18px 45px rgba(0,0,0,.3), 0 0 24px rgba(232,199,127,.08); transform: translateY(-2px); }
.credits-team-button:hover i,
.credits-team-button:focus-visible i { transform: rotate(90deg); }
.credits-smallprint { display: grid; grid-template-columns: .86fr 1.14fr; gap: 14px; }
.credits-block { position: relative; padding: 17px 21px; border-top: 1px solid rgba(232,199,127,.25); background: rgba(7,23,29,.38); backdrop-filter: blur(9px); }
.credits-block h3 { margin: 0 0 9px; color: var(--gold-light); font: 700 12px/1.2 "Microsoft YaHei", sans-serif; letter-spacing: .22em; }
.credits-block p { margin: 0; color: rgba(255,255,255,.66); font: 13px/1.75 "Microsoft YaHei", sans-serif; }
.credits-block p + p { margin-top: 7px; }

.team-modal { position: fixed; z-index: 170; inset: 0; display: grid; place-items: center; padding: 24px; }
.team-modal[hidden] { display: none; }
.team-modal__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(3,10,13,.88); backdrop-filter: blur(12px); cursor: pointer; }
.team-modal__dialog { position: relative; z-index: 2; display: grid; width: min(760px, 90vw); max-height: min(760px, 88svh); overflow-y: auto; min-height: 330px; padding: 46px 54px 42px; place-content: center stretch; justify-items: center; color: #fff; border: 1px solid rgba(232,199,127,.48); background: radial-gradient(circle at 50% 35%, rgba(38,55,58,.8), #0b1a20 68%); box-shadow: 0 40px 100px rgba(0,0,0,.62); text-align: center; }
.team-modal__dialog::before { position: absolute; inset: 11px; content: ""; border: 1px solid rgba(232,199,127,.12); pointer-events: none; }
.team-modal__dialog > small { color: rgba(232,199,127,.7); font: 600 9px/1 Arial, sans-serif; letter-spacing: .32em; }
.team-modal__dialog h2 { margin: 15px 0 22px; color: var(--gold-light); font: 600 clamp(22px, 2.2vw, 31px)/1.25 "Microsoft YaHei", sans-serif; letter-spacing: .2em; padding-left: .2em; }
.team-modal__dialog > span { width: 72px; height: 1px; margin-bottom: 27px; background: linear-gradient(90deg, transparent, var(--gold-light), transparent); }
.team-modal__dialog p { margin: 0; color: rgba(255,255,255,.86); font: 500 22px/1.5 "Microsoft YaHei", sans-serif; letter-spacing: .22em; padding-left: .22em; }
.credits-team-list { display: grid; width: min(100%, 610px); margin: 0; gap: 12px; text-align: left; }
.credits-team-list > div { display: grid; grid-template-columns: 92px 1fr; align-items: baseline; gap: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(232,199,127,.12); }
.credits-team-list > div:last-child { padding-bottom: 0; border-bottom: 0; }
.credits-team-list dt { color: var(--gold-light); font: 600 13px/1.65 "Microsoft YaHei", sans-serif; letter-spacing: .12em; }
.credits-team-list dd { margin: 0; color: rgba(255,255,255,.88); font: 500 15px/1.65 "Microsoft YaHei", sans-serif; letter-spacing: .04em; }
/* 姓名分组：组内不断行，换行只发生在组与组之间，避免出现单字尾行 */
.credits-team-list dd span { white-space: nowrap; }
.team-modal__close { position: absolute; z-index: 3; top: 15px; right: 15px; width: 42px; height: 42px; color: rgba(255,255,255,.84); border: 1px solid rgba(255,255,255,.22); background: rgba(3,12,16,.24); font: 300 27px/1 Arial, sans-serif; cursor: pointer; transition: color .25s, border-color .25s, transform .25s; }
.team-modal__close:hover,
.team-modal__close:focus-visible { color: #fff; border-color: rgba(232,199,127,.7); transform: rotate(90deg); }

@media (min-width: 901px) and (max-height: 760px) {
  .prologue-caption__inner { padding-top: 24px; padding-bottom: 23px; }
  .prologue-caption__text { font-size: 16px; line-height: 1.72; }
  .prologue-caption__sig { margin-bottom: 12px; }
  .museum-entry { min-height: 146px; }
  .restoration-gallery-wall__frame { height: 76vh; }
  .year-display { margin-top: 16px; padding-top: 34px; }
  .year-display__ghost { font-size: 102px; }
  .year-display strong { font-size: 82px; }
  .year-tabs button { min-height: 52px; }
  .credits-layout { padding-top: calc(var(--header-height) + 19px); padding-bottom: 22px; gap: 18px; }
  .credits-main { gap: 17px; }
  .credits-signatures { gap: 38px; }
  .credits-signature h2 { margin-bottom: 11px; font-size: 16px; }
  .credits-signature strong { font-size: 18px; }
  .credits-signatures__divider { height: 106px; }
  .credits-team-button { min-height: 48px; }
  .credits-block { padding-top: 10px; padding-bottom: 10px; }
  .credits-block p { font-size: 12px; line-height: 1.55; }
}

@media (max-width: 900px) {
  .site-bar::after { left: 18px; right: 18px; }
  .hero-panel__scene picture { inset: 0; }
  .hero-intro video { object-position: 38% center; }
  .hero-intro__sound { top: 14px; right: 16px; min-width: 128px; gap: 9px; padding: 8px 10px; }
  .hero-intro__sound-copy strong { font-size: 11px; }
  .hero-intro__skip { right: 17px; bottom: 54px; }
  .hero-intro__credit { right: 17px; bottom: 19px; max-width: calc(100vw - 34px); font-size: 9px; letter-spacing: .08em; }
  .hero-panel__background { object-position: 30% center; }
  .hero-panel__horizon { top: 46%; }
  .hero-panel__signal { mask-image: radial-gradient(circle at 29% 42%, #000 0 18%, transparent 50%); }

  .prologue-caption { align-items: center; padding: calc(var(--header-height) + 22px) 13px 26px; }
  .prologue-caption__inner { width: 100%; max-height: calc(100svh - var(--header-height) - 48px); padding: 24px 20px 22px; overflow-y: auto; }
  .prologue-caption__head-text strong { font-size: 23px; }
  .prologue-caption__eyebrow { font-size: 9px; }
  .prologue-caption__text { font-size: clamp(15px, 4.15vw, 18px); line-height: 1.76; }
  .prologue-caption__sig { font-size: 14px; }

  .bottle-panel.is-decrypted .article-row { max-height: 330px; }
  .article-row a { min-height: 66px; }

  .guardian-layout { display: grid; grid-template-columns: 1fr .58fr; }
  .guardian-copy { padding: 18px; border-left: 2px solid rgba(200,150,67,.72); background: rgba(245,238,224,.78); box-shadow: 0 18px 42px rgba(63,51,31,.08); backdrop-filter: blur(5px); }
  .museum-entry { grid-column: 1 / -1; grid-row: auto; width: 100%; min-height: 142px; margin-top: 4px; }
  .museum-entry__pulse { left: 46px; }
  .museum-modal { padding: 10px; }
  .museum-modal__dialog { width: 100%; padding: 9px; }
  .museum-modal video { max-height: 66svh; }

  .restoration-gallery-wall { opacity: .45; }
  .restoration-gallery-wall__frame { width: 88vw; height: 74vh; transform: translate(8vw, -12vh) rotateY(-7deg); }
  .restoration-copy { padding: 20px; }

  .timeline-layout { padding-top: calc(var(--header-height) + 35px); }
  .year-display { width: 100%; padding: 40px 22px 18px; }
  .year-display__ghost,
  .year-display strong { font-size: clamp(78px, 23vw, 108px); }
  .year-tabs { width: 100%; }
  .year-tabs button { min-height: 62px; font-size: clamp(17px, 5vw, 21px); }
  .year-copy { width: 100%; }

  .epilogue-copy blockquote { gap: 8px; }
  .epilogue-copy blockquote span { font-size: clamp(18px, 5.2vw, 31px); }
  .epilogue-actions { flex-direction: column; align-items: center; }
  .epilogue-article-button { width: min(100%, 520px); min-width: 0; }

  .credits-panel { min-height: auto; }
  .credits-layout { width: calc(100% - 34px); height: auto; min-height: 100svh; padding: calc(var(--header-height) + 42px) 0 34px; gap: 36px; }
  .credits-main { gap: 28px; }
  .credits-signatures { align-items: stretch; flex-direction: column; gap: 24px; padding: 22px 0 6px; }
  .credits-signature { width: 100%; }
  .credits-signature h2 { margin-bottom: 13px; font-size: 17px; }
  .credits-signature strong { font-size: 20px; }
  .credits-signatures__divider { width: min(72%, 260px); height: 1px; margin: 0 auto; background: linear-gradient(90deg, transparent, rgba(232,199,127,.6), transparent); }
  .credits-team-button { min-width: min(250px, 82vw); min-height: 56px; font-size: 14px; }
  .credits-smallprint { grid-template-columns: 1fr; gap: 12px; }
  .credits-block p { font-size: 14px; line-height: 1.8; }
  .team-modal { padding: 14px; }
  .team-modal__dialog { width: 100%; min-height: 300px; padding: 48px 24px 40px; }
  .credits-team-list > div { grid-template-columns: 80px 1fr; gap: 12px; }
}

@media (max-width: 520px) {
  .prologue-caption__inner { padding: 20px 17px; }
  .prologue-caption__head { margin-bottom: 8px; }
  .prologue-caption__head-text em { font-size: 7px; }
  .prologue-caption__text { margin: 12px 0; }
  .prologue-caption__sig::before,
  .prologue-caption__sig::after { display: none; }
  .question-card { margin-bottom: 9px; }
  .guardian-layout { grid-template-columns: 1fr; }
  .guardian-portrait { grid-column: 1; }
  .museum-entry { grid-column: 1; padding: 21px; }
  .museum-entry__pulse { left: 41px; }
  .year-display { padding-left: 12px; padding-right: 12px; }
  .year-display__ghost,
  .year-display strong { font-size: 23vw; }
  .year-tabs { gap: 7px; }
  .year-tabs button { padding-left: 5px; padding-right: 5px; }
  .epilogue-copy blockquote span { font-size: clamp(16px, 4.95vw, 24px); letter-spacing: -.02em; }
  .credits-names { display: grid; }
}

/* Responsive typesetting pass — keep semantic phrases intact across devices. */
.eyebrow { min-width: 0; }
.eyebrow > span { flex: 0 0 auto; }
.eyebrow__text,
.headline-phrase,
.credits-signature strong { white-space: nowrap; word-break: keep-all; }
.eyebrow__text { color: inherit !important; font-weight: inherit !important; letter-spacing: inherit !important; }
.eyebrow::after { flex: 0 1 70px; min-width: 18px; }
.headline-phrase { display: inline-block; }
.panel h2 .headline-phrase + .headline-phrase { margin-left: .08em; }

@media (min-width: 1200px) {
  .bottle-copy { max-width: 660px; }
  .bottle-layout { grid-template-columns: minmax(620px, .96fr) 1.04fr; }
}

@media (max-width: 900px) {
  .eyebrow { gap: 9px; letter-spacing: .14em; }
  .eyebrow::after { min-width: 14px; }
  .panel h2 { letter-spacing: -.035em; }

  .credits-layout {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 26px;
    gap: 24px;
  }
  .credits-main { gap: 22px; }
  .credits-signatures { gap: 18px; padding: 14px 0 2px; }
  .credits-signature h2 { margin-bottom: 10px; font-size: 15px; letter-spacing: .24em; padding-left: .24em; }
  .credits-signature p { gap: 7px; }
  .credits-signature strong { font-size: 18px; line-height: 1.4; letter-spacing: .04em; }
  .credits-team-button { min-height: 50px; font-size: 13px; }
  .credits-smallprint { gap: 10px; }
  .credits-block { padding: 14px 17px; }
  .credits-block h3 { margin-bottom: 7px; font-size: 11px; }
  .credits-block p { font-size: 12px; line-height: 1.72; }
}

@media (max-width: 520px) {
  .panel-shell { width: calc(100% - 32px); }
  .panel h2 { font-size: clamp(29px, 8.7vw, 39px); line-height: 1.22; }
  .eyebrow { font-size: 9px; gap: 8px; }
  .eyebrow::after { flex-basis: 42px; }
  .guardian-copy { padding: 17px 16px; }

  .credits-layout { width: calc(100% - 28px); padding-top: calc(var(--header-height) + 24px); gap: 20px; }
  .credits-main { gap: 19px; }
  .credits-signatures { gap: 15px; padding-top: 10px; }
  .credits-signature h2 { margin-bottom: 9px; font-size: 14px; }
  .credits-signature strong { font-size: 17px; }
  .credits-signatures__divider { width: min(62%, 220px); }
  .credits-team-button { min-width: min(230px, 78vw); min-height: 48px; }
  .credits-block { padding: 13px 15px; }
  .credits-block p { font-size: 11.5px; line-height: 1.68; }
}

@media (max-width: 359px) {
  .panel h2 { font-size: 28px; }
  .eyebrow { letter-spacing: .08em; }
  .eyebrow::after { display: none; }
  .credits-signature strong { font-size: 16px; }
}

/* Mobile-only hand-off for external articles opened from WeChat. */
.article-guide,
.article-reader { display: none; }

@media (max-width: 900px) {
  .article-guide {
    position: fixed;
    z-index: 220;
    inset: 0;
    display: flex;
    padding: 14px;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
    align-items: flex-end;
    justify-content: center;
  }
  .article-guide[hidden] { display: none; }
  .article-guide__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(5,16,21,.72);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity .26s ease;
  }
  .article-guide__sheet {
    position: relative;
    z-index: 2;
    width: min(100%, 520px);
    padding: 12px 18px 18px;
    color: var(--ink);
    border: 1px solid rgba(142,108,51,.35);
    background:
      radial-gradient(circle at 88% 9%, rgba(214,176,100,.18), transparent 31%),
      linear-gradient(145deg, rgba(255,253,246,.99), rgba(239,231,212,.99));
    box-shadow: 0 28px 74px rgba(0,0,0,.4);
    opacity: 0;
    transform: translateY(calc(100% + 24px));
    transition: opacity .26s ease, transform .36s var(--ease);
  }
  .article-guide.is-open .article-guide__backdrop { opacity: 1; }
  .article-guide.is-open .article-guide__sheet { opacity: 1; transform: none; }
  .article-guide__handle { display: block; width: 42px; height: 3px; margin: 0 auto 10px; border-radius: 2px; background: rgba(41,54,57,.2); }
  .article-guide__head { display: flex; min-height: 34px; align-items: center; justify-content: space-between; }
  .article-guide__head > span { color: var(--red); font: 700 10px/1.2 "Microsoft YaHei", sans-serif; letter-spacing: .18em; }
  .article-guide__close { width: 34px; height: 34px; padding: 0; color: #526063; border: 0; background: transparent; font: 300 27px/1 Arial, sans-serif; }
  .article-guide__sheet h2 { margin: 8px 0 9px; font: 600 clamp(22px, 6.2vw, 29px)/1.35 "Noto Serif SC", "Songti SC", SimSun, serif; letter-spacing: -.02em; }
  .article-guide__article { margin: 0; color: #536063; font: 500 14px/1.65 "Microsoft YaHei", sans-serif; }
  .article-guide__tip { display: grid; margin: 17px 0; padding: 13px 14px; grid-template-columns: 30px 1fr; align-items: center; gap: 9px; border-left: 2px solid var(--gold); background: rgba(255,255,255,.5); }
  .article-guide__tip > span { color: var(--red); font: 300 34px/1 Georgia, serif; text-align: center; }
  .article-guide__tip p { margin: 0; }
  .article-guide__tip strong,
  .article-guide__tip small { display: block; font-family: "Microsoft YaHei", sans-serif; }
  .article-guide__tip strong { margin-bottom: 5px; color: #273438; font-size: 12px; letter-spacing: .08em; }
  .article-guide__tip small { color: #667173; font-size: 11px; line-height: 1.65; }
  .article-guide__actions { display: grid; grid-template-columns: .82fr 1.18fr; gap: 9px; }
  .article-guide__actions > button { min-height: 52px; border: 1px solid rgba(52,66,68,.3); font-family: "Microsoft YaHei", sans-serif; }
  .article-guide__actions > button:not(.article-guide__continue) { color: #566164; background: rgba(255,255,255,.42); font-size: 13px; }
  .article-guide__actions > .article-guide__continue { display: flex; padding: 7px 15px; align-items: center; justify-content: space-between; gap: 10px; color: #fff; border-color: #182a31; background: #182a31; }
  .article-guide__continue span { font-size: 14px; font-weight: 700; letter-spacing: .08em; }
  .article-guide__continue small { color: var(--gold-light); font-size: 9px; white-space: nowrap; }

  .article-reader {
    position: fixed;
    z-index: 240;
    inset: 0;
    display: grid;
    grid-template-rows: calc(58px + env(safe-area-inset-top)) minmax(0, 1fr);
    color: #fff;
    background: #f4efe4;
    opacity: 0;
    transform: translateX(18px);
    transition: opacity .24s ease, transform .3s var(--ease);
  }
  .article-reader[hidden] { display: none; }
  .article-reader.is-open { opacity: 1; transform: none; }
  .article-reader__bar {
    position: relative;
    z-index: 4;
    display: flex;
    padding: env(safe-area-inset-top) 12px 0 16px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(105deg, #0a1d25, #142c34);
    box-shadow: 0 4px 18px rgba(0,0,0,.2);
  }
  .article-reader__bar > span { min-width: 0; }
  .article-reader__bar small,
  .article-reader__bar strong { display: block; font-family: "Microsoft YaHei", sans-serif; }
  .article-reader__bar small { margin-bottom: 4px; color: var(--gold-light); font-size: 8px; letter-spacing: .18em; }
  .article-reader__bar strong { max-width: 54vw; overflow: hidden; color: rgba(255,255,255,.9); font-size: 11px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
  .article-reader__bar button { display: flex; min-width: 102px; height: 38px; padding: 0 13px; flex: 0 0 auto; align-items: center; justify-content: center; gap: 7px; color: #fff; border: 1px solid rgba(232,199,127,.72); background: var(--red); box-shadow: 0 7px 18px rgba(0,0,0,.2); font-family: "Microsoft YaHei", sans-serif; }
  .article-reader__bar button i { font: normal 25px/1 Georgia, serif; transform: translateY(-1px); }
  .article-reader__bar button b { font-size: 12px; letter-spacing: .08em; }
  .article-reader__stage { position: relative; min-height: 0; overflow: hidden; background: #fff; }
  .article-reader__stage iframe { position: absolute; z-index: 2; inset: 0; display: block; width: 100%; height: 100%; border: 0; background: #fff; }
  .article-reader__loading { position: absolute; z-index: 1; inset: 0; display: grid; place-content: center; justify-items: center; gap: 13px; color: #596466; background: #f5f0e5; font: 500 11px/1.4 "Microsoft YaHei", sans-serif; letter-spacing: .12em; }
  .article-reader__loading i { width: 28px; height: 28px; border: 2px solid rgba(141,48,42,.16); border-top-color: var(--red); border-radius: 50%; animation: readerSpin .8s linear infinite; }
  .article-reader:not(.is-loading) .article-reader__loading { display: none; }
  .article-reader__guide {
    position: absolute;
    z-index: 5;
    top: 10px;
    right: 12px;
    display: flex;
    max-width: calc(100% - 24px);
    padding: 10px 12px 10px 14px;
    align-items: center;
    gap: 12px;
    color: #fff;
    border: 1px solid rgba(255,224,159,.52);
    background: rgba(117,35,31,.96);
    box-shadow: 0 12px 32px rgba(0,0,0,.28);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .28s ease, transform .28s ease;
  }
  .article-reader__guide::before { position: absolute; top: -7px; right: 42px; width: 12px; height: 12px; content: ""; border-top: 1px solid rgba(255,224,159,.52); border-left: 1px solid rgba(255,224,159,.52); background: #75231f; transform: rotate(45deg); }
  .article-reader__guide.is-visible { opacity: 1; transform: none; }
  .article-reader__guide p { margin: 0; }
  .article-reader__guide strong,
  .article-reader__guide small { display: block; font-family: "Microsoft YaHei", sans-serif; }
  .article-reader__guide strong { margin-bottom: 3px; font-size: 12px; letter-spacing: .08em; }
  .article-reader__guide small { color: rgba(255,255,255,.74); font-size: 9px; line-height: 1.5; }
  .article-reader__guide > span { color: var(--gold-light); font: 400 19px/1 Arial, sans-serif; }
  @keyframes readerSpin { to { transform: rotate(360deg); } }
}

@media (max-width: 359px) {
  .article-guide { padding: 9px; padding-bottom: max(9px, env(safe-area-inset-bottom)); }
  .article-guide__sheet { padding: 10px 14px 14px; }
  .article-guide__sheet h2 { font-size: 21px; }
  .article-guide__tip { margin: 14px 0; padding: 11px; }
  .article-guide__actions > button { min-height: 48px; }
  .article-reader__bar { padding-left: 11px; padding-right: 9px; }
  .article-reader__bar strong { max-width: 47vw; }
  .article-reader__bar button { min-width: 96px; padding: 0 10px; }
}
