/* Lahser Dynasty. One local stylesheet, cool light palette, mobile first. */

:root {
  --bg: #e0e5ec;
  --surface: #e0e5ec;
  --surface-2: #d4dce7;
  --ink: #273443;
  --ink-2: #3d4852;
  --muted: #566171;
  --line: rgba(72, 89, 112, .23);
  --accent: #4b43b7;
  --accent-soft: #dcd9f8;
  --gold: #8a5a1b;
  --gold-soft: #efe3cd;
  --good: #0b716c;
  --good-soft: #cce9e4;
  --warn: #9b4248;
  --warn-soft: #f0dce0;
  --radius: 12px;
  --shadow: 5px 5px 12px rgba(163, 177, 198, .55), -5px -5px 12px rgba(255, 255, 255, .65);
  --shadow-small: 3px 3px 7px rgba(163, 177, 198, .5), -3px -3px 7px rgba(255, 255, 255, .6);
  --shadow-inset: inset 3px 3px 6px rgba(163, 177, 198, .55), inset -3px -3px 6px rgba(255, 255, 255, .65);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

strong, .team { font-weight: 650; }
a.team { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
a.team:hover { color: var(--accent); border-bottom-color: var(--accent); }
.was { color: var(--muted); font-size: .85em; font-weight: 400; }
.renamed { margin: -.5rem 0 1.25rem; }
.list.names li { padding: 8px 0; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 20px; }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(163, 177, 198, .3);
}
.site-header .header-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 11px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; font-size: .91rem; font-weight: 700; color: var(--accent); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.header-utilities { display: flex; align-items: center; gap: 8px; }
.sync-meta { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: .69rem; white-space: nowrap; }
.sync-dot { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--warn); }
.sync-meta.is-fresh .sync-dot { background: var(--good); }
.sync-meta.is-stale { color: var(--warn); border-color: rgba(155, 66, 72, .35); background: var(--warn-soft); }
.sync-meta.is-stale .sync-dot { background: var(--warn); }
.season-switcher { position: relative; font-size: .75rem; }
.season-switcher summary { cursor: pointer; padding: 6px 9px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-small); list-style: none; white-space: nowrap; }
.season-switcher summary::-webkit-details-marker { display: none; }
.season-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 25; min-width: 130px; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); box-shadow: var(--shadow); }
.season-menu a { display: block; padding: 7px 9px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.season-menu a:hover, .season-menu a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
.search-trigger { padding: 6px 9px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink-2); box-shadow: var(--shadow-small); cursor: pointer; font: inherit; font-size: .75rem; white-space: nowrap; }
.search-trigger kbd { margin-left: 7px; color: var(--muted); font-size: .69rem; }
.search-trigger:hover { color: var(--ink); border-color: var(--gold); }
.ico { margin-right: .4em; }
.nav { display: flex; gap: 1px; margin: 0; padding: 0; list-style: none; }
.nav a {
  display: block;
  padding: 8px 12px;
  border-bottom: 2px solid transparent;
  color: var(--ink-2);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 500;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); font-weight: 700; }
.status-strip { background: var(--surface-2); border-top: 1px solid var(--line); }
.status-items { display: flex; align-items: center; gap: 0; overflow-x: auto; scrollbar-width: thin; }
.status-item { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 8px 0; color: var(--ink-2); font-size: .73rem; white-space: nowrap; }
.status-item + .status-item::before { content: "/"; color: var(--muted); padding: 0 20px; }
.status-item strong { color: var(--muted); text-transform: uppercase; letter-spacing: .10em; font-size: .65rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ---------------------------------------------------------------- page */

main { padding: 28px 0 36px; }
.site-search { width: min(580px, calc(100vw - 28px)); max-width: none; max-height: min(70vh, 620px); padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: 12px 12px 28px rgba(92, 110, 135, .35), -12px -12px 28px rgba(255, 255, 255, .7); }
.site-search::backdrop { background: rgba(39, 52, 67, .42); }
.search-shell { padding: 18px; }
.search-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.search-head label { font-weight: 650; }
.search-head button { border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.site-search input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); box-shadow: var(--shadow-inset); font: inherit; }
.search-results { max-height: 330px; overflow-y: auto; margin-top: 12px; }
.search-results a { display: flex; flex-direction: column; gap: 2px; padding: 9px 11px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.search-results a:hover, .search-results a:focus-visible { background: var(--surface-2); }
.search-results a span { color: var(--muted); font-size: .76rem; }
.search-results > p { color: var(--muted); }

h1, h2, h3, h4 { font-family: inherit; line-height: 1.2; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 680; }
h2 { font-size: 1.2rem; font-weight: 620; margin-top: 2rem; margin-bottom: .6rem; }
h3 { font-size: 1.02rem; font-weight: 620; margin-top: 1.4rem; margin-bottom: .4rem; }

.page-head { margin-bottom: 1.25rem; }
.page-head p { margin: .35rem 0 0; color: var(--muted); }
.page-head p strong { color: var(--ink-2); }
.eyebrow { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .68rem; font-weight: 550; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); margin: 0 0 .5rem; }

.prose p, .prose ul, .prose ol { margin: 0 0 .9rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin: .25rem 0; }
.prose > p:first-child { font-size: 1.05rem; color: var(--ink-2); }

.section { margin-top: 2rem; }
.section > h2:first-child { margin-top: 0; }

.muted { color: var(--muted); }
.small { font-size: .875rem; }
.num { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------------------------------------------------------------- cards */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.card + .card { margin-top: 12px; }
.card h2, .card h3 { margin-top: 0; }

.lead {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 1.08rem;
  margin: 0 0 1.25rem;
}

.stat-cards { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0 0 .5rem; }
@media (min-width: 640px) { .stat-cards { grid-template-columns: repeat(3, 1fr); } }
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  box-shadow: var(--shadow);
}
.stat .label { font-size: .78rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin: 0 0 .35rem; }
.stat .who { margin: 0; }
.stat .figure { margin: .15rem 0 0; font-size: 1.35rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.stat .sub { margin: .1rem 0 0; color: var(--muted); font-size: .9rem; }
.stat.gold { border-top: 1px solid var(--gold); }
.stat.blue { border-top: 1px solid var(--accent); }
.stat.warn { border-top: 1px solid var(--warn); }

/* ---------------------------------------------------------------- tables */

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 0 1rem;
}
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th {
  font-size: .76rem;
  font-weight: 650;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-2);
  white-space: nowrap;
}
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
td.r, th.r { text-align: right; }
td.rank { color: var(--muted); width: 2.5rem; font-variant-numeric: tabular-nums; }
tr.total td { font-weight: 700; background: var(--surface-2); }
.wide-cell { min-width: 11rem; }
.chip { display: inline-block; white-space: nowrap; margin-right: 10px; }
.chip:last-child { margin-right: 0; }
@media (max-width: 480px) {
  table { font-size: .9rem; }
  th, td { padding: 8px 7px; }
  th:first-child, td:first-child { padding-left: 10px; }
  th:last-child, td:last-child { padding-right: 10px; }
  thead th { font-size: .68rem; letter-spacing: .03em; }
  td.rank { width: 1.6rem; }
}

/* Narrow screens: rows of a .stack table become labelled blocks. */
@media (max-width: 600px) {
  .stack table, .stack tbody, .stack tr, .stack td { display: block; }
  .stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .stack tr { padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .stack tbody tr:last-child { border-bottom: 0; }
  .stack td, .stack td:first-child, .stack td:last-child { border: 0; padding: 1px 0; text-align: left; min-width: 0; width: auto; }
  .stack td[data-label]::before { content: attr(data-label) "  "; color: var(--muted); font-size: .78rem; font-weight: 650; letter-spacing: .03em; }
  .stack td:empty { display: none; }
}

/* ---------------------------------------------------------------- badges */

.badge {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: .72rem;
  font-weight: 550;
  white-space: nowrap;
  background: var(--surface-2);
  color: var(--ink-2);
}
.badge.awarded { background: var(--good-soft); color: var(--good); }
.badge.leader { background: var(--accent-soft); color: var(--accent); }
.badge.pending { background: var(--surface-2); color: var(--muted); }
.badge.flag { background: var(--warn-soft); color: var(--warn); }

.note {
  background: var(--warn-soft);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin: 0 0 1rem;
  font-size: .94rem;
}

/* ---------------------------------------------------------------- lists */

.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.list .meta { font-size: .85rem; color: var(--muted); margin: 0 0 .15rem; }
.list .title { font-weight: 650; }
.list p { margin: .2rem 0 0; color: var(--ink-2); }

.takeaways { margin: 0; padding-left: 1.2rem; }
.takeaways li { margin: .45rem 0; }

.links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.links a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  text-decoration: none;
  font-size: .92rem;
}
.links a:hover { border-color: var(--accent); }
.see-also { margin-bottom: 1.25rem; }
.card-lead { margin: .2rem 0 .7rem; }
.amendment-body { margin-top: .75rem; }
.amendment-note { margin: .9rem 0 0; }
.amendment-source { margin: .9rem 0 0; }
.amended { font-size: .85rem; color: var(--muted); margin: -.3rem 0 .8rem; }
.note ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.note p { margin: 0; }

dl.amendment { margin: .75rem 0 0; display: grid; grid-template-columns: 1fr; gap: 2px 16px; }
dl.amendment dt { font-size: .78rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-top: .6rem; }
dl.amendment dd { margin: 0; }
@media (min-width: 640px) {
  dl.amendment { grid-template-columns: 9rem 1fr; }
  dl.amendment dt { margin-top: 0; padding-top: 2px; }
}

/* ---------------------------------------------------------------- charts */

.charts { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: start; }
@media (min-width: 1000px) { .charts { grid-template-columns: 1fr 1fr; } }
figure { margin: 0; }
.charts img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
figcaption { font-size: .85rem; color: var(--muted); margin-top: .35rem; }
.weekly-score-figure { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.weekly-score-figure figcaption { margin: 0 0 12px; }
.weekly-score-figure figcaption strong { display: block; color: var(--ink); font-size: 1rem; }
.weekly-score-figure figcaption span { display: block; margin-top: 3px; }
.weekly-score-list { list-style: none; margin: 0; padding: 0; }
.weekly-score-list li { display: grid; grid-template-columns: minmax(0, 10rem) minmax(2rem, 1fr) 4.5rem 5.5rem; align-items: center; gap: 8px; padding: 5px 0; border-top: 1px solid var(--line); font-size: .78rem; }
.score-name { min-width: 0; line-height: 1.2; overflow-wrap: anywhere; }
.score-points { text-align: right; font-weight: 650; }
.score-status { color: var(--muted); font-size: .7rem; line-height: 1.2; }
.score-track, .pf-track { position: relative; display: block; overflow: hidden; background: var(--surface-2); }
.score-track { height: 10px; border-radius: 2px; }
.has-median .score-track::after { content: ""; position: absolute; left: var(--median-position); top: 0; bottom: 0; width: 2px; background: var(--ink); opacity: .75; }
.score-fill, .pf-fill { display: block; height: 100%; border-radius: 2px; }
.weekly-score-list .high .score-fill, .pf-high .pf-fill, .key-dot.high { background: var(--gold); }
.weekly-score-list .above .score-fill, .pf-above .pf-fill, .key-dot.above { background: var(--good); }
.weekly-score-list .below .score-fill, .pf-below .pf-fill, .key-dot.below { background: var(--warn); }
.weekly-score-list .even .score-fill, .weekly-score-list .neutral .score-fill { background: var(--muted); }
.weekly-score-list .high .score-points { color: var(--gold); }
.weekly-score-list .above .score-points { color: var(--good); }
.weekly-score-list .below .score-points { color: var(--warn); }
.metric-key, .score-key { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; line-height: 1.35; }
.score-key { margin: 12px 0 0; font-size: .74rem; }
.key-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.key-dot { display: inline-block; flex: 0 0 auto; width: 9px; height: 9px; border-radius: 2px; }
.median-marker { display: inline-block; width: 2px; height: 12px; background: var(--ink); margin-right: -10px; }
@media (max-width: 620px) {
  .weekly-score-list li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name points" "track status"; gap: 3px 10px; }
  .score-name { grid-area: name; }
  .score-points { grid-area: points; }
  .score-track { grid-area: track; }
  .score-status { grid-area: status; text-align: right; }
}

/* ---------------------------------------------------------------- details */

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 16px;
  margin: 1rem 0;
}
summary { cursor: pointer; padding: 12px 0; font-weight: 650; }
details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: .75rem; }
details > :last-child { margin-bottom: 14px; }

/* ---------------------------------------------------------------- parlay */

.parlay {
  margin-top: 2.5rem;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.parlay h2 { margin-top: 0; }
.finance-top { display: grid; grid-template-columns: minmax(0, 1fr) 245px; align-items: start; gap: 18px; margin-bottom: 12px; }
.finance-top .page-head { margin-bottom: 0; }
.parlay-jackpot { margin: 0; padding: 12px 14px; background: var(--gold-soft); border-color: rgba(138, 90, 27, .35); box-shadow: var(--shadow-small); }
.parlay-jackpot-head { display: flex; align-items: center; gap: 9px; }
.parlay-jackpot-head .eyebrow { margin: 0; }
.parlay-jackpot h2 { margin: 0; font-size: .94rem; line-height: 1.2; }
.jackpot-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--surface); font-size: 1.12rem; }
.parlay-total { display: block; margin-top: 8px; font-size: 1.35rem; line-height: 1.1; color: var(--gold); }
.parlay-jackpot > .small { font-size: .72rem; }
.parlay-details { margin: 8px 0 0; padding: 0 9px; background: transparent; }
.parlay-details summary { padding: 5px 0; font-size: .73rem; }
.parlay-details h3 { margin: 7px 0; font-size: .78rem; }
.parlay-details table { font-size: .72rem; }
.parlay-details th, .parlay-details td { padding: 4px 5px; }

/* ---------------------------------------------------------------- pager */

.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 2rem; }
.pager a, .pager span {
  flex: 1 1 0;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
}
.pager span { visibility: hidden; }
.pager .next { text-align: right; }
.pager small { display: block; color: var(--muted); font-size: .78rem; }

/* ---------------------------------------------------------------- figures */

:root { --fig-lead: var(--gold); --fig-bar: #63738a; }

.fig {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px 6px;
  margin: 0 0 1rem;
}
.fig figcaption { margin: 0 0 .75rem; color: var(--ink); font-size: 1rem; }
.fig figcaption strong { display: block; }
.fig figcaption span { display: block; color: var(--muted); font-size: .85rem; margin-top: .1rem; }
.barlist { list-style: none; margin: 0; padding: 0; }
.barlist li {
  display: grid;
  grid-template-columns: minmax(0, 11rem) 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 3px 0;
  font-size: .88rem;
}
.bl-name { overflow-wrap: anywhere; line-height: 1.25; }
.bl-rank { display: inline-block; min-width: 1.4em; color: var(--muted); font-variant-numeric: tabular-nums; }
.bl-track { display: block; height: 14px; border-left: 1px solid var(--line); }
.bl-bar { display: block; height: 14px; background: var(--fig-bar); border-radius: 0 4px 4px 0; min-width: 2px; }
.bl-bar.lead { background: var(--fig-lead); }
.bl-val { color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 3.5rem; text-align: right; }
.fig-table { border: 0; padding: 0; margin: .5rem 0 0; background: none; }
.fig-table summary { font-size: .85rem; font-weight: 600; color: var(--muted); padding: 6px 0; }
.fig-table[open] summary { border-bottom: 0; margin-bottom: .4rem; }
@media (max-width: 480px) {
  .barlist li {
    grid-template-columns: 1fr auto;
    grid-template-areas: "name val" "track track";
    gap: 3px 10px;
    padding: 5px 0;
  }
  .bl-name { grid-area: name; }
  .bl-val { grid-area: val; min-width: 0; }
  .bl-track { grid-area: track; }
}
@media (forced-colors: active) {
  .bl-bar { background: CanvasText; }
  .bl-bar.lead { background: Highlight; }
}

/* ---------------------------------------------------------------- head to head */

.h2h table { font-size: .82rem; width: auto; min-width: 100%; }
.h2h th, .h2h td { padding: 6px 7px; text-align: center; border-left: 1px solid var(--line); }
.h2h tbody th { text-align: left; white-space: nowrap; font-weight: 400; position: sticky; left: 0; background: var(--surface); z-index: 1; border-left: 0; }
.h2h thead th.corner { text-align: left; vertical-align: bottom; position: sticky; left: 0; z-index: 2; border-left: 0; }
.h2h thead th.vert { vertical-align: bottom; padding: 8px 4px; }
.h2h thead th.vert span { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; max-height: 9.5rem; overflow: hidden; text-overflow: ellipsis; display: inline-block; text-transform: none; letter-spacing: 0; font-size: .74rem; }
.h2h td.self { color: var(--muted); background: var(--surface-2); }
.h2h td.total-col { background: var(--surface-2); }
td.win { background: var(--good-soft); color: var(--good); }
td.loss { background: var(--warn-soft); color: var(--warn); }
td.even { background: var(--surface-2); }
.links a[aria-current="page"] { border-color: var(--accent); background: var(--accent-soft); font-weight: 650; }

/* ---------------------------------------------------------------- grid */

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 0 24px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- footer */

.site-footer { border-top: 1px solid var(--line); margin-top: 3rem; padding: 18px 0 32px; color: var(--muted); font-size: .85rem; }
.site-footer p { margin: .25rem 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 10px; font-size: .78rem; }
.footer-links a { color: var(--muted); }
.trophy-badge { display: inline-block; margin-left: .3em; color: var(--gold); font-size: .85em; letter-spacing: -.2em; white-space: nowrap; vertical-align: baseline; }

/* ---------------------------------------------------------------- dashboard */

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 14px; }
.svg-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.overview-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 4px 0 10px; }
.overview-intro { max-width: 56ch; margin: 0; color: var(--ink-2); font-size: .91rem; }
.overview-recap { display: flex; align-items: center; gap: 12px; min-width: 220px; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--accent-soft); box-shadow: var(--shadow-small); color: var(--ink); text-decoration: none; }
.overview-recap .eyebrow { margin: 0; }
.overview-recap strong { font-size: .88rem; }
.overview-recap > span:last-child { margin-left: auto; color: var(--accent); }
.week-highlights { margin-top: 1.5rem; }
.week-highlights .section-heading h2 { margin: 0; }
.quick-stat-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1px; margin-top: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); box-shadow: var(--shadow); overflow: hidden; }
.quick-stat { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 11px 15px; background: var(--surface); }
.quick-stat:first-child { background: var(--gold-soft); }
.quick-stat:nth-child(2) { background: var(--accent-soft); }
.quick-stat:nth-child(3) { background: var(--warn-soft); }
.quick-stat .eyebrow { margin: 0; }
.quick-stat strong { font-size: 1.05rem; color: var(--ink); }
.quick-stat .small { line-height: 1.35; overflow-wrap: anywhere; }
.overview-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.overview-links a { padding: 8px 10px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink-2); text-decoration: none; font-size: .81rem; }
.overview-links a:hover { color: var(--accent); background: var(--surface); }
.hero-intro, .hero-feature { min-width: 0; border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.hero-intro { display: flex; flex-direction: column; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); }
.season-tag { display: inline-block; margin: 0 0 24px; padding: 0 0 7px; border-bottom: 1px solid var(--gold); color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.hero-intro h1 { max-width: 16ch; font-size: clamp(2.3rem, 4vw, 3.5rem); line-height: 1.08; }
.hero-copy { max-width: 52ch; margin: 18px 0 24px; color: var(--ink-2); font-size: .98rem; }
.hero-foot { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: auto 0 0; color: var(--muted); font-size: .78rem; }
.verified-mark::before { content: "/"; color: var(--muted); margin-right: 9px; }
.hero-feature { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); }
.hero-feature-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.hero-feature h2 { margin: 18px 0 12px; font-size: clamp(1.45rem, 2.3vw, 1.95rem); }
.hero-feature .card-lead { margin: 0 0 24px; color: var(--ink-2); }
.button-primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; align-self: flex-start; margin-top: auto; padding: 8px 0 3px; border-bottom: 1px solid var(--gold); color: var(--accent); font-size: .84rem; font-weight: 600; text-decoration: none; }
.button-primary:hover { color: var(--ink); }
.section-heading, .panel-heading { display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.section-heading { margin-bottom: 12px; }
.section-heading h2 { margin: 0; font-size: 1.42rem; }
.text-link { flex: 0 0 auto; font-size: .79rem; font-weight: 550; color: var(--muted); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.standings-wrap { margin-bottom: 8px; }
.standings-table { font-size: .87rem; }
.standings-table th, .standings-table td { padding: 10px 16px; vertical-align: middle; }
.standings-table tbody tr:hover { background: var(--surface-2); }
.standings-table .rank { font-size: .79rem; font-weight: 600; }
.standings-table .standing-team { font-weight: 550; }
.standings-table .standing-record { font-weight: 600; }
.standings-table .rank, .standings-table .standing-record, .standings-table .standing-allplay, .standings-table .standing-pf { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.standing-pf { min-width: 7rem; }
.pf-value { display: block; }
.pf-track { height: 5px; width: 100%; max-width: 7rem; margin: 4px 0 0 auto; border-radius: 2px; }
.pf-high .pf-value { color: var(--gold); }
.pf-above .pf-value { color: var(--good); }
.pf-below .pf-value { color: var(--warn); }
.standings-table .playoff-place .rank { color: var(--accent); }
.standings-table .after-playoff-cutoff { border-top: 1px dashed var(--gold); }
.stat-sticker { display: inline-flex; align-items: center; gap: 3px; margin-left: 5px; padding: 2px 5px; border: 1px solid currentColor; border-radius: 3px; font-family: inherit; font-size: .61rem; font-weight: 700; line-height: 1; vertical-align: middle; white-space: nowrap; }
.stat-sticker svg { width: 13px; height: 13px; }
.stat-sticker.gold { color: var(--gold); }
.stat-sticker.blue { color: var(--accent); }
.stat-sticker.rose { color: var(--warn); }
.stat-sticker.teal { color: var(--good); }
.stat-sticker.violet { color: var(--accent); }
.standing-tags { display: inline-flex; flex-wrap: wrap; gap: 3px; margin-left: 6px; vertical-align: middle; }
.standing-tags .stat-sticker { margin-left: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: .6rem; }
.standings-table th abbr { text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }
.standing-gap, .standing-pa { white-space: nowrap; }
.standings-note { margin: 0; line-height: 1.45; }
.standings-definitions { margin-top: 10px; font-size: .81rem; }
.standings-definitions p { max-width: 88ch; margin: 8px 0 0; line-height: 1.45; }
.standings-section .metric-key { margin: 8px 0 0; font-size: .76rem; }
.cutoff-key { display: inline-block; width: 12px; height: 3px; margin: 0 4px 3px 0; background: var(--gold); }
.allplay-trajectory { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.trajectory-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 12px; }
.trajectory-heading .eyebrow { margin-bottom: 4px; }
.trajectory-heading h2 { margin: 0; font-size: 1.2rem; }
.trajectory-heading > p { max-width: 58ch; margin: 0; text-align: right; line-height: 1.4; }
.trajectory-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.trajectory-card { min-width: 0; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-small); }
.trajectory-card-header, .trajectory-card-footer { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.trajectory-team-name { color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.trajectory-current { font-size: 1.25rem; flex-shrink: 0; }
.trajectory-chart { display: block; width: 100%; height: auto; margin: 6px 0; }
.trajectory-grid-rank { stroke: var(--line); stroke-width: 1; }
.trajectory-rank-label { fill: var(--muted); font-size: 10px; dominant-baseline: middle; text-anchor: end; }
.trajectory-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.trajectory-point { fill: var(--accent); }
.trajectory-card-footer { color: var(--muted); font-size: .875rem; flex-wrap: wrap; }
.trajectory-movement { font-weight: 650; }
.movement-up .trajectory-movement { color: var(--good); }
.movement-down .trajectory-movement { color: var(--warn); }
.pulse-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pulse-item { min-width: 0; padding: 17px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.pulse-item .eyebrow { margin-bottom: 10px; }
.pulse-value { margin: 0 0 5px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.45rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.pulse-name { margin: 0; font-size: .86rem; }
.pulse-detail { margin: 9px 0 0; line-height: 1.35; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.panel, .pool-summary { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.panel-heading { margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.panel-heading h2 { margin: 0; font-size: .83rem; font-weight: 630; letter-spacing: .04em; text-transform: uppercase; }
.panel .small:last-child, .pool-summary .small:last-child { margin-bottom: 0; }
.progress-figures { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 12px; }
.progress-figures strong, .pool-awarded { font-size: 1.75rem; font-weight: 650; letter-spacing: -.03em; color: var(--good); font-variant-numeric: tabular-nums; }
.progress-figures span { color: var(--muted); font-size: .88rem; }
.cash-progress { display: block; width: 100%; height: 12px; appearance: none; -webkit-appearance: none; overflow: hidden; border: 1px solid var(--line); border-radius: 3px; background: var(--surface-2); accent-color: var(--good); }
.cash-progress::-webkit-progress-bar { background: var(--surface-2); border-radius: 3px; }
.cash-progress::-webkit-progress-value { background: var(--good); border-radius: 2px; }
.cash-progress::-moz-progress-bar { background: var(--good); border-radius: 2px; }
.calendar-list, .update-list { list-style: none; margin: 0; padding: 0; }
.calendar-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.calendar-list li:first-child { border-top: 0; }
.calendar-list strong { flex: 0 0 auto; text-align: right; color: var(--ink-2); font-size: .82rem; }
.resources-grid { margin-top: 14px; }
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.resource-card { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 58px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-small); color: var(--ink-2); text-decoration: none; font-size: .84rem; font-weight: 550; }
.resource-card:hover { background: var(--surface-2); color: var(--ink); }
.resource-card span:last-child { color: var(--accent); }
.update-list li { border-top: 1px solid var(--line); }
.update-list li:first-child { border-top: 0; }
.update-list a { display: grid; grid-template-columns: 1fr auto; gap: 1px 12px; padding: 10px 0; color: var(--ink); text-decoration: none; }
.update-list a:hover strong { color: var(--accent); }
.update-list a .small { grid-column: 1; }
.update-list a strong { grid-column: 1; font-size: .88rem; }
.update-list a span:last-child { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--accent); }
.pool-summary { margin: 0 0 20px; }
.pool-summary-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.pool-awarded { margin: 0; }
.pool-awarded span { font-size: .88rem; color: var(--muted); letter-spacing: 0; font-weight: 500; }
.pool-total { margin: 0 0 4px; color: var(--muted); font-size: .86rem; }
.earnings-block { margin: 24px 0; }
.earnings-block h3 { margin: 0 0 5px; }
.earnings-block > p { margin: 0 0 12px; }
.earnings-list { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.earnings-list li { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.earnings-list li:last-child { border-bottom: 0; }
.earnings-line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 7px; font-size: .88rem; }
.earnings-line strong { color: var(--good); }
.earnings-progress { height: 8px; }
.cash-leaders { margin: 15px 0 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.cash-leaders li { display: flex; gap: 14px; align-items: flex-start; padding: 10px 14px; border-top: 1px solid var(--line); }
.cash-leaders li:first-child { border-top: 0; }
.cash-leaders .rank { min-width: 1.2rem; padding-top: 2px; color: var(--muted); font-size: .75rem; }
.cash-leader-body { flex: 1; min-width: 0; }
.cash-leader-body .small { display: block; margin-top: 5px; }
.matchup-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.result-card { padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-small); }
.result-card > span { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: .84rem; }
.result-card > span + span { border-top: 1px solid var(--line); }
.season-champion { display: flex; align-items: center; gap: 12px; padding: 12px 15px; border: 1px solid var(--gold); border-radius: var(--radius); background: var(--gold-soft); }
.season-champion .eyebrow { margin: 0; }
.recap-archive { display: grid; gap: 7px; }
.recap-archive a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); text-decoration: none; }
.recap-archive a span:last-child { margin-left: auto; color: var(--accent); }
.upcoming-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.upcoming-game { min-width: 0; padding: 14px 16px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-small); font-size: .84rem; }
.upcoming-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; min-height: 48px; padding-bottom: 9px; text-align: center; font-size: .96rem; }
.upcoming-teams > strong { min-width: 0; line-height: 1.22; overflow-wrap: anywhere; }
.upcoming-teams > strong:first-child { text-align: left; }
.upcoming-teams > strong:last-child { text-align: right; }
.matchup-stat { display: grid; grid-template-columns: minmax(0, 1fr) 126px minmax(0, 1fr); align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); text-align: center; }
.matchup-stat strong { font-size: .93rem; }
.matchup-stat strong:first-child { text-align: left; }
.matchup-stat strong:last-child { text-align: right; }
.matchup-stat > span { color: var(--muted); font-size: .65rem; font-weight: 650; line-height: 1.2; text-transform: uppercase; letter-spacing: .04em; }
.upcoming-last { margin: 7px 0 0; padding-top: 7px; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.upcoming-game .versus { color: var(--accent); font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.methodology { max-width: 82ch; margin-top: 15px; }
.history-tablist { display: flex; gap: 8px; overflow-x: auto; margin: 14px 0 10px; padding: 3px 3px 8px; }
.history-tablist button { min-width: 76px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-small); color: var(--ink-2); font: inherit; font-size: .87rem; font-weight: 700; cursor: pointer; }
.history-tablist button[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); box-shadow: var(--shadow-inset); }
.history-tablist button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.history-year-panel { min-width: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-small); }
.history-year-panel[hidden] { display: none; }
.history-year-summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.history-year-summary p { display: flex; flex-wrap: wrap; gap: 5px 12px; align-items: baseline; margin: 0; }
.history-year-summary .eyebrow { margin: 0; }
.history-year-panel > .small { margin: 10px 0 0; }
.history-extra { margin: 10px 0 0; }
.history-extra .table-wrap { margin: 0 0 12px; }
.history-highs { max-height: 250px; overflow-y: auto; padding-left: 20px; }
.history-highs li { padding: 4px 0; }
.finance-rankings { display: block; }
.prize-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.prize-card { display: flex; align-items: flex-start; min-height: 82px; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-small); }
.prize-card-main { display: flex; flex: 1 1 auto; min-width: 0; flex-direction: column; align-items: flex-start; }
.prize-card .eyebrow { margin: 0 0 3px; font-size: .64rem; }
.prize-amount { color: var(--ink); font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.15; overflow-wrap: anywhere; }
.prize-leader { display: inline-block; max-width: 100%; margin-top: 6px; padding: 3px 6px; border-radius: 4px; background: var(--gold-soft); color: var(--ink-2); font-size: .66rem; line-height: 1.25; overflow-wrap: anywhere; }
.prize-pf-top { flex: 0 1 60%; min-width: 0; margin: 0 0 0 8px; padding: 0 0 0 8px; border-left: 1px solid var(--line); list-style: none; }
.prize-pf-top li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 5px; align-items: baseline; margin-bottom: 2px; font-size: .69rem; line-height: 1.2; }
.prize-pf-top li > span:first-child { color: var(--gold); font-weight: 700; }
.prize-pf-top li > span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prize-pf-top li > strong { grid-column: 2; color: var(--muted); font-size: .65rem; font-weight: 600; }
.prize-leader a { color: inherit; }
.season-earnings, .career-panel { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-small); }
.season-earnings .section-heading h2 { font-size: 1.38rem; }
.season-earnings-list { margin: 16px 0 0; padding: 0; list-style: none; }
.season-earnings-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.season-earnings-list .earnings-line { font-size: .98rem; margin-bottom: 8px; }
.season-earnings-progress { height: 11px; }
.team-breakdown { margin: 12px 0 0; }
.team-breakdown .table-wrap { margin: 0 0 12px; }
.career-panel h2 { margin: 0 0 8px; font-size: 1.1rem; }
.career-panel > p.small { margin: 0; font-size: .78rem; }
.career-panel .cash-leaders { margin-top: 12px; padding: 0 10px; box-shadow: none; }
.career-panel .cash-leaders li { gap: 8px; padding: 8px 0; }
.career-panel .earnings-line { gap: 8px; margin-bottom: 4px; font-size: .77rem; }
.career-panel .earnings-line span { min-width: 0; overflow-wrap: anywhere; }
.career-panel .earnings-progress { height: 5px; }
.all-time-more { margin: 12px 0 0; }
.all-time-more ol { margin: 0; padding: 0; list-style: none; }
.all-time-more li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.all-time-more li:last-child { border-bottom: 0; }
.all-time-more .small { display: block; line-height: 1.35; }
.career-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0 0; color: var(--ink-2); font-size: .78rem; }
.career-legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-swatch { display: inline-block; width: 13px; height: 13px; border-radius: 2px; }
.legend-swatch.weekly, .career-segment.weekly { background: var(--good); }
.legend-swatch.other, .career-segment.other { background: var(--accent); }
.career-chart-scroll { overflow-x: auto; padding-bottom: 8px; }
.career-chart { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(78px, 1fr); gap: 9px; min-width: max(100%, 960px); margin: 12px 0 0; padding: 0; list-style: none; }
.career-chart li { display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; }
.career-total { min-height: 21px; color: var(--ink); font-size: .82rem; }
.career-bar { display: flex; flex-direction: column; justify-content: flex-end; width: min(100%, 42px); height: 150px; margin: 4px 0 9px; background: var(--surface-2); border-radius: 3px 3px 0 0; overflow: hidden; }
.career-segment { display: block; width: 100%; min-height: 0; flex: 0 0 auto; }
.career-name { width: 100%; min-height: 2.3em; color: var(--ink-2); font-size: .73rem; line-height: 1.2; overflow-wrap: anywhere; }
.career-name a { color: inherit; }
.career-chart li > .small { font-size: .69rem; }

@media (max-width: 760px) {
  .finance-top { grid-template-columns: minmax(0, 1fr) 210px; }
  .site-header .header-main > nav { order: 3; width: 100%; overflow-x: auto; }
  .nav { width: max-content; }
  .header-utilities { margin-left: auto; }
  .upcoming-list, .matchup-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prize-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prize-card-pf, .prize-card:last-child { grid-column: span 2; }
  .hero-grid, .dashboard-grid { grid-template-columns: 1fr; }
  .trajectory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pulse-grid { grid-template-columns: 1fr; }
  .hero-intro, .hero-feature { padding: 23px; }
  .hero-intro h1 { max-width: none; }
}
@media (max-width: 620px) {
  .finance-top { grid-template-columns: 1fr; }
  .parlay-jackpot { width: min(100%, 280px); justify-self: end; }
  .overview-head { flex-direction: column; align-items: stretch; }
  .upcoming-list, .matchup-results { grid-template-columns: 1fr; }
  .history-year-summary { align-items: flex-start; flex-direction: column; }
  .site-header .header-main { align-items: center; }
  .site-header .header-main > nav { max-width: 100%; overflow: visible; }
  .nav { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav a { padding: 6px 10px; font-size: .76rem; }
  .header-utilities { width: 100%; margin-left: 0; }
  .sync-meta { margin-left: auto; }
  .sync-label { max-width: 95px; overflow: hidden; text-overflow: ellipsis; }
  .sync-meta.is-stale .sync-label { max-width: 150px; }
  .search-trigger kbd { display: none; }
  .status-item { font-size: .7rem; }
  .section-heading, .panel-heading { align-items: flex-start; }
  .trajectory-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .trajectory-heading > p { text-align: left; }
  .trajectory-grid { grid-template-columns: 1fr; }
  .standings-wrap { overflow: visible; border: 0; background: transparent; box-shadow: none; }
  .standings-table, .standings-table tbody, .standings-table tr, .standings-table td { display: block; }
  .standings-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .standings-table tr { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 4px 8px; padding: 10px 12px; margin-bottom: 6px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
  .standings-table .after-playoff-cutoff { border-top: 1px dashed var(--gold); }
  .standings-table td, .standings-table td:first-child, .standings-table td:last-child { padding: 0; border: 0; text-align: left; }
  .standings-table .rank { grid-column: 1; grid-row: 1 / span 2; padding-top: 2px; }
  .standings-table .standing-team { grid-column: 2; grid-row: 1; }
  .standing-tags { display: flex; margin: 3px 0 0; }
  .standings-table .standing-record { grid-column: 3; grid-row: 1; text-align: right; }
  .standings-table .standing-allplay { grid-column: 2; grid-row: 2; color: var(--muted); font-size: .76rem; }
  .standings-table .standing-pf { grid-column: 3; grid-row: 2; text-align: right; min-width: 0; font-size: .76rem; }
  .standings-table .pf-value { display: inline; }
  .standings-table .pf-track { width: 5.5rem; margin-top: 2px; }
  .standings-table .standing-allplay::before { content: "All-play "; }
  .standings-table .standing-pf::before { content: "PF "; }
  .standings-table .standing-gap { grid-column: 2; grid-row: 3; font-size: .74rem; }
  .standings-table .standing-pa { grid-column: 3; grid-row: 3; text-align: right; font-size: .74rem; }
  .standings-table .standing-gap::before { content: "Lineup gap "; color: var(--muted); }
  .standings-table .standing-pa::before { content: "PA "; color: var(--muted); }
  .pool-summary-head { align-items: flex-start; flex-direction: column; gap: 2px; }
}
@media (max-width: 390px) {
  .wrap { padding: 0 14px; }
  .section-heading h2 { font-size: 1.4rem; }
  .text-link { font-size: .75rem; }
  .resource-grid { grid-template-columns: 1fr; }
}
@media (forced-colors: active) {
  .cash-progress::-webkit-progress-value, .cash-progress::-moz-progress-bar { background: Highlight; }
  .score-fill, .pf-fill, .key-dot { background: Highlight !important; }
  .score-track::after, .median-marker { background: CanvasText; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button-primary, .resource-card, .nav a, .text-link { transition: background-color .18s ease, border-color .18s ease, color .18s ease, filter .18s ease; }
}
