:root{color-scheme:dark;--ink:#f7f4e9;--muted:#8b9d96;--orange:#ff9b50;--green:#c5f17c;--bg:#131d1b;--border:#ffffff14;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none;background:#0b1210}body{position:fixed;inset:0;touch-action:none}button,a{touch-action:manipulation}button{font:inherit;cursor:pointer;border:0}button:focus-visible,a:focus-visible{outline:2px solid var(--orange);outline-offset:4px}button:disabled{cursor:default}button:not(:disabled):active{transform:scale(.98)}[hidden]{display:none!important}
#app{position:relative;display:flex;flex-direction:column;width:100%;max-width:500px;height:100dvh;max-height:1100px;margin:auto;background:var(--bg);overflow:hidden;padding-top:env(safe-area-inset-top);box-shadow:0 0 100px #0005}.header{flex:none;height:65px;padding:14px 22px 10px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;font-size:21px;letter-spacing:1.5px;font-weight:900;font-style:italic;line-height:1}.brand-sub{display:block;font-size:9px;letter-spacing:1.7px;font-weight:500;font-style:normal;color:var(--muted);margin-top:6px}.brand-mark{height:22px;width:22px;border:2px solid var(--orange);transform:rotate(45deg);position:relative;margin-right:4px}.brand-mark:after{content:"";position:absolute;inset:5px;background:var(--orange)}.header-tools{display:flex;gap:8px}.icon-button{height:32px;width:32px;background:#ffffff07;border:1px solid var(--border);border-radius:50%;font-weight:600;font-size:19px;color:#d4ddd7;position:relative}.help{font-size:15px}.muted-slash{position:absolute;width:18px;height:1px;background:var(--muted);transform:rotate(-45deg);left:6px;top:15px}.scoreboard{height:71px;flex:none;display:grid;grid-template-columns:1fr 1fr 1fr;margin:0 22px 0;border-top:1px solid var(--border);padding:13px 0 11px}.scoreboard>div{display:flex;flex-direction:column;gap:5px}.scoreboard>div:nth-child(2){align-items:center;border-inline:1px solid var(--border)}.scoreboard>div:last-child{align-items:flex-end}.metric-label{font-size:9px;font-weight:600;letter-spacing:1.6px;color:var(--muted)}.scoreboard strong{font-size:25px;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.7px}.scoreboard small{font-size:12px;color:var(--muted);letter-spacing:0;font-weight:400}.field{position:relative;flex:1;min-height:130px;isolation:isolate;overflow:hidden;background:#43594b}#scene{position:absolute;inset:0}#scene canvas{width:100%;height:100%;display:block}.field-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(#0e181940,transparent 20%,transparent 60%,#131d1b5c)}.field-top{position:absolute;left:18px;right:18px;top:15px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.phase-pill{display:flex;align-items:center;gap:6px;background:#13231cd9;backdrop-filter:blur(8px);border:1px solid #ffffff1c;border-radius:20px;padding:7px 9px;font-size:8px;letter-spacing:1.4px;font-weight:700}.phase-pill i,.live-dot{display:inline-block;border-radius:50%;width:5px;height:5px;background:var(--green);box-shadow:0 0 9px #c5f17c55}.speed{font-size:19px;font-weight:800;text-shadow:0 1px 4px #000;font-variant-numeric:tabular-nums}.speed small{font-size:9px;font-weight:400;letter-spacing:1px}.intro{position:absolute;bottom:0;left:0;right:0;padding:100px 24px 42px;background:linear-gradient(transparent,#102019e8 60%,#102019f5);pointer-events:none}.eyebrow{color:var(--orange);font-size:9px;letter-spacing:2px;font-weight:800}.intro h1{font-size:clamp(28px,8vw,40px);letter-spacing:-1px;line-height:1.33;margin:11px 0 12px;font-weight:800}.intro p{font-size:10px;color:#c1ccc0;letter-spacing:.4px}.intro-tags{display:flex;gap:6px;margin-top:20px}.intro-tags span{border:1px solid #ffffff25;border-radius:4px;padding:5px 7px;font-size:8px;color:#d2dacb}.field-caption{position:absolute;bottom:11px;left:20px;right:20px;color:#cbd7c4;font-size:7px;letter-spacing:1.5px;display:flex;align-items:center;gap:6px;pointer-events:none}.caption-right{margin-left:auto;font-size:8px;letter-spacing:.4px}.field-caption .live-dot{width:4px;height:4px}.pitch-cue{position:absolute;left:0;right:0;top:20%;text-align:center;pointer-events:none;color:#f6f7e8;font-size:25px;font-weight:800;letter-spacing:3px;text-shadow:0 2px 15px #000a}.pitch-cue small{display:block;font-size:10px;font-weight:500;letter-spacing:1px;margin-top:8px}.controls{flex:none;min-height:164px;padding:16px 20px max(13px,env(safe-area-inset-bottom));background:var(--bg);z-index:2}.status-line{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:12px;font-size:12px;font-weight:600;min-height:18px}.status-line small{font-weight:400;font-size:9px;color:var(--muted)}.primary-button{width:100%;height:52px;border-radius:9px;color:#1b261c;background:var(--green);padding:0 19px;font-size:14px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:16px;box-shadow:inset 0 1px 0 #ffffff36;transition:opacity .15s}.primary-button span{font-size:22px;font-weight:400}.primary-button:disabled{opacity:.35}.micro-copy{font-size:8px;text-align:center;color:var(--muted);margin:10px 0 0;min-height:11px;letter-spacing:.2px}.call-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}.call-button{height:65px;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;transition:filter .15s,opacity .15s}.call-button span{font-weight:900;font-size:24px;letter-spacing:1.2px}.call-button small{font-size:9px;font-weight:600}.call-button.strike{background:var(--green);color:#223318}.call-button.ball{background:var(--orange);color:#3c281d}.call-button:disabled{opacity:.26;filter:saturate(.4)}.call-footer{display:flex;justify-content:space-between;margin-top:9px;color:var(--muted);font-size:8px}.call-footer.unlocked{color:var(--green)}.time-track{height:2px;background:#ffffff0b;margin-top:6px}#time-fill{height:100%;width:0;background:var(--green)}.round-track{display:flex;gap:5px;justify-content:center;margin-top:14px}.round-track span{width:8px;height:3px;border-radius:2px;background:#ffffff1c}.round-track .current{background:var(--ink);width:20px}.round-track .correct{background:var(--green)}.round-track .wrong{background:#f0755d}.result-detail{display:flex;justify-content:space-between;align-items:center;font-size:10px;margin-bottom:10px;color:#b7c8be}.result-detail strong{color:var(--green);font-size:16px}.result-actions{display:flex;gap:9px}.result-actions .primary-button{height:46px;flex:1}.secondary-button{height:46px;background:#ffffff09;border:1px solid #ffffff24;color:#becbbf;border-radius:9px;font-size:10px;padding:0 12px}.verdict{position:absolute;top:18%;left:0;right:0;text-align:center;pointer-events:none;background:linear-gradient(90deg,transparent,#102019bd,transparent);padding:15px 0}.verdict .verdict-call{font-weight:900;font-style:italic;font-size:40px;letter-spacing:1px;color:var(--green)}.verdict.wrong .verdict-call{color:var(--orange)}.verdict small{display:block;font-size:10px;letter-spacing:1px;margin-top:6px}.field.replaying .field-top,.field.replaying .field-caption,.field.replaying .field-shade{display:none}.summary{position:absolute;inset:65px 0 0;z-index:5;background:radial-gradient(at 80% 20%,#253c2b,var(--bg) 60%);padding:clamp(18px,5vh,45px) 28px max(20px,env(safe-area-inset-bottom));display:flex;flex-direction:column;justify-content:center}.summary h2{font-size:24px;margin:12px 0 6px;letter-spacing:-.8px}.rank{font-weight:900;font-style:italic;color:var(--green);font-size:14px;letter-spacing:2px}.summary-score{border-block:1px solid #ffffff19;padding:22px 0 18px;margin-top:25px;display:flex;flex-direction:column}.summary-score>span{font-size:10px;color:var(--muted);letter-spacing:2px}.summary-score>strong{font-size:65px;font-weight:800;letter-spacing:-3px;margin:5px 0 0;font-variant-numeric:tabular-nums}.summary-score>small{font-size:9px;color:var(--orange);letter-spacing:1px}.summary-stats{display:flex;gap:40px;padding:23px 0}.summary-stats>div{display:flex;flex-direction:column;gap:7px}.summary-stats span{font-size:10px;color:var(--muted)}.summary-stats strong{font-size:23px}.summary-stats small{font-size:12px}.summary-pitches{display:flex;gap:6px;justify-content:space-between}.summary-pitches span{border-radius:5px;background:#c5f17c16;color:var(--green);width:26px;height:27px;display:grid;place-items:center;font-size:11px}.summary-pitches span.wrong{background:#ff9b5015;color:var(--orange)}#summary-message{font-size:11px;line-height:1.9;color:#aebeb1;margin:22px 0}.summary .primary-button{flex-shrink:0}dialog{width:calc(100% - 36px);max-width:430px;border:1px solid #ffffff22;background:#1a2823;color:var(--ink);border-radius:18px;padding:27px 23px 23px;overflow:hidden;box-shadow:0 20px 100px #0009}dialog::backdrop{background:#030c09b8;backdrop-filter:blur(6px)}dialog h2{font-size:21px;margin:12px 0 20px}dialog ol{padding-left:19px;font-size:11px;line-height:1.9;margin-bottom:21px}dialog li{margin:0 0 12px;padding-left:3px}dialog li::marker{color:var(--orange);font-weight:700}dialog b{font-weight:650}.close-button{position:absolute;right:14px;top:10px;background:none;color:#aabbaf;font-size:28px}.rule-note{padding:14px;background:#ffffff05;border-radius:9px;font-size:10px;line-height:1.9}.rule-note p{margin:6px 0 0;color:#acbdb0}.rule-note b{color:var(--green)}dialog a{display:block;color:var(--orange);font-size:9px;margin-top:15px;text-decoration:none}.rotate-overlay{display:none;position:absolute;inset:0;z-index:100;background:var(--bg);align-items:center;justify-content:center;flex-direction:column}.rotate-overlay>span{font-size:45px;color:var(--orange)}.rotate-overlay h2{font-size:18px}.rotate-overlay p{font-size:12px;color:var(--muted)}.resume-overlay{position:absolute;inset:0;z-index:20;background:#101b15e8;backdrop-filter:blur(12px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:35px}.resume-overlay h2{font-size:22px;margin:18px 0 26px}.context-error{position:absolute;inset:0;z-index:30;background:#15251ef5;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:13px}.context-error p{font-size:11px;color:var(--muted)}.context-error button{padding:10px 20px;background:var(--green);color:#17301c;border-radius:6px;margin-top:10px}
.verdict.pending .verdict-call{color:var(--ink)}
.batter-info{position:absolute;right:18px;top:51px;padding:5px 7px;border:1px solid #ffffff18;border-radius:4px;background:#102019c9;color:#e2e7d9;font-size:9px;letter-spacing:.4px;pointer-events:none}
.field.replaying .batter-info,.field.challenging .batter-info{display:none}
.field.challenging .pitch-cue{top:auto;bottom:22px;font-size:22px}
.field.challenging .field-caption{display:none}
/* A quiet badge and event caption sit over the single broadcast camera. */
.replay-labels{position:absolute;top:12px;left:12px;pointer-events:none;z-index:2}
.replay-badge{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:7px 10px;background:#20302bd9;border:1px solid #ffffff2b;border-radius:4px;color:#f4f4ee}
.replay-badge>span{font-size:7px;font-weight:700;letter-spacing:1.35px;color:#dce2dc}
#replay-stage{font-size:10px;font-weight:650;line-height:1.2;letter-spacing:.3px}
.replay-badge>small{font-size:8px;line-height:1.2;color:#dce2dc}
.replay-event{position:absolute;bottom:12px;left:12px;right:128px;padding:6px 9px;border:1px solid #ffffff55;border-radius:4px;color:#f4f4ee;background:#20302bdf;font-size:9px;line-height:1.5;text-align:center;pointer-events:none;z-index:2}
.replay-event.miss{color:#f4f4ee;border-color:#ffffff55;background:#20302bdf}
.skip-replay{position:absolute;right:12px;bottom:12px;z-index:3;min-height:48px;min-width:104px;padding:0 14px;border:1px solid #e0e9de77;border-radius:7px;background:#1a2b25e8;color:#f5f5ed;font-size:12px;font-weight:700;box-shadow:0 2px 8px #10201944}
.skip-replay span{margin-left:3px;letter-spacing:-2px}
.review-result{position:absolute;left:14px;right:14px;bottom:14px;max-width:380px;margin:auto;padding:12px 15px 10px;background:#102019f5;border:1px solid #97aba35c;border-top:3px solid #a8bbb1;border-radius:4px;box-shadow:0 8px 25px #0005;pointer-events:none;color:#f1f0e6}
.review-result.overturned{border-top-color:#cda369}
.review-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#a6b7ad;font-size:8px;letter-spacing:1.4px}
.review-heading b{font-size:9px;letter-spacing:.5px;font-weight:600;color:#d7dfd7}
.review-outcome{display:block;font-size:15px;font-weight:700;margin:8px 0 9px;letter-spacing:.3px}
.review-calls{display:grid;grid-template-columns:1fr 28px 1.25fr;align-items:center;gap:8px;padding-top:8px;border-top:1px solid #ffffff21}
.review-calls>div{display:flex;flex-direction:column;gap:4px}
.review-calls small{font-size:8px;color:#9eafa5;letter-spacing:.7px}
.review-calls span:not(.review-arrow){font-size:17px;font-weight:700;color:#aebbb3;letter-spacing:.8px}
.review-calls strong{font-size:27px;letter-spacing:1px;line-height:1.1}
.review-arrow{color:#8fa298;font-size:19px}
.review-decision{font-size:8px;letter-spacing:1.7px;color:#c0ccc2;margin-top:10px}
.review-result.overturned .review-decision{color:#d8b27c}
@media(max-height:600px){.review-result{left:10px;right:10px;bottom:8px;padding:9px 12px 8px}.review-outcome{font-size:13px;margin:6px 0}.review-calls{padding-top:6px}.review-calls strong{font-size:23px}.review-decision{margin-top:7px}}
@media(min-width:600px){#app{border-inline:1px solid #ffffff10}.header{height:72px}.summary{top:72px}}
@media(max-height:730px){.header{height:56px;padding-top:10px}.scoreboard{height:60px;padding:10px 0}.scoreboard strong{font-size:22px}.controls{padding-top:12px;min-height:145px}.intro h1{font-size:30px}.intro-tags{margin-top:12px}.intro{bottom:0;padding-bottom:36px}.intro p{margin:8px 0}.round-track{margin-top:10px}.call-button{height:56px}.summary{inset:56px 0 0;padding-top:18px}.summary-score{margin-top:18px;padding:16px 0}.summary-score>strong{font-size:54px}.summary-stats{padding:18px 0}.summary h2{font-size:22px}#summary-message{margin:17px 0}.summary .primary-button{height:46px}dialog{padding:22px 20px 18px}dialog h2{margin-bottom:14px}dialog ol{margin-bottom:14px}dialog li{margin-bottom:8px}}
@media(max-height:600px){.intro h1{font-size:25px}.intro p,.intro-tags{display:none}.intro{bottom:0;padding-top:65px;padding-bottom:33px}.header{height:49px}.scoreboard{height:51px;padding:7px 0}.controls{padding:10px 16px;min-height:140px}.summary{top:49px}.summary-score{margin-top:10px;padding:10px 0}.summary-score>strong{font-size:44px}.summary-stats{padding:12px 0}#summary-message{margin:10px 0}.summary h2{font-size:20px}dialog h2{font-size:18px;margin:9px 0}dialog ol{font-size:10px;line-height:1.6;margin:10px 0}dialog li{margin-bottom:5px}.rule-note{font-size:9px;padding:10px}}
@media(orientation:landscape) and (max-height:500px){.rotate-overlay{display:flex}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Reserve the complete result controls so answering never resizes the WebGL view. */
.controls{--controls-content-height:165px;--controls-bottom:max(13px,env(safe-area-inset-bottom));height:calc(var(--controls-content-height) + var(--controls-bottom));min-height:calc(var(--controls-content-height) + var(--controls-bottom));padding-bottom:var(--controls-bottom)}
@media(max-height:730px){.controls{--controls-content-height:157px}}
@media(max-height:600px){.controls{--controls-content-height:155px;--controls-bottom:max(10px,env(safe-area-inset-bottom))}}

/* Postgame magazine cover: the playfield and its controls keep their live HUD. */
.summary{--paper:#eee8d5;--print:#252821;--editorial:#a52a22;inset:0;padding:max(18px,env(safe-area-inset-top)) 23px max(12px,env(safe-area-inset-bottom));background:repeating-linear-gradient(0deg,#312b1204 0,#312b1204 1px,transparent 1px,transparent 3px),var(--paper);color:var(--print);justify-content:flex-start;gap:0;overflow:hidden}
.newspaper-masthead{display:flex;justify-content:space-between;align-items:center;border-bottom:3px solid var(--print);padding-bottom:8px;flex:none}
.newspaper-masthead>div{display:flex;flex-direction:column;gap:2px}
.newspaper-masthead span{font-size:8px;letter-spacing:3px;font-weight:700}
.newspaper-masthead strong{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:34px;letter-spacing:-2px;line-height:1.1;font-weight:900}
.newspaper-masthead>b{font-size:18px;letter-spacing:2px;background:var(--editorial);color:var(--paper);padding:7px 9px 7px 11px;transform:rotate(-4deg)}
.newspaper-folio{display:flex;justify-content:space-between;padding:7px 0;border-bottom:1px solid var(--print);font-size:8px;letter-spacing:.4px;flex:none}
.cover-story{display:flex;flex-direction:column;flex:1;min-height:0}
.story-kicker{font-size:10px;font-weight:800;letter-spacing:1.1px;color:var(--editorial);margin-top:16px;padding-left:8px;border-left:3px solid var(--editorial)}
.summary h2{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;white-space:pre-line;font-size:clamp(32px,9.5vw,44px);line-height:1.16;font-weight:900;letter-spacing:-1.8px;margin:12px 0 10px;text-wrap:balance}
#summary-message{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:12px;line-height:1.8;color:var(--print);margin:0 0 14px}
.worst-pitch{border-top:3px double var(--print);border-bottom:1px solid var(--print);margin-top:auto}
.evidence-ribbon{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 0;font-size:10px}
.evidence-ribbon strong{background:var(--print);color:var(--paper);padding:3px 7px;letter-spacing:.6px;white-space:nowrap}
.evidence-ribbon>span{font-size:9px;letter-spacing:.2px;text-align:right}
.evidence-content{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:12px;padding:0 0 10px;align-items:center}
.evidence-content figure{margin:0;min-width:0}
#evidence-diagram{border:1px solid #25282140;background:#faf7eb7a}
#evidence-diagram svg{display:block;width:100%;height:clamp(180px,29vh,270px)}
.evidence-calls{display:flex;flex-direction:column;align-items:flex-start}
.evidence-calls>span{font-size:9px;letter-spacing:.6px}
.evidence-calls del{font-size:23px;font-weight:800;line-height:1.3;text-decoration-color:var(--editorial);text-decoration-thickness:2px;color:#6b6d61}
.evidence-calls .evidence-arrow{font-size:19px;line-height:1.15;color:var(--editorial);margin:3px 0}
.evidence-calls>strong{font-size:29px;line-height:1.15;letter-spacing:.4px;color:var(--editorial);font-weight:900}
.evidence-calls p{font-size:9px;font-weight:700;line-height:1.5;margin:5px 0 3px}
.summary-clean{margin:auto 0;text-align:center;padding:28px 0;border-block:3px double var(--print)}
.summary-clean b{display:block;font-size:28px;color:var(--editorial);font-family:serif}
.summary-clean span{font-size:10px;display:block;margin-top:10px}
.newspaper-record{display:flex;justify-content:space-between;gap:10px;padding:12px 0 9px;flex:none}
.summary-score{border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:1px;min-width:0}
.summary-score>span{font-size:9px;color:var(--print);letter-spacing:1px}
.summary-score>strong{font-size:37px;line-height:1;letter-spacing:-1.4px;margin:2px 0}
.summary-score>small{font-size:7px;letter-spacing:.6px;color:var(--editorial)}
.summary-stats{display:flex;gap:16px;padding:0;align-items:flex-start}
.summary-stats>div{display:flex;flex-direction:column;gap:6px}
.summary-stats span{font-size:9px;color:var(--print)}
.summary-stats strong{font-size:23px;line-height:1.05;font-variant-numeric:tabular-nums}
.summary-stats small{font-size:9px;font-weight:500}
#final-accuracy small{display:block;margin-top:3px}
.summary-pitches{display:flex;gap:4px;justify-content:flex-start;border-top:1px solid #25282135;padding-top:8px;flex:none}
.summary-pitches span{background:#e1decd;color:#4d5841;width:auto;flex:1;height:18px;border-radius:0;font-size:11px}
.summary-pitches span.wrong{background:#a52a2215;color:var(--editorial)}
.summary .primary-button{background:var(--print);color:var(--paper);margin-top:12px;height:48px;min-height:44px;border-radius:2px;font-size:12px;box-shadow:none;flex-shrink:0}
.newspaper-disclaimer{font-size:7px;letter-spacing:.2px;color:#6a6b5c;margin-top:7px;text-align:center;flex:none}
.start-actions{display:flex;gap:9px}
.start-actions>.primary-button{flex:1;min-width:0;padding-inline:12px}
.ranking-button{flex:none;width:88px;min-height:44px;border:1px solid #c3d3c44d;border-radius:8px;background:#ffffff07;color:#dce8d9;font-size:11px;font-weight:700}
.summary-actions{display:flex;gap:6px;margin-top:12px;flex:none}
.summary .summary-actions .primary-button{flex:1;min-width:0;margin:0;padding-inline:9px;gap:10px}
.summary-actions .ranking-button{width:68px;padding-inline:3px;border-color:#25282170;border-radius:2px;background:transparent;color:var(--print);white-space:nowrap}
.summary-actions .share-button{display:flex;align-items:center;justify-content:center;flex:none;width:70px;min-height:44px;border:1px solid #25282170;border-radius:2px;background:transparent;color:var(--print);font-size:11px;font-weight:700;text-decoration:none;white-space:nowrap}
.rankings-dialog{width:calc(100% - 24px);max-width:400px;padding:22px 18px 16px}
.rankings-dialog .close-button{top:8px;right:8px;width:44px;height:44px;font-size:27px}
.rankings-dialog h2{font-size:22px;margin:9px 0 16px;letter-spacing:-.5px}
.rankings-dialog h2 span{font-size:11px;font-weight:500;letter-spacing:1px;color:#a8bba8;margin-left:6px}
.rankings-dialog .eyebrow{font-size:8px;letter-spacing:1.5px}
#ranking-table{width:100%;border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums}
#ranking-table thead th{height:24px;font-size:9px;font-weight:500;color:#a8bba8;text-align:right;border-bottom:1px solid #aec4ad45}
#ranking-table th:first-child{width:30px;text-align:center}
#ranking-table th:nth-child(2){width:45%;text-align:left;padding-left:9px}
#ranking-table th:nth-child(3){width:19%}
#ranking-table td{height:39px;border-bottom:1px solid #b5cab019;text-align:right;font-size:11px}
#ranking-table tbody th{height:39px;border-bottom:1px solid #b5cab019;font-size:13px;color:#a8bba8;font-weight:600}
#ranking-table td:nth-child(2){text-align:left;padding-left:9px}
#ranking-table td strong{display:block;font-size:15px;line-height:1.15}
#ranking-table td small{display:block;font-size:7px;line-height:1.4;color:#a8bba8;white-space:nowrap}
#ranking-table tr.latest-record{background:#c5f17c12}
#ranking-table tr.latest-record th,#ranking-table tr.latest-record strong{color:var(--green)}
.rankings-note{font-size:9px;color:#a8bba8;text-align:center;margin:12px 0 0}
.rankings-empty{height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.rankings-empty strong{font-size:19px;font-weight:650}
.rankings-empty p{font-size:12px;line-height:1.8;color:#a8bba8;text-align:center;margin:13px 0 0}
@media(max-height:730px){.summary-actions{margin-top:9px}.summary-actions .primary-button{margin:0}}
@media(max-height:600px){.summary-actions{margin-top:8px}.summary-actions .primary-button{margin:0}.rankings-dialog{padding:17px 14px 12px}.rankings-dialog h2{font-size:21px;margin:7px 0 11px}#ranking-table td,#ranking-table tbody th{height:35px}#ranking-table td strong{font-size:14px}.rankings-note{margin-top:9px}.rankings-empty{height:300px}}
@media(max-height:730px){.summary{inset:0;padding:12px 20px max(10px,env(safe-area-inset-bottom))}.newspaper-masthead{padding-bottom:5px}.newspaper-masthead strong{font-size:28px}.newspaper-masthead span{font-size:7px}.newspaper-masthead>b{font-size:16px;padding:5px 7px 5px 9px}.newspaper-folio{padding:5px 0;font-size:7px}.story-kicker{margin-top:10px;font-size:9px}.summary h2{font-size:35px;line-height:1.1;margin:9px 0 8px}#summary-message{font-size:11px;line-height:1.65;margin:0 0 10px}.evidence-ribbon{padding:5px 0}.evidence-content{padding-bottom:7px;gap:9px}#evidence-diagram svg{height:166px}.evidence-calls>strong{font-size:26px}.evidence-calls del{font-size:21px}.newspaper-record{padding:9px 0 7px}.summary-score{padding:0;margin:0}.summary-score>strong{font-size:32px}.summary-stats{padding:0}.summary-stats strong{font-size:21px}.summary .primary-button{height:44px;margin-top:9px}.newspaper-disclaimer{margin-top:5px}}
@media(max-height:600px){.summary{inset:0;padding:10px 16px max(8px,env(safe-area-inset-bottom))}.newspaper-masthead strong{font-size:25px}.newspaper-masthead span{font-size:6px;letter-spacing:2px}.newspaper-masthead>b{font-size:14px}.newspaper-folio{padding:4px 0}.story-kicker{margin-top:8px;font-size:8px;letter-spacing:.6px}.summary h2{font-size:31px;line-height:1.08;letter-spacing:-1.6px;margin:7px 0}#summary-message{font-size:10px;line-height:1.6;margin:0 0 8px}.evidence-ribbon{font-size:9px;padding:4px 0}.evidence-ribbon>span{font-size:8px}.evidence-content{padding-bottom:6px;gap:9px}#evidence-diagram svg{height:120px}.evidence-calls>span{font-size:8px}.evidence-calls del{font-size:18px}.evidence-calls .evidence-arrow{font-size:14px;margin:1px 0}.evidence-calls>strong{font-size:24px}.evidence-calls p{font-size:8px;margin:3px 0 2px}.newspaper-record{padding:7px 0 6px}.summary-score{margin:0;padding:0}.summary-score>strong{font-size:29px}.summary-stats{padding:0;gap:12px}.summary-stats>div{gap:5px}.summary-stats strong{font-size:20px}.summary-stats span,.summary-score>span{font-size:8px}.summary-pitches{padding-top:6px}.summary-pitches span{height:15px;font-size:10px}.summary .primary-button{margin-top:8px;font-size:11px}.newspaper-disclaimer{font-size:6px;margin-top:4px}}

/* A compact settings sheet leaves the plate and catcher available as a live preview. */
.header-tools{gap:4px}
.header-tools .icon-button{width:36px;height:36px;flex:none}
.header-tools .muted-slash{left:8px;top:17px}
.settings-button{display:grid;place-items:center}
.settings-button svg{width:20px;height:20px}
.view-settings{position:fixed;inset:auto 0 max(8px,env(safe-area-inset-bottom));width:calc(100% - 20px);max-width:480px;margin:0 auto;padding:14px 16px 13px;border-radius:16px;background:#182820fa;border-color:#adc8b32b;box-shadow:0 -6px 32px #07100b38}
.view-settings::backdrop{background:#07110c0a;backdrop-filter:none}
.view-settings h2{font-size:16px;line-height:22px;margin:0;padding-right:32px}
.view-settings .close-button{top:3px;right:6px;width:44px;height:44px;font-size:25px}
.view-settings>p{font-size:10px;line-height:16px;color:#afc0b4;margin:3px 0 7px}
.view-height-labels{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:9px}
.view-height-labels output{font-size:19px;line-height:24px;font-weight:750;font-variant-numeric:tabular-nums;color:var(--ink);letter-spacing:.2px}
#view-height{-webkit-appearance:none;appearance:none;display:block;width:100%;height:44px;margin:0;background:transparent;touch-action:pan-x;cursor:pointer}
#view-height::-webkit-slider-runnable-track{height:5px;border-radius:5px;background:#7d98845c}
#view-height::-webkit-slider-thumb{-webkit-appearance:none;width:25px;height:25px;margin-top:-10px;border:3px solid #182820;border-radius:50%;background:var(--green);box-shadow:0 0 0 1px #c5f17c60}
#view-height::-moz-range-track{height:5px;border-radius:5px;background:#7d98845c}
#view-height::-moz-range-thumb{width:19px;height:19px;border:3px solid #182820;border-radius:50%;background:var(--green);box-shadow:0 0 0 1px #c5f17c60}
#view-height:focus-visible{outline:1px solid var(--green);outline-offset:0;border-radius:7px}
.view-settings-actions{display:flex;gap:8px;margin-top:1px}
.view-settings-actions .secondary-button{flex:none;height:44px;padding:0 12px;font-size:10px}
.view-settings-actions .primary-button{flex:1;min-width:0;height:44px;padding:0 10px;font-size:12px}
body.view-adjusting .intro,body.view-adjusting .pitch-cue,body.view-adjusting .verdict,body.view-adjusting .review-result,body.view-adjusting .replay-labels,body.view-adjusting .replay-event,body.view-adjusting .field-caption,body.view-adjusting .batter-info,body.view-adjusting .field-shade{visibility:hidden!important}
body.view-adjusting .controls{visibility:hidden;height:calc(214px + env(safe-area-inset-bottom));min-height:calc(214px + env(safe-area-inset-bottom));padding:0}
@media(max-width:360px){.header{padding-left:14px;padding-right:14px}.brand{font-size:19px;gap:8px}.brand-mark{width:20px;height:20px}.brand-sub{font-size:8px;letter-spacing:1.3px}.view-settings{padding-left:13px;padding-right:13px}.view-settings-actions .primary-button{font-size:11px}}
.settings-restart{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;margin-top:10px;padding:7px 5px 0;border-top:1px solid var(--border);background:none;color:#e6c4a1;font-size:12px;font-weight:650}
.settings-restart span{font-size:22px;font-weight:400}
.audio-settings{padding:22px;max-width:370px}
.audio-settings h2{font-size:21px;margin:0 0 7px}
.audio-settings>p{font-size:11px;color:#afc0b4;line-height:1.6;margin:0 0 23px}
.audio-settings .close-button{top:6px;right:7px;width:44px;height:44px;font-size:26px}
.audio-volume-label{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:700}
.audio-volume-label small{font-size:10px;font-weight:400;color:var(--muted);margin-left:5px}
.audio-volume-label output{color:var(--green);font-variant-numeric:tabular-nums;font-size:17px}
.audio-range{-webkit-appearance:none;appearance:none;display:block;width:100%;height:44px;margin:2px 0 16px;background:transparent;touch-action:pan-x;cursor:pointer}
.audio-range::-webkit-slider-runnable-track{height:6px;border-radius:6px;background:#7d98845c}
.audio-range::-webkit-slider-thumb{-webkit-appearance:none;width:28px;height:28px;margin-top:-11px;border:3px solid #1a2823;border-radius:50%;background:var(--green);box-shadow:0 0 0 1px #c5f17c60}
.audio-range::-moz-range-track{height:6px;border-radius:6px;background:#7d98845c}
.audio-range::-moz-range-thumb{width:22px;height:22px;border:3px solid #1a2823;border-radius:50%;background:var(--green);box-shadow:0 0 0 1px #c5f17c60}
.audio-range:focus-visible{outline:1px solid var(--green);border-radius:7px}
.audio-settings .primary-button{height:44px;font-size:13px;margin-top:4px}
