@import url("grade-3-lesson-9.css");


/* ==================================================
   GRADE 3 — LESSON 10
   MUCH, MANY & A LOT OF
================================================== */


/* ==================================================
   BODY
================================================== */

.quantity-body {
    background:
        radial-gradient(
            circle at 8% 9%,
            rgba(104, 201, 177, 0.22),
            transparent 27%
        ),
        radial-gradient(
            circle at 92% 14%,
            rgba(183, 229, 217, 0.27),
            transparent 29%
        ),
        radial-gradient(
            circle at 50% 94%,
            rgba(213, 242, 234, 0.35),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #f4fbf9 0%,
            #fcfefd 48%,
            #eef9f6 100%
        );
}


.quantity-body .floating-symbol {
    color: rgba(40, 126, 107, 0.08);
}


/* ==================================================
   LESSON COLORS
================================================== */

.quantity-body .lesson-navigation {
    border:
        1px solid
        rgba(60, 156, 135, 0.13);

    box-shadow:
        0 15px 36px
        rgba(33, 104, 90, 0.08);
}


.quantity-body .lesson-logo {
    background:
        linear-gradient(
            135deg,
            #328f7b,
            #63c5ad
        );
}


.quantity-body .chapter-number,
.quantity-body .screen-label {
    color: #328f7b;
}


.quantity-body .chapter-name,
.quantity-body h1,
.quantity-body h2,
.quantity-body h3 {
    color: #205f54;
}


.quantity-body .lesson-progress-fill {
    background:
        linear-gradient(
            90deg,
            #328f7b,
            #75cbb7
        );
}


.quantity-body .lesson-progress-number {
    color: #287665;
}


.quantity-body .lesson-panel {
    border:
        1px solid
        rgba(60, 156, 135, 0.12);

    box-shadow:
        0 25px 60px
        rgba(36, 103, 89, 0.10);
}


/* ==================================================
   BUTTONS
================================================== */

.quantity-body .main-action-button {
    background:
        linear-gradient(
            135deg,
            #328f7b,
            #63c5ad
        );

    box-shadow:
        0 13px 27px
        rgba(43, 139, 118, 0.22);
}


.quantity-body .main-action-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 17px 34px
        rgba(43, 139, 118, 0.29);
}


/* ==================================================
   INTRO
================================================== */

.quantity-body .intro-page {
    max-width: 780px;

    padding:
        64px 55px 58px;
}


.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;
}


.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;
}


.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);
}


.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;
}


/* ==================================================
   PAGE HEADING
================================================== */

.quantity-body .page-heading {
    margin-bottom: 28px;
}


.quantity-body .heading-icon {
    background:
        linear-gradient(
            145deg,
            #ccefe5,
            #e8f8f3
        );

    box-shadow:
        0 9px 20px
        rgba(50, 137, 118, 0.10);
}


/* ==================================================
   GRAMMAR INTRO
================================================== */

.quantity-body .grammar-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;
}


.quantity-body .grammar-intro-card p {
    margin:
        0 0 11px;
}


.quantity-body .grammar-intro-card p:last-child {
    margin-bottom: 0;
}


.quantity-body .grammar-intro-card strong {
    color: #247b6a;
}


/* ==================================================
   QUANTITY PREVIEW
================================================== */

.quantity-preview-grid {
    max-width: 900px;

    margin:
        0 auto 27px;

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 16px;
}


.quantity-preview-grid article {
    min-height: 290px;

    padding:
        26px 20px;

    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);
}


.many-preview {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #dff6ee
        );
}


.much-preview {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e5f6f2
        );
}


.lot-preview {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e9f8f4
        );
}


.quantity-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;
}


.quantity-label {
    margin-bottom: 8px;

    color: #328f7b;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}


.quantity-preview-grid h3 {
    margin:
        0 0 10px;

    font:
        700 19px
        "Fredoka",
        sans-serif;

    line-height: 1.35;
}


.quantity-preview-grid p {
    max-width: 240px;

    margin: 0;

    color: #657e77;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}


/* ==================================================
   MEMORY CARD
================================================== */

.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
        );
}


.quantity-body .grammar-memory-card > span {
    flex: 0 0 auto;

    font-size: 27px;
}


.quantity-body .grammar-memory-card p {
    margin: 0;

    color: #526e67;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.65;
}


.quantity-body .grammar-memory-card strong {
    color: #247b6a;
}


/* ==================================================
   QUANTITY RULE CARDS
================================================== */

.quantity-rule-card {
    max-width: 830px;

    margin:
        0 auto 25px;

    padding:
        24px 26px;

    display: grid;

    grid-template-columns:
        155px 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);
}


.many-rule-card {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #def5ed
        );
}


.much-rule-card {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e3f5f1
        );
}


.lot-rule-card {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e8f7f3
        );
}


.quantity-rule-card .rule-word {
    min-height: 105px;

    padding:
        14px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 19px;

    background: #ffffff;

    color: #328f7b;

    font:
        800 23px
        "Fredoka",
        sans-serif;

    letter-spacing: 0.7px;

    text-align: center;

    box-shadow:
        0 6px 16px
        rgba(36, 102, 88, 0.06);
}


.quantity-rule-card > div:last-child > strong {
    display: block;

    margin-bottom: 7px;

    color: #205f54;

    font:
        700 19px
        "Fredoka",
        sans-serif;

    line-height: 1.45;
}


.quantity-rule-card p {
    margin: 0;

    color: #5c756f;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
}


/* ==================================================
   FORMULA
================================================== */

.quantity-body .grammar-formula-card {
    max-width: 610px;

    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;
}


.quantity-body .grammar-formula-card span {
    color: #648078;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.4px;
}


.quantity-body .grammar-formula-card strong {
    color: #205f54;

    font:
        700 21px
        "Fredoka",
        sans-serif;
}


/* ==================================================
   QUANTITY EXAMPLES
================================================== */

.quantity-example-grid {
    max-width: 850px;

    margin:
        0 auto 27px;

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 14px;
}


.quantity-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);
}


.quantity-example-grid article > span {
    min-height: 75px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 41px;
    letter-spacing: 3px;
}


.quantity-example-grid strong {
    color: #205f54;

    font:
        700 18px
        "Fredoka",
        sans-serif;
}


.quantity-example-grid p {
    margin:
        6px 0 0;

    color: #708780;

    font-size: 11px;
    font-weight: 700;
}


/* ==================================================
   IMPORTANT RULE
================================================== */

.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
        );
}


.quantity-body .important-rule-card > span {
    flex: 0 0 auto;

    font-size: 26px;
}


.quantity-body .important-rule-card p {
    margin: 0;

    color: #55746c;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.65;
}


.quantity-body .important-rule-card strong {
    color: #247b6a;
}


/* ==================================================
   SENTENCE EXAMPLES
================================================== */

.quantity-body .sentence-example-list {
    max-width: 830px;

    margin:
        0 auto 29px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 13px;
}


.quantity-body .sentence-example-list article {
    min-height: 128px;

    padding: 18px;

    display: flex;

    align-items: center;

    gap: 15px;

    border:
        1px solid
        rgba(59, 154, 133, 0.12);

    border-radius: 19px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e8f7f3
        );
}


.quantity-body .sentence-example-list article > span {
    flex: 0 0 55px;

    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: #d9f2eb;

    font-size: 30px;
}


.quantity-body .sentence-example-list strong {
    display: block;

    color: #205f54;

    font:
        700 16px
        "Fredoka",
        sans-serif;

    line-height: 1.45;
}


.quantity-body .sentence-example-list p {
    margin:
        5px 0 0;

    color: #708780;

    font-size: 11px;
    font-weight: 700;
}


/* ==================================================
   TWO GROUP BOARD
================================================== */

.two-group-board {
    max-width: 850px;

    margin:
        0 auto 27px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 17px;
}


.two-group-board > article {
    padding:
        23px;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e4f6f1
        );

    box-shadow:
        0 8px 20px
        rgba(36, 102, 88, 0.055);
}


.group-heading {
    margin-bottom: 16px;

    display: flex;

    align-items: center;

    gap: 12px;
}


.group-heading > span {
    width: 49px;
    height: 49px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #d9f2eb;

    font-size: 25px;
}


.group-heading strong {
    color: #205f54;

    font:
        700 18px
        "Fredoka",
        sans-serif;
}


.two-group-board > article > p {
    margin:
        8px 0 0;

    padding:
        11px 12px;

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.80);

    color: #52736b;

    font-size: 12px;
    font-weight: 800;

    text-align: center;
}


/* ==================================================
   FULL COMPARISON
================================================== */

.quantity-comparison-grid {
    max-width: 900px;

    margin:
        0 auto 27px;

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 14px;
}


.quantity-comparison-grid article {
    min-height: 285px;

    padding:
        23px 18px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 22px;

    text-align: center;

    box-shadow:
        0 8px 20px
        rgba(36, 102, 88, 0.055);
}


.quantity-comparison-grid .many-column {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #dff6ee
        );
}


.quantity-comparison-grid .much-column {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e4f6f2
        );
}


.quantity-comparison-grid .lot-column {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e9f8f4
        );
}


.quantity-comparison-grid .comparison-word {
    min-width: 105px;

    margin-bottom: 14px;

    padding:
        10px 15px;

    border-radius: 13px;

    background: #ffffff;

    color: #328f7b;

    font:
        800 17px
        "Fredoka",
        sans-serif;

    letter-spacing: 0.7px;
}


.quantity-comparison-grid article > strong {
    color: #205f54;

    font:
        700 18px
        "Fredoka",
        sans-serif;
}


.quantity-comparison-grid article > p {
    min-height: 42px;

    margin:
        7px 0 15px;

    color: #6b827c;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.55;
}


.quantity-comparison-grid .comparison-example {
    width: 100%;

    padding:
        13px 10px;

    border-radius: 13px;

    background:
        rgba(255, 255, 255, 0.82);

    color: #45685f;

    font-size: 12px;
    font-weight: 800;
    line-height: 1.6;
}


/* ==================================================
   DECISION PATH
================================================== */

.quantity-body .decision-path {
    max-width: 790px;

    margin:
        0 auto 29px;

    padding: 21px;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #f6fcfa,
            #e0f5ef
        );
}


.quantity-body .decision-question {
    padding: 15px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 11px;

    border-radius: 15px;

    background: #ffffff;

    color: #205f54;

    font:
        700 18px
        "Fredoka",
        sans-serif;

    text-align: center;
}


.quantity-decision-grid {
    margin-top: 13px;

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 10px;
}


.quantity-decision-grid article {
    min-height: 112px;

    padding: 13px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.78);

    text-align: center;
}


.quantity-decision-grid article > span {
    font-size: 25px;
}


.quantity-decision-grid small {
    margin:
        6px 0 2px;

    color: #71877f;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}


.quantity-decision-grid strong {
    color: #287665;

    font:
        700 17px
        "Fredoka",
        sans-serif;
}


/* ==================================================
   NATURAL ENGLISH
================================================== */

.natural-english-card {
    max-width: 800px;

    margin:
        0 auto 24px;

    padding:
        22px 25px;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            #f8fdfb,
            #e5f6f1
        );

    text-align: center;
}


.natural-english-card p {
    margin: 0;

    color: #526e67;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.75;
}


.natural-english-card strong {
    color: #247b6a;
}


.natural-comparison {
    max-width: 850px;

    margin:
        0 auto 26px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 13px;
}


.natural-comparison article {
    min-height: 130px;

    padding:
        18px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(59, 154, 133, 0.12);

    border-radius: 19px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e8f7f3
        );

    text-align: center;
}


.natural-comparison strong {
    margin-top: 8px;

    color: #205f54;

    font:
        700 16px
        "Fredoka",
        sans-serif;

    line-height: 1.5;
}


.natural-label,
.question-label,
.negative-label {
    padding:
        6px 11px;

    border-radius: 999px;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}


.natural-label {
    background: #d9f3eb;

    color: #287665;
}


.question-label {
    background: #e3f4f1;

    color: #287665;
}


.negative-label {
    background: #e7f4f0;

    color: #287665;
}


/* ==================================================
   WARNING CARD
================================================== */

.quantity-body .warning-rule-card {
    max-width: 790px;

    margin:
        0 auto 29px;

    padding:
        18px 21px;

    display: flex;

    align-items: flex-start;

    gap: 15px;

    border:
        1px solid
        rgba(72, 160, 141, 0.15);

    border-radius: 19px;

    background:
        linear-gradient(
            145deg,
            #f4fbf9,
            #dff4ee
        );
}


.quantity-body .warning-rule-card > span {
    flex: 0 0 auto;

    font-size: 27px;
}


.quantity-body .warning-rule-card strong {
    color: #205f54;
}


.quantity-body .warning-rule-card > div > strong {
    display: block;

    margin-bottom: 5px;

    font:
        700 16px
        "Fredoka",
        sans-serif;
}


.quantity-body .warning-rule-card p {
    margin: 0;

    color: #58746d;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.65;
}


/* ==================================================
   QUANTITY SCANNER
================================================== */

.quantity-scanner {
    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);
}


.quantity-body .machine-progress {
    margin-bottom: 16px;

    color: #287665;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;

    text-align: center;

    text-transform: uppercase;
}


/* ==================================================
   SCANNER CARD
================================================== */

.quantity-scanner-card {
    min-height: 295px;

    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;
}


.quantity-scanner-card.scanner-correct {
    border-color:
        rgba(85, 184, 107, 0.43);
}


.quantity-scanner-card.scanner-wrong {
    border-color:
        rgba(220, 120, 110, 0.40);
}


.quantity-scanner-picture {
    min-height: 90px;

    margin-bottom: 8px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 62px;

    animation:
        quantityPop
        0.38s ease both;
}


@keyframes quantityPop {

    from {
        opacity: 0;

        transform:
            translateY(12px)
            scale(0.84);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }

}


.quantity-scanner-sentence {
    max-width: 660px;

    color: #205f54;

    font:
        700
        clamp(
            21px,
            4vw,
            29px
        )
        "Fredoka",
        sans-serif;

    line-height: 1.45;
}


.noun-type-badge {
    margin-top: 15px;

    padding:
        7px 13px;

    border-radius: 999px;

    background: #e1f4ee;

    color: #328f7b;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.2px;
}


/* ==================================================
   SCANNER OPTIONS
================================================== */

.quantity-scanner-options {
    margin-top: 17px;

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 11px;
}


.quantity-scanner-options button {
    min-height: 95px;

    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;
}


.quantity-scanner-options button:hover {
    transform: translateY(-3px);

    border-color: #6bc5b0;

    background: #f8fdfb;
}


.quantity-scanner-options button.correct-option {
    border-color: #55b86b;

    background: #e9f9ec;

    color: #226832;
}


.quantity-scanner-options button.wrong-option {
    border-color: #dc786e;

    background: #fff0ee;

    color: #963e36;
}


.quantity-scanner-options button:disabled {
    cursor: default;
}


/* ==================================================
   FEEDBACK
================================================== */

.quantity-body .activity-feedback {
    margin-top: 15px;

    border-radius: 14px;

    font-size: 14px;
    font-weight: 800;
    line-height: 1.55;

    text-align: center;
}


.quantity-body .feedback-correct {
    padding:
        12px 15px;

    background: #e9f9ec;

    color: #26733a;
}


.quantity-body .feedback-wrong {
    padding:
        12px 15px;

    background: #fff0ee;

    color: #963e36;
}


/* ==================================================
   VIDEO
================================================== */

.quantity-body .video-frame-wrap {
    border:
        1px solid
        rgba(57, 151, 131, 0.13);

    background:
        linear-gradient(
            145deg,
            #e8f8f3,
            #cceee4
        );
}


.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;
}


.quantity-body .video-placeholder > span {
    font-size: 76px;
}


.quantity-body .video-placeholder strong {
    color: #205f54;

    font:
        700
        clamp(
            24px,
            4vw,
            34px
        )
        "Fredoka",
        sans-serif;
}


.quantity-body .video-placeholder p {
    margin: 0;

    color: #648079;

    font-weight: 700;
}


/* ==================================================
   EXTERNAL GAMES
================================================== */

.quantity-body .external-game-card {
    border:
        1px solid
        rgba(58, 151, 131, 0.14);

    background:
        linear-gradient(
            145deg,
            #fbfefd,
            #e0f5ef
        );
}


.quantity-body .external-game-icon {
    background:
        linear-gradient(
            145deg,
            #c9eee4,
            #ebf9f5
        );
}


.quantity-body .external-game-card h3 {
    color: #205f54;
}


.quantity-body .external-game-card a {
    background:
        linear-gradient(
            135deg,
            #328f7b,
            #63c5ad
        );
}


/* ==================================================
   MAP
================================================== */

.quantity-body .practice-map {
    background:
        linear-gradient(
            180deg,
            rgba(239, 250, 247, 0.86),
            rgba(213, 241, 233, 0.62)
        );
}


.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);
}


.quantity-body
.practice-level:not(:disabled):hover {
    transform:
        translateY(-5px)
        scale(1.01);

    border-color:
        rgba(60, 166, 143, 0.30);
}


.quantity-body .active-practice-level {
    border-color: #63c5ad;

    background:
        linear-gradient(
            145deg,
            #e8f8f3,
            #ccefe5
        );
}


.quantity-body .completed-level {
    border-color:
        rgba(66, 170, 143, 0.35);

    background:
        linear-gradient(
            145deg,
            #effbf7,
            #d1f1e7
        );
}


.quantity-body .practice-level-icon {
    background:
        linear-gradient(
            145deg,
            #cef0e6,
            #edf9f6
        );
}


.quantity-body .practice-level strong {
    color: #205f54;
}


.quantity-body .level-status {
    color: #328f7b;
}


.quantity-body .practice-path-line {
    background:
        linear-gradient(
            180deg,
            #82cfbd,
            #b9e7dc
        );
}


.quantity-body .map-message {
    border:
        1px solid
        rgba(60, 157, 136, 0.13);

    background: #edf9f5;

    color: #477a70;
}


/* ==================================================
   GAME WORKSPACE
================================================== */

.quantity-body .game-back-button {
    color: #287665;

    background: #e5f6f1;
}


.quantity-body .game-back-button:hover {
    background: #cceee4;
}


.quantity-body .game-progress-row {
    border:
        1px solid
        rgba(58, 151, 131, 0.12);

    background: #edf9f5;

    color: #287665;
}


.quantity-body .game-workspace {
    min-height: 340px;
}


/* ==================================================
   GENERIC GAME PROMPT
================================================== */

.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
================================================== */

.quantity-body .game-choice-grid {
    max-width: 760px;

    margin:
        15px auto;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 11px;
}


.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;
}


.quantity-body .game-choice-grid button:hover {
    transform: translateY(-2px);

    border-color: #75cbb7;
}


.quantity-body
.game-choice-grid button.correct-option {
    border-color: #55b86b;

    background: #e9f9ec;

    color: #226832;
}


.quantity-body
.game-choice-grid button.wrong-option {
    border-color: #dc786e;

    background: #fff0ee;

    color: #963e36;
}


.quantity-body
.game-choice-grid button:disabled {
    cursor: default;
}


/* ==================================================
   MAP — MANY ZONE
================================================== */

.many-zone-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;
}


.many-zone-picture {
    min-height: 100px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 62px;
    letter-spacing: 4px;
}


.many-zone-noun {
    margin-top: 5px;

    color: #205f54;

    font:
        700
        clamp(
            22px,
            4vw,
            29px
        )
        "Fredoka",
        sans-serif;
}


.many-zone-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 — MUCH ZONE
================================================== */

.much-zone-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;
}


.much-zone-picture {
    min-height: 100px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 64px;
}


.much-zone-noun {
    color: #205f54;

    font:
        700
        clamp(
            22px,
            4vw,
            29px
        )
        "Fredoka",
        sans-serif;
}


.much-zone-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 — A LOT OF ZONE
================================================== */

.lot-zone-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,
            #e8f7f3
        );

    text-align: center;
}


.lot-zone-heading {
    width: fit-content;

    margin:
        0 auto 14px;

    padding:
        9px 16px;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            #d3f1e8,
            #eaf8f4
        );

    color: #287665;

    font:
        800 13px
        "Fredoka",
        sans-serif;
}


.lot-zone-sentence {
    color: #205f54;

    font:
        700
        clamp(
            21px,
            4vw,
            28px
        )
        "Fredoka",
        sans-serif;

    line-height: 1.5;
}


/* ==================================================
   MAP — GRAMMAR REPAIR
================================================== */

.quantity-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
        );
}


.quantity-repair-label {
    margin-bottom: 11px;

    color: #328f7b;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.3px;

    text-align: center;
}


.quantity-broken-sentence {
    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);
}


.quantity-repair-question {
    margin:
        15px 0 0;

    color: #667f78;

    font-size: 12px;
    font-weight: 700;

    text-align: center;
}


/* ==================================================
   MAP — FINAL QUANTITY MISSION
================================================== */

.final-quantity-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);
}


.final-quantity-header {
    padding:
        16px 20px;

    background:
        linear-gradient(
            135deg,
            #328f7b,
            #63c5ad
        );

    color: #ffffff;

    font:
        700 19px
        "Fredoka",
        sans-serif;

    text-align: center;
}


.final-quantity-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
        );
}


.final-quantity-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);
}


.final-quantity-text {
    padding:
        18px 23px 8px;

    color: #526e67;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;

    text-align: center;
}


.final-quantity-question {
    padding:
        8px 23px 20px;

    color: #205f54;

    font:
        700 20px
        "Fredoka",
        sans-serif;

    line-height: 1.5;

    text-align: center;
}


/* ==================================================
   GAME NEXT BUTTON
================================================== */

.quantity-body .game-next-button {
    margin:
        21px auto 0;

    display: flex;
}


/* ==================================================
   QUICK REVIEW
================================================== */

.quantity-body .review-icon {
    background:
        linear-gradient(
            145deg,
            #c9eee4,
            #e9f8f4
        );
}


.quantity-final-review {
    max-width: 850px;

    margin:
        27px auto 24px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 13px;
}


.quantity-final-review article {
    min-height: 135px;

    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);
}


.quantity-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;
}


.quantity-final-review strong {
    display: block;

    margin-bottom: 5px;

    color: #205f54;

    font:
        700 17px
        "Fredoka",
        sans-serif;
}


.quantity-final-review p {
    margin: 0;

    color: #6b837d;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}


/* ==================================================
   FINAL QUESTION
================================================== */

.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
        );
}


.quantity-body .final-question-card > span {
    font-size: 29px;
}


.quantity-body .final-question-card small {
    display: block;

    margin-bottom: 3px;

    color: #328f7b;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}


.quantity-body .final-question-card strong {
    color: #205f54;

    font:
        700 18px
        "Fredoka",
        sans-serif;
}


/* ==================================================
   FINISH
================================================== */

.quantity-body .finish-page {
    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(201, 238, 228, 0.72),
            transparent 31%
        ),
        linear-gradient(
            145deg,
            #ffffff,
            #edf9f5
        );
}


.quantity-body .finish-trophy {
    background:
        linear-gradient(
            145deg,
            #c8eee3,
            #e8f8f3
        );

    box-shadow:
        0 16px 32px
        rgba(43, 139, 118, 0.14);
}


.quantity-body .finish-statistic {
    border:
        1px solid
        rgba(58, 151, 131, 0.13);

    background:
        linear-gradient(
            145deg,
            #fbfefd,
            #e2f6f0
        );
}


.quantity-body .finish-statistic strong {
    color: #205f54;
}


.quantity-body .finish-badge {
    border:
        1px solid
        rgba(58, 151, 131, 0.15);

    background:
        linear-gradient(
            145deg,
            #e9f8f4,
            #ccefe5
        );
}


.quantity-body .finish-badge-icon {
    background: #ffffff;
}


.quantity-body .finish-badge strong {
    color: #205f54;
}


/* ==================================================
   ACHIEVEMENT
================================================== */

.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);
}


.quantity-body .achievement-toast-icon {
    background:
        linear-gradient(
            145deg,
            #c8eee3,
            #edf9f5
        );
}


.quantity-body .achievement-toast small {
    color: #328f7b;
}


.quantity-body .achievement-toast strong {
    color: #205f54;
}


/* ==================================================
   HIDDEN
================================================== */

.quantity-body .hidden-button {
    display: none !important;
}


/* ==================================================
   RESPONSIVE — 900PX
================================================== */

@media (max-width: 900px) {

    .quantity-preview-grid,
    .quantity-comparison-grid {
        grid-template-columns: 1fr;
    }


    .quantity-preview-grid article,
    .quantity-comparison-grid article {
        min-height: 220px;
    }

}


/* ==================================================
   RESPONSIVE — 760PX
================================================== */

@media (max-width: 760px) {

    .quantity-rule-card {
        grid-template-columns: 1fr;

        gap: 16px;

        text-align: center;
    }


    .quantity-rule-card .rule-word {
        min-height: 76px;
    }


    .quantity-example-grid {
        grid-template-columns: 1fr;
    }


    .quantity-example-grid article {
        min-height: 165px;
    }


    .quantity-body .sentence-example-list,
    .two-group-board,
    .natural-comparison,
    .quantity-final-review {
        grid-template-columns: 1fr;
    }


    .quantity-decision-grid {
        grid-template-columns: 1fr;
    }


    .quantity-decision-grid article {
        min-height: 88px;
    }


    .quantity-scanner-options {
        grid-template-columns: 1fr;
    }


    .quantity-scanner-options button {
        min-height: 76px;
    }

}


/* ==================================================
   RESPONSIVE — 700PX
================================================== */

@media (max-width: 700px) {

    .quantity-body .intro-page {
        padding:
            48px 25px 44px;
    }


    .quantity-scanner {
        padding: 17px;
    }


    .quantity-scanner-card {
        min-height: 255px;

        padding:
            24px 17px;
    }


    .quantity-body .game-choice-grid {
        grid-template-columns: 1fr;
    }

}


/* ==================================================
   RESPONSIVE — 560PX
================================================== */

@media (max-width: 560px) {

    .quantity-body .grammar-memory-card,
    .quantity-body .important-rule-card,
    .quantity-body .warning-rule-card,
    .quantity-body .final-question-card {
        flex-direction: column;

        text-align: center;
    }


    .quantity-scanner {
        padding: 12px;

        border-radius: 23px;
    }


    .quantity-scanner-card {
        min-height: 225px;

        border-radius: 20px;
    }


    .quantity-scanner-picture {
        min-height: 75px;

        font-size: 53px;
    }


    .quantity-body .video-placeholder {
        min-height: 290px;

        padding:
            28px 18px;
    }


    .final-quantity-scene {
        gap: 10px;
    }


    .final-quantity-scene span {
        min-width: 54px;
        min-height: 54px;

        font-size: 35px;
    }


    .quantity-final-review article {
        align-items: flex-start;
    }

}


/* ==================================================
   RESPONSIVE — 420PX
================================================== */

@media (max-width: 420px) {

    .quantity-body .intro-page h1 {
        font-size: 36px;
    }


    .quantity-preview-grid article {
        min-height: 235px;

        padding:
            22px 17px;
    }


    .quantity-body .sentence-example-list article {
        align-items: flex-start;
    }


    .quantity-scanner-card {
        min-height: 205px;
    }


    .quantity-scanner-sentence {
        font-size: 20px;
    }


    .quantity-final-review article {
        padding: 15px;
    }


    .quantity-final-review article > span {
        flex-basis: 48px;

        width: 48px;
        height: 48px;

        font-size: 22px;
    }

}