/* Live matchup comparison: data stays visible; detail pages are optional. */
body:has(.match-board) #nfl-strip{display:none}
.match-board{--board-line:#283b50;--board-muted:#a7bbcf}
.match-board .watch-toolbar{margin:0 0 6px}
.match-board .watch-toolbar h2{font-size:19px}
.match-board .watch-links{display:flex;margin-top:8px}
.match-board #match-updated{font-size:10px;color:var(--board-muted)}
.match-board .match-selector{margin:0 0 8px;gap:6px}
.match-board .match-selector button{padding:5px 8px;border-radius:6px;background:#111f30}
.match-board .match-selector button>small{font-size:10px}
.match-board .match-selector button div{font-size:12px;margin-top:2px}
.match-board .match-selector button b{display:flex;align-items:baseline;gap:6px;white-space:nowrap}
.match-board .match-selector button b small{font-size:10px}
.match-board .match-selector button>small{display:block;line-height:13px}
.match-board .match-selector button div{height:20px;line-height:20px}
.match-board .match-selector button div>span{flex:0 0 38px}
.match-board .match-selector button b{min-width:0;padding:0;justify-content:flex-end;flex:1}
.match-board [data-score-heat]{background:transparent!important;box-shadow:none!important;border:0!important;color:#eef6ff!important}
.match-board .match-scores{grid-template-columns:minmax(0,1fr) 82px minmax(0,1fr);border:1px solid var(--board-line);border-radius:7px;margin-bottom:8px;background:#111f30}
.match-board .match-scores>div,.match-board .match-scores>div:last-child{display:grid;grid-template-columns:minmax(0,1fr) 56px;gap:0 8px;padding:10px 12px;background:transparent;border:0;text-align:left;min-width:0}
.match-board .match-scores>div:last-child{border-left:1px solid var(--board-line)}
.match-board .match-scores h3,.match-board .match-scores>div:last-child h3{grid-column:1;grid-row:1;font-size:14px;color:#eaf4ff}
.match-board .match-scores small,.match-board .match-scores>div:last-child small{grid-column:1;color:var(--board-muted);font-size:11px}
.match-board .match-scores strong,.match-board .match-scores>div:last-child strong{grid-column:2;grid-row:1/4;text-align:right;font-size:34px;letter-spacing:-1px;align-self:center}
.match-board .match-scores>span{color:#83e9c5;font-size:11px}
.match-board .watch-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:12px;align-items:start}
.match-board #match-detail{min-width:0;grid-column:auto;grid-row:auto}
.match-board .match-lineups{display:block;border:1px solid var(--board-line);border-radius:7px;overflow:hidden;background:#101b2b}
.match-column-head,.match-pair{display:grid;grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr)}
.match-column-head{background:#182a3d;padding:9px 0;color:#c1d9eb;font-size:12px;font-weight:700;border-bottom:1px solid var(--board-line)}
.match-column-head>span{padding:0 10px;min-width:0;overflow-wrap:anywhere}
.match-column-head>span:nth-child(2){padding:0;text-align:center;font-size:9px;color:var(--board-muted);align-self:center}
.match-pair{border-bottom:1px solid var(--board-line);align-items:stretch}
.match-pair:nth-child(odd){background:#132133}
.match-board .match-player{display:grid;grid-template-columns:minmax(0,1fr) 47px;padding:5px 10px;gap:8px;min-width:0;border:0;background:transparent;align-items:center}
.match-board .match-player:nth-of-type(even){background:transparent}
.match-board .match-player[data-status=in]{box-shadow:inset 2px 0 #5ce4b1;background:#14312d55}
.match-board .match-player[data-play-state=live]{background:#123d32;box-shadow:inset 3px 0 #4ee5a0}
.match-board .match-player[data-play-state=possession]{background:#123d60;box-shadow:inset 3px 0 #56baff}
.match-board .match-player[data-play-state=redzone]{background:#543316;box-shadow:inset 3px 0 #ffb447}
.match-board .match-player[data-play-state=scheduled],.match-board .match-player[data-play-state=final],.match-board .match-player[data-play-state=delayed],.match-board .match-player[data-play-state=inactive]{background:transparent;box-shadow:none}
.match-state-label{font-style:normal;font-weight:750;color:#77f0b3}
[data-play-state=possession] .match-state-label{color:#8ed3ff}
[data-play-state=redzone] .match-state-label{color:#ffd18a}
[data-play-state=delayed] .match-state-label,[data-play-state=final] .match-state-label{color:#a7bbcf}
.match-state-legend{display:flex;gap:12px;flex-wrap:wrap;padding:7px 10px;font-size:10px;color:#a7bbcf}
.match-state-legend span:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:4px;background:var(--state-color)}
#main-content .match-board .match-player>a{display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:2px;min-height:52px;min-width:0;line-height:1.3;padding:0}
.match-board .match-player-name{font-size:13px;font-weight:650;color:#edf5ff}
.match-board .match-player a small{margin:0;font-size:11px;line-height:1.3}
.match-board .match-player .match-player-stats{color:#cee2ee}
.match-board .match-player .match-player-game{color:var(--board-muted)}
.match-board .match-player[data-injured=true] .match-player-game{color:#ffc39a}
.match-board .match-player b{min-width:0;font-size:20px;font-weight:750;line-height:1.15;text-align:right;font-variant-numeric:tabular-nums}
.match-board .match-player b small{font-size:10px;font-weight:400;color:var(--board-muted);white-space:nowrap;display:block;margin-top:4px}
/* NFL game context spans the player cell, not the narrow name column. */
#main-content .match-board .match-player>.match-nfl-context{grid-column:1/-1;align-self:end;display:flex;flex-direction:column;justify-content:center;gap:3px;min-height:44px;padding:4px 0 0;border-top:1px solid #ffffff26;border-radius:0;color:#c8dbed;font-size:11px;line-height:1.35;text-decoration:none}
.match-nfl-score{display:flex;align-items:center;flex-wrap:wrap;gap:3px 5px;min-width:0}
.match-nfl-team{white-space:nowrap;color:#b4c8dc}
.match-nfl-team.is-player-team{color:#f0f7ff}
.match-nfl-team strong{font-size:12px;font-variant-numeric:tabular-nums}
.match-nfl-team.has-ball{color:#8ed3ff}
[data-redzone=true] .match-nfl-team.has-ball,.match-nfl-context[data-redzone=true] .match-nfl-field{color:#ffd18a}
.match-nfl-time{color:#b4c8dc;margin-left:auto;font-size:10px}
.match-nfl-field{font-size:10px;color:#c8dbed;overflow-wrap:anywhere}
.match-football{font-size:11px}
#main-content .match-board .match-nfl-context:hover{background:#ffffff0b;color:#fff}
#main-content .match-board .match-nfl-context:focus-visible{outline:2px solid #8ed3ff;outline-offset:2px}
.match-slot{display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;color:#a8c9e3;background:#17283a;border-left:1px solid var(--board-line);border-right:1px solid var(--board-line)}
.match-board .match-vacant{display:flex;color:var(--board-muted);font-size:11px}
.match-board .match-vacant>span{background:none;padding:0;color:var(--board-muted);font-size:11px}
.match-table-note{font-size:10px;color:var(--board-muted);padding:8px 10px;margin:0}
.match-benches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
.match-bench{border:1px solid var(--board-line);border-radius:6px;min-width:0}
.match-bench summary{padding:10px;font-size:11px;color:#b9d0e4;cursor:pointer}
.match-bench-row{display:grid;grid-template-columns:32px minmax(0,1fr);border-top:1px solid var(--board-line)}
.match-board .watch-sidebar{display:flex;flex-direction:column;gap:8px;min-width:0;max-height:none;overflow:visible}
.match-board .feed-controls{grid-column:auto;grid-row:auto;display:grid;grid-template-columns:auto minmax(0,1fr) auto;margin:0;gap:4px;font-size:11px}
.match-board .feed-controls>select{max-width:none}
.match-board .possession-toggle{grid-column:1/-1;margin:0;gap:0;min-height:44px}
.match-board .possession-toggle input{appearance:none;width:44px;height:44px;margin:0;position:relative;border:0;background:none;cursor:pointer;flex-shrink:0}
.match-board .possession-toggle input:before{content:'';position:absolute;inset:13px;border:1px solid #759bb4;border-radius:3px;background:#142739}
.match-board .possession-toggle input:checked:before{content:'✓';background:#6bdfb7;color:#0c2630;font-size:14px;text-align:center;line-height:16px;border-color:#6bdfb7}
.match-board .watch-sidebar section{margin:0;grid-column:auto;grid-row:auto}
.match-board .watch-sidebar #nfl-games{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:280px;min-height:0;overflow:auto}
.match-board .watch-sidebar #nfl-games:has(.nfl-game:only-child){grid-template-columns:1fr}
.match-board .nfl-game{background:#102335;padding:9px}
.match-board .nfl-game-context{font-size:11px;margin-top:6px;line-height:1.4}
.match-board .nfl-game-context p{margin:5px 0;font-size:11px;color:#c4d8e9}
.match-board .nfl-game-context p span{display:inline-block;margin-right:6px}
.match-board .nfl-game-context .offense-has-ball{color:#83efba}
.match-board .nfl-game-context a{display:flex;align-items:center;min-height:44px;min-width:44px;font-size:11px}
.match-board #live-play-log{max-height:340px;min-height:0}
.match-board #live-play-log p{font-size:12px;line-height:1.45}
.match-board #live-play-log small,.match-board #live-play-log span{font-size:10px}
.match-board .watch-notes p{color:var(--board-muted)}
@media(min-width:1800px){
 .match-board .watch-layout{grid-template-columns:minmax(760px,1fr) 330px 330px;grid-template-rows:44px auto}
 .match-board #match-detail{grid-column:1;grid-row:1/3}
 .match-board .watch-sidebar{display:contents}
 .match-board .feed-controls{grid-column:2/4;grid-row:1;display:flex;flex-wrap:wrap;align-items:center}
 .match-board .feed-controls select{max-width:220px}
 .match-board .possession-toggle{margin-left:auto}
 .match-board .nfl-panel{grid-column:2;grid-row:2;align-self:start}
 .match-board .plays-panel{grid-column:3;grid-row:2;align-self:start}
 .match-board .watch-sidebar #nfl-games,.match-board #live-play-log{max-height:640px}
}
@media(max-width:1100px){
 .match-board .watch-layout{grid-template-columns:minmax(0,1fr)}
 .match-board .watch-mobile-tabs{display:none}
 .match-board[data-panel=lineups] .watch-sidebar{display:flex}
 .match-board .watch-sidebar{display:flex;gap:10px}
 .match-board .match-selector button{flex:0 0 145px}
 .match-board .match-selector button div b{display:flex}
 .match-board .watch-toolbar{align-items:center;gap:5px}
 .match-board .watch-toolbar>div{display:block}
 .match-board .watch-toolbar h2{font-size:16px;line-height:1.3}
 .match-board .watch-toolbar p{font-size:10px;margin:2px 0 0}
 .match-board .watch-toolbar form{margin-left:auto;gap:4px}
 .match-board .watch-toolbar button,.match-board .watch-toolbar select{font-size:11px;padding:5px}
 .match-board .match-scores{grid-template-columns:minmax(0,1fr) 50px minmax(0,1fr)}
 .match-board .match-scores>div,.match-board .match-scores>div:last-child{padding:8px;grid-template-columns:minmax(0,1fr) 32px;gap:3px}
 .match-board .match-scores h3,.match-board .match-scores>div:last-child h3{grid-column:1/3;font-size:12px}
 .match-board .match-scores strong,.match-board .match-scores>div:last-child strong{grid-row:2/4;font-size:26px}
 .match-board .match-scores small,.match-board .match-scores>div:last-child small{font-size:9px;line-height:1.35}
 .match-board .match-scores>span,.match-board .match-scores>span small{font-size:9px;white-space:normal}
 .match-board .watch-sidebar #nfl-games{max-height:340px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .match-board #live-play-log{max-height:360px}
}
@media(max-width:600px){
 .match-column-head,.match-pair{grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr)}
 .match-column-head{font-size:10px;padding:7px 0}
 .match-column-head>span{padding:0 6px}
 .match-column-head>span:nth-child(2){font-size:8px}
 .match-board .match-player{padding:6px;gap:4px;grid-template-columns:minmax(0,1fr) 31px}
 #main-content .match-board .match-player>a{min-height:60px;gap:3px}
 .match-board .match-player-name{font-size:11px;line-height:1.3}
 .match-board .match-player a small{font-size:9px;line-height:1.35}
 .match-board .match-player b{font-size:18px}
 .match-board .match-player b small{font-size:8px}
 #main-content .match-board .match-player>.match-nfl-context{font-size:10px;gap:3px}
 .match-nfl-score{gap:2px 3px}
 .match-nfl-team strong{font-size:11px}
 .match-nfl-time{flex-basis:100%;margin-left:0;font-size:9px}
 .match-nfl-field{font-size:9px}
 .match-slot{font-size:8px}
 .match-table-note{font-size:9px;line-height:1.5}
 .match-benches{grid-template-columns:1fr}
}

/* Phones: "Live" + controls on row 1, the full "2026 · Week 3 · In progress…" status on its own
   row 2 (it was squeezed to "2026 · Week …" beside the buttons; Pat 2026-09-28). */
@media (max-width:700px){
  .match-board .watch-toolbar{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;row-gap:2px}
  .match-board .watch-toolbar>div{display:contents!important}
  .match-board .watch-toolbar h2{grid-column:1;grid-row:1}
  .match-board .watch-toolbar form{grid-column:2;grid-row:1;justify-self:end;margin-left:0}
  .match-board .watch-toolbar #match-status{grid-column:1/-1;grid-row:2;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;max-width:none!important;font-size:12px!important;color:#c7dcec}
  .match-board .watch-toolbar #match-updated{grid-column:1/-1;grid-row:3;font-size:10px}
  .match-board .watch-toolbar #live-ticker{grid-column:1/-1}
}
