/* ==========================================================================
   FENG CE (奉策) — 融合版 v2.1 主样式表
   电影级冷暖撞光 × Bento 磨砂卡片 × 双层画廊 × 自定义字体包
   工艺铁律：禁止全属性通配过渡；:active scale(0.97)；Hover 隔离 @media (hover: hover)
   ========================================================================== */

/* ============ CUSTOM FONT PACKAGE ============ */
@font-face {
  font-family: 'HighriseDisplay';
  src: url('../fonts/Highrise-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'HighriseDisplay';
  src: url('../fonts/Highrise-Condensed.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'HighriseDisplay';
  src: url('../fonts/Highrise-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'StretchPro';
  src: url('../fonts/StretchPro.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Base Surface */
  --bg: #07080A;
  --bg-2: #0B0D10;
  --panel: #101318;
  --panel-2: #151921;
  --line: rgba(236, 233, 228, 0.11);
  --line-2: rgba(236, 233, 228, 0.24);
  --hairline: rgba(236, 233, 228, 0.11);

  /* Architectural Hairline & Radius System */
  --glass-bg: rgba(16, 20, 26, 0.68);
  --glass-bg-hover: rgba(22, 26, 33, 0.84);
  --glass-border: rgba(236, 233, 228, 0.11);
  --glass-border-hi: rgba(236, 233, 228, 0.24);
  --glass-blur: 16px;
  --radius-sharp: 4px;
  --radius-inner: 8px;
  --radius-media: 12px;
  --radius-card: 4px;

  /* Typography Colors (AA >= 4.5:1 on #07080A & #101318) */
  --fg: #ECE9E4;
  --fg-dim: #A6A8AE;
  --fg-mute: #9296A0;

  /* Dual-Tone Cinematic Lighting (Cool CRT vs. Warm Hardware) */
  --red: #E23A2E;
  --red-deep: #8C1D14;
  --crt-amber: #FF8A3D;
  --crt-cyan: #1CE8D5;
  --crt-green: #4AF626;

  /* Typography Stacks (local preloaded display + native CN/Mono fallbacks, zero Google Fonts) */
  --f-display: 'HighriseDisplay', 'Impact', 'Arial Narrow', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --f-stretch: 'StretchPro', 'HighriseDisplay', 'Impact', 'Arial Narrow', sans-serif;
  --f-pixel: 'SF Mono', 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --f-sans: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  --f-mono: 'SF Mono', 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-io: cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout & Safe Areas (4px grid) */
  --pad: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --hud-h: 56px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);

  /* Viewport Fallbacks */
  --vh: 1vh;
  --svh: 1vh;
  --lvh: 1vh;
  --vvh: 100vh;
}

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
  scroll-behavior: smooth;
  background: var(--bg);
  overflow-x: clip;
}

body {
  margin: 0;
  overscroll-behavior: none;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a, [role="button"] {
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
button:active, .btn-retro:active, .tl3-hwheel-item:active, .tl3-phase-chip:active, .gal-tab:active,
.bf-card:active, .cf-card:active, .jm-tile:active, .stage-pill:active,
.retro-pc-btn:active, .nav6-item:active, .blog7-filter:active, .blog7-card:active,
.tool-card:active, .lanyard-mini-btn:active, .ft-contact-row:not(.is-static):active, .ft-text-link:active,
.aigc-rail-item:active, .aigc-open:active, .skip-intro:active, .proj-cat-pill:active, .mobile-crt-btn:active,
.cf-arrow:active, .to-top.is-show:active {
  scale: 0.97;
}
::selection { background: var(--red); color: #fff; }
a:focus-visible,
button:focus-visible,
[role="tab"]:focus-visible,
[role="option"]:focus-visible,
[tabindex="0"]:focus-visible,
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
#blog7Count, #aigcCount, #crtProgress, #galCounter, #hudClock, #pct, #crtPct, #crtTopPct {
  font-variant-numeric: tabular-nums;
}

.ui-ico {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  vertical-align: -2px;
}

/* M01: Skip Link (GPU transform only) */
.skip {
  position: fixed;
  top: calc(12px + var(--safe-t));
  left: max(16px, var(--safe-l));
  z-index: 250;
  background: var(--red);
  color: #fff;
  padding: 10px 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip:focus { transform: translateY(0); }

/* M02: Film Grain + Subtle CRT Scanlines + Vignette */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}
.scanline-global {
  position: fixed;
  inset: 0;
  z-index: 89;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, transparent 56%, rgba(0, 0, 0, 0.44) 100%),
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0px,
      rgba(255, 255, 255, 0) 2px,
      rgba(0, 0, 0, 0.15) 3px,
      rgba(0, 0, 0, 0.15) 4px
    );
  opacity: 0.22;
}

/* Type Utilities */
.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.mono--fg { color: var(--fg-dim); }
.pixel { font-family: var(--f-pixel); }
.red { color: var(--red); }
.num-tab { font-variant-numeric: tabular-nums; }

/* ============ 3-ZONE TOP HUD ============ */
.hud {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--hud-h) + var(--safe-t));
  padding: var(--safe-t) max(20px, var(--safe-r)) 0 max(20px, var(--safe-l));
  z-index: 120;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  background: rgba(7, 8, 10, 0.84);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.hud.is-scrolled {
  background: rgba(7, 8, 10, 0.94);
  border-bottom-color: var(--line-2);
}
.brand {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  padding: 4px 0;
}
.brand b {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.24em;
}
.brand span {
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.12em;
  font-family: var(--f-mono);
}

/* M06: Live Status Pip (<=5% signal red; sole idle pulse in Act I) */
.pip {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  animation: pulse 2s var(--ease-io) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.42; transform: scale(0.84); }
}

.hud-center {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.hud-stages {
  position: fixed;
  left: max(24px, var(--safe-l));
  bottom: max(24px, var(--safe-b));
  z-index: 110;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(7, 8, 10, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sharp);
  padding: 4px;
  overflow-x: auto;
  max-width: calc(100% - 240px);
  scrollbar-width: none;
}
.hud-stages::-webkit-scrollbar { display: none; }
.stage-pill {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius-sharp);
  color: var(--fg-dim);
  white-space: nowrap;
  transition: color 160ms var(--ease-out), background-color 160ms var(--ease-out), translate 220ms var(--ease-out), scale 140ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .stage-pill:hover { color: var(--fg); background: rgba(236, 233, 228, 0.06); }
}
.stage-pill.active { background: var(--red); color: #fff; font-weight: 500; }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
body.is-act-profile .hud-stages { display: none; }

.nav a,
.nav-drop-trigger {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C9CBCF;
  position: relative;
  padding: 6px 10px;
  border-radius: var(--radius-sharp);
  border: 0;
  background: transparent;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .nav a:hover,
  .nav-drop-trigger:hover {
    color: #ECE9E4;
    background: rgba(236, 233, 228, 0.06);
  }
}
.nav a.is-active,
.nav-drop-trigger.is-active {
  background: var(--red);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-sharp);
  font-weight: 600;
}
.nav a.is-active::after { display: none; }
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-caret {
  transition: transform 180ms var(--ease-out);
}
.nav-dropdown.is-open .nav-caret,
.nav-drop-trigger[aria-expanded="true"] .nav-caret {
  transform: rotate(180deg);
}
.nav-drop-menu[hidden] { display: none; }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 216px;
  background: rgba(10, 12, 16, 0.96);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sharp);
  padding: 6px;
  z-index: 195;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.72);
}
.nav-drop-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 10px;
  border-radius: var(--radius-sharp);
  border: 0;
  background: transparent;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-dim);
  text-align: left;
  cursor: pointer;
  transition: background-color 140ms var(--ease-out), color 140ms var(--ease-out);
}
.nav-drop-item b,
.nav-drop-count {
  font-weight: 500;
  color: var(--fg-mute);
  font-variant-numeric: tabular-nums;
}
.nav-drop-item.is-active {
  background: rgba(226, 58, 46, 0.14);
  color: var(--fg);
}
@media (hover: hover) and (pointer: fine) {
  .nav-drop-item:hover {
    background: rgba(236, 233, 228, 0.06);
    color: var(--fg);
  }
}
.nav-count {
  font-family: var(--f-mono);
  font-size: 11px;
  margin-left: 4px;
  opacity: 0.72;
  font-variant-numeric: tabular-nums;
}
.nav a.is-active .nav-count { opacity: 1; }

.hud-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}
.hud-clock-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--hairline);
  background: rgba(11, 13, 16, 0.84);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--fg-dim);
  font-variant-numeric: tabular-nums;
}
.clock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.hud-clock-pill b {
  color: var(--fg);
  font-weight: 500;
}
#btnGlobalMenu {
  border-radius: var(--radius-sharp);
}
.hud-audio-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--hairline);
  background: rgba(11, 13, 16, 0.84);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  cursor: pointer;
  transition: border-color 180ms var(--ease-out), color 180ms var(--ease-out), background-color 180ms var(--ease-out), scale 140ms var(--ease-out);
}
.hud-audio-btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(226, 58, 46, 0.65);
  box-shadow: 0 0 12px rgba(226, 58, 46, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease-out);
}
.hud-audio-btn .ui-ico {
  color: currentColor;
  flex-shrink: 0;
  transition: color 160ms var(--ease-out);
}
.hud-audio-btn .ui-ico line {
  transition: opacity 160ms var(--ease-out);
}
.hud-audio-btn.is-on,
.hud-audio-btn.is-audio-on {
  border-color: rgba(226, 58, 46, 0.72);
  background: rgba(226, 58, 46, 0.09);
  color: var(--fg);
}
.hud-audio-btn.is-on::before,
.hud-audio-btn.is-audio-on::before {
  opacity: 1;
  animation: audioBorderPulse 2.6s ease-in-out infinite;
}
.hud-audio-btn.is-on .ui-ico,
.hud-audio-btn.is-audio-on .ui-ico {
  color: var(--red);
}
.hud-audio-btn.is-on .ui-ico line,
.hud-audio-btn.is-audio-on .ui-ico line {
  opacity: 0;
}
.audio-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 11px;
  margin-left: -2px;
  flex-shrink: 0;
}
.audio-eq i {
  display: block;
  width: 2px;
  height: 11px;
  border-radius: 1px;
  background: currentColor;
  opacity: 0.36;
  transform-origin: center bottom;
  transform: scaleY(0.24);
  transition: opacity 180ms var(--ease-out), background-color 180ms var(--ease-out), transform 200ms var(--ease-out);
}
.hud-audio-btn.is-on .audio-eq i,
.hud-audio-btn.is-audio-on .audio-eq i {
  background: var(--red);
  opacity: 0.96;
}
.hud-audio-btn.is-on .audio-eq i:nth-child(1),
.hud-audio-btn.is-audio-on .audio-eq i:nth-child(1) {
  animation: audioEqBarA 0.86s ease-in-out infinite alternate;
}
.hud-audio-btn.is-on .audio-eq i:nth-child(2),
.hud-audio-btn.is-audio-on .audio-eq i:nth-child(2) {
  animation: audioEqBarB 0.62s ease-in-out 0.14s infinite alternate;
}
.hud-audio-btn.is-on .audio-eq i:nth-child(3),
.hud-audio-btn.is-audio-on .audio-eq i:nth-child(3) {
  animation: audioEqBarC 0.96s ease-in-out 0.28s infinite alternate;
}
@keyframes audioBorderPulse {
  0%, 100% { opacity: 0.42; }
  50% { opacity: 1; }
}
@keyframes audioEqBarA {
  0% { transform: scaleY(0.26); }
  55% { transform: scaleY(0.82); }
  100% { transform: scaleY(0.44); }
}
@keyframes audioEqBarB {
  0% { transform: scaleY(0.45); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(0.32); }
}
@keyframes audioEqBarC {
  0% { transform: scaleY(0.22); }
  60% { transform: scaleY(0.74); }
  100% { transform: scaleY(0.38); }
}
@media (hover: hover) and (pointer: fine) {
  .hud-audio-btn:hover {
    border-color: rgba(255, 255, 255, 0.34);
    color: var(--fg);
  }
  .hud-audio-btn.is-on:hover,
  .hud-audio-btn.is-audio-on:hover {
    border-color: rgba(226, 58, 46, 0.9);
  }
}
@media (max-width: 600px) {
  .hud-audio-btn .audio-lbl { display: none; }
}

/* First-visit minimalist audio nudge capsule */
.audio-nudge-tip {
  position: fixed;
  z-index: 210;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(226, 58, 46, 0.46);
  background: rgba(11, 13, 17, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.56), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  opacity: 0;
  transform: translate3d(0, -6px, 0);
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out), border-color 180ms var(--ease-out), background-color 180ms var(--ease-out);
}
.audio-nudge-tip::before {
  content: "";
  position: absolute;
  top: -5px;
  right: 22px;
  width: 8px;
  height: 8px;
  background: rgba(11, 13, 17, 0.96);
  border-top: 1px solid rgba(226, 58, 46, 0.46);
  border-left: 1px solid rgba(226, 58, 46, 0.46);
  transform: rotate(45deg);
  pointer-events: none;
}
.audio-nudge-tip.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.audio-nudge-tip.is-leaving {
  opacity: 0;
  transform: translate3d(0, -4px, 0);
  pointer-events: none;
}
.audio-nudge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  animation: audioBorderPulse 1.8s ease-in-out infinite;
}
@media (hover: hover) and (pointer: fine) {
  .audio-nudge-tip:hover {
    border-color: rgba(226, 58, 46, 0.85);
    background: rgba(22, 16, 18, 0.96);
  }
}
.fx-select {
  background: var(--panel);
  color: var(--fg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sharp);
  padding: 5px 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  outline: none;
}
.fx-select:focus { border-color: var(--red); }

@media (max-width: 1160px) { #hudClock { display: none; } }
@media (max-width: 900px) {
  .hud { display: flex; justify-content: space-between; }
  .nav { display: none !important; }
  .hud-stages { display: none; }
}

/* ============ PORTRAIT GATE OVERLAY ============ */
.portrait-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 210;
  background: radial-gradient(circle at 50% 42%, rgba(28, 232, 213, 0.10), rgba(7, 8, 10, 0.97) 68%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: calc(24px + var(--safe-t)) max(24px, var(--safe-r)) calc(28px + var(--safe-b)) max(24px, var(--safe-l));
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
}
html.show-portrait-gate .portrait-gate { display: flex; }
html.allow-portrait .portrait-gate { display: none !important; }

.pg-phone {
  width: 56px;
  height: 92px;
  border: 2px solid var(--crt-cyan);
  border-radius: 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 28px rgba(28, 232, 213, 0.25);
}
html.show-portrait-gate .pg-phone,
.portrait-gate.is-open .pg-phone {
  animation: rotatePhone 2.8s var(--ease) infinite;
}
.pg-phone::after {
  content: "16:9";
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--crt-green);
}
@keyframes rotatePhone {
  0%, 20% { transform: rotate(0deg); }
  45%, 75% { transform: rotate(-90deg); }
  100% { transform: rotate(0deg); }
}
.pg-kicker {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--crt-cyan);
}
.pg-title {
  margin: 0;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(24px, 7vw, 36px);
  line-height: 1.15;
}
.pg-desc {
  margin: 0;
  max-width: 34ch;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--fg-dim);
}
.pg-escape {
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--red);
  border-radius: var(--radius-sharp);
  background: rgba(226, 58, 46, 0.16);
  color: var(--fg);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), translate 220ms var(--ease-out), scale 140ms var(--ease-out);
}
.pg-escape:active { background: var(--red); color: #fff; scale: 0.97; }
@media (hover: hover) and (pointer: fine) {
  .pg-escape:hover { background: var(--red); color: #fff; }
}

/* ============ PAGE TRANSITION OVERLAY ============ */
.transition-layer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: calc(var(--svh) * 100);
  transition: opacity 140ms var(--ease-out);
}
@supports (height: 100svh) { .transition-layer { height: 100svh; } }
.transition-layer.active { pointer-events: all; opacity: 1; }

.crt-beam {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, #ffffff 0%, #1CE8D5 34%, #E23A2E 58%, #000000 76%);
  transform: scaleY(0.95) scaleX(0.98);
  opacity: 0;
  position: absolute;
}
.crt-boot-text {
  position: relative;
  z-index: 3;
  font-family: var(--f-mono);
  font-size: clamp(13px, 1.8vw, 16px);
  color: var(--crt-cyan);
  text-shadow: 0 0 12px rgba(28, 232, 213, 0.55);
  letter-spacing: 0.1em;
  text-align: left;
  padding: 24px;
  opacity: 0;
  max-width: 90vw;
  line-height: 1.7;
}
.crt-boot-text .red-line {
  color: var(--red);
  text-shadow: 0 0 12px rgba(226, 58, 46, 0.7);
}
.dive-ring {
  position: absolute;
  width: 240px;
  height: 180px;
  border: 2px solid var(--crt-cyan);
  box-shadow: 0 0 40px rgba(28, 232, 213, 0.42), inset 0 0 30px rgba(226, 58, 46, 0.25);
  border-radius: 14px;
  opacity: 0;
  transform: scale(0.4);
}
.glitch-bars {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(28, 232, 213, 0.20) 0px,
    rgba(28, 232, 213, 0.20) 6px,
    transparent 6px,
    transparent 18px,
    rgba(226, 58, 46, 0.22) 18px,
    rgba(226, 58, 46, 0.22) 22px,
    rgba(255, 255, 255, 0.08) 22px,
    rgba(255, 255, 255, 0.08) 24px
  );
}

/* ============ ACT CONTAINERS ============ */
.act { display: none; }
.act.active { display: block; }

/* =========================================================
   ACT I: INTRO THEATER (COOL CYAN/GREEN CRT VS WARM CRIMSON/AMBER)
   ========================================================= */
.stage-3d {
  position: relative;
  height: calc(var(--lvh) * 260);
  background: #060709;
}
@supports (height: 100lvh) {
  .stage-3d { height: 260lvh; }
}
.stage-3d-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  min-height: calc(var(--svh) * 100);
  height: calc(var(--svh) * 100);
  padding-top: calc(var(--hud-h) + var(--safe-t));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #060709;
  overflow: hidden;
}
@supports (height: 100svh) {
  .stage-3d-sticky { min-height: 100svh; height: 100svh; }
}

/* M12: Left Red Line Draw */
.stage-3d-sticky::before {
  content: "";
  position: absolute;
  left: max(var(--pad), var(--safe-l));
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(226, 58, 46, 0.55) 30%, rgba(236, 233, 228, 0.14) 70%, transparent);
  z-index: 3;
  pointer-events: none;
  transform: scaleY(0);
  transform-origin: top;
  animation: lineDraw 1.6s var(--ease) 0.3s forwards;
}
@keyframes lineDraw { to { transform: scaleY(1); } }

/* M11: Hero Poster / Video Fallback */
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
  transform-origin: 50% 45%;
  pointer-events: none;
}
.hero-visual.is-fallback-only { opacity: 1; }
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(1.04) contrast(1.03);
}
.hero-visual.is-fallback .hero-fallback img {
  transform: scale(1.06);
  animation: heroIn 2.2s var(--ease) forwards;
}
@keyframes heroIn { to { transform: scale(1); } }
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 52% 48% at 14% 92%, rgba(7, 8, 10, 0.78) 0%, rgba(7, 8, 10, 0.38) 48%, transparent 78%),
    linear-gradient(to bottom, rgba(7, 8, 10, 0.42) 0%, transparent 18%, transparent 74%, rgba(7, 8, 10, 0.52) 100%);
}

/* M10: 8-Dot Pulse Loader */
.hero-loader {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 48px;
  height: 48px;
  z-index: 4;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-loader i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--crt-cyan);
}
.stage-3d:not(.is-ready) .hero-loader i {
  animation: dotPulse 0.9s ease-in-out infinite;
}
.hero-loader i:nth-child(1) { --r: 0deg; }
.hero-loader i:nth-child(2) { --r: 45deg; animation-delay: 0.1125s; }
.hero-loader i:nth-child(3) { --r: 90deg; animation-delay: 0.225s; }
.hero-loader i:nth-child(4) { --r: 135deg; animation-delay: 0.3375s; }
.hero-loader i:nth-child(5) { --r: 180deg; animation-delay: 0.45s; }
.hero-loader i:nth-child(6) { --r: 225deg; animation-delay: 0.5625s; }
.hero-loader i:nth-child(7) { --r: 270deg; animation-delay: 0.675s; }
.hero-loader i:nth-child(8) { --r: 315deg; animation-delay: 0.7875s; }
@keyframes dotPulse {
  0%, 100% { opacity: 0.25; transform: rotate(var(--r)) translateY(-20px) scale(0.7); }
  50% { opacity: 1; transform: rotate(var(--r)) translateY(-20px) scale(1.25); }
}
.stage-3d.is-ready .hero-loader { display: none; }

.shot01-scroll-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: brightness(1.04) contrast(1.03);
  opacity: 0;
  transition: opacity 0.25s var(--ease-out);
  pointer-events: none;
}
.shot01-scroll-canvas.is-active { opacity: 1; }
.stage-3d.is-lamp-off .hero-visual img,
.stage-3d.is-lamp-off .shot01-scroll-canvas {
  filter: saturate(0.70) brightness(0.76) hue-rotate(12deg);
}
.rain-ambient-canvas {
  display: none;
}

/* Act I Rainy Desk Interactive Hotspots & Inspect Card */
.desk-hotspots {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}
.desk-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-sharp);
  background: transparent;
  cursor: pointer;
  transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out), opacity 160ms var(--ease-out), scale 140ms var(--ease-out);
}
.desk-hotspot[data-spot="lamp"] { left: 16%; top: 34%; }
.desk-hotspot[data-spot="crt"] { left: 47%; top: 34%; }
.desk-hotspot[data-spot="cat"] { left: 60%; top: 68%; }
.desk-hotspot[data-spot="poster"] { left: 79%; top: 21%; }
.desk-hotspot::before {
  content: none;
}
.hotspot-reticle {
  position: relative;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  opacity: 0.48;
  transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out);
  background:
    linear-gradient(var(--fg), var(--fg)) 0 0 / 4px 1px no-repeat,
    linear-gradient(var(--fg), var(--fg)) 0 0 / 1px 4px no-repeat,
    linear-gradient(var(--fg), var(--fg)) 100% 0 / 4px 1px no-repeat,
    linear-gradient(var(--fg), var(--fg)) 100% 0 / 1px 4px no-repeat,
    linear-gradient(var(--fg), var(--fg)) 0 100% / 4px 1px no-repeat,
    linear-gradient(var(--fg), var(--fg)) 0 100% / 1px 4px no-repeat,
    linear-gradient(var(--fg), var(--fg)) 100% 100% / 4px 1px no-repeat,
    linear-gradient(var(--fg), var(--fg)) 100% 100% / 1px 4px no-repeat;
}
.hotspot-reticle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--fg);
  transform: translate(-50%, -50%);
}
.desk-hotspot .hotspot-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  padding: 2px 6px;
  border-radius: var(--radius-sharp);
  background: rgba(10, 12, 15, 0.84);
  border: 1px solid var(--hairline);
  white-space: nowrap;
  opacity: 0.42;
  transition: opacity 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.desk-hotspot.is-found .hotspot-reticle {
  opacity: 0.85;
}
.desk-hotspot.is-found .hotspot-reticle::after {
  background: var(--red);
}
@media (hover: hover) and (pointer: fine) {
  .desk-hotspot:hover,
  .desk-hotspot:focus-visible {
    background: rgba(10, 12, 15, 0.56);
    border-color: rgba(236, 233, 228, 0.32);
  }
  .desk-hotspot:hover .hotspot-reticle,
  .desk-hotspot:focus-visible .hotspot-reticle {
    opacity: 1;
    transform: scale(1.1);
  }
  .desk-hotspot:hover .hotspot-reticle::after,
  .desk-hotspot:focus-visible .hotspot-reticle::after {
    background: var(--red);
  }
  .desk-hotspot:hover .hotspot-tag,
  .desk-hotspot:focus-visible .hotspot-tag {
    opacity: 1;
    border-color: rgba(236, 233, 228, 0.36);
  }
}
.desk-discovery {
  position: absolute;
  top: calc(var(--hud-h) + var(--safe-t) + 92px);
  right: max(var(--pad), var(--safe-r));
  z-index: 7;
  pointer-events: none;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding: 4px 8px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sharp);
  background: rgba(10, 12, 15, 0.84);
}
.desk-discovery span {
  color: var(--red);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.desk-inspect-card[hidden] { display: none; }
.desk-inspect-card {
  position: absolute;
  right: clamp(24px, 3vw, 44px);
  bottom: clamp(118px, 16svh, 156px);
  z-index: 8;
  width: min(340px, calc(100% - 32px));
  padding: 14px 16px;
  background: #0A0C0F;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sharp);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.72);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.desk-inspect-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.desk-inspect-head button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--fg-dim);
  cursor: pointer;
  transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out), scale 140ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .desk-inspect-head button:hover { border-color: var(--red); color: var(--fg); }
}
.desk-inspect-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-dim);
}
.desk-inspect-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}
.desk-inspect-actions:empty { display: none; }
.desk-inspect-actions button {
  padding: 5px 10px;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--hairline);
  background: rgba(236, 233, 228, 0.04);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg);
  cursor: pointer;
  transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out), scale 140ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .desk-inspect-actions button:hover { border-color: var(--red); color: #fff; }
}
@media (max-width: 900px) {
  .desk-hotspot { padding: 6px; }
  .desk-hotspot .hotspot-tag { display: none; }
  .desk-discovery { top: calc(var(--hud-h) + var(--safe-t) + 84px); }
  .desk-inspect-card {
    left: 16px;
    right: 16px;
    width: auto;
    bottom: max(124px, calc(var(--safe-b) + 112px));
  }
}

/* AAA Cinema Breathing Letterbox + Director Credit + Camera Shake */
.cinema-letterbox {
  position: fixed;
  left: 0;
  right: 0;
  height: clamp(44px, 8.5vh, 84px);
  z-index: 212;
  background: #040507;
  pointer-events: none;
  transform: scaleY(0);
  transition: transform 340ms var(--ease-out);
}
.cinema-letterbox--top {
  top: 0;
  transform-origin: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cinema-letterbox--bot {
  bottom: 0;
  transform-origin: bottom;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.cinema-letterbox.is-cinema-active,
body.is-cinema-active .cinema-letterbox {
  transform: scaleY(1);
}
.cinema-credit {
  position: fixed;
  left: 50%;
  bottom: clamp(14px, 3vh, 28px);
  transform: translateX(-50%) translateY(6px);
  z-index: 213;
  pointer-events: none;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  opacity: 0;
  white-space: nowrap;
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.cinema-credit.is-cinema-active,
.cinema-credit.is-visible,
.cinema-credit.is-active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@keyframes camShake {
  0%   { transform: translate3d(0, 0, 0); }
  20%  { transform: translate3d(-2px, 1.5px, 0); }
  45%  { transform: translate3d(2px, -1.5px, 0); }
  70%  { transform: translate3d(-1.5px, -1px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
.is-cam-shake {
  animation: camShake 0.22s var(--ease-out) 1;
}

.stage-3d-top {
  position: relative;
  z-index: 5;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: clamp(14px, 2.2vh, 28px) max(var(--pad), var(--safe-r)) 0 calc(max(var(--pad), var(--safe-l)) + 16px);
  flex-wrap: wrap;
  gap: 8px 16px;
}
.mono-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  text-transform: uppercase;
}
.mono-tag strong { color: var(--fg); font-weight: 500; }

.stage-3d-bottom {
  position: relative;
  z-index: 5;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 max(var(--pad), var(--safe-r)) max(clamp(18px, 3.2vh, 36px), var(--safe-b)) calc(max(var(--pad), var(--safe-l)) + 16px);
  gap: 16px 24px;
  flex-wrap: wrap;
}

/* M14: Title Resolve + RGB Glitch */
.hero-title {
  display: flex;
  align-items: flex-end;
  gap: clamp(10px, 1.4vw, 22px);
  flex-wrap: wrap;
}
.hero-title .en {
  position: relative;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(46px, 7.2vw, 108px);
  line-height: 0.86;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--fg);
  animation: titleResolve 1.1s var(--ease) 0.1s both;
}
.hero-title .cn {
  font-family: var(--f-sans);
  font-weight: 900;
  font-size: clamp(20px, 2.8vw, 38px);
  line-height: 1;
  letter-spacing: 0.12em;
  color: var(--red);
  padding-bottom: clamp(4px, 0.8vw, 10px);
  animation: titleResolve 1.1s var(--ease) 0.28s both;
}
@keyframes titleResolve {
  from { opacity: 0; filter: blur(10px); transform: translateY(16px); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
.hero-title .en::before, .hero-title .en::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.hero-title .en::before { color: var(--red); animation: glitchA 0.9s steps(2, end) 0.15s 1 both; }
.hero-title .en::after { color: var(--crt-cyan); animation: glitchB 0.9s steps(2, end) 0.2s 1 both; }
@keyframes glitchA {
  0% { opacity: 0.85; transform: translate(-5px, 2px); clip-path: inset(10% 0 60% 0); }
  45% { opacity: 0.85; transform: translate(4px, -2px); clip-path: inset(60% 0 6% 0); }
  100% { opacity: 0; transform: none; clip-path: inset(0 0 0 0); }
}
@keyframes glitchB {
  0% { opacity: 0.7; transform: translate(5px, -2px); clip-path: inset(55% 0 12% 0); }
  45% { opacity: 0.7; transform: translate(-4px, 2px); clip-path: inset(8% 0 66% 0); }
  100% { opacity: 0; transform: none; clip-path: inset(0 0 0 0); }
}

.hero-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 8px;
}
.hero-sub .role {
  font-family: var(--f-stretch);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.hero-sub .dot { width: 3px; height: 3px; background: var(--red); border-radius: 50%; }

.hero-pos {
  margin: 8px 0 0;
  font-size: clamp(12.5px, 1.2vw, 14.5px);
  line-height: 1.6;
  color: var(--fg-dim);
  max-width: 44ch;
}
.hero-pos::before { content: "— "; color: var(--red); }

/* M16: Word-by-word Reveal */
.hero-pos .w, .sec-sub-text .w {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 6px, 0);
  transition: opacity 0.42s var(--ease-out) var(--d, 0s), transform 0.42s var(--ease-out) var(--d, 0s);
}
.hero-pos.in .w, .sec-sub-text.in .w {
  opacity: 1;
  transform: none;
}

.hero-line {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 360px;
}
.hero-profile-lbl { white-space: nowrap; }
.hero-line .bar {
  flex: 1;
  height: 1px;
  background: rgba(236, 233, 228, 0.16);
  position: relative;
  overflow: hidden;
}
.hero-line .bar i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--fg-dim), var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: none;
}
.hero-line .val {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  font-variant-numeric: tabular-nums;
}

.hero-hint {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--red);
  border: 1px solid rgba(226, 58, 46, 0.45);
  border-radius: var(--radius-sharp);
  padding: 5px 10px;
  background: rgba(7, 8, 10, 0.66);
}

.stage-3d-controls {
  pointer-events: all;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-retro {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: var(--radius-sharp);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--glass-border-hi);
  background: rgba(16, 20, 26, 0.72);
  color: var(--fg);
  transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out), background-color 160ms var(--ease-out), translate 220ms var(--ease-out), scale 140ms var(--ease-out);
}
.btn-retro--compact {
  min-height: 30px;
  padding: 4px 12px;
  font-size: 11px;
}
@media (hover: hover) and (pointer: fine) {
  .btn-retro:hover { border-color: var(--fg); color: #fff; background: rgba(236, 233, 228, 0.08); }
}
.btn-retro.primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
@media (hover: hover) and (pointer: fine) {
  .btn-retro.primary:hover { background: #c93227; border-color: #c93227; }
}

.skip-intro {
  position: fixed;
  top: calc(var(--hud-h) + var(--safe-t) + 46px);
  right: max(var(--pad), var(--safe-r));
  bottom: auto;
  z-index: 110;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--glass-border);
  background: rgba(7, 8, 10, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--fg);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: opacity 200ms var(--ease-out), border-color 180ms var(--ease-out), color 180ms var(--ease-out), background-color 180ms var(--ease-out), translate 220ms var(--ease-out), scale 140ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .skip-intro:hover {
    border-color: var(--red);
    color: #fff;
    background: rgba(226, 58, 46, 0.14);
  }
}
body.is-act-profile .skip-intro { display: none; }
body.is-stage-pov .skip-intro {
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 900px) and (orientation: portrait), (max-width: 900px) and (min-height: 501px) {
  .skip-intro {
    top: calc(var(--hud-h) + var(--safe-t) + 56px);
    right: max(14px, var(--safe-r));
    bottom: auto;
  }
}

/* STAGE 02: CINEMATIC PURE DIVE TUNNEL (145lvh, locked to lvh/svh) */
.stage-zoom {
  position: relative;
  height: calc(var(--lvh) * 145);
  background: #040507;
  border-top: 1px solid var(--line);
}
@supports (height: 100lvh) { .stage-zoom { height: 145lvh; } }
/* A3: 竖屏下 145lvh 的滚动纵深过长，收到 108lvh（保留穿越感、不拖沓） */
@media (max-width: 760px) {
  .stage-zoom { height: calc(var(--lvh) * 108); }
}
@supports (height: 100lvh) {
  @media (max-width: 760px) {
    .stage-zoom { height: 108lvh; }
  }
}
.stage-zoom-sticky {
  position: sticky;
  top: calc(var(--hud-h) + var(--safe-t));
  height: calc(var(--lvh) * 100 - var(--hud-h) - var(--safe-t));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #040507;
}
@supports (height: 100lvh) { .stage-zoom-sticky { height: calc(100lvh - var(--hud-h) - var(--safe-t)); } }
.zoom-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zoom-img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 52%;
  transform-origin: 45% 48%;
  filter: brightness(0.85) contrast(1.06);
}
.seq-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.crt-wake-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(ellipse 56% 52% at 48% 48%, rgba(74, 246, 38, 0.24), rgba(28, 232, 213, 0.14) 48%, transparent 74%),
    repeating-linear-gradient(to bottom, transparent 0 3px, rgba(74, 246, 38, 0.08) 3px 4px);
  font-family: var(--f-mono);
  transition: opacity 0.28s var(--ease);
}
.crt-wake-layer.is-active { opacity: 1; }
.reflection-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(28, 232, 213, 0.18), rgba(7, 8, 10, 0.55) 68%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.07) 0%, transparent 45%, rgba(74, 246, 38, 0.08) 100%);
  mix-blend-mode: screen;
}
.reflection-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}
.reflection-layer.is-active { opacity: 0.68; }
.matchcut-pov-layer {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  background: #050608;
}
.matchcut-pov-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.matchcut-pov-layer.is-active { display: none; opacity: 0; }
.zoom-vignette {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: radial-gradient(circle at 46% 48%, transparent 25%, rgba(4, 5, 7, 0.88) 88%);
  pointer-events: none;
}

.crt-cover-overlay {
  position: absolute;
  z-index: 4;
  width: min(560px, calc(100% - max(var(--pad), var(--safe-l)) - max(var(--pad), var(--safe-r))));
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--hairline);
  background: #0A0C0F;
  border-radius: var(--radius-media);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.72);
  text-align: center;
  opacity: 0;
  transform: scale(0.75) translateY(24px);
  pointer-events: none;
  font-family: var(--f-mono);
}
.crt-cover-overlay .boot-line {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--crt-cyan);
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}
.crt-cover-overlay .cover-cn {
  font-family: var(--f-mono);
  font-size: clamp(16px, 2vw, 22px);
  letter-spacing: 0.55em;
  color: var(--fg);
  margin-bottom: 8px;
  padding-left: 0.55em;
}
.crt-cover-overlay .cover-en {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(32px, 5.2vw, 62px);
  line-height: 0.96;
  color: var(--red);
  letter-spacing: 0.04em;
}
.crt-cover-overlay .load-bar-wrap {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-dim);
}
.crt-cover-overlay .load-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
}
.crt-cover-overlay .load-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--crt-cyan), var(--red));
}
.zoom-hud-bar {
  position: absolute;
  bottom: max(18px, var(--safe-b));
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px;
  background: rgba(7, 8, 10, 0.84);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sharp);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-dim);
  white-space: nowrap;
}
.zoom-hud-bar strong { color: var(--crt-cyan); font-weight: 400; }

/* STAGE 03: REVERSE POV + MULTILAYER PARALLAX (100svh) */
.stage-pov {
  --pov-fengce-bottom: clamp(32px, 5svh, 60px);
  --pov-fengce-h: min(clamp(84px, 12.71vw, 185px), 22svh);
  position: relative;
  min-height: calc(var(--svh) * 100);
  height: calc(var(--svh) * 100);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050608;
  border-top: 1px solid var(--line);
  perspective: 1100px;
  touch-action: pan-y;
}
@supports (height: 100svh) { .stage-pov { min-height: 100svh; height: 100svh; } }
.pov-scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}
.pov-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pov-layer--bg {
  inset: -4%;
  z-index: 1;
}
.pov-layer--top { z-index: 5; }
.pov-layer--back { z-index: 5; }
.pov-layer--front { z-index: 6; }
.pov-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.head-turn-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  display: block;
  opacity: 0;
  transition: opacity 180ms var(--ease-out);
}
.head-turn-canvas.is-active { opacity: 1; }
.pov-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(circle at 50% 40%, transparent 28%, rgba(5, 6, 8, 0.72) 88%),
    linear-gradient(to bottom, rgba(5, 6, 8, 0.56) 0%, transparent 22%, transparent 54%, rgba(5, 6, 8, 0.78) 80%, rgba(5, 6, 8, 0.94) 100%);
  pointer-events: none;
}
.pov-type-top {
  pointer-events: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: calc(var(--hud-h) + var(--safe-t) + clamp(16px, 3.6svh, 38px));
}
.pov-typo-aigc {
  width: clamp(220px, 34vw, 500px);
  max-width: 82%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.65));
  user-select: none;
}
.pov-type-back {
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: var(--pov-fengce-bottom);
}
.pov-typo-fengce {
  width: clamp(290px, 44vw, 640px);
  max-width: 86%;
  max-height: 22svh;
  object-fit: contain;
  height: auto;
  display: block;
  user-select: none;
}
.pov-type-front {
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: calc(var(--pov-fengce-bottom) + clamp(10px, 1.5svh, 18px));
  text-align: center;
}
.pov-typo-cn {
  width: clamp(180px, 26vw, 390px);
  max-width: 64%;
  max-height: 6.5svh;
  object-fit: contain;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.85));
  user-select: none;
}
.pov-coords {
  position: absolute;
  top: calc(var(--hud-h) + var(--safe-t) + 14px);
  left: max(var(--pad), var(--safe-l));
  z-index: 7;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-dim);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.pov-coords span { color: var(--crt-cyan); }
/* A5: 镜05 触屏首次轻提示（手指横向拖动驱动凝视） */
.pov-swipe-hint {
  position: absolute;
  left: max(var(--pad), var(--safe-l));
  top: calc(var(--hud-h) + var(--safe-t) + 104px);
  transform: translate3d(0, -6px, 0);
  z-index: 9;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--glass-border-hi);
  background: rgba(7, 8, 10, 0.76);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--fg);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out);
}
.pov-swipe-hint.is-show { opacity: 1; transform: translate3d(0, 0, 0); }
@media (hover: hover) and (pointer: fine) {
  .pov-swipe-hint { display: none; }
}
.btn-gyro {
  padding: 5px 10px;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--line-2);
  background: rgba(7, 8, 10, 0.78);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.btn-gyro.is-on {
  border-color: var(--crt-cyan);
  color: var(--crt-cyan);
  background: rgba(28, 232, 213, 0.10);
}

.enter-trigger-wrap {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: calc(var(--pov-fengce-bottom) + var(--pov-fengce-h) + clamp(20px, 2.4svh, 28px));
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.retro-pc-btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius-inner);
  background: rgba(10, 12, 15, 0.88);
  border: 1px solid var(--hairline);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
  transition: transform 180ms var(--ease-out), border-color 180ms var(--ease-out), background-color 180ms var(--ease-out), scale 140ms var(--ease-out);
}
.retro-pc-icon {
  display: block;
  width: 44px;
  height: 38px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.65));
  transition: transform 180ms var(--ease-out), filter 180ms var(--ease-out);
}
.retro-pc-btn:active {
  transform: scale(0.97);
}
@media (hover: hover) and (pointer: fine) {
  .retro-pc-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.36);
    background: #0E1116;
  }
  .retro-pc-btn:hover .retro-pc-icon {
    transform: scale(1.06);
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.78));
  }
}
.retro-pc-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg);
  white-space: nowrap;
  text-align: left;
}
.retro-pc-label strong { color: var(--red); font-weight: 600; }
.retro-pc-sub {
  color: var(--fg-dim);
  font-size: 10px;
  letter-spacing: 0.1em;
}
@media (max-width: 900px) {
  .pov-type-top {
    padding-top: calc(var(--hud-h) + var(--safe-t) + 14px);
  }
  .pov-typo-aigc {
    width: clamp(200px, 64vw, 340px);
  }
  .pov-type-back {
    padding-bottom: clamp(114px, 16svh, 154px);
  }
  .pov-typo-fengce {
    width: min(86%, 440px);
  }
  .pov-type-front {
    padding-bottom: clamp(122px, 17.4svh, 166px);
  }
  .pov-typo-cn {
    width: min(56%, 260px);
  }
  .enter-trigger-wrap {
    left: 50%;
    right: auto;
    bottom: max(18px, calc(var(--safe-b) + 12px));
    transform: translateX(-50%);
    align-items: center;
  }
}

/* SHOT 06: FLIP CRT GHOST (pull-back reveal from full viewport to left 1/3) */
.flip-crt-ghost {
  position: fixed;
  z-index: 205;
  pointer-events: none;
  transform-origin: top left;
  background: linear-gradient(155deg, #25282e 0%, #15171c 55%, #0e1014 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 12px 12px 10px;
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.8),
    inset 0 1px 1px rgba(255, 255, 255, 0.18),
    inset 0 -4px 10px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
}
.flip-crt-ghost .crt-bezel-inner {
  flex: 1 1 auto;
  min-height: 0;
}
.flip-crt-ghost img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================================
   ACT II: SPLIT-SCREEN PROFILE (1/3 CONSOLE + 2/3 SINGLE-CHAPTER DECK)
   ========================================================= */
.profile-shell {
  padding-top: calc(var(--hud-h) + var(--safe-t));
  min-height: calc(var(--svh) * 100);
  display: grid;
  grid-template-columns: clamp(320px, 28vw, 440px) 1fr;
  align-items: start;
}
@supports (height: 100svh) { .profile-shell { min-height: 100svh; } }

/* LEFT 1/3 THREE-PART RETRO CONTROL CONSOLE */
.crt-sidebar {
  position: sticky;
  top: calc(var(--hud-h) + var(--safe-t));
  height: calc(var(--svh) * 100 - var(--hud-h) - var(--safe-t));
  border-right: 1px solid var(--line);
  background: #080A0D;
  padding: 10px 10px 10px max(10px, var(--safe-l));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  perspective: 900px;
}
.crt-sidebar::-webkit-scrollbar { display: none; }
@supports (height: 100svh) {
  .crt-sidebar { height: calc(100svh - var(--hud-h) - var(--safe-t)); }
}

/* Left CRT external backdrop kept quiet; phosphor glow stays strictly inside CRT screen */
.crt-glow-backdrop {
  display: none;
}

/* Segment 1: Three-Line StretchPro Vermilion Progress Headline + Digit Roller */
.crt-init-headline {
  position: relative;
  z-index: 2;
  margin: 18px 0 0;
  padding-inline: 6px;
  font-family: var(--f-stretch);
  font-weight: 700;
  font-size: clamp(22px, 2.0vw, 30px);
  line-height: 1.04;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--red);
  flex: 0 0 auto;
  display: block;
  white-space: normal;
}
.crt-hl-line {
  display: block;
}
.crt-init-pct {
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pct-roller {
  display: inline-flex;
  align-items: baseline;
  overflow: hidden;
  height: 1.06em;
  vertical-align: -0.06em;
}
.pct-digit-col {
  display: inline-block;
  height: 1.06em;
  overflow: hidden;
}
.pct-digit-strip {
  display: flex;
  flex-direction: column;
  transition: transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
}
.pct-digit {
  height: 1.06em;
  line-height: 1.06em;
  text-align: center;
}

/* Segment 2: Middle CRT Chassis + 3D Console Host (fallback when not ready) */
.crt-mobile-hero,
.mobile-crt-bar {
  display: none;
}
.crt-unit-wrap {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 2px 0 4px;
}
.crt-3d-host {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 280px;
  max-height: 58vh;
  border-radius: var(--radius-sharp);
  border: none;
  background: transparent;
  overflow: hidden;
}
.crt-unit-wrap:not(.has-3d) .crt-3d-host {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 280px;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}
.crt-unit-wrap:not(.has-3d) .crt-3d-hint {
  display: none;
}
.crt-unit-wrap.has-3d .crt-hardware-fallback {
  display: none;
}
.crt-3d-host canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  touch-action: none;
}
.crt-3d-hint {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  margin-top: 6px;
  padding: 0 8px;
  pointer-events: none;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: rgba(220, 228, 236, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hidden CRT CLI Terminal Modal (.crt-cli-modal) */
.crt-cli-modal[hidden] {
  display: none;
}
.crt-cli-modal {
  position: fixed;
  inset: 0;
  z-index: 235;
  background: rgba(7, 8, 10, 0.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(20px + var(--safe-t)) max(20px, var(--safe-r)) calc(20px + var(--safe-b)) max(20px, var(--safe-l));
}
.crt-cli-head {
  width: min(760px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #07080A;
  border: 1px solid var(--hairline);
  border-bottom: 0;
  border-radius: var(--radius-sharp) var(--radius-sharp) 0 0;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--crt-green);
}
.crt-cli-output {
  width: min(760px, 100%);
  flex: 0 1 360px;
  min-height: 220px;
  max-height: 58vh;
  overflow-y: auto;
  padding: 16px;
  background: #07080A;
  border: 1px solid var(--hairline);
  border-bottom: 0;
  font-family: var(--f-mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--crt-green);
  white-space: pre-wrap;
  word-break: break-word;
}
.crt-cli-output .cli-line--cmd { color: var(--fg); }
.crt-cli-output .cli-line--err { color: var(--red); }
.crt-cli-output .cli-line--dim { color: var(--fg-dim); }
.crt-cli-form {
  width: min(760px, 100%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #07080A;
  border: 1px solid var(--hairline);
  border-radius: 0 0 var(--radius-sharp) var(--radius-sharp);
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--crt-green);
}
.crt-cli-form span {
  flex-shrink: 0;
  color: var(--crt-green);
  user-select: none;
}
.crt-cli-form input {
  flex: 1 1 auto;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--crt-green);
  caret-color: var(--crt-green);
}
.crt-cli-form input::placeholder {
  color: rgba(74, 246, 38, 0.42);
}

/* On-Demand 3D Interactive Modal (.crt3d-modal) */
.crt3d-modal[hidden] {
  display: none;
}
.crt3d-modal {
  position: fixed;
  inset: 0;
  z-index: 230;
  background: rgba(7, 8, 10, 0.96);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: calc(14px + var(--safe-t)) max(16px, var(--safe-r)) calc(16px + var(--safe-b)) max(16px, var(--safe-l));
}
.crt3d-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  flex-shrink: 0;
}
.crt3d-modal-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  border-radius: var(--radius-sharp, 4px);
  border: 1px solid var(--hairline);
  background: radial-gradient(ellipse 75% 65% at 50% 45%, rgba(74, 246, 38, 0.06), rgba(7, 8, 10, 0.96) 78%);
  overflow: hidden;
}
.crt3d-modal-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}
.crt3d-modal-stage canvas:active {
  cursor: grabbing;
}
.lanyard3d-modal-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.lanyard3d-modal-stage {
  background: radial-gradient(ellipse 72% 64% at 50% 46%, rgba(226, 234, 248, 0.08), rgba(226, 58, 46, 0.05) 44%, rgba(7, 8, 10, 0.96) 80%);
}
.crt-hardware {
  position: relative;
  background: linear-gradient(155deg, #25282e 0%, #15171c 55%, #0e1014 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 10px 10px 8px;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.65),
    inset 0 1px 1px rgba(255, 255, 255, 0.18),
    inset 0 -4px 10px rgba(0, 0, 0, 0.7);
}
.crt-hardware.glitch-pulse { animation: crtSwitch 0.28s ease; }
@keyframes crtSwitch {
  0% { filter: brightness(1.45) contrast(1.3); transform: skewX(1.1deg); }
  50% { filter: brightness(0.82); transform: skewX(-0.7deg); }
  100% { filter: none; transform: none; }
}

/* Three CRT Sticky Notes (anchored around bezel corners) */
.crt-sticky-note {
  position: absolute;
  z-index: 7;
  pointer-events: none;
  padding: 5px 7px;
  border-radius: 3px;
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: #15171C;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  border-top: 3px solid rgba(0, 0, 0, 0.14);
}
.crt-sticky-note.n1 {
  top: -8px;
  left: -6px;
  background: linear-gradient(160deg, #F8DC7A 0%, #E7BF4E 100%);
  transform: rotate(-6deg);
}
.crt-sticky-note.n2 {
  top: -10px;
  right: -6px;
  background: linear-gradient(160deg, #FFAD66 0%, #F28739 100%);
  transform: rotate(5deg);
}
.crt-sticky-note.n3 {
  bottom: 18px;
  right: -8px;
  background: linear-gradient(160deg, #7FF5E7 0%, #3AD4C2 100%);
  transform: rotate(-3.5deg);
}

.crt-bezel-inner {
  background: #050809;
  border-radius: 10px;
  padding: 10px 12px;
  border: 3px solid #0b0d0f;
  box-shadow: inset 0 0 32px rgba(0, 0, 0, 0.95), 0 0 22px rgba(28, 232, 213, 0.10);
  position: relative;
  overflow: hidden;
  min-height: clamp(198px, 28vh, 256px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  font-family: var(--f-mono);
}
.crt-bezel-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0, 0, 0, 0.24) 3px 4px);
}
/* Mouse-reactive specular glass glare */
.crt-bezel-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(280px circle at var(--crt-gx, 25%) var(--crt-gy, 18%), rgba(255, 255, 255, 0.10), transparent 55%);
  pointer-events: none;
}

/* 0.3s Chapter-Switch Glitch Flash (#4AF626 / #E23A2E) */
.crt-glitch-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(74, 246, 38, 0.34) 0px,
      rgba(74, 246, 38, 0.34) 3px,
      transparent 3px,
      transparent 9px,
      rgba(226, 58, 46, 0.36) 9px,
      rgba(226, 58, 46, 0.36) 12px,
      transparent 12px,
      transparent 20px
    );
}
.crt-glitch-overlay.crt-glitch-flash,
.crt-hardware.crt-glitch-flash .crt-glitch-overlay {
  animation: crtGlitchFlash 0.3s steps(4, end) forwards;
}
@keyframes crtGlitchFlash {
  0%   { opacity: 0.92; transform: translate3d(-4px, 0, 0) scaleX(1.03); }
  35%  { opacity: 0.78; transform: translate3d(5px, -2px, 0) scaleX(0.98); }
  70%  { opacity: 0.55; transform: translate3d(-2px, 1px, 0) scaleX(1.01); }
  100% { opacity: 0; transform: translate3d(0, 0, 0) scaleX(1); }
}

.crt-screen-head {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--crt-cyan);
  letter-spacing: 0.08em;
}
.crt-screen-pct {
  color: var(--crt-green);
  font-variant-numeric: tabular-nums;
}
.crt-progress-bar {
  position: relative;
  z-index: 3;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}
.crt-progress-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--crt-cyan), var(--crt-green) 55%, var(--red));
  transform-origin: left;
  transform: scaleX(0.3);
  transition: transform 0.28s var(--ease);
}
.crt-screen-media {
  position: relative;
  z-index: 1;
  height: clamp(84px, 13vh, 118px);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0b0e12;
}
.crt-screen-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  filter: contrast(1.08) saturate(0.9);
  transition: opacity 0.35s var(--ease);
}
.crt-screen-badge {
  position: absolute;
  bottom: 6px;
  left: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  background: rgba(7, 8, 10, 0.86);
  color: var(--crt-green);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(74, 246, 38, 0.32);
}
.crt-screen-title {
  position: relative;
  z-index: 3;
  font-family: var(--f-mono);
  font-size: clamp(16px, 1.65vw, 22px);
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: var(--fg);
  /* C4: 英文单词绝不从中间断开——只在词边界换行，必要时换 2 行 */
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}
.crt-screen-sub {
  position: relative;
  z-index: 3;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--crt-amber);
  margin-top: 2px;
}
.crt-screen-log {
  position: relative;
  z-index: 3;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--crt-cyan);
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crt-chin {
  margin-top: 7px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
}
.crt-brand-plate {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-mute);
}
.crt-leds { display: flex; align-items: center; gap: 8px; }
.led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--crt-cyan);
  box-shadow: 0 0 8px var(--crt-cyan);
}
.led.red {
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}

/* Segment 3: Bottom Console Control Area (OptionWheel §8.2 + 2-col actions) */
.crt-console-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
}

/* OptionWheel.css (Spec §8.2) */
.option-wheel {
  --ow-font-size: 1.05rem;
  --ow-active-color: #E23A2E;
  --ow-text-color: #7A7D85;
  --ow-inset: 16px;
  position: relative;
  width: 100%;
  height: clamp(92px, 13.5vh, 130px);
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: none;
  outline: none;
  border-radius: var(--radius-inner);
  border: 1px solid var(--line);
  background: rgba(11, 13, 18, 0.72);
}
.option-wheel::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: var(--red);
  transform: translateY(-50%);
  box-shadow: 0 0 10px rgba(226, 58, 46, 0.7);
  pointer-events: none;
  z-index: 2;
}
.option-wheel--dragging { cursor: grabbing; }
.option-wheel__item {
  position: absolute;
  top: 50%;
  left: var(--ow-inset);
  white-space: nowrap;
  font-family: var(--f-mono);
  font-size: var(--ow-font-size);
  line-height: 1;
  font-weight: 400;
  transform-origin: left center;
  cursor: pointer;
  color: var(--ow-text-color);
  transition: color 140ms var(--ease-out);
}
.option-wheel__item--selected,
.option-wheel__item.is-selected {
  font-weight: 600;
  color: var(--ow-active-color);
}

/* v4.9 #8: Smartisan OS Horizontal Mechanical Wheel */
.option-wheel.option-wheel--smartisan {
  height: 84px;
  padding: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #171A20 0%, #0D0F13 48%, #090B0E 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.06);
}
.option-wheel.option-wheel--smartisan::before {
  content: none;
}
.sw-pointer {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid var(--red);
  pointer-events: none;
  z-index: 4;
}
.sw-pointer::after {
  content: "";
  position: absolute;
  left: -0.5px;
  top: 0;
  width: 1px;
  height: 77px;
  background: linear-gradient(180deg, rgba(226, 58, 46, 0.42), rgba(226, 58, 46, 0.06));
}
.sw-scale-ticks {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.72;
  background:
    repeating-linear-gradient(90deg, rgba(236, 233, 228, 0.20) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(90deg, rgba(236, 233, 228, 0.42) 0 1px, transparent 1px 60px);
  background-position: 0 5px, 0 0;
  background-size: 100% 7px, 100% 12px;
  background-repeat: no-repeat;
}
.sw-wheel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 2;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.option-wheel--smartisan .option-wheel__item {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -25px;
  margin-left: -56px;
  width: 112px;
  min-width: 112px;
  height: 44px;
  padding: 2px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-align: center;
  transform-origin: center center;
  color: #7A7D85;
}
.ow-top {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.ow-cn {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--fg-mute);
}
.option-wheel--smartisan .option-wheel__item--selected .ow-top,
.option-wheel--smartisan .option-wheel__item.is-selected .ow-top {
  color: var(--red);
}
.option-wheel--smartisan .option-wheel__item--selected .ow-cn,
.option-wheel--smartisan .option-wheel__item.is-selected .ow-cn {
  color: var(--fg);
  font-weight: 600;
}

.crt-sidebar-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding-inline: 6px;
}
.crt-sidebar-actions .btn-retro {
  min-height: 36px;
  padding: 6px 10px;
  font-size: 11px;
  border-radius: var(--radius-sharp);
}
.crt-progress {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  padding: 6px 6px 0;
  border-top: 1px solid var(--hairline);
  margin-top: 2px;
}
@media (min-width: 1024px) and (max-height: 780px) {
  .crt-init-headline {
    margin-top: 10px;
    font-size: clamp(17px, 1.7vw, 23px);
  }
  .crt-3d-host {
    min-height: 220px;
    max-height: 48vh;
  }
  .option-wheel.option-wheel--smartisan {
    height: 76px;
  }
}
.crt-progress b {
  color: var(--red);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ============ RIGHT 2/3 EDITORIAL SINGLE-CHAPTER DECK ============ */
.profile-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) max(clamp(24px, 3.6vw, 52px), var(--safe-r)) clamp(32px, 5vh, 56px) clamp(24px, 3.6vw, 52px);
  min-width: 0;
}
.p-section {
  padding: clamp(32px, 4.5vh, 64px) 0 clamp(48px, 7vh, 96px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--hud-h) + var(--safe-t) + 18px);
}
.p-section:last-child { border-bottom: none; padding-bottom: 0; }

@media (min-width: 1024px) {
  .profile-shell {
    margin-top: calc(var(--hud-h) + var(--safe-t));
    padding-top: 0;
    height: calc(var(--svh) * 100 - var(--hud-h) - var(--safe-t));
    height: calc(100svh - var(--hud-h) - var(--safe-t));
    min-height: 0;
    overflow: hidden;
    align-items: stretch;
  }
  .crt-sidebar {
    position: relative;
    top: 0;
    height: 100%;
  }
  .profile-content.is-single-deck {
    position: relative;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  .profile-content.is-single-deck .p-section {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: clamp(32px, 4.5vh, 64px) 0 clamp(48px, 7vh, 96px);
    border-bottom: none;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(236, 233, 228, 0.16) rgba(10, 12, 16, 0.35);
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 28px, 0) scale(0.985);
    z-index: 1;
    transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out);
  }
  .profile-content.is-single-deck .p-section.is-switching {
    will-change: transform, opacity;
  }
  .profile-content.is-single-deck .p-section > * {
    width: 92%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
  }
  .profile-content.is-single-deck .p-section::-webkit-scrollbar {
    width: 6px;
  }
  .profile-content.is-single-deck .p-section::-webkit-scrollbar-track {
    background: rgba(10, 12, 16, 0.35);
  }
  .profile-content.is-single-deck .p-section::-webkit-scrollbar-thumb {
    background: rgba(236, 233, 228, 0.16);
    border-radius: 999px;
  }
  .profile-content.is-single-deck .p-section.is-prev {
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, -40px, 0) scale(0.96);
    z-index: 1;
  }
  .profile-content.is-single-deck .p-section.is-next {
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 52px, 0) scale(0.975);
    z-index: 1;
  }
  .profile-content.is-single-deck .p-section.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
    z-index: 3;
  }
}
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .profile-content.is-single-deck .p-section::-webkit-scrollbar-thumb:hover {
    background: rgba(236, 233, 228, 0.28);
  }
}

/* Newspaper Masthead Header */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 4vh, 48px);
}
.sec-title h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 0;
  position: relative;
  overflow: hidden;
  overflow-wrap: break-word;
  min-width: 0;
  display: block;
}
.sec-title h2 em {
  font-style: normal;
  color: var(--red);
  display: block;
  font-size: 0.86em;
  line-height: 0.94;
  margin-top: 0.04em;
}
.sec-head-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 8px;
  max-width: 34ch;
  min-width: 0;
  padding-bottom: 4px;
}
.sec-idx {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--fg-dim);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.sec-sub-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-dim);
  text-wrap: pretty;
}
@media (max-width: 760px) {
  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .sec-head-meta { align-items: flex-start; text-align: left; max-width: 48ch; }
}

/* M18: Reveal */
.rv {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.04s; }
.rv-d2 { transition-delay: 0.08s; }
.rv-d3 { transition-delay: 0.12s; }
.rv-d4 { transition-delay: 0.16s; }

/* M19: Heading Reveal + CH.01-Only Red Stroke Sweep */
.mf-lead.rv, .contact-banner h2.rv {
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.mf-lead.rv.in, .contact-banner h2.rv.in { transform: none; }
.contact-banner h2 { position: relative; overflow: hidden; }
.p-section:first-of-type .sec-title h2::after, .contact-banner h2::after {
  content: "";
  position: absolute;
  inset: -2px 0;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 2;
  pointer-events: none;
}
.p-section:first-of-type .sec-title h2.in::after, .contact-banner h2.in::after {
  animation: strokeSweep 0.9s var(--ease) 0.05s both;
}
@keyframes strokeSweep {
  0% { transform: scaleX(0); transform-origin: left; }
  45% { transform: scaleX(1); transform-origin: left; }
  55% { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

/* ============ HAIRLINE GRID + QUIET SURFACE BENTO CARDS ============ */
.grid-hairline {
  position: relative;
  border: 1px solid var(--hairline);
  background: rgba(11, 13, 16, 0.72);
  border-radius: var(--radius-sharp);
}

.hairline-rule-x {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--hairline);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.6s var(--ease);
}
.in .hairline-rule-x,
.hairline-rule-x.in { transform: scaleX(1); }

.hairline-rule-y {
  display: block;
  width: 1px;
  height: 100%;
  background: var(--hairline);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 0.6s var(--ease);
}
.in .hairline-rule-y,
.hairline-rule-y.in { transform: scaleY(1); }

.bento-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sharp);
  padding: 20px 22px;
  overflow: hidden;
  transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .bento-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hi);
  }
}
.bento-card--glow-cool,
.bento-card--glow-warm {
  border-color: var(--hairline);
  box-shadow: none;
}

.tilt-card {
  transform-style: preserve-3d;
}

/* CH.01: EDITORIAL MANIFESTO + 2x2 HONORS/EDUCATION */
.manifesto-editorial {
  padding: 6px 0 22px;
  margin-bottom: 18px;
}
.mf-lead {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--fg);
  text-wrap: pretty;
}
.mf-lead b { font-weight: 900; color: var(--red); }
.mf-lead .dim {
  display: block;
  margin-top: 12px;
  font-size: clamp(16px, 1.45vw, 21px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--fg-dim);
  text-wrap: pretty;
}
.mf-lead .ch { opacity: 0.2; }

.mf-col-bar {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 28px;
  align-items: start;
}
.mf-col-bar p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--fg-dim);
  max-width: 62ch;
  text-wrap: pretty;
}
.mf-col-bar p:last-child { margin-bottom: 0; }
.mf-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mf-meta div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-family: var(--f-mono);
}
.mf-meta div span:first-child { color: var(--fg-mute); }
.mf-meta div span:last-child { color: var(--fg); }
@media (max-width: 960px) { .mf-col-bar { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

/* Forced 2x2 Editorial Hairline Grid for CH.01 (zero boxed-template clutter) */
.bento-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.bento-grid-2x2 .bento-card {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  padding: 20px 24px 20px 0;
}
.bento-grid-2x2 .bento-card:nth-child(odd) {
  border-right: 1px solid var(--hairline);
  padding-right: 26px;
}
.bento-grid-2x2 .bento-card:nth-child(even) {
  padding-left: 26px;
  padding-right: 0;
}
@media (hover: hover) and (pointer: fine) {
  .bento-grid-2x2 .bento-card:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--hairline);
  }
}
@media (max-width: 720px) {
  .bento-grid-2x2 { grid-template-columns: minmax(0, 1fr); }
  .bento-grid-2x2 .bento-card { padding: 18px 0; }
  .bento-grid-2x2 .bento-card:nth-child(odd) { border-right: none; padding-right: 0; }
  .bento-grid-2x2 .bento-card:nth-child(even) { padding-left: 0; }
}
.info-card { min-width: 0; }
.info-card .ic-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.info-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.info-card p { margin: 0; font-size: 13.5px; color: var(--fg-dim); line-height: 1.65; }

/* CH.05: TOOL ECOSYSTEM MATRIX (.tool-matrix) */
.tool-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-radius: var(--radius-sharp);
  overflow: hidden;
}
.tool-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 20px 22px;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  border-left: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out), box-shadow 200ms var(--ease-out), transform 140ms var(--ease-out);
}
.tool-card--featured {
  grid-column: 1 / -1;
  border-right: none;
  border-left-color: var(--red);
  background: rgba(226, 58, 46, 0.04);
}
.tool-card:nth-child(odd):not(.tool-card--featured) { border-right: none; }
.tool-card:nth-last-child(-n+2):not(.tool-card--featured) { border-bottom: none; }
.tool-card.is-active {
  background: rgba(236, 233, 228, 0.04);
  border-left-color: var(--red);
}
@media (hover: hover) and (pointer: fine) {
  .tool-card:hover { background: rgba(236, 233, 228, 0.03); }
}
.tool-card .gl {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 10px;
}
.tool-card.is-active .gl,
.tool-card--featured .gl { color: var(--fg); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sharp);
  color: var(--fg-dim);
  background: rgba(236, 233, 228, 0.03);
  transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .chip:hover {
    border-color: var(--glass-border-hi);
    color: var(--fg);
    background: rgba(236, 233, 228, 0.08);
  }
}
.tool-grid-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 10px;
}
.tool-card--featured .tool-grid-items {
  grid-template-columns: repeat(auto-fill, minmax(156px, 1fr));
}
.tool-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  min-width: 0;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--hairline);
  background: rgba(236, 233, 228, 0.025);
  transition: border-color 180ms var(--ease-out), background-color 180ms var(--ease-out);
}
.tool-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--hairline);
  background: rgba(7, 8, 10, 0.72);
  color: var(--fg-dim);
  transition: color 180ms var(--ease-out), border-color 180ms var(--ease-out), background-color 180ms var(--ease-out);
}
.tool-icon svg {
  width: 19px;
  height: 19px;
  display: block;
}
.tool-card.is-active .tool-item {
  border-color: color-mix(in srgb, var(--tool-accent, var(--fg)) 42%, transparent);
  background: rgba(236, 233, 228, 0.045);
}
.tool-card.is-active .tool-icon {
  color: var(--tool-accent, var(--fg));
  border-color: color-mix(in srgb, var(--tool-accent, var(--fg)) 55%, transparent);
  background: color-mix(in srgb, var(--tool-accent, var(--fg)) 10%, rgba(7, 8, 10, 0.8));
}
@media (hover: hover) and (pointer: fine) {
  .tool-item:hover {
    border-color: color-mix(in srgb, var(--tool-accent, var(--fg)) 42%, transparent);
    background: rgba(236, 233, 228, 0.045);
  }
  .tool-item:hover .tool-icon {
    color: var(--tool-accent, var(--fg));
    border-color: color-mix(in srgb, var(--tool-accent, var(--fg)) 55%, transparent);
    background: color-mix(in srgb, var(--tool-accent, var(--fg)) 10%, rgba(7, 8, 10, 0.8));
  }
}
.tool-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.tool-name {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tool-sub {
  font-size: 11px;
  color: var(--fg-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 860px) {
  .tool-matrix { grid-template-columns: minmax(0, 1fr); }
  .tool-card { border-right: none; border-bottom: 1px solid var(--hairline); }
  .tool-card:nth-last-child(-n+2):not(.tool-card--featured) { border-bottom: 1px solid var(--hairline); }
  .tool-card:last-child { border-bottom: none; }
}
.tool-combo-bar {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--red);
  background: #0A0C0F;
  min-width: 0;
}
.tool-combo-k {
  flex-shrink: 0;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.tool-combo-v {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--fg-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 720px) {
  .tool-combo-bar { flex-direction: column; align-items: flex-start; gap: 4px; }
  .tool-combo-v { white-space: normal; }
}

/* CH.02: WORK EXPERIENCE — HORIZONTAL OPTION WHEEL TIMELINE 3 (.tl3-shell) */
.tl3-shell,
.tl3-shell.grid-hairline {
  padding: 16px 0;
  border: none;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tl3-phases-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sharp);
  overflow: hidden;
  background: rgba(7, 8, 10, 0.52);
}
.tl3-phase-chip {
  margin: 0;
  width: 100%;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--hairline);
  border-bottom: 2px solid transparent;
  padding: 10px 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  color: var(--fg-dim);
  cursor: pointer;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), border-color 160ms var(--ease-out), transform 140ms var(--ease-out);
}
.tl3-phase-chip:last-child { border-right: none; }
.tl3-phase-chip b { color: var(--fg); font-weight: 600; }
.tl3-phase-chip.is-active {
  background: rgba(226, 58, 46, 0.12);
  color: var(--fg);
  border-bottom-color: var(--red);
}
.tl3-phase-chip.is-active b { color: var(--red); }
@media (hover: hover) and (pointer: fine) {
  .tl3-phase-chip:hover { color: var(--fg); background: rgba(236, 233, 228, 0.04); }
}

.tl3-hwheel {
  position: relative;
  width: 100%;
  height: 118px;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: none;
  outline: none;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: radial-gradient(ellipse 36% 90% at 50% 50%, rgba(226, 58, 46, 0.08), rgba(7, 8, 10, 0.72) 72%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 87%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 87%, transparent 100%);
}
.tl3-hwheel--dragging { cursor: grabbing; }
.tl3-hwheel:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.tl3-hwheel-vernier {
  position: absolute;
  width: 3600px;
  left: 50%;
  margin-left: -1800px;
  bottom: 0;
  height: 14px;
  pointer-events: none;
  will-change: transform;
  background:
    repeating-linear-gradient(90deg, rgba(236, 233, 228, 0.16) 0 1px, transparent 1px 20px),
    repeating-linear-gradient(90deg, rgba(236, 233, 228, 0.38) 0 1px, transparent 1px 100px);
  background-position: 0 6px, 0 0;
  background-size: 100% 8px, 100% 14px;
  background-repeat: no-repeat;
}
.tl3-hwheel-reticle {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(180deg, var(--red) 0%, rgba(226, 58, 46, 0.22) 50%, var(--red) 100%);
}
.tl3-hwheel-reticle::before,
.tl3-hwheel-reticle::after {
  content: "";
  position: absolute;
  left: -3px;
  width: 7px;
  height: 6px;
  border-left: 1px solid var(--red);
  border-right: 1px solid var(--red);
}
.tl3-hwheel-reticle::before { top: 0; border-top: 2px solid var(--red); }
.tl3-hwheel-reticle::after { bottom: 0; border-bottom: 2px solid var(--red); }
.tl3-hwheel-track {
  position: absolute;
  inset: 0;
}
.tl3-hwheel-item {
  position: absolute;
  top: 46%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  will-change: transform, opacity;
  color: var(--fg-mute);
  transition: color 140ms var(--ease-out);
}
.tl3-hwheel-item--selected,
.tl3-hwheel-item.is-selected {
  color: var(--fg);
}
.tl3-hw-period {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--fg-mute);
  transition: color 140ms var(--ease-out);
}
.tl3-hwheel-item--selected .tl3-hw-period,
.tl3-hwheel-item.is-selected .tl3-hw-period {
  color: var(--red);
}
.tl3-hw-co {
  font-family: var(--f-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}
.tl3-hwheel-item--selected .tl3-hw-co,
.tl3-hwheel-item.is-selected .tl3-hw-co { font-weight: 700; }
.tl3-hw-role {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-mute);
  opacity: 0.55;
  transition: opacity 140ms var(--ease-out);
}
.tl3-hwheel-item--selected .tl3-hw-role,
.tl3-hwheel-item.is-selected .tl3-hw-role {
  opacity: 1;
}

.tl3-stage {
  display: flex;
  flex-direction: column;
  padding: 14px 4px 4px;
}
.tl3-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
.exp-detail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.exp-year-badge {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  color: var(--fg);
  padding: 4px 10px;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--hairline);
  background: rgba(236, 233, 228, 0.05);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.exp-count-badge {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  color: var(--red);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.exp-company {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1;
  letter-spacing: 0.01em;
  min-width: 0;
  overflow-wrap: break-word;
}
.exp-role {
  margin-top: 4px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.exp-desc {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-dim);
  max-width: 62ch;
  text-wrap: pretty;
}
.tl3-nav-btns {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
@media (max-width: 760px) {
  .tl3-phases-bar { grid-template-columns: minmax(0, 1fr); }
  .tl3-phase-chip { border-right: none; border-bottom: 1px solid var(--hairline); }
  .tl3-phase-chip:last-child { border-bottom: none; }
}

/* CH.03: CAPABILITY SYSTEM — ACCORDION GALLERY (§8.1) */
#sec-cap {
  padding-bottom: clamp(20px, 3vh, 36px);
}
.accordion-gallery {
  --ag-accent: #E23A2E;
  --ag-overlay: #07080A;
  --ag-text: #ECE9E4;
  --ag-gap: 12px;
  --ag-radius: var(--radius-media);
  --ag-media-size: 460px;
  display: flex;
  flex-direction: row;
  gap: var(--ag-gap);
  width: 100%;
  height: clamp(440px, 60vh, 560px);
  perspective: 1400px;
}
.ag-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--ag-radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transform-style: preserve-3d;
  background: #12161D;
  transform: rotateY(8deg);
  transition: flex-grow 320ms var(--ease-out), transform 320ms var(--ease-out), border-color 200ms var(--ease-out);
}
.ag-panel--active {
  flex-grow: 4.7;
  transform: rotateY(0deg);
  border-color: rgba(226, 58, 46, 0.48);
}
.ag-panel--active ~ .ag-panel {
  transform: rotateY(-8deg);
}
.ag-panel__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}
.ag-panel__media {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--ag-media-size);
  height: 100%;
  transform: translate(-50%, -50%);
  transition: transform 320ms var(--ease-out);
}
.ag-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  filter: brightness(0.96) contrast(1.04);
  transition: filter 260ms var(--ease-out);
}
.ag-panel:not(.ag-panel--active) .ag-panel__media img {
  filter: brightness(0.90) contrast(1.05) saturate(0.72);
}
.ag-panel__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(7, 8, 10, 0.84) 0%, rgba(7, 8, 10, 0.34) 56%, rgba(7, 8, 10, 0.06) 100%);
}
.ag-panel__overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 8, 10, 0.16);
  opacity: 1;
  transition: opacity 240ms var(--ease-out);
}
.ag-panel--active .ag-panel__overlay::before {
  opacity: 0;
}
.ag-panel__peek {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  pointer-events: none;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.ag-panel--active .ag-panel__peek {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
}
.ag-panel__peek-idx {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(242, 246, 250, 0.92);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.82);
}
.ag-panel__peek-cn {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(242, 246, 250, 0.88);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.82);
}
.ag-panel__label {
  position: absolute;
  left: 22px;
  bottom: 22px;
  right: 22px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  pointer-events: none;
  z-index: 2;
}
.ag-panel__bar {
  flex: 0 0 auto;
  width: 3px;
  height: 44px;
  border-radius: 2px;
  background: var(--ag-accent);
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.ag-panel__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(-14px);
  min-width: 0;
  transition: opacity 200ms var(--ease-out) 0.03s, transform 200ms var(--ease-out) 0.03s;
}
.ag-panel--active .ag-panel__bar,
.ag-panel--active .ag-panel__text {
  opacity: 1;
  transform: translateX(0);
}
.ag-panel__kicker {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ag-accent);
}
.ag-panel__title {
  color: var(--ag-text);
  font-weight: 700;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.12;
}
.ag-panel__tags {
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: #EAE6DF;
}
/* R1: 竖排（≤760px，与 act2-layout.js 的 innerWidth <= 760 一致）
   未选中面板标题常显、暗罩减淡，保证 390px 下每格都能认出能力名 */
@media (max-width: 760px) {
  .accordion-gallery {
    flex-direction: column;
    height: clamp(452px, 56svh, 510px);
  }
  .ag-panel { min-height: 44px; transform: rotateX(-6deg); }
  .ag-panel--active { transform: rotateX(0deg); }
  .ag-panel--active ~ .ag-panel { transform: rotateX(6deg); }
  .ag-panel__media { width: 100%; height: var(--ag-media-size, 260px); }
  /* 竖排用左侧标签承载标题，隐藏竖排 peek 避免重复 */
  .ag-panel__peek { display: none; }
  .ag-panel__label {
    left: 16px;
    right: 16px;
    bottom: 50%;
    transform: translate3d(0, 50%, 0);
    align-items: center;
    gap: 10px;
  }
  .ag-panel__bar { height: 26px; }
  .ag-panel__title { font-size: 17px; line-height: 1.2; }
  .ag-panel__kicker, .ag-panel__tags { display: none; }
  /* 暗罩减淡：四重压暗收敛为一层，图片内容仍可辨认 */
  .ag-panel:not(.ag-panel--active) .ag-panel__media img {
    filter: brightness(0.96) contrast(1.02) saturate(0.85);
  }
  .ag-panel:not(.ag-panel--active) .ag-panel__overlay {
    background: linear-gradient(to top, rgba(7, 8, 10, 0.78) 0%, rgba(7, 8, 10, 0.22) 68%, rgba(7, 8, 10, 0.05) 100%);
  }
  .ag-panel:not(.ag-panel--active) .ag-panel__overlay::before { opacity: 0; }
}

/* CH.04: AIGC SHOWCASE (STAGE + HORIZONTAL RAIL) */
.aigc-showcase {
  margin-bottom: clamp(36px, 5vh, 56px);
}
.aigc-showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.aigc-head-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.aigc-count {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.aigc-stage {
  position: relative;
  margin-bottom: 8px;
}
.aigc-stage-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  max-height: min(460px, 62vh);
  background: #0B0D10;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-media);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 180ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.aigc-video,
.aigc-img {
  width: 100%;
  height: 100%;
  max-height: min(460px, 62vh);
  object-fit: cover;
  display: block;
}
.aigc-chips {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}
.aigc-chip {
  font-family: var(--f-mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 8px;
  border-radius: var(--radius-sharp);
  background: rgba(7, 8, 10, 0.84);
  border: 1px solid var(--hairline);
  color: var(--fg);
}
.aigc-badge-video,
.aigc-chip--video {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  font-weight: 500;
}
.aigc-meta {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 48px 156px 16px 18px;
  background: linear-gradient(to top, rgba(7, 8, 10, 0.94) 18%, rgba(7, 8, 10, 0.6) 62%, transparent 100%);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.aigc-meta h3,
.aigc-meta h4,
.aigc-title,
.aigc-meta .aigc-title {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.04;
  letter-spacing: 0.015em;
  font-weight: 400;
  color: var(--fg);
  min-width: 0;
  overflow-wrap: break-word;
}
.aigc-meta p,
.aigc-meta .aigc-sub {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aigc-open {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  flex-shrink: 0;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--hairline);
  background: rgba(7, 8, 10, 0.88);
  color: var(--fg);
  cursor: pointer;
  transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out), background-color 160ms var(--ease-out), translate 220ms var(--ease-out), scale 140ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .aigc-open:hover {
    border-color: var(--fg);
    color: #fff;
    background: #141820;
  }
}
.aigc-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  padding-bottom: 4px;
}
.aigc-rail-item {
  position: relative;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  background: #0B0D10;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-inner);
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 160ms var(--ease-out), border-color 160ms var(--ease-out), box-shadow 200ms var(--ease-out), transform 140ms var(--ease-out);
}
.aigc-rail-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #07080A;
  border-radius: var(--radius-sharp);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aigc-rail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.aigc-rail-item > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #07080A;
  border-radius: var(--radius-sharp);
  object-fit: cover;
  display: block;
}
.aigc-rail-item > span,
.aigc-rail-title {
  display: block;
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--fg);
  padding: 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aigc-rail-item[aria-selected="true"],
.aigc-rail-item.is-active {
  opacity: 1;
  border-color: var(--red);
}
@media (hover: hover) and (pointer: fine) {
  .aigc-rail-item:hover { opacity: 0.94; }
  .aigc-rail-item[aria-selected="true"]:hover,
  .aigc-rail-item.is-active:hover {
    opacity: 1;
    border-color: var(--red);
  }
}
@media (max-width: 720px) {
  .aigc-stage-card { min-height: 240px; }
  .aigc-meta { padding: 40px 16px 56px; }
  .aigc-open { right: 12px; bottom: 12px; padding: 6px 11px; }
  .aigc-rail { gap: 8px; }
  .aigc-rail-item { padding: 6px; gap: 6px; }
  .aigc-rail-item > span,
  .aigc-rail-title { font-size: 11px; }
}

/* CH.05: DUAL-LAYER GALLERY SYSTEM */
.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}
.gallery-mode-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--radius-sharp);
  background: rgba(11, 13, 16, 0.72);
  border: 1px solid var(--hairline);
  gap: 4px;
}
.gal-tab {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--radius-sharp);
  color: var(--fg-dim);
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), translate 220ms var(--ease-out), scale 140ms var(--ease-out);
}
.gal-tab.active { background: var(--red); color: #fff; font-weight: 500; }

/* Mode A: Asymmetric Bento Focus Gallery */
.bento-focus-gallery {
  display: flex;
  gap: 16px;
  height: clamp(360px, 46vh, 460px);
  touch-action: pan-y;
}
.bf-card {
  position: relative;
  flex: 0.9 1 0%;
  min-width: 0;
  border-radius: var(--radius-media);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: #0B0E12;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  transition: flex 380ms cubic-bezier(0.23, 1, 0.32, 1), border-color 180ms var(--ease-out), box-shadow 200ms var(--ease-out), scale 140ms var(--ease-out);
}
.bf-card.is-focus {
  flex: 2.35 1 0%;
  border-color: var(--glass-border-hi);
}
@media (hover: hover) and (pointer: fine) {
  .bento-focus-gallery:hover .bf-card:not(:hover) {
    flex: 0.9 1 0%;
  }
  .bento-focus-gallery .bf-card:hover {
    flex: 2.35 1 0%;
    border-color: var(--red);
  }
  .bento-focus-gallery .bf-card:hover .bf-scrim {
    opacity: 0.82;
  }
}
.bf-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.76) contrast(1.06);
  z-index: 0;
}
.bf-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(6, 8, 11, 0.92) 8%, rgba(6, 8, 11, 0.35) 52%, rgba(6, 8, 11, 0.28) 100%);
  transition: opacity 150ms var(--ease-out);
}
.bf-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 2px 2px 0;
  min-width: 0;
}
.bf-pill {
  font-family: var(--f-mono);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius-sharp);
  background: rgba(7, 8, 10, 0.84);
  border: 1px solid var(--hairline);
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 0 1 auto;
  max-width: 100%;
}
.bf-top .bf-pill:nth-child(2) {
  flex-shrink: 0;
}
.bf-card:not(.is-focus) .bf-top .bf-pill:nth-child(2) { display: none; }
@media (hover: hover) and (pointer: fine) {
  .bento-focus-gallery:hover .bf-card:not(:hover) .bf-top .bf-pill:nth-child(2) { display: none; }
  .bento-focus-gallery .bf-card:hover .bf-top .bf-pill:nth-child(2) { display: inline-block; }
}
.bf-bottom {
  position: relative;
  z-index: 2;
  background: rgba(12, 16, 22, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-inner);
  padding: 14px 16px;
  min-width: 0;
  transition: border-color 150ms var(--ease-out);
}
.bf-title {
  margin: 0 0 8px;
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--fg);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bf-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-dim);
  min-width: 0;
}
.bf-meta > span:first-child {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bf-card:not(.is-focus) .bf-meta {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.bf-card:not(.is-focus) .bf-meta > span:first-child { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .bento-focus-gallery:hover .bf-card:not(:hover) .bf-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .bento-focus-gallery:hover .bf-card:not(:hover) .bf-meta > span:first-child { width: 100%; }
  .bento-focus-gallery .bf-card:hover .bf-meta {
    flex-direction: row;
    align-items: center;
  }
}
.bf-more {
  flex-shrink: 0;
  color: var(--red);
  white-space: nowrap;
  font-weight: 500;
}
@media (max-width: 760px) {
  .bento-focus-gallery {
    height: auto;
    gap: 12px;
    padding: 6px 9% 14px;
    scroll-padding-inline: 9%;
    perspective: 960px;
    overflow-x: auto;
    overflow-y: hidden;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .bento-focus-gallery::-webkit-scrollbar {
    display: none;
  }
  .bf-card, .bf-card.is-focus {
    flex: 0 0 82%;
    min-height: 312px;
    scroll-snap-align: center;
    touch-action: pan-x pan-y;
    transform: perspective(960px) translate3d(0, var(--bf-y, 8px), 0) scale(var(--bf-scale, 0.90)) rotateY(var(--bf-rot, 0deg));
    opacity: var(--bf-op, 0.58);
    transition: border-color 220ms var(--ease-out), box-shadow 240ms var(--ease-out);
    will-change: transform, opacity;
  }
  .bf-card.is-focus {
    --bf-scale: 1;
    --bf-y: 0px;
    --bf-rot: 0deg;
    --bf-op: 1;
    --bf-px: 0px;
    --bf-by: 0px;
    border-color: rgba(226, 58, 46, 0.62);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(226, 58, 46, 0.22);
  }
  .bento-focus-gallery .bf-bg {
    transform: scale(1.14) translate3d(var(--bf-px, 0px), 0, 0);
    will-change: transform;
  }
  .bento-focus-gallery .bf-bottom {
    transform: translate3d(0, var(--bf-by, 6px), 0);
    transition: border-color 180ms var(--ease-out);
  }
}

/* Mode B: 3D Curved Perspective Coverflow */
.coverflow-stage {
  display: none;
  position: relative;
  height: clamp(360px, 46vh, 450px);
  perspective: 1200px;
  overflow: hidden;
  touch-action: pan-y;
  border-radius: var(--radius-media);
  border: 1px solid var(--hairline);
  background: rgba(10, 12, 16, 0.86);
}
.coverflow-stage.active { display: block; }
.bento-focus-gallery.hidden { display: none; }

.cf-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  touch-action: pan-y;
}
.cf-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(230px, 34%, 340px);
  height: 82%;
  border-radius: var(--radius-media);
  overflow: hidden;
  border: 1px solid var(--glass-border-hi);
  background: #0B0E12;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  transition: transform 0.58s var(--ease), opacity 0.48s var(--ease), border-color 0.24s var(--ease), box-shadow 200ms var(--ease-out);
  transform-origin: center center;
}
.cf-card.is-center {
  border-color: var(--red);
}
.cf-arrow {
  position: absolute;
  top: 50%;
  z-index: 20;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--glass-border-hi);
  background: rgba(7, 8, 10, 0.88);
  color: var(--fg);
  font-size: 18px;
  transform: translateY(-50%);
  transition: border-color 180ms var(--ease-out), color 180ms var(--ease-out), translate 220ms var(--ease-out), scale 140ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .cf-arrow:hover { border-color: var(--fg); color: #fff; }
}
.cf-arrow.prev { left: 14px; }
.cf-arrow.next { right: 14px; }

/* CH.04 Category Quick-Jump Strip (#projCatStrip) */
.proj-cat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 12px;
}
.proj-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--hairline);
  background: rgba(236, 233, 228, 0.025);
  color: var(--fg-dim);
  font-family: var(--f-sans);
  font-size: 12px;
  cursor: pointer;
  transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out), background-color 160ms var(--ease-out), translate 220ms var(--ease-out), scale 140ms var(--ease-out);
}
.proj-cat-pill b {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-mute);
  font-variant-numeric: tabular-nums;
}
@media (hover: hover) and (pointer: fine) {
  .proj-cat-pill:hover {
    border-color: var(--red);
    color: var(--fg);
    background: rgba(226, 58, 46, 0.08);
  }
  .proj-cat-pill:hover b {
    color: var(--red);
  }
}

/* Lower Layer: Multi-Row Staggered Reverse-Scroll Masked Visual Wall */
.archive-wall-wrap {
  margin-top: 20px;
  max-width: 100%;
  overflow: hidden;
}
.archive-wall-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-dim);
}
.archive-wall-count {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-mute);
  font-variant-numeric: tabular-nums;
}
.jm {
  --jm-row-h: clamp(108px, 13vh, 146px);
  container-type: inline-size;
  max-width: 100%;
  overflow: hidden;
  touch-action: pan-y;
  padding: 12px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
}
.jm-row,
.jm-lane {
  display: flex;
  width: max-content;
  height: var(--jm-row-h);
  will-change: transform;
  margin-bottom: 14px;
}
.jm-row { gap: 14px; }
.jm-lane {
  animation: jm-marquee-fwd 78s linear infinite;
}
.jm-lane--rev {
  animation: jm-marquee-rev 86s linear infinite;
}
.jm:focus-within .jm-lane {
  animation-play-state: paused;
}
@media (hover: hover) and (pointer: fine) {
  .jm:hover .jm-lane {
    animation-play-state: paused;
  }
}
.jm-set {
  display: flex;
  gap: 14px;
  padding-right: 14px;
  height: 100%;
  flex-shrink: 0;
}
@keyframes jm-marquee-fwd {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
@keyframes jm-marquee-rev {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
.jm-row:last-child,
.jm-lane:last-child { margin-bottom: 0; }
.jm-tile {
  position: relative;
  flex: 0 0 auto;
  height: 100%;
  aspect-ratio: var(--jm-ar, 1.5);
  width: auto;
  border-radius: var(--radius-media);
  border: 1px solid var(--hairline);
  background: #0A0C0F;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), transform 0.14s var(--ease);
}
.jm-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.84) contrast(1.04);
  transition: filter 0.22s var(--ease);
}
.jm-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(236, 233, 228, 0.42);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .jm-tile:hover { border-color: rgba(236, 233, 228, 0.42); }
  .jm-tile:hover img { filter: brightness(1) contrast(1.06); }
  .jm-tile:hover::after { opacity: 1; }
}
.jm-tile__cap {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 18px 10px 8px;
  background: linear-gradient(to top, rgba(7, 8, 10, 0.92), transparent);
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
  text-align: left;
}
.jm-tile__title {
  font-family: var(--f-sans);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jm-tile__meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* CH.06: DESIGN SOLVES — HAIRLINE SKILL BARS + CRISP HAIRLINE STATS GRID */
.skill-bars {
  display: grid;
  gap: 12px;
  padding: 20px 22px;
}
.sb-row {
  display: grid;
  grid-template-columns: 84px 1fr 48px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.sb-label {
  color: var(--fg);
  font-weight: 500;
  white-space: nowrap;
}
.sb-track {
  height: 4px;
  background: rgba(236, 233, 228, 0.10);
  border-radius: 2px;
  overflow: hidden;
}
.sb-fill {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 2px;
  background: var(--fg);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.72s var(--ease);
}
.sb-row:first-child .sb-fill {
  background: var(--red);
}
.skill-bars.in .sb-fill,
.skill-bars.is-animating .sb-fill {
  transform: scaleX(var(--sbr, 0.8));
}
.sb-val {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  color: var(--fg-dim);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.stats-hero-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sharp);
  overflow: hidden;
  background: rgba(11, 13, 16, 0.74);
}
@media (max-width: 1180px) {
  .stats-hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .stats-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .stats-hero-grid .stat-card {
    border-right: none;
    border-bottom: 1px solid var(--hairline);
  }
  .stats-hero-grid .stat-card:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--hairline);
  }
  .stats-hero-grid .stat-card:last-child {
    border-bottom: none;
  }
}
.stats-hero-grid .stat-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
  min-height: clamp(148px, 18vh, 196px);
  padding: 20px 20px 18px;
  border: none;
  border-right: 1px solid var(--hairline);
  border-radius: 0;
  background: transparent;
  overflow: hidden;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.stats-hero-grid .stat-card:last-child { border-right: none; }
@media (max-width: 1180px) {
  .stats-hero-grid .stat-card { border-bottom: 1px solid var(--hairline); }
  .stats-hero-grid .stat-card:nth-child(2n) { border-right: none; }
  .stats-hero-grid .stat-card:nth-last-child(-n+2) { border-bottom: none; }
}
@media (hover: hover) and (pointer: fine) {
  .stats-hero-grid .stat-card:hover {
    background: rgba(236, 233, 228, 0.03);
  }
}
.stats-hero-grid .stat-card .num {
  position: relative;
  z-index: 1;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(48px, 4.6vw, 76px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
  display: flex;
  align-items: center;
}
.stats-hero-grid .stat-card .num sup {
  font-size: 0.44em;
  color: var(--red);
  vertical-align: super;
  margin-left: 3px;
}
.stats-hero-grid .stat-card .unit {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  text-transform: uppercase;
}
.stats-hero-grid .stat-card .lab {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--fg-mute);
}
.infinity-svg {
  width: clamp(64px, 5.4vw, 88px);
  height: auto;
  display: block;
  overflow: visible;
}
.inf-path-bg {
  fill: none;
  stroke: rgba(236, 233, 228, 0.16);
  stroke-width: 5.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.inf-path-flow {
  fill: none;
  stroke: var(--fg);
  stroke-width: 5.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============ CH.06 3D LANYARD + EDITORIAL FOOTER ============ */
.solves-top-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  margin-bottom: 16px;
  align-items: stretch;
}
.lanyard-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 400px;
  padding: 0;
  overflow: hidden;
  border-color: rgba(236, 233, 228, 0.18);
  background: radial-gradient(ellipse 68% 58% at 50% 42%, rgba(214, 226, 244, 0.10) 0%, rgba(28, 33, 44, 0.42) 48%, rgba(8, 10, 14, 0.96) 86%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), inset 0 0 0 1px rgba(255, 255, 255, 0.03), inset 0 -24px 48px rgba(0, 0, 0, 0.45);
}
.lanyard-canvas-host {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 344px;
  cursor: grab;
  touch-action: none;
}
.lanyard-canvas-host::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 52% 62% at 50% 52%, rgba(236, 240, 248, 0.09) 0%, rgba(226, 58, 46, 0.04) 48%, transparent 74%);
}
.lanyard-canvas-host.is-dragging { cursor: grabbing; }
.lanyard-canvas-host canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}
.lanyard-hud-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-top: 1px solid var(--hairline);
  flex-wrap: wrap;
}
.lanyard-hud-hint {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.lanyard-hud-actions {
  display: flex;
  gap: 6px;
}
.lanyard-mini-btn {
  border-radius: var(--radius-sharp);
  border: 1px solid var(--hairline);
  background: transparent;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
  padding: 5px 10px;
  cursor: pointer;
  transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out), translate 220ms var(--ease-out), scale 140ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .lanyard-mini-btn:hover {
    border-color: var(--glass-border-hi);
    color: var(--fg);
  }
}
@media (max-width: 1180px) {
  .solves-top-split { grid-template-columns: minmax(0, 1fr); }
  .solves-top-split > * { min-width: 0; max-width: 100%; }
}

.footer-editorial {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}
.ft-main {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: end;
}
.ft-brand-col,
.ft-contact-col {
  min-width: 0;
}
.ft-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.ft-status .pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.ft-headline {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg);
}
.ft-headline-out {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 233, 228, 0.36);
}
.ft-contact-col {
  display: flex;
  flex-direction: column;
}
.ft-contact-col > :first-child {
  border-top: 1px solid var(--hairline);
}
.ft-contact-row {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  background: none;
  text-align: left;
  cursor: pointer;
  color: var(--fg);
  font-family: inherit;
  transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out), transform 140ms var(--ease-out);
}
.ft-contact-row.is-static { cursor: default; }
.ft-row-k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
  flex-shrink: 0;
}
.ft-row-v {
  font-size: 15px;
  transition: color 160ms var(--ease-out);
}
.ft-row-v i {
  font-style: normal;
  display: inline-block;
  margin-left: 4px;
  transition: transform 200ms var(--ease-out), color 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .ft-contact-row:not(.is-static):hover .ft-row-v,
  .ft-contact-row:not(.is-static):hover .ft-row-v i {
    color: var(--red);
  }
  .ft-contact-row:not(.is-static):hover .ft-row-v i {
    transform: translate(3px, -3px);
  }
}
.ft-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ft-copy {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.ft-links {
  display: flex;
  gap: clamp(14px, 3vw, 32px);
  flex-wrap: wrap;
}
.ft-text-link {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: none;
  border: 0;
  padding: 0;
  color: var(--fg-mute);
  cursor: pointer;
  transition: color 160ms var(--ease-out), transform 140ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .ft-text-link:hover { color: var(--red); }
}
.ft-sitemap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.ft-map-col {
  min-width: 0;
}
.ft-map-head {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 12px;
}
.ft-map-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ft-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  background: none;
  border: 0;
  padding: 2px 0;
  text-align: left;
  font-family: var(--f-sans);
  font-size: 13px;
  color: var(--fg-dim);
  cursor: pointer;
  text-decoration: none;
  overflow-wrap: break-word;
  transition: color 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .ft-map-link:hover { color: var(--red); }
}
.ft-map-link.is-accent {
  color: var(--fg);
  font-weight: 500;
}
.ft-map-link.is-accent::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
@media (max-width: 860px) {
  .ft-main { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ft-sitemap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .ft-sitemap { grid-template-columns: minmax(0, 1fr); }
}

/* ============ CH.04 BLOG 7 FILTERABLE ARCHIVE OVERLAY ============ */
.blog7-overlay {
  position: fixed;
  inset: 0;
  z-index: 215;
  background: rgba(7, 8, 10, 0.96);
  overflow-y: auto;
  padding: calc(24px + var(--safe-t)) max(24px, var(--safe-r)) calc(44px + var(--safe-b)) max(24px, var(--safe-l));
}
.blog7-overlay:not([hidden]) {
  animation: blog7OverlayIn 220ms var(--ease-out) both;
}
@keyframes blog7OverlayIn {
  from { opacity: 0; transform: scale(0.985); }
  to { opacity: 1; transform: scale(1); }
}
.blog7-overlay[hidden] { display: none; }
.blog7-head {
  max-width: 1440px;
  margin: 0 auto 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.blog7-crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 8px;
}
.blog7-crumb-link {
  color: var(--fg-dim);
  cursor: pointer;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  transition: color 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .blog7-crumb-link:hover { color: var(--red); }
}
.blog7-crumb strong {
  color: var(--fg);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.blog7-title {
  margin: 6px 0 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 62px);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--fg);
}
.blog7-sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.5;
}
.blog7-filters {
  max-width: 1440px;
  margin: 0 auto 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.blog7-filter,
.blog7-filters button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 5px 12px;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--hairline);
  background: rgba(16, 20, 26, 0.68);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out), background-color 160ms var(--ease-out), translate 220ms var(--ease-out), scale 140ms var(--ease-out);
}
.blog7-filter span {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  opacity: 0.78;
}
@media (hover: hover) and (pointer: fine) {
  .blog7-filter:hover,
  .blog7-filters button:hover {
    border-color: var(--glass-border-hi);
    color: var(--fg);
  }
}
.blog7-filter.is-active,
.blog7-filters button.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.blog7-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.blog7-grid.is-grouped {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.blog7-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.blog7-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  flex-wrap: wrap;
}
.blog7-group:first-child .blog7-group-head {
  padding-top: 4px;
  border-top: none;
}
.blog7-group-title-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}
.blog7-group-idx {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.blog7-group-title {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  min-width: 0;
  overflow-wrap: break-word;
}
.blog7-group-count {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-mute);
  padding: 2px 7px;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--hairline);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.blog7-group-only {
  background: none;
  border: 0;
  padding: 4px 0;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .blog7-group-only:hover { color: var(--red); }
}
.blog7-group-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1023px) {
  .blog7-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog7-group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .blog7-grid { grid-template-columns: minmax(0, 1fr); }
  .blog7-group-grid { grid-template-columns: minmax(0, 1fr); }
}
.blog7-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: #0B0D10;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sharp);
  text-align: left;
  cursor: pointer;
  min-width: 0;
  transition: border-color 150ms var(--ease-out), background-color 150ms var(--ease-out), box-shadow 200ms var(--ease-out), transform 140ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .blog7-card:hover {
    background: #12161D;
    border-color: var(--glass-border-hi);
  }
}

/* Desktop Mouse-Follow Radial Glow & Rim Highlight (driven by v1-motion.js --mx/--my/.is-glow-hover) */
@media (hover: hover) and (pointer: fine) {
  .edu-card,
  .exp-card {
    position: relative;
    overflow: hidden;
  }

  .bf-card::after,
  .cf-card::after,
  .aigc-stage-card::after,
  .aigc-rail-item::after,
  .tool-card::after,
  .blog7-card::after,
  .edu-card::after,
  .exp-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    border-radius: inherit;
    opacity: 0;
    background: radial-gradient(
      420px circle at var(--mx, 50%) var(--my, 50%),
      rgba(226, 58, 46, 0.16),
      rgba(255, 255, 255, 0.06) 40%,
      transparent 72%
    );
    transition: opacity 200ms var(--ease-out);
  }

  .bf-card.is-glow-hover::after,
  .cf-card.is-glow-hover::after,
  .aigc-stage-card.is-glow-hover::after,
  .aigc-rail-item.is-glow-hover::after,
  .tool-card.is-glow-hover::after,
  .blog7-card.is-glow-hover::after,
  .edu-card.is-glow-hover::after,
  .exp-card.is-glow-hover::after {
    opacity: 1;
  }

  .bf-card.is-glow-hover,
  .cf-card.is-glow-hover,
  .aigc-stage-card.is-glow-hover,
  .aigc-rail-item.is-glow-hover,
  .tool-card.is-glow-hover,
  .blog7-card.is-glow-hover,
  .edu-card.is-glow-hover,
  .exp-card.is-glow-hover {
    border-color: rgba(226, 58, 46, 0.42);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.08),
      0 10px 30px -12px rgba(226, 58, 46, 0.22);
  }

  .bf-card.is-glow-hover,
  .cf-card.is-glow-hover {
    border-color: rgba(226, 58, 46, 0.65);
  }
}
.blog7-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-media);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: #07080A;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog7-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog7-thumb.is-wide img {
  object-fit: contain;
  padding: 8px;
}
.blog7-media-pill {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  padding: 3px 7px;
  border-radius: var(--radius-sharp);
  background: rgba(7, 8, 10, 0.86);
  border: 1px solid var(--hairline);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.blog7-thumb-pending {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.blog7-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.blog7-card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--fg);
  min-width: 0;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 2;
}
.blog7-card-sub {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--fg-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog7-card-sub:empty { display: none; }
.blog7-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}
.blog7-card-tags span {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--hairline);
  color: var(--fg-dim);
}
.blog7-card--aigc .blog7-card-tags span {
  border-color: rgba(236, 233, 228, 0.22);
  color: var(--fg);
  background: rgba(236, 233, 228, 0.04);
}

/* ============ FULLSCREEN 6-CHAPTER PREVIEW MENU (.nav6-overlay) ============ */
.nav6-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(7, 8, 10, 0.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: calc(28px + var(--safe-t)) max(24px, var(--safe-r)) calc(28px + var(--safe-b)) max(24px, var(--safe-l));
}
.nav6-overlay[hidden] { display: none; }
.nav6-close {
  position: fixed;
  top: calc(18px + var(--safe-t));
  right: max(20px, var(--safe-r));
  z-index: 2;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--glass-border-hi);
  background: var(--glass-bg);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out), scale 140ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav6-close:hover { border-color: var(--red); color: var(--red); }
}
.nav6-inner {
  width: min(1140px, 100%);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.nav6-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav6-item {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sharp);
  border: 1px solid transparent;
  text-align: left;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav6-idx {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  color: var(--fg-dim);
  flex: 0 0 auto;
}
.nav6-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 0.96;
  text-transform: uppercase;
  color: var(--fg);
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.nav6-cn {
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
  text-transform: none;
}
.nav6-item.is-active .nav6-cn {
  color: var(--fg);
}
.nav6-works-group {
  display: flex;
  flex-direction: column;
}
.nav6-sub-wrap {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  visibility: hidden;
  transition:
    grid-template-rows 240ms var(--ease-out),
    opacity 200ms var(--ease-out),
    transform 220ms var(--ease-out),
    visibility 0s linear 240ms;
}
.nav6-sub-inner {
  overflow: hidden;
  min-height: 0;
}
.nav6-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 16px 12px 44px;
}
.nav6-sub:empty { display: none; }
.nav6-works-group:focus-within .nav6-sub-wrap {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  transition:
    grid-template-rows 240ms var(--ease-out),
    opacity 200ms var(--ease-out),
    transform 220ms var(--ease-out),
    visibility 0s linear 0s;
}
@media (hover: hover) and (pointer: fine) {
  .nav6-works-group:hover .nav6-sub-wrap {
    grid-template-rows: 1fr;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
    transition:
      grid-template-rows 240ms var(--ease-out),
      opacity 200ms var(--ease-out),
      transform 220ms var(--ease-out),
      visibility 0s linear 0s;
  }
}
@media (hover: none), (pointer: coarse) {
  .nav6-sub-wrap {
    grid-template-rows: 1fr;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
    transition: none;
  }
}
.nav6-sub-btn,
.nav6-sub button,
.nav6-sub a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--hairline);
  background: rgba(16, 20, 26, 0.68);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-dim);
  cursor: pointer;
  transition: border-color 150ms var(--ease-out), color 150ms var(--ease-out), background-color 150ms var(--ease-out), scale 140ms var(--ease-out);
}
.nav6-sub-btn b,
.nav6-sub button b,
.nav6-sub a b {
  font-weight: 500;
  color: var(--fg-mute);
  font-variant-numeric: tabular-nums;
}
@media (hover: hover) and (pointer: fine) {
  .nav6-sub-btn:hover,
  .nav6-sub button:hover,
  .nav6-sub a:hover {
    border-color: var(--red);
    color: var(--fg);
    background: rgba(226, 58, 46, 0.12);
  }
}
.nav6-pct {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  color: var(--fg-mute);
  font-variant-numeric: tabular-nums;
}
.nav6-item.is-active {
  border-color: var(--red);
  background: rgba(226, 58, 46, 0.12);
}
.nav6-item.is-active .nav6-pct { color: var(--red); }
@media (hover: hover) and (pointer: fine) {
  .nav6-item:hover {
    border-color: var(--glass-border-hi);
    background: rgba(236, 233, 228, 0.04);
    transform: translateX(4px);
  }
}
.nav6-preview {
  margin: 0;
  border-radius: var(--radius-media);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: rgba(16, 20, 26, 0.72);
}
.nav6-preview-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.nav6-preview-meta {
  padding: 14px 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--fg-dim);
  border-top: 1px solid var(--hairline);
}
.nav6-fx-bar {
  width: min(1140px, 100%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
@media (max-width: 860px) {
  .nav6-inner { grid-template-columns: minmax(0, 1fr); }
  .nav6-preview { display: none; }
  .nav6-fx-bar { justify-content: flex-start; }
}

/* ============ FROSTED CONTACT MODAL (.contact-modal) ============ */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 225;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(20px + var(--safe-t)) max(20px, var(--safe-r)) calc(20px + var(--safe-b)) max(20px, var(--safe-l));
}
.contact-modal[hidden] { display: none; }
.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 7, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.contact-modal-card {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.contact-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--glass-border-hi);
  background: rgba(11, 13, 18, 0.78);
  color: var(--fg-dim);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out), scale 140ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .contact-modal-close:hover { border-color: var(--red); color: var(--red); }
}
.contact-modal-title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: var(--fg);
}
.mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(15px, 1.5vw, 19px);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-2);
  transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out), translate 220ms var(--ease-out), scale 140ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .mail:hover { border-color: var(--red); color: var(--red); }
  .mail:hover .arw { transform: translate(4px, -4px); }
}
.mail .arw { transition: transform 0.24s var(--ease); }
.contact-wechat-line {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.contact-wechat-line strong {
  color: var(--fg);
  font-weight: 600;
}
.contact-qr-box {
  width: 176px;
  height: 176px;
  border-radius: var(--radius-sharp);
  border: 1px dashed var(--line-2);
  background: rgba(11, 13, 16, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
}
.contact-qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sharp);
}
.contact-qr-placeholder {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--fg-dim);
}
.contact-qr-placeholder small { color: var(--fg-mute); font-size: 11px; }
.contact-modal-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.contact-socials { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.contact-qr-box[hidden],
.contact-socials[hidden],
.ft-map-list li[hidden],
.ft-links [hidden] {
  display: none;
}
.contact-socials a, .contact-socials button {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  transition: color 0.2s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .contact-socials a:hover, .contact-socials button:hover { color: var(--fg); }
}
.contact-meta-line {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-mute);
  margin-top: 4px;
}

/* Floating Controls & Toast */
.to-top {
  position: fixed;
  right: max(18px, var(--safe-r));
  bottom: max(20px, var(--safe-b));
  z-index: 60;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(7, 8, 10, 0.84);
  color: var(--fg);
  font-size: 16px;
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 180ms var(--ease-out), translate 220ms var(--ease-out), scale 140ms var(--ease-out), border-color 180ms var(--ease-out), color 180ms var(--ease-out);
}
.to-top.is-show { opacity: 1; pointer-events: auto; transform: translateY(0); }
@media (hover: hover) and (pointer: fine) { .to-top:hover { border-color: var(--red); color: var(--red); } }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(28px + var(--safe-b));
  z-index: 230;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  background: var(--panel);
  border: 1px solid var(--line-2);
  color: var(--fg);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: var(--radius-sharp);
  white-space: nowrap;
  max-width: calc(100% - max(32px, var(--safe-l) + var(--safe-r)));
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Portrait Bottom Nav (6 chapters, visible across Act I & Act II on mobile) */
.mnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 115;
  display: none;
  grid-template-columns: repeat(6, 1fr);
  padding: 8px max(8px, var(--safe-r)) calc(8px + var(--safe-b)) max(8px, var(--safe-l));
  background: rgba(7, 8, 10, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.mnav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: #C9CBCF;
  text-transform: uppercase;
  padding: 4px 0;
}
.mnav a b { font-family: var(--f-sans); font-size: 12px; font-weight: 500; color: #ECE9E4; }
.mnav a::before {
  content: "";
  width: 24px;
  height: 1px;
  background: rgba(236, 233, 228, 0.28);
  transform-origin: center;
  transform: scaleX(0.58);
  transition: background-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.mnav a.is-active, .mnav a.is-active b { color: var(--red); }
.mnav a.is-active::before { background: var(--red); transform: scaleX(1); }

/* =========================================================
   RESPONSIVE C: TABLET & MOBILE PORTRAIT (< 1024px)
   ========================================================= */
@media (max-width: 1023px) {
  .profile-shell {
    grid-template-columns: minmax(0, 1fr);
    padding-top: calc(var(--hud-h) + var(--safe-t) + 62px);
  }
  .p-section {
    scroll-margin-top: calc(var(--hud-h) + var(--safe-t) + 74px);
  }
  .crt-sidebar {
    display: none;
  }
  .crt-3d-host,
  .crt-unit-wrap,
  .crt-init-headline,
  .crt-sticky-note,
  .crt-screen-media,
  .crt-screen-log,
  .crt-chin,
  .crt-console-bottom,
  .crt-glow-backdrop,
  .crt-mobile-hero {
    display: none !important;
  }
  body.is-act-profile .mobile-crt-bar {
    display: flex;
  }
  .mobile-crt-bar {
    position: fixed;
    top: calc(var(--hud-h) + var(--safe-t));
    left: 0;
    right: 0;
    height: 62px;
    z-index: 112;
    padding: 2px max(8px, var(--safe-r)) 2px max(8px, var(--safe-l));
    align-items: center;
    justify-content: center;
    background: rgba(7, 8, 10, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hairline);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%);
    transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
  }
  .mobile-crt-bar.is-stuck {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .mobile-crt-chassis {
    position: relative;
    width: min(100%, 366px);
    aspect-ratio: 1120 / 184;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
  }
  .mobile-crt-shell-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
    user-select: none;
  }
  .mobile-crt-screen {
    position: absolute;
    left: 16.5%;
    right: 18.5%;
    top: 20%;
    bottom: 22%;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 7px;
    overflow: hidden;
    border-radius: 3px;
    pointer-events: none;
  }
  .mobile-crt-pip {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--crt-green);
    box-shadow: 0 0 6px var(--crt-green);
    flex-shrink: 0;
  }
  .mobile-crt-pct {
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--red);
    text-shadow: 0 0 6px rgba(226, 58, 46, 0.45);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
  }
  .mobile-crt-log {
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--crt-green);
    text-shadow: 0 0 8px rgba(74, 246, 38, 0.42);
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mobile-crt-btn {
    position: absolute;
    left: 84.92%;
    width: 12.71%;
    top: 50%;
    transform: translateY(-50%);
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 4px;
    background: transparent;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #181A1F;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.38);
    cursor: pointer;
    transition: color 160ms var(--ease-out), transform 140ms var(--ease-out);
  }
  .mobile-crt-btn:active {
    transform: translateY(-50%) scale(0.95);
  }
  @media (hover: hover) and (pointer: fine) {
    .mobile-crt-btn:hover {
      color: var(--red);
    }
  }
}

@media (max-width: 900px) and (orientation: portrait), (max-width: 900px) and (min-height: 501px) {
  .mnav { display: grid; }
  body { padding-bottom: calc(76px + var(--safe-b)); }
  .profile-content { padding-bottom: calc(76px + var(--safe-b)); }
  #sec-solves, #sec-contact { padding-bottom: calc(24px + var(--safe-b)); }
  .footer-editorial { padding-bottom: calc(84px + var(--safe-b)); }
  .stage-3d-bottom { padding-bottom: calc(78px + var(--safe-b)); }
  .zoom-hud-bar { bottom: calc(76px + var(--safe-b)); }
  .enter-trigger-wrap { bottom: calc(76px + var(--safe-b)); }
  .to-top { bottom: calc(78px + var(--safe-b)); }
  .toast { bottom: calc(82px + var(--safe-b)); }
}

/* =========================================================
   RESPONSIVE B: MOBILE LANDSCAPE (height <= 500px && landscape)
   28% Left Compact CRT + 72% Right Content
   ========================================================= */
@media (orientation: landscape) and (max-height: 500px) {
  :root { --hud-h: 44px; }

  .hud { gap: 8px; }
  .brand span, .hud-clock-pill { display: none; }
  .hud-stages { display: none; }
  .stage-pill { padding: 4px 9px; font-size: 10px; }
  .mnav { display: none !important; }
  body { padding-bottom: 0; }

  /* Stage 01 Landscape */
  .stage-3d-top { padding-top: 8px; }
  .stage-3d-bottom { padding-bottom: max(12px, var(--safe-b)); gap: 10px 16px; }
  .hero-title .en { font-size: clamp(28px, 8svh, 46px); }
  .hero-title .cn { font-size: clamp(16px, 4.6svh, 24px); padding-bottom: 2px; }
  .hero-sub { margin-top: 4px; }
  .hero-pos, .hero-line { display: none; }
  .hero-hint { margin-top: 6px; padding: 3px 8px; font-size: 9px; }
  .btn-retro { min-height: 36px; padding: 6px 12px; font-size: 10.5px; }

  /* Stage 02 Landscape */
  .crt-cover-overlay { width: min(420px, 62vw); padding: 12px 18px; }
  .crt-cover-overlay .cover-en { font-size: clamp(24px, 7.5lvh, 40px); }
  .crt-cover-overlay .boot-line { margin-bottom: 6px; font-size: 10px; }
  .crt-cover-overlay .load-bar-wrap { margin-top: 10px; }
  .zoom-hud-bar { bottom: max(8px, var(--safe-b)); padding: 4px 12px; font-size: 10px; }

  /* Stage 03 Landscape */
  .pov-coords { top: calc(var(--hud-h) + var(--safe-t) + 6px); font-size: 9.5px; }
  .pov-type-top { padding-top: calc(var(--hud-h) + var(--safe-t) + 8px); }
  .pov-typo-aigc { width: clamp(180px, 34vw, 320px); }
  .pov-type-back { padding-bottom: 10svh; }
  .pov-typo-fengce { width: clamp(220px, 38vw, 380px); max-height: 24svh; }
  .pov-type-front { padding-bottom: 12svh; }
  .pov-typo-cn { width: clamp(140px, 24vw, 240px); max-height: 8svh; }
  .enter-trigger-wrap {
    right: max(14px, var(--safe-r));
    bottom: max(8px, var(--safe-b));
    left: auto;
    transform: none;
    align-items: flex-end;
  }
  .retro-pc-btn { flex-direction: row; padding: 6px 12px; border-radius: var(--radius-inner); gap: 8px; }
  .retro-pc-icon { width: 28px; height: 24px; }

  .profile-content { padding: 14px max(18px, var(--safe-r)) 20px 18px; }
  .p-section { padding: 18px 0 26px; }
  .sec-head { margin-bottom: 14px; }
  .sec-title h2 { font-size: clamp(28px, 8svh, 42px); }
  .bento-focus-gallery {
    height: auto;
    overflow-x: auto;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .bento-focus-gallery::-webkit-scrollbar { display: none; }
  .bf-card, .bf-card.is-focus { flex: 0 0 clamp(175px, 30vw, 220px); min-height: 200px; touch-action: pan-x pan-y; }
}

/* Act II Compact Two-Column 28% / 72% Mode (>= 600px wide & landscape small-height) */
@media (orientation: landscape) and (max-height: 500px) and (min-width: 600px) {
  .profile-shell {
    grid-template-columns: clamp(210px, 28vw, 280px) 1fr;
    padding-top: calc(var(--hud-h) + var(--safe-t));
  }
  .mobile-crt-bar { display: none !important; }
  .crt-mobile-hero { display: none !important; }
  .crt-unit-wrap { display: flex !important; padding: 0; }
  .crt-sidebar {
    display: flex;
    position: sticky;
    top: calc(var(--hud-h) + var(--safe-t));
    height: calc(var(--svh) * 100 - var(--hud-h) - var(--safe-t));
    border-right: 1px solid var(--line);
    border-bottom: none;
    padding: 6px 10px 6px max(10px, var(--safe-l));
    gap: 6px;
    justify-content: center;
  }
  .crt-hardware { display: block !important; padding: 8px; border-radius: 12px; }
  .crt-bezel-inner {
    min-height: 0;
    aspect-ratio: 4 / 3;
    max-height: calc(var(--svh) * 100 - 124px);
    padding: 8px 10px;
    gap: 4px;
  }
  @supports (height: 100svh) {
    .crt-sidebar { height: calc(100svh - var(--hud-h) - var(--safe-t)); }
    .crt-bezel-inner { max-height: calc(100svh - 124px); }
  }
  .crt-screen-title { font-size: clamp(14px, 4.2svh, 18px); line-height: 1.15; }
  .crt-screen-sub { display: block; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .crt-screen-log { display: none !important; }
  .crt-console-bottom { display: flex !important; gap: 4px; }
  .option-wheel { display: none !important; }
  .crt-sidebar-actions { grid-template-columns: 1fr 1fr; }
  .crt-sidebar-actions .btn-retro { width: 100%; min-height: 36px; font-size: 10px; }
}

/* ============ TOUCH / COARSE POINTER NATIVE DISCIPLINE ============ */
@media (pointer: coarse) {
  input, textarea, select { font-size: 16px; }
  .gal-tab, .cf-arrow { min-width: 44px; min-height: 44px; }
  .mnav a { min-height: 44px; justify-content: center; }
  .bento-focus-gallery {
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .bento-focus-gallery::-webkit-scrollbar { display: none; }
  .bf-card { touch-action: pan-x pan-y; }
}
/* G4: 触控目标一律 ≥44px —— 粗指针或窄屏生效，1440 桌面鼠标不受影响 */
@media (pointer: coarse), (max-width: 760px) {
  .btn-retro, .btn-gyro, .stage-pill { min-height: 44px; }
  .skip-intro { min-height: 44px; padding: 10px 16px; }
  .mobile-crt-btn {
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .hud-audio-btn, .brand { min-height: 44px; }
  .tl3-phase-chip { min-height: 44px; }
  .aigc-open { min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; }
  .option-wheel__item { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .contact-modal-close { width: 44px; height: 44px; }
  .nav6-close { min-height: 44px; }
}

/* =========================================================
   RESPONSIVE PASS · 2026-12-05 移动端竖屏（≤760px）
   只覆盖窄屏/触屏场景；1440 桌面规则不受影响
   ========================================================= */

/* A7: 滚到 SHOT05 底部时给 ENTER 按钮一次明确可点提示（克制，仅加光晕） */
.retro-pc-btn.is-nudge { animation: enterNudge 1.9s var(--ease) infinite; }
@keyframes enterNudge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(226, 58, 46, 0.30); }
  50% { box-shadow: 0 0 0 7px rgba(226, 58, 46, 0); }
}
/* C3: 弹窗头部按钮不断行，避免「关 / 闭」竖排 */
.crt3d-modal-head .btn-retro { white-space: nowrap; flex-shrink: 0; }
.crt3d-modal-head > span, .crt3d-modal-head > div { min-width: 0; }
@media (max-width: 760px) {
  .lanyard3d-modal .crt3d-modal-head {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .lanyard3d-modal-actions {
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  /* ---- A2 / A6 / B1 竖屏首屏构图、HUD 防遮挡与容器水平约束 ---- */
  .hero-visual img { object-fit: cover; object-position: 52% 44%; }
  .stage-3d-top {
    padding: 12px max(16px, var(--safe-r)) 0 max(28px, calc(var(--safe-l) + 14px));
    gap: 4px 12px;
  }
  .retro-pc-icon { width: 40px; height: 35px; }
  .retro-pc-sub { font-size: 11px; }
  .profile-content {
    width: 100%;
    max-width: 100%;
    padding-left: max(18px, var(--safe-l));
    padding-right: max(18px, var(--safe-r));
    overflow-x: clip;
  }
  .p-section { min-width: 0; max-width: 100%; }

  /* ---- G3 微标签与正文的移动端下限 ---- */
  .crt-screen-sub, .mobile-crt-log, .aigc-chip, .sec-idx, .pg-kicker,
  .exp-year-badge, .exp-count-badge, .tool-card .tool-tag {
    font-size: 11px;
    line-height: 1.4;
  }
  .sec-sub-text, .p-sub, .exp-desc, .mf-lead .dim { font-size: 13px; line-height: 1.6; }

  /* ---- R2 能力区下方黑空收敛（桌面 padding 不动） ---- */
  .p-section { padding-bottom: 26px; }
  #sec-cap { padding-bottom: 16px; }
  .aigc-showcase { margin-bottom: 22px; }
  /* AIGC 头部：竖屏把「浏览全部」放到独立一行，避免被视口裁切 */
  .aigc-showcase-head { flex-wrap: wrap; row-gap: 10px; }
  .aigc-head-right { flex: 1 1 100%; justify-content: space-between; min-width: 0; }
  #btnOpenArchiveTop { flex: 0 1 auto; min-width: 0; white-space: nowrap; }

  /* ---- R3 档案墙：触屏可手动横滑（关闭自动漂移、隐藏克隆组） ---- */
  .jm {
    overflow-x: auto;
    touch-action: pan-x;
    scrollbar-width: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .jm::-webkit-scrollbar { display: none; }
  .jm-lane, .jm-row { animation: none; }
  .jm-set--clone { display: none; }
  .jm-row { margin-bottom: 12px; }

  /* ---- R4 Blog7：头部纵向堆叠、筛选 chips 横滑、关闭 ≥44px ---- */
  .blog7-overlay {
    padding: calc(16px + var(--safe-t)) max(16px, var(--safe-r)) calc(88px + var(--safe-b)) max(16px, var(--safe-l));
    overscroll-behavior: contain;
  }
  .blog7-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
  .blog7-head .btn-retro { align-self: flex-end; }
  .blog7-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
    margin-bottom: 12px;
  }
  .blog7-filters::-webkit-scrollbar { display: none; }
  .blog7-filter, .blog7-filters button { min-height: 44px; flex: 0 0 auto; white-space: nowrap; }

  /* ---- R5 精选卡：徽章完整可读、不裁切 ---- */
  .bf-card { padding: 14px; }
  .bf-top { gap: 6px; flex-wrap: wrap; }
  .bf-top .bf-pill { font-size: 11px; letter-spacing: 0.02em; padding: 4px 7px; }
  .bf-top .bf-pill:first-child { flex-shrink: 1; min-width: 0; }

  /* ---- R6 时间轴：竖屏下波轮留白与按钮触控 ---- */
  .tl3-hwheel { height: 132px; }
  .tl3-stage { margin-top: 18px; }
  .tl3-info { padding-bottom: 4px; }
  .tl3-nav-btns { margin-top: 14px; gap: 10px; }

  /* ---- R7 统计卡：不再被拉到 300px 高 ---- */
  .stats-hero-grid { align-content: start; }
  .stats-hero-grid .stat-card { min-height: 0; padding: 14px 18px 12px; }
  .stats-hero-grid .stat-card .num { font-size: clamp(38px, 11vw, 48px); }
  .stats-hero-grid .stat-card .unit { margin-top: 8px; }

  /* ---- R8 宣言与标题防孤字 ---- */
  .mf-lead, .sec-sub-text, .bf-title, .sec-title h2 { text-wrap: balance; }

  /* ---- R10 工具与工牌 ---- */
  .tool-card { padding: 16px 18px; }
  .sb-row { grid-template-columns: 76px minmax(0, 1fr) 44px; gap: 10px; }
  .lanyard-stage { min-height: 360px; min-width: 0; max-width: 100%; }
  .lanyard-canvas-host { aspect-ratio: 4 / 3; min-height: 290px; }
  .lanyard-hud-hint { min-width: 0; max-width: 100%; overflow-wrap: break-word; }
  .lanyard-hud-actions { flex-wrap: wrap; max-width: 100%; }
  .lanyard-mini-btn { min-height: 44px; }

  /* ---- F1 / F3 页脚（修复左缘裁剪与底部 .mnav 遮挡） ---- */
  .footer-editorial {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: calc(84px + var(--safe-b));
    box-sizing: border-box;
  }
  .ft-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    justify-items: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .ft-brand-col,
  .ft-contact-col {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: 0;
    padding-left: 0;
    text-align: left;
  }
  .ft-status {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    margin-left: 0;
    padding-left: 0;
    letter-spacing: 0.06em;
    overflow-wrap: break-word;
  }
  .ft-headline {
    font-size: clamp(32px, 10vw, 44px);
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    padding-left: 1px;
    overflow-wrap: break-word;
  }
  .ft-headline-out { max-width: 100%; }
  .ft-contact-row { min-height: 44px; padding: 12px 0; gap: 10px; }
  .ft-row-k { flex-shrink: 0; }
  .ft-row-v { min-width: 0; overflow-wrap: anywhere; text-align: right; }
  .ft-sitemap { grid-template-columns: minmax(0, 1fr); gap: 18px; width: 100%; max-width: 100%; min-width: 0; }
  .ft-map-link { min-height: 44px; display: inline-flex; align-items: center; }
  .ft-bottom { width: 100%; max-width: 100%; min-width: 0; }
  .ft-copy { max-width: 100%; overflow-wrap: break-word; }
  .ft-text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }

  /* ---- G7 内容图自适应（不裁内容） ---- */
  .p-section img, .jm-tile img, .tool-card img, .blog7-card img { max-width: 100%; }
  .crt-mobile-hero img { object-fit: contain; }
}

/* G8: 固定层统一吃安全区（独立于断点） */
.crt3d-modal { overscroll-behavior: contain; }
.pd-overlay, .blog7-overlay { overscroll-behavior: contain; }

/* ============ REDUCED MOTION ============ */@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .rv, .toast, button, a, .bento-card, .tl3-phase-chip, .tool-card, .tool-item, .tool-icon, .blog7-filter, .blog7-card, .blog7-crumb-link, .blog7-group-only, .proj-cat-pill, .lanyard-mini-btn, .ft-contact-row, .ft-text-link, .ft-map-link, .ag-panel, .nav6-item, .gal-tab, .stage-pill, .p-section, .skip-intro, .mobile-crt-bar, .mobile-crt-btn {
    transition: opacity 0.18s ease, color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease !important;
  }
  .tl3-hwheel-item,
  .tl3-hwheel-vernier,
  .aigc-stage-card,
  .aigc-rail-item,
  .aigc-open {
    transition: none !important;
    filter: none !important;
  }
  .rv { opacity: 1; transform: none; filter: none; }
  .stage-3d::before { transform: none; }
  .hero-loader, .crt-sweep, .crt-star, .crt-glitch-overlay { display: none !important; }
  .p-section:first-of-type .sec-title h2::after, .contact-banner h2::after { display: none; }
  .mf-lead .ch { opacity: 1; }
  .bf-card, .bf-card.is-focus, .bento-focus-gallery .bf-bg, .bento-focus-gallery .bf-bottom {
    transform: none !important;
    opacity: 1 !important;
  }
  .crt-unit-wrap, .tilt-card { transform: none !important; }
  .pd-btn, .btn-retro, .stage-pill, .to-top, .gal-tab, .cf-arrow, .skip-intro, .aigc-open, .lanyard-mini-btn, .mail, .pg-escape, .hud-audio-btn, .desk-hotspot, button:active {
    translate: none !important;
    scale: none !important;
  }
  .is-cam-shake { animation: none !important; }
  .hud-audio-btn.is-on::before,
  .hud-audio-btn.is-audio-on::before,
  .hud-audio-btn.is-on .audio-eq i,
  .hud-audio-btn.is-audio-on .audio-eq i,
  .audio-nudge-dot {
    animation: none !important;
  }
  .hud-audio-btn.is-on .audio-eq i:nth-child(1),
  .hud-audio-btn.is-audio-on .audio-eq i:nth-child(1) { transform: scaleY(0.54); }
  .hud-audio-btn.is-on .audio-eq i:nth-child(2),
  .hud-audio-btn.is-audio-on .audio-eq i:nth-child(2) { transform: scaleY(0.92); }
  .hud-audio-btn.is-on .audio-eq i:nth-child(3),
  .hud-audio-btn.is-audio-on .audio-eq i:nth-child(3) { transform: scaleY(0.42); }
  .audio-nudge-tip { transition: opacity 0.18s ease !important; transform: none !important; }
  .cinema-letterbox, .cinema-credit, .pct-digit-strip, .nav6-sub-wrap { transition: none !important; }
  .jm-lane { animation: none !important; }
  .jm-set--clone { display: none; }
}

/* ============ PRINT ============ */
@media print {
  .hud, .grain, .scanline-global, .target-cursor, .mnav, .toast, .to-top, .portrait-gate, .transition-layer, .crt-sidebar, .nav6-overlay, .contact-modal, .blog7-overlay, .skip-intro, .crt3d-modal, .mobile-crt-bar, .audio-nudge-tip {
    display: none !important;
  }
  body { background: #fff !important; color: #111 !important; }
  .profile-shell { display: block; padding-top: 0; margin-top: 0; height: auto; }
  .act { display: block !important; }
  #actIntro { display: none !important; }
  .profile-content.is-single-deck .p-section { position: static; height: auto; opacity: 1; transform: none; overflow: visible; }
  .rv { opacity: 1 !important; transform: none !important; }
  a { color: #111 !important; }
}
