/* Wide-screen broadcast desk; the phone layout remains in style.css. */
@media (min-width:900px) {
  #app{display:grid;grid-template-columns:minmax(0,1fr) 320px;grid-template-rows:76px 100px minmax(0,1fr);width:calc(100% - 32px);max-width:1480px;height:calc(100dvh - 32px);max-height:none;margin:16px auto;padding:0;border:1px solid var(--border);border-radius:16px}
  .header{grid-column:1/-1;grid-row:1;height:auto;padding:16px 28px;border-bottom:1px solid var(--border)}
  .brand{font-size:25px}.brand-sub{font-size:10px}.header-tools{gap:10px}.header-tools .icon-button{width:42px;height:42px}.header-tools .muted-slash{left:11px;top:20px}
  .field{grid-column:1;grid-row:2/4;min-width:0;min-height:0;border-right:1px solid var(--border)}
  .scoreboard{grid-column:2;grid-row:2;height:auto;min-width:0;margin:0 20px;padding:24px 0 18px;border-top:0;border-bottom:1px solid var(--border);gap:6px}
  .scoreboard>div{min-width:0;gap:9px}.scoreboard strong{font-size:22px;letter-spacing:-.5px;white-space:nowrap}.scoreboard small{font-size:11px}.metric-label{font-size:10px;letter-spacing:1px}
  .controls{grid-column:2;grid-row:3;display:flex;flex-direction:column;justify-content:safe center;gap:20px;height:auto;min-height:0;padding:24px;overflow:auto;touch-action:pan-y}
  .controls>*{flex-shrink:0}
  .status-line{flex-direction:column;align-items:flex-start;gap:8px;margin:0;min-height:46px;font-size:17px;line-height:1.5}.status-line small{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
  .start-actions{flex-direction:column;gap:12px}.start-actions>.primary-button{flex:none}.ranking-button{width:100%;height:46px;font-size:13px}
  .primary-button{height:58px;font-size:16px}.micro-copy{font-size:11px;line-height:1.7;margin-top:15px}
  .national-average{height:auto;min-height:46px;flex-wrap:wrap;gap:5px 10px;margin-top:20px;font-size:11px;white-space:normal}.national-average strong{font-size:23px}.national-average>span:last-child{width:100%;font-size:10px;text-align:right}
  .call-buttons{grid-template-columns:1fr;gap:16px}.call-button{height:100px;gap:8px}.call-button span{font-size:31px}.call-button small{font-size:12px}.call-footer{font-size:10px;gap:8px;line-height:1.7;flex-wrap:wrap;margin-top:16px}.time-track{height:4px;margin-top:10px}
  .round-track{margin:0;gap:7px;flex-wrap:wrap}.round-track span{width:12px;height:4px}.round-track .current{width:24px}
  .result-detail{align-items:flex-start;gap:12px;flex-wrap:wrap;font-size:13px;line-height:1.7;margin-bottom:20px}.result-detail strong{font-size:25px;white-space:nowrap}.result-actions{flex-direction:column}.result-actions .primary-button{flex:none;height:58px}.secondary-button{font-size:13px}
  .intro{padding:70px 36px 55px;background:linear-gradient(transparent,#102019b8 35%,#102019f5)}.intro h1{font-size:clamp(38px,4vw,58px);line-height:1.25;margin:16px 0}.intro p{font-size:14px}.intro .eyebrow{font-size:11px}.intro-tags{gap:10px;margin-top:24px}.intro-tags span{font-size:11px;padding:7px 10px}
  .field-caption{left:28px;right:28px;bottom:17px;font-size:9px}.caption-right{font-size:10px}.batter-info{font-size:12px;padding:7px 10px}.speed{font-size:24px}.pitch-cue{font-size:32px}
  .replay-labels{top:20px;left:20px}.replay-badge{padding:10px 14px}.replay-badge>span{font-size:9px}#replay-stage{font-size:14px}.replay-event{left:20px;right:156px;bottom:20px;width:fit-content;max-width:calc(100% - 176px);font-size:12px;padding:9px 14px}.skip-replay{right:20px;bottom:20px;min-width:116px;font-size:14px}
  .review-result{max-width:420px;bottom:24px;padding:16px 20px}.review-heading,.review-heading b,.review-calls small,.review-decision{font-size:10px}.review-outcome{font-size:19px}.review-calls strong{font-size:32px}
  dialog{max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain;touch-action:pan-y;font-size:14px}dialog h2{font-size:24px}dialog ol{font-size:13px}.rule-note{font-size:12px}dialog a{font-size:11px}
  .settings-menu,.audio-settings,.national-profile{max-width:440px;padding:28px}.settings-menu-option{font-size:16px;height:64px}.settings-profile{font-size:14px}.audio-settings>p,.national-profile>p{font-size:13px}
  .view-settings{left:auto;right:max(32px,calc((100vw - 1480px)/2 + 24px));bottom:40px;width:360px;max-width:none;padding:22px}.view-settings h2{font-size:20px}.view-settings>p{font-size:12px;line-height:1.7;margin:10px 0}.view-settings-actions{flex-direction:column;gap:10px}.view-settings-actions .primary-button{flex:none}.view-settings-actions .primary-button,.view-settings-actions .secondary-button{font-size:14px}
  body.view-adjusting .controls{height:auto;min-height:0;padding:24px}
  .rankings-dialog{max-width:660px;padding:26px 30px 20px}.ranking-tabs button{font-size:14px}#national-ranking-table td,#national-ranking-table tbody th,#ranking-table td,#ranking-table tbody th{height:42px;font-size:15px}#national-ranking-table td strong,#ranking-table td strong{font-size:18px}#national-ranking-table td:nth-child(2){font-size:15px}#national-ranking-table th:first-child,#ranking-table th:first-child{width:48px}#national-ranking-table thead th,#ranking-table thead th{font-size:11px}.national-ranking-time,#national-ranking-table td small,#ranking-table td small{font-size:11px}.rankings-note{font-size:11px}
  .summary{inset:0;padding:22px 34px 16px;overflow-y:auto;touch-action:pan-y;overscroll-behavior:contain;gap:0}
  .newspaper-masthead strong{font-size:36px}.newspaper-masthead span{font-size:9px}.newspaper-folio{font-size:10px;padding:8px 0}
  .cover-story{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:32px;flex:1 0 auto;min-height:0;padding:16px 0}
  .story-kicker{grid-column:1;grid-row:1;margin:0;font-size:12px;line-height:1.5}.summary h2{grid-column:1;grid-row:2;font-size:clamp(28px,3.4vw,48px);line-height:1.22;letter-spacing:-1px;margin:14px 0}.summary #summary-message{grid-column:1;grid-row:3;align-self:start;font-size:14px;line-height:1.9;margin:0;overflow-wrap:anywhere}
  .worst-pitch,.summary-clean{grid-column:2;grid-row:1/4;align-self:center;margin:0;min-width:0}.evidence-content{gap:18px;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);padding:0 0 12px}.evidence-ribbon{padding:9px 0;font-size:12px}.evidence-ribbon>span{font-size:11px}#evidence-diagram svg{height:clamp(160px,27vh,320px)}.evidence-calls>span,.evidence-calls p{font-size:11px}.evidence-calls>strong{font-size:clamp(24px,2.8vw,38px)}.evidence-calls del{font-size:27px}
  .newspaper-record{flex:none;align-items:center;justify-content:flex-start;gap:60px;border-top:1px solid #25282135;padding:12px 0}.summary-score>strong{font-size:44px}.summary-stats{gap:44px;padding:0}.summary-stats strong{font-size:29px}.summary-score>span,.summary-stats span{font-size:12px}.summary-score>small,.summary-stats small{font-size:11px}.summary-pitches span{height:24px;font-size:14px}
  .summary-actions{grid-template-columns:1fr 1fr 160px;gap:12px;margin-top:12px}.summary-actions .ranking-button{width:auto;height:52px;font-size:14px}.summary .summary-actions .primary-button{height:52px;font-size:16px}.national-result-status{font-size:12px;min-height:24px;flex-wrap:wrap}.newspaper-disclaimer{font-size:9px;margin-top:8px}
}
@media (min-width:900px) and (max-height:740px) {
  #app{grid-template-rows:64px 84px minmax(0,1fr)}.header{padding-block:10px}.scoreboard{padding:16px 0}.controls{padding:18px 24px;gap:14px}.call-button{height:74px}.status-line{font-size:15px}.intro{padding-bottom:45px}.intro h1{font-size:38px}.intro-tags{margin-top:14px}
  .summary{padding:14px 24px 10px}.newspaper-masthead strong{font-size:29px}.newspaper-masthead{padding-bottom:5px}.newspaper-folio{padding:5px 0}.cover-story{padding:12px 0;column-gap:24px}.summary h2{font-size:30px;margin:9px 0}.summary #summary-message{font-size:12px;line-height:1.75}#evidence-diagram svg{height:165px}.evidence-calls>strong{font-size:27px}.evidence-ribbon{padding:5px 0}.newspaper-record{padding:8px 0}.summary-score>strong{font-size:34px}.summary-stats strong{font-size:25px}.summary-actions{margin-top:8px}.summary .summary-actions .primary-button,.summary-actions .ranking-button{height:44px}.summary-pitches span{height:20px}
}
