/* Game center and utility workspaces. The existing data and interaction contracts are unchanged. */
body.sports-page dialog.game-dialog{width:min(1140px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 32px);margin:16px auto;border:1px solid #414247;border-radius:10px;background:#101113;box-shadow:0 28px 110px #0009}
body.sports-page .game-dialog::backdrop{background:#060708be;backdrop-filter:blur(5px)}
body.sports-page .game-dialog .dialog-top{min-height:56px;padding:8px 24px;background:#111214;border-bottom:1px solid #ffffff0b}
body.sports-page .game-dialog .dialog-top h2{font-size:14px;font-weight:750;gap:10px}
body.sports-page .game-dialog .dialog-top .badge{font-size:9px;border-radius:3px}
body.sports-page .game-dialog .dialog-top .icon-btn{width:36px;height:36px;border-radius:50%;background:#ffffff08}
body.sports-page .game-dialog .game-matchup{padding:18px 30px 14px}
body.sports-page .game-matchup>.badge{display:none}
body.sports-page .game-matchup .matchup-hero{grid-template-columns:minmax(0,1fr) 180px minmax(0,1fr);gap:24px;align-items:center;margin:0 0 12px}
body.sports-page .game-matchup .game-hero-team{min-height:116px;display:flex;flex-direction:row;gap:16px;justify-content:flex-start;align-items:center}
body.sports-page .game-matchup .game-hero-home{flex-direction:row-reverse}
body.sports-page .game-matchup .game-hero-team .team-logo{position:relative;inset:auto;width:88px;height:88px;max-width:88px;flex:0 0 88px;margin:0}
body.sports-page .game-matchup .game-team-identity{width:auto;min-width:0;align-self:center}
body.sports-page .game-dialog .game-team-identity h3{font-size:25px;letter-spacing:-.7px;line-height:1.13;margin:0 0 7px}
body.sports-page .game-matchup .game-team-meta{gap:2px 5px}
body.sports-page .game-matchup .game-team-meta span{font-size:11px}
body.sports-page .game-matchup .hero-at{margin:0;padding:14px 10px;border-radius:6px;background:#0b0f12e8;border-color:#ffffff24;box-shadow:none;font-size:39px;gap:6px}
body.sports-page .game-matchup .hero-at.game-score-wide{font-size:31px}
body.sports-page .game-matchup .hero-at .time{font-size:10px;letter-spacing:.02em}
body.sports-page .game-matchup .hero-at .game-upcoming-vs{display:none}
body.sports-page .game-matchup .hero-at .game-mobile-start{display:block;font-size:17px;line-height:1.4;letter-spacing:-.2px;white-space:normal}
body.sports-page .game-matchup .hero-at .game-mobile-live{display:block;color:#ff8791;font-size:9px;line-height:1;letter-spacing:.1em;order:-1}
body.sports-page .game-matchup>p{font-size:10px;color:#c6c9ce}
body.sports-page .game-dialog .game-tabs{position:sticky;top:0;background:#17181a;padding:0 24px;gap:26px;border-bottom:1px solid #3c3d41}
body.sports-page .game-dialog .game-tabs button{font-size:12px;min-height:50px;font-weight:650}
body.sports-page .game-dialog .game-content{padding:24px;background:#101113}
body.sports-page .game-dialog .arena-overview{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:22px;align-items:start}
.arena-analysis,.arena-context{min-width:0}
body.sports-page .game-dialog .arena-forecast,body.sports-page .game-dialog .game-center-odds,.arena-line-score{padding:22px;border:1px solid #35363b;border-radius:6px;background:#191a1d;margin:0 0 20px}
body.sports-page .game-dialog .arena-forecast>.forecast-head{margin:0 0 20px;padding:0}
body.sports-page .game-dialog h3{font-size:17px;letter-spacing:-.3px}
body.sports-page .game-dialog .forecast-head h3{margin:0}
body.sports-page .game-dialog .forecast-cards{gap:1px;background:#3a3b3f;border:1px solid #3a3b3f;border-radius:4px;overflow:hidden;margin-top:16px}
body.sports-page .game-dialog .forecast-number{padding:18px 12px;background:#141517;border:0;border-radius:0;min-width:0}
body.sports-page .game-dialog .forecast-number small{font-size:8px;letter-spacing:.08em;line-height:1.5}
body.sports-page .game-dialog .forecast-number strong{font-size:25px;letter-spacing:-.8px;line-height:1.25;white-space:normal}
body.sports-page .game-dialog .forecast-number p{font-size:10px;line-height:1.5;margin-bottom:0}
body.sports-page .game-dialog .win-prob{margin:20px 0;padding:15px 0;border-top:1px solid #343539;border-bottom:1px solid #343539}
body.sports-page .game-dialog .prob-labels{font-size:11px;margin-bottom:10px}
body.sports-page .game-dialog .prob-bar{height:5px;border-radius:0;background:#777f8b}
body.sports-page .game-dialog .prob-bar span{border-radius:0;background:#f7d441}
body.sports-page .game-dialog .matchup-comparison{margin:20px 0 0;padding:0;border:0;border-radius:0;background:none}
body.sports-page .game-dialog .matchup-comparison .data-table td,body.sports-page .game-dialog .matchup-comparison .data-table th{padding:12px 8px;font-size:11px}
body.sports-page .game-dialog .game-market-reference{margin-top:20px;border-top:1px solid #3a3b3f;padding-top:16px}
body.sports-page .game-dialog .game-market-reference summary{font-size:12px;color:#babcbd;cursor:pointer}
body.sports-page .game-dialog .game-market-reference .forecast-number strong{font-size:18px}
body.sports-page .game-dialog .game-center-odds h3{margin:0 0 18px}
body.sports-page .game-dialog .game-center-odds .game-odds-head{grid-template-columns:minmax(0,1fr) repeat(3,74px);font-size:9px;letter-spacing:.06em;color:#a6a7ae;padding:0 0 8px}
body.sports-page .game-dialog .game-center-odds .game-odds-team{gap:8px;border-top:1px solid #303136;padding:10px 0;margin:0}
body.sports-page .game-dialog .game-center-odds .game-odds-team>strong{font-size:13px}
body.sports-page .game-dialog .game-center-odds .score-inline-odds{gap:8px}
body.sports-page .game-dialog .game-center-odds .score-quote{width:74px;min-width:74px;min-height:52px;border-color:#3b3c40;border-radius:4px;background:#111214}
body.sports-page .game-dialog .game-center-odds .score-quote strong{font-size:13px}
body.sports-page .game-dialog .game-center-odds .source-note{font-size:10px;margin-bottom:0}
body.sports-page .arena-context .gc-section,body.sports-page .arena-context .gc-goalies{padding:18px;border-radius:6px;background:#161719;margin:0 0 20px}
body.sports-page .arena-context .gc-section-heading{display:block;margin-bottom:16px}
body.sports-page .arena-context .gc-section-heading>span{display:block;font-size:10px;margin-top:5px}
body.sports-page .arena-context .gc-leader-pair{gap:14px}
body.sports-page .arena-context .gc-leader-player{grid-template-columns:1fr;justify-items:center;gap:5px;text-align:center}
body.sports-page .arena-context .gc-player-photo{grid-row:auto;width:45px;height:45px}
body.sports-page .arena-context .gc-leader-player .player-name-link{font-size:12px;text-align:center}
body.sports-page .arena-context .gc-leader-value{font-size:10px}
body.sports-page .arena-context .gc-leader-row{margin-top:13px;padding-top:12px}
body.sports-page .arena-context .gc-leader-row h4{font-size:10px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px}
body.sports-page .arena-context .gc-goalie-teams{grid-template-columns:1fr;gap:18px}
body.sports-page .arena-context .gc-article-teaser{border-radius:6px;padding:20px;margin:0 0 20px;border-top:2px solid #f7d441;background:#1d1e21}
body.sports-page .arena-context .gc-article-teaser strong{font-size:18px;line-height:1.35}
body.sports-page .arena-context .gc-article-teaser small{font-size:12px}
body.sports-page .arena-context .gc-teaser-unavailable{cursor:default;background:transparent;border:0;border-left:2px solid #55565a;border-radius:0;padding:4px 0 4px 15px;gap:6px}
body.sports-page .arena-context .gc-teaser-unavailable strong{font-size:13px;font-weight:600;color:#c3c4c9}
body.sports-page .arena-context .gc-teaser-unavailable small{font-size:10px;color:#a0a1a7}
body.sports-page .arena-context .gc-teaser-unavailable>span{font-size:8px;letter-spacing:.1em;color:#a0a1a7}
body.sports-page .arena-context .arena-game-info{border:1px solid #35363b;border-radius:6px;overflow:hidden;margin-bottom:20px}
body.sports-page .arena-game-info>.panel{padding:18px;border:0;border-bottom:1px solid #343539;border-radius:0;background:#161719}
body.sports-page .arena-game-info>.panel:last-child{border:0}
body.sports-page .arena-game-info h3{font-size:14px;margin:0 0 10px}
body.sports-page .arena-game-info .source-note{font-size:11px;margin:0;line-height:1.8}
.arena-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.arena-section-heading h3{margin:0}
.arena-section-heading>span{font-size:10px;color:#a7a8ad}
.arena-line-score{padding:18px 22px;margin-bottom:22px;background:#161719}
.arena-line-scroll{overflow-x:auto}
.arena-line-score table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}
.arena-line-score th,.arena-line-score td{text-align:center;padding:9px 15px;border-top:1px solid #343539;white-space:nowrap}
.arena-line-score th:first-child{text-align:left;min-width:75px}
.arena-line-score thead th{font-size:9px;color:#9fa1a8;letter-spacing:.04em;font-weight:500}
.arena-line-score td:last-child,.arena-line-score thead th:last-child{background:#f7d4410c;color:#f7d441;font-weight:800}
/* Detail tabs retain clear team selection and table identity on narrow screens. */
body.sports-page .game-dialog .game-content>.segmented{padding:3px;background:#212225;border-radius:5px;border:1px solid #36373b}
body.sports-page .game-dialog .segmented button{padding:10px 20px;border-radius:3px;min-height:40px}
body.sports-page .game-dialog .segmented button.active{background:#f7d441;color:#171810}
body.sports-page .game-dialog .game-content>.table-wrap{border-radius:5px;overflow:auto}
body.sports-page .game-dialog .game-content>.table-wrap table{min-width:520px}
body.sports-page .game-dialog .game-content>.table-wrap th:first-child,body.sports-page .game-dialog .game-content>.table-wrap td:first-child{position:sticky;left:0;background:#191a1d;z-index:1;min-width:180px;box-shadow:1px 0 #343539}
body.sports-page .game-dialog .game-content>.stats-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#37383c;border:1px solid #37383c;border-radius:6px;overflow:hidden;padding:0}
body.sports-page .game-dialog .game-content>.stats-comparison>div{margin:0;padding:22px;background:#191a1d}
body.sports-page .game-dialog .comparison-label{font-size:12px;gap:12px}
body.sports-page .game-dialog .comparison-label>strong{font-size:17px;font-variant-numeric:tabular-nums}
body.sports-page .game-dialog .comparison-bar{margin-top:13px;height:4px;border-radius:0}
body.sports-page .game-dialog .period-selector{position:sticky;top:0;z-index:2;max-width:100%;overflow-x:auto;background:#17181a;padding:8px;gap:4px;border:1px solid #35363b;border-radius:4px}
body.sports-page .game-dialog .drive{border-radius:6px;border-color:#37383c;overflow:hidden;margin-top:18px}
body.sports-page .game-dialog .drive summary{background:#1f2023;padding:18px}
body.sports-page .game-dialog .play-row{position:relative;grid-template-columns:55px 1fr auto;gap:22px;padding:18px;background:#141517;border-bottom:1px solid #303136}
body.sports-page .game-dialog .play-row::before{content:'';position:absolute;left:86px;top:0;bottom:0;width:1px;background:#3a3b40}
body.sports-page .game-dialog .play-row::after{content:'';position:absolute;left:82px;top:25px;width:9px;height:9px;border-radius:50%;background:#727680;border:2px solid #141517}
body.sports-page .game-dialog .play-row.scoring{background:#f7d44108}
body.sports-page .game-dialog .play-row.scoring::after{background:#f7d441}
body.sports-page .game-dialog .play-row>div{padding-left:7px}
body.sports-page .game-dialog .play-row strong{font-size:10px;letter-spacing:.06em}
body.sports-page .game-dialog .play-row p{font-size:13px;line-height:1.65}
/* Workspace connections and reference are separate from personal account settings. */
body.sports-page .arena-settings{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px;align-items:start}
body.sports-page .arena-settings .arena-account{grid-column:1/-1;display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:20px;align-items:center;padding:24px 28px;background:linear-gradient(110deg,#292921,#17181b);border:1px solid #4b4937;border-radius:6px;margin:0}
.arena-account-symbol{display:grid;place-items:center;width:52px;height:52px;border:1px solid #77724a;border-radius:50%;color:#f7d441;background:#f7d4410a}
body.sports-page .arena-settings .arena-account h2{font-size:21px;margin:0 0 6px}
body.sports-page .arena-settings .arena-account p{font-size:12px;margin:0 0 6px;max-width:570px;line-height:1.6}
body.sports-page .arena-settings .arena-account .btn{gap:16px;border-radius:4px;white-space:nowrap}
body.sports-page .arena-settings .arena-data{grid-column:1;grid-row:2;padding:26px;border-radius:6px}
.arena-label{display:block;font-size:8px;letter-spacing:.13em;color:#b9b595;margin-bottom:8px}
body.sports-page .arena-data h2{margin:0;font-size:23px}
body.sports-page .arena-data .source-connection{padding:18px 0;gap:16px}
body.sports-page .arena-data .source-connection strong{font-size:13px}
body.sports-page .arena-data .source-connection p{font-size:11px;margin-top:6px;line-height:1.6}
body.sports-page .arena-data .badge{font-size:9px;white-space:nowrap}
body.sports-page .arena-data .form-actions{padding-top:8px;gap:10px}
body.sports-page .arena-data .source-detail{font-size:11px;line-height:1.9;border-top:1px solid #37383c;padding-top:18px}
body.sports-page .arena-settings .reference-index{grid-column:2;grid-row:2;padding:25px;border:0;border-top:2px solid #e7e7df;border-radius:0;background:#141517}
body.sports-page .arena-settings .reference-index h2{font-size:21px;margin:0 0 18px}
body.sports-page .arena-settings .reference-index details{padding:0;border-top:1px solid #37383c;margin:0}
body.sports-page .arena-settings .reference-index summary{padding:20px 0;font-size:12px;color:#dbdbde;cursor:pointer}
body.sports-page .arena-settings .reference-index details p{font-size:12px;line-height:1.8;color:#aaaab2;padding:0 0 20px;margin:0}
@media(max-width:1100px){
 body.sports-page .game-matchup .game-hero-team{flex-direction:column;gap:9px;min-height:135px}
 body.sports-page .game-matchup .game-hero-team .team-logo{width:65px;height:65px;flex-basis:65px}
 body.sports-page .game-matchup .game-team-identity,body.sports-page .game-matchup .game-hero-home .game-team-identity{text-align:center}
 body.sports-page .game-matchup .game-team-meta,body.sports-page .game-matchup .game-hero-home .game-team-meta{justify-content:center}
 body.sports-page .game-dialog .arena-overview{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:16px}
 body.sports-page .game-dialog .arena-forecast,body.sports-page .game-dialog .game-center-odds{padding:17px}
 body.sports-page .game-dialog .forecast-number strong{font-size:21px}
 body.sports-page .arena-settings .arena-account{grid-template-columns:44px minmax(0,1fr);gap:16px}
 body.sports-page .arena-settings .arena-account>.btn{grid-column:2;justify-self:start}
}
@media(max-width:800px){
 body.sports-page dialog.game-dialog{width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}
 body.sports-page .game-dialog .game-mobile-sticky{position:sticky;top:0;z-index:10}
 body.sports-page .game-dialog .dialog-top{padding:6px 16px;min-height:48px}
 body.sports-page .game-dialog .game-matchup{padding:12px 16px 9px}
 body.sports-page .game-matchup .matchup-hero{grid-template-columns:minmax(0,1fr) 120px minmax(0,1fr);gap:10px;margin:0 0 8px}
 body.sports-page .game-matchup .game-hero-team{min-height:94px;gap:5px}
 body.sports-page .game-matchup .game-hero-team .team-logo{width:44px;height:44px;flex-basis:44px;max-width:44px}
 body.sports-page .game-dialog .game-team-identity h3{font-size:14px;letter-spacing:-.2px;margin-bottom:4px}
 body.sports-page .game-matchup .game-team-city{display:none}
 body.sports-page .game-matchup .game-team-city+.game-team-record::before{content:none}
 body.sports-page .game-matchup .game-team-meta span{font-size:10px}
 body.sports-page .game-matchup .hero-at{font-size:29px;padding:10px 6px}
 body.sports-page .game-matchup .hero-at.game-score-wide{font-size:24px}
 body.sports-page .game-matchup .hero-at .game-mobile-start{font-size:13px}
 body.sports-page .game-dialog .game-tabs{padding:0 16px;gap:24px}
 body.sports-page .game-dialog .game-tabs button{font-size:11px;min-height:45px}
 body.sports-page .game-dialog .game-content{padding:18px 16px 30px}
 body.sports-page .game-dialog .arena-overview{grid-template-columns:1fr}
 body.sports-page .game-dialog .arena-forecast,body.sports-page .game-dialog .game-center-odds{padding:18px}
 body.sports-page .arena-context .gc-leader-player{grid-template-columns:45px minmax(0,1fr);text-align:left;justify-items:start;column-gap:10px}
 body.sports-page .arena-context .gc-player-photo{grid-row:span 2}
 body.sports-page .arena-context .gc-leader-player .player-name-link{text-align:left}
 body.sports-page .arena-context .gc-goalie-teams{grid-template-columns:1fr 1fr}
 body.sports-page .game-dialog .game-content>.stats-comparison{grid-template-columns:1fr}
 body.sports-page .game-dialog .game-content>.stats-comparison>div{padding:18px}
 body.sports-page .game-dialog .play-row{padding:16px 12px;gap:14px;grid-template-columns:42px 1fr auto}
 body.sports-page .game-dialog .play-row::before{left:61px}.game-dialog .play-row::after{left:57px!important}
 body.sports-page .arena-settings{grid-template-columns:1fr}
 body.sports-page .arena-settings .arena-data,body.sports-page .arena-settings .reference-index{grid-column:1;grid-row:auto}
 body.sports-page .arena-settings .arena-account{padding:22px;grid-template-columns:36px minmax(0,1fr)}
 body.sports-page .arena-settings .arena-account-symbol{width:36px;height:36px}
}
@media(max-width:480px){
 body.sports-page .game-dialog .forecast-number{padding:14px 8px}
 body.sports-page .game-dialog .forecast-number strong{font-size:20px;letter-spacing:-.7px}
 body.sports-page .game-dialog .forecast-number small{font-size:7px;letter-spacing:.04em}
 body.sports-page .game-dialog .forecast-number p{font-size:9px}
 body.sports-page .game-dialog .game-center-odds .game-odds-head{grid-template-columns:minmax(0,1fr) repeat(3,60px)}
 body.sports-page .game-dialog .game-center-odds .score-quote{width:60px;min-width:60px}
 body.sports-page .game-dialog .game-center-odds .game-odds-team,body.sports-page .game-dialog .game-center-odds .score-inline-odds{gap:5px}
 .arena-line-score{padding:16px}.arena-line-score th,.arena-line-score td{padding:9px 10px}
 .arena-section-heading{gap:8px}.arena-section-heading>span{font-size:9px}
 body.sports-page .game-dialog .arena-line-score h3{font-size:14px}
 body.sports-page .arena-context .gc-leader-player{grid-template-columns:1fr;text-align:center;justify-items:center}
 body.sports-page .arena-context .gc-player-photo{grid-row:auto}
 body.sports-page .arena-context .gc-leader-player .player-name-link{text-align:center}
 body.sports-page .arena-context .gc-goalie-teams{grid-template-columns:1fr}
 body.sports-page .arena-settings .arena-account{padding:20px;gap:13px}
 body.sports-page .arena-settings .arena-account h2{font-size:19px}
 body.sports-page .arena-settings .arena-data{padding:20px}
 body.sports-page .arena-settings .reference-index{padding:22px 5px}
 body.sports-page .game-dialog .game-content>.table-wrap th:first-child,body.sports-page .game-dialog .game-content>.table-wrap td:first-child{min-width:155px;max-width:180px}
}
@media(prefers-reduced-motion:reduce){body.sports-page .game-dialog *,body.sports-page .arena-settings *{scroll-behavior:auto;transition:none}}
/* Date-led score sections preserve every game and the original card actions. */
body.sports-page .arena-slate-context{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:0 0 28px;color:#9fa1a7;font-size:10px}
body.sports-page .arena-slate-context strong{color:#d8d8da;font-size:12px}
body.sports-page .scores-list.desk-scores-grid:has(.arena-score-day){display:block}
.arena-score-day{margin:0 0 30px;min-width:0}
.arena-day-heading{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:0 0 13px;margin-bottom:14px;border-bottom:1px solid #494a4f}
.arena-day-heading h2{font-size:16px;line-height:1.4;letter-spacing:-.3px;margin:0}
.arena-day-heading>span{font-size:10px;color:#999ba3;white-space:nowrap}
.arena-day-games{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media(max-width:650px){.arena-day-games{grid-template-columns:1fr;gap:10px}.arena-day-heading h2{font-size:14px}.arena-day-heading>span{font-size:9px}body.sports-page .arena-slate-context{font-size:9px;gap:10px;margin-bottom:24px;align-items:flex-start}body.sports-page .arena-slate-context>span{max-width:210px;text-align:right;line-height:1.6}}
/* Use a true timeline grid so its rail never overlaps play text. */
body.sports-page .game-dialog .play-row{display:grid;align-items:start}
body.sports-page .game-dialog .play-row>time{width:auto;min-width:0;padding-top:2px;font-size:11px}
body.sports-page .game-dialog .play-row::before{height:auto;border-radius:0}
body.sports-page .game-dialog .comparison-source{font-size:10px;line-height:1.7;color:#a5a6ae;margin-top:8px}
@media(max-width:480px){
 body.sports-page .game-dialog .forecast-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.sports-page .game-dialog .forecast-number strong{font-size:24px;white-space:nowrap}
 body.sports-page .game-dialog .forecast-number:last-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:center;text-align:left}
 body.sports-page .game-dialog .forecast-number:last-child small{grid-column:1;grid-row:1;margin-bottom:0}
 body.sports-page .game-dialog .forecast-number:last-child strong{grid-column:2;grid-row:1/3}
 body.sports-page .game-dialog .forecast-number:last-child p{grid-column:1;grid-row:2;margin-top:4px}
}

/* Settings: readable source status on narrow screens. */
body.sports-page .arena-data .source-connection p,
body.sports-page .arena-data .source-detail{font-size:12px;line-height:1.7}
body.sports-page .arena-data .badge{font-size:10px;line-height:1.5}
body.sports-page .arena-settings .reference-index summary{min-height:44px;font-size:13px}
body.sports-page .arena-settings .reference-index summary:focus-visible{outline:2px solid #f7d441;outline-offset:4px}
@media(max-width:550px){body.sports-page .arena-data .source-connection{align-items:flex-start;flex-direction:column;gap:8px;padding:16px 0}body.sports-page .arena-data .source-connection .badge{align-self:flex-start;white-space:normal}body.sports-page .arena-settings .arena-data,body.sports-page .arena-settings .reference-index{padding:20px}}
