:root { --accent: #1976d2; --c: #888; }
body { font-family: "Open Sans", system-ui, sans-serif; margin: 0; color: #222; background: #fff; }
a { color: #1a0dab; text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
:focus-visible { outline: 2px solid #1976d2; outline-offset: 2px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem; }
.skip:focus { left: 0; z-index: 1; }
header { display: flex; gap: 1.5rem; align-items: center; padding: .75rem 1.5rem; border-bottom: 1px solid #ddd; }
header nav { display: flex; gap: 1.5rem; }
header a { color: inherit; }
header a[aria-current] { font-weight: 600; border-bottom: 2px solid #1976d2; }
.brand { font-weight: 700; }
main { padding: 1rem 1.5rem; }
h2 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
.crumbs { list-style: none; padding: 0 0 0 .6rem; margin: .5rem 0; display: flex; flex-wrap: wrap; gap: .25rem; font-size: .9rem; color: #666; border-left: .35rem solid var(--accent); }
.crumbs li + li::before { content: "›"; margin-right: .25rem; }
.crumbs [aria-current] { color: #222; font-weight: 600; }
.sections ul, .views ul { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; gap: 1.25rem; border-bottom: 1px solid #ddd; }
.sections a, .views a { display: inline-block; padding: .6rem 0; text-transform: uppercase; font-size: .8rem; color: #555; }
.sections a[aria-current], .views a[aria-current] { color: #1976d2; border-bottom: 2px solid #1976d2; }
.intro { font-size: .95rem; line-height: 1.6; }
.pager { display: flex; justify-content: space-between; font-size: .9rem; margin: .5rem 0; }
.layout { display: flex; gap: 2rem; flex-wrap: wrap; }
.layout aside { flex: 0 0 12rem; }
.layout section { flex: 1 1 20rem; }
.polls, .cards, .inline { list-style: none; padding: 0; margin: 0; }
.polls { font-size: .875rem; }
.polls li { padding: .15rem 0; }
.cards li { padding: .35rem 0; }
.inline { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
table { border-collapse: collapse; width: 100%; font-size: .9rem; }
th, td { text-align: left; padding: .4rem .6rem; border-bottom: 1px solid #e0e0e0; vertical-align: top; }
thead th { font-weight: 600; }
td:first-child, th:first-child { white-space: nowrap; }
.poll td:last-child { white-space: nowrap; }
.up { color: #2e7d32; } .down { color: #c62828; } .new { color: #1976d2; } .muted { color: #666; }
.scroll { overflow-x: auto; }
.grid th, .grid td { white-space: nowrap; font-size: .85rem; padding: .3rem .5rem; }
.grid tbody th { font-weight: 400; }
.grid tbody th:first-child { position: sticky; left: 0; background: #fff; }
.grid.ranking tbody th:first-child { text-align: right; font-weight: 600; }
.grid.ranking tbody th.name { position: static; border-right: 1px solid #ccc; }
.sw { display: inline-block; width: 1.75rem; height: 1.1rem; border-radius: 2px; background: var(--c); opacity: .18; outline: 1px solid rgba(0,0,0,.15); vertical-align: middle; }
.sw.on { opacity: 1; }
.legend { font-size: .85rem; color: #555; }
.key { display: inline-block; min-width: 1.4rem; text-align: center; margin: 0 .25rem 0 .75rem; border-radius: 2px; --c: #1976d2; --ink: #fff; --cl: rgba(25,118,210,.4); }
.rounds th, .rounds td { padding: .25rem .35rem; text-align: center; }
.rounds thead th:first-child, .rounds tbody th { text-align: left; }
.rounds thead a { color: inherit; }
.rounds td[data-y] { color: #aaa; font-size: .75rem; }
.rounds td[data-y]::before { content: attr(data-y); }
.w, .l { font-weight: 700; font-size: .75rem; border-radius: 2px; }
.rounds .w, .key.w { background: var(--c); color: var(--ink); }
.rounds .l, .key.l { background: var(--cl); color: #000; }
.rounds .total { font-weight: 600; }
.rounds tfoot td { color: #666; font-weight: 600; border-bottom: 0; }
.rounds-year td:nth-child(2) { white-space: normal; }
.legend .sw { --c: #1976d2; margin: 0 .25rem 0 .75rem; }
.spark svg { width: 100%; max-width: 40rem; height: auto; display: block; }
.spark .axis { stroke: #eee; }
.spark .line { fill: none; stroke: var(--c); stroke-width: 1.5; }
.spark figcaption { font-size: .8rem; color: #666; }
.spark { margin: 1rem 0; }
.seasons a { margin-right: .5rem; }
.summary th, .summary td { font-size: .875rem; }
details { border: 1px solid #ddd; border-radius: 4px; margin: .5rem 0; padding: 0 .75rem; }
summary { cursor: pointer; padding: .6rem 0; font-weight: 600; }
summary .count { font-weight: 400; color: #666; }
details table { margin-bottom: .75rem; width: auto; min-width: 24rem; }
.menu ul { columns: 3; column-gap: 2rem; padding-left: 1rem; font-size: .85rem; }
.records td:first-child { white-space: nowrap; }
.prose { max-width: 48rem; line-height: 1.6; }
footer { text-align: center; font-size: .875rem; color: #666; padding: 2rem 1rem; }
@media (max-width: 40rem) { .menu ul { columns: 1; } header { flex-wrap: wrap; } }
.games { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: .75rem; }
.game { border: 1px solid #ddd; border-radius: 4px; padding: .6rem .8rem; font-size: .9rem; }
.game .when { display: flex; justify-content: space-between; color: #555; font-size: .85rem; }
.game .teams { margin: .4rem 0; }
.game .tm { display: flex; justify-content: space-between; padding: .1rem 0; }
.game .tm .score { font-variant-numeric: tabular-nums; }
.game .won { font-weight: 700; }
.game .meta { color: #666; font-size: .8rem; }
.stats th, .stats td { text-align: right; white-space: nowrap; padding: .3rem .5rem; font-size: .85rem; font-variant-numeric: tabular-nums; }
.stats th:first-child, .stats td:first-child { text-align: left; }
.players th:nth-child(2), .players td:nth-child(2) { text-align: left; }
.stats abbr { text-decoration: none; border-bottom: 1px dotted #999; }
.rosters { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1rem; }
.roster h3 { margin: .25rem 0; font-size: 1rem; }
.roster ul { list-style: none; padding: 0; margin: 0; columns: 2; font-size: .9rem; }
.roster li { padding: .1rem 0; }
h3 { font-size: 1rem; margin: 1rem 0 .4rem; }
.game a.teams { display: block; color: inherit; margin: .4rem 0; }
.game a.teams:hover { text-decoration: none; background: #f5f5f5; }
.scoreboard .teams { display: flex; gap: 2rem; flex-wrap: wrap; font-size: 1.3rem; margin: .5rem 0; }
.scoreboard .tm .score { margin-left: .5rem; font-variant-numeric: tabular-nums; }
.scoreboard .won { font-weight: 700; }
.scoreboard p { margin: .2rem 0; }
.box tbody th { text-align: left; font-weight: 400; white-space: nowrap; }
.box tfoot th, .box tfoot td { font-weight: 600; border-top: 2px solid #ccc; border-bottom: 0; }
.box td.dnp { text-align: left; color: #666; }
.box th:first-child { text-align: left; }
.lede { font-size: 1.05rem; margin: 0 0 1rem; }
.roster ul.one { columns: 1; }
.roster-list { list-style: none; padding: 0; margin: 0 0 1rem; columns: 3; font-size: .9rem; }
.roster-list li { padding: .1rem 0; }
.log tfoot th { text-align: left; font-weight: 600; border-top: 2px solid #ccc; white-space: nowrap; }
.log tfoot td { font-weight: 600; border-top: 2px solid #ccc; }
.log tfoot tr + tr th, .log tfoot tr + tr td { border-top: 0; }
.log td:nth-child(2), .log td:nth-child(3) { text-align: left; }
.log th:nth-child(2), .log th:nth-child(3) { text-align: left; }
.log.player td:nth-child(4), .log.player th:nth-child(4) { text-align: left; }
.log.player td:nth-child(2) { white-space: nowrap; }
.career td:nth-child(2), .career th:nth-child(2) { text-align: left; }
.career tr.total td { font-weight: 600; border-top: 2px solid #ccc; }
.leaders td:nth-child(2), .leaders th:nth-child(2) { text-align: left; }
.draft td:nth-child(3), .draft th:nth-child(3), .draft td:nth-child(4), .draft th:nth-child(4) { text-align: left; }
.jump ul { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .9rem; }
.records { display: grid; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); gap: 1rem 2rem; }
.record ol { margin: 0; padding-left: 1.5em; font-size: .9rem; }
.record li { padding: .15rem 0; }
.record li.tie { list-style: none; }
.record small { color: #666; }
.timeline th { text-align: left; white-space: nowrap; vertical-align: top; font-weight: 600; width: 5rem; }
.timeline td p { margin: 0 0 .2rem; }
.unknown { color: #c62828; font-family: monospace; }

.t-blue{--c:#1c9ad6;--ink:#000;--cl:rgba(28,154,214,.4)}
.t-gold{--c:#daaa00;--ink:#000;--cl:rgba(218,170,0,.4)}
.t-orange{--c:#ff8f28;--ink:#000;--cl:rgba(255,143,40,.4)}
.t-purple{--c:#8c4799;--ink:#fff;--cl:rgba(140,71,153,.4)}
.t-team-bell{--c:#8c4799;--ink:#fff;--cl:rgba(140,71,153,.4)}
.t-team-bradford{--c:#daaa00;--ink:#000;--cl:rgba(218,170,0,.4)}
.t-team-brown{--c:#1c9ad6;--ink:#000;--cl:rgba(28,154,214,.4)}
.t-team-caldwell{--c:#8c4799;--ink:#fff;--cl:rgba(140,71,153,.4)}
.t-team-carrington{--c:#1c9ad6;--ink:#000;--cl:rgba(28,154,214,.4)}
.t-team-charles{--c:#1c9ad6;--ink:#000;--cl:rgba(28,154,214,.4)}
.t-team-chen{--c:#daaa00;--ink:#000;--cl:rgba(218,170,0,.4)}
.t-team-clark{--c:#8c4799;--ink:#fff;--cl:rgba(140,71,153,.4)}
.t-team-cloud{--c:#1c9ad6;--ink:#000;--cl:rgba(28,154,214,.4)}
.t-team-cole{--c:#8c4799;--ink:#fff;--cl:rgba(140,71,153,.4)}
.t-team-colson{--c:#8c4799;--ink:#fff;--cl:rgba(140,71,153,.4)}
.t-team-gardner{--c:#ff8f28;--ink:#000;--cl:rgba(255,143,40,.4)}
.t-team-gray{--c:#daaa00;--ink:#000;--cl:rgba(218,170,0,.4)}
.t-team-harris{--c:#8c4799;--ink:#fff;--cl:rgba(140,71,153,.4)}
.t-team-harrison{--c:#1c9ad6;--ink:#000;--cl:rgba(28,154,214,.4)}
.t-team-hartley{--c:#daab00;--ink:#000;--cl:rgba(218,171,0,.4)}
.t-team-hawkins{--c:#daaa00;--ink:#000;--cl:rgba(218,170,0,.4)}
.t-team-hillmon{--c:#1c9ad6;--ink:#000;--cl:rgba(28,154,214,.4)}
.t-team-hull{--c:#1c9ad6;--ink:#000;--cl:rgba(28,154,214,.4)}
.t-team-mack{--c:#ff8f28;--ink:#000;--cl:rgba(255,143,40,.4)}
.t-team-mitchell{--c:#1c9ad6;--ink:#000;--cl:rgba(28,154,214,.4)}
.t-team-morrow{--c:#1c9ad6;--ink:#000;--cl:rgba(28,154,214,.4)}
.t-team-nurse{--c:#1c9ad6;--ink:#000;--cl:rgba(28,154,214,.4)}
.t-team-peddy{--c:#8c4799;--ink:#fff;--cl:rgba(140,71,153,.4)}
.t-team-russell{--c:#8c4799;--ink:#fff;--cl:rgba(140,71,153,.4)}
.t-team-siegrist{--c:#ff8f28;--ink:#000;--cl:rgba(255,143,40,.4)}
.t-team-sims{--c:#daaa00;--ink:#000;--cl:rgba(218,170,0,.4)}
.t-team-smith{--c:#ff8f28;--ink:#000;--cl:rgba(255,143,40,.4)}
.t-team-westbrook{--c:#ff8f28;--ink:#000;--cl:rgba(255,143,40,.4)}
.t-team-williams{--c:#1c9ad6;--ink:#000;--cl:rgba(28,154,214,.4)}
