.question-top__nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 8px 16px;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-pill);
    background: var(--color-surface);
    color: var(--color-text-primary);
    font: inherit;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    touch-action: manipulation;
}

.back-btn__arrow {
    font-size: 1.15em;
    line-height: 1;
}

.back-btn:active {
    background: var(--color-surface-muted);
}

.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: 44px;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-pill);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    box-shadow: var(--shadow-soft);
}

.meta-chip strong {
    color: var(--color-text-primary);
    font-weight: var(--font-weight-bold);
}

.type-badge {
    display: inline-flex;
    align-items: center;
    align-self: start;
    width: fit-content;
    min-height: 40px;
    padding: var(--space-2xs) var(--space-md);
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--color-accent) 14%, white);
    color: var(--color-accent);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.02em;
}

.progress {
    width: 100%;
}

.progress__track {
    width: 100%;
    height: 10px;
    border-radius: var(--radius-pill);
    background: var(--color-surface-muted);
    overflow: hidden;
}

.progress__fill {
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        var(--color-accent),
        color-mix(in srgb, var(--color-accent) 65%, var(--color-primary))
    );
    transition: width var(--transition-normal);
}

.answer-grid {
    display: grid;
    gap: var(--space-md);
    width: 100%;
}

.answer-grid--tf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.answer-grid--mc {
    grid-template-columns: 1fr;
}

.answer-btn {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    width: 100%;
    min-height: var(--touch-min-height);
    padding: var(--space-md) var(--space-lg);
    text-align: start;
    border-radius: var(--radius-md);
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    transition:
        transform var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        background-color var(--transition-fast);
}

.answer-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: var(--color-border-strong);
    box-shadow: var(--shadow-card);
}

.answer-btn:active:not(:disabled) {
    transform: translateY(0);
}

.answer-btn:disabled {
    cursor: default;
    opacity: 0.72;
}

.answer-btn__marker {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--color-surface-soft);
    color: var(--color-primary);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
}

.answer-btn__label {
    flex: 1;
    font-size: clamp(1.15rem, 1.6vw, 1.55rem);
    line-height: var(--line-normal);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
}

.answer-btn--tf .answer-btn__label {
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-weight: var(--font-weight-bold);
    text-align: center;
}

.answer-btn--tf {
    justify-content: center;
    min-height: 120px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: min(420px, 80vw);
    min-height: 92px;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    background: var(--color-primary);
    color: var(--color-text-inverse);
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-weight: var(--font-weight-bold);
    box-shadow: var(--shadow-elevated);
    touch-action: manipulation;
    cursor: pointer;
    position: relative;
    z-index: 2;
    -webkit-user-select: none;
    transition:
        transform var(--transition-fast),
        background-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.cta-btn:hover {
    transform: translateY(-2px);
    background: color-mix(in srgb, var(--color-primary) 88%, black);
}

.cta-btn:active {
    transform: translateY(0);
}

.feedback-icon {
    display: grid;
    place-items: center;
    width: clamp(84px, 10vw, 120px);
    height: clamp(84px, 10vw, 120px);
    border-radius: 50%;
    font-size: clamp(2.5rem, 4vw, 3.75rem);
    font-weight: var(--font-weight-bold);
    line-height: 1;
    animation: scale-in var(--transition-normal);
}

.feedback-icon--success {
    background: color-mix(in srgb, var(--color-success) 16%, white);
    color: var(--color-success);
    border: 3px solid var(--color-success);
}

.feedback-icon--error {
    background: color-mix(in srgb, var(--color-error) 14%, white);
    color: var(--color-error);
    border: 3px solid var(--color-error);
}

.panel {
    width: min(100%, var(--content-max-width));
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: clamp(var(--space-lg), 3vw, var(--space-xxl));
}

.ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.ambient__shape {
    position: absolute;
    border-radius: 50%;
    background: var(--color-shape);
    animation: float-soft 10s ease-in-out infinite;
}

.ambient__shape--one {
    width: 34vw;
    height: 34vw;
    inset-block-start: -12vw;
    inset-inline-end: -10vw;
}

.ambient__shape--two {
    width: 22vw;
    height: 22vw;
    inset-block-end: -8vw;
    inset-inline-start: -6vw;
    animation-delay: 1.5s;
    background: var(--color-shape-strong);
}

.ambient__shape--three {
    width: 12vw;
    height: 12vw;
    inset-block-start: 42%;
    inset-inline-start: 8%;
    animation-delay: 0.8s;
}
