@font-face {
  font-family: EdgeSerif;
  src: url('../fonts/serif.woff2?v=202611171252') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --void: #030709;
  --ink: #071015;
  --ink-panel: rgba(6, 13, 18, 0.9);
  --ink-card: rgba(11, 23, 30, 0.72);
  --paper: #ece5d5;
  --paper-soft: #cfc7b4;
  --muted: #8ca2a5;
  --dim: rgba(140, 162, 165, 0.56);
  --brass: #b8a37c;
  --amber: #f0ae5d;
  --amber-soft: rgba(240, 174, 93, 0.2);
  --phosphor: rgba(132, 198, 190, 0.78);
  --line: rgba(236, 229, 213, 0.14);
  --line-strong: rgba(240, 174, 93, 0.42);
  --mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  --serif: EdgeSerif, "Songti SC", "Noto Serif SC", "STSong", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bar-top: 56px;
  --bar-bottom: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  background: var(--void);
  color: var(--paper);
  overflow: hidden;
  font: 14px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 1px solid var(--amber);
  outline-offset: 3px;
}

a {
  color: inherit;
}

canvas,
img,
video {
  display: block;
}

#app {
  position: fixed;
  inset: 0;
  background: var(--void);
}

.screen {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: var(--void);
}

.screen[hidden] {
  display: none !important;
}

.screen.is-active {
  display: block;
}

/* =========================================================
   2.39:1 宽银幕上下遮幅与顶底功能栏
   ========================================================= */
.cinema-bar {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--void);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}

.cinema-bar.top {
  top: 0;
  height: var(--bar-top);
  border-bottom: 1px solid var(--line);
}

.cinema-bar.bottom {
  bottom: 0;
  height: var(--bar-bottom);
  border-top: 1px solid var(--line);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.wordmark-title {
  font: 700 17px/1 var(--serif);
  letter-spacing: 0.16em;
  color: var(--paper);
  white-space: nowrap;
}

.wordmark-sep {
  width: 1px;
  height: 12px;
  background: var(--line);
}

.wordmark-meta {
  font: 10px/1 var(--mono);
  letter-spacing: 0.14em;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.sound-pill,
.bar-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 11px/1 var(--mono);
  letter-spacing: 0.08em;
  color: var(--muted);
  background: rgba(8, 17, 22, 0.72);
  transition: border-color 180ms var(--ease), color 180ms var(--ease), background 180ms var(--ease);
}

.sound-pill b {
  font-weight: 600;
  color: var(--paper-soft);
}

.sound-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dim);
  transition: background 180ms var(--ease), box-shadow 180ms var(--ease);
}

.sound-pill:hover,
.bar-btn:hover {
  color: var(--paper);
  border-color: rgba(236, 229, 213, 0.36);
}

.sound-pill[aria-pressed="true"] {
  border-color: var(--line-strong);
  color: var(--paper);
}

.sound-pill[aria-pressed="true"] .sound-dot {
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
}

.sound-pill[aria-pressed="true"] b {
  color: var(--amber);
}

.bar-btn-amber {
  border-color: rgba(240, 174, 93, 0.36);
  color: var(--amber);
}

.bar-btn-amber:hover {
  background: rgba(240, 174, 93, 0.12);
  border-color: var(--amber);
}

/* =========================================================
   第一幕：远海孤舟与世界尽头的远光
   ========================================================= */
.hero-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform-origin: 68% 42%;
  transition: transform 1100ms var(--ease), filter 1100ms var(--ease);
}

body.voyage-entering .hero-stage {
  transform: scale(2.4);
  transition: transform 1500ms cubic-bezier(0.55, 0, 0.9, 0.5);
}

#hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

#hero-gl,
#cockpit-gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
}

#hero-gl.gl-ready,
#cockpit-gl.gl-ready {
  opacity: 1;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(
    ellipse 46% 42% at 24% 39%,
    rgba(3, 7, 10, 0.56) 0%,
    rgba(3, 7, 10, 0.22) 56%,
    transparent 100%
  );
}

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

/* 左侧中上留白区：月亮之下、孤舟之上 */
.hero-copy {
  position: absolute;
  z-index: 8;
  left: 6.5vw;
  top: 24vh;
  max-width: 470px;
  pointer-events: none;
  text-shadow: 0 2px 24px rgba(2, 6, 8, 0.9);
}

.hero-copy .eyebrow {
  margin: 0 0 12px;
  font: 11px/1.4 var(--mono);
  letter-spacing: 0.16em;
  color: var(--brass);
}

.hero-copy h1 {
  margin: 0;
  font: 700 clamp(52px, 5.6vw, 84px)/1.04 var(--serif);
  letter-spacing: 0.12em;
  color: var(--paper);
}

.hero-sub-en {
  margin: 10px 0 0;
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.28em;
  color: var(--muted);
}

.hero-quote {
  margin: 26px 0 0;
  padding-left: 14px;
  border-left: 1px solid rgba(240, 174, 93, 0.55);
}

.hero-quote p {
  margin: 0;
  font: 15px/1.75 var(--serif);
  letter-spacing: 0.06em;
  color: var(--paper);
}

.hero-quote cite {
  display: block;
  margin-top: 6px;
  font: normal 10px/1.4 var(--mono);
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* 画面内两个克制的空间坐标锚点 */
.scene-anchor {
  position: absolute;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  font: 10px/1 var(--mono);
  letter-spacing: 0.12em;
  color: rgba(236, 229, 213, 0.72);
  text-shadow: 0 1px 8px #000;
}

.anchor-boat {
  transform: translate(18px, -50%);
}

.anchor-cliff {
  transform: translate(-100%, -50%);
}

.anchor-pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid rgba(236, 229, 213, 0.72);
  background: rgba(3, 7, 9, 0.6);
  flex-shrink: 0;
}

.anchor-pip.amber {
  width: 8px;
  height: 8px;
  border-color: var(--amber);
  background: var(--amber);
  box-shadow: 0 0 14px var(--amber), 0 0 28px rgba(240, 174, 93, 0.5);
  animation: beacon-breathe 2.6s ease-in-out infinite;
}

.anchor-line {
  width: 24px;
  height: 1px;
  background: rgba(236, 229, 213, 0.34);
}

.anchor-cliff .anchor-line {
  background: rgba(240, 174, 93, 0.55);
}

.anchor-tag {
  white-space: nowrap;
}

/* 底部遮幅：电影字幕热评 + 开始航行主 CTA */
.hero-bottom {
  gap: 24px;
}

.cinema-subtitle {
  min-width: 0;
}

.subtitle-quote {
  margin: 0;
  font: 15px/1.45 var(--serif);
  letter-spacing: 0.05em;
  color: var(--paper);
}

.subtitle-meta {
  margin: 4px 0 0;
  font: 10px/1.3 var(--mono);
  letter-spacing: 0.1em;
  color: var(--muted);
}

.voyage-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 18px 8px 10px;
  border: 1px solid rgba(240, 174, 93, 0.42);
  border-radius: 999px;
  background: rgba(240, 174, 93, 0.08);
  flex-shrink: 0;
  transition: background 220ms var(--ease), border-color 220ms var(--ease), transform 220ms var(--ease);
}

.voyage-cta:hover {
  background: rgba(240, 174, 93, 0.18);
  border-color: var(--amber);
  transform: translateY(-1px);
}

.voyage-cta:active {
  transform: translateY(0);
}

.cta-reticle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--amber);
  display: grid;
  place-items: center;
  color: var(--amber);
  font-size: 15px;
  transition: transform 220ms var(--ease);
}

.voyage-cta:hover .cta-reticle {
  transform: translate(2px, -2px);
}

.cta-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 2px;
}

.cta-text strong {
  font: 600 14px/1.1 var(--sans);
  letter-spacing: 0.14em;
  color: var(--paper);
}

.cta-text small {
  font: 10px/1.1 var(--mono);
  letter-spacing: 0.08em;
  color: var(--amber);
}

/* =========================================================
   第二幕：船舱挡风玻璃星图与灯塔信标
   ========================================================= */
.cockpit-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--void);
}

#cockpit-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: saturate(0.92) contrast(1.04);
}

#windshield-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

#windshield-interactive {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.cockpit-heading {
  text-align: center;
  min-width: 0;
}

.cockpit-heading span {
  display: block;
  font: 700 14px/1.2 var(--serif);
  letter-spacing: 0.14em;
  color: var(--paper);
}

.cockpit-heading small {
  display: block;
  margin-top: 3px;
  font: 10px/1.2 var(--mono);
  letter-spacing: 0.1em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* 挡风玻璃左上角微弱磷光读数 */
.glass-telemetry {
  position: absolute;
  width: 236px;
  padding: 9px 11px;
  border-left: 1px solid rgba(132, 198, 190, 0.36);
  background: linear-gradient(90deg, rgba(6, 16, 22, 0.42), rgba(6, 16, 22, 0.08));
  font: 10px/1.45 var(--mono);
  letter-spacing: 0.05em;
  color: var(--muted);
  pointer-events: auto;
}

.telemetry-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  white-space: nowrap;
  font-size: 9.5px;
  color: var(--phosphor);
  margin-bottom: 6px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(132, 198, 190, 0.18);
}

.telemetry-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 3px;
}

.telemetry-row b {
  font-weight: 500;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.telemetry-note {
  margin-top: 7px;
  padding-top: 6px;
  border-top: 1px dashed rgba(236, 229, 213, 0.14);
  font-family: var(--sans);
  font-size: 11px;
  color: var(--amber);
}

/* 精准套在窗外真灯塔 (37.0%, 27.6%) 上的信标按钮 */
.beacon-hotspot {
  position: absolute;
  pointer-events: auto;
  width: 38px;
  height: 38px;
  padding: 0;
  transform: translate(-50%, -50%);
}

.beacon-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(240, 174, 93, 0.6);
  animation: beacon-pulse-ring 2.8s var(--ease) infinite;
}

.beacon-cross {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(240, 174, 93, 0.86);
  transition: transform 220ms var(--ease), background 220ms var(--ease);
}

.beacon-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 14px var(--amber), 0 0 28px rgba(240, 174, 93, 0.7);
}

.beacon-card {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-28%);
  width: 222px;
  padding: 9px 12px;
  border: 1px solid rgba(240, 174, 93, 0.42);
  border-radius: 6px;
  background: rgba(5, 12, 17, 0.78);
  backdrop-filter: blur(8px);
  text-align: left;
  transition: border-color 200ms var(--ease), background 200ms var(--ease), transform 200ms var(--ease);
}

.beacon-card::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 28%;
  width: 14px;
  height: 1px;
  background: rgba(240, 174, 93, 0.65);
}

.beacon-card small {
  display: block;
  font: 9px/1.2 var(--mono);
  letter-spacing: 0.14em;
  color: var(--amber);
}

.beacon-card strong {
  display: block;
  margin-top: 3px;
  font: 700 13px/1.3 var(--serif);
  letter-spacing: 0.05em;
  color: var(--paper);
}

.beacon-card em {
  display: block;
  margin-top: 4px;
  font: normal 11px/1.2 var(--sans);
  color: var(--paper-soft);
}

.beacon-hotspot:hover .beacon-cross,
.beacon-hotspot[aria-expanded="true"] .beacon-cross {
  transform: scale(1.16);
  background: rgba(240, 174, 93, 0.18);
}

.beacon-hotspot:hover .beacon-card,
.beacon-hotspot[aria-expanded="true"] .beacon-card {
  border-color: var(--amber);
  background: rgba(7, 16, 22, 0.92);
}

/* 底部 12 站航线切换条 */
.cockpit-foot {
  padding: 0 28px;
  gap: 14px;
}

.station-strip-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.strip-label {
  font: 10px/1 var(--mono);
  letter-spacing: 0.08em;
  color: var(--brass);
  white-space: nowrap;
}

.station-strip {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
}

.station-strip::-webkit-scrollbar {
  display: none;
}

.station-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 10.5px/1 var(--sans);
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 180ms var(--ease), color 180ms var(--ease), background 180ms var(--ease);
}

.station-chip b {
  font: 500 10px/1 var(--mono);
  color: var(--dim);
}

.station-chip.is-open {
  border-color: rgba(240, 174, 93, 0.45);
  color: var(--paper);
  background: rgba(240, 174, 93, 0.1);
}

.station-chip.is-open b {
  color: var(--amber);
}

.station-chip:hover,
.station-chip.is-selected {
  border-color: rgba(132, 198, 190, 0.6);
  color: var(--paper);
  background: rgba(132, 198, 190, 0.12);
}

.station-chip.is-open.is-selected {
  border-color: var(--amber);
  background: rgba(240, 174, 93, 0.18);
}

.foot-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  font: 10px/1 var(--mono);
  letter-spacing: 0.08em;
  color: var(--muted);
}

.bar-link {
  padding: 6px 0;
  border-bottom: 1px solid rgba(240, 174, 93, 0.4);
  color: var(--amber);
  font: 10px/1 var(--mono);
  letter-spacing: 0.1em;
}

.bar-link:hover {
  color: var(--paper);
  border-color: var(--paper);
}

/* =========================================================
   右侧站点档案抽屉：不遮挡左侧窗外灯塔与罗盘
   ========================================================= */
.stop-drawer {
  position: absolute;
  right: 0;
  top: var(--bar-top);
  bottom: var(--bar-bottom);
  width: min(540px, 43vw);
  z-index: 18;
  display: flex;
  flex-direction: column;
  background: var(--ink-panel);
  backdrop-filter: blur(18px);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.65);
  animation: drawer-in 320ms var(--ease);
}

.stop-drawer[hidden] {
  display: none !important;
}

@keyframes drawer-in {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px 16px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.drawer-eyebrow {
  margin: 0 0 6px;
  font: 10px/1.3 var(--mono);
  letter-spacing: 0.14em;
  color: var(--amber);
}

.drawer-header h2 {
  margin: 0;
  font: 700 24px/1.2 var(--serif);
  letter-spacing: 0.08em;
  color: var(--paper);
}

.drawer-close {
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 11px/1 var(--mono);
  color: var(--muted);
  flex-shrink: 0;
}

.drawer-close:hover {
  color: var(--paper);
  border-color: var(--paper);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 26px 32px;
  scrollbar-width: thin;
  scrollbar-color: rgba(236, 229, 213, 0.22) transparent;
}

.drawer-place-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font: 11px/1.3 var(--mono);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.drawer-place-strip b {
  color: var(--paper);
  font-weight: 500;
}

.inline-source {
  margin-left: auto;
  font: 10px/1 var(--mono);
  letter-spacing: 0.08em;
  color: var(--amber);
  border-bottom: 1px solid rgba(240, 174, 93, 0.38);
  padding: 2px 0;
}

.inline-source:hover {
  color: var(--paper);
  border-color: var(--paper);
}

.drawer-chapter,
.drawer-gallery,
.drawer-clip,
.drawer-voices {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.drawer-chapter:first-of-type {
  margin-top: 18px;
  padding-top: 0;
  border-top: 0;
}

.chapter-meta,
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.chapter-badge {
  display: inline-block;
  font: 10px/1.2 var(--mono);
  letter-spacing: 0.14em;
  color: var(--phosphor);
}

.chapter-badge.amber {
  color: var(--amber);
}

.chapter-bvid,
.mono-counter {
  font: 10px/1.2 var(--mono);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.drawer-chapter h3,
.section-head h3 {
  margin: 6px 0 12px;
  font: 700 18px/1.35 var(--serif);
  letter-spacing: 0.04em;
  color: var(--paper);
}

.chapter-figure {
  margin: 0;
}

.chapter-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 692;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.chapter-figure figcaption {
  margin-top: 6px;
  font: 10px/1.3 var(--mono);
  color: var(--muted);
}

.source-quote {
  margin: 12px 0 0;
  font: 14px/1.7 var(--sans);
  color: var(--paper-soft);
}

.quote-box {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 4px;
  border-left: 2px solid var(--amber);
  background: var(--ink-card);
}

.quote-role {
  display: block;
  font: 10px/1.3 var(--mono);
  letter-spacing: 0.12em;
  color: var(--amber);
}

.quote-box blockquote {
  margin: 6px 0 8px;
  font: 14px/1.7 var(--serif);
  color: var(--paper);
}

.quote-box .inline-source {
  margin-left: 0;
}

/* 原片 6 帧画廊 */
.gallery-stage {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #04090c;
}

.gallery-stage img {
  width: 100%;
  aspect-ratio: 1600 / 692;
  object-fit: cover;
  transition: opacity 160ms var(--ease);
}

.gallery-stage.shutter img {
  opacity: 0.45;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(3, 7, 9, 0.76);
  border: 1px solid rgba(236, 229, 213, 0.25);
  color: var(--paper);
  display: grid;
  place-items: center;
  transition: background 180ms var(--ease), border-color 180ms var(--ease);
}

.gallery-nav:hover {
  background: rgba(240, 174, 93, 0.22);
  border-color: var(--amber);
}

.gallery-nav.prev {
  left: 10px;
}

.gallery-nav.next {
  right: 10px;
}

.gallery-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  font: 10px/1.3 var(--mono);
  color: var(--muted);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.gallery-thumbs button {
  padding: 0;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid transparent;
  opacity: 0.56;
  transition: opacity 180ms var(--ease), border-color 180ms var(--ease);
}

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

.gallery-thumbs button[aria-pressed="true"],
.gallery-thumbs button:hover {
  opacity: 1;
  border-color: var(--amber);
}

/* 9 秒原片节选 */
.clip-stage {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #04090c;
}

.clip-stage video {
  width: 100%;
  aspect-ratio: 1600 / 692;
  object-fit: cover;
}

.play-clip {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--amber);
  background: rgba(5, 11, 16, 0.85);
  color: var(--paper);
  font: 12px/1.2 var(--sans);
  white-space: nowrap;
  transition: background 180ms var(--ease);
}

.play-clip:hover {
  background: rgba(240, 174, 93, 0.24);
}

.play-clip[hidden] {
  display: none;
}

.media-status {
  margin: 6px 0 0;
  min-height: 16px;
  font: 11px/1.4 var(--mono);
  color: var(--muted);
}

/* 粉丝热评与 B 站原片卡片 */
.fan-quotes {
  display: grid;
  gap: 10px;
}

.fan-quote {
  padding: 12px 14px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--ink-card);
}

.fan-quote blockquote {
  margin: 0 0 8px;
  font: 14px/1.65 var(--serif);
  color: var(--paper);
}

.fan-quote-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font: 10px/1.3 var(--mono);
  color: var(--muted);
}

.fan-quote cite {
  font-style: normal;
}

.original-videos {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.original-row {
  display: block;
  padding: 12px 14px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: rgba(8, 18, 24, 0.68);
  text-decoration: none;
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}

.original-row:hover {
  border-color: var(--amber);
  background: rgba(240, 174, 93, 0.08);
}

.original-row small {
  display: block;
  font: 10px/1.2 var(--mono);
  color: var(--muted);
}

.original-row h4 {
  margin: 4px 0 6px;
  font: 600 13px/1.45 var(--sans);
  color: var(--paper);
}

.original-row p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  font: 10px/1.2 var(--mono);
  color: var(--muted);
}

.original-row p span {
  color: var(--amber);
}

.drawer-disclaimer {
  margin: 18px 0 0;
  font: 11px/1.6 var(--sans);
  color: var(--muted);
}

/* =========================================================
   转场洗屏与溯源弹窗
   ========================================================= */
#transition-wash {
  position: fixed;
  inset: 0;
  z-index: 45;
  pointer-events: none;
  opacity: 0;
  background: #010304;
  transition: opacity 1500ms ease-out;
}

body.wash-on #transition-wash {
  opacity: 1;
  transition: opacity 650ms ease-in 150ms;
}

body.voyage-entering #transition-wash {
  transition: opacity 800ms ease-in 650ms;
}

@keyframes beacon-breathe {
  0%, 100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.22);
  }
}

@keyframes beacon-pulse-ring {
  0% {
    transform: scale(0.75);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}

#sources-dialog {
  width: min(680px, calc(100vw - 32px));
  max-height: min(82vh, 760px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #060e13;
  color: var(--paper);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.8);
}

#sources-dialog::backdrop {
  background: rgba(2, 6, 8, 0.78);
  backdrop-filter: blur(6px);
}

.dialog-head {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: #060e13;
  border-bottom: 1px solid var(--line);
}

.dialog-head h2 {
  margin: 0;
  font: 700 18px/1.3 var(--serif);
}

.dialog-head button {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 11px/1 var(--mono);
  color: var(--muted);
}

.dialog-head button:hover {
  color: var(--paper);
  border-color: var(--paper);
}

.sources-body {
  padding: 16px 24px 24px;
  display: grid;
  gap: 12px;
}

.source-entry {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(11, 23, 30, 0.6);
}

.source-entry strong {
  display: block;
  font: 600 12px/1.3 var(--mono);
  color: var(--amber);
}

.source-entry p {
  margin: 6px 0;
  font: 13px/1.6 var(--sans);
  color: var(--paper);
}

.source-entry small {
  display: block;
  font: 10px/1.4 var(--mono);
  color: var(--muted);
}

.source-entry a {
  display: inline-block;
  margin-top: 6px;
  font: 10px/1.2 var(--mono);
  color: var(--phosphor);
  text-decoration: none;
  border-bottom: 1px solid rgba(132, 198, 190, 0.35);
}

/* =========================================================
   手机端适配 (375px 及以下无横向溢出)
   ========================================================= */
@media (max-width: 768px) {
  :root {
    --bar-top: 52px;
    --bar-bottom: auto;
  }

  .cinema-bar {
    padding: 10px 16px;
  }

  .cinema-bar.top {
    height: var(--bar-top);
    padding: 0 16px;
  }

  .wordmark-sep,
  .wordmark-meta,
  .noncommercial-note,
  .cockpit-heading small,
  .strip-label {
    display: none;
  }

  .hero-copy {
    left: 20px;
    right: 20px;
    top: 15vh;
    max-width: none;
  }

  .hero-copy h1 {
    font-size: 46px;
  }

  .hero-quote {
    margin-top: 16px;
  }

  .hero-quote p {
    font-size: 13px;
  }

  .scene-anchor {
    display: none;
  }

  #hero-art {
    object-position: 24% 50%;
  }

  #cockpit-video {
    object-position: 38% 50%;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  }

  .subtitle-quote {
    font-size: 13px;
  }

  .voyage-cta {
    justify-content: space-between;
  }

  .cockpit-bar {
    gap: 8px;
  }

  .cockpit-heading span {
    font-size: 12px;
  }

  #toggle-drawer {
    display: none;
  }

  .glass-telemetry {
    width: 196px;
    padding: 8px 10px;
    font-size: 9px;
  }

  .telemetry-note {
    display: none;
  }

  .beacon-card {
    right: auto;
    left: 50%;
    top: calc(100% + 12px);
    transform: translateX(-50%);
    width: 190px;
  }

  .beacon-card::after {
    display: none;
  }

  .cockpit-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  }

  .foot-meta {
    justify-content: flex-end;
  }

  .stop-drawer {
    left: 0;
    right: 0;
    width: 100%;
    top: var(--bar-top);
    bottom: 0;
    border-left: 0;
  }

  .drawer-header,
  .drawer-body {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .anchor-pip.amber,
  .beacon-ring {
    animation: none;
  }

  .hero-stage,
  .stop-drawer {
    transition: none;
    animation: none;
  }
}

/* =========================================================
   v4：更暗、更安静。界面退进阴影，只有那盏灯是暖的。
   ========================================================= */
.cinema-bar.top,
.cinema-bar.bottom {
  border-color: transparent;
  background: #010304;
}

.cinema-bar > *,
.glass-telemetry,
.beacon-card,
.scene-anchor,
.hero-copy > * {
  transition: opacity 1400ms ease;
}

/* 开场：黑 → 海与月 → 灯亮 → 字 */
body:not(.is-revealed) .cinema-bar > * { opacity: 0; }
body:not(.is-lit) .hero-copy > *,
body:not(.is-lit) .scene-anchor { opacity: 0; }
.hero-copy > *:nth-child(2) { transition-delay: 250ms; }
.hero-copy > *:nth-child(3) { transition-delay: 500ms; }
.hero-copy > *:nth-child(4) { transition-delay: 1100ms; }
body:not(.is-lit) .hero-copy > * { transform: translateY(6px); }
.hero-copy > * { transition: opacity 1400ms ease, transform 1800ms var(--ease); }

/* 没人动的时候 */
body.ui-idle:not(.drawer-open) .cinema-bar > * { opacity: 0.2; }
body.ui-idle:not(.drawer-open) .cinema-bar > .cinema-subtitle { opacity: 0.62; }
body.ui-idle:not(.drawer-open) .cinema-bar > .voyage-cta { opacity: 0.55; }
body.ui-idle:not(.drawer-open) .glass-telemetry { opacity: 0.22; }
body.ui-idle:not(.drawer-open) .beacon-card { opacity: 0; }
body.ui-idle .scene-anchor { opacity: 0.35; }
.cinema-bar > *:focus-within { opacity: 1 !important; }

body.voyage-entering .cinema-bar > *,
body.voyage-entering .hero-copy > *,
body.voyage-entering .scene-anchor {
  opacity: 0 !important;
  transition: opacity 500ms ease;
}

/* 第一幕文字：景大字小 */
.hero-scrim { display: none; }
.film-grain { opacity: 0.06; }

.hero-copy {
  top: 27vh;
  text-shadow: 0 1px 18px rgba(1, 3, 4, 0.95);
}

.hero-copy .eyebrow {
  color: rgba(184, 163, 124, 0.62);
  font-size: 10px;
}

.hero-copy h1 {
  font-size: clamp(38px, 4.1vw, 60px);
  letter-spacing: 0.3em;
  color: rgba(236, 229, 213, 0.9);
}

.hero-sub-en {
  color: rgba(140, 162, 165, 0.5);
  letter-spacing: 0.34em;
}

.hero-quote {
  margin-top: 34px;
  border-left-color: rgba(240, 174, 93, 0.38);
}

.hero-quote p {
  font-size: 14px;
  color: rgba(236, 229, 213, 0.82);
}

.hero-quote cite {
  color: rgba(140, 162, 165, 0.5);
}

.scene-anchor {
  color: rgba(236, 229, 213, 0.42);
}

.anchor-boat .anchor-pip,
.anchor-boat .anchor-line { display: none; }
.anchor-boat { transform: translate(46px, -50%); }
.anchor-line { background: rgba(236, 229, 213, 0.16); }
.anchor-cliff .anchor-line { background: rgba(240, 174, 93, 0.3); }
.anchor-pip.amber { width: 5px; height: 5px; }

.wordmark-title { font-size: 14px; color: rgba(236, 229, 213, 0.7); }
.wordmark-meta { color: rgba(140, 162, 165, 0.55); }
.subtitle-quote { color: rgba(236, 229, 213, 0.86); }
.subtitle-meta { color: rgba(140, 162, 165, 0.55); }

/* 按钮：没有药丸底色，靠近才亮 */
.sound-pill,
.bar-btn,
.drawer-close {
  border-color: rgba(236, 229, 213, 0.07);
  background: transparent;
  color: rgba(140, 162, 165, 0.7);
}

.sound-pill b { color: rgba(207, 199, 180, 0.6); }
.bar-btn-amber { border-color: rgba(240, 174, 93, 0.2); color: rgba(240, 174, 93, 0.78); }

.voyage-cta {
  border-color: rgba(240, 174, 93, 0.24);
  background: transparent;
}

.voyage-cta:hover { background: rgba(240, 174, 93, 0.1); }
.cta-reticle { border-color: rgba(240, 174, 93, 0.6); }
.cta-text small { color: rgba(240, 174, 93, 0.7); }

/* 第二幕：摇晃的船舱 */
#cockpit-rig {
  position: absolute;
  inset: 0;
  transform: scale(1.08);
  transform-origin: 50% 62%;
  will-change: transform;
}

#glass-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  will-change: transform;
}

#glass-layer #windshield-map { z-index: 0; }
.cockpit-stage > .film-grain { z-index: 12; }
#cockpit-video { filter: brightness(0.8) saturate(0.85); }

/* 仪表等入舱镜头走完再亮 */
#windshield-interactive {
  opacity: 0;
  transition: opacity 1600ms ease;
}

#cockpit-screen.instruments-on #windshield-interactive { opacity: 1; }
#cockpit-screen:not(.instruments-on) #windshield-interactive * { pointer-events: none; }

.glass-telemetry {
  background: none;
  border-left-color: rgba(132, 198, 190, 0.2);
  color: rgba(140, 162, 165, 0.72);
  text-shadow: 0 0 10px rgba(1, 3, 4, 0.9);
}

.telemetry-head { color: rgba(132, 198, 190, 0.6); border-bottom-color: rgba(132, 198, 190, 0.1); }
.telemetry-row b { color: rgba(236, 229, 213, 0.78); }
.telemetry-note { color: rgba(240, 174, 93, 0.72); border-top-color: rgba(236, 229, 213, 0.08); }

.beacon-card {
  border: 0;
  border-right: 1px solid rgba(240, 174, 93, 0.4);
  border-radius: 0;
  background: none;
  backdrop-filter: none;
  text-align: right;
  text-shadow: 0 0 12px rgba(1, 3, 4, 1), 0 0 3px rgba(1, 3, 4, 0.9);
}

.beacon-hotspot:hover .beacon-card,
.beacon-hotspot[aria-expanded="true"] .beacon-card {
  background: none;
  border-color: var(--amber);
  opacity: 1 !important;
}

.beacon-ring { border-color: rgba(240, 174, 93, 0.42); }
.beacon-cross { border-color: rgba(240, 174, 93, 0.5); }
.beacon-core { width: 5px; height: 5px; }

.cockpit-heading span { font-size: 12px; color: rgba(236, 229, 213, 0.66); }
.cockpit-heading small { color: rgba(140, 162, 165, 0.5); }

.station-chip {
  border-color: transparent;
  background: none;
  color: rgba(140, 162, 165, 0.6);
}

.station-chip.is-open {
  border-color: transparent;
  background: none;
  color: rgba(236, 229, 213, 0.9);
}

.station-chip:hover,
.station-chip.is-selected {
  border-color: transparent;
  background: none;
  color: var(--paper);
}

.station-chip.is-open.is-selected {
  border-color: rgba(240, 174, 93, 0.3);
  background: none;
}

.foot-meta { color: rgba(140, 162, 165, 0.5); }
.bar-link { border-bottom-color: rgba(240, 174, 93, 0.2); color: rgba(240, 174, 93, 0.72); }

.stop-drawer {
  background: rgba(3, 8, 11, 0.94);
  border-left-color: rgba(236, 229, 213, 0.06);
}

@media (max-width: 768px) {
  .hero-copy { top: 17vh; }
  .hero-copy h1 { font-size: 36px; letter-spacing: 0.24em; }
  .beacon-card { text-align: center; border-right: 0; }
  #cockpit-rig { transform: scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .cinema-bar > *,
  .hero-copy > *,
  .scene-anchor,
  #windshield-interactive,
  #transition-wash,
  body.wash-on #transition-wash {
    transition: none;
  }
}

@media (max-width: 768px) {
  .bar-btn,
  .cockpit-heading span {
    white-space: nowrap;
  }
}

/* =========================================================
   v5：全屏站页、船载电台、带阻尼的弹簧
   ========================================================= */
:root {
  --spring: cubic-bezier(0.2, 1.25, 0.35, 1);
}

@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0, 0.02 2%, 0.12 6%, 0.42 13%, 0.72 20%, 0.92 27%, 1.02 33%, 1.05 39%, 1.052 43%, 1.04 49%, 1.02 56%, 1.005 64%, 0.997 73%, 0.998 84%, 1);
  }
}

/* 靠岸与离岸 */
.cockpit-stage {
  transition: transform 1000ms var(--spring);
}

body.arriving .cockpit-stage {
  transform: scale(3.4);
  transition: transform 1150ms cubic-bezier(0.6, 0, 0.9, 0.45);
}

.cockpit-stage.is-pulled {
  transform: scale(1.45);
  transition: none;
}

body.arriving #transition-wash {
  transition: opacity 600ms ease-in 520ms;
}

body.arriving .cinema-bar > *,
body.arriving #windshield-interactive {
  opacity: 0 !important;
  transition: opacity 400ms ease;
}

/* ---------- 站页外框 ---------- */
#stop-screen {
  background: #010304;
}

.stop-scroll {
  position: absolute;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  outline: none;
}

.stop-scroll::-webkit-scrollbar {
  display: none;
}

.stop-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  height: 64px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(rgba(1, 3, 4, 0.82), rgba(1, 3, 4, 0));
  pointer-events: none;
}

.stop-top > * {
  pointer-events: auto;
}

.stop-name {
  font: 11px/1 var(--mono);
  letter-spacing: 0.16em;
  color: rgba(236, 229, 213, 0.6);
  white-space: nowrap;
}

.stop-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.st-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  font: 10px/1 var(--mono);
  letter-spacing: 0.14em;
  color: rgba(140, 162, 165, 0.6);
}

.st-dot i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  transition: transform 500ms var(--spring), background 300ms ease;
}

.st-dot span {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 500ms var(--spring);
}

.st-dot:hover span,
.st-dot.is-on span {
  max-width: 90px;
}

.st-dot.is-on {
  color: var(--paper);
}

.st-dot.is-on i {
  background: var(--amber);
  transform: scale(1.5);
}

.st-sec {
  position: relative;
}

.st-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.st-badge {
  margin: 0;
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.16em;
  color: var(--phosphor);
}

.st-source {
  font: 10px/1 var(--mono);
  letter-spacing: 0.08em;
  color: rgba(240, 174, 93, 0.8);
  border-bottom: 1px solid rgba(240, 174, 93, 0.3);
  padding: 3px 0;
}

.st-source:hover {
  color: var(--paper);
  border-color: var(--paper);
}

/* ---------- 1 抵达 ---------- */
.st-hero {
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.st-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(1.02 + var(--out, 0) * 0.08));
  opacity: calc(1 - var(--out, 0) * 0.75);
}

.st-hero::before,
.st-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  height: 7vh;
  background: #010304;
}

.st-hero::before { top: 0; }
.st-hero::after { bottom: 0; }

.st-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(1, 3, 4, 0.78), rgba(1, 3, 4, 0) 52%),
    radial-gradient(ellipse 120% 90% at 50% 45%, rgba(1, 3, 4, 0) 55%, rgba(1, 3, 4, 0.6) 100%);
}

.st-hero-copy {
  position: absolute;
  z-index: 3;
  left: 6.5vw;
  right: 6.5vw;
  bottom: 15vh;
  text-shadow: 0 1px 22px rgba(1, 3, 4, 0.9);
}

.st-hero-copy > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 900ms ease, transform 1100ms var(--spring);
}

#stop-screen.is-in .st-hero-copy > * {
  opacity: 1;
  transform: none;
}

#stop-screen.is-in .st-hero-copy > *:nth-child(1) { transition-delay: 700ms; }
#stop-screen.is-in .st-hero-copy > *:nth-child(2) { transition-delay: 820ms; }
#stop-screen.is-in .st-hero-copy > *:nth-child(3) { transition-delay: 960ms; }
#stop-screen.is-in .st-hero-copy > *:nth-child(4) { transition-delay: 1300ms; }

.st-kicker {
  margin: 0 0 14px;
  font: 11px/1.4 var(--mono);
  letter-spacing: 0.18em;
  color: var(--amber);
}

.st-hero h1 {
  margin: 0;
  font: 700 clamp(44px, 5.4vw, 82px)/1.08 var(--serif);
  letter-spacing: 0.16em;
  color: var(--paper);
}

.st-coord {
  margin: 14px 0 0;
  font: 11px/1.4 var(--mono);
  letter-spacing: 0.14em;
  color: rgba(207, 199, 180, 0.72);
  font-variant-numeric: tabular-nums;
}

.st-origin {
  margin: 30px 0 0;
  max-width: 560px;
  padding-left: 14px;
  border-left: 1px solid rgba(240, 174, 93, 0.45);
}

.st-origin span {
  display: block;
  font: 15px/1.7 var(--sans);
  color: var(--paper);
}

.st-origin small {
  display: block;
  margin-top: 4px;
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.1em;
  color: rgba(140, 162, 165, 0.7);
}

.st-hint {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: calc(7vh + 14px);
  transform: translateX(-50%);
  padding-bottom: 22px;
  font: 10px/1 var(--mono);
  letter-spacing: 0.3em;
  color: rgba(236, 229, 213, 0.45);
  opacity: calc(1 - var(--out, 0) * 6);
}

.st-hint::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 16px;
  background: rgba(236, 229, 213, 0.35);
}

/* ---------- 2 三年 ---------- */
.st-years {
  height: 320vh;
}

.st-y-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.st-y-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(1, 3, 4, 0.88), rgba(1, 3, 4, 0.1) 58%),
    linear-gradient(rgba(1, 3, 4, 0.55), rgba(1, 3, 4, 0) 22%);
}

.st-y-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--amber);
  box-shadow: 0 0 18px rgba(240, 174, 93, 0.8);
  transition: opacity 300ms ease;
}

.st-y-date {
  position: absolute;
  top: 13vh;
  left: 50%;
  transform: translateX(-50%);
  font: 13px/1 var(--mono);
  letter-spacing: 0.42em;
  color: rgba(236, 229, 213, 0.8);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 14px #010304;
}

.st-y-date.is-new {
  color: var(--amber);
}

.st-y-text {
  position: absolute;
  bottom: 9vh;
  width: min(460px, 86vw);
}

.st-y-text.is-old { left: 6.5vw; }
.st-y-text.is-new { right: 6.5vw; }
.st-y-text.is-new .st-badge { color: var(--amber); }

.st-guide {
  margin: 8px 0 14px;
  font: 13px/1.6 var(--sans);
  color: rgba(140, 162, 165, 0.85);
}

.st-desc {
  margin: 0;
  font: 15px/1.8 var(--sans);
  color: var(--paper-soft);
}

.st-said {
  margin-top: 16px;
  padding-left: 14px;
  border-left: 1px solid rgba(240, 174, 93, 0.55);
}

.st-role {
  display: block;
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.12em;
  color: var(--amber);
}

.st-said blockquote {
  margin: 6px 0 10px;
  font: 15px/1.8 var(--serif);
  color: var(--paper);
}

/* ---------- 3 他的话：原片画面 + 字幕 ---------- */
.st-words {
  height: calc(var(--lines) * 55vh + 100vh);
}

.st-w-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1100ms ease, transform 9s cubic-bezier(0.2, 0.6, 0.3, 1);
}

.st-w-img.is-on {
  opacity: 1;
  transform: scale(1);
}

/* 只压暗上下两头：上面放标签，下面放字幕，画面中间保持原片的亮度 */
.st-words-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 8, 10, 0.55) 0%, rgba(4, 8, 10, 0) 22%),
    linear-gradient(0deg, rgba(4, 8, 10, 0.78) 0%, rgba(4, 8, 10, 0.25) 26%, rgba(4, 8, 10, 0) 44%);
  pointer-events: none;
}

.st-words-head {
  position: absolute;
  top: 12vh;
  left: 6.5vw;
  right: 6.5vw;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.st-sub {
  position: absolute;
  left: 6.5vw;
  right: 6.5vw;
  bottom: 13vh;
  display: grid;
  justify-items: center;
  text-align: center;
}

.st-line {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 600ms ease, transform 900ms var(--spring);
  pointer-events: none;
}

.st-line.is-on {
  opacity: 1;
  transform: none;
  transition-delay: 250ms;
  pointer-events: auto;
}

.st-line blockquote {
  margin: 0 0 18px;
  font: 500 clamp(20px, 2.1vw, 30px)/1.6 var(--serif);
  letter-spacing: 0.08em;
  color: var(--paper);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 0, 0, 0.45);
}

.st-line-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 16px;
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.1em;
  color: rgba(200, 212, 214, 0.62);
}

/* ---------- 4 影像 ---------- */
.st-reel {
  height: calc(var(--cells) * 62vh + 100vh);
}

.st-reel .st-sticky {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.st-reel-head {
  position: absolute;
  top: 12vh;
  left: 6.5vw;
  right: 6.5vw;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.st-counter {
  font: 11px/1 var(--mono);
  letter-spacing: 0.14em;
  color: rgba(140, 162, 165, 0.8);
  font-variant-numeric: tabular-nums;
}

.st-track {
  display: flex;
  gap: 3vw;
  width: max-content;
  padding: 0 19vw 0 6.5vw;
  will-change: transform;
}

.st-cell {
  margin: 0;
  width: min(62vw, 1040px);
  flex-shrink: 0;
}

.st-cell-frame {
  position: relative;
  aspect-ratio: 1600 / 692;
  overflow: hidden;
  background: #04090c;
}

.st-cell-frame img,
.st-cell-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.st-cell figcaption {
  margin-top: 12px;
  font: 10px/1.5 var(--mono);
  letter-spacing: 0.08em;
  color: rgba(140, 162, 165, 0.8);
}

.st-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 11px 20px;
  border: 1px solid rgba(240, 174, 93, 0.7);
  border-radius: 999px;
  background: rgba(1, 3, 4, 0.7);
  color: var(--paper);
  font: 12px/1.2 var(--sans);
  white-space: nowrap;
  transition: transform 450ms var(--spring), background 200ms ease;
}

.st-play:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(240, 174, 93, 0.2);
}

.st-play[hidden] {
  display: none;
}

.st-reel .st-sticky > .st-source {
  position: absolute;
  right: 6.5vw;
  bottom: 9vh;
}

/* ---------- 5 屏幕这一边 ---------- */
.st-windows {
  height: calc(100vh + var(--voices) * 110vh);
}

.st-win-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.st-voice {
  position: absolute;
  left: 6.5vw;
  top: 50%;
  width: min(520px, 86vw);
  transform: translateY(-50%);
}

.st-voice blockquote {
  margin: 18px 0 18px;
  font: 700 clamp(22px, 2.5vw, 36px)/1.7 var(--serif);
  letter-spacing: 0.08em;
  color: var(--paper);
}

.st-voice cite {
  display: block;
  margin-bottom: 10px;
  font: normal 11px/1.4 var(--mono);
  letter-spacing: 0.1em;
  color: rgba(207, 199, 180, 0.75);
}

.st-voice.is-in blockquote,
.st-voice.is-in cite,
.st-voice.is-in > span {
  animation: voice-in 1000ms var(--spring) both;
}

.st-voice.is-in cite { animation-delay: 160ms; }
.st-voice.is-in > span { animation-delay: 260ms; }

@keyframes voice-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.st-win-note {
  position: absolute;
  left: 6.5vw;
  bottom: 5vh;
  margin: 0;
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.1em;
  color: rgba(140, 162, 165, 0.5);
}

/* ---------- 6 离开 ---------- */
.st-leave {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 16vh 6.5vw;
  overflow: hidden;
}

.st-leave-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: saturate(0.5);
}

.st-leave-box {
  position: relative;
  width: min(680px, 100%);
}

.st-original {
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid rgba(236, 229, 213, 0.1);
  text-decoration: none;
  transition: padding-left 500ms var(--spring);
}

.st-original:hover {
  padding-left: 12px;
}

.st-original small {
  display: block;
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.12em;
  color: rgba(140, 162, 165, 0.8);
}

.st-original strong {
  display: block;
  margin: 6px 0;
  font: 600 16px/1.5 var(--sans);
  color: var(--paper);
}

.st-original span {
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.06em;
  color: rgba(240, 174, 93, 0.85);
}

.st-leave-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.st-back-big {
  padding: 12px 22px;
  border: 1px solid rgba(240, 174, 93, 0.5);
  border-radius: 999px;
  font: 600 13px/1 var(--sans);
  letter-spacing: 0.14em;
  color: var(--paper);
  transition: transform 450ms var(--spring), background 200ms ease;
}

.st-back-big:hover {
  transform: translateX(-4px);
  background: rgba(240, 174, 93, 0.12);
}

.st-disclaimer {
  margin: 30px 0 0;
  font: 11px/1.8 var(--sans);
  color: rgba(140, 162, 165, 0.7);
}

/* ---------- 船载电台 ---------- */
.radio {
  position: fixed;
  right: 28px;
  bottom: 22px;
  z-index: 30;
  transition: opacity 1200ms ease;
}

/* Hero 上只露一条小电台：能看到在放什么、能停。放在顶栏正中，不压「开始航行」 */
body[data-scene="hero"] .radio {
  top: 22px;
  right: auto;
  bottom: auto;
  left: 50%;
  transform: translateX(-50%);
}

body[data-scene="hero"] .radio:not(.is-open) {
  opacity: 0.7;
}

body[data-scene="hero"] .radio-panel {
  top: 52px;
  bottom: auto;
  transform-origin: 50% 0;
}

body.ui-idle .radio:not(.is-open) {
  opacity: 0.4;
}

body.arriving .radio,
body.wash-on .radio {
  opacity: 0;
  transition: opacity 300ms ease;
}

.radio-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 14px 0 6px;
  border: 1px solid rgba(236, 229, 213, 0.08);
  border-radius: 999px;
  background: rgba(2, 6, 8, 0.78);
  backdrop-filter: blur(10px);
}

.radio-toggle {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(240, 174, 93, 0.45);
  border-radius: 50%;
  color: var(--amber);
  font-size: 10px;
  line-height: 1;
  transition: transform 450ms var(--spring), background 200ms ease;
}

.radio-toggle:hover:not(:disabled) {
  transform: scale(1.1);
  background: rgba(240, 174, 93, 0.14);
}

.radio-toggle:disabled {
  opacity: 0.35;
  cursor: default;
}

.radio-dial {
  position: relative;
  width: 86px;
  height: 14px;
  border-bottom: 1px solid rgba(132, 198, 190, 0.28);
}

.radio-tick {
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 6px;
  background: rgba(132, 198, 190, 0.6);
}

.radio-needle {
  position: absolute;
  bottom: -3px;
  width: 1px;
  height: 17px;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
  transition: left 900ms var(--spring);
}

.radio-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  max-width: 220px;
  overflow: hidden;
  white-space: nowrap;
  font: 11px/1 var(--sans);
  color: rgba(207, 199, 180, 0.85);
}

.radio-title b {
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.08em;
  color: var(--amber);
}

.radio-title span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.radio-panel {
  position: absolute;
  right: 0;
  bottom: 52px;
  width: min(340px, calc(100vw - 24px));
  padding: 16px;
  border: 1px solid rgba(236, 229, 213, 0.1);
  border-radius: 12px;
  background: rgba(3, 8, 11, 0.96);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  transform-origin: 100% 100%;
  animation: radio-in 480ms var(--spring);
}

.radio-panel[hidden] {
  display: none;
}

@keyframes radio-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.93);
  }
}

.radio-head {
  margin: 0 0 12px;
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.14em;
  color: var(--phosphor);
}

.radio-ctrl {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(236, 229, 213, 0.08);
}

.radio-skip,
.radio-big {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--paper);
  font-size: 11px;
  line-height: 1;
  transition: transform 450ms var(--spring), background 200ms ease;
}

.radio-big {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(240, 174, 93, 0.5);
  color: var(--amber);
}

.radio-skip:hover,
.radio-big:hover:not(:disabled) {
  transform: scale(1.1);
  background: rgba(236, 229, 213, 0.06);
}

.radio-big:disabled {
  opacity: 0.35;
}

.radio-mode {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 6px 10px;
  border: 1px solid rgba(236, 229, 213, 0.1);
  border-radius: 999px;
  font: 10px/1 var(--mono);
  letter-spacing: 0.08em;
  color: rgba(200, 212, 214, 0.8);
  transition: border-color 200ms ease, color 200ms ease;
}

.radio-mode i {
  font-style: normal;
  color: var(--amber);
}

.radio-mode:hover {
  border-color: rgba(240, 174, 93, 0.45);
  color: var(--paper);
}

.radio-list {
  display: grid;
  gap: 4px;
}

.radio-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 8px;
  row-gap: 3px;
  padding: 10px 8px;
  border-left: 1px solid transparent;
  text-align: left;
  transition: background 200ms ease, padding-left 450ms var(--spring);
}

.radio-row:hover:not(:disabled) {
  background: rgba(236, 229, 213, 0.04);
  padding-left: 12px;
}

.radio-row.is-on {
  border-left-color: var(--amber);
}

.radio-row:disabled {
  cursor: default;
  opacity: 0.6;
}

.radio-row b {
  grid-row: span 2;
  align-self: center;
  font: 500 12px/1 var(--mono);
  color: var(--amber);
}

.radio-row strong {
  font: 600 13px/1.3 var(--sans);
  color: var(--paper);
}

.radio-row span {
  font: 10px/1.4 var(--mono);
  color: rgba(140, 162, 165, 0.8);
}

.radio-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(236, 229, 213, 0.08);
  font: 10px/1.5 var(--sans);
  color: rgba(140, 162, 165, 0.7);
}

.radio-goto {
  flex-shrink: 0;
  font: 10px/1 var(--mono);
  color: var(--amber);
}

body[data-scene="hero"] .radio-goto,
body[data-scene="stop"] .radio-goto {
  display: none;
}

/* 船舱底栏给电台让出位置 */
.cockpit-foot {
  padding-right: 400px;
}

.cockpit-foot .noncommercial-note {
  display: none;
}

@media (max-width: 768px) {
  .stop-top {
    padding: 0 16px;
  }

  .stop-nav {
    display: none;
  }

  .st-years {
    height: 280vh;
  }

  .st-y-text {
    bottom: 12vh;
  }

  .st-y-text.is-new {
    right: auto;
    left: 6.5vw;
  }

  .st-cell {
    width: 84vw;
  }

  .st-track {
    padding-right: 9.5vw;
  }

  .st-voice {
    top: 14vh;
    transform: none;
  }

  .radio {
    right: 12px;
    bottom: calc(14px + env(safe-area-inset-bottom));
  }

  /* 手机 Hero：顶栏中间只放得下按钮和频率 */
  body[data-scene="hero"] .radio {
    top: 8px;
  }

  body[data-scene="hero"] .radio-dial,
  body[data-scene="hero"] .radio-title span {
    display: none;
  }

  body[data-scene="hero"] .radio-bar {
    gap: 6px;
    height: 36px;
    padding-right: 10px;
  }

  body[data-scene="hero"] .radio-panel {
    right: auto;
    left: 50%;
    margin-left: -170px;
    width: 340px;
    max-width: calc(100vw - 24px);
  }

  body[data-scene="cockpit"] .radio {
    bottom: calc(104px + env(safe-area-inset-bottom));
  }

  .radio-title {
    max-width: 120px;
  }

  .cockpit-foot {
    padding-right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cockpit-stage,
  .st-hero-copy > *,
  .st-line,
  .st-w-img,
  .radio-needle {
    transition: none;
  }

  .radio-panel,
  .st-voice.is-in blockquote,
  .st-voice.is-in cite,
  .st-voice.is-in > span {
    animation: none;
  }
}

/* 底部 12 站：从一排按钮改成电台的频率刻度，名字靠近才展开 */
.station-strip {
  gap: 0;
  padding: 0;
  align-items: flex-end;
  border-bottom: 1px solid rgba(132, 198, 190, 0.2);
}

.station-chip,
.station-chip.is-open,
.station-chip.is-open.is-selected {
  position: relative;
  height: 30px;
  padding: 0 10px 9px;
  gap: 6px;
  border: 0;
  border-radius: 0;
  background: none;
}

.station-chip::after {
  content: '';
  position: absolute;
  left: 16px;
  bottom: 0;
  width: 1px;
  height: 5px;
  background: rgba(132, 198, 190, 0.5);
  transition: height 450ms var(--spring), background 200ms ease;
}

.station-chip span {
  max-width: 0;
  overflow: hidden;
  transition: max-width 550ms var(--spring);
}

.station-chip:hover span,
.station-chip.is-selected span {
  max-width: 110px;
}

.station-chip:hover::after,
.station-chip.is-selected::after {
  height: 9px;
}

.station-chip.is-open::after {
  height: 11px;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
}

/* 玻璃上其他已开放的站：一颗可以点的星（位置由脚本按星图投影定） */
.star-hotspot {
  position: absolute;
  width: 34px;
  height: 34px;
  padding: 0;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  border-radius: 50%;
}

.star-hotspot::before {
  content: '';
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(240, 174, 93, 0.45);
  border-radius: 50%;
  transition: transform 450ms var(--spring), border-color 200ms ease, background 200ms ease;
}

.star-hotspot:hover::before,
.star-hotspot:focus-visible::before {
  transform: scale(1.6);
  border-color: var(--amber);
  background: rgba(240, 174, 93, 0.12);
}

/* 长评论：小一号、行距松一点，别把窗挡完 */
.st-voice.is-long blockquote {
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.95;
  letter-spacing: 0.04em;
}
