/* =========================================================
   GRADE 3 · LESSON 22
   BIG FINAL REVIEW
   PART 1 / 3
========================================================= */

@import url("../grade-2/grade-2-lesson-1.css");


/* =========================================================
   1. FINAL REVIEW PALETTE
========================================================= */

.final-review-body {
    --emerald-900: #205f54;
    --emerald-800: #287665;
    --emerald-700: #328f7b;
    --emerald-600: #3ca68f;
    --emerald-500: #55b8a1;
    --emerald-400: #75cbb7;
    --emerald-300: #9edccc;
    --emerald-200: #c9eee4;
    --emerald-100: #effaf7;

    --champion-gold: #e7b94d;
    --champion-gold-dark: #c99124;
    --champion-gold-light: #fff2c7;

    background:
        radial-gradient(
            circle at 10% 8%,
            rgba(122, 210, 187, 0.26),
            transparent 25%
        ),
        radial-gradient(
            circle at 90% 12%,
            rgba(140, 210, 220, 0.22),
            transparent 27%
        ),
        linear-gradient(
            180deg,
            #f5fcfa 0%,
            #fbfefd 45%,
            #f1faf7 100%
        );

    min-height: 100vh;
}


/* =========================================================
   2. BACKGROUND SHAPES
========================================================= */

.final-review-body .shape-one {
    background:
        linear-gradient(
            145deg,
            rgba(115, 203, 181, 0.31),
            rgba(207, 242, 233, 0.16)
        );
}

.final-review-body .shape-two {
    background:
        linear-gradient(
            145deg,
            rgba(107, 194, 178, 0.20),
            rgba(194, 236, 227, 0.10)
        );
}

.final-review-body .shape-three {
    background:
        linear-gradient(
            145deg,
            rgba(140, 216, 199, 0.18),
            rgba(227, 247, 241, 0.10)
        );
}

.final-review-body .floating-symbol {
    color: rgba(45, 133, 113, 0.14);
}


/* =========================================================
   3. HEADER
========================================================= */

.final-review-body .lesson-navigation {
    border:
        1px solid
        rgba(65, 157, 136, 0.12);

    box-shadow:
        0 15px 36px
        rgba(33, 104, 90, 0.08);
}

.final-review-body .lesson-logo {
    background:
        linear-gradient(
            135deg,
            #3ca68f,
            #67c8b1
        );

    box-shadow:
        0 8px 18px
        rgba(43, 139, 118, 0.18);
}

.final-review-body .chapter-number {
    color: #328f7b;
}

.final-review-body .chapter-name {
    color: #205f54;
}

.final-review-body .close-lesson-button {
    color: #287665;

    background:
        rgba(218, 244, 237, 0.72);
}

.final-review-body .close-lesson-button:hover {
    background: #caeee4;

    color: #205f54;
}


/* =========================================================
   4. LESSON PROGRESS
========================================================= */

.final-review-body .lesson-progress-track {
    background:
        rgba(91, 177, 156, 0.14);
}

.final-review-body .lesson-progress-fill {
    background:
        linear-gradient(
            90deg,
            #3ca68f,
            #72cbb7
        );

    box-shadow:
        0 4px 12px
        rgba(49, 144, 123, 0.20);
}

.final-review-body .lesson-progress-number {
    color: #287665;
}


/* =========================================================
   5. SCREEN VISIBILITY
========================================================= */

.lesson-screen {
    display: none;
}

.lesson-screen.active-screen {
    display: block !important;

    opacity: 1 !important;

    visibility: visible !important;
}

.hidden-button {
    display: none !important;
}


/* =========================================================
   6. MAIN PANELS
========================================================= */

.final-review-body .lesson-panel {
    border:
        1px solid
        rgba(67, 157, 137, 0.12);

    box-shadow:
        0 25px 60px
        rgba(36, 103, 89, 0.10);
}

.final-review-body .screen-label {
    color: #328f7b;
}

.final-review-body h1,
.final-review-body h2,
.final-review-body h3 {
    color: #205f54;
}

.final-review-body .screen-introduction {
    color: #617d76;
}

.final-review-body .screen-introduction strong {
    color: #287665;
}


/* =========================================================
   7. INTRO TROPHY
========================================================= */

.final-review-body .intro-sun {
    background:
        linear-gradient(
            145deg,
            #fff3c8,
            #f1d77d
        );

    box-shadow:
        0 14px 28px
        rgba(183, 139, 39, 0.15);

    animation:
        finalTrophyFloat
        3s ease-in-out infinite;
}


/* =========================================================
   8. FINAL INTRO BANNER
========================================================= */

.final-intro-banner {
    width: 100%;

    margin-top: 24px;

    padding: 20px 22px;

    border:
        1px solid
        rgba(214, 169, 63, 0.22);

    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            #fffdf5,
            #fff2c9
        );

    box-shadow:
        0 12px 28px
        rgba(174, 130, 32, 0.08);

    display: flex;

    align-items: center;

    gap: 17px;

    text-align: left;
}

.final-intro-banner-icon {
    width: 66px;
    height: 66px;

    min-width: 66px;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #ffeaa2,
            #fff8dc
        );

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 34px;

    box-shadow:
        inset 0 0 0 1px
        rgba(200, 151, 39, 0.10);
}

.final-intro-banner > div:last-child {
    min-width: 0;
}

.final-intro-banner span {
    display: block;

    margin-bottom: 4px;

    color: #b1842f;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 0.12em;
}

.final-intro-banner strong {
    display: block;

    color: #765c20;

    font-size: 20px;
}

.final-intro-banner p {
    margin:
        6px 0 0;

    color: #8c784b;

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   9. MISSION CARD
========================================================= */

.final-review-body .mission-card {
    border:
        1px solid
        rgba(65, 157, 136, 0.14);

    background:
        linear-gradient(
            145deg,
            #f8fdfb,
            #dcf4ed
        );

    box-shadow:
        0 12px 28px
        rgba(40, 112, 97, 0.08);
}

.final-review-body .mission-icon {
    background:
        linear-gradient(
            145deg,
            #c8ede3,
            #e8f8f3
        );
}

.final-review-body .mission-card strong {
    color: #205f54;
}


/* =========================================================
   10. FINAL MISSION PREVIEW
========================================================= */

.final-mission-preview {
    width: 100%;

    margin-top: 18px;

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 9px;
}

.final-preview-item {
    min-height: 95px;

    padding: 13px 8px;

    border:
        1px solid
        rgba(58, 151, 131, 0.13);

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            #fcfefd,
            #e3f6f0
        );

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 7px;

    text-align: center;
}

.final-preview-item span {
    width: 31px;
    height: 31px;

    border-radius: 50%;

    background: #c9eee4;

    color: #287665;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: 900;
}

.final-preview-item strong {
    color: #205f54;

    font-size: 11px;

    line-height: 1.3;
}


/* =========================================================
   11. IMPORTANT NOTE
========================================================= */

.final-review-body .important-note {
    border:
        1px solid
        rgba(61, 157, 136, 0.12);

    background:
        linear-gradient(
            145deg,
            #f7fcfa,
            #dff5ef
        );
}

.final-review-body .important-note strong {
    color: #287665;
}


/* =========================================================
   12. GOLDEN TIP
========================================================= */

.final-review-body .golden-tip {
    border:
        1px solid
        rgba(61, 157, 136, 0.13);

    background:
        linear-gradient(
            145deg,
            #f4fbf8,
            #d7f1e9
        );
}

.final-review-body .golden-tip strong {
    color: #287665;
}


/* =========================================================
   13. MAIN ACTION BUTTON
========================================================= */

.final-review-body .main-action-button {
    background:
        linear-gradient(
            135deg,
            #3ca68f,
            #63c5ad
        );

    box-shadow:
        0 13px 26px
        rgba(43, 139, 118, 0.22);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.final-review-body .main-action-button:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 17px 32px
        rgba(43, 139, 118, 0.29);
}

.final-review-body .main-action-button:active {
    transform:
        translateY(0);
}


/* =========================================================
   14. SPEAK BUTTON
========================================================= */

.final-review-body .speak-button {
    border:
        1px solid
        rgba(64, 159, 138, 0.14);

    background: #ffffff;

    color: #328f7b;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.final-review-body .speak-button:hover {
    background: #e2f6f0;

    color: #205f54;

    transform:
        translateY(-2px);
}

.final-review-body .speak-button.speaking {
    background: #c9eee4;

    color: #205f54;
}


/* =========================================================
   15. WARM-UP GRID
========================================================= */

.warm-up-grid {
    width: 100%;

    margin-top: 23px;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;
}

.warm-up-card {
    min-height: 235px;

    padding: 21px 17px;

    border:
        1px solid
        rgba(58, 151, 131, 0.15);

    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            #fcfefd,
            #dff5ef
        );

    box-shadow:
        0 10px 23px
        rgba(38, 105, 91, 0.07);

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.warm-up-card:hover {
    transform:
        translateY(-4px);

    box-shadow:
        0 15px 28px
        rgba(38, 105, 91, 0.12);
}

.warm-up-icon {
    margin-bottom: 10px;

    font-size: 43px;
}

.warm-up-label {
    margin-bottom: 6px;

    color: #55a995;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 0.11em;
}

.warm-up-card strong {
    color: #205f54;

    font-size: 16px;

    line-height: 1.35;
}

.warm-up-card p {
    max-width: 250px;

    margin:
        8px auto 13px;

    color: #708a84;

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================================
   16. CHALLENGE HEADING
========================================================= */

.challenge-heading-row {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 18px;
}

.challenge-heading-row > div:first-child {
    min-width: 0;
}

.challenge-heading-row .screen-label {
    margin-bottom: 5px;
}

.challenge-heading-row h2 {
    margin-top: 0;
}

.challenge-badge {
    width: 65px;
    height: 65px;

    min-width: 65px;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #c9eee4,
            #e9f8f4
        );

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 32px;

    box-shadow:
        inset 0 0 0 1px
        rgba(58, 151, 131, 0.08);
}


/* =========================================================
   17. ACTIVITY PROGRESS
========================================================= */

.final-review-body .activity-progress {
    width: 100%;

    margin:
        18px 0 12px;

    display: flex;

    justify-content: flex-end;
}

.final-review-body .activity-progress span {
    min-width: 62px;

    padding:
        7px 11px;

    border-radius: 999px;

    background: #e2f6f0;

    color: #287665;

    font-size: 11px;
    font-weight: 900;

    text-align: center;
}


/* =========================================================
   18. QUESTION CARDS
========================================================= */

.final-review-body .review-question-card,
.final-review-body .grammar-mix-card {
    width: 100%;

    min-height: 175px;

    padding: 24px 20px;

    border:
        1px solid
        rgba(58, 151, 131, 0.14);

    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            #fbfefd,
            #e2f6f0
        );

    box-shadow:
        0 10px 23px
        rgba(38, 105, 91, 0.06);

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;
}

.final-review-body .question-emoji,
.grammar-mix-icon {
    margin-bottom: 11px;

    font-size: 44px;
}

.final-review-body .review-question-card p,
.final-review-body .grammar-mix-card p {
    margin: 0;

    color: #205f54;

    font-size: 19px;
    font-weight: 800;

    line-height: 1.45;
}


/* =========================================================
   19. ACTIVITY OPTIONS
========================================================= */

.final-review-body .activity-options {
    width: 100%;

    margin-top: 15px;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 11px;
}

.final-review-body .activity-option {
    width: 100%;

    min-height: 67px;

    padding:
        14px 16px;

    border:
        1px solid
        rgba(58, 151, 131, 0.15);

    border-radius: 17px;

    background: #ffffff;

    color: #315f55;

    font: inherit;
    font-size: 14px;
    font-weight: 750;

    line-height: 1.4;

    cursor: pointer;

    box-shadow:
        0 7px 17px
        rgba(38, 105, 91, 0.05);

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

.final-review-body .activity-option:hover:not(:disabled) {
    transform:
        translateY(-2px);

    border-color:
        rgba(58, 151, 131, 0.31);

    background: #f6fcfa;

    box-shadow:
        0 10px 21px
        rgba(38, 105, 91, 0.09);
}

.final-review-body .activity-option:disabled {
    cursor: default;
}


/* =========================================================
   20. ANSWER STATES
========================================================= */

.final-review-body .activity-option.selected-option {
    border-color: #55b8a1;

    background: #effaf7;

    color: #205f54;
}

.final-review-body .activity-option.correct,
.final-review-body .activity-option.correct-answer {
    border-color:
        rgba(54, 157, 116, 0.48);

    background: #e6f8ed;

    color: #24724e;

    box-shadow:
        0 8px 19px
        rgba(42, 135, 94, 0.10);
}

.final-review-body .activity-option.wrong,
.final-review-body .activity-option.wrong-answer {
    border-color:
        rgba(210, 100, 100, 0.40);

    background: #fff0f0;

    color: #a64e4e;
}


/* =========================================================
   21. ACTIVITY FEEDBACK
========================================================= */

.final-review-body .activity-feedback {
    width: 100%;

    min-height: 24px;

    margin-top: 13px;

    font-size: 13px;
    font-weight: 800;

    line-height: 1.5;

    text-align: center;
}

.final-review-body .activity-feedback.feedback-correct,
.final-review-body .activity-feedback.correct-feedback {
    color: #287b58;
}

.final-review-body .activity-feedback.feedback-wrong,
.final-review-body .activity-feedback.wrong-feedback {
    color: #aa5757;
}


/* =========================================================
   22. SENTENCE BUILDER
========================================================= */

.sentence-builder-card {
    width: 100%;

    margin-top: 16px;

    padding: 23px 20px;

    border:
        1px solid
        rgba(58, 151, 131, 0.14);

    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            #fbfefd,
            #e2f6f0
        );

    box-shadow:
        0 10px 23px
        rgba(38, 105, 91, 0.06);

    text-align: center;
}

.sentence-builder-label {
    display: block;

    margin-bottom: 13px;

    color: #55a995;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 0.12em;
}

.sentence-word-row {
    width: 100%;

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 8px;
}

.sentence-word-row span {
    padding:
        8px 12px;

    border:
        1px solid
        rgba(58, 151, 131, 0.14);

    border-radius: 12px;

    background: #ffffff;

    color: #287665;

    font-size: 13px;
    font-weight: 800;

    box-shadow:
        0 5px 12px
        rgba(38, 105, 91, 0.05);
}

.sentence-builder-card > p {
    margin:
        18px 0 0;

    color: #205f54;

    font-size: 17px;
    font-weight: 800;
}


/* =========================================================
   23. FIND THE MISTAKE
========================================================= */

.mistake-question-card {
    width: 100%;

    margin-top: 16px;

    padding: 23px 20px;

    border:
        1px solid
        rgba(58, 151, 131, 0.14);

    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            #fbfefd,
            #e2f6f0
        );

    box-shadow:
        0 10px 23px
        rgba(38, 105, 91, 0.06);

    text-align: center;
}

.mistake-card-label {
    display: block;

    margin-bottom: 10px;

    color: #55a995;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 0.12em;
}

.mistake-question-icon {
    margin-bottom: 9px;

    font-size: 38px;
}

.mistake-sentence {
    margin:
        0 auto;

    color: #205f54;

    font-size: 19px;
    font-weight: 850;

    line-height: 1.5;
}

.mistake-question-card small {
    display: block;

    margin-top: 8px;

    color: #78918b;

    font-size: 11px;
}


/* =========================================================
   24. GENERAL BUTTON SPACING
========================================================= */

.activity-panel > .main-action-button,
.checkpoint-panel > .main-action-button,
.reading-panel > .main-action-button,
.speaking-panel > .main-action-button,
.final-mission-intro-panel > .main-action-button,
.map-panel > .main-action-button {
    margin-top: 20px;
}


/* =========================================================
   25. SCREEN ENTRANCE
========================================================= */

.lesson-screen.active-screen .lesson-panel {
    animation:
        finalScreenEntrance
        0.38s ease both;
}


/* =========================================================
   26. ANIMATIONS USED IN PART 1
========================================================= */

@keyframes finalScreenEntrance {

    from {
        opacity: 0;

        transform:
            translateY(10px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


@keyframes finalTrophyFloat {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(-2deg);
    }

    50% {
        transform:
            translateY(-7px)
            rotate(2deg);
    }

}

/* =========================================================
   GRADE 3 · LESSON 22
   BIG FINAL REVIEW
   PART 2 / 3
========================================================= */


/* =========================================================
   27. CHECKPOINT
========================================================= */

.checkpoint-panel {
    text-align: center;
}

.checkpoint-trophy {
    width: 82px;
    height: 82px;

    margin:
        0 auto 16px;

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            #fff1b8,
            #f4d470
        );

    box-shadow:
        0 12px 25px
        rgba(183, 139, 39, 0.13);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 41px;

    animation:
        finalTrophyFloat
        3s ease-in-out infinite;
}


/* =========================================================
   28. CHECKPOINT SCORE GRID
========================================================= */

.checkpoint-score-grid {
    width: 100%;

    margin-top: 23px;

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 11px;
}

.checkpoint-score-card {
    min-height: 160px;

    padding:
        17px 10px;

    border:
        1px solid
        rgba(58, 151, 131, 0.14);

    border-radius: 19px;

    background:
        linear-gradient(
            145deg,
            #fcfefd,
            #e2f6f0
        );

    box-shadow:
        0 8px 19px
        rgba(38, 105, 91, 0.06);

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.checkpoint-score-card:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 12px 24px
        rgba(38, 105, 91, 0.10);
}

.checkpoint-score-icon {
    margin-bottom: 9px;

    font-size: 30px;
}

.checkpoint-score-card > span {
    color: #55a995;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 0.09em;
}

.checkpoint-score-card strong {
    margin-top: 6px;

    color: #205f54;

    font-size: 17px;
}

.checkpoint-score-card small {
    margin-top: 5px;

    color: #7a938d;

    font-size: 10px;
}


/* =========================================================
   29. CHECKPOINT TOTAL
========================================================= */

.checkpoint-total-card {
    width: 100%;

    margin-top: 16px;

    padding:
        19px 21px;

    border:
        1px solid
        rgba(214, 169, 63, 0.20);

    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            #fffdf6,
            #fff3cf
        );

    display: flex;

    align-items: center;

    gap: 16px;

    text-align: left;
}

.checkpoint-total-icon {
    width: 58px;
    height: 58px;

    min-width: 58px;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #ffe8a0,
            #fff9e3
        );

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 29px;
}

.checkpoint-total-card > div:last-child {
    min-width: 0;
}

.checkpoint-total-card span {
    display: block;

    margin-bottom: 3px;

    color: #b1842f;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 0.1em;
}

.checkpoint-total-card strong {
    display: block;

    color: #765c20;

    font-size: 18px;
}

.checkpoint-total-card p {
    margin:
        5px 0 0;

    color: #8c784b;

    font-size: 12px;

    line-height: 1.45;
}


/* =========================================================
   30. READING INSTRUCTION
========================================================= */

.reading-instruction {
    width: 100%;

    margin-top: 18px;

    padding:
        14px 17px;

    border:
        1px solid
        rgba(58, 151, 131, 0.12);

    border-radius: 17px;

    background: #effaf7;

    display: flex;

    align-items: center;

    gap: 11px;
}

.reading-instruction > span {
    font-size: 25px;
}

.reading-instruction p {
    margin: 0;

    color: #607d75;

    font-size: 12px;

    line-height: 1.5;
}

.reading-instruction strong {
    color: #287665;
}


/* =========================================================
   31. READING STORY
========================================================= */

.reading-story-card {
    width: 100%;

    margin-top: 17px;

    overflow: hidden;

    border:
        1px solid
        rgba(58, 151, 131, 0.14);

    border-radius: 24px;

    background: #ffffff;

    box-shadow:
        0 12px 28px
        rgba(38, 105, 91, 0.07);
}

.reading-story-top {
    padding:
        18px 20px;

    background:
        linear-gradient(
            145deg,
            #e3f6f0,
            #f6fcfa
        );

    display: grid;

    grid-template-columns:
        54px 1fr auto;

    align-items: center;

    gap: 13px;

    text-align: left;
}

.reading-story-icon {
    width: 54px;
    height: 54px;

    border-radius: 17px;

    background: #ffffff;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 28px;

    box-shadow:
        0 6px 15px
        rgba(38, 105, 91, 0.06);
}

.reading-story-top > div:nth-child(2) {
    min-width: 0;
}

.reading-story-top span {
    display: block;

    margin-bottom: 3px;

    color: #55a995;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 0.11em;
}

.reading-story-top strong {
    color: #205f54;

    font-size: 18px;
}

.reading-speak-button {
    margin: 0 !important;
}

.reading-story-text {
    padding:
        22px 24px;

    text-align: left;
}

.reading-story-text p {
    margin:
        0 0 13px;

    color: #536f68;

    font-size: 14px;

    line-height: 1.75;
}

.reading-story-text p:last-child {
    margin-bottom: 0;
}

.reading-story-text strong {
    color: #287665;

    font-weight: 850;
}


/* =========================================================
   32. READING KEY CARDS
========================================================= */

.reading-key-row {
    width: 100%;

    margin-top: 15px;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 11px;
}

.reading-key-card {
    min-height: 125px;

    padding:
        15px 12px;

    border:
        1px solid
        rgba(58, 151, 131, 0.13);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #fcfefd,
            #e6f7f2
        );

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;
}

.reading-key-card > span {
    margin-bottom: 6px;

    font-size: 27px;
}

.reading-key-card strong {
    color: #205f54;

    font-size: 13px;
}

.reading-key-card small {
    margin-top: 5px;

    color: #718b85;

    font-size: 11px;

    line-height: 1.4;
}


/* =========================================================
   33. SPEAKING CHALLENGE
========================================================= */

.speaking-challenge-grid {
    width: 100%;

    margin-top: 23px;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}

.speaking-challenge-card {
    position: relative;

    min-height: 265px;

    padding:
        22px 17px 18px;

    border:
        1px solid
        rgba(58, 151, 131, 0.14);

    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            #fcfefd,
            #e2f6f0
        );

    box-shadow:
        0 10px 23px
        rgba(38, 105, 91, 0.06);

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.speaking-challenge-card:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 14px 27px
        rgba(38, 105, 91, 0.10);
}

.speaking-number {
    position: absolute;

    top: 13px;
    left: 13px;

    width: 29px;
    height: 29px;

    border-radius: 50%;

    background: #c9eee4;

    color: #287665;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 11px;
    font-weight: 900;
}

.speaking-icon {
    margin-bottom: 8px;

    font-size: 40px;
}

.speaking-challenge-card > span {
    margin-bottom: 5px;

    color: #55a995;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 0.1em;
}

.speaking-challenge-card strong {
    max-width: 260px;

    color: #205f54;

    font-size: 16px;

    line-height: 1.4;
}

.speaking-challenge-card p {
    margin:
        9px auto 13px;

    color: #718b85;

    font-size: 12px;

    line-height: 1.5;
}

.speaking-challenge-card em {
    color: #287665;

    font-style: normal;
    font-weight: 750;
}


/* =========================================================
   34. SPEAKING LISTEN BUTTON
========================================================= */

.speaking-listen-button {
    min-height: 40px;

    padding:
        9px 14px;

    border:
        1px solid
        rgba(58, 151, 131, 0.15);

    border-radius: 13px;

    background: #ffffff;

    color: #328f7b;

    font: inherit;
    font-size: 11px;
    font-weight: 850;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
}

.speaking-listen-button:hover {
    transform:
        translateY(-2px);

    background: #effaf7;

    color: #205f54;
}

.speaking-listen-button.speaking {
    background: #c9eee4;

    color: #205f54;
}


/* =========================================================
   35. SPEAKING FINISH
========================================================= */

.speaking-finish-card {
    width: 100%;

    margin-top: 17px;

    padding:
        18px 20px;

    border:
        1px solid
        rgba(58, 151, 131, 0.13);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #f7fcfa,
            #dff5ef
        );

    display: flex;

    align-items: center;

    gap: 14px;
}

.speaking-finish-card > div {
    font-size: 30px;
}

.speaking-finish-card p {
    flex: 1;

    margin: 0;

    color: #58756e;

    font-size: 12px;

    line-height: 1.5;

    text-align: left;
}

.speaking-complete-button {
    min-height: 43px;

    padding:
        10px 15px;

    border:
        1px solid
        rgba(58, 151, 131, 0.18);

    border-radius: 14px;

    background: #ffffff;

    color: #287665;

    font: inherit;
    font-size: 11px;
    font-weight: 850;

    cursor: pointer;

    white-space: nowrap;

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
}

.speaking-complete-button:hover {
    transform:
        translateY(-2px);

    background: #e5f6f1;

    color: #205f54;
}

.speaking-complete-button.completed {
    border-color:
        rgba(54, 157, 116, 0.35);

    background: #e6f8ed;

    color: #24724e;
}

.speaking-feedback {
    min-height: 24px;

    margin-top: 12px;

    color: #287b58;

    font-size: 13px;
    font-weight: 800;

    text-align: center;
}


/* =========================================================
   36. FINAL MISSION INTRO
========================================================= */

.final-mission-intro-panel {
    text-align: center;
}

.mission-gate-icon {
    width: 91px;
    height: 91px;

    margin:
        0 auto 16px;

    border-radius: 26px;

    background:
        linear-gradient(
            145deg,
            #d5f2e9,
            #a6dfd0
        );

    box-shadow:
        0 13px 27px
        rgba(51, 139, 120, 0.13);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 46px;
}


/* =========================================================
   37. MISSION PATH PREVIEW
========================================================= */

.mission-path-preview {
    width: 100%;

    margin-top: 24px;

    display: flex;

    align-items: stretch;
    justify-content: center;

    gap: 7px;
}

.mission-path-item {
    flex: 1;

    min-width: 0;
    min-height: 180px;

    padding:
        16px 10px;

    border:
        1px solid
        rgba(58, 151, 131, 0.14);

    border-radius: 19px;

    background:
        linear-gradient(
            145deg,
            #fcfefd,
            #e3f6f0
        );

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;
}

.mission-path-number {
    width: 29px;
    height: 29px;

    margin-bottom: 8px;

    border-radius: 50%;

    background: #c9eee4;

    color: #287665;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 10px;
    font-weight: 900;
}

.mission-path-icon {
    margin-bottom: 8px;

    font-size: 31px;
}

.mission-path-item strong {
    display: block;

    color: #205f54;

    font-size: 12px;

    line-height: 1.35;
}

.mission-path-item span {
    display: block;

    margin-top: 5px;

    color: #78918b;

    font-size: 9px;

    line-height: 1.35;
}

.mission-path-arrow {
    align-self: center;

    color: #75bdaa;

    font-size: 18px;
    font-weight: 900;
}

.champion-path-item {
    border-color:
        rgba(214, 169, 63, 0.24);

    background:
        linear-gradient(
            145deg,
            #fffdf5,
            #fff2c9
        );
}

.champion-path-item .mission-path-number {
    background: #ffe8a0;

    color: #9b7124;
}

.champion-path-item strong {
    color: #765c20;
}


/* =========================================================
   38. MISSION RULES
========================================================= */

.mission-rules-card {
    width: 100%;

    margin-top: 18px;

    padding:
        19px 20px;

    border:
        1px solid
        rgba(58, 151, 131, 0.13);

    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            #f8fdfb,
            #e1f5ef
        );

    text-align: left;
}

.mission-rules-title {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 14px;
}

.mission-rules-title span {
    font-size: 25px;
}

.mission-rules-title strong {
    color: #205f54;

    font-size: 15px;
}

.mission-rule-list {
    display: grid;

    gap: 9px;
}

.mission-rule-row {
    display: grid;

    grid-template-columns:
        31px 1fr;

    align-items: center;

    gap: 10px;
}

.mission-rule-row > span {
    width: 31px;
    height: 31px;

    border-radius: 50%;

    background: #c9eee4;

    color: #287665;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 10px;
    font-weight: 900;
}

.mission-rule-row p {
    margin: 0;

    color: #617d76;

    font-size: 12px;

    line-height: 1.5;
}

.mission-rule-row strong {
    color: #287665;
}


/* =========================================================
   39. FINAL MAP HEADING
========================================================= */

.final-map-heading {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 18px;
}

.final-map-heading .screen-label {
    margin-bottom: 5px;
}

.final-map-heading h2 {
    margin-top: 0;
}

.final-map-trophy {
    width: 67px;
    height: 67px;

    min-width: 67px;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #fff0b7,
            #f2d36e
        );

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 33px;

    box-shadow:
        0 9px 20px
        rgba(183, 139, 39, 0.11);
}


/* =========================================================
   40. FINAL MISSION BADGES
========================================================= */

.final-badge-row,
.badge-row {
    width: 100%;

    margin:
        21px 0 17px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;
}

.final-badge-row i,
.badge-row i {
    width: 41px;
    height: 41px;

    border-radius: 50%;

    border:
        1px solid
        rgba(58, 151, 131, 0.14);

    background: #f4faf8;

    color: #8aa09b;

    display: flex;
    align-items: center;
    justify-content: center;

    font-style: normal;
    font-size: 12px;
    font-weight: 900;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.final-badge-row i.active,
.badge-row i.active {
    background: #c9eee4;

    color: #205f54;

    transform:
        scale(1.08);

    box-shadow:
        0 6px 14px
        rgba(49, 144, 123, 0.12);
}

.final-badge-row i.earned,
.final-badge-row i.completed,
.badge-row i.earned,
.badge-row i.completed {
    background:
        linear-gradient(
            145deg,
            #55b8a1,
            #3ca68f
        );

    color: #ffffff;

    border-color: transparent;
}


/* =========================================================
   41. FINAL PRACTICE MAP
========================================================= */

.final-practice-map,
.practice-map {
    width: 100%;

    display: grid;

    grid-template-columns: 1fr;

    gap: 11px;
}

.final-review-body .practice-level {
    width: 100%;

    min-height: 91px;

    padding:
        14px 16px;

    border:
        1px solid
        rgba(58, 151, 131, 0.14);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e8f7f3
        );

    display: grid;

    grid-template-columns:
        42px 54px 1fr auto;

    align-items: center;

    gap: 12px;

    text-align: left;

    font: inherit;

    cursor: pointer;

    box-shadow:
        0 8px 19px
        rgba(38, 105, 91, 0.05);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        opacity 0.2s ease;
}

.final-review-body .practice-level:hover:not(:disabled) {
    transform:
        translateY(-2px);

    border-color:
        rgba(58, 151, 131, 0.28);

    box-shadow:
        0 12px 24px
        rgba(38, 105, 91, 0.09);
}

.final-review-body .level-number {
    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: #dff4ee;

    color: #287665;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: 900;
}

.final-review-body .level-icon {
    font-size: 34px;

    text-align: center;
}

.final-review-body .level-content {
    min-width: 0;
}

.final-review-body .level-content strong {
    display: block;

    color: #205f54;

    font-size: 14px;

    line-height: 1.35;
}

.final-review-body .level-content small {
    display: block;

    margin-top: 4px;

    color: #78918b;

    font-size: 10px;

    line-height: 1.4;
}

.final-review-body .level-status {
    min-width: 62px;

    padding:
        7px 10px;

    border-radius: 999px;

    background: #e2f6f0;

    color: #287665;

    font-size: 10px;
    font-weight: 900;

    text-align: center;
}


/* =========================================================
   42. MAP STATES
========================================================= */

.final-review-body .practice-level.active {
    border-color:
        rgba(60, 166, 143, 0.35);

    box-shadow:
        0 11px 24px
        rgba(43, 139, 118, 0.10);
}

.final-review-body .practice-level.active .level-number {
    background: #55b8a1;

    color: #ffffff;
}

.final-review-body .practice-level.completed {
    border-color:
        rgba(54, 157, 116, 0.26);

    background:
        linear-gradient(
            145deg,
            #f8fdfb,
            #ddf5e9
        );
}

.final-review-body .practice-level.completed .level-number {
    background: #4eae83;

    color: #ffffff;
}

.final-review-body .practice-level.completed .level-status {
    background: #dff4e7;

    color: #287b58;
}

.final-review-body .practice-level.locked {
    opacity: 0.53;

    cursor: not-allowed;

    box-shadow: none;
}

.final-review-body .practice-level.locked .level-status {
    background: #eef3f1;

    color: #8a9c98;
}


/* =========================================================
   43. CHAMPION LEVEL
========================================================= */

.final-review-body .champion-level:not(.locked) {
    border-color:
        rgba(214, 169, 63, 0.25);

    background:
        linear-gradient(
            145deg,
            #fffef9,
            #fff4d4
        );
}

.final-review-body .champion-level:not(.locked) .level-number {
    background: #f2d36e;

    color: #765c20;
}

.final-review-body .champion-level:not(.locked) .level-content strong {
    color: #765c20;
}

.final-review-body .champion-level.completed {
    border-color:
        rgba(214, 169, 63, 0.30);

    background:
        linear-gradient(
            145deg,
            #fffdf5,
            #ffefb9
        );
}


/* =========================================================
   44. MAP MESSAGE
========================================================= */

.final-review-body .map-message {
    width: 100%;

    margin-top: 15px;

    padding:
        14px 17px;

    border:
        1px solid
        rgba(58, 151, 131, 0.12);

    border-radius: 17px;

    background: #f1faf7;

    color: #607d75;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.5;

    text-align: center;
}


/* =========================================================
   45. GAME WORKSPACE
========================================================= */

.game-workspace-panel {
    text-align: left;
}

.game-workspace-header {
    width: 100%;

    padding: 18px 20px;

    border:
        1px solid
        rgba(58, 151, 131, 0.13);

    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            #f8fdfb,
            #e2f6f0
        );

    display: flex;

    align-items: center;

    gap: 15px;
}

.game-workspace-icon {
    width: 65px;
    height: 65px;

    min-width: 65px;

    border-radius: 20px;

    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 34px;

    box-shadow:
        0 7px 17px
        rgba(38, 105, 91, 0.06);
}

.game-workspace-header > div:last-child {
    min-width: 0;
}

.game-level-label {
    display: block;

    margin-bottom: 4px;

    color: #55a995;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 0.11em;
}

.game-workspace-header h2 {
    margin: 0;

    color: #205f54;

    font-size: 23px;
}


/* =========================================================
   46. GAME PROGRESS
========================================================= */

.game-progress-area {
    width: 100%;

    margin:
        18px 0 14px;

    display: grid;

    grid-template-columns:
        1fr auto;

    align-items: center;

    gap: 12px;
}

.game-progress-track {
    width: 100%;
    height: 9px;

    overflow: hidden;

    border-radius: 999px;

    background:
        rgba(91, 177, 156, 0.14);
}

.game-progress-fill {
    width: 20%;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #3ca68f,
            #72cbb7
        );

    transition:
        width 0.3s ease;
}

#missionProgressText {
    min-width: 43px;

    color: #287665;

    font-size: 11px;
    font-weight: 900;

    text-align: right;
}


/* =========================================================
   47. GAME QUESTION
========================================================= */

.game-question-card {
    width: 100%;

    min-height: 180px;

    padding:
        24px 20px;

    border:
        1px solid
        rgba(58, 151, 131, 0.14);

    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            #fbfefd,
            #e2f6f0
        );

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    box-shadow:
        0 10px 23px
        rgba(38, 105, 91, 0.06);
}

.game-question-icon {
    margin-bottom: 10px;

    font-size: 44px;
}

.game-question {
    margin: 0;

    color: #205f54;

    font-size: 18px;
    font-weight: 800;

    line-height: 1.5;
}


/* =========================================================
   48. GAME OPTIONS
========================================================= */

.game-options {
    width: 100%;

    margin-top: 15px;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 11px;
}

.game-option {
    width: 100%;

    min-height: 67px;

    padding:
        14px 16px;

    border:
        1px solid
        rgba(58, 151, 131, 0.15);

    border-radius: 17px;

    background: #ffffff;

    color: #315f55;

    font: inherit;
    font-size: 14px;
    font-weight: 750;

    line-height: 1.4;

    cursor: pointer;

    box-shadow:
        0 7px 17px
        rgba(38, 105, 91, 0.05);

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

.game-option:hover:not(:disabled) {
    transform:
        translateY(-2px);

    border-color:
        rgba(58, 151, 131, 0.30);

    background: #f6fcfa;

    box-shadow:
        0 10px 21px
        rgba(38, 105, 91, 0.09);
}

.game-option:disabled {
    cursor: default;
}

.game-option.correct,
.game-option.correct-answer {
    border-color:
        rgba(54, 157, 116, 0.48);

    background: #e6f8ed;

    color: #24724e;
}

.game-option.wrong,
.game-option.wrong-answer {
    border-color:
        rgba(210, 100, 100, 0.40);

    background: #fff0f0;

    color: #a64e4e;
}

.game-option.selected-option {
    border-color: #55b8a1;

    background: #effaf7;

    color: #205f54;
}


/* =========================================================
   49. MISSION FEEDBACK / NEXT
========================================================= */

#missionFeedback {
    min-height: 24px;

    margin-top: 13px;

    text-align: center;
}

#missionNextButton {
    margin-top: 18px;
}

/* =========================================================
   GRADE 3 · LESSON 22
   BIG FINAL REVIEW
   PART 3 / 3
========================================================= */


/* =========================================================
   50. ULTIMATE FINAL QUIZ
========================================================= */

.ultimate-panel {
    text-align: center;
}

.ultimate-heading {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 16px;

    margin-bottom: 8px;
}

.ultimate-heading > div:last-child {
    text-align: left;
}

.ultimate-heading .screen-label {
    margin-bottom: 4px;
}

.ultimate-heading h2 {
    margin: 0;
}

.ultimate-trophy {
    width: 70px;
    height: 70px;

    min-width: 70px;

    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            #fff1b8,
            #f1d16a
        );

    box-shadow:
        0 11px 23px
        rgba(183, 139, 39, 0.13);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 35px;

    animation:
        finalTrophyFloat
        3s ease-in-out infinite;
}


/* =========================================================
   51. ULTIMATE WARNING
========================================================= */

.ultimate-warning-card {
    width: 100%;

    margin-top: 18px;

    padding:
        15px 18px;

    border:
        1px solid
        rgba(214, 169, 63, 0.18);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #fffdf6,
            #fff4d5
        );

    display: flex;

    align-items: center;

    gap: 12px;

    text-align: left;
}

.ultimate-warning-card > span {
    font-size: 28px;
}

.ultimate-warning-card p {
    margin: 0;

    color: #806f47;

    font-size: 12px;

    line-height: 1.55;
}

.ultimate-warning-card strong {
    color: #765c20;
}


/* =========================================================
   52. ULTIMATE QUESTION
========================================================= */

.ultimate-progress {
    margin-top: 17px !important;
}

.ultimate-question-card {
    position: relative;
}

.ultimate-question-type {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 25px;

    margin-bottom: 8px;

    padding:
        5px 10px;

    border-radius: 999px;

    background: #c9eee4;

    color: #287665;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 0.09em;
}


/* =========================================================
   53. GRADE COMPLETE PANEL
========================================================= */

.grade-complete-panel {
    position: relative;

    overflow: hidden;

    text-align: center;
}

.grade-complete-panel::before {
    content: "";

    position: absolute;

    width: 270px;
    height: 270px;

    top: -135px;
    left: -110px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(115, 203, 181, 0.18),
            rgba(115, 203, 181, 0)
        );

    pointer-events: none;
}

.grade-complete-panel::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -145px;
    bottom: -165px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(229, 186, 80, 0.15),
            rgba(229, 186, 80, 0)
        );

    pointer-events: none;
}

.grade-complete-panel > * {
    position: relative;

    z-index: 1;
}


/* =========================================================
   54. FINISH CELEBRATION
========================================================= */

.finish-celebration {
    width: 102px;
    height: 102px;

    margin:
        0 auto 17px;

    border-radius: 31px;

    background:
        linear-gradient(
            145deg,
            #fff2ba,
            #edcc61
        );

    box-shadow:
        0 16px 32px
        rgba(183, 139, 39, 0.16);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 52px;

    animation:
        championFloat
        3s ease-in-out infinite;
}

.grade-complete-panel h1 {
    margin-bottom: 11px;

    font-size: clamp(
        31px,
        5vw,
        46px
    );
}


/* =========================================================
   55. GRADE 3 CHAMPION BANNER
========================================================= */

.grade-champion-banner {
    width: 100%;

    margin-top: 24px;

    padding:
        21px 23px;

    border:
        1px solid
        rgba(214, 169, 63, 0.24);

    border-radius: 25px;

    background:
        linear-gradient(
            135deg,
            #fffdf5 0%,
            #fff0b9 50%,
            #fff8dc 100%
        );

    box-shadow:
        0 14px 31px
        rgba(174, 130, 32, 0.10);

    display: grid;

    grid-template-columns:
        65px 1fr 65px;

    align-items: center;

    gap: 17px;

    text-align: left;
}

.grade-champion-crown,
.grade-champion-trophy {
    width: 65px;
    height: 65px;

    border-radius: 20px;

    background:
        rgba(255, 255, 255, 0.70);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 34px;

    box-shadow:
        inset 0 0 0 1px
        rgba(185, 137, 33, 0.09);
}

.grade-champion-banner > div:nth-child(2) {
    min-width: 0;
}

.grade-champion-banner span {
    display: block;

    margin-bottom: 4px;

    color: #b1842f;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 0.12em;
}

.grade-champion-banner strong {
    display: block;

    color: #765c20;

    font-size: 23px;

    line-height: 1.25;
}

.grade-champion-banner p {
    margin:
        5px 0 0;

    color: #8c784b;

    font-size: 12px;
}


/* =========================================================
   56. FINAL RESULTS HEADING
========================================================= */

.final-results-heading {
    margin-top: 27px;

    text-align: center;
}

.final-results-heading span {
    display: block;

    margin-bottom: 4px;

    color: #55a995;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 0.12em;
}

.final-results-heading strong {
    color: #205f54;

    font-size: 20px;
}


/* =========================================================
   57. GRADE RESULTS GRID
========================================================= */

.grade-results-grid {
    width: 100%;

    margin-top: 16px;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;
}

.grade-result-card {
    min-height: 166px;

    padding:
        17px 12px;

    border:
        1px solid
        rgba(58, 151, 131, 0.14);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #fcfefd,
            #e2f6f0
        );

    box-shadow:
        0 8px 19px
        rgba(38, 105, 91, 0.06);

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.grade-result-card:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 12px 24px
        rgba(38, 105, 91, 0.10);
}

.grade-result-icon {
    margin-bottom: 8px;

    font-size: 31px;
}

.grade-result-card > span {
    color: #55a995;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 0.09em;
}

.grade-result-card strong {
    margin-top: 6px;

    color: #205f54;

    font-size: 18px;
}

.grade-result-card small {
    margin-top: 5px;

    color: #7a938d;

    font-size: 10px;

    line-height: 1.4;
}


/* =========================================================
   58. OVERALL RESULT
========================================================= */

.overall-result-card {
    width: 100%;

    margin-top: 17px;

    padding:
        21px 22px;

    border:
        1px solid
        rgba(214, 169, 63, 0.22);

    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            #fffdf6,
            #fff1c5
        );

    display: grid;

    grid-template-columns:
        61px 1fr auto;

    align-items: center;

    gap: 16px;

    text-align: left;

    box-shadow:
        0 10px 24px
        rgba(174, 130, 32, 0.07);
}

.overall-result-icon {
    width: 61px;
    height: 61px;

    border-radius: 19px;

    background:
        rgba(255, 255, 255, 0.72);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 31px;
}

.overall-result-content {
    min-width: 0;
}

.overall-result-content > span {
    display: block;

    margin-bottom: 3px;

    color: #b1842f;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 0.1em;
}

.overall-result-content strong {
    display: block;

    color: #765c20;

    font-size: 20px;
}

.overall-result-content p {
    margin:
        5px 0 0;

    color: #8c784b;

    font-size: 11px;

    line-height: 1.45;
}

.overall-result-percent {
    min-width: 78px;

    color: #9b7124;

    font-size: 26px;
    font-weight: 950;

    text-align: right;
}


/* =========================================================
   59. RESULT STATES
========================================================= */

.overall-result-card.result-excellent {
    background:
        linear-gradient(
            145deg,
            #fffdf5,
            #ffefb8
        );
}

.overall-result-card.result-great {
    border-color:
        rgba(58, 151, 131, 0.19);

    background:
        linear-gradient(
            145deg,
            #f8fdfb,
            #dff5ef
        );
}

.overall-result-card.result-practice {
    border-color:
        rgba(221, 164, 88, 0.20);

    background:
        linear-gradient(
            145deg,
            #fffdf8,
            #fff0dc
        );
}


/* =========================================================
   60. COMPLETED SKILLS
========================================================= */

.completed-skills-section {
    width: 100%;

    margin-top: 18px;

    padding:
        20px;

    border:
        1px solid
        rgba(58, 151, 131, 0.13);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #f9fdfc,
            #e5f6f1
        );

    text-align: left;
}

.completed-skills-heading {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 14px;
}

.completed-skills-heading > span {
    width: 31px;
    height: 31px;

    border-radius: 50%;

    background: #55b8a1;

    color: #ffffff;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: 900;
}

.completed-skills-heading strong {
    color: #205f54;

    font-size: 15px;
}

.completed-skills-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 8px;
}

.completed-skill {
    min-height: 46px;

    padding:
        9px 11px;

    border:
        1px solid
        rgba(58, 151, 131, 0.10);

    border-radius: 13px;

    background:
        rgba(255, 255, 255, 0.72);

    display: flex;

    align-items: center;

    gap: 9px;
}

.completed-skill > span {
    width: 23px;
    height: 23px;

    min-width: 23px;

    border-radius: 50%;

    background: #dff4e7;

    color: #287b58;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 9px;
    font-weight: 900;
}

.completed-skill p {
    margin: 0;

    color: #55736b;

    font-size: 11px;
    font-weight: 750;
}


/* =========================================================
   61. FINAL CONGRATULATIONS
========================================================= */

.final-congratulations-card {
    width: 100%;

    margin-top: 18px;

    padding:
        24px 20px;

    border:
        1px solid
        rgba(214, 169, 63, 0.19);

    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            #fffdf7,
            #fff4d3
        );

    text-align: center;
}

.final-congratulations-stars {
    margin-bottom: 8px;

    font-size: 26px;

    letter-spacing: 4px;
}

.final-congratulations-card > strong {
    display: block;

    color: #765c20;

    font-size: 22px;
}

.final-congratulations-card > p {
    max-width: 520px;

    margin:
        8px auto 14px;

    color: #8c784b;

    font-size: 12px;

    line-height: 1.55;
}

.final-listen-button {
    min-height: 42px;

    padding:
        9px 15px;

    border:
        1px solid
        rgba(185, 137, 33, 0.16);

    border-radius: 14px;

    background: #ffffff;

    color: #9b7124;

    font: inherit;
    font-size: 11px;
    font-weight: 850;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        background 0.18s ease;
}

.final-listen-button:hover {
    transform:
        translateY(-2px);

    background: #fff9e8;
}

.final-listen-button.speaking {
    background: #ffefb9;
}


/* =========================================================
   62. FINISH ACTIONS
========================================================= */

.finish-actions {
    width: 100%;

    margin-top: 22px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 11px;

    flex-wrap: wrap;
}

.secondary-action-button {
    min-height: 50px;

    padding:
        12px 20px;

    border:
        1px solid
        rgba(58, 151, 131, 0.17);

    border-radius: 16px;

    background: #ffffff;

    color: #287665;

    font: inherit;
    font-size: 12px;
    font-weight: 850;

    cursor: pointer;

    box-shadow:
        0 7px 17px
        rgba(38, 105, 91, 0.05);

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.secondary-action-button:hover {
    transform:
        translateY(-2px);

    background: #effaf7;

    box-shadow:
        0 10px 21px
        rgba(38, 105, 91, 0.09);
}

.finish-home-button {
    min-height: 50px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    text-decoration: none;
}


/* =========================================================
   63. ACHIEVEMENT TOAST
========================================================= */

.achievement-toast {
    position: fixed;

    right: 24px;
    bottom: 24px;

    z-index: 1000;

    width: min(
        340px,
        calc(100vw - 32px)
    );

    padding:
        14px 17px;

    border:
        1px solid
        rgba(214, 169, 63, 0.23);

    border-radius: 20px;

    background:
        rgba(255, 253, 246, 0.97);

    box-shadow:
        0 18px 45px
        rgba(79, 72, 45, 0.16);

    display: flex;

    align-items: center;

    gap: 12px;

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(18px)
        scale(0.97);

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}

.achievement-toast.show,
.achievement-toast.visible {
    opacity: 1;

    visibility: visible;

    transform:
        translateY(0)
        scale(1);
}

.achievement-toast-icon {
    width: 51px;
    height: 51px;

    min-width: 51px;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #fff0b4,
            #f0ce63
        );

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 27px;
}

.achievement-toast-text {
    min-width: 0;
}

.achievement-toast-text span {
    display: block;

    margin-bottom: 3px;

    color: #b1842f;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 0.12em;
}

.achievement-toast-text strong {
    display: block;

    color: #765c20;

    font-size: 15px;

    line-height: 1.3;
}


/* =========================================================
   64. SPARKLE / CONFETTI LAYERS
========================================================= */

.sparkle-layer,
.confetti-layer {
    position: fixed;

    inset: 0;

    z-index: 999;

    overflow: hidden;

    pointer-events: none;
}

.sparkle {
    position: absolute;

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #75cbb7;

    box-shadow:
        0 0 12px
        rgba(85, 184, 161, 0.45);

    animation:
        finalSparklePop
        0.85s ease-out forwards;
}

.lesson-sparkle {
    position: absolute;

    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #75cbb7;

    box-shadow:
        0 0 13px
        rgba(85, 184, 161, 0.48);

    animation:
        finalSparklePop
        0.9s ease-out forwards;
}

.confetti-piece {
    position: absolute;

    top: -24px;

    width: 9px;
    height: 16px;

    border-radius: 3px;

    background: #55b8a1;

    opacity: 0.95;

    animation:
        finalConfettiFall
        3.2s linear forwards;
}

.confetti-piece:nth-child(4n + 1) {
    background: #e7b94d;
}

.confetti-piece:nth-child(4n + 2) {
    background: #75cbb7;
}

.confetti-piece:nth-child(4n + 3) {
    background: #9edccc;
}

.confetti-piece:nth-child(4n + 4) {
    background: #328f7b;
}


/* =========================================================
   65. FOCUS STATES
========================================================= */

.final-review-body button:focus-visible,
.final-review-body a:focus-visible {
    outline:
        3px solid
        rgba(60, 166, 143, 0.30);

    outline-offset: 3px;
}


/* =========================================================
   66. ANIMATIONS
========================================================= */

@keyframes championFloat {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(-2deg);
    }

    50% {
        transform:
            translateY(-8px)
            rotate(2deg);
    }

}


@keyframes finalSparklePop {

    0% {
        opacity: 0;

        transform:
            translate(-50%, -50%)
            scale(0.25);
    }

    35% {
        opacity: 1;
    }

    100% {
        opacity: 0;

        transform:
            translate(-50%, -50%)
            scale(1.8);
    }

}


@keyframes finalConfettiFall {

    0% {
        opacity: 1;

        transform:
            translateY(-20px)
            rotate(0deg);
    }

    100% {
        opacity: 0.95;

        transform:
            translateY(110vh)
            rotate(720deg);
    }

}


/* =========================================================
   67. TABLET
========================================================= */

@media (max-width: 900px) {

    .checkpoint-score-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .mission-path-preview {
        display: grid;

        grid-template-columns:
            repeat(5, minmax(0, 1fr));

        gap: 8px;
    }

    .mission-path-arrow {
        display: none;
    }

    .mission-path-item {
        min-height: 170px;
    }

    .grade-results-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   68. MOBILE / SMALL TABLET
========================================================= */

@media (max-width: 700px) {

    .final-mission-preview {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .final-preview-item:last-child {
        grid-column:
            1 / -1;
    }


    .warm-up-grid {
        grid-template-columns:
            1fr;
    }


    .final-review-body .activity-options,
    .game-options {
        grid-template-columns:
            1fr;
    }


    .checkpoint-score-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .checkpoint-score-card:last-child {
        grid-column:
            1 / -1;
    }


    .reading-story-top {
        grid-template-columns:
            48px 1fr;

        gap: 11px;
    }

    .reading-story-icon {
        width: 48px;
        height: 48px;

        font-size: 25px;
    }

    .reading-story-top .reading-speak-button {
        grid-column:
            1 / -1;

        justify-self: stretch;

        width: 100%;
    }


    .reading-key-row {
        grid-template-columns:
            1fr;
    }


    .speaking-challenge-grid {
        grid-template-columns:
            1fr;
    }


    .speaking-finish-card {
        flex-direction: column;

        text-align: center;
    }

    .speaking-finish-card p {
        text-align: center;
    }

    .speaking-complete-button {
        width: 100%;

        white-space: normal;
    }


    .mission-path-preview {
        grid-template-columns:
            1fr;
    }

    .mission-path-item {
        min-height: 120px;
    }


    .final-review-body .practice-level {
        grid-template-columns:
            38px 45px 1fr;

        gap: 9px;

        padding:
            13px;
    }

    .final-review-body .level-number {
        width: 34px;
        height: 34px;
    }

    .final-review-body .level-icon {
        font-size: 29px;
    }

    .final-review-body .level-status {
        grid-column:
            1 / -1;

        width: 100%;

        margin-top: 2px;
    }


    .grade-champion-banner {
        grid-template-columns:
            55px 1fr;

        padding:
            18px;
    }

    .grade-champion-crown,
    .grade-champion-trophy {
        width: 55px;
        height: 55px;

        font-size: 29px;
    }

    .grade-champion-trophy {
        display: none;
    }

    .grade-champion-banner strong {
        font-size: 19px;
    }


    .overall-result-card {
        grid-template-columns:
            52px 1fr;

        padding:
            18px;
    }

    .overall-result-icon {
        width: 52px;
        height: 52px;

        font-size: 27px;
    }

    .overall-result-percent {
        grid-column:
            1 / -1;

        width: 100%;

        padding-top: 11px;

        border-top:
            1px solid
            rgba(185, 137, 33, 0.12);

        text-align: center;
    }


    .completed-skills-grid {
        grid-template-columns:
            1fr;
    }


    .finish-actions {
        flex-direction: column;
    }

    .finish-actions > * {
        width: 100%;
    }

}


/* =========================================================
   69. MOBILE
========================================================= */

@media (max-width: 480px) {

    .final-intro-banner {
        flex-direction: column;

        text-align: center;
    }


    .final-mission-preview {
        grid-template-columns:
            1fr;
    }

    .final-preview-item:last-child {
        grid-column: auto;
    }


    .challenge-heading-row,
    .final-map-heading {
        align-items: flex-start;
    }

    .challenge-badge,
    .final-map-trophy {
        width: 54px;
        height: 54px;

        min-width: 54px;

        border-radius: 17px;

        font-size: 27px;
    }


    .checkpoint-score-grid {
        grid-template-columns:
            1fr;
    }

    .checkpoint-score-card:last-child {
        grid-column: auto;
    }


    .checkpoint-total-card {
        flex-direction: column;

        text-align: center;
    }


    .reading-story-text {
        padding:
            18px 17px;
    }

    .reading-story-text p {
        font-size: 13px;
    }


    .mission-rules-card {
        padding:
            17px 15px;
    }


    .game-workspace-header {
        padding:
            15px;

        align-items: flex-start;
    }

    .game-workspace-icon {
        width: 53px;
        height: 53px;

        min-width: 53px;

        border-radius: 17px;

        font-size: 28px;
    }

    .game-workspace-header h2 {
        font-size: 19px;
    }


    .ultimate-heading {
        align-items: flex-start;

        justify-content: flex-start;
    }

    .ultimate-trophy {
        width: 57px;
        height: 57px;

        min-width: 57px;

        border-radius: 18px;

        font-size: 29px;
    }


    .ultimate-warning-card {
        align-items: flex-start;
    }


    .grade-results-grid {
        grid-template-columns:
            1fr;
    }


    .grade-champion-banner {
        grid-template-columns:
            1fr;

        text-align: center;
    }

    .grade-champion-crown {
        margin:
            0 auto;
    }


    .completed-skills-section {
        padding:
            17px 14px;
    }


    .achievement-toast {
        right: 16px;
        bottom: 16px;

        width:
            calc(100vw - 32px);
    }

}


/* =========================================================
   70. VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .final-review-body .activity-option,
    .game-option {
        min-height: 60px;

        padding:
            12px;

        font-size: 12px;
    }


    .sentence-word-row span {
        padding:
            7px 9px;

        font-size: 11px;
    }


    .final-badge-row,
    .badge-row {
        gap: 6px;
    }

    .final-badge-row i,
    .badge-row i {
        width: 35px;
        height: 35px;

        font-size: 10px;
    }


    .finish-celebration {
        width: 86px;
        height: 86px;

        border-radius: 26px;

        font-size: 44px;
    }


    .grade-complete-panel h1 {
        font-size: 28px;
    }


    .overall-result-content strong {
        font-size: 17px;
    }

}


/* =========================================================
   71. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .lesson-screen.active-screen .lesson-panel,
    .final-review-body .intro-sun,
    .checkpoint-trophy,
    .ultimate-trophy,
    .finish-celebration,
    .sparkle,
    .lesson-sparkle,
    .confetti-piece {
        animation: none !important;
    }

    .final-review-body *,
    .final-review-body *::before,
    .final-review-body *::after {
        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
    }

}