/* Stat Potato. Dense esports layout, light by default, with a "liquid glass" control layer.
   Tokens first; every colour below comes from them. The palette is picked with
   SITE_PALETTE (spike, neon, acid, gold), rendered as <html data-palette="…">.
   No JavaScript, no third-party assets (CSP).

   Material rules: CONTENT (panels, tables, scoreboards, text) is solid so it stays
   legible. CONTROLS that float above content (sticky nav, segmented tabs, the map
   row, buttons, pills, highlight cards) are glass: a translucent fill, a backdrop
   blur, a 1px inner highlight and a soft neutral shadow. Nothing glows. */

/* Barlow Condensed (SIL OFL 1.1, see fonts/OFL-barlow-condensed.txt), self-hosted. */
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap;
             src: url("fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap;
             src: url("fonts/barlow-condensed-700.woff2") format("woff2"); }

/* ── palettes: dark (opt-in: <html data-theme="dark">) ─────────────────────── */
:root[data-theme="dark"], :root[data-theme="dark"][data-palette="spike"] {
  --bg: #0f1923; --bg-2: #0b131b; --panel: #16222e; --panel-2: #1d2b39;
  --line: #263748; --line-2: #31455a;
  --text: #ece8e1; --text-2: #b8c0c8; --text-3: #8e9aa6;
  --accent: #ff4655; --accent-ink: #0f1923; --accent-soft: rgba(255, 70, 85, .14);
  --live: #ff4655; --win: #ffffff; --link: #ff7a85; --good: #3ecf8e;
  --team-a: #ff4655; --team-b: #3dd6c6;
}
:root[data-theme="dark"][data-palette="neon"] {
  --bg: #0b0d17; --bg-2: #080a12; --panel: #12152a; --panel-2: #191d37; --line: #262b4c; --line-2: #333a66;
  --text: #e8eaf6; --text-2: #aeb3d3; --text-3: #8a90b6;
  --accent: #22d3ee; --accent-ink: #04121a; --accent-soft: rgba(34, 211, 238, .13);
  --live: #f43f5e; --win: #ffffff; --link: #67e8f9; --good: #3ecf8e;
  --team-a: #22d3ee; --team-b: #f472b6;
}
:root[data-theme="dark"][data-palette="acid"] {
  --bg: #0f1011; --bg-2: #0a0b0c; --panel: #17191b; --panel-2: #1f2225; --line: #292d31; --line-2: #383d43;
  --text: #f2f4f3; --text-2: #bcc3c0; --text-3: #939b97;
  --accent: #c6f432; --accent-ink: #0f1011; --accent-soft: rgba(198, 244, 50, .12);
  --live: #ff5a36; --win: #ffffff; --link: #d9ff6b; --good: #3ecf8e;
  --team-a: #c6f432; --team-b: #a78bfa;
}
:root[data-theme="dark"][data-palette="gold"] {
  --bg: #0d1015; --bg-2: #090b0f; --panel: #151a21; --panel-2: #1c222b; --line: #262e38; --line-2: #343e4b;
  --text: #eef1f5; --text-2: #b6bfcb; --text-3: #8e99a7;
  --accent: #f5b83d; --accent-ink: #1a1206; --accent-soft: rgba(245, 184, 61, .13);
  --live: #ef4444; --win: #ffffff; --link: #fbd07a; --good: #3ecf8e;
  --team-a: #f5b83d; --team-b: #60a5fa;
}

/* ── palettes: light (default) ───────────────────────────────────────────── */
:root, :root[data-palette="spike"] {
  /* calm neutrals (Apple-like): near-white page, white surfaces, hairlines, one blue accent */
  /* a soft grey page so the white cards stand out (owner: "too white" on #f5f5f7) */
  --bg: #e9e9ee; --bg-2: #dedee4; --panel: #ffffff; --panel-2: #f2f2f5; --line: #e5e5ea; --line-2: #d2d2d7;
  --text: #1d1d1f; --text-2: #424245; --text-3: #6e6e73;
  --accent: #0071e3; --accent-ink: #ffffff; --accent-soft: rgba(0, 113, 227, .1);
  --live: #ff3b30; --win: #1d1d1f; --link: #0066cc; --good: #248a3d; --bad: #d70015;
  --team-a: #0071e3; --team-b: #f56300;
}
:root[data-palette="neon"] {
  --bg: #eef1f8; --bg-2: #e4e8f2; --panel: #ffffff; --panel-2: #f4f6fb; --line: #d9deec; --line-2: #c3cadf;
  --text: #0b0d17; --text-2: #3a4063; --text-3: #585f85;
  --accent: #0e7490; --accent-ink: #ffffff; --accent-soft: rgba(14, 116, 144, .1);
  --live: #e11d48; --win: #0b0d17; --link: #0e7490; --good: #15803d;
  --team-a: #0e7490; --team-b: #be185d;
}
:root[data-palette="acid"] {
  --bg: #f1f3ee; --bg-2: #e7eae3; --panel: #ffffff; --panel-2: #f6f7f3; --line: #dadfd3; --line-2: #c5ccbd;
  --text: #0f1011; --text-2: #3c423f; --text-3: #5a615d;
  --accent: #0f1011; --accent-ink: #c6f432; --accent-soft: rgba(77, 124, 15, .12);
  --live: #d9381e; --win: #0f1011; --link: #3f6212; --good: #15803d;
  --team-a: #4d7c0f; --team-b: #7c3aed;
}
:root[data-palette="gold"] {
  --bg: #f4f2ec; --bg-2: #ebe8e0; --panel: #ffffff; --panel-2: #f8f7f3; --line: #ded9cf; --line-2: #cac4b7;
  --text: #121417; --text-2: #3f4650; --text-3: #5d6570;
  --accent: #121417; --accent-ink: #f5b83d; --accent-soft: rgba(183, 121, 31, .12);
  --live: #dc2626; --win: #121417; --link: #8a5a12; --good: #15803d;
  --team-a: #b7791f; --team-b: #2563eb;
}

/* ── shared tokens: type, spacing, radii, depth, glass ────────────────────── */
:root {
  /* the system face everywhere (SF Pro on Apple devices); numbers use tabular figures,
     not a monospace face */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: var(--font);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  /* concentric radii: an inner element's radius = the outer radius minus the padding */
  --r: 12px; --r-lg: 18px; --r-sm: 8px; --r-round: 999px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  /* plain neutral depth for solid content surfaces */
  --shadow: 0 1px 1px rgba(0, 0, 0, .02), 0 2px 12px rgba(0, 0, 0, .04);
  --shadow-up: 0 4px 20px rgba(0, 0, 0, .08);
  /* glass: fill, hover fill, the raised "lens" of a selected control, edges, depth, sheen */
  --glass: rgba(255, 255, 255, .6); --glass-2: rgba(255, 255, 255, .78);
  --glass-lens: rgba(255, 255, 255, .95);
  --glass-hi: rgba(255, 255, 255, .75); --glass-hi-2: rgba(255, 255, 255, .95); --glass-lo: rgba(15, 25, 35, .14);
  --glass-shadow: 0 8px 30px rgba(15, 25, 35, .12); --glass-shadow-sm: 0 4px 16px rgba(15, 25, 35, .1);
  --glass-blur: blur(22px) saturate(170%);
  --sheen: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .15) 38%, transparent 62%);
  --field-a: color-mix(in srgb, var(--team-a) 6%, transparent);
  --field-b: color-mix(in srgb, var(--team-b) 5%, transparent);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 8px 24px -18px rgba(0, 0, 0, .6);
  --shadow-up: 0 14px 34px -16px rgba(0, 0, 0, .6);
  --glass: color-mix(in srgb, var(--panel) 62%, transparent);
  --glass-2: color-mix(in srgb, var(--panel-2) 74%, transparent);
  --glass-lens: color-mix(in srgb, var(--text) 13%, color-mix(in srgb, var(--panel-2) 80%, transparent));
  --glass-hi: rgba(255, 255, 255, .11);
  --glass-hi-2: rgba(255, 255, 255, .18);
  --glass-lo: rgba(0, 0, 0, .28);
  --glass-shadow: 0 8px 30px rgba(0, 0, 0, .25);
  --glass-shadow-sm: 0 4px 16px rgba(0, 0, 0, .22);
  --sheen: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02) 38%, transparent 62%);
  --field-a: color-mix(in srgb, var(--team-a) 7%, transparent);
  --field-b: color-mix(in srgb, var(--team-b) 6%, transparent);
  color-scheme: dark;
}

/* ── base ─────────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; background: var(--bg);
       scrollbar-width: none; /* hidden bar; wheel, trackpad and keys still scroll */ }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }
body {
  margin: 0; color: var(--text); background: transparent;
  font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased;
  /* footer sits at the bottom of the window on short pages */
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  overflow-x: hidden;
}
/* The page background: a calm, deep gradient with two very soft colour fields in the
   team hues, fixed to the viewport so the glass has something to refract. It is a
   backdrop, not a halo: nothing radiates from any element. */
body::before { content: none; }  /* a flat page: calm, and no band on long pages */
main { flex: 1 0 auto; min-width: 0; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }
.skip { position: absolute; left: var(--s4); top: -60px; z-index: 20; background: var(--accent);
        color: var(--accent-ink); padding: var(--s2) var(--s4); border-radius: var(--r); }
.skip:focus { top: var(--s2); }

.wrap { width: min(1180px, 100% - 2 * var(--s4)); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 2 * var(--s4)); }
.page { padding: var(--s5) 0 var(--s7); }

h1, h2, h3 { font-family: var(--font-head); color: var(--text); margin: 0 0 var(--s3);
             letter-spacing: .01em; text-wrap: balance; }
h1 { font-size: clamp(30px, 4vw, 40px); line-height: 1.05; font-weight: 700; text-transform: uppercase; }
h2 { font-size: 22px; line-height: 1.2; font-weight: 700; }
h3 { font-size: 17px; line-height: 1.3; font-weight: 700; }
p { margin: 0 0 var(--s3); }
.muted { color: var(--text-2); }
.small { font-size: 13px; color: var(--text-3); }
.center { text-align: center; }
.empty { color: var(--text-3); padding: var(--s5) var(--s4); margin: 0; text-align: center; }
.kicker { font: 700 11px/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.legend { margin: var(--s2) var(--s1) 0; line-height: 1.55; }
.dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor;
       opacity: .6; margin: 0 var(--s2); vertical-align: middle; }

/* ── glass material ───────────────────────────────────────────────────────
   Applied to the floating layer only. Edges: a 1px translucent border, a brighter
   inner top edge and a darker inner bottom edge; depth: one soft neutral shadow;
   sheen: a faint top-edge gradient painted by ::before where the element has one
   to spare. Content underneath stays solid, so glass never stacks on glass. */
.nav, .tabs, .btn-quiet, .hl, .pct, .tag-final, .mt {
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-hi);
  box-shadow: inset 0 1px 0 var(--glass-hi-2), inset 0 -1px 0 var(--glass-lo), var(--glass-shadow-sm);
}
.tabs::before, .btn-quiet::before, .hl::before, .btn-primary::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--sheen);
  pointer-events: none; z-index: 0; }
.tabs, .btn, .hl { position: relative; isolation: isolate; }
.tabs > *, .btn > *, .hl > * { position: relative; z-index: 1; }

/* ── nav ──────────────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 10; border-width: 0 0 1px; border-radius: 0;
       box-shadow: inset 0 1px 0 var(--glass-hi-2), 0 6px 24px -14px rgba(0, 0, 0, .45); }
.nav .wrap { display: flex; align-items: center; gap: var(--s3); height: 60px; }
.wordmark { display: inline-flex; align-items: center; gap: var(--s2); color: var(--text); text-decoration: none;
            font: 700 20px/1 var(--font-head); letter-spacing: .03em; text-transform: uppercase; min-height: 44px;
            transition: opacity .15s var(--ease); }
.wordmark:hover { opacity: .85; }
.wordmark img { width: 32px; }
.links { display: flex; align-items: center; gap: 2px; height: 100%; margin-right: auto; margin-left: var(--s2);
         overflow-x: auto; scrollbar-width: none; min-width: 0; }
.links::-webkit-scrollbar { display: none; }
.links a { position: relative; display: flex; align-items: center; height: 36px; padding: 0 var(--s3);
           border-radius: var(--r-round); color: var(--text-2); text-decoration: none;
           font: 600 15px/1 var(--font-head); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap;
           transition: color .15s var(--ease), background-color .15s var(--ease), box-shadow .15s var(--ease); }
.links a:hover { color: var(--text); background: var(--glass-2); }
.links a:active { transform: scale(.98); }
/* the current page is a raised lens */
.links a[aria-current] { color: var(--text); background: var(--glass-lens);
                         box-shadow: inset 0 1px 0 var(--glass-hi-2), inset 0 0 0 1px var(--glass-hi), 0 2px 8px rgba(0, 0, 0, .18); }
.links a[aria-current]::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 14px; height: 2px;
                                margin-left: -7px; border-radius: 1px; background: var(--accent); }
@media (max-width: 980px) { .links a { padding: 0 10px; font-size: 14px; letter-spacing: .05em; } }
@media (max-width: 640px) {
  .nav .wrap { flex-wrap: wrap; height: auto; padding-top: var(--s2); padding-bottom: var(--s2); row-gap: var(--s1); }
  /* phones: the seven links wrap into a second row of pills rather than clipping */
  .links { order: 3; width: 100%; margin: 0; height: auto; flex-wrap: wrap; overflow: visible; row-gap: 2px;
           padding-bottom: 2px; }
  .links a { height: 34px; padding: 0 10px; font-size: 14px; }
  .wordmark { margin-right: auto; }
}

/* ── buttons ──────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
       padding: 0 var(--s5); border-radius: var(--r-round); font: 700 15px/1 var(--font-head);
       letter-spacing: .07em; text-transform: uppercase; text-decoration: none; overflow: hidden;
       border: 1px solid transparent;
       transition: transform .15s var(--ease), filter .15s var(--ease), background-color .15s var(--ease),
                   border-color .15s var(--ease), box-shadow .15s var(--ease); }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: color-mix(in srgb, #fff 18%, var(--accent));
               box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(0, 0, 0, .18), var(--glass-shadow-sm); }
.btn-primary::before { opacity: .6; }
.btn-quiet { color: var(--text); }
.btn-quiet:hover { background: var(--glass-2); }
.btn-sm { min-height: 36px; padding: 0 var(--s4); font-size: 14px; }
button.btn { cursor: pointer; }
form { margin: 0 0 var(--s4); }

/* ── panels (solid content surfaces) ──────────────────────────────────────── */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg);
         margin: 0 0 var(--s4); overflow: hidden; box-shadow: var(--shadow); }
.panel-h { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3);
           padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); margin: 0; }
.panel-h h2, h2.panel-h { font-size: 15px; text-transform: uppercase; letter-spacing: .1em; margin: 0; color: var(--text); }
.panel-h h2 .logo { width: 20px; height: 20px; margin-right: var(--s2); vertical-align: -4px; }
.panel-h a { font-size: 13px; color: var(--text-3); text-decoration: none; transition: color .15s var(--ease); }
.panel-h a:hover { color: var(--text); }
.day { font: 700 11px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3);
       background: color-mix(in srgb, var(--panel-2) 70%, var(--panel)); padding: 9px var(--s4); margin: 0;
       border-bottom: 1px solid var(--line); }
.mlist + .day { border-top: 1px solid var(--line); }
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
             gap: var(--s3); margin-bottom: var(--s2); }
.page-head h1 { margin: 0; }
.page-head + .small { margin-bottom: var(--s4); }

/* segmented controls: a glass pill; the selected segment is a raised lens */
.tabs { display: inline-flex; border-radius: var(--r-round); padding: 4px; gap: 2px; max-width: 100%; }
.tabs a { padding: 8px var(--s4); border-radius: var(--r-round); color: var(--text-2); text-decoration: none;
          font: 600 14px/1 var(--font-head); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
          transition: color .15s var(--ease), background-color .15s var(--ease), box-shadow .15s var(--ease),
                      transform .15s var(--ease); }
.tabs a:hover { color: var(--text); background: var(--glass-2); }
.tabs a:active { transform: scale(.98); }
.tabs a[aria-current] { color: var(--text); background: var(--glass-lens);
                        box-shadow: inset 0 1px 0 var(--glass-hi-2), inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, var(--glass-hi)),
                                    0 2px 8px rgba(0, 0, 0, .2); }

/* home */
.hub { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: var(--s4); align-items: start; }
@media (max-width: 900px) { .hub { grid-template-columns: 1fr; } }
.featured { position: relative; border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.featured::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--accent); }
.featured-h { display: block; padding: var(--s4) var(--s5) var(--s3); }
.featured-h .kicker { display: inline-flex; align-items: center; gap: 6px; }
.featured-h h2 { font-size: 26px; text-transform: none; letter-spacing: .01em; margin-top: var(--s1); }
@media (min-width: 901px) {
  .featured .mlist { display: grid; grid-template-columns: 1fr 1fr; }
  .featured .mlist li { border-top: 1px solid var(--line); }
  .featured .mlist li:nth-child(-n+2) { border-top: 0; }
  .featured .mlist li:nth-child(even) { border-left: 1px solid var(--line); }
}

/* ── match rows (VLR-style) ───────────────────────────────────────────────── */
.mlist { list-style: none; margin: 0; padding: 0; }
.mlist li + li { border-top: 1px solid var(--line); }
.mrow { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, .9fr) 92px;
        align-items: center; gap: var(--s4); padding: var(--s3) var(--s4); color: var(--text); text-decoration: none;
        transition: background-color .15s var(--ease); }
.mrow:hover { background: color-mix(in srgb, var(--panel-2) 80%, var(--panel)); }
.mrow::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: transparent;
                transition: background-color .15s var(--ease); }
.mrow:hover::before { background: var(--line-2); }
.mrow.is-live::before, .mrow.is-live:hover::before { background: var(--live); }
.mtime { font: 600 14px/1 var(--mono); color: var(--text-2); font-variant-numeric: tabular-nums; }
.mfinal { font: 700 11px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.mteams { display: grid; gap: 7px; min-width: 0; }
.mteam { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--text-2); font-weight: 600; }
.mteam.won { color: var(--win); }
.mrow-finished .mteam:not(.won) { color: var(--text-3); }
.mrow-finished .mteam:not(.won) .logo { opacity: .7; }
.tname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.tscore { font: 700 15px/1 var(--mono); min-width: 1.2em; text-align: right; font-variant-numeric: tabular-nums; }
.mteam.won .tscore { color: var(--accent); }
.mevent { display: grid; min-width: 0; font-size: 13px; color: var(--text-2); line-height: 1.4; }
.mevent .ev, .mevent .st { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mevent .st { color: var(--text-3); }
.mfmt { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 12px; color: var(--text-3);
        text-align: right; white-space: nowrap; }
.fmt { font: 600 11px/1 var(--mono); letter-spacing: .04em; color: var(--text-3); }
/* model-estimate pill: glass, tinted only by the accent-coloured team tag */
.pct { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px 4px 7px; border-radius: var(--r-round);
       font: 700 12px/1 var(--mono); color: var(--text); box-shadow: inset 0 1px 0 var(--glass-hi-2), inset 0 -1px 0 var(--glass-lo); }
.pct-who { font: 700 10px/1 var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.hub-side .mrow, .featured .mrow { grid-template-columns: 64px minmax(0, 1fr) 40px; }
@media (max-width: 640px) {
  .mrow { grid-template-columns: 52px minmax(0, 1fr) 64px; gap: var(--s3); }
  .hub-side .mrow, .featured .mrow { grid-template-columns: 52px minmax(0, 1fr) 40px; }
  .mevent { grid-column: 2 / 4; grid-row: 2; }
  .mtime { font-size: 13px; }
}

.logo { width: 24px; height: 24px; flex: none; object-fit: contain; }
/* Some PandaScore logos are white (their "dark mode" art, e.g. Team Vitality): a thin dark
   edge keeps them visible on the light theme and is barely there on coloured logos. */
img.logo { --edge: drop-shadow(0 0 .6px rgba(15, 25, 35, .75)) drop-shadow(0 0 .4px rgba(15, 25, 35, .6));
           filter: var(--edge); }
:root[data-theme="dark"] img.logo { --edge: ; }
.logo-none { display: inline-grid; place-items: center; border-radius: 6px; background: var(--panel-2);
             border: 1px solid var(--line-2); color: var(--text-3); font: 700 9px/1 var(--font); letter-spacing: .02em; }

.tag { display: inline-flex; align-items: center; gap: 6px; font: 700 11px/1 var(--font); letter-spacing: .08em;
       text-transform: uppercase; border-radius: var(--r-round); padding: 5px 9px; }
.tag-live { background: var(--live); color: #fff; }
.tag-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff;
                    animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.tag-final { color: var(--text-2); box-shadow: inset 0 1px 0 var(--glass-hi-2), inset 0 -1px 0 var(--glass-lo); }
.tag-soon { background: var(--accent-soft); color: var(--accent); }
.tag-warn { background: color-mix(in srgb, #f5b83d 16%, transparent); color: #8a5a12; }
:root[data-theme="dark"] .tag-warn { color: #f5b83d; }
.tag-free { background: var(--panel-2); color: var(--text); border: 1px solid var(--line); }
.tag-premium { background: var(--accent); color: var(--accent-ink); }

/* ── match page: header (solid; team colour only in the top rule and the bars) ── */
.mhead { position: relative; padding: var(--s5) var(--s5) var(--s6); isolation: isolate; }
.mhead::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
                 background: linear-gradient(90deg, var(--team-a) 0 35%, var(--line-2) 50%, var(--team-b) 65% 100%); }
.mhead-event { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0;
               margin: 0; color: var(--text-2); font-size: 13px; letter-spacing: .02em; }
.mhead-event .ev { color: var(--text); font-weight: 600; }
.versus { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s4); margin: var(--s5) 0 0; }
.vteam { display: flex; flex-direction: column; align-items: center; gap: var(--s3); text-align: center;
         color: var(--text-2); font: 700 26px/1.1 var(--font-head); text-transform: uppercase; letter-spacing: .02em;
         min-width: 0; }
.vteam .vname { max-width: 100%; }
.vteam.won { color: var(--win); }
.vteam .logo { width: 84px; height: 84px; filter: var(--edge) drop-shadow(0 8px 14px rgba(0, 0, 0, .3)); }
.vteam .logo-none { font-size: 20px; border-radius: 16px; }
.vteam::after { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--team-a); opacity: .9; }
.vteam-b::after { background: var(--team-b); }
.vscore { display: grid; justify-items: center; gap: var(--s2); min-width: 150px; }
.big { font: 700 64px/1 var(--font-head); color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: .02em;
       display: inline-flex; align-items: baseline; }
.big .colon { color: var(--text-3); margin: 0 10px; font-weight: 600; opacity: .7; }
.big .sa.w { color: var(--team-a); } .big .sb.w { color: var(--team-b); }
.big.vs { font-size: 34px; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; padding: 12px 0; }
.vstatus { font-size: 13px; color: var(--text-2); }
.vmeta { display: inline-flex; align-items: center; font-size: 13px; color: var(--text-3); white-space: nowrap; }
.vfmt { font: 700 12px/1 var(--mono); color: var(--text-2); letter-spacing: .04em; }
@media (max-width: 640px) {
  .mhead { padding: var(--s4) var(--s3) var(--s5); }
  .versus { gap: var(--s2); margin-top: var(--s4); }
  .vteam { font-size: 17px; gap: var(--s2); }
  .vteam .logo { width: 56px; height: 56px; }
  .vteam .logo-none { font-size: 14px; }
  .big { font-size: 44px; } .big .colon { margin: 0 6px; }
  .big.vs { font-size: 26px; }
  .vscore { min-width: 110px; }
  .vmeta { flex-direction: column; gap: 2px; white-space: normal; text-align: center; }
  .vmeta .dot { display: none; }
}

/* ── match page: preview (model estimate + last 5) ────────────────────────── */
.preview { display: grid; }
.pred { padding: var(--s4) var(--s5) var(--s3); border-bottom: 1px solid var(--line); }
.pred-h { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3); }
.pred-h .kicker { margin: 0; }
/* the split is a width class (w0–w20, 5% steps) so no inline style is needed */
.w0 { --w: 0%; } .w1 { --w: 5%; } .w2 { --w: 10%; } .w3 { --w: 15%; } .w4 { --w: 20%; } .w5 { --w: 25%; }
.w6 { --w: 30%; } .w7 { --w: 35%; } .w8 { --w: 40%; } .w9 { --w: 45%; } .w10 { --w: 50%; } .w11 { --w: 55%; }
.w12 { --w: 60%; } .w13 { --w: 65%; } .w14 { --w: 70%; } .w15 { --w: 75%; } .w16 { --w: 80%; } .w17 { --w: 85%; }
.w18 { --w: 90%; } .w19 { --w: 95%; } .w20 { --w: 100%; }
.pred-bar { position: relative; display: flex; height: 44px; border-radius: var(--r); overflow: hidden;
            background: color-mix(in srgb, var(--team-b) 22%, var(--panel-2)); margin-bottom: var(--s4);
            font: 700 20px/1 var(--font-head); letter-spacing: .03em; text-transform: uppercase; }
.pred-bar .pa, .pred-bar .pb { display: flex; align-items: center; padding: 0 var(--s4); white-space: nowrap; }
.pred-bar .pa { flex: 0 0 var(--w); min-width: max-content; color: var(--team-a);
                background: color-mix(in srgb, var(--team-a) 22%, var(--panel-2)); box-shadow: inset -2px 0 0 var(--panel); }
.pred-bar .pa::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: var(--team-a);
                        opacity: .12; pointer-events: none; }
.pred-bar .pb { flex: 1; justify-content: flex-end; color: var(--team-b); }
.pred-maps { list-style: none; margin: 0 0 var(--s3); padding: 0; display: grid;
             grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--s2) var(--s6); }
.pred-maps li { display: grid; grid-template-columns: 84px 1fr 70px; align-items: center; gap: var(--s3);
                font-size: 13px; color: var(--text-2); }
.pm-name { font: 700 14px/1 var(--font-head); letter-spacing: .05em; text-transform: uppercase; color: var(--text);
           overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-bar { position: relative; height: 6px; border-radius: 3px; overflow: hidden;
          background: color-mix(in srgb, var(--team-b) 45%, var(--panel-2)); }
.pm-fill { position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--team-a); border-radius: 3px; }
.pm-p { text-align: right; font: 600 12px/1 var(--mono); color: var(--text-2); font-variant-numeric: tabular-nums; }
.pred-note { margin: 0 0 var(--s1); line-height: 1.55; }
/* map veto: simulated picks prefilled; the user changes them with a plain GET form */
.veto { margin: var(--s2) 0 var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); }
.veto .kicker { margin: 0 0 var(--s1); }
.vs-n { font: 700 12px/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.veto-mine { margin-top: var(--s3) !important; }
.veto .pred-bar { margin-bottom: var(--s3); }
.forms { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); padding: var(--s4) var(--s5); }
.forms .kicker { color: var(--text-3); margin-bottom: var(--s2); }
.forms .fteam { color: var(--text); }
.form-a .kicker::before, .form-b .kicker::before { content: ""; display: inline-block; width: 8px; height: 8px;
      border-radius: 2px; margin-right: 8px; vertical-align: 0; background: var(--team-a); }
.form-b .kicker::before { background: var(--team-b); }
.form { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.fg { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px;
      font: 700 14px/1 var(--font-head); letter-spacing: .04em; cursor: default;
      background: var(--panel-2); color: var(--text-3); border: 1px solid var(--line); }
.fg-w { background: color-mix(in srgb, var(--good) 18%, var(--panel-2)); color: var(--good);
        border-color: color-mix(in srgb, var(--good) 45%, transparent); }
.fg-l { background: color-mix(in srgb, var(--accent) 12%, var(--panel-2)); color: var(--text-2);
        border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
/* the compact last-5 list: badge · opponent · score · Elo change · date */
.elo-now { display: flex; align-items: baseline; gap: var(--s2); margin: 0 0 var(--s3); font-size: 12px;
           letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.elo-now b { font: 700 24px/1 var(--font-head); letter-spacing: .02em; color: var(--text); font-variant-numeric: tabular-nums; }
.flist { list-style: none; margin: 0; padding: 0; display: grid; }
.fl { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto 44px 42px; align-items: center; gap: var(--s3);
      padding: 6px 0; font-size: 14px; border-top: 1px solid var(--line); }
.fl:first-child { border-top: 0; padding-top: 0; }
.fl .fg { width: 26px; height: 26px; font-size: 12px; border-radius: 7px; }
.fl-opp { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.fl-w .fl-opp { color: var(--text); }
.fl-score { font: 600 13px/1 var(--mono); color: var(--text-2); font-variant-numeric: tabular-nums; }
.fl-elo { font: 600 13px/1 var(--mono); text-align: right; color: var(--text-3); font-variant-numeric: tabular-nums; }
.fl-date { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .pred { padding: var(--s4) var(--s4) var(--s3); }
  .pred-bar { height: 40px; font-size: 17px; }
  .pred-bar .pa, .pred-bar .pb { padding: 0 var(--s3); }
  .pred-maps { grid-template-columns: 1fr; gap: var(--s2); }
  .forms { grid-template-columns: 1fr; gap: var(--s5); padding: var(--s4); }
  .fl { gap: var(--s2); }
}

/* ── pricing, notes, FAQ, docs, alerts ────────────────────────────────────── */
section { padding: 0; }
#pricing { padding-top: var(--s7); }
main > section:last-child { padding-bottom: var(--s8); }
#pricing h1 { margin-bottom: var(--s2); }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4); margin: var(--s5) 0 var(--s4); }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5);
        box-shadow: var(--shadow); }
.plan h3 { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.plan-premium { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.plan-premium h3 { color: var(--accent); }
.price { font: 700 44px/1.1 var(--font-head); margin: var(--s2) 0 var(--s4); }
.price small { font: 400 15px/1 var(--font); color: var(--text-3); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.ticks li { position: relative; padding-left: 24px; color: var(--text-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px;
                    border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }
.note { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5);
        margin: var(--s6) 0; box-shadow: var(--shadow); }
.note h2 { font-size: 20px; }
.note p { color: var(--text-2); }
.note p:last-child { margin: 0; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; padding: var(--s3) 0; min-height: 48px; font-weight: 600; list-style: none;
          display: flex; align-items: center; gap: var(--s3); transition: color .15s var(--ease); }
summary:hover { color: var(--link); }
summary::-webkit-details-marker { display: none; }
summary::before { content: "+"; flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px;
                  border-radius: 50%; background: var(--panel-2); border: 1px solid var(--line); color: var(--accent);
                  font-weight: 700; transition: transform .2s var(--ease), background-color .2s var(--ease); }
details[open] summary::before { transform: rotate(45deg); background: var(--accent-soft); }
details p { color: var(--text-2); margin: 0 0 var(--s4) 38px; }
.doc { padding: var(--s7) 0 var(--s6); }
.doc h1 { font-size: clamp(30px, 4vw, 38px); }
.doc h2 { font-size: 20px; margin: var(--s6) 0 var(--s2); padding-top: var(--s4); border-top: 1px solid var(--line); }
.doc h1 + h2, .doc p + h2:first-of-type { border-top: 0; padding-top: 0; }
.doc p, .doc li { color: var(--text-2); }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 6px; }
.doc .meta { font-size: 13px; color: var(--text-3); margin-top: calc(-1 * var(--s2)); margin-bottom: var(--s5); }
.doc-art { width: 96px; display: block; margin-bottom: var(--s4); }
.doc details { border-color: var(--line); }
.doc summary { color: var(--text); }
.alert { background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
         border-left: 3px solid var(--accent); color: var(--text); border-radius: var(--r); padding: var(--s3) var(--s4); }
.cards { list-style: none; padding: 0; display: grid; gap: var(--s3); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s4); }

/* ── footer ───────────────────────────────────────────────────────────────── */
footer { flex-shrink: 0; border-top: 1px solid var(--line); background: var(--bg-2); padding: var(--s6) 0 var(--s5); }
.foot { display: grid; gap: var(--s3); }
footer .wordmark { opacity: .8; }
footer nav { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); font-size: 14px; }
footer nav a { color: var(--text-2); text-decoration: none; padding: var(--s1) 0; transition: color .15s var(--ease); }
footer nav a:hover { color: var(--text); text-decoration: underline; }
footer p { margin: 0; line-height: 1.55; max-width: 90ch; }

/* ── rankings ─────────────────────────────────────────────────────────────── */
.rank { width: 100%; border-collapse: collapse; font-size: 15px; }
.rank th { text-align: left; font: 700 11px/1 var(--font); letter-spacing: .1em; text-transform: uppercase;
           color: var(--text-3); background: var(--panel-2); padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); }
.rank td { padding: var(--s3) var(--s4); border-top: 1px solid var(--line); transition: background-color .15s var(--ease); }
.rank tbody tr:first-child td { border-top: 0; }
.rank tbody tr:hover td { background: var(--panel-2); }
.rank .num { text-align: right; font-variant-numeric: tabular-nums; }
.rank-n { color: var(--text-3); width: 3em; font-family: var(--mono); }
.rank tbody tr:nth-child(-n+3) .rank-n { color: var(--accent); font-weight: 700; }
.rank-team { font-weight: 700; }
.rank-reg { color: var(--text-2); }
.rank-elo { font: 700 17px/1 var(--font-head); letter-spacing: .03em; }
.up { color: var(--good); font-family: var(--mono); }
.down { color: var(--accent); font-family: var(--mono); }
@media (max-width: 640px) { .hide-sm { display: none; } .rank td, .rank th { padding: var(--s2) var(--s3); } }

/* ── VLR detail on the match page ─────────────────────────────────────────── */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.veto { margin: 0 var(--s1) var(--s5); color: var(--text-2); line-height: 1.6; }
.veto .kicker { margin-right: var(--s2); }

/* map row: glass tiles over the map banner (from /art.css); ?map=N selects.
   The selected tile is the lens: a brighter fill and an accent edge, no glow. */
.maprow { display: flex; gap: var(--s2); margin: 0 0 var(--s3); overflow-x: auto; scrollbar-width: none;
          scroll-snap-type: x proximity; padding: 3px; margin-inline: -3px; /* room for the focus ring */ }
.maprow::-webkit-scrollbar { display: none; }
.mt { --hue: 220; position: relative; flex: 1 0 168px; min-width: 0; height: 84px; scroll-snap-align: start;
      display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; align-items: end;
      column-gap: var(--s3); padding: var(--s3) var(--s4); border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
      color: var(--text-2); text-decoration: none;
      background: hsl(var(--hue) 30% 20%);
      transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease); }
.mt::before { content: ""; position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat;
              opacity: .5; transform: scale(1.02); transition: opacity .25s var(--ease), transform .4s var(--ease); }
/* the glass over the banner: a translucent fill with the sheen along the top edge */
.mt::after { content: ""; position: absolute; inset: 0; z-index: -1;
             background: var(--sheen),
                         linear-gradient(90deg, color-mix(in srgb, var(--bg) 84%, transparent) 0%,
                                                color-mix(in srgb, var(--bg) 58%, transparent) 55%,
                                                color-mix(in srgb, var(--bg) 40%, transparent) 100%); }
.mt:hover { border-color: var(--glass-hi-2); transform: translateY(-1px); }
.mt:hover::before { opacity: .65; transform: scale(1.05); }
.mt:active { transform: scale(.98); }
.mt[aria-current] { color: var(--text); border-color: color-mix(in srgb, var(--accent) 70%, var(--glass-hi-2));
                    box-shadow: inset 0 1px 0 var(--glass-hi-2), inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent), var(--glass-shadow); }
.mt[aria-current]::before { opacity: .75; }
.mt.won-a { box-shadow: inset 0 1px 0 var(--glass-hi-2), inset 0 -3px 0 var(--team-a), var(--glass-shadow-sm); }
.mt.won-b { box-shadow: inset 0 1px 0 var(--glass-hi-2), inset 0 -3px 0 var(--team-b), var(--glass-shadow-sm); }
.mt.won-a[aria-current] { box-shadow: inset 0 1px 0 var(--glass-hi-2), inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent),
                                      inset 0 -3px 0 var(--team-a), var(--glass-shadow); }
.mt.won-b[aria-current] { box-shadow: inset 0 1px 0 var(--glass-hi-2), inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent),
                                      inset 0 -3px 0 var(--team-b), var(--glass-shadow); }
.mt-n { grid-column: 1 / -1; align-self: start; font: 700 10px/1.2 var(--font); letter-spacing: .1em;
        text-transform: uppercase; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-name { font: 700 22px/1 var(--font-head); letter-spacing: .04em; text-transform: uppercase; color: var(--text);
           white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-score { font: 700 18px/1 var(--font-head); color: var(--text-3); font-variant-numeric: tabular-nums;
            letter-spacing: .02em; white-space: nowrap; }
.mt-score .colon { margin: 0 3px; opacity: .55; }
.mt-score .sa.w { color: var(--team-a); } .mt-score .sb.w { color: var(--team-b); }
.mt-all { --hue: 210; background: var(--glass); flex-basis: 184px; flex-grow: 0; }
.mt-all::after { background: var(--sheen); }
.mt-all .mt-name { font-size: 20px; }
.mt.m-abyss { --hue: 265; } .mt.m-ascent { --hue: 205; } .mt.m-bind { --hue: 25; } .mt.m-breeze { --hue: 175; }
.mt.m-corrode { --hue: 330; } .mt.m-fracture { --hue: 15; } .mt.m-haven { --hue: 45; } .mt.m-icebox { --hue: 190; }
.mt.m-lotus { --hue: 150; } .mt.m-pearl { --hue: 220; } .mt.m-split { --hue: 350; } .mt.m-sunset { --hue: 35; }
@media (max-width: 640px) {
  .maprow { scroll-snap-type: x mandatory; }
  .mt { flex: 0 0 150px; height: 76px; padding: 10px var(--s3); border-radius: var(--r-lg); }
  .mt-all { flex-basis: 150px; }
  .mt-name { font-size: 19px; } .mt-all .mt-name { font-size: 17px; }
  .mt-score { font-size: 16px; }
}

/* round-by-round cards (solid content) */
.mcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: var(--s3); margin: 0 0 var(--s3); }
.mcards.one { grid-template-columns: 1fr; }
.mcards.one .rd { width: 28px; height: 30px; }
.mcards.one .ico { width: 14px; height: 14px; }
.mcards.one .rounds { gap: 4px; padding: var(--s4); }
.mcard { --hue: 220; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
         box-shadow: var(--shadow); }
.mcard.won-a { box-shadow: inset 3px 0 0 var(--team-a), var(--shadow); }
.mcard.won-b { box-shadow: inset 3px 0 0 var(--team-b), var(--shadow); }
.mcard-h { display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
           padding: var(--s3) var(--s4);
           background: linear-gradient(110deg, hsl(var(--hue) 60% 55% / .16), hsl(var(--hue) 60% 55% / .04) 60%, transparent); }
.mcard-n { margin: 0; font: 700 10px/1.2 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.mcard-name { margin: 3px 0 0; font: 700 26px/1 var(--font-head); letter-spacing: .04em; text-transform: uppercase; }
.mcard-score { margin: 0; font: 700 30px/1 var(--font-head); color: var(--text-3); font-variant-numeric: tabular-nums; }
.mcard-score .colon { margin: 0 4px; opacity: .55; }
.mcard-score .sa.w { color: var(--team-a); }
.mcard-score .sb.w { color: var(--team-b); }
.rounds { list-style: none; margin: 0; padding: var(--s3) var(--s4); display: flex; flex-wrap: wrap; gap: 3px;
          border-top: 1px solid var(--line); }
.rd { width: 22px; height: 24px; border-radius: 6px; display: grid; place-items: center;
      transition: transform .15s var(--ease), filter .15s var(--ease); }
.rd:hover { transform: translateY(-2px); filter: brightness(1.25); }
.rd-a { background: color-mix(in srgb, var(--team-a) 20%, transparent); color: var(--team-a); }
.rd-b { background: color-mix(in srgb, var(--team-b) 20%, transparent); color: var(--team-b); }
.rd-break { margin-left: 11px; position: relative; }
.rd-break::before { content: ""; position: absolute; left: -8px; top: 3px; bottom: 3px; width: 2px;
                    border-radius: 1px; background: var(--line-2); }
.ico { width: 12px; height: 12px; }
.mcard-sides { display: flex; justify-content: space-between; gap: var(--s3); margin: 0; padding: 0 var(--s4) var(--s3);
               font-size: 12px; color: var(--text-3); }
.mcard-sides b { color: var(--text); font-family: var(--mono); font-weight: 600; }
.mcard-sides .sep { margin: 0 5px; opacity: .6; }
.mcard-sides .who { font: 700 11px/1 var(--font-head); letter-spacing: .06em; text-transform: uppercase; }
.mcard-sides .ta .who { color: var(--team-a); margin-right: 8px; }
.mcard-sides .tb .who { color: var(--team-b); margin-left: 8px; }
.mcard.m-abyss { --hue: 265; } .mcard.m-ascent { --hue: 205; } .mcard.m-bind { --hue: 25; } .mcard.m-breeze { --hue: 175; } .mcard.m-corrode { --hue: 330; } .mcard.m-fracture { --hue: 15; } .mcard.m-haven { --hue: 45; } .mcard.m-icebox { --hue: 190; } .mcard.m-lotus { --hue: 150; } .mcard.m-pearl { --hue: 220; } .mcard.m-split { --hue: 350; } .mcard.m-sunset { --hue: 35; }

/* PandaScore-only map list (no VLR detail yet) */
.maps { list-style: none; margin: 0; padding: 0; }
.map { display: grid; grid-template-columns: 64px 1fr auto; gap: var(--s3); padding: var(--s3) var(--s4); align-items: center; }
.map + .map { border-top: 1px solid var(--line); }
.map-n { font: 700 10px/1.2 var(--font); color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; }
.map-name { font: 700 18px/1 var(--font-head); text-transform: uppercase; letter-spacing: .04em; }
.map-res { font-size: 13px; color: var(--text-2); }
.rosters { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
@media (max-width: 640px) { .rosters { grid-template-columns: 1fr; } }
.rosters .panel { margin: 0; }
.roster-a .panel-h { box-shadow: inset 3px 0 0 var(--team-a); }
.roster-b .panel-h { box-shadow: inset 3px 0 0 var(--team-b); }
.players { list-style: none; margin: 0; padding: 0; }
.players li { display: flex; align-items: baseline; gap: var(--s2); padding: 10px var(--s4); }
.players li + li { border-top: 1px solid var(--line); }
.nick { font-weight: 700; }
.real { color: var(--text-3); font-size: 13px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc { font: 600 11px/1 var(--mono); color: var(--text-3); }

/* agent chips: the icon (from /art.css) sits on a role-coloured tile; initials show if it can't load */
.ag { --role: var(--text-3); position: relative; flex: none; display: inline-grid; place-items: center;
      width: 32px; height: 32px; border-radius: 9px; overflow: hidden;
      background: color-mix(in srgb, var(--role) 18%, var(--panel-2));
      box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--role) 50%, transparent); }
/* The icon is a background on ::after: if it can't load, nothing shows and the
   initials underneath stay visible (an <img> would show a broken-image glyph). */
.ag::after { content: ""; position: absolute; inset: 0; background: center / cover no-repeat; }
.ag-ini { font: 700 11px/1 var(--font-head); letter-spacing: .04em; color: var(--role); }
.ag-lg { width: 60px; height: 60px; border-radius: 16px; }
.ag-lg .ag-ini { font-size: 19px; }
.ag-xs { width: 18px; height: 18px; border-radius: 5px; }
.ag-xs .ag-ini { font-size: 8px; }
.ag-duelist { --role: #ff7a45; } .ag-initiator { --role: #3fd08a; }
.ag-controller { --role: #a78bfa; } .ag-sentinel { --role: #38bdf8; }

/* highlight cards: glass, with the team colour as a bar on the left edge */
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); margin: 0 0 var(--s4); }
@media (max-width: 760px) { .highlights { grid-template-columns: 1fr; } }
.hl { --t: var(--team-a); display: flex; align-items: center; gap: var(--s4); padding: var(--s4) var(--s4) var(--s4) 20px;
      border-radius: var(--r-lg); overflow: hidden;
      box-shadow: inset 3px 0 0 var(--t), inset 0 1px 0 var(--glass-hi-2), inset 0 -1px 0 var(--glass-lo), var(--glass-shadow); }
.hl-b { --t: var(--team-b); }
.hl p { margin: 0; }
.hl-body { min-width: 0; }
.hl-label { font: 700 10px/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.hl-name { font: 700 24px/1.1 var(--font-head); letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.hl-val { font-size: 13px; color: var(--text-3); }
.hl-val b { color: var(--text-2); font-weight: 600; }

/* ── scoreboard (solid) ───────────────────────────────────────────────────── */
.tabs-sm { padding: 3px; flex-wrap: wrap; }
.tabs-sm a { padding: 6px var(--s3); font-size: 13px; }
.panel-h:has(.tabs-sm) { align-items: center; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.board-wrap { overflow-x: auto; scrollbar-width: none; }
.board-wrap::-webkit-scrollbar { display: none; }
.board-wrap + .board-wrap { border-top: 1px solid var(--line); }
.board { width: 100%; min-width: 360px; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
/* fixed widths so both teams' tables line up column for column */
.c-ag { width: 58px; } .c-nick { width: auto; } .c-r { width: 76px; } .c-acs { width: 68px; } .c-n { width: 52px; }
.c-pm { width: 60px; } .c-x { width: 72px; } .c-kda { width: 124px; }
.board th { text-align: left; font: 700 10px/1 var(--font); letter-spacing: .1em; text-transform: uppercase;
            color: var(--text-3); background: var(--panel-2); padding: 10px var(--s3); white-space: nowrap; }
.board th.bteam { color: var(--text); font: 700 15px/1 var(--font-head); letter-spacing: .06em; padding-left: 18px; }
.board th.bteam > * { vertical-align: middle; }
.board th.bteam .logo { width: 22px; height: 22px; margin-right: 10px; }
.bavg { margin-left: var(--s3); font: 600 11px/1 var(--mono); color: var(--text-3); letter-spacing: 0; text-transform: none; }
.board-a th.bteam { box-shadow: inset 3px 0 0 var(--team-a); }
.board-b th.bteam { box-shadow: inset 3px 0 0 var(--team-b); }
.board td { padding: 7px var(--s3); border-top: 1px solid var(--line); white-space: nowrap; vertical-align: middle;
            transition: background-color .15s var(--ease); }
.board .num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--mono); }
.board tbody tr:hover td { background: var(--panel-2); }
.agcell { width: 58px; padding-right: 0 !important; padding-left: 14px !important; }
.agcell .avatar, .agcell .ag { vertical-align: middle; }
.agcell .avatar { width: 34px; height: 34px; }
.board .nick { font-weight: 700; }
.nick-in { display: block; line-height: 1.25; }
.played { display: flex; gap: 3px; margin-top: 4px; }
tr.is-mvp td { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.mvp { display: inline-block; margin-left: 6px; padding: 3px 6px; border-radius: var(--r-round); vertical-align: 1px;
       font: 700 10px/1 var(--font); letter-spacing: .08em; background: var(--accent); color: var(--accent-ink); }
.rt { display: inline-block; min-width: 46px; padding: 4px 6px; border-radius: var(--r-round); text-align: center; font-weight: 700; }
.rt-elite { background: var(--accent); color: var(--accent-ink); }
.rt-good { background: color-mix(in srgb, var(--good) 18%, transparent); color: var(--good); }
.rt-avg { color: var(--text); }
.rt-cold, .rt-na { color: var(--text-3); }
/* ACS is a plain number; the team's top scorer is emphasised, nothing else */
.board .acs { color: var(--text-2); }
.board .acs-top { color: var(--text); font-weight: 700; }
@media (max-width: 640px) {
  .board { table-layout: auto; min-width: 0; }  /* phone: some columns hidden; let them size */
  .board td, .board th { padding: 7px 6px; }
  .board .nick { max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
  .board th.bteam .bavg { display: none; }
  .board th.bteam { font-size: 13px; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
  .agcell { width: 44px; padding-left: 10px !important; }
  .agcell .avatar { width: 30px; height: 30px; }
  .rt { min-width: 0; padding: 3px 4px; }
}

/* ── players ──────────────────────────────────────────────────────────────── */
.page-sub { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); margin: 0 0 var(--s4); }
.page-sub .small { margin: 0; }
.page-sub-l { display: flex; flex-wrap: wrap; gap: var(--s2); }
.sortbar { margin: 0 0 var(--s3); }
.table-wrap { overflow-x: auto; scrollbar-width: none; }
.table-wrap::-webkit-scrollbar { display: none; }
.ptable th a.sort { color: inherit; text-decoration: none; }
.ptable th a.sort:hover, .ptable th a.sort.on { color: var(--accent); }
.plink { color: var(--text); text-decoration: none; }
.plink:hover { color: var(--accent); }
.pcell .plink { display: grid; line-height: 1.25; }
.pname { font-weight: 700; }
.pteam { font-size: 12px; color: var(--text-3); }
.apool { display: inline-flex; gap: 4px; }
.apool .ag { width: 26px; height: 26px; border-radius: 7px; }
.acell { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; }
.mapname { font: 700 15px/1 var(--font-head); letter-spacing: .04em; text-transform: uppercase; }

/* player photos: initials underneath, the photo covers them when it loads */
.avatar { position: relative; flex: none; display: inline-grid; place-items: center; overflow: hidden;
          width: 34px; height: 34px; border-radius: 50%; background: var(--panel-2);
          box-shadow: inset 0 0 0 1px var(--line-2); }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.av-ini { font: 700 12px/1 var(--font-head); letter-spacing: .04em; color: var(--text-3); }
/* No photo on PandaScore: the player's main agent fills the avatar (a role-coloured tile if the
   icon fails). Icons are transparent, so the initials underneath are hidden, not layered. */
.avatar .av-ag { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; box-shadow: none; }
.avatar .av-ag + .av-ini { position: relative; z-index: 1; opacity: 0; }
.av-lg { width: 96px; height: 96px; border-radius: 24px; }
.av-lg .av-ini { font-size: 30px; }
.av-xl { width: 88px; height: 88px; border-radius: 22px; }
.av-xl .av-ini { font-size: 28px; }
.prow { display: flex !important; align-items: center; gap: var(--s3); }
.pwho { display: grid; line-height: 1.25; }

/* player cards (solid content) */
.pgrid { list-style: none; margin: 0 0 var(--s4); padding: 0; display: grid; gap: var(--s3);
         grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.pcard { position: relative; display: grid; justify-items: center; gap: 6px; padding: var(--s5) var(--s4) var(--s4);
         background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg);
         color: var(--text); text-decoration: none; text-align: center; box-shadow: var(--shadow);
         transition: transform .15s var(--ease), border-color .15s var(--ease), box-shadow .15s var(--ease); }
.pcard:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: var(--shadow-up); }
.pcard:active { transform: scale(.98); }
.pc-rank { position: absolute; top: var(--s3); left: var(--s3); font: 700 13px/1 var(--mono); color: var(--text-3); }
li:nth-child(-n+3) .pc-rank { color: var(--accent); }
.pcard .avatar { margin-bottom: var(--s2); }
.pc-name { font: 700 22px/1.1 var(--font-head); letter-spacing: .02em; max-width: 100%;
           overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-team { font-size: 13px; color: var(--text-3); margin-top: -4px; }
.pc-rating { margin: var(--s2) 0 2px; font-size: 16px; min-width: 60px; }
.pc-stats { display: flex; gap: var(--s4); font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.pc-stats span { display: grid; justify-items: center; gap: 2px; }
.pc-stats b { font: 700 16px/1 var(--mono); color: var(--text); letter-spacing: 0; }
.pcard .apool { margin-top: var(--s2); }
@media (max-width: 640px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
  .pcard { padding: var(--s4) var(--s2) var(--s3); } .av-lg { width: 72px; height: 72px; border-radius: 18px; }
  .pc-name { font-size: 18px; } .pc-stats { gap: var(--s3); } }

/* results pager */
.pager { display: flex; gap: var(--s3); margin: var(--s4) 0; }
.pager .older { margin-left: auto; }

/* player page */
.phead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s5); }
.phead-main { display: flex; align-items: center; gap: var(--s4); }
.phead .muted { margin: 0; }
.pname-h { margin: 0; font-size: clamp(30px, 5vw, 44px); }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: var(--s2); margin: 0 0 var(--s4); }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s3) var(--s4);
       box-shadow: var(--shadow); }
.kpi p { margin: 0; }
.kpi-l { font: 700 11px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.kpi-v { margin-top: 6px !important; font: 700 26px/1 var(--font-head); font-variant-numeric: tabular-nums; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.recent { list-style: none; margin: 0; padding: 0; }
.rm { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: var(--s3);
      padding: var(--s2) var(--s4); border-top: 1px solid var(--line); }
.rm:first-child { border-top: 0; }
.rm-w { box-shadow: inset 3px 0 0 var(--good); }
.rm-l { box-shadow: inset 3px 0 0 var(--line-2); }
.rm-main { display: grid; min-width: 0; line-height: 1.3; }
.rm-top { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rm-kda { font-family: var(--mono); font-size: 13px; color: var(--text-2); }
.rm-main .small { white-space: nowrap; }
.board .plink { font-weight: 700; }
@media (max-width: 640px) { .rm { gap: var(--s2); padding: var(--s2) var(--s3); } .rm-kda { font-size: 12px; } }

/* ── fallbacks: no backdrop-filter, reduced transparency, reduced motion ──── */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --glass: var(--panel); --glass-2: var(--panel-2); --glass-lens: color-mix(in srgb, var(--text) 14%, var(--panel-2)); }
  .mt-all { background: var(--panel); }
}
@media (prefers-reduced-transparency: reduce) {
  :root { --glass: var(--panel); --glass-2: var(--panel-2); --glass-lens: color-mix(in srgb, var(--text) 14%, var(--panel-2)); }
  .nav, .tabs, .btn-quiet, .hl, .pct, .tag-final, .mt, .mt-all { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .mt-all { background: var(--panel); }
  .mt::after { background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 92%, transparent), color-mix(in srgb, var(--bg) 70%, transparent)); }
  body::before { background: var(--bg); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .btn:active, .tabs a:active, .links a:active, .mt:active, .pcard:active, .pcard:hover, .mt:hover { transform: none; }
}

/* ══ Apple-like layer (2026-09-25) ═════════════════════════════════════════════
   Calm, spacious and quiet: sentence case instead of condensed capitals, the system
   face, tabular figures, white cards on a near-white page, hairline separators, one
   accent. It comes last so it wins over the component rules above. */
body { font-size: 15px; line-height: 1.47; letter-spacing: -.01em; background: var(--bg); }
h1, h2, h3, .kicker, .day, .panel-h h2, h2.panel-h, .mfinal, .pct-who, .big.vs, .pm-name,
.vs-n, .plan h3, .rank th, .mt-n, .mt-name, .mcard-n, .mcard-name, .mcard-sides .who, .map-n,
.map-name, .hl-label, .board th, .mapname, .pc-stats, .kpi-l, .vname, .wordmark, .links a,
.tabs a, .tag-final, .fmt {
  text-transform: none; letter-spacing: -.01em; font-family: var(--font-head);
}
h1 { font-size: clamp(30px, 4.5vw, 44px); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; }
h2 { font-weight: 600; }
.kicker, .day, .kpi-l, .hl-label, .mt-n, .vs-n, .rank th, .board th, .map-n, .mcard-n {
  font-size: 12px; font-weight: 600; color: var(--text-3); letter-spacing: 0;
}
.num, .mtime, .tscore, .pct, .acs, .rt, .fl-score, .fl-elo, .kpi-v, .pm-p, .elo-now b,
.vscore, .big, .sa, .sb { font-family: var(--font); font-variant-numeric: tabular-nums; }

/* navigation: a translucent bar, plain text links; the current page is just darker */
.nav { background: rgba(233, 233, 238, .82); -webkit-backdrop-filter: saturate(180%) blur(20px);
       backdrop-filter: saturate(180%) blur(20px); border: 0; border-bottom: 1px solid rgba(0, 0, 0, .08);
       box-shadow: none; }
@media (min-width: 641px) { .nav .wrap { height: 52px; } }
@media (max-width: 640px) {
  /* phone: logo on top, the links in one row that scrolls sideways (no wrapping) */
  .links { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 0; margin: 0 calc(-1 * var(--s2)); }
  .links a { flex: none; height: 36px; font-size: 14px; }
}
.wordmark { font-size: 17px; font-weight: 600; }
.links a { height: 32px; padding: 0 10px; font-size: 13px; font-weight: 400; color: var(--text-2);
           background: none; border-radius: 0; box-shadow: none; }
.links a:hover { background: none; color: var(--text); }
.links a[aria-current] { background: none; box-shadow: none; color: var(--text); font-weight: 600; }
.links a[aria-current]::after, .links a::before { content: none; }
.nav .btn-sm { min-height: 30px; font-size: 13px; }

/* segmented control: a grey track, the selected item a white thumb */
.tabs { background: rgba(118, 118, 128, .12); border: 0; box-shadow: none; padding: 2px; border-radius: 9px; gap: 0; }
.tabs::before { content: none; }
.tabs a { padding: 5px 14px; border-radius: 7px; font-size: 13px; font-weight: 500; color: var(--text); }
.tabs a:hover { background: none; }
.tabs a[aria-current] { background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .1), 0 0 0 .5px rgba(0, 0, 0, .04); }
.tabs a[aria-current]::after { content: none; }

/* surfaces: white cards, no border, barely any shadow */
.panel { background: var(--panel); border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.panel-h { border-bottom: 1px solid var(--line); background: none; }
.panel-h h2, h2.panel-h { font-size: 17px; font-weight: 600; color: var(--text); }
.panel-h a { color: var(--link); font-size: 14px; }
.page-head h1 { margin: var(--s6) 0 var(--s4); }

/* match lists: day labels are quiet grey text, rows are separated by hairlines */
.day, h2.panel-h[data-day-h] { background: none; color: var(--text-3); font-size: 13px; font-weight: 600; }
.mrow { border-color: var(--line); }
.mrow:hover { background: var(--row-hover, rgba(0, 0, 0, .025)); }
.mtime { color: var(--text-2); font-weight: 500; }
.mfinal { font-size: 12px; font-weight: 500; color: var(--text-3); }
.tname { font-weight: 500; }
.mteam.won .tname, .mteam.won .tscore { font-weight: 700; color: var(--text); }
.fmt { font-size: 12px; color: var(--text-3); background: none; border: 0; }
.pct { background: var(--panel-2); border: 0; box-shadow: none; }
.tag-final { background: var(--panel-2); border: 0; color: var(--text-2); font-weight: 600; }

/* buttons: pills; primary is the one blue */
.btn { border-radius: var(--r-round); font-weight: 500; box-shadow: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary::before, .btn-quiet::before, .hl::before { content: none; }
.btn-quiet { background: rgba(0, 0, 0, .05); border: 0; color: var(--text); }

/* match header */
.vname { font-size: 21px; font-weight: 600; color: var(--text); text-decoration: none; }
a.vname:hover { color: var(--link); }

/* map row: the map's art sits on the right of each tab, fading out under the text */
.mt { border-radius: var(--r); box-shadow: none; }
.mt::before { background-position: right center; background-size: cover; opacity: 1; }
.mt::after { background: linear-gradient(90deg, var(--panel) 30%, color-mix(in srgb, var(--panel) 55%, transparent) 60%, transparent); }
.mt-name { font-size: 20px; font-weight: 700; color: var(--text); }

/* team links in lists */
.rank-team a, .tname a, .fl-opp a { color: inherit; text-decoration: none; }
.rank-team a:hover, .fl-opp a:hover { color: var(--link); }
.up { color: var(--good); } .down { color: var(--bad); }

/* teams grid and team page */
.tgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4);
         grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.tcard { display: grid; gap: 4px; padding: var(--s5); border-radius: var(--r-lg); background: var(--panel);
         box-shadow: var(--shadow); color: var(--text); text-decoration: none; height: 100%;
         transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.tcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-up); }
.tcard-logo { width: 56px; height: 56px; margin-bottom: var(--s3); }
.tcard-name { font: 600 19px/1.2 var(--font-head); letter-spacing: -.015em; }
.tcard-meta, .tcard-rec, .tcard-five { font-size: 13px; color: var(--text-3); }
.tcard-elo { font-size: 15px; color: var(--text-2); margin-top: var(--s2); }
.tcard-elo b { font-size: 22px; color: var(--text); font-variant-numeric: tabular-nums; }
.tcard-five { margin-top: var(--s2); line-height: 1.4; }
.muted { color: var(--text-3); }
.thead { display: flex; align-items: center; gap: var(--s5); padding: var(--s6); margin-top: var(--s5); }
.thead-logo { width: 88px; height: 88px; }
.thead-main { flex: 1; min-width: 0; }
.thead-main h1 { margin: 0 0 6px; }
.thead-main p { margin: 0; }
.thead-elo { display: grid; justify-items: end; gap: 2px; }
.thead-elo .kpi-v { font-size: 40px; font-weight: 700; letter-spacing: -.02em; }
.five { list-style: none; margin: 0; padding: var(--s5); display: grid; gap: var(--s4);
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
.five-p { display: grid; justify-items: center; gap: var(--s2); color: var(--text); text-decoration: none; }
.five-p:hover .five-name { color: var(--link); }
.five-name { font-weight: 600; }
.pad { padding: 0 var(--s5) var(--s4); }
.pad:first-child { padding-top: var(--s4); }
.maps-table td:first-child { font-weight: 500; }
@media (max-width: 640px) {
  .thead { flex-wrap: wrap; padding: var(--s5); gap: var(--s4); }
  .thead-logo { width: 64px; height: 64px; }
  .thead-elo { justify-items: start; }
}

/* quiet the remaining decoration: no stripes, bars or coloured edges */
.featured { border: 0; }
.featured::before, .mhead::before, .vteam::after { content: none; }
.featured-h h2 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.fg-l { background: color-mix(in srgb, var(--bad) 10%, var(--panel-2)); color: var(--bad); }
.fg-w { background: color-mix(in srgb, var(--good) 12%, var(--panel-2)); color: var(--good); }
.fg { border: 0; font-weight: 600; }
.hl { background: var(--panel); border: 0; box-shadow: var(--shadow); padding-left: var(--s4); }
.hl::after { content: none; }
.pad-top { padding-top: var(--s3); }

/* map veto board: tiles carry the map art (.vt.m-<map>::before from /art.css) */
.vboard { margin: var(--s4) 0 var(--s3); padding-top: var(--s4); border-top: 1px solid var(--line); }
.vboard h3 { font: 600 17px/1.3 var(--font-head); letter-spacing: -.01em; margin: 0; }
.vboard-h .small { margin: 2px 0 0; }
.vtiles, .vpool { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: var(--s2);
                  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
.vt { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: end; gap: 3px;
      min-height: 112px; padding: var(--s3); border-radius: var(--r); background: #2c2c2e; color: #fff;
      text-decoration: none; }
.vt::before { content: ""; position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat; }
.vt::after { content: ""; position: absolute; inset: 0; z-index: -1;
             background: linear-gradient(180deg, rgba(0, 0, 0, .05) 20%, rgba(0, 0, 0, .7)); }
.vt-tag { font-size: 11px; font-weight: 600; opacity: .85; }
.vt-name { font: 700 17px/1.15 var(--font-head); letter-spacing: -.01em; }
.vt-ban { color: rgba(255, 255, 255, .7); }
.vt-ban::before { filter: grayscale(1) brightness(.55); }
.vt-ban .vt-name { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.vt-decider { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85); }
.vt-bar { position: relative; display: flex; justify-content: space-between; gap: 4px; margin-top: 4px;
          padding-top: 8px; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.vt-bar::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 2px;
                  background: linear-gradient(90deg, var(--team-a) var(--w), var(--team-b) var(--w)); }
.vmine { margin-top: 0; }
.vboard-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s3); }
.vtab-note { margin: var(--s2) 0 0; }
#veto { scroll-margin-top: 130px; }  /* clears the sticky nav when a tab or pick jumps here */
.vmine > .small { margin: 2px 0 0; }
.vslots { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: var(--s2);
          grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.vslot { display: grid; align-content: start; gap: 2px; min-height: 68px; padding: var(--s3);
         border-radius: var(--r); border: 1.5px dashed var(--line-2); }
.vslot.filled { border: 1.5px solid transparent; background: var(--panel-2); }
.vslot-map { font-weight: 600; }
.vslot-x { justify-self: start; font-size: 12px; color: var(--link); text-decoration: none; }
.vslot-empty { font-size: 14px; color: var(--text-3); }
.vt-pool { min-height: 76px; transition: transform .15s var(--ease), opacity .15s; }
a.vt-pool:hover { transform: translateY(-2px); }
.vt-used { opacity: .35; }
.vmine .pred-bar { margin: var(--s3) 0 var(--s2); }
.vmine .small a { color: var(--link); }
.vmine > .small:last-child { margin-top: var(--s3); }

/* grey page: the footer sits on a slightly darker band */
footer { background: var(--bg-2); border-top: 0; }
.panel, .tcard, .hl { box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 12px rgba(0, 0, 0, .03); }

/* rating chips: blue elite, green good, yellow average, red below */
.rt-elite { background: rgba(0, 113, 227, .14); color: #0058b0; }
.rt-good { background: rgba(36, 138, 61, .14); color: #1d7a34; }
.rt-avg { background: rgba(255, 204, 0, .22); color: #8a6d00; }
.rt-cold { background: rgba(215, 0, 21, .1); color: #c1121f; }
.rt-na { background: none; color: var(--text-3); }

/* K/D/A in one column */
.kda { white-space: nowrap; }
.kda b { font-weight: 600; }
.kda .sl { margin: 0 3px; color: var(--text-3); }
.kda-h { white-space: nowrap; }

/* veto board: the whole pool in ONE row in veto order (equal columns); below 900px the
   row scrolls sideways instead of wrapping. No numbers on pool tiles; motion for tap and drag. */
.vtiles, .vpool { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
                  grid-template-columns: none; }
.vtiles > li, .vpool > li { min-width: 0; display: grid; }
.vtiles .vt-name, .vpool .vt-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview > *, .pred, .vboard, .vmine { min-width: 0; }  /* the row scrolls; the panel never widens */
.vt-bar > span { white-space: nowrap; }
@media (max-width: 900px) {
  .vtiles, .vpool { grid-auto-columns: minmax(136px, 1fr); overflow-x: auto; scroll-snap-type: x proximity;
                    scrollbar-width: none; }
  .vtiles::-webkit-scrollbar, .vpool::-webkit-scrollbar { display: none; }
  .vtiles > li, .vpool > li { scroll-snap-align: start; }
}
.vpool .vt { cursor: pointer; user-select: none; -webkit-user-select: none; }
.vpool .vt.dragging { opacity: .4; }
.vslot { transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.vslot.over { border-color: var(--accent); background: var(--accent-soft); transform: scale(1.02); }
.vslot-pop { animation: vslot-pop .35s var(--ease); }
@keyframes vslot-pop { 0% { transform: scale(.96); } 60% { transform: scale(1.03); } 100% { transform: scale(1); } }
.vt-ghost { position: fixed; z-index: 50; margin: 0; pointer-events: none; transform-origin: 0 0;
            transition: transform .3s var(--ease), opacity .3s ease-in; }
.vresult.is-empty { display: none; }
.vt-used { opacity: .3; cursor: default; }
@media (prefers-reduced-motion: reduce) { .vslot, .vt-ghost, .vslot-pop { transition: none; animation: none; } }

/* match page tabs and the Maps tab */
.mtabs { margin: var(--s4) 0; }
.mlist-maps { list-style: none; margin: 0; padding: 0; }
.mrow-map { display: grid; grid-template-columns: 180px 1fr; gap: var(--s4); padding: var(--s4) var(--s5);
            border-top: 1px solid var(--line); }
.mrow-map:first-child { border-top: 0; }
.mm-art { min-height: 96px; }
.mm-body { display: grid; gap: var(--s3); min-width: 0; }
.mm-bar { position: relative; display: flex; justify-content: space-between; padding-top: 10px;
          font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mm-bar::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 3px;
                  background: linear-gradient(90deg, var(--team-a) var(--w), var(--team-b) var(--w)); }
.mm-bar span:first-child { color: var(--team-a); } .mm-bar span:last-child { color: var(--team-b); }
.mm-hist { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.mm-team .kicker { margin: 0 0 6px; }
.mm-games { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fg-row { display: grid; grid-template-columns: 22px 44px 1fr auto; align-items: center; gap: var(--s2); font-size: 13px; }
.fg-row .fg { width: 22px; height: 22px; font-size: 11px; }
.mm-score { font-weight: 600; font-variant-numeric: tabular-nums; }
.mm-opp { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.mm-opp a { color: inherit; text-decoration: none; } .mm-opp a:hover { color: var(--link); }
.mm-when { color: var(--text-3); white-space: nowrap; }
@media (max-width: 640px) {
  .mrow-map { grid-template-columns: 1fr; padding: var(--s4); }
  .mm-art { min-height: 72px; }
  .mm-hist { grid-template-columns: 1fr; }
}

/* rosters: photo (or main agent), name, real name, flag image on the right */
.players li { display: flex; align-items: center; gap: 10px; }
.players .avatar { width: 34px; height: 34px; }
.players .flag { margin-left: auto; width: 20px; height: 15px; object-fit: cover; border-radius: 2px;
                 box-shadow: 0 0 0 .5px rgba(0, 0, 0, .15); }
.players .cc { margin-left: auto; }

/* light logos (yellow/white art) sit on a dark rounded chip so they stay visible */

/* backdrop: a Valorant map scene, heavily blurred and faded, behind everything. The glass
   nav picks up its colour; the white cards stay fully legible. Off for reduced transparency. */
.bgart { position: fixed; inset: -80px; z-index: -1; pointer-events: none;
         background: center / cover no-repeat; filter: blur(48px) saturate(1.3); opacity: .38; }
.bgart::after { content: ""; position: absolute; inset: 0;
                background: linear-gradient(180deg, transparent 0%, var(--bg) 85%); }
@media (prefers-reduced-transparency: reduce) { .bgart { display: none; } }
body { background: transparent; }  /* html paints --bg; the .bgart backdrop sits between */
.roster-a .panel-h, .roster-b .panel-h { box-shadow: none; }  /* no side stripes on roster cards */

/* search: the nav box (+ suggestions from site.js) and the /search page */
.nsearch { position: relative; flex: 0 1 220px; min-width: 0; margin: 0; }
.nsearch input, .sform input { width: 100%; height: 34px; padding: 0 12px 0 32px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel-2) no-repeat 11px 50% / 14px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='7' cy='7' r='5' fill='none' stroke='%23888' stroke-width='2'/%3E%3Cpath d='M11 11l4 4' stroke='%23888' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  color: var(--text); font: inherit; font-size: 14px; }
.nsearch input:focus, .sform input:focus { outline: 2px solid var(--accent); outline-offset: 1px; background-color: var(--panel); }
.nsugg { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; min-width: 240px; list-style: none;
  margin: 0; padding: 6px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .14); }
.nsugg a { display: grid; gap: 1px; padding: 8px 10px; border-radius: 8px; color: var(--text); text-decoration: none; }
.nsugg a:hover, .nsugg a.on { background: var(--panel-2); }
.ns-l { font-weight: 600; font-size: 14px; }
.ns-s { font-size: 12px; color: var(--text-3); }
.sform { display: flex; gap: var(--s2); margin: var(--s3) 0 var(--s4); }
.sform input { height: 42px; font-size: 16px; }
.shits { list-style: none; margin: 0; padding: 0; }
.shits li + li { border-top: 1px solid var(--line); }
.shit { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); padding: 12px var(--s4);
  color: var(--text); text-decoration: none; }
.shit:hover { background: var(--panel-2); }
.shit-l { font-weight: 600; }
.shit-s { font-size: 13px; color: var(--text-3); }
@media (max-width: 760px) { .nsearch { flex-basis: 150px; } .nsugg { left: auto; right: 0; min-width: 0; width: min(calc(100vw - 32px), 320px); } }

/* head to head on the match page (scores from the left team's side) */
.h2h { padding: var(--s4) var(--s5); border-top: 1px solid var(--line); }
.h2h-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s2) var(--s4); }
.h2h-h .kicker { margin: 0; }
.h2h-tot { display: flex; align-items: baseline; gap: 6px; margin: 0; font-size: 14px; color: var(--text-2); }
.h2h-tot b { font-size: 22px; color: var(--text); font-variant-numeric: tabular-nums; }
.h2h-tot .lead b { color: var(--good); }
.h2h-tot .small { margin-left: var(--s3); }
.h2h-list { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; }
.h2h-row { display: grid; grid-template-columns: 88px 52px 40px minmax(0, 1fr); align-items: center; gap: var(--s3);
  padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.h2h-row:first-child { border-top: 0; }
.h2h-win { font-weight: 700; font-size: 13px; }
.h2h-win.wa, .h2h-map.wa { color: var(--team-a); }
.h2h-win.wb, .h2h-map.wb { color: var(--team-b); }
.h2h-score { font-weight: 600; font-variant-numeric: tabular-nums; }
.h2h-maps { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; font-variant-numeric: tabular-nums; }
.h2h-map .hm-n { color: var(--text-2); }
@media (max-width: 640px) { .h2h { padding: var(--s4); }
  .h2h-row { grid-template-columns: 76px 44px 34px; } .h2h-maps { grid-column: 1 / -1; } }

/* event pages: /event/<id> header, standings, results list; /events index; event labels */
.ehead { padding: var(--s6); margin-top: var(--s5); }
.ehead .kicker { margin: 0 0 var(--s2); }
.ehead .kicker a { color: inherit; text-decoration: none; }
.ehead .kicker a:hover { color: var(--link); }
.ehead h1 { margin: 0 0 6px; }
.ehead .muted { margin: 0; }
.estage { margin: 0; padding: var(--s4) var(--s5) var(--s2); font-size: 13px; letter-spacing: .08em;
          text-transform: uppercase; color: var(--text-2); }
.etable .rank-team a { color: inherit; text-decoration: none; }
.etable .rank-team a:hover, .eres-t a:hover { color: var(--link); }
.etable .pcell .small { font-weight: 400; }
.eres { list-style: none; margin: 0; padding: var(--s2) var(--s5) var(--s4); display: grid; }
.eres-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
            gap: var(--s3); padding: var(--s2) 0; font-size: 14px; border-top: 1px solid var(--line); }
.eres-row:first-child { border-top: 0; }
.eres-date { display: grid; line-height: 1.3; font-variant-numeric: tabular-nums; }
.eres-st { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eres-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.eres-t.won { color: var(--text); font-weight: 700; }
.eres-t a { color: inherit; text-decoration: none; }
.eres-b { text-align: right; }
.eres-score { font: 600 13px/1 var(--mono); color: var(--text-2); font-variant-numeric: tabular-nums; }
.fl-ev { display: block; font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; }
.fl-opp a.fl-ev { color: var(--text-3); }
.fl-opp a.fl-ev:hover, .mhead-event a.elink:hover { color: var(--link); }
.mhead-event a.elink { text-decoration: none; }
@media (max-width: 640px) {
  .ehead { padding: var(--s5) var(--s4); }
  .eres { padding: var(--s2) var(--s4) var(--s3); }
  .eres-row { grid-template-columns: 72px minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--s2); }
}

/* live round-by-round (scraper → /admin/live) */
.livep { padding-bottom: var(--s3); }
.livep .panel-h h2 { display: flex; align-items: center; gap: var(--s2); }
.livep-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s4);
  padding: var(--s3) var(--s5); font-weight: 700; }
.livep-score .ta { justify-self: end; } .livep-score .tb { justify-self: start; }
.livep-score .big { font-size: 40px; font-variant-numeric: tabular-nums; }
.livep-score .w { color: var(--good); }
.lside { font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--text-3); letter-spacing: .06em; }
.livep .rounds { padding: 0 var(--s5); }
.livep-maps { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s3) var(--s5) 0; padding: 0; font-size: 13px; }
.livep-maps li { padding: 4px 10px; border-radius: 999px; background: var(--panel-2); font-variant-numeric: tabular-nums; }
.livep-maps li span { font-weight: 600; }
.livep-maps .now { box-shadow: inset 0 0 0 1.5px var(--live); }
.livep-maps .next { color: var(--text-3); }
.livep-note { margin: var(--s3) var(--s5) 0; }
@media (max-width: 640px) { .livep-score, .livep .rounds, .livep-note { padding-inline: var(--s4); } .livep-maps, .livep-note { margin-inline: var(--s4); } }

/* follow teams */
.follow { margin-top: var(--s2); }
.follow.on { background: var(--accent-soft); color: var(--accent); }
.myteams .mt-names { max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.myteams .mt-empty { margin: 0; padding: var(--s4); }

/* theme toggle (a link to /theme; the choice is a cookie, rendered server-side) */
.themetog { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 999px;
  color: var(--text-2); }
.themetog:hover { background: var(--panel-2); color: var(--text); }
.themetog svg { width: 18px; height: 18px; }

/* dark theme: the redesign's light-only surfaces (nav glass, selected tab) */
:root[data-theme="dark"] .nav { background: color-mix(in srgb, var(--bg) 82%, transparent); border-color: var(--line); }
:root[data-theme="dark"] .links a { color: var(--text-2); }
:root[data-theme="dark"] .links a[aria-current], :root[data-theme="dark"] .links a:hover { color: var(--text); }
:root[data-theme="dark"] .tabs a[aria-current] { background: var(--panel-2); color: var(--text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 0 0 .5px rgba(255, 255, 255, .08); }
:root[data-theme="dark"] .nsearch input { background-color: var(--panel-2); border-color: var(--line); }

/* phones: the section links move to a bottom tab bar (thumb reach); top keeps logo,
   search and the theme switch. More is a <details> menu, no JavaScript. */
.tabbar { display: none; }
@media (max-width: 640px) {
  .nav .links { display: none; }
  .nav .wrap { flex-wrap: nowrap; height: 56px; padding-top: 0; padding-bottom: 0; }
  .nav .wordmark { flex: none; }
  .nav .nsearch { flex: 1 1 auto; margin-left: auto; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .tabbar { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: grid;
    grid-template-columns: repeat(5, 1fr); padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid var(--line); }
  .tabbar > a, .tb-more > summary { display: grid; justify-items: center; gap: 2px; padding: 6px 0 4px;
    font-size: 11px; color: var(--text-3); text-decoration: none; list-style: none; cursor: pointer; }
  .tb-more > summary::-webkit-details-marker { display: none; }
  .tb-more > summary { min-height: 0; font-weight: 400; }
  .tb-more > summary::before { content: none; }
  .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7;
    stroke-linecap: round; stroke-linejoin: round; }
  .tb-more summary svg { stroke-width: 3.2; }
  .tabbar [aria-current] { color: var(--accent); }
  .tb-more { position: relative; }
  .tb-menu { position: absolute; right: 4px; bottom: calc(100% + 10px); min-width: 170px; display: grid; padding: 6px;
    border-radius: 14px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(0, 0, 0, .2); }
  .tb-menu a { padding: 12px 14px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 15px; }
  .tb-menu a:hover { background: var(--panel-2); }
}

/* scoreboard: tap-to-expand rows on phones (tr.xr + tr.xrow, site.js) */
.board .xrow { display: none; }
@media (max-width: 640px) {
  .board tr.xr { cursor: pointer; }
  .board tr.xr .nick-in::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px;
    border: solid var(--text-3); border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg);
    transition: transform .15s var(--ease); }
  .board tr.xr.open .nick-in::after { transform: translateY(1px) rotate(-135deg); }
  .board tr.xr.open + .xrow { display: table-row; }
  .board .xrow td { padding: 0 var(--s3) 10px 52px; border-top: 0; font-size: 12px; color: var(--text-3); }
  .board .xrow span { display: inline-block; margin-right: var(--s3); }
  .board .xrow b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
}

/* result rows: VLR map scores under the teams; "3h ago" under Final */
.mstrip { display: flex; flex-wrap: wrap; gap: 2px 8px; margin-top: 2px; font-size: 12px;
  font-variant-numeric: tabular-nums; color: var(--text-3); }
.mstrip .ms-a, .mstrip .ms-b { font-weight: 500; }
.mago { display: block; margin-top: 3px; font-size: 11px; color: var(--text-3); font-weight: 400; }
.empty-next p { margin: 0 0 var(--s2); }
.empty-next .mlist { margin-top: var(--s2); border-radius: var(--r); overflow: hidden; background: var(--panel); text-align: left; }

/* info: a small "i" that opens an explanation in place (<details>, no JS). It opens as a
   block under its line, not a floating box: panels clip overflow, and a block can't be. */
.info { display: inline; margin-left: 6px; }
.info > summary { display: inline-grid; place-items: center; width: 18px; height: 18px; min-height: 0; padding: 0;
  vertical-align: middle; border-radius: 50%; border: 1.5px solid var(--text-3); color: var(--text-3);
  cursor: pointer; list-style: none; }
.info > summary::-webkit-details-marker { display: none; }
.info > summary::before { content: none; }
.info > summary:hover, .info[open] > summary { border-color: var(--accent); color: var(--accent); }
.info-i { font: italic 700 11px/1 Georgia, serif; }
.info > p { display: block; margin: 8px 0 4px; padding: 10px 12px; border-radius: 10px; background: var(--panel-2);
  font: 400 13px/1.45 var(--font); letter-spacing: 0; text-transform: none; color: var(--text-2); text-align: left; }
.panel-h, .vboard-h { flex-wrap: wrap; }
.panel-h .info[open], .vboard-h .info[open] { flex-basis: 100%; order: 9; }

/* loading placeholders (site.js adds html.ld-on; loaded images get .ld) */
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.ld-on img.logo:not(.ld), .ld-on .avatar img:not(.ld), .ld-on img.flag:not(.ld), .ns-skel span {
  background: linear-gradient(90deg, var(--panel-2) 30%, color-mix(in srgb, var(--panel-2) 55%, var(--panel)) 50%, var(--panel-2) 70%)
    0 0 / 200% 100%; animation: shimmer 1.2s linear infinite; }
.ld-on img.logo:not(.ld) { border-radius: 6px; }
.ns-skel { display: grid; gap: 6px; padding: 10px; }
.ns-skel span { display: block; height: 10px; width: 60%; border-radius: 5px; }
.ns-skel span + span { width: 35%; height: 8px; }
@media (prefers-reduced-motion: reduce) {
  .ld-on img.logo:not(.ld), .ld-on .avatar img:not(.ld), .ld-on img.flag:not(.ld), .ns-skel span { animation: none; }
}

/* dark mode: hover darkens a little instead of going white */
:root[data-theme="dark"] { --row-hover: rgba(255, 255, 255, .04); }
/* a photo hides the initials behind it (transparent photos showed "MA", "FD") */
.avatar.has-photo .av-ini { display: none; }
.av-hl { width: 60px; height: 60px; border-radius: 14px; }

/* section descriptions (were "i" popovers): quiet text under the heading */
.secdesc { margin: 0; padding: var(--s3) var(--s5) 0; font-size: 13px; line-height: 1.5; color: var(--text-3); }
.panel-h + .secdesc { padding-bottom: var(--s2); }

/* map tabs: the score is a clear pill over the art, winner's number dark and bold */
.mt .mt-score { background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
                border-radius: 999px; padding: 4px 10px; color: var(--text-3); font-weight: 600; }
.mt .mt-score .sa.w, .mt .mt-score .sb.w { color: var(--text); font-weight: 800; }
:root[data-theme="dark"] .mt .mt-score { background: rgba(28, 28, 30, .85); }

/* round-by-round card: the map's art behind the header, solid team-coloured rounds */
.mcard, .mcard.won-a, .mcard.won-b { border: 0; box-shadow: var(--shadow); }
.mcard-h { position: relative; isolation: isolate; overflow: hidden; min-height: 96px; color: #fff; border: 0;
           background: #2c2c2e; }
.mcard-h::before { content: ""; position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat; }
.mcard-h::after { content: ""; position: absolute; inset: 0; z-index: -1;
                  background: linear-gradient(90deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .25) 70%); }
.mcard-n { color: rgba(255, 255, 255, .8); letter-spacing: 0; text-transform: none; font-size: 12px; }
.mcard-name { color: #fff; text-transform: none; letter-spacing: -.02em; }
.mcard-score { background: rgba(255, 255, 255, .92); color: var(--text-3); border-radius: 999px; padding: 6px 14px;
               font-size: 24px; }
.mcard-score .sa.w, .mcard-score .sb.w { color: var(--text); font-weight: 800; }
.rd { border-radius: 7px; }
.rd-a { background: var(--team-a); color: #fff; }
.rd-b { background: var(--team-b); color: #fff; }
.rd:hover { filter: brightness(1.1); }

/* a filled veto slot shows its map (art from /art.css), text on a dark gradient */
.vslot { position: relative; isolation: isolate; overflow: hidden; }
.vslot.filled { color: #fff; border-color: transparent; background: #2c2c2e; }
.vslot.filled::before { content: ""; position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat; }
.vslot.filled::after { content: ""; position: absolute; inset: 0; z-index: -1;
                       background: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .2)); }
.vslot.filled .vs-n { color: rgba(255, 255, 255, .8); }
.vslot.filled .vslot-map { color: #fff; font-weight: 700; }
.vslot.filled .vslot-x { color: #fff; opacity: .85; }

/* results with impact: one pill, own score big; Elo coloured by level */
.res { display: inline-flex; align-items: baseline; justify-content: center; gap: 1px; min-width: 52px;
       padding: 4px 10px; border-radius: 10px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.res b { font-size: 18px; font-weight: 800; line-height: 1; }
.res i { font-style: normal; opacity: .5; margin: 0 1px; }
.res-w { background: rgba(36, 138, 61, .14); color: #1d7a34; }
.res-l { background: rgba(215, 0, 21, .1); color: #c1121f; }
:root[data-theme="dark"] .res-w { background: rgba(48, 209, 88, .18); color: #4cd964; }
:root[data-theme="dark"] .res-l { background: rgba(255, 69, 58, .16); color: #ff6961; }
.elo { font-variant-numeric: tabular-nums; }
.elo-elite { color: #0058b0; } .elo-good { color: #1d7a34; } .elo-avg { color: #9a7400; } .elo-low { color: #c1121f; }
:root[data-theme="dark"] .elo-elite { color: #64a8ff; } :root[data-theme="dark"] .elo-good { color: #4cd964; }
:root[data-theme="dark"] .elo-avg { color: #ffd60a; } :root[data-theme="dark"] .elo-low { color: #ff6961; }
.flist .fl { display: grid; grid-template-columns: 64px 1fr auto 44px; align-items: center; gap: 12px; }
.flist .fl-date { text-align: right; }
.flist .fl-elo { text-align: right; font-weight: 600; min-width: 36px; }
/* team B mirrors team A: pill on the outer (right) edge, Elo on the far right */
.flist-b .fl { grid-template-columns: 44px auto 1fr 64px; }
.flist-b .fl > .res { order: 4; } .flist-b .fl > .fl-opp { order: 3; text-align: right; }
.flist-b .fl > .fl-elo { order: 2; text-align: left; } .flist-b .fl > .fl-date { order: 1; text-align: left; }
.elo-now-b { text-align: right; }
.kicker-b { text-align: right; }

/* map rows: the map's art on the left, fading into the card; win rates in colour */
.maptd { position: relative; isolation: isolate; overflow: hidden; }
.maptd::before { content: ""; position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat; }
.maptd::after { content: ""; position: absolute; inset: 0; z-index: -1;
                background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .15) 70%, transparent); }
.maptd span { color: #fff; font-weight: 700; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.maps-table td.maptd { width: 42%; }
.pct-good { color: #1d7a34; } .pct-mid { color: #9a7400; } .pct-bad { color: #c1121f; }
:root[data-theme="dark"] .pct-good { color: #4cd964; } :root[data-theme="dark"] .pct-mid { color: #ffd60a; }
:root[data-theme="dark"] .pct-bad { color: #ff6961; }

/* match lists: each match its own soft tile with room around it, scores first */
.mlist { display: grid; gap: 8px; padding: 10px; }
.mlist > li > .mrow { background: var(--panel-2); border: 0; border-radius: 14px; }
.mlist > li > .mrow:hover { background: color-mix(in srgb, var(--panel-2) 80%, var(--text) 4%); }
.mlist > li + li > .mrow { border-top: 0; }
.tscore { font-size: 22px; font-weight: 800; min-width: 30px; text-align: right; color: var(--text); }
.mteam:not(.won) .tscore { color: var(--text-3); font-weight: 600; }
.mrow-finished .mteam:not(.won) .tname { color: var(--text-3); }
.day, h2.panel-h[data-day-h], h3.day { display: inline-block; margin: 12px 0 0 12px; padding: 4px 10px;
  border-radius: 999px; background: var(--panel-2); font-size: 12px; font-weight: 600; color: var(--text-2); border: 0; }
[data-day] > .panel-h[data-day-h] { display: block; margin: 0; border-radius: 0; background: none; padding: 14px 16px 0; }
:root[data-theme="dark"] .mlist > li > .mrow { background: rgba(255, 255, 255, .05); }
.elo-now-b { display: flex; justify-content: flex-end; text-align: right; }
.elo-now .elo.elo-elite { color: #0058b0; } .elo-now .elo.elo-good { color: #1d7a34; }
.elo-now .elo.elo-avg { color: #9a7400; } .elo-now .elo.elo-low { color: #c1121f; }
:root[data-theme="dark"] .elo-now .elo.elo-elite { color: #64a8ff; }
:root[data-theme="dark"] .elo-now .elo.elo-good { color: #4cd964; }
:root[data-theme="dark"] .elo-now .elo.elo-avg { color: #ffd60a; }
:root[data-theme="dark"] .elo-now .elo.elo-low { color: #ff6961; }

/* Team logos never sit on a chip or plate (owner). Mostly black logos (G2, NRG) get a thin
   light edge on the dark theme instead, as white ones get a dark edge on the light theme. */
:root[data-theme="dark"] img.logo.logo-dark {
  filter: drop-shadow(0 0 .6px rgba(255, 255, 255, .8)) drop-shadow(0 0 .4px rgba(255, 255, 255, .6)); }

/* player avatars: the photo (VLR first, then PandaScore) or a quiet "?" */
.av-q { font: 700 15px/1 var(--font-head); color: var(--text-3); opacity: .7; }
.av-lg .av-q { font-size: 40px; } .av-xl .av-q { font-size: 38px; } .av-hl .av-q { font-size: 26px; }
.avatar.has-photo .av-q { visibility: hidden; }  /* VLR photos are often transparent */

/* player page: the team's logo next to its name, linking to the team */
.pteam-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pteam-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-weight: 600;
              text-decoration: none; }
.pteam-link:hover { color: var(--link); }
.pteam-link .logo { width: 28px; height: 28px; }

/* recent series: the opponent's logo before its name */
.flist .fl-opp { display: flex; align-items: center; gap: 12px; min-width: 0; white-space: normal; }
.fl-who { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl-logo { width: 28px; height: 28px; }
.logo-none.fl-logo { font-size: 11px; border-radius: 8px; }

/* team page maps: no header band or grid lines; each map's art fades out into the card */
.maps-table { border-collapse: separate; border-spacing: 0; }
.maps-table th { background: none; border-bottom: 1px solid var(--line); }
.maps-table td { border-top: 0; height: 50px; padding-block: 0; }
.maps-table tbody tr + tr td { border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.maps-table tbody tr:hover td { background: none; }
.maps-table tbody tr:hover td.maptd::before { opacity: 1; }
.maps-table td.maptd { width: 46%; }
.maptd::before { opacity: .9; transition: opacity .2s var(--ease);
  -webkit-mask-image: linear-gradient(90deg, #000 25%, rgba(0, 0, 0, .55) 60%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 25%, rgba(0, 0, 0, .55) 60%, transparent 100%); }
.maptd::after { background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .1) 55%, transparent 80%); }
.maptd span { font: 700 17px/1 var(--font-head); letter-spacing: .01em; }
.maps-table b { font-weight: 700; }

/* ── the "Broadcast" design (docs/handoffs/2026-09-25-claude-homepage-redesign.md) ──
   Every page renders <html class="bc">; the home page adds "is-home". A flat page, crisp
   edges, condensed headings; no glass, no gradients. Dark is the default theme. */
:root.bc {
  --bg: #f5f3ef; --panel: #ffffff; --panel-2: #e9edef; --line: #d3d8db; --line-2: #c3cacf;
  --text: #19232c; --text-2: #34404b; --text-3: #58636e; --accent: #c52c40; --link: #c52c40;
  --win: #19232c; --bg-2: #ebe8e2;
}
:root.bc[data-theme="dark"] {
  --bg: #11171d; --panel: #202a34; --panel-2: #1a232c; --line: #333a43; --line-2: #414c58;
  --text: #f1f0ed; --text-2: #c9ced3; --text-3: #9ea6af; --accent: #ff5968; --link: #ff7a87;
  --win: #f1f0ed; --bg-2: #0c1116;
}
.bc .bgart { display: none; }
.bc .nav { background: color-mix(in srgb, var(--bg) 90%, transparent); border-bottom-color: var(--line); }
.home { padding-top: var(--s6); }

.feature { display: block; background: var(--panel); border: 1px solid var(--line-2); border-radius: 2px;
           color: var(--text); text-decoration: none; transition: background-color .15s var(--ease); }
.feature:hover { background: color-mix(in srgb, var(--panel) 96%, var(--text)); }
.feature-meta, .feature-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
                               padding: 14px var(--s5); font-size: 13px; }
.feature-meta { border-bottom: 1px solid var(--line); color: var(--text-3); }
.feature-ev { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feature-kick { flex: none; color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: .08em;
                text-transform: uppercase; }
.versus { display: grid; grid-template-columns: minmax(0, 1fr) 180px minmax(0, 1fr); align-items: center;
          text-align: center; padding: 30px var(--s5); }
.vs-team { display: grid; justify-items: center; gap: 6px; min-width: 0; }
.vs-logo { width: 76px; height: 76px; margin-bottom: 4px; }
.logo-none.vs-logo { font-size: 20px; border-radius: 12px; }
.vs-name { font: 700 clamp(24px, 3.2vw, 36px)/1.02 "Barlow Condensed", var(--font-head); text-transform: uppercase;
           overflow-wrap: anywhere; }
.vs-elo { font-size: 12px; color: var(--text-3); }
.vs-elo b { font-size: 15px; font-variant-numeric: tabular-nums; }
.vs-mid { display: grid; justify-items: center; gap: 4px; }
.vs-mid b { font: 700 clamp(40px, 5vw, 54px)/1 "Barlow Condensed", var(--font-head); font-variant-numeric: tabular-nums; }
.vs-mid span { font-size: 12px; color: var(--text-3); }
.vs-mid small { margin-top: 10px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
                color: var(--text-3); }
.vs-score i { font-style: normal; opacity: .35; margin: 0 4px; }
.feature.is-live .vs-score { color: var(--live); }
.feature-foot { background: var(--panel-2); color: var(--text-3); }
.feature-foot strong { flex: none; color: var(--text); }
.feature:hover .feature-foot strong { color: var(--accent); }

.is-home .myteams { margin-top: var(--s6); }
.is-home .hub { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; margin-top: 8px; }
.hsec { margin-top: 30px; }
.hsec-h { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3);
          padding-bottom: 10px; border-bottom: 1px solid var(--text); }
.hsec-h h2 { margin: 0; font: 700 30px/1 "Barlow Condensed", var(--font-head); text-transform: uppercase; letter-spacing: 0; }
.hsec-tag { margin-left: 6px; font: 600 12px/1 var(--font); color: var(--text-3); text-transform: none; vertical-align: 4px; }
.hsec-h a { font-size: 13px; color: var(--text-3); text-decoration: none; }
.hsec-h a:hover { color: var(--accent); }
.bc .mlist { display: block; padding: 0; }
.bc .mlist > li + li { border-top: 0; }
.is-home .hub-side .mrow { grid-template-columns: 64px minmax(0, 1fr); }
.is-home .hub-side .mfmt { display: none; }
:root.bc .mlist > li > .mrow { background: none; border-radius: 0; border-bottom: 1px solid var(--line); }
.bc .panel .mlist > li:last-child > .mrow { border-bottom: 0; }
.is-home .mlist > li > .mrow { padding: 16px 6px; }
:root.bc .mlist > li > .mrow:hover { background: color-mix(in srgb, var(--text) 4%, transparent); }
.bc .mrow::before { border-radius: 0; }
.bc .day, .bc h3.day { display: block; margin: 22px 0 0; padding: 0 6px 8px; border-radius: 0; background: none;
  font: 700 14px/1 "Barlow Condensed", var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3);
  border-bottom: 1px solid var(--line); }
.bc [data-day]:first-child .day { margin-top: 14px; }
.bc .panel .day, .bc .panel h3.day { padding-inline: var(--s4); }
.bc .pct { background: none; padding: 0; box-shadow: none; border: 0; }
.is-home .empty { padding: var(--s5) 6px; }
.rank-link { display: block; margin-top: var(--s5); color: var(--text); text-decoration: none; }
.rank-link span { display: block; margin-bottom: 6px; font-size: 13px; color: var(--text-3); }
.rank-link strong { font: 700 26px/1 "Barlow Condensed", var(--font-head); text-transform: uppercase; }
.rank-link:hover strong { color: var(--accent); }
.rank-link strong::after { content: " \2192"; }

@media (max-width: 900px) {
  .is-home .hub { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 640px) {
  .home { padding-top: var(--s5); }
  .feature-meta, .feature-foot { padding: 12px 14px; font-size: 12px; }
  .versus { grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr); padding: 22px 10px; }
  .vs-logo { width: 48px; height: 48px; }
  .vs-name { font-size: 22px; }
  .vs-mid b { font-size: 36px; }
  .hsec-h h2 { font-size: 26px; }
}

/* ── Broadcast everywhere: flat surfaces, crisp edges, condensed headings ─── */
.bc .nav, .bc .tabs, .bc .btn-quiet, .bc .hl, .bc .tag-final, .bc .mt, .bc .tabbar {
  -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.bc .tabs::before, .bc .btn-quiet::before, .bc .hl::before, .bc .btn-primary::before { content: none; }
.bc .nav { border-bottom: 1px solid var(--line); }
.bc .tabbar { background: var(--bg); border-top: 1px solid var(--line); }
.bc .links a { border-radius: 0; font: 600 15px/1 "Barlow Condensed", var(--font-head); letter-spacing: .06em;
               text-transform: uppercase; }
.bc .links a:hover { background: none; color: var(--text); }
.bc .links a[aria-current] { background: none; box-shadow: none; }
.bc .links a[aria-current]::after { left: 10px; right: 10px; width: auto; margin: 0; bottom: 4px; border-radius: 0; }
:root.bc .nsearch input { border-radius: 4px; background-color: transparent; border: 1px solid var(--line); box-shadow: none; }

/* surfaces: solid, one hairline, barely rounded, no shadow */
.bc .panel, .bc .tcard, .bc .pcard, .bc .kpi, .bc .hl, .bc .mcard, .bc .note, .bc .alert {
  border: 1px solid var(--line); border-radius: 2px; box-shadow: none; }
.bc .panel-h { border-bottom: 1px solid var(--line); }
.bc .panel-h h2, .bc h2.panel-h { font: 700 22px/1 "Barlow Condensed", var(--font-head); text-transform: uppercase;
                                  letter-spacing: .01em; }
.bc .panel-h a { color: var(--text-3); font-size: 13px; }
.bc .panel-h a:hover { color: var(--accent); }
.bc .page-head h1, .bc .thead-main h1, .bc .pname-h, .bc .phead h1, .bc main h1 {
  font-family: "Barlow Condensed", var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0; }
.bc .kpi-v, .bc .rank-elo, .bc .tcard-elo b, .bc .tscore, .bc .res b, .bc .elo-now b {
  font-family: "Barlow Condensed", var(--font-head); font-weight: 700; letter-spacing: .01em; }
.bc .tscore { font-size: 26px; }
.bc .kpi-v { font-size: 30px; }
.bc .thead-elo .kpi-v { font-size: 48px; }
.bc .rank th { background: none; }

/* segmented tabs become a plain row with an accent underline */
.bc .tabs { background: none; border: 0; border-radius: 0; padding: 0; gap: var(--s4); }
.bc .tabs a { border-radius: 0; background: none !important; box-shadow: none !important; padding: 8px 0;
              color: var(--text-3); border-bottom: 2px solid transparent; }
.bc .tabs a:hover { color: var(--text); }
.bc .tabs a[aria-current] { color: var(--text); border-bottom-color: var(--accent); }
.bc .btn { border-radius: 4px; }
.bc .btn-quiet { background: transparent; border: 1px solid var(--line-2); }
.bc .btn-quiet:hover { border-color: var(--text-3); background: transparent; }
.bc .fg, .bc .res, .bc .rt, .bc .tag { border-radius: 3px; }

/* player photos sit on nothing: no tile, no ring */
.bc .avatar { background: none; box-shadow: none; border: 0; }

/* Elo in its tier colour wherever it appears (.tcard-elo b etc. set a plain text colour) */
.bc .elo.elo-elite { color: #0058b0; } .bc .elo.elo-good { color: #1d7a34; }
.bc .elo.elo-avg { color: #9a7400; } .bc .elo.elo-low { color: #c1121f; }
:root.bc[data-theme="dark"] .elo.elo-elite { color: #64a8ff; } :root.bc[data-theme="dark"] .elo.elo-good { color: #4cd964; }
:root.bc[data-theme="dark"] .elo.elo-avg { color: #ffd60a; } :root.bc[data-theme="dark"] .elo.elo-low { color: #ff6961; }

/* rating chips on the dark theme: bright text on a tinted chip (the light values vanished) */
:root.bc[data-theme="dark"] .rt-elite { background: rgba(100, 168, 255, .16); color: #64a8ff; }
:root.bc[data-theme="dark"] .rt-good { background: rgba(76, 217, 100, .14); color: #4cd964; }
:root.bc[data-theme="dark"] .rt-avg { background: rgba(255, 214, 10, .14); color: #ffd60a; }
:root.bc[data-theme="dark"] .rt-cold { background: rgba(255, 105, 97, .14); color: #ff6961; }

/* home lists sit on white cards, like the match page (they blended into the page) */
.is-home .hsec { background: var(--panel); border: 1px solid var(--line); border-radius: 2px; }
.is-home .hsec-h { padding: 16px 20px 12px; border-bottom: 1px solid var(--line); }
.is-home .hsec .mlist > li > .mrow { padding: 16px 20px; }
.is-home .hsec .mlist > li:last-child > .mrow { border-bottom: 0; }
.is-home .hsec .day, .is-home .hsec h3.day { padding-inline: 20px; }
.is-home .hsec [data-day]:first-child .day { margin-top: 16px; }
.is-home .hsec .empty { padding: var(--s5) 20px; }
.is-home .rank-link { padding: 0 4px; }

/* text sizes: nothing under 13px except tiny labels (owner: "still too small") */
.bc body { font-size: 16px; }
.bc .small, .bc .muted, .bc .secdesc, .bc .fl-ev, .bc .mevent .st, .bc .pc-team { font-size: 14px; }
.bc .mevent { font-size: 15px; }
.bc .mfinal, .bc .mago, .bc .fmt, .bc .kicker, .bc .kpi-l, .bc .rank th, .bc .day { font-size: 13px; }
.bc .mago { display: block; margin-top: 4px; }
.bc .feature-meta, .bc .feature-foot, .bc .hsec-h a, .bc .panel-h a, .bc .rank-link span { font-size: 14px; }
.bc .vs-elo, .bc .vs-mid span { font-size: 14px; }
.bc .vs-mid small { font-size: 12px; }
.bc .pc-stats { font-size: 12px; }
.bc .pct { font-size: 14px; }
.bc .pct-who { font-size: 12px; }
.bc .links a { font-size: 16px; }

/* results list without the event column: time, teams (scores beside them), format */
.mlist-noev > li > .mrow { grid-template-columns: 64px minmax(0, 460px) 1fr; }
.mlist-noev .mfmt { justify-self: end; }
.is-home .hub-side .mlist-noev > li > .mrow { grid-template-columns: 64px minmax(0, 1fr); }

/* mirrored "last 5" (team B): the logo sits on the right, next to the name */
.flist-b .fl-opp { flex-direction: row-reverse; }

/* match header: logos flat, no drop shadow */
.bc .vteam .logo { filter: var(--edge); }

/* player cards: the rating sits right under the team, not floating below */
.bc .pcard .pc-rating { margin: 0 0 4px; }
.bc .pcard .avatar { margin-bottom: 4px; }
@media (min-width: 901px) { .is-home .hub { grid-template-columns: minmax(0, 1fr) 340px; } }
.is-home .hub-side .hsec-h h2 { font-size: 26px; white-space: nowrap; }
.is-home .hsec-h a { white-space: nowrap; }
.bc .page-sub-l { gap: var(--s6); }
.team-views { margin: 0 0 var(--s3); }

/* map rows, take 2: the art stays solid and evenly darkened, then fades out over a short
   edge, so the light theme has no long milky wash (owner: "looks really weird") */
.maps-table td.maptd { width: 40%; }
.maptd::before { filter: saturate(1.1);
  -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 70%, transparent 100%); }
.maptd::after { background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .3) 60%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 70%, transparent 100%); }

/* match rows: the tournament reads first, the stage under it quieter */
.bc .mevent .ev { font-weight: 600; color: var(--text); }
.bc .mevent .st { font-size: 13px; color: var(--text-3); }

/* round timeline: team A's row, the round numbers, team B's row */
.rstrip { display: flex; gap: 10px; padding: var(--s4) var(--s5); border-top: 1px solid var(--line); }
.rs-names { display: grid; grid-template-rows: 28px 18px 28px; align-items: center; flex: none;
            font: 700 14px/1 "Barlow Condensed", var(--font-head); letter-spacing: .04em; }
.rs-na { color: var(--team-a); } .rs-nb { color: var(--team-b); }
.rs-cols { list-style: none; margin: 0; padding: 0 0 2px; display: flex; gap: 3px; overflow-x: auto;
           scrollbar-width: thin; min-width: 0; }
.rs { display: grid; grid-template-rows: 28px 18px 28px; width: 26px; flex: none; }
.rs-cell { display: grid; place-items: center; border-radius: 3px; }
.rs-cell:empty::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }
.rs-a .rs-ca { background: var(--team-a); color: #fff; }
.rs-b .rs-cb { background: var(--team-b); color: #fff; }
.rs-n { display: grid; place-items: center; font: 600 11px/1 var(--font); color: var(--text-3);
        font-variant-numeric: tabular-nums; }
.rs-break { margin-left: 12px; position: relative; }
.rs-break::before { content: ""; position: absolute; left: -8px; top: 2px; bottom: 2px; width: 1px; background: var(--line-2); }
.rs .ico { width: 13px; height: 13px; }
.livep .rstrip { border-top: 0; padding-top: 0; }
@media (max-width: 640px) { .rstrip { padding-inline: var(--s4); } .rs { width: 22px; } }
/* map score badge on the art: always a light badge, so always dark digits (dark theme had white on white) */
.bc .mcard-score { border-radius: 4px; color: #6b7680; }
.bc .mcard-score .sa.w, .bc .mcard-score .sb.w { color: #19232c; }

/* events: bracket view (upper row, lower row; one column per round) */
.ev-views { margin: var(--s4) 0 var(--s3); }
.bracket { padding: var(--s4) var(--s5) var(--s5); overflow-x: auto; }
.br-side { margin: var(--s3) 0 var(--s2); font: 700 14px/1 "Barlow Condensed", var(--font-head); letter-spacing: .08em;
           text-transform: uppercase; color: var(--text-3); }
.br-row { display: flex; gap: var(--s5); align-items: stretch; min-width: max-content; }
.br-col { display: flex; flex-direction: column; width: 230px; }
.br-h { margin: 0 0 var(--s2); font: 700 15px/1.2 "Barlow Condensed", var(--font-head); text-transform: uppercase;
        letter-spacing: .04em; }
.br-list { display: flex; flex-direction: column; justify-content: space-around; gap: var(--s3); flex: 1; }
.bx { position: relative; border: 1px solid var(--line); border-radius: 3px; background: var(--panel); }
.br-col + .br-col .bx::before { content: ""; position: absolute; left: calc(-1 * var(--s5)); top: 50%; width: var(--s5);
                                border-top: 1px solid var(--line-2); }
.bx-t { display: flex; align-items: center; gap: 8px; padding: 7px 10px; font-size: 14px; min-width: 0; }
.bx-t + .bx-t { border-top: 1px solid var(--line); }
.bx-t .logo { width: 20px; height: 20px; }
.bx-t .tname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit;
               text-decoration: none; }
.bx-t .tname:hover { color: var(--link); }
.bx-t b { font: 700 18px/1 "Barlow Condensed", var(--font-head); font-variant-numeric: tabular-nums; min-width: 1ch; text-align: right; }
.bx-t.won { font-weight: 700; }
.bx-t.won b { color: var(--accent); }
.bx-t.lost { color: var(--text-3); }
.bx-t.lost .logo { opacity: .6; }
/* event lists: logos beside names, stage label quiet */
.eres-t { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.eres-b { justify-content: flex-end; }
.eres-t .logo { width: 20px; height: 20px; }
.estage { margin: var(--s4) var(--s5) 0; font: 700 16px/1 "Barlow Condensed", var(--font-head); text-transform: uppercase;
          letter-spacing: .06em; color: var(--text-3); }

/* player hero: the player's most-played map, dimmed, behind photo, name and rating */
.phero { position: relative; isolation: isolate; overflow: hidden; border-radius: 2px; margin: 0 0 var(--s4);
         background: #141b22; color: #fff; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat;
                 opacity: .55; filter: saturate(1.1); }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1;
                background: linear-gradient(90deg, rgba(10, 14, 19, .92) 0%, rgba(10, 14, 19, .7) 50%, rgba(10, 14, 19, .45) 100%); }
.phero-main { display: flex; align-items: flex-end; gap: var(--s5); padding: var(--s6) var(--s6) var(--s4); }
.av-hero { width: 160px; height: 160px; border-radius: 0; flex: none; }
.av-hero img { object-position: bottom; }
.av-hero .av-q { font-size: 64px; color: rgba(255, 255, 255, .5); }
.phero-who { flex: 1; min-width: 0; padding-bottom: 6px; }
.phero .pname-h { margin: 0; color: #fff; font-size: clamp(40px, 6vw, 72px); line-height: .95; }
.phero .pteam-line { margin: 8px 0 0; color: rgba(255, 255, 255, .75); font-size: 16px; }
.phero .pteam-link { color: #fff; }
.phero .pteam-link:hover { color: #fff; text-decoration: underline; }
.phero img.logo { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .6)); }
.phero-ags { display: flex; gap: 6px; margin: 12px 0 0; }
.phero-ags .ag { width: 32px; height: 32px; }
.phero-rating { display: grid; justify-items: end; gap: 4px; padding-bottom: 6px; text-align: right; }
.phero-rl { font: 700 13px/1 "Barlow Condensed", var(--font-head); letter-spacing: .12em; text-transform: uppercase;
            color: rgba(255, 255, 255, .6); }
.phero-rv { font: 700 64px/1 "Barlow Condensed", var(--font-head); font-variant-numeric: tabular-nums;
            background: none !important; padding: 0; min-width: 0; }
.phero-rv.rt-elite { color: #7cb8ff; } .phero-rv.rt-good { color: #5fe07a; }
.phero-rv.rt-avg { color: #ffd84a; } .phero-rv.rt-cold { color: #ff7a72; }
.phero-rs { font-size: 14px; color: rgba(255, 255, 255, .7); }
.phero-tabs { padding: 0 var(--s6) 2px; gap: var(--s5); }
.bc .phero-tabs a { color: rgba(255, 255, 255, .6); }
.bc .phero-tabs a:hover, .bc .phero-tabs a[aria-current] { color: #fff; }
@media (max-width: 640px) {
  .phero-main { flex-wrap: wrap; padding: var(--s5) var(--s4) var(--s3); gap: var(--s3); }
  .av-hero { width: 96px; height: 96px; }
  .phero-rating { justify-items: start; text-align: left; width: 100%; }
  .phero-rv { font-size: 48px; }
  .phero-tabs { padding-inline: var(--s4); }
}

/* player totals: five headline numbers, then the counts */
.pstats { margin: 0 0 var(--s4); }
.pstats .kpi { background: none; border: 0; box-shadow: none; padding: 0; }
.pstats-big { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: var(--s5); gap: var(--s4); }
.pstats-big .kpi + .kpi { border-left: 1px solid var(--line); padding-left: var(--s4); }
.bc .pstats-big .kpi-v { font-size: 40px; margin-top: 4px !important; }
.pstats-small { display: flex; flex-wrap: wrap; gap: var(--s6); padding: var(--s3) var(--s5); border-top: 1px solid var(--line);
                background: var(--panel-2); }
.pstats-small .kpi { display: flex; align-items: baseline; gap: 8px; }
.bc .pstats-small .kpi-v { font-size: 22px; margin: 0 !important; }
.pstats-small .kpi-l, .pstats-small .kpi-v { margin: 0; }
@media (max-width: 640px) {
  .pstats-big { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pstats-big .kpi:nth-child(4) { border-left: 0; padding-left: 0; }
  .pstats-small { gap: var(--s4); }
}

/* map cells: a small crisp thumbnail of the map, then its name (the long fades looked washed out) */
.mapcell { white-space: nowrap; }
.mthumb { display: inline-block; vertical-align: middle; width: 72px; height: 32px; margin-right: 12px; border-radius: 3px;
          background: #2a333c center / cover no-repeat; }
.mapcell .mapname { vertical-align: middle; font: 700 17px/1 "Barlow Condensed", var(--font-head); text-transform: uppercase;
                    letter-spacing: .03em; }
.maps-table td.mapcell { width: auto; }

/* day lists: every match keeps its bottom line, also the last one before the next day */
.bc [data-day] .mlist > li:last-child > .mrow { border-bottom: 1px solid var(--line); }
.bc .hsec [data-day]:last-child .mlist > li:last-child > .mrow, .bc .panel[data-day] .mlist > li:last-child > .mrow { border-bottom: 0; }

/* match > Maps: each team's last games on the map, styled like the recent-series lists */
.mm-who { margin: 0 0 8px; font: 700 18px/1 "Barlow Condensed", var(--font-head); letter-spacing: .04em; text-transform: uppercase; }
.mm-who span { margin-left: 6px; font: 600 13px/1 var(--font); letter-spacing: 0; text-transform: none; color: var(--text-3); }
.mm-who-a { color: var(--team-a); } .mm-who-b { color: var(--team-b); }
.mm-games { gap: 0; }
.mm-g { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 7px 0;
        border-bottom: 1px solid var(--line); font-size: 15px; }
.mm-g:last-child { border-bottom: 0; }
.mm-g .res { min-width: 0; }
.mm-opp { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mm-opp .logo { width: 22px; height: 22px; }
.mm-opp a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-when { font-size: 13px; }
.mm-hist { gap: var(--s6); }
.mm-bar span { font: 700 18px/1 "Barlow Condensed", var(--font-head); letter-spacing: .02em; }

/* support: a personal page, not a help centre */
.support .lead { font-size: 18px; line-height: 1.6; color: var(--text-2); }
.support h1 { text-transform: none !important; }
.support h2 { margin-top: var(--s6); }
.support-sign { margin-top: var(--s6); font-size: 17px; color: var(--text-2); }
.bc .phero-tabs { padding: 0 var(--s6) 2px; }
@media (max-width: 640px) { .bc .phero-tabs { padding-inline: var(--s4); } }

/* /live: Riot's Twitch channel above the live matches */
.stream { margin: 0 0 var(--s5); }
.stream-frame { position: relative; aspect-ratio: 16 / 9; background: #0e0e10; border: 1px solid var(--line); border-radius: 2px;
                overflow: hidden; }
.stream-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stream-note { margin: var(--s2) 0 0; }

/* scoreboard: the name column gets a fixed share; stats spread evenly and centred
   (they bunched at the far right with a big gap after the names) */
.bc .board .c-nick { width: 26%; }
.bc .board .c-r, .bc .board .c-acs, .bc .board .c-kda, .bc .board .c-pm, .bc .board .c-x { width: auto; }
.bc .board .num, .bc .board th.num { text-align: center; }
@media (max-width: 640px) { .bc .board .c-nick { width: auto; } }

/* home schedule: fewer lines. Day labels are plain headings; rows keep one hairline */
.bc .day, .bc h3.day { border-bottom: 0; padding-bottom: 4px; margin-top: 26px; }
.bc [data-day]:first-child .day { margin-top: 18px; }
.bc .hsec-h { border-bottom: 1px solid var(--line); }
:root.bc .mlist > li > .mrow { border-bottom-color: color-mix(in srgb, var(--line) 70%, transparent); }

/* brackets: clean columns, no connector lines (they didn't meet the right boxes);
   every box opens its match */
.br-col + .br-col .bx::before { content: none; }
a.bx { display: block; color: inherit; text-decoration: none; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
a.bx[href]:hover { border-color: var(--text-3); box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.bx-t .tname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-row { gap: var(--s4); }
.br-col { width: 220px; }
/* event match list rows are links */
a.eres-row { color: inherit; text-decoration: none; }
a.eres-row[href]:hover { background: var(--panel-2); }
.eres > li { list-style: none; }
.eres > li + li > .eres-row { border-top: 1px solid var(--line); }
.eres-row { padding-inline: 6px; }

/* event hero: the event's most-played map behind name, dates and the champion */
.ehero { position: relative; isolation: isolate; overflow: hidden; border-radius: 2px; margin: 0 0 var(--s4);
         padding: var(--s7) var(--s6) var(--s6); background: #141b22; color: #fff; }
.ehero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat; opacity: .5; }
.ehero::after { content: ""; position: absolute; inset: 0; z-index: -1;
                background: linear-gradient(90deg, rgba(10, 14, 19, .92), rgba(10, 14, 19, .55)); }
.ehero-kick { margin: 0 0 var(--s2); font: 700 14px/1 "Barlow Condensed", var(--font-head); letter-spacing: .1em;
              text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.ehero-kick a { color: inherit; text-decoration: none; } .ehero-kick a:hover { color: #fff; }
.ehero h1 { margin: 0; color: #fff; font-size: clamp(36px, 5.5vw, 64px); line-height: .98; }
.ehero-dates { margin: var(--s2) 0 0; color: rgba(255, 255, 255, .75); font-size: 16px; }
.ehero-champ { display: inline-flex; align-items: center; gap: 10px; margin: var(--s5) 0 0; padding: 10px 16px;
               background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 3px;
               font: 700 22px/1 "Barlow Condensed", var(--font-head); text-transform: uppercase; }
.ehero-champ a { color: #fff; text-decoration: none; }
.ehero-champ .logo { width: 28px; height: 28px; filter: drop-shadow(0 0 1px rgba(255, 255, 255, .6)); }
.ehero-cl { font-size: 13px; letter-spacing: .12em; color: #ffd84a; }
.estats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); padding: var(--s4) var(--s5);
          margin: 0 0 var(--s4); }
.estats .kpi { background: none; border: 0; padding: 0; box-shadow: none; }
.estats .kpi + .kpi { border-left: 1px solid var(--line); padding-left: var(--s4); }
.bc .estats .kpi-v { font-size: 28px; }
.estats .kpi-v a { color: inherit; text-decoration: none; } .estats .kpi-v a:hover { color: var(--link); }
.estats .kpi-v .small { font: 600 14px/1 var(--font); }
@media (max-width: 640px) {
  .ehero { padding: var(--s6) var(--s4) var(--s5); }
  .estats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .estats .kpi:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* following (per account) */
.follow-form { display: inline; margin: 0; }
.follow.on { border-color: var(--accent); color: var(--accent); }
.acc-follows { list-style: none; padding: 0; margin: 0 0 var(--s3); display: grid; gap: 0; }
.acc-follows li { display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
                  padding: 10px 0; border-bottom: 1px solid var(--line); }
.acc-follows form { margin: 0; }
.navlogin { flex: none; }

/* scoreboard headers sort (site.js); the active one is marked */
.board th[data-sort] { cursor: pointer; user-select: none; }
.board th[data-sort]:hover { color: var(--text); }
.board th.sorted { color: var(--text); }
.board th.sorted::after { content: " \25BE"; }
.board th.sorted[aria-sort="ascending"]::after { content: " \25B4"; }

/* player roles: the class they mostly play, Flex, and IGL (VLR's team captain) */
.role { display: inline-block; padding: 3px 7px; border-radius: 3px; font: 700 12px/1 "Barlow Condensed", var(--font-head);
        letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; white-space: nowrap;
        background: color-mix(in srgb, var(--rc, #6b7680) 14%, transparent); color: var(--rc, #6b7680); }
.role + .role { margin-left: 4px; }
.role-duelist { --rc: #d9463e; } .role-initiator { --rc: #2f9e5b; } .role-controller { --rc: #7b5cd6; }
.role-sentinel { --rc: #1f8fb3; } .role-flex { --rc: #6b7680; } .role-igl { --rc: #b8860b; }
:root[data-theme="dark"] .role-duelist { --rc: #ff7a72; } :root[data-theme="dark"] .role-initiator { --rc: #5fe07a; }
:root[data-theme="dark"] .role-controller { --rc: #b39dff; } :root[data-theme="dark"] .role-sentinel { --rc: #6fd0f0; }
:root[data-theme="dark"] .role-flex { --rc: #9ea6af; } :root[data-theme="dark"] .role-igl { --rc: #ffd84a; }
.phero .role { background: rgba(255, 255, 255, .12); color: #fff; }
.phero .role-igl { color: #ffd84a; }
.phero-ags { align-items: center; }
.pc-roles, .five-roles { display: flex; justify-content: center; gap: 4px; min-height: 18px; }
.pteam .role { font-size: 11px; padding: 2px 5px; margin-left: 4px; }

/* history rows: the whole row opens the match; the team name inside still opens the team */
.fl, .mm-g, .h2h-row { position: relative; }
.row-hit { position: absolute; inset: 0; z-index: 0; border-radius: 3px; }
.fl > *:not(.row-hit), .mm-g > *:not(.row-hit), .h2h-row > *:not(.row-hit) { position: relative; z-index: 1; pointer-events: none; }
.fl a:not(.row-hit), .mm-g a:not(.row-hit), .h2h-row a:not(.row-hit) { pointer-events: auto; }
.fl:has(.row-hit):hover, .mm-g:has(.row-hit):hover, .h2h-row:has(.row-hit):hover {
  background: color-mix(in srgb, var(--text) 4%, transparent); cursor: pointer; }
.fl-who a, .mm-opp a { color: inherit; text-decoration: none; }
.fl-who a:hover, .mm-opp a:hover { color: var(--link); text-decoration: underline; }

/* head to head: winner with logo, a result chip from the left team's side, map pills */
.h2h-list { list-style: none; margin: 0; padding: 0; }
.h2h-row { display: grid; grid-template-columns: 96px 110px 64px minmax(0, 1fr); align-items: center; gap: var(--s3);
           padding: 9px 6px; border-top: 1px solid var(--line); font-size: 15px; }
.h2h-row:first-child { border-top: 0; }
.h2h-win { display: inline-flex; align-items: center; gap: 8px; font: 700 17px/1 "Barlow Condensed", var(--font-head);
           letter-spacing: .04em; }
.h2h-win .logo { width: 22px; height: 22px; }
.h2h-win.h2h-a { color: var(--team-a); } .h2h-win.h2h-b { color: var(--team-b); }
.h2h-maps { display: flex; flex-wrap: wrap; gap: 6px; }
.h2h-map { display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 8px; border-radius: 3px; font-size: 13px;
           background: color-mix(in srgb, var(--hc) 10%, transparent); box-shadow: inset 3px 0 0 var(--hc); }
.h2h-map.h2h-a { --hc: var(--team-a); } .h2h-map.h2h-b { --hc: var(--team-b); }
.h2h-map b { font-variant-numeric: tabular-nums; color: var(--text); }
.h2h-map .hm-n { color: var(--text-2); }
.h2h-tot b { font: 700 30px/1 "Barlow Condensed", var(--font-head); }
@media (max-width: 640px) { .h2h-row { grid-template-columns: 80px 1fr 56px; } .h2h-maps { grid-column: 1 / -1; } }

/* map tabs and the map header: the winning number green, the other red */
.bc .mt-score:has(.w) .w, .bc .mcard-score:has(.w) .w { color: #1d7a34 !important; }
.bc .mt-score:has(.w) .sa:not(.w), .bc .mt-score:has(.w) .sb:not(.w),
.bc .mcard-score:has(.w) .sa:not(.w), .bc .mcard-score:has(.w) .sb:not(.w) { color: #c1121f !important; }


/* ── phones ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) { .is-home .hub { grid-template-columns: minmax(0, 1fr); gap: 0; } }
@media (max-width: 640px) {
  /* header: logo, theme, log in on one row; search gets its own full row */
  .bc .nav .wrap { flex-wrap: wrap; row-gap: 8px; }
  .bc .nav .nsearch { order: 5; flex: 1 0 100%; max-width: none; margin: 0; }
  .bc .nav .wordmark { margin-right: auto; }
  .bc .navlogin { padding: 0 10px; min-height: 32px; font-size: 13px; }
  .bc .follow { white-space: nowrap; }
  /* player totals: numbers never wrap mid-value */
  .pstats .kpi-v { white-space: nowrap; }
  .bc .pstats-big .kpi-v { font-size: 30px; }
  .pstats-big { gap: var(--s3); padding: var(--s4); }
  /* tables: scroll inside their card instead of being cut off */
  .bc .panel { overflow-x: auto; }
  .bc .rank td, .bc .rank th { padding-inline: 8px; }
  .bc .rank-team .tname { max-width: 150px; display: inline-block; overflow: hidden; text-overflow: ellipsis;
                          white-space: nowrap; vertical-align: middle; }
  /* home result rows: time, teams, nothing else */
  .is-home .hub-side .mrow { grid-template-columns: 52px minmax(0, 1fr); }
  .is-home .hub-side .mevent { display: none; }
  .home { padding-top: var(--s4); }
}
@media (max-width: 640px) {
  .bc .nav .wrap { padding-bottom: 10px; }
  /* team header: name block full width, Elo on its own line under it */
  .bc .thead { flex-wrap: wrap; align-items: flex-start; }
  .bc .thead-main { flex: 1 1 60%; }
  .bc .thead-elo { order: 3; width: 100%; display: flex; align-items: baseline; gap: 10px; justify-items: start; }
  .bc .thead-elo .kpi-v { font-size: 40px; }
  /* map tabs: a sideways strip of readable tabs */
  .bc .mt { min-width: 150px; flex: none; }
  .bc .mt-name { white-space: nowrap; overflow: visible; }
}

/* home Final Scores: logos and names start at the left; the time is one quiet line under
   the teams ("Final · 5h ago") instead of a column */
.is-home .hub-side .mrow { grid-template-columns: minmax(0, 1fr) !important; row-gap: 6px; }
.is-home .hub-side .mteams { order: 1; }
.is-home .hub-side .mtime { order: 2; display: flex; align-items: baseline; gap: 6px; font-size: 13px; }
.is-home .hub-side .mtime .mago { display: inline; margin: 0; }
.is-home .hub-side .mtime .mfinal::after { content: "·"; margin-left: 6px; }
