/* Focused operator controls, independent of sporting rules and PWA viewport logic. */
#scorePicker { position: fixed; inset: 0; margin: auto; width: min(940px, calc(100% - 28px)); max-height: calc(100dvh - 28px); box-sizing: border-box; overflow: auto; overscroll-behavior: contain; border: 1px solid #dce9f3; border-radius: 24px; padding: 26px; background: #fff; color: #102840; box-shadow: 0 24px 90px #071d3f45; }
#scorePicker::backdrop { background: #091d38bd; }
.picker-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.picker-head img { width: 138px; height: auto; }
.picker-eyebrow { color: #0876bd; text-transform: uppercase; font-weight: 800; letter-spacing: 1px; margin: 20px 0 6px; }
#scorePickerSide { overflow-wrap: anywhere; font-size: clamp(21px,3vw,29px); margin: 0 0 15px; }
#scorePickerTitle { margin: 0 0 6px; }
#scorePickerCurrent { margin: 0 0 18px; }
.score-picker-grid { display: grid; grid-template-columns: repeat(10,minmax(0,1fr)); gap: 8px; }
.score-picker-grid button { min-width: 0; min-height: 62px; border: 1px solid #c9dfee; border-radius: 12px; background: #f2f8fd; color: #133553; font: inherit; font-size: 25px; font-weight: 800; cursor: pointer; touch-action: manipulation; }
.score-picker-grid button:hover { background: #deeffb; border-color: #0876bd; }
.score-picker-grid button[aria-pressed="true"] { background: #0876bd; color: #fff; border-color: #0876bd; }
#scorePicker :focus-visible { outline: 3px solid #0876bd; outline-offset: 2px; }
#scorePickerClose { min-height: 46px; }
#scorePickerError { color: #ad263b; font-weight: 650; line-height: 1.5; }
#scoreManual summary { min-height: 46px; display: flex; align-items: center; cursor: pointer; color: #336080; font-weight: 650; }
#scoreManualForm { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
#scoreManualInput { width: 110px; min-height: 48px; font-size: 20px; }
.final-detail-toggle { display: flex; align-items: center; gap: 12px; min-height: 52px; width: fit-content; margin: 12px 0 20px; padding: 8px 14px; border: 1px solid #d6e5f1; border-radius: 12px; background: white; cursor: pointer; font-weight: 700; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; }
.final-detail-toggle input[type="checkbox"] { width: 22px; height: 22px; min-width: 22px; min-height: 0; margin: 0; padding: 0; display: inline-block; flex: 0 0 22px; background: transparent; box-shadow: none; accent-color: #0876bd; -webkit-tap-highlight-color: transparent; }
.final-detail-toggle input[type="checkbox"]:focus { box-shadow: none; }
.final-detail-toggle input[type="checkbox"]:focus-visible { outline: 3px solid rgba(8,118,189,.32); outline-offset: 3px; }
.final-detail-stats { display: block; font-size: 13px; color: #4e6680; font-weight: 550; margin-top: 6px; font-variant-numeric: tabular-nums; white-space: normal; }
#finalDetailsNote { margin: 0 0 20px; font-size: 13px; line-height: 1.5; }
#stopRoundTimerBtn { margin-bottom: 12px; min-height: 46px; font-size: 13px; }
#stopRoundTimerBtn[hidden], #manualTimingNote[hidden], #finalDetailsNote[hidden] { display: none !important; }
@media(max-width: 650px) { #scorePicker { padding: 18px; } .score-picker-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 7px; } .score-picker-grid button { min-height: 56px; font-size: 22px; } }
@media(orientation: landscape) and (max-height: 650px) { .picker-head img { width: 110px; } .picker-eyebrow { margin-top: 10px; } #scorePickerSide { margin-bottom: 8px; } }
