/* ============================================
   KSP LIVE-OR-NEXT CHOICE (shared/event-choice.js)
   Shown only from 1pm to 1:30pm CT on Day 1.
   Light by default (checkout card); data-theme="dark" for the opt-in modal.
   ============================================ */
.ksp-event-choice-slot {
    --kec-bg: #ffffff;
    --kec-border: #d5d2ca;
    --kec-text: #1c1919;
    --kec-muted: #555555;
    --kec-accent: #c2a859;
    --kec-selected-bg: rgba(194, 168, 89, 0.10);
    --kec-note-bg: rgba(194, 168, 89, 0.12);
    --kec-live: #d0352b;
    margin: 0 0 20px;
}

.ksp-event-choice-slot[hidden] { display: none; }

.ksp-event-choice-slot[data-theme="dark"] {
    --kec-bg: #0e0e0e;
    --kec-border: #333333;
    --kec-text: #ffffff;
    --kec-muted: #c9c9c9;
    --kec-selected-bg: rgba(194, 168, 89, 0.14);
    --kec-note-bg: rgba(194, 168, 89, 0.16);
    --kec-live: #ff5a4e;
    margin: 4px 0 2px;
}

.ksp-event-choice {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.ksp-event-choice-legend {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--kec-text);
    padding: 0;
    margin: 0 0 10px;
}

.ksp-event-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.ksp-event-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    min-height: 44px;
    background: var(--kec-bg);
    border: 1.5px solid var(--kec-border);
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: border-color 150ms ease, background-color 150ms ease;
}

.ksp-event-option:hover { border-color: var(--kec-accent); }

.ksp-event-option.is-selected,
.ksp-event-option:has(input:checked) {
    border-color: var(--kec-accent);
    background: var(--kec-selected-bg);
}

.ksp-event-option:focus-within {
    outline: 2px solid var(--kec-accent);
    outline-offset: 2px;
}

/* Scoped under the slot so page form styles (e.g. .modal-form input) never
   restyle the radios. */
.ksp-event-choice-slot .ksp-event-option input[type="radio"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    padding: 0;
    font-size: inherit;
    border-radius: 50%;
    accent-color: var(--kec-accent);
}

.ksp-event-option-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ksp-event-option-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--kec-text);
}

.ksp-event-option-detail {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 1.45;
    color: var(--kec-muted);
}

.ksp-event-live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 7px 1px 0;
    border-radius: 50%;
    background: var(--kec-live);
    vertical-align: middle;
}

.ksp-event-choice:disabled .ksp-event-option {
    cursor: progress;
    opacity: 0.7;
}

.ksp-event-note {
    margin: 10px 0 0;
    padding: 10px 12px;
    border-left: 3px solid var(--kec-accent);
    border-radius: 4px;
    background: var(--kec-note-bg);
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: var(--kec-text);
}

.ksp-event-note[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
    .ksp-event-option { transition: none; }
}
