/* M1 入舱实拍与交互层：主机恐怖电影感，严禁网页矩形框、圆角胶囊与弹窗卡片 */

.cinema-stage.is-zooming .stage-video.is-active {
  transform: scale(1.15);
  transition: transform 1.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.cinema-stage.is-lookdown-pressed .stage-video.is-active {
  transform: translateY(10px) scale(1.045);
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.cinema-stage.is-strobe-jolt .stage-video.is-active {
  animation: strobeCameraJolt 0.34s ease-out;
}

@keyframes strobeCameraJolt {
  0% {
    transform: translate(0, 10px) scale(1.045);
  }
  20% {
    transform: translate(-3px, 6px) scale(1.06);
  }
  45% {
    transform: translate(4px, 12px) scale(1.05);
  }
  75% {
    transform: translate(-2px, 9px) scale(1.045);
  }
  100% {
    transform: translate(0, 10px) scale(1.045);
  }
}

.stage-strobe-flash {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 14;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    ellipse 84% 48% at 50% 14%,
    rgba(232, 246, 244, 0.56) 0%,
    rgba(190, 218, 216, 0.14) 55%,
    rgba(0, 0, 0, 0) 100%
  );
}

.cinema-stage.is-strobe-jolt .stage-strobe-flash {
  animation: strobeFlashPulse 0.36s ease-out;
}

@keyframes strobeFlashPulse {
  0% {
    opacity: 0;
  }
  18% {
    opacity: 0.95;
  }
  38% {
    opacity: 0.16;
  }
  58% {
    opacity: 0.78;
  }
  100% {
    opacity: 0;
  }
}

.stage-video {
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.stage-poster-fallback.is-still-motion {
  animation: stillCinemaDrift 8.5s ease-out forwards;
}

@keyframes stillCinemaDrift {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.055);
  }
}

/* 1.4s 半透明执法记录仪开机序幕（垫在已同步起播的实拍视频上方） */
.boot-curtain {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 18;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: calc(14px + var(--safe-top));
  padding-right: 18px;
  padding-bottom: calc(28px + var(--safe-bottom));
  padding-left: 18px;
  background: radial-gradient(circle at 50% 45%, rgba(7, 11, 12, 0.72) 0%, rgba(2, 3, 4, 0.86) 76%);
  opacity: 0;
  transition: opacity 0.42s ease;
  pointer-events: auto;
}

.boot-curtain.is-visible {
  opacity: 1;
}

.boot-curtain.is-fading-out {
  opacity: 0;
  pointer-events: none;
}

.boot-top-osd {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(176, 212, 206, 0.66);
  text-shadow: 0 0 10px rgba(143, 196, 189, 0.25);
  opacity: 0;
  animation: bootOsdIn 0.45s ease forwards;
  animation-delay: 0.15s;
}

@keyframes bootOsdIn {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.boot-center-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin-bottom: 18px;
}

.boot-subject {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.28em;
  padding-left: 0.28em;
  color: #edf2f0;
  text-shadow: 0 0 24px rgba(190, 214, 210, 0.18);
  opacity: 0;
  animation: bootLineIn 0.48s ease forwards;
  animation-delay: 0.25s;
}

.boot-directive {
  font-family: var(--font-serif);
  font-size: 12.5px;
  letter-spacing: 0.26em;
  padding-left: 0.26em;
  color: rgba(200, 214, 210, 0.66);
  opacity: 0;
  animation: bootLineIn 0.48s ease forwards;
  animation-delay: 0.55s;
}

@keyframes bootLineIn {
  from {
    opacity: 0;
    letter-spacing: 0.34em;
  }
  to {
    opacity: 1;
    letter-spacing: 0.26em;
  }
}

.boot-scan-spacer {
  height: 18px;
}

/* 实拍播放层 HUD：极克制、无框透明 */
.player-hud {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 12;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transition: opacity 0.42s ease;
}

.player-hud.is-visible {
  opacity: 1;
}

.player-topbar {
  padding-top: calc(12px + var(--safe-top));
  padding-right: 16px;
  padding-left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
}

.player-back-link {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: rgba(226, 234, 232, 0.74);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.95);
  padding: 4px 2px;
  transition: color 0.18s ease;
}

.player-back-link:hover,
.player-back-link:active {
  color: #ffffff;
}

.player-osd-right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--accent-cyan-osd);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.95);
}

.cam-rec-group.is-buffering .rec-dot {
  background-color: rgba(182, 214, 210, 0.85);
  box-shadow: 0 0 8px rgba(143, 196, 189, 0.65);
  animation: syncBlink 0.9s ease-in-out infinite;
}

.cam-rec-group.is-buffering .rec-label {
  color: rgba(182, 214, 210, 0.88);
  animation: syncBlink 0.9s ease-in-out infinite;
}

@keyframes syncBlink {
  0%, 100% {
    opacity: 0.92;
  }
  50% {
    opacity: 0.34;
  }
}

.player-mute-link {
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(182, 200, 196, 0.64);
  padding: 3px 2px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.95);
  transition: color 0.18s ease;
}

.player-mute-link:hover {
  color: #edf2f0;
}

/* 画面直点追踪热点层 */
.hotspot-layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 13;
  pointer-events: none;
}

.cinema-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  opacity: 0;
  transition: opacity 0.48s ease, transform 0.2s ease;
}

.cinema-hotspot.is-visible {
  opacity: 1;
}

.cinema-hotspot:active {
  transform: translate(-50%, -50%) scale(0.95);
}

/* 纯 CSS 细线追踪瞄准环（零矩形、零胶囊、零 SVG） */
.hotspot-reticle {
  position: relative;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.hotspot-reticle::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 50%;
  border: 1px solid rgba(235, 242, 240, 0.72);
  box-shadow:
    0 0 14px rgba(196, 224, 218, 0.35),
    inset 0 0 8px rgba(0, 0, 0, 0.6);
  animation: reticlePulse 2.4s ease-in-out infinite;
}

.hotspot-reticle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background-color: #f4f7f6;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.85);
}

.hotspot-cross-h,
.hotspot-cross-v {
  position: absolute;
  background-color: rgba(235, 242, 240, 0.58);
}

.hotspot-cross-h {
  top: 50%;
  left: -5px;
  right: -5px;
  height: 1px;
  transform: translateY(-50%);
  mask-image: linear-gradient(90deg, #000 0 26%, transparent 26% 74%, #000 74% 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0 26%, transparent 26% 74%, #000 74% 100%);
}

.hotspot-cross-v {
  left: 50%;
  top: -5px;
  bottom: -5px;
  width: 1px;
  transform: translateX(-50%);
  mask-image: linear-gradient(180deg, #000 0 26%, transparent 26% 74%, #000 74% 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0 26%, transparent 26% 74%, #000 74% 100%);
}

@keyframes reticlePulse {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

.cinema-hotspot:hover .hotspot-reticle::before {
  border-color: #ffffff;
  box-shadow: 0 0 18px rgba(226, 242, 238, 0.65);
}

.hotspot-tag {
  position: absolute;
  white-space: nowrap;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: #f1f5f4;
  text-shadow:
    0 1px 4px rgba(0, 0, 0, 0.98),
    0 0 14px rgba(0, 0, 0, 0.95),
    0 0 22px rgba(0, 0, 0, 0.85);
}

.cinema-hotspot.is-hold-hotspot .hotspot-reticle {
  width: 42px;
  height: 42px;
}

.hotspot-hold-arc {
  position: absolute;
  top: -5px;
  right: -5px;
  bottom: -5px;
  left: -5px;
  border-radius: 50%;
  background: conic-gradient(
    rgba(224, 72, 60, 0.96) calc(var(--hold-ratio, 0) * 360deg),
    rgba(255, 255, 255, 0.14) 0deg
  );
  -webkit-mask-image: radial-gradient(circle, transparent 62%, #000 64%);
  mask-image: radial-gradient(circle, transparent 62%, #000 64%);
  pointer-events: none;
}

.cinema-hotspot.is-hold-hotspot.is-holding .hotspot-reticle::before {
  border-color: rgba(255, 134, 122, 0.95);
  box-shadow: 0 0 22px rgba(216, 62, 52, 0.8);
}

.hotspot-hold-progress-txt {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(235, 198, 194, 0.88);
}

.cinema-hotspot[data-side="right"] .hotspot-tag {
  left: 54px;
  top: 50%;
  transform: translateY(-50%);
}

.cinema-hotspot[data-side="left"] .hotspot-tag {
  right: 54px;
  top: 50%;
  transform: translateY(-50%);
}

.cinema-hotspot[data-side="top"] .hotspot-tag {
  bottom: 52px;
  left: 50%;
  transform: translateX(-50%);
  padding-left: 0.22em;
}

.cinema-hotspot[data-side="bottom"] .hotspot-tag {
  top: 52px;
  left: 50%;
  transform: translateX(-50%);
  padding-left: 0.22em;
}

/* 电影底部无框衬线字幕 */
.player-subtitle-zone {
  padding-right: 22px;
  padding-left: 22px;
  padding-bottom: calc(28px + var(--safe-bottom));
  display: flex;
  justify-content: center;
  min-height: 76px;
}

.cinema-subtitle {
  margin: 0;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 14.5px;
  line-height: 1.7;
  letter-spacing: 0.1em;
  color: rgba(242, 246, 245, 0.94);
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.98),
    0 2px 12px rgba(0, 0, 0, 0.96),
    0 0 24px rgba(0, 0, 0, 0.92);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.cinema-subtitle.is-visible {
  opacity: 1;
}

/* 边缘红警脉冲（拍门求救触发） */
.stage-alert-vignette {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 14;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    ellipse 76% 64% at 50% 50%,
    rgba(190, 28, 22, 0) 45%,
    rgba(186, 28, 22, 0.52) 100%
  );
  transition: opacity 0.22s ease;
}

.stage-alert-vignette.is-crimson {
  opacity: 1;
  animation: crimsonAlertPulse 0.72s ease-in-out infinite;
}

@keyframes crimsonAlertPulse {
  0%, 100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.92;
  }
}

/* 过渡黑场转场层（仅在点击「走近三步」推镜定格时淡入淡出） */
.stage-transition-veil {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 16;
  pointer-events: none;
  background-color: #020304;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.stage-transition-veil.is-dark {
  opacity: 1;
}

.stage-transition-veil.is-instant {
  transition: none;
  opacity: 1;
}

/* 节点 02：强撑睁眼边缘血丝与暗角压迫 */
.blink-vein-vignette {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 14;
  pointer-events: none;
  opacity: var(--hold-intensity, 0);
  background:
    radial-gradient(
      ellipse 72% 58% at 50% 46%,
      rgba(140, 12, 12, 0) 36%,
      rgba(132, 14, 14, 0.34) 76%,
      rgba(6, 2, 2, 0.88) 100%
    );
  transition: opacity 0.14s linear;
}

/* 节点 02：全画幅无框按住强撑交互层（禁止系统长按菜单） */
.blink-hold-layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 15;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(74px + var(--safe-top));
  padding-right: 24px;
  padding-bottom: calc(32px + var(--safe-bottom));
  padding-left: 24px;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: none;
  cursor: pointer;
}

.blink-hold-layer[hidden] {
  display: none;
}

.blink-hold-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.blink-hold-status {
  width: 100%;
  max-width: 300px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.blink-hold-directive {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #f3f6f5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.98);
}

.blink-hold-layer.is-holding .blink-hold-directive {
  color: #ffdad6;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.98),
    0 0 16px rgba(200, 51, 41, 0.65);
}

.blink-hold-timer {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(235, 198, 194, 0.86);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.98);
}

.blink-progress-track {
  width: 100%;
  max-width: 300px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.blink-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, rgba(190, 42, 34, 0.85) 0%, rgba(255, 118, 102, 0.98) 100%);
  box-shadow: 0 0 12px rgba(224, 58, 46, 0.85);
}

.blink-hold-sub {
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.22em;
  padding-left: 0.22em;
  color: rgba(206, 216, 214, 0.66);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.98);
}

/* 第二章节点 02：按住下压潜行压迫遮罩与触控层 */
.lookdown-pressure-vignette {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 14;
  pointer-events: none;
  opacity: var(--lookdown-depth, 0);
  background:
    linear-gradient(
      to bottom,
      rgba(2, 3, 4, 0.96) 0%,
      rgba(2, 3, 4, 0.78) 38%,
      rgba(2, 3, 4, 0.18) 66%,
      rgba(2, 3, 4, 0.04) 100%
    );
  transition: opacity 0.18s linear;
}

.cinema-stage.is-headup-warning .lookdown-pressure-vignette {
  opacity: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(176, 22, 18, 0.76) 0%,
      rgba(130, 14, 12, 0.34) 36%,
      rgba(2, 3, 4, 0.14) 70%,
      rgba(2, 3, 4, 0.4) 100%
    );
}

.lookdown-layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 15;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  padding-top: calc(74px + var(--safe-top));
  padding-right: 24px;
  padding-bottom: calc(108px + var(--safe-bottom));
  padding-left: 24px;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: none;
  cursor: ns-resize;
}

.lookdown-layer[hidden] {
  display: none;
}

.lookdown-guide-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
  opacity: 0.72;
  animation: lookdownNudge 1.6s ease-in-out infinite;
}

.lookdown-layer.is-holding .lookdown-guide-cue {
  opacity: 0.25;
}

.lookdown-chevron {
  width: 12px;
  height: 12px;
  border-right: 1px solid rgba(196, 224, 218, 0.82);
  border-bottom: 1px solid rgba(196, 224, 218, 0.82);
  transform: rotate(45deg);
}

@keyframes lookdownNudge {
  0%, 100% {
    transform: translateY(-2px);
    opacity: 0.45;
  }
  50% {
    transform: translateY(6px);
    opacity: 0.92;
  }
}

.lookdown-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, rgba(132, 198, 190, 0.85) 0%, rgba(212, 242, 236, 0.98) 100%);
  box-shadow: 0 0 12px rgba(154, 218, 210, 0.75);
}

.lookdown-layer.is-holding .blink-hold-directive {
  color: #d6f2ec;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.98),
    0 0 16px rgba(143, 196, 189, 0.55);
}

.lookdown-layer.is-warning .blink-hold-directive,
.lookdown-layer.is-warning .blink-hold-sub {
  color: #ff8c82;
  text-shadow: 0 0 14px rgba(216, 48, 40, 0.85);
}

.lookdown-layer.is-warning .lookdown-progress-fill {
  background: linear-gradient(90deg, #d8362a 0%, #ff766a 100%);
  box-shadow: 0 0 14px rgba(224, 58, 46, 0.9);
}

.stage-osd-toast {
  position: absolute;
  top: calc(50px + var(--safe-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  white-space: nowrap;
  color: rgba(188, 234, 224, 0.92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.96), 0 0 14px rgba(143, 196, 189, 0.45);
}

/* 节点 03：顶部极细红警倒计时线（贴顶位于 topbar 正下方） */
.alert-countdown-zone {
  position: absolute;
  top: calc(44px + var(--safe-top));
  left: 0;
  right: 0;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  pointer-events: none;
}

.alert-countdown-zone[hidden] {
  display: none;
}

.alert-countdown-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(236, 134, 124, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.98);
}

.alert-countdown-track {
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.alert-countdown-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #ff5d50 0%, #b8231a 100%);
  box-shadow: 0 0 10px rgba(224, 58, 46, 0.8);
}

/* M2 结局卷宗收束页（全画幅电影感，涂黑撕裂揭示 + 1 秒倒带） */
.ending-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 19;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.ending-overlay[hidden] {
  display: none;
}

.ending-overlay.is-visible {
  opacity: 1;
}

.ending-scrim {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(2, 3, 4, 0.42) 0%,
    rgba(2, 3, 4, 0.08) 38%,
    rgba(2, 3, 4, 0.78) 68%,
    rgba(2, 3, 4, 0.97) 100%
  );
}

.ending-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 26px 24px calc(32px + var(--safe-bottom));
  gap: 12px;
}

.ending-redacted {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: rgba(224, 92, 82, 0.9);
  padding: 2px 10px;
  background: linear-gradient(90deg, rgba(16, 18, 20, 0.9) 0%, rgba(16, 18, 20, 0.9) 100%);
  text-decoration: line-through;
  animation: redactedTear 0.7s ease forwards;
}

@keyframes redactedTear {
  0% {
    background-color: rgba(12, 14, 15, 0.98);
    color: rgba(12, 14, 15, 0.98);
    letter-spacing: 0.4em;
  }
  55% {
    background-color: rgba(120, 22, 18, 0.32);
    color: rgba(244, 198, 194, 0.95);
  }
  100% {
    background: transparent;
    color: rgba(220, 96, 86, 0.92);
    letter-spacing: 0.24em;
    text-decoration: none;
  }
}

.ending-kicker {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.22em;
  padding-left: 0.22em;
  color: #f3f7f6;
  text-shadow:
    0 2px 14px rgba(0, 0, 0, 0.98),
    0 0 20px rgba(200, 51, 41, 0.35);
}

.ending-dossier {
  font-family: var(--font-serif);
  font-size: 13.5px;
  line-height: 1.75;
  letter-spacing: 0.1em;
  color: rgba(214, 222, 220, 0.84);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.98);
  max-width: 330px;
}

.ending-keyitem {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #bfe8e0;
  text-shadow: 0 0 12px rgba(143, 196, 189, 0.55);
}

.ending-action-nextch {
  position: relative;
  margin-top: 8px;
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  padding: 8px 10px 11px calc(10px + 0.22em);
  color: #d6f4ee;
  text-shadow:
    0 2px 14px rgba(0, 0, 0, 0.98),
    0 0 18px rgba(143, 196, 189, 0.48);
  transition: color 0.18s ease, transform 0.14s ease;
}

.ending-action-nextch::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 210px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(143, 196, 189, 0) 0%,
    rgba(182, 232, 224, 0.94) 50%,
    rgba(143, 196, 189, 0) 100%
  );
  box-shadow: 0 0 14px rgba(164, 218, 210, 0.76);
}

.ending-action-nextch:hover {
  color: #ffffff;
}

.ending-action-nextch:active {
  transform: scale(0.97);
}

.ending-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 26px;
}

.ending-action-primary {
  position: relative;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.22em;
  padding: 6px 4px 10px calc(4px + 0.22em);
  color: #f4f8f7;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.98);
  transition: color 0.18s ease, transform 0.14s ease;
}

.ending-action-primary::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(200, 51, 41, 0) 0%,
    rgba(200, 51, 41, 0.92) 50%,
    rgba(200, 51, 41, 0) 100%
  );
  box-shadow: 0 0 12px rgba(200, 51, 41, 0.72);
}

.ending-action-secondary {
  font-family: var(--font-serif);
  font-size: 13.5px;
  letter-spacing: 0.18em;
  padding: 6px 4px 10px calc(4px + 0.18em);
  color: rgba(200, 214, 211, 0.76);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.98);
  transition: color 0.18s ease, transform 0.14s ease;
}

.ending-action-primary:hover,
.ending-action-secondary:hover {
  color: #ffffff;
}

.ending-action-primary:active,
.ending-action-secondary:active {
  transform: scale(0.96);
}

/* M2 衔接预告收束页（全画幅电影感，无框衬线） */
.teaser-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 19;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: rgba(2, 3, 4, 0.9);
  opacity: 0;
  transition: opacity 0.52s ease;
}

.teaser-overlay.is-visible {
  opacity: 1;
}

.teaser-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  animation: stareSlowBreath 9s ease-in-out infinite alternate;
}

@keyframes stareSlowBreath {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

.teaser-scrim {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 80% 56% at 50% 42%,
      rgba(2, 3, 4, 0.04) 36%,
      rgba(2, 3, 4, 0.72) 86%,
      rgba(2, 3, 4, 0.96) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(2, 3, 4, 0.64) 0%,
      rgba(2, 3, 4, 0) 24%,
      rgba(2, 3, 4, 0) 56%,
      rgba(2, 3, 4, 0.88) 80%,
      rgba(2, 3, 4, 0.98) 100%
    );
}

.teaser-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 24px calc(32px + var(--safe-bottom));
  gap: 14px;
}

.teaser-overlay.is-centered .teaser-content {
  flex: 1;
  justify-content: center;
}

.teaser-kicker {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.22em;
  padding-left: 0.22em;
  color: #eff3f2;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.98),
    0 0 18px rgba(200, 51, 41, 0.4);
}

.teaser-sub {
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 1.75;
  letter-spacing: 0.12em;
  color: rgba(208, 218, 216, 0.78);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.98);
  max-width: 320px;
}

.teaser-actions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.teaser-action-primary {
  position: relative;
  font-family: var(--font-serif);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  padding: 6px 4px 10px calc(4px + 0.24em);
  color: #f3f6f5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.98);
  transition: color 0.18s ease, transform 0.14s ease;
}

.teaser-action-primary::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(200, 51, 41, 0) 0%,
    rgba(200, 51, 41, 0.85) 50%,
    rgba(200, 51, 41, 0) 100%
  );
  box-shadow: 0 0 12px rgba(200, 51, 41, 0.65);
}

.teaser-action-secondary {
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.22em;
  padding: 6px 4px 10px calc(4px + 0.22em);
  color: rgba(196, 210, 207, 0.72);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.98);
  transition: color 0.18s ease, transform 0.14s ease;
}

.teaser-action-primary:hover,
.teaser-action-secondary:hover {
  color: #ffffff;
}

.teaser-action-primary:active,
.teaser-action-secondary:active {
  transform: scale(0.96);
}
