:root {
  --scroll: 0;
  --mx: 50vw;
  --my: 50vh;
  --flashlight-opacity: 0;
  --vignette-strength: 0;

  /* 阶段 1 色彩：北欧极简冰川白 */
  --bg-surface: #f7fbfc;
  --ink-primary: #0f1c24;
  --ink-muted: #526570;
  --accent-pure: #0b6e8f;
  --accent-soft: #e1f1f6;

  /* 恐怖阶段色彩 */
  --horror-bg: #050708;
  --horror-crimson: #9e141c;
  --horror-sickly: #7ea092;
  --horror-bone: #d4d8d4;
}

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

html {
  scroll-behavior: auto;
  background: var(--bg-surface);
  color: var(--ink-primary);
  font-family: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
  background: linear-gradient(
    180deg,
    #f7fbfc 0%,
    #f2f7f9 14%,
    #e5ecef 26%,
    #c6d0d1 36%,
    #242e30 46%,
    #111719 56%,
    #060809 70%,
    #020304 100%
  );
  transition: filter 0.3s ease;
}

/* ==================== 全局叠加层 ==================== */
#grain-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 60;
  opacity: 0;
  mix-blend-mode: overlay;
}

#vignette-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 55;
  opacity: var(--vignette-strength);
  background: radial-gradient(
    circle at 50% 50%,
    transparent 32%,
    rgba(2, 4, 5, 0.72) 78%,
    rgba(0, 0, 0, 0.96) 100%
  );
  transition: opacity 0.25s linear;
}

#flashlight-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 52;
  opacity: var(--flashlight-opacity);
  background: radial-gradient(
    circle 340px at var(--mx) var(--my),
    rgba(225, 240, 234, 0.12) 0%,
    rgba(10, 14, 15, 0.36) 52%,
    rgba(2, 3, 4, 0.88) 84%,
    rgba(0, 0, 0, 0.96) 100%
  );
  transition: opacity 0.4s ease;
}

#flashlight-layer.flicker-dim {
  background: radial-gradient(
    circle 150px at var(--mx) var(--my),
    rgba(190, 210, 200, 0.02) 0%,
    rgba(3, 5, 6, 0.85) 55%,
    rgba(0, 0, 0, 0.995) 100%
  );
}

#strobe-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 95;
  opacity: 0;
  background: #ffffff;
}

#strobe-overlay.flash-white {
  animation: cinemaFlashWhite 0.26s ease-out forwards;
}

#strobe-overlay.flash-red {
  background: rgba(158, 12, 20, 0.78);
  animation: cinemaFlashRed 0.45s ease-out forwards;
}

#strobe-overlay.flash-blackout {
  background: #000000;
  opacity: 1;
  transition: opacity 0.12s ease;
}

@keyframes cinemaFlashWhite {
  0% { opacity: 0.92; }
  30% { opacity: 0.15; }
  55% { opacity: 0.78; }
  100% { opacity: 0; }
}

@keyframes cinemaFlashRed {
  0% { opacity: 0.85; }
  40% { opacity: 0.2; }
  70% { opacity: 0.55; }
  100% { opacity: 0; }
}

#backscroll-taunt {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 92;
  opacity: 0;
  background: rgba(3, 4, 5, 0.88);
  transition: opacity 0.18s ease;
}

#backscroll-taunt.active {
  opacity: 1;
}

#backscroll-taunt span {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.5rem, 4vw, 3.2rem);
  letter-spacing: 0.28em;
  color: #e6d8d8;
  text-shadow: 0 0 28px rgba(175, 18, 28, 0.85), -3px 0 rgba(180, 15, 25, 0.8), 3px 0 rgba(50, 180, 190, 0.5);
  text-align: center;
  padding: 0 24px;
}

/* 屏幕震动类 */
body.screen-shake {
  animation: violentShake 0.42s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

body.chromatic-split {
  filter: contrast(1.35) saturate(1.4);
}

@keyframes violentShake {
  0%, 100% { transform: translate3d(0, 0, 0); }
  12% { transform: translate3d(-10px, -6px, 0) rotate(-0.8deg); }
  25% { transform: translate3d(12px, 8px, 0) rotate(0.9deg); }
  38% { transform: translate3d(-14px, 4px, 0) rotate(-0.6deg); }
  52% { transform: translate3d(9px, -9px, 0) rotate(0.7deg); }
  68% { transform: translate3d(-8px, 6px, 0) rotate(-0.4deg); }
  84% { transform: translate3d(5px, -3px, 0); }
}

/* ==================== 导航栏 ==================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  backdrop-filter: blur(14px);
  background: rgba(247, 251, 252, 0.84);
  border-bottom: 1px solid rgba(15, 28, 36, 0.08);
  color: #0f1c24;
  transition: background 0.6s ease, color 0.6s ease, border-color 0.6s ease, transform 0.4s ease;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 70px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.brand-mark .drop-pupil {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.3s ease;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: inherit;
  font-size: 0.88rem;
  opacity: 0.78;
  transition: opacity 0.2s ease, letter-spacing 0.4s ease;
}

.nav-link:hover {
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(11, 110, 143, 0.24);
  background: rgba(11, 110, 143, 0.06);
  color: inherit;
  font-size: 0.8rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
}

.audio-btn:hover {
  background: rgba(11, 110, 143, 0.14);
}

.audio-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8aa3ad;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.audio-btn[aria-pressed="true"] .audio-dot {
  background: #0fa3b1;
  box-shadow: 0 0 8px rgba(15, 163, 177, 0.75);
}

.nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: #0f1c24;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: #0b6e8f;
}

.nav-drip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 18px;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(6px 14px at 14% 0, rgba(8, 12, 13, 0.95) 60%, transparent 100%),
    radial-gradient(4px 18px at 38% 0, rgba(12, 16, 17, 0.95) 60%, transparent 100%),
    radial-gradient(7px 15px at 72% 0, rgba(9, 12, 14, 0.95) 60%, transparent 100%),
    radial-gradient(5px 12px at 88% 0, rgba(120, 14, 20, 0.75) 60%, transparent 100%);
  transition: opacity 0.8s ease;
}

/* 导航栏随阶段黑化 */
body[data-stage="3"] .site-nav {
  background: rgba(18, 24, 26, 0.88);
  color: #b8c9c4;
  border-bottom-color: rgba(126, 160, 146, 0.18);
}

body[data-stage="3"] .brand-mark .drop-pupil,
body[data-stage="4"] .brand-mark .drop-pupil,
body[data-stage="5"] .brand-mark .drop-pupil {
  opacity: 1;
}

body[data-stage="3"] .nav-cta {
  background: #233336;
  color: #cfe0da;
  border: 1px solid rgba(126, 160, 146, 0.28);
}

body[data-stage="4"] .site-nav,
body[data-stage="5"] .site-nav {
  background: rgba(5, 7, 8, 0.9);
  color: #a6b0ab;
  border-bottom-color: rgba(158, 20, 28, 0.35);
}

body[data-stage="4"] .nav-drip,
body[data-stage="5"] .nav-drip {
  opacity: 1;
}

body[data-stage="4"] .nav-cta,
body[data-stage="5"] .nav-cta {
  background: rgba(140, 14, 22, 0.85);
  color: #f3dede;
  border: 1px solid rgba(255, 70, 80, 0.35);
}

body[data-stage="4"] .audio-btn[aria-pressed="true"] .audio-dot,
body[data-stage="5"] .audio-btn[aria-pressed="true"] .audio-dot {
  background: #d62430;
  box-shadow: 0 0 10px rgba(214, 36, 48, 0.9);
}

body[data-stage="6"] .site-nav {
  background: rgba(4, 6, 7, 0.88);
  color: #cf5159;
  border-bottom-color: rgba(178, 28, 36, 0.45);
}

body[data-stage="6"] .nav-links {
  opacity: 0.62;
  filter: none;
}

/* ==================== 右下角紧凑深度遥测计（不遮挡正文卡片） ==================== */
.depth-gauge {
  position: fixed;
  right: 20px;
  bottom: 22px;
  top: auto;
  transform: none;
  z-index: 65;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(247, 251, 252, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(15, 28, 36, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, color 0.5s ease, background 0.5s ease, border-color 0.5s ease;
  color: #364b56;
  font-family: "JetBrains Mono", monospace;
}

.depth-gauge.visible {
  opacity: 1;
}

.depth-label {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.82;
}

.depth-value {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.depth-track {
  width: 96px;
  height: 4px;
  background: rgba(120, 140, 150, 0.24);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.depth-fill {
  width: 0%;
  height: 100%;
  background: #0b6e8f;
  transition: background 0.4s ease;
}

.depth-temp {
  font-size: 0.72rem;
  opacity: 0.88;
}

body[data-stage="3"] .depth-gauge {
  background: rgba(10, 15, 17, 0.86);
  border-color: rgba(114, 158, 144, 0.3);
  color: #9ac9ba;
}
body[data-stage="3"] .depth-fill { background: #66b599; }

body[data-stage="4"] .depth-gauge {
  background: rgba(8, 10, 11, 0.9);
  border-color: rgba(178, 34, 42, 0.38);
  color: #d6858a;
}
body[data-stage="4"] .depth-fill { background: #b8242d; }

body[data-stage="5"] .depth-gauge,
body[data-stage="6"] .depth-gauge {
  background: rgba(6, 4, 5, 0.9);
  border-color: rgba(215, 42, 52, 0.5);
  color: #ef4d56;
  text-shadow: 0 0 12px rgba(224, 50, 60, 0.55);
}
body[data-stage="5"] .depth-fill,
body[data-stage="6"] .depth-fill { background: #ef4d56; }

/* ==================== 通用容器 ==================== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.act {
  position: relative;
}

/* ==================== 第一幕：明亮奢华营销 Hero ==================== */
.act-hero {
  padding: 136px 0 92px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 56px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #e6f4f8;
  color: #0b5d7a;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0b8db8;
  box-shadow: 0 0 0 4px rgba(11, 141, 184, 0.18);
}

.hero-title {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0c1b24;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #4f6470;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: #0f1c24;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  box-shadow: 0 12px 30px rgba(15, 28, 36, 0.14);
  transition: transform 0.2s ease, background 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #0b6e8f;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid rgba(15, 28, 36, 0.16);
  color: #0f1c24;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.25s ease;
}

.btn-ghost:hover {
  background: rgba(15, 28, 36, 0.05);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: #6b7f8a;
}

.hero-image-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #eaf4f7;
  box-shadow: 0 28px 70px rgba(14, 58, 77, 0.12);
  aspect-ratio: 4 / 3;
}

.hero-bottle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 1.2s ease, transform 0.8s ease;
}

.hero-caustics {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.28) 0%, transparent 45%, rgba(11, 110, 143, 0.08) 100%);
}

.hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 8px 24px rgba(15, 28, 36, 0.08);
}

.badge-top {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: #5b7280;
  font-weight: 600;
}

.badge-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.15rem;
  color: #0b5d7a;
}

.metrics-bar {
  margin-top: 76px;
  padding: 28px 34px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 28, 36, 0.07);
  box-shadow: 0 14px 40px rgba(14, 48, 64, 0.05);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-value {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.55rem;
  font-weight: 600;
  color: #0c1b24;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.84rem;
  color: #5d707b;
}

/* ==================== 第二幕：裂痕与细思极恐 ==================== */
.act-features {
  padding: 120px 0 90px;
}

.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 60px;
}

.section-eyebrow {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  color: #0b6e8f;
  margin-bottom: 12px;
}

.section-title {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  color: #102029;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: #4b5d66;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  position: relative;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(15, 28, 36, 0.08);
  border-radius: 22px;
  padding: 34px 30px;
  box-shadow: 0 12px 34px rgba(15, 34, 44, 0.05);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #e5f3f7;
  color: #0b6e8f;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.feature-card h3 {
  font-size: 1.18rem;
  color: #102029;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.94rem;
  line-height: 1.8;
  color: #4f6069;
}

/* 第三张卡片开始渗出潮湿与不祥感 */
.feature-card-uncanny {
  background: linear-gradient(160deg, rgba(240, 244, 243, 0.92), rgba(215, 224, 222, 0.92));
  border-color: rgba(40, 62, 58, 0.18);
  transform: rotate(-0.45deg);
}

.feature-card-uncanny .feature-icon {
  background: rgba(65, 92, 86, 0.16);
  color: #3a524d;
}

.damp-stain {
  position: absolute;
  top: -35px;
  right: -35px;
  width: 170px;
  height: 170px;
  border-radius: 44% 56% 62% 38% / 48% 42% 58% 52%;
  background: radial-gradient(circle, rgba(35, 52, 48, 0.22) 0%, rgba(35, 52, 48, 0.07) 58%, transparent 74%);
  filter: blur(8px);
  pointer-events: none;
}

.tiny-warning {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(30, 48, 45, 0.2);
  font-size: 0.78rem !important;
  line-height: 1.65 !important;
  color: #5c4649 !important;
  font-style: italic;
}

/* 评价板块 */
.act-testimonials {
  padding: 90px 0 150px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 28, 36, 0.08);
  transition: transform 0.4s ease, filter 0.4s ease, background 0.5s ease;
}

.stars {
  color: #0b84a8;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.quote-text {
  font-size: 0.95rem;
  line-height: 1.85;
  color: #24353d;
  margin-bottom: 26px;
}

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

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.avatar-initials {
  background: #2f4348;
  color: #d6e2e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.reviewer strong {
  display: block;
  font-size: 0.94rem;
  color: #102029;
}

.reviewer span {
  font-size: 0.78rem;
  color: #60727a;
}

.testimonial-odd {
  background: rgba(232, 238, 237, 0.85);
  border-color: rgba(34, 52, 52, 0.16);
}

.testimonial-odd .stars {
  color: #466963;
}

.testimonial-creepy {
  background: linear-gradient(170deg, rgba(212, 219, 217, 0.92), rgba(164, 174, 172, 0.9));
  border-color: rgba(110, 28, 34, 0.28);
  transform: rotate(0.75deg);
  box-shadow: 0 16px 40px rgba(10, 18, 18, 0.16);
}

.testimonial-creepy .stars-red {
  color: #7d252a;
}

.testimonial-creepy .extra-star {
  display: inline-block;
  color: #a6141d;
  animation: subtleTwitch 3.4s infinite;
}

.testimonial-creepy:hover .avatar-uncanny {
  transform: scale(1.22);
  filter: contrast(1.4) brightness(0.84) saturate(0.5);
}

.avatar-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(110, 26, 32, 0.45);
  flex-shrink: 0;
}

.avatar-uncanny {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease, filter 0.6s ease;
}

@keyframes subtleTwitch {
  0%, 92%, 100% { transform: translate(0, 0); opacity: 0.9; }
  94% { transform: translate(2px, -1px); opacity: 0.3; }
  96% { transform: translate(-2px, 1px); opacity: 1; }
  98% { transform: translate(1px, 0); opacity: 0.6; }
}

/* ==================== 第三幕：失控的水源遥测面板 ==================== */
.act-monitor {
  padding: 130px 0 160px;
  color: #d2e0db;
  background: linear-gradient(180deg, rgba(17, 24, 26, 0) 0%, rgba(14, 20, 22, 0.94) 9%, #0d1315 88%, #050708 100%);
}

.monitor-header {
  max-width: 720px;
  margin-bottom: 44px;
}

.monitor-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(126, 160, 146, 0.16);
  border: 1px solid rgba(126, 160, 146, 0.34);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #9cd6c1;
  margin-bottom: 18px;
}

.blink-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e0363e;
  box-shadow: 0 0 10px #e0363e;
  animation: recBlink 1.1s steps(2) infinite;
}

@keyframes recBlink {
  0% { opacity: 1; }
  50% { opacity: 0.15; }
}

.monitor-title {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  color: #eef6f3;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
  margin-bottom: 12px;
}

.monitor-sub {
  font-size: 0.96rem;
  color: #a8bdb6;
  line-height: 1.75;
}

.redacted-inline {
  color: #d6454d;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.86rem;
}

.dashboard-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 24px;
  padding: 24px;
  border-radius: 14px;
  background: rgba(12, 18, 20, 0.9);
  border: 1px solid rgba(114, 148, 138, 0.2);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
  transform: rotate(-0.55deg);
  transition: transform 0.6s ease, border-color 0.6s ease;
}

.dashboard-shell.degraded {
  border-color: rgba(176, 28, 36, 0.45);
  transform: rotate(-1.05deg);
}

.dashboard-drip-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 14px;
  background:
    radial-gradient(240px 180px at 12% 0%, rgba(4, 7, 8, 0.65), transparent 70%),
    radial-gradient(280px 220px at 88% 100%, rgba(108, 10, 16, 0.24), transparent 72%);
}

.panel {
  background: rgba(7, 11, 13, 0.92);
  border: 1px solid rgba(110, 142, 132, 0.18);
  border-radius: 10px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  color: #7c968e;
}

.rec-indicator {
  color: #e0464e;
  font-weight: 600;
}

.cctv-viewport {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #020405;
  border: 1px solid rgba(126, 160, 146, 0.22);
}

.cctv-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.18) saturate(0.75) brightness(0.86);
  transform: scale(1.03);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.cctv-viewport.glitch-burst .cctv-img {
  transform: scale(1.22) translate(-1%, 2%);
  filter: contrast(1.65) brightness(1.15) hue-rotate(-25deg);
}

.cctv-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.34) 0px,
    rgba(0, 0, 0, 0.34) 1px,
    transparent 1px,
    transparent 3px
  );
}

.cctv-glitch-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 14%;
  top: -20%;
  background: rgba(160, 220, 200, 0.14);
  backdrop-filter: hue-rotate(45deg);
  animation: vhsSweep 6.5s linear infinite;
  pointer-events: none;
}

@keyframes vhsSweep {
  0% { top: -20%; opacity: 0; }
  8% { opacity: 0.7; }
  22% { top: 110%; opacity: 0; }
  100% { top: 110%; opacity: 0; }
}

.cctv-hud {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  display: flex;
  justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: rgba(212, 240, 228, 0.85);
  text-shadow: 0 1px 6px #000;
}

.hud-warn {
  color: #ff4d57;
  animation: recBlink 0.9s steps(2) infinite;
}

.cctv-caption {
  font-size: 0.84rem;
  line-height: 1.65;
  color: #9bb0a9;
}

#sonar-canvas {
  width: 100%;
  height: 132px;
  border-radius: 6px;
  background: #030707;
  border: 1px solid rgba(90, 140, 122, 0.2);
}

.mono-bpm {
  color: #e05259;
  font-weight: 700;
}

.console-feed {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  line-height: 1.55;
  color: #7c978f;
  max-height: 120px;
  overflow: hidden;
}

.log-warn { color: #d1aa62; }
.log-danger { color: #e2535b; }

.danger-text {
  color: #e2535b;
  font-weight: 700;
}

.chem-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.chem-table td {
  padding: 9px 6px;
  border-bottom: 1px solid rgba(110, 140, 130, 0.14);
}

.chem-table .mono {
  font-family: "JetBrains Mono", monospace;
}

.status-ok { color: #67b296; text-align: right; }
.status-bad { color: #e0464e; text-align: right; font-weight: 600; }

.redact-reveal {
  cursor: pointer;
  position: relative;
}

.redact-reveal span {
  display: inline-block;
  background: #020303;
  color: #5d6966;
  padding: 2px 6px;
  border: 1px solid rgba(200, 40, 50, 0.35);
}

.redact-reveal em {
  display: none;
  font-style: normal;
  color: #ff5d67;
  font-weight: 600;
}

.redact-reveal:hover span,
.redact-reveal:focus span {
  display: none;
}

.redact-reveal:hover em,
.redact-reveal:focus em {
  display: inline;
}

/* ==================== 第四幕：黑暗封存档案 + 墙面涂鸦 ==================== */
.act-logs {
  padding: 170px 0 210px;
  color: #c2c8c4;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, rgba(16, 22, 23, 0.45), rgba(3, 4, 5, 0.96) 75%);
}

/* 墙面暗语：分布在文档四周留白处，手电筒扫过清晰显形 */
.wall-graffiti {
  position: absolute;
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(196, 30, 40, 0.42);
  pointer-events: none;
  user-select: none;
  text-shadow: 0 0 18px rgba(155, 14, 22, 0.55);
  z-index: 6;
}

.graffiti-1 { top: 4.5%; right: 7%; font-size: clamp(1.3rem, 2.6vw, 2.1rem); transform: rotate(4deg); }
.graffiti-2 { top: 14%; right: 5%; font-size: clamp(1rem, 1.9vw, 1.5rem); transform: rotate(-3deg); color: rgba(185, 36, 44, 0.34); }
.graffiti-3 { bottom: 26%; left: 3%; font-size: clamp(1.2rem, 2.2vw, 1.8rem); transform: rotate(-4deg); }
.graffiti-4 { bottom: 25%; right: 4%; font-size: clamp(1.05rem, 1.9vw, 1.55rem); transform: rotate(3deg); }
.graffiti-5 { bottom: 4.5%; left: 50%; transform: translateX(-50%); font-size: clamp(1.7rem, 3.6vw, 2.9rem); color: rgba(210, 32, 42, 0.48); white-space: nowrap; }

.logs-container {
  position: relative;
  z-index: 5;
}

.logs-intro {
  max-width: 680px;
  margin-bottom: 64px;
}

.classified-stamp {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: #c9323b;
  border: 1.5px solid rgba(201, 50, 59, 0.55);
  padding: 5px 12px;
  margin-bottom: 18px;
  transform: rotate(-1.5deg);
}

.logs-title {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: #d6dcd8;
  margin-bottom: 12px;
}

.logs-hint {
  font-size: 0.94rem;
  color: #79837e;
}

.dossier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 68px;
}

.dossier-paper {
  position: relative;
  background: linear-gradient(165deg, #131717, #0b0e0f);
  border: 1px solid rgba(155, 168, 162, 0.14);
  padding: 30px 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
}

.paper-tilt-1 { transform: rotate(-1.2deg); }
.paper-tilt-2 { transform: rotate(0.9deg) translateY(16px); }
.paper-tilt-3 { transform: rotate(-0.8deg) translateY(-8px); }

.paper-blood {
  border-color: rgba(162, 22, 30, 0.42);
  background: linear-gradient(165deg, #190d0f, #090607);
}

.paper-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: #7c8882;
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1px dashed rgba(140, 154, 148, 0.22);
}

.dossier-paper h3 {
  font-family: "Noto Serif SC", serif;
  font-size: 1.2rem;
  color: #dde2de;
  margin-bottom: 14px;
}

.dossier-paper p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: #9ba5a0;
  margin-bottom: 12px;
}

.scrawled-last {
  margin-top: 16px;
  font-family: "Noto Serif SC", serif;
  font-size: 1.04rem !important;
  color: #dc3a44 !important;
  letter-spacing: 0.08em;
  text-shadow: 0 0 14px rgba(210, 26, 38, 0.5);
}

/* 证据磁带 */
.evidence-tape {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 32px;
  background: rgba(11, 14, 15, 0.94);
  border: 1px solid rgba(165, 34, 42, 0.35);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.85);
}

.tape-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  color: #c64149;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.evidence-tape h4 {
  font-size: 1.1rem;
  color: #d7deda;
  margin-bottom: 10px;
}

.tape-transcript {
  font-family: "Noto Serif SC", serif;
  font-size: 0.95rem;
  color: #95a49e;
  min-height: 1.6em;
}

.tape-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: rgba(140, 18, 26, 0.22);
  border: 1px solid rgba(206, 46, 56, 0.6);
  color: #f0d7d8;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.86rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.tape-btn:hover {
  background: rgba(166, 20, 30, 0.48);
  box-shadow: 0 0 24px rgba(186, 24, 34, 0.4);
}

/* ==================== 第五幕：井壁收窄坠落 ==================== */
.act-descent {
  position: relative;
  min-height: 145vh;
  background: radial-gradient(ellipse 46% 65% at 50% 50%, #101718 0%, #050809 55%, #010202 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shaft-wall {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 34vw;
  background: linear-gradient(90deg, #000000 58%, #11181a 92%, #243033 100%);
  border-right: 1px solid rgba(110, 140, 134, 0.16);
  z-index: 4;
  pointer-events: none;
  transition: transform 0.12s linear;
}

.shaft-left {
  left: -30vw;
  box-shadow: 24px 0 80px rgba(0, 0, 0, 0.95);
}

.shaft-right {
  right: -30vw;
  background: linear-gradient(-90deg, #000000 58%, #11181a 92%, #243033 100%);
  border-right: none;
  border-left: 1px solid rgba(110, 140, 134, 0.16);
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.95);
}

.descent-stage {
  position: relative;
  z-index: 6;
  width: 100%;
  max-width: 720px;
  padding: 120px 28px;
  display: flex;
  flex-direction: column;
  gap: 28vh;
  text-align: center;
}

.wreck-tag {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: #e6454e;
  text-shadow: 0 0 14px rgba(220, 36, 46, 0.55);
  margin-bottom: 18px;
}

.whisper-line {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  color: #e0e8e4;
  letter-spacing: 0.16em;
  text-shadow: 0 0 28px rgba(0, 0, 0, 0.95), 0 0 18px rgba(170, 210, 200, 0.22);
}

.whisper-red {
  color: #ef4953;
  text-shadow: 0 0 28px rgba(215, 28, 38, 0.72);
}

.whisper-large {
  font-size: clamp(1.85rem, 4.2vw, 3.1rem);
  color: #f0f4f2;
}

.whisper-sub {
  margin-top: 16px;
  font-size: 0.98rem;
  letter-spacing: 0.24em;
  color: #a6b4ae;
}

.corrupted-ui-shard {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 26px 34px;
  margin-bottom: 24px;
  background: rgba(20, 26, 28, 0.92);
  border: 1px dashed rgba(216, 48, 58, 0.6);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.85);
  transform: rotate(-3.2deg);
}

.shard-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: #95b5ab;
  text-decoration: line-through;
}

.broken-sub-btn {
  padding: 12px 26px;
  border-radius: 999px;
  background: #1d2428;
  color: #ece3e3;
  border: 1px solid rgba(220, 54, 64, 0.72);
  font-family: inherit;
  font-size: 0.94rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.broken-sub-btn:hover {
  background: #7c0e16;
  color: #ffffff;
  transform: skewX(-8deg) scale(1.04);
}

/* ==================== 第六幕：-4,200m 井底恐怖片高潮 ==================== */
.act-abyss {
  position: relative;
  min-height: 175vh;
  background: #000000;
}

.abyss-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.abyss-visual-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.abyss-entity-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  filter: none;
  transition: opacity 0.45s ease, filter 0.35s ease;
  will-change: transform, opacity, filter;
}

.abyss-entity-img.revealed {
  opacity: 1;
  filter: contrast(1.12);
}

.abyss-entity-img.lunge {
  opacity: 1 !important;
  transform: scale(1.16) !important;
  filter: brightness(1.15) contrast(1.45) saturate(1.2) !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.15s ease !important;
}

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

.abyss-red-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  background: radial-gradient(
    circle at 50% 50%,
    transparent 24%,
    rgba(110, 6, 12, 0.26) 72%,
    rgba(0, 0, 0, 0.94) 100%
  );
  animation: abyssPulse 3.2s ease-in-out infinite;
}

@keyframes abyssPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.abyss-ui {
  position: relative;
  z-index: 12;
  width: 100%;
  height: 100%;
  padding: 96px 28px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.abyss-depth-readout {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  color: rgba(226, 60, 68, 0.85);
  text-shadow: 0 0 14px rgba(210, 20, 30, 0.7);
}

.cinema-subtitle {
  margin-top: auto;
  margin-bottom: 28px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.25rem, 2.8vw, 2.15rem);
  letter-spacing: 0.22em;
  color: #e9e4e4;
  text-align: center;
  text-shadow: 0 2px 24px #000000, 0 0 30px rgba(170, 14, 24, 0.6);
  min-height: 1.5em;
}

.touch-water-btn {
  pointer-events: auto;
  padding: 15px 38px;
  background: rgba(10, 4, 5, 0.78);
  border: 1px solid rgba(214, 42, 52, 0.65);
  color: #f3d4d6;
  font-family: "Noto Serif SC", serif;
  font-size: 1rem;
  letter-spacing: 0.26em;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.touch-water-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

.touch-water-btn:hover {
  background: rgba(155, 16, 26, 0.72);
  box-shadow: 0 0 36px rgba(200, 24, 36, 0.65);
}

/* 终局封存通告（固定全屏，任何滚动位置都清晰居中） */
.epilogue-overlay {
  position: fixed;
  inset: 0;
  z-index: 88;
  background: rgba(2, 3, 4, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
}

.epilogue-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.epilogue-box {
  max-width: 620px;
  width: 100%;
  padding: 42px 38px;
  border: 1px solid rgba(214, 48, 58, 0.58);
  background: #0a0d0e;
  box-shadow: 0 0 90px rgba(0, 0, 0, 0.96), 0 0 40px rgba(145, 16, 24, 0.22);
  color: #dce2df;
}

.epilogue-code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: #ee4c55;
  margin-bottom: 16px;
}

.epilogue-box h2 {
  font-family: "Noto Serif SC", serif;
  font-size: 1.55rem;
  color: #f2f5f3;
  margin-bottom: 18px;
  line-height: 1.45;
}

.epilogue-box p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: #b7c2bd;
  margin-bottom: 14px;
}

.epilogue-warn {
  color: #f08288 !important;
  border-left: 3px solid #d62e38;
  padding-left: 14px;
  margin-top: 20px;
}

.epilogue-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.epilogue-btn {
  padding: 13px 24px;
  background: rgba(176, 22, 32, 0.42);
  border: 1px solid rgba(235, 64, 74, 0.8);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.epilogue-btn:hover {
  background: rgba(202, 24, 36, 0.78);
  box-shadow: 0 0 24px rgba(215, 30, 42, 0.5);
}

.epilogue-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(185, 198, 192, 0.45);
  color: #d6deda;
}

.epilogue-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ==================== 被感染/诅咒状态（从井底逃回顶部时触发！） ==================== */
body.is-cursed {
  background: linear-gradient(
    180deg,
    #14191a 0%,
    #0f1415 16%,
    #0c1011 32%,
    #070a0b 60%,
    #020304 100%
  );
  color: #cfd6d2;
}

body.is-cursed .site-nav {
  background: rgba(10, 14, 15, 0.9);
  color: #d8c8c9;
  border-bottom-color: rgba(178, 28, 36, 0.4);
}

body.is-cursed .hero-pill {
  background: rgba(174, 24, 34, 0.22);
  border: 1px solid rgba(214, 44, 54, 0.45);
  color: #f06870;
}

body.is-cursed .pill-dot {
  background: #e82c36;
  box-shadow: 0 0 0 4px rgba(232, 44, 54, 0.28);
}

body.is-cursed .hero-title {
  color: #f0d6d8;
  text-shadow: 0 0 24px rgba(178, 20, 30, 0.55);
}

body.is-cursed .hero-subtitle,
body.is-cursed .hero-trust,
body.is-cursed .metric-label {
  color: #9ba8a3;
}

body.is-cursed .btn-primary {
  background: #8f141c;
  color: #ffffff;
}

body.is-cursed .btn-ghost {
  border-color: rgba(210, 60, 70, 0.45);
  color: #d8c8c9;
}

body.is-cursed .metrics-bar {
  background: rgba(16, 20, 22, 0.88);
  border-color: rgba(178, 30, 38, 0.32);
}

body.is-cursed .metric-value {
  color: #e84e57;
}

body.is-cursed .hero-badge {
  background: rgba(12, 16, 17, 0.9);
  border: 1px solid rgba(190, 32, 40, 0.45);
}

body.is-cursed .badge-num {
  color: #e8444e;
}

/* ==================== 响应式 ==================== */
@media (max-width: 960px) {
  .hero-grid,
  .features-grid,
  .testimonials-grid,
  .dashboard-shell,
  .dossier-grid {
    grid-template-columns: 1fr;
  }

  .metrics-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
  }

  .evidence-tape {
    flex-direction: column;
    align-items: flex-start;
  }

  .depth-gauge {
    right: 12px;
  }
}
