/* ============= SLV2 Quiz -- warm, colorful, "belongs in the article" ============= */

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

.slv2q-box {
    position: relative;
    padding: 26px 24px;
    background: #ffffff;
    border: 1px solid #e6e9f0;
    border-radius: 16px;
    color: #1f2430;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    box-shadow: 0 10px 28px rgba(30,41,80,.08);
}

.slv2q-kicker {
    display: inline-block;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #3b82f6);
    border-radius: 20px;
    padding: 4px 12px;
    margin-bottom: 12px;
}

.slv2q-heading { font-size: 1.25rem; font-weight: 800; margin: 0 0 6px; color: #14172b; }
.slv2q-description { font-size: .92rem; color: #555b6e; margin: 0 0 10px; line-height: 1.5; }
.slv2q-mode-subtitle { font-size: .82rem; color: #8a90a3; margin: 0 0 16px; }

.slv2q-progress {
    display: inline-block;
    font-size: .74rem;
    font-weight: 700;
    color: #4f46e5;
    background: #eef0ff;
    border-radius: 20px;
    padding: 3px 10px;
    margin-bottom: 14px;
}

.slv2q-question { font-size: 1.06rem; font-weight: 650; line-height: 1.4; margin: 0 0 16px; color: #14172b; }

.slv2q-options { display: flex; flex-direction: column; gap: 9px; }
.slv2q-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #f7f8fc;
    border: 1.5px solid #e6e9f0;
    border-radius: 10px;
    color: #1f2430;
    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: #eef0ff; border-color: #a5b4fc; 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: #e0e4f5;
    border-radius: 6px;
    font-size: .75rem;
    font-weight: 800;
    color: #4f46e5;
}
.slv2q-opt-text { flex: 1; }

.slv2q-option.slv2q-correct { background: #e9fbef; border-color: #22c55e; }
.slv2q-option.slv2q-correct .slv2q-opt-letter { background: #22c55e; color: #fff; }
.slv2q-option.slv2q-wrong   { background: #fdecec; border-color: #ef4444; }
.slv2q-option.slv2q-wrong .slv2q-opt-letter { background: #ef4444; color: #fff; }

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

.slv2q-explanation {
    margin-top: 10px;
    padding: 12px 14px;
    background: #eef2ff;
    border-left: 3px solid #6366f1;
    border-radius: 6px;
    font-size: .85rem;
    color: #33395a;
    line-height: 1.5;
}

.slv2q-next, .slv2q-continue {
    margin-top: 18px;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    transition: filter .15s ease;
}
.slv2q-next      { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.slv2q-continue  { background: linear-gradient(135deg, #6366f1, #3b82f6); }
.slv2q-next:hover, .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: 700; text-align: center; font-size: 1.05rem; color: #14172b; }

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

/* ---------- "Thanks for answering" ad-break heading ---------- */
.slv2q-ad-break-heading {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #33395a;
    margin: 6px 0 16px;
}

/* ---------- Mega Quiz header bar (stage + fun fact) ---------- */
.slv2q-mega-header {
    max-width: 640px;
    margin: 20px auto 0;
    padding: 14px 18px;
    background: linear-gradient(120deg, #6366f1, #8b5cf6 55%, #ec4899);
    border-radius: 14px;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    font-size: .82rem;
    font-weight: 650;
}
.slv2q-mega-stat {
    background: rgba(255,255,255,.18);
    border-radius: 20px;
    padding: 4px 11px;
}
.slv2q-mega-fact { flex-basis: 100%; opacity: .95; font-weight: 500; }

/* ---------- 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, #6366f1, #3b82f6);
    color: #fff;
    border-radius: 999px;
    padding: 9px 16px;
    box-shadow: 0 8px 24px rgba(79,70,229,.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,.2);
    border-radius: 999px;
    padding: 3px 9px;
    flex: none;
}
.slv2-pill-sub { font-size: .8rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.slv2-pill-brand {
    font-size: .66rem;
    opacity: .85;
    border-left: 1px solid rgba(255,255,255,.35);
    padding-left: 9px;
    margin-left: 2px;
    flex: none;
}
@media (max-width: 480px) {
    .slv2-pill-sub { max-width: 140px; }
}
