@import url("grade-3-lesson-10.css");


/* ==================================================
   GRADE 3 — LESSON 11
   HOW MUCH? / HOW MANY?
================================================== */


/* ==================================================
   BODY
================================================== */

.how-quantity-body {
    background:
        radial-gradient(
            circle at 8% 10%,
            rgba(103, 199, 176, 0.22),
            transparent 28%
        ),
        radial-gradient(
            circle at 91% 14%,
            rgba(187, 232, 220, 0.28),
            transparent 29%
        ),
        radial-gradient(
            circle at 48% 94%,
            rgba(211, 242, 233, 0.38),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #f4fbf9 0%,
            #fcfefd 48%,
            #eef9f6 100%
        );
}


.how-quantity-body .floating-symbol {
    color: rgba(40, 126, 107, 0.075);
}


/* ==================================================
   LESSON COLORS
================================================== */

.how-quantity-body .lesson-navigation {
    border:
        1px solid
        rgba(60, 156, 135, 0.13);

    box-shadow:
        0 15px 36px
        rgba(33, 104, 90, 0.08);
}


.how-quantity-body .lesson-logo {
    background:
        linear-gradient(
            135deg,
            #328f7b,
            #63c5ad
        );
}


.how-quantity-body .chapter-number,
.how-quantity-body .screen-label {
    color: #328f7b;
}


.how-quantity-body .chapter-name,
.how-quantity-body h1,
.how-quantity-body h2,
.how-quantity-body h3 {
    color: #205f54;
}


.how-quantity-body .lesson-progress-fill {
    background:
        linear-gradient(
            90deg,
            #328f7b,
            #75cbb7
        );
}


.how-quantity-body .lesson-progress-number {
    color: #287665;
}


.how-quantity-body .lesson-panel {
    border:
        1px solid
        rgba(60, 156, 135, 0.12);

    box-shadow:
        0 25px 60px
        rgba(36, 103, 89, 0.10);
}


/* ==================================================
   MAIN BUTTON
================================================== */

.how-quantity-body .main-action-button {
    background:
        linear-gradient(
            135deg,
            #328f7b,
            #63c5ad
        );

    box-shadow:
        0 13px 27px
        rgba(43, 139, 118, 0.22);
}


.how-quantity-body .main-action-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 17px 34px
        rgba(43, 139, 118, 0.29);
}


/* ==================================================
   INTRO
================================================== */

.how-quantity-body .intro-page {
    max-width: 780px;

    padding:
        64px 55px 58px;
}


.how-quantity-body .intro-sun {
    width: 98px;
    height: 98px;

    margin:
        0 auto 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            #c9eee4,
            #e9f8f4
        );

    box-shadow:
        0 15px 31px
        rgba(51, 139, 120, 0.14);

    font-size: 49px;
}


.how-quantity-body .intro-page h1 {
    max-width: 690px;

    margin:
        10px auto 30px;

    font-size:
        clamp(
            40px,
            6vw,
            60px
        );

    line-height: 1.08;

    text-align: center;
}


.how-quantity-body .mission-card {
    max-width: 590px;

    margin:
        0 auto 31px;

    padding:
        20px 23px;

    gap: 16px;

    border:
        1px solid
        rgba(65, 157, 136, 0.14);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #f9fdfc,
            #dff5ee
        );

    box-shadow:
        0 10px 25px
        rgba(40, 112, 97, 0.07);
}


.how-quantity-body .mission-icon {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            #c8ede3,
            #eaf8f4
        );

    font-size: 24px;
}


/* ==================================================
   HEADINGS
================================================== */

.how-quantity-body .page-heading {
    margin-bottom: 28px;
}


.how-quantity-body .heading-icon {
    background:
        linear-gradient(
            145deg,
            #ccefe5,
            #e8f8f3
        );

    box-shadow:
        0 9px 20px
        rgba(50, 137, 118, 0.10);
}


/* ==================================================
   BIG IDEA
================================================== */

.how-intro-card {
    max-width: 800px;

    margin:
        0 auto 27px;

    padding:
        23px 27px;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            #f8fdfb,
            #e8f7f3
        );

    color: #526e67;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.75;
}


.how-intro-card p {
    margin:
        0 0 11px;
}


.how-intro-card p:last-child {
    margin-bottom: 0;
}


.how-intro-card strong {
    color: #247b6a;
}


/* ==================================================
   HOW MUCH / HOW MANY PREVIEW
================================================== */

.how-preview-grid {
    max-width: 850px;

    margin:
        0 auto 27px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 17px;
}


.how-preview-grid article {
    min-height: 300px;

    padding:
        27px 23px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 24px;

    text-align: center;

    box-shadow:
        0 10px 24px
        rgba(36, 102, 88, 0.065);
}


.how-many-preview {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #dff6ee
        );
}


.how-much-preview {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e5f6f2
        );
}


.how-preview-icon {
    width: 72px;
    height: 72px;

    margin-bottom: 14px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #d1f1e8,
            #f0faf7
        );

    font-size: 34px;
}


.how-preview-label {
    margin-bottom: 8px;

    color: #328f7b;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}


.how-preview-grid h3 {
    margin:
        0 0 9px;

    font:
        700 21px
        "Fredoka",
        sans-serif;
}


.how-preview-grid p {
    max-width: 250px;

    margin:
        0 0 15px;

    color: #657e77;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}


.how-preview-grid article > strong {
    padding:
        10px 14px;

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.83);

    color: #247b6a;

    font:
        700 15px
        "Fredoka",
        sans-serif;
}


/* ==================================================
   MEMORY CARD
================================================== */

.how-quantity-body .grammar-memory-card {
    max-width: 760px;

    margin:
        0 auto 29px;

    padding:
        17px 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 14px;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #edf9f5,
            #d9f3eb
        );
}


.how-quantity-body .grammar-memory-card > span {
    flex: 0 0 auto;

    font-size: 27px;
}


.how-quantity-body .grammar-memory-card p {
    margin: 0;

    color: #526e67;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.65;
}


.how-quantity-body .grammar-memory-card strong {
    color: #247b6a;
}


/* ==================================================
   HOW RULE CARDS
================================================== */

.how-rule-card {
    max-width: 830px;

    margin:
        0 auto 25px;

    padding:
        24px 26px;

    display: grid;

    grid-template-columns:
        180px 1fr;

    align-items: center;

    gap: 24px;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 24px;

    box-shadow:
        0 9px 22px
        rgba(36, 102, 88, 0.06);
}


.how-many-rule {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #def5ed
        );
}


.how-much-rule {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e3f5f1
        );
}


.how-rule-word {
    min-height: 105px;

    padding: 14px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 19px;

    background: #ffffff;

    color: #328f7b;

    font:
        800 21px
        "Fredoka",
        sans-serif;

    letter-spacing: 0.6px;

    text-align: center;

    box-shadow:
        0 6px 16px
        rgba(36, 102, 88, 0.06);
}


.how-rule-card > div:last-child > strong {
    display: block;

    margin-bottom: 7px;

    color: #205f54;

    font:
        700 18px
        "Fredoka",
        sans-serif;

    line-height: 1.45;
}


.how-rule-card p {
    margin: 0;

    color: #5c756f;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
}


/* ==================================================
   FORMULA
================================================== */

.how-quantity-body .grammar-formula-card {
    max-width: 650px;

    margin:
        0 auto 25px;

    padding:
        17px 21px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 16px;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #edf9f5,
            #d8f2ea
        );

    text-align: center;
}


.how-quantity-body .grammar-formula-card span {
    color: #648078;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.4px;
}


.how-quantity-body .grammar-formula-card strong {
    color: #205f54;

    font:
        700 20px
        "Fredoka",
        sans-serif;
}


/* ==================================================
   SIMPLE EXAMPLES
================================================== */

.how-example-grid {
    max-width: 850px;

    margin:
        0 auto 27px;

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 14px;
}


.how-example-grid article {
    min-height: 205px;

    padding:
        21px 17px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(59, 154, 133, 0.12);

    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e5f7f1
        );

    text-align: center;

    box-shadow:
        0 7px 18px
        rgba(36, 102, 88, 0.055);
}


.how-example-grid article > span {
    min-height: 76px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 42px;
    letter-spacing: 3px;
}


.how-example-grid strong {
    color: #205f54;

    font:
        700 17px
        "Fredoka",
        sans-serif;

    line-height: 1.45;
}


/* ==================================================
   IMPORTANT RULE
================================================== */

.how-quantity-body .important-rule-card {
    max-width: 760px;

    margin:
        0 auto 29px;

    padding:
        17px 20px;

    display: flex;

    align-items: center;

    gap: 14px;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #eef9f6,
            #d9f3eb
        );
}


.how-quantity-body .important-rule-card > span {
    flex: 0 0 auto;

    font-size: 26px;
}


.how-quantity-body .important-rule-card p {
    margin: 0;

    color: #55746c;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.65;
}


.how-quantity-body .important-rule-card strong {
    color: #247b6a;
}


/* ==================================================
   LESSON EXPLANATION
================================================== */

.how-quantity-body .lesson-explanation {
    max-width: 760px;

    margin:
        0 auto 23px;

    color: #5c756f;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.75;

    text-align: center;
}


.how-quantity-body .lesson-explanation strong {
    color: #247b6a;
}


/* ==================================================
   FULL QUESTION FORMULA
================================================== */

.question-formula-board {
    max-width: 820px;

    margin:
        0 auto 28px;

    padding: 18px;

    display: grid;

    grid-template-columns:
        1fr auto 1fr auto 1fr;

    align-items: center;

    gap: 10px;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            #f3fbf8,
            #dff5ee
        );
}


.question-formula-board span {
    min-height: 68px;

    padding:
        12px 10px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #ffffff;

    color: #205f54;

    font:
        700 15px
        "Fredoka",
        sans-serif;

    line-height: 1.4;

    text-align: center;

    box-shadow:
        0 5px 14px
        rgba(36, 102, 88, 0.055);
}


.question-formula-board b {
    color: #63bca7;

    font:
        800 22px
        "Fredoka",
        sans-serif;
}


/* ==================================================
   FULL QUESTION EXAMPLES
================================================== */

.full-question-examples {
    max-width: 850px;

    margin:
        0 auto 24px;

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 13px;
}


.full-question-examples article {
    min-height: 185px;

    padding:
        20px 16px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 11px;

    border:
        1px solid
        rgba(59, 154, 133, 0.12);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e7f7f2
        );

    text-align: center;
}


.full-question-examples article > span {
    font-size: 38px;
}


.full-question-examples strong {
    display: block;

    color: #205f54;

    font:
        700 15px
        "Fredoka",
        sans-serif;

    line-height: 1.45;
}


.full-question-examples p {
    margin:
        6px 0 0;

    color: #71877f;

    font-size: 11px;
    font-weight: 700;
}


/* ==================================================
   ANSWER EXAMPLE
================================================== */

.answer-example-card {
    max-width: 720px;

    margin:
        0 auto 29px;

    padding:
        18px 21px;

    display: flex;

    align-items: center;

    gap: 16px;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 19px;

    background:
        linear-gradient(
            145deg,
            #edf9f5,
            #d8f2ea
        );
}


.answer-example-card > span {
    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: #ffffff;

    font-size: 27px;
}


.answer-example-card small {
    display: block;

    margin-bottom: 4px;

    color: #328f7b;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.2px;
}


.answer-example-card strong {
    display: block;

    color: #205f54;

    font:
        700 16px
        "Fredoka",
        sans-serif;
}


.answer-example-card p {
    margin:
        5px 0 0;

    color: #56736c;

    font-size: 12px;
    font-weight: 800;
}


/* ==================================================
   COMPARISON
================================================== */

.how-comparison-board {
    max-width: 850px;

    margin:
        0 auto 27px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 17px;
}


.how-comparison-board article {
    min-height: 310px;

    padding:
        25px 21px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 23px;

    text-align: center;

    box-shadow:
        0 9px 22px
        rgba(36, 102, 88, 0.055);
}


.how-many-column {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #dff6ee
        );
}


.how-much-column {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e5f6f2
        );
}


.comparison-big-word {
    min-width: 145px;

    margin-bottom: 17px;

    padding:
        10px 15px;

    border-radius: 13px;

    background: #ffffff;

    color: #328f7b;

    font:
        800 16px
        "Fredoka",
        sans-serif;

    letter-spacing: 0.7px;
}


.how-comparison-board article > span {
    margin-bottom: 10px;

    font-size: 38px;
}


.how-comparison-board article > strong {
    color: #205f54;

    font:
        800 17px
        "Fredoka",
        sans-serif;

    letter-spacing: 0.5px;
}


.how-comparison-board article > p {
    min-height: 44px;

    margin:
        8px 0 16px;

    color: #6a827b;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.55;
}


.how-comparison-board .comparison-example {
    width: 100%;

    padding:
        12px 10px;

    border-radius: 13px;

    background:
        rgba(255, 255, 255, 0.84);

    color: #45685f;

    font-size: 12px;
    font-weight: 800;
}


/* ==================================================
   DECISION PATH
================================================== */

.how-quantity-body .decision-path {
    max-width: 760px;

    margin:
        0 auto 29px;

    padding: 20px;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            #f6fcfa,
            #e0f5ef
        );
}


.how-quantity-body .decision-question {
    padding: 15px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 11px;

    border-radius: 15px;

    background: #ffffff;

    color: #205f54;

    text-align: center;
}


.how-quantity-body .decision-question strong {
    font:
        700 17px
        "Fredoka",
        sans-serif;
}


.how-decision-grid {
    margin-top: 12px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 11px;
}


.how-decision-grid article {
    min-height: 115px;

    padding: 13px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.80);

    text-align: center;
}


.how-decision-grid article > span {
    font-size: 25px;
}


.how-decision-grid small {
    margin:
        6px 0 2px;

    color: #71877f;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}


.how-decision-grid strong {
    color: #287665;

    font:
        700 17px
        "Fredoka",
        sans-serif;
}


/* ==================================================
   PATTERN TABLE
================================================== */

.question-pattern-table {
    max-width: 850px;

    margin:
        0 auto 27px;

    overflow: hidden;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 8px 20px
        rgba(36, 102, 88, 0.055);
}


.pattern-row {
    min-height: 65px;

    padding:
        12px 18px;

    display: grid;

    grid-template-columns:
        1fr 1fr 1.5fr;

    align-items: center;

    gap: 13px;

    border-bottom:
        1px solid
        rgba(59, 154, 133, 0.09);

    color: #607a73;

    font-size: 12px;
    font-weight: 700;
}


.pattern-row:last-child {
    border-bottom: none;
}


.pattern-heading {
    min-height: 49px;

    background:
        linear-gradient(
            135deg,
            #d8f2ea,
            #eaf8f4
        );

    color: #287665;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}


.pattern-row strong {
    color: #205f54;

    font:
        700 14px
        "Fredoka",
        sans-serif;
}


/* ==================================================
   DO QUESTIONS
================================================== */

.do-question-intro {
    max-width: 780px;

    margin:
        0 auto 25px;

    padding:
        21px 24px;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #f8fdfb,
            #e7f7f2
        );

    color: #59736c;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
}


.do-question-intro p {
    margin:
        0 0 9px;
}


.do-question-intro p:last-child {
    margin-bottom: 0;
}


.do-question-intro strong {
    color: #247b6a;
}


.do-question-formulas {
    max-width: 850px;

    margin:
        0 auto 27px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 15px;
}


.do-question-formulas article {
    min-height: 190px;

    padding:
        21px 18px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(59, 154, 133, 0.12);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e5f7f1
        );

    text-align: center;
}


.formula-label {
    margin-bottom: 12px;

    padding:
        6px 10px;

    border-radius: 999px;

    background: #d9f2eb;

    color: #287665;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}


.do-question-formulas strong {
    color: #205f54;

    font:
        700 16px
        "Fredoka",
        sans-serif;

    line-height: 1.45;
}


.do-question-formulas p {
    margin:
        12px 0 0;

    padding:
        10px 12px;

    border-radius: 11px;

    background: #ffffff;

    color: #52736b;

    font-size: 11px;
    font-weight: 800;
}


/* ==================================================
   QUESTION LAB
================================================== */

.how-question-lab {
    max-width: 770px;

    margin:
        0 auto;

    padding: 25px;

    border:
        2px solid
        rgba(59, 157, 135, 0.15);

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            #f1faf7,
            #d8f2ea
        );

    box-shadow:
        0 18px 38px
        rgba(37, 104, 90, 0.09);
}


.how-quantity-body .machine-progress {
    margin-bottom: 16px;

    color: #287665;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;

    text-align: center;

    text-transform: uppercase;
}


/* ==================================================
   QUESTION LAB CARD
================================================== */

.how-question-card {
    min-height: 310px;

    padding:
        28px 24px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    border:
        4px solid #ffffff;

    border-radius: 25px;

    background:
        radial-gradient(
            circle at 50% 25%,
            rgba(217, 244, 236, 0.75),
            transparent 39%
        ),
        #ffffff;

    box-shadow:
        0 12px 27px
        rgba(36, 102, 88, 0.08);

    text-align: center;

    transition:
        border-color 0.22s ease,
        transform 0.22s ease;
}


.how-question-card.lab-correct {
    border-color:
        rgba(85, 184, 107, 0.43);
}


.how-question-card.lab-wrong {
    border-color:
        rgba(220, 120, 110, 0.40);
}


.how-question-picture {
    min-height: 86px;

    margin-bottom: 5px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 60px;

    animation:
        howQuestionPop
        0.38s ease both;
}


@keyframes howQuestionPop {

    from {
        opacity: 0;

        transform:
            translateY(12px)
            scale(0.84);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }

}


.how-question-noun {
    color: #205f54;

    font:
        700 23px
        "Fredoka",
        sans-serif;
}


.how-question-card .noun-type-badge {
    margin-top: 10px;

    padding:
        7px 13px;

    border-radius: 999px;

    background: #e1f4ee;

    color: #328f7b;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.2px;
}


.how-question-sentence {
    max-width: 650px;

    margin-top: 18px;

    color: #205f54;

    font:
        700
        clamp(
            20px,
            4vw,
            27px
        )
        "Fredoka",
        sans-serif;

    line-height: 1.45;
}


/* ==================================================
   QUESTION LAB OPTIONS
================================================== */

.how-question-options {
    margin-top: 17px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 11px;
}


.how-question-options button {
    min-height: 92px;

    padding:
        16px 12px;

    cursor: pointer;

    border:
        2px solid transparent;

    border-radius: 18px;

    background: #ffffff;

    color: #205f54;

    font:
        800 17px
        "Fredoka",
        sans-serif;

    letter-spacing: 0.6px;

    box-shadow:
        0 7px 17px
        rgba(36, 102, 88, 0.07);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}


.how-question-options button:hover {
    transform: translateY(-3px);

    border-color: #6bc5b0;

    background: #f8fdfb;
}


.how-question-options button.correct-option {
    border-color: #55b86b;

    background: #e9f9ec;

    color: #226832;
}


.how-question-options button.wrong-option {
    border-color: #dc786e;

    background: #fff0ee;

    color: #963e36;
}


.how-question-options button:disabled {
    cursor: default;
}


/* ==================================================
   FEEDBACK
================================================== */

.how-quantity-body .activity-feedback {
    margin-top: 15px;

    border-radius: 14px;

    font-size: 14px;
    font-weight: 800;
    line-height: 1.55;

    text-align: center;
}


.how-quantity-body .feedback-correct {
    padding:
        12px 15px;

    background: #e9f9ec;

    color: #26733a;
}


.how-quantity-body .feedback-wrong {
    padding:
        12px 15px;

    background: #fff0ee;

    color: #963e36;
}


/* ==================================================
   VIDEO
================================================== */

.how-quantity-body .video-frame-wrap {
    border:
        1px solid
        rgba(57, 151, 131, 0.13);

    background:
        linear-gradient(
            145deg,
            #e8f8f3,
            #cceee4
        );
}


.how-quantity-body .video-placeholder {
    min-height: 390px;

    padding:
        40px 25px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 14px;

    border-radius: 24px;

    background:
        radial-gradient(
            circle at 50% 35%,
            #ffffff,
            transparent 37%
        ),
        linear-gradient(
            145deg,
            #f8fdfb,
            #d9f3eb
        );

    text-align: center;
}


.how-quantity-body .video-placeholder > span {
    font-size: 76px;
}


.how-quantity-body .video-placeholder strong {
    color: #205f54;

    font:
        700
        clamp(
            24px,
            4vw,
            34px
        )
        "Fredoka",
        sans-serif;
}


.how-quantity-body .video-placeholder p {
    margin: 0;

    color: #648079;

    font-weight: 700;
}


/* ==================================================
   EXTERNAL GAMES
================================================== */

.how-quantity-body .external-game-card {
    border:
        1px solid
        rgba(58, 151, 131, 0.14);

    background:
        linear-gradient(
            145deg,
            #fbfefd,
            #e0f5ef
        );
}


.how-quantity-body .external-game-icon {
    background:
        linear-gradient(
            145deg,
            #c9eee4,
            #ebf9f5
        );
}


.how-quantity-body .external-game-card h3 {
    color: #205f54;
}


.how-quantity-body .external-game-card a {
    background:
        linear-gradient(
            135deg,
            #328f7b,
            #63c5ad
        );
}


/* ==================================================
   MAP
================================================== */

.how-quantity-body .practice-map {
    background:
        linear-gradient(
            180deg,
            rgba(239, 250, 247, 0.86),
            rgba(213, 241, 233, 0.62)
        );
}


.how-quantity-body .practice-level {
    border:
        2px solid
        rgba(57, 151, 131, 0.13);

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e4f6f1
        );

    box-shadow:
        0 10px 25px
        rgba(37, 103, 89, 0.08);
}


.how-quantity-body
.practice-level:not(:disabled):hover {
    transform:
        translateY(-5px)
        scale(1.01);

    border-color:
        rgba(60, 166, 143, 0.30);
}


.how-quantity-body .active-practice-level {
    border-color: #63c5ad;

    background:
        linear-gradient(
            145deg,
            #e8f8f3,
            #ccefe5
        );
}


.how-quantity-body .completed-level {
    border-color:
        rgba(66, 170, 143, 0.35);

    background:
        linear-gradient(
            145deg,
            #effbf7,
            #d1f1e7
        );
}


.how-quantity-body .practice-level-icon {
    background:
        linear-gradient(
            145deg,
            #cef0e6,
            #edf9f6
        );
}


.how-quantity-body .practice-level strong {
    color: #205f54;
}


.how-quantity-body .level-status {
    color: #328f7b;
}


.how-quantity-body .practice-path-line {
    background:
        linear-gradient(
            180deg,
            #82cfbd,
            #b9e7dc
        );
}


.how-quantity-body .map-message {
    border:
        1px solid
        rgba(60, 157, 136, 0.13);

    background: #edf9f5;

    color: #477a70;
}


/* ==================================================
   GAME WORKSPACE
================================================== */

.how-quantity-body .game-back-button {
    color: #287665;

    background: #e5f6f1;
}


.how-quantity-body .game-back-button:hover {
    background: #cceee4;
}


.how-quantity-body .game-progress-row {
    border:
        1px solid
        rgba(58, 151, 131, 0.12);

    background: #edf9f5;

    color: #287665;
}


.how-quantity-body .game-workspace {
    min-height: 340px;
}


/* ==================================================
   GENERIC GAME PROMPT
================================================== */

.how-quantity-body .game-prompt {
    max-width: 760px;

    margin:
        17px auto;

    padding: 21px;

    border:
        1px solid
        rgba(59, 154, 133, 0.12);

    border-radius: 19px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e9f8f4
        );

    color: #304a44;

    font:
        700
        clamp(
            18px,
            4vw,
            23px
        )
        "Fredoka",
        sans-serif;

    line-height: 1.5;

    text-align: center;
}


/* ==================================================
   GENERIC GAME CHOICES
================================================== */

.how-quantity-body .game-choice-grid {
    max-width: 760px;

    margin:
        15px auto;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 11px;
}


.how-quantity-body .game-choice-grid button {
    min-height: 68px;

    padding:
        14px 16px;

    cursor: pointer;

    border:
        2px solid transparent;

    border-radius: 15px;

    background: #ffffff;

    color: #31564d;

    font:
        800 14px
        "Manrope",
        sans-serif;

    line-height: 1.5;

    box-shadow:
        0 6px 15px
        rgba(36, 102, 88, 0.08);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}


.how-quantity-body .game-choice-grid button:hover {
    transform: translateY(-2px);

    border-color: #75cbb7;
}


.how-quantity-body
.game-choice-grid button.correct-option {
    border-color: #55b86b;

    background: #e9f9ec;

    color: #226832;
}


.how-quantity-body
.game-choice-grid button.wrong-option {
    border-color: #dc786e;

    background: #fff0ee;

    color: #963e36;
}


.how-quantity-body
.game-choice-grid button:disabled {
    cursor: default;
}


/* ==================================================
   MAP LEVEL 1 — COUNT IT
================================================== */

.count-it-question-card {
    max-width: 770px;

    margin:
        18px auto;

    padding: 26px;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e1f6ef
        );

    text-align: center;
}


.count-it-question-picture {
    min-height: 100px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 62px;
    letter-spacing: 4px;
}


.count-it-question-noun {
    color: #205f54;

    font:
        700
        clamp(
            22px,
            4vw,
            29px
        )
        "Fredoka",
        sans-serif;
}


.count-it-question-type {
    display: inline-flex;

    margin-top: 10px;

    padding:
        7px 12px;

    border-radius: 999px;

    background: #d9f2eb;

    color: #287665;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}


/* ==================================================
   MAP LEVEL 2 — MEASURE IT
================================================== */

.measure-it-card {
    max-width: 770px;

    margin:
        18px auto;

    padding: 26px;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e5f6f2
        );

    text-align: center;
}


.measure-it-picture {
    min-height: 100px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 64px;
}


.measure-it-noun {
    color: #205f54;

    font:
        700
        clamp(
            22px,
            4vw,
            29px
        )
        "Fredoka",
        sans-serif;
}


.measure-it-type {
    display: inline-flex;

    margin-top: 10px;

    padding:
        7px 12px;

    border-radius: 999px;

    background: #e1f4ee;

    color: #287665;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}


/* ==================================================
   MAP LEVEL 3 — QUESTION BUILDER
================================================== */

.question-builder-card {
    max-width: 790px;

    margin:
        18px auto;

    padding: 25px;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e8f7f3
        );

    text-align: center;
}


.question-builder-label {
    width: fit-content;

    margin:
        0 auto 14px;

    padding:
        7px 13px;

    border-radius: 999px;

    background: #d9f2eb;

    color: #287665;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}


.question-builder-pieces {
    margin-bottom: 17px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 9px;
}


.question-builder-pieces span {
    padding:
        10px 13px;

    border-radius: 12px;

    background: #ffffff;

    color: #205f54;

    font:
        700 14px
        "Fredoka",
        sans-serif;

    box-shadow:
        0 5px 13px
        rgba(36, 102, 88, 0.06);
}


.question-builder-task {
    color: #5f7972;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}


/* ==================================================
   MAP LEVEL 4 — QUESTION REPAIR
================================================== */

.question-repair-card {
    max-width: 780px;

    margin:
        18px auto;

    padding: 25px;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e5f6f1
        );
}


.question-repair-label {
    margin-bottom: 11px;

    color: #328f7b;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.3px;

    text-align: center;
}


.broken-question {
    padding: 20px;

    border-radius: 16px;

    background: #ffffff;

    color: #205f54;

    font:
        700
        clamp(
            20px,
            4vw,
            27px
        )
        "Fredoka",
        sans-serif;

    line-height: 1.5;

    text-align: center;

    box-shadow:
        0 7px 17px
        rgba(36, 102, 88, 0.06);
}


.question-repair-hint {
    margin:
        15px 0 0;

    color: #667f78;

    font-size: 12px;
    font-weight: 700;

    text-align: center;
}


/* ==================================================
   MAP LEVEL 5 — MARKET MISSION
================================================== */

.market-mission-card {
    max-width: 790px;

    margin:
        18px auto;

    overflow: hidden;

    border:
        1px solid
        rgba(58, 151, 131, 0.14);

    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e2f5ef
        );

    box-shadow:
        0 12px 29px
        rgba(37, 104, 90, 0.075);
}


.market-mission-header {
    padding:
        16px 20px;

    background:
        linear-gradient(
            135deg,
            #328f7b,
            #63c5ad
        );

    color: #ffffff;

    font:
        700 19px
        "Fredoka",
        sans-serif;

    text-align: center;
}


.market-mission-scene {
    min-height: 145px;

    padding: 23px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 13px;

    background:
        linear-gradient(
            145deg,
            #f9fdfc,
            #e7f7f2
        );
}


.market-mission-scene span {
    min-width: 62px;
    min-height: 62px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 17px;

    background: #ffffff;

    font-size: 40px;

    box-shadow:
        0 6px 15px
        rgba(36, 102, 88, 0.06);
}


.market-mission-text {
    padding:
        18px 23px 8px;

    color: #526e67;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;

    text-align: center;
}


.market-mission-question {
    padding:
        8px 23px 20px;

    color: #205f54;

    font:
        700 20px
        "Fredoka",
        sans-serif;

    line-height: 1.5;

    text-align: center;
}


/* ==================================================
   GAME NEXT BUTTON
================================================== */

.how-quantity-body .game-next-button {
    margin:
        21px auto 0;

    display: flex;
}


/* ==================================================
   QUICK REVIEW
================================================== */

.how-quantity-body .review-icon {
    background:
        linear-gradient(
            145deg,
            #c9eee4,
            #e9f8f4
        );
}


.how-final-review {
    max-width: 850px;

    margin:
        27px auto 24px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 13px;
}


.how-final-review article {
    min-height: 145px;

    padding: 19px;

    display: flex;

    align-items: center;

    gap: 16px;

    border:
        1px solid
        rgba(58, 151, 131, 0.13);

    border-radius: 19px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e6f7f2
        );

    box-shadow:
        0 7px 18px
        rgba(37, 104, 90, 0.055);
}


.how-final-review article > span {
    flex: 0 0 57px;

    width: 57px;
    height: 57px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 17px;

    background: #d9f2eb;

    font-size: 27px;
}


.how-final-review strong {
    display: block;

    margin-bottom: 5px;

    color: #205f54;

    font:
        700 17px
        "Fredoka",
        sans-serif;
}


.how-final-review p {
    margin: 0;

    color: #6b837d;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}


/* ==================================================
   FINAL QUESTION
================================================== */

.how-quantity-body .final-question-card {
    max-width: 700px;

    margin:
        0 auto 29px;

    padding:
        19px 22px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 19px;

    background:
        linear-gradient(
            145deg,
            #edf9f5,
            #d7f2ea
        );
}


.how-quantity-body .final-question-card > span {
    font-size: 29px;
}


.how-quantity-body .final-question-card small {
    display: block;

    margin-bottom: 3px;

    color: #328f7b;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}


.how-quantity-body .final-question-card strong {
    color: #205f54;

    font:
        700 18px
        "Fredoka",
        sans-serif;
}


/* ==================================================
   FINISH
================================================== */

.how-quantity-body .finish-page {
    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(201, 238, 228, 0.72),
            transparent 31%
        ),
        linear-gradient(
            145deg,
            #ffffff,
            #edf9f5
        );
}


.how-quantity-body .finish-trophy {
    background:
        linear-gradient(
            145deg,
            #c8eee3,
            #e8f8f3
        );

    box-shadow:
        0 16px 32px
        rgba(43, 139, 118, 0.14);
}


.how-quantity-body .finish-statistic {
    border:
        1px solid
        rgba(58, 151, 131, 0.13);

    background:
        linear-gradient(
            145deg,
            #fbfefd,
            #e2f6f0
        );
}


.how-quantity-body .finish-statistic strong {
    color: #205f54;
}


.how-quantity-body .finish-badge {
    border:
        1px solid
        rgba(58, 151, 131, 0.15);

    background:
        linear-gradient(
            145deg,
            #e9f8f4,
            #ccefe5
        );
}


.how-quantity-body .finish-badge-icon {
    background: #ffffff;
}


.how-quantity-body .finish-badge strong {
    color: #205f54;
}


/* ==================================================
   ACHIEVEMENT
================================================== */

.how-quantity-body .achievement-toast {
    border:
        1px solid
        rgba(58, 151, 131, 0.16);

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e3f6f0
        );

    box-shadow:
        0 20px 45px
        rgba(35, 102, 88, 0.16);
}


.how-quantity-body .achievement-toast-icon {
    background:
        linear-gradient(
            145deg,
            #c8eee3,
            #edf9f5
        );
}


.how-quantity-body .achievement-toast small {
    color: #328f7b;
}


.how-quantity-body .achievement-toast strong {
    color: #205f54;
}


/* ==================================================
   HIDDEN
================================================== */

.how-quantity-body .hidden-button {
    display: none !important;
}


/* ==================================================
   RESPONSIVE — 900PX
================================================== */

@media (max-width: 900px) {

    .how-preview-grid,
    .how-comparison-board {
        grid-template-columns: 1fr;
    }


    .how-preview-grid article,
    .how-comparison-board article {
        min-height: 240px;
    }


    .full-question-examples {
        grid-template-columns: 1fr;
    }


    .full-question-examples article {
        min-height: 145px;
    }

}


/* ==================================================
   RESPONSIVE — 760PX
================================================== */

@media (max-width: 760px) {

    .how-rule-card {
        grid-template-columns: 1fr;

        gap: 16px;

        text-align: center;
    }


    .how-rule-word {
        min-height: 76px;
    }


    .how-example-grid {
        grid-template-columns: 1fr;
    }


    .how-example-grid article {
        min-height: 165px;
    }


    .question-formula-board {
        grid-template-columns: 1fr;
    }


    .question-formula-board b {
        transform: rotate(90deg);
    }


    .question-formula-board span {
        min-height: 57px;
    }


    .do-question-formulas,
    .how-final-review {
        grid-template-columns: 1fr;
    }


    .how-question-options {
        grid-template-columns: 1fr;
    }


    .how-question-options button {
        min-height: 76px;
    }

}


/* ==================================================
   RESPONSIVE — 700PX
================================================== */

@media (max-width: 700px) {

    .how-quantity-body .intro-page {
        padding:
            48px 25px 44px;
    }


    .question-pattern-table {
        border-radius: 16px;
    }


    .pattern-row {
        grid-template-columns: 1fr;

        gap: 5px;

        padding:
            15px 17px;
    }


    .pattern-heading {
        display: none;
    }


    .pattern-row strong {
        margin-top: 5px;
    }


    .how-question-lab {
        padding: 17px;
    }


    .how-question-card {
        min-height: 265px;

        padding:
            24px 17px;
    }


    .how-quantity-body .game-choice-grid {
        grid-template-columns: 1fr;
    }

}


/* ==================================================
   RESPONSIVE — 560PX
================================================== */

@media (max-width: 560px) {

    .how-quantity-body .grammar-memory-card,
    .how-quantity-body .important-rule-card,
    .answer-example-card,
    .how-quantity-body .final-question-card {
        flex-direction: column;

        text-align: center;
    }


    .how-decision-grid {
        grid-template-columns: 1fr;
    }


    .how-question-lab {
        padding: 12px;

        border-radius: 23px;
    }


    .how-question-card {
        min-height: 235px;

        border-radius: 20px;
    }


    .how-question-picture {
        min-height: 70px;

        font-size: 51px;
    }


    .how-quantity-body .video-placeholder {
        min-height: 290px;

        padding:
            28px 18px;
    }


    .market-mission-scene {
        gap: 10px;
    }


    .market-mission-scene span {
        min-width: 54px;
        min-height: 54px;

        font-size: 35px;
    }


    .how-final-review article {
        align-items: flex-start;
    }

}


/* ==================================================
   RESPONSIVE — 420PX
================================================== */

@media (max-width: 420px) {

    .how-quantity-body .intro-page h1 {
        font-size: 35px;
    }


    .how-preview-grid article {
        min-height: 235px;

        padding:
            22px 17px;
    }


    .how-question-card {
        min-height: 215px;
    }


    .how-question-sentence {
        font-size: 20px;
    }


    .question-builder-pieces span {
        width: 100%;
    }


    .how-final-review article {
        padding: 15px;
    }


    .how-final-review article > span {
        flex-basis: 48px;

        width: 48px;
        height: 48px;

        font-size: 22px;
    }

}