:root{--so-focus-inner:#122c26;--so-focus-outer:#e8f37c}*{box-sizing:border-box}body{margin:0;background:#dce7d8;color:#193c2f;font:16px/1.45 system-ui,sans-serif}.career-header{display:flex;align-items:center;gap:14px;background:#123d30;color:#ebfb9b;min-height:54px;padding:9px 20px}.career-header>a{font-size:24px;letter-spacing:-.04em;font-weight:950;color:inherit;text-decoration:none}.career-header>span{font-size:16px;font-weight:800}.career-header nav{display:flex;align-items:center;gap:16px;margin-left:auto}.career-header nav a{color:#f4f7e7}.career-header button,.career-footer button{font:inherit;color:inherit;background:transparent;border:1px solid currentColor;border-radius:7px;padding:8px 12px;min-height:44px}.release-note{max-width:1280px;margin:0 auto;padding:10px 16px;background:#eaf0dc;font-size:16px}.release-note details{display:inline}.release-note details p{margin:8px 0}body>details{max-width:1280px;margin:0 auto;padding:8px 16px;background:#eaf0dc}#status{max-width:1280px;margin:0 auto;font-size:18px;font-weight:700}#status:not(:empty){padding:10px 16px;background:#fff0c8}main{max-width:1280px;margin:auto}.career-footer{max-width:1280px;display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin:16px auto;padding:16px;font-size:16px}.career-footer a{color:#1d563c}.career-footer button{cursor:pointer}.career-tools{display:flex;align-items:end;gap:12px;flex-wrap:wrap;background:#e2ead4;padding:12px 16px;border-block:1px solid #a5b89c}.career-tools label{font-size:16px;font-weight:750}.career-tools select{font:inherit;display:block;min-height:44px;padding:8px;border:1px solid #7a9473;border-radius:6px;background:#fffdf0;max-width:350px}.career-tools button{font:inherit;padding:8px 12px;min-height:44px;background:#234e35;color:#fff;border:0;border-radius:7px}.saved-list{list-style:none;padding:16px;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.saved-list li{border:1px solid #9caf90;border-radius:10px;background:#f5f7e7;padding:12px}.saved-list button{font:inherit;min-height:44px;margin:6px 8px 0 0;padding:8px 12px;border:1px solid #8da080;border-radius:7px;background:#e1f293}.saved-list button:disabled{color:#526047;background:#e6e7dc;opacity:1}.pending-note{margin:8px 16px;padding:10px;background:#fff0c4;border-left:4px solid #9b6225}dialog{max-width:640px;max-height:88dvh;border:2px solid #285b3c;border-radius:14px;background:#f5f5e7;color:#183c2b;font:18px/1.45 system-ui;padding:20px}dialog::backdrop{background:#123d3099}dialog button{font:inherit;min-height:44px;padding:8px 14px;background:#dff383;border:1px solid #285b3c;border-radius:8px}dialog table{border-collapse:collapse;width:100%;font-size:16px}dialog td,dialog th{padding:8px;border-bottom:1px solid #c0cbb3;text-align:left}dialog a{color:#165839}button:focus-visible,select:focus-visible,input:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--so-focus-inner);outline-offset:2px;box-shadow:0 0 0 5px var(--so-focus-outer)}@media(forced-colors:active){:focus-visible{outline:2px solid Highlight!important;outline-offset:2px!important;box-shadow:none!important}}[disabled]{opacity:1}button{cursor:pointer}@media(max-width:660px){.career-header{flex-wrap:wrap;padding:8px 12px}.career-header nav{margin-left:0;gap:12px}.career-header>span{font-size:16px}.career-tools{align-items:stretch}.career-tools label{width:100%}.career-tools select{max-width:none;width:100%}.career-footer{gap:12px}.release-note{padding:10px 12px}dialog{width:calc(100% - 24px);padding:14px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.saved-heading{font-size:22px;margin:14px 16px 0}.is-match .release-note{display:none}.is-match .so-w-header h1{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.is-match .so-w-heading{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.is-match .so-w-header{border:0;padding:0 0 5px}.is-match .so-w-matchbar .so-w-fixture{display:none}.is-match .so-w-matchbar{padding:5px 0 8px;justify-content:space-between}.is-match .career-tools{padding:5px 16px}.is-match .so-w-heading>.so-w-help{margin:0}.is-match .so-world{padding-top:8px}.busy #app{cursor:progress}

/* Active play keeps actionable game content first, without smaller text. */
.is-match #status:not(.is-error){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.is-match .career-tools{display:contents}.is-match .career-tools>span,.is-match .career-tools>[data-action="edit-team"]{display:none}.is-match .so-w-header{display:none}.is-match .so-w-section-title h2{font-size:18px}.is-match .so-w-matchbar{padding-top:0}
/* Match-room shell: the playing surface, not document headings, leads. */
.is-match{background:#12362c}.is-match main{max-width:1180px}.room-competition-nav{display:flex;align-items:center;gap:8px;padding:7px 14px;background:#163f32;color:#f5f1df;flex-wrap:wrap;font-size:16px}.room-competition-nav button,.room-competition-nav select{font:inherit;min-height:44px;padding:7px 12px;border:1px solid #91a482;border-radius:7px;background:#214f3b;color:#f5f1df}.room-competition-nav span{margin-left:auto}.room-competition-nav label{display:flex;align-items:center;gap:6px}.room-bench-panel{max-width:1180px;background:#f5f1df;padding:14px 20px}.room-bench-panel select,.room-bench-panel button{font:inherit;min-height:44px;padding:8px}.room-bench-panel select{max-width:100%;width:100%}.room-bench-panel .so-w-bench-selects{display:grid;grid-template-columns:1fr 1fr;gap:12px}.room-bench-panel .so-w-substitute{background:#ddf27a;border:1px solid #5c793d;border-radius:7px}.sideout-room{border-radius:0}.sideout-room .room-scorebug{background:#11362c;color:#f7ffe9;padding:8px 12px;border-radius:8px}.sideout-room .room-serving{border-color:#daf279}.sideout-room .room-actor-strip{max-width:45%}.sideout-room .room-player{transition-duration:350ms}.sideout-room .room-ball{transition-duration:350ms}.sideout-room .room-result-panel{box-shadow:0 14px 30px #061f2470}@media(min-width:800px) and (max-height:800px){.sideout-room .room-court{width:min(100%,calc((100dvh - 445px)*2),860px)}}@media(max-width:680px){.room-competition-nav{gap:5px;padding:5px 10px}.room-competition-nav span{display:none}.room-competition-nav label{margin-left:auto}.room-competition-nav label>select{max-width:150px}.sideout-room .room-actor-strip{max-width:100%}.room-bench-panel{padding:12px}.room-bench-panel .so-w-bench-selects{grid-template-columns:1fr}.sideout-room .room-team-label{font-size:16px}.sideout-room .room-sets-total{flex-basis:auto}.sideout-room .room-team{gap:4px}.sideout-room .room-scorebug{padding:8px}.sideout-room .room-team--opponent .room-team-label{order:-1}.sideout-room .room-team-label{flex-basis:100%}.sideout-room .room-team--opponent{justify-content:flex-end}}

.sideout-room .room-position-leader{stroke:#174834;stroke-width:.035;opacity:.55}.sideout-room .room-explanation{font-size:16px;border-top:1px solid #bac5a3}.sideout-room .room-explanation summary{cursor:pointer;min-height:44px;padding:10px 0}.sideout-room .room-explanation p{margin:0 0 10px;font-size:16px}.sideout-room .room-player{transition-property:left,top,translate}

.set-preparation{background:#f3f2df;padding:16px 20px;font-size:16px}.set-preparation h2{font-size:20px;margin:0}.set-preparation p{margin:8px 0}.set-unit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.set-unit-grid label{font-size:16px;font-weight:750}.set-unit-grid select{width:100%;font:inherit;min-height:44px;padding:8px;background:#fffef2;border:1px solid #859876;border-radius:6px}.set-preparation button{font:inherit;min-height:44px;padding:9px 18px;background:#ddef81;border:1px solid #69883a;border-radius:8px;margin-top:12px}@media(max-width:680px){.set-unit-grid{grid-template-columns:1fr 1fr}.set-preparation{padding:12px}}

.sideout-room .room-player,.sideout-room .room-ball{transition:none!important}.sideout-room .room-ball-shadow{position:absolute;z-index:1;width:18px;height:8px;border-radius:50%;background:#102b22;opacity:.25;transform:translate(-50%,-50%);pointer-events:none}.sideout-room .room-ball{will-change:transform,left,top}

.sideout-room .room-target-marker{stroke:#123b2c;stroke-width:.06;fill:#e4f88088}.sideout-room .room-target-caption{margin:0 0 7px;font-size:16px;font-weight:750}.sideout-room .room-target-caption:empty{display:none}

.interruption-panel{display:grid;gap:16px;margin-top:18px}.interruption-panel details{border:1px solid #a8baac;border-radius:10px;padding:12px;background:#f2f5ea}.interruption-panel summary{font-size:18px;font-weight:700;min-height:44px;cursor:pointer}.interruption-panel p,.interruption-panel label{font-size:16px;line-height:1.5}.interruption-panel button,.interruption-panel select{min-height:44px;font-size:16px}.interruption-panel .set-unit-grid{margin:12px 0}
.sideout-room .room-target-marker--aim{stroke:#11584b;stroke-width:.08;fill:#baf9e988}.sideout-room .room-target-marker--landing{stroke:#4d2b00;stroke-width:.08;fill:#ffd39899;stroke-dasharray:.12 .06}.sideout-room .room-target-marker--contact{stroke:#073b87;stroke-width:.11;fill:#7dd3fcaa;stroke-dasharray:.08 .04}

/* New pinned spatial-review edition; static presentation does not alter match state. */
.review-panel{background:#102538;color:#e6f4ff;padding:18px;border:1px solid #406078;border-radius:10px;font:16px/1.45 system-ui,sans-serif;margin:0 0 16px}.review-panel h2{font-size:24px;margin:3px 0 8px}.review-panel p{margin:8px 0}.review-panel header>p:first-child{color:#79edd4}.review-court{display:block;width:100%;max-height:460px;background:#091727;border-radius:8px}.review-time{font-size:14px;color:#b8d0e2}.review-zoom{display:flex;align-items:center;gap:16px}.review-zoom svg{width:180px;height:180px;flex:none;background:#102f42;border:1px solid #587c8d}.review-controls{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.review-controls button{font:inherit;min-height:44px;padding:9px 14px;border:1px solid #658397;border-radius:7px;background:#24465b;color:#f5fbff}.review-controls .review-primary{background:#5bedcf;border-color:#5bedcf;color:#073a32;font-weight:750}.review-controls button:disabled{color:#9db5c5;background:#183043;border-color:#395267}.review-controls button:focus-visible{outline:3px solid #ffe181;outline-offset:3px}@media(max-width:600px){.review-panel{padding:12px}.review-controls button{flex:1 1 150px}.review-zoom{align-items:start;flex-direction:column}.review-zoom svg{width:100%;max-width:240px}}

/* v91 replay rail: event beats are solid; movement between them remains explicitly illustrative. */
.room-replay-rail{margin:10px 0 14px;padding:10px 12px;background:#0b1825;border:1px solid #526b7f;border-radius:8px;color:#f3f6f8}
.room-replay-heading{display:flex;justify-content:space-between;align-items:center;font-size:16px;letter-spacing:.02em}
.room-replay-beats{display:flex;align-items:center;gap:5px;overflow-x:auto;list-style:none;margin:8px 0;padding:0 0 4px;scrollbar-width:thin}
.room-replay-beat{display:flex;align-items:center;gap:5px;flex:0 0 auto;min-height:32px;padding:3px 8px;border:1px solid #5c7082;border-radius:16px;color:#d5e0e8;background:#142739;font-size:14px;white-space:nowrap}
.room-replay-beat.is-current{border:2px solid #ffe27a;background:#304b5e;color:#fff;font-weight:700;box-shadow:0 0 0 2px #07131d}
.room-replay-beat-dot{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#243e52;color:#fff;font-size:12px}
.room-replay-beat.is-current .room-replay-beat-dot{background:#ffe27a;color:#102033}
.room-replay-cue,.room-replay-announcement{margin:3px 0 0;color:#d0dbe3;font-size:14px;line-height:1.35}
.room-replay-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(prefers-reduced-motion:reduce){.room-replay-beat,.room-player,.room-ball{transition:none!important;scroll-behavior:auto!important}}

/* Site v101: explicit, keyboard-reachable restore preview. */
#restore-dialog{width:min(560px,calc(100vw - 28px));max-height:min(82vh,720px);overflow:auto;border:2px solid #46657d;border-radius:14px;padding:22px;background:#102235;color:#f4f7fa;box-shadow:0 20px 80px #0009}
#restore-dialog::backdrop{background:#06101bd9}
#restore-dialog h2{margin:0 0 8px;color:#75e4d1;font-size:24px}
#restore-dialog p{color:#e0eaf1}
#restore-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}
#restore-summary div{min-width:0;padding:9px 11px;border:1px solid #526b80;border-radius:8px;background:#1a3045}
#restore-summary dt{color:#bfcede;font-size:14px}
#restore-summary dd{margin:2px 0 0;color:#fff;font-weight:750;overflow-wrap:anywhere}
#restore-dialog .restore-policy{font-size:14px;color:#f4dfa0}
#restore-dialog .restore-actions{display:flex;justify-content:flex-end;gap:10px;position:sticky;bottom:-22px;padding:14px 0 0;background:#102235}
#restore-dialog button{min-height:46px;padding:9px 16px;border:1px solid #91a9ba;border-radius:8px;background:#1b354d;color:#fff;font:inherit;font-weight:750;cursor:pointer}
#restore-dialog button[data-action=restore-confirm]{background:#127763;border-color:#77e3ce}
#restore-dialog button:focus-visible,.career-footer button:focus-visible{outline:3px solid #ffdf71;outline-offset:3px}
@media(max-width:560px){#restore-summary{grid-template-columns:1fr}.career-footer{gap:10px}}

#recovery-dialog{width:min(560px,calc(100vw - 28px));max-height:min(82vh,720px);overflow:auto;border:2px solid #75e4d1;border-radius:14px;padding:22px;background:#102235;color:#f4f7fa;box-shadow:0 20px 80px #0009}
#recovery-dialog::backdrop{background:#06101bd9}
#recovery-dialog h2{margin:0 0 8px;color:#75e4d1;font-size:24px}
#recovery-dialog p{color:#e0eaf1}
#recovery-dialog #recovery-error{color:#ffb0a6;font-weight:700}
#recovery-dialog .restore-policy{font-size:14px;color:#f4dfa0}
#recovery-dialog .restore-actions{display:flex;justify-content:flex-end;gap:10px;position:sticky;bottom:-22px;padding:14px 0 0;background:#102235}
#recovery-dialog button{min-height:46px;padding:9px 16px;border:1px solid #91a9ba;border-radius:8px;background:#1b354d;color:#fff;font:inherit;font-weight:750;cursor:pointer}
#recovery-dialog button[data-action=recovery-confirm]{background:#127763;border-color:#77e3ce}
#recovery-dialog button:focus-visible{outline:3px solid #ffdf71;outline-offset:3px}
