:root{color-scheme:dark;--bg:#0c141b;--panel:#15222c;--line:#2a3a45;--text:#eef4f5;--muted:#a3b4bf;--gold:#e8c375;--green:#88d6af;--red:#f29e9e}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Segoe UI,Arial,sans-serif;font-size:14px}header{border-bottom:1px solid var(--line);padding:22px 5vw;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;color:var(--text);text-decoration:none;font-weight:750;letter-spacing:2px}.mark{display:grid;place-items:center;width:44px;height:44px;background:var(--gold);color:var(--bg);border-radius:9px;font-weight:900;letter-spacing:-2px;font-size:22px}.brand small{display:block;color:var(--muted);font-size:9px;letter-spacing:2px;margin-top:4px}.connection{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}.dot{width:7px;height:7px;border-radius:50%;background:var(--green)}.dot.old{background:var(--gold)}main{max-width:1500px;margin:auto;padding:42px 5vw 0}.intro{display:flex;justify-content:space-between;align-items:center;gap:24px}.eyebrow{color:var(--gold);font-size:10px;letter-spacing:2.4px;font-weight:700;margin:0 0 10px}h1{font-size:clamp(28px,3.5vw,46px);line-height:1.12;letter-spacing:-1.7px;margin:0}h2{margin:0;font-size:23px;letter-spacing:-.5px}.subtitle{color:var(--muted);margin:14px 0 0}.week-control label{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:1px;margin-bottom:8px}select,button{font:inherit;color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:7px;padding:10px 14px}select{min-width:140px;cursor:pointer}button{cursor:pointer}button:hover,select:hover{border-color:var(--gold)}button:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.stats{display:grid;grid-template-columns:1.7fr 1fr 1fr 1.2fr;border:1px solid var(--line);border-radius:12px;background:var(--panel);margin:32px 0 38px;padding:22px 0}.stats>div{padding:0 24px;border-right:1px solid var(--line)}.stats>div:last-child{border:0}.stats span{display:block;color:var(--muted);font-size:10px;letter-spacing:1.4px}.stats strong{display:block;font-size:25px;margin-top:10px;letter-spacing:-.5px}.stats .time{font-size:17px;line-height:30px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.section-heading>p{color:var(--muted);font-size:12px;margin:0}.standings{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.player-card{background:var(--panel);border:1px solid var(--line);border-radius:11px;padding:20px}.player-card:first-child{border-top:3px solid var(--gold);padding-top:18px}.card-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.card-top h3{font-size:16px;margin:0}.rank{color:var(--gold);font-size:12px}.points{font-size:42px;letter-spacing:-2px;font-weight:650;margin-top:15px}.points small{font-size:11px;color:var(--muted);letter-spacing:0;font-weight:400;margin-left:8px}.card-bottom{display:flex;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:13px;margin-top:13px;color:var(--muted);font-size:11px}.card-bottom b{color:var(--text)}.picks-section{margin-top:38px}.filters{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:20px 0 16px}.league-buttons{display:flex;gap:6px}.league-buttons button{font-size:12px;padding:8px 14px;background:transparent}.league-buttons .active{background:var(--gold);color:var(--bg);border-color:var(--gold);font-weight:700}.select-player{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px}.table-wrap{border:1px solid var(--line);border-radius:12px;overflow:auto;background:#111d26}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:11px;color:var(--muted);font-weight:500;padding:17px 18px;background:var(--panel)}td{padding:17px 18px;border-top:1px solid var(--line)}tbody tr:hover{background:#192934}.matchup{min-width:200px}.teams{display:grid;grid-template-columns:1fr 35px;gap:8px;font-weight:600;font-size:14px}.teams b{text-align:right;font-variant-numeric:tabular-nums}.game-meta{font-size:10px;color:var(--muted);margin-bottom:10px;letter-spacing:.5px}.game-status{font-size:11px;color:var(--muted);margin-top:10px}.game-status.live{color:var(--green)}.pick{display:flex;align-items:center;gap:10px}.pick-team{font-size:13px;font-weight:700;min-width:44px}.weight{display:inline-grid;place-items:center;border-radius:5px;background:#2c3b46;color:#dae7ed;min-width:27px;height:27px;font-size:12px;font-weight:700}.pick.good .weight{background:#234538;color:var(--green)}.pick.bad .weight{background:#482d31;color:var(--red)}.pick-state{font-size:10px;color:var(--muted);margin-top:6px}.unavailable{font-size:12px;color:var(--muted)}.legend{display:flex;flex-wrap:wrap;gap:20px;color:var(--muted);font-size:11px;margin-top:16px}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:7px;height:7px;border-radius:50%}.legend .good{background:var(--green)}.legend .bad{background:var(--red)}.footnote{color:var(--muted);font-size:11px;line-height:1.7;max-width:850px;margin-top:16px}footer{border-top:1px solid var(--line);margin-top:34px;padding:22px 0;display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:10px}#error{padding:14px;border:1px solid var(--red);color:var(--red);border-radius:8px;margin-top:20px}#empty{padding:20px;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:900px){.standings{grid-template-columns:repeat(2,1fr)}.stats{grid-template-columns:repeat(2,1fr);gap:24px}.stats>div:nth-child(2){border:0}.section-heading>p{max-width:180px}}@media(max-width:540px){header{padding:18px 5vw}.connection{font-size:10px}.intro{align-items:start;flex-direction:column;gap:20px}.week-control{display:flex;align-items:center;gap:12px}.week-control label{margin:0}main{padding-top:28px}.stats{margin:24px 0}.stats>div{padding:0 15px}.stats strong{font-size:20px}.player-card{padding:15px}.player-card:first-child{padding-top:13px}.card-top{align-items:start}.card-top h3{font-size:14px}.points{font-size:34px}.card-bottom{flex-direction:column}.section-heading{align-items:center}.section-heading>p{display:none}.filters{align-items:start;flex-direction:column}footer{flex-direction:column}.table-wrap{max-height:70vh}thead{position:sticky;top:0;z-index:1}}

.game-filters{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.live-filter{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px;cursor:pointer;color:var(--text)}.live-filter input{accent-color:var(--gold);width:16px;height:16px;margin:0}.live-filter input:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

.teams .spread{font-size:11px;font-weight:500;color:var(--gold);margin-left:6px;font-variant-numeric:tabular-nums}
/* Player rows with a pinned summary and horizontally scrolling games. */
.grid-toolbar{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px;gap:12px;color:var(--muted);font-size:12px}.scroll-controls{display:flex;align-items:center;gap:8px}.scroll-controls button{padding:6px 12px;font-size:17px}.scroll-controls button:disabled{opacity:.3;cursor:default}.player-grid{--summary-width:290px;isolation:isolate;scrollbar-color:var(--gold) var(--panel);scrollbar-width:auto;max-height:none}.player-grid:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.player-grid table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0}.player-grid th,.player-grid td{border-right:1px solid var(--line)}.player-grid .game-column,.player-grid td{min-width:185px;width:185px;max-width:185px;padding:18px}.player-grid .game-column{vertical-align:bottom}.player-grid .player-summary{position:sticky;left:0;width:var(--summary-width);min-width:var(--summary-width);max-width:var(--summary-width);z-index:2;background:#192933;border-right:2px solid #43525d;white-space:normal;padding:19px 22px}.player-grid thead .player-summary{z-index:3;background:#20313d}.player-grid thead{position:static}.player-grid tbody th{border-top:1px solid var(--line)}.player-grid tbody tr:first-child .player-summary{box-shadow:inset 3px 0 var(--gold)}.player-grid tbody td{vertical-align:middle}.summary-title{font-size:19px;color:var(--text);font-weight:650;margin-top:8px}.player-summary p{font-size:11px;color:var(--muted);margin:10px 0 0;line-height:1.5}.row-name{display:flex;align-items:center;gap:12px;color:var(--text);font-size:15px}.row-name .rank{min-width:22px}.row-totals{display:flex;gap:38px;margin:14px 0 10px}.row-totals div{display:flex;flex-direction:column;gap:3px}.row-totals span{color:var(--muted);font-size:9px;letter-spacing:1px}.row-totals b{font-size:24px;font-weight:650;letter-spacing:-.6px;color:var(--text)}.row-totals div:first-child b{color:var(--gold)}.row-detail{font-size:10px;font-weight:400;line-height:1.7;color:var(--muted)}.row-detail span{white-space:nowrap}.player-grid .teams{color:var(--text)}.player-grid .pick{justify-content:center}.player-grid .pick-state{text-align:center}.player-grid .unavailable{display:block;text-align:center;white-space:normal;font-size:11px}.player-grid .pick-team{font-size:15px}.player-grid .weight{width:32px;height:32px;font-size:14px}@media(max-width:540px){.player-grid{--summary-width:170px;max-height:none}.player-grid .player-summary{padding:15px 12px}.row-name{gap:6px;font-size:12px}.row-name .rank{font-size:10px;min-width:18px}.row-totals{gap:23px}.row-totals b{font-size:22px}.row-detail span{display:block}.summary-title{font-size:16px}.player-summary p{font-size:10px}.scroll-controls>span{display:none}.player-grid .game-column,.player-grid td{min-width:175px;width:175px;max-width:175px;padding:16px 12px}.grid-toolbar{font-size:11px}}
.player-grid .pick{gap:8px}.pick-margin{min-width:38px;text-align:center;font-size:12px;font-weight:650;font-variant-numeric:tabular-nums;color:var(--muted)}.pick-margin.ahead{color:var(--green)}.pick-margin.behind{color:var(--red)}.pick-margin.level{color:var(--gold)}.player-grid .game-column,.player-grid td{min-width:205px;width:205px;max-width:205px}@media(max-width:540px){.player-grid .game-column,.player-grid td{min-width:195px;width:195px;max-width:195px}}
/* Compact desktop overview: nine complete game columns at 1280px and wider. */
header{padding:12px 16px}.mark{width:34px;height:34px;font-size:19px}main{max-width:none;padding:20px 16px 0}h1{font-size:30px;letter-spacing:-1px}.subtitle{margin-top:8px;font-size:12px}.intro .eyebrow{margin-bottom:6px}.stats{margin:18px 0 20px;padding:13px 0}.stats strong{font-size:21px;margin-top:6px}.stats .time{font-size:15px;line-height:25px}.picks-section{margin-top:20px}.section-heading{margin-bottom:12px}h2{font-size:20px}.filters{margin:12px 0}.grid-toolbar{margin-bottom:8px}.legend{margin-top:10px;gap:14px}.footnote{margin-top:10px}footer{margin-top:20px;padding:15px 0}.player-grid{--summary-width:180px;--game-width:145px}.player-grid .player-summary{padding:12px 10px}.player-grid .game-column,.player-grid td{width:var(--game-width);min-width:var(--game-width);max-width:var(--game-width);padding:12px 6px}.row-name{font-size:12px;gap:6px}.row-name .rank{font-size:10px;min-width:21px}.row-totals{gap:30px;margin:9px 0 5px}.row-totals b{font-size:21px}.row-totals span{font-size:9px}.row-detail{font-size:9px;line-height:1.5}.row-detail span{display:block}.summary-title{font-size:15px}.player-summary .eyebrow{font-size:9px;letter-spacing:1.1px}.player-summary p{font-size:10px;margin-top:6px}.player-grid .teams{grid-template-columns:1fr 20px;gap:5px 2px;font-size:11px}.player-grid .teams .spread{font-size:10px;margin-left:2px}.player-grid .game-meta{font-size:9px;letter-spacing:0;white-space:normal;line-height:1.4;margin-bottom:7px}.player-grid .game-status{font-size:10px;margin-top:7px}.player-grid .pick{gap:3px}.player-grid .pick-team{font-size:11px;min-width:0}.player-grid .pick-margin{min-width:30px;font-size:10px}.player-grid .weight{width:22px;min-width:22px;height:24px;font-size:11px;flex-shrink:0}.player-grid .pick-state{font-size:9px;white-space:normal;line-height:1.4}.player-grid .unavailable{font-size:10px}@media(min-width:1280px){.player-grid{--game-width:clamp(118px,calc((100vw - 216px)/9),190px)}}@media(max-width:540px){main{padding:18px 12px 0}.player-grid{--summary-width:150px;--game-width:145px}.row-totals{gap:24px}.stats>div{padding:0 12px}.stats strong{font-size:18px}.row-name{font-size:11px}.intro{gap:14px}h1{font-size:27px}.stats{gap:16px}}
.standings-controls{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.filters{flex-wrap:wrap}.standings-controls .select-player{white-space:nowrap}@media(max-width:540px){.standings-controls{gap:10px}.standings-controls select{min-width:130px}}
.header-score-label{font-size:8px;letter-spacing:1px;color:var(--muted);text-align:center;margin:5px 0 6px}.header-scoreboard{display:grid;grid-template-columns:1fr 1fr;gap:4px}.header-team-score{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0}.header-team-score+.header-team-score{border-left:1px solid var(--line)}.header-team{font-size:10px;font-weight:700;color:var(--text)}.header-score{font-size:23px;line-height:1.15;color:var(--text);font-variant-numeric:tabular-nums}.header-team-score .spread{font-size:10px;color:var(--gold)}.player-grid .game-column .game-status{text-align:center}
.header-team{display:inline-flex;align-items:center;justify-content:center;gap:2px}.possession{font-size:10px;line-height:1;flex-shrink:0}

.sort-control{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px;white-space:nowrap}
.row-totals{gap:14px}.row-totals .ytd-gap{font-size:10px;font-weight:500;letter-spacing:0;color:var(--red);white-space:nowrap;vertical-align:middle}.row-totals .ytd-gap.is-leader{color:var(--green);font-size:9px}@media(max-width:540px){.row-totals{gap:8px}.row-totals b{font-size:18px}.row-totals .ytd-gap{font-size:9px}.row-totals .ytd-gap.is-leader{font-size:8px}}
.view-tabs{margin-top:18px}.season-view .week-control,.season-view .game-filters,.season-view .sort-control,.season-view .legend,.season-view .weekly-note{display:none}.season-view .filters{justify-content:flex-end}.season-column{text-align:center}.season-column>strong{font-size:15px;color:var(--text)}.season-column .game-meta{margin:8px 0 0}.season-cell{text-align:center}.week-points{font-size:25px;color:var(--text);font-variant-numeric:tabular-nums}.week-points.week-best{color:var(--gold)}
.header-actions{display:flex;align-items:center;gap:14px}.logout-button{font-size:11px;padding:6px 10px}.login-page{min-height:100vh;display:grid;place-items:center;padding:20px}.login-page .login-card{width:100%;max-width:400px;margin:0;padding:32px;background:var(--panel);border:1px solid var(--line);border-radius:14px}.login-card>.mark{margin-bottom:22px}.login-card h1{font-size:28px}.login-card form{margin-top:24px}.login-card label{display:block;color:var(--muted);font-size:12px;margin-bottom:8px}.login-card input{width:100%;padding:12px;border:1px solid var(--line);border-radius:7px;background:var(--bg);color:var(--text);font:inherit}.login-card input:focus{outline:2px solid var(--gold)}.login-card button{width:100%;background:var(--gold);color:var(--bg);font-weight:700}.login-error{color:var(--red);font-size:12px;min-height:16px;margin:10px 0}
/* Give the game score more visual weight without widening the columns. */
.header-score{font-size:36px;font-weight:750;line-height:1.1;letter-spacing:-1px}.header-scoreboard{gap:6px}.header-team-score{gap:5px}.header-score-label{margin-bottom:8px}@media(max-width:540px){.header-score{font-size:32px}}
/* Larger player picks within the compact nine-game grid. */
.player-grid .pick{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:3px}.player-grid .pick-team{font-size:14px;font-weight:750;letter-spacing:-.3px;text-align:center}.player-grid .pick-margin{font-size:12px;min-width:29px;font-weight:700;letter-spacing:-.3px}.player-grid .weight{font-size:15px;font-weight:750;width:25px;min-width:25px;height:31px}.player-grid .pick-state{font-size:10px;margin-top:8px}.player-grid .unavailable{font-size:12px}@media(min-width:1440px){.player-grid .pick-team{font-size:16px}.player-grid .pick-margin{font-size:13px}.player-grid .weight{font-size:17px;width:29px;min-width:29px;height:34px}}
.player-grid td{padding-left:3px;padding-right:3px}@media(min-width:1280px) and (max-width:1350px){.player-grid .pick{gap:2px}.player-grid .pick-team{font-size:13px}}

/* Local team marks: prominent in scores, compact beside player selections. */
.team-logo{display:inline-block;object-fit:contain;flex-shrink:0;vertical-align:middle}.team-logo[hidden]{display:none}.team-logo--header{width:24px;height:24px}.header-team{gap:3px;flex-wrap:wrap;min-height:24px}.team-logo--pick{width:16px;height:16px}.player-grid .pick-team{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:3px;min-width:0}@media(min-width:1440px){.team-logo--header{width:28px;height:28px}.team-logo--pick{width:20px;height:20px}}@media(max-width:540px){.team-logo--header{width:22px;height:22px}}
.header-team{height:44px;flex-direction:column;flex-wrap:nowrap;justify-content:flex-end}.header-team-label{display:inline-flex;align-items:center;justify-content:center;gap:2px;line-height:13px}

.player-grid .game-column .game-meta{text-align:center}

.player-grid .pick-team{flex-direction:column;flex-wrap:nowrap;gap:3px}

/* Hold a score update highlight for five seconds, including reduced-motion mode. */
.player-grid .game-column.score-changed{background:#385441}
.player-grid .game-column.possession-changed{animation:possession-flash 1s ease-in-out infinite}
@keyframes possession-flash{0%,100%{background:#8a461b}50%{background:#d87524}}
@media(prefers-reduced-motion:reduce){.player-grid .game-column.possession-changed{animation:none;background:#8a461b}}

.player-grid td.pick-changed-winning{background:#385441}
.player-grid td.pick-changed-losing{background:#66383e}

.spreads-link{color:var(--gold);font-size:12px;text-decoration:none}.spreads-link:hover{text-decoration:underline}

/* Keep the weekly player/stats column fixed, even with few or no visible games. */
body:not(.season-view) .player-grid{--summary-width:180px}
body:not(.season-view) .player-grid table{table-layout:fixed;min-width:0;width:calc(var(--summary-width) + var(--visible-games, 0) * var(--game-width))}

.refresh-actions{display:flex;gap:8px;flex-wrap:wrap}#cbs-refresh-status{font-size:12px;color:var(--muted)}#cbs-refresh-status:empty{display:none}

.player-grid .game-column{vertical-align:top}
.player-grid .game-situation{min-height:28px;margin-top:4px;text-align:center;font-size:10px;line-height:1.4;color:var(--muted);white-space:normal}

.player-grid .score-notice{height:12px;margin-top:2px;font-size:9px;line-height:12px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--green);font-weight:700}

.team-timeouts{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:9px;font-size:9px;line-height:1.2;color:var(--muted)}
.timeout-bubble{width:7px;height:7px;border:1px solid var(--muted);border-radius:50%;background:transparent}
.timeout-bubble.available{border-color:var(--green);background:var(--green)}

.row-name{flex-wrap:wrap}.row-name .potential-best{font-size:9px;font-weight:400;color:var(--muted);line-height:1.4}.potential-best b{color:var(--gold);font-weight:650}

.team-record{font-size:7px;line-height:1;letter-spacing:0;font-weight:400;color:var(--muted);white-space:nowrap;flex-shrink:0}

.row-totals b{white-space:nowrap}.row-totals .week-gap{font-size:8px;font-weight:500;letter-spacing:0;color:var(--red);vertical-align:middle;margin-left:3px}.week-gap[hidden]{display:none}

.player-grid tbody .player-summary.current-player{background:#22343f}
