/* live-match-2-v58.css */
.ccl2-toolbar{position:sticky;top:0;z-index:18;background:#101a17f5;border:1px solid #caa45b64;border-radius:12px;padding:12px;margin:0 0 14px;box-shadow:0 8px 22px #0007;backdrop-filter:blur(10px)}
.ccl2-head{display:flex;gap:7px 16px;align-items:center;flex-wrap:wrap;margin-bottom:9px}.ccl2-head strong{font-size:1.05rem;color:#f1dfb1}.ccl2-kicker{font-size:.65rem;font-weight:800;letter-spacing:.12em;color:#c9a662}.ccl2-head small{color:#bec9bf}.ccl2-actions{display:flex;gap:6px;flex-wrap:wrap}.ccl2-actions button{font-size:.75rem;min-height:34px;padding:7px 10px}.ccl2-actions button:focus-visible{outline:2px solid #e7c277;outline-offset:2px}
#liveMatchCenter section,#clockPanel,#gamecastFeed{scroll-margin-top:110px}
@media(max-width:700px){.ccl2-toolbar{top:0;padding:9px}.ccl2-actions{display:flex;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}.ccl2-actions button{white-space:nowrap;flex:none}.ccl2-head strong{width:100%}}


/* live-match-2-v59.css */
.ccl2-modebar{display:flex;flex-wrap:wrap;gap:6px 15px;align-items:center;border-bottom:1px solid #bd9b5155;margin:0 0 14px;padding:7px 0 12px}.ccl2-mode-label{font-size:.7rem;letter-spacing:.1em;color:#d9b569;font-weight:800}.ccl2-modebar>div{display:flex;flex-wrap:wrap;gap:5px}.ccl2-modebar button{padding:8px 11px;font-size:.8rem;min-height:36px}.ccl2-modebar button.ccl2-selected{background:#d4ac68;color:#131711;border-color:#d4ac68;font-weight:800}.ccl2-modebar p{width:100%;font-size:.8rem;margin:0;color:#b3bdb1}
/* Show only the relevant workflow panels. Elements remain mounted, so existing event listeners work unchanged. */
#liveMatchCenter[data-ccl2-mode="setup"] #clockPanel,#liveMatchCenter[data-ccl2-mode="setup"] #gamecastPanel,#liveMatchCenter[data-ccl2-mode="setup"] #cclMatchEnding,#liveMatchCenter[data-ccl2-mode="setup"] #cclStallingPanel{display:none!important}
#liveMatchCenter[data-ccl2-mode="play"] #cclInducementsPanel,#liveMatchCenter[data-ccl2-mode="play"] #cclPregameAgreement,#liveMatchCenter[data-ccl2-mode="play"] #cclMatchEnding{display:none!important}
#liveMatchCenter[data-ccl2-mode="wrap"] #cclInducementsPanel,#liveMatchCenter[data-ccl2-mode="wrap"] #clockPanel,#liveMatchCenter[data-ccl2-mode="wrap"] #cclPregameAgreement{display:none!important}
/* The final-whistle controls are INSIDE #gamecastPanel. Never hide their ancestor. */
#liveMatchCenter[data-ccl2-mode="wrap"] #gamecastPanel{display:block!important}
#liveMatchCenter[data-ccl2-mode="wrap"] #gamecastPanel > :not(#cclMatchEnding){display:none!important}
#liveMatchCenter[data-ccl2-mode="wrap"] #cclMatchEnding{display:block!important;scroll-margin-top:85px}
#liveMatchCenter[data-ccl2-mode="wrap"] #cclStallingPanel{display:none!important}
@media(max-width:700px){.ccl2-modebar>div{overflow-x:auto;flex-wrap:nowrap;width:100%}.ccl2-modebar button{white-space:nowrap;flex:none}}

/* Keep the completed inducement section out of the live pitch mode,
   while preserving its DOM and read-only transaction history. */
#liveMatchCenter[data-ccl2-mode="play"] #cclGamecastInducements,
#liveMatchCenter[data-ccl2-mode="wrap"] #cclGamecastInducements{display:none!important}

/* Explicit new drive state after a score; backend rejects new actions during kickoff. */
.ccl-next-drive-notice{margin:0 0 16px;padding:16px 18px;border-radius:10px;border:2px solid #efc171;background:linear-gradient(120deg,#3b2d1d,#183327);color:#ffe3a8;font-size:1rem;font-weight:800;line-height:1.55}
.ccl-next-drive-notice[hidden]{display:none!important}


/* live-match-2-v60.css */
/* Package 20 — pitch-adjacent action deck; legacy selectors retained for event handlers. */
#cclQuickEvents.ccl2-action-deck{margin:12px 0 20px;border:1px solid #867345;border-radius:12px;background:#101d17;padding:clamp(12px,2.4vw,19px)}
#cclQuickEvents.ccl2-action-deck>h3{margin:0 0 5px;font-size:1.05rem}
#cclQuickEvents.ccl2-action-deck>p.hint{margin:0 0 12px;font-size:.85rem}
#cclQuickEvents #cclEventCategory,#cclQuickEvents>label[for="cclEventCategory"],#cclEvent_spp label:has(>#sppAction){display:none!important}
.ccl2-event-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:10px 0}
.ccl2-event-tabs .ccl2-action-button{font-size:.83rem;line-height:1.3;min-height:56px;padding:8px 7px;white-space:normal;display:flex;align-items:center;justify-content:center;text-align:center;border-radius:9px}
.ccl2-event-tabs .ccl2-action-button.ccl2-selected{background:#cda75d;color:#161c16;font-weight:800;border-color:#e5c47e;box-shadow:0 0 0 2px #d5b26a55}
#cclQuickEvents:not(.ccl2-form-open) .ccl-event-form{display:none!important}
#cclQuickEvents.ccl2-action-deck .ccl-event-form:not([hidden]){margin-top:13px;padding:15px;border:1px solid #bda15a70;border-radius:9px;background:#19231d}
#cclQuickEvents .ccl-event-form[hidden]{display:none!important}
.ccl2-help{font-size:.82rem;line-height:1.5;color:#c7d0c4;border-left:3px solid #c9a45e;padding-left:12px;margin:9px 0}
.ccl2-attention{outline:2px solid #e1ac48;outline-offset:3px}
@media(max-width:800px){.ccl2-event-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){.ccl2-event-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.ccl2-event-tabs .ccl2-action-button{min-height:52px;font-size:.8rem}#cclQuickEvents.ccl2-action-deck{padding:11px}}

