/* ==========================================================================
   CHAPTER 02: 1992.12.07 — FULLSCREEN CINEMATIC AUTO-PLAY SHORT FILM
   Pure Obsidian (#030305) + Fine Film Grain + Champagne Gold Stardust
   Zero PPT tabs, zero split-card boxes, zero prev/next buttons.
   ========================================================================== */

.ch2-layer {
  position: fixed;
  inset: 0;
  z-index: 23;
  background: #030305;
  color: #f4f1ea;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 1s;
}

body[data-mode="chapter02"] .ch2-layer {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}

.ch2-layer.is-leaving {
  opacity: 0 !important;
  filter: blur(12px);
  transition: opacity 0.85s ease, filter 0.85s ease;
}

/* Global Stardust Canvas (Zero dot-grid overlay for cinema clarity) */
.ch2-dust-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 6;
  pointer-events: none;
}

/* ---- 5 Fullscreen Auto-Crossfading Cinema Acts ---- */
.ch2-acts {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.ch2-act {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(24px, 6vw, 88px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 1.4s;
}

body[data-mode="chapter02"] .ch2-act.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}

/* Shared Cinematic Subtitles */
.ch2-sub-wrap {
  position: relative;
  z-index: 10;
  max-width: 780px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.ch2-sub-bottom {
  position: absolute;
  left: 50%;
  bottom: clamp(58px, 9.5vh, 102px);
  transform: translateX(-50%);
  width: min(86vw, 760px);
}

.ch2-sub-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(243, 208, 138, 0.85);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1s ease var(--d, 0s), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s);
}

.ch2-sub-title {
  font-family: 'Noto Serif SC', var(--font-sans);
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-shadow: 0 8px 36px rgba(0, 0, 0, 0.92);
  opacity: 0;
  transform: translateY(16px);
  filter: blur(5px);
  transition:
    opacity 1.15s ease var(--d, 0s),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s),
    filter 1.1s ease var(--d, 0s);
}

.ch2-sub-line {
  font-family: var(--font-sans);
  font-size: clamp(0.98rem, 1.35vw, 1.2rem);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.1em;
  color: rgba(238, 236, 232, 0.88);
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.95);
  opacity: 0;
  transform: translateY(14px);
  filter: blur(4px);
  transition:
    opacity 1.1s ease var(--d, 0s),
    transform 1.15s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s),
    filter 1s ease var(--d, 0s);
}

.ch2-sub-gold {
  color: #f3d08a;
  font-weight: 500;
}

body[data-mode="chapter02"] .ch2-act.is-active .ch2-sub-kicker,
body[data-mode="chapter02"] .ch2-act.is-active .ch2-sub-title,
body[data-mode="chapter02"] .ch2-act.is-active .ch2-sub-line {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ==========================================================================
   ACT 1: 历史回溯 — 多张 1992.12.07 人民日报怀旧轮播（首张完整清晰露出报头日期）
   ========================================================================== */

.ch2-bg-paper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}

.ch2-paper-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  filter: grayscale(0.55) sepia(0.22) contrast(1.08) brightness(0.46);
  opacity: 0;
  transform: scale(1.03) translate3d(-1.2%, 0, 0);
  transition: opacity 1.15s ease, transform 3.2s linear;
}

/* 第一张头版完整露出上方「人民日报 · 1992年12月7日」报头，绝不裁切 */
.ch2-paper-slide.is-first {
  inset: auto;
  top: 4%;
  width: min(86vw, 760px);
  height: 90vh;
  object-fit: contain;
  object-position: center top;
  filter: grayscale(0.35) sepia(0.2) contrast(1.08) brightness(0.68);
  -webkit-mask-image: radial-gradient(ellipse 84% 86% at 50% 42%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 84% 86% at 50% 42%, #000 58%, transparent 100%);
  transform: scale(1) translate3d(0, 0, 0);
}

.ch2-paper-slide.is-shown {
  opacity: 1;
  transform: scale(1.055) translate3d(1.2%, -0.6%, 0);
}

.ch2-paper-slide.is-first.is-shown {
  opacity: 0.92;
  transform: scale(1.025) translate3d(0, -0.4%, 0);
}

.ch2-paper-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 64% 58% at 50% 52%, rgba(3, 3, 5, 0.24) 0%, rgba(3, 3, 5, 0.78) 76%, #030305 100%),
    linear-gradient(180deg, rgba(3, 3, 5, 0.16) 0%, transparent 26%, rgba(3, 3, 5, 0.64) 68%, rgba(3, 3, 5, 0.92) 100%);
}

.ch2-sub-paper {
  margin-top: clamp(120px, 22vh, 220px);
}

/* ==========================================================================
   ACT 2: 宇宙的那一端 — 全屏无边框羽化月球 + 香槟金动态探测轨迹
   ========================================================================== */

.ch2-moon-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ch2-moon-img {
  width: min(76vh, 76vw);
  height: min(76vh, 76vw);
  object-fit: contain;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 50%, transparent 74%);
  mask-image: radial-gradient(circle at 50% 50%, #000 50%, transparent 74%);
  transform: scale(0.94);
  opacity: 0.92;
  transition: transform 9s cubic-bezier(0.2, 0.5, 0.3, 1);
}

body[data-mode="chapter02"] .ch2-act.is-active .ch2-moon-img {
  transform: scale(1.12);
}

.ch2-trajectory-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ch2-traj-path {
  fill: none;
  stroke: url(#ch2TrajGrad);
  stroke-width: 1.8;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  transition: stroke-dashoffset 4.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}

body[data-mode="chapter02"] .ch2-act.is-active .ch2-traj-path {
  stroke-dashoffset: 0;
}

.ch2-probe-dot {
  opacity: 0;
  transition: opacity 0.8s ease 2.2s;
}

body[data-mode="chapter02"] .ch2-act.is-active .ch2-probe-dot {
  opacity: 1;
}

/* ==========================================================================
   ACT 3: 地球的这一端 — 复古第一条短信图 → 双熊手绘油画背景 × 微信磨砂窗口
   ========================================================================== */

.ch2-sms-bg {
  position: absolute;
  inset: -2%;
  pointer-events: none;
  opacity: 0.62;
  transform: scale(1.01);
  transition: opacity 1.15s ease, transform 6s ease;
}

body[data-mode="chapter02"] .ch2-act.is-active .ch2-sms-bg {
  transform: scale(1.07);
}

.ch2-sms-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.06) brightness(0.72);
}

.ch2-sms-pulse {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 420px at 62% 48%, rgba(243, 198, 118, 0.24), transparent 70%);
  mix-blend-mode: screen;
  animation: ch2SmsBreathe 3.6s ease-in-out infinite alternate;
}

.ch2-sms-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 62% 58% at 52% 48%, rgba(3, 3, 5, 0.32) 0%, rgba(3, 3, 5, 0.82) 72%, #030305 100%);
}

@keyframes ch2SmsBreathe {
  0% { opacity: 0.45; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1.08); }
}

.ch2-act[data-sub="wechat"] .ch2-sms-bg {
  opacity: 0;
}

/* 3B 底层氛围背景：直接使用用户提供的高清原图（零滤镜、零蒙层、零裁切放大） */
.ch2-bears-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.1s ease;
  background: #0d0b0a;
}

.ch2-act[data-sub="wechat"] .ch2-bears-bg {
  opacity: 1;
}

.ch2-bears-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: none;
}

/* Sub-stage 3A: Typewriter Merry Christmas */
.ch2-typewriter-stage {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.9s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.ch2-act[data-sub="wechat"] .ch2-typewriter-stage {
  opacity: 0;
  transform: scale(0.94) translateY(-16px);
  pointer-events: none;
}

.ch2-tw-date {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 1.4vw, 1.25rem);
  letter-spacing: 0.32em;
  color: rgba(243, 208, 138, 0.88);
  min-height: 1.5em;
}

.ch2-tw-msg {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-shadow: 0 0 36px rgba(243, 208, 138, 0.28);
  min-height: 1.3em;
}

.ch2-tw-cursor {
  display: inline-block;
  width: 3px;
  height: 0.88em;
  margin-left: 6px;
  vertical-align: -0.08em;
  background: #f3d08a;
  animation: ch2Blink 0.75s steps(1) infinite;
}

.ch2-tw-sub {
  margin-top: 22px;
  font-size: clamp(0.95rem, 1.25vw, 1.12rem);
  letter-spacing: 0.12em;
  color: rgba(226, 226, 232, 0.72);
}

@keyframes ch2Blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Sub-stage 3B: Right-Aligned Floating Smoky Warm-Brown Glass WeChat Window */
.ch2-wechat-cinema {
  position: absolute;
  right: clamp(32px, 11vw, 168px);
  top: 49%;
  z-index: 9;
  width: min(556px, 41vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(-47%) scale(0.97);
  pointer-events: none;
  transition: opacity 0.95s ease, transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}

.ch2-act[data-sub="wechat"] .ch2-wechat-cinema {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  pointer-events: auto;
}

.ch2-wc-card {
  position: relative;
  width: 100%;
  padding: 22px 26px 14px;
  border-radius: 22px;
  border: 1px solid transparent;
  background:
    radial-gradient(ellipse 80% 65% at 22% 96%, rgba(235, 194, 128, 0.16) 0%, transparent 72%),
    radial-gradient(ellipse 65% 55% at 88% 12%, rgba(240, 206, 146, 0.1) 0%, transparent 70%),
    linear-gradient(155deg, rgba(64, 52, 42, 0.56) 0%, rgba(38, 31, 26, 0.64) 55%, rgba(56, 44, 34, 0.58) 100%);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 206, 0.22),
    inset 0 -16px 32px -18px rgba(242, 204, 138, 0.24),
    -14px 20px 42px -14px rgba(238, 198, 128, 0.26),
    0 22px 54px rgba(0, 0, 0, 0.34);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 1.25px 细腻香槟金明暗渐变描边（左上与右下局部暖金高光，自然呼应背景金色流光） */
.ch2-wc-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 22px;
  padding: 1.25px;
  background: linear-gradient(
    135deg,
    rgba(255, 236, 192, 0.72) 0%,
    rgba(232, 198, 138, 0.32) 28%,
    rgba(196, 162, 110, 0.18) 54%,
    rgba(246, 214, 152, 0.52) 82%,
    rgba(255, 242, 208, 0.76) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.ch2-wc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(243, 208, 138, 0.28);
  background: rgba(24, 20, 17, 0.56);
  margin-bottom: 20px;
}

.ch2-wc-pill img {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}

.ch2-wc-pill span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(240, 240, 244, 0.78);
}

.ch2-wc-flow {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ch2-msg {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.ch2-msg.is-shown {
  opacity: 1;
  transform: translateY(0);
}

.ch2-msg-girl {
  flex-direction: row-reverse;
}

.ch2-avatar-slot {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.ch2-avatar-slot img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  opacity: 1;
}

.ch2-bubble {
  padding: 12px 17px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.ch2-bubble-boy {
  background: #f3f4f6;
  color: #141418;
  border-top-left-radius: 4px;
}

.ch2-bubble-girl {
  background: #95ec69;
  color: #10200b;
  border-top-right-radius: 4px;
}

.ch2-bump-arena {
  position: relative;
  margin-top: 12px;
  height: 112px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ch2-pop-head {
  position: absolute;
  width: 88px;
  height: 88px;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.65));
  transition: transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

.ch2-pop-boy {
  transform: translate(-155px, -110px) scale(0.45) rotate(-14deg);
}

.ch2-pop-girl {
  transform: translate(155px, -45px) scale(0.45) rotate(14deg);
}

.ch2-wechat-cinema.is-bumped .ch2-pop-boy {
  opacity: 1;
  transform: translate(-36px, 6px) scale(1) rotate(6deg);
}

.ch2-wechat-cinema.is-bumped .ch2-pop-girl {
  opacity: 1;
  transform: translate(36px, 8px) scale(1) rotate(-6deg);
}

.ch2-bump-heart {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 36px;
  height: 36px;
  opacity: 0;
  transform: translateX(-50%) scale(0);
  transition: transform 0.65s cubic-bezier(0.34, 1.7, 0.64, 1) 0.42s, opacity 0.35s ease 0.42s;
}

.ch2-wechat-cinema.is-bumped .ch2-bump-heart {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.ch2-bump-heart svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 16px rgba(255, 107, 139, 0.9));
  animation: ch2HeartBeat 1.5s ease-in-out infinite 1.1s;
}

.ch2-wc-caption-block {
  margin-top: 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.85s ease 0.35s, transform 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
}

.ch2-wechat-cinema.is-bumped .ch2-wc-caption-block {
  opacity: 1;
  transform: translateY(0);
}

.ch2-wc-caption-sub {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.48vw, 22px);
  font-weight: 400;
  letter-spacing: 0.09em;
  white-space: nowrap;
  color: #f2d59e;
  text-shadow: 0 2px 16px rgba(20, 14, 8, 0.82), 0 0 18px rgba(239, 211, 153, 0.26);
}

.ch2-wc-hero-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ch2-wc-ambient-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(280px, 32vw, 440px);
  height: clamp(96px, 11vw, 150px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(239, 211, 153, 0.24) 0%,
    rgba(200, 160, 99, 0.1) 44%,
    transparent 74%
  );
  filter: blur(16px);
}

.ch2-wc-caption-hero {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: 'Noto Serif SC', Georgia, serif;
  font-size: clamp(48px, 4.4vw, 64px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.14em;
  background: linear-gradient(180deg, #FFF2CE 0%, #EFD399 52%, #C8A063 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter:
    drop-shadow(0 0 14px rgba(239, 211, 153, 0.34))
    drop-shadow(0 4px 14px rgba(0, 0, 0, 0.65));
}

@keyframes ch2HeartBeat {
  0%, 100% { transform: scale(1); }
  35% { transform: scale(1.18); }
  65% { transform: scale(0.96); }
}

/* ==========================================================================
   ACT 4: 那个时代的声音 — 暗调聚光灯黑胶 + 香槟金动态音频波形
   ========================================================================== */

.ch2-sound-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 480px at 34% 46%, rgba(243, 208, 138, 0.12), transparent 72%);
}

.ch2-vinyl-backdrop {
  position: absolute;
  left: clamp(-90px, 6vw, 90px);
  top: 50%;
  transform: translateY(-54%);
  width: min(56vh, 520px);
  height: min(56vh, 520px);
  pointer-events: none;
  opacity: 0.88;
}

.ch2-vinyl-record {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, #0d0d10 0 2px, #19181d 2px 4px);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.85),
    inset 0 0 0 1px rgba(243, 208, 138, 0.16);
  animation: ch2VinylSpin 18s linear infinite;
}

.ch2-vinyl-record::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 25deg,
    transparent 0deg,
    rgba(243, 208, 138, 0.18) 38deg,
    transparent 80deg,
    transparent 190deg,
    rgba(255, 255, 255, 0.1) 230deg,
    transparent 275deg
  );
}

.ch2-vinyl-label {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40%;
  height: 40%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(243, 208, 138, 0.45);
}

.ch2-vinyl-label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ch2-vinyl-label::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #030305;
  border: 1.5px solid rgba(243, 208, 138, 0.6);
}

.ch2-wave-canvas {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 220px;
  z-index: 4;
  pointer-events: none;
}

@keyframes ch2VinylSpin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   ACT 5: 情感高潮 · 你出生了（电影级深空无行星底图 + 宽幅四角暗角 + 连续流动星环 + 9行星公转）
   ========================================================================== */

.ch2-solar-photo-layer {
  position: absolute;
  inset: -1.5%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  background: #03050a;
}

.ch2-solar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  /* 克制电影级调色：降荧光蓝紫饱和、加深深空层次，保留暗部细节 */
  filter: saturate(0.76) brightness(0.84) contrast(1.06);
  animation: ch2NebulaSlowDrift 56s ease-in-out infinite alternate;
}

@keyframes ch2NebulaSlowDrift {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.032) translate3d(-0.5%, -0.3%, 0); }
}

/* 自然宽幅电影级四角暗角（外围渐暗至深空黑，无硬边、不整体压死中央） */
.ch2-solar-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 74% 68% at 50% 50%, transparent 42%, rgba(3, 5, 10, 0.46) 72%, rgba(2, 3, 7, 0.88) 100%),
    linear-gradient(180deg, rgba(2, 4, 8, 0.54) 0%, transparent 20%, transparent 78%, rgba(2, 4, 8, 0.68) 100%);
}

.ch2-solar-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: block;
  pointer-events: none;
}

.ch2-planet-labels {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.ch2-p-label {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(238, 234, 224, 0.84);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
  white-space: nowrap;
  will-change: transform, opacity;
}

.ch2-p-label::before {
  content: '•';
  color: #e6c88a;
  font-size: 11px;
}

/* 中央文字保护极柔和径向暗晕，保障「你出生了」成为绝对视觉焦点 */
.ch2-solar-text-scrim {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: radial-gradient(
    ellipse 36% 34% at 50% 50%,
    rgba(3, 4, 8, 0.56) 0%,
    rgba(3, 4, 8, 0.24) 55%,
    transparent 100%
  );
}

.ch2-birth-arc-flow {
  stroke-dasharray: 85 1120;
  stroke-dashoffset: 0;
  opacity: 0.72;
  animation: ch2TitleArcFlow 24s linear infinite;
}

@keyframes ch2TitleArcFlow {
  to { stroke-dashoffset: -1205; }
}

.ch2-solar-copy {
  z-index: 10;
}

.ch2-birth-hero-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 14px 0 10px;
  padding: 12px 46px;
  opacity: 0;
  transform: translateY(18px) scale(0.94);
  transition:
    opacity 1.3s ease var(--d, 0s),
    transform 1.5s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s);
}

body[data-mode="chapter02"] .ch2-act.is-active .ch2-birth-hero-wrap {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ch2-birth-ambient-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(360px, 44vw, 580px);
  height: clamp(140px, 16vw, 220px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(239, 211, 153, 0.24) 0%,
    rgba(200, 160, 99, 0.11) 42%,
    transparent 74%
  );
  filter: blur(18px);
}

.ch2-birth-arc {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(320px, 38vw, 520px);
  height: auto;
  transform: translate(-50%, -48%);
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 0 10px rgba(239, 211, 153, 0.42));
}

.ch2-birth-hero {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: 'Noto Serif SC', Georgia, serif;
  font-size: clamp(2.9rem, 5.8vw, 4.9rem);
  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 14px rgba(239, 211, 153, 0.34))
    drop-shadow(0 4px 14px rgba(0, 0, 0, 0.65));
}

.ch2-final-btn-wrap {
  margin-top: 34px;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 1.1s ease, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.ch2-final-btn-wrap.is-ready {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ch2-enter-03-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid rgba(243, 208, 138, 0.45);
  background: rgba(243, 208, 138, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff5df;
  font-family: var(--font-sans);
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 0 32px -6px rgba(243, 208, 138, 0.36);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.ch2-enter-03-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(243, 208, 138, 0.9);
  background: rgba(243, 208, 138, 0.16);
  box-shadow: 0 0 42px -4px rgba(243, 208, 138, 0.58);
}

/* ==========================================================================
   MINIMAL CINEMA CHROME: 2PX BOTTOM PROGRESS BAR + DISCREET PAUSE / SKIP
   ========================================================================== */

.ch2-progress-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 20;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.ch2-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(243, 208, 138, 0.55), #f3d08a, #fff6de);
  box-shadow: 0 0 10px rgba(243, 208, 138, 0.75);
}

.ch2-controls {
  position: fixed;
  right: 26px;
  bottom: 18px;
  z-index: 22;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ch2-ctrl-link {
  border: none;
  background: transparent;
  color: rgba(232, 232, 238, 0.42);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  cursor: pointer;
  padding: 4px 2px;
  transition: color 0.25s ease;
}

.ch2-ctrl-link:hover {
  color: rgba(243, 208, 138, 0.95);
}

@media (max-width: 760px) {
  .ch2-wechat-cinema {
    position: relative;
    right: auto;
    top: auto;
    width: 92vw;
    transform: translateY(16px) scale(0.96);
  }

  .ch2-act[data-sub="wechat"] .ch2-wechat-cinema {
    transform: translateY(0) scale(1);
  }

  .ch2-vinyl-backdrop {
    left: 50%;
    top: 30%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 240px;
    opacity: 0.65;
  }

  .ch2-sub-bottom {
    bottom: 62px;
    width: 90vw;
  }

  .ch2-controls {
    right: 16px;
    bottom: 14px;
  }
}
