/* Quiz page (multiple_choice.html): lesson meta row, question, answer
   options and the right/wrong feedback, plus the Whack-a-Mole header,
   which shares the question style. Loaded after style.css, so it uses
   the tokens defined in style.css :root. */

.lesson-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 10px;
}

.lesson-meta-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.lesson-meta-count {
    flex-shrink: 0;
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
    color: var(--color-text-secondary);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.progress-track {
    height: 3px;
    background: var(--color-border);
    margin-bottom: 1.75rem;
}

.progress-fill {
    height: 100%;
    background: var(--color-accent);
}

.eyebrow {
    margin: 0 0 8px;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.eyebrow--success {
    color: var(--color-success);
}

/* Scales with screen width so one long word (e.g. Polish
   "semikonserwatywną?") still fits a phone line. */
.task-question {
    font-size: clamp(1.35rem, 6vw, 1.6rem);
    line-height: 1.2;
    margin: 0 0 1.75rem;
}

.task-question--long {
    font-size: 1.25rem;
    line-height: 1.25;
}

.verdict-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.2;
    margin: 0 0 6px;
}

.verdict-title--correct {
    color: var(--color-success);
}

.verdict-title--wrong {
    color: var(--color-danger);
}

.verdict-sub {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin: 0 0 1rem;
}

.answer-card {
    background: var(--color-success-bg);
    border: 1px solid var(--color-success-border);
    border-radius: var(--radius);
    padding: 12px 14px;
    margin-bottom: 1.5rem;
}

.answer-card .eyebrow {
    margin-bottom: 6px;
}

.answer-card-text {
    margin: 0;
    font-weight: 500;
}

.btn.btn-tall {
    height: auto;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
    white-space: normal;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 1.75rem;
}

.option-label {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background-color: var(--color-surface);
    line-height: 1.4;
    letter-spacing: 0.005em;
}

/* The radio itself is hidden visually but stays in the page, so keyboard
   and screen-reader users still get a real radio group. The letter badge
   and the card react to its state instead. */
.option-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.option-letter {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

.option-label:hover {
    border-color: var(--color-accent);
}

.option-label:has(input:checked) {
    background-color: var(--color-accent-bg);
    border-color: var(--color-accent);
}

.option-label input:checked + .option-letter {
    background: var(--color-accent);
    color: #fff;
}

.option-label:has(input:focus-visible) {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* ---- Whack-a-Mole header: the deck title reads as context, not a heading ---- */

.game-deck-title {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}
