:root {
  --bg: #09110e;
  --text: #e8f6ee;
  --muted: #8eaa9d;
  --line: rgba(214, 242, 226, 0.12);
  --live: #3ee0a0;
  --gold: #e6b15c;
  --blue: #8eb6ff;
  --red: #ff8d8d;
  --card: rgba(14, 28, 23, 0.92);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100dvh;
  font-family: Prompt, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 420px at -10% -20%, rgba(62, 224, 160, 0.18), transparent 55%),
    radial-gradient(700px 380px at 110% -10%, rgba(230, 177, 92, 0.12), transparent 50%),
    var(--bg);
}
::selection { background: #1f6b4a; color: white; }
:focus-visible { outline: 2px solid var(--live); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.layout { display: grid; grid-template-columns: 232px 1fr; min-height: 100dvh; }
aside {
  position: sticky;
  top: 0;
  height: 100dvh;
  padding: 22px 14px;
  background: rgba(8, 16, 13, 0.92);
  border-right: 1px solid var(--line);
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: inherit;
  text-decoration: none;
  padding: 0 8px;
}
.brand strong { display: block; font-size: 20px; font-weight: 700; }
.brand small { color: var(--muted); }
.mark {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}
nav { display: grid; gap: 4px; margin-top: 22px; }
nav a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
nav a:hover, nav a.active { background: rgba(62, 224, 160, 0.12); }
nav a.active { color: var(--live); }

.content { min-width: 0; display: flex; flex-direction: column; }
.top {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 22px;
  background: rgba(9, 17, 14, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.top-title { margin: 0; font-weight: 800; }
.top-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.switch { display: flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 700; }
body.is-loading .top { box-shadow: inset 0 -2px 0 var(--live); }

main { width: min(1180px, 100%); margin: 0 auto; padding: 22px 22px 28px; flex: 1; }
.banner { margin: 12px 22px 0; padding: 10px 14px; border-radius: 12px; background: #3a2a12; color: #ffd89a; }
.banner[hidden] { display: none; }
.site-foot { width: min(1180px, 100%); margin: 0 auto; padding: 8px 22px 28px; color: var(--muted); font-size: 13px; }
.site-foot a { color: var(--muted); }

h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; line-height: 1.15; margin: 0; }
h2 { font-size: 22px; font-weight: 700; margin: 0 0 10px; }
h3 { margin: 0 0 8px; font-size: 16px; }
p { line-height: 1.5; }
.eyebrow { color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; font-weight: 800; margin: 0 0 6px; }
.hint, .muted { color: var(--muted); font-size: 13px; }
.page-head { margin-bottom: 8px; }
.title-row { display: flex; gap: 14px; align-items: center; }
.title-row > div { min-width: 0; }
.crest {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: #16352a;
  border: 1px solid var(--line);
}
.crest-league { border-radius: 8px; }
.crest.crest-lg { width: 56px; height: 56px; flex: none; }
.crest img, .crest-fallback { grid-area: 1 / 1; }
.crest img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.crest:has(img) .crest-fallback { display: none; }
.crest-fallback { font-size: 10px; font-weight: 800; letter-spacing: 0.02em; }
.crest.crest-lg .crest-fallback { font-size: 16px; }
.flag { width: 18px; height: 13px; object-fit: cover; border-radius: 2px; margin-right: 6px; vertical-align: -2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16); }
.team-cell { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.team-cell a { color: var(--text); font-weight: 700; text-decoration: none; }
.row-actions, .toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin: 14px 0; }
.toolbar label { display: grid; gap: 4px; font-size: 12px; color: var(--muted); font-weight: 700; }
.league-pick { min-width: 220px; max-width: 320px; }

input, select, button { font: inherit; color: inherit; }
input, select {
  background: #0e1b16;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
}
select[multiple] { min-width: 220px; border-radius: 12px; }
button, a.btn {
  display: inline-flex;
  align-items: center;
  background: #17382c;
  border: 1px solid rgba(62, 224, 160, 0.28);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
}
button:hover, a.btn:hover { background: #1e4a39; }
button:disabled { opacity: 0.4; cursor: not-allowed; }
button.on, .tabs button[aria-selected="true"] { background: var(--live); color: #062116; border-color: transparent; }
a { color: var(--gold); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.book-picks { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 8px 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.match {
  --accent: #3ee0a0;
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--accent) 28%, #10211b), #0d1915 58%);
  border: 1px solid color-mix(in srgb, var(--accent) 48%, transparent);
  border-radius: 18px;
  padding: 14px;
  cursor: pointer;
  overflow: hidden;
  box-shadow: inset 0 3px 0 var(--accent);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.match[data-tone="0"] { --accent: #3ee0a0; }
.match[data-tone="1"] { --accent: #e6b15c; }
.match[data-tone="2"] { --accent: #8eb6ff; }
.match[data-tone="3"] { --accent: #ff8da8; }
.match[data-tone="4"] { --accent: #c9a6ff; }
.match[data-tone="5"] { --accent: #7ee0d6; }
.match[data-tone="6"] { --accent: #f0d36a; }
.match[data-tone="7"] { --accent: #ff9b6a; }
.match[data-tone="8"] { --accent: #9dff8a; }
.match[data-tone="9"] { --accent: #7ec8ff; }
.match[data-tone="10"] { --accent: #ffd0e4; }
.match[data-tone="11"] { --accent: #b7f27a; }
.match:hover { transform: translateY(-2px); border-color: var(--accent); }
.match-top, .match-foot { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.match-top { margin-bottom: 10px; }
.match-top a, .lg {
  flex: 1;
  min-width: 0;
  color: color-mix(in srgb, var(--accent) 72%, white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.match-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}
.match-line > * { min-width: 0; }
.club-side { display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; overflow: hidden; }
.club-side.away { flex-direction: row-reverse; margin-left: auto; }
.club-side a, .club-side .name {
  min-width: 0;
  max-width: calc(100% - 36px);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.score-pair { display: flex; align-items: center; justify-content: center; gap: 4px; min-width: 52px; }
.score-pair .dash, .score-pair .vs-link { color: var(--muted); font-weight: 700; text-decoration: none; }
.pill { font-size: 12px; font-weight: 800; color: var(--muted); white-space: nowrap; }
.is-live .pill { color: var(--live); }
.is-live .pill::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 99px;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(62, 224, 160, 0.7);
  animation: pulse 1.6s infinite;
}
.is-unknown .pill { color: var(--gold); }
.club-side.away a, .club-side.away .name { text-align: right; }
.num {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  min-width: 1ch;
  text-align: center;
}
.match-foot { margin-top: 8px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.mini-odds { margin: 8px 0 0; color: var(--gold); font-variant-numeric: tabular-nums; font-size: 13px; }
.reason { margin: 6px 0 0; color: var(--gold); font-size: 12px; }

.score-list { display: grid; gap: 16px; }
.board {
  --accent: #3ee0a0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 16%, #10211b), #0e1b16 72px);
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  border-radius: 16px;
  overflow: hidden;
}
.board[data-tone="0"] { --accent: #3ee0a0; }
.board[data-tone="1"] { --accent: #e6b15c; }
.board[data-tone="2"] { --accent: #8eb6ff; }
.board[data-tone="3"] { --accent: #ff8da8; }
.board[data-tone="4"] { --accent: #c9a6ff; }
.board[data-tone="5"] { --accent: #7ee0d6; }
.board[data-tone="6"] { --accent: #f0d36a; }
.board[data-tone="7"] { --accent: #ff9b6a; }
.board[data-tone="8"] { --accent: #9dff8a; }
.board[data-tone="9"] { --accent: #7ec8ff; }
.board[data-tone="10"] { --accent: #ffd0e4; }
.board[data-tone="11"] { --accent: #b7f27a; }
.board-league { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.board-league a { color: color-mix(in srgb, var(--accent) 70%, white); font-weight: 700; text-decoration: none; }
.board-cols, .board-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 58px 58px 58px;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
}
.board-cols { color: var(--muted); font-size: 12px; font-weight: 800; text-align: center; padding-bottom: 0; }
.board-cols span:nth-child(3),
.board-cols span:nth-child(4),
.board-cols span:nth-child(5) { text-align: center; }
.board-row { border-top: 1px solid var(--line); cursor: pointer; }
.board-row:hover { background: rgba(255, 255, 255, 0.03); }
.board-row time { color: var(--muted); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.board-row.is-live time { color: var(--live); }
.board-match { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; min-width: 0; }
.board-match strong { font-variant-numeric: tabular-nums; text-align: center; min-width: 3.2ch; }
.board-home, .board-away { display: flex; align-items: center; gap: 6px; min-width: 0; }
.board-home { justify-content: flex-end; }
.board-home a, .board-home span, .board-away a, .board-away span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
.board-home a, .board-home span { text-align: right; }
.px {
  display: grid;
  place-items: center;
  min-height: 34px;
  border-radius: 8px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  border: 1px solid transparent;
}
.px.is-short { box-shadow: inset 0 0 0 1px currentColor; }

.chips { display: flex; gap: 8px; overflow: auto; padding-bottom: 8px; margin: 8px 0 14px; }
.chips a {
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.chips a:hover { border-color: var(--live); }

.panel, .empty-state {
  background: rgba(16, 33, 27, 0.78);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  margin: 14px 0;
}
.empty-state { text-align: center; padding: 36px 18px; }
.inline-error, .error-panel { background: #3a1818; color: #ffd0d0; border-radius: 16px; padding: 14px; }
.notice { padding: 10px 12px; border-radius: 12px; background: #143024; color: #b6f3d4; }
.league-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.league-row a.name { font-weight: 800; font-size: 16px; }
.league-row > div:not(.row-actions) { flex: 1; min-width: 0; }
.tag { font-size: 11px; border: 1px solid var(--line); border-radius: 99px; padding: 2px 8px; color: var(--gold); }
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin: 18px 0; }

.scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 28px;
  border-radius: 24px;
  background:
    radial-gradient(500px 180px at 50% 0%, rgba(62, 224, 160, 0.16), transparent 60%),
    #10211b;
  border: 1px solid var(--line);
}
.club {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: clamp(18px, 2.4vw, 32px);
  font-weight: 700;
}
.club a { color: inherit; text-decoration: none; }
.club.away { text-align: center; }
.score-mid { text-align: center; }
.score-mid strong {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.score-mid em { display: block; margin-top: 4px; font-style: normal; color: var(--live); font-weight: 800; }
.facts-line { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); margin: 10px 0 0; }

.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
th, td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-weight: 700; font-size: 12px; }
.market { margin-top: 18px; padding: 4px 0 4px 12px; border-left: 3px solid var(--m, var(--gold)); }
.m-1x2 { --m: #e6b15c; }
.m-asian { --m: #8eb6ff; }
.m-line { --m: #3ee0a0; }
.m-corner { --m: #7ee0d6; }
.m-card { --m: #f0d36a; }
.m-btts { --m: #ff9ec4; }
.odds-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 8px 0 4px; color: var(--muted); font-size: 12px; font-weight: 700; }
.odds-legend span { display: inline-flex; align-items: center; gap: 6px; }
.odds-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.odds-legend i.q-home { background: #3ee0a0; }
.odds-legend i.q-draw { background: #e6b15c; }
.odds-legend i.q-away { background: #8eb6ff; }
.odds-legend i.q-under { background: #ff8b7b; }
.odds-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.odds-phase { background: rgba(0, 0, 0, 0.22); border-radius: 14px; padding: 10px; min-width: 0; }
.odds-phase > p { margin: 0 0 8px; font-size: 12px; font-weight: 700; color: var(--muted); }
.quote-row { display: flex; flex-wrap: wrap; gap: 6px; }
.quote {
  display: flex;
  flex-direction: column;
  min-width: 68px;
  flex: 1 1 68px;
  padding: 7px 8px;
  border-radius: 12px;
  background: #12241c;
  border: 1px solid transparent;
}
.quote em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); }
.quote strong { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.q-home, .q-over, .q-yes { background: rgba(62, 224, 160, 0.16); color: #8ef0c8; }
.q-draw, .q-no { background: rgba(230, 177, 92, 0.16); color: #f0cb86; }
.q-away { background: rgba(142, 182, 255, 0.16); color: #b7cdff; }
.q-under { background: rgba(255, 139, 123, 0.16); color: #ffb0a4; }
.quote.is-short { border-color: currentColor; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 55%, transparent); }
.line-pill { display: inline-block; margin-bottom: 6px; padding: 2px 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); font-size: 12px; font-weight: 700; }
.quote-time, .quote-empty { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.fixed-list { display: grid; gap: 10px; }
.fixed-row { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: start; }
.fixed-row > b { font-size: 18px; padding-top: 10px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.ev {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  margin-left: 8px;
  padding: 8px 0 8px 14px;
  border-left: 2px solid #23483b;
}
.ev .min { color: var(--gold); font-variant-numeric: tabular-nums; font-weight: 800; }
.ev strong { display: block; }
.ev span { color: var(--muted); }
.ev-goal strong { color: var(--live); }
.ev-red_card strong { color: var(--red); }
.ev-yellow_card strong { color: var(--gold); }

.bar-row {
  display: grid;
  grid-template-columns: 42px 1fr auto 1fr 42px;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
}
.bar { height: 8px; background: #1c2b25; border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--live); }
.bar.away { display: flex; justify-content: flex-end; }
.bar.away i { background: var(--blue); }
.bar-row .lbl { color: var(--muted); font-size: 13px; text-align: center; }
.bar-row .n { font-variant-numeric: tabular-nums; font-weight: 800; }
.bar-row .n.right { text-align: right; }

.chart { width: 100%; height: auto; background: #0c1914; border-radius: 12px; display: block; }
.legend { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 12px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 99px; margin-right: 4px; }
.tick-scroll { max-height: 420px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 12px 0; }
.facts div { background: #0e1b16; border-radius: 12px; padding: 10px 12px; }
.facts dt { color: var(--muted); font-size: 12px; }
.facts dd { margin: 4px 0 0; font-weight: 800; }
.plan-list { margin: 8px 0 0; padding-left: 18px; }
.plan-list li { margin: 6px 0; }
pre, code { font-family: ui-monospace, Consolas, monospace; }
pre { background: #0b1612; padding: 12px; border-radius: 12px; overflow: auto; }

.skeleton {
  height: 148px;
  border-radius: 18px;
  background: linear-gradient(90deg, #13241d 25%, #1c342a 37%, #13241d 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}
.skeleton.tall { height: 280px; }
.skeleton.short { height: 52px; border-radius: 12px; }
.lottery-box { margin-top: 8px; display: grid; gap: 4px; font-size: 13px; }
.lottery-box b { color: var(--gold); }

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(62, 224, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 224, 160, 0); }
}
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

.brand.mini { display: none; }
.tabbar { display: none; }

@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  aside { display: none; }
  .brand.mini { display: grid; }
  .brand.mini .mark { width: 42px; height: 42px; }
  .top { flex-wrap: wrap; padding: 10px 12px; gap: 8px; }
  .top-title { display: none; }
  .top-controls { width: 100%; }
  .top-controls select, .switch { min-height: 40px; }
  main { padding: 14px 12px 28px; }
  .site-foot { padding: 8px 12px calc(88px + env(safe-area-inset-bottom)); }
  .tabbar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    background: rgba(8, 16, 13, 0.96);
    border-top: 1px solid var(--line);
    padding: 4px 2px calc(6px + env(safe-area-inset-bottom));
    backdrop-filter: blur(16px);
  }
  .tabbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 6px 2px;
    border-radius: 12px;
    color: var(--muted);
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
  }
  .tabbar a.active { color: #062116; background: var(--live); }
  .grid { grid-template-columns: 1fr; }
  .board-cols, .board-row { grid-template-columns: 42px minmax(0, 1fr) 44px 44px 44px; gap: 4px; padding: 8px; }
  .board-match { gap: 4px; }
  .px { min-height: 30px; font-size: 12px; }
  .match { padding: 12px; }
  .match:hover { transform: none; }
  .odds-board { grid-template-columns: 1fr; }
  .fixed-row { grid-template-columns: 1fr; }
  .fixed-row > b { padding-top: 0; }
  .club-side { gap: 6px; }
  .num { font-size: 18px; }
  .scoreboard { grid-template-columns: 1fr auto 1fr; gap: 8px; padding: 16px 8px; text-align: center; }
  .club, .club.away { font-size: 15px; }
  .score-mid strong { font-size: 32px; }
  .toolbar label { flex: 1 1 140px; }
  .toolbar input, .toolbar select, .searchline input { width: 100%; }
  .league-pick { min-width: 0; max-width: none; }
  .book-picks { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .book-picks .switch { white-space: nowrap; }
  .chips { margin-left: -12px; margin-right: -12px; padding-left: 12px; padding-right: 12px; }
  h1 { font-size: 30px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; }
  .tabs button { white-space: nowrap; min-height: 40px; }
  .pager button { min-height: 44px; }
  .league-row { align-items: flex-start; flex-wrap: wrap; }
  table.standings { min-width: 640px; }
  table.standings th:nth-child(2),
  table.standings td:nth-child(2) {
    position: sticky;
    left: 0;
    background: #12241c;
    z-index: 1;
    box-shadow: 8px 0 10px rgba(0, 0, 0, 0.2);
  }
  .bar-row { grid-template-columns: 32px 1fr auto 1fr 32px; gap: 4px; }
  th, td { padding: 8px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
