.parasitology-slide-page .container {
    max-width: 1480px;
}

.parasitology-slide-page .mcq-stats {
    border-color: rgba(137, 224, 255, 0.2);
    background:
        radial-gradient(circle at 88% 12%, rgba(115, 220, 255, 0.1), transparent 28%),
        rgba(8, 18, 40, 0.48);
}

.parasitology-slide-page .card {
    min-height: 780px;
}

.parasitology-slide-page #quiz[data-layout="focus"] .card {
    width: min(100%, 1120px);
}

.slide-question-figure {
    margin: 0 0 16px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(5, 13, 26, 0.74);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    cursor: zoom-in;
}

.slide-question-figure img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 360px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.96);
    margin: 0 auto;
}

.slide-question-figure figcaption {
    padding: 10px 14px 14px;
    color: rgba(232, 241, 255, 0.72);
    font-size: 13px;
    line-height: 1.5;
}

.slide-answer-summary {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(240, 245, 255, 0.84);
    font-size: 14px;
    line-height: 1.6;
}

.slide-answer-summary strong {
    color: #f6fbff;
}

.slide-empty-note {
    margin-top: 14px;
    color: rgba(232, 241, 255, 0.68);
    font-size: 14px;
}

.answer-choice-full {
    display: block;
}

.typed-answer-panel {
    margin-top: 8px;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.typed-answer-label {
    display: block;
    margin: 0 0 6px;
    color: rgba(240, 246, 255, 0.9);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.typed-answer-note {
    margin: 0 0 12px;
    color: rgba(228, 238, 255, 0.72);
    font-size: 13px;
    line-height: 1.5;
}

.typed-answer-form {
    display: grid;
    gap: 10px;
}

.typed-answer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.typed-answer-field {
    display: grid;
    gap: 6px;
}

.typed-answer-field-label {
    color: rgba(230, 240, 255, 0.86);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.typed-answer-input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(7, 16, 32, 0.72);
    color: #f3f8ff;
    font: inherit;
}

.typed-answer-input::placeholder {
    color: rgba(210, 224, 246, 0.46);
}

.typed-answer-input:focus {
    outline: none;
    border-color: rgba(126, 198, 255, 0.54);
    box-shadow: 0 0 0 3px rgba(126, 198, 255, 0.16);
}

.typed-answer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.typed-answer-button {
    padding: 10px 16px;
    border: 1px solid rgba(126, 198, 255, 0.28);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(100, 171, 255, 0.26), rgba(92, 229, 255, 0.18));
    color: #eef7ff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.typed-answer-button:hover,
.typed-answer-button:focus-visible {
    outline: none;
    border-color: rgba(126, 198, 255, 0.46);
    background: linear-gradient(135deg, rgba(112, 184, 255, 0.34), rgba(106, 236, 255, 0.24));
}

.typed-answer-button-secondary {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
}

.typed-answer-button-secondary:hover,
.typed-answer-button-secondary:focus-visible {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
}

.typed-answer-feedback {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    line-height: 1.6;
}

.typed-answer-feedback strong {
    color: #f8fbff;
}

.typed-answer-feedback[data-state="correct"] {
    border-color: rgba(112, 229, 174, 0.34);
    background: rgba(55, 152, 116, 0.18);
    color: rgba(229, 255, 244, 0.9);
}

.typed-answer-feedback[data-state="almost"] {
    border-color: rgba(255, 208, 126, 0.34);
    background: rgba(171, 112, 39, 0.18);
    color: rgba(255, 238, 208, 0.92);
}

.typed-answer-feedback[data-state="incorrect"],
.typed-answer-feedback[data-state="empty"] {
    border-color: rgba(255, 145, 145, 0.28);
    background: rgba(151, 60, 80, 0.18);
    color: rgba(255, 228, 235, 0.9);
}

@media (max-width: 980px) {
    .parasitology-slide-page .card {
        min-height: 720px;
    }

    .slide-question-figure img {
        max-height: 300px;
    }

    .typed-answer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .parasitology-slide-page .card {
        min-height: 660px;
    }

    .slide-question-figure {
        border-radius: 20px;
    }

    .slide-question-figure img {
        max-height: 240px;
    }

    .typed-answer-actions {
        flex-direction: column;
    }

    .typed-answer-button {
        width: 100%;
    }

    .typed-answer-grid {
        grid-template-columns: 1fr;
    }
}
