@import url("grade-3-lesson-7.css");


/* ==================================================
   GRADE 3 — LESSON 8
   COUNTABLE & UNCOUNTABLE NOUNS
================================================== */


/* ==================================================
   BODY
================================================== */

.countable-body {

    background:
        radial-gradient(
            circle at 7% 10%,
            rgba(104, 201, 177, 0.22),
            transparent 27%
        ),

        radial-gradient(
            circle at 93% 13%,
            rgba(183, 229, 217, 0.26),
            transparent 29%
        ),

        radial-gradient(
            circle at 50% 94%,
            rgba(213, 242, 234, 0.34),
            transparent 34%
        ),

        linear-gradient(
            180deg,
            #f4fbf9 0%,
            #fcfefd 48%,
            #eef9f6 100%
        );

}


.countable-body .floating-symbol {

    color: rgba(40, 126, 107, 0.085);

}


/* ==================================================
   LESSON COLORS
================================================== */

.countable-body .lesson-navigation {

    border:
        1px solid
        rgba(60, 156, 135, 0.13);

    box-shadow:
        0 15px 36px
        rgba(33, 104, 90, 0.08);

}


.countable-body .lesson-logo {

    background:
        linear-gradient(
            135deg,
            #328f7b,
            #63c5ad
        );

}


.countable-body .chapter-number,
.countable-body .screen-label {

    color: #328f7b;

}


.countable-body .chapter-name,
.countable-body h1,
.countable-body h2,
.countable-body h3 {

    color: #205f54;

}


.countable-body .lesson-progress-fill {

    background:
        linear-gradient(
            90deg,
            #328f7b,
            #75cbb7
        );

}


.countable-body .lesson-progress-number {

    color: #287665;

}


.countable-body .lesson-panel {

    border:
        1px solid
        rgba(60, 156, 135, 0.12);

    box-shadow:
        0 25px 60px
        rgba(36, 103, 89, 0.10);

}


/* ==================================================
   BUTTONS
================================================== */

.countable-body .main-action-button {

    background:
        linear-gradient(
            135deg,
            #328f7b,
            #63c5ad
        );

    box-shadow:
        0 13px 27px
        rgba(43, 139, 118, 0.22);

}


.countable-body .main-action-button:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 17px 34px
        rgba(43, 139, 118, 0.29);

}


/* ==================================================
   INTRO
================================================== */

.countable-body .intro-page {

    max-width: 780px;

    padding:
        64px 55px 58px;

}


.countable-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;

}


.countable-body .intro-page h1 {

    max-width: 690px;

    margin:
        10px auto 30px;

    font-size:
        clamp(
            38px,
            6vw,
            58px
        );

    line-height: 1.08;

    text-align: center;

}


.countable-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);

}


.countable-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
================================================== */

.countable-body .page-heading {

    margin-bottom: 27px;

}


.countable-body .heading-icon {

    background:
        linear-gradient(
            145deg,
            #ccefe5,
            #e8f8f3
        );

    box-shadow:
        0 9px 20px
        rgba(50, 137, 118, 0.10);

}


/* ==================================================
   GRAMMAR INTRO
================================================== */

.grammar-intro-card {

    max-width: 790px;

    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;

}


.grammar-intro-card p {

    margin:
        0 0 11px;

}


.grammar-intro-card p:last-child {

    margin-bottom: 0;

}


.grammar-intro-card strong {

    color: #247b6a;

}


/* ==================================================
   NOUN TYPE PREVIEW
================================================== */

.noun-type-preview {

    max-width: 850px;

    margin:
        0 auto 27px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 18px;

}


.noun-type-preview article {

    min-height: 320px;

    padding:
        29px 24px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 26px;

    text-align: center;

    box-shadow:
        0 10px 24px
        rgba(36, 102, 88, 0.07);

}


.countable-preview {

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e4f7f0
        );

}


.uncountable-preview {

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e7f4f3
        );

}


.noun-type-icon {

    width: 75px;

    height: 75px;

    margin-bottom: 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            #d4f2e9,
            #f0faf7
        );

    font-size: 38px;

}


.noun-type-label {

    margin-bottom: 8px;

    color: #328f7b;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1.4px;

}


.noun-type-preview h3 {

    margin:
        0 0 13px;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 20px;

}


.noun-type-preview p {

    max-width: 300px;

    margin: 0;

    color: #657e77;

    font-size: 13px;

    font-weight: 700;

    line-height: 1.65;

}


.noun-type-preview p strong {

    color: #287665;

}


.count-example {

    margin:
        0 0 15px;

    padding:
        10px 17px;

    border-radius: 13px;

    background: #ffffff;

    color: #287665;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 17px;

    font-weight: 700;

    box-shadow:
        0 5px 13px
        rgba(36, 102, 88, 0.06);

}


/* ==================================================
   MEMORY CARD
================================================== */

.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
        );

    text-align: left;

}


.grammar-memory-card > span {

    flex: 0 0 auto;

    font-size: 27px;

}


.grammar-memory-card p {

    margin: 0;

    color: #526e67;

    font-size: 13px;

    font-weight: 700;

    line-height: 1.65;

}


.grammar-memory-card strong {

    color: #247b6a;

}


/* ==================================================
   DEFINITION CARD
================================================== */

.definition-card {

    max-width: 820px;

    margin:
        0 auto 27px;

    padding:
        24px 26px;

    display: grid;

    grid-template-columns:
        145px 1fr;

    align-items: center;

    gap: 25px;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 24px;

    box-shadow:
        0 9px 22px
        rgba(36, 102, 88, 0.06);

}


.countable-definition {

    background:
        linear-gradient(
            145deg,
            #f9fdfc,
            #def5ed
        );

}


.uncountable-definition {

    background:
        linear-gradient(
            145deg,
            #f9fdfc,
            #e2f3f1
        );

}


.definition-symbol {

    min-height: 95px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 19px;

    background: #ffffff;

    color: #328f7b;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 21px;

    font-weight: 700;

    text-align: center;

    box-shadow:
        0 6px 16px
        rgba(36, 102, 88, 0.06);

}


.definition-card strong {

    display: block;

    margin-bottom: 7px;

    color: #205f54;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 20px;

}


.definition-card p {

    margin: 0;

    color: #5c756f;

    font-size: 13px;

    font-weight: 700;

    line-height: 1.7;

}


.definition-card p strong {

    display: inline;

    margin: 0;

    font-family:
        "Manrope",
        sans-serif;

    font-size: inherit;

    color: #247b6a;

}


/* ==================================================
   COUNTABLE EXAMPLE GRID
================================================== */

.countable-example-grid {

    max-width: 820px;

    margin:
        0 auto 25px;

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 14px;

}


.countable-example-grid article {

    min-height: 170px;

    padding: 21px 15px;

    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,
            #e8f7f3
        );

    text-align: center;

}


.example-pictures {

    min-height: 73px;

    margin-bottom: 10px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 42px;

    letter-spacing: 5px;

}


.countable-example-grid strong {

    color: #205f54;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 16px;

}


/* ==================================================
   RULE STRIP
================================================== */

.rule-strip {

    max-width: 760px;

    margin:
        0 auto 28px;

    padding:
        16px 19px;

    display: flex;

    align-items: center;

    gap: 14px;

    border-radius: 17px;

    background: #e9f8f3;

    color: #4f7168;

}


.rule-strip > span {

    flex:
        0 0 39px;

    width: 39px;

    height: 39px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background: #c9eee4;

    color: #247b6a;

    font-weight: 900;

}


.rule-strip p {

    margin: 0;

    font-size: 13px;

    font-weight: 700;

    line-height: 1.65;

}


.rule-strip strong {

    color: #247b6a;

}


/* ==================================================
   COUNTABLE FOOD GRID
================================================== */

.countable-food-grid {

    max-width: 860px;

    margin:
        0 auto 26px;

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 14px;

}


.countable-food-grid article {

    min-height: 180px;

    padding:
        21px 15px;

    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,
            #e7f7f2
        );

    box-shadow:
        0 7px 18px
        rgba(36, 102, 88, 0.055);

    text-align: center;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

}


.countable-food-grid article:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 12px 24px
        rgba(36, 102, 88, 0.085);

}


.countable-food-grid article > span {

    min-height: 68px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 47px;

}


.countable-food-grid strong {

    color: #205f54;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 18px;

}


.countable-food-grid small {

    margin-top: 5px;

    color: #6e8981;

    font-size: 11px;

    font-weight: 800;

}


/* ==================================================
   UNCOUNTABLE VISUAL
================================================== */

.uncountable-visual {

    max-width: 840px;

    margin:
        0 auto 26px;

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 14px;

}


.uncountable-visual article {

    min-height: 260px;

    padding:
        24px 18px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        rgba(59, 154, 133, 0.12);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e5f5f2
        );

    text-align: center;

}


.uncountable-visual article > span {

    min-height: 75px;

    margin-bottom: 7px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 53px;

}


.uncountable-visual strong {

    margin-bottom: 8px;

    color: #205f54;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 20px;

}


.uncountable-visual p {

    margin: 0;

    color: #677f79;

    font-size: 12px;

    font-weight: 700;

    line-height: 1.65;

}


/* ==================================================
   WARNING RULE
================================================== */

.warning-rule-card {

    max-width: 780px;

    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
        );

}


.warning-rule-card > span {

    flex: 0 0 auto;

    font-size: 27px;

}


.warning-rule-card strong {

    display: block;

    margin-bottom: 5px;

    color: #205f54;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 16px;

}


.warning-rule-card p {

    margin: 0;

    color: #58746d;

    font-size: 13px;

    font-weight: 700;

    line-height: 1.65;

}


.warning-rule-card p strong {

    display: inline;

    font-family:
        "Manrope",
        sans-serif;

    font-size: inherit;

    color: #247b6a;

}


/* ==================================================
   UNCOUNTABLE FOOD GRID
================================================== */

.uncountable-food-grid {

    max-width: 850px;

    margin:
        0 auto 26px;

    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 12px;

}


.uncountable-food-grid article {

    min-height: 145px;

    padding:
        18px 12px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 7px;

    border:
        1px solid
        rgba(59, 154, 133, 0.12);

    border-radius: 19px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e7f6f2
        );

    text-align: center;

}


.uncountable-food-grid article > span {

    font-size: 40px;

}


.uncountable-food-grid strong {

    color: #205f54;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 16px;

}


/* ==================================================
   WRONG / RIGHT BOARD
================================================== */

.wrong-right-board {

    max-width: 820px;

    margin:
        0 auto 29px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 14px;

}


.wrong-right-board > div {

    min-height: 110px;

    padding:
        18px;

    display: flex;

    align-items: center;

    gap: 14px;

    border-radius: 18px;

}


.wrong-example {

    border:
        1px solid
        rgba(214, 114, 105, 0.17);

    background: #fff4f2;

}


.right-example {

    border:
        1px solid
        rgba(78, 172, 103, 0.17);

    background: #eef9f0;

}


.wrong-right-board > div > span {

    flex:
        0 0 43px;

    width: 43px;

    height: 43px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 13px;

    background: #ffffff;

    font-size: 19px;

    font-weight: 900;

}


.wrong-example > span {

    color: #b9584f;

}


.right-example > span {

    color: #39894c;

}


.wrong-right-board small {

    display: block;

    margin-bottom: 4px;

    color: #75867f;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1px;

}


.wrong-right-board strong {

    color: #315b51;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 15px;

}


/* ==================================================
   COMPARISON BOARD
================================================== */

.comparison-board {

    max-width: 860px;

    margin:
        0 auto 25px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 17px;

}


.comparison-column {

    min-height: 300px;

    padding:
        24px;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 24px;

    box-shadow:
        0 9px 22px
        rgba(36, 102, 88, 0.06);

}


.countable-column {

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e1f6ee
        );

}


.uncountable-column {

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e4f4f1
        );

}


.comparison-heading {

    margin-bottom: 20px;

    padding-bottom: 17px;

    display: flex;

    align-items: center;

    gap: 14px;

    border-bottom:
        1px solid
        rgba(58, 151, 131, 0.12);

}


.comparison-heading > span {

    flex:
        0 0 55px;

    width: 55px;

    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 17px;

    background: #ffffff;

    font-size: 29px;

}


.comparison-heading small {

    display: block;

    margin-bottom: 2px;

    color: #328f7b;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1px;

}


.comparison-heading strong {

    color: #205f54;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 21px;

}


.comparison-column ul {

    margin: 0;

    padding: 0;

    display: grid;

    gap: 11px;

    list-style: none;

}


.comparison-column li {

    padding:
        11px 13px;

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.73);

    color: #58736c;

    font-size: 12px;

    font-weight: 700;

    line-height: 1.5;

}


/* ==================================================
   DECISION PATH
================================================== */

.decision-path {

    max-width: 760px;

    margin:
        0 auto 29px;

    padding: 21px;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #f6fcfa,
            #e0f5ef
        );

}


.decision-question {

    padding:
        15px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 11px;

    border-radius: 15px;

    background: #ffffff;

    color: #205f54;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 18px;

    text-align: center;

}


.decision-question > span {

    font-size: 24px;

}


.decision-arrows {

    margin-top: 13px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 11px;

}


.decision-arrows article {

    min-height: 75px;

    padding: 13px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.77);

    text-align: center;

}


.decision-arrows span {

    color: #6d857e;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1px;

}


.decision-arrows strong {

    margin-top: 3px;

    color: #287665;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 15px;

}


/* ==================================================
   NOUN DETECTOR
================================================== */

.noun-detector {

    max-width: 760px;

    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);

}


.countable-body .machine-progress {

    margin-bottom: 16px;

    color: #287665;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 1px;

    text-align: center;

    text-transform: uppercase;

}


/* ==================================================
   DETECTOR CARD
================================================== */

.noun-detector-card {

    min-height: 275px;

    padding:
        28px 22px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border:
        4px solid #ffffff;

    border-radius: 25px;

    background:
        radial-gradient(
            circle at 50% 27%,
            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;

}


.noun-detector-card.detector-correct {

    border-color:
        rgba(85, 184, 107, 0.43);

}


.noun-detector-card.detector-wrong {

    border-color:
        rgba(220, 120, 110, 0.40);

}


.noun-detector-picture {

    min-height: 100px;

    margin-bottom: 9px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 73px;

    animation:
        nounPop
        0.38s ease both;

}


@keyframes nounPop {

    from {

        opacity: 0;

        transform:
            translateY(12px)
            scale(0.82);

    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);

    }

}


.noun-detector-card > strong {

    color: #205f54;

    font-family:
        "Fredoka",
        sans-serif;

    font-size:
        clamp(
            27px,
            5vw,
            37px
        );

}


.noun-detector-hint {

    margin:
        9px 0 0;

    color: #6c837d;

    font-size: 12px;

    font-weight: 700;

}


/* ==================================================
   DETECTOR OPTIONS
================================================== */

.noun-detector-options {

    margin-top: 17px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 12px;

}


.noun-detector-options button {

    min-height: 125px;

    padding:
        18px 15px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 4px;

    cursor: pointer;

    border:
        2px solid transparent;

    border-radius: 19px;

    background: #ffffff;

    color: #31564d;

    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;

}


.noun-detector-options button:hover {

    transform:
        translateY(-3px);

    border-color: #6bc5b0;

    background: #f8fdfb;

}


.noun-detector-options button > span {

    margin-bottom: 4px;

    font-size: 28px;

}


.noun-detector-options button > strong {

    color: #205f54;

    font:
        700 17px
        "Fredoka",
        sans-serif;

}


.noun-detector-options button > small {

    color: #758b85;

    font:
        700 10px
        "Manrope",
        sans-serif;

}


.noun-detector-options button.correct-option {

    border-color: #55b86b;

    background: #e9f9ec;

}


.noun-detector-options button.wrong-option {

    border-color: #dc786e;

    background: #fff0ee;

}


.noun-detector-options button:disabled {

    cursor: default;

}


/* ==================================================
   FEEDBACK
================================================== */

.countable-body .activity-feedback {

    margin-top: 15px;

    border-radius: 14px;

    font-size: 14px;

    font-weight: 800;

    line-height: 1.55;

    text-align: center;

}


.countable-body .feedback-correct {

    padding:
        12px 15px;

    background: #e9f9ec;

    color: #26733a;

}


.countable-body .feedback-wrong {

    padding:
        12px 15px;

    background: #fff0ee;

    color: #963e36;

}


/* ==================================================
   VIDEO
================================================== */

.countable-body .video-frame-wrap {

    border:
        1px solid
        rgba(57, 151, 131, 0.13);

    background:
        linear-gradient(
            145deg,
            #e8f8f3,
            #cceee4
        );

}


.countable-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;

}


.countable-body .video-placeholder > span {

    font-size: 76px;

}


.countable-body .video-placeholder strong {

    color: #205f54;

    font-family:
        "Fredoka",
        sans-serif;

    font-size:
        clamp(
            25px,
            4vw,
            34px
        );

}


.countable-body .video-placeholder p {

    margin: 0;

    color: #648079;

    font-weight: 700;

}


/* ==================================================
   EXTERNAL GAMES
================================================== */

.countable-body .external-game-card {

    border:
        1px solid
        rgba(58, 151, 131, 0.14);

    background:
        linear-gradient(
            145deg,
            #fbfefd,
            #e0f5ef
        );

}


.countable-body .external-game-icon {

    background:
        linear-gradient(
            145deg,
            #c9eee4,
            #ebf9f5
        );

}


.countable-body .external-game-card h3 {

    color: #205f54;

}


.countable-body .external-game-card a {

    background:
        linear-gradient(
            135deg,
            #328f7b,
            #63c5ad
        );

}


/* ==================================================
   EMERALD NOUN MAP
================================================== */

.countable-body .practice-map {

    background:
        linear-gradient(
            180deg,
            rgba(239, 250, 247, 0.86),
            rgba(213, 241, 233, 0.62)
        );

}


.countable-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);

}


.countable-body
.practice-level:not(:disabled):hover {

    transform:
        translateY(-5px)
        scale(1.01);

    border-color:
        rgba(60, 166, 143, 0.30);

}


.countable-body .active-practice-level {

    border-color: #63c5ad;

    background:
        linear-gradient(
            145deg,
            #e8f8f3,
            #ccefe5
        );

}


.countable-body .completed-level {

    border-color:
        rgba(66, 170, 143, 0.35);

    background:
        linear-gradient(
            145deg,
            #effbf7,
            #d1f1e7
        );

}


.countable-body .practice-level-icon {

    background:
        linear-gradient(
            145deg,
            #cef0e6,
            #edf9f6
        );

}


.countable-body .practice-level strong {

    color: #205f54;

}


.countable-body .level-status {

    color: #328f7b;

}


.countable-body .practice-path-line {

    background:
        linear-gradient(
            180deg,
            #82cfbd,
            #b9e7dc
        );

}


.countable-body .map-message {

    border:
        1px solid
        rgba(60, 157, 136, 0.13);

    background: #edf9f5;

    color: #477a70;

}


/* ==================================================
   GAME WORKSPACE
================================================== */

.countable-body .game-back-button {

    color: #287665;

    background: #e5f6f1;

}


.countable-body .game-back-button:hover {

    background: #cceee4;

}


.countable-body .game-progress-row {

    border:
        1px solid
        rgba(58, 151, 131, 0.12);

    background: #edf9f5;

    color: #287665;

}


.countable-body .game-workspace {

    min-height: 340px;

}


/* ==================================================
   GENERIC GAME PROMPT
================================================== */

.countable-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;

}


/* ==================================================
   GAME CHOICE GRID
================================================== */

.countable-body .game-choice-grid {

    max-width: 760px;

    margin:
        15px auto;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 11px;

}


.countable-body .game-choice-grid button {

    min-height: 67px;

    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;

}


.countable-body .game-choice-grid button:hover {

    transform:
        translateY(-2px);

    border-color: #75cbb7;

}


.countable-body
.game-choice-grid button.correct-option {

    border-color: #55b86b;

    background: #e9f9ec;

    color: #226832;

}


.countable-body
.game-choice-grid button.wrong-option {

    border-color: #dc786e;

    background: #fff0ee;

    color: #963e36;

}


.countable-body
.game-choice-grid button:disabled {

    cursor: default;

}


/* ==================================================
   MAP — CAN I COUNT IT?
================================================== */

.count-it-card {

    max-width: 750px;

    margin:
        18px auto;

    padding:
        28px 24px;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e5f6f1
        );

    text-align: center;

}


.count-it-picture {

    min-height: 110px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 72px;

}


.count-it-word {

    margin-bottom: 7px;

    color: #205f54;

    font:
        700
        28px
        "Fredoka",
        sans-serif;

}


.count-it-question {

    color: #657e77;

    font-size: 13px;

    font-weight: 700;

}


/* ==================================================
   MAP — TWO BASKETS
================================================== */

.two-baskets-card {

    max-width: 770px;

    margin:
        18px auto;

    padding: 25px;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            #f9fdfc,
            #e2f5ef
        );

}


.basket-noun {

    min-height: 145px;

    margin-bottom: 17px;

    padding: 20px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border-radius: 19px;

    background: #ffffff;

    text-align: center;

}


.basket-noun > span {

    margin-bottom: 7px;

    font-size: 52px;

}


.basket-noun strong {

    color: #205f54;

    font:
        700 24px
        "Fredoka",
        sans-serif;

}


.basket-choice-preview {

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 11px;

}


.basket-choice-preview > div {

    padding:
        14px;

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.74);

    color: #287665;

    font-size: 12px;

    font-weight: 800;

    text-align: center;

}


/* ==================================================
   MAP — GRAMMAR DETECTIVE
================================================== */

.grammar-detective-card {

    max-width: 770px;

    margin:
        18px auto;

    overflow: hidden;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 24px;

    background: #ffffff;

    box-shadow:
        0 10px 25px
        rgba(36, 102, 88, 0.07);

}


.detective-header {

    padding:
        16px 20px;

    background:
        linear-gradient(
            135deg,
            #328f7b,
            #63c5ad
        );

    color: #ffffff;

    font:
        700 18px
        "Fredoka",
        sans-serif;

    text-align: center;

}


.detective-statement {

    padding:
        28px 24px;

    background:
        linear-gradient(
            145deg,
            #f9fdfc,
            #e8f7f3
        );

    color: #31564d;

    font:
        700
        clamp(
            18px,
            4vw,
            24px
        )
        "Fredoka",
        sans-serif;

    line-height: 1.55;

    text-align: center;

}


.detective-hint {

    padding:
        15px 20px;

    color: #687f79;

    font-size: 12px;

    font-weight: 700;

    line-height: 1.6;

    text-align: center;

}


/* ==================================================
   MAP — SENTENCE LAB
================================================== */

.noun-sentence-lab {

    max-width: 770px;

    margin:
        18px auto;

    padding: 25px;

    border:
        1px solid
        rgba(59, 154, 133, 0.13);

    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e5f6f1
        );

}


.noun-sentence-picture {

    min-height: 100px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 62px;

}


.noun-sentence {

    padding:
        18px;

    border-radius: 15px;

    background: #ffffff;

    color: #205f54;

    font:
        700
        clamp(
            19px,
            4vw,
            25px
        )
        "Fredoka",
        sans-serif;

    line-height: 1.55;

    text-align: center;

}


/* ==================================================
   MAP — FINAL NOUN MISSION
================================================== */

.final-noun-mission {

    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-noun-header {

    padding:
        16px 20px;

    background:
        linear-gradient(
            135deg,
            #328f7b,
            #63c5ad
        );

    color: #ffffff;

    font:
        700 19px
        "Fredoka",
        sans-serif;

    text-align: center;

}


.final-noun-scene {

    min-height: 135px;

    padding: 23px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 14px;

    background:
        linear-gradient(
            145deg,
            #f9fdfc,
            #e7f7f2
        );

}


.final-noun-scene span {

    min-width: 62px;

    min-height: 62px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 17px;

    background: #ffffff;

    font-size: 41px;

    box-shadow:
        0 6px 15px
        rgba(36, 102, 88, 0.06);

}


.final-noun-text {

    padding:
        18px 23px 8px;

    color: #526e67;

    font-size: 13px;

    font-weight: 700;

    line-height: 1.7;

    text-align: center;

}


.final-noun-question {

    padding:
        8px 23px 20px;

    color: #205f54;

    font:
        700 20px
        "Fredoka",
        sans-serif;

    line-height: 1.5;

    text-align: center;

}


/* ==================================================
   GAME NEXT
================================================== */

.countable-body .game-next-button {

    margin:
        21px auto 0;

    display: flex;

}


/* ==================================================
   QUICK REVIEW
================================================== */

.countable-body .review-icon {

    background:
        linear-gradient(
            145deg,
            #c9eee4,
            #e9f8f4
        );

}


.noun-final-review {

    max-width: 840px;

    margin:
        27px auto 24px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 13px;

}


.noun-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);

}


.noun-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: 29px;

}


.noun-final-review strong {

    display: block;

    margin-bottom: 5px;

    color: #205f54;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 17px;

}


.noun-final-review p {

    margin: 0;

    color: #6b837d;

    font-size: 12px;

    font-weight: 700;

    line-height: 1.6;

}


/* ==================================================
   FINAL QUESTION
================================================== */

.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
        );

}


.final-question-card > span {

    font-size: 29px;

}


.final-question-card small {

    display: block;

    margin-bottom: 3px;

    color: #328f7b;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1px;

}


.final-question-card strong {

    color: #205f54;

    font:
        700 18px
        "Fredoka",
        sans-serif;

}


/* ==================================================
   FINISH
================================================== */

.countable-body .finish-page {

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(201, 238, 228, 0.72),
            transparent 31%
        ),
        linear-gradient(
            145deg,
            #ffffff,
            #edf9f5
        );

}


.countable-body .finish-trophy {

    background:
        linear-gradient(
            145deg,
            #c8eee3,
            #e8f8f3
        );

    box-shadow:
        0 16px 32px
        rgba(43, 139, 118, 0.14);

}


.countable-body .finish-statistic {

    border:
        1px solid
        rgba(58, 151, 131, 0.13);

    background:
        linear-gradient(
            145deg,
            #fbfefd,
            #e2f6f0
        );

}


.countable-body .finish-statistic strong {

    color: #205f54;

}


.countable-body .finish-badge {

    border:
        1px solid
        rgba(58, 151, 131, 0.15);

    background:
        linear-gradient(
            145deg,
            #e9f8f4,
            #ccefe5
        );

}


.countable-body .finish-badge-icon {

    background: #ffffff;

}


.countable-body .finish-badge strong {

    color: #205f54;

}


/* ==================================================
   ACHIEVEMENT
================================================== */

.countable-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);

}


.countable-body .achievement-toast-icon {

    background:
        linear-gradient(
            145deg,
            #c8eee3,
            #edf9f5
        );

}


.countable-body .achievement-toast small {

    color: #328f7b;

}


.countable-body .achievement-toast strong {

    color: #205f54;

}


/* ==================================================
   HIDDEN
================================================== */

.countable-body .hidden-button {

    display: none !important;

}


/* ==================================================
   RESPONSIVE — 900PX
================================================== */

@media (max-width: 900px) {

    .uncountable-food-grid {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

    }


    .countable-food-grid {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

    }

}


/* ==================================================
   RESPONSIVE — 760PX
================================================== */

@media (max-width: 760px) {

    .noun-type-preview,
    .comparison-board,
    .wrong-right-board,
    .noun-final-review {

        grid-template-columns: 1fr;

    }


    .noun-type-preview article {

        min-height: 270px;

    }


    .definition-card {

        grid-template-columns: 1fr;

        gap: 16px;

        text-align: center;

    }


    .definition-symbol {

        min-height: 75px;

    }


    .countable-example-grid {

        grid-template-columns: 1fr;

    }


    .countable-example-grid article {

        min-height: 145px;

    }


    .comparison-column {

        min-height: auto;

    }

}


/* ==================================================
   RESPONSIVE — 700PX
================================================== */

@media (max-width: 700px) {

    .countable-body .intro-page {

        padding:
            48px 25px 44px;

    }


    .noun-detector {

        padding: 17px;

    }


    .noun-detector-card {

        min-height: 245px;

        padding:
            24px 17px;

    }


    .countable-body .game-choice-grid {

        grid-template-columns: 1fr;

    }


    .decision-arrows {

        grid-template-columns: 1fr;

    }


    .basket-choice-preview {

        grid-template-columns: 1fr;

    }

}


/* ==================================================
   RESPONSIVE — 560PX
================================================== */

@media (max-width: 560px) {

    .countable-food-grid,
    .uncountable-food-grid {

        grid-template-columns: 1fr;

    }


    .countable-food-grid article,
    .uncountable-food-grid article {

        min-height: 140px;

    }


    .uncountable-visual {

        grid-template-columns: 1fr;

    }


    .uncountable-visual article {

        min-height: 210px;

    }


    .grammar-memory-card,
    .warning-rule-card,
    .final-question-card {

        flex-direction: column;

        text-align: center;

    }


    .noun-detector {

        padding: 12px;

        border-radius: 23px;

    }


    .noun-detector-card {

        min-height: 225px;

        border-radius: 20px;

    }


    .noun-detector-picture {

        min-height: 80px;

        font-size: 62px;

    }


    .noun-detector-options {

        grid-template-columns: 1fr;

    }


    .noun-detector-options button {

        min-height: 105px;

    }


    .noun-final-review article {

        align-items: flex-start;

    }


    .final-noun-scene {

        gap: 10px;

    }


    .final-noun-scene span {

        min-width: 55px;

        min-height: 55px;

        font-size: 36px;

    }


    .countable-body .video-placeholder {

        min-height: 290px;

        padding:
            28px 18px;

    }

}


/* ==================================================
   RESPONSIVE — 420PX
================================================== */

@media (max-width: 420px) {

    .countable-body .intro-page h1 {

        font-size: 35px;

    }


    .noun-type-preview article {

        padding:
            23px 17px;

    }


    .comparison-column {

        padding: 18px;

    }


    .noun-detector-card {

        min-height: 205px;

    }


    .noun-final-review article {

        padding: 15px;

    }


    .noun-final-review article > span {

        flex-basis: 48px;

        width: 48px;

        height: 48px;

        font-size: 24px;

    }

}