:root {
  color-scheme: dark;
  --bg: oklch(18% 0.03 190);
  --bg-deep: oklch(10% 0.035 210);
  --surface: oklch(19% 0.035 190 / 82%);
  --surface-strong: oklch(22% 0.038 190 / 94%);
  --surface-bright: oklch(31% 0.07 175 / 62%);
  --line: oklch(88% 0.08 175 / 16%);
  --line-strong: oklch(86% 0.16 175 / 34%);
  --text: oklch(98% 0.02 160);
  --muted: oklch(81% 0.035 185);
  --subtle: oklch(67% 0.04 185);
  --accent: oklch(84% 0.18 165);
  --accent-strong: oklch(94% 0.09 165);
  --gold: oklch(86% 0.15 82);
  --cyan: oklch(82% 0.14 220);
  --warn: oklch(82% 0.16 70);
  --danger: oklch(72% 0.18 25);
  --pitch: oklch(82% 0.2 140);
  --violet: oklch(70% 0.17 285);
  --ink: oklch(14% 0.035 205);
  --surface-elevated: oklch(17% 0.035 200 / 94%);
  --surface-panel: oklch(21% 0.04 190 / 88%);
  --shadow: 0 10px 28px rgb(0 0 0 / 30%);
  --shadow-strong: 0 18px 54px rgb(0 0 0 / 45%);
  --glow: 0 0 24px oklch(84% 0.18 165 / 18%);
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  --font-display: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", var(--font);
  --font-number: "Bahnschrift", "DIN Alternate", "Arial Narrow", var(--font);
}

@supports not (color: oklch(50% 0.1 120)) {
  :root {
    --bg: #071316;
    --bg-deep: #02080a;
    --surface: rgba(8, 24, 28, 0.82);
    --surface-strong: rgba(12, 35, 39, 0.94);
    --surface-bright: rgba(20, 62, 60, 0.62);
    --line: rgba(185, 255, 237, 0.16);
    --line-strong: rgba(100, 255, 221, 0.34);
    --text: #f4fff9;
    --muted: #b5c8c5;
    --subtle: #83a09c;
    --accent: #31f5bb;
    --accent-strong: #b9ffe9;
    --gold: #ffd36c;
    --cyan: #69d7ff;
    --warn: #ffbf5a;
    --danger: #ff7474;
    --pitch: #62ff57;
    --violet: #8a7cff;
    --ink: #061014;
    --surface-elevated: rgba(6, 18, 22, 0.94);
    --surface-panel: rgba(10, 32, 36, 0.88);
    --glow: 0 0 24px rgba(49, 245, 187, 0.18);
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg-deep);
  overflow-x: hidden;
}

html,
.detail-content,
.intel-deck,
.focus-strip {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 255, 204, 0.34) rgba(255, 255, 255, 0.03);
}

::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgba(0, 255, 204, 0.3);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 204, 0.48);
}

body {
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 76% 10%, rgba(255, 211, 108, 0.24), transparent 28%),
    radial-gradient(circle at 10% 18%, rgba(49, 245, 187, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(2, 8, 10, 0.2) 0, rgba(2, 8, 10, 0.58) 430px, #061014 780px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.34)),
    url("../assets/stadium-hero-hud.webp") center top / min(1780px, 205vw) auto no-repeat,
    var(--bg-deep);
  font-family: var(--font);
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 36%, rgba(49, 245, 187, 0.12) 36.2% 36.4%, transparent 36.8% 100%),
    linear-gradient(245deg, transparent 0 58%, rgba(255, 211, 108, 0.1) 58.1% 58.3%, transparent 58.8% 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 68%);
  pointer-events: none;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(49, 245, 187, 0.08) 50%, transparent 52% 100%),
    radial-gradient(circle at 50% 18%, rgba(255, 211, 108, 0.12), transparent 28%);
  opacity: 0.74;
  pointer-events: none;
}

body.detail-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.sprite {
  display: none;
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.app-shell {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 18px 14px 54px;
}

.hero {
  position: relative;
  min-height: 500px;
  padding: max(14px, env(safe-area-inset-top)) 0 24px;
}

.hero-aurora {
  position: absolute;
  top: 96px;
  left: 0;
  width: min(760px, 94vw);
  height: 156px;
  border: 1px solid rgba(255, 211, 108, 0.28);
  background:
    linear-gradient(100deg, rgba(255, 211, 108, 0.2), rgba(105, 215, 255, 0.1), rgba(49, 245, 187, 0.12));
  filter: blur(0.2px);
  opacity: 0.78;
  transform: skewY(-3deg);
  animation: scanFloat 7s ease-in-out infinite;
  pointer-events: none;
}

.hero-gridline {
  position: absolute;
  right: 0;
  bottom: 96px;
  width: min(520px, 92vw);
  height: 230px;
  border: 1px solid rgba(105, 215, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(rgba(105, 215, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 215, 255, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(98, 255, 87, 0.2), transparent 58%);
  background-size: 28px 28px, 28px 28px, auto;
  clip-path: polygon(8% 14%, 100% 0, 92% 86%, 0 100%);
  opacity: 0.44;
  animation: pitchPulse 4.8s ease-in-out infinite;
  pointer-events: none;
}

.tactical-hud-layer {
  position: absolute;
  inset: 22px -18px auto;
  z-index: 0;
  height: min(520px, 76dvh);
  overflow: hidden;
  border-radius: 12px;
  pointer-events: none;
  opacity: 0.9;
}

.tactical-hud-layer::before,
.tactical-hud-layer::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.tactical-hud-layer::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 44%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(0, 255, 204, 0.02) 32%, transparent 58%),
    rgba(2, 10, 12, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.42) 64%, transparent);
}

.tactical-hud-layer::after {
  background:
    linear-gradient(180deg, transparent 0 47%, rgba(0, 255, 204, 0.085) 48%, transparent 49% 100%),
    linear-gradient(90deg, transparent 0 24%, rgba(255, 255, 255, 0.045) 24.2%, transparent 24.5% 100%);
  background-size: 100% 92px, 260px 100%;
  opacity: 0.46;
  animation: tacticalScan 6.8s linear infinite;
}

.hud-depth-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hud-micro-grid {
  opacity: 1;
}

.hud-scanline {
  fill: none;
  stroke: rgba(0, 255, 204, 0.22);
  stroke-width: 0.65;
  stroke-dasharray: 180 920;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  animation: tacticalLineFlow 7.5s linear infinite;
}

.hud-scanline-alt {
  stroke: rgba(255, 211, 108, 0.16);
  animation-delay: -3.4s;
  animation-duration: 9s;
}

.hud-glass-frame {
  stroke-width: 0.5;
  vector-effect: non-scaling-stroke;
  opacity: 0.9;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
}

.eyebrow,
.metric-label,
.card-label,
.section-kicker {
  margin: 0;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
}

.title-kicker {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 4px 10px;
  border: 1px solid rgba(255, 211, 108, 0.24);
  border-radius: 999px;
  color: #fff1c2;
  background: rgba(6, 16, 20, 0.7);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: inset 0 0 16px rgba(255, 211, 108, 0.06);
}

.heartbeat-line {
  width: 72px;
  height: 18px;
  flex: 0 0 auto;
  overflow: visible;
}

.heartbeat-line polyline {
  fill: none;
  stroke: #00ffcc;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 84;
  stroke-dashoffset: 84;
  filter: drop-shadow(0 0 4px rgba(0, 255, 204, 0.26));
  animation: heartbeatTrace 2.8s ease-in-out infinite;
}

.hero-copy {
  display: grid;
  justify-items: start;
  min-width: 0;
  max-width: 820px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10em;
  margin: 8px 0 8px;
  font-size: clamp(36px, 8.8vw, 68px);
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow:
    0 8px 28px rgba(0, 0, 0, 0.72),
    0 0 18px rgba(105, 215, 255, 0.18);
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 7vw, 46px);
  line-height: 1.04;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  text-wrap: balance;
}

.hero-subtitle {
  max-width: 610px;
  margin: 14px 0 0;
  color: #e3fff6;
  font-size: 17px;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.7);
  text-wrap: pretty;
}

.system-ticker {
  display: flex;
  width: min(100%, 680px);
  min-height: 38px;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(49, 245, 187, 0.26);
  border-radius: 8px;
  color: var(--accent-strong);
  background: rgba(3, 10, 12, 0.78);
  box-shadow: inset 0 0 20px rgba(49, 245, 187, 0.08);
  backdrop-filter: blur(14px);
}

.system-ticker .icon {
  width: 36px;
  flex: 0 0 36px;
  margin-left: 10px;
  color: var(--gold);
}

.ticker-track {
  display: flex;
  min-width: 0;
  gap: 18px;
  white-space: nowrap;
  animation: tickerMove 22s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  font-size: 12px;
  font-weight: 900;
}

.title-lockup {
  position: relative;
  display: grid;
  width: min(100%, 560px);
  padding: 15px 18px 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 211, 108, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(3, 10, 12, 0.9), rgba(3, 10, 12, 0.48)),
    radial-gradient(circle at 92% 18%, rgba(255, 211, 108, 0.14), transparent 34%),
    rgba(3, 10, 12, 0.56);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.08),
    inset 0 -1px rgba(255, 211, 108, 0.2);
}

.title-lockup::before,
.title-lockup::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.title-lockup::before {
  top: 0;
  left: 16px;
  width: min(210px, 56%);
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(49, 245, 187, 0.58), transparent);
}

.title-lockup::after {
  right: 11px;
  bottom: 11px;
  width: 16px;
  height: 16px;
  border-right: 1px solid rgba(255, 211, 108, 0.62);
  border-bottom: 1px solid rgba(255, 211, 108, 0.62);
}

.focus-corner {
  position: absolute;
  z-index: 3;
  width: 22px;
  height: 22px;
  border-color: rgba(0, 255, 204, 0.58);
  pointer-events: none;
  filter: drop-shadow(0 0 3px rgba(0, 255, 204, 0.22));
}

.focus-corner-tl {
  top: 10px;
  left: 10px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.focus-corner-tr {
  top: 10px;
  right: 10px;
  border-top: 1px solid;
  border-right: 1px solid;
}

.focus-corner-bl {
  bottom: 10px;
  left: 10px;
  border-bottom: 1px solid;
  border-left: 1px solid;
}

.focus-corner-br {
  right: 10px;
  bottom: 10px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.brand-title {
  display: grid;
  gap: 0;
  max-width: 12ch;
  margin: 9px 0 11px;
  color: #f7fff9;
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 70px);
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16),
    0 12px 28px rgba(0, 0, 0, 0.66),
    0 0 24px rgba(49, 245, 187, 0.12);
  text-wrap: balance;
}

.brand-title-line {
  display: block;
}

.brand-title-line-primary {
  color: #ffe9b0;
  font-family: var(--font-number);
  font-size: 0.74em;
  font-weight: 800;
  line-height: 1.02;
}

.lock-title {
  max-width: 9ch;
  margin-bottom: 12px;
  font-size: clamp(40px, 10vw, 60px);
}

.signal-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  color: #c8fff3;
  font-size: 12px;
  font-weight: 900;
}

.signal-line i {
  width: 20px;
  height: 1px;
  background: rgba(255, 211, 108, 0.65);
}

.muted {
  color: var(--muted);
}

.icon-button {
  display: inline-grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(7, 19, 22, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.hero-board {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: 24px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(105, 215, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 19, 22, 0.94), rgba(6, 32, 35, 0.78)),
    rgba(3, 10, 12, 0.68);
  box-shadow: var(--shadow-strong), var(--glow);
  backdrop-filter: blur(18px);
}

.hero-board::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(110deg, transparent 0 38%, rgba(255, 255, 255, 0.08) 48%, transparent 58% 100%),
    radial-gradient(circle at 82% 20%, rgba(105, 215, 255, 0.13), transparent 34%);
  animation: boardSweep 5.6s ease-in-out infinite;
  pointer-events: none;
}

.board-copy,
.board-metrics,
.live-orbit {
  position: relative;
  z-index: 1;
}

.board-status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-bottom: 8px;
}

.board-status-line span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid rgba(255, 211, 108, 0.2);
  border-radius: 999px;
  color: #ffe9b0;
  background: rgba(255, 211, 108, 0.07);
  font-size: 12px;
  font-weight: 900;
}

.board-copy h2 {
  margin: 4px 0 8px;
  font-size: clamp(30px, 6vw, 54px);
}

.board-match-title {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.board-match-title i {
  display: inline-grid;
  min-width: 38px;
  min-height: 38px;
  place-items: center;
  border: 1px solid rgba(105, 215, 255, 0.34);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(105, 215, 255, 0.08);
  font-size: 15px;
  font-style: normal;
  font-weight: 900;
}

.board-copy p {
  max-width: 660px;
  margin-bottom: 12px;
  color: #d8fff3;
  font-size: 15px;
  line-height: 1.7;
}

.hero-action {
  width: fit-content;
  padding: 0 18px;
}

.live-orbit {
  display: none;
}

.board-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.board-metrics div {
  min-width: 0;
  min-height: 92px;
  padding: 13px;
  border: 1px solid rgba(185, 255, 237, 0.14);
  border-radius: 8px;
  background: rgba(3, 10, 12, 0.5);
}

.board-metrics span,
.metric-panel small {
  display: block;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 800;
}

.board-metrics strong {
  display: block;
  margin-top: 5px;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 21px;
  line-height: 1.16;
}

.board-metrics small {
  display: block;
  margin-top: 4px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.metric-panel {
  min-height: 92px;
  padding: 13px;
  border: 1px solid rgba(185, 255, 237, 0.14);
  border-radius: 8px;
  background: rgba(6, 18, 22, 0.82);
  box-shadow: none;
  backdrop-filter: blur(16px);
  transform: translateZ(0);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.metric-panel:hover {
  border-color: rgba(255, 211, 108, 0.42);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 211, 108, 0.05);
}

.metric-panel strong {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
}

.meta-strip {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.meta-strip span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(3, 10, 12, 0.5);
  backdrop-filter: blur(12px);
}

.focus-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: -8px 0 14px;
  scrollbar-width: none;
}

.focus-strip::-webkit-scrollbar {
  display: none;
}

.focus-chip {
  min-height: 92px;
  padding: 12px;
  border: 1px solid rgba(255, 211, 108, 0.28);
  border-radius: 8px;
  color: var(--text);
  text-align: left;
  background:
    linear-gradient(135deg, rgba(255, 211, 108, 0.15), rgba(49, 245, 187, 0.06)),
    rgba(8, 24, 28, 0.82);
  box-shadow: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.focus-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 211, 108, 0.5);
  background:
    linear-gradient(135deg, rgba(255, 211, 108, 0.23), rgba(49, 245, 187, 0.13)),
    rgba(8, 24, 28, 0.86);
}

.focus-chip span,
.focus-chip small {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.focus-chip strong {
  display: block;
  margin: 5px 0;
  font-size: 16px;
}

.focus-chip small {
  color: var(--muted);
  font-weight: 700;
}

.focus-chip .focus-risk-number {
  display: inline-block;
  min-width: 3.5ch;
  color: #d9fff7;
  font-variant-numeric: tabular-nums;
}

.focus-chip.is-counting .focus-risk-number {
  animation: focusNumberPop 260ms ease-out both;
}

.tabs {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 2px 0 16px;
  padding: 6px;
  background: rgba(6, 16, 20, 0.92);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(185, 255, 237, 0.13);
  border-radius: 8px;
}

.tab {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  touch-action: manipulation;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.tab.is-active {
  border-color: rgba(255, 211, 108, 0.36);
  color: var(--text);
  background: rgba(255, 211, 108, 0.12);
  box-shadow: none;
}

.match-list {
  display: grid;
  gap: 14px;
}

.match-section {
  display: grid;
  gap: 12px;
}

.match-section + .match-section {
  margin-top: 8px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 2px 2px;
}

.section-heading h2 {
  margin: 3px 0 0;
  font-size: 26px;
}

.section-heading span {
  max-width: 360px;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.section-list {
  display: grid;
  gap: 14px;
}

.empty-state {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 24, 28, 0.78);
}

.empty-state h2 {
  margin-bottom: 0;
  font-size: 22px;
}

.match-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(185, 255, 237, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(11, 34, 39, 0.96), rgba(4, 13, 16, 0.99)),
    var(--surface-elevated);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
  transform: translateZ(0);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.match-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 211, 108, 0.28);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.38);
}

.match-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  opacity: 0.34;
  transform: translateX(-30%);
  animation: cardSweep 6s ease-in-out infinite;
  pointer-events: none;
}

.match-card.warn {
  border-color: rgba(255, 191, 90, 0.3);
}

.match-card.danger {
  border-color: rgba(255, 116, 116, 0.34);
}

.match-card.is-hidden {
  display: none;
}

.match-card-glow {
  position: absolute;
  right: 0;
  top: 0;
  width: 46%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 211, 108, 0.82));
  pointer-events: none;
}

.match-card.warn .match-card-glow {
  background: linear-gradient(90deg, transparent, rgba(255, 191, 90, 0.85));
}

.match-card.danger .match-card-glow {
  background: linear-gradient(90deg, transparent, rgba(255, 116, 116, 0.85));
}

.match-card.is-completed {
  border-color: rgba(185, 255, 237, 0.12);
  background:
    linear-gradient(180deg, rgba(15, 32, 35, 0.84), rgba(5, 15, 18, 0.96)),
    var(--surface);
}

.match-card.is-completed .team-name,
.match-card.is-completed .prediction-dial {
  opacity: 0.82;
}

.match-head {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  padding: 17px;
}

.match-meta,
.tag-row,
.pill-row,
.mini-row,
.source-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pill,
.mini-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.045);
}

.pill.good,
.mini-tag {
  border-color: rgba(49, 245, 187, 0.42);
  color: var(--accent-strong);
}

.pill.warn {
  border-color: rgba(255, 191, 90, 0.44);
  color: #ffe0a1;
}

.pill.done {
  border-color: rgba(181, 200, 197, 0.28);
  color: #d7e1df;
}

.pill.danger {
  border-color: rgba(255, 116, 116, 0.44);
  color: #ffc0c0;
}

.teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.team {
  min-width: 0;
}

.team.away {
  text-align: right;
}

.team-name {
  overflow-wrap: anywhere;
  font-size: clamp(25px, 5.4vw, 42px);
  font-weight: 900;
  line-height: 1.05;
}

.team-sub {
  margin-top: 5px;
  color: var(--subtle);
  font-size: 12px;
}

.versus {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(105, 215, 255, 0.32);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  background: rgba(105, 215, 255, 0.08);
}

.prediction-dial,
.report-dial {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 15px;
  border: 1px solid rgba(49, 245, 187, 0.2);
  border-radius: 8px;
  background: rgba(49, 245, 187, 0.065);
}

.prediction-dial strong,
.report-dial strong {
  font-size: 18px;
}

.prediction-dial small,
.report-dial small {
  color: var(--muted);
  font-size: 12px;
}

.ring {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(7, 19, 22, 0.95) 0 55%, transparent 56%),
    conic-gradient(var(--accent) var(--deg), rgba(255, 255, 255, 0.12) 0);
  box-shadow: 0 0 22px rgba(49, 245, 187, 0.18);
  animation: ringBreathe 2.8s ease-in-out infinite;
}

.ring span {
  font-size: 19px;
  font-weight: 900;
}

.tag-row {
  position: relative;
  z-index: 1;
  padding: 0 16px 12px;
}

.prob-bars {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: 0;
}

.probability-block {
  position: relative;
  z-index: 1;
}

.probability-block.compact {
  margin: 0 16px 16px;
  padding: 13px;
  border: 1px solid rgba(185, 255, 237, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(3, 10, 12, 0.42);
  animation: probabilityPanelIn 260ms ease-out both;
}

.probability-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}

.probability-head span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.probability-head strong {
  display: block;
  margin-top: 3px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.2;
}

.probability-head small {
  max-width: 390px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

.prob-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) 52px;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  animation: probabilityRowIn 240ms ease-out both;
  animation-delay: calc(var(--row-index) * 70ms);
}

.bar,
.compact-meter {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.bar {
  height: 10px;
  transform: translateZ(0);
}

.bar span,
.compact-meter span {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--bar-value, var(--value, 0)) * 100%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pitch), var(--cyan));
}

.bar span {
  overflow: hidden;
  transform-origin: left center;
  animation:
    probabilityFill 720ms cubic-bezier(0.16, 1, 0.3, 1) both,
    probabilityPulse 3.2s ease-in-out 900ms infinite;
  animation-delay: calc(120ms + var(--row-index) * 90ms), calc(900ms + var(--row-index) * 120ms);
}

.bar span::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(100deg, transparent 0 24%, rgba(255, 255, 255, 0.72) 44%, transparent 64% 100%);
  opacity: 0.58;
  transform: translateX(-120%);
  animation: probabilityScan 2.8s ease-in-out infinite;
  animation-delay: calc(780ms + var(--row-index) * 180ms);
}

.quick-grid,
.stat-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.quick-grid {
  padding: 0 16px 16px;
}

.postmatch-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0 16px 16px;
}

.postmatch-strip div,
.postmatch-grid div {
  min-width: 0;
  border: 1px solid rgba(255, 211, 108, 0.22);
  border-radius: 8px;
  background: rgba(255, 211, 108, 0.08);
}

.postmatch-strip div {
  min-height: 66px;
  padding: 10px;
}

.postmatch-strip span,
.postmatch-grid span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.postmatch-strip strong,
.postmatch-grid strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.2;
}

.card-insight {
  position: relative;
  z-index: 1;
  margin: 0 17px 17px;
  padding: 13px;
  border: 1px solid rgba(185, 255, 237, 0.14);
  border-radius: 8px;
  color: #d8fff3;
  background: rgba(3, 10, 12, 0.46);
  font-size: 13px;
  line-height: 1.6;
}

.intel-deck {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}

.intel-card {
  position: relative;
  min-width: 0;
  min-height: 142px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(185, 255, 237, 0.13);
  border-radius: 8px;
  background: rgba(6, 18, 22, 0.84);
  box-shadow: none;
}

.intel-card::after {
  position: absolute;
  right: -36px;
  top: -36px;
  width: 104px;
  height: 104px;
  content: "";
  border: 1px solid rgba(49, 245, 187, 0.16);
  border-radius: 50%;
  box-shadow: inset 0 0 26px rgba(49, 245, 187, 0.08);
}

.intel-card.hot {
  border-color: rgba(255, 191, 90, 0.24);
}

.intel-card.review {
  border-color: rgba(138, 124, 255, 0.28);
}

.intel-icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  place-items: center;
  border: 1px solid rgba(49, 245, 187, 0.28);
  border-radius: 8px;
  color: var(--accent-strong);
  background: rgba(49, 245, 187, 0.08);
}

.intel-card span {
  display: block;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 900;
}

.intel-card strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.2;
}

.intel-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.quick-stat,
.stat {
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 10, 12, 0.42);
}

.quick-stat span,
.stat span {
  display: block;
  color: var(--subtle);
  font-size: 12px;
}

.quick-stat strong,
.stat strong {
  display: block;
  margin-top: 5px;
  color: #ffffff;
  font-size: 19px;
  line-height: 1.1;
}

.actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 0 16px 16px;
}

.text-button,
.ghost-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-weight: 900;
  touch-action: manipulation;
}

.text-button {
  border: 1px solid rgba(185, 255, 237, 0.2);
  color: #03110d;
  background: linear-gradient(135deg, var(--accent), #aaff74);
  box-shadow: 0 8px 18px rgba(49, 245, 187, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.text-button:hover {
  transform: translateY(-1px);
  filter: saturate(1.08);
  box-shadow: 0 10px 22px rgba(49, 245, 187, 0.24);
}

.ghost-button {
  min-width: 48px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 160ms ease, background 160ms ease;
}

.ghost-button:hover {
  border-color: rgba(255, 211, 108, 0.36);
  background: rgba(255, 211, 108, 0.08);
}

.notice-band {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 211, 108, 0.38);
  border-radius: 8px;
  color: #ffe3a8;
  background: rgba(255, 211, 108, 0.1);
}

.notice-band p {
  margin-bottom: 0;
  font-size: 13px;
}

.lock-screen {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: 20px;
}

.lock-panel {
  width: min(100%, 430px);
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 211, 108, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 211, 108, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(12, 44, 46, 0.88), rgba(6, 20, 23, 0.94)),
    var(--surface-strong);
  box-shadow: 0 12px 46px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.lock-panel h1 {
  max-width: none;
}

.lock-subtitle {
  max-width: 31ch;
  margin: 0;
  color: #d9fff5;
  font-size: 15px;
  line-height: 1.7;
  text-wrap: pretty;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(49, 245, 187, 0.45);
  border-radius: 8px;
  color: var(--accent-strong);
  background: rgba(49, 245, 187, 0.1);
}

.access-form {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.access-form label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.code-row input {
  min-height: 48px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(3, 10, 12, 0.72);
  padding: 0 12px;
  outline: none;
}

.code-row input:focus {
  border-color: rgba(49, 245, 187, 0.75);
  box-shadow: 0 0 0 3px rgba(49, 245, 187, 0.16);
}

.code-row button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  color: #03110d;
  background: var(--accent);
  padding: 0 18px;
  font-weight: 900;
}

.form-error {
  min-height: 20px;
  margin-bottom: 0;
  color: var(--danger);
  font-size: 13px;
}

.detail-view {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: end center;
  padding: 18px 12px;
  background: rgba(1, 8, 10, 0.78);
  backdrop-filter: blur(12px);
}

.detail-sheet {
  width: min(100%, 980px);
  max-height: min(92dvh, 980px);
  overflow: hidden;
  border: 1px solid rgba(185, 255, 237, 0.18);
  border-radius: 8px;
  background: #061014;
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.58);
}

.detail-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border-bottom: 1px solid rgba(185, 255, 237, 0.12);
  background: rgba(4, 13, 16, 0.98);
}

.detail-toolbar .icon-button {
  width: 44px;
  height: 44px;
  border-color: rgba(185, 255, 237, 0.28);
}

.detail-toolbar p {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 900;
}

.detail-content {
  max-height: calc(92dvh - 70px);
  overflow: auto;
  padding: 14px;
}

.report-hero {
  display: grid;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(255, 211, 108, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 211, 108, 0.12), rgba(49, 245, 187, 0.08)),
    rgba(8, 24, 28, 0.92);
}

.report-hero.warn {
  border-color: rgba(255, 191, 90, 0.34);
}

.report-hero.danger {
  border-color: rgba(255, 116, 116, 0.38);
}

.report-hero p {
  margin-bottom: 0;
  color: #d8fff3;
}

.report-title-system {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.report-kicker {
  width: fit-content;
  padding: 4px 9px;
  border: 1px solid rgba(255, 211, 108, 0.28);
  border-radius: 999px;
  color: #ffe9b0;
  background: rgba(255, 211, 108, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.match-title {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: baseline;
  margin: 0;
  color: #f7fff9;
  font-family: var(--font-display);
  font-size: clamp(30px, 5.2vw, 50px);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.46);
}

.match-title-team {
  overflow-wrap: anywhere;
}

.match-title-divider {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid rgba(105, 215, 255, 0.34);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(105, 215, 255, 0.08);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.report-summary {
  max-width: 65ch;
  text-wrap: pretty;
}

.report-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.report-meta span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c4d8d5;
  font-size: 12px;
}

.report-grid {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.report-panel,
.panel {
  padding: 15px;
  border: 1px solid rgba(185, 255, 237, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.report-panel {
  margin-top: 12px;
}

.report-panel p {
  color: var(--muted);
}

.customer-brief {
  background:
    linear-gradient(135deg, rgba(49, 245, 187, 0.07), rgba(255, 191, 90, 0.045)),
    rgba(255, 255, 255, 0.035);
}

.postmatch-panel {
  border-color: rgba(255, 211, 108, 0.3);
  background:
    linear-gradient(135deg, rgba(255, 211, 108, 0.12), rgba(49, 245, 187, 0.06)),
    rgba(255, 255, 255, 0.04);
}

.postmatch-headline {
  margin-bottom: 0;
  color: #fff2c4 !important;
  font-weight: 800;
}

.postmatch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.postmatch-grid div {
  min-height: 76px;
  padding: 10px;
}

.training-note {
  margin: 8px 0 0;
  color: #fff2c4 !important;
  line-height: 1.65;
}

.training-card {
  position: relative;
  overflow: hidden;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 211, 108, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 211, 108, 0.12), rgba(138, 124, 255, 0.08)),
    rgba(3, 10, 12, 0.44);
}

.training-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  transform: translateX(-65%);
  animation: cardSweep 6.5s ease-in-out infinite;
  pointer-events: none;
}

.training-card span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid rgba(255, 211, 108, 0.32);
  border-radius: 999px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  background: rgba(255, 211, 108, 0.08);
}

.training-card p {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  color: #fff2c4 !important;
  line-height: 1.7;
}

.signal-matrix {
  border-color: rgba(105, 215, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(105, 215, 255, 0.1), rgba(49, 245, 187, 0.06)),
    rgba(255, 255, 255, 0.04);
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.matrix-grid div {
  min-width: 0;
  min-height: 84px;
  padding: 12px;
  border: 1px solid rgba(105, 215, 255, 0.18);
  border-radius: 8px;
  background: rgba(3, 10, 12, 0.42);
}

.matrix-grid span {
  display: block;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.matrix-grid strong {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.45;
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.brief-grid div,
.status-strip span {
  border: 1px solid rgba(185, 255, 237, 0.12);
  border-radius: 8px;
  background: rgba(3, 10, 12, 0.42);
}

.brief-grid div {
  min-height: 92px;
  padding: 12px;
}

.brief-grid span {
  display: block;
  color: var(--subtle);
  font-size: 12px;
}

.brief-grid strong {
  display: block;
  margin-top: 6px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.status-strip span {
  min-height: 30px;
  padding: 6px 9px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
}

.report-bars {
  padding: 0;
}

.score-list {
  display: grid;
  gap: 8px;
}

.score-row,
.advance-row {
  display: grid;
  grid-template-columns: 24px 64px minmax(0, 1fr) 54px;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}

.advance-row {
  grid-template-columns: 88px minmax(0, 1fr) 54px;
}

.rank {
  color: var(--gold);
  font-weight: 900;
}

.scoreline {
  color: var(--text);
  font-weight: 900;
}

.compact-meter {
  height: 8px;
}

.report-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.report-list li {
  color: var(--muted);
  font-size: 13px;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 80;
  max-width: min(320px, calc(100vw - 32px));
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(12, 35, 39, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[hidden] {
  display: none !important;
}

@keyframes scanFloat {
  0%,
  100% {
    transform: translateY(0) skewY(-4deg);
  }
  50% {
    transform: translateY(10px) skewY(-4deg);
  }
}

@keyframes cardSweep {
  0%,
  48% {
    transform: translateX(-55%);
  }
  72%,
  100% {
    transform: translateX(55%);
  }
}

@keyframes boardSweep {
  0%,
  42% {
    transform: translateX(-80%);
  }
  70%,
  100% {
    transform: translateX(80%);
  }
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes ringBreathe {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(49, 245, 187, 0));
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(49, 245, 187, 0.36));
  }
}

@keyframes barCharge {
  from {
    transform: translateX(-18%);
    opacity: 0.4;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes probabilityPanelIn {
  from {
    opacity: 0.78;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes probabilityRowIn {
  from {
    opacity: 0.42;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes probabilityFill {
  from {
    transform: scaleX(0.08);
    filter: saturate(0.75);
  }
  to {
    transform: scaleX(1);
    filter: saturate(1);
  }
}

@keyframes probabilityScan {
  0%,
  34% {
    transform: translateX(-120%);
  }
  58%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes probabilityPulse {
  0%,
  100% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.18);
  }
}

@keyframes pitchPulse {
  0%,
  100% {
    opacity: 0.34;
    transform: translateY(0);
  }
  50% {
    opacity: 0.55;
    transform: translateY(-4px);
  }
}

@media (min-width: 760px) {
  .app-shell {
    padding-inline: 24px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-board {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    align-items: center;
  }

  .live-orbit {
    position: absolute;
    right: 22px;
    top: 18px;
    display: block;
    width: 118px;
    height: 118px;
    border: 1px solid rgba(105, 215, 255, 0.18);
    border-radius: 50%;
  }

  .live-orbit span,
  .live-orbit i,
  .live-orbit b {
    position: absolute;
    border-radius: 50%;
  }

  .live-orbit span {
    inset: 18px;
    border: 1px solid rgba(49, 245, 187, 0.24);
  }

  .live-orbit i {
    inset: 36px;
    border: 1px solid rgba(255, 211, 108, 0.28);
  }

  .live-orbit b {
    left: 50%;
    top: 50%;
    width: 54px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform-origin: left center;
    animation: radarSpin 3.2s linear infinite;
  }

  .match-head {
    grid-template-columns: minmax(0, 1fr) 190px;
  }

  .report-hero {
    grid-template-columns: minmax(0, 1fr) 190px;
  }

  .report-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

@media (max-width: 720px) {
  .hero-grid,
  .quick-grid,
  .postmatch-strip,
  .postmatch-grid,
  .stat-grid,
  .brief-grid,
  .board-metrics,
  .matrix-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intel-deck {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .intel-deck::-webkit-scrollbar {
    display: none;
  }

  .intel-card {
    width: 78vw;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .focus-strip {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }

  .focus-chip {
    width: 78vw;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .section-heading {
    display: grid;
    gap: 4px;
  }

  .section-heading span {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 430px) {
  body {
    background-size: auto, auto, auto, auto, min(1120px, 250vw) auto;
  }

  .app-shell {
    padding-inline: 12px;
  }

  .hero {
    min-height: 520px;
  }

  .hero-grid {
    margin-top: 12px;
  }

  .hero-aurora {
    top: 96px;
    width: calc(100vw - 28px);
    height: 136px;
  }

  .hero-board {
    padding: 13px;
  }

  .board-copy h2 {
    font-size: 26px;
  }

  .system-ticker {
    width: 100%;
  }

  .brand-title {
    font-size: clamp(36px, 11vw, 48px);
  }

  .title-kicker {
    max-width: 100%;
    white-space: normal;
  }

  .tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .title-lockup {
    width: 100%;
    padding: 11px 12px 12px;
  }

  .title-lockup::after {
    right: 9px;
    bottom: 9px;
    width: 14px;
    height: 14px;
  }

  .signal-line {
    gap: 6px;
    font-size: 11px;
  }

  .signal-line i {
    width: 14px;
  }

  .lock-panel {
    padding: 22px;
  }

  .lock-title {
    max-width: 8ch;
    font-size: clamp(37px, 12vw, 50px);
  }

  .match-title {
    font-size: clamp(27px, 8vw, 38px);
  }

  .hero-subtitle {
    margin-top: 10px;
    font-size: 15px;
  }

  .board-match-title {
    gap: 7px 8px;
  }

  .board-match-title i {
    min-width: 32px;
    min-height: 32px;
    font-size: 13px;
  }

  .board-copy p {
    font-size: 14px;
  }

  .prob-row {
    grid-template-columns: 92px minmax(0, 1fr) 48px;
  }

  .probability-head {
    display: grid;
    gap: 6px;
  }

  .probability-head small {
    max-width: none;
    text-align: left;
  }

  .team-name {
    font-size: 25px;
  }

  .team-sub {
    display: none;
  }

  .prediction-dial {
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    align-items: center;
  }

  .prediction-dial .card-label,
  .prediction-dial small {
    display: none;
  }

  .ring {
    width: 68px;
    height: 68px;
  }

  .score-row {
    grid-template-columns: 20px 52px minmax(0, 1fr) 50px;
  }

  .advance-row {
    grid-template-columns: 72px minmax(0, 1fr) 50px;
  }
}

@media (max-width: 350px) {
  .hero-grid,
  .quick-grid,
  .postmatch-strip,
  .postmatch-grid,
  .stat-grid,
  .brief-grid,
  .board-metrics,
  .matrix-grid {
    grid-template-columns: 1fr;
  }

  .teams {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .team.away {
    text-align: left;
  }

  .versus {
    width: auto;
    height: 28px;
    border-radius: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .bar span {
    transform: none !important;
  }

  .bar span::after {
    opacity: 0 !important;
  }
}

/* Premium customer-facing title and report polish. */
.hero {
  min-height: 570px;
  isolation: isolate;
}

.nerve-center {
  position: absolute;
  inset: 0 -22px auto;
  height: min(580px, 86dvh);
  z-index: 0;
  overflow: hidden;
  border-radius: 0 0 12px 12px;
  pointer-events: none;
  opacity: 0.94;
}

.nerve-center::before,
.nerve-center::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.nerve-center::before {
  inset: 30px 0 0;
  background:
    radial-gradient(circle at 48% 26%, rgba(0, 255, 204, 0.16), transparent 26%),
    radial-gradient(circle at 74% 18%, rgba(95, 62, 255, 0.12), transparent 24%),
    radial-gradient(circle at 15% 74%, rgba(255, 142, 74, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(10, 26, 31, 0), rgba(10, 26, 31, 0.88));
  filter: blur(0.2px);
}

.nerve-center::after {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 255, 204, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 255, 204, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 24%, rgba(0, 0, 0, 0.92), transparent 72%);
  opacity: 0.52;
  animation: hudGridDrift 10s linear infinite;
}

.nerve-svg {
  position: absolute;
  inset: 18px 0 auto;
  width: 100%;
  height: min(520px, 74dvh);
  opacity: 0.86;
}

.nerve-grid path {
  fill: none;
  stroke: rgba(0, 255, 204, 0.12);
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
}

.nerve-flow {
  fill: none;
  stroke: url("#nerveLine");
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-dasharray: 90 760;
  vector-effect: non-scaling-stroke;
  animation: nerveFlow 5.8s linear infinite;
}

.flow-b {
  animation-delay: -1.4s;
  animation-duration: 6.7s;
}

.flow-c {
  animation-delay: -2.2s;
  animation-duration: 5.2s;
}

.flow-d {
  animation-delay: -3.1s;
  animation-duration: 7.4s;
}

.flow-e {
  animation-delay: -4.5s;
  animation-duration: 6.1s;
}

.nerve-nodes circle {
  fill: #00ffcc;
  opacity: 0.86;
  animation: nodeBreath 2.8s ease-in-out infinite;
}

.nerve-nodes circle:nth-child(2n) {
  animation-delay: -0.9s;
}

.nerve-nodes circle:nth-child(3n) {
  animation-delay: -1.7s;
}

.terminal-code {
  position: absolute;
  color: rgba(185, 255, 237, 0.72);
  font-family: var(--font-number);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow: 0 0 12px rgba(0, 255, 204, 0.32);
  animation: terminalBlink 3.2s steps(2, end) infinite;
}

.code-a {
  left: min(40px, 6vw);
  top: 84px;
}

.code-b {
  right: min(58px, 7vw);
  top: 132px;
  color: rgba(255, 211, 108, 0.72);
  animation-delay: -1.2s;
}

.code-c {
  left: 48%;
  top: 28px;
  transform: translateX(-50%);
  color: rgba(105, 215, 255, 0.68);
  animation-delay: -2.1s;
}

.code-d {
  right: min(120px, 16vw);
  top: 420px;
  color: rgba(255, 142, 74, 0.64);
  animation-delay: -0.6s;
}

.hero::before {
  position: absolute;
  inset: 18px -2px auto;
  height: 360px;
  content: "";
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 211, 108, 0.18), transparent 30%),
    linear-gradient(105deg, rgba(49, 245, 187, 0.14), transparent 34% 62%, rgba(105, 215, 255, 0.12));
  filter: blur(18px);
  opacity: 0.86;
  pointer-events: none;
}

.hero-aurora {
  top: 118px;
  height: 188px;
  border-color: rgba(255, 211, 108, 0.18);
  background:
    linear-gradient(92deg, rgba(255, 211, 108, 0.14), rgba(49, 245, 187, 0.12) 42%, rgba(105, 215, 255, 0.1)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  opacity: 0.58;
}

.title-kicker {
  gap: 10px;
  min-height: 32px;
  padding: 5px 11px;
  border-color: rgba(255, 211, 108, 0.34);
  color: #fff3c5;
  background:
    linear-gradient(90deg, rgba(255, 211, 108, 0.14), rgba(49, 245, 187, 0.08)),
    rgba(3, 10, 12, 0.78);
  box-shadow: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.title-kicker::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  content: "";
  background: var(--accent);
  box-shadow: 0 0 12px rgba(49, 245, 187, 0.72);
}

.title-lockup {
  width: min(100%, 650px);
  margin-top: 10px;
  padding: 18px 18px 15px;
  border-color: rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(0, 255, 204, 0.018) 32%, rgba(255, 211, 108, 0.026) 68%, transparent),
    linear-gradient(135deg, rgba(3, 10, 12, 0.9), rgba(8, 31, 35, 0.58)),
    radial-gradient(circle at 92% 18%, rgba(255, 211, 108, 0.18), transparent 34%),
    radial-gradient(circle at 8% 88%, rgba(49, 245, 187, 0.08), transparent 36%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.13),
    inset -1px -1px rgba(0, 255, 204, 0.08),
    0 18px 46px rgba(0, 0, 0, 0.28);
}

.title-lockup::before {
  left: 18px;
  width: min(290px, 66%);
  background: linear-gradient(90deg, var(--gold), var(--accent), transparent);
}

.brand-title {
  max-width: none;
  margin: 3px 0 13px;
  gap: 2px;
  font-size: 64px;
  line-height: 0.96;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 34px rgba(0, 0, 0, 0.68);
}

.brand-title-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.brand-title-main,
.brand-title-line-secondary {
  overflow-wrap: anywhere;
}

.brand-title-main {
  color: #f8fff9;
  font-family: var(--font-display);
  font-weight: 950;
}

.brand-title-ai {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 2px 11px 4px;
  border: 1px solid rgba(49, 245, 187, 0.5);
  border-radius: 8px;
  color: #03110d;
  background:
    linear-gradient(135deg, var(--accent), #fff08a 96%),
    var(--accent);
  font-family: var(--font-number);
  font-size: 0.58em;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 22px rgba(49, 245, 187, 0.26);
}

.brand-title-line-secondary {
  color: #ffe6a5;
  font-weight: 950;
}

.brand-title-line-primary {
  display: none;
}

.signal-line {
  color: #dcfff6;
}

.signal-line span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid rgba(185, 255, 237, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.signal-line i {
  width: 26px;
  background: linear-gradient(90deg, transparent, rgba(255, 211, 108, 0.78), transparent);
}

.hero-subtitle {
  max-width: 650px;
  color: #effffb;
  font-size: 18px;
  font-weight: 650;
}

.system-ticker {
  min-height: 42px;
  border-color: rgba(49, 245, 187, 0.34);
  background: rgba(2, 9, 11, 0.86);
}

.hero-board {
  margin-top: 26px;
  padding: 20px;
  border-color: rgba(0, 255, 204, 0.28);
  background:
    linear-gradient(140deg, rgba(9, 24, 29, 0.96), rgba(3, 11, 14, 0.98)),
    radial-gradient(circle at 88% 14%, rgba(255, 211, 108, 0.14), transparent 35%),
    radial-gradient(circle at 16% 90%, rgba(49, 245, 187, 0.11), transparent 36%);
  box-shadow:
    0 0 0 1px rgba(0, 255, 204, 0.08),
    0 0 24px rgba(0, 255, 204, 0.08),
    0 22px 56px rgba(0, 0, 0, 0.46);
}

.hero-board::after {
  position: absolute;
  inset: auto 18px 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 211, 108, 0.82), rgba(49, 245, 187, 0.72), transparent);
  pointer-events: none;
}

.board-copy h2 {
  font-size: 46px;
  letter-spacing: 0;
}

.board-match-title i,
.versus,
.match-title-divider {
  border-radius: 8px;
}

.board-metrics div,
.metric-panel,
.quick-stat,
.stat,
.matrix-grid div,
.brief-grid div,
.postmatch-strip div,
.postmatch-grid div {
  border-color: rgba(185, 255, 237, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(3, 10, 12, 0.46);
}

.match-card,
.intel-card,
.report-panel,
.panel,
.detail-sheet,
.lock-panel {
  border-color: rgba(185, 255, 237, 0.16);
}

.match-card {
  background:
    linear-gradient(180deg, rgba(12, 38, 43, 0.98), rgba(4, 13, 16, 0.99)),
    var(--surface-elevated);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.match-card::before {
  opacity: 0.2;
  animation-duration: 7.2s;
}

.match-card:hover,
.focus-chip:hover,
.intel-card:hover {
  border-color: rgba(255, 211, 108, 0.38);
}

.intel-card {
  background:
    linear-gradient(145deg, rgba(8, 25, 30, 0.94), rgba(4, 13, 16, 0.88)),
    rgba(6, 18, 22, 0.84);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.intel-card:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(145deg, rgba(11, 35, 40, 0.98), rgba(4, 13, 16, 0.9)),
    rgba(6, 18, 22, 0.9);
}

.detail-view {
  background:
    radial-gradient(circle at 50% 18%, rgba(49, 245, 187, 0.11), transparent 35%),
    rgba(1, 8, 10, 0.82);
}

.detail-sheet {
  border-color: rgba(255, 211, 108, 0.22);
  background:
    linear-gradient(180deg, rgba(8, 24, 28, 0.98), rgba(3, 10, 12, 0.99)),
    #061014;
  animation: sheetEnter 220ms ease-out both;
}

.detail-toolbar {
  background:
    linear-gradient(90deg, rgba(255, 211, 108, 0.08), transparent 36%),
    rgba(4, 13, 16, 0.98);
}

.report-hero {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-color: rgba(255, 211, 108, 0.3);
  background:
    linear-gradient(140deg, rgba(255, 211, 108, 0.12), rgba(49, 245, 187, 0.075) 42%, rgba(105, 215, 255, 0.08)),
    rgba(8, 24, 28, 0.94);
}

.report-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 211, 108, 0.18), transparent 30%),
    linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.055), transparent);
  opacity: 0.9;
  pointer-events: none;
}

.report-hero-main,
.report-dial {
  position: relative;
  z-index: 1;
}

.report-kicker {
  border-color: rgba(255, 211, 108, 0.38);
  background: rgba(255, 211, 108, 0.11);
}

.match-title {
  font-size: 46px;
  line-height: 1.04;
}

.match-title-divider {
  align-self: center;
  min-height: 28px;
  color: #dff8ff;
  background: rgba(105, 215, 255, 0.1);
}

.report-summary {
  color: #effffb !important;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.72;
}

.report-snapshot {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.report-snapshot div {
  min-width: 0;
  min-height: 76px;
  padding: 11px;
  border: 1px solid rgba(255, 211, 108, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 211, 108, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(3, 10, 12, 0.42);
}

.report-snapshot span {
  display: block;
  color: #ffe6a5;
  font-size: 12px;
  font-weight: 900;
}

.report-snapshot strong {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.35;
}

.report-panel,
.panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.022)),
    rgba(5, 17, 20, 0.82);
}

.customer-brief {
  border-color: rgba(49, 245, 187, 0.24);
}

.training-card {
  border-color: rgba(255, 211, 108, 0.32);
}

.text-button:active,
.ghost-button:active,
.icon-button:active,
.focus-chip:active {
  transform: translateY(1px) scale(0.99);
}

button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (min-width: 760px) {
  .hero {
    min-height: 620px;
  }

  .report-hero {
    grid-template-columns: minmax(0, 1fr) 210px;
  }
}

@media (max-width: 720px) {
  .report-snapshot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: 560px;
  }

  .title-lockup {
    padding: 14px 13px 13px;
  }

  .brand-title {
    font-size: 43px;
    line-height: 0.98;
  }

  .brand-title-ai {
    min-height: 35px;
    padding-inline: 8px;
  }

  .brand-title-line-secondary {
    font-size: 0.92em;
  }

  .signal-line span {
    min-height: 24px;
    padding-inline: 7px;
  }

  .board-copy h2,
  .match-title {
    font-size: 30px;
  }

  .report-snapshot {
    grid-template-columns: 1fr;
  }

  .report-hero {
    padding: 16px;
  }
}

@media (max-width: 350px) {
  .brand-title {
    font-size: 37px;
  }

  .brand-title-row {
    gap: 7px;
  }
}

@keyframes sheetEnter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes nerveFlow {
  from {
    stroke-dashoffset: 820;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes nodeBreath {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.86);
  }
  50% {
    opacity: 1;
    transform: scale(1.28);
  }
}

@keyframes terminalBlink {
  0%,
  76% {
    opacity: 0.78;
  }
  77%,
  86% {
    opacity: 0.22;
  }
  87%,
  100% {
    opacity: 0.92;
  }
}

@keyframes hudGridDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 48px 0, 0 48px;
  }
}

@keyframes heroCardBreath {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(0, 255, 204, 0.08),
      0 0 34px rgba(0, 255, 204, 0.13),
      0 22px 56px rgba(0, 0, 0, 0.46);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(0, 255, 204, 0.18),
      0 0 56px rgba(0, 255, 204, 0.24),
      0 22px 56px rgba(0, 0, 0, 0.46);
  }
}

@keyframes tacticalScan {
  from {
    background-position: 0 -92px, 0 0;
  }
  to {
    background-position: 0 92px, 260px 0;
  }
}

@keyframes tacticalLineFlow {
  from {
    stroke-dashoffset: 1100;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes heartbeatTrace {
  0% {
    stroke-dashoffset: 84;
    opacity: 0.44;
  }
  38%,
  58% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -84;
    opacity: 0.5;
  }
}

@keyframes focusNumberPop {
  0% {
    opacity: 0.42;
    transform: translateY(2px) scale(0.96);
    filter: blur(1px);
  }
  58% {
    opacity: 1;
    transform: translateY(-1px) scale(1.06);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (max-width: 430px) {
  .nerve-center {
    inset-inline: -12px;
    height: 520px;
    opacity: 0.72;
  }

  .nerve-svg {
    left: -30%;
    width: 160%;
  }

  .tactical-hud-layer {
    inset-inline: 0;
    height: 510px;
    border-radius: 0 0 10px 10px;
  }

  .terminal-code {
    font-size: 8px;
    letter-spacing: 0.04em;
  }

  .code-b,
  .code-d {
    display: none;
  }

  .code-a {
    left: 14px;
    top: 72px;
  }

  .code-c {
    right: 14px;
    left: auto;
    top: 34px;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nerve-flow,
  .nerve-nodes circle,
  .terminal-code,
  .nerve-center::after,
  .hero-board,
  .tactical-hud-layer::after,
  .hud-scanline,
  .heartbeat-line polyline,
  .focus-chip.is-counting .focus-risk-number {
    animation: none !important;
  }
}
