/* Shared slide-in teaser between the answer controls and feedback. */
.fq-next-question-teaser {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transform: translateY(-6px);
    transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.38s ease,
                transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
                margin-top 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.fq-next-question-teaser.is-visible {
    max-height: 360px;
    opacity: 1;
    margin-top: 1.25rem;
    /* Leave room for the 1px hover lift inside the clipped slide-in wrapper. */
    padding-top: 2px;
    padding-bottom: 2px;
    transform: translateY(0);
}
.fq-next-question-teaser__card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.05rem 1.35rem;
    border-radius: 18px;
    background: var(--fq-related-questions-bg, linear-gradient(135deg, #fffefa 0%, #faf6e9 100%));
    border: 1.5px solid var(--fq-related-questions-accent, #e0a500);
    box-shadow: var(--fq-related-questions-shadow, 0 8px 30px rgba(224, 165, 0, .06));
    text-decoration: none;
    text-align: left;
    color: #1e293b;
    transition: background 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
}
.fq-next-question-teaser__card:hover,
.fq-next-question-teaser__card:focus-visible {
    background: var(--fq-related-questions-hover-bg, #fcf9ef);
    border-color: var(--fq-related-questions-accent, #e0a500);
    box-shadow: 0 10px 28px rgba(224, 165, 0, 0.14);
    transform: translateY(-1px);
}
.fq-next-question-teaser__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
}
.fq-next-question-teaser__category {
    display: block;
    color: var(--fq-color-text-muted);
    font-size: .6rem;
    font-weight: 400;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.fq-next-question-teaser__heading {
    display: block;
    font-size: .95rem;
    font-weight: 600;
    color: #b45309;
    line-height: 1.5;
    text-align: left;
}
.fq-next-question-teaser__percent {
    font-size: 1.6em;
    font-weight: 900;
    line-height: 1.1;
    white-space: nowrap;
}
.fq-next-question-teaser__stat {
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    background: rgba(245, 158, 11, 0.15);
    padding: 0.16rem 0.6rem;
    border-radius: 999px;
}
.fq-next-question-teaser__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.fq-next-question-teaser__question {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    text-align: left;
}
.fq-next-question-teaser__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-shrink: 0;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--fq-button-on-solid);
    background: var(--fq-button-confirm-bg);
    border: 1px solid var(--fq-button-confirm-bg);
    padding: 0.48rem 1.02rem;
    border-radius: var(--fq-button-compact-radius);
    transition: background 0.2s ease, color 0.2s ease;
}
.fq-next-question-teaser__card:hover .fq-next-question-teaser__cta {
    background: var(--fq-button-confirm-hover);
    border-color: var(--fq-button-confirm-hover);
    color: var(--fq-button-on-solid);
}
@media (max-width: 576px) {
    .fq-next-question-teaser__card {
        padding: 1rem 1.1rem;
        gap: 0.6rem;
    }
    .fq-next-question-teaser__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
    .fq-next-question-teaser__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
    }
}



.fq-next-question-teaser:not(.is-visible){visibility:hidden;pointer-events:none}
@media(prefers-reduced-motion:reduce){.fq-next-question-teaser,.fq-next-question-teaser__card{transition:none}}

/* Keep the next statement prominent after answering, matching the trivia teaser. */
.true-false-single-page .single-teaser-answered button{opacity:.65;transition:opacity .45s ease}
.single-teaser-feedback{opacity:.85;transition:opacity .45s ease}
.true-false-single-page .riddle-answer-box.single-teaser-feedback{background:var(--fq-color-surface-muted);border-color:var(--fq-color-border);color:var(--fq-color-text-muted)}

/* Match the statement teaser to the explanation panel beneath it. */
.true-false-single-page :is(.fq-next-question-teaser, .riddle-answer-box) {
    box-sizing: border-box;
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
}
