.score-presets{display:grid;grid-template-rows:auto minmax(0,1fr);gap:6px;min-width:0;min-height:0;height:100%;padding:7px;border:1px solid #61676f;border-radius:11px;background:#1f2123;overflow:hidden}.score-presets[hidden]{display:none}.score-presets h3{margin:0;color:#b5e4f2;font:750 .8rem/1.15 system-ui,sans-serif}.score-presets-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:6px;min-height:0;min-width:0}
#gameScreen .score-presets button,#leaguePlay .score-presets button,#playing .score-presets button{width:100%;height:100%;min-height:0;min-width:0;padding:3px;border:1px solid #46879b;border-radius:9px;background:linear-gradient(145deg,#264954,#25282b);color:#fff;font:800 clamp(1.05rem,3dvh,1.9rem)/1 system-ui,sans-serif;font-variant-numeric:tabular-nums;touch-action:manipulation;cursor:pointer}
#gameScreen .score-presets button:active,#leaguePlay .score-presets button:active,#playing .score-presets button:active{background:#31839c;border-color:#a7e4f6}.score-presets button:disabled{opacity:.4;cursor:default}.score-presets button:focus-visible{outline:2px solid #c1ecf9;outline-offset:-3px}
#gameScreen .input-area:has(.score-presets:not([hidden])){grid-template-columns:minmax(0,2fr) minmax(0,1fr);column-gap:8px}#gameScreen .score-presets{grid-area:1/2}
#leaguePlay #gamePanel{grid-template-columns:minmax(0,2fr) minmax(0,1fr);grid-template-areas:"title title" "players players" "entry entry" "status status" "keypad presets" "footer footer";column-gap:8px}#leaguePlay #gamePanel>.score-presets{grid-area:presets}
#playing .controls:has(.score-presets){grid-template-columns:minmax(0,2fr) minmax(0,1fr);column-gap:8px}#playing .controls:has(.score-presets)>:not(.keypad):not(.score-presets){grid-column:1/-1}#playing .controls .keypad{grid-column:1}#playing .controls .score-presets{grid-column:2;grid-row:4}
.replay-readonly .score-presets{pointer-events:none;opacity:.4}
@media(max-width:650px){.score-presets{padding:4px;gap:4px}.score-presets h3{font-size:.65rem}.score-presets-grid{gap:4px}#gameScreen .score-presets button,#leaguePlay .score-presets button,#playing .score-presets button{font-size:clamp(.85rem,2.6dvh,1.2rem);border-radius:7px}#gameScreen .input-area:has(.score-presets:not([hidden])),#leaguePlay #gamePanel,#playing .controls:has(.score-presets){column-gap:5px}}
