:root{color:#f2f6f4;font-synthesis:none;text-rendering:optimizelegibility;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-ink:#11201b;--color-muted:#4b5f56;--color-canvas:#171a19;--color-on-canvas:#f2f6f4;--color-on-canvas-muted:#b9c6c0;--color-surface:#fff;--color-border:#9bada5;--color-accent:#075e50;--color-accent-hover:#064a40;--color-danger:#9e2434;--color-danger-hover:#7f1928;--color-focus:#005a9c;--color-team-orange:#efad69;--color-team-orange-border:#b86118;--color-team-purple:#c79be5;--color-team-purple-border:#76509a;--color-court-inactive:#b8c1bd;--color-break:#ffd7c9;--color-break-border:#b4462d;--color-waiting-male:#e1eff9;--color-waiting-male-border:#8ab8d8;--color-waiting-female:#f8e2eb;--color-waiting-female-border:#d99ab2;--shadow-raised:0 .35rem 1.4rem #11201b24;background:#171a19;font-family:system-ui,sans-serif}*{box-sizing:border-box}html,body,#root{height:100dvh;overflow:hidden}html,body{margin:0}body{min-width:320px;color:var(--color-on-canvas);background:var(--color-canvas)}button,input,select{font:inherit}.app-shell{height:100dvh;min-height:100dvh;padding:max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));justify-content:center;display:flex;overflow:hidden}.app-screen{flex-direction:column;gap:1rem;width:min(100%,72rem);min-height:0;display:flex}.loading-shell{min-height:100svh;padding:max(2rem, env(safe-area-inset-top)) max(2rem, env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom)) max(2rem, env(safe-area-inset-left));text-align:center;place-content:center;gap:.75rem;display:grid}.loading-shell h1,.loading-shell p{margin:0}button{min-width:44px;min-height:44px;color:var(--color-ink);background:var(--color-surface);cursor:pointer;border:1px solid #73877e;border-radius:.65rem;padding:.65rem 1rem;font-weight:700}button:hover:not(:disabled){background:#e2ebe7}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--color-focus);outline-offset:2px}.primary-button{border-color:var(--color-accent);color:#fff;background:var(--color-accent)}.primary-button:hover:not(:disabled){background:var(--color-accent-hover)}.primary-action{min-height:56px;padding-inline:1.5rem;font-size:1.1rem}.danger-button{border-color:var(--color-danger);color:#fff;background:var(--color-danger)}.danger-button:hover:not(:disabled){background:var(--color-danger-hover)}h1,h2,p{margin-block:0}h1{font-size:clamp(2rem,4vw,3.1rem);line-height:1.05}h2{font-size:1.25rem}.eyebrow{color:var(--color-on-canvas-muted);letter-spacing:.12em;text-transform:uppercase;margin-bottom:.35rem;font-size:.82rem;font-weight:800}.screen-header,.selection-summary,.section-heading,.player-row,.tier-stepper-value{justify-content:space-between;align-items:center;gap:1rem;display:flex}.screen-header{flex:none}.screen-actions{flex:none;gap:.75rem;display:flex}.screen-actions-end{justify-content:flex-end}.screen-scroll{overscroll-behavior:contain;flex:auto;min-height:0;padding:.1rem .35rem .35rem .1rem;overflow-y:auto}.home-screen{justify-content:flex-start;width:min(100%,60rem)}.home-summary,.selection-summary{border:1px solid var(--color-border);color:var(--color-ink);background:var(--color-surface);box-shadow:var(--shadow-raised);border-radius:.85rem;padding:1rem 1.15rem;font-size:1.1rem}.home-actions{gap:.75rem;display:grid}.home-actions button{width:100%}.update-controls{border:1px solid var(--color-border);color:var(--color-ink);background:var(--color-surface);border-radius:.85rem;gap:.55rem;padding:.8rem;display:grid}.update-controls-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.65rem;display:flex}.update-controls-status{color:var(--color-muted);font-size:.82rem}.update-controls-actions button{flex:10rem}.update-controls-status{min-height:1.2em}.changelog-list{overscroll-behavior:contain;gap:1rem;max-height:min(65vh,42rem);padding-right:.25rem;display:grid;overflow-y:auto}.changelog-entry{gap:.45rem;display:grid}.changelog-entry h3{margin:0}.changelog-entry ul{gap:.3rem;margin:0;padding-left:1.25rem;display:grid}.error-notice{border:2px solid var(--color-danger);color:#5e0d19;background:#fff0f2;border-radius:.75rem;justify-content:space-between;align-items:center;gap:1rem;padding:.75rem;display:flex}.error-notice p{font-weight:700}.error-notice button{flex:none}.roster-sections,.selection-groups{align-content:start;gap:1rem;display:grid}.list-panel{border:1px solid var(--color-border);color:var(--color-ink);background:var(--color-surface);box-shadow:var(--shadow-raised);border-radius:.85rem;padding:1rem}.section-heading{margin-bottom:.75rem}.section-heading span{color:#fff;text-align:center;background:#40574d;border-radius:999px;min-width:2rem;padding:.2rem .5rem;font-weight:800}.empty-message{color:var(--color-muted)}.player-list,.checklist{gap:.55rem;margin:0;padding:0;list-style:none;display:grid}.player-row{border-top:1px solid #d4ded9;min-height:54px;padding-top:.55rem}.player-row:first-child{border-top:0;padding-top:0}.player-name{overflow-wrap:anywhere;min-width:0;font-size:clamp(1.2rem,2.4vw,1.65rem);font-weight:750}.row-actions{flex-wrap:wrap;flex:none;justify-content:flex-end;gap:.5rem;display:flex}.dashboard-screen{width:min(100%,90rem)}.dashboard-tabs{gap:.5rem;display:flex}.dashboard-tabs button[aria-selected=true]{border-color:var(--color-accent);color:#fff;background:var(--color-accent)}.rating-privacy-panel{flex-direction:column;flex:auto;gap:.5rem;min-height:0;display:flex}.rating-visibility-toolbar{flex:none;justify-content:flex-end;display:flex}.rating-visibility-button{place-items:center;width:44px;padding:0;display:grid}.rating-visibility-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:22px;height:22px}.dashboard-scroll{overscroll-behavior:contain;border:1px solid var(--color-border);min-height:0;color:var(--color-ink);background:var(--color-surface);box-shadow:var(--shadow-raised);border-radius:.85rem;flex:auto;overflow:auto}.dashboard-table{border-collapse:collapse;width:100%;color:var(--color-ink)}.dashboard-table th,.dashboard-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #d4ded9;padding:.65rem .8rem}.dashboard-table thead th{z-index:3;background:#e6eee9;position:sticky;top:0}.dashboard-table tbody tr:last-child>*{border-bottom:0}.dashboard-player-name{font-size:1.08rem}.dashboard-player-row.has-open-menu{box-shadow:inset 0 0 0 3px #005a9c38}.history-screen{width:min(100%,90rem)}.transfer-screen{width:min(100%,60rem)}.transfer-intro{color:var(--color-on-canvas-muted);font-weight:700}.transfer-actions{width:min(100%,30rem)}.transfer-scroll{overscroll-behavior:contain;flex:auto;min-height:0;padding:.1rem .35rem .35rem .1rem;overflow-y:auto}.transfer-footer-actions{flex-wrap:wrap}.transfer-footer-actions button{min-width:9rem}.transfer-code-panel,.transfer-result-card,.transfer-preview{align-content:start;gap:1rem;display:grid}.transfer-code-panel textarea{resize:vertical;width:100%;min-height:15rem;color:var(--color-ink);overflow-wrap:anywhere;white-space:pre-wrap;background:#fff;border:1px solid #657a70;border-radius:.55rem;padding:.65rem .75rem;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9rem;line-height:1.4}.transfer-code-length,.transfer-copy-status{color:var(--color-muted);font-weight:800}.transfer-copy-status{min-height:1.4em}.transfer-session-list,.transfer-compact-list,.transfer-mmr-list{gap:.45rem;margin:0;padding:0;list-style:none;display:grid}.transfer-session-list li,.transfer-compact-list li{border-top:1px solid #d4ded9;padding-top:.45rem}.transfer-session-list li:first-child,.transfer-compact-list li:first-child{border-top:0;padding-top:0}.transfer-mapping-list{gap:.75rem;display:grid}.transfer-identity-row{border:1px solid var(--color-border);color:var(--color-ink);background:var(--color-surface);border-radius:.75rem;grid-template-columns:minmax(9rem,1fr) minmax(12rem,1.1fr) minmax(14rem,1.5fr);align-items:center;gap:.75rem;padding:.75rem;display:grid}.transfer-identity-header{flex-wrap:wrap;align-items:center;gap:.45rem;min-width:0;display:flex}.transfer-name-match{color:#17643d;white-space:nowrap;background:#d9f0e3;border-radius:999px;padding:.2rem .45rem;font-size:.78rem;font-weight:800}.transfer-identity-control{gap:.35rem;font-size:.82rem;font-weight:800;display:grid}.transfer-identity-control select{width:100%;min-height:48px;color:var(--color-ink);background:#fff;border:1px solid #657a70;border-radius:.55rem;padding:.55rem .65rem}.transfer-identity-comparison{min-width:0;color:var(--color-muted);overflow-wrap:anywhere;font-size:.9rem;font-weight:700}.transfer-conflicts{color:#33230a;background:#fff6dc;border:2px solid #8e5a08;border-radius:.75rem;gap:.75rem;padding:.85rem;display:grid}.transfer-conflicts legend{color:#5b3a05;padding-inline:.35rem;font-size:1.1rem;font-weight:900}.transfer-conflict-row{border-top:1px solid #e0c98d;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.55rem;padding-top:.55rem;display:grid}.transfer-conflict-row:first-child{border-top:0;padding-top:0}.transfer-choice-actions{flex-wrap:wrap;gap:.4rem;display:flex}.transfer-choice-actions button[aria-pressed=true]{border-color:var(--color-accent);color:#fff;background:var(--color-accent)}.transfer-choice-value{color:#4b5f56;grid-column:1/-1;font-size:.85rem;font-weight:700}.transfer-preview{border:1px solid var(--color-border);color:var(--color-ink);background:var(--color-surface);box-shadow:var(--shadow-raised);border-radius:.85rem;padding:1rem}.transfer-preview h3,.transfer-result-card h3{margin:0 0 .45rem;font-size:1rem}.transfer-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.transfer-mmr-list li{border-top:1px solid #d4ded9;justify-content:space-between;gap:.75rem;padding-top:.4rem;display:flex}.transfer-mmr-list li:first-child{border-top:0;padding-top:0}.transfer-mmr-details{border-top:1px solid #d4ded9;padding-top:.75rem}.transfer-mmr-details summary{cursor:pointer;min-height:44px;padding-block:.6rem;font-weight:850}.transfer-result-card>section{border-top:1px solid #d4ded9;padding-top:.75rem}.history-tabs{flex:none}.history-scroll,.history-detail-scroll{flex:auto;min-height:0}.history-detail-scroll{overscroll-behavior:contain;align-content:start;gap:1rem;padding:.1rem .35rem .35rem .1rem;display:grid;overflow:auto}.history-undo-banner{color:#5b3a05;background:#fff6dc;border:2px solid #8e5a08;border-radius:.75rem;justify-content:space-between;align-items:center;gap:1rem;padding:.7rem .85rem;display:flex}.history-undo-banner p{color:#755112;margin-top:.2rem}.history-undo-banner button{color:#5b3a05;background:#fffdf5;border-color:#8e5a08;flex:none}.history-session-summary{white-space:nowrap;flex-wrap:nowrap;align-items:center;gap:.5rem;display:inline-flex}.history-import-marker{color:#604006;white-space:nowrap;background:#ffe4a8;border-radius:999px;margin-left:.55rem;padding:.15rem .45rem;font-size:.8em;font-weight:800;display:inline-block}.history-unavailable{color:var(--color-muted);margin-left:.55rem;font-size:.85em;font-weight:700;display:inline-block}.history-player-row.has-open-menu{box-shadow:inset 0 0 0 3px #005a9c38}.history-personal-result,.history-team-winners,.history-team-losers{font-weight:800}.history-personal-win,.history-team-winners{color:#17643d}.history-personal-lose,.history-team-losers{color:#9e2434}.history-group-row th{color:var(--color-muted);white-space:normal;background:#f0f5f2;font-size:.9em}.history-match-table td,.history-match-table th{vertical-align:top}.history-detail-header h1:focus-visible,.history-session-results h2:focus-visible{outline:3px solid var(--color-focus);outline-offset:4px}.history-detail-summary{color:var(--color-muted);margin-top:.4rem;font-weight:700}.history-participants,.history-session-results{min-width:0}.history-participants-table,.history-results-table{box-shadow:none}.history-filter{min-height:44px;color:var(--color-ink);background:#edf5f0;border:1px solid #b1c5bb;border-radius:.65rem;align-items:center;gap:.75rem;padding:.45rem .65rem;font-size:.9rem;font-weight:800;display:flex}.history-filter button{flex:none}.history-empty{padding:.85rem}.dashboard-results-table .row-actions{flex-wrap:nowrap}.dashboard-results-filter{min-height:44px;color:var(--color-ink);background:#edf5f0;border:1px solid #b1c5bb;border-radius:.65rem;justify-content:space-between;align-items:center;gap:.75rem;padding:.5rem .75rem;font-weight:800;display:flex}.dashboard-results-filter button{flex:none}.dashboard-experience-summary{color:#344b41;flex-wrap:wrap;gap:.3rem .8rem;margin-top:.3rem;font-size:.82rem;display:flex}.match-personal-result{white-space:nowrap;font-weight:850}.match-result-winner-change{color:#17643d;font-weight:800}.match-result-loser-change{color:#9e2434;font-weight:800}.match-experience-label,.court-team-experience,.court-player-state-badge,.waiting-player-state-badge,.waiting-player-overdue{color:#233c34;white-space:nowrap;background:#edf5f0;border:1px solid #779088;border-radius:999px;padding:.12rem .38rem;font-size:.72rem;font-weight:850;line-height:1.1;display:inline-block}.match-experience-label{vertical-align:middle;margin-left:.3rem}.dashboard-results>.empty-message{padding:.75rem}.result-team{border:2px solid;border-radius:.65rem;flex:1 1 0;gap:.4rem;min-width:0;padding:.65rem;display:grid}.result-team--orange{background:#fff1df;border-color:#c96a14}.result-team--purple{background:#f2eafd;border-color:#7650a8}.result-editor-teams{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.result-player-select{gap:.2rem;font-size:.8rem;font-weight:800;display:grid}.result-player-select select{background:#fff;border:1px solid #657a70;border-radius:.55rem;width:100%;min-height:44px;padding:.45rem}.result-winner-options{border:0;align-items:center;gap:.5rem;margin:1rem 0 0;padding:0;display:flex}.result-winner-options legend{margin-bottom:.35rem;font-weight:800}.result-winner-options button[aria-pressed=true]{border-color:var(--color-accent);color:#fff;background:var(--color-accent)}.form-hint{color:var(--color-danger);margin-top:.65rem;font-weight:700}.selection-summary p{font-size:1.1rem}.checklist li{border-top:1px solid #d4ded9}.checklist li:first-child{border-top:0}.checklist label,.radio-options label{cursor:pointer;align-items:center;gap:.75rem;min-height:48px;display:flex}input[type=checkbox],input[type=radio]{width:1.4rem;height:1.4rem;accent-color:var(--color-accent);flex:none}.checklist label span{font-size:clamp(1.2rem,2.4vw,1.65rem);font-weight:700}.modal{width:min(100% - 2rem,36rem);max-height:min(86svh,46rem);color:var(--color-ink);background:var(--color-surface);border:1px solid #61776d;border-radius:1rem;padding:0;box-shadow:0 1rem 3rem #0000004d}.modal::backdrop{background:#071611ad}.modal-panel{flex-direction:column;max-height:min(86svh,46rem);display:flex}.modal-header{flex:none;justify-content:space-between;align-items:center;gap:1rem;padding:1.25rem 1.25rem 0;display:flex}.modal-header h2{min-width:0;font-size:clamp(1.75rem,3vw,2rem)}.modal-body{min-height:0;padding:1rem 1.25rem;font-size:clamp(1.2rem,2vw,1.35rem);overflow-y:auto}.modal-body:empty{display:none}.modal-actions{border-top:1px solid #d4ded9;flex:none;justify-content:flex-end;gap:.75rem;padding:1rem 1.25rem;display:flex}.modal-actions>button{min-height:56px;font-size:1.15rem}.arrival-dialog-content{gap:.9rem;display:grid}.arrival-player-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin:0;padding:0;list-style:none;display:grid}.arrival-player-card{color:#52625b;text-overflow:ellipsis;white-space:nowrap;background:#e4e9e7;border-color:#9aa7a2;width:100%;min-height:54px;font-size:clamp(1.1rem,2.5vw,1.45rem);overflow:hidden}.arrival-player-card[aria-pressed=true]{color:#fff;background:#1677b8;border-color:#005a9c}.arrival-player-card[aria-pressed=true]:hover:not(:disabled){color:#fff;opacity:1;background:#1677b8}.player-form{gap:1rem;display:grid}.form-field{border:0;gap:.45rem;min-width:0;margin:0;padding:0;display:grid}.form-field>span,.form-field legend{color:var(--color-ink);font-weight:800}.form-field input[type=text],.form-field input:not([type]){width:100%;min-height:48px;color:var(--color-ink);background:#fff;border:1px solid #657a70;border-radius:.55rem;padding:.65rem .75rem}.form-field select{min-height:48px;color:var(--color-ink);background:#fff;border:1px solid #657a70;border-radius:.55rem;padding:.65rem .75rem}.gender-buttons{justify-content:center;gap:1rem;display:flex}.gender-button{color:#fff;width:5rem;height:3.25rem;padding:0;font-size:1.35rem}.gender-button--male{background:#2f8ac5;border-color:#176da8}.gender-button--female{background:#dc7199;border-color:#ba4f78}.gender-button--male:hover:not(:disabled){background:#2f8ac5}.gender-button--female:hover:not(:disabled){background:#dc7199}.gender-button[aria-pressed=false]{color:var(--color-ink)}.gender-button--male[aria-pressed=false],.gender-button--male[aria-pressed=false]:hover:not(:disabled){background:var(--color-waiting-male)}.gender-button--female[aria-pressed=false],.gender-button--female[aria-pressed=false]:hover:not(:disabled){background:var(--color-waiting-female)}.skill-stepper{grid-template-columns:3.25rem minmax(0,1fr) 3.25rem;align-items:center;gap:.8rem;display:grid}.skill-stepper>button{height:3.25rem;padding:0;font-size:1.5rem}.tier-stepper-value{min-height:3.25rem;color:var(--color-ink);justify-content:center;font-size:2rem;font-weight:900}.board-shell{width:100%;padding:max(.65rem, env(safe-area-inset-top)) max(.65rem, env(safe-area-inset-right)) max(.65rem, env(safe-area-inset-bottom)) max(.65rem, env(safe-area-inset-left));align-items:stretch}.rotate-tablet{display:none}.board-landscape{flex-direction:column;flex:auto;gap:.6rem;width:min(100%,90rem);min-width:0;min-height:0;margin-inline:auto;display:flex}.board-brand{flex:none}.board-brand h1{font-size:clamp(1.55rem,2.8vw,2.25rem)}.board-controls,.board-control-buttons{align-items:center;gap:.55rem;display:flex}.board-controls{flex-wrap:nowrap;justify-content:flex-end;justify-self:end;gap:.35rem;min-width:0}.board-controls button{min-height:66px;padding-inline:.45rem;font-size:.9rem}.board-bottom-bar{flex:none;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:.8rem;min-width:0;display:grid}.random-all-button{justify-self:center;min-width:clamp(10rem,22vw,16rem);min-height:66px;padding-inline:1.5rem;font-size:1.2rem}.random-all-button,.court-start-singles-button{border-color:var(--color-focus);color:#fff;background:var(--color-focus)}.random-all-button:hover:not(:disabled),.court-start-singles-button:hover:not(:disabled){color:#fff;background:#047;border-color:#047}.random-all-button--rerandom{background:#a34200;border-color:#a34200}.random-all-button--rerandom:hover:not(:disabled){background:#713000;border-color:#713000}.random-all-button--rerandom:disabled{opacity:1;background:#77827d;border-color:#77827d}.settings-content{gap:1rem;display:grid}.board-select-control{color:var(--color-muted);gap:.15rem;font-size:.75rem;font-weight:800;display:grid}.board-select-control select{min-width:9.5rem;min-height:44px;color:var(--color-ink);background:var(--color-surface);border:1px solid #657a70;border-radius:.6rem;padding:.45rem 2rem .45rem .65rem;font-weight:750}.board-content{flex:auto;grid-template-rows:minmax(15rem,1.15fr) minmax(10rem,.85fr);gap:.6rem;min-width:0;min-height:0;display:grid}.court-region,.waiting-region{flex-direction:column;gap:.35rem;min-width:0;min-height:0;display:flex}.region-heading{flex:none;align-items:center;gap:.45rem;display:flex}.region-heading h2{font-size:1.05rem}.region-heading>span{color:#fff;text-align:center;background:#40574d;border-radius:999px;min-width:1.7rem;padding:.12rem .4rem;font-size:.78rem;font-weight:800}.court-grid-scroller{overscroll-behavior-x:contain;flex:auto;min-width:0;min-height:0;padding:.15rem .2rem .3rem;overflow:auto hidden}.court-grid{gap:.6rem;width:100%;min-width:0;height:100%;min-height:0;display:grid}.court-grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}.court-grid--four{grid-template-columns:repeat(4,minmax(0,1fr))}.court-grid--scroll{grid-template-rows:minmax(0,1fr);grid-auto-columns:calc(33.3333% - .4rem);grid-auto-flow:column}.court-card{min-width:0;min-height:0;color:var(--color-ink);background:var(--color-court-inactive);box-shadow:var(--shadow-raised);border:2px solid #82978d;border-radius:.85rem;flex-direction:column;gap:.45rem;padding:.55rem;display:flex;position:relative}.court-card--active{background:var(--color-surface);border-color:#3f7464}.court-card--inactive{border-color:#65736d}.waiting-player-main{justify-content:space-between;align-items:center;gap:.4rem;min-width:0;display:flex}.waiting-player-name{overflow-wrap:anywhere;min-width:0;margin:0;font-weight:850;line-height:1.05;overflow:hidden}.court-card-bottom{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.4rem;min-width:0;display:grid}.court-randomize-button,.court-start-singles-button,.court-game-over-button{min-height:66px;padding:.3rem 1rem;font-size:1.05rem}.court-action-buttons{gap:.35rem;display:flex}.court-card .ellipsis-button{width:66px;min-width:66px;height:66px;min-height:66px;font-size:1.4rem}.court-identity{align-items:center;gap:.35rem;min-width:0;display:flex}.court-name{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;margin:0;font-size:clamp(1.05rem,1.9vw,1.35rem);font-weight:850;line-height:1.05;overflow:hidden}.court-teams{flex:auto;grid-template-rows:minmax(0,1fr) 32px minmax(0,1fr);grid-template-columns:minmax(0,1fr);gap:.3rem;min-height:0;display:grid}.court-team{border:2px solid;border-radius:.7rem;grid-template-rows:minmax(0,1fr);grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem;min-width:0;min-height:0;padding:.35rem;display:grid;position:relative}.court-card--singles .court-team{grid-template-columns:minmax(0,1fr)}.court-team--orange{border-color:var(--color-team-orange-border);background:var(--color-team-orange)}.court-team--purple{border-color:var(--color-team-purple-border);background:var(--color-team-purple)}.court-team-experience{z-index:2;background:var(--color-surface);position:absolute;top:-.48rem;right:.45rem;box-shadow:0 2px 6px #11201b24}.court-net{pointer-events:none;height:32px;position:relative}.court-net-mesh{background-image:repeating-linear-gradient(90deg,#385248 0 1px,#0000 1px 10px),repeating-linear-gradient(#38524885 0 1px,#0000 1px 8px);border-bottom:1px solid #385248;height:24px;position:absolute;inset:4px 8px}.court-net-tape{background:#385248;height:3px;position:absolute;top:4px;left:8px;right:8px}.court-net-post{z-index:1;background:#385248;border-radius:2px;width:5px;height:32px;position:absolute;top:0}.court-net-post--left{left:6px}.court-net-post--right{right:6px}.court-player-slot{min-width:0;min-height:44px;color:var(--color-ink);cursor:pointer;background:#ffffffbd;border:1px solid #11201b3d;border-radius:.55rem;justify-content:center;align-items:center;gap:.3rem;padding:.3rem;display:flex;position:relative}.court-player-state-badge{pointer-events:none;position:absolute;top:.18rem;left:.2rem}.court-player-slot--empty{color:#53675e;background:#ffffff59;border-style:dashed;font-size:1.45rem;font-weight:800}.fitted-player-name{text-align:center;white-space:nowrap;width:90%;max-height:90%;line-height:1;display:block;overflow:hidden}.court-player-slot[data-move-player],.waiting-player-move-button{cursor:grab;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.court-player-slot[data-move-player]{touch-action:none}.waiting-player-move-button{touch-action:auto}.is-long-press-dragging{cursor:grabbing}.is-long-press-target{outline:3px solid var(--color-focus);outline-offset:2px}.long-press-drag-ghost{z-index:100;max-width:min(16rem,60vw);color:var(--color-ink);background:var(--color-surface);box-shadow:var(--shadow-raised);pointer-events:none;text-overflow:ellipsis;-webkit-user-select:none;user-select:none;white-space:nowrap;border:2px solid #315f52;border-radius:.65rem;padding:.55rem .75rem;font-weight:850;position:fixed;overflow:hidden}.court-player-slot[aria-pressed=true],.waiting-player-move-button[aria-pressed=true]{box-shadow:0 0 0 3px var(--color-focus)}.add-court-card{min-width:0;min-height:0;color:var(--color-ink);background:#ffffff8c;border:2px dashed #71867c;place-content:center;gap:.3rem;display:grid}.add-court-card>span{font-size:1.8rem;line-height:1}.game-over-screen{flex-direction:column;flex:auto;gap:.65rem;min-width:0;min-height:0;display:flex;overflow:hidden}.game-over-header{flex:none;justify-content:space-between;align-items:center;gap:1rem;display:flex}.game-over-header h1:focus{outline:none}.game-over-elapsed{border:1px solid var(--color-border);color:var(--color-ink);background:var(--color-surface);white-space:nowrap;border-radius:999px;padding:.5rem .85rem;font-weight:850}.game-over-instruction{text-align:center;flex:none;margin-top:-1rem;font-size:clamp(2.5rem,4.2vw,2.75rem)}.game-over-team-grid{flex:0 clamp(13rem,53dvh + 1rem,26rem);grid-template-columns:repeat(2,minmax(0,1fr));align-self:center;gap:1rem;width:min(100%,60rem);min-width:0;height:clamp(13rem,53dvh + 1rem,26rem);min-height:0;max-height:calc(100dvh - 20rem);padding:.65rem;display:grid;overflow:auto}.game-over-team{min-height:0;box-shadow:var(--shadow-raised);border-width:3px;border-radius:1rem;flex-direction:column;padding:.8rem;transition:filter .12s,opacity .12s,box-shadow .12s;display:flex;position:relative}.game-over-team--winner{filter:brightness(1.08)saturate(1.08);box-shadow:0 0 0 4px #18804761, var(--shadow-raised)}.game-over-team--loser{opacity:.6;filter:saturate(.25)brightness(.92)}.game-over-winner-button{z-index:0;border-radius:inherit;background:0 0;border:0;width:100%;height:100%;padding:0;position:absolute;inset:0}.game-over-winner-button:hover:not(:disabled){background:#ffffff1f}.game-over-winner-check{z-index:2;color:#fff;pointer-events:none;background:#168348;border:4px solid #fff;border-radius:999px;place-items:center;width:3.6rem;height:3.6rem;font-size:2.2rem;font-weight:950;line-height:1;display:grid;position:absolute;top:-.7rem;right:-.7rem;box-shadow:0 .3rem .8rem #11201b42}.game-over-team-players{z-index:1;pointer-events:none;flex:auto;grid-template-rows:repeat(2,minmax(0,1fr));gap:.75rem;min-height:0;display:grid;position:relative}.game-over-player{pointer-events:auto;border-radius:.75rem;min-width:0;min-height:0;display:block}.game-over-player--dragging{opacity:.72}.game-over-player--target{outline:4px solid var(--color-focus);outline-offset:3px}.game-over-player-button{touch-action:none;background:#ffffffd6;border:2px solid #11201b4d;width:100%;min-width:0;height:100%;min-height:3.75rem;overflow:hidden}.game-over-player-button[aria-pressed=true]{box-shadow:0 0 0 4px var(--color-focus)}.game-over-player-name{width:100%;max-height:none;font-weight:900}.game-over-team-label{z-index:1;background:0 0;border:0;flex:0 0 68px;width:100%;min-height:68px;margin-top:.55rem;padding:0;font-size:clamp(3rem,5vw,3.25rem);font-weight:950;line-height:1;position:relative}.game-over-team-label:hover:not(:disabled){background:0 0}.game-over-actions{flex:none;align-items:flex-end;gap:.65rem;min-width:0;display:flex}.game-over-didnt-play{padding-inline:.85rem}.game-over-confirm{border-color:var(--color-focus);color:#fff;background:var(--color-focus);min-height:88px;margin-left:auto;padding-inline:clamp(1.5rem,4vw,3.5rem);font-size:clamp(2.375rem,4vw,2.5rem)}.game-over-confirm:hover:not(:disabled){background:#047;border-color:#047}.waiting-list{overscroll-behavior-y:contain;scrollbar-gutter:stable;flex:auto;grid-template-columns:repeat(5,minmax(0,1fr));align-content:start;gap:.5rem;min-width:0;min-height:0;padding:.15rem .25rem .4rem;display:grid;overflow-y:auto}.waiting-list:after{content:"";grid-column:1/-1;height:7rem}.waiting-empty{border:1px dashed var(--color-border);min-height:0;color:var(--color-muted);background:#ffffff73;border-radius:.75rem;flex:auto;place-content:center;display:grid}.waiting-player-card{border:2px solid var(--color-border);min-width:0;color:var(--color-ink);background:var(--color-surface);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;border-radius:.75rem;align-content:start;gap:.15rem;padding:.2rem .3rem;display:grid;position:relative;box-shadow:0 .2rem .7rem #11201b1a}.waiting-player-card--male{border-color:var(--color-waiting-male-border);background:var(--color-waiting-male)}.waiting-player-card--female{border-color:var(--color-waiting-female-border);background:var(--color-waiting-female)}.waiting-player-card--break{border-color:var(--color-break-border);background:var(--color-break)}.waiting-player-main{z-index:2;pointer-events:none;grid-template-columns:minmax(0,1fr) auto;gap:.35rem;display:grid;position:relative}.waiting-player-move-button{z-index:1;width:100%;min-width:0;height:100%;min-height:44px;color:var(--color-ink);text-align:left;background:0 0;border:0;padding:0;display:block;position:absolute;inset:0}.waiting-player-move-button:hover:not(:disabled),.waiting-player-move-button[aria-pressed=true]{box-shadow:none;background:0 0}.waiting-player-name{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:clamp(1.25rem,2.4vw,1.7rem);display:-webkit-box}.waiting-player-footer{z-index:2;pointer-events:none;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.35rem;min-width:0;min-height:44px;display:grid;position:relative}.waiting-player-main .card-menu{pointer-events:auto}.waiting-player-meta{color:#344b41;flex-flow:column;flex:auto;justify-content:center;gap:0;min-width:0;font-size:.76rem;font-weight:750;line-height:1.1;display:flex}.waiting-player-state-badge{text-overflow:ellipsis;flex:0 auto;max-width:7rem;overflow:hidden}.waiting-player-flags{flex-direction:column;flex:0 auto;align-items:flex-end;gap:.18rem;min-width:0;display:flex}.waiting-player-overdue{color:#653300;background:#fff1dd;border-color:#b86b18}.waiting-pool-target{min-height:44px;margin-left:auto}.visually-hidden{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.card-menu{flex:none;position:relative}.ellipsis-button{width:44px;min-width:44px;height:44px;min-height:44px;padding:0;font-size:.95rem;line-height:1}.card-menu-popover{z-index:100;top:var(--card-menu-top);left:var(--card-menu-left);width:max-content;min-width:12rem;max-width:min(20rem,78vw);color:var(--color-ink);background:var(--color-surface);border:1px solid #5d7268;border-radius:.75rem;gap:.25rem;padding:.35rem;display:grid;position:fixed;right:auto;box-shadow:0 .85rem 2rem #00000047}.card-menu-popover button{text-align:left;justify-content:flex-start;width:100%}.card-menu-level{gap:.25rem;display:grid}.card-menu-back{color:var(--color-muted)}.break-menu-action{font-weight:900}.danger-menu-action{color:var(--color-danger)}.assignment-notice{color:#5f3700;background:#fff3cd;border:1px solid #b7791f;border-radius:.65rem;flex:none;gap:.2rem;padding:.45rem .65rem;font-size:.86rem;font-weight:750;display:grid}.assignment-notice p{margin:0}.court-card.has-open-menu,.waiting-player-card.has-open-menu{z-index:30;border-color:var(--color-focus);box-shadow:0 0 0 3px #005a9c38, var(--shadow-raised)}@media (width<=56rem) and (orientation:landscape){.board-shell{padding:max(.45rem, env(safe-area-inset-top)) max(.45rem, env(safe-area-inset-right)) max(.45rem, env(safe-area-inset-bottom)) max(.45rem, env(safe-area-inset-left))}.board-controls{gap:.25rem}.board-controls button{padding-inline:.35rem;font-size:.82rem}.waiting-list{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (height<=36rem){.app-screen{gap:.7rem}.list-panel{padding:.8rem}.modal-body{padding-block:.75rem}.board-content{grid-template-rows:minmax(12.5rem,1.2fr) minmax(8rem,.8fr)}.court-card{gap:.3rem;padding:.4rem}}@media (width<=34rem){.screen-header,.selection-summary,.player-row,.error-notice,.history-undo-banner,.history-session-results .section-heading{flex-direction:column;align-items:stretch}.history-session-results .history-filter{justify-content:space-between}.screen-header button,.selection-summary button,.error-notice button{align-self:flex-end}.row-actions{justify-content:flex-start}.transfer-identity-row,.transfer-conflict-row,.transfer-preview-grid{grid-template-columns:1fr}.transfer-choice-value{grid-column:auto}}@media (orientation:portrait){.board-landscape{display:none}.rotate-tablet{text-align:center;place-content:center;gap:.75rem;width:100%;display:grid}.rotate-tablet p{font-size:1.25rem;font-weight:800}}.home-screen{justify-content:safe flex-start;overflow-y:auto}.home-screen>*{flex-shrink:0}.update-controls-actions{flex-wrap:wrap}.compact-search{width:13rem;max-width:100%;min-height:44px}.selection-summary,.preparation-config{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.selection-summary p{margin:0;margin-inline-end:auto}.preparation-config{color:var(--color-muted)}.court-config-row{flex-wrap:wrap;gap:.5rem;display:flex}.court-config-row input{flex:1;width:12rem;min-width:8rem}.roster-sections{flex-direction:column;display:flex}.roster-sections>.list-panel{flex:none}.row-name-button{text-align:start;min-width:0;box-shadow:none;overflow-wrap:anywhere;background:0 0;border:0;flex:1}.archived-roster summary{cursor:pointer;min-height:44px;padding:.6rem;font-weight:650}.field-help,.menu-help{color:var(--color-muted);font-size:.95rem;line-height:1.5}.arrival-player-card{white-space:normal;overflow-wrap:anywhere}.board-brand{align-items:center;min-width:0;height:66px;display:flex}.selected-player-actions{width:100%;min-width:0;height:66px}.selected-player-name{text-overflow:ellipsis;white-space:nowrap;height:22px;font-size:.85rem;line-height:22px;display:block;overflow:hidden}.selected-player-buttons{gap:.35rem;height:44px;display:flex}.selected-player-buttons>button,.selected-player-buttons .card-menu-text-trigger{white-space:nowrap;min-width:44px;height:44px;min-height:44px;padding:0 .5rem;font-size:.85rem}.selected-player-buttons .card-menu{display:flex}.court-region{position:relative}.court-swipe-hint{z-index:1;color:var(--color-muted);pointer-events:none;background:0 0;padding:.1rem .4rem;font-size:.75rem;position:absolute;top:calc(100% + .6rem);right:.6rem}.request-menu-panel{grid-auto-rows:minmax(44px,auto);align-content:start;width:min(18rem,100vw - 40px);height:min(24rem,100dvh - 40px);overflow-y:auto}.request-help{font-size:.95rem;line-height:1.45}.request-help p{margin:0 0 .65rem}.waiting-player-state-badge{white-space:normal;max-width:none}.court-grid--four .court-card-bottom{grid-template-rows:auto 66px;grid-template-columns:minmax(0,1fr) 66px}.court-grid--four .court-identity{grid-column:1/-1}.court-grid--four .court-action-buttons{grid-template-columns:repeat(auto-fit,minmax(66px,1fr));min-width:0;display:grid}.court-grid--four .court-action-buttons button{min-width:66px;padding-inline:.25rem}.court-grid--four .court-name:before{display:none}.result-mode-controls{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.result-mode-controls h2{margin:0}.session-ending-progress{color:var(--color-muted);margin:0 0 .3rem}:is(.history-players-table,.dashboard-players-table) tr>th:first-child:not([colspan]){z-index:2;background:var(--color-surface);min-width:8rem;max-width:min(14rem,40vw);position:sticky;left:0}:is(.history-players-table,.dashboard-players-table) th .row-name-button{white-space:normal;max-width:min(14rem,40vw);font-weight:700}:is(.history-player-row,.dashboard-player-row){cursor:pointer}.row-name-button:hover{text-underline-offset:.2em;text-decoration:underline}.transfer-step{color:var(--color-muted)}.transfer-comparison{width:100%;font-size:.95rem}.transfer-comparison p{margin:.3rem 0}.transfer-comparison summary,.transfer-preview summary{cursor:pointer;min-height:44px;padding-block:.6rem}.session-game-comparison ul{padding-inline-start:1.2rem}.session-game-comparison li{overflow-wrap:anywhere;gap:.3rem;margin-bottom:.75rem;display:grid}.transfer-choice-actions{flex-wrap:wrap}:is(.history-players-table,.dashboard-players-table) thead tr>th:first-child:not([colspan]){z-index:4}.home-screen h1{overflow-wrap:anywhere}.selection-groups{grid-template-columns:minmax(0,1fr)}.selection-groups .list-panel{box-shadow:none;background:0 0;border:0;padding:0}.selection-groups .checklist{grid-template-columns:repeat(auto-fill,minmax(min(100%,12rem),1fr));gap:.65rem}.selection-groups .checklist li{border:0;min-width:0}.selection-groups .checklist label{border:1px solid var(--color-border);background:var(--color-surface);border-radius:.3rem;height:100%;min-height:64px;padding:.65rem}.selection-groups .checklist label span{overflow-wrap:anywhere;font-size:1.15rem;font-weight:600}.selection-groups .checklist label:has(input:checked){background:var(--color-accent);color:#182219;border-color:var(--color-accent)}.selection-groups .checklist label:focus-within{outline:2px solid var(--color-focus);outline-offset:2px}.compact-search,.court-config-row input{border:1px solid var(--color-border);color:var(--color-ink);background:var(--color-surface);font:inherit;border-radius:.3rem;padding:.5rem .65rem}.compact-search::placeholder{color:var(--color-muted);opacity:1}.home-utilities{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem 1rem;display:flex}.home-utilities .update-controls{box-shadow:none;background:0 0;border:0;flex-wrap:wrap;align-items:center;gap:.4rem .8rem;padding:0;display:flex}.home-utilities .update-controls-actions button{flex:0 auto}.home-utilities .update-controls-status{margin:0}.home-utilities>button,.home-utilities .update-controls-actions>button:not(.primary-button){color:var(--color-muted);background:0 0;border-color:#0000;font-weight:500}.transfer-conflict-row{grid-template-columns:minmax(0,1fr);align-items:start;padding-block:1rem}.transfer-conflict-row>span:first-child{font-weight:650}.transfer-difference-list{gap:.6rem;padding-inline-start:1.2rem;display:grid}.transfer-difference-list li{overflow-wrap:anywhere;display:block}.transfer-result-card>details{border-top:1px solid var(--color-border);padding-top:.75rem}.transfer-result-card summary{cursor:pointer;min-height:44px;padding-block:.6rem}.search-field{width:16rem;max-width:100%;position:relative}.search-field .compact-search{width:100%;padding-inline-end:3rem}.search-field input::-webkit-search-cancel-button{display:none}.search-field .search-clear{inset-inline-end:0;width:44px;min-height:44px;color:var(--color-muted);background:0 0;border:0;place-items:center;padding:0;display:grid;position:absolute;top:0;bottom:0}.preparation-config>span{margin-inline-end:auto}.preparation-config button{margin-inline-start:0}.preparation-config button.quiet-button{color:var(--color-muted);background:0 0;border-color:#0000;font-weight:500}.home-screen{grid-template-rows:minmax(max-content,1fr) auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);display:grid;container-type:inline-size}.home-screen:after{content:""}.home-content{flex-direction:column;gap:1rem;min-width:0;display:flex}.home-screen>.home-utilities{align-self:start;max-width:100%}.home-actions>button:not(.primary-action){font-size:clamp(1.25rem,2.55vw,1.75rem);line-height:1.2}.home-header>div{min-width:0;max-width:100%}.home-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.home-title{flex-wrap:wrap;align-items:baseline;gap:.85rem;display:flex}.home-title h1{margin-block:0}.home-version{color:var(--color-muted);font-size:1rem;font-weight:300}.home-utilities{justify-content:flex-end;gap:.25rem .75rem;margin-inline-start:auto}.home-utilities .update-controls{justify-content:flex-end}.home-actions{grid-template-rows:repeat(3,minmax(80px,auto));grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.home-actions .primary-action{letter-spacing:-.035em;text-wrap:balance;grid-area:1/1/4;font-size:clamp(1.875rem,4.7vw,3.25rem);font-weight:750;line-height:1.08}.board-brand{flex-wrap:nowrap;gap:.75rem;height:66px;min-height:66px}.board-brand h1{text-overflow:ellipsis;min-width:0;overflow:hidden}.reset-all-button{white-space:nowrap;padding-inline:.7rem}.party-screen{gap:1.25rem;max-width:1080px}.party-header h1{font-size:1.875rem}.party-screen .party-header{border-bottom:0;padding-bottom:0}:root[data-theme=immersive] .party-screen .party-header h1{letter-spacing:-.025em;font-style:normal}.party-tabs{border-bottom:1px solid var(--color-border);flex:none;gap:1.75rem;display:flex}:root[data-theme=immersive] .party-tabs button{min-height:48px;color:var(--color-muted);background:0 0;border:0;border-bottom:3px solid #0000;border-radius:0;padding:0 .2rem}:root[data-theme=immersive] .party-tabs button[aria-selected=true]{color:var(--color-accent);border-bottom-color:var(--color-accent)}.relationship-content{padding:0 .25rem 1rem 0;scroll-padding-block:1rem}.relationship-intro{color:var(--color-muted);margin:0 0 1.5rem;font-size:.95rem}.relationship-section{margin-bottom:1.5rem}.relationship-section-heading{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.75rem;display:flex}.relationship-toggle{text-align:left;background:0 0;border:0;align-items:center;gap:.625rem;min-width:0;padding:0;display:flex}.relationship-title{align-items:baseline;gap:.75rem;font-size:1.375rem;display:flex}.relationship-count{color:var(--color-muted);font-size:.875rem;font-weight:400}.relationship-meaning{color:var(--color-muted);margin-top:.2rem;font-size:.875rem;font-weight:400;display:block}.relationship-section-heading svg{stroke:currentColor;fill:none;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}.relationship-toggle[aria-expanded=false] svg{transform:rotate(-90deg)}.relationship-add{white-space:nowrap;align-items:center;gap:.5rem;display:flex}:root[data-theme=immersive] :is(.relationship-add,.relationship-save){background:var(--color-accent);color:#182319;border-color:var(--color-accent)}:root[data-theme=immersive] :is(.relationship-add,.relationship-save):hover:not(:disabled){background:var(--color-accent-hover)}.relationship-table-scroll{border:1px solid var(--color-border);border-radius:.4rem;overflow-x:auto}.relationship-table{table-layout:fixed;border-collapse:collapse;text-align:left;width:100%;min-width:660px}.relationship-table :is(th,td){overflow-wrap:anywhere;padding-inline:1rem}.relationship-table th{height:37px;color:var(--color-muted);background:var(--color-surface);font-size:.8125rem;font-weight:500}.relationship-table th:nth-child(-n+2){width:27%}.relationship-table th:nth-child(n+3){width:23%}.relationship-table td{height:62px;font-size:.95rem}.relationship-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-border)}.relationship-table .relationship-name{font-size:1.0625rem;font-weight:550}.relationship-row-actions{align-items:center;gap:.5rem;display:flex}.relationship-row-actions button{background:0 0;min-height:44px;padding:0 .8rem;font-size:.9375rem}.relationship-row-actions .relationship-remove{color:var(--color-danger);border-color:#0000;padding-inline:.5rem}.relationship-priority{color:#ffda9d}.relationship-edit-row,.relationship-advice{background:var(--color-surface)}.relationship-edit-row td{padding-block:.625rem}.relationship-edit-row select{color:var(--color-ink);background:#111916;border:1px solid #67796b;width:100%;min-width:0;min-height:44px;padding:.5rem;font-size:.9375rem}.relationship-edit-row .relationship-row-actions{gap:.3rem}.relationship-edit-row button{padding-inline:.6rem;font-size:.875rem}.relationship-advice td{height:auto;padding-bottom:1rem;line-height:1.55}.relationship-advice p{max-width:76ch;margin:0}.relationship-advice .relationship-warning{color:#ffda9d;margin-top:.6rem}.relationship-table .relationship-empty{color:var(--color-muted);padding-block:1rem}.relationship-status{min-height:22px;color:var(--color-muted);margin:0;font-size:.875rem}@media (width<=750px){.relationship-table th:nth-child(-n+2){width:25%}.relationship-table th:nth-child(3){width:23%}.relationship-table th:nth-child(4){width:27%}.relationship-title{gap:.5rem}.relationship-add{padding-inline:.7rem}}@media (width>=57rem){.board-bottom-bar{grid-template-columns:minmax(0,1.25fr) auto minmax(0,1.5fr)}}.home-screen .home-utilities>button{background:0 0;border-color:#0000}.home-utilities .update-controls{max-width:100%}.home-utilities .update-controls-actions{min-width:0;max-width:100%}@container (width<=20rem){.home-actions{grid-template-rows:auto;grid-template-columns:minmax(0,1fr)}.home-actions .primary-action{grid-area:auto;min-height:8rem}}:root[data-theme=immersive]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-ink:#edf1e6;--color-muted:#bdcbbb;--color-canvas:#111916;--color-on-canvas:#edf1e6;--color-on-canvas-muted:#bdcbbb;--color-surface:#1b2c24;--color-border:#425a4e;--color-accent:#d1df98;--color-accent-hover:#e4edbc;--color-danger:#f29da5;--color-focus:#ddb53a;--color-waiting-male:#1c2c30;--color-waiting-female:#30252d;--shadow-raised:0 4px 12px #0000003d}:root[data-theme=immersive] :where(button,input,select){border-color:#67796b;border-radius:.3rem}:root[data-theme=immersive] button:hover:not(:disabled){background:#364c3e}:root[data-theme=immersive] :is(.home-screen,.loading-shell) h1,:root[data-theme=immersive] .screen-header h1{letter-spacing:-.035em;font-style:italic}:root[data-theme=immersive] :is(.home-summary,.update-controls,.list-panel,.dashboard-scroll,.transfer-preview){border-color:var(--color-border);border-radius:.4rem}:root[data-theme=immersive] :is(.player-row,.checklist li,.dashboard-table :is(th,td),.transfer-session-list li,.transfer-compact-list li,.transfer-mmr-list li,.transfer-mmr-details,.transfer-result-card>section,.modal-actions){border-color:var(--color-border)}:root[data-theme=immersive] :is(.transfer-code-panel textarea,.transfer-identity-control select){color:var(--color-ink);background:#111f18;border-color:#67796b}:root[data-theme=immersive] :is(.history-filter,.history-group-row th){color:var(--color-ink);background:#253b2e;border-color:#67796b}:root[data-theme=immersive] :is(.history-undo-banner,.transfer-conflicts){color:#ffda9d;background:#3b3020;border-color:#b88c43}:root[data-theme=immersive] :is(.history-undo-banner p,.transfer-conflicts legend,.transfer-choice-value){color:#ffda9d}:root[data-theme=immersive] .history-undo-banner button{color:#ffebc9;background:#4a3a22;border-color:#b88c43}:root[data-theme=immersive] :is(.transfer-name-match,.history-import-marker){color:#bde9c8;background:#244a35}:root[data-theme=immersive] :is(.history-personal-win,.history-team-winners){color:#9ee0b2}:root[data-theme=immersive] :is(.history-personal-lose,.history-team-losers){color:var(--color-danger)}:root[data-theme=immersive] :is(.primary-button,.game-over-confirm,.court-start-singles-button){border-color:var(--color-accent);color:#182219;background:var(--color-accent)}:root[data-theme=immersive] :is(.primary-button,.game-over-confirm,.court-start-singles-button):hover:not(:disabled){color:#182219;background:var(--color-accent-hover)}:root[data-theme=immersive] .danger-button{color:#fff4f2;background:#97383e;border-color:#ba6065}:root[data-theme=immersive] .danger-button:hover:not(:disabled){background:#7c2e34}:root[data-theme=immersive] :is(.modal,.card-menu-popover,.list-panel,.dashboard-scroll){border-color:var(--color-border);border-radius:.4rem}:root[data-theme=immersive] .modal{border-top:2px solid #697d55}:root[data-theme=immersive] .modal::backdrop{background:#040c08c2}:root[data-theme=immersive] .modal-header{border-bottom:1px solid var(--color-border);padding-bottom:.65rem}:root[data-theme=immersive] .screen-header{border-bottom:2px solid #697d55;padding-bottom:.7rem}:root[data-theme=immersive] .screen-header h1{letter-spacing:-.035em;font-style:italic}:root[data-theme=immersive] :is(.form-field input,.form-field select,.result-player-select select,.board-select-control select){color:var(--color-ink);background:#111f18;border-color:#67796b}:root[data-theme=immersive] .dashboard-table :is(th,td){border-color:var(--color-border)}:root[data-theme=immersive] .dashboard-table thead th{background:#253b2e}:root[data-theme=immersive] .dashboard-table tbody tr:nth-child(2n){background:#203229}:root[data-theme=immersive] .dashboard-results-filter{background:#253b2e;border-color:#67796b}:root[data-theme=immersive] .dashboard-experience-summary{color:var(--color-muted)}:root[data-theme=immersive] :is(.dashboard-tabs button[aria-selected=true],.result-winner-options button[aria-pressed=true],.arrival-player-card[aria-pressed=true],.transfer-choice-actions button[aria-pressed=true]){border-color:var(--color-accent);color:#182219;background:var(--color-accent)}:root[data-theme=immersive] .arrival-player-card{color:var(--color-ink);background:#25362c;border-color:#67796b}:root[data-theme=immersive] .gender-button--male{color:#b9dff8;background:var(--color-waiting-male);border-color:#8ab8d8}:root[data-theme=immersive] .gender-button--female{color:#ffd0e2;background:var(--color-waiting-female);border-color:#df9eb9}:root[data-theme=immersive] .gender-button[aria-pressed=true]{outline-offset:-4px;outline:2px solid}:root[data-theme=immersive] :is(.match-experience-label,.court-player-state-badge,.waiting-player-state-badge){color:var(--color-ink);background:#253b2e;border-color:#67796b}:root[data-theme=immersive] :is(.assignment-notice,.waiting-player-overdue){color:#ffda9d;background:#3b3020;border-color:#b88c43}:root[data-theme=immersive] .error-notice{color:#ffd2d6;background:#3b2228}:root[data-theme=immersive] .match-result-winner-change{color:#9ee0b2}:root[data-theme=immersive] .match-result-loser-change{color:var(--color-danger)}:root[data-theme=immersive] .result-team{background:#204a38;border-width:3px;border-radius:.3rem}:root[data-theme=immersive] .result-team--orange{color:#ffc27d;border-color:#f1ae62}:root[data-theme=immersive] .result-team--purple{color:#dbb7ff;border-color:#c59bea}.board-shell[data-theme=immersive]{color:#edf1e6;background:#111916}.board-shell[data-theme=immersive] .court-card{color:#edf1e6;background:#1b2c24;border:1px solid #425a4e;border-radius:.4rem;box-shadow:0 4px 12px #0000002e}.board-shell[data-theme=immersive] .court-card--inactive{background:#18231e;border-color:#34463d}.board-shell[data-theme=immersive] .court-team{--team-ink:#ffc27d;--team-line:#f1ae62;border:3px solid var(--team-line);background-color:#204a38;background-image:linear-gradient(90deg,#0000 calc(50% - .5px),#ffffff2e calc(50% - .5px) calc(50% + .5px),#0000 calc(50% + .5px)),linear-gradient(#0000 70%,#ffffff1f 70% calc(70% + 1px),#0000 calc(70% + 1px));background-position:0 0;background-repeat:repeat;background-size:auto;background-attachment:scroll;background-origin:padding-box;background-clip:border-box;border-radius:.15rem;gap:0;padding:.3rem}.board-shell[data-theme=immersive] .court-team--purple{--team-ink:#dbb7ff;--team-line:#c59bea;background-color:#204a38;background-image:linear-gradient(90deg,#0000 calc(50% - .5px),#ffffff2e calc(50% - .5px) calc(50% + .5px),#0000 calc(50% + .5px)),linear-gradient(#0000 30%,#ffffff1f 30% calc(30% + 1px),#0000 calc(30% + 1px))}.board-shell[data-theme=immersive] .court-team:before{content:"";pointer-events:none;border-inline:1px solid #ffffff1f;position:absolute;inset:.45rem}.board-shell[data-theme=immersive] .court-card--singles .court-team{background-image:none}.board-shell[data-theme=immersive] .court-player-slot{color:var(--team-ink);background:0 0;border-color:#0000;border-radius:.15rem}.board-shell[data-theme=immersive] .court-player-slot:hover:not(:disabled){background:#ffffff1a}.board-shell[data-theme=immersive] .court-player-slot[aria-pressed=true]{outline-offset:-3px;background:#ffffff24;outline:3px solid #f4df8c}.board-shell[data-theme=immersive] .court-player-slot--empty{color:var(--team-ink);border:1px dashed #ffffff3d;margin:.2rem}.board-shell[data-theme=immersive] .court-team-experience{border-color:var(--team-line);color:var(--team-ink);box-shadow:none;font-variant-numeric:tabular-nums;background:#172019;border-radius:.2rem}.board-shell[data-theme=immersive] .court-net-mesh{background-image:repeating-linear-gradient(90deg,#768e7c 0 1px,#0000 1px 10px),repeating-linear-gradient(#768e7c99 0 1px,#0000 1px 8px);border-bottom-color:#768e7c}.board-shell[data-theme=immersive] .court-net-tape{background:#e0e4d0}.board-shell[data-theme=immersive] .court-net-post{background:#b8c5ac}.board-shell[data-theme=immersive] .court-name{font-variant-numeric:tabular-nums;font-size:clamp(1.25rem,2.4vw,1.65rem)}.board-shell[data-theme=immersive] .court-name:before{content:"COURT";color:#a9b9a9;letter-spacing:.16em;margin-bottom:.2rem;font-size:.62rem;font-weight:600;display:block}.board-shell[data-theme=immersive] :is(.court-card-bottom,.board-controls) button{border-radius:.3rem}.board-shell[data-theme=immersive] :is(.court-card-bottom,.waiting-player-main) .ellipsis-button{color:#edf1e6;background:#25362c;border-color:#67796b}.board-shell[data-theme=immersive] .court-game-over-button{background:#97383e;border-color:#ba6065}.board-shell[data-theme=immersive] .court-game-over-button:hover:not(:disabled){background:#7c2e34}.board-shell[data-theme=immersive] .region-heading{border-bottom:1px solid #34473a;padding-block:.4rem}.board-shell[data-theme=immersive] .region-heading h2{letter-spacing:.04em;font-size:.95rem}.board-shell[data-theme=immersive] .waiting-player-card{--waiting-stripe:#8ab8d8;border:1px solid #42564d;border-left:4px solid var(--waiting-stripe);color:#edf1e6;box-shadow:none;background:#1c2c30;border-radius:.3rem;padding:.35rem}.board-shell[data-theme=immersive] .waiting-player-card--female{--waiting-stripe:#df9eb9;background:#30252d}.board-shell[data-theme=immersive] .waiting-player-card--break{--waiting-stripe:#ed9f7f;background:#3b2a20}.board-shell[data-theme=immersive] .waiting-player-card:is(.waiting-player-card--selected,:has(.waiting-player-move-button:hover:not(:disabled))){border-color:var(--waiting-stripe);box-shadow:inset 0 0 0 2px var(--waiting-stripe)}.board-shell[data-theme=immersive] .waiting-player-meta{color:#c4cfc6;font-weight:600}.board-shell[data-theme=immersive] .waiting-empty{color:#bdcbbb;background:#18231e;border-color:#506456}.board-shell[data-theme=immersive] .board-bottom-bar{border-top:2px solid #697d55;padding-top:.7rem}.board-shell[data-theme=immersive] .board-brand h1{letter-spacing:-.06em;font-style:italic;font-weight:850}.board-shell[data-theme=immersive] .board-brand .eyebrow{color:#c6d495;letter-spacing:.2em;font-size:.65rem}.board-shell[data-theme=immersive] .board-controls>button{color:#e1e8dc;background:#25362c;border-color:#576c5d}.board-shell[data-theme=immersive] .board-controls>button:hover:not(:disabled){background:#364c3e}.board-shell[data-theme=immersive] .random-all-button{color:#182219;background:#d1df98;border-color:#d1df98;border-radius:.3rem;font-weight:850}.board-shell[data-theme=immersive] .random-all-button:hover:not(:disabled){background:#e4edbc}.board-shell[data-theme=immersive] .random-all-button--rerandom:disabled{color:#f4f6e9;background:#62704e;border-color:#62704e}.board-shell[data-theme=immersive] :focus-visible{outline-color:#ddb53a}.board-shell[data-theme=immersive] .game-over-team{border-radius:.4rem;padding:.8rem}.board-shell[data-theme=immersive] :is(.game-over-player-button,.game-over-team-label){color:var(--team-ink)}.board-shell[data-theme=immersive] .game-over-player-button{background:#1b3d2f;border-color:#ffffff40}.board-shell[data-theme=immersive] .game-over-player-button:hover:not(:disabled){background:#2a5742}.board-shell[data-theme=immersive] :is(.game-over-winner-button,.game-over-team-label){background:0 0}.board-shell[data-theme=immersive] .game-over-winner-button:hover:not(:disabled){background:#ffffff1a}.board-shell[data-theme=immersive] .waiting-player-move-button:hover:not(:disabled){background:0 0}
