:root {
  color-scheme: light;
  --page: #f9f9f7; --surface: #fcfcfb; --ink: #0b0b0b; --ink-2: #52514e; --muted: #6f6d68;
  --grid: #e1e0d9; --axis: #c3c2b7; --ring: rgba(11, 11, 11, 0.10); --accent: #2a78d6; --accent-ink: #1c5cab;
  --up: #006300; --down: #b42f2f; --warn-bg: #fff4d6; --warn-ink: #5c4300;
  --c-ucl: #1c5cab; --c-uefa: #6da7ec; --c-americas: #1baf7a; --c-world: #eda100; --c-league: #c94f86; --c-cup: #ec835a;
  --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100; --s5: #e87ba4; --s6: #008300; --s7: #6250d6; --s8: #e34948;
}
@media (prefers-color-scheme: dark) {
  :root:where(:not([data-theme="light"])) {
    color-scheme: dark;
    --page: #0d0d0d; --surface: #1a1a19; --ink: #f0efec; --ink-2: #c3c2b7; --muted: #9a9890;
    --grid: #2c2c2a; --axis: #383835; --ring: rgba(255, 255, 255, 0.10); --accent: #3987e5; --accent-ink: #86b6ef;
    --up: #0ca30c; --down: #e66767; --warn-bg: #3a2f10; --warn-ink: #f3d68a;
    --c-ucl: #2a63c4; --c-uefa: #5a97e2; --c-americas: #199e70; --c-world: #c98500; --c-league: #c94f86; --c-cup: #dd6f2e;
    --c-ucl: #2a63c4; --c-uefa: #5a97e2; --c-americas: #199e70; --c-world: #c98500; --c-league: #c94f86; --c-cup: #dd6f2e;
  --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500; --s5: #d55181; --s6: #008300; --s7: #9085e9; --s8: #e66767;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0d0d0d; --surface: #1a1a19; --ink: #f0efec; --ink-2: #c3c2b7; --muted: #9a9890;
  --grid: #2c2c2a; --axis: #383835; --ring: rgba(255, 255, 255, 0.10); --accent: #3987e5; --accent-ink: #86b6ef;
  --up: #0ca30c; --down: #e66767; --warn-bg: #3a2f10; --warn-ink: #f3d68a;
  --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500; --s5: #d55181; --s6: #008300; --s7: #9085e9; --s8: #e66767;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
h1 { font-size: 1.45rem; line-height: 1.2; margin: 2px 0 0; letter-spacing: -0.01em; }
h2 { font-size: 1.15rem; margin: 0 0 4px; }
h3 { font-size: 0.95rem; margin: 18px 0 8px; }
p { margin: 6px 0; }
a { color: var(--accent-ink); }
.eyebrow { margin: 0; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.num, td.n, th.n { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

/* Hero band: night-pitch colours in both themes, so the text on it is always light. */
.hero { position: relative; overflow: hidden; color: #f4f6f2; background: radial-gradient(120% 140% at 85% 0%, #1d6b4f 0%, transparent 55%), linear-gradient(135deg, #0b1f3a 0%, #0f3b33 100%); }
.hero .pitch { position: absolute; inset: 0; width: 100%; height: 100%; color: #fff; opacity: 0.07; pointer-events: none; }
.hero-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px 28px; padding-top: 28px; }
.hero-theme { position: absolute; top: 16px; right: max(16px, env(safe-area-inset-right, 0px)); }
.hero .eyebrow { color: #9fd8bf; font-weight: 600; }
.hero h1 { font-size: clamp(1.6rem, 4.2vw, 2.6rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; margin-top: 8px; max-width: 24ch; }
.hero h1 span { color: #7fe0b3; }
.hero-sub { color: #c9d6d0; font-size: 1rem; margin-top: 10px; max-width: 52ch; }
.hero-theme { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); color: #f4f6f2; flex: none; }
.hero-stats { position: relative; display: flex; flex-wrap: wrap; gap: 10px 32px; padding-top: 20px; padding-bottom: 26px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.hero-stats span { color: #9fb8ae; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.topnav { background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ring); position: sticky; top: 0; z-index: 5; }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 8px; }
.tabs a { padding: 6px 14px; border-radius: 999px; color: var(--ink-2); text-decoration: none; white-space: nowrap; font-weight: 500; }
.tabs a:hover { background: var(--page); color: var(--ink); }
.tabs a[aria-current="page"] { background: var(--ink); color: var(--page); font-weight: 600; }
.addcmp:disabled, .chip.quick:disabled { opacity: 0.35; cursor: not-allowed; }
.draft { margin-top: 12px; padding: 8px 12px; border-radius: 8px; background: var(--warn-bg); color: var(--warn-ink); font-size: 0.88rem; }
main { padding-top: 6px; padding-bottom: 28px; min-height: 60vh; }
.foot { color: var(--muted); font-size: 0.82rem; padding-bottom: 28px; border-top: 1px solid var(--ring); padding-top: 12px; }

.card { background: var(--surface); border: 1px solid var(--ring); border-radius: 12px; padding: 16px; margin-top: 14px; }
.lede { max-width: none; color: var(--ink-2); }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.side { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 860px) { .grid2, .side { grid-template-columns: minmax(0, 1fr); } }

.controls { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: end; }
.controls label, .field { display: grid; gap: 3px; font-size: 0.8rem; color: var(--muted); }
input, select, button { font: inherit; color: var(--ink); }
input[type="search"], input[type="text"], input[type="number"], select { background: var(--page); border: 1px solid var(--ring); border-radius: 8px; padding: 6px 9px; min-width: 0; }
input[type="number"] { width: 90px; text-align: right; }
input[type="range"] { width: 100%; accent-color: var(--accent); }
button { background: var(--surface); border: 1px solid var(--ring); border-radius: 8px; padding: 6px 12px; cursor: pointer; }
button.ghost { background: transparent; }
button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 0.82rem; }
.chip[aria-pressed="false"] { opacity: 0.5; }
.swatch { width: 10px; height: 10px; border-radius: 3px; flex: none; display: inline-block; }
.years { display: flex; gap: 6px; align-items: center; }
.years input { width: 76px; }

.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
th { text-align: left; color: var(--muted); font-weight: 500; font-size: 0.78rem; border-bottom: 1px solid var(--axis); padding: 6px 8px; white-space: nowrap; }
td { border-bottom: 1px solid var(--grid); padding: 6px 8px; vertical-align: middle; }
tr.rowlink { cursor: pointer; }
tr.rowlink:hover td { background: var(--page); }
td.club { font-weight: 500; }
.rank { color: var(--muted); width: 36px; }
.delta-up { color: var(--up); } .delta-down { color: var(--down); }
.bar { display: flex; gap: 2px; height: 12px; min-width: 120px; }
.bar span { display: block; height: 100%; border-radius: 3px; }
.bar.wide { height: 18px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.82rem; color: var(--ink-2); margin: 8px 0; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }

.stat { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.stat div { background: var(--page); border-radius: 10px; padding: 10px 12px; }
.stat b { display: block; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.stat small { color: var(--muted); }

.slider-row { display: grid; grid-template-columns: 1fr 64px; gap: 4px 10px; align-items: center; margin: 12px 0; font-size: 0.88rem; }
.slider-row .value { text-align: right; font-variant-numeric: tabular-nums; }
.movers { list-style: none; padding: 0; margin: 0; font-size: 0.88rem; }
.movers li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px solid var(--grid); }

svg.chart { width: 100%; height: auto; display: block; overflow: visible; }
svg.chart text { fill: var(--muted); font-size: 11px; }
svg.chart .grid { stroke: var(--grid); stroke-width: 1; }
svg.chart .axis { stroke: var(--axis); stroke-width: 1; }
svg.chart .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
svg.chart .label { font-size: 12px; font-weight: 600; fill: var(--ink-2); }
svg.chart .cross { stroke: var(--axis); stroke-width: 1; stroke-dasharray: 3 3; }
.tip { position: fixed; z-index: 20; pointer-events: none; background: var(--surface); color: var(--ink); border: 1px solid var(--ring); border-radius: 8px; padding: 8px 10px; font-size: 0.82rem; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14); max-width: 280px; }
.tip b { font-variant-numeric: tabular-nums; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pick .chip { background: var(--page); border: 1px solid var(--ring); }
.pick .chip button { border: 0; padding: 0 2px; background: transparent; color: var(--muted); }
.method li { margin: 4px 0; }
.method ul { padding-left: 20px; }
.method-detail { scroll-margin-top: 64px; }
.credits { columns: 3 260px; gap: 24px; font-size: 0.76rem; color: var(--muted); padding-left: 16px; margin: 0; }
.credits li { break-inside: avoid; }
@media (max-width: 600px) {
  .hide-sm { display: none; }
  .bar { min-width: 70px; }
  h1 { font-size: 1.2rem; }
  .card { padding: 12px; }
}
.clublink { display: inline-flex; align-items: center; gap: 8px; }
.crest { flex: none; object-fit: contain; }
.crest.none { display: inline-grid; place-items: center; border-radius: 50%; background: var(--page); border: 1px solid var(--ring); color: var(--muted); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.clubhead { display: flex; align-items: center; gap: 12px; }
img.crest { background: #fff; border-radius: 6px; padding: 1px; }
.crest.coloured { box-shadow: 0 0 0 1px var(--ring); }
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.pod { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--ring); border-radius: 12px; padding: 14px; color: var(--ink); text-decoration: none; }
.pod:hover { border-color: var(--accent); }
.pod-rank { font-size: 1.6rem; font-weight: 700; color: var(--muted); line-height: 1; min-width: 18px; }
.pod-body { display: grid; gap: 2px; min-width: 0; }
.pod-body b { font-size: 1.02rem; }
.pod-pts { font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 4px; }
.pod-pts small { font-size: 0.78rem; font-weight: 400; color: var(--muted); }
details.filters > summary { display: none; cursor: pointer; font-weight: 600; color: var(--accent-ink); padding: 6px 0; }
@media (max-width: 860px) { .podium { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { details.filters > summary { display: list-item; } }
.icon { flex: none; vertical-align: -2px; margin-right: 2px; }
.legend .icon, .chip .icon { margin-right: 0; }
.lever { margin: 14px 0; }
.lever-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; font-size: 0.92rem; font-weight: 500; }
.lever-top .value { font-variant-numeric: tabular-nums; font-weight: 700; }
.lever p { margin: 2px 0 0; }
.was { color: var(--accent-ink); }
.toggle { display: inline-flex; border: 1px solid var(--ring); border-radius: 8px; overflow: hidden; margin: 4px 0 6px; }
.toggle button { border: 0; border-radius: 0; padding: 6px 16px; }
.toggle button[aria-pressed="true"] { background: var(--accent); color: #fff; }
button:disabled, input:disabled { opacity: 0.45; cursor: not-allowed; }
.sticky { position: sticky; top: 64px; }
details.advanced > summary { cursor: pointer; font-weight: 600; color: var(--accent-ink); }
.addcmp { width: 26px; height: 26px; padding: 0; border-radius: 50%; font-weight: 700; color: var(--muted); }
.addcmp[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: transparent; }
.cmpbar { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 15; display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--ring); border-radius: 999px; padding: 8px 8px 8px 16px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18); max-width: calc(100vw - 32px); }
.cmpbar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; border-radius: 999px; padding: 6px 14px; white-space: nowrap; font-weight: 600; }
.chip.quick { background: var(--page); border: 1px solid var(--ring); }
@media (max-width: 860px) { .sticky { position: static; } }
.cmpbar[hidden] { display: none; }
.methodbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--ring); border-radius: 10px; overflow: hidden; background: var(--surface); }
.seg button { border: 0; border-radius: 0; padding: 6px 12px; font-size: 0.86rem; }
.seg button + button { border-left: 1px solid var(--ring); }
.seg button[aria-pressed="true"] { background: var(--accent); color: #fff; }
button.back { border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.cmpbar { flex-wrap: nowrap; border-radius: 16px; width: min(760px, calc(100vw - 32px)); }
.cmpchips { display: flex; gap: 6px; overflow-x: auto; min-width: 0; flex: 1; scrollbar-width: none; }
.cmpchip { display: inline-flex; align-items: center; gap: 6px; background: var(--page); border: 1px solid var(--ring); border-radius: 999px; padding: 2px 4px 2px 6px; font-size: 0.84rem; white-space: nowrap; }
.cmpchip button { border: 0; background: transparent; padding: 0 4px; color: var(--muted); }
body.has-cmpbar main { padding-bottom: 96px; }
.cmpchip { flex: none; }
.lever-num { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.lever-num input { width: 84px; padding: 3px 6px; }
.undo { padding: 2px 8px; border-color: var(--accent); color: var(--accent-ink); }
.lever.moved { border-left: 3px solid var(--accent); padding-left: 10px; }
/* Over time: a two-ended period slider, and the decade heat map. */
.period { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; margin: 14px 0 4px; }
.period label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem; color: var(--ink-2); }
.period input[type="number"] { width: 78px; }
.range2 { position: relative; height: 28px; }
.range2-track { position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--grid) var(--lo), var(--accent) var(--lo), var(--accent) var(--hi), var(--grid) var(--hi)); }
.range2 input[type="range"] { position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.range2 input[type="range"]::-webkit-slider-runnable-track { background: none; }
.range2 input[type="range"]::-webkit-slider-thumb { pointer-events: auto; -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 2px solid var(--surface); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); cursor: grab; margin-top: 0; }
.range2 input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 2px solid var(--surface); cursor: grab; }
.range2 input[type="range"]::-moz-range-track { background: none; }
@media (max-width: 600px) { .period { grid-template-columns: 1fr 1fr; } .range2 { grid-column: 1 / -1; grid-row: 2; } }
.chip.quick[aria-pressed="true"] { border-color: var(--accent); color: var(--accent-ink); opacity: 1; }
.chip.quick[aria-pressed="false"] { opacity: 1; }
.linkish { border: 0; background: none; padding: 0; color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
table.heatmap td.heat { text-align: center; font-variant-numeric: tabular-nums; font-size: 0.8rem; min-width: 52px; border-radius: 4px; border: 2px solid var(--surface); }
table.heatmap th.n { text-align: center; }
.chartkey { margin-bottom: 4px; }
.chartkey span { display: inline-flex; align-items: center; gap: 6px; }
.method .lede { max-width: none; }
.side.wide-left { grid-template-columns: minmax(0, 1fr) 380px; }
@media (max-width: 860px) { .side.wide-left { grid-template-columns: minmax(0, 1fr); } }
/* Club page: trophy cabinet. */
.cabinet { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.trophy { background: var(--page); border: 1px solid var(--ring); border-radius: 10px; padding: 10px 12px; }
.trophy-head { display: flex; align-items: center; gap: 8px; }
.trophy-name { font-weight: 600; flex: 1; min-width: 0; }
.trophy-n { font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.seasons { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.season { font-size: 0.75rem; font-variant-numeric: tabular-nums; padding: 1px 7px; border-radius: 999px; background: var(--surface); border: 1px solid var(--ring); color: var(--ink-2); }
/* Titles: winners over time. */
.trophy-name a { color: var(--ink); text-decoration: none; }
.trophy-name a:hover { color: var(--accent-ink); text-decoration: underline; }
.winstrip { display: flex; gap: 2px; margin-top: 10px; }
.win { flex: 1 1 0; min-width: 2px; max-width: 18px; height: 28px; border-radius: 3px; }
.winaxis { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--muted); margin-top: 4px; }
span.bar { display: block; height: 10px; border-radius: 0 4px 4px 0; min-width: 2px; }
/* The Olympus: four legends as one duotone group, set into the hero's colours. */
.olympus { margin: 0; display: flex; gap: 8px; align-items: flex-end; padding-top: 36px; }
.legend-card { position: relative; display: block; width: 128px; height: 184px; border-radius: 10px 10px 4px 4px; overflow: hidden; background: #0f3b33; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
.legend-card:nth-child(2), .legend-card:nth-child(3) { height: 208px; }
.legend-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(0.95); mix-blend-mode: luminosity; transition: filter 0.3s, mix-blend-mode 0.3s; }
.legend-card:hover img { filter: none; mix-blend-mode: normal; }
.legend-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 24, 22, 0.9)); pointer-events: none; }
.legend-card > span { position: absolute; left: 0; right: 0; bottom: 6px; z-index: 1; text-align: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #e8f5ee; }
@media (max-width: 760px) { .hero-row { grid-template-columns: minmax(0, 1fr); } .olympus { padding-top: 4px; } .legend-card { width: 22%; height: 120px; } .legend-card:nth-child(2), .legend-card:nth-child(3) { height: 134px; } }
@media (prefers-reduced-motion: reduce) { .legend-card img { transition: none; } }
table.heatmap tr.group td { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 12px; }
tr.total td { border-top: 2px solid var(--ring); }
.legend-card > span small { display: block; margin-top: 2px; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.06em; color: #9fd8bf; }
/* Link back to the No Bias FC home page (added by build_site.py). */
.sitehome { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.08); color: #f4f6f2; font-size: 0.82rem; font-weight: 700; text-decoration: none; }
.sitehome:hover { background: rgba(255, 255, 255, 0.16); }

/* Scope of this version, at the top of the ranking. */
.scope-note { margin: 12px 0; padding: 10px 14px; border-radius: 10px; border-left: 3px solid var(--c-world, #e9c46a); background: color-mix(in srgb, var(--c-world, #e9c46a) 10%, transparent); font-size: 0.92rem; line-height: 1.45; }

/* How it works, table 1: one row per continent stating its rule. */
.t1 tr.rule td { color: var(--ink-2); background: color-mix(in srgb, var(--ink) 4%, transparent); padding-top: 4px; padding-bottom: 8px; }
.t1grp { border: 1px solid var(--ring); border-radius: 10px; padding: 8px 12px; margin: 10px 0; }
.t1grp > summary { cursor: pointer; font-size: 1rem; padding: 4px 0; }
.t1grp[open] > summary { margin-bottom: 4px; }
.t1 tr.group td { font-weight: 700; padding-top: 12px; }

/* The method in two minutes (explainer.js) */
.explainer { margin: 14px 0 18px; padding: 14px 16px 10px; }
.ex-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.ex-head h3 { margin: 0; }
.ex-stage { position: relative; margin-top: 10px; border-radius: 12px; background: var(--page); border: 1px solid var(--grid); overflow: hidden; cursor: pointer; }
.ex-stage svg { display: block; width: 100%; height: auto; }
.ex-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; border: 0;
  background: var(--accent); color: #fff; font-size: 24px; cursor: pointer; box-shadow: 0 4px 18px var(--ring); }
.ex-play:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; }
.ex-bar { height: 6px; margin-top: 8px; border-radius: 3px; background: var(--grid); cursor: pointer; }
.ex-fill { height: 100%; width: 0; border-radius: 3px; background: var(--accent); }
.ex-chapters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ex-chapters button { font: inherit; font-size: 0.8rem; padding: 3px 10px; border-radius: 14px; border: 1px solid var(--grid); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.ex-chapters button[aria-current] { border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.ex-cap { min-height: 3em; margin: 8px 0 2px; font-size: 0.95rem; }
.ex-title { fill: var(--muted); font-size: 22px; font-weight: 600; letter-spacing: 0.02em; }
.ex-big { fill: var(--ink); font-size: 64px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ex-big-sm { fill: var(--ink); font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ex-label { fill: var(--ink); font-size: 20px; }
.ex-up { fill: var(--up); font-weight: 600; }
.ex-num { fill: var(--ink-2); font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ex-note { fill: var(--muted); font-size: 16px; }
.ex-scene * { transition: none; }
.ex-big-md { fill: var(--ink); font-size: 48px; font-weight: 800; }
.ex-why { fill: var(--ink-2); font-size: 18px; }
.ex-why-b { fill: var(--ink); font-weight: 600; }
.ex-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.ex-ctl { font: inherit; font-size: 0.85rem; font-weight: 600; padding: 5px 12px; border-radius: 16px; border: 1px solid var(--grid); background: var(--surface); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.ex-ctl:hover { border-color: var(--accent); }
.ex-ctl:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 2px; }
.ex-ctl[aria-pressed="false"] { color: var(--muted); }
.ex-time { margin-left: auto; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .ex-label { font-size: 24px; } .ex-note { font-size: 20px; } .ex-cap { font-size: 0.9rem; } }

/* Debate the weights */
.debate .tag { display: inline-block; font-size: 0.75rem; padding: 1px 8px; border-radius: 10px; border: 1px solid var(--grid); color: var(--ink-2); margin-right: 6px; }
.debate-t td, .debate-t th { padding: 3px 8px; }
.debate .up { color: var(--up); font-size: 0.8em; }
.debate .down { color: var(--down); font-size: 0.8em; }
.debate button.ghost { margin: 2px 4px 2px 0; }
