/* Rugby Results — mobile first (390px), light and dark. */
:root {
  --bg: #edf1ec;
  --surface: #ffffff;
  --surface-2: #f3f6f2;
  --line: #e0e6df;
  --text: #13201a;
  --muted: #5f6d65;
  --brand: #0b4d36;
  --brand-2: #138a5c;
  --brand-ink: #ffffff;
  --gold: #e8ad0c;
  --accent: #0d6b49;
  --accent-soft: #dff1e8;
  --win: #128a55;
  --win-soft: #def4e8;
  --loss: #c62d22;
  --loss-soft: #fbe3e0;
  --draw: #b07d00;
  --draw-soft: #fbf0d2;
  --yellow: #f2c200;
  --red: #d32f2f;
  --focus: #1a73e8;
  --shadow: 0 1px 2px rgba(16, 40, 28, .06), 0 4px 14px rgba(16, 40, 28, .06);
  --radius: 16px;
  --gutter: 16px;
  --tabbar: 62px;
  --crest-edge: rgba(0, 0, 0, .18);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b100e; --surface: #151d19; --surface-2: #1c2621; --line: #26322c; --text: #e8efea; --muted: #9caaa2;
    --brand: #0d3b2a; --brand-2: #14684a; --accent: #4fd59a; --accent-soft: #153829; --gold: #f0c03a;
    --win: #4fd59a; --win-soft: #143426; --loss: #ff8a80; --loss-soft: #3a1c1a; --draw: #f0c75a; --draw-soft: #352c12;
    --focus: #8ab4f8; --shadow: 0 1px 2px rgba(0, 0, 0, .4); --crest-edge: rgba(255, 255, 255, .22);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b100e; --surface: #151d19; --surface-2: #1c2621; --line: #26322c; --text: #e8efea; --muted: #9caaa2;
  --brand: #0d3b2a; --brand-2: #14684a; --accent: #4fd59a; --accent-soft: #153829; --gold: #f0c03a;
  --win: #4fd59a; --win-soft: #143426; --loss: #ff8a80; --loss-soft: #3a1c1a; --draw: #f0c75a; --draw-soft: #352c12;
  --focus: #8ab4f8; --shadow: 0 1px 2px rgba(0, 0, 0, .4); --crest-edge: rgba(255, 255, 255, .22);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.4 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
  padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom));
}
a { color: var(--accent); }
button, select, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.num, .score { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }

/* ---------- crests ---------- */
.crest { flex: none; display: block; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .15)); }
/* Emblem images sit on a white tile so dark artwork (e.g. the silver fern) shows on any background. */
.crest-img { flex: none; display: block; object-fit: contain; box-sizing: border-box; padding: 2px;
  background: #fff; border-radius: 22%; box-shadow: 0 0 0 1px var(--crest-edge), 0 1px 2px rgba(0, 0, 0, .15); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 8px;
  min-height: 56px;
  padding: env(safe-area-inset-top) var(--gutter) 0;
  color: var(--brand-ink);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 28px, transparent 28px 56px),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}
.topbar .logo { width: 26px; height: 26px; flex: none; }
.topbar h1 { font-size: 19px; margin: 0; font-weight: 800; letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.back {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; margin-left: -12px;
  border: 0; background: none; color: inherit; cursor: pointer; border-radius: 12px;
}
.back:active { background: rgba(255, 255, 255, .15); }

main { max-width: 760px; margin: 0 auto; padding: 14px var(--gutter) 28px; outline: none; }
.loading, .empty { color: var(--muted); text-align: center; padding: 40px 0; }

/* ---------- bottom tabs ---------- */
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tabbar) + env(safe-area-inset-bottom));
  padding: 6px 8px env(safe-area-inset-bottom);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid var(--line);
}
.tabs a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 44px; margin: 0 4px; border-radius: 14px;
  color: var(--muted); text-decoration: none; font-size: 11px; font-weight: 700;
}
.tabs svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round; }
.tabs a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }

/* ---------- filters ---------- */
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.filters .wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field > span { font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: .02em; }
select, input[type="date"] {
  width: 100%; min-width: 0; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow);
}
select { appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px;
  text-overflow: ellipsis; }
.clear { min-height: 44px; border: 0; background: none; color: var(--accent); font-weight: 700; cursor: pointer; padding: 0 4px; }
.count { color: var(--muted); font-size: 13px; margin: 4px 0 6px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; margin: 10px 0 14px; }
.seg button { min-height: 40px; border: 0; border-radius: 10px; background: none; font-weight: 700; cursor: pointer; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--brand-2); color: #fff; box-shadow: var(--shadow); }

/* ---------- timeline ---------- */
.month { display: flex; align-items: center; gap: 10px; margin: 18px 0 8px; font-size: 13px; font-weight: 800;
  color: var(--text); text-transform: uppercase; letter-spacing: .06em;
  position: sticky; top: 56px; background: var(--bg); padding: 6px 0; z-index: 5; }
.month::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.row { display: grid; grid-template-columns: 42px 1fr; gap: 10px; padding: 10px 12px 10px 10px;
  text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--comp, var(--brand-2)); }
.row:active { transform: scale(.99); }
.date { text-align: center; line-height: 1.05; padding-top: 4px; }
.date b { display: block; font-size: 21px; font-weight: 800; }
.date small { display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; font-weight: 700; letter-spacing: .04em; margin-top: 2px; }
.teams { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.team { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 30px; }
.team .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.team.lost .name { color: var(--muted); font-weight: 500; }
.pill { min-width: 36px; padding: 3px 8px; border-radius: 9px; text-align: center; font-weight: 800;
  font-variant-numeric: tabular-nums; background: var(--surface-2); color: var(--muted); }
.team.won .pill { background: var(--brand-2); color: #fff; }
.team.drew .pill { background: var(--draw-soft); color: var(--draw); }
.row.sel-lost .team.won .pill { background: #d9443a; color: #fff; }
.meta { margin-top: 2px; font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.meta .venue { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.meta .venue::before { content: "📍"; margin-right: 3px; font-size: 11px; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--comp, var(--brand-2)) 14%, transparent);
  color: color-mix(in srgb, var(--comp, var(--brand-2)) 75%, var(--text));
  font-size: 11px; font-weight: 700; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--comp, var(--brand-2)); flex: none; }
.sentinel { height: 1px; }

/* ---------- match detail ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; border-radius: 20px; padding: 18px 14px 16px; margin-bottom: 14px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .45)),
    linear-gradient(110deg, var(--home, #0b4d36) 0 48%, var(--away, #138a5c) 52% 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 22px, transparent 22px 44px); }
.hero > * { position: relative; z-index: 1; }
.scoreline { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; text-align: center; }
.scoreline .side { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.scoreline .tname { font-weight: 800; font-size: 15px; overflow-wrap: anywhere; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.scoreline .big { font-size: 40px; font-weight: 900; letter-spacing: -.02em; white-space: nowrap; text-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.scoreline .big .sep { opacity: .6; font-weight: 400; margin: 0 4px; }
.scoreline .big .lose { opacity: .65; }
.hero .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.hero .chip { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.hero .sub { text-align: center; font-size: 13px; margin-top: 10px; opacity: .92; }
.hero .sub div + div { margin-top: 2px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; box-shadow: var(--shadow); }
.card h2 { display: flex; align-items: center; gap: 8px; font-size: 12.5px; margin: 0 0 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .07em; font-weight: 800; }
.card h2::before { content: ""; width: 4px; height: 14px; border-radius: 2px; background: var(--gold); }
.notice { color: var(--muted); font-size: 14px; margin: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.two > div { min-width: 0; }
.two h3 { display: flex; align-items: center; gap: 6px; font-size: 13px; margin: 0 0 8px; min-width: 0; }
.two h3 span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.events { list-style: none; margin: 0 0 8px; padding: 0; font-size: 13px; }
.events li { padding: 2px 0; overflow-wrap: anywhere; }
.events .kind { display: block; font-size: 10.5px; color: var(--muted); font-weight: 800; text-transform: uppercase;
  letter-spacing: .05em; margin-top: 8px; }
.events .kind:first-child { margin-top: 0; }
.events .mins { color: var(--muted); }
.lineup { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.lineup li { display: grid; grid-template-columns: 24px 1fr; gap: 6px; padding: 5px 0; border-top: 1px solid var(--line); align-items: start; }
.lineup li:first-child { border-top: 0; }
.lineup .no { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: 11px; font-weight: 800;
  background: var(--kit, var(--surface-2)); color: var(--kit-ink, var(--text)); box-shadow: inset 0 0 0 1px var(--crest-edge); }
.lineup .pname { overflow-wrap: anywhere; padding-top: 2px; }
.lineup .note { display: block; font-size: 11px; color: var(--muted); }
.lineup .on { color: var(--win); font-weight: 700; }
.lineup .off { color: var(--loss); font-weight: 700; }
.lineup .unused { opacity: .55; }
.bench { font-size: 10.5px; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin: 12px 0 2px; }
.inferred { font-style: italic; }
.cardicon { display: inline-block; width: 9px; height: 12px; border-radius: 2px; vertical-align: -1px; margin-left: 4px; box-shadow: 0 1px 1px rgba(0,0,0,.2); }
.cardicon.yellow { background: var(--yellow); }
.cardicon.red { background: var(--red); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; font-size: 14px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; font-weight: 600; }
.kv dd small { font-weight: 400; color: var(--muted); }
.source { font-size: 13px; color: var(--muted); }
.source a { overflow-wrap: anywhere; }

/* ---------- tables ---------- */
.card.tbl { padding: 12px 10px; }
.standings { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; table-layout: fixed; }
.standings th, .standings td { padding: 7px 0; text-align: right; border-top: 1px solid var(--line); }
.standings th { font-size: 10.5px; color: var(--muted); font-weight: 800; border-top: 0; }
.standings .tcol { text-align: left; padding-left: 2px; }
.standings td.tcol { overflow: hidden; white-space: nowrap; }
.standings .tcell { display: flex; align-items: center; gap: 6px; min-width: 0; }
.standings .tcell span { overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.standings .pos { text-align: left; }
.standings .pos b { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; font-size: 11px;
  background: var(--surface-2); color: var(--muted); }
.standings tr:nth-child(1) .pos b { background: var(--gold); color: #3a2a00; }
.standings col.pos-c { width: 22px; }
.standings col.n { width: 21px; }
.standings col.n3 { width: 29px; }
.standings col.diff { width: 34px; }
.standings col.pts-c { width: 32px; }
.standings .pts span { display: inline-block; min-width: 26px; padding: 2px 4px; border-radius: 7px; text-align: center;
  font-weight: 800; background: var(--accent-soft); color: var(--accent); }
.standings .full-name { display: none; }
.standings .pos-d { color: var(--win); }
.standings .neg-d { color: var(--loss); }
.badge { display: inline-block; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.badge.live { background: var(--draw-soft); color: var(--draw); }
.stage-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.stage-title h2 { margin: 0 !important; }
.small-note { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.mini { list-style: none; margin: 0; padding: 0; }
.mini a { display: grid; grid-template-columns: 1fr auto auto auto 1fr; gap: 6px; align-items: center; min-height: 48px; padding: 6px 0;
  border-top: 1px solid var(--line); text-decoration: none; color: inherit; font-size: 14px; }
.mini li:first-child a { border-top: 0; }
.mini .h { text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.mini .a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.mini .s { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; padding: 2px 8px; border-radius: 8px; background: var(--surface-2); }
.mini .when { grid-column: 1 / -1; font-size: 11px; color: var(--muted); text-align: center; margin-top: -2px; }

/* ---------- records ---------- */
.rhero { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; color: #fff; border-radius: 20px;
  padding: 16px; margin-bottom: 12px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.42)), linear-gradient(120deg, var(--home, #0b4d36), var(--away, #138a5c));
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16); }
.rhero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 22px, transparent 22px 44px); }
.rhero > * { position: relative; z-index: 1; }
.rhero h2 { margin: 0; font-size: 22px; font-weight: 900; text-shadow: 0 1px 3px rgba(0,0,0,.35); overflow-wrap: anywhere; }
.rhero p { margin: 2px 0 0; font-size: 13px; opacity: .9; }
.wdl { margin-top: 10px; }
.wdl .bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.2); }
.wdl .bar i { display: block; height: 100%; }
.wdl .bar .w { background: #3ee08f; } .wdl .bar .d { background: #ffd04a; } .wdl .bar .l { background: #ff6b5e; }
.wdl .legend { display: flex; gap: 12px; font-size: 12px; margin-top: 6px; font-weight: 700; flex-wrap: wrap; }
.form { display: flex; gap: 3px; margin-top: 10px; flex-wrap: wrap; }
.form b { display: inline-grid; place-items: center; width: 19px; height: 21px; border-radius: 5px; font-size: 10.5px; font-weight: 900; color: #fff; }
.form .W { background: #1aa565; } .form .L { background: #d9443a; } .form .D { background: #c99700; }
.summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; margin-bottom: 12px; }
.summary div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 4px; box-shadow: var(--shadow); }
.summary b { display: block; font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }
.summary span { font-size: 10.5px; color: var(--muted); text-transform: uppercase; font-weight: 800; letter-spacing: .04em; }
.rec { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; table-layout: fixed; }
.rec th, .rec td { padding: 9px 0; border-top: 1px solid var(--line); text-align: right; }
.rec th { font-size: 10.5px; color: var(--muted); border-top: 0; font-weight: 800; }
.rec .label { text-align: left; overflow: hidden; white-space: nowrap; padding-right: 6px; }
.rec .label .lc { display: flex; align-items: center; gap: 6px; min-width: 0; }
.rec .label .lc span { overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.rec col.n { width: 26px; }
.rec col.pct { width: 46px; }
.rec col.pts { width: 38px; }
.rec tr.click { cursor: pointer; }
.rec tr.click:active, .rec tr.sel { background: var(--accent-soft); }
.pctbar { display: inline-block; min-width: 38px; padding: 1px 5px; border-radius: 7px; font-weight: 800; text-align: center; }
.res-w { color: var(--win); } .res-l { color: var(--loss); } .res-d { color: var(--draw); }

/* match list in Records: result, home crest, home, score, away, away crest */
.games { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 13.5px; }
.games col.res { width: 30px; }
.games col.cr { width: 28px; }
.games col.sc { width: 64px; }
.games tbody tr.g td { padding: 10px 0 2px; border-top: 1px solid var(--line); vertical-align: middle; }
.games tbody tr.g:first-child td { border-top: 0; }
.games tbody tr.w td { padding: 0 0 9px; font-size: 11px; color: var(--muted); text-align: center; }
.games tr { cursor: pointer; }
.games .rb { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; font-weight: 900; font-size: 12px; color: #fff; }
.games .rb.W { background: #1aa565; } .games .rb.L { background: #d9443a; } .games .rb.D { background: #c99700; }
.games .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; padding: 0 4px; }
.games .nm.h { text-align: right; }
.games .nm.me { font-weight: 800; }
.games .scell { text-align: center; }
.games .sc-pill { display: inline-block; min-width: 56px; padding: 3px 6px; border-radius: 9px; font-weight: 900; font-variant-numeric: tabular-nums; }
.sc-pill.W { background: var(--win-soft); color: var(--win); }
.sc-pill.L { background: var(--loss-soft); color: var(--loss); }
.sc-pill.D { background: var(--draw-soft); color: var(--draw); }
.games .crc { text-align: center; }
.games .crc > * { margin: 0 auto; }

/* ---------- about ---------- */
.prose p { margin: 0 0 10px; }
.cov { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.cov th, .cov td { padding: 8px 0; border-top: 1px solid var(--line); text-align: right; }
.cov th:first-child, .cov td:first-child { text-align: left; font-weight: 800; }
.cov th { font-size: 10.5px; color: var(--muted); border-top: 0; font-weight: 800; }
.covbar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: var(--surface-2); margin-top: 4px; }
.covbar i { display: block; }
.covbar .f { background: var(--brand-2); } .covbar .s { background: var(--gold); } .covbar .r { background: var(--line); }

/* ---------- wider screens ---------- */
@media (min-width: 600px) {
  .filters { grid-template-columns: 2fr 2fr 1fr auto; align-items: end; }
  .filters .wide { grid-column: auto; }
  .standings .full-name { display: inline; }
  .standings .short-name { display: none; }
  .standings col.n { width: 34px; }
  .standings col.n3 { width: 42px; }
  .standings col.diff { width: 46px; }
  .standings col.pts-c { width: 44px; }
  .card.tbl { padding: 14px; }
  .rec col.n { width: 40px; }
  .rec col.pct { width: 60px; }
  .rec col.pts { width: 52px; }
  .two { gap: 24px; }
  .row { grid-template-columns: 52px 1fr; }
  .scoreline .big { font-size: 52px; }
  .games col.sc { width: 80px; }
}
@media (prefers-reduced-motion: no-preference) {
  .row { transition: transform .1s ease; }
}
