/* ============= SLV2 Quiz -- modern, elegant, brand-consistent ============= */

.slv2q-wrap { max-width: 640px; margin: 24px auto; }

.slv2q-box {
    position: relative;
    padding: 26px 24px;
    background: linear-gradient(180deg, #161b22 0%, #12161c 100%);
    border: 1px solid #262c36;
    border-radius: 16px;
    color: #e6edf3;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.slv2q-kicker {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #60a5fa;
    background: rgba(59,130,246,.12);
    border: 1px solid rgba(59,130,246,.25);
    border-radius: 20px;
    padding: 3px 10px;
    margin-bottom: 12px;
}

.slv2q-question { font-size: 1.08rem; font-weight: 650; line-height: 1.4; margin: 0 0 16px; }

.slv2q-options { display: flex; flex-direction: column; gap: 9px; }
.slv2q-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #1c222c;
    border: 1px solid #2c333e;
    border-radius: 10px;
    color: #e6edf3;
    text-align: left;
    cursor: pointer;
    font-size: .93rem;
    transition: background .15s ease, border-color .15s ease, transform .08s ease;
}
.slv2q-option:hover:not(:disabled) { background: #232a35; border-color: #3b82f6; transform: translateY(-1px); }
.slv2q-option:active:not(:disabled) { transform: translateY(0); }
.slv2q-option:disabled { cursor: default; }

.slv2q-opt-letter {
    flex: none;
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    background: #2c333e;
    border-radius: 6px;
    font-size: .75rem;
    font-weight: 700;
    color: #9aa4b2;
}
.slv2q-opt-text { flex: 1; }

.slv2q-option.slv2q-correct { background: rgba(34,197,94,.16); border-color: #22c55e; }
.slv2q-option.slv2q-correct .slv2q-opt-letter { background: #22c55e; color: #08130c; }
.slv2q-option.slv2q-wrong   { background: rgba(239,68,68,.16); border-color: #ef4444; }
.slv2q-option.slv2q-wrong .slv2q-opt-letter { background: #ef4444; color: #200404; }

.slv2q-status { margin-top: 14px; font-size: .84rem; color: #8b949e; min-height: 1.2em; }

.slv2q-explanation {
    margin-top: 10px;
    padding: 12px 14px;
    background: rgba(96,165,250,.08);
    border-left: 3px solid #60a5fa;
    border-radius: 6px;
    font-size: .85rem;
    color: #c8d3e0;
    line-height: 1.5;
}

.slv2q-continue {
    margin-top: 18px;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 650;
    font-size: .95rem;
    cursor: pointer;
    transition: filter .15s ease;
}
.slv2q-continue:hover:not(:disabled) { filter: brightness(1.08); }
.slv2q-continue:disabled { opacity: .5; cursor: not-allowed; filter: none; }

.slv2q-score { margin-top: 16px; font-weight: 650; text-align: center; font-size: 1.02rem; }

.slv2q-lock-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,13,18,.97);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}
.slv2q-lock-msg {
    color: #e6edf3;
    font-size: 1.1rem;
    font-weight: 650;
    max-width: 380px;
    line-height: 1.5;
}

/* ---------- Sticky progress pill (Safelink + Mega) ---------- */
.slv2-sticky-pill {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border-radius: 999px;
    padding: 9px 16px;
    box-shadow: 0 8px 24px rgba(37,99,235,.35);
    font-family: system-ui, -apple-system, sans-serif;
    max-width: 92vw;
    white-space: nowrap;
}
.slv2-pill-step {
    font-weight: 800;
    font-size: .82rem;
    background: rgba(255,255,255,.18);
    border-radius: 999px;
    padding: 3px 9px;
}
.slv2-pill-sub { font-size: .82rem; font-weight: 600; }
.slv2-pill-brand {
    font-size: .66rem;
    opacity: .8;
    border-left: 1px solid rgba(255,255,255,.3);
    padding-left: 9px;
    margin-left: 2px;
}
@media (max-width: 480px) {
    .slv2-pill-sub { display: none; }
}
