.scoreboard-screen,.net-board,body:has(.scoreboard-screen,.net-board) .modal-wrap{width:var(--board-width,100dvh);height:var(--board-height,100dvw);transform:translate(-50%,-50%) rotate(var(--board-angle,90deg))}
.net-remote{width:min(100dvw,560px);overflow-y:auto;overscroll-behavior:contain}
.net-remote .net-board-header{height:auto;min-height:48px;flex-shrink:0;flex-wrap:wrap;gap:8px;padding:8px 12px}
.net-remote .net-board-sides{flex:1 0 auto;min-height:340px;align-items:stretch}
.net-remote .net-side{padding:16px 12px;justify-content:flex-start;gap:14px;min-width:0}
.net-remote .net-side.blue{border-right:2px solid rgba(255,255,255,.65)}
.net-remote .net-side h2{max-width:100%;width:auto;margin:0;font-size:clamp(20px,5vw,28px)}
.net-remote .net-score-actions{display:flex;flex-direction:column;width:100%;flex:1;gap:12px}
.net-remote .net-score-actions button{width:100%;height:auto;min-height:100px;flex:1;font-size:clamp(38px,10vw,58px);border-radius:18px;touch-action:manipulation;transition:transform .12s,background .12s}
.net-remote .net-score-actions button:active:not(:disabled){transform:scale(.96)}
.net-remote .net-penalty-actions{display:flex;width:100%;gap:8px;justify-content:center;flex-wrap:wrap}
.net-remote .net-penalty-actions button{flex:1;min-height:44px;white-space:nowrap}
.net-remote button:disabled{opacity:.4}
.net-remote .net-board-controls{display:flex;flex-direction:column;flex-shrink:0;gap:10px;padding:10px 12px max(12px,env(safe-area-inset-bottom))}
.net-remote .net-board-controls>.button{width:100%;min-height:64px;font-size:22px}
.net-remote .net-more{width:100%}
.net-remote .net-more summary{padding:10px;text-align:center;cursor:pointer;touch-action:manipulation}
.net-remote .net-more-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px 0}
.net-remote .net-more-actions .button{width:100%;min-height:44px;font-size:14px}
.net-winner-overlay{position:absolute;inset:0;z-index:10;background:rgba(0,0,0,.68);display:flex;align-items:center;justify-content:center;padding:32px;text-align:center;color:#fff}
.net-winner-overlay strong{font-size:clamp(32px,7vw,88px);line-height:1.3;overflow-wrap:anywhere;text-shadow:0 3px 20px #000}
.net-ended-remote .net-end-actions{flex:1;display:flex;flex-direction:column;justify-content:center;gap:20px;padding:24px}
.net-ended-remote .net-end-actions .button{width:100%;min-height:76px;font-size:24px}
.quick-scoreboard{container-type:size}
.quick-scoreboard .score-player{padding:2vw}
.quick-scoreboard.net-display .net-side{padding:12px 2%}
.quick-scoreboard .score-value,.quick-scoreboard.net-display .net-score{font-size:min(32cqw,54cqh,400px);font-weight:900;line-height:.95;letter-spacing:-.035em;text-shadow:none;font-variant-numeric:tabular-nums lining-nums}
.quick-scoreboard .blue .score-value,.quick-scoreboard .blue .net-score{color:#062547}
.quick-scoreboard .red .score-value,.quick-scoreboard .red .net-score{color:#500c19}
.quick-scoreboard .score-value[data-digits="3"],.quick-scoreboard.net-display .net-score[data-digits="3"]{font-size:min(20cqw,48cqh,270px)}
