/* ==========================================================================
   CHAPTER 03: 1992–2022 · 那些还不认识你的年岁
   全自动沉浸穿梭 + 8 大全屏电影级叙事舞台（零 PPT 框、零顶部冗余标签）
   ========================================================================== */

/* 左下角章节标题柔和暗角底衬 */
.gallery-hud::before {
  content: '';
  position: fixed;
  left: 0;
  bottom: 0;
  width: min(640px, 76vw);
  height: 280px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse 85% 90% at 14% 92%,
    rgba(9, 8, 8, 0.88) 0%,
    rgba(9, 8, 8, 0.56) 50%,
    rgba(9, 8, 8, 0) 100%
  );
}

.chapter-caption,
.gallery-bottom {
  position: absolute;
  z-index: 2;
}

#webglCanvas {
  transition: filter 0.78s cubic-bezier(0.22, 1, 0.36, 1);
}

body[data-mode="inspect"] #webglCanvas {
  filter: blur(18px) brightness(0.24) saturate(0.85);
}

body[data-mode="inspect"] .topbar {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* ==========================================================================
   1. 进场启动蒙层（单一居中按钮，点击解锁全局音视频原声并开启自动穿梭）
   ========================================================================== */
.ch3-entry-overlay {
  position: fixed;
  inset: 0;
  z-index: 32;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 7, 8, 0.52);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.85s;
}

body[data-mode="gallery"] .ch3-entry-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}

.ch3-entry-card {
  text-align: center;
  max-width: 600px;
  padding: 40px 44px;
  border-radius: 24px;
  border: 1px solid rgba(239, 211, 153, 0.22);
  background: linear-gradient(160deg, rgba(22, 18, 15, 0.72), rgba(10, 9, 11, 0.82));
  box-shadow: 0 32px 84px rgba(0, 0, 0, 0.72), 0 0 48px -18px rgba(239, 211, 153, 0.24);
}

.ch3-entry-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(239, 211, 153, 0.82);
  margin: 0 0 14px;
}

.ch3-entry-heading {
  margin: 0;
  font-family: 'Noto Serif SC', Georgia, serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  background: linear-gradient(180deg, #FFF2CE 0%, #EFD399 54%, #C8A063 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ch3-entry-sub {
  margin: 14px 0 30px;
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.12em;
  color: rgba(244, 239, 230, 0.68);
}

.ch3-entry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  border-radius: 999px;
  border: 1px solid rgba(239, 211, 153, 0.58);
  background: rgba(239, 211, 153, 0.12);
  color: #fff5dd;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  cursor: pointer;
  box-shadow: 0 0 32px -6px rgba(239, 211, 153, 0.45);
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ch3-entry-btn:hover {
  transform: translateY(-2px);
  background: rgba(239, 211, 153, 0.22);
  border-color: rgba(255, 242, 206, 0.92);
  box-shadow: 0 0 44px -4px rgba(239, 211, 153, 0.68);
}

/* ==========================================================================
   2. 右下角极简半透明控制条（仅保留 暂停/继续、上一站、下一站）
   ========================================================================== */
body[data-mode="gallery"] .gallery-hint {
  display: none;
}

.ch3-controls {
  position: fixed;
  right: 28px;
  bottom: 20px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}

.ch3-controls.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.5s ease, visibility 0s linear 0s;
}

.ch3-ctrl-btn {
  border: none;
  background: rgba(10, 10, 12, 0.42);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 5px 11px;
  color: rgba(238, 234, 224, 0.58);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.ch3-ctrl-btn:hover {
  color: #fff3d6;
  background: rgba(239, 211, 153, 0.18);
}

/* ==========================================================================
   3. 全屏电影级舞台容器 & 字幕系统
   ========================================================================== */
.ch3-stage-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.72s;
}

body[data-mode="inspect"] .ch3-stage-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}

.ch3-stage-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 通用全屏暗调底图 + 电影感暗角 */
.ch3-cinema-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #060608;
}

.ch3-cinema-bg img,
.ch3-cinema-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ch3-kenburns {
  animation: ch3KenBurns 14s ease-in-out infinite alternate;
}

@keyframes ch3KenBurns {
  0% { transform: scale(1.01) translate3d(0, 0, 0); }
  100% { transform: scale(1.09) translate3d(-1.2%, -0.8%, 0); }
}

.ch3-cinema-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 76% 68% at 50% 46%, rgba(6, 6, 9, 0.12) 0%, rgba(4, 4, 7, 0.72) 100%),
    linear-gradient(180deg, rgba(5, 5, 8, 0.56) 0%, transparent 24%, transparent 62%, rgba(4, 4, 7, 0.92) 100%);
}

/* 全屏电影级底部/居中字幕 */
.ch3-sub-block {
  position: relative;
  z-index: 10;
  max-width: 820px;
  padding: 0 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ch3-sub-bottom {
  position: absolute;
  left: 50%;
  bottom: clamp(46px, 7vh, 78px);
  transform: translateX(-50%);
  width: min(860px, 92vw);
}

.ch3-era-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(239, 211, 153, 0.85);
  margin-bottom: 6px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease 0.15s, transform 0.8s ease 0.15s;
}

body[data-mode="inspect"] .ch3-stage-overlay.is-open .ch3-era-kicker {
  opacity: 1;
  transform: translateY(0);
}

.ch3-line {
  margin: 0;
  font-family: 'Noto Serif SC', Georgia, serif;
  font-size: clamp(1.06rem, 1.55vw, 1.34rem);
  font-weight: 400;
  line-height: 1.78;
  letter-spacing: 0.09em;
  color: rgba(248, 244, 236, 0.94);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.95);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s ease var(--d, 0.25s), transform 1s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0.25s);
}

.ch3-line-gold {
  color: #f4d9a2;
  font-size: clamp(1.14rem, 1.72vw, 1.48rem);
  text-shadow: 0 0 26px rgba(239, 211, 153, 0.42), 0 4px 20px rgba(0, 0, 0, 0.92);
}

body[data-mode="inspect"] .ch3-stage-overlay.is-open .ch3-line {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   STATION 2 · 1993–1995｜童年动画（90年代温馨家庭客厅 + 立体厚重木纹老式大屁股电视 + 旁侧频道表）
   ========================================================================== */
.ch3-tv-livingroom {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle 520px at 22% 28%, rgba(255, 206, 134, 0.22) 0%, transparent 66%),
    radial-gradient(circle 460px at 50% 44%, rgba(146, 192, 255, 0.14) 0%, transparent 62%),
    linear-gradient(180deg, #1b1614 0%, #241c17 58%, #140f0c 58.2%, #0c0907 100%);
}

/* 复古木质电视柜台面 + 蕾丝台布微光边缘 */
.ch3-tv-livingroom::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 58%;
  height: 16px;
  background: linear-gradient(180deg, rgba(236, 208, 166, 0.24) 0%, rgba(72, 46, 28, 0.85) 35%, rgba(28, 18, 12, 0.95) 100%);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.85);
}

.ch3-tv-room {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 112px;
}

/* 立体厚重 90 年代木纹/深灰显像管老电视机（非扁平卡片） */
.ch3-tv-cabinet {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 24px 24px 26px 26px;
  border-radius: 26px 26px 18px 18px;
  background:
    linear-gradient(180deg, rgba(255, 232, 198, 0.14) 0%, transparent 12%),
    linear-gradient(155deg, #4b3424 0%, #2d1e15 48%, #18100c 100%);
  border-top: 3px solid rgba(168, 122, 82, 0.55);
  border-left: 5px solid #261810;
  border-right: 5px solid #160e09;
  border-bottom: 10px solid #120b07;
  box-shadow:
    inset 0 2px 4px rgba(255, 236, 206, 0.2),
    inset 0 -14px 28px rgba(0, 0, 0, 0.78),
    0 34px 72px rgba(0, 0, 0, 0.92),
    0 0 96px -14px rgba(148, 194, 255, 0.28);
}

/* 顶部复古拉杆 V 型天线 */
.ch3-tv-cabinet::before {
  content: '';
  position: absolute;
  top: -46px;
  left: 50%;
  width: 140px;
  height: 46px;
  transform: translateX(-50%);
  background:
    linear-gradient(48deg, transparent 48%, rgba(212, 212, 220, 0.45) 49.5%, rgba(212, 212, 220, 0.45) 51%, transparent 52.5%),
    linear-gradient(-48deg, transparent 48%, rgba(212, 212, 220, 0.45) 49.5%, rgba(212, 212, 220, 0.45) 51%, transparent 52.5%);
  pointer-events: none;
}

.ch3-tv-bezel {
  position: relative;
  width: min(520px, 58vw);
  aspect-ratio: 4 / 3;
  padding: 14px;
  border-radius: 26px;
  background: linear-gradient(145deg, #1b1a1e, #0a0a0c);
  box-shadow:
    inset 0 8px 22px rgba(0, 0, 0, 0.96),
    inset 0 -3px 8px rgba(255, 255, 255, 0.06);
}

.ch3-tv-channels-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(239, 211, 153, 0.2);
  background: rgba(14, 12, 11, 0.66);
  backdrop-filter: blur(12px);
  min-width: 156px;
}

.ch3-tv-ch-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(239, 211, 153, 0.72);
  margin-bottom: 4px;
}

.ch3-tv-ch-item {
  border: none;
  background: transparent;
  text-align: left;
  padding: 6px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(238, 232, 222, 0.48);
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.ch3-tv-ch-item.is-active {
  color: #6bff8e;
  background: rgba(107, 255, 142, 0.12);
  text-shadow: 0 0 10px rgba(107, 255, 142, 0.55);
}

.ch3-tv-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px / 22px;
  overflow: hidden;
  background: #050608;
}

.ch3-tv-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ch3-tv-static {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  z-index: 4;
  transition: opacity 0.06s linear;
}

.ch3-tv-static.is-snow {
  opacity: 0.94;
}

.ch3-tv-scanlines {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0px, rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 3px),
    radial-gradient(ellipse at 26% 16%, rgba(255, 255, 255, 0.14) 0%, transparent 44%),
    radial-gradient(ellipse at 50% 50%, transparent 60%, rgba(0, 0, 0, 0.56) 100%);
}

.ch3-tv-osd {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 6;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(0, 20, 8, 0.62);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #6bff8e;
  text-shadow: 0 0 10px rgba(107, 255, 142, 0.85);
}

.ch3-tv-panel {
  width: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6px;
  border-radius: 14px;
  background: rgba(8, 7, 9, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ch3-tv-knob {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(239, 211, 153, 0.36);
  background: radial-gradient(circle at 35% 35%, #4a4540, #181614);
  color: #f3d79e;
  font-family: var(--font-mono);
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ch3-tv-grille {
  width: 52px;
  height: 112px;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0 3px, transparent 3px 7px);
  border-radius: 6px;
  opacity: 0.72;
}

.ch3-tv-led {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(244, 239, 230, 0.5);
}

.ch3-tv-led i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4f4f;
  box-shadow: 0 0 10px #ff4f4f;
}

/* ==========================================================================
   STATION 3 · 1995–1999｜《灌篮高手》（全屏 2.35:1 宽银幕电影）
   ========================================================================== */
.ch3-letterbox-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 9vh;
  background: #040405;
  z-index: 4;
  pointer-events: none;
}
.ch3-letterbox-top { top: 0; }
.ch3-letterbox-bot { bottom: 0; }

/* ==========================================================================
   STATION 4 · 1999–2002｜詹姆斯（全屏球馆暖金氛围展厅 + 立体金属杂志封面，绝非纯黑底小图）
   ========================================================================== */
.ch3-mag-backdrop {
  position: absolute;
  inset: -4%;
  z-index: 1;
  overflow: hidden;
}

.ch3-mag-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(28px) brightness(0.38) saturate(1.15);
  transform: scale(1.08);
}

.ch3-mag-spotlight {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle 480px at 50% 42%, rgba(239, 211, 153, 0.22), transparent 68%),
    linear-gradient(125deg, rgba(255, 224, 166, 0.12) 0%, transparent 42%, rgba(5, 5, 8, 0.72) 100%),
    linear-gradient(180deg, rgba(6, 5, 8, 0.45) 0%, transparent 32%, rgba(5, 5, 8, 0.9) 100%);
}

.ch3-mag-watermark {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  z-index: 3;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(4rem, 11vw, 10rem);
  font-style: italic;
  letter-spacing: 0.08em;
  color: rgba(255, 240, 206, 0.07);
  white-space: nowrap;
  pointer-events: none;
}

.ch3-mag-stage {
  position: relative;
  z-index: 6;
  perspective: 1200px;
  margin-bottom: 118px;
}

.ch3-mag-card {
  position: relative;
  width: min(340px, 66vw);
  aspect-ratio: 3 / 4;
  border-radius: 6px 10px 10px 6px;
  transform-style: preserve-3d;
  animation: ch3MagFloat 7s ease-in-out infinite;
  box-shadow:
    -10px 16px 34px rgba(0, 0, 0, 0.8),
    26px 40px 88px rgba(0, 0, 0, 0.88),
    0 0 56px -10px rgba(239, 211, 153, 0.34);
}

@keyframes ch3MagFloat {
  0%, 100% { transform: rotateY(-7deg) rotateX(3deg) translateY(0); }
  50% { transform: rotateY(7deg) rotateX(-2deg) translateY(-8px); }
}

.ch3-mag-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px 10px 10px 6px;
  display: block;
}

.ch3-mag-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 14px;
  border-radius: 6px 0 0 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(0, 0, 0, 0.44) 48%, transparent 100%);
  z-index: 2;
}

.ch3-mag-glare {
  position: absolute;
  inset: 0;
  border-radius: 6px 10px 10px 6px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 245, 218, 0.25) 46%,
    rgba(255, 255, 255, 0.42) 50%,
    rgba(255, 245, 218, 0.14) 54%,
    transparent 76%
  );
  background-size: 220% 220%;
  animation: ch3GlareSweep 6s ease-in-out infinite;
  mix-blend-mode: screen;
  opacity: 0.72;
}

@keyframes ch3GlareSweep {
  0%, 100% { background-position: 15% 25%; }
  50% { background-position: 85% 75%; }
}

/* ==========================================================================
   STATION 6 · 2000年代｜QQ 时代（两段式全屏：先全屏播完整 Windows QQ 原声视频 → 再全屏 64 头像快速逐个点亮）
   ========================================================================== */
.ch3-qq-video-full {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: #06080d;
  opacity: 1;
  transition: opacity 0.9s ease;
}

.ch3-qq-video-full.is-faded {
  opacity: 0;
  pointer-events: none;
}

.ch3-qq-video-full video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ch3-qq-wall-full {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  grid-auto-rows: 108px;
  align-content: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 32px;
  background: #07080c;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
  overflow: hidden;
}

.ch3-qq-wall-full.is-active {
  opacity: 1;
  pointer-events: auto;
}

.ch3-qq-wall-scrim {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  background: radial-gradient(
    ellipse 64% 48% at 50% 52%,
    rgba(6, 7, 12, 0.86) 0%,
    rgba(6, 7, 12, 0.48) 58%,
    rgba(6, 7, 12, 0.2) 100%
  );
  opacity: 0;
  transition: opacity 0.9s ease;
}

.ch3-qq-wall-full.is-active ~ .ch3-qq-wall-scrim {
  opacity: 1;
}

.ch3-qq-tile {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.14;
  filter: grayscale(0.92) brightness(0.45);
  transform: scale(0.92);
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.ch3-qq-tile.is-lit {
  opacity: 0.92;
  filter: none;
  transform: scale(1);
  border-color: rgba(239, 211, 153, 0.72);
  box-shadow: 0 0 18px rgba(239, 211, 153, 0.45);
}

.ch3-qq-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   STATION 8 · 2012–2022｜慢慢成为大人（时间刻度移至最顶部、低透明，绝不与居中正文重叠）
   ========================================================================== */
.ch3-city-scale-top {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(239, 211, 153, 0.52);
  pointer-events: none;
}

.ch3-city-line {
  position: relative;
  width: clamp(140px, 24vw, 280px);
  height: 1px;
  background: rgba(239, 211, 153, 0.22);
  overflow: hidden;
}

.ch3-city-line::after {
  content: '';
  position: absolute;
  left: -40%;
  top: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 243, 214, 0.72), transparent);
  animation: ch3ScaleSweep 3.8s linear infinite;
}

@keyframes ch3ScaleSweep {
  to { left: 110%; }
}

.ch3-s8-center {
  position: relative;
  z-index: 10;
  max-width: 820px;
  padding: 36px 44px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: radial-gradient(
    ellipse 76% 74% at 50% 50%,
    rgba(6, 7, 12, 0.68) 0%,
    rgba(6, 7, 12, 0.34) 58%,
    transparent 100%
  );
}

.ch3-s8-enter-btn {
  margin-top: 26px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s ease 2.2s, transform 0.9s ease 2.2s, border-color 0.3s ease, background-color 0.3s ease;
}

body[data-mode="inspect"] .ch3-stage-overlay.is-open .ch3-s8-enter-btn {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   冲出隧道 · 2023 直到遇见你（Chapter 04 过渡定格）
   ========================================================================== */
.ch3-outro-layer {
  position: fixed;
  inset: 0;
  z-index: 42;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 48%, #1b1510 0%, #060609 74%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 1.1s;
}

.ch3-outro-layer.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}

.ch3-outro-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(239, 211, 153, 0.82);
  margin-bottom: 18px;
}

.ch3-outro-title {
  margin: 0;
  font-family: 'Noto Serif SC', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  background: linear-gradient(180deg, #FFF2CE 0%, #EFD399 52%, #C8A063 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(239, 211, 153, 0.36));
}

.ch3-outro-sub {
  margin-top: 20px;
  font-family: 'Noto Serif SC', Georgia, serif;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  letter-spacing: 0.12em;
  color: rgba(244, 239, 230, 0.82);
}

.ch3-outro-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
}

@media (max-width: 760px) {
  .ch3-tv-cabinet { flex-direction: column; align-items: center; }
  .ch3-tv-panel { flex-direction: row; width: 100%; height: auto; }
  .ch3-tv-grille { width: 72px; height: 28px; }
  .ch3-qq-avatar-wall { grid-template-columns: repeat(8, 1fr); }
}

/* 03 篇章（新版）：录像带架全屏层 */
.ch3-vhs-layer { position: fixed; inset: 0; z-index: 200; background: #0c0a09; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0s linear 0.5s; }
.ch3-vhs-layer.is-visible { opacity: 1; visibility: visible; transition: opacity 0.5s ease, visibility 0s; }
.ch3-vhs-layer iframe { width: 100%; height: 100%; border: 0; display: block; }
