/* P056 曜影 v3.3 · 好莱坞全息光学投影字体精雕 × 650ms滞回漂浮文字 × 3D视角跟转HUD × 触控独立缩放 × 流动巡航光丝 */

/* =========================================================
 *  本地自托管精密全息光学字体系统（零外链 CDN）
 * ========================================================= */
@font-face {
  font-family: "YaoyingHoloDisplayNum";
  src: url("/fonts/orbitron-light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039, U+0041-005A, U+0061-007A, U+0025, U+002B, U+002C, U+002D, U+002E, U+002F, U+00D7, U+2212;
  size-adjust: 88%;
}

@font-face {
  font-family: "YaoyingHoloDisplayNum";
  src: url("/fonts/orbitron-medium.otf") format("opentype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039, U+0041-005A, U+0061-007A, U+0025, U+002B, U+002C, U+002D, U+002E, U+002F, U+00D7, U+2212;
  size-adjust: 88%;
}

@font-face {
  font-family: "YaoyingHoloLatin";
  src: url("/fonts/harmonyos-sans-light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2010-2027, U+2212;
}

@font-face {
  font-family: "YaoyingHoloLatin";
  src: url("/fonts/harmonyos-sans-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2010-2027, U+2212;
}

@font-face {
  font-family: "YaoyingHoloLatin";
  src: url("/fonts/harmonyos-sans-medium.ttf") format("truetype");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2010-2027, U+2212;
}

@font-face {
  font-family: "YaoyingHoloSans";
  src: url("/fonts/harmonyos-sans-sc-light.ttf") format("truetype");
  font-weight: 200 350;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "YaoyingHoloSans";
  src: url("/fonts/harmonyos-sans-sc-regular.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "YaoyingHoloFallback";
  src: url("/fonts/source-han-sans-cn-light.otf") format("opentype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@keyframes holoTextFocusIn {
  0% {
    opacity: 0.14;
    filter: blur(3.4px) brightness(1.38);
  }
  58% {
    opacity: 0.94;
    filter: blur(0.45px) brightness(1.16);
  }
  100% {
    opacity: 1;
    filter: blur(0) brightness(1);
  }
}

@keyframes holoSweepScan {
  0% {
    opacity: 0;
    transform: translate3d(0, -18px, 0);
  }
  20% {
    opacity: 0.64;
  }
  78% {
    opacity: 0.42;
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 290px, 0);
  }
}

@property --holo-sheen-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 18deg;
}

@keyframes holoSheenOrbit {
  to {
    --holo-sheen-angle: 378deg;
  }
}

@keyframes reticleBreathe {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.92);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.12);
  }
}

@keyframes holoFloatDrift {
  0%,
  100% {
    transform: translate3d(0, -1.8px, 0);
  }
  50% {
    transform: translate3d(0, 1.8px, 0);
  }
}

@keyframes holoSpineFlowY {
  0% {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  12% {
    opacity: 0.96;
  }
  84% {
    opacity: 0.96;
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 260%, 0);
  }
}

@keyframes holoRailFlowX {
  0% {
    transform: translate3d(-100%, 0, 0);
  }
  100% {
    transform: translate3d(260%, 0, 0);
  }
}

@keyframes holoRailFlowXRev {
  0% {
    transform: translate3d(260%, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes hudSpineRippleWave {
  0% {
    opacity: 0.95;
    transform: translate3d(-50%, -50%, 0) scale(0.4);
  }
  100% {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(5.4);
  }
}

@keyframes hudCardOpticalRipple {
  0% {
    opacity: 0.48;
    transform: scale(0.84);
  }
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@keyframes hudScaleFlash {
  0% {
    color: #FFFFFF;
    text-shadow: 0 0 16px #F4B16B, 0 0 6px #FFFFFF;
  }
  40% {
    color: #F4B16B;
    text-shadow: 0 0 18px rgba(244, 177, 107, 0.92);
  }
  100% {
    color: var(--titanium);
    text-shadow: none;
  }
}

:root {
  --bg-theater: #05060B;
  --bg-obsidian: #090A0E;
  --bg-surface: #12151C;
  --bg-holo-air: rgba(5, 10, 18, 0.14);
  --bg-holo-panel: rgba(5, 10, 18, 0.30);
  --titanium: #C2C8D4;
  --deep-blue: #47C5FB;
  --amber: #E58B3B;
  --amber-bright: #F4B16B;
  --emerald: #30D158;
  --text-primary: #F5F5F7;
  --text-secondary: rgba(245, 245, 247, 0.78);
  --text-muted: rgba(245, 245, 247, 0.56);
  --hairline: rgba(194, 200, 212, 0.16);
  --hairline-strong: rgba(194, 200, 212, 0.36);
  --ease-cinema: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-drawer: cubic-bezier(0.18, 0.89, 0.24, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  --font-holo-display: "YaoyingHoloDisplayNum", "YaoyingHoloSans", "YaoyingHoloFallback", sans-serif;
  --font-holo-sans: "YaoyingHoloLatin", "YaoyingHoloSans", "YaoyingHoloFallback", sans-serif;
  --font-holo-mono: "YaoyingHoloDisplayNum", "YaoyingHoloLatin", "YaoyingHoloSans", "YaoyingHoloFallback", monospace;
}

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

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  overflow-x: clip;
  background: var(--bg-theater);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  user-select: none;
}

::selection {
  background: rgba(71, 197, 251, 0.24);
  color: var(--text-primary);
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.icon-svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  display: inline-block;
}

button,
a {
  font-family: inherit;
  color: inherit;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
.stage-3d-viewport:focus-visible,
.intro-brand-stage:focus-visible {
  outline: 1.5px solid rgba(71, 197, 251, 0.72);
  outline-offset: 3px;
}

/* Z0 剧场静默兜底光幕（仅无 WebGL 或主动切至轻影档显示） */
.theater-fallback-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 380ms ease;
  background:
    radial-gradient(ellipse 68% 58% at 28% 18%, rgba(194, 200, 212, 0.12), transparent 72%),
    radial-gradient(ellipse 56% 48% at 76% 24%, rgba(71, 197, 251, 0.09), transparent 70%),
    radial-gradient(ellipse 46% 40% at 50% 52%, rgba(229, 139, 59, 0.07), transparent 72%),
    linear-gradient(160deg, #070910 0%, #05060B 55%, #080B12 100%);
}

html[data-tier="L"] .theater-fallback-glow {
  opacity: 1;
}

html[data-tier="L"] .holo-instrument,
html[data-tier="L"] .portal-stage-frame {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(10, 14, 22, 0.90);
}

.theater-vignette {
  position: fixed;
  inset: 0;
  z-index: 14;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 88% at 50% 48%, transparent 62%, rgba(3, 4, 8, 0.56) 100%);
}

/* 三维全息舞台挂载容器 */
.stage-3d-viewport {
  position: fixed;
  inset: 0;
  z-index: 10;
  overflow: hidden;
  cursor: grab;
  transition: transform 320ms var(--ease-cinema), opacity 320ms ease;
}

.stage-3d-viewport:active {
  cursor: grabbing;
}

.stage-3d-viewport.is-portal-open {
  transform: scale(0.96);
  opacity: 0.32;
}

.webgl-main-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.css2d-overlay-layer {
  position: absolute !important;
  inset: 0;
  z-index: 12;
  pointer-events: auto;
  overflow: hidden;
}

.css2d-anchor {
  pointer-events: none;
}

/* =========================================================
 *  全视口统一科幻全息仪表系统（极高通透 + 边缘动态流光 + L型光学角标）
 * ========================================================= */
.holo-instrument {
  border-radius: 2px;
  background:
    radial-gradient(circle 120px at var(--inst-mx, 50%) var(--inst-my, 50%), rgba(194, 218, 250, 0.08), transparent 72%),
    var(--bg-holo-air);
  backdrop-filter: blur(6px) saturate(135%);
  -webkit-backdrop-filter: blur(6px) saturate(135%);
  border: none;
  box-shadow:
    inset 0 1px 0 rgba(220, 232, 248, 0.08),
    0 8px 26px rgba(0, 0, 0, 0.22);
}

.holo-instrument::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--holo-sheen-angle, 18deg),
    rgba(194, 200, 212, 0.14) 0deg,
    rgba(71, 197, 251, 0.42) 34deg,
    rgba(245, 247, 250, 0.26) 62deg,
    rgba(194, 200, 212, 0.08) 115deg,
    rgba(194, 200, 212, 0.07) 215deg,
    rgba(229, 139, 59, 0.24) 248deg,
    rgba(194, 200, 212, 0.11) 308deg,
    rgba(194, 200, 212, 0.14) 360deg
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.72;
  animation: holoSheenOrbit 8.5s linear infinite;
  transition: opacity 180ms ease;
}

.holo-instrument::after {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  --l-col: rgba(194, 200, 212, 0.50);
  --l-len: 5px;
  --l-thick: 1.25px;
  background:
    linear-gradient(var(--l-col), var(--l-col)) left top / var(--l-len) var(--l-thick) no-repeat,
    linear-gradient(var(--l-col), var(--l-col)) left top / var(--l-thick) var(--l-len) no-repeat,
    linear-gradient(var(--l-col), var(--l-col)) right top / var(--l-len) var(--l-thick) no-repeat,
    linear-gradient(var(--l-col), var(--l-col)) right top / var(--l-thick) var(--l-len) no-repeat,
    linear-gradient(var(--l-col), var(--l-col)) left bottom / var(--l-len) var(--l-thick) no-repeat,
    linear-gradient(var(--l-col), var(--l-col)) left bottom / var(--l-thick) var(--l-len) no-repeat,
    linear-gradient(var(--l-col), var(--l-col)) right bottom / var(--l-len) var(--l-thick) no-repeat,
    linear-gradient(var(--l-col), var(--l-col)) right bottom / var(--l-thick) var(--l-len) no-repeat;
  opacity: 0.58;
  transition: opacity 180ms ease, filter 180ms ease;
}

.holo-instrument:hover::before,
.holo-instrument:focus-within::before {
  opacity: 1;
  animation-duration: 3.4s;
}

.holo-instrument:hover::after,
.holo-instrument:focus-within::after {
  --l-col: rgba(71, 197, 251, 0.92);
  opacity: 1;
  filter: drop-shadow(0 0 4px rgba(71, 197, 251, 0.45));
}

/* =========================================================
 *  曜影官方主标 · 全息启幕序幕文字层（无框纯净光学排印）
 * ========================================================= */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 28;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: clamp(28px, 5.2vh, 58px);
  transition: opacity 420ms var(--ease-cinema), transform 520ms var(--ease-cinema);
}

body[data-intro-state="dissolving"] .intro-overlay {
  opacity: 0;
  transform: scale(1.03);
}

body[data-intro-state="entered"] .intro-overlay {
  opacity: 0;
  visibility: hidden;
}

.intro-brand-stage {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 12px 28px;
  transition: transform 320ms var(--ease-cinema), opacity 320ms ease;
}

.intro-wordmark-svg {
  width: min(370px, 56vw);
  height: auto;
  filter: drop-shadow(0 6px 26px rgba(3, 5, 11, 0.88)) drop-shadow(0 0 18px rgba(194, 200, 212, 0.14));
  transition: filter 340ms ease, transform 340ms var(--ease-cinema);
}

body[data-intro-state="hover"] .intro-wordmark-svg {
  filter: drop-shadow(0 8px 30px rgba(3, 5, 11, 0.92)) drop-shadow(0 0 28px rgba(71, 197, 251, 0.28));
  transform: translateY(-2px);
}

.intro-tagline-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.intro-hairline {
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194, 200, 212, 0.56), transparent);
  transition: width 360ms var(--ease-cinema), opacity 300ms ease;
}

body[data-intro-state="hover"] .intro-hairline {
  width: 78px;
  background: linear-gradient(90deg, transparent, rgba(229, 139, 59, 0.72), rgba(71, 197, 251, 0.65), transparent);
}

.intro-slogan {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: rgba(245, 246, 249, 0.92);
  text-shadow: 0 2px 14px rgba(3, 5, 10, 0.9);
}

.intro-sub-en {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: rgba(194, 200, 212, 0.62);
}

.intro-cta-hint {
  margin-top: 2px;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  color: rgba(229, 139, 59, 0.88);
  text-shadow: 0 0 16px rgba(229, 139, 59, 0.35);
  opacity: 0.56;
  transform: translateY(2px);
  transition: opacity 280ms ease, transform 280ms var(--ease-cinema), color 280ms ease;
}

body[data-intro-state="hover"] .intro-cta-hint {
  opacity: 1;
  color: #F4B16B;
  transform: translateY(0);
}

/* 序幕阶段隐藏主沙盘四周导览条，1.88s 拆解进入后平顺浮现 */
body.is-intro-stage .hud-top {
  opacity: 0;
  transform: translate3d(0, -14px, 0);
  pointer-events: none;
}

body.is-intro-stage .hud-director-dock {
  opacity: 0;
  transform: translate3d(-50%, 18px, 0);
  pointer-events: none;
}

body.is-intro-stage .hud-scale-bar {
  opacity: 0;
  transform: translate3d(-12px, 12px, 0);
  pointer-events: none;
}

/* =========================================================
 *  Territory Studio 电影级无框空间排印（全景 6+1 主标清晰饱满 + 650ms滞回漂浮文字群）
 * ========================================================= */
.holo-sanctum-zone,
.holo-station-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 10px 8px;
  pointer-events: auto;
  transform: translate3d(var(--repel-x, 0px), var(--repel-y, 0px), 0);
  transition: opacity 240ms ease;
}

.holo-sanctum-label,
.holo-station-label,
.holo-flow-label {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  transition: opacity 220ms ease, filter 220ms ease;
  white-space: nowrap;
}

.holo-flow-label {
  transform: translate3d(var(--repel-x, 0px), var(--repel-y, 0px), 0);
}

.is-hidden-intro,
.is-offscreen-culled {
  opacity: 0 !important;
  pointer-events: none !important;
}

.is-collapsed {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 中央中枢与 6 座节点共享的不对称 FUI 建筑级空间排印 */
.holo-sanctum-label,
.holo-station-label {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  opacity: 1;
}

.holo-station-arch,
.holo-sanctum-arch {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-align: left;
}

.holo-station-idx-col,
.holo-sanctum-idx-col {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.holo-station-code,
.holo-sanctum-code {
  font-size: 26px;
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.02em;
  color: color-mix(in srgb, var(--holo-accent, #E59A45) 86%, #FAFBFD);
  text-shadow:
    0 2px 14px rgba(2, 4, 8, 0.96),
    0 0 18px color-mix(in srgb, var(--holo-accent, #C2C8D4) 36%, transparent);
}

.holo-sanctum-code {
  color: rgba(244, 177, 107, 0.90);
}

.holo-reticle-pip {
  position: relative;
  width: 9px;
  height: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.holo-reticle-pip::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--holo-accent, #E59A45) 55%, transparent);
  animation: reticleBreathe 3.2s ease-in-out infinite;
}

.holo-reticle-pip.is-sanctum-pip::before {
  border-color: rgba(229, 139, 59, 0.65);
}

.holo-reticle-pip.is-sanctum-pip::after {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--amber-bright);
  box-shadow: 0 0 6px var(--amber);
}

.holo-reticle-pip .status-dot {
  width: 4px;
  height: 4px;
  box-shadow: none;
}

.holo-station-body-col,
.holo-sanctum-body-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.holo-station-title-row {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.holo-station-name {
  font-size: 19.5px;
  font-weight: 500;
  letter-spacing: 0.10em;
  line-height: 1.16;
  color: #FFFFFF;
  text-shadow:
    0 1px 3px rgba(2, 4, 8, 0.99),
    0 4px 18px rgba(3, 5, 10, 0.96),
    0 0 28px color-mix(in srgb, var(--holo-accent, #C2C8D4) 44%, transparent);
  transition: color 200ms ease, text-shadow 200ms ease, transform 200ms var(--ease-cinema);
}

.holo-station-ms {
  font-size: 10.5px;
  color: rgba(226, 236, 250, 0.88);
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: opacity 200ms ease, max-width 200ms ease;
}

.holo-station-label.is-hovered .holo-station-ms,
.holo-station-label.is-focused .holo-station-ms {
  opacity: 0.92;
  max-width: 104px;
}

.holo-station-locator {
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(232, 240, 252, 0.88);
  text-shadow: 0 1px 12px rgba(2, 4, 8, 0.98);
}

.holo-sanctum-title {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow:
    0 1px 3px rgba(2, 4, 8, 0.98),
    0 4px 18px rgba(3, 5, 10, 0.96),
    0 0 26px rgba(157, 188, 232, 0.36);
}

.holo-sanctum-sub {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(212, 228, 248, 0.92);
  text-shadow: 0 2px 12px rgba(2, 4, 8, 0.98);
}

.holo-hairline-rule {
  position: relative;
  overflow: hidden;
  width: 168px;
  height: 1px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.58) 0 1px, transparent 1px) 50% 0 / 24px 1px repeat-x,
    linear-gradient(90deg, transparent, var(--holo-accent, rgba(194, 200, 212, 0.82)) 50%, transparent);
  opacity: 0.92;
  transition: width 240ms var(--ease-cinema), opacity 220ms ease;
}

.holo-hairline-flow {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.88), color-mix(in srgb, var(--holo-accent, #47C5FB) 85%, #FFFFFF), transparent);
  animation: holoRailFlowX 4.2s linear infinite;
  pointer-events: none;
}

.holo-sanctum-label .holo-hairline-rule {
  --holo-accent: rgba(157, 188, 232, 0.86);
  width: 196px;
}

.holo-leader-stem {
  width: 1px;
  height: 12px;
  background: linear-gradient(180deg, var(--holo-accent, rgba(194, 200, 212, 0.78)), transparent);
  opacity: 0.86;
}

.holo-sanctum-label .holo-leader-stem {
  background: linear-gradient(180deg, rgba(157, 188, 232, 0.86), transparent);
}

.holo-station-label:hover .holo-station-name,
.holo-station-label.is-hovered .holo-station-name,
.holo-station-label.is-focused .holo-station-name,
.holo-sanctum-label:hover .holo-sanctum-title,
.holo-sanctum-label.is-hovered .holo-sanctum-title,
.holo-sanctum-label.is-focused .holo-sanctum-title {
  color: #FFFFFF;
  transform: translateY(-1px);
  text-shadow:
    0 1px 3px rgba(2, 4, 8, 1),
    0 4px 20px rgba(3, 5, 10, 0.96),
    0 0 36px color-mix(in srgb, var(--holo-accent, #E58B3B) 70%, transparent);
}

.holo-station-label:hover .holo-hairline-rule,
.holo-station-label.is-hovered .holo-hairline-rule,
.holo-station-label.is-focused .holo-hairline-rule,
.holo-sanctum-label:hover .holo-hairline-rule,
.holo-sanctum-label.is-hovered .holo-hairline-rule,
.holo-sanctum-label.is-focused .holo-hairline-rule {
  width: 204px;
  opacity: 1;
}

.holo-station-label.is-linked,
.holo-sanctum-label.is-linked {
  opacity: 0.88;
}

.holo-station-label.is-hover-dimmed,
.holo-sanctum-label.is-hover-dimmed {
  opacity: 0.62;
}

.holo-station-label.is-dimmed,
.holo-sanctum-label.is-dimmed,
.holo-station-zone.is-dimmed,
.holo-sanctum-zone.is-dimmed {
  opacity: 0.11;
  pointer-events: none;
}

.holo-sanctum-label.is-highlighted .holo-sanctum-title {
  text-shadow:
    0 1px 2px rgba(2, 4, 8, 0.98),
    0 0 28px rgba(157, 188, 232, 0.68);
}

/* =========================================================
 *  全息浮空文字群（1 项大高对比核心指标 + 3 行错峰漂浮呼吸细项）
 * ========================================================= */
.holo-hover-cluster {
  position: absolute;
  top: calc(100% - 10px);
  left: 50%;
  margin-left: 10px;
  padding: 14px 16px 14px 28px;
  display: flex;
  align-items: flex-start;
  pointer-events: auto;
  white-space: nowrap;
  z-index: 6;
  transition: opacity 220ms var(--ease-cinema), transform 240ms var(--ease-cinema);
}

.holo-hover-cluster.is-collapsed {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translate3d(-6px, 8px, 0) scale(0.96);
}

.holo-hover-cluster.is-highlighted {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.holo-station-zone.is-cluster-left .holo-hover-cluster,
.holo-sanctum-zone.is-cluster-left .holo-hover-cluster {
  left: auto;
  right: 50%;
  margin-left: 0;
  margin-right: 10px;
  padding: 14px 28px 14px 16px;
  flex-direction: row-reverse;
}

.holo-station-zone.is-cluster-left .holo-hover-cluster.is-collapsed,
.holo-sanctum-zone.is-cluster-left .holo-hover-cluster.is-collapsed {
  transform: translate3d(6px, 8px, 0) scale(0.96);
}

.holo-station-zone.is-cluster-up .holo-hover-cluster,
.holo-sanctum-zone.is-cluster-up .holo-hover-cluster {
  top: auto;
  bottom: calc(100% - 8px);
  padding-top: 12px;
  padding-bottom: 16px;
}

.holo-station-zone.is-cluster-center-down .holo-hover-cluster,
.holo-sanctum-zone.is-cluster-center-down .holo-hover-cluster {
  top: calc(100% - 6px);
  left: 50%;
  margin-left: 0;
  padding: 16px 16px 12px;
  transform: translate3d(-50%, 0, 0) scale(1);
}

.holo-station-zone.is-cluster-center-down .holo-hover-cluster.is-collapsed,
.holo-sanctum-zone.is-cluster-center-down .holo-hover-cluster.is-collapsed {
  transform: translate3d(-50%, 8px, 0) scale(0.96);
}

.holo-station-zone.is-cluster-center-down .holo-cluster-connector,
.holo-sanctum-zone.is-cluster-center-down .holo-cluster-connector {
  left: 50%;
  top: 2px;
  width: 1px;
  height: 12px;
  border: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--holo-accent, #9DBCE8) 78%, #FFFFFF), transparent);
  transform: translateX(-50%);
}

.holo-cluster-connector {
  position: absolute;
  left: 4px;
  top: 6px;
  width: 22px;
  height: 18px;
  border-left: 1px solid color-mix(in srgb, var(--holo-accent, #47C5FB) 74%, #FFFFFF);
  border-bottom: 1px solid color-mix(in srgb, var(--holo-accent, #47C5FB) 74%, #FFFFFF);
  transform: skewX(-24deg);
  opacity: 0.78;
  pointer-events: none;
}

.holo-station-zone.is-cluster-left .holo-cluster-connector,
.holo-sanctum-zone.is-cluster-left .holo-cluster-connector {
  left: auto;
  right: 4px;
  border-left: none;
  border-right: 1px solid color-mix(in srgb, var(--holo-accent, #47C5FB) 74%, #FFFFFF);
  transform: skewX(24deg);
}

.holo-station-zone.is-cluster-up .holo-cluster-connector,
.holo-sanctum-zone.is-cluster-up .holo-cluster-connector {
  top: auto;
  bottom: 6px;
  border-bottom: none;
  border-top: 1px solid color-mix(in srgb, var(--holo-accent, #47C5FB) 74%, #FFFFFF);
}

.holo-cluster-body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 2px 6px;
}

.holo-cluster-body::before {
  content: "";
  position: absolute;
  inset: -18px -28px;
  background: radial-gradient(closest-side ellipse at 42% 48%, rgba(4, 7, 14, 0.68), rgba(4, 7, 14, 0.24) 65%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

.holo-cluster-hero {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  padding-bottom: 6px;
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition: opacity 240ms var(--ease-cinema), transform 240ms var(--ease-cinema);
}

.holo-hover-cluster.is-highlighted .holo-cluster-hero {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.holo-cluster-hero-val {
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  text-shadow:
    0 2px 10px rgba(2, 4, 8, 0.98),
    0 0 20px color-mix(in srgb, var(--holo-accent, #47C5FB) 65%, transparent);
}

.holo-cluster-hero-lbl {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--holo-accent, #47C5FB) 68%, #FFFFFF);
  text-shadow: 0 1px 10px rgba(2, 4, 8, 0.98);
}

.holo-cluster-hero-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  overflow: hidden;
  background: linear-gradient(90deg, var(--holo-accent, #47C5FB), rgba(255, 255, 255, 0.65) 55%, transparent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--holo-accent, #47C5FB) 52%, transparent);
}

.holo-cluster-hero-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 34%;
  background: linear-gradient(90deg, transparent, #FFFFFF, transparent);
  animation: holoRailFlowX 2.8s linear infinite;
}

.holo-cluster-rows {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 9px;
}

.holo-cluster-row {
  display: inline-flex;
  align-items: center;
  gap: 0;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition:
    opacity 260ms var(--ease-cinema) calc(var(--row-idx, 0) * 45ms + 35ms),
    transform 260ms var(--ease-cinema) calc(var(--row-idx, 0) * 45ms + 35ms);
}

.holo-hover-cluster.is-highlighted .holo-cluster-row {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.holo-hover-cluster.is-collapsed .holo-cluster-row,
.holo-hover-cluster.is-collapsed .holo-cluster-hero {
  transition-delay: 0ms;
}

.holo-cluster-row-pip {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--holo-accent, #47C5FB);
  box-shadow: 0 0 8px var(--holo-accent, #47C5FB);
  flex-shrink: 0;
}

.holo-cluster-row-tick {
  width: 11px;
  height: 1px;
  margin: 0 7px 0 3px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--holo-accent, #47C5FB) 75%, #FFFFFF), rgba(255, 255, 255, 0.25));
  flex-shrink: 0;
}

.holo-cluster-row-text {
  display: inline-block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: rgba(246, 250, 255, 0.96);
  text-shadow:
    0 1px 3px rgba(2, 4, 8, 0.99),
    0 2px 14px rgba(3, 5, 10, 0.96),
    0 0 14px color-mix(in srgb, var(--holo-accent, #47C5FB) 30%, transparent);
  animation: holoFloatDrift 4.4s ease-in-out infinite;
  animation-delay: calc(var(--row-idx, 0) * -1.35s);
}

/* 7 条光脉精简 4~6 字流向微排印 */
.holo-flow-label {
  pointer-events: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 3px;
  opacity: 0.90;
}

.holo-flow-code {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 8px rgba(2, 4, 8, 0.98);
}

.holo-flow-text {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(236, 242, 250, 0.90);
  text-shadow:
    0 1px 2px rgba(2, 4, 8, 0.98),
    0 2px 12px rgba(3, 5, 10, 0.95);
}

.holo-flow-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--flow-color, rgba(194, 200, 212, 0.65)), transparent);
  opacity: 0.72;
}

.holo-flow-label.is-highlighted {
  opacity: 1;
}

.holo-flow-label.is-highlighted .holo-flow-text {
  color: #FFFFFF;
}

.holo-flow-label.is-highlighted .holo-flow-bar {
  opacity: 0.96;
}

.holo-flow-label.is-dimmed {
  opacity: 0;
}

/* =========================================================
 *  顶部极简悬浮导览全息仪表
 * ========================================================= */
.hud-top {
  position: fixed;
  top: 18px;
  left: 26px;
  right: 26px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  pointer-events: none;
  transition: opacity 520ms var(--ease-cinema), transform 520ms var(--ease-cinema);
}

.hud-brand,
.hud-controls {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-home-btn {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 2px;
  transition: transform 160ms var(--ease-drawer), opacity 180ms ease;
}

.brand-home-btn:active {
  transform: scale(0.975);
}

.brand-lockup {
  height: 26px;
  width: auto;
  display: block;
}

.brand-divider {
  width: 1px;
  height: 18px;
  background: var(--hairline);
}

.brand-context {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-scene-title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.brand-motto {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.segmented-glass {
  position: relative;
  height: 36px;
  padding: 3px 4px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.seg-btn {
  position: relative;
  height: 28px;
  padding: 0 11px;
  border-radius: 1px;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  white-space: nowrap;
  transition: transform 140ms var(--ease-drawer), color 180ms ease, background-color 180ms ease;
}

.seg-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.seg-btn.is-active {
  color: #FAFBFD;
  background: linear-gradient(180deg, transparent, rgba(71, 197, 251, 0.08));
}

.seg-btn.is-active::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: -1px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--deep-blue) 28%, #FAFBFD 50%, var(--amber-bright) 72%, transparent);
  box-shadow: 0 0 8px rgba(71, 197, 251, 0.65);
}

.seg-btn:active {
  transform: scale(0.96);
}

/* 探活状态与重映序幕全息仪表按钮 */
.telemetry-wrap {
  position: relative;
}

.glass-pill {
  position: relative;
  height: 36px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: transform 160ms var(--ease-drawer), color 180ms ease, background-color 180ms ease;
}

.glass-pill:hover {
  color: var(--text-primary);
  background: rgba(71, 197, 251, 0.06);
}

.glass-pill:active {
  transform: scale(0.97);
}

.replay-intro-btn {
  padding: 0 12px;
  color: var(--titanium);
}

.sound-toggle-btn {
  padding: 0 11px;
  gap: 6px;
  color: var(--titanium);
}

.sound-toggle-btn .sound-icon-off {
  display: none;
}

.sound-toggle-btn.is-muted {
  color: var(--text-muted);
}

.sound-toggle-btn.is-muted .sound-icon-on {
  display: none;
}

.sound-toggle-btn.is-muted .sound-icon-off {
  display: block;
}

.icon-chevron {
  width: 13px;
  height: 13px;
  opacity: 0.72;
  transition: transform 200ms var(--ease-drawer);
}

.telemetry-pill[aria-expanded="true"] .icon-chevron {
  transform: rotate(180deg);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--titanium);
  flex-shrink: 0;
}

.status-dot.is-online {
  background: var(--emerald);
  box-shadow: 0 0 0 2.5px rgba(48, 209, 88, 0.18);
}

.status-dot.is-partial {
  background: var(--amber);
  box-shadow: 0 0 0 2.5px rgba(229, 139, 59, 0.20);
}

.status-dot.is-offline {
  background: rgba(245, 245, 247, 0.36);
}

.telemetry-popover {
  position: absolute;
  top: 44px;
  right: 0;
  width: 320px;
  padding: 14px 16px;
  background: rgba(5, 10, 18, 0.42);
  backdrop-filter: blur(10px) saturate(145%);
  -webkit-backdrop-filter: blur(10px) saturate(145%);
  box-shadow:
    inset 0 1px 0 rgba(220, 232, 248, 0.10),
    0 18px 46px rgba(0, 0, 0, 0.48);
  z-index: 40;
}

.popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(194, 200, 212, 0.14);
}

.popover-title {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.popover-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: var(--titanium);
  padding: 3px 8px;
  border-bottom: 1px solid rgba(71, 197, 251, 0.28);
  transition: color 160ms ease, transform 160ms var(--ease-drawer), border-color 160ms ease;
}

.popover-refresh-btn:hover {
  color: #FFFFFF;
  border-bottom-color: var(--deep-blue);
}

.popover-refresh-btn:active {
  transform: scale(0.96);
}

.telemetry-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.telemetry-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 2px;
  background: transparent;
  border-bottom: 1px solid rgba(194, 200, 212, 0.08);
}

.telemetry-item:last-child {
  border-bottom: none;
}

.telemetry-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.telemetry-item-name {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-primary);
}

.telemetry-item-ms {
  font-size: 11.5px;
  color: var(--text-muted);
}

.popover-foot {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}

/* =========================================================
 *  顶部中央「推演一单高定车的一生」路演战况实时全息播报条
 * ========================================================= */
.story-banner {
  position: fixed;
  top: 68px;
  left: 50%;
  transform: translate3d(-50%, -18px, 0);
  opacity: 0;
  width: min(1060px, calc(100vw - 52px));
  z-index: 32;
  padding: 12px 18px;
  background: rgba(5, 10, 18, 0.34);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
  transition: transform 280ms var(--ease-cinema), opacity 220ms ease;
}

.story-banner[hidden] {
  display: none;
}

.story-banner.is-visible {
  transform: translate3d(-50%, 0, 0);
  opacity: 1;
  pointer-events: auto;
}

.story-banner-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 196px;
  flex-shrink: 0;
}

.story-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 1px 7px;
  border-radius: 1px;
  background: rgba(229, 139, 59, 0.12);
  border-left: 1.5px solid var(--amber-bright);
  border-right: 1.5px solid var(--amber-bright);
  color: var(--amber-bright);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.story-step-title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.story-route-badge {
  font-size: 11.5px;
  color: var(--titanium);
}

.story-banner-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.story-step-summary {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-primary);
}

.story-value-tag {
  font-size: 11.5px;
  color: var(--emerald);
  font-weight: 500;
}

.story-banner-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.story-ctrl-btn {
  height: 30px;
  padding: 0 10px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(194, 200, 212, 0.24);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: transform 150ms var(--ease-drawer), background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.story-ctrl-btn:hover {
  background: rgba(71, 197, 251, 0.08);
  border-bottom-color: var(--deep-blue);
  color: var(--text-primary);
}

.story-ctrl-btn:active {
  transform: scale(0.96);
}

.story-ctrl-btn.is-pause {
  border-bottom-color: rgba(229, 139, 59, 0.52);
  color: var(--amber-bright);
}

.story-ctrl-btn.is-exit {
  color: var(--titanium);
}

/* =========================================================
 *  真 3D 体积光雾极短光学微引丝 + 无框纯光构开放式全息 HUD（Zero Box）
 * ========================================================= */
.holo-hud-stage {
  position: fixed;
  inset: 0;
  z-index: 26;
  pointer-events: none;
}

.holo-beam-svg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 260ms var(--ease-cinema);
}

.holo-hud-stage.is-open .holo-beam-svg.is-beam-active {
  opacity: 1;
}

.holo-hud-card {
  --hud-accent: #E59A45;
  --hud-yaw: -4deg;
  --hud-pitch: 0deg;
  --hud-yaw-num: -4;
  --hud-pitch-num: 0;
  --hud-scale: 1;
  --hud-mx: 50%;
  --hud-my: 50%;
  position: fixed;
  left: 52%;
  top: 22%;
  width: min(464px, 34.5vw);
  min-width: 340px;
  max-height: calc((100vh - 156px) / max(1, var(--hud-scale, 1)));
  padding: 13px 14px 12px 22px;
  border-radius: 0;
  border: none;
  background: transparent;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none;
  font-family: var(--font-holo-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: visible;
  pointer-events: none;
  touch-action: none;
  opacity: 0;
  transform-origin: left center;
  transform: perspective(1200px) rotateY(-10deg) rotateX(0deg) translate3d(-18px, 0, 0) scale(calc(var(--hud-scale) * 0.96));
  transition: opacity 240ms ease;
}

/* 仅借超大半径柔和无边暗影雾斑承托光学白字，四边彻底开放无框（closest-side 保证边缘绝对消隐至 0） */
.holo-hud-card::before {
  content: "";
  position: absolute;
  inset: -72px -130px -72px -34px;
  background: radial-gradient(
    closest-side ellipse at 42% 50%,
    rgba(4, 7, 15, 0.72) 0%,
    rgba(4, 7, 15, 0.42) 52%,
    rgba(4, 7, 15, 0.12) 76%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* 指针/触控追光折射晕（随 --hud-mx / --hud-my 轻盈跟随亮起） */
.holo-hud-card::after {
  content: "";
  position: absolute;
  inset: -8px -18px -8px -4px;
  background: radial-gradient(
    220px circle at var(--hud-mx) var(--hud-my),
    color-mix(in srgb, var(--hud-accent) 16%, rgba(226, 238, 255, 0.12)),
    transparent 74%
  );
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 220ms ease;
}

.holo-hud-card.is-pointer-active::after {
  opacity: 1;
}

.holo-hud-stage.is-open .holo-hud-card {
  pointer-events: auto;
  opacity: 1;
  transform: perspective(1200px) rotateY(var(--hud-yaw)) rotateX(var(--hud-pitch)) translate3d(0, 0, 0) scale(var(--hud-scale));
}

.holo-hud-card.is-switching .hud-card-body,
.holo-hud-card.is-switching .hud-card-header {
  animation: hudHoloSwitch 320ms var(--ease-cinema);
}

@keyframes hudHoloSwitch {
  0% {
    opacity: 0.42;
    transform: translate3d(10px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* 左侧渐隐光学脊柱线 + 连续巡航流光丝 + 指针追光微点 + 扩散脉冲涟漪 */
.hud-spine {
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  overflow: visible;
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in srgb, var(--hud-accent) 62%, rgba(220, 232, 248, 0.72)) 18%,
    rgba(240, 246, 255, 0.72) 50%,
    color-mix(in srgb, var(--hud-accent) 62%, rgba(220, 232, 248, 0.72)) 82%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 3;
}

.hud-spine-flow-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.hud-spine-flow {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 34%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(71, 197, 251, 0.72) 34%,
    #FFFFFF 54%,
    color-mix(in srgb, var(--hud-accent) 88%, #FFFFFF) 74%,
    transparent 100%
  );
  animation: holoSpineFlowY 4.6s linear infinite;
  pointer-events: none;
  will-change: transform, opacity;
}

.hud-spine-pointer-glint {
  position: absolute;
  left: -2px;
  top: var(--hud-my, 50%);
  width: 5px;
  height: 46px;
  transform: translateY(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.88), color-mix(in srgb, var(--hud-accent) 62%, transparent) 48%, transparent 78%);
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}

.holo-hud-card.is-pointer-active .hud-spine-pointer-glint {
  opacity: 0.92;
}

.hud-spine-tick {
  position: absolute;
  left: 0;
  width: 7px;
  height: 1px;
  background: color-mix(in srgb, var(--hud-accent) 82%, #FFFFFF);
}

.hud-spine-tick-top {
  top: 16%;
}

.hud-spine-tick-bot {
  bottom: 16%;
}

.hud-spine-pip {
  position: absolute;
  left: -3px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #FAFBFD;
  box-shadow: 0 0 12px var(--hud-accent), 0 0 4px #FFFFFF;
}

.hud-spine-ripple {
  position: absolute;
  left: 0.5px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--hud-accent) 78%, #FFFFFF);
  box-shadow: 0 0 12px var(--hud-accent);
  opacity: 0;
  pointer-events: none;
}

.hud-spine-ripple.is-pulsing {
  animation: hudSpineRippleWave 560ms var(--ease-cinema) forwards;
}

.hud-optical-ripple {
  position: absolute;
  inset: -4px;
  border-left: 1px solid color-mix(in srgb, var(--hud-accent) 65%, #FFFFFF);
  border-top: 1px solid color-mix(in srgb, var(--hud-accent) 45%, transparent);
  background: radial-gradient(ellipse at 12% 50%, color-mix(in srgb, var(--hud-accent) 16%, transparent), transparent 68%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.hud-optical-ripple.is-pulsing {
  animation: hudCardOpticalRipple 580ms var(--ease-cinema) forwards;
}

.hud-open-rail {
  position: absolute;
  left: 0;
  right: 8%;
  height: 1px;
  overflow: hidden;
  background: linear-gradient(90deg, color-mix(in srgb, var(--hud-accent) 68%, #FFFFFF) 0%, rgba(194, 200, 212, 0.24) 48%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}

.hud-open-rail-flow {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(71, 197, 251, 0.78) 32%, #FFFFFF 55%, color-mix(in srgb, var(--hud-accent) 85%, #FFFFFF) 78%, transparent);
  animation: holoRailFlowX 3.8s linear infinite;
}

.hud-open-rail-flow.is-reverse {
  animation: holoRailFlowXRev 4.4s linear infinite;
}

.holo-hud-card.is-pointer-active .hud-open-rail::after {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: var(--hud-mx, 50%);
  width: 72px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.90), transparent 72%);
  pointer-events: none;
}

.hud-open-rail-top {
  top: 0;
}

.hud-open-rail-bot {
  bottom: 0;
}

/* 极克制 4.5% 全息微扫描光栅（边缘渐隐羽化，绝不遮挡笔画锐度） */
.hud-holo-scanlines {
  position: absolute;
  inset: 10px 6px 10px 14px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.9;
  background: repeating-linear-gradient(
    180deg,
    rgba(214, 236, 255, 0.048) 0 1px,
    transparent 1px 3px
  );
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.92) 10%, rgba(0, 0, 0, 0.92) 90%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.92) 10%, rgba(0, 0, 0, 0.92) 90%, transparent 100%);
}

/* 全息定焦入场显影冷光扫描束（260ms 自上而下扫过标题与核心指标） */
.hud-scan-sweep {
  position: absolute;
  left: 4px;
  right: 12%;
  top: 0;
  height: 44px;
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(176, 224, 255, 0.14) 38%,
    rgba(245, 251, 255, 0.34) 50%,
    color-mix(in srgb, var(--hud-accent) 22%, transparent) 66%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 70%, transparent 100%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 70%, transparent 100%);
}

.holo-hud-card.is-holo-focusing .hud-scan-sweep {
  animation: holoSweepScan 260ms var(--ease-cinema) forwards;
}

.holo-hud-card.is-holo-focusing .hud-card-identity {
  animation: holoTextFocusIn 230ms var(--ease-cinema) both;
}

.holo-hud-card.is-holo-focusing .hud-section:nth-child(1) {
  animation: holoTextFocusIn 245ms var(--ease-cinema) 14ms both;
}

.holo-hud-card.is-holo-focusing .hud-section:nth-child(2) {
  animation: holoTextFocusIn 255ms var(--ease-cinema) 26ms both;
}

.holo-hud-card.is-holo-focusing .hud-section:nth-child(3),
.holo-hud-card.is-holo-focusing .hud-quote,
.holo-hud-card.is-holo-focusing .hud-card-footer {
  animation: holoTextFocusIn 260ms var(--ease-cinema) 38ms both;
}

.hud-card-header,
.hud-card-body,
.hud-card-footer {
  position: relative;
  z-index: 3;
}

.hud-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(194, 200, 212, 0.14);
}

.hud-card-identity {
  min-width: 0;
  flex: 1;
  padding-right: 8px;
  transform: translate3d(calc(var(--hud-yaw-num) * 0.14px), calc(var(--hud-pitch-num) * -0.12px), 0);
  transition: transform 180ms ease-out;
}

.hud-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* 无框超轻 HUD 独立微刻度操控条 (− 1.00× +) */
.hud-zoom-control {
  height: 28px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border-bottom: 1px solid rgba(194, 200, 212, 0.24);
  background: linear-gradient(180deg, transparent, rgba(194, 200, 212, 0.04));
}

.hud-zoom-btn {
  width: 22px;
  height: 24px;
  display: grid;
  place-items: center;
  color: rgba(214, 230, 248, 0.84);
  transition: color 160ms ease, transform 140ms var(--ease-drawer);
}

.hud-zoom-btn:hover {
  color: #FFFFFF;
}

.hud-zoom-btn:active {
  transform: scale(0.90);
}

.hud-zoom-readout {
  min-width: 46px;
  height: 24px;
  padding: 0 3px;
  font-family: var(--font-holo-sans);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(226, 239, 255, 0.94);
  text-shadow:
    -0.5px 0 0 rgba(71, 197, 251, 0.30),
    0.5px 0 0 color-mix(in srgb, var(--hud-accent) 28%, transparent),
    0 0 8px rgba(164, 218, 255, 0.24);
  text-align: center;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.hud-zoom-readout:hover {
  color: #FFFFFF;
  text-shadow:
    -0.55px 0 0 rgba(71, 197, 251, 0.42),
    0.55px 0 0 color-mix(in srgb, var(--hud-accent) 36%, transparent),
    0 0 11px rgba(196, 232, 255, 0.40);
}

.hud-zoom-readout.is-scale-flash {
  animation: hudScaleFlash 460ms var(--ease-cinema);
}

.hud-status-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-bottom: 5px;
}

.hud-code-chip {
  font-family: var(--font-holo-display);
  font-variant-numeric: tabular-nums;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  background-image: linear-gradient(
    90deg,
    #FFFFFF 0%,
    color-mix(in srgb, var(--hud-accent) 72%, #EAF4FF) 55%,
    var(--hud-accent) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter:
    drop-shadow(-0.5px 0 0 rgba(71, 197, 251, 0.34))
    drop-shadow(0.5px 0 0 color-mix(in srgb, var(--hud-accent) 38%, transparent))
    drop-shadow(0 0 8px color-mix(in srgb, var(--hud-accent) 30%, transparent));
  white-space: nowrap;
  flex-shrink: 0;
}

.hud-status-label {
  font-family: var(--font-holo-sans);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(212, 230, 248, 0.90);
  text-shadow:
    -0.5px 0 0 rgba(71, 197, 251, 0.24),
    0.5px 0 0 rgba(255, 255, 255, 0.16),
    0 0 8px rgba(138, 198, 255, 0.22);
  white-space: nowrap;
}

.hud-card-title {
  width: fit-content;
  max-width: calc(100% - 4px);
  font-family: var(--font-holo-display);
  font-size: clamp(18px, 1.12vw, 20.5px);
  font-weight: 300;
  letter-spacing: 0.055em;
  line-height: 1.24;
  text-wrap: balance;
  background-image:
    radial-gradient(
      140px circle at var(--hud-mx, 50%) var(--hud-my, 18%),
      rgba(255, 255, 255, 0.98) 0%,
      rgba(196, 234, 255, 0.42) 38%,
      transparent 74%
    ),
    linear-gradient(
      180deg,
      #FFFFFF 0%,
      #EFF6FF 44%,
      color-mix(in srgb, var(--hud-accent) 26%, #C0D7F0) 88%,
      color-mix(in srgb, var(--hud-accent) 42%, #9AB8DC) 100%
    );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter:
    drop-shadow(-0.65px 0 0 rgba(71, 197, 251, 0.42))
    drop-shadow(0.65px 0 0 color-mix(in srgb, var(--hud-accent) 36%, rgba(255, 212, 162, 0.28)))
    drop-shadow(0 0 11px color-mix(in srgb, var(--hud-accent) 26%, rgba(164, 218, 255, 0.22)));
  transition: transform 255ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease, filter 220ms ease;
}

.holo-hud-card.is-pointer-active .hud-card-title {
  filter:
    drop-shadow(-0.65px 0 0 rgba(71, 197, 251, 0.50))
    drop-shadow(0.65px 0 0 color-mix(in srgb, var(--hud-accent) 44%, rgba(255, 224, 178, 0.34)))
    drop-shadow(0 0 13px color-mix(in srgb, var(--hud-accent) 34%, rgba(196, 232, 255, 0.30)));
}

.hud-card-subtitle {
  width: fit-content;
  max-width: calc(100% - 4px);
  margin-top: 4px;
  font-family: var(--font-holo-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.045em;
  line-height: 1.46;
  text-wrap: balance;
  color: rgba(216, 232, 252, 0.88);
  text-shadow:
    -0.5px 0 0 rgba(71, 197, 251, 0.22),
    0.5px 0 0 color-mix(in srgb, var(--hud-accent) 20%, transparent),
    0 1px 1px rgba(2, 6, 14, 0.42),
    0 0 8px rgba(124, 194, 255, 0.16);
}

.hud-close-btn {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 2px;
  background: linear-gradient(180deg, transparent, rgba(194, 200, 212, 0.05));
  border: 1px solid rgba(194, 200, 212, 0.24);
  display: grid;
  place-items: center;
  color: rgba(216, 232, 252, 0.86);
  flex-shrink: 0;
  transition: transform 150ms var(--ease-drawer), border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.hud-close-btn:hover {
  border-color: var(--hud-accent);
  color: #FFFFFF;
  box-shadow: 0 0 12px color-mix(in srgb, var(--hud-accent) 42%, transparent);
}

.hud-close-btn:active {
  transform: scale(0.94);
}

.hud-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 3px 18px 4px 6px;
  margin-left: -6px;
  max-height: calc((100vh - 156px) / max(1, var(--hud-scale, 1)) - 178px);
}

.hud-card-body::-webkit-scrollbar {
  width: 2px;
}

.hud-card-body::-webkit-scrollbar-thumb {
  background: rgba(194, 200, 212, 0.25);
}

.hud-section {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hud-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: calc(100% - 4px);
  gap: 6px;
  font-family: var(--font-holo-sans);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: color-mix(in srgb, var(--hud-accent) 32%, rgba(186, 216, 250, 0.86));
  text-shadow:
    -0.45px 0 0 rgba(71, 197, 251, 0.22),
    0.45px 0 0 color-mix(in srgb, var(--hud-accent) 22%, transparent),
    0 0 7px color-mix(in srgb, var(--hud-accent) 20%, transparent);
}

.hud-label::before {
  content: "";
  width: 6px;
  height: 1px;
  background: color-mix(in srgb, var(--hud-accent) 68%, #98CEFF);
  box-shadow: 0 0 6px color-mix(in srgb, var(--hud-accent) 48%, transparent);
  flex-shrink: 0;
}

.hud-text {
  font-family: var(--font-holo-sans);
  font-size: 12.2px;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.52;
  text-wrap: pretty;
  color: rgba(242, 248, 255, 0.96);
  text-shadow:
    -0.5px 0 0 rgba(71, 197, 251, 0.20),
    0.5px 0 0 color-mix(in srgb, var(--hud-accent) 18%, transparent),
    0 1px 1px rgba(2, 6, 14, 0.42),
    0 0 8px rgba(176, 218, 255, 0.15);
  transform: translate3d(calc(var(--hud-yaw-num) * 0.05px), calc(var(--hud-pitch-num) * -0.04px), 0);
  transition: transform 180ms ease-out, text-shadow 200ms ease;
}

.holo-hud-card.is-pointer-active .hud-text {
  text-shadow:
    -0.55px 0 0 rgba(71, 197, 251, 0.28),
    0.55px 0 0 color-mix(in srgb, var(--hud-accent) 24%, transparent),
    0 1px 1px rgba(2, 6, 14, 0.42),
    0 0 10px rgba(196, 230, 255, 0.22);
}

/* 浮空高大清瘦指标数字 + 顶部 12px 发光微刻度杆（彻底告别灰底圆角指标格） */
.hud-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  transform: translate3d(calc(var(--hud-yaw-num) * 0.12px), calc(var(--hud-pitch-num) * -0.10px), 0);
  transition: transform 180ms ease-out;
}

.hud-metric-cell {
  padding: 2px 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.hud-metric-tick {
  display: block;
  width: 12px;
  height: 1.5px;
  margin-bottom: 5px;
  background: var(--hud-accent);
  box-shadow: 0 0 8px var(--hud-accent);
}

.hud-metric-val {
  display: block;
  font-family: var(--font-holo-display);
  font-variant-numeric: tabular-nums;
  font-size: 21px;
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: 0.03em;
  background-image:
    radial-gradient(
      140px circle at var(--hud-mx, 50%) var(--hud-my, 45%),
      rgba(255, 255, 255, 0.98) 0%,
      rgba(196, 234, 255, 0.42) 42%,
      transparent 78%
    ),
    linear-gradient(
      180deg,
      #FFFFFF 0%,
      #EBF4FF 52%,
      color-mix(in srgb, var(--hud-accent) 34%, #BBD5F2) 100%
    );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter:
    drop-shadow(-0.6px 0 0 rgba(71, 197, 251, 0.38))
    drop-shadow(0.6px 0 0 color-mix(in srgb, var(--hud-accent) 34%, transparent))
    drop-shadow(0 0 10px color-mix(in srgb, var(--hud-accent) 26%, rgba(164, 218, 255, 0.20)));
  transition: filter 200ms ease;
}

.holo-hud-card.is-pointer-active .hud-metric-val {
  filter:
    drop-shadow(-0.6px 0 0 rgba(71, 197, 251, 0.48))
    drop-shadow(0.6px 0 0 color-mix(in srgb, var(--hud-accent) 42%, transparent))
    drop-shadow(0 0 12px color-mix(in srgb, var(--hud-accent) 34%, rgba(196, 232, 255, 0.28)));
}

.hud-metric-lbl {
  display: block;
  margin-top: 3px;
  font-family: var(--font-holo-sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.045em;
  color: rgba(208, 226, 248, 0.86);
  text-shadow:
    -0.45px 0 0 rgba(71, 197, 251, 0.18),
    0.45px 0 0 color-mix(in srgb, var(--hud-accent) 16%, transparent),
    0 1px 1px rgba(2, 6, 14, 0.40),
    0 0 7px rgba(130, 192, 255, 0.14);
}

/* 开放式上下游协同指令行（悬停扫描亮线 + 点击脉冲跃迁） */
.hud-linked-nodes {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 2px;
  transform: translate3d(calc(var(--hud-yaw-num) * 0.06px), calc(var(--hud-pitch-num) * -0.05px), 0);
  transition: transform 180ms ease-out;
}

.hud-link-cmd {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 2px;
  border-radius: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(194, 200, 212, 0.14);
  font-family: var(--font-holo-sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(238, 246, 255, 0.94);
  text-shadow:
    -0.45px 0 0 rgba(71, 197, 251, 0.20),
    0.45px 0 0 color-mix(in srgb, var(--link-accent, var(--hud-accent)) 20%, transparent),
    0 0 7px rgba(164, 214, 255, 0.14);
  text-align: left;
  transition: transform 160ms var(--ease-drawer), color 180ms ease, text-shadow 180ms ease;
}

.hud-link-cmd::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: radial-gradient(120px circle at var(--hud-mx, 50%) 50%, color-mix(in srgb, var(--link-accent, var(--hud-accent)) 68%, #FFFFFF), transparent 72%);
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}

.holo-hud-card.is-pointer-active .hud-link-cmd::after {
  opacity: 0.55;
}

.hud-link-cmd:hover {
  transform: translate3d(4px, 0, 0);
  color: #FFFFFF;
  text-shadow:
    -0.55px 0 0 rgba(71, 197, 251, 0.34),
    0.55px 0 0 color-mix(in srgb, var(--link-accent, var(--hud-accent)) 36%, transparent),
    0 0 11px color-mix(in srgb, var(--link-accent, var(--hud-accent)) 32%, rgba(210, 238, 255, 0.24));
}

.hud-link-cmd:active {
  transform: scale(0.985);
}

.hud-link-scan {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, var(--link-accent, var(--hud-accent)), #FAFBFD 55%, transparent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 240ms var(--ease-cinema);
  pointer-events: none;
}

.hud-link-cmd:hover .hud-link-scan {
  transform: scaleX(1);
}

.hud-link-arrow {
  font-weight: 500;
  color: color-mix(in srgb, var(--link-accent, var(--amber-bright)) 84%, #FFFFFF);
  text-shadow: 0 0 9px color-mix(in srgb, var(--link-accent, var(--amber-bright)) 48%, transparent);
}

.hud-link-target {
  font-weight: 400;
  letter-spacing: 0.045em;
}

.hud-link-action {
  margin-left: auto;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(196, 218, 244, 0.80);
}

.hud-linkage-note {
  margin-top: 2px;
  font-family: var(--font-holo-sans);
  font-size: 11.8px;
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.48;
  color: rgba(218, 233, 250, 0.88);
  text-shadow:
    -0.45px 0 0 rgba(71, 197, 251, 0.18),
    0.45px 0 0 color-mix(in srgb, var(--hud-accent) 18%, transparent),
    0 1px 1px rgba(2, 6, 14, 0.38),
    0 0 7px rgba(154, 206, 255, 0.14);
  transform: translate3d(calc(var(--hud-yaw-num) * 0.05px), calc(var(--hud-pitch-num) * -0.04px), 0);
  transition: transform 180ms ease-out;
}

.hud-quote {
  padding: 2px 0 2px 11px;
  border-left: 1.5px solid color-mix(in srgb, var(--hud-accent) 75%, transparent);
  background: transparent;
  font-family: var(--font-holo-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.035em;
  line-height: 1.50;
  color: #F7F1E7;
  text-shadow:
    -0.5px 0 0 rgba(71, 197, 251, 0.18),
    0.5px 0 0 color-mix(in srgb, var(--hud-accent) 26%, transparent),
    0 1px 1px rgba(2, 6, 14, 0.42),
    0 0 8px color-mix(in srgb, var(--hud-accent) 18%, transparent);
  transform: translate3d(calc(var(--hud-yaw-num) * 0.05px), calc(var(--hud-pitch-num) * -0.04px), 0);
  transition: transform 180ms ease-out;
}

/* 全息文字行与指标单元「指向即缓动微放大」交互 */
.hud-hover-line {
  transform-origin: left center;
  transition:
    transform 255ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease,
    color 220ms ease,
    text-shadow 220ms ease,
    filter 220ms ease;
  cursor: default;
}

.hud-hover-prose-line {
  display: block;
  width: fit-content;
  max-width: calc(100% - 4px);
  padding: 1px 4px 1px 0;
}

.hud-hover-line:hover {
  transform: scale(1.045);
}

.hud-card-title.hud-hover-line:hover {
  transform: scale(1.032);
  filter:
    drop-shadow(-0.7px 0 0 rgba(71, 197, 251, 0.58))
    drop-shadow(0.7px 0 0 color-mix(in srgb, var(--hud-accent) 50%, rgba(255, 224, 178, 0.38)))
    drop-shadow(0 0 15px color-mix(in srgb, var(--hud-accent) 42%, rgba(210, 238, 255, 0.38)));
}

.hud-card-subtitle.hud-hover-line:hover,
.hud-label.hud-hover-line:hover,
.hud-hover-prose-line:hover {
  color: #FFFFFF;
  text-shadow:
    -0.55px 0 0 rgba(71, 197, 251, 0.34),
    0.55px 0 0 color-mix(in srgb, var(--hud-accent) 34%, transparent),
    0 1px 1px rgba(2, 6, 14, 0.44),
    0 0 12px color-mix(in srgb, var(--hud-accent) 30%, rgba(210, 238, 255, 0.32));
}

.hud-metric-cell.hud-hover-line {
  transform-origin: left center;
}

.hud-metric-cell.hud-hover-line .hud-metric-tick {
  transition: width 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease;
}

.hud-metric-cell.hud-hover-line:hover {
  transform: scale(1.048);
}

.hud-metric-cell.hud-hover-line:hover .hud-metric-tick {
  width: 18px;
  box-shadow: 0 0 11px var(--hud-accent), 0 0 4px #FFFFFF;
}

.hud-metric-cell.hud-hover-line:hover .hud-metric-val {
  filter:
    drop-shadow(-0.65px 0 0 rgba(71, 197, 251, 0.56))
    drop-shadow(0.65px 0 0 color-mix(in srgb, var(--hud-accent) 48%, transparent))
    drop-shadow(0 0 14px color-mix(in srgb, var(--hud-accent) 42%, rgba(210, 238, 255, 0.36)));
}

.hud-metric-cell.hud-hover-line:hover .hud-metric-lbl {
  color: #FAFBFD;
}

/* 邻行克制降暗衬托当前焦点行，并保持与 .hud-link-cmd 协调 */
.holo-hud-card:has(.hud-hover-line:hover) .hud-hover-line:not(:hover),
.holo-hud-card:has(.hud-link-cmd:hover) .hud-hover-line {
  opacity: 0.64;
}

.holo-hud-card:has(.hud-hover-line:hover) .hud-link-cmd:not(:hover),
.holo-hud-card:has(.hud-link-cmd:hover) .hud-link-cmd:not(:hover) {
  opacity: 0.64;
}

.hud-card-footer {
  padding-top: 5px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* 镂空双轨全息光导触发器（彻底取代刺眼实心白块按钮） */
.primary-cta-btn.holo-dual-rail-trigger {
  position: relative;
  width: 100%;
  height: 42px;
  padding: 0 16px;
  border-radius: 0;
  border: none;
  background: rgba(6, 12, 24, 0.14);
  color: #FAFBFD;
  font-family: var(--font-holo-sans);
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.11em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: transform 150ms var(--ease-drawer), background-color 200ms ease, color 180ms ease;
}

.trigger-content {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.trigger-content > span {
  background-image:
    radial-gradient(
      140px circle at var(--hud-mx, 50%) var(--hud-my, 88%),
      rgba(255, 255, 255, 1) 0%,
      rgba(196, 234, 255, 0.45) 42%,
      transparent 78%
    ),
    linear-gradient(
      180deg,
      #FFFFFF 0%,
      #EDF5FF 54%,
      color-mix(in srgb, var(--hud-accent) 32%, #BFD6F0) 100%
    );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter:
    drop-shadow(-0.55px 0 0 rgba(71, 197, 251, 0.36))
    drop-shadow(0.55px 0 0 color-mix(in srgb, var(--hud-accent) 32%, transparent))
    drop-shadow(0 0 9px color-mix(in srgb, var(--hud-accent) 24%, rgba(164, 218, 255, 0.22)));
}

.trigger-arrow {
  color: color-mix(in srgb, var(--hud-accent) 44%, #FFFFFF);
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--hud-accent) 45%, transparent));
  transition: transform 200ms var(--ease-cinema), filter 200ms ease;
}

.trigger-rail {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  overflow: hidden;
  background: linear-gradient(90deg, transparent, var(--hud-accent) 26%, #FAFBFD 50%, var(--hud-accent) 74%, transparent);
  opacity: 0.78;
  transition: opacity 200ms ease, box-shadow 200ms ease;
}

.trigger-rail-flow {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 36%;
  background: linear-gradient(90deg, transparent, #FFFFFF 50%, color-mix(in srgb, var(--hud-accent) 85%, #47C5FB), transparent);
  animation: holoRailFlowX 3.2s linear infinite;
}

.trigger-rail-flow.is-reverse {
  animation: holoRailFlowXRev 3.2s linear infinite;
}

.trigger-rail-top {
  top: 0;
}

.trigger-rail-bot {
  bottom: 0;
}

.trigger-bracket {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8px;
  pointer-events: none;
  border-top: 1.25px solid color-mix(in srgb, var(--hud-accent) 84%, #FFFFFF);
  border-bottom: 1.25px solid color-mix(in srgb, var(--hud-accent) 84%, #FFFFFF);
  transition: width 200ms var(--ease-cinema), border-color 180ms ease;
}

.trigger-bracket-l {
  left: 0;
  border-left: 1.25px solid color-mix(in srgb, var(--hud-accent) 84%, #FFFFFF);
}

.trigger-bracket-r {
  right: 0;
  border-right: 1.25px solid color-mix(in srgb, var(--hud-accent) 84%, #FFFFFF);
}

.primary-cta-btn.holo-dual-rail-trigger:hover {
  background: radial-gradient(ellipse 80% 90% at 50% 50%, color-mix(in srgb, var(--hud-accent) 20%, transparent), transparent 82%);
  color: #FFFFFF;
}

.primary-cta-btn.holo-dual-rail-trigger:hover .trigger-rail {
  opacity: 1;
  box-shadow: 0 0 10px color-mix(in srgb, var(--hud-accent) 55%, transparent);
}

.primary-cta-btn.holo-dual-rail-trigger:hover .trigger-bracket {
  width: 11px;
  border-color: #FFFFFF;
}

.primary-cta-btn.holo-dual-rail-trigger:hover .trigger-arrow {
  transform: translate3d(3px, 0, 0);
}

.primary-cta-btn.holo-dual-rail-trigger:active {
  transform: scale(0.98);
}

.hud-secondary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.portal-url-preview {
  font-family: var(--font-holo-sans);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(196, 218, 244, 0.82);
  text-shadow:
    -0.45px 0 0 rgba(71, 197, 251, 0.18),
    0 0 7px rgba(140, 196, 255, 0.14);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.secondary-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-holo-sans);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(216, 232, 250, 0.90);
  text-shadow:
    -0.45px 0 0 rgba(71, 197, 251, 0.22),
    0.45px 0 0 color-mix(in srgb, var(--hud-accent) 20%, transparent),
    0 0 7px rgba(164, 214, 255, 0.18);
  padding: 3px 6px;
  border-bottom: 1px solid rgba(194, 200, 212, 0.22);
  flex-shrink: 0;
  transition: border-color 160ms ease, color 160ms ease, text-shadow 160ms ease;
}

.secondary-link-btn:hover {
  border-bottom-color: var(--hud-accent);
  color: #FFFFFF;
  text-shadow:
    -0.5px 0 0 rgba(71, 197, 251, 0.36),
    0.5px 0 0 color-mix(in srgb, var(--hud-accent) 34%, transparent),
    0 0 10px color-mix(in srgb, var(--hud-accent) 32%, transparent);
}

/* =========================================================
 *  左下角比例尺 & 底部电影分镜导播全息仪表
 * ========================================================= */
.hud-scale-bar {
  position: fixed;
  left: 26px;
  bottom: 20px;
  z-index: 30;
  height: 36px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity 520ms var(--ease-cinema), transform 520ms var(--ease-cinema);
}

.scale-step-btn,
.scale-reset-btn {
  height: 28px;
  padding: 0 7px;
  border-radius: 1px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: transform 150ms var(--ease-drawer), background-color 160ms ease, color 160ms ease;
}

.scale-step-btn:hover,
.scale-reset-btn:hover {
  background: rgba(71, 197, 251, 0.08);
  color: var(--text-primary);
}

.scale-step-btn:active,
.scale-reset-btn:active {
  transform: scale(0.95);
}

.scale-readout {
  min-width: 44px;
  text-align: center;
  font-size: 12px;
  color: var(--titanium);
}

.scale-sep {
  width: 1px;
  height: 14px;
  background: var(--hairline);
  margin: 0 2px;
}

.hud-director-dock {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate3d(-50%, 0, 0);
  z-index: 30;
  height: 46px;
  padding: 4px 10px 4px 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 520ms var(--ease-cinema), transform 520ms var(--ease-cinema);
}

/* 「推演一单高定车的一生」全息光导主按钮（高通透琥珀光轨触发器） */
.story-launch-btn {
  position: relative;
  height: 34px;
  padding: 0 15px;
  background: rgba(229, 139, 59, 0.10);
  color: #FAFBFD;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  transition: transform 150ms var(--ease-drawer), background-color 180ms ease, color 180ms ease;
}

.story-launch-btn.holo-instrument::before {
  background: conic-gradient(
    from var(--holo-sheen-angle, 18deg),
    rgba(229, 139, 59, 0.30) 0deg,
    rgba(246, 186, 117, 0.85) 45deg,
    rgba(255, 255, 255, 0.45) 75deg,
    rgba(229, 139, 59, 0.18) 140deg,
    rgba(244, 177, 107, 0.55) 235deg,
    rgba(229, 139, 59, 0.30) 360deg
  );
  opacity: 0.92;
}

.story-launch-btn.holo-instrument::after {
  --l-col: rgba(244, 177, 107, 0.92);
  opacity: 0.86;
}

.story-launch-btn:hover {
  background: rgba(229, 139, 59, 0.20);
  color: #FFFFFF;
}

.story-launch-btn:active {
  transform: scale(0.97);
}

.story-launch-btn.is-running {
  background: rgba(229, 139, 59, 0.24);
  color: var(--amber-bright);
}

.dock-sep {
  width: 1px;
  height: 18px;
  background: var(--hairline);
  margin: 0 3px;
}

.dock-arrow-btn {
  width: 28px;
  height: 28px;
  border-radius: 1px;
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  transition: transform 150ms var(--ease-drawer), background-color 160ms ease, color 160ms ease;
}

.dock-arrow-btn:hover {
  background: rgba(71, 197, 251, 0.08);
  color: var(--text-primary);
}

.dock-arrow-btn:active {
  transform: scale(0.94);
}

.dock-acts {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* 选中项底部滑动高亮琥珀/冰蓝游标光丝（彻底取代灰底胶囊块） */
.dock-active-pill {
  position: absolute;
  bottom: -2px;
  top: auto;
  left: 0;
  height: 2px;
  border-radius: 0;
  background: linear-gradient(90deg, transparent 2%, var(--amber-bright) 24%, #FAFBFD 50%, var(--deep-blue) 76%, transparent 98%);
  box-shadow: 0 0 10px rgba(229, 139, 59, 0.72), 0 -4px 12px rgba(71, 197, 251, 0.22);
  transition: transform 280ms var(--ease-cinema), width 280ms var(--ease-cinema);
  pointer-events: none;
}

.dock-act-btn {
  position: relative;
  z-index: 1;
  height: 32px;
  padding: 0 11px;
  border-radius: 1px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 180ms ease, transform 150ms var(--ease-drawer);
}

.dock-act-btn:hover {
  color: var(--text-primary);
}

.dock-act-btn.is-active {
  color: #FFFFFF;
  font-weight: 500;
  background: linear-gradient(180deg, transparent, rgba(229, 139, 59, 0.07));
}

.dock-act-btn:active {
  transform: scale(0.97);
}

.dock-act-code {
  font-size: 10.5px;
  color: var(--amber);
  opacity: 0.88;
}

/* =========================================================
 *  真系统穿透演示舞台画框
 * ========================================================= */
.live-portal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
}

.live-portal[hidden] {
  display: none;
}

.portal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 9, 0.72);
  opacity: 0;
  transition: opacity 280ms ease;
}

.live-portal.is-visible .portal-backdrop {
  opacity: 1;
}

.portal-stage-frame {
  position: relative;
  z-index: 1;
  width: min(1540px, calc(100vw - 48px));
  height: min(900px, calc(100vh - 48px));
  border-radius: 4px;
  background: #0B0F17;
  border: 1px solid rgba(194, 200, 212, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 36px 96px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 300ms var(--ease-cinema), opacity 240ms ease;
}

.live-portal.is-visible .portal-stage-frame {
  transform: scale(1);
  opacity: 1;
}

.portal-topbar {
  height: 52px;
  padding: 0 18px;
  border-bottom: 1px solid var(--hairline);
  background: rgba(9, 13, 21, 0.94);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-shrink: 0;
}

.portal-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.portal-mark {
  width: 20px;
  height: 20px;
  display: block;
}

.portal-name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.portal-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
  font-size: 11.5px;
  color: var(--text-secondary);
}

.portal-channel-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
}

.channel-tab-btn {
  position: relative;
  height: 28px;
  padding: 0 12px;
  border-radius: 1px;
  font-size: 12px;
  color: var(--text-muted);
  transition: background-color 160ms ease, color 160ms ease;
}

.channel-tab-btn.is-active {
  background: rgba(71, 197, 251, 0.12);
  color: var(--text-primary);
}

.portal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.portal-ghost-btn,
.portal-exit-btn {
  height: 32px;
  padding: 0 12px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  border: 1px solid var(--hairline);
  transition: transform 150ms var(--ease-drawer), background-color 160ms ease, color 160ms ease;
}

.portal-ghost-btn {
  color: var(--titanium);
}

.portal-ghost-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.portal-exit-btn {
  background: rgba(245, 246, 248, 0.09);
  color: var(--text-primary);
}

.portal-exit-btn:hover {
  background: rgba(245, 246, 248, 0.16);
}

.portal-viewport-wrap {
  position: relative;
  flex: 1;
  background: #080A0F;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.portal-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(194, 200, 212, 0.72), rgba(229, 139, 59, 0.68), transparent);
  transform: translateX(-100%);
  animation: portalScan 1.4s ease-in-out infinite;
  z-index: 3;
}

.portal-scanline.is-done {
  display: none;
}

@keyframes portalScan {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.portal-device-shell {
  width: 100%;
  height: 100%;
  transition: width 260ms var(--ease-cinema), height 260ms var(--ease-cinema), border-radius 260ms ease;
}

.portal-device-shell.is-mobile {
  width: 412px;
  height: calc(100% - 28px);
  border-radius: 20px;
  border: 5px solid #1C2029;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.72);
  overflow: hidden;
}

.portal-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #090A0E;
}

.portal-fallback-note {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 14px;
  border-radius: 2px;
  background: rgba(12, 16, 24, 0.88);
  border: 1px solid var(--hairline);
  font-size: 12px;
  color: var(--text-secondary);
}

/* 顶部灵动全息轻量反馈提示 */
.island-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translate3d(-50%, -22px, 0) scale(0.95);
  opacity: 0;
  z-index: 80;
  padding: 7px 18px;
  background: rgba(5, 10, 18, 0.56);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  pointer-events: none;
  transition: transform 240ms var(--ease-drawer), opacity 200ms ease;
}

.island-toast.is-visible {
  transform: translate3d(-50%, 0, 0) scale(1);
  opacity: 1;
}

/* =========================================================
 *  响应式适配（1440×900 与窄屏 0 挤压 0 重叠）
 * ========================================================= */
@media (max-width: 1560px) {
  .holo-station-code,
  .holo-sanctum-code {
    font-size: 24px;
  }
  .holo-station-name {
    font-size: 17.5px;
  }
  .holo-cluster-hero-val {
    font-size: 18px;
  }
  .holo-cluster-row-text {
    font-size: 12.5px;
  }
  .holo-flow-text {
    font-size: 10.5px;
  }
  .holo-hud-card {
    width: min(444px, 35vw);
    padding: 11px 12px 10px 19px;
    gap: 6px;
  }
  .hud-card-body {
    gap: 6px;
    max-height: calc((100vh - 156px) / max(1, var(--hud-scale, 1)) - 166px);
  }
  .hud-metric-val {
    font-size: 20px;
  }
}

@media (max-height: 940px) {
  .holo-hud-card {
    padding: 10px 12px 10px 19px;
    gap: 6px;
  }
  .hud-card-body {
    gap: 5.5px;
  }
  .hud-text,
  .hud-linkage-note,
  .hud-quote {
    line-height: 1.44;
  }
}

@media (max-width: 1360px) {
  .brand-context,
  .brand-divider,
  .hud-scale-bar {
    display: none;
  }
}

@media (max-width: 1120px) {
  .holo-hud-card {
    width: 360px;
  }
  .dock-act-code {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portal-scanline,
  .holo-instrument::before,
  .holo-reticle-pip::before,
  .holo-cluster-row-text,
  .holo-cluster-hero-bar::after,
  .holo-hairline-flow,
  .hud-spine-flow,
  .hud-open-rail-flow,
  .trigger-rail-flow,
  .hud-spine-ripple.is-pulsing,
  .hud-optical-ripple.is-pulsing,
  .holo-hud-card.is-holo-focusing .hud-scan-sweep,
  .holo-hud-card.is-holo-focusing .hud-card-identity,
  .holo-hud-card.is-holo-focusing .hud-section,
  .holo-hud-card.is-holo-focusing .hud-quote,
  .holo-hud-card.is-holo-focusing .hud-card-footer {
    animation: none !important;
  }
  .holo-hud-card,
  .portal-stage-frame,
  .dock-active-pill,
  .story-banner,
  .stage-3d-viewport,
  .holo-hover-cluster,
  .holo-cluster-row,
  .holo-cluster-hero,
  .holo-flow-label,
  .hud-hover-line {
    transition-duration: 120ms !important;
  }
  .hud-hover-line:hover,
  .hud-card-title.hud-hover-line:hover,
  .hud-metric-cell.hud-hover-line:hover {
    transform: none !important;
  }
}
