/* Broadcast canvas: 5% title-safe margins at 1280 × 720. */
html:has(body.psi-multi-page){margin:0!important;background:var(--psi-bg)}body.psi-multi-page{margin:0;color:#f4f8fc;background:radial-gradient(ellipse at 85% 0,var(--psi-panel) 0,transparent 58%),var(--psi-bg);font-family:Arial,Helvetica,sans-serif}body.psi-multi-page *{box-sizing:border-box}.mg-frame{max-width:1700px;margin:auto;padding:28px 4vw;min-height:100svh;display:grid;grid-template-rows:auto auto 1fr auto;gap:18px}.mg-header{display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--psi-border);padding-bottom:16px}.mg-header img{width:110px;height:60px;object-fit:contain}.mg-eyebrow{color:var(--psi-accent);font-size:12px;font-weight:800;letter-spacing:2px}.mg-header h1{font-size:25px;line-height:1.2;letter-spacing:1px;margin:5px 0 0}.mg-updated{margin-left:auto;text-align:right;font-size:12px;letter-spacing:1px;line-height:1.6}.mg-updated span,.mg-updated strong{display:block}.mg-updated strong{color:var(--psi-accent)}.mg-updated.is-delayed strong{color:var(--psi-accent)}.mg-controls{display:flex;align-items:end;flex-wrap:wrap;gap:12px}.mg-controls label{display:grid;gap:5px;color:#b7ccd8;font-weight:bold;font-size:11px;letter-spacing:1px}.mg-controls input,.mg-controls select,.mg-controls button,.mg-controls a,.mg-footer button,.mg-picker-actions button{font:700 12px Arial,sans-serif;color:#edf9ff;background:var(--psi-panel);border:1px solid #3e6579;border-radius:6px;min-height:36px;padding:9px 12px;text-decoration:none}.mg-controls input{width:180px}.mg-controls a{display:inline-flex;align-items:center}.mg-controls button,.mg-footer button,.mg-picker-actions button{cursor:pointer}.mg-controls :focus-visible,.mg-footer :focus-visible,#mg-picker :focus-visible{outline:3px solid var(--psi-accent);outline-offset:3px}.mg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(228px,1fr));gap:16px;min-height:0}.mg-card{position:relative;min-width:0;border:1px solid #346078;border-radius:14px;background:linear-gradient(125deg,var(--psi-panel),var(--psi-panel) 72%);padding:18px 20px;display:grid;grid-template-rows:auto 1fr auto auto;gap:10px;overflow:hidden}.mg-card.is-live{border-top:3px solid #32e3d0}.mg-card.is-final{border-top:3px solid #abed4d}.mg-card.is-updated{animation:mg-update 1.2s ease-out}.mg-card-head{display:flex;justify-content:space-between;gap:12px;min-width:0;font-size:12px;font-weight:800;letter-spacing:1px;color:#b8d0de}.mg-card-status{color:var(--psi-accent);text-align:right}.mg-card.is-final .mg-card-status{color:#c2f16b}.mg-score-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:16px;min-width:0}.mg-team{min-width:0}.mg-team:last-child{text-align:right}.mg-team-name{display:block;color:#f7fbff;font-weight:800;font-size:24px;line-height:1.12;overflow-wrap:anywhere}.mg-team-name small{font-size:16px;color:var(--psi-accent);white-space:nowrap}.mg-team-record{font-size:11px;color:#b8cbd6;margin-top:5px;display:block}.mg-score{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:48px;line-height:1;font-weight:800;font-variant-numeric:tabular-nums}.mg-score em{font-size:22px;color:#66808d;font-style:normal}.mg-pre .mg-score{font-size:24px;color:#8caaba}.mg-situation{display:flex;gap:12px;align-items:baseline;min-width:0;font-size:15px;color:#d4e2eb}.mg-situation strong{font-size:26px;font-variant-numeric:tabular-nums;line-height:1;color:var(--psi-accent)}.mg-situation span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mg-kickoff{font-size:21px!important;line-height:1.2!important}.mg-last-play{margin:0;min-height:40px;font-size:16px;line-height:1.25;color:#deebf2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mg-last-play.is-major{color:var(--psi-accent);font-weight:800}.mg-card a{position:absolute;inset:0;border-radius:14px;z-index:1}.mg-card a:focus-visible{outline:3px solid var(--psi-accent);outline-offset:-4px}.mg-card-placeholder{justify-content:center;align-items:center;text-align:center;color:#9eb8c6;grid-template-rows:auto auto;align-content:center}.mg-card-placeholder strong{font-size:24px;color:#e9f5fa}.mg-empty{grid-column:1/-1;grid-row:1/-1;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:32px;border:1px solid #315366;border-radius:16px;background:var(--psi-panel)}.mg-empty h2{font-size:42px;margin:12px}.mg-empty p{font-size:20px;color:#b1c6d3}.mg-footer{display:flex;align-items:center;gap:14px;min-width:0;font-size:11px;font-weight:700;letter-spacing:1px;color:#c2d5de}.mg-pages{display:flex;align-items:center;gap:12px;margin-left:auto;white-space:nowrap}.mg-footer button{padding:4px 10px;min-height:26px}#mg-credit{max-width:35%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#9fbac9;font-size:10px}.mg-progress{height:3px;background:var(--psi-panel)}.mg-progress i{display:block;background:linear-gradient(90deg,var(--psi-accent),var(--psi-accent));height:100%;width:100%;transform-origin:left;transform:scaleX(0)}@keyframes mg-progress{to{transform:scaleX(1)}}@keyframes mg-update{from{box-shadow:inset 0 0 0 2px var(--psi-accent)}to{box-shadow:inset 0 0 0 0 transparent}}
#mg-picker{width:min(680px,95vw);max-height:85svh;color:#f5fbff;border:1px solid var(--psi-accent);border-radius:16px;background:var(--psi-panel);padding:24px;font:16px Arial,sans-serif}#mg-picker::backdrop{background:#000b}#mg-picker header{display:flex;justify-content:space-between;align-items:center}#mg-picker h2{font-size:24px;margin:0}#mg-close{color:white;background:transparent;border:0;font-size:30px;cursor:pointer}#mg-options{display:grid;gap:8px;margin:20px 0}#mg-options label{display:flex;align-items:center;gap:12px;padding:12px;background:var(--psi-panel);border-radius:8px;line-height:1.4}#mg-options input{width:20px;height:20px;accent-color:var(--psi-accent)}.mg-picker-actions{display:flex;justify-content:space-between;gap:12px}#mg-picker p{color:#bad0dd}
/* TV is a fixed canvas with no browser controls or scrolling at 1280 × 720. */
body.psi-multi-tv{height:100dvh;overflow:hidden}.psi-multi-tv .mg-frame{height:100dvh;min-height:0;padding:5vh 5vw;grid-template-rows:70px minmax(0,1fr) 24px 3px;gap:14px;max-width:none}.psi-multi-tv .mg-header{padding-bottom:12px}.psi-multi-tv .mg-grid{grid-template-rows:repeat(2,minmax(0,1fr));gap:14px}.psi-multi-tv .mg-card{padding:13px 18px;gap:8px}.psi-multi-tv .mg-team-name{font-size:23px}.psi-multi-tv .mg-last-play{font-size:16px;min-height:40px}.psi-multi-tv .mg-footer{font-size:11px}.psi-multi-tv #mg-credit{max-width:40%}
@media(min-width:1500px){.psi-multi-tv .mg-team-name{font-size:30px}.psi-multi-tv .mg-score{font-size:64px}.psi-multi-tv .mg-last-play{font-size:22px;min-height:55px}.psi-multi-tv .mg-situation strong{font-size:34px}.psi-multi-tv .mg-card-head{font-size:15px}}
@media(max-width:760px){.mg-frame{padding:18px 16px}.mg-header{gap:12px;flex-wrap:wrap}.mg-header img{width:80px}.mg-header h1{font-size:20px}.mg-updated{width:100%;text-align:left;display:flex;gap:12px;margin:0}.mg-grid{grid-template-columns:1fr;grid-template-rows:none}.mg-card{min-height:240px;padding:18px 16px}.mg-team-name{font-size:22px}.mg-score{font-size:42px;gap:7px}.mg-score-row{gap:10px}.mg-footer{flex-wrap:wrap}#mg-credit{max-width:100%;width:100%}.mg-controls{gap:8px}.mg-controls input{width:150px}.mg-empty{min-height:280px}.mg-empty h2{font-size:30px}body.psi-multi-tv{height:auto;overflow:auto}.psi-multi-tv .mg-frame{height:auto;min-height:100svh;padding:24px 5vw;grid-template-rows:auto 1fr auto auto}.psi-multi-tv .mg-card{min-height:235px}.psi-multi-tv .mg-grid{grid-template-rows:none}.psi-multi-tv #mg-credit{max-width:100%}}
@media(prefers-reduced-motion:reduce){.mg-card.is-updated{animation:none}.mg-progress{visibility:hidden}}

:root[data-psi-team-theme="on"] body.psi-multi-page{background:var(--psi-team-bg);color:#f4f8fc}:root[data-psi-team-theme="on"] .mg-card,:root[data-psi-team-theme="on"] .mg-empty{background:var(--psi-team-panel);border-color:var(--psi-team-border)}:root[data-psi-team-theme="on"] .mg-eyebrow,:root[data-psi-team-theme="on"] .mg-card-status,:root[data-psi-team-theme="on"] .mg-situation strong{color:var(--psi-team-accent)}

/* Explicit broadcast heading colors prevent dark theme heading rules from overriding inherited body text. */
body.psi-multi-page .mg-header h1,body.psi-multi-page .mg-empty h2,body.psi-multi-page #mg-picker h2{color:#f4f8fc!important}
.psi-possession-ball{display:inline-flex;width:26px;height:18px;margin-inline-start:6px;vertical-align:middle}.psi-possession-ball svg{width:26px;height:18px}
