/* Amicro / Mono Charts — LOCKED chrome (17 Aug 2026). Dark is default. */

:root,
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #12141A;
  --bg-wash: #0D0D0D;
  --card: #181818;
  --card-hover: #202020;
  --stage: #131313;
  --ink: #fafeff;
  --muted: #767676;
  --faint: #3A3A3A;
  --line: rgba(255, 255, 255, 0.06);
  --inset: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --pill: rgba(255, 255, 255, 0.07);
  --pill-on: #2A2A2A;
  --pill-border: rgba(255, 255, 255, 0.1);
  --pill-fg: #D4D4D4;
  --pill-hover: rgba(255, 255, 255, 0.1);
  --catbar: #181818;
  --catbar-border: rgba(255, 255, 255, 0.05);
  --catbar-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
  --shuo: #7EB8B0;
  --shuo-dim: rgba(126, 184, 176, 0.22);
  --lam: #B8B0A8;
  --lam-dim: rgba(184, 176, 168, 0.18);
  --hero-well: #1C1F28;
  --hero-magenta: #C4789A;
  --hero-inset: inset 0 8px 22px rgba(0, 0, 0, 0.55);
  --mono: #FFFFFF;
  --mono-60: rgba(255, 255, 255, 0.6);
  --mono-30: rgba(255, 255, 255, 0.3);
  --mono-10: rgba(255, 255, 255, 0.1);
  --ok: #3B7A58;
  --warn: #C4892A;
  --warn-ink: #E0B56A;
  --kicker: #A3A3A3;
  --foot-b: #fafeff;
  --lede: #C4C4C4;
  --lede-strong: #fafeff;
  --body-soft: #B0B0B0;
  --td: #C8C8C8;
  --row-hover: rgba(255, 255, 255, 0.03);
  --moment-hover: #171717;
  --thumb-bg: #0A0A0A;
  --player-bg: #000;
  --stage-ring: rgba(255, 255, 255, 0.05);
  --track: rgba(255, 255, 255, 0.1);
  --node-hi-bg: #fff;
  --node-hi-fg: #111;
  --node-mid-bg: rgba(255, 255, 255, 0.55);
  --node-mid-fg: #111;
  --node-lo-bg: rgba(255, 255, 255, 0.22);
  --node-lo-fg: #eee;
  --node-teal-bg: #7EB8B0;
  --node-teal-fg: #10201E;
  --cell-empty: rgba(255, 255, 255, 0.06);
  --cell-shuo: #fff;
  --cell-lam: rgba(255, 255, 255, 0.28);
  --chart-shuo: #7EB8B0;
  --chart-lam: rgba(255, 255, 255, 0.32);
  --chart-mono: #FFFFFF;
  --chart-mono-dim: rgba(255, 255, 255, 0.22);
  --chart-grid: rgba(255, 255, 255, 0.05);
  --chart-axis: #71717A;
  --chart-track: rgba(255, 255, 255, 0.1);
  --chart-water-line: rgba(255, 255, 255, 0.08);
  --shot-smash: #E8A838;
  --shot-clear: #3EC3E8;
  --shot-drop: #9BD44A;
  --shot-net: #B794F6;
  --shot-drive: #E86B5A;
  --shot-lift: #5B8DEF;
  --accent: var(--chart-mono);
  --accent-2: var(--chart-lam);
  --accent-3: var(--chart-mono-dim);
  --shadow-card: none;
  --accent-orange: #E08A4A;
  --seg-empty: rgba(255, 255, 255, 0.12);
  --seg-fill: var(--shuo);
  --radius: 24px;
  --stage-radius: 14px;
  --font: "Outfit", "Geist", "Inter", "Segoe UI", system-ui, sans-serif;
  --mono-font: "IBM Plex Mono", "SF Mono", ui-monospace, Consolas, monospace;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #EEF2F3;
  --bg-wash: #EAEEEF;
  --card: #FFFFFF;
  --card-hover: #FFFFFF;
  --stage: #EEF2F3;
  --ink: #3e4044;
  --muted: #6B7378;
  --faint: #E2E6E8;
  --line: rgba(20, 28, 32, 0.08);
  --inset: none;
  --pill: #FFFFFF;
  --pill-on: #1E2428;
  --pill-border: rgba(20, 28, 32, 0.08);
  --pill-fg: #3A4248;
  --pill-hover: #F7FAFA;
  --catbar: #FFFFFF;
  --catbar-border: rgba(20, 28, 32, 0.08);
  --catbar-shadow: 0 8px 28px -16px rgba(20, 28, 32, 0.2);
  --shuo: #2F9E94;
  --shuo-dim: rgba(47, 158, 148, 0.14);
  --lam: #8A9094;
  --lam-dim: rgba(138, 144, 148, 0.16);
  --hero-well: #FFFFFF;
  --hero-magenta: #D4548A;
  --hero-inset: 0 10px 28px -14px rgba(20, 28, 32, 0.18);
  --mono: #1E2428;
  --mono-60: rgba(30, 36, 40, 0.55);
  --mono-30: rgba(30, 36, 40, 0.28);
  --mono-10: rgba(30, 36, 40, 0.08);
  --ok: #2F7A52;
  --warn: #E07A2A;
  --warn-ink: #C45E14;
  --kicker: #E07A2A;
  --foot-b: #3e4044;
  --lede: #4A5258;
  --lede-strong: #3e4044;
  --body-soft: #4A5258;
  --td: #2A3238;
  --row-hover: rgba(20, 28, 32, 0.035);
  --moment-hover: #F0F3F4;
  --thumb-bg: #EAEEEF;
  --player-bg: #111;
  --stage-ring: rgba(20, 28, 32, 0.06);
  --track: rgba(20, 28, 32, 0.1);
  --node-hi-bg: #1E2428;
  --node-hi-fg: #F7FAFA;
  --node-mid-bg: #E2E6E8;
  --node-mid-fg: #1E2428;
  --node-lo-bg: #EAEEEF;
  --node-lo-fg: #1E2428;
  --node-teal-bg: #2F9E94;
  --node-teal-fg: #F4FFFC;
  --cell-empty: rgba(20, 28, 32, 0.06);
  --cell-shuo: #1E2428;
  --cell-lam: #E2E6E8;
  --chart-shuo: #2A8F86;
  --chart-lam: #8A9094;
  --chart-mono: #1E2428;
  --chart-mono-dim: #D5DBDE;
  --chart-grid: rgba(20, 28, 32, 0.08);
  --chart-axis: #8A9094;
  --chart-track: rgba(20, 28, 32, 0.1);
  --chart-water-line: rgba(20, 28, 32, 0.1);
  --shot-smash: #C4841A;
  --shot-clear: #1888B0;
  --shot-drop: #5A9A1E;
  --shot-net: #7A58C4;
  --shot-drive: #C44A3A;
  --shot-lift: #3A6BC8;
  --accent: var(--chart-mono);
  --accent-2: var(--chart-lam);
  --accent-3: var(--chart-mono-dim);
  --shadow-card: 0 1px 0 rgba(20, 28, 32, 0.04), 0 14px 36px -22px rgba(20, 28, 32, 0.22);
  --accent-orange: #E07A2A;
  --seg-empty: #E4E8EA;
  --seg-fill: var(--shuo);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: var(--font);
  min-height: 100vh;
  letter-spacing: -0.01em;
  background:
    radial-gradient(900px 420px at 8% -10%, color-mix(in srgb, var(--shuo) 8%, transparent), transparent 60%),
    var(--bg);
  transition: background 0.25s, color 0.25s;
}
html[data-theme="light"] body {
  background:
    radial-gradient(900px 480px at 6% -8%, color-mix(in srgb, var(--shuo) 16%, transparent), transparent 62%),
    radial-gradient(720px 400px at 96% 0%, color-mix(in srgb, var(--hero-magenta) 10%, transparent), transparent 58%),
    var(--bg);
}
html[data-theme="light"] .page { padding: 36px 28px 96px; }
html[data-theme="light"] .card { padding: 22px 22px 18px; }
html[data-theme="light"] .grid,
html[data-theme="light"] .kpi-grid { gap: 18px; }
html[data-theme="light"] .catbar-wrap { margin: 42px 0 32px; }
button, input, select { font-family: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 22px 80px;
}

.toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.toprow-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.toprow-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid var(--pill-border);
  background: var(--pill);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.toprow-back:hover { background: var(--pill-hover); }
.toprow-back:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.toprow-back svg { display: block; flex-shrink: 0; }
html[data-theme="light"] .toprow-back {
  background: #fff;
  border-color: color-mix(in srgb, var(--accent-orange) 42%, var(--pill-border));
}
.toprow-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease;
}
.theme-toggle:hover { background: var(--pill); color: var(--ink); }
.theme-toggle svg { display: none; flex-shrink: 0; }
/* Dark shows sun (switch to light). Light shows moon (switch to dark). */
html[data-theme="dark"] .theme-toggle .ico-sun { display: block; }
html[data-theme="light"] .theme-toggle .ico-moon { display: block; }
.theme-toggle .lab-dark,
.theme-toggle .lab-light { display: none !important; }
html[data-theme="light"] .theme-toggle {
  background: transparent;
  border: 0;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.toprow-brand {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  text-decoration: none;
  color: var(--ink);
}
.hero { text-align: center; }
.hero h1 {
  font-size: clamp(48px, 9vw, 92px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin: 8px 0 14px;
}
.hero-match { padding-bottom: 28px; }
.hero-comp {
  text-align: center;
  margin: 0 auto 18px;
  max-width: 720px;
}
.hero-comp-title {
  font-family: var(--font);
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}
.hero-comp-venue {
  margin-top: 4px;
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--muted);
}
.hero-art {
  display: grid;
  grid-template-columns: 1fr minmax(180px, 260px) 1fr;
  align-items: center;
  gap: 4px 10px;
  max-width: 920px;
  margin: 0 auto 8px;
}
.hero-fig {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-fig img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  background: transparent;
  pointer-events: none;
}
.hero-portrait-btn {
  appearance: none;
  display: block;
  width: min(100%, 200px);
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  border-radius: 50%;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
.hero-portrait-btn:focus-visible {
  outline: 3px solid var(--shuo);
  outline-offset: 4px;
}
.hero-fig.lam .hero-portrait-btn:focus-visible { outline-color: var(--hero-magenta); }
.hero-portrait {
  --hero-ring: var(--shuo);
  width: 100%;
  aspect-ratio: 1;
  padding: 4px;
  border-radius: 50%;
  background: var(--hero-well);
  border: 1.5px solid var(--hero-ring);
  box-shadow: var(--hero-inset);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.hero-fig.lam .hero-portrait { --hero-ring: var(--hero-magenta); }
.hero-portrait-btn:hover .hero-portrait {
  transform: scale(1.02);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hero-ring) 40%, transparent), var(--hero-inset);
}
.hero-fig.portrait img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 50%;
  mix-blend-mode: normal;
  display: block;
}
.hero-fig figcaption,
.hero-fig .hero-name {
  font-family: var(--font);
  font-size: clamp(26px, 4.2vw, 44px);
  font-weight: 600;
  letter-spacing: -0.05em;
  text-transform: none;
  color: var(--ink);
  margin-top: 10px;
  line-height: 1.05;
  max-width: 100%;
  text-wrap: balance;
}
.hero-fig .hero-name a {
  color: inherit;
  text-decoration: none;
}
.hero-fig .hero-name a:hover {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.hero-family {
  font-weight: 700;
  letter-spacing: 0.06em;
}
.hero-fig.shuo figcaption,
.hero-fig.lam figcaption,
.hero-fig.shuo .hero-name,
.hero-fig.lam .hero-name { color: var(--ink); }
.hero-score {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-bottom: 36px;
}
.hero-score .score-xl {
  font-size: clamp(52px, 9vw, 88px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin: 0;
  color: var(--ink);
}
.hero-score-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4em;
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(59, 122, 88, 0.18);
  border: 1px solid rgba(143, 203, 170, 0.28);
  color: #9FD4B6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}
html[data-theme="light"] .hero-round {
  background: rgba(47, 122, 82, 0.12);
  border-color: rgba(47, 122, 82, 0.28);
  color: #2F7A52;
}
.hero-clock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.hero-clock-ico {
  display: block;
  flex-shrink: 0;
  color: var(--muted);
}
.hero-clock-lab {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-score-sub {
  color: var(--muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-note {
  font-size: 10.5px;
  color: var(--muted);
  font-family: var(--mono-font);
  margin: 0 0 10px;
}
.hero-sub {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  justify-content: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--pill-border);
  background: var(--pill);
  color: var(--pill-fg);
  font-size: 12px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pill:hover { background: var(--pill-hover); color: var(--ink); }
.pill.on {
  background: var(--pill-on);
  color: #fff;
  border-color: transparent;
}
html[data-theme="light"] .pill.on { color: #FBFBFA; }
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--shuo);
}
.pill.ghost { color: var(--muted); }
.path-chip {
  font-family: var(--mono-font);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0;
  max-width: min(520px, 100%);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catbar-wrap {
  display: flex;
  justify-content: center;
  margin: 36px 0 28px;
}
.catbar {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background: var(--catbar);
  border: 1px solid var(--catbar-border);
  box-shadow: var(--catbar-shadow);
  max-width: 100%;
  overflow-x: auto;
}
.catbar button {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.catbar button:hover { color: var(--ink); }
.catbar button.on {
  background: var(--pill-on);
  color: #fff;
}
.catbar button.cat-split {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1.05;
  padding: 5px 14px;
}
.catbar button.cat-split small {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}
.catbar a {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}
.catbar a:hover { color: var(--ink); }
html[data-theme="light"] .catbar button.on { color: #FBFBFA; }

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.span-12 { grid-column: span 12; }
.span-8 { grid-column: span 8; }
.span-6 { grid-column: span 6; }
.span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; }

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--inset), var(--shadow-card);
  border: 1px solid var(--line);
  padding: 18px 18px 14px;
  min-height: 0;
  transition: background 0.25s, border-color 0.25s;
}
.card:hover { background: var(--card-hover); }
.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kicker);
}
#panel-overview .ov-title,
#panel-academy .ov-title {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-transform: none;
  color: var(--ink);
}
html[data-theme="light"] #panel-overview .ov-title,
html[data-theme="light"] #panel-academy .ov-title {
  color: var(--ink);
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  font-family: var(--mono-font);
  font-size: 10px;
  background: var(--mono-10);
  border: 1px solid var(--pill-border);
  color: var(--ink);
}
.tag.meas { border-color: color-mix(in srgb, var(--shuo) 40%, transparent); color: var(--shuo); background: var(--shuo-dim); }
.tag.ill, .tag.demo, .tag.wip { border-color: color-mix(in srgb, var(--warn) 40%, transparent); color: var(--warn-ink); background: color-mix(in srgb, var(--warn) 12%, transparent); }

.insight-copy { padding: 4px 2px 6px; }
.insight-copy p { font-size: 14px; line-height: 1.55; color: var(--body-soft); max-width: 72ch; }
.insight-copy ul { margin: 10px 0 0; padding-left: 1.15em; }
.insight-copy li { font-size: 13px; line-height: 1.5; color: var(--body-soft); margin: 6px 0; }
.dual-track {
  height: 14px;
  border-radius: 8px;
  background: var(--track);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 1px 0;
}
.dual-track i { display: block; height: 5px; border-radius: 999px; }
.dual-track i.shuo { background: var(--chart-shuo); }
.dual-track i.lam { background: var(--chart-lam); }
.kmh-row { grid-template-columns: 1.2fr 1fr 72px; }
.lr-track i.shuo { background: var(--chart-shuo); }
.lr-track i.lam { background: var(--chart-lam); }
.stat {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
}
.stat span {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.7;
  letter-spacing: 0;
}
.stage {
  position: relative;
  background: var(--stage);
  border-radius: var(--stage-radius);
  box-shadow: inset 0 0 0 1px var(--stage-ring);
  overflow: hidden;
  min-height: 168px;
}
.card-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-family: var(--mono-font);
  font-size: 11px;
  color: var(--muted);
}
.card-foot b { color: var(--foot-b); font-weight: 500; }
.caption {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.4;
}
.caption.ill { color: var(--warn-ink); }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}
.kpi .spark { height: 56px; margin-top: 8px; }

svg.chart { width: 100%; height: 100%; display: block; }
.stage.svg-pad { padding: 10px 8px 4px; height: 200px; }
.stage.tall { height: 240px; }
.legend-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 8px 4px 0;
  font-size: 11px;
  color: var(--muted);
}
.sw { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
.sw-shuo { background: var(--chart-shuo); }
.sw-lam { background: var(--chart-lam); }
.sw-shi-mag { background: var(--hero-magenta); }
.sw-mono { background: var(--chart-mono); }
.sw-mono-dim { background: var(--chart-mono-dim); }

.stream-wave { margin-bottom: 14px; }
.stream-wave .stage.stream-stage {
  position: relative;
  height: 260px;
  min-height: 0;
  overflow: visible;
}
.stream-wave .stream-stage svg.chart {
  overflow: visible;
  width: 100%;
  height: 100%;
}
html[data-theme="light"] .stream-wave .stream-stage {
  background: #EEF2F3;
}
html[data-theme="light"] .stream-tip {
  background: #fff;
  box-shadow: 0 10px 28px -12px rgba(20, 28, 32, 0.22);
}
.stream-tip {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  min-width: 112px;
  padding: 8px 10px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--card) 92%, #000);
  border: 1px solid var(--pill-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  color: var(--ink);
  transition: none;
}
.stream-tip[hidden] { display: none; }
.stream-wave .stream-stage svg.chart line,
.stream-wave .stream-stage svg.chart circle,
.ov-shuttle-speed svg.chart line,
.ov-shuttle-speed svg.chart circle,
.ov-shuttle-speed svg.chart use,
.ov-shuttle-speed svg.chart g {
  transition: none;
}
.stream-tip-kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
  margin-bottom: 4px;
}
.stream-tip-a,
.stream-tip-b {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.stream-tip-a { color: var(--shuo); }
.stream-tip-b { color: var(--hero-magenta); }
.front-oneliners {
  margin: 4px 0 18px;
  max-width: 52ch;
}
.front-oneliners p {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: var(--ink);
}
.front-oneliners p + p { margin-top: 4px; color: var(--lede); }

.sankey-stage {
  display: grid;
  grid-template-columns: 88px 1fr 88px;
  align-items: stretch;
  gap: 0;
  height: 220px;
  padding: 14px 12px;
}
.node-col {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  z-index: 2;
}
.node {
  border-radius: 10px;
  padding: 8px 6px;
  text-align: center;
  font-family: var(--mono-font);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.25;
}
.node.hi { background: var(--node-hi-bg); color: var(--node-hi-fg); }
.node.mid { background: var(--node-mid-bg); color: var(--node-mid-fg); }
.node.lo { background: var(--node-lo-bg); color: var(--node-lo-fg); }
.node.teal { background: var(--node-teal-bg); color: var(--node-teal-fg); }
.node .n { display: block; font-size: 13px; font-weight: 700; font-family: var(--font); }

.bullet-stage { padding: 16px 16px 12px; display: flex; flex-direction: column; justify-content: space-around; gap: 14px; min-height: 180px; }
.bullet-row { display: flex; flex-direction: column; gap: 6px; }
.bullet-lab { display: flex; justify-content: space-between; font-family: var(--mono-font); font-size: 11px; }
.bullet-lab em { font-style: normal; color: var(--muted); }
.track {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: var(--track);
  overflow: hidden;
}
.track > i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--chart-mono);
}
.track > b {
  position: absolute;
  top: 0; bottom: 0;
  width: 3px;
  border-radius: 999px;
  background: var(--shuo);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--bg) 70%, transparent);
}

.radial-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gauge-center { position: relative; height: 180px; }
.gauge-label {
  position: absolute;
  left: 50%; bottom: 18px;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
}
.gauge-label strong { display: block; font-size: 22px; letter-spacing: -0.03em; }
.gauge-label small { color: var(--muted); font-family: var(--mono-font); font-size: 10px; }

.matrix {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 4px;
  padding: 14px;
}
.cell {
  aspect-ratio: 1;
  border-radius: 4px;
  background: var(--cell-empty);
}
.cell.shuo { background: var(--cell-shuo); }
.cell.lam { background: var(--cell-lam); }
.cell.med { outline: 1px solid color-mix(in srgb, var(--warn-ink) 55%, transparent); }

.thirds-bar {
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--chart-mono) 38%,
    var(--chart-mono-dim) 38% 62%,
    var(--mono-10) 62%
  );
}

.table-wrap { overflow: auto; max-height: 420px; }
table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
th {
  text-align: left;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0;
  background: var(--card);
}
td { padding: 8px 10px; border-bottom: 1px solid var(--line); color: var(--td); }
tr:hover td { background: var(--row-hover); color: var(--ink); }
td.won { color: var(--shuo); }
.win-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.win-pill.shuo { background: var(--shuo-dim); color: var(--shuo); }
.win-pill.lam { background: var(--lam-dim); color: var(--lam); }

.moment-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.moment {
  background: var(--stage);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--stage-ring);
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.moment:hover { background: var(--moment-hover); }
.moment img, .moment video, .thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
  background: var(--thumb-bg);
}
.thumb {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: var(--mono-font);
  font-size: 11px;
}
.moment-body { padding: 12px 12px 14px; }
.moment-body h3 { font-size: 14px; font-weight: 600; margin: 4px 0; }
.moment-body p { font-size: 12px; color: var(--muted); line-height: 1.4; }

.player-dock {
  background: var(--stage);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--stage-ring);
}
.player-dock video { width: 100%; max-height: 420px; background: var(--player-bg); }
.player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
}
.speeds { display: flex; gap: 6px; }
.speeds button {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--pill);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.speeds button.on { background: var(--pill-on); color: #fff; }
html[data-theme="light"] .speeds button.on { color: #FBFBFA; }

.list { display: flex; flex-direction: column; gap: 8px; }
.row-card {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--stage);
  box-shadow: inset 0 0 0 1px var(--stage-ring);
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.row-card:hover { background: var(--moment-hover); }
.row-card .score { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--shuo); }
.row-card h3 { font-size: 13.5px; font-weight: 600; }
.row-card p { font-size: 12px; color: var(--muted); }

.stills { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stills figure {
  background: var(--stage);
  border-radius: 14px;
  overflow: hidden;
}
.stills img { width: 100%; height: 160px; object-fit: cover; }
.stills figcaption {
  padding: 8px 10px 10px;
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono-font);
}

.ov-chapters { margin-bottom: 14px; }
.ov-chapters-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) 1.4fr;
  gap: 16px;
  align-items: stretch;
}
.ov-moments-merged #ovChapterList {
  max-height: none;
  overflow: visible;
  padding-right: 0;
  gap: 8px;
  height: 100%;
  min-height: 0;
  align-self: stretch;
}
.ov-moments-merged .ov-chapter-btn {
  flex: 1 1 0;
}
.ov-moments-merged .ov-dock {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  align-self: stretch;
}
.ov-moments-merged .ov-advice {
  display: none;
  margin: 0;
}
.ov-moments-merged .ov-takeaway,
.ov-moments-take {
  margin-top: 12px;
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 1.55;
  padding: 16px 16px 16px 18px;
  max-width: none;
}
.ov-moment-btn {
  grid-template-columns: 34px 1fr;
  align-items: start;
}
.ov-setback-btn {
  grid-template-columns: 1fr;
  padding: 8px 12px;
}
.ov-extra-btn {
  grid-template-columns: 72px 1fr;
  opacity: 0.78;
}
.ov-extra-btn p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ov-rail-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 4px 0;
}
.ov-rail-quiet { opacity: 0.7; }
.ov-chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono-font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--mono-10);
  border: 1px solid var(--pill-border);
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.ov-moment-btn h3,
.ov-setback-btn h3 {
  font-size: 14px;
  font-weight: 650;
}
.ov-moment-btn h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ov-moment-btn p,
.ov-setback-btn p {
  font-size: 13px;
  color: var(--lede);
  line-height: 1.45;
  margin: 4px 0 0;
}
.ov-advice {
  font-size: 14px;
  line-height: 1.5;
  color: var(--body-soft);
  margin-bottom: 10px;
  max-width: 68ch;
}
.ov-dock .player-dock { margin: 0; }
.ov-dock video { width: 100%; max-height: 380px; background: var(--player-bg); border-radius: 14px; display: block; }
.ov-clip-missing {
  font-size: 12px;
  color: var(--warn-ink);
  padding: 12px 0;
  font-family: var(--mono-font);
}
.ov-clip-missing[hidden] { display: none; }
.ov-dock-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.ov-moments-merged .ov-dock-bar {
  justify-content: space-between;
  align-items: stretch;
  gap: 12px;
}
.ov-hm-live {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1 1 280px;
  min-width: min(100%, 260px);
}
.ov-hm-chip {
  cursor: default;
  height: auto;
  min-height: 44px;
  max-height: none;
  padding: 8px 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
.ov-hm-metrics {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}
.ov-hm-chip .ov-phys-speed,
.ov-hm-chip .ov-phys-dist {
  width: auto;
  min-width: 8.8ch;
}
.ov-phys-dist {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
  font-family: var(--mono-font);
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  white-space: nowrap;
  line-height: 1;
}
.ov-phys-dist b {
  display: inline-block;
  min-width: 4.2ch;
  width: 4.2ch;
  text-align: right;
  font-family: var(--mono-font);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.ov-phys-card.shuo .ov-phys-dist b { color: var(--shuo); }
.ov-phys-card.lam .ov-phys-dist b { color: var(--hero-magenta); }
.ov-phys-dist small {
  width: 3.8ch;
  min-width: 3.8ch;
  font-family: var(--mono-font);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.ov-hm-chip:hover { background: var(--stage); }
.ov-dock-cap {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--mono-font);
}
.ov-chapter-btn.on {
  outline: 1px solid color-mix(in srgb, var(--shuo) 50%, transparent);
  background: var(--row-hover);
}
.ov-phys { margin-bottom: 14px; padding: 16px 14px 12px; }
.ov-phys .card-head { margin-bottom: 10px; }
.ov-phys-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.ov-phys-names {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  width: 100%;
  max-width: min(920px, 100%);
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}
.ov-phys-card {
  cursor: default;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  padding: 10px 14px;
  grid-template-columns: minmax(0, 1fr) 8.8ch;
  align-items: center;
  overflow: hidden;
}
.ov-phys-card:hover { background: var(--stage); }
.ov-phys-card h3 {
  margin: 0;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.ov-phys-card.shuo h3 { color: var(--shuo); }
.ov-phys-card.lam h3 { color: var(--hero-magenta); }
.ov-phys-flag {
  font-size: 20px;
  line-height: 1;
  text-align: center;
}
.ov-phys-speed {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
  width: 8.8ch;
  min-width: 8.8ch;
  flex-shrink: 0;
  font-family: var(--mono-font);
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  white-space: nowrap;
  line-height: 1;
}
.ov-phys-speed b {
  display: inline-block;
  min-width: 4.2ch;
  width: 4.2ch;
  text-align: right;
  font-family: var(--mono-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.ov-phys-card.shuo .ov-phys-speed b { color: var(--shuo); }
.ov-phys-card.lam .ov-phys-speed b { color: var(--hero-magenta); }
.ov-phys-speed small {
  width: 3.8ch;
  min-width: 3.8ch;
  font-family: var(--mono-font);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.hm-live-hud,
.hm-body-hud,
.hm-stage .body-movement {
  display: none !important;
}
.hm-live {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(12, 14, 18, 0.72);
  font-family: var(--mono-font);
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  font-size: 13px;
  color: #F4F1EA;
}
.hm-live .ov-phys-flag { font-size: 14px; }
.hm-live.shuo b { color: var(--shuo); }
.hm-live.lam b { color: var(--hero-magenta); }
.hm-live small {
  font-size: 9px;
  color: var(--muted);
}
.ov-skel {
  min-width: 0;
  width: 100%;
  max-width: min(920px, 100%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}
.ov-skel-stage {
  position: relative;
  width: 100%;
  background: var(--player-bg);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: inset 0 0 0 1px var(--stage-ring);
}
.ov-skel video,
.phys-stage video,
.hm-stage video {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  background: #0B0D11;
  display: block;
  border-radius: 0;
}
.ov-skel-stage .ov-phys-canvas,
.phys-stage .ov-phys-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}
.phys-stage,
.hm-stage {
  cursor: pointer;
}
.phys-stage video,
.hm-stage video {
  position: relative;
  z-index: 1;
}
.hm-stage video {
  pointer-events: none;
}
.hm-tap-catcher {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  -webkit-appearance: none;
}
.phys-stage video::-webkit-media-controls-fullscreen-button {
  display: none !important;
}
.phys-stage video::-webkit-media-controls-enclosure {
  width: calc(100% - 42px) !important;
  max-width: calc(100% - 42px) !important;
}
.hm-stage video::-webkit-media-controls,
.hm-stage video::-webkit-media-controls-enclosure,
.hm-stage video::-webkit-media-controls-panel,
.hm-stage video::-webkit-media-controls-overlay-play-button,
.hm-stage video::-webkit-media-controls-start-playback-button,
.hm-stage video::-webkit-media-controls-play-button,
.hm-stage video::-webkit-media-controls-timeline,
.hm-stage video::-webkit-media-controls-current-time-display,
.hm-stage video::-webkit-media-controls-time-remaining-display,
.hm-stage video::-webkit-media-controls-mute-button,
.hm-stage video::-webkit-media-controls-toggle-closed-captions-button,
.hm-stage video::-webkit-media-controls-volume-slider,
.hm-stage video::-webkit-media-controls-fullscreen-button {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}
.vid-fs-btn {
  position: absolute;
  right: 2px;
  bottom: 4px;
  z-index: 8;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #F4F6FA;
  cursor: pointer;
  display: grid;
  place-items: center;
  pointer-events: auto;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.85));
}
.vid-fs-btn:hover,
.vid-fs-btn:focus-visible {
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  outline: none;
}
.vid-fs-btn.is-on {
  color: #fff;
}
.vid-fs-ico {
  display: block;
  width: 22px;
  height: 22px;
}
.phys-stage:fullscreen .vid-fs-btn,
.hm-stage:fullscreen .vid-fs-btn,
.phys-stage.is-css-fs .vid-fs-btn,
.hm-stage.is-css-fs .vid-fs-btn,
.phys-stage:-webkit-full-screen .vid-fs-btn,
.hm-stage:-webkit-full-screen .vid-fs-btn {
  right: 8px;
  bottom: 8px;
}
.ov-skel[hidden] { display: none; }
.ov-court3d { margin-top: 14px; }
.ov-court3d-stage {
  position: relative;
  height: 480px;
  border-radius: 14px;
  overflow: hidden;
  background: #0B0D11;
  box-shadow: inset 0 0 0 1px var(--stage-ring);
}
#court3dWrap,
#court3dWrap canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}
.ov-court3d-cams {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  gap: 4px;
}
.ov-court3d-cams button,
.ov-court3d-playbar button {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--pill);
  border: 1px solid var(--pill-border);
  color: var(--pill-fg);
}
.ov-court3d-cams button.on,
.ov-court3d-playbar button.on {
  background: var(--pill-on);
  color: #fff;
  border-color: transparent;
}
html[data-theme="light"] .ov-court3d-cams button.on,
html[data-theme="light"] .ov-court3d-playbar button.on {
  color: #FBFBFA;
}
.ov-court3d-legend {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  color: #C8C8C8;
  background: rgba(18, 20, 26, 0.72);
  padding: 6px 10px;
  border-radius: 999px;
  max-width: calc(100% - 160px);
}
.ov-court3d-legend .mute { color: var(--muted); }
.ov-court3d-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 5px;
}
.ov-court3d-dot.shetty { background: var(--shuo); }
.ov-court3d-dot.shi { background: var(--hero-magenta); }
.ov-court3d-dot.shuttle { background: #FFC44D; }
.ov-court3d-caption {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 3;
  max-width: 82%;
  background: rgba(18, 20, 26, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 13px;
  text-align: center;
  color: #EDEDED;
  pointer-events: none;
}
.ov-court3d-playbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 4px 4px;
}
.ov-court3d-clock {
  font-family: var(--mono-font);
  min-width: 48px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.ov-court3d-playbar input[type="range"] {
  flex: 1;
  min-width: 140px;
  accent-color: var(--shuo);
}
.ov-court3d-chk {
  font-size: 12px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ov-run-insight { margin-top: 14px; }
.rsi-legend {
  padding: 0 4px 8px;
  margin: 0;
}
.ov-run-insight .rsi-stage {
  position: relative;
  width: 100%;
  height: 480px;
  max-height: min(560px, 70vh);
  aspect-ratio: auto;
  margin-inline: 0;
  padding: 16px 12px 10px;
  overflow: hidden;
  border-radius: 14px;
  box-sizing: border-box;
}
.ov-run-insight .rsi-stage svg.chart {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.ov-run-insight .rsi-stage svg.chart line,
.ov-run-insight .rsi-stage svg.chart circle {
  transition: none;
}
.rsi-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr 88px;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.rsi-row.is-comeback {
  background: color-mix(in srgb, var(--hero-magenta) 11%, transparent);
  border-color: color-mix(in srgb, var(--hero-magenta) 30%, transparent);
}
.rsi-row.is-close {
  background: color-mix(in srgb, var(--shuo) 11%, transparent);
  border-color: color-mix(in srgb, var(--shuo) 32%, transparent);
}
.rsi-lab {
  font-family: var(--mono-font);
  font-size: 11px;
  color: var(--muted);
  min-width: 0;
}
.rsi-lab b {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: -0.02em;
}
.rsi-lab em {
  font-style: normal;
  font-size: 10px;
  color: var(--hero-magenta);
}
.rsi-row.is-close .rsi-lab em { color: var(--shuo); }
.rsi-nums {
  font-family: var(--mono-font);
  font-size: 12px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.rsi-nums .shetty { color: var(--shuo); }
.rsi-nums .shi { color: var(--hero-magenta); }
.rsi-stage .dual-track i.shi { background: var(--hero-magenta); }
@media (max-width: 720px) {
  .rsi-row { grid-template-columns: 1fr 72px; }
  .rsi-row .dual-track { grid-column: 1 / -1; order: 3; }
}
.ov-coverage { margin-bottom: 14px; }
#panel-overview .ov-coverage .ov-foot-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.ov-foot-head {
  align-items: center;
  flex-wrap: wrap;
}
.ov-foot-hud {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 16px;
  box-sizing: border-box;
}
.ov-foot-card {
  width: max-content;
  max-width: 100%;
  flex: 0 0 auto;
  min-width: 0;
  box-sizing: border-box;
  background: #1C1F28;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 16px 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}
html[data-theme="light"] .ov-foot-card {
  background: #FFFFFF;
  border: 1px solid rgba(34, 40, 36, 0.18);
  box-shadow: 0 2px 10px rgba(23, 23, 23, 0.08);
}
.ov-foot-name {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
}
.ov-foot-name i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: inline-block;
}
.ov-foot-card.shuo .ov-foot-name { color: var(--shuo); }
.ov-foot-card.shuo .ov-foot-name i { background: var(--shuo); }
.ov-foot-card.lam .ov-foot-name { color: var(--hero-magenta); }
.ov-foot-card.lam .ov-foot-name i { background: var(--hero-magenta); }
.ov-foot-metrics {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 18px;
  min-width: 0;
}
.ov-foot-row {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 6px;
  min-width: 0;
}
.ov-foot-lab {
  white-space: nowrap;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}
.ov-foot-row > b {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.4;
  white-space: nowrap;
  font-variant-numeric: tabular-nums lining-nums;
}
.ov-foot-num {
  font-variant-numeric: tabular-nums lining-nums;
}
.ov-foot-unit {
  font-size: 0.68em;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
  line-height: 1;
  border: none;
  background: transparent;
  padding: 0;
}
@media (max-width: 560px) {
  .ov-foot-hud {
    flex-direction: column;
    width: max-content;
    max-width: 100%;
    align-items: stretch;
  }
  .ov-foot-card {
    width: max-content;
    max-width: 100%;
  }
}
@media (max-width: 360px) {
  .ov-foot-metrics {
    flex-wrap: wrap;
    gap: 6px 14px;
  }
}
.ov-heat-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
  justify-content: flex-end;
  align-items: center;
}
.ov-heat-style,
.ov-heat-switch {
  flex-shrink: 0;
  align-self: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  position: relative;
  z-index: 4;
  pointer-events: auto;
}
.ov-shuttle-switch {
  flex-shrink: 0;
  margin-left: auto;
  align-self: flex-start;
  flex-wrap: wrap;
  position: relative;
  z-index: 4;
  pointer-events: auto;
}
.ov-shuttle-switch button,
.ov-heat-switch button,
.ov-heat-style button {
  pointer-events: auto;
  position: relative;
  z-index: 1;
}
.ov-shuttle-switch button.on {
  background: #fff;
  color: #12141A;
  box-shadow: inset 0 -2px 0 #12141A;
}
html[data-theme="light"] .ov-shuttle-switch button.on {
  background: #12141A;
  color: #FBFBFA;
  box-shadow: inset 0 -2px 0 #FBFBFA;
}
.ov-heats-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: stretch;
}
.ov-heats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  min-width: 0;
}
.ov-heat-legend {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 2px 40px;
  min-width: 36px;
  align-self: stretch;
}
.ov-heat-legend-lab {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.ov-heat-legend-bar {
  width: 10px;
  flex: 1 1 auto;
  min-height: 220px;
  max-height: 460px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    #7a0403 0%,
    #f66c19 18%,
    #efe350 38%,
    #4be86d 55%,
    #36c5f4 74%,
    #4662d7 90%,
    #30123b 100%
  );
  box-shadow: inset 0 0 0 1px var(--stage-ring);
}
.ov-heat { margin: 0; min-width: 0; }
.ov-heat-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
}
.ov-heat-ends {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.ov-heat-end {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #1C1F28;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #EDEDED;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.ov-heat-end.far { top: 7.5%; }
.ov-heat-end.near { bottom: 7.5%; }
.ov-heat-end-arr {
  font-size: 12px;
  color: #9CB47A;
}
.ov-heat.shuo .ov-heat-end-arr { color: var(--shuo); }
.ov-heat.lam .ov-heat-end-arr { color: var(--hero-magenta); }
.ov-heat-half-note {
  margin: 8px 0 0;
  text-align: center;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.ov-foot-switch-note {
  margin: 14px 8px 0;
  text-align: center;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
}
html[data-theme="light"] .ov-heat-end {
  background: #F3F2EE;
  border-color: rgba(23, 23, 23, 0.12);
  color: #171717;
  box-shadow: 0 4px 12px rgba(23, 23, 23, 0.08);
}
.ov-heat-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.15;
}
.ov-heat.shuo .ov-heat-name { color: var(--shuo); }
.ov-heat.lam .ov-heat-name { color: var(--hero-magenta); }
.ov-heat-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 10px;
  align-items: stretch;
  line-height: 1.3;
}
.ov-heat-sub {
  display: flex;
  box-sizing: border-box;
  min-height: 68px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #1C1F28;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}
.ov-heat-name-card {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ov-heat-stat-card {
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.ov-heat-meta {
  font-family: var(--mono-font);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: #EDEDED;
  margin: 0;
}
.ov-heat-under {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 7px;
  margin-top: 10px;
  line-height: 1.25;
}
.ov-heat-dot { color: var(--muted); }
.ov-heat-dist,
.ov-heat-spd {
  font-family: var(--mono-font);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.ov-heat img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  background: #0d0f14;
  border-radius: 14px;
  display: block;
}
.ov-heat-pulse-cv {
  display: none !important;
}
.ov-coverage .ov-heat-frame {
  aspect-ratio: auto;
  max-height: none;
  background: var(--card);
}
.ov-coverage[data-heat-style="thermal"] .ov-heat-legend-bar,
.ov-coverage[data-heat-style="pulse"] .ov-heat-legend-bar {
  background: linear-gradient(
    180deg,
    #D5291B 0%,
    #DC9E25 22%,
    #D5C438 42%,
    #61BC83 62%,
    #09A8C8 82%,
    #2464A0 100%
  );
}
html[data-theme="light"] .ov-heat img {
  background: var(--card);
}
.ov-coverage.is-matrix .ov-heat img { display: none; }
.ov-heat-well {
  display: none;
  background: #111214;
  border-radius: 18px;
  padding: 14px 12px 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 10px 28px rgba(0, 0, 0, 0.45);
  max-width: 300px;
}
.ov-coverage.is-matrix .ov-heat-well { display: block; }
.ov-heat-matrix {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5px;
  align-items: stretch;
}
.ov-heat-node {
  aspect-ratio: 1;
  border-radius: 28%;
  background: #161616;
  min-width: 0;
}
.ov-heat-net {
  grid-column: 1 / -1;
  height: 7px;
  margin: 3px 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}
.ov-heat-matrix-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.38);
  font-family: var(--mono-font);
}
.ov-heat-matrix-meta b {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 600;
}
.ov-coverage.is-matrix .ov-heat-legend-bar {
  background: linear-gradient(180deg, #E8E8E8 0%, #141414 100%);
}
.heatmaps.one { grid-template-columns: 1fr; }
.heatmaps figure {
  background: var(--stage);
  border-radius: 14px;
  overflow: hidden;
}
.heatmaps img {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: contain;
  background: #0d0f14;
}
.heatmaps figcaption {
  padding: 8px 10px 10px;
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono-font);
}
.skel-vid {
  width: 100%;
  border-radius: 14px;
  background: #0d0f14;
  display: block;
}

.drill {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.drill:last-child { border-bottom: 0; }
.drill h3 { font-size: 15px; margin: 4px 0 6px; }
.drill p { font-size: 13px; color: var(--body-soft); line-height: 1.5; }
.drill .why { color: var(--muted); font-size: 12.5px; margin-bottom: 6px; }

.panel { display: none; }
.panel.on { display: block; }

.lede {
  font-size: 15px;
  line-height: 1.55;
  color: var(--lede);
  max-width: 72ch;
  margin-bottom: 18px;
}
.lede strong { color: var(--lede-strong); font-weight: 600; }

.method p { font-size: 13px; color: var(--body-soft); line-height: 1.55; margin-bottom: 10px; }

.footer {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono-font);
  line-height: 1.5;
}

/* —— Mono Charts gallery page —— */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 15px;
}
.brand .chevs { letter-spacing: -0.12em; color: var(--muted); }
.site-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--catbar);
  border: 1px solid var(--catbar-border);
}
.site-links a, .site-links span {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}
.site-links a:hover { color: var(--ink); }
.site-links a.on, .site-links span.on {
  background: var(--pill-on);
  color: #fff;
}
html[data-theme="light"] .site-links a.on,
html[data-theme="light"] .site-links span.on { color: #FBFBFA; }
.hero-badge {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--pill);
  border: 1px solid var(--pill-border);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 10px;
}
.cta-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
html[data-theme="dark"] .cta-solid { background: #fff; color: #111; }
html[data-theme="light"] .cta-solid { background: #171717; color: #FBFBFA; }

.accent-bar {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 0;
  flex-wrap: wrap;
}
.mono-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}
.mono-count {
  font-family: var(--mono-font);
  font-size: 11px;
  color: var(--muted);
}
.g-why {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  padding: 8px 16px 0;
}
.g-demo-cap {
  font-size: 10.5px;
  font-family: var(--mono-font);
  color: var(--warn-ink);
  padding: 4px 16px 0;
  line-height: 1.35;
}
.heat-grid.heat-court {
  grid-template-columns: repeat(31, 1fr);
  gap: 2px;
}
.accent-bar button {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--pill-border);
  background: var(--pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.accent-bar button.on { background: var(--pill-on); color: #fff; border-color: transparent; }
html[data-theme="light"] .accent-bar button.on { color: #FBFBFA; }

html[data-accent="emerald"] { --accent: #34d399; --accent-2: #059669; --accent-3: #064e3b; }
html[data-accent="sky"] { --accent: #38bdf8; --accent-2: #0284c7; --accent-3: #0c4a6e; }
html[data-accent="violet"] { --accent: #a78bfa; --accent-2: #7c3aed; --accent-3: #4c1d95; }
html[data-accent="mono"] { --accent: var(--chart-mono); --accent-2: var(--chart-lam); --accent-3: var(--chart-mono-dim); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 16px;
}
.g-item { min-width: 0; }
.g-item .card { margin-bottom: 0; }
.g-meta { padding: 10px 4px 0; }
.g-meta h3 { font-size: 14px; font-weight: 700; letter-spacing: -0.02em; }
.g-meta p { font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--pill);
  border: 1px solid var(--pill-border);
}
.seg button {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.seg button.on { background: var(--pill-on); color: #fff; }
html[data-theme="light"] .seg button.on { color: #FBFBFA; }
.heat-grid {
  display: grid;
  grid-template-columns: repeat(28, 1fr);
  gap: 3px;
  padding: 12px 12px 8px;
}
.heat-cell {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--cell-empty);
}
.heat-cell.l1 { background: color-mix(in srgb, var(--accent) 22%, var(--stage)); }
.heat-cell.l2 { background: color-mix(in srgb, var(--accent) 48%, var(--stage)); }
.heat-cell.l3 { background: color-mix(in srgb, var(--accent) 78%, var(--stage)); }
.heat-cell.l4 { background: var(--accent); }
.demo-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 0 auto 22px;
  max-width: 52ch;
}

.g-item .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.g-item .stage {
  min-height: 176px;
  height: 188px;
  flex: 1;
}
.g-item .card-head { align-items: center; }
.g-item .stat { font-size: 20px; }

.telemetry {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 6px;
  padding: 12px 14px;
  height: 100%;
}
.telemetry-row {
  display: grid;
  grid-template-columns: 58px 1fr 40px;
  gap: 8px;
  align-items: center;
  font-family: var(--mono-font);
  font-size: 10px;
  color: var(--muted);
}
.telemetry-row b { color: var(--ink); font-weight: 600; text-align: right; }
.telemetry-row svg { height: 28px; width: 100%; }

.pyramid, .funnel-g {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 18px 16px;
  height: 100%;
}
.pyramid i, .funnel-g i {
  display: block;
  height: 16px;
  border-radius: 999px;
  margin: 0 auto;
  background: var(--accent);
}
.funnel-g i { height: 20px; }

.treemap {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  grid-template-rows: 1fr 0.75fr;
  gap: 6px;
  padding: 12px;
  height: 100%;
}
.treemap i:first-child { grid-row: 1 / 2; grid-column: 1 / 2; }
.treemap i:nth-child(2) { grid-column: 2; grid-row: 1 / 3; }
.treemap i { display: block; border-radius: 10px; background: var(--accent); }

.donut-wrap { position: relative; height: 100%; }
.donut-lab {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  text-align: center;
}
.donut-lab strong { display: block; font-size: 22px; letter-spacing: -0.03em; }
.donut-lab small { font-family: var(--mono-font); font-size: 10px; color: var(--muted); }
.donut-host { position: relative; height: 200px; }
.donut-host .donut-lab { inset: 0; bottom: 0; transform: none; display: grid; place-items: center; }

.run-stage, .lead-stage, .bounce-stage {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 180px;
  overflow: auto;
}
.run-row, .lead-row {
  display: grid;
  grid-template-columns: 1fr 120px 22px;
  gap: 8px;
  align-items: center;
  font-family: var(--mono-font);
  font-size: 10px;
  color: var(--muted);
}
.run-row b { color: var(--ink); text-align: right; }
.run-track, .lead-track {
  height: 8px;
  border-radius: 999px;
  background: var(--track);
  overflow: hidden;
  display: flex;
}
.run-track i { display: block; height: 100%; border-radius: 999px; }
.run-track i.shuo { background: var(--chart-shuo); }
.run-track i.lam { background: var(--chart-lam); }
.lead-row { grid-template-columns: 1fr; }
.lead-lab { color: var(--ink); font-weight: 600; }
.lead-nums { font-size: 10px; }
.lead-track i { height: 100%; }
.lead-track i.behind { background: var(--chart-lam); }
.lead-track i.tied { background: var(--chart-mono-dim); }
.lead-track i.ahead { background: var(--chart-shuo); }
.bounce-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: center;
  text-align: left;
  padding: 8px 4px;
  border-bottom: 1px solid var(--line);
  width: 100%;
}
.bounce-row:last-child { border-bottom: 0; }
.bounce-row b { display: block; font-size: 13px; color: var(--ink); }
.bounce-row p { font-size: 11px; color: var(--muted); margin-top: 2px; }
.bounce-row .ok {
  font-family: var(--mono-font);
  font-size: 10px;
  color: var(--shuo);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bullet-g { padding: 16px; display: flex; flex-direction: column; justify-content: space-around; gap: 12px; height: 100%; }

/* Player dossier — PIONEERS UNIT STATS panel */
.dossier-root[hidden] { display: none !important; }
.dossier-root {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: block;
}
.dossier-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.55);
  cursor: pointer;
}
html[data-theme="light"] .dossier-backdrop {
  background: rgba(20, 28, 32, 0.28);
}
.dossier-panel {
  position: absolute;
  top: 16px;
  right: 16px;
  bottom: 16px;
  width: min(400px, calc(100vw - 32px));
  overflow: auto;
  background: var(--card);
  color: var(--ink);
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 64px -24px rgba(0, 0, 0, 0.45);
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
html[data-theme="light"] .dossier-panel {
  box-shadow: 0 18px 48px -18px rgba(20, 28, 32, 0.28);
}
.dossier-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--pill);
  border: 1px solid var(--pill-border);
  color: var(--ink);
  display: grid;
  place-items: center;
}
.dossier-close:hover { background: var(--pill-hover); }
.dossier-close:focus-visible { outline: 2px solid var(--shuo); outline-offset: 2px; }
.dossier-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 36px;
}
.dossier-ava {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--shuo);
  flex-shrink: 0;
  background: var(--hero-well);
}
.dossier-panel.accent-shi .dossier-ava { border-color: var(--hero-magenta); }
.dossier-ava img { width: 100%; height: 100%; object-fit: cover; }
.dossier-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 4px;
}
.dossier-name {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.dossier-role {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--shuo);
  letter-spacing: 0.02em;
}
.dossier-panel.accent-shi .dossier-role { color: var(--hero-magenta); }
.dossier-role::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 8px;
  vertical-align: middle;
}
.dossier-sec-lab {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 12px;
}
.unit-stat {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}
.unit-ico {
  width: 28px;
  height: 28px;
  color: var(--shuo);
}
.dossier-panel.accent-shi .unit-ico { color: var(--hero-magenta); }
.unit-lab {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.unit-seg {
  display: flex;
  gap: 4px;
}
.unit-seg i {
  display: block;
  flex: 1;
  height: 8px;
  border-radius: 3px;
  background: var(--seg-empty);
}
.unit-seg i.on { background: var(--seg-fill); }
.dossier-panel.accent-shi .unit-seg i.on { background: var(--hero-magenta); }
.unit-val {
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  min-width: 4.6em;
  text-align: right;
}
.unit-note {
  grid-column: 2 / -1;
  font-size: 10px;
  font-family: var(--mono-font);
  color: var(--muted);
  margin-top: -6px;
  margin-bottom: 8px;
}
.dossier-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}
.dossier-fact {
  background: var(--stage);
  border-radius: 14px;
  padding: 10px 12px;
  min-height: 64px;
}
.dossier-fact span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.dossier-fact b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.dossier-fact small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: var(--muted);
  font-family: var(--mono-font);
}
.dossier-ability {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.ability-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--shuo);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.dossier-panel.accent-shi .ability-ico { background: var(--hero-magenta); }
.dossier-ability h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}
.dossier-ability p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.dossier-bio {
  font-size: 13px;
  line-height: 1.5;
  color: var(--body-soft);
}
.dossier-bio-src {
  margin-top: 8px;
  font-size: 10px;
  font-family: var(--mono-font);
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.site-nav .theme-toggle { margin-left: auto; }

html[data-accent="emerald"] .accent-bar button[data-accent="emerald"],
html[data-accent="sky"] .accent-bar button[data-accent="sky"],
html[data-accent="violet"] .accent-bar button[data-accent="violet"],
html[data-accent="mono"] .accent-bar button[data-accent="mono"] {
  background: var(--pill-on);
  color: #fff;
  border-color: transparent;
}

@media (max-width: 980px) {
  .span-8, .span-6, .span-4, .span-3 { grid-column: span 12; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .moment-grid, .radial-wrap, .stills { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .heat-grid.heat-court { grid-template-columns: repeat(16, 1fr); }
  .ov-chapters-grid,
  .ov-phys-layout,
  .ov-moments-takes { grid-template-columns: 1fr; }
  .ov-moments-merged #ovChapterList { height: auto; }
  .ov-moments-merged .ov-chapter-btn { flex: 0 0 auto; }
  .ov-court3d-stage { height: 380px; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 42px; }
  .hero-art { grid-template-columns: 1fr 1fr; }
  .hero-score { grid-column: 1 / -1; order: -1; padding-bottom: 8px; }
  .hero-comp { margin-bottom: 12px; }
  .kpi-grid { grid-template-columns: 1fr; }
  .ov-heats-row { grid-template-columns: 1fr; }
  .ov-heat-legend {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 4px 0 2px;
    min-width: 0;
  }
  .ov-heat-legend-bar {
    width: 160px;
    height: 10px;
    min-height: 10px;
    max-height: 10px;
    flex: 0 0 auto;
    background: linear-gradient(
      90deg,
      #7a0403 0%,
      #f66c19 18%,
      #efe350 38%,
      #4be86d 55%,
      #36c5f4 74%,
      #4662d7 90%,
      #30123b 100%
    );
  }
  .ov-coverage.is-matrix .ov-heat-legend-bar {
    background: linear-gradient(90deg, #E8E8E8 0%, #141414 100%);
  }
  .ov-coverage[data-heat-style="thermal"] .ov-heat-legend-bar,
  .ov-coverage[data-heat-style="pulse"] .ov-heat-legend-bar {
    background: linear-gradient(
      90deg,
      #D5291B 0%,
      #DC9E25 22%,
      #D5C438 42%,
      #61BC83 62%,
      #09A8C8 82%,
      #2464A0 100%
    );
  }
  .ov-heats,
  .ov-chapters-grid,
  .ov-phys-layout,
  .ov-moments-takes { grid-template-columns: 1fr; }
  .ov-moments-merged #ovChapterList { height: auto; }
  .ov-moments-merged .ov-chapter-btn { flex: 0 0 auto; }
  .ov-phys-names { max-width: none; }
  .row-card { grid-template-columns: 1fr; }
  .ov-moment-btn { grid-template-columns: 34px 1fr; }
  .ov-phys-card {
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 52px;
    min-height: 52px;
    max-height: 52px;
    grid-template-columns: minmax(0, 1fr) 8.8ch;
  }
  .gallery { grid-template-columns: 1fr; }
  .theme-toggle .lab-dark,
  .theme-toggle .lab-light { display: none !important; }
  .catbar { justify-content: flex-start; }
  .dossier-panel {
    top: auto;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-height: min(88vh, 720px);
  }
}

/* Overview Shuttle Movement ESTIMATED court-plane km/h. Rectangular well, landscape plot (full G3 vs time, Y to 500). */
.ov-shuttle-speed { margin-bottom: 14px; }
#panel-overview .ov-shuttle-speed .ov-title,
#panel-overview .ov-run-insight .ov-title {
  font-size: 32px;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.ov-shuttle-speed .card-head { align-items: center; }
.ov-shuttle-speed .stage.svg-pad {
  position: relative;
  width: 100%;
  height: 480px;
  max-height: min(560px, 70vh);
  aspect-ratio: auto;
  margin-inline: 0;
  padding: 16px 12px 10px;
  overflow: visible;
  border-radius: 14px;
  box-sizing: border-box;
}
.ov-shuttle-speed svg.chart {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.ov-shuttle-speed .shuttle-fs-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
}
.ov-shuttle-speed .shuttle-tip-val { color: var(--chart-mono); }

/* Overview Amicro rounded meter + donut (vanilla SVG). Do not restyle .ov-title. */
.ov-mono-row {
  margin-top: 0;
  margin-bottom: 14px;
  align-items: stretch;
}
.ov-share-meter,
.ov-shot-donut {
  display: flex;
  flex-direction: column;
}
.ov-mono-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1 1 auto;
  align-items: stretch;
  min-height: 248px;
}
.ov-donut-cell {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.ov-meter-stage,
.ov-donut-stage {
  height: 176px;
  overflow: visible;
  position: relative;
}
.ov-share-meter .ov-share-combined {
  flex: 1 1 auto;
  min-height: 300px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 8px 12px;
  box-sizing: border-box;
  overflow: visible;
}
.ov-share-meter .ov-share-combined svg.chart {
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 400 / 244;
  margin: 0 auto;
  flex: 0 0 auto;
  cursor: pointer;
}
.ov-share-combined svg .ov-share-seg {
  cursor: pointer;
  transition: d 0.18s cubic-bezier(0.16, 1, 0.3, 1),
    stroke-width 0.18s cubic-bezier(0.16, 1, 0.3, 1),
    stroke-opacity 0.18s ease;
}
.ov-share-combined svg .ov-share-seg.is-hot {
  filter: drop-shadow(0 0 8px color-mix(in srgb, #fff 40%, transparent));
}
.ov-share-combined svg .ov-share-hit { cursor: pointer; }
.ov-share-split {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 320px);
  margin-top: 6px;
  flex-shrink: 0;
}
.ov-share-split-item {
  text-align: center;
  min-width: 8ch;
  cursor: pointer;
  transition: opacity 0.18s ease;
}
.ov-share-split-item.is-dim { opacity: 0.32; }
.ov-share-split-item strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  transition: font-size 0.18s ease;
}
.ov-share-split-item.is-hot strong { font-size: 22px; }
.ov-share-split-item small {
  display: block;
  margin-top: 3px;
  font-family: var(--mono-font);
  font-size: 11px;
  letter-spacing: 0.02em;
}
.ov-share-split-item.accent-shetty strong,
.ov-share-split-item.accent-shetty small { color: var(--shuo); }
.ov-share-split-item.accent-shi strong,
.ov-share-split-item.accent-shi small { color: var(--hero-magenta); }
.ov-meter-lab,
.ov-donut-lab {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  text-align: center;
  padding-top: 18px;
}
.ov-meter-lab {
  padding-top: 36px;
}
.ov-meter-lab strong,
.ov-donut-lab strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  line-height: 1.1;
}
.ov-donut-lab.is-idle strong {
  font-size: 13px;
  font-weight: 650;
  max-width: 8.6em;
  line-height: 1.2;
}
.ov-donut-lab.is-idle small {
  max-width: 11em;
  margin-top: 5px;
  font-size: 9px;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: var(--muted);
}
.ov-donut-lab.is-shot strong { font-size: 22px; }
.ov-donut-stage {
  overflow: visible;
  height: 100%;
  min-height: 240px;
  flex: 1 1 auto;
}
.ov-shot-donut .ov-donut-lab { padding-top: 0; }
.ov-shot-est {
  font-family: var(--mono-font);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 6px;
}
.ov-shot-foot {
  text-align: center;
  margin-top: 8px;
  max-width: 42em;
  margin-left: auto;
  margin-right: auto;
}
.ov-donut-stage svg .ov-donut-seg.is-hot {
  filter: drop-shadow(0 0 8px color-mix(in srgb, #fff 28%, transparent));
}
.ov-donut-stage svg .ov-donut-seg.is-dim {
  opacity: 0.38;
}
.ov-meter-lab small,
.ov-donut-lab small {
  display: block;
  margin-top: 4px;
  font-family: var(--mono-font);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.02em;
  max-width: 12ch;
  line-height: 1.3;
}
.ov-meter-lab.accent-shetty strong,
.ov-meter-lab.accent-shetty small { color: var(--shuo); }
.ov-meter-lab.accent-shi strong,
.ov-meter-lab.accent-shi small { color: var(--hero-magenta); }
.ov-donut-who {
  margin-top: 6px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.ov-donut-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}
.ov-donut-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ov-donut-legend i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--chart-mono);
  display: inline-block;
  opacity: 1;
}
.ov-donut-legend i.s0 { background: var(--shot-smash); }
.ov-donut-legend i.s1 { background: var(--shot-clear); opacity: 1; }
.ov-donut-legend i.s2 { background: var(--shot-drop); opacity: 1; }
.ov-donut-legend i.s3 { background: var(--shot-net); opacity: 1; }
.ov-share-meter .caption code {
  font-family: var(--mono-font);
  font-size: 10px;
}
.ov-donut-stage svg .ov-donut-seg {
  cursor: pointer;
  transform-box: view-box;
  transform-origin: 50% 50%;
  transition: opacity 0.18s ease, d 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.ov-share-donut { height: 220px; }
.ov-share-legend i.sw-shuo { background: var(--shuo); opacity: 1; }
.ov-share-legend i.sw-shi { background: var(--hero-magenta); opacity: 1; }
html[data-theme="light"] .ov-donut-legend i.s0 { background: var(--shot-smash); }
html[data-theme="light"] .ov-donut-legend i.s1 { background: var(--shot-clear); }
html[data-theme="light"] .ov-donut-legend i.s2 { background: var(--shot-drop); }
html[data-theme="light"] .ov-donut-legend i.s3 { background: var(--shot-net); }
html[data-theme="light"] .ov-share-legend i.sw-shuo { background: var(--shuo); }
html[data-theme="light"] .ov-share-legend i.sw-shi { background: var(--hero-magenta); }
@media (max-width: 980px) {
  .ov-mono-row { margin-top: 0; }
  .ov-share-meter .ov-share-combined {
    min-height: 280px;
  }
  .ov-share-meter .ov-share-combined svg.chart {
    max-width: 420px;
  }
  .ov-donut-stage { min-height: 220px; }
}

/* Card + stage fullscreen. Dark. No purple neon. */
.card-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.card-fs-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #D4D4D4;
  cursor: pointer;
  flex-shrink: 0;
}
.card-fs-btn:hover,
.card-fs-btn.is-on {
  background: rgba(255, 255, 255, 0.12);
  color: #F4F6FA;
}
.card-fs-ico { display: block; }
html[data-theme="light"] .card-fs-btn {
  background: rgba(18, 20, 26, 0.06);
  border-color: rgba(18, 20, 26, 0.12);
  color: #3A3A3A;
}

.hm-stage {
  position: relative;
  width: 100%;
  background: #0B0D11;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.ov-dock .hm-stage video { max-height: none; }
.ov-phys-bar {
  margin-top: 8px;
  justify-content: center;
}

html.is-css-fs-root { overflow: hidden; }

#panel-overview .card.is-css-fs,
.phys-stage.is-css-fs,
.hm-stage.is-css-fs,
#shuttleSpeedStage.is-css-fs {
  position: fixed;
  inset: 0;
  z-index: 4000;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  border-radius: 0;
  box-sizing: border-box;
  background: #12141A;
  overflow: auto;
}

#panel-overview .card:fullscreen,
#panel-overview .card.is-css-fs {
  display: flex;
  flex-direction: column;
  padding: 22px 24px 16px;
  background: #12141A;
  border-radius: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
}
#panel-overview .card:-webkit-full-screen {
  display: flex;
  flex-direction: column;
  padding: 22px 24px 16px;
  background: #12141A;
  border-radius: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
}

.phys-stage:fullscreen,
.hm-stage:fullscreen,
.phys-stage.is-css-fs,
.hm-stage.is-css-fs {
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
  border-radius: 0;
  background: #0B0D11;
}
.phys-stage:-webkit-full-screen,
.hm-stage:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
  border-radius: 0;
  background: #0B0D11;
}
.phys-stage:fullscreen video,
.hm-stage:fullscreen video,
.phys-stage.is-css-fs video,
.hm-stage.is-css-fs video,
.phys-stage:-webkit-full-screen video,
.hm-stage:-webkit-full-screen video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0B0D11;
}

.ov-phys:fullscreen .ov-phys-layout,
.ov-phys.is-css-fs .ov-phys-layout,
.ov-phys:-webkit-full-screen .ov-phys-layout {
  flex: 1;
  min-height: 0;
  align-items: stretch;
}
.ov-phys:fullscreen .ov-skel,
.ov-phys.is-css-fs .ov-skel,
.ov-phys:-webkit-full-screen .ov-skel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}
.ov-phys:fullscreen .phys-stage,
.ov-phys.is-css-fs .phys-stage,
.ov-phys:-webkit-full-screen .phys-stage {
  aspect-ratio: auto;
  flex: 1;
  min-height: 240px;
  height: 100%;
}
.ov-phys:fullscreen video,
.ov-phys.is-css-fs video,
.ov-phys:-webkit-full-screen video {
  object-fit: contain;
}

.stream-wave:fullscreen .stream-stage,
.stream-wave.is-css-fs .stream-stage,
.stream-wave:-webkit-full-screen .stream-stage {
  aspect-ratio: auto;
  height: min(560px, calc(100vh - 160px));
  flex: 1;
}

#shuttleSpeedStage:fullscreen,
#shuttleSpeedStage.is-css-fs,
#shuttleSpeedStage:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  margin: 0;
  border-radius: 0;
  padding: 28px 36px 24px;
  background: #12141A;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
#shuttleSpeedStage:fullscreen svg.chart,
#shuttleSpeedStage.is-css-fs svg.chart,
#shuttleSpeedStage:-webkit-full-screen svg.chart {
  width: 100%;
  height: 100%;
  max-height: 100%;
}
#shuttleSpeedStage:fullscreen .shuttle-fs-btn,
#shuttleSpeedStage.is-css-fs .shuttle-fs-btn,
#shuttleSpeedStage:-webkit-full-screen .shuttle-fs-btn {
  top: 16px;
  right: 16px;
}

.ov-coverage:fullscreen .ov-heats-row,
.ov-coverage.is-css-fs .ov-heats-row,
.ov-coverage:-webkit-full-screen .ov-heats-row {
  flex: 1;
  min-height: 0;
}
.ov-coverage:fullscreen .ov-heat img,
.ov-coverage.is-css-fs .ov-heat img,
.ov-coverage:-webkit-full-screen .ov-heat img {
  max-height: calc(100vh - 160px);
}

.ov-court3d:fullscreen .ov-court3d-stage,
.ov-court3d.is-css-fs .ov-court3d-stage,
.ov-court3d:-webkit-full-screen .ov-court3d-stage {
  height: calc(100vh - 200px);
  flex: 1;
}

.ov-run-insight:fullscreen .rsi-stage,
.ov-run-insight.is-css-fs .rsi-stage,
.ov-run-insight:-webkit-full-screen .rsi-stage {
  height: min(520px, calc(100vh - 220px));
  flex: 1;
}

.ov-share-meter:fullscreen .ov-meter-stage,
.ov-shot-donut:fullscreen .ov-donut-stage,
.ov-share-meter.is-css-fs .ov-meter-stage,
.ov-shot-donut.is-css-fs .ov-donut-stage,
.ov-share-meter:-webkit-full-screen .ov-meter-stage,
.ov-shot-donut:-webkit-full-screen .ov-donut-stage {
  height: min(520px, calc(100vh - 220px));
  min-height: 280px;
}

.ov-chapters:fullscreen .ov-chapters-grid,
.ov-chapters.is-css-fs .ov-chapters-grid,
.ov-chapters:-webkit-full-screen .ov-chapters-grid {
  flex: 1;
  min-height: 0;
  align-items: stretch;
}
.ov-chapters:fullscreen .hm-stage,
.ov-chapters.is-css-fs .hm-stage,
.ov-chapters:-webkit-full-screen .hm-stage {
  aspect-ratio: auto;
  height: min(70vh, calc(100vh - 220px));
}

/* Broadcast pose study — Theia-inspired layout, 2D honest. Dark G3. */
.bio-study {
  margin: 28px 0 18px;
}
.bio-study-hero {
  margin: 0 0 16px;
  padding: 4px 2px 0;
}
.bio-study-hero .ov-title {
  display: inline;
  margin-right: 10px;
}
.bio-study-hero .tag { vertical-align: 4px; }
.bio-s0-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 4px;
}
.bio-s0-row-phys {
  margin: 8px 0 0;
}
.bio-s0-chip {
  min-width: 140px;
  padding: 10px 14px 11px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink);
}
.bio-s0-chip .kicker {
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.bio-s0-chip b {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 20px;
  font-weight: 600;
  color: var(--shuo);
  line-height: 1.15;
}
.bio-s0-chip small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
  max-width: 22ch;
}
.bio-s0-row-phys .bio-s0-chip {
  min-width: 0;
  padding: 6px 10px 7px;
  border-radius: 999px;
  background: var(--pill);
}
.bio-s0-row-phys .bio-s0-chip b {
  font-size: 13px;
  display: inline;
  margin-right: 6px;
}
.bio-s0-row-phys .bio-s0-chip small {
  display: inline;
  max-width: none;
}
.bio-s0-sv3d img {
  display: block;
  width: 168px;
  height: 112px;
  object-fit: cover;
  border-radius: 8px;
  margin: 6px 0 4px;
  background: var(--stage);
}
.bio-s0-method { max-width: 78ch; }
.bio-study-banner {
  margin: 14px 0 0;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--warn) 40%, var(--line));
  background: color-mix(in srgb, var(--warn) 9%, var(--card));
  color: var(--warn-ink);
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 78ch;
}
.bio-study-banner strong { color: var(--ink); }
.bio-study-banner code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88em;
}
.bio-study-steps {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.bio-study-steps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px 18px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}
.bio-step-n {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  font-family: "IBM Plex Mono", monospace;
  background: var(--pill);
  color: var(--ink);
}
.bio-step-title {
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 4px;
}
.bio-study-steps p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--body-soft);
}
.bio-study-steps code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.86em;
  color: var(--ink);
}
.bio-study-compare {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 16px;
  margin: 0 0 14px;
}
.bio-cmp-head .ov-title {
  display: inline;
  margin-right: 10px;
}
.bio-cmp-head .tag { vertical-align: 4px; }
.bio-cmp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 14px 0 8px;
}
.bio-cmp-col dl {
  margin: 8px 0 0;
}
.bio-cmp-col dl > div {
  display: grid;
  grid-template-columns: 9.5em 1fr;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.bio-cmp-col dt {
  color: var(--muted);
  font-weight: 500;
}
.bio-cmp-col dd {
  margin: 0;
  color: var(--ink);
}
.bio-cmp-col.shetty { border-left: 3px solid var(--shuo); padding-left: 14px; }
.bio-cmp-col.shi { border-left: 3px solid var(--hero-magenta); padding-left: 14px; }
.bio-study-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 16px;
}
.bio-study-metrics > div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px 14px;
}
.bio-study-metrics ul {
  margin: 8px 0 0;
  padding: 0 0 0 16px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--body-soft);
}
.bio-study-metrics li { margin: 3px 0; }
.bio-study-metrics code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88em;
}
.bio-study-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.bio-study-cards .ov-kc-chain,
.bio-study-cards .ov-kc-snap {
  grid-column: 1 / -1;
}
.bio-study-cards .ov-kc { margin-bottom: 0; }

@media (max-width: 900px) {
  .bio-study-steps,
  .bio-cmp-grid,
  .bio-study-metrics,
  .bio-study-cards { grid-template-columns: 1fr; }
  .bio-cmp-col dl > div { grid-template-columns: 1fr; gap: 2px; }
}

/* Jump-smash kinematics — end of Overview. Dark G3. */
.ov-kc-head {
  margin: 28px 0 12px;
  padding: 4px 2px 8px;
}
.ov-kc-head .ov-title {
  display: inline;
  margin-right: 10px;
}
.ov-kc-head .tag { vertical-align: 4px; }
.ov-kc-lede {
  font-size: 15px;
  line-height: 1.55;
  color: var(--body-soft);
  max-width: 72ch;
  margin: 10px 0 0;
}
.ov-kc { margin-bottom: 14px; }
.kc-lede {
  font-size: 14px;
  line-height: 1.55;
  color: var(--body-soft);
  max-width: 72ch;
  margin: 0 0 8px;
}
.kc-take {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 72ch;
  margin: 0 0 14px;
  padding: 8px 12px 8px 14px;
  border-left: 3px solid var(--shuo);
  background: color-mix(in srgb, var(--shuo) 8%, transparent);
  border-radius: 0 8px 8px 0;
}
.kc-chain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.kc-who {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.kc-who.shetty { color: var(--shuo); }
.kc-who.shi { color: var(--hero-magenta); }
.kc-stage { min-height: 220px; }
.kc-legend { margin-top: 8px; }
.kc-snap-frame {
  margin: 0 0 10px;
  background: #0B0D11;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.kc-snap-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
@media (max-width: 900px) {
  .kc-chain-grid { grid-template-columns: 1fr; }
}

.ov-kc:fullscreen,
.ov-kc.is-css-fs,
.ov-kc:-webkit-full-screen {
  display: flex;
  flex-direction: column;
  padding: 20px 24px 28px;
}
.ov-kc:fullscreen .kc-stage,
.ov-kc.is-css-fs .kc-stage,
.ov-kc:-webkit-full-screen .kc-stage {
  flex: 1;
  min-height: min(420px, calc(100vh - 280px));
}
.ov-kc-snap:fullscreen .kc-snap-frame,
.ov-kc-snap.is-css-fs .kc-snap-frame,
.ov-kc-snap:-webkit-full-screen .kc-snap-frame {
  flex: 1;
  max-height: calc(100vh - 260px);
}
.ov-kc-chain:fullscreen .kc-chain-grid,
.ov-kc-chain.is-css-fs .kc-chain-grid,
.ov-kc-chain:-webkit-full-screen .kc-chain-grid {
  flex: 1;
  align-items: stretch;
}

/* Overview Drills — last section. Visual specimen. */
.ov-drills-grid { margin-bottom: 8px; }
.ov-drill .ov-title { font-size: 18px; }
.ov-drill-viz {
  min-height: 168px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ov-drill-viz svg {
  width: 100%;
  height: 168px;
  display: block;
}
.ov-drill-cues {
  margin: 0 0 10px;
  padding: 0 0 0 18px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
}
.ov-drill-cues li { margin: 0 0 4px; }
.ov-drill-why {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--body-soft);
  margin: 0;
  padding: 8px 12px 8px 14px;
  border-left: 3px solid var(--shuo);
  background: color-mix(in srgb, var(--shuo) 8%, transparent);
  border-radius: 0 8px 8px 0;
}
.ov-drills-src {
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 78ch;
  margin: 6px 2px 18px;
}
.ov-drills-src a {
  color: var(--kicker);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.ov-drills-src a:hover { color: var(--shuo); }
.ov-drills-pointer {
  margin-bottom: 14px;
  padding: 14px 18px;
}
.ov-drills-pointer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--body-soft);
  max-width: 72ch;
}
.ov-drills-pointer strong { color: var(--ink); }

.ov-pulse-row { margin: 14px 0; }
.ov-pulse-keep { margin: 0 0 14px; }
.ov-takeaway {
  margin-top: 12px;
  padding: 12px 14px 12px 16px;
  border-left: 3px solid var(--shuo);
  border-radius: 0 12px 12px 0;
  background: color-mix(in srgb, var(--shuo) 8%, var(--stage));
  font-size: 13px;
  line-height: 1.5;
  color: var(--lede);
}
.ov-takeaway strong { color: var(--ink); }
.pulse-moment,
.pulse-setback,
.pulse-keep {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.pulse-setback,
.pulse-keep { grid-template-columns: 1fr; }
.pulse-moment:last-of-type,
.pulse-setback:last-of-type,
.pulse-keep:last-of-type { border-bottom: 0; }
.pulse-n {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  background: var(--pill);
  color: var(--ink);
}
.pulse-moment h3,
.pulse-setback h3,
.pulse-keep h3 {
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
  margin: 0;
}
.pulse-sc {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 8px;
}
.pulse-moment p,
.pulse-setback p,
.pulse-keep p {
  font-size: 13px;
  color: var(--lede);
  line-height: 1.5;
  margin: 4px 0 0;
}
.pulse-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.pulse-watch {
  display: inline-block;
  margin-top: 6px;
  border: 0;
  background: transparent;
  color: var(--shuo);
  font-size: 12px;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.pulse-watch:hover { text-decoration: underline; }
.pulse-cb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pulse-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px 4px 9px;
  border-radius: 8px;
  flex-shrink: 0;
}
.pulse-pill::before {
  content: "";
  width: 3px;
  height: 12px;
  border-radius: 2px;
  margin-right: 7px;
}
.pulse-pill.answered {
  background: rgba(143, 203, 170, 0.22);
  color: #C8E6D4;
}
.pulse-pill.answered::before { background: #8FCBAA; }
.pulse-pill.noanswer {
  background: rgba(240, 160, 148, 0.22);
  color: #F0C4BA;
}
.pulse-pill.noanswer::before { background: #E8A090; }
.ov-heat-metres {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.ov-coverage[data-heat-style="m2"] .ov-heat-legend { display: none; }
.ov-coverage[data-heat-style="m2"] .ov-heats-row { grid-template-columns: 1fr; }
.ov-foot-cmap {
  margin: 16px auto 4px;
  max-width: 520px;
  width: 100%;
  padding: 0 8px;
}
.ov-foot-cmap-title {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-align: center;
  margin: 0 0 8px;
}
.ov-foot-cmap-bar {
  height: 10px;
  border-radius: 999px;
  /* Sampled from court/heatmap_*_m2.png turbo field (low sky-blue → red core). */
  background: linear-gradient(
    90deg,
    #2466a5 0%,
    #1a7fb2 10%,
    #0ba8c0 22%,
    #2bb1ab 34%,
    #7bbc76 46%,
    #d2be38 60%,
    #db7922 80%,
    #d32a1f 100%
  );
  box-shadow: inset 0 0 0 1px var(--stage-ring);
}
.ov-foot-cmap-labs {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 7px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.ov-foot-cmap-labs span:nth-child(2) { text-align: center; }
.ov-foot-cmap-labs span:last-child { text-align: right; }
.ov-bio-grid,
.ov-bio-corr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.ov-bio-card {
  border: 1px solid var(--line);
  background: var(--stage);
  border-radius: 14px;
  padding: 12px 14px;
  text-align: left;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
}
.ov-bio-card:hover { background: var(--card-hover); }
.ov-bio-card .tag { margin-bottom: 6px; }
.ov-bio-card h3 {
  font-size: 14px;
  font-weight: 650;
  margin: 0 0 4px;
  color: var(--ink);
}
.ov-bio-card p {
  font-size: 12px;
  line-height: 1.45;
  color: var(--lede);
  margin: 0;
}
.ov-bio-card .watch {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--shuo);
}
.tag.good {
  border-color: color-mix(in srgb, #8FCBAA 45%, transparent);
  color: #C8E6D4;
  background: rgba(143, 203, 170, 0.16);
}
.tag.baseline {
  border-color: color-mix(in srgb, #D4B46A 45%, transparent);
  color: #E8D5A3;
  background: rgba(212, 180, 106, 0.14);
}
.tag.needs {
  border-color: color-mix(in srgb, #E8A090 45%, transparent);
  color: #F0C4BA;
  background: rgba(232, 160, 144, 0.16);
}
.tag.inf {
  border-color: color-mix(in srgb, var(--muted) 40%, transparent);
  color: var(--kicker);
  background: var(--mono-10);
}
#court3dHeat {
  border: 1px solid var(--pill-border);
  background: var(--pill);
  color: var(--pill-fg);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 9px;
  cursor: pointer;
  font-family: inherit;
}
#court3dHeat.on {
  background: var(--shuo-dim);
  color: var(--shuo);
  border-color: color-mix(in srgb, var(--shuo) 40%, transparent);
}
@media (max-width: 900px) {
  .ov-bio-grid,
  .ov-bio-corr-grid { grid-template-columns: 1fr; }
}

/* Landing-inspired strip — dark Amicro, G3 facts. Do not cream-wash. */
.ov-zoom-grid { margin-bottom: 14px; }
.card.ov-zoom {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.ov-zoom .card-foot { margin-top: auto; padding: 10px 18px 14px; }
.ov-zoom-art {
  position: relative;
  background: #E8E2D6;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 14px 8px;
}
.ov-zoom-art img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 12px;
}
.ov-zoom-pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.ov-zoom-pin::after {
  content: attr(data-label);
  position: absolute;
  left: 16px;
  top: -5px;
  white-space: nowrap;
  font-family: var(--mono-font);
  font-size: 9px;
  letter-spacing: 0.04em;
  background: rgba(18, 20, 26, 0.88);
  color: #fff;
  padding: 3px 7px;
  border-radius: 6px;
}
.ov-zoom-pin.a { top: 28%; left: 42%; background: var(--shuo); }
.ov-zoom-pin.b { top: 52%; left: 58%; background: var(--hero-magenta); }
.ov-zoom-pin.c { bottom: 22%; left: 36%; background: var(--shuo); }
.ov-zoom-body { padding: 16px 18px 8px; }
.ov-zoom-body h3 {
  font-size: 18px;
  font-weight: 650;
  margin: 0 0 4px;
  color: var(--ink);
}
.ov-zoom-tag {
  font-family: var(--mono-font);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.ov-zoom-body p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--body-soft);
  margin: 0 0 12px;
}
.ov-zoom-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.ov-zoom-stat {
  background: var(--stage);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}
.ov-zoom-stat span {
  display: block;
  font-family: var(--mono-font);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.ov-zoom-stat b {
  display: block;
  font-size: 18px;
  font-weight: 650;
  margin-top: 4px;
  color: var(--shuo);
}

/* Ayush biomech plates — Coach scan chrome reused. Do not restyle .ov-zoom. */
.ov-zoom-art.ov-bio-plate {
  background: #16181F;
}
.ov-zoom-art.ov-bio-plate img {
  max-height: 420px;
}
html[data-theme="light"] .ov-zoom-art.ov-bio-plate {
  background: #E8E2D6;
}

/* Visual biomech strip — no lede/tag/copy/footer; hug diagram + metrics. Coach scan .ov-zoom untouched. */
.ov-kc-head.ov-bio-ayush {
  margin-bottom: 8px;
  padding-bottom: 0;
}
.ov-bio-ayush-grid,
.ov-bio-shi-grid {
  align-items: start;
  margin-bottom: 10px;
}
.ov-bio-ayush-grid .card.ov-zoom,
.ov-bio-shi-grid .card.ov-zoom {
  height: auto;
}
.ov-bio-ayush-grid .ov-zoom-body,
.ov-bio-shi-grid .ov-zoom-body {
  padding: 12px 18px 16px;
}
.ov-bio-ayush-grid .ov-zoom-body h3,
.ov-bio-shi-grid .ov-zoom-body h3 {
  margin: 0 0 10px;
}

/* Shi biomech plates — Coach scan chrome; magenta numbers only. Do not restyle Ayush. */
.ov-kc-head.ov-bio-shi {
  margin-top: 8px;
  margin-bottom: 8px;
  padding-bottom: 0;
}
.ov-zoom.shi .ov-zoom-stat b {
  color: var(--hero-magenta);
}

.ov-match-board { margin-bottom: 14px; }
.ov-board-head,
.ov-board-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1.4fr) 72px 88px 80px 72px;
  gap: 10px;
  align-items: center;
}
.ov-board-head {
  font-family: var(--mono-font);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 12px 8px;
}
.ov-board-row {
  padding: 10px 12px;
  background: var(--stage);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 8px;
  font-size: 13px;
}
.ov-board-row.shi { border-color: color-mix(in srgb, var(--hero-magenta) 22%, var(--line)); }
.ov-board-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
}
.ov-board-name { font-weight: 650; color: var(--ink); }
.ov-board-name small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}
.ov-board-row span.cov { color: var(--shuo); font-variant-numeric: tabular-nums; }
.ov-board-row.shi span.cov { color: var(--hero-magenta); }
.ov-board-spark { width: 64px; height: 24px; display: block; }

.ov-occ-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 160px;
  padding: 8px 8px 28px;
  background: var(--stage);
  border-radius: var(--stage-radius);
  margin-bottom: 10px;
}
.ov-occ-bar {
  flex: 1;
  border-radius: 8px 8px 0 0;
  min-height: 16px;
  position: relative;
  background: linear-gradient(180deg, var(--shuo), color-mix(in srgb, var(--shuo) 45%, transparent));
}
.ov-occ-bar.shi {
  background: linear-gradient(180deg, var(--hero-magenta), color-mix(in srgb, var(--hero-magenta) 45%, transparent));
}
.ov-occ-bar.dim { opacity: 0.55; }
.ov-occ-bar .lbl {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono-font);
  font-size: 8px;
  color: var(--muted);
  white-space: nowrap;
}

.ov-spider-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: center;
}
.ov-g3-spider { width: 100%; max-height: 240px; }
.ov-gap-bars { display: grid; gap: 10px; }
.ov-gap-row {
  display: grid;
  grid-template-columns: 72px 1fr 36px 36px;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.ov-gap-row .track {
  height: 10px;
  background: var(--track);
  border-radius: 99px;
  position: relative;
  overflow: hidden;
}
.ov-gap-row .you {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--shuo);
  border-radius: 99px;
  opacity: 0.9;
}
.ov-gap-row .opp {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--hero-magenta);
  border-radius: 2px;
}
.ov-gap-row .n-she { color: var(--shuo); text-align: right; font-variant-numeric: tabular-nums; }
.ov-gap-row .n-shi { color: var(--hero-magenta); font-variant-numeric: tabular-nums; }

html[data-theme="light"] .ov-zoom-art { background: #EDE8DC; }
html[data-theme="light"] .ov-zoom-pin::after {
  background: rgba(30, 36, 40, 0.9);
}

@media (max-width: 900px) {
  .ov-board-head,
  .ov-board-row {
    grid-template-columns: 36px minmax(0, 1fr) 64px 72px;
  }
  .ov-board-head span:nth-child(n+5),
  .ov-board-row > :nth-child(n+5) { display: none; }
  .ov-spider-row { grid-template-columns: 1fr; }
}

.catbar-wrap[hidden],
#panel-academy[hidden],
#heroAcademy[hidden] { display: none !important; }
/* —— Academy DEMO hub (G3 catbar: Overview | Academy) —— */
.panel-legacy { display: none !important; }
.hero-academy {
  text-align: center;
  padding: 8px 0 4px;
}
.ac-hero-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11px;
  font-family: var(--mono-font);
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ac-hero-title {
  margin-top: 10px;
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.ac-hero-sub {
  margin-top: 6px;
  font-size: 15px;
  color: var(--muted);
}
.ac-lede { max-width: 68ch; }
.ac-lede .tag { vertical-align: 2px; }
.ac-kpis { margin-top: 4px; }
.ac-kpi .stat { font-size: 28px; }
.ac-kpi .kicker { display: flex; align-items: center; gap: 8px; }
.ac-coach-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
}
.ac-ava {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--stage);
  border: 1px solid var(--stage-ring);
  font-family: var(--mono-font);
  font-size: 11px;
  color: var(--shuo);
  flex-shrink: 0;
}
.ac-who {
  list-style: none;
  margin: 10px 0 8px;
  padding: 0;
}
.ac-who li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.ac-who li:last-child { border-bottom: 0; }
.ac-who b { font-weight: 600; }
.ac-who span { color: var(--muted); font-size: 11px; font-family: var(--mono-font); }
.ac-chip-d {
  font-family: var(--mono-font);
  font-size: 11px;
  font-style: normal;
  color: var(--shuo);
}
.ac-chip-d.down { color: var(--warn-ink); }
.ac-chip-d.flat { color: var(--muted); }
.ac-wicks-row { margin-top: 14px; }
.ac-coach-wicks { margin-top: 14px; }
.ac-flow-card,
.ac-board-card,
.ac-delta-card { margin-top: 14px; }
.ac-flow-stage {
  height: 340px;
  position: relative;
}
.ac-flow-hit { cursor: crosshair; }
.ac-flow-tip {
  position: absolute;
  z-index: 4;
  max-width: 280px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #1A1C22;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
html[data-theme="light"] .ac-flow-tip {
  background: #F7F6F2;
  box-shadow: 0 8px 20px rgba(20, 20, 18, 0.08);
}
.ac-board td.up { color: var(--shuo); font-variant-numeric: tabular-nums; }
.ac-board td.down { color: var(--warn-ink); font-variant-numeric: tabular-nums; }
.ac-board td.flat { color: var(--muted); font-variant-numeric: tabular-nums; }
.ac-delta-lede { margin-bottom: 12px; }
.ac-delta-list { display: flex; flex-direction: column; gap: 2px; }
.ac-delta-row {
  display: grid;
  grid-template-columns: minmax(140px, 1.1fr) 96px minmax(220px, 2fr) auto;
  gap: 12px 16px;
  align-items: center;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}
.ac-delta-row:last-child { border-bottom: 0; }
.ac-delta-who b { display: block; font-size: 14px; }
.ac-delta-who span {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono-font);
}
.ac-spark { width: 88px; height: 28px; }
.ac-delta-nums {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 12px;
  color: var(--body-soft);
}
.ac-delta-nums b { color: var(--ink); font-variant-numeric: tabular-nums; }
.ac-delta-nums em {
  font-style: normal;
  font-family: var(--mono-font);
  font-size: 11px;
  color: var(--shuo);
}
.ac-delta-pill { justify-self: end; }
#panel-academy .g-why,
#panel-academy .g-demo-cap { padding-left: 0; padding-right: 0; }

@media (max-width: 980px) {
  .ac-delta-row {
    grid-template-columns: 1fr auto;
  }
  .ac-spark { grid-column: 2; grid-row: 1; }
  .ac-delta-nums { grid-column: 1 / -1; }
  .ac-flow-stage { height: 280px; }
}

/* Technique focus cards — Overview end. Dark Amicro, not Pulse beige. */
.ov-technique {
  margin: 28px 0 8px;
}
.ov-technique .ov-kc-head { margin-top: 8px; }
.ov-technique-grid { margin-bottom: 8px; }
.card.ov-technique-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  background: var(--card);
}
.ov-technique-art {
  background: #1C1F28;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ov-technique-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
}
.ov-technique-body {
  padding: 16px 18px 18px;
}
.ov-technique-body h3 {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--ink);
}
.ov-technique-body p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--body-soft);
  margin: 0;
}
html[data-theme="light"] .ov-technique-art {
  background: #1C1F28;
}

/* Visual-first Overview (additive). Heatmap / footwork layout untouched. */
.kc-take-short {
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 10px;
  padding: 6px 12px 6px 14px;
  max-width: none;
}
.kc-caption-short {
  margin-top: 6px;
  max-width: none;
}
.kc-chain-grid-viz {
  gap: 20px;
}
.ov-kc-chain .kc-stage-viz.stage.svg-pad {
  height: auto;
  min-height: 360px;
  padding: 16px 10px 8px;
}
.ov-kc-chain .kc-who {
  font-size: 14px;
  margin-bottom: 8px;
}
.ov-kc-trunk .kc-stage-trunk.stage.svg-pad {
  height: auto;
  min-height: 300px;
  padding: 12px 8px 6px;
}
.kc-viz-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  padding: 10px 4px 0;
  font-size: 12px;
  color: var(--muted);
}
.kc-viz-swatch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.kc-viz-swatch.shetty { color: var(--shuo); }
.kc-viz-swatch.shi { color: var(--hero-magenta); }
.kc-viz-swatch.mute { color: var(--muted); }
.kc-viz-line {
  display: inline-block;
  width: 22px;
  height: 0;
  border-top: 2.4px solid var(--shuo);
  border-radius: 1px;
}
.kc-viz-line.mag { border-color: var(--hero-magenta); }
.kc-viz-line.dash {
  border-top-style: dashed;
  border-top-width: 2px;
  border-color: var(--shuo);
  opacity: 0.75;
}
.kc-snap-hero {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 420px;
  margin: 8px 0 0;
}
.kc-snap-hero img {
  object-position: center 38%;
}
.kc-snap-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 14px 16px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  background: linear-gradient(transparent, rgba(12, 14, 18, 0.88) 36%);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
  font-family: Outfit, sans-serif;
}
.kc-snap-cap .tag { margin: 0; }
.ov-body-viz .ov-bio-card-viz {
  padding: 10px 12px;
}
.ov-body-viz .ov-bio-card-viz h3 {
  font-size: 15px;
  margin: 0 0 2px;
}
.ov-body-viz .ov-bio-card-viz p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ov-body-viz .ov-bio-card-viz .watch {
  margin-top: 6px;
  font-size: 11px;
}
.ov-drill-pair {
  margin-bottom: 10px;
}
.ov-drill-hero .ov-title {
  font-size: 22px;
  letter-spacing: -0.02em;
}
.ov-drill-hero .ov-drill-viz-hero.stage.svg-pad {
  height: auto;
  min-height: 400px;
  margin-bottom: 10px;
  padding: 12px 8px 8px;
  background: #12141A;
}
.ov-drill-viz-hero svg {
  width: 100%;
  height: 400px;
  display: block;
}
.ov-drill-line {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
  padding: 8px 12px 8px 14px;
  border-left: 3px solid var(--shuo);
  background: color-mix(in srgb, var(--shuo) 8%, transparent);
  border-radius: 0 8px 8px 0;
}
@media (max-width: 900px) {
  .ov-kc-chain .kc-stage-viz.stage.svg-pad { min-height: 280px; }
  .ov-drill-hero .ov-drill-viz-hero.stage.svg-pad { min-height: 320px; }
  .ov-drill-viz-hero svg { height: 320px; }
  .kc-snap-hero { min-height: 240px; }
}

/* Hidden Overview stacks: beat .grid/.card display so biomech blocks collapse with no gaps. */
#panel-overview [hidden] {
  display: none !important;
}



/* Sample-report framing — closing band. Amicro chrome. Banner + tag legend removed. */
.hero-game-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 7px;
  background: var(--pill);
  border: 1px solid var(--pill-border);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}
.ov-kc-head.ov-bio-ayush .tag {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ov-close-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 28px 22px 22px;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}
.ov-close-band:hover {
  background: transparent;
}
.ov-close-title {
  margin: 0;
  font-family: Outfit, system-ui, sans-serif;
  font-size: clamp(22px, 3.2vw, 28px);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--ink);
}
.ov-close-copy {
  margin: 0;
  max-width: 42rem;
  font-size: 15px;
  line-height: 1.55;
  color: var(--lede);
}
.ov-close-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--pill-border);
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.cta-ghost:hover {
  background: var(--pill-hover);
}
.ov-close-foot {
  margin: 2px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 46ch;
}
.ov-close-line {
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink);
  max-width: 46ch;
}

/* —— Sample report responsive (Sep 2026). Layout only. Copy/data locked. —— */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html, body {
  overflow-x: clip;
  max-width: 100%;
}
.page,
.card,
.grid,
.hero-art,
.hero-score-meta,
.ov-chapters-grid,
.ov-dock-bar,
.table-wrap,
.catbar-wrap {
  min-width: 0;
}
.page {
  width: 100%;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
img, video {
  max-width: 100%;
  height: auto;
}
svg.chart {
  width: 100%;
  height: 100%;
}
.table-wrap {
  overflow-x: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.table-wrap table {
  min-width: 520px;
}
.ov-close-line,
.ov-close-title,
.ov-close-copy,
.ov-close-foot,
.hero-comp-title,
.hero-comp-venue {
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  text-wrap: balance;
}
.ov-close-band {
  width: 100%;
}
.cta-solid {
  min-height: 44px;
  padding: 12px 18px;
}
.theme-toggle,
.toprow-back,
.catbar button,
.speeds button,
.ov-heat-toggles button,
#court3dPlay,
#court3dLoop,
#court3dPaths,
#court3dShuttle,
#court3dHeat {
  min-height: 44px;
  min-width: 44px;
}
.speeds {
  flex-wrap: wrap;
}
.catbar button {
  padding: 10px 16px;
}
.stream-tip,
.shuttle-speed-tip,
#runSpeedTip,
#acFlowTip {
  max-width: min(240px, calc(100% - 16px));
  pointer-events: none;
}

@media (max-width: 1024px) {
  .page { padding-top: 22px; padding-bottom: 64px; }
  html[data-theme="light"] .page { padding-top: 28px; padding-bottom: 72px; }
  .span-8, .span-6, .span-4, .span-3 { grid-column: span 12; }
  .ov-chapters-grid,
  .ov-phys-layout,
  .ov-moments-takes,
  .ov-heats,
  .ov-spider-row,
  .kc-chain-grid,
  .ov-bio-grid,
  .ov-bio-corr-grid,
  .bio-study-cards { grid-template-columns: 1fr; }
  .ov-zoom-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .hero-art {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .hero-score {
    grid-column: 1 / -1;
    order: -1;
    padding-bottom: 8px;
  }
  .hero-score .score-xl { font-size: clamp(44px, 16vw, 72px); }
  .hero-comp-title { font-size: clamp(20px, 5.4vw, 30px); }
  .ov-dock-bar { flex-direction: column; align-items: stretch; }
  .ov-hm-live { min-width: 0; flex: 1 1 auto; }
  .ov-moments-merged .ov-dock-bar { justify-content: flex-start; }
  .ac-delta-row { grid-template-columns: 1fr auto; }
  .ac-spark { grid-column: 2; grid-row: 1; }
  .ac-delta-nums { grid-column: 1 / -1; }
  #panel-overview .ov-coverage .ov-foot-title { font-size: clamp(24px, 7vw, 34px); }
}

@media (max-width: 640px) {
  .page {
    padding-top: 16px;
    padding-bottom: 56px;
  }
  html[data-theme="light"] .page {
    padding: 18px max(14px, env(safe-area-inset-right, 0px)) 56px max(14px, env(safe-area-inset-left, 0px));
  }
  html[data-theme="light"] .card { padding: 16px 14px 14px; }
  .card { padding: 14px 14px 12px; border-radius: 18px; }
  .hero h1 { font-size: clamp(32px, 12vw, 42px); }
  .hero-art { gap: 8px; }
  .hero-match { padding-bottom: 24px; }
  .toprow-left { gap: 6px; }
  .hero-fig .hero-name { font-size: clamp(18px, 6vw, 26px); }
  .hero-score-meta { gap: 6px; }
  .hero-game-chip,
  .hero-round,
  .hero-clock { font-size: 11px; }
  .catbar-wrap { margin: 22px 0 18px; }
  .catbar {
    width: 100%;
    justify-content: stretch;
  }
  .catbar button {
    flex: 1 1 0;
    justify-content: center;
  }
  .stream-wave .stage.stream-stage {
    height: auto;
    aspect-ratio: 16 / 11;
    min-height: 200px;
    max-height: 280px;
  }
  .ov-court3d-stage { height: min(320px, 70vw); }
  .ov-share-donut { height: 180px; }
  .ov-dock video,
  .player-dock video { max-height: none; height: auto; }
  .ov-phys-card {
    width: 100%;
    max-width: none;
  }
  .ov-close-band {
    padding: 24px 12px 18px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }
  .ov-close-title { font-size: 22px; }
  .ov-close-copy { font-size: 14px; }
  .ov-close-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 22rem;
  }
  .ov-close-band .cta-solid,
  .ov-close-band .cta-ghost {
    width: 100%;
    justify-content: center;
  }
  .ov-zoom-stats { grid-template-columns: 1fr; }
  .ov-technique-grid,
  .ov-bio-ayush-grid,
  .ov-bio-shi-grid { grid-template-columns: 1fr; }
  .ov-drill-hero .ov-drill-viz-hero.stage.svg-pad { min-height: 240px; }
  .ov-drill-viz-hero svg { height: 240px; }
  .ov-kc-chain .kc-stage-viz.stage.svg-pad { min-height: 220px; }
  .ac-flow-stage { height: 240px; }
  .ac-hero-title { font-size: clamp(24px, 8vw, 36px); }
  .kpi-grid { grid-template-columns: 1fr; }
  .radial-wrap,
  .stills,
  .moment-grid,
  .gallery { grid-template-columns: 1fr; }
  .ov-heat-legend { min-width: 0; }
}

@media (max-width: 430px) {
  .hero-comp-title { font-size: clamp(18px, 5.6vw, 24px); }
  .hero-score .score-xl { font-size: clamp(40px, 18vw, 56px); }
  .ov-hm-chip h3 { font-size: 12px; }
  .table-wrap table { min-width: 480px; }
}

@media (max-width: 360px) {
  .page { padding-top: 12px; }
  .hero-game-chip { letter-spacing: 0; }
  .theme-toggle { padding: 0; }
}

/* Phone landscape: keep hero compact, charts usable */
@media (max-height: 430px) and (orientation: landscape) {
  .hero-art {
    grid-template-columns: minmax(72px, 18vw) 1fr minmax(72px, 18vw);
    align-items: center;
  }
  .hero-score {
    grid-column: auto;
    order: 0;
    padding-bottom: 0;
  }
  .hero-score .score-xl { font-size: clamp(36px, 10vw, 56px); }
  .hero-fig .hero-name { font-size: clamp(16px, 3.6vw, 22px); }
  .stream-wave .stage.stream-stage {
    min-height: 160px;
    max-height: 220px;
    aspect-ratio: 21 / 9;
  }
  .ov-court3d-stage { height: 220px; }
}

@media (max-width: 800px) {
  .ov-shuttle-speed .stage.svg-pad,
  .ov-run-insight .rsi-stage {
    height: auto;
    max-height: none;
    aspect-ratio: 16 / 10;
    min-height: 220px;
    padding: 8px 6px 6px;
  }
  .ov-shuttle-speed svg.chart text,
  .ov-run-insight .rsi-stage svg.chart text {
    font-size: 11px;
  }
  .ov-shuttle-speed svg.chart text.shuttle-peak-lab {
    font-size: 12px;
  }
  .ov-shuttle-speed svg.chart .shuttle-peak-sub {
    font-size: 11px;
  }
}

.ov-shuttle-speed svg.chart text.shuttle-peak-lab {
  font-size: 13px;
  font-weight: 700;
  paint-order: stroke fill;
}
.ov-shuttle-speed svg.chart .shuttle-peak-sub {
  font-size: 13px;
  font-weight: 700;
}

@media (min-width: 1440px) {
  .page { max-width: 1180px; }
}

/* Landing biomech plates reused — theme-art pairs, no cream frame on dark PNG */
.theme-art-light { display: none !important; }
html[data-theme="light"] .theme-art-dark { display: none !important; }
html[data-theme="light"] .theme-art-light { display: block !important; }

.bio-plates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 10px;
}

.bio-plate {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: auto;
}

.bio-plate-art {
  background: #16181F;
  padding: 14px 14px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

html[data-theme="light"] .bio-plate-art {
  background: #F3F1EB;
}

.bio-plate-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  max-height: 420px;
  object-fit: contain;
  border-radius: 12px;
}

.bio-plate-body {
  padding: 12px 18px 16px;
}

.bio-plate-body h3 {
  font-family: var(--font);
  font-weight: 650;
  font-size: 16px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--ink);
}

.bio-plate-lede {
  margin: 0 0 12px;
  max-width: 36rem;
  font-size: 14px;
  line-height: 1.45;
  color: var(--lede);
}

.bio-plate-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: stretch;
}

.bio-plate-stat {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: var(--stage);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 10px 12px;
  text-align: center;
}

.bio-plate-stat span {
  display: block;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.3;
  overflow-wrap: anywhere;
  color: var(--muted);
}

.bio-plate-stat b {
  display: block;
  margin-top: auto;
  padding-top: 6px;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--shuo);
}

@media (max-width: 1100px) {
  .bio-plate-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .bio-plate-stat {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    padding: 10px 14px;
  }

  .bio-plate-stat:nth-child(3) {
    grid-column: auto;
  }

  .bio-plate-stat span {
    font-size: 13px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .bio-plate-stat b {
    margin-top: 0;
    padding-top: 0;
  }
}

@media (max-width: 800px) {
  .bio-plates-grid { grid-template-columns: 1fr; }

  .bio-plate-art {
    padding: 0;
    overflow: hidden;
  }

  .bio-plate-art img {
    max-height: none;
    height: auto;
    transform: none;
    border-radius: 0;
  }

  .bio-plate-body {
    padding: 12px 14px 14px;
  }
}

@media (min-width: 561px) and (max-width: 800px) {
  .bio-plates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
