/* v18.31.0 — shared timing controls */
#clockBox #stClockModeLabel{display:block;color:#c6d5eb;font-weight:650;font-size:.72rem;margin-top:3px}
#clockBox #stClockSetup[hidden]{display:none!important}
.stTimeModal[hidden]{display:none!important}.stTimeModal{position:fixed;inset:0;background:rgba(4,20,41,.78);z-index:160000;display:grid;place-items:center;padding:16px;padding-bottom:calc(16px + env(safe-area-inset-bottom))}
.stTimeCard{background:white;color:#152f4b;border-radius:16px;box-shadow:0 18px 65px #0008;width:min(94vw,430px);max-height:85dvh;overflow:auto;padding:24px}
.stTimeCard h2{margin:0 0 8px}.stTimeCard input{min-height:48px;width:100%;font:inherit;padding:10px;border-radius:9px;border:1px solid #a7bacb}.stTimeCard .stTimeActions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.stTimeCard button{min-height:44px}.stTimeCard p{color:#536678}.stTimeCard .stTimeError{color:#a01b26;font-weight:700}
.v12HudSetClock{border:1px solid #ffcf73;background:#fff4dc;color:#102f45;font-weight:800;padding:5px 8px;border-radius:7px;min-height:32px;font-size:12px;cursor:pointer}
#v11veil .stTimeChoice{display:flex;gap:10px;align-items:flex-start;border:1px solid #c5d6e6;border-radius:12px;padding:10px;margin:9px 0;background:#fff}
#v11veil .stTimeChoice input{min-width:19px;min-height:19px;margin-top:3px}
#v11veil .stTimeChoice strong{display:block;color:#183d5b}
#v11veil .stTimeChoice small{display:block;line-height:1.35;margin-top:4px;color:#586f80}
@media(max-width:580px){#clockBox{flex-wrap:wrap}.clock-actions{flex-wrap:wrap!important}.clock-actions .btn{min-height:40px}.stTimeCard{padding:16px}}

/* v18.31.1 — compact, correctly aligned wizard radio cards. The legacy generic
   input rule gives radio inputs width:100%; reset it with stronger specificity. */
#v11veil .stTimeChoices{display:grid;gap:8px;margin:10px 0 16px}
#v11veil label.stTimeChoice{display:grid!important;grid-template-columns:22px minmax(0,1fr);align-items:center;column-gap:12px;min-height:66px;margin:0;padding:11px 14px;border:1.5px solid #c7d7e5;border-radius:11px;background:#fff;cursor:pointer;font-weight:400}
#v11veil label.stTimeChoice:has(input:checked){border-color:#087d86;background:#ebf8f7;box-shadow:0 0 0 1px #087d86}
#v11veil label.stTimeChoice:focus-within{outline:2px solid #1b8caa;outline-offset:2px}
#v11veil label.stTimeChoice input[type="radio"]{appearance:auto!important;-webkit-appearance:radio!important;display:block!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;max-width:20px!important;max-height:20px!important;margin:0!important;padding:0!important;flex:none!important;position:static!important;accent-color:#087b86;border:0!important;box-shadow:none!important;outline-offset:3px;cursor:pointer}
#v11veil label.stTimeChoice span{display:block!important;min-width:0;text-align:left}
#v11veil label.stTimeChoice strong{font-size:15px;font-weight:800;line-height:1.3;color:#173951}
#v11veil label.stTimeChoice small{font-size:12.5px;line-height:1.35;display:block;margin:3px 0 0;color:#50677a}
@media(max-width:560px){#v11veil label.stTimeChoice{padding:10px 11px;min-height:65px;column-gap:10px}#v11veil label.stTimeChoice strong{font-size:14px}}
/* A single LIVE GAME panel shared by Classic and Court Tracker. */
#stLiveGamePanel{margin:10px 0 12px;padding:14px;border:1px solid #bad3e1;border-radius:15px;background:linear-gradient(165deg,#f7fbfe,#edf5f9);color:#123149;box-shadow:0 2px 9px #17374d12}
#stLiveGamePanel[hidden]{display:none!important}
#stLiveGamePanel #v180GameBar{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit}
#stLiveGamePanel .stLiveHeading{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:10px}
#stLiveGamePanel .stLiveEyebrow{font-weight:850;letter-spacing:.065em;font-size:12px;color:#087d80}
#stLiveGamePanel .stLiveScore{display:flex;gap:8px 11px;align-items:center;flex-wrap:wrap;margin-top:5px}
#stLiveGamePanel .stLiveScore span{font-size:14px;font-weight:700;max-width:180px;overflow-wrap:anywhere}
#stLiveGamePanel .stLiveScore strong{font-variant-numeric:tabular-nums;font-size:22px;line-height:1.1;color:#102f4c;white-space:nowrap}
#stLiveGamePanel .stLiveStage{font-size:11px;font-weight:800;letter-spacing:.025em;background:#e1f3ef;border:1px solid #b6d6cf;border-radius:999px;padding:7px 10px;color:#1a675d}
#stLiveGamePanel[data-final="true"] .stLiveStage{background:#e7edf2;color:#485b68;border-color:#c6d3dc}
#stLiveGamePanel .stLivePeriodHeading{display:flex;gap:6px 12px;align-items:baseline;flex-wrap:wrap;margin:0 0 8px}
#stLiveGamePanel .stLivePeriodHeading strong{font-size:14px;color:#183d55}
#stLiveGamePanel .stLivePeriodHeading span{color:#536c80;font-size:12px;line-height:1.35}
#stLiveGamePanel .v180Periods{flex:initial;width:100%;gap:6px;display:flex;flex-wrap:wrap}
#stLiveGamePanel .v180Period{min-height:41px;min-width:51px;padding:9px 14px;border-radius:9px;font-size:14px}
#stLiveGamePanel .v180Period[aria-pressed="true"]{border-color:#0d536c;background:#0d536c;color:white;box-shadow:none}
#stLiveGamePanel .v180Period:focus-visible,#stLiveGamePanel button:focus-visible{outline:3px solid #10a6a3;outline-offset:2px}
#stLiveGamePanel #clockBox{margin:12px 0 10px;padding:10px 13px;position:static;top:auto;z-index:auto}
#stLiveGamePanel #clockBox[hidden],#stLiveGamePanel[data-final="true"] #clockBox{display:none!important}
body.v12CourtActive #stLiveGamePanel #clockBox:not([hidden]){display:flex!important}
body.v12CourtActive #stLiveGamePanel[data-final="true"] #clockBox{display:none!important}
#stLiveActions .stLiveManagement{border-top:1px solid #d1e0e8;padding-top:10px;margin-top:10px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
#stLiveActions button{border-radius:9px;min-height:44px;padding:9px 13px;font-size:13px;font-weight:800;cursor:pointer;touch-action:manipulation}
#stLiveActions .stLivePeriodAction{background:#0b5972;border:1px solid #0b5972;color:#fff}
#stLiveActions .stLiveFinish{background:#fff3e3;border:1px solid #d59e5c;color:#79420e}
#stLiveActions .stLiveReview{background:#0b5972;border:1px solid #0b5972;color:white}
#stLiveActions .stLiveSecondary{border:1px solid #b8cedb;background:#fff;color:#193a53}
#stLiveActions .stLiveNote{margin:7px 0 0;color:#526879;font-size:12px}
#stLiveActions .v180Menu{margin-top:10px;background:white;border:1px solid #bacee0;border-radius:11px;padding:12px}
#stLiveActions .v180Menu[hidden]{display:none!important}
#stLiveActions .v180MenuActions{display:flex;flex-wrap:wrap;gap:7px;margin:9px 0 0}
#stLiveActions .v180MenuActions .btn{font-size:12px;font-weight:750;min-height:42px}
#stCourtFinish{border:1px solid #ce9c63;background:#fff2e2!important;color:#6b3811!important;font-weight:800}
#stCourtFinish[hidden]{display:none!important}
@media(max-width:650px){#stLiveGamePanel{padding:11px;margin:8px 0 10px}#stLiveGamePanel .stLiveScore strong{font-size:20px}#stLiveGamePanel .stLiveStage{font-size:10px}#stLiveGamePanel .stLiveScore span{font-size:12px;max-width:118px}#stLiveActions .stLiveManagement{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}#stLiveActions .stLivePeriodAction,#stLiveActions .stLiveFinish{font-size:14px;min-height:48px}#stLiveActions button{padding:8px;min-width:0}#stLiveGamePanel #clockBox{flex-wrap:wrap;gap:9px;position:static}#stLiveGamePanel #clockBox .clock-actions{width:100%;display:flex;flex-wrap:wrap}#stLiveGamePanel #clockBox .clock-actions .btn{flex:1 1 auto;min-width:66px;font-size:12px;min-height:42px}#stLiveGamePanel .stLivePeriodHeading{align-items:flex-start}}
@media(max-width:410px){#stLiveGamePanel .v180Period{min-width:44px;padding:8px 10px}#stLiveGamePanel .stLiveScore{gap:5px}#stLiveActions .stLiveManagement{grid-template-columns:1fr 1fr}#stLiveGamePanel .stLiveHeading{align-items:flex-start}}
