/* Courtside match-first navigation. Panels never participate in scoreboard layout. */
.shell-ready{--nav-height:76px;padding-bottom:calc(var(--nav-height) + env(safe-area-inset-bottom));}
.shell-ready .app{padding-bottom:12px;min-height:calc(100dvh - var(--nav-height) - env(safe-area-inset-bottom));}
.shell-ready .topbar{margin-bottom:16px}.shell-ready .top-actions{gap:8px}.shell-ready .people-bar{display:none}.shell-ready .brand-sub{font-size:10px;letter-spacing:.25em}
.shell-ready .sport-picker-open{margin-bottom:8px}.shell-ready .matchbar{margin:10px 0}.shell-ready .toolbar{display:flex;justify-content:space-between;gap:10px}.shell-ready .toolbar>button{flex:1}
.main-navigation{position:fixed;z-index:60;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:4px;padding:7px 12px calc(7px + env(safe-area-inset-bottom));background:#111923f5;border-top:1px solid #34404d;backdrop-filter:blur(18px)}
.main-navigation>button{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;flex:1;max-width:200px;min-height:54px;padding:5px 8px;border:0;border-radius:14px;background:transparent;color:#aab6c4;font-size:12px;font-weight:650}.main-navigation>button>span:first-child{font-size:23px;line-height:25px}.main-navigation>button[aria-current=page]{color:#dafa69;background:#dafa6910}.main-navigation .unread-badge{position:absolute;top:1px;right:20%}
.profile-menu-open{padding:0;border:1px solid #45515d;background:#1c2631;border-radius:50%;height:44px;width:44px}.profile-menu-open .person-avatar{width:100%;height:100%}
.scoreboard-tools{display:flex;align-items:center;justify-content:flex-end;gap:5px;padding:6px 0 10px;flex-wrap:wrap}.scoreboard-tools>button{min-height:42px;padding:8px 11px;border-radius:12px;background:#1a2633;border:1px solid #354252;font-size:12px;color:#d9e1ec;display:flex;align-items:center;justify-content:center;gap:5px}.scoreboard-tools svg{width:18px;height:18px}.scoreboard-tools #voice-toggle{min-width:64px;width:auto;flex:none;margin:0}.scoreboard-tools #voice-toggle small{font-size:9px}.scoreboard-tools #voice-toggle strong{font-size:12px}.scoreboard-tools #match-more-open{font-size:16px;padding-inline:9px}
.shell-ready .legacy-player-link,.shell-ready #people-friend-picks{display:none}
.shell-ready dialog.side-panel{position:fixed;inset:0 0 0 auto;margin:0;height:100dvh;max-height:100dvh;width:min(460px,94vw);max-width:94vw;border:0;border-left:1px solid #3b495a;border-radius:24px 0 0 24px;box-shadow:-24px 0 70px #0008;background:#151e28;padding:0;overflow-y:auto;overscroll-behavior:contain}
.shell-ready dialog.side-panel[open]{animation:drawer-in .22s ease-out}.shell-ready dialog.side-panel::backdrop{background:#02070d88;backdrop-filter:blur(2px)}
.side-panel>.sheet-content{padding:22px}.side-panel .sheet-header{position:sticky;top:0;z-index:3;background:#151e28;padding:22px;border-bottom:1px solid #33404d}.side-panel .sheet-header h1{font-size:25px}.side-panel .sheet-header .eyebrow{font-size:10px}.side-panel .sheet-footer{position:sticky;bottom:0;background:#151e28;padding-bottom:max(18px,env(safe-area-inset-bottom))}.side-panel .style-options{display:grid;grid-template-columns:1fr;gap:12px}.side-panel form{min-height:100%;display:flex;flex-direction:column}.side-panel form>.sheet-content{flex:1}.side-panel .lineup-sides{grid-template-columns:1fr}.side-panel .lineup-side{padding:18px}.panel-actions{display:flex;flex-direction:column;gap:12px}.panel-actions>button{min-height:48px;width:100%;justify-content:flex-start;text-align:left;padding:12px 16px}.panel-actions svg{height:22px;width:22px;vertical-align:middle;margin-right:8px}.panel-status{font-size:13px;color:#dafa69;min-height:1.2em}
.app-page{box-sizing:border-box;position:fixed;inset:90px 0 calc(var(--nav-height) + env(safe-area-inset-bottom)) 0;width:min(1100px,100%);height:auto;max-height:none;max-width:none;margin:0 auto;padding:20px 24px;border:0;border-radius:0;background:#10151c;color:#eef2f6;overflow-y:auto;z-index:30}.app-page[hidden]{display:none!important}.shell-ready .community-sheet.app-page{box-shadow:none}.app-page .sheet-header{padding:10px 0 18px;background:#10151c;position:static;border:0}.app-page .sheet-content{padding:0}.app-page .community-tabs{display:none}.app-page h1{font-size:28px;margin:0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.page-heading .eyebrow{font-size:10px}.app.other-page>:not(.scoreboard-header){visibility:hidden}.app.other-page .scoreboard-header>:not(.topbar){visibility:hidden}.shell-ready .community-sheet .connected-player{display:flex;flex-wrap:wrap;gap:12px;background:#18222d;border:1px solid #344050;border-radius:16px;padding:16px;margin:10px 0}.connected-player[hidden]{display:none!important}.friend-identity{flex:1;min-width:160px}.social-friend-actions{display:flex;width:100%;align-items:center;gap:8px;flex-wrap:wrap}.social-friend-actions button{min-height:40px;border-radius:10px;padding:8px 14px;background:#253343;border:0}.social-friend-actions button[aria-pressed=true]{color:#dafa69}.social-friend-actions label{margin-left:auto;display:flex;align-items:center;gap:8px}.social-friend-actions input{width:130px;padding:8px!important;font-size:13px!important}.friend-search-tools{position:sticky;top:-20px;z-index:2;background:#10151c;padding:16px 0}.friend-search-tools>label{display:block;margin:0 0 10px}.friend-search-tools input,.friend-search-tools select{width:100%;margin-top:6px}
.player-search{border:1px solid #455569;border-radius:13px;margin:6px 0 14px;background:#101923}.player-search summary{padding:15px;cursor:pointer;font-size:16px}.picker-body{padding:12px;border-top:1px solid #354252}.picker-body input,.picker-body select{width:100%;font-size:14px;margin-bottom:8px}.picker-results{max-height:290px;overflow:auto;display:flex;flex-direction:column;gap:4px}.picker-results button{display:flex;align-items:center;gap:10px;text-align:left;background:#1b2937;border:0;border-radius:10px;padding:11px;font-size:14px;min-height:44px}.picker-results button:hover{background:#344452}.picker-results .person-avatar{width:30px;height:30px;flex-shrink:0}.picker-results button span:nth-child(2){flex:1}.picker-body .field-help{font-size:11px}.player-search~.lineup-avatar{display:none}
.messages-layout{display:grid;grid-template-columns:290px 1fr;gap:24px}.messages-layout aside>label{display:block;font-size:13px}.messages-layout input[type=search]{width:100%;margin:8px 0 12px}.thread-row{width:100%;display:flex;align-items:center;gap:12px;padding:14px 10px;background:transparent;border:0;border-bottom:1px solid #293644;text-align:left}.thread-row[aria-current=true]{background:#223343;border-radius:12px}.thread-row>span:nth-child(2){flex:1}.thread-row small{display:block;color:#a6b4c5;margin-top:4px}.unread-badge{background:#dafa69;color:#10151c;border-radius:12px;padding:2px 6px;font-size:11px}.conversation-heading{display:flex;align-items:center;gap:12px}.conversation-heading h2{font-size:22px;flex:1}.conversation-heading button{padding:8px 12px}.conversation-options{display:flex;flex-wrap:wrap;gap:16px;font-size:12px;color:#aab8c9}.conversation-options input{width:18px;height:18px;vertical-align:middle}#message-log{height:clamp(180px,35dvh,400px);overflow:auto;display:flex;flex-direction:column;gap:12px;margin:15px 0;padding:8px 0}.chat-message{max-width:88%;padding:12px 15px;border-radius:16px;background:#253241;align-self:flex-start}.chat-message.sent{align-self:flex-end;background:#dafa69;color:#15200a}.chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 8px}.chat-message small{font-size:10px;opacity:.75}.chat-message a{color:inherit;text-decoration:underline}.chat-message button{font-size:10px;padding:3px 8px;margin-left:10px;border:0;background:transparent;color:inherit;opacity:.65}#message-form textarea{width:100%;resize:vertical;font:inherit;padding:12px;border-radius:12px;color:#eef2f6;background:#101923;border:1px solid #465366;box-sizing:border-box}.composer-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.composer-tools button{font-size:12px;padding:10px;min-height:40px}.composer-tools .primary{margin-left:auto}.empty-state{padding:25px 15px;text-align:center;color:#a8b6c6}.shell-ready .toast{bottom:calc(var(--nav-height) + env(safe-area-inset-bottom) + 10px)}
@keyframes drawer-in{from{transform:translateX(100%)}to{transform:translateX(0)}}
@media(max-width:650px){.shell-ready .app{padding:16px 14px 10px}.shell-ready .brand{font-size:19px}.shell-ready .brandmark{height:42px;width:42px;font-size:35px}.shell-ready .topbar{margin-bottom:14px}.scoreboard-tools{gap:4px;justify-content:space-between}.scoreboard-tools>button{padding:8px;font-size:11px}.scoreboard-tools #voice-toggle{min-width:58px}.scoreboard-tools .scoreboard-cast svg{width:16px}.app-page{top:76px;padding:12px 16px}.messages-layout{display:block}.messages-page:not(.in-thread) #conversation{display:none}.messages-page.in-thread #conversation-list{display:none}.page-heading h1{font-size:25px}.social-friend-actions label{margin-left:0}.friend-search-tools{top:-12px}.shell-ready .side-panel .sheet-content{padding:16px}.shell-ready .scoreboard-tools #voice-toggle span{white-space:normal}.shell-ready .toolbar>button{font-size:13px}.shell-ready .matchbar{font-size:11px}.main-navigation{padding-top:5px;padding-bottom:calc(5px + env(safe-area-inset-bottom))}.shell-ready{--nav-height:66px}}
@media(min-width:651px){#messages-back{display:none}}
@media(prefers-reduced-motion:reduce){.shell-ready dialog.side-panel[open]{animation:none}}

.shell-ready .app{height:calc(100dvh - var(--nav-height) - env(safe-area-inset-bottom));gap:8px}.shell-ready dialog.handsfree-dialog.side-panel{padding:24px}.shell-ready dialog.handsfree-dialog.side-panel button,.shell-ready dialog.handsfree-dialog.side-panel a{display:block;margin:16px 0;min-height:44px}.chat-photo{display:block;max-width:100%;max-height:300px;border-radius:10px}.attachment-draft{padding:12px;background:#223343;border-radius:12px;font-size:13px;margin-bottom:8px}.attachment-picker{display:flex;flex-direction:column;gap:10px}.attachment-picker button{text-align:left;padding:14px;background:#253343;border-radius:12px}.shell-ready .scoreboard{min-height:260px}@media(max-width:650px){.shell-ready .scoreboard{min-height:360px}.shell-ready .app{height:auto;min-height:calc(100dvh - var(--nav-height));}.shell-ready .scoreboard{flex:1}.shell-ready .scoreboard .team-card{min-height:180px}}
/* Compact match header and coloured control tabs. */
.shell-ready .app{gap:6px;padding-top:max(8px,env(safe-area-inset-top))}.shell-ready .topbar{margin-bottom:8px;min-height:40px}.shell-ready .brandmark{width:36px;height:36px;font-size:28px}.shell-ready .brand{font-size:18px}.shell-ready .brand-sub{font-size:8px;margin-top:4px}.shell-ready .profile-menu-open{width:38px;height:38px}.shell-ready .sport-picker-open{padding:9px 13px;min-height:42px;margin:0;align-self:flex-start}.shell-ready .sport-picker-label{font-size:12px}.shell-ready .sport-picker-open #selected-sport{font-size:15px}.shell-ready .matchbar{margin:3px 0;min-height:28px}.shell-ready #match-meta{font-size:10px;letter-spacing:1px}.shell-ready #clock-settings{font-size:12px}.shell-ready .clock-panel{padding:8px 12px;gap:12px}.shell-ready .clock-caption{font-size:10px;min-width:80px}.shell-ready .clock-toggle{min-width:72px;padding:10px;font-size:12px}
.shell-ready .scoreboard-tools{gap:3px;flex-wrap:nowrap;padding:0;margin:2px 0 -6px;z-index:4;justify-content:stretch}.shell-ready .scoreboard-tools>button{--tab:#b8cee8;flex:1;min-width:0;min-height:37px;border-radius:11px 11px 0 0;border:1px solid color-mix(in srgb,var(--tab) 45%,#253343);border-top:3px solid var(--tab);background:color-mix(in srgb,var(--tab) 13%,#111923);color:var(--tab);padding:7px 5px;font-weight:700;font-size:11px;line-height:14px}.shell-ready .scoreboard-tools #cast-open{--tab:#6edbd3}.shell-ready .scoreboard-tools #quick-style-open{--tab:#c7a0ff}.shell-ready .scoreboard-tools #quick-players-open{--tab:#84b6ff}.shell-ready .scoreboard-tools #quick-audio-open{--tab:#ffc77b}.shell-ready .scoreboard-tools #voice-toggle{--tab:#dafa69;min-width:0;max-width:none;width:auto;flex:1.15;display:flex;flex-direction:column;gap:0;padding:3px 4px}.shell-ready .scoreboard-tools #voice-toggle strong{font-size:11px}.shell-ready .scoreboard-tools #voice-toggle .voice-detail{font-size:8px;line-height:10px}.shell-ready .scoreboard-tools #scoreboard-expand{--tab:#7ae2f5}.shell-ready .scoreboard-tools #match-more-open{flex:.45;padding-inline:3px}.shell-ready .scoreboard-tools .scoreboard-cast svg{width:15px;height:15px}.shell-ready .scoreboard{view-transition-name:match-board}.shell-ready #clock-panel{view-transition-name:match-clock}.notification-controls{padding:12px 0;margin-bottom:10px;border-bottom:1px solid #34404d}.notification-controls button{font-size:12px;min-height:40px;padding:10px 14px}.chat-message [data-receipt]{font-weight:700}.chat-message [data-receipt]:last-child{white-space:nowrap}
.focus-exit{position:fixed;z-index:90;right:max(9px,env(safe-area-inset-right));top:max(7px,env(safe-area-inset-top));background:#15202eec;color:#dafa69;border:1px solid #7c9348;border-radius:12px;padding:8px 12px;font-size:12px;min-height:36px;box-shadow:0 3px 15px #0006}
body.shell-ready.score-focus{padding:0;overflow:hidden}.shell-ready.score-focus .app{height:100dvh;min-height:0;max-width:none;padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));gap:8px}.score-focus .scoreboard-header,.score-focus .scoreboard-tools,.score-focus .scoreboard-footer,.score-focus .main-navigation{display:none!important}.shell-ready.score-focus #clock-panel{margin-right:82px;min-height:58px;padding:6px 12px}.shell-ready.score-focus .scoreboard{min-height:0;flex:1}.shell-ready.score-focus .team-card{min-height:0;flex:1}.shell-ready.score-focus .team-name{font-size:clamp(20px,4vw,42px)}.shell-ready.score-focus .score-number{font-size:clamp(72px,19dvh,260px)}.shell-ready.score-focus .score-stage{min-height:0;flex:1}.shell-ready.score-focus .score-tap{padding:14px 20px 3px}.shell-ready.score-focus .team-bottom{padding:3px 18px 10px;min-height:40px}.shell-ready.score-focus .tap-hint{display:none}.shell-ready.score-focus #clock-panel[hidden]~.scoreboard-tools+.scoreboard{margin-top:40px}.shell-ready.score-focus .result{padding:7px 12px}.shell-ready.score-focus .result strong{font-size:16px}.shell-ready.score-focus .result button{font-size:12px;padding:8px;min-height:38px}.shell-ready.score-focus .result #winner-photo{display:none}
::view-transition-old(match-board),::view-transition-new(match-board),::view-transition-old(match-clock),::view-transition-new(match-clock){animation-duration:260ms}
@media(max-width:650px){.shell-ready .app{padding-top:max(6px,env(safe-area-inset-top));gap:5px}.shell-ready .topbar{margin-bottom:6px}.shell-ready .clock-digits{min-width:100px;font-size:32px}.shell-ready .clock-panel{gap:8px}.shell-ready .clock-caption{min-width:64px;font-size:9px}.shell-ready .clock-controls{gap:3px}.shell-ready .clock-controls>.icon-button{width:28px}.shell-ready .clock-toggle{min-width:62px;padding:8px}.shell-ready .scoreboard-tools>button{font-size:10px;padding-inline:3px}.shell-ready #cast-open{gap:3px}.shell-ready .scoreboard-tools #voice-toggle strong{font-size:10px}.shell-ready .app-page{top:60px}.shell-ready.score-focus .app{padding:7px;gap:6px}.shell-ready.score-focus .scoreboard{min-height:0;flex-direction:column}.shell-ready.score-focus .score-number{font-size:clamp(65px,17dvh,180px)}.shell-ready.score-focus .team-heading{min-height:26px}.shell-ready.score-focus .serve-badge{font-size:10px;padding:5px}.shell-ready.score-focus .clock-caption{display:none}.shell-ready.score-focus #clock-panel{min-height:50px;gap:8px;justify-content:center}.shell-ready.score-focus .clock-digits{font-size:30px;min-width:85px}.shell-ready.score-focus .clock-controls>.icon-button{display:none}}
@media(orientation:landscape){.shell-ready.score-focus .scoreboard{flex-direction:row}.shell-ready.score-focus .score-number{font-size:clamp(70px,37dvh,240px)}.shell-ready.score-focus .sport-slot{max-width:120px}.shell-ready.score-focus .clock-caption{display:none}.shell-ready.score-focus #clock-panel{min-height:42px}.shell-ready.score-focus .clock-digits{font-size:28px}.shell-ready.score-focus .score-tap{padding-top:8px}.shell-ready.score-focus .team-bottom{padding-bottom:6px;min-height:34px}}
@media(prefers-reduced-motion:reduce){::view-transition-old(*),::view-transition-new(*){animation:none!important}}
.shell-ready .scoreboard-header{gap:4px}.shell-ready .scoreboard-footer{gap:4px}
/* One fixed app frame. Only lists, conversation history and sheet contents scroll. */
html:has(body.shell-ready){height:100%;overflow:hidden}body.shell-ready{position:fixed;inset:var(--viewport-top,0px) 0 auto;height:var(--viewport-height,100dvh);width:100%;overflow:hidden;padding-bottom:0;overscroll-behavior:none}.shell-ready .app{height:calc(var(--viewport-height,100dvh) - var(--nav-height) - env(safe-area-inset-bottom));min-height:0;overflow:hidden;gap:5px}.shell-ready .scoreboard-header{flex-shrink:0}.shell-ready .scoreboard{flex:1;min-height:0;flex-shrink:1}.shell-ready .scoreboard .team-card{min-height:0}.shell-ready .score-stage{min-height:0;flex:1}.shell-ready .score-tap{padding:12px 18px 3px}.shell-ready .team-bottom{min-height:38px;padding:3px 15px 8px}.shell-ready .tap-hint{font-size:9px;line-height:12px;letter-spacing:1px}.shell-ready .team-heading{min-height:25px}.shell-ready .team-name{font-size:clamp(19px,3vw,30px)}.shell-ready .score-number{font-size:clamp(52px,13dvh,180px)}.shell-ready .toolbar{padding-top:4px}.shell-ready .toolbar>button{min-height:36px;padding:5px 12px}.shell-ready .footnote{font-size:10px;min-height:14px}.shell-ready .main-navigation{position:absolute;bottom:0}.shell-ready .app-page{position:absolute;top:60px;bottom:calc(var(--nav-height) + env(safe-area-inset-bottom));overscroll-behavior:contain}
.shell-ready .messages-page:not([hidden]){display:flex;flex-direction:column;overflow:hidden;padding-top:5px;gap:4px}.messages-page .page-heading{flex-shrink:0;margin-bottom:4px}.messages-page #messages-status:empty{display:none}.messages-page #messages-status{margin:3px 0;font-size:12px}.messages-page .notification-controls{flex-shrink:0;margin:0;padding:4px 0}.messages-page .notification-controls p{font-size:11px;margin:3px 0}.messages-page .messages-layout{flex:1;min-height:0;overflow:hidden}.messages-page #conversation-list{min-height:0;display:flex;flex-direction:column;overflow:hidden}.messages-page #message-threads{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}.messages-page #conversation:not([hidden]){height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}.messages-page .conversation-heading{flex-shrink:0;min-height:44px}.messages-page .conversation-heading h2{margin:6px 0;font-size:20px}.messages-page #messages-back{display:inline-flex;align-items:center;justify-content:center;min-width:80px;min-height:44px;padding:10px 15px;border-radius:12px;background:#dafa69;color:#172107;font-weight:800;font-size:14px;border:1px solid #dafa69}.messages-page .conversation-options{flex-shrink:0;gap:12px;font-size:11px}.messages-page #message-log{flex:1;min-height:0;height:auto;overscroll-behavior:contain;margin:8px 0;overflow-y:auto}.messages-page #message-form{flex-shrink:0;min-height:0}.messages-page #message-form>label{font-size:12px}.messages-page #message-text{height:64px;min-height:44px;max-height:110px;resize:none;padding:9px}.messages-page #message-form>.field-help{display:none}.messages-page .composer-tools{margin-top:4px;gap:5px}.messages-page .composer-tools button{min-height:36px;font-size:11px;padding:8px}.messages-page #messages-older{min-height:30px;padding:5px;font-size:11px;flex-shrink:0}.messages-page.in-thread>.notification-controls,.messages-page.in-thread>.page-heading,.messages-page.in-thread>.incoming-request-banner{display:none!important}.messages-page.in-thread{padding-top:0}.messages-page .chat-message{flex-shrink:0}
.friend-requests:empty{display:none}.friend-requests{border:1px solid #dafa6980;background:#dafa6910;padding:14px;border-radius:14px;margin-bottom:16px}.friend-requests h2{font-size:19px;margin:0 0 12px}.request-card{padding:12px;background:#192733;border-radius:12px;margin:8px 0}.request-card p{font-size:13px;margin:5px 0 12px}.request-card button{min-height:42px;padding:10px 16px}.request-confirmation{position:sticky;top:0;z-index:5;background:#dafa69;color:#172107;padding:14px;border-radius:12px;font-size:14px;font-weight:650}.incoming-request-banner{background:#dafa69;color:#172107;text-align:left;padding:12px;border-radius:12px;font-weight:700;font-size:13px;flex-shrink:0}.player-qr-card{border:1px solid #435365;border-radius:14px;padding:14px;margin:16px 0}.player-qr-card summary{cursor:pointer;font-size:15px;font-weight:700;min-height:32px}.player-qr-card canvas{display:block;width:min(256px,100%);height:auto;background:white;border-radius:12px;margin:12px auto;image-rendering:pixelated}.player-qr-card p{font-size:13px;line-height:1.5}
.shell-ready .clock-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;align-items:center;padding:7px 14px;position:relative}.shell-ready .clock-caption{grid-area:1/1;font-size:10px;min-width:0}.shell-ready .clock-placement{grid-area:1/2;justify-self:end;display:flex;gap:6px}.clock-placement button{color:#dafa69;font-size:11px;min-height:27px;font-weight:700;padding:3px 5px}.shell-ready .clock-digits{grid-area:2/1;font-size:clamp(42px,7vw,64px);min-width:0;justify-self:center;line-height:1.05}.shell-ready .clock-controls{grid-area:2/2;gap:5px}.shell-ready .clock-panel.floating-clock{position:fixed;z-index:70;width:min(340px,calc(100vw - 16px));margin:0!important;box-shadow:0 12px 60px #000b;border:2px solid #94b374;grid-template-rows:auto auto auto;background:#111b27;touch-action:auto}.floating-clock .clock-drag-handle{grid-area:1/1;cursor:grab;touch-action:none;justify-self:start;padding:8px 5px;min-height:36px;color:#bdcddf;font-size:12px}.shell-ready .floating-clock .clock-placement{grid-area:1/2}.shell-ready .floating-clock .clock-caption{grid-area:2/1/3/3;justify-self:center}.shell-ready .floating-clock .clock-digits{grid-area:3/1;font-size:54px}.shell-ready .floating-clock .clock-controls{grid-area:3/2}.shell-ready .focus-exit{font-size:13px;font-weight:800;min-height:44px;padding:10px 16px;background:#dafa69;color:#142006;border:1px solid #dafa69}.shell-ready.score-focus .app{height:var(--viewport-height,100dvh);min-height:0;padding-top:56px}.shell-ready.score-focus #clock-panel{margin:0;min-height:0}.score-focus .clock-placement,.score-focus .clock-drag-handle{display:none!important}.shell-ready.score-focus .clock-digits{font-size:clamp(42px,8vw,66px)}.shell-ready.score-focus #clock-panel[hidden]~.scoreboard-tools+.scoreboard{margin-top:0}
@media(max-width:650px){.shell-ready .app{height:calc(var(--viewport-height,100dvh) - var(--nav-height) - env(safe-area-inset-bottom));min-height:0;gap:4px}.shell-ready .scoreboard{min-height:0}.shell-ready .scoreboard .team-card{min-height:0}.shell-ready .serve-badge{font-size:9px;padding:5px 7px}.shell-ready .score-number{font-size:clamp(48px,12dvh,125px)}.shell-ready .game-count{font-size:10px;gap:4px}.shell-ready .games-label{font-size:9px}.shell-ready .team-bottom{padding:2px 12px 7px;min-height:32px}.shell-ready .point-controls button{min-width:36px;height:30px}.shell-ready .clock-caption{display:flex}.shell-ready .clock-digits{font-size:44px}.shell-ready .clock-panel{padding:5px 11px;gap:0 8px}.shell-ready .clock-controls{gap:3px}.messages-page .messages-layout{display:flex;flex-direction:column}.messages-page:not(.in-thread) #conversation{display:none!important}.messages-page.in-thread #conversation-list{display:none!important}.messages-page #conversation-list{flex:1}.messages-page.in-thread #conversation{flex:1}.shell-ready.score-focus .app{height:var(--viewport-height,100dvh);min-height:0;padding-top:56px}.shell-ready.score-focus #clock-panel{margin-right:0}.shell-ready.score-focus .clock-caption{display:none}.shell-ready.score-focus .clock-digits{grid-row:1;font-size:46px}.shell-ready.score-focus .clock-controls{grid-row:1}.shell-ready .app-page .friend-search-tools{position:static}}
@media(orientation:landscape) and (max-height:500px){.shell-ready .clock-panel:not(.floating-clock){grid-template-columns:auto minmax(80px,1fr) auto auto;gap:8px;padding:3px 12px}.shell-ready .clock-panel:not(.floating-clock) .clock-caption{grid-area:1/1}.shell-ready .clock-panel:not(.floating-clock) .clock-digits{grid-area:1/2;font-size:36px}.shell-ready .clock-panel:not(.floating-clock) .clock-controls{grid-area:1/3}.shell-ready .clock-panel:not(.floating-clock) .clock-placement{grid-area:1/4}.shell-ready.score-focus .app{padding-top:51px}.messages-page #message-text{height:44px}.messages-page .conversation-options{display:none}.shell-ready .score-number{font-size:clamp(48px,24dvh,110px)}}

.people-colour-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.people-colour-row input[type=color]{width:52px;height:44px;padding:2px;background:transparent;border:1px solid #526173;border-radius:10px}.lineup-side .palette{gap:10px;margin:12px 0 20px}.lineup-side .swatch{width:32px;height:32px;flex-basis:32px}

/* Keep panel headers/footers stationary; only their contents scroll. */
.shell-ready dialog.side-panel{overflow:hidden;overscroll-behavior:none;touch-action:pan-y}
.shell-ready dialog.side-panel>form{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}
.shell-ready dialog.side-panel .sheet-header,.shell-ready dialog.side-panel .sheet-footer{position:relative;flex:0 0 auto}
.shell-ready dialog.side-panel .sheet-content{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y}
.shell-ready #app{touch-action:pan-y}
.shell-ready #app .scoreboard{touch-action:none}
.shell-ready.score-focus #app{padding-top:calc(62px + env(safe-area-inset-top));height:var(--viewport-height,100dvh)}
.shell-ready .clock-panel.floating-clock{width:var(--clock-width,340px);max-width:calc(100vw - 16px);touch-action:none}
.shell-ready .floating-clock .clock-digits{font-size:var(--clock-font,54px)}
.clock-size-controls{display:none}.floating-clock .clock-size-controls{display:flex;grid-area:4/1/5/3;align-items:center;justify-content:center;gap:8px;color:#b9c6d6;font-size:10px}
.clock-size-controls button{min-width:36px;min-height:32px;border-radius:8px;background:#283545;font-size:20px}
.shell-ready.score-focus .clock-placement{display:flex!important}.shell-ready.score-focus .floating-clock .clock-drag-handle{display:block!important}
.shell-ready.score-focus #clock-panel:not(.floating-clock) .clock-digits{grid-area:2/1;font-size:clamp(36px,7vw,64px)}
.shell-ready.score-focus #clock-panel:not(.floating-clock) .clock-controls{grid-area:2/2}
.shell-ready.score-focus .floating-clock .clock-caption{display:block;grid-area:2/1/3/3}
.shell-ready.score-focus .floating-clock .clock-digits{grid-area:3/1;font-size:var(--clock-font,54px)}
.shell-ready.score-focus .floating-clock .clock-controls{grid-area:3/2}
@media(max-width:360px){.shell-ready .floating-clock .clock-controls{gap:0}.shell-ready .floating-clock .clock-toggle{min-width:48px;padding:5px;font-size:11px}}
.shell-ready dialog.side-panel[open]:has(>.sheet-header){display:flex;flex-direction:column}

/* Disable page pinch zoom across navigation and modal pages; retain normal scrolling. */
html:has(body.shell-ready),body.shell-ready,.shell-ready .app-page{touch-action:pan-x pan-y}

.connected-player{position:relative}.connected-player .friend-remove-small{position:absolute;right:8px;top:6px;min-width:32px;min-height:32px;padding:3px;font-size:23px;background:transparent;color:#aab6c4;border-radius:50%}.connected-player .friend-identity{padding-right:30px}.typing-indicator{font-size:12px;color:#dafa69;min-height:18px;margin:2px 0;flex-shrink:0}

.message-extras{display:flex;gap:5px;flex-wrap:wrap}.message-extras button{min-height:36px;padding:7px 10px;background:#263343;border-radius:9px;font-size:12px}.emoji-picker{display:grid;grid-template-columns:repeat(8,1fr);max-height:145px;overflow-y:auto;gap:2px}.emoji-picker button{font-size:23px;padding:5px;min-height:35px}.chat-attachment-preview{display:block;max-width:100%;max-height:100px;object-fit:contain;margin:5px 0}.attachment-draft button{padding:6px;font-size:12px;color:#dafa69}.messages-page #message-form{max-height:55%;overflow-y:auto}.chat-message a{display:block;color:#dafa69;overflow-wrap:anywhere}

/* Short landscape screens use the full height for the match and page content. */
.messages-actions{display:flex;align-items:center;gap:16px}.messages-actions button{min-width:40px;min-height:40px}.messages-actions #messages-refresh{font-size:25px}
#notification-settings .notification-controls{border:0;padding:0}#notification-settings .field-help{font-size:14px;line-height:1.6}#notification-settings .switch-row{margin-top:24px}
@media(orientation:landscape) and (max-height:600px){
 body.shell-ready:not(.score-focus){--nav-height:0px;--nav-rail:76px}
 .shell-ready:not(.score-focus) .main-navigation{inset:0 0 0 auto;width:calc(var(--nav-rail) + env(safe-area-inset-right));height:100%;padding:5px max(4px,env(safe-area-inset-right)) 5px 4px;flex-direction:column;gap:3px;border-top:0;border-left:1px solid #34404d}
 .shell-ready:not(.score-focus) .main-navigation>button{width:100%;max-width:none;min-height:48px;justify-content:center;gap:2px;font-size:11px;padding:4px 2px}
 .shell-ready:not(.score-focus) .main-navigation>button>span:first-child{font-size:21px;line-height:22px}
 .shell-ready:not(.score-focus) .app{height:var(--viewport-height,100dvh);width:calc(100% - var(--nav-rail) - env(safe-area-inset-right));max-width:none;margin:0;padding:5px 10px max(4px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));gap:4px;min-height:0}
 .shell-ready:not(.score-focus) .scoreboard-header{display:grid;grid-template-columns:minmax(160px,1fr) auto auto;grid-template-rows:38px;gap:0 10px;align-items:center}
 .shell-ready:not(.score-focus) .topbar{grid-column:1;grid-row:1;min-height:34px;margin:0;padding-right:0;gap:12px}
 .shell-ready:not(.score-focus) .brand{font-size:15px;gap:7px}.shell-ready:not(.score-focus) .brandmark{width:29px;height:29px;font-size:23px;border-radius:8px}
 .shell-ready:not(.score-focus) .brand-sub{display:none}.shell-ready:not(.score-focus) .profile-menu-open{width:32px;height:32px}
 .shell-ready:not(.score-focus) .sport-picker-open{grid-column:2;grid-row:1;position:static;transform:none;min-height:32px;padding:4px 9px;margin:0;font-size:12px;max-width:180px}
 .shell-ready:not(.score-focus) .sport-picker-label{display:none}.shell-ready:not(.score-focus) .sport-picker-open #selected-sport{font-size:13px}
 .shell-ready:not(.score-focus) .matchbar{grid-column:3;grid-row:1;gap:12px;margin:0;min-height:30px}
 .shell-ready:not(.score-focus) #match-meta{font-size:10px;letter-spacing:0}.shell-ready:not(.score-focus) #clock-settings{font-size:11px;min-height:32px}
 .shell-ready:not(.score-focus) .scoreboard-tools{flex-shrink:0;margin:0;gap:4px}.shell-ready:not(.score-focus) .scoreboard-tools>button{border-radius:8px;min-height:32px;padding:3px 5px;font-size:11px}
 .shell-ready:not(.score-focus) .scoreboard{flex-direction:row;gap:10px;min-height:0}
 .shell-ready:not(.score-focus) .team-card{container-type:size;border-radius:16px}
 .shell-ready:not(.score-focus) .score-tap{padding:7px 12px 0}.shell-ready:not(.score-focus) .team-heading{min-height:24px}.shell-ready:not(.score-focus) .team-name{font-size:19px}
 .shell-ready:not(.score-focus) .score-number{font-size:clamp(44px,54cqh,150px)}.shell-ready:not(.score-focus) .tap-hint{display:none}
 .shell-ready:not(.score-focus) .team-bottom{min-height:30px;padding:0 12px 4px}.shell-ready:not(.score-focus) .serve-badge{font-size:9px;padding:4px}.shell-ready:not(.score-focus) .game-count{font-size:10px}.shell-ready:not(.score-focus) .games-label{font-size:9px}
 .shell-ready:not(.score-focus) .scoreboard-footer{flex-shrink:0;gap:0}.shell-ready:not(.score-focus) .footnote{display:none}.shell-ready:not(.score-focus) .toolbar{padding:0;gap:12px}.shell-ready:not(.score-focus) .toolbar>button{min-height:30px;font-size:12px;padding:3px}
 .shell-ready:not(.score-focus) .app-page{top:43px;right:calc(var(--nav-rail) + env(safe-area-inset-right));left:env(safe-area-inset-left);bottom:env(safe-area-inset-bottom);width:auto;max-width:none;padding:5px 14px 10px;min-height:0;margin:0}
 .shell-ready .app-page .sheet-header{padding:3px 0 9px}.shell-ready .app-page .sheet-header h1,.shell-ready .app-page .page-heading h1{font-size:22px}.shell-ready .app-page .eyebrow{display:none}
 .shell-ready .app-page .sheet-header button{min-height:32px;padding:6px 12px}.shell-ready .app-page .friend-search-tools{position:static;padding:8px 0}
 .shell-ready .messages-layout{display:grid;grid-template-columns:minmax(160px,32%) minmax(0,1fr);gap:16px}
 .shell-ready .messages-page:not(.in-thread) .messages-layout{grid-template-columns:1fr}
 .shell-ready .messages-page.in-thread #conversation-list{display:flex!important}.shell-ready .messages-page.in-thread #conversation{display:flex!important}
 .shell-ready .messages-page #messages-back{min-width:42px;min-height:32px;padding:5px 8px;font-size:12px}.shell-ready .messages-page .conversation-heading{min-height:32px;gap:8px}.shell-ready .messages-page .conversation-heading h2{font-size:17px;margin:2px 0}
 .shell-ready .messages-page #messages-search{margin:4px 0 8px;padding:8px;font-size:14px}.shell-ready .messages-page .thread-row{padding:10px 5px;font-size:14px;gap:8px}.shell-ready .thread-row .person-avatar{width:30px;height:30px}
 .shell-ready .messages-page #message-form{max-height:46%;overflow:auto}.shell-ready .messages-page #message-text{height:40px;min-height:40px;font-size:16px}.shell-ready .messages-page #message-form>label{display:none}
 .shell-ready .messages-page .message-extras{flex-wrap:nowrap;overflow-x:auto}.shell-ready .messages-page .message-extras button,.shell-ready .messages-page .composer-tools button{min-height:30px;padding:4px 8px;font-size:11px}
 .shell-ready .messages-page .typing-indicator:empty{display:none}.shell-ready .messages-page .conversation-options{display:none}
 .shell-ready .messages-page #message-log{margin:3px 0}.shell-ready .messages-page .chat-message{padding:8px 11px;font-size:14px}
 .shell-ready .app-page.community-sheet{overflow-y:auto;touch-action:pan-y}.shell-ready .toast{bottom:12px;right:88px}
}
/* Familiar inbox rows and a compact composer with optional attachment controls. */
.thread-row{min-width:0}.thread-row .thread-main{min-width:0;flex:1}.thread-main strong,.thread-main small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thread-meta{display:flex;flex-direction:column;align-items:flex-end;gap:7px;flex:none}.thread-meta time{font-size:10px;color:#97a8bb}.thread-meta .unread-badge{position:static}
.messages-page #message-form{max-height:60%;padding-top:6px;border-top:1px solid #34404d}.message-input-row{display:flex;gap:8px;align-items:flex-end;min-width:0}.messages-page .message-input-row #message-text{flex:1;min-width:0;max-height:110px;height:44px;font-size:16px;border-radius:20px;padding:10px 14px}.message-input-row #message-tools-toggle{width:42px;min-width:42px;height:44px;border-radius:50%;font-size:27px;background:#263343;color:#dafa69}.message-input-row #message-send{min-height:44px;padding:10px 15px;border-radius:22px;font-size:14px;flex:none}.message-tools{padding:4px 0 10px}.message-tools .message-extras,.message-tools .composer-tools{justify-content:flex-start}.message-tools .emoji-picker{margin:5px 0}
.messages-page.in-thread .messages-layout{min-width:0}.messages-page #conversation{min-width:0}
@media(orientation:landscape) and (max-height:600px){.messages-page #message-form{max-height:50%}.messages-page .message-input-row #message-text{height:40px;min-height:40px}.message-input-row #message-tools-toggle,.message-input-row #message-send{height:40px;min-height:40px}.messages-page #conversation-list{min-width:0}}
.offline-play-note{flex-shrink:0;font-size:11px;line-height:1.3;color:#dafa69;background:#dafa6910;padding:5px 8px;border-radius:7px}.shell-ready.score-focus .offline-play-note{display:none}
/* A desktop display puts the score at the centre of each panel. Keep serving
   artwork in its own corner rather than reserving half the panel above it. */
@media(min-width:1000px) and (min-height:601px){
 .shell-ready.score-focus .app .score-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:0}
 .shell-ready.score-focus .app .score-value{grid-area:1/1}
 .shell-ready.score-focus .app .sport-slot{grid-area:1/1;position:absolute;top:2%;right:5%;width:min(22cqw,180px);height:min(22cqw,180px);max-width:none;justify-self:end}
 .shell-ready.score-focus .app[data-score-style] .score-stage .score-value>.score-number{font-size:min(calc(84cqw / var(--score-units)),calc(70cqh / var(--score-height)),520px)}
}

.messages-page #message-outbox{display:flex;flex-direction:column;gap:8px;flex:0 1 auto;min-height:0;max-height:35%;overflow-y:auto;overscroll-behavior:contain}.messages-page #message-outbox:empty{display:none}.messages-page #message-outbox small{display:block;line-height:1.4}.messages-page .message-encryption-note{font-size:11px;line-height:1.3;margin:2px 0;flex-shrink:0}

.chat-image{display:block;min-width:min(220px,100%);margin-top:8px;overflow:hidden}.chat-image>span{display:block;padding:12px 0;font-size:13px}.chat-image .chat-photo{width:auto;height:auto;object-fit:contain}.chat-image>a{font-size:12px;margin-top:6px}.chat-image>button{margin-top:6px}

/* Pending photos belong to the same scrollable conversation as delivered messages. */
.messages-page #message-outbox{flex:none;max-height:none;overflow:visible;width:100%}.messages-page #message-outbox .chat-photo{max-height:260px}
.chat-message.sent .chat-image>a{color:inherit}

/* Photos use a close-fitting frame with their caption and status below. */
.messages-page .chat-message.photo-message{background:transparent;color:#edf2f6;padding:0;border-radius:12px;max-width:min(88%,320px);width:fit-content}
.photo-message .chat-image{min-width:0;margin:0}.photo-message .chat-photo{max-height:340px;border-radius:12px}
.messages-page #message-outbox .photo-message .chat-photo{max-height:340px}
.chat-message.photo-message>p{margin:7px 2px;font-size:14px}.chat-message.photo-message>small{display:block;color:#a8b5c5;opacity:1;margin:6px 2px;font-size:10px;line-height:1.4}
.chat-message.photo-message .chat-image>a{color:#bcc7d4;font-size:11px;margin:5px 2px}.chat-message.photo-message>button{color:#a8b5c5}

.messages-page .chat-message .chat-photo-open{display:block;padding:0;margin:0;opacity:1;background:transparent;border:0;border-radius:12px;max-width:100%;overflow:hidden;cursor:zoom-in}.chat-photo-open .chat-photo{display:block}
.chat-photo-preview{width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;margin:0;padding:0;border:0;border-radius:0;background:#080d14;color:#eef3f8;overflow:hidden}
.chat-photo-preview[open]{display:flex;flex-direction:column}.chat-photo-preview::backdrop{background:#000d}.photo-preview-header{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:max(10px,env(safe-area-inset-top)) 12px 10px;flex:none}.photo-preview-header strong{flex:1;min-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.photo-preview-header button,.photo-preview-header a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;min-width:42px;padding:8px 10px;background:#263241;border-radius:9px;color:#eef3f8;font-size:14px;text-decoration:none}.photo-preview-status{font-size:13px;margin:0 12px;flex:none}.photo-preview-status:empty{display:none}.photo-preview-stage{flex:1;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y}.photo-preview-canvas{position:relative}.photo-preview-canvas img{position:absolute;display:block;max-width:none;max-height:none;user-select:none;-webkit-user-drag:none}.photo-preview-stage{padding-bottom:env(safe-area-inset-bottom)}

/* Compact game controls. Shared geometry keeps voice status from changing row height. */
.shell-ready:not(.score-focus) .scoreboard-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;flex:none;padding:0;margin:3px 0 7px;align-items:stretch;z-index:4}
.shell-ready:not(.score-focus) .scoreboard-tools>button,
.shell-ready:not(.score-focus) .scoreboard-tools #voice-toggle,
.shell-ready:not(.score-focus) .scoreboard-tools #match-more-open{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;width:auto;max-width:none;height:46px;min-height:46px;padding:5px 4px;border:1px solid color-mix(in srgb,var(--tab) 27%,#253343);border-radius:11px;background:color-mix(in srgb,var(--tab) 8%,#111923);color:var(--tab);font-size:11px;font-weight:650;line-height:13px;box-shadow:none;white-space:nowrap}
.shell-ready .scoreboard-tools>button:hover{background:color-mix(in srgb,var(--tab) 17%,#111923)}
.shell-ready .scoreboard-tools>button:focus-visible,.shell-ready #match-more button:focus-visible{outline:2px solid #dafa69;outline-offset:3px}
.shell-ready .scoreboard-tools svg,.shell-ready .scoreboard-tools .scoreboard-cast svg{display:block;flex:none;width:17px;height:17px}
.shell-ready .scoreboard-tools #voice-toggle .voice-detail{font-size:10px;line-height:13px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;color:inherit}
.shell-ready .scoreboard-tools #voice-toggle .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.shell-ready .scoreboard-tools #voice-toggle[aria-pressed=true]{background:#dafa69;color:#18210a;border-color:#dafa69;box-shadow:0 0 0 2px #dafa6920}
.shell-ready .scoreboard-tools #voice-toggle[aria-pressed=true]::after{content:"";position:absolute;bottom:0;left:0;height:3px;width:var(--voice-level,0%);max-width:100%;background:currentColor;opacity:.5;pointer-events:none}
.shell-ready .scoreboard-tools #voice-toggle.handsfree-starting{border-color:#dafa69;background:#dafa691c}
.shell-ready .scoreboard-tools #cast-open[data-connected=true]{background:#6edbd329;border-color:#6edbd3}
.shell-ready .scoreboard-tools #match-more-open[aria-expanded=true]{background:#b8cee822;border-color:#b8cee8}
.shell-ready #match-more .sheet-header{padding:20px}.shell-ready #match-more .sheet-header h1{font-size:24px}
.shell-ready #match-more>.sheet-content{padding:18px 16px max(20px,env(safe-area-inset-bottom))}
.game-control-section+.game-control-section{margin-top:24px}.game-control-section h2{margin:0 4px 10px;color:#9aaabd;font-size:11px;letter-spacing:.09em;text-transform:uppercase;font-weight:700}
.game-control-rows{display:flex;flex-direction:column;border:1px solid #34404d;border-radius:14px;overflow:hidden;background:#1a2531}
.shell-ready #match-more .game-control-row{--control:#b8cee8;display:flex;align-items:center;gap:12px;width:100%;min-height:60px;margin:0;padding:12px;text-align:left;border:0;border-radius:0;background:transparent;color:#eef2f6;font-size:14px}
.shell-ready #match-more .game-control-row+.game-control-row{border-top:1px solid #2c3948}
.shell-ready #match-more .game-control-row:hover{background:#223141}.shell-ready #match-more .game-control-row[hidden]{display:none}
.game-control-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;flex:none;background:color-mix(in srgb,var(--control) 12%,transparent);color:var(--control)}
.game-control-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.game-control-copy strong{font-size:14px;font-weight:650;line-height:18px}.game-control-copy small{font-size:11px;color:#a8b7c8;font-weight:400;line-height:15px}
.game-control-icon svg{width:19px;height:19px}.game-control-row>svg{width:16px;height:16px;flex:none;color:#8d9caf}
.shell-ready #match-more #quick-style-open{--control:#c7a0ff}.shell-ready #match-more #quick-players-open{--control:#84b6ff}.shell-ready #match-more #quick-audio-open{--control:#ffc77b}.shell-ready #match-more #coaches-open{--control:#dafa69}.shell-ready #match-more #finish-match{--control:#ffc77b}
@media(orientation:landscape) and (max-height:600px){
 .shell-ready:not(.score-focus) .scoreboard-tools{margin:1px 0 4px;gap:6px}
 .shell-ready:not(.score-focus) .scoreboard-tools>button,.shell-ready:not(.score-focus) .scoreboard-tools #voice-toggle,.shell-ready:not(.score-focus) .scoreboard-tools #match-more-open{flex-direction:row;height:44px;min-height:44px;gap:7px;font-size:12px}
 .shell-ready .scoreboard-tools #voice-toggle .voice-detail{font-size:11px}
 .shell-ready #match-more .sheet-header{padding:12px 16px}.shell-ready #match-more .sheet-header .eyebrow{display:none}.shell-ready #match-more .sheet-header h1{font-size:21px}
 .shell-ready #match-more>.sheet-content{padding-top:12px}.game-control-section+.game-control-section{margin-top:18px}
 .shell-ready #match-more .game-control-row{min-height:56px;padding:9px 12px}
}
.side-panel form.encryption-recovery{display:flex;flex-direction:column;gap:12px;min-height:0;margin-top:20px;padding:16px;border:1px solid #465366;border-radius:14px;background:#101923}.encryption-recovery h2{font-size:20px;line-height:1.25;margin:0}.encryption-recovery p,.encryption-recovery ol{margin:0;font-size:14px;line-height:1.5}.encryption-recovery ol{padding-left:20px}.encryption-recovery li+li{margin-top:8px}.encryption-recovery label{font-size:15px;font-weight:700;color:#f4f7fb}.encryption-recovery textarea{width:100%;max-width:100%;box-sizing:border-box;resize:vertical;font:inherit;font-size:16px;line-height:1.4;min-height:100px;padding:12px;border:1px solid #68788e;border-radius:10px;background:#080e16;color:#f4f7fb;overflow-wrap:anywhere}.encryption-recovery textarea:focus{outline:2px solid #dafa69;outline-offset:2px}.encryption-recovery textarea[aria-invalid=true]{border-color:#ffb6a7}.encryption-recovery .encryption-recovery-error{color:#ffb6a7}.encryption-recovery button{width:100%;flex-shrink:0}
.encryption-code{display:flex;flex-direction:column;gap:12px;margin-top:16px}.encryption-code p{margin:0}.encryption-code textarea{width:100%;max-width:100%;box-sizing:border-box;resize:vertical;min-height:100px;padding:12px;font:16px/1.4 ui-monospace,monospace;border:1px solid #68788e;border-radius:10px;background:#080e16;color:#f4f7fb;cursor:copy;overflow-wrap:anywhere}.encryption-code textarea:focus-visible{outline:2px solid #dafa69;outline-offset:2px}.encryption-code button{width:100%}.encryption-code [role=status]:empty{display:none}
.play-shortcuts{display:flex;align-items:stretch;gap:8px;min-width:0;max-width:100%}.play-shortcuts .sport-picker-open{flex:0 1 auto;min-width:0}.coaches-shortcut{display:flex;align-items:center;justify-content:center;flex:0 1 auto;min-width:0;min-height:42px;padding:8px 12px;border:1px solid #465237;border-radius:13px;background:#19251b;color:#dafa69;font-size:12px;font-weight:700;line-height:16px;white-space:nowrap}.coaches-shortcut:focus-visible{outline:2px solid #dafa69;outline-offset:3px}@media(max-width:650px){.play-shortcuts{width:100%;gap:6px}.shell-ready .play-shortcuts .sport-picker-open{flex:1;align-self:stretch;gap:7px;padding:8px 9px;min-height:44px}.play-shortcuts .coaches-shortcut{padding:8px;min-height:44px;font-size:11px}.shell-ready .play-shortcuts .sport-picker-label{font-size:11px}.shell-ready .play-shortcuts #selected-sport{font-size:13px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.play-shortcuts .sport-picker-symbol{font-size:18px}}@media(orientation:landscape) and (max-height:650px){.scoreboard-header .play-shortcuts{grid-area:1/2;justify-self:center;min-width:0;width:auto}.shell-ready:not(.score-focus) .play-shortcuts .sport-picker-open{position:static;transform:none;align-self:stretch;max-width:none;min-height:38px}.play-shortcuts .coaches-shortcut{min-height:38px;padding:4px 8px;font-size:11px}.play-shortcuts .sport-picker-label{display:none}.shell-ready:not(.score-focus) .scoreboard-header{grid-template-columns:minmax(120px,1fr) auto auto}}
.shell-ready .scoreboard-tools #voice-toggle,.shell-ready:not(.score-focus) .scoreboard-tools #voice-toggle{flex-direction:column;gap:2px;padding:3px 4px}.shell-ready .scoreboard-tools #voice-toggle .voice-label{display:block;font-size:11px;font-weight:750;line-height:12px;white-space:nowrap}.voice-meta{display:flex;align-items:center;justify-content:center;gap:4px;line-height:11px}.shell-ready .scoreboard-tools #voice-toggle .voice-detail{margin:0;font-size:9px;line-height:11px}.voice-beta{display:inline-block;border:1px solid currentColor;border-radius:3px;padding:0 2px;font-size:7px;font-weight:750;line-height:9px;letter-spacing:.3px;opacity:.85}.voice-level-meter{display:block;position:relative;width:calc(100% - 8px);height:4px;min-height:4px;background:#82909f45;border-radius:2px;overflow:hidden}.voice-level-meter[hidden]{display:none}.voice-level-fill{display:block;width:var(--voice-level,0%);height:100%;background:repeating-linear-gradient(90deg,currentColor 0 3px,transparent 3px 5px);transition:width 80ms linear}.shell-ready .scoreboard-tools #voice-toggle[aria-pressed=true]::after{display:none}@media(max-width:350px){.shell-ready .scoreboard-tools #voice-toggle .voice-label{font-size:10px}.shell-ready:not(.score-focus) .scoreboard-tools #voice-toggle{padding:3px 2px}}@media(prefers-reduced-motion:reduce){.voice-level-fill{transition:none}}
