/* sportglance site layer on hedvion-ui-kit-global. Tokens only (--c-*, --sp-*, --fs-*), flat colours, no gradients. */
:root {
  --container: 1280px;
  --sg-rail: 15rem;
  --sg-row: 46px;
  --sg-mono: 'Barlow Condensed', 'Arial Narrow', Inter, system-ui, sans-serif;
}
.hk-brand__by { display: none; }
@media (min-width: 1240px) { .hk-brand__by { display: inline; } }
.hk-nav a { text-transform: uppercase; letter-spacing: .04em; font-family: var(--font-heading); font-size: var(--fs-md); font-weight: 600; }
.sg-lang-h { display: none; }
@media (min-width: 960px) { .sg-lang-h { display: block; width: auto; min-height: 40px; padding-block: 0; font-size: var(--fs-sm); } }
.sg-mtools { display: grid; gap: var(--sp-3); padding: var(--sp-4) var(--gutter) var(--sp-5); border-top: 1px solid var(--c-line); }

/* ---------- search ---------- */
.sg-search { display: flex; gap: var(--sp-2); }
.sg-search .hk-input { flex: 1 1 auto; min-width: 0; min-height: 40px; padding-block: 0; }
.sg-search .hk-btn { min-height: 40px; min-width: 40px; padding: 0; flex: none; }

/* ---------- scoreboard strip ---------- */
.sg-strip { background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.sg-strip__bar { display: flex; align-items: center; gap: var(--sp-3); padding-block: var(--sp-2) 0; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .08em; font-size: var(--fs-xs); font-weight: 700; color: var(--c-ink-3); }
.sg-strip__scroll { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--c-line-strong) transparent; cursor: grab; }
.sg-strip__scroll.dragging { cursor: grabbing; }
.sg-tile { flex: none; width: 188px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: var(--sp-3) var(--sp-4); border-inline-end: 1px solid var(--c-line); text-decoration: none; color: var(--c-ink); }
.sg-tile:first-child { border-inline-start: 1px solid var(--c-line); }
.sg-tile:hover { background: var(--c-sunken); color: var(--c-ink); }
.sg-tile__top { display: flex; justify-content: space-between; gap: var(--sp-2); font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .06em; font-size: var(--fs-xs); font-weight: 600; color: var(--c-ink-3); }
.sg-tile__top span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.sg-tile__top .is-live { color: var(--c-accent-ink); flex: none; }
.sg-tile__top .is-live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); margin-inline-end: 5px; vertical-align: 1px; animation: sg-pulse 1.4s ease-in-out infinite; }
.sg-tile__t { display: flex; align-items: center; gap: var(--sp-2); min-width: 0; }
.sg-tile__t b { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: var(--fs-sm); }
.sg-tile__t i { font-style: normal; font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-xl); font-variant-numeric: tabular-nums; line-height: 1.1; min-width: 1.4ch; text-align: right; }
.sg-tile.is-win .sg-tile__t.w b, .sg-tile.is-win .sg-tile__t.w i { color: var(--c-ink); }
.sg-tile .sg-tile__t.l b, .sg-tile .sg-tile__t.l i { color: var(--c-ink-3); font-weight: 500; }
.sg-tile__t.nil i { color: var(--c-ink-3); font-size: var(--fs-md); }
@keyframes sg-pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .sg-tile__top .is-live::before { animation: none; } }

/* ---------- shell: left rail + main ---------- */
.sg-shell { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); padding-block: var(--sp-4) var(--sp-12); align-items: start; }
.sg-main { min-width: 0; }
.sg-rail__toggle { width: 100%; justify-content: space-between; }
.sg-rail__body { display: grid; gap: var(--sp-5); padding-top: var(--sp-4); }
html.hk-js .sg-rail[data-open="false"] .sg-rail__body { display: none; }
.sg-rail__head { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .1em; font-size: var(--fs-xs); font-weight: 700; color: var(--c-ink-3); margin: 0 0 var(--sp-2); }
.sg-rail ul { list-style: none; margin: 0; padding: 0; }
.sg-rail li a { display: flex; align-items: center; gap: var(--sp-2); min-height: 36px; padding: 4px var(--sp-2); border-inline-start: 2px solid transparent; color: var(--c-ink-2); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; }
.sg-rail li a:hover { background: var(--c-sunken); color: var(--c-ink); }
.sg-rail li a[aria-current="page"] { border-inline-start-color: var(--c-accent); color: var(--c-ink); background: var(--c-sunken); font-weight: 600; }
.sg-rail li a .ic { width: 16px; height: 16px; color: var(--c-ink-3); flex: none; }
.sg-rail li a small { margin-inline-start: auto; color: var(--c-ink-3); font-size: var(--fs-xs); white-space: nowrap; }
.sg-rail li a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 1000px) {
  .sg-shell { grid-template-columns: var(--sg-rail) minmax(0, 1fr); gap: var(--sp-8); }
  .sg-rail__toggle { display: none; }
  .sg-rail { padding-inline-end: var(--sp-2); border-inline-end: 1px solid var(--c-line); align-self: stretch; }
  .sg-rail__body, html.hk-js .sg-rail[data-open="false"] .sg-rail__body { display: grid; padding-top: 0; }
}

/* ---------- page type ---------- */
h1.page, .sg-h1 { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: 1; font-size: var(--fs-3xl); margin: var(--sp-5) 0 var(--sp-2); color: var(--c-ink); overflow-wrap: anywhere; }
.sg-h1 em { font-style: normal; color: var(--c-accent-ink); }
.sub { color: var(--c-ink-3); font-size: var(--fs-sm); margin: 0 0 var(--sp-4); }
.back { display: inline-block; color: var(--c-ink-3); font-size: var(--fs-sm); font-weight: 500; margin-top: var(--sp-2); text-decoration: none; }
.back:hover { color: var(--c-ink); }
.empty { padding: var(--sp-5) var(--sp-4); color: var(--c-ink-3); font-size: var(--fs-sm); }
.ph2 { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3); margin: var(--sp-8) 0 var(--sp-2); padding-bottom: var(--sp-2); border-bottom: 2px solid var(--c-ink); font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; font-size: var(--fs-xl); }
.ph2 .ct { color: var(--c-ink-3); font-size: var(--fs-sm); }
.seeall { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--c-accent-ink); white-space: nowrap; }
.mt-2 { margin-top: var(--sp-2); } .mt-3 { margin-top: var(--sp-3); } .mt-4 { margin-top: var(--sp-4); } .mt-5 { margin-top: var(--sp-5); }
.m-0 { margin: 0; } .ta-r { text-align: right; } .ta-c { text-align: center; }
.jc-start { justify-content: flex-start; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 500; color: var(--c-ink-2); border: 1px solid var(--c-line-strong); padding: 4px var(--sp-3); border-radius: var(--r-xs); }
.ic { width: 14px; height: 14px; flex: none; display: inline-block; vertical-align: -2px; }
.dt-meta { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }

/* ---------- boards (panels) ---------- */
.panel { background: var(--c-surface); border: 1px solid var(--c-line); border-top: 2px solid var(--c-ink); margin: 0 0 var(--sp-5); overflow: hidden; }
.ph { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--c-line); font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; font-size: var(--fs-md); }
.ph .ct { margin-inline-start: auto; color: var(--c-ink-3); font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-weight: 500; font-size: var(--fs-sm); }
.ph a.ct { color: var(--c-accent-ink); font-weight: 600; }
.ph .ld { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); animation: sg-pulse 1.4s ease-in-out infinite; flex: none; }
.lg-h { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .08em; font-size: var(--fs-xs); font-weight: 700; color: var(--c-ink-3); padding: var(--sp-2) var(--sp-4); background: var(--c-sunken); border-bottom: 1px solid var(--c-line); }
.sport-band + .sport-band { border-top: 2px solid var(--c-ink); }
.sb-h { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--c-line); }
.sb-ic .ic { width: 18px; height: 18px; color: var(--c-accent-ink); }
.sb-name { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; font-size: var(--fs-lg); }
.sb-ct { margin-inline-start: auto; font-size: var(--fs-sm); color: var(--c-ink-3); font-variant-numeric: tabular-nums; }
.sb-all { font-size: var(--fs-sm); font-weight: 600; color: var(--c-accent-ink); white-space: nowrap; }

/* ---------- match rows ---------- */
.row { display: grid; grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr); align-items: center; gap: var(--sp-2); min-height: var(--sg-row); padding: 6px var(--sp-4); border-bottom: 1px solid var(--c-line); cursor: pointer; }
.row:last-child { border-bottom: 0; }
.row:hover { background: var(--c-sunken); }
.tm { display: flex; align-items: center; gap: var(--sp-2); min-width: 0; }
.tm.home { justify-content: flex-end; }
.nm { font-weight: 500; font-size: var(--fs-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tm.home .nm { text-align: right; }
.nm.win { font-weight: 700; color: var(--c-ink); }
.bdg { display: inline-flex; flex: none; text-decoration: none; }
.mid { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.sc { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-xl); font-variant-numeric: tabular-nums; letter-spacing: .02em; color: var(--c-ink); }
.sc i { font-style: normal; color: var(--c-ink-3); margin: 0 3px; }
.sc.live { color: var(--c-accent-ink); }
.sc.mma-def { font-size: var(--fs-sm); color: var(--c-ink-3); text-transform: uppercase; }
.mn { font-size: var(--fs-xs); font-weight: 600; color: var(--c-ink-3); letter-spacing: .02em; white-space: nowrap; text-decoration: none; }
.mn.live { color: var(--c-accent-ink); }
.mn.sched { font-family: var(--font-heading); font-size: var(--fs-lg); font-weight: 600; color: var(--c-ink); }
a.mn:hover, .mid a:hover { color: var(--c-accent-ink); }

/* team badge: flat tile, team colour as a left edge only */
.badge { position: relative; flex: none; display: inline-grid; place-items: center; background: var(--c-sunken); color: var(--c-ink-2); border: 1px solid var(--c-line-strong); border-inline-start: 3px solid var(--tc, var(--c-line-strong)); border-radius: var(--r-xs); font-family: var(--font-heading); font-weight: 700; letter-spacing: .02em; overflow: hidden; }
.bd-xs { width: 24px; height: 24px; font-size: 10px; }
.bd-sm { width: 28px; height: 28px; font-size: 11px; }
.bd-lg { width: 64px; height: 64px; font-size: 22px; border-inline-start-width: 4px; }
.badge-logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--c-surface); padding: 2px; }

/* ---------- tables ---------- */
.stable { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.stable th { text-align: center; color: var(--c-ink-3); font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .06em; font-size: var(--fs-xs); font-weight: 700; padding: var(--sp-3) var(--sp-2); border-bottom: 1px solid var(--c-line-strong); background: var(--c-sunken); }
.stable td { text-align: center; vertical-align: middle; padding: 8px var(--sp-2); border-bottom: 1px solid var(--c-line); font-variant-numeric: tabular-nums; }
.stable tbody tr { cursor: pointer; }
.stable tbody tr:hover { background: var(--c-sunken); }
.stable .c-rk { width: 36px; color: var(--c-ink-3); font-weight: 600; }
.stable .c-tm { text-align: left; }
.stable .c-tm-in { display: flex; align-items: center; gap: var(--sp-2); }
.stable .c-tm .nm { font-weight: 600; }
.stable .c-pts { font-family: var(--font-heading); font-size: var(--fs-lg); font-weight: 700; color: var(--c-ink); }
@media (max-width: 560px) { .stable .hide-sm { display: none; } }
.h2h-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--sp-2); padding: 8px var(--sp-4); border-bottom: 1px solid var(--c-line); font-size: var(--fs-sm); }
.h2h-d { color: var(--c-ink-3); font-size: var(--fs-xs); white-space: nowrap; }
.h2h-t { text-align: right; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h2h-t.a { text-align: left; }
.h2h-s { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-lg); white-space: nowrap; padding-inline: 6px; }
.h2h-s i { color: var(--c-ink-3); font-style: normal; }
.ts-row, .inj-row { display: grid; align-items: center; gap: var(--sp-3); padding: 8px var(--sp-4); border-bottom: 1px solid var(--c-line); font-size: var(--fs-sm); }
.ts-row { grid-template-columns: 26px 30px minmax(0, 1fr) auto auto; }
.inj-row { grid-template-columns: 30px minmax(0, 1fr) auto; }
.ts-rk { color: var(--c-ink-3); font-weight: 600; text-align: center; }
.ts-ph, .inj-ph, .pl-ph { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--c-sunken); flex: none; }
.ts-nm, .inj-nm { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ts-tm { color: var(--c-ink-3); font-size: var(--fs-xs); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 120px; }
.ts-st { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-lg); white-space: nowrap; }
.ts-st small { color: var(--c-ink-3); font-size: var(--fs-xs); margin-inline-start: 1px; }
.inj-rs { color: var(--c-accent-ink); font-size: var(--fs-xs); font-weight: 600; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 140px; }
@media (max-width: 520px) { .ts-tm { display: none; } .ts-row { grid-template-columns: 24px 28px minmax(0, 1fr) auto; } }

/* ---------- lists (leagues, teams, search, articles): hairline rows, no card grids ---------- */
.lgrid, .tgrid, .srgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); column-gap: var(--sp-6); margin: 0 0 var(--sp-6); border-top: 1px solid var(--c-line); }
.lcard, .tcard, .srcard { display: flex; align-items: center; gap: var(--sp-3); min-height: 48px; padding: var(--sp-2) var(--sp-1); border-bottom: 1px solid var(--c-line); text-decoration: none; color: var(--c-ink); }
.lcard { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; }
.lcard:hover, .tcard:hover, .srcard:hover { background: var(--c-sunken); color: var(--c-ink); }
.lc-name, .tc-nm { font-weight: 600; font-size: var(--fs-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.lc-meta { font-size: var(--fs-xs); color: var(--c-ink-3); }
.sr-ic { width: 28px; height: 28px; display: grid; place-items: center; flex: none; color: var(--c-ink-3); border: 1px solid var(--c-line-strong); border-radius: var(--r-xs); }
.sr-tx { display: flex; flex-direction: column; min-width: 0; }
.sr-tx b { font-size: var(--fs-sm); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-tx small { font-size: var(--fs-xs); color: var(--c-ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agrid { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0 0 var(--sp-6); border-top: 1px solid var(--c-line); }
@media (min-width: 1180px) { .agrid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sp-8); } }
.acard { display: grid; gap: 4px; padding: var(--sp-4) var(--sp-1); border-bottom: 1px solid var(--c-line); text-decoration: none; color: var(--c-ink); }
.acard:hover { background: var(--c-sunken); color: var(--c-ink); }
.acard:hover .ac-title { color: var(--c-accent-ink); }
.ac-top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-3); }
.ac-kicker { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .08em; font-size: var(--fs-xs); font-weight: 700; color: var(--c-accent-ink); }
.ac-date { flex: none; font-size: var(--fs-xs); color: var(--c-ink-3); white-space: nowrap; }
.ac-title { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-xl); line-height: 1.15; letter-spacing: .005em; }
.ac-ex { font-size: var(--fs-sm); color: var(--c-ink-2); line-height: 1.55; }
.ab-body { padding: 0 var(--sp-4) var(--sp-3); }
.ab-body .agrid { margin: 0; border-top: 0; }
.fct { font-size: var(--fs-xs); font-weight: 600; color: var(--c-ink-3); font-variant-numeric: tabular-nums; }

/* ---------- filters ---------- */
.hubbar { position: sticky; top: var(--hdrh, var(--header-h)); z-index: 6; display: flex; flex-direction: column; gap: var(--sp-2); margin: 0 0 var(--sp-4); padding: var(--sp-2) 0; background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
.hub-row { display: flex; gap: var(--sp-2); overflow-x: auto; scrollbar-width: none; padding: 2px; width: 100%; min-width: 0; cursor: grab; }
.hub-row::-webkit-scrollbar { display: none; }
.hub-row.dragging { cursor: grabbing; }
.fchip, .fbar a, .dn-today, .langsw a { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 var(--sp-3); border: 1px solid var(--c-line-strong); border-radius: var(--r-xs); background: var(--c-surface); color: var(--c-ink-2); font-size: var(--fs-sm); font-weight: 600; white-space: nowrap; text-decoration: none; }
.fchip:hover, .fbar a:hover, .dn-today:hover, .langsw a:hover { border-color: var(--c-accent); color: var(--c-ink); }
.fchip.on, .fbar a.on, .langsw a.on { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); }
.fchip.on .fct { color: var(--c-on-accent); }
.sdot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); flex: none; }
.sport-band[id] { scroll-margin-top: calc(var(--hdrh, var(--header-h)) + 96px); }
.fbar { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin: 0 0 var(--sp-4); }
.dnav { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; margin: 0 0 var(--sp-4); }
.dn-arw { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--c-line-strong); border-radius: var(--r-xs); color: var(--c-ink-2); flex: none; background: var(--c-surface); }
.dn-arw:hover { color: var(--c-ink); border-color: var(--c-accent); }
.dn-arw .ic { width: 18px; height: 18px; }
.dn-arw.off { opacity: .35; pointer-events: none; }
.dn-pick { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--c-line-strong); border-radius: var(--r-xs); padding: 0 var(--sp-3); min-width: 0; flex: 1 1 auto; max-width: 240px; background: var(--c-surface); }
.dn-pick .ic { color: var(--c-ink-3); }
.dn-pick input { background: transparent; border: 0; color: var(--c-ink); font: inherit; font-size: var(--fs-sm); font-weight: 600; min-height: 38px; min-width: 0; width: 100%; color-scheme: light dark; }
.dn-near { margin-top: var(--sp-2); font-size: var(--fs-sm); }
.dn-near a { font-weight: 600; }
.langsw { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.subtabs { display: flex; gap: var(--sp-1); margin: var(--sp-3) 0 var(--sp-4); border-bottom: 1px solid var(--c-line); overflow-x: auto; scrollbar-width: none; }
.subtabs a { flex: none; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .05em; font-size: var(--fs-md); font-weight: 600; color: var(--c-ink-3); padding: var(--sp-2) var(--sp-4); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.subtabs a.on { color: var(--c-ink); border-bottom-color: var(--c-accent); }
.subtabs a:hover { color: var(--c-ink); }

/* ---------- article ---------- */
.art { max-width: 46rem; margin: var(--sp-4) 0 var(--sp-2); }
.art-kicker { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .1em; font-size: var(--fs-sm); font-weight: 700; color: var(--c-accent-ink); margin-bottom: var(--sp-2); }
.art-title { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: var(--fs-3xl); line-height: 1; letter-spacing: .01em; margin: 0 0 var(--sp-4); }
.art-hero { padding-bottom: var(--sp-4); margin-bottom: var(--sp-4); border-bottom: 2px solid var(--c-ink); }
.art-byline { margin: 0 0 var(--sp-4); font-size: var(--fs-xs); color: var(--c-ink-3); display: flex; gap: var(--sp-2); flex-wrap: wrap; align-items: baseline; }
.art-by { font-weight: 700; color: var(--c-ink); }
.art-body { font-size: var(--fs-md); line-height: var(--lh-body); color: var(--c-ink-2); }
.art-body h2 { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .02em; font-size: var(--fs-2xl); margin: var(--sp-8) 0 var(--sp-2); color: var(--c-ink); line-height: 1.1; }
.art-body h3 { font-family: var(--font-heading); font-size: var(--fs-xl); margin: var(--sp-5) 0 var(--sp-2); color: var(--c-ink); }
.art-body p { margin: 0 0 var(--sp-4); }
.art-body ul { margin: 0 0 var(--sp-4); padding-inline-start: 1.25rem; }
.art-body li { margin: 4px 0; }
.art-body strong { color: var(--c-ink); }
.art-body a { color: var(--c-accent-ink); }
.art-body blockquote { margin: var(--sp-5) 0; padding: var(--sp-3) var(--sp-4); border-inline-start: 3px solid var(--c-accent); background: var(--c-sunken); color: var(--c-ink); }
.prose { max-width: 44rem; color: var(--c-ink-2); line-height: var(--lh-body); margin: var(--sp-2) 0 var(--sp-10); }
.prose h2 { font-family: var(--font-heading); text-transform: uppercase; color: var(--c-ink); font-size: var(--fs-2xl); margin: var(--sp-8) 0 var(--sp-2); line-height: 1.1; }
.prose a { color: var(--c-accent-ink); }
.mstrip { margin: 0 0 var(--sp-5); padding: var(--sp-4); border: 1px solid var(--c-line); border-top: 2px solid var(--c-ink); background: var(--c-surface); }
.ms-top { display: flex; align-items: center; gap: var(--sp-3); }
.ms-team { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: var(--sp-2); }
.ms-team.a { flex-direction: row-reverse; text-align: right; }
.ms-tt { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ms-name { font-weight: 700; font-size: var(--fs-sm); line-height: 1.25; overflow-wrap: anywhere; }
.ms-meta { font-size: var(--fs-xs); color: var(--c-ink-3); font-weight: 600; }
.ms-score { flex: none; font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-3xl); color: var(--c-ink); display: inline-flex; align-items: center; gap: 6px; line-height: 1; }
.ms-score i { color: var(--c-ink-3); font-style: normal; font-weight: 500; }
.fpills { display: inline-flex; gap: 3px; }
.ms-team.a .fpills { justify-content: flex-end; }
.fp { width: 16px; height: 16px; font-size: 10px; font-weight: 700; font-style: normal; display: inline-flex; align-items: center; justify-content: center; color: var(--c-on-accent); line-height: 1; border-radius: 2px; }
.fp.f-w { background: var(--c-ok); color: var(--c-bg); } .fp.f-d { background: var(--c-ink-3); color: var(--c-bg); } .fp.f-l { background: var(--c-accent); }
.ms-h2h { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); flex-wrap: wrap; margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--c-line); font-size: var(--fs-sm); }
.ms-h2h-lbl { color: var(--c-ink-3); font-weight: 600; }
.ms-wdl { font-weight: 700; }
.ms-wdl .w { color: var(--c-ok); } .ms-wdl .d { color: var(--c-ink-3); } .ms-wdl .l { color: var(--c-accent-ink); }
.ms-wdl i { color: var(--c-ink-3); font-weight: 500; font-style: normal; }
.ms-facts { margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--c-line); display: grid; gap: var(--sp-2); }
.ms-fact { display: flex; gap: var(--sp-2); align-items: baseline; font-size: var(--fs-sm); flex-wrap: wrap; }
.ms-fl { flex: none; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .06em; font-size: var(--fs-xs); font-weight: 700; padding: 1px 8px; border-radius: 2px; color: var(--c-on-accent); background: var(--c-accent); }
.ms-fl.c { background: var(--c-ink-2); color: var(--c-bg); }
.ms-fv { line-height: 1.7; min-width: 0; }
.ms-fv b { font-weight: 700; color: var(--c-ink-3); margin-inline-end: 3px; }
.ms-sep { color: var(--c-line-strong); font-style: normal; margin: 0 6px; }

/* ---------- match / team ---------- */
.match-hero { margin: var(--sp-3) 0 0; padding: var(--sp-6) var(--sp-4); background: var(--c-surface); border: 1px solid var(--c-line); border-top: 2px solid var(--c-ink); }
.mh-lg { text-align: center; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .1em; font-size: var(--fs-sm); font-weight: 700; color: var(--c-ink-3); }
.mh-main { display: flex; align-items: center; justify-content: center; gap: var(--sp-8); margin-top: var(--sp-4); }
.mh-team { display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); width: 9rem; text-align: center; text-decoration: none; color: var(--c-ink); }
.mh-nm { font-weight: 700; font-size: var(--fs-md); line-height: 1.25; }
.mh-nm.win { color: var(--c-accent-ink); }
.mh-center { text-align: center; min-width: 6rem; }
.mh-score { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-4xl); line-height: 1; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.mh-score i { font-style: normal; color: var(--c-ink-3); }
.mh-def { font-family: var(--font-heading); font-size: var(--fs-2xl); font-weight: 700; text-transform: uppercase; }
.mh-status { margin-top: var(--sp-2); font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .08em; font-size: var(--fs-sm); font-weight: 700; color: var(--c-ink-3); }
.mh-status.live { color: var(--c-accent-ink); }
@media (max-width: 520px) { .mh-main { gap: var(--sp-3); } .mh-team { width: 6.5rem; } .match-hero .bd-lg { width: 52px; height: 52px; } }
.teamhdr { display: flex; align-items: center; gap: var(--sp-4); margin: var(--sp-4) 0 var(--sp-2); }
.teamhdr > div { min-width: 0; }
.teamhdr .page { overflow-wrap: anywhere; }
.squad { padding: var(--sp-2) var(--sp-3); }
.pos-h { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .08em; font-size: var(--fs-xs); font-weight: 700; color: var(--c-accent-ink); padding: var(--sp-3) var(--sp-2) var(--sp-1); }
.pl { display: flex; align-items: center; gap: var(--sp-3); padding: 6px var(--sp-2); }
.pl:hover { background: var(--c-sunken); }
.pl-no { flex: none; width: 24px; text-align: center; font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-md); color: var(--c-ink-3); font-variant-numeric: tabular-nums; }
.pl-nm { font-weight: 500; font-size: var(--fs-sm); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-ag { font-size: var(--fs-xs); color: var(--c-ink-3); }
.pl-ph { width: 28px; height: 28px; }
.pl-ph.fallback { padding: 4px; }
@media (min-width: 640px) { .squad { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--sp-6); } }
.standrow { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-4); flex-wrap: wrap; }
.standrow .rk { font-family: var(--font-heading); font-size: var(--fs-3xl); font-weight: 700; line-height: 1; }
.standrow .pts { font-weight: 700; }
.standrow .wdl { color: var(--c-ink-3); font-size: var(--fs-sm); }

/* lineup builder + formation pitch: flat green / flat wood */
.pitch, .xi-pitch { position: relative; background: oklch(46% .09 150); border-radius: var(--r-sm); overflow: hidden; }
.pitch { padding: var(--sp-4) var(--sp-3); display: flex; flex-direction: column; gap: 4px; max-width: 30rem; margin: var(--sp-3) auto; }
.pitch-l, .xi-pitch .pitch-l { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); fill: none; stroke: oklch(96% 0 0 / .45); stroke-width: .5; }
.prow { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 6px; min-height: 46px; align-content: center; padding: 3px 0; }
.pchip { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 56px; }
.pchip b { width: 30px; height: 30px; border-radius: 50%; background: oklch(97% 0 0); color: oklch(30% .06 150); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.pchip span { font-size: 11px; font-weight: 600; color: oklch(98% 0 0); max-width: 56px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }
.xi-form { margin-inline-start: auto; background: var(--c-surface); border: 1px solid var(--c-control-line); border-radius: var(--r-xs); color: var(--c-ink); font: inherit; font-size: var(--fs-sm); font-weight: 600; padding: 4px var(--sp-2); text-transform: none; letter-spacing: 0; min-height: 36px; }
.xi-rst { background: none; border: 1px solid var(--c-control-line); border-radius: var(--r-xs); color: var(--c-ink-2); font: inherit; font-size: var(--fs-xs); font-weight: 600; padding: 4px var(--sp-3); cursor: pointer; text-transform: none; letter-spacing: 0; min-height: 36px; }
.xi-rst:hover { color: var(--c-ink); border-color: var(--c-ink); }
.xi-wrap { padding: var(--sp-3); }
.xi-pitch { aspect-ratio: 100 / 133; max-width: 22.5rem; margin: 0 auto; }
.xi-court { position: relative; background: oklch(60% .09 65); border-radius: var(--r-sm); aspect-ratio: 100 / 110; max-width: 20.5rem; margin: 0 auto; overflow: hidden; }
.xi-court .court-l { position: absolute; inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); fill: none; stroke: oklch(98% 0 0 / .6); stroke-width: .7; }
.xi-slots { position: absolute; inset: 0; }
.xi-slot { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 2px; background: none; border: 0; cursor: pointer; width: 62px; padding: 0; font: inherit; }
.xi-slot b { width: 36px; height: 36px; border-radius: 50%; background: oklch(98% 0 0 / .2); color: oklch(98% 0 0); display: grid; place-items: center; font-weight: 700; font-size: 14px; border: 2px dashed oklch(98% 0 0 / .75); }
.xi-slot:hover b { background: oklch(98% 0 0 / .35); }
.xi-slot.on b { background: oklch(98% 0 0); color: oklch(30% .06 150); border: 2px solid oklch(98% 0 0); }
.xi-slot span { font-size: 11px; color: oklch(98% 0 0); font-weight: 600; white-space: nowrap; max-width: 64px; overflow: hidden; text-overflow: ellipsis; }
.xi-pick { border-top: 1px solid var(--c-line); max-height: 320px; overflow: auto; }
.xi-pk-h { display: flex; justify-content: space-between; align-items: center; padding: var(--sp-2) var(--sp-4); font-weight: 700; font-size: var(--fs-sm); position: sticky; top: 0; background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.xi-x { background: none; border: 0; color: var(--c-ink-2); font-size: 22px; line-height: 1; cursor: pointer; min-width: 36px; min-height: 36px; }
.xi-pk-l { display: flex; flex-direction: column; }
.xi-pk-i { display: flex; align-items: center; gap: var(--sp-3); padding: 8px var(--sp-4); background: none; border: 0; border-bottom: 1px solid var(--c-line); cursor: pointer; text-align: start; color: var(--c-ink); font: inherit; font-size: var(--fs-sm); width: 100%; min-height: 44px; }
.xi-pk-i:hover { background: var(--c-sunken); }
.xi-pk-i b { width: 24px; text-align: center; color: var(--c-accent-ink); font-weight: 700; flex: none; }
.xi-pk-i > span { flex: 1; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xi-pk-i small { color: var(--c-ink-3); font-size: var(--fs-xs); flex: none; }

/* ---------- Formula 1 ---------- */
.cc-red_bull { --cc: #3671C6; } .cc-ferrari { --cc: #E8002D; } .cc-mclaren { --cc: #FF8000; } .cc-mercedes { --cc: #27F4D2; }
.cc-aston_martin { --cc: #229971; } .cc-alpine { --cc: #0093CC; } .cc-williams { --cc: #64C4FF; } .cc-rb { --cc: #6692FF; }
.cc-sauber { --cc: #52E252; } .cc-haas { --cc: #B6BABD; } .cc-audi { --cc: #00B0A0; } .cc-cadillac { --cc: #C8102E; }
.f1-hero { margin: var(--sp-4) 0 var(--sp-5); padding: var(--sp-5) 0 var(--sp-4); border-bottom: 2px solid var(--c-ink); }
.f1-kick { display: block; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .12em; font-size: var(--fs-sm); font-weight: 700; color: var(--c-accent-ink); margin-bottom: var(--sp-2); }
.f1-hero h1 { font-family: var(--font-heading); text-transform: uppercase; font-size: var(--fs-3xl); line-height: 1; margin: 0; }
.f1-hero .f1-sub { color: var(--c-ink-2); font-size: var(--fs-md); margin-top: var(--sp-2); max-width: 40rem; }
.f1-seasons { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin: 0 0 var(--sp-5); }
.f1-seasons a { min-height: 36px; display: inline-flex; align-items: center; padding: 0 var(--sp-3); font-weight: 600; font-size: var(--fs-sm); border: 1px solid var(--c-line-strong); border-radius: var(--r-xs); background: var(--c-surface); color: var(--c-ink-2); text-decoration: none; }
.f1-seasons a.on { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); }
.f1-seasons a:hover { border-color: var(--c-accent); }
.f1-next { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; padding: var(--sp-4); border: 1px solid var(--c-line); border-inline-start: 4px solid var(--c-accent); background: var(--c-surface); margin-bottom: var(--sp-5); }
.f1-next .rd { flex: none; min-width: 3rem; font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-2xl); color: var(--c-accent-ink); }
.f1-next .nx { min-width: 0; flex: 1; }
.f1-next .nx b { display: block; font-size: var(--fs-md); }
.f1-next .nx span { font-size: var(--fs-sm); color: var(--c-ink-3); }
.f1-cd { flex: none; display: flex; gap: var(--sp-2); text-align: center; }
.f1-cd div { min-width: 3.25rem; border: 1px solid var(--c-line-strong); padding: 4px; }
.f1-cd b { display: block; font-family: var(--font-heading); font-size: var(--fs-2xl); line-height: 1.1; font-variant-numeric: tabular-nums; }
.f1-cd span { font-size: var(--fs-xs); text-transform: uppercase; color: var(--c-ink-3); letter-spacing: .05em; }
.f1-strow { display: grid; grid-template-columns: 34px 5px minmax(0, 1fr) auto auto; align-items: center; gap: var(--sp-3); padding: 10px var(--sp-4); border-bottom: 1px solid var(--c-line); font-size: var(--fs-sm); cursor: pointer; }
.f1-strow:last-child { border-bottom: 0; }
.f1-strow:hover { background: var(--c-sunken); }
.f1-strow .rk { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-lg); color: var(--c-ink-3); text-align: center; }
.f1-strow .cbar { width: 5px; height: 26px; border-radius: 2px; background: var(--cc, var(--c-ink-3)); }
.f1-strow .who { min-width: 0; }
.f1-strow .who b { font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f1-strow .who small { color: var(--c-ink-3); font-size: var(--fs-xs); }
.f1-strow .wn { color: var(--c-ink-3); font-size: var(--fs-xs); white-space: nowrap; }
.f1-strow .pt { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-lg); font-variant-numeric: tabular-nums; }
.f1-races { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); column-gap: var(--sp-6); border-top: 1px solid var(--c-line); margin: 0 0 var(--sp-5); }
.f1-rc { display: grid; gap: 2px; padding: var(--sp-3) var(--sp-1); border-bottom: 1px solid var(--c-line); text-decoration: none; color: var(--c-ink); }
.f1-rc:hover { background: var(--c-sunken); color: var(--c-ink); }
.f1-rc .rc-top { display: flex; align-items: center; gap: var(--sp-3); }
.f1-rc .rc-rd { flex: none; width: 2rem; font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-xl); color: var(--c-accent-ink); }
.f1-rc .rc-nm { font-weight: 700; font-size: var(--fs-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.f1-rc .rc-cir { padding-inline-start: 2.75rem; font-size: var(--fs-xs); color: var(--c-ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f1-rc .rc-ft { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); padding-inline-start: 2.75rem; }
.f1-rc .rc-dt { font-size: var(--fs-xs); font-weight: 600; }
.f1-rc .rc-win { font-size: var(--fs-xs); font-weight: 600; color: var(--c-accent-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 9rem; }
.f1-rc .rc-sc { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .05em; color: var(--c-ink-3); }
.f1-cls { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.f1-cls th { text-align: left; font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-ink-3); padding: 10px; border-bottom: 1px solid var(--c-line-strong); background: var(--c-sunken); }
.f1-cls td { padding: 9px 10px; border-bottom: 1px solid var(--c-line); }
.f1-cls tr:last-child td { border-bottom: 0; }
.f1-cls .p { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-lg); text-align: center; width: 36px; }
.f1-cls .p.top { color: var(--c-accent-ink); }
.f1-cls .dv { font-weight: 600; }
.f1-cls .dv a { color: var(--c-ink); text-decoration: none; }
.f1-cls .cn { color: var(--c-ink-3); font-size: var(--fs-xs); }
.f1-cls .pts { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-lg); text-align: right; }
.f1-cls .st { color: var(--c-ink-3); font-size: var(--fs-xs); }
.f1-dh { display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap; margin: var(--sp-4) 0 var(--sp-2); }
.f1-dnum { flex: none; font-family: var(--font-heading); font-size: 4rem; font-weight: 700; color: var(--c-ink); line-height: .9; padding-bottom: var(--sp-1); border-bottom: 4px solid var(--cc, var(--c-accent)); min-width: 4.5rem; text-align: center; }
.f1-dh .dh-x h1 { font-family: var(--font-heading); text-transform: uppercase; font-size: var(--fs-3xl); line-height: 1; margin: 0; }
.f1-dh .dh-x .meta { color: var(--c-ink-3); font-size: var(--fs-sm); margin-top: 4px; }
.f1-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(5.5rem, 1fr)); gap: var(--sp-2); margin: var(--sp-4) 0 var(--sp-5); }
.f1-stat { border: 1px solid var(--c-line); border-top: 2px solid var(--c-ink); background: var(--c-surface); padding: var(--sp-3); text-align: center; }
.f1-stat b { display: block; font-family: var(--font-heading); font-size: var(--fs-2xl); line-height: 1.1; font-variant-numeric: tabular-nums; }
.f1-stat b.sm { font-size: var(--fs-xl); }
.f1-stat span { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--c-ink-3); }
.f1-wiki { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 600; color: var(--c-accent-ink); margin: 2px 0 var(--sp-2); }
.f1-read { display: block; border: 1px solid var(--c-line); border-inline-start: 4px solid var(--c-accent); padding: var(--sp-3) var(--sp-4); margin: var(--sp-4) 0; background: var(--c-surface); text-decoration: none; color: var(--c-ink); }
.f1-read:hover { background: var(--c-sunken); color: var(--c-ink); }
.f1-read-k { display: block; font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-accent-ink); margin-bottom: 4px; }
.f1-read-t { display: block; font-family: var(--font-heading); font-size: var(--fs-xl); font-weight: 700; line-height: 1.15; }
.f1-read-x { display: block; font-size: var(--fs-sm); color: var(--c-ink-2); margin-top: 4px; line-height: 1.5; }
.f1-flag { height: 15px; width: auto; margin-inline-end: 6px; vertical-align: -2px; border-radius: 2px; }
.f1-logo { height: 20px; width: 20px; object-fit: contain; vertical-align: -4px; margin-inline-end: 6px; }
.f1-photo { object-fit: cover; border-radius: 50%; background: var(--c-sunken); flex: none; }
.f1-photo-54 { width: 54px; height: 54px; } .f1-photo-72 { width: 72px; height: 72px; }
.f1-circ { text-align: center; padding: var(--sp-5); background: var(--c-surface); border: 1px solid var(--c-line); margin: var(--sp-4) 0; }
.f1-circ img { max-height: 320px; }
.f1-hd { border-inline-start: 5px solid var(--cc, var(--c-ink-3)); padding-inline-start: var(--sp-3); }
@media (max-width: 520px) {
  .f1-next .f1-cd { width: 100%; }
  .f1-strow { grid-template-columns: 28px 4px minmax(0, 1fr) auto; gap: var(--sp-2); }
  .f1-strow .wn { display: none; }
  .f1-dnum { font-size: 3rem; min-width: 3.5rem; }
  .f1-cls .cn { display: none; }
}
.back + .back { margin-inline-start: var(--sp-4); }
.mid, .mid:hover, .sg-tile, .sg-tile:hover { text-decoration: none; }
@media (max-width: 480px) {
  .row { grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); padding-inline: var(--sp-2); gap: 4px; }
  .row .badge { width: 22px; height: 22px; font-size: 9px; }
  .nm { font-size: var(--fs-xs); }
  .lg-h, .sb-h, .ph { padding-inline: var(--sp-3); }
}

/* ---- round 2: fewer template tells ---- */
.sg-rail li a .ic { display: none; }
.agrid { grid-template-columns: minmax(0, 1fr) !important; }
.sport-band .ac-ex { display: none; }
.sport-band .acard { padding-block: var(--sp-3); }
.sport-band .ac-title { font-size: var(--fs-lg); }
/* facts as a plain label list, not pills */
.dt-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); column-gap: var(--sp-6); margin-top: var(--sp-2); }
.chip { border: 0; border-bottom: 1px solid var(--c-line); border-radius: 0; padding: var(--sp-2) 0; font-size: var(--fs-sm); }
.match-hero { padding-block: var(--sp-5); }
.mh-lg { text-align: start; }
.mh-main { justify-content: flex-start; gap: var(--sp-6); }
@media (max-width: 520px) { .mh-main { justify-content: space-between; } }
/* pitch / court: monochrome hairline diagrams */
.pitch, .xi-pitch, .xi-court { background: var(--c-sunken); border: 1px solid var(--c-line-strong); }
.pitch-l, .xi-pitch .pitch-l, .xi-court .court-l { stroke: var(--c-ink-3); stroke-opacity: .6; }
.pchip b, .xi-slot.on b { background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }
.pchip span, .xi-slot span { color: var(--c-ink); }
.xi-slot b { background: var(--c-surface); color: var(--c-ink-2); border-color: var(--c-ink-3); }
.xi-slot:hover b { background: var(--c-accent-soft); }
/* countdown as one inline line */
.f1-cd { gap: var(--sp-4); align-items: baseline; }
.f1-cd div { border: 0; padding: 0; min-width: 0; display: inline-flex; align-items: baseline; gap: 4px; }
.f1-cd b { display: inline; font-size: var(--fs-2xl); }

/* ---- round 3: timing-sheet details ---- */
/* tables: numbers never wrap */
.f1-cls td, .f1-cls th { white-space: nowrap; }
.f1-cls td.dv, .f1-cls td:has(.dv) { white-space: normal; }
.f1-cls .p { width: 3.5ch; min-width: 3.5ch; }
.f1-cls td:first-child { font-variant-numeric: tabular-nums; }
/* stat tiles -> one hairline row, label over number, left aligned */
.f1-stats { display: flex; flex-wrap: wrap; gap: 0; border-block: 1px solid var(--c-line); }
.f1-stat { flex: 1 1 7rem; border: 0; border-inline-end: 1px solid var(--c-line); background: none; padding: var(--sp-3) var(--sp-4); text-align: start; display: flex; flex-direction: column-reverse; gap: 2px; }
.f1-stat:last-child { border-inline-end: 0; }
.f1-stat b { font-size: var(--fs-3xl); line-height: 1; }
.f1-stat b.sm { font-size: var(--fs-2xl); }
/* filters, seasons: underline tabs instead of boxed pills */
.fchip, .f1-seasons a { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; padding-inline: var(--sp-2); font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .06em; color: var(--c-ink-3); }
.fchip:hover, .f1-seasons a:hover { border-color: var(--c-line-strong); color: var(--c-ink); }
.fchip.on, .f1-seasons a.on { background: none; border-color: var(--c-accent); color: var(--c-ink); }
.fchip.on .fct { color: var(--c-ink-3); }
.hub-row, .f1-seasons { gap: var(--sp-3); border-bottom: 1px solid var(--c-line); }
.sdot { display: none; }
/* league / team / search lists: dense two-column index, meta right-aligned */
.lgrid, .tgrid, .srgrid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); column-gap: var(--sp-8); }
.lcard { flex-direction: row; align-items: baseline; justify-content: space-between; gap: var(--sp-3); min-height: 40px; }
.lcard .lc-name { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lcard .lc-meta { flex: none; font-size: var(--fs-xs); color: var(--c-ink-3); font-variant-numeric: tabular-nums; }
.tcard, .srcard { min-height: 40px; }
/* article language list: quiet text links */
.langsw { gap: var(--sp-1) var(--sp-3); }
.langsw a { border: 0; background: none; min-height: 32px; padding: 0 2px; border-bottom: 2px solid transparent; border-radius: 0; color: var(--c-ink-3); font-family: var(--font-heading); letter-spacing: .06em; }
.langsw a.on { background: none; color: var(--c-ink); border-color: var(--c-accent); }
.art-byline a { color: var(--c-accent-ink); }

/* ---- round 4: key/value facts, one-line countdown, numbered article sections ---- */
.f1-stats { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-2) 0; padding-block: var(--sp-3); }
.f1-stat { flex: none; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 6px; padding: 0 var(--sp-4); }
.f1-stat:first-child { padding-inline-start: 0; }
.f1-stat b, .f1-stat b.sm { font-size: var(--fs-xl); line-height: 1.2; white-space: nowrap; }
.f1-next { background: none; border: 0; border-block: 1px solid var(--c-line); border-inline-start: 0; padding-inline: 0; }
.f1-next .rd { font-size: var(--fs-xl); min-width: 0; }
.f1-cd b { font-size: var(--fs-lg); }
.f1-circ { background: none; border: 0; padding: 0; text-align: start; }
.f1-circ img { max-height: 220px; }
.f1-hd .f1-logo { height: .8em; width: auto; vertical-align: 0; }
.art-body { counter-reset: sgsec; }
.art-body h2 { font-size: var(--fs-xl); display: flex; align-items: baseline; gap: var(--sp-3); border-top: 1px solid var(--c-line); padding-top: var(--sp-4); }
.art-body h2::before { counter-increment: sgsec; content: counter(sgsec, decimal-leading-zero); flex: none; font-size: var(--fs-sm); color: var(--c-accent-ink); font-variant-numeric: tabular-nums; }
.sg-rail li a small { display: inline; }
.sg-rail { min-width: 0; }
.sg-rail li a span { flex: 1 1 auto; }
.sg-rail li a small { flex: none; max-inline-size: 45%; overflow: hidden; text-overflow: ellipsis; }
.sg-search { min-width: 0; }
.sg-search .hk-input { min-width: 0; width: 100%; }
.sg-rail__body, html.hk-js .sg-rail[data-open="false"] .sg-rail__body { grid-template-columns: minmax(0, 1fr); }
