@import url("grade-3-lesson-2.css");


/* ==================================================
   GRADE 3 — LESSON 3
   WHERE IS IT?
   PREPOSITIONS OF PLACE
================================================== */


/* ==================================================
   BACKGROUND
================================================== */

.prepositions-body {

    background:

        radial-gradient(
            circle at 10% 8%,
            rgba(112, 207, 183, 0.25),
            transparent 25%
        ),

        radial-gradient(
            circle at 90% 12%,
            rgba(129, 204, 215, 0.20),
            transparent 27%
        ),

        linear-gradient(
            180deg,
            #f5fcfa 0%,
            #fbfefd 48%,
            #f0faf7 100%
        );

}


.prepositions-body .floating-symbol {

    color:
        rgba(
            42,
            132,
            111,
            0.12
        );

}


/* ==================================================
   GENERAL LESSON 3 COLORS
================================================== */

.prepositions-body .lesson-navigation {

    border:
        1px solid
        rgba(60, 156, 135, 0.12);

    box-shadow:
        0 15px 36px
        rgba(33, 104, 90, 0.08);

}


.prepositions-body .lesson-logo {

    background:
        linear-gradient(
            135deg,
            #3ca68f,
            #68c9b2
        );

}


.prepositions-body .chapter-number,
.prepositions-body .screen-label {

    color: #328f7b;

}


.prepositions-body .chapter-name,
.prepositions-body h1,
.prepositions-body h2 {

    color: #205f54;

}


.prepositions-body .lesson-progress-fill {

    background:
        linear-gradient(
            90deg,
            #3ca68f,
            #72cbb7
        );

}


.prepositions-body .lesson-progress-number {

    color: #287665;

}


.prepositions-body .lesson-panel {

    border:
        1px solid
        rgba(67, 157, 137, 0.12);

    box-shadow:
        0 25px 60px
        rgba(36, 103, 89, 0.10);

}


/* ==================================================
   INTRO
   KEEP IT CLEAN
================================================== */

.prepositions-body .intro-page {

    max-width: 760px;

    padding:
        64px
        55px
        58px;

}


.prepositions-body .intro-sun {

    width: 96px;

    height: 96px;

    margin:
        0 auto
        25px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 29px;

    background:
        linear-gradient(
            145deg,
            #d2f1e8,
            #a8dfd1
        );

    box-shadow:
        0 14px 28px
        rgba(51, 139, 120, 0.14);

    font-size: 49px;

}


.prepositions-body .intro-page h1 {

    max-width: 620px;

    margin:
        10px auto
        30px;

    font-size:
        clamp(
            42px,
            7vw,
            64px
        );

    line-height: 1.05;

    text-align: center;

}


.prepositions-body .mission-card {

    max-width: 560px;

    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,
            #e0f5ef
        );

    box-shadow:
        0 10px 25px
        rgba(40, 112, 97, 0.07);

}


.prepositions-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;

}


.prepositions-body .mission-card strong {

    color: #205f54;

}


.prepositions-body .mission-card p {

    margin:
        5px 0
        0;

    line-height: 1.55;

}


/* ==================================================
   MAIN BUTTON
================================================== */

.prepositions-body .main-action-button {

    background:
        linear-gradient(
            135deg,
            #3ca68f,
            #63c5ad
        );

    box-shadow:
        0 13px 26px
        rgba(43, 139, 118, 0.22);

}


.prepositions-body .main-action-button:hover {

    box-shadow:
        0 17px 32px
        rgba(43, 139, 118, 0.29);

}


/* ==================================================
   HEADINGS
================================================== */

.prepositions-body .page-heading {

    margin-bottom: 28px;

}


.prepositions-body .heading-icon {

    background:
        linear-gradient(
            145deg,
            #ccefe5,
            #e8f8f3
        );

    box-shadow:
        0 9px 20px
        rgba(50, 137, 118, 0.10);

}


/* ==================================================
   EXPLANATION STACK
================================================== */

.explanation-stack {

    max-width: 800px;

    margin:
        0 auto
        30px;

    display: flex;

    flex-direction: column;

    gap: 16px;

}


.clean-explanation {

    padding:
        23px
        25px;

    border:
        1px solid
        rgba(60, 156, 135, 0.13);

    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            #fcfefd,
            #e7f7f2
        );

    box-shadow:
        0 8px 20px
        rgba(37, 104, 90, 0.06);

}


.explanation-title {

    display: block;

    margin-bottom: 9px;

    color: #205f54;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 21px;

}


.clean-explanation > p {

    margin:
        0 0
        10px;

    line-height: 1.65;

}


.clean-explanation > p:last-child {
    margin-bottom: 0;
}


.prepositions-body .ukrainian-explanation {

    color: #477a70;

    font-size: 15px;

    line-height: 1.7;

}


/* ==================================================
   MINI EXAMPLE
================================================== */

.mini-example-card {

    padding:
        21px
        25px;

    display: flex;

    align-items: center;

    gap: 23px;

    border:
        1px solid
        rgba(61, 157, 136, 0.13);

    border-radius: 21px;

    background: #ffffff;

    box-shadow:
        0 8px 20px
        rgba(37, 104, 90, 0.06);

}


.example-picture {

    min-width: 100px;

    padding:
        18px
        13px;

    border-radius: 17px;

    background: #e5f6f1;

    font-size: 38px;

    text-align: center;

}


.mini-example-card p {

    margin:
        0 0
        5px;

    color: #293f3a;

    font-size: 19px;

    font-weight: 800;

}


.mini-example-card p strong {

    color: #268b75;

}


.mini-example-card small {

    color: #6d8580;

    font-size: 14px;

}


/* ==================================================
   LOGIC CARD
================================================== */

.logic-card {

    padding:
        19px
        22px;

    display: flex;

    align-items: flex-start;

    gap: 14px;

    border-radius: 19px;

    background:
        linear-gradient(
            145deg,
            #eefaf6,
            #d9f2eb
        );

}


.logic-card > span {

    flex: 0 0 auto;

    font-size: 25px;

}


.logic-card p {

    margin: 0;

    color: #416d63;

    font-size: 15px;

    font-weight: 700;

    line-height: 1.65;

}


.logic-card strong {
    color: #205f54;
}


/* ==================================================
   IN / ON / UNDER
================================================== */

.three-rule-grid {

    max-width: 900px;

    margin:
        0 auto
        25px;

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 16px;

}


.position-rule-card {

    min-height: 390px;

    padding:
        22px
        18px;

    display: flex;

    flex-direction: column;

    align-items: center;

    border:
        1px solid
        rgba(58, 151, 131, 0.14);

    border-radius: 25px;

    background:
        linear-gradient(
            155deg,
            #ffffff,
            #e7f7f2
        );

    box-shadow:
        0 10px 24px
        rgba(38, 105, 91, 0.07);

    text-align: center;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

}


.position-rule-card:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 15px 30px
        rgba(38, 105, 91, 0.11);

}


.position-visual {

    position: relative;

    width: 150px;

    height: 115px;

    margin-bottom: 13px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #e4f6f1,
            #f8fdfb
        );

}


.position-visual span {

    position: relative;

    font-size: 50px;

    line-height: 1;

}


.position-visual .object-inside {

    position: absolute;

    top: 44px;

    left: 57px;

    z-index: 2;

    font-size: 28px;

}


.position-visual .visual-object-top {

    position: absolute;

    top: 15px;

    left: 55px;

    z-index: 2;

    font-size: 30px;

}


.position-visual .visual-base {

    position: absolute;

    top: 48px;

    left: 50%;

    transform:
        translateX(-50%);

    font-size: 48px;

}


.position-visual .visual-object-bottom {

    position: absolute;

    bottom: 7px;

    left: 58px;

    z-index: 2;

    font-size: 27px;

}


.preposition-word {

    display: block;

    margin-bottom: 5px;

    color: #258c75;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 28px;

    letter-spacing: 1px;

}


.position-rule-card > p {

    margin:
        0 0
        3px;

    color: #405d57;

    font-size: 14px;

    font-weight: 800;

}


.position-rule-card > small {

    margin-bottom: 14px;

    color: #7a908b;

    font-size: 13px;

}


.example-sentence {

    width: 100%;

    margin-top: auto;

    padding:
        12px
        10px;

    border-radius: 13px;

    background:
        rgba(
            255,
            255,
            255,
            0.84
        );

    color: #334a45;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.5;

}


.example-sentence strong {

    color: #258c75;

}


.position-rule-card .speak-button {

    margin-top: 10px;

}


/* ==================================================
   SIMPLE RULE STRIP
================================================== */

.simple-rule-strip {

    max-width: 830px;

    margin:
        0 auto
        19px;

    padding: 13px;

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 9px;

    border-radius: 18px;

    background: #e5f6f1;

}


.simple-rule-strip > div {

    padding:
        12px
        9px;

    border-radius: 12px;

    background:
        rgba(
            255,
            255,
            255,
            0.82
        );

    text-align: center;

}


.simple-rule-strip strong {

    color: #258c75;

    font-size: 15px;

}


.simple-rule-strip span {

    display: block;

    margin-top: 3px;

    color: #647f78;

    font-size: 12px;

    font-weight: 700;

}


/* ==================================================
   IMPORTANT NOTE
================================================== */

.prepositions-body .important-note {

    max-width: 780px;

    margin:
        18px auto;

    padding:
        17px
        20px;

    border:
        1px solid
        rgba(61, 157, 136, 0.12);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #f8fcfb,
            #e3f6f0
        );

}


.prepositions-body .important-note p {

    line-height: 1.6;

}


/* ==================================================
   SECOND GROUP
   BEHIND / NEXT TO / BETWEEN / OVER
================================================== */

.four-rule-grid {

    max-width: 900px;

    margin:
        0 auto
        24px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 15px;

}


.compact-position-card {

    min-height: 255px;

    padding:
        21px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        rgba(58, 151, 131, 0.14);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e6f7f2
        );

    box-shadow:
        0 9px 22px
        rgba(38, 105, 91, 0.07);

    text-align: center;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

}


.compact-position-card:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 13px 27px
        rgba(38, 105, 91, 0.11);

}


.position-emoji {

    min-height: 66px;

    margin-bottom: 10px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 39px;

    line-height: 1.25;

}


.compact-position-card > strong {

    color: #258c75;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 23px;

    letter-spacing: 0.5px;

}


.compact-position-card > small {

    margin-top: 3px;

    color: #738b85;

    font-size: 13px;

}


.compact-position-card > p {

    margin:
        12px 0
        8px;

    color: #3c5550;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.5;

}


.compact-position-card > p b {

    color: #258c75;

}


/* ==================================================
   COMPARISON
================================================== */

.comparison-card {

    max-width: 730px;

    margin:
        20px auto
        25px;

    padding: 14px;

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 12px;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #e8f8f3,
            #d4f0e8
        );

}


.comparison-card > div:not(.comparison-arrow) {

    padding:
        16px;

    border-radius: 14px;

    background: #ffffff;

    text-align: center;

}


.comparison-card strong {

    display: block;

    margin-bottom: 4px;

    color: #258c75;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 18px;

}


.comparison-card span {

    color: #668079;

    font-size: 12px;

    font-weight: 700;

}


.comparison-arrow {

    color: #328f7b;

    font-size: 12px;

    font-weight: 900;

}


/* ==================================================
   FORMULA
================================================== */

.formula-card {

    max-width: 950px;

    margin:
        0 auto
        22px;

    padding: 20px;

    display: grid;

    grid-template-columns:
        1fr
        auto
        0.65fr
        auto
        1fr
        auto
        1fr;

    align-items: center;

    gap: 10px;

    border:
        1px solid
        rgba(59, 154, 133, 0.14);

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            #edf9f5,
            #d9f2eb
        );

}


.formula-part {

    min-height: 145px;

    padding:
        16px
        10px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border-radius: 17px;

    background: #ffffff;

    box-shadow:
        0 7px 17px
        rgba(37, 104, 90, 0.06);

    text-align: center;

}


.formula-part > span {

    width: 27px;

    height: 27px;

    margin-bottom: 8px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #d8f2ea;

    color: #267d6b;

    font-size: 12px;

    font-weight: 900;

}


.formula-part strong {

    color: #205f54;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 18px;

}


.formula-part small {

    margin-top: 5px;

    color: #78908a;

    font-size: 11px;

}


.formula-symbol {

    color: #56ae99;

    font-size: 22px;

    font-weight: 900;

}


.final-formula-example {

    max-width: 690px;

    margin:
        0 auto
        23px;

    padding:
        18px
        21px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #d9f3eb,
            #effaf7
        );

    color: #205f54;

    text-align: center;

}


.final-formula-example > span {
    font-size: 23px;
}


.final-formula-example strong {

    font-family:
        "Fredoka",
        sans-serif;

    font-size:
        clamp(
            17px,
            3vw,
            21px
        );

}


/* ==================================================
   MINI SUMMARY
================================================== */

.mini-summary {

    max-width: 570px;

    margin:
        20px auto
        28px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 10px;

}


.mini-summary strong {

    padding:
        15px;

    border:
        1px solid
        rgba(59, 155, 134, 0.12);

    border-radius: 14px;

    background: #edf9f5;

    color: #287665;

    font-size: 14px;

    text-align: center;

}


/* ==================================================
   ROOM POSITION LAB
================================================== */

.position-lab {

    max-width: 800px;

    margin:
        0 auto;

    padding:
        25px;

    border:
        2px solid
        rgba(59, 157, 135, 0.16);

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            #f2fbf8,
            #d8f2ea
        );

    box-shadow:
        0 18px 38px
        rgba(37, 104, 90, 0.10);

}


.prepositions-body .machine-progress {

    margin-bottom: 15px;

    color: #287665;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 1px;

    text-align: center;

    text-transform: uppercase;

}


/* ==================================================
   LAB ROOM
================================================== */

.lab-room {

    overflow: hidden;

    border:
        4px solid
        #ffffff;

    border-radius: 26px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f4fbf9 100%
        );

    box-shadow:
        0 14px 30px
        rgba(36, 102, 88, 0.10);

}


.lab-room-title {

    padding:
        13px
        18px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    border-bottom:
        1px solid
        rgba(61, 157, 136, 0.10);

    background: #eef9f6;

}


.lab-room-title span {
    font-size: 22px;
}


.lab-room-title strong {

    color: #205f54;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 18px;

}


/* ==================================================
   LAB SCENE
================================================== */

.lab-scene {

    position: relative;

    min-height: 260px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:

        linear-gradient(
            180deg,
            transparent 0%,
            transparent 72%,
            #e4f3ee 72%,
            #e4f3ee 100%
        );

}


.lab-main-object {

    position: relative;

    z-index: 2;

    display: block;

    font-size: 91px;

    line-height: 1;

    transition:
        transform 0.35s ease;

}


.lab-moving-object {

    position: absolute;

    z-index: 3;

    top: 33px;

    right: 75px;

    display: block;

    font-size: 48px;

    line-height: 1;

    transition:
        top 0.35s ease,
        right 0.35s ease,
        bottom 0.35s ease,
        left 0.35s ease,
        transform 0.35s ease,
        opacity 0.35s ease;

}


/* ==================================================
   OPTIONAL POSITION CLASSES FOR JS
================================================== */

.lab-moving-object.position-in {

    top: 50%;

    left: 50%;

    right: auto;

    bottom: auto;

    transform:
        translate(
            -50%,
            -50%
        )
        scale(0.65);

}


.lab-moving-object.position-on {

    top: 52px;

    left: 50%;

    right: auto;

    bottom: auto;

    transform:
        translateX(-50%);

}


.lab-moving-object.position-under {

    top: auto;

    left: 50%;

    right: auto;

    bottom: 20px;

    transform:
        translateX(-50%);

}


.lab-moving-object.position-next {

    top: 50%;

    left: calc(50% + 100px);

    right: auto;

    bottom: auto;

    transform:
        translateY(-50%);

}


.lab-moving-object.position-behind {

    top: 50%;

    left: calc(50% - 35px);

    right: auto;

    bottom: auto;

    z-index: 1;

    transform:
        translateY(-50%)
        scale(0.85);

    opacity: 0.78;

}


.lab-moving-object.position-over {

    top: 25px;

    left: 50%;

    right: auto;

    bottom: auto;

    transform:
        translateX(-50%);

}


.lab-moving-object.position-between {

    top: 50%;

    left: 50%;

    right: auto;

    bottom: auto;

    transform:
        translate(
            -50%,
            -50%
        );

}


/* ==================================================
   LAB MISSION
================================================== */

.lab-instruction-card {

    margin:
        0
        18px
        18px;

    padding:
        15px
        18px;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #e8f8f3,
            #d7f1e9
        );

    text-align: center;

}


.lab-instruction-card small {

    display: block;

    margin-bottom: 4px;

    color: #328f7b;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1.1px;

}


.lab-instruction-card strong {

    color: #284d44;

    font-size: 15px;

    line-height: 1.5;

}


/* ==================================================
   LAB BUTTONS
================================================== */

.lab-position-buttons {

    margin-top: 18px;

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 10px;

}


.lab-position-buttons button {

    min-height: 55px;

    padding:
        12px
        10px;

    cursor: pointer;

    border:
        2px solid
        transparent;

    border-radius: 15px;

    background: #ffffff;

    color: #31564d;

    font:
        800
        14px
        "Manrope",
        sans-serif;

    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;

}


.lab-position-buttons button:hover {

    transform:
        translateY(-2px);

    border-color: #6bc5b0;

    background: #f8fdfb;

}


.lab-position-buttons button.correct-option {

    border-color:
        #55b86b;

    background:
        #e9f9ec;

    color:
        #226832;

}


.lab-position-buttons button.wrong-option {

    border-color:
        #dc786e;

    background:
        #fff0ee;

    color:
        #963e36;

}


/* ==================================================
   ACTIVITY FEEDBACK
================================================== */

.prepositions-body .activity-feedback {

    margin-top: 15px;

    border-radius: 14px;

    font-size: 14px;

    font-weight: 800;

    line-height: 1.5;

    text-align: center;

}


.prepositions-body .feedback-correct {

    padding:
        12px
        15px;

    color: #26733a;

    background: #e9f9ec;

}


.prepositions-body .feedback-wrong {

    padding:
        12px
        15px;

    color: #963e36;

    background: #fff0ee;

}


/* ==================================================
   VIDEO
================================================== */

.prepositions-body .video-frame-wrap {

    border:
        1px solid
        rgba(57, 151, 131, 0.13);

    background:
        linear-gradient(
            145deg,
            #e8f8f3,
            #cceee4
        );

}


.prepositions-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:
        linear-gradient(
            145deg,
            #f8fdfb,
            #d9f3eb
        );

    text-align: center;

}


.prepositions-body .video-placeholder > span {

    font-size: 75px;

}


.prepositions-body .video-placeholder strong {

    color: #205f54;

    font-family:
        "Fredoka",
        sans-serif;

    font-size:
        clamp(
            25px,
            4vw,
            34px
        );

}


.prepositions-body .video-placeholder p {

    margin: 0;

    color: #648079;

    font-weight: 700;

}


/* ==================================================
   EXTERNAL GAMES
================================================== */

.prepositions-body .external-game-card {

    border:
        1px solid
        rgba(58, 151, 131, 0.14);

    background:
        linear-gradient(
            145deg,
            #fbfefd,
            #e0f5ef
        );

}


.prepositions-body .external-game-icon {

    background:
        linear-gradient(
            145deg,
            #c9eee4,
            #ebf9f5
        );

}


.prepositions-body .external-game-card h3 {

    color: #205f54;

}


.prepositions-body .external-game-card a {

    background:
        linear-gradient(
            135deg,
            #3ca68f,
            #63c5ad
        );

}


/* ==================================================
   PRACTICE MAP
================================================== */

.prepositions-body .practice-map {

    background:
        linear-gradient(
            180deg,
            rgba(240, 250, 247, 0.8),
            rgba(217, 243, 235, 0.55)
        );

}


.prepositions-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);

}


.prepositions-body
.practice-level:not(:disabled):hover {

    transform:
        translateY(-5px)
        scale(1.01);

    border-color:
        rgba(
            60,
            166,
            143,
            0.30
        );

}


.prepositions-body
.active-practice-level {

    border-color: #63c5ad;

    background:
        linear-gradient(
            145deg,
            #e8f8f3,
            #ccefe5
        );

}


.prepositions-body
.completed-level {

    border-color:
        rgba(
            66,
            170,
            143,
            0.35
        );

    background:
        linear-gradient(
            145deg,
            #effbf7,
            #d1f1e7
        );

}


.prepositions-body
.practice-level-icon {

    background:
        linear-gradient(
            145deg,
            #cef0e6,
            #edf9f6
        );

}


.prepositions-body
.practice-level strong {

    color: #205f54;

}


.prepositions-body
.level-status {

    color: #328f7b;

}


.prepositions-body
.practice-path-line {

    background:
        linear-gradient(
            180deg,
            #82cfbd,
            #b9e7dc
        );

}


.prepositions-body
.map-message {

    border:
        1px solid
        rgba(60, 157, 136, 0.13);

    background: #edf9f5;

    color: #477a70;

}


/* ==================================================
   GAME PAGE
================================================== */

.prepositions-body
.game-back-button {

    color: #287665;

    background: #e5f6f1;

}


.prepositions-body
.game-back-button:hover {

    background: #cceee4;

}


.prepositions-body
.game-progress-row {

    border:
        1px solid
        rgba(58, 151, 131, 0.12);

    background: #edf9f5;

    color: #287665;

}


/* ==================================================
   GAME PROMPT
================================================== */

.prepositions-body
.game-prompt {

    margin:
        18px auto;

    padding: 22px;

    border-radius: 20px;

    background: #ffffff;

    color: #304a44;

    font:
        700
        clamp(
            19px,
            4vw,
            27px
        )
        "Fredoka",
        sans-serif;

    line-height: 1.45;

    text-align: center;

}


.prepositions-body
.game-object-picture {

    display: block;

    margin-bottom: 12px;

    font-size: 55px;

}


/* ==================================================
   GAME CHOICES
================================================== */

.prepositions-body
.game-choice-grid {

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 11px;

}


.prepositions-body
.game-choice-grid button {

    padding:
        14px
        16px;

    cursor: pointer;

    border:
        2px solid
        transparent;

    border-radius: 14px;

    background: #ffffff;

    color: var(--ink);

    font:
        800
        15px
        "Manrope",
        sans-serif;

    box-shadow:
        0 6px 15px
        rgba(36, 102, 88, 0.09);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;

}


.prepositions-body
.game-choice-grid button:hover {

    transform:
        translateY(-2px);

    border-color: #75cbb7;

}


/* ==================================================
   WORD ANSWER / SENTENCE BUILDER
================================================== */

.prepositions-body
.word-answer-zone,
.prepositions-body
.word-bank {

    min-height: 82px;

    margin:
        14px 0;

    padding: 16px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 9px;

    border-radius: 20px;

}


.prepositions-body
.word-answer-zone {

    border:
        2px dashed
        #55b8a1;

    background: #effaf7;

}


.prepositions-body
.word-answer-zone:empty::before {

    content:
        "Натискай на слова, щоб скласти речення";

    color: #6c968d;

    font-size: 13px;

    font-weight: 700;

    text-align: center;

}


.prepositions-body
.word-bank {

    background: #d5f1e8;

}


.prepositions-body
.word-answer-zone button,
.prepositions-body
.word-bank button {

    padding:
        12px
        15px;

    cursor: pointer;

    border:
        2px solid
        transparent;

    border-radius: 14px;

    background: #ffffff;

    color: var(--ink);

    font:
        800
        15px
        "Manrope",
        sans-serif;

    box-shadow:
        0 6px 15px
        rgba(36, 102, 88, 0.09);

}


/* ==================================================
   MISSING WORD / SELECTS
================================================== */

.prepositions-body
.dialogue-builder {

    margin:
        18px auto;

    padding: 22px;

    border-radius: 22px;

    background: #edf9f5;

}


.prepositions-body
.dialogue-builder p {

    margin:
        12px 0;

    padding:
        14px;

    border-radius: 13px;

    background:
        rgba(
            255,
            255,
            255,
            0.84
        );

    color: #38564f;

    font-size: 15px;

    font-weight: 800;

    line-height: 1.65;

}


.prepositions-body
.dialogue-builder select {

    margin:
        3px
        5px;

    padding:
        8px
        12px;

    border:
        2px solid
        #75cbb7;

    border-radius: 10px;

    background: #ffffff;

    color: #205f54;

    font-weight: 800;

}


/* ==================================================
   FIX SENTENCE
================================================== */

.fix-sentence-card {

    max-width: 720px;

    margin:
        18px auto;

    padding:
        22px;

    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e8f8f3
        );

    text-align: center;

}


.fix-sentence-card
.wrong-sentence {

    margin-bottom: 15px;

    padding: 15px;

    border-radius: 14px;

    background: #fff3f1;

    color: #854940;

    font:
        700
        19px
        "Fredoka",
        sans-serif;

}


.fix-options {

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 10px;

}


.fix-options button {

    padding: 13px;

    cursor: pointer;

    border:
        2px solid
        transparent;

    border-radius: 13px;

    background: #ffffff;

    color: #36564e;

    font-weight: 800;

    box-shadow:
        0 6px 15px
        rgba(36, 102, 88, 0.07);

}


/* ==================================================
   REVIEW
================================================== */

.position-review-grid {

    max-width: 850px;

    margin:
        25px auto;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 12px;

}


.position-review-grid article {

    padding:
        17px
        19px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    border:
        1px solid
        rgba(58, 151, 131, 0.14);

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            #fbfefd,
            #e3f6f0
        );

}


.position-review-grid strong {

    color: #258c75;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 17px;

}


.position-review-grid span {

    color: #667f79;

    font-size: 13px;

    font-weight: 700;

    text-align: right;

}


/* ==================================================
   REVIEW REMINDER
================================================== */

.prepositions-body
.review-reminder {

    max-width: 790px;

    margin:
        20px auto;

    padding:
        18px
        21px;

    border:
        1px solid
        rgba(58, 151, 131, 0.13);

    border-radius: 18px;

    background: #edf9f5;

    line-height: 1.6;

    text-align: center;

}


.prepositions-body
.review-reminder em {

    color: #205f54;

    font-style: normal;

    font-weight: 900;

}


/* ==================================================
   GOLDEN TIP
================================================== */

.prepositions-body
.golden-tip {

    max-width: 790px;

    margin:
        20px auto;

    border:
        1px solid
        rgba(61, 157, 136, 0.13);

    background:
        linear-gradient(
            145deg,
            #f4fbf8,
            #d7f1e9
        );

}


.prepositions-body
.golden-tip strong {

    color: #287665;

}


/* ==================================================
   FINISH
================================================== */

.prepositions-body
.finish-page {

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #edf9f5
        );

}


.prepositions-body
.finish-trophy {

    background:
        linear-gradient(
            145deg,
            #c8eee3,
            #e8f8f3
        );

    box-shadow:
        0 16px 32px
        rgba(43, 139, 118, 0.14);

}


.prepositions-body
.finish-statistic {

    border:
        1px solid
        rgba(58, 151, 131, 0.13);

    background:
        linear-gradient(
            145deg,
            #fbfefd,
            #e2f6f0
        );

}


.prepositions-body
.finish-statistic strong {

    color: #205f54;

}


.prepositions-body
.finish-badge {

    border:
        1px solid
        rgba(58, 151, 131, 0.15);

    background:
        linear-gradient(
            145deg,
            #e9f8f4,
            #ccefe5
        );

}


.prepositions-body
.finish-badge-icon {

    background: #ffffff;

}


.prepositions-body
.finish-badge strong {

    color: #205f54;

}


/* ==================================================
   ACHIEVEMENT
================================================== */

.prepositions-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);

}


.prepositions-body
.achievement-toast-icon {

    background:
        linear-gradient(
            145deg,
            #c8eee3,
            #edf9f5
        );

}


.prepositions-body
.achievement-toast small {

    color: #328f7b;

}


.prepositions-body
.achievement-toast strong {

    color: #205f54;

}


/* ==================================================
   HIDDEN
================================================== */

.prepositions-body
.hidden-button {

    display: none !important;

}


/* ==================================================
   RESPONSIVE — 1000PX
================================================== */

@media (max-width: 1000px) {

    .formula-card {

        grid-template-columns:
            1fr
            1fr;

        gap: 12px;

    }


    .formula-symbol {

        display: none;

    }


    .formula-part {

        min-height: 125px;

    }

}


/* ==================================================
   RESPONSIVE — 850PX
================================================== */

@media (max-width: 850px) {

    .three-rule-grid {

        grid-template-columns: 1fr;

        max-width: 540px;

    }


    .position-rule-card {

        min-height: auto;

    }


    .four-rule-grid {

        grid-template-columns: 1fr;

        max-width: 560px;

    }


    .compact-position-card {

        min-height: 230px;

    }


    .lab-position-buttons {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

    }

}


/* ==================================================
   RESPONSIVE — 700PX
================================================== */

@media (max-width: 700px) {

    .prepositions-body
    .intro-page {

        padding:
            48px
            25px
            44px;

    }


    .mini-example-card {

        flex-direction: column;

        text-align: center;

    }


    .simple-rule-strip {

        grid-template-columns: 1fr;

    }


    .comparison-card {

        grid-template-columns: 1fr;

    }


    .comparison-arrow {

        text-align: center;

    }


    .mini-summary {

        grid-template-columns: 1fr;

    }


    .position-review-grid {

        grid-template-columns: 1fr;

    }


    .position-review-grid article {

        align-items: flex-start;

        flex-direction: column;

    }


    .position-review-grid span {

        text-align: left;

    }


    .prepositions-body
    .game-choice-grid {

        grid-template-columns: 1fr;

    }


    .fix-options {

        grid-template-columns: 1fr;

    }

}


/* ==================================================
   RESPONSIVE — 540PX
================================================== */

@media (max-width: 540px) {

    .position-lab {

        padding: 15px;

    }


    .lab-scene {

        min-height: 220px;

    }


    .lab-main-object {

        font-size: 75px;

    }


    .lab-moving-object {

        font-size: 40px;

    }


    .lab-position-buttons {

        grid-template-columns: 1fr;

    }


    .formula-card {

        grid-template-columns: 1fr;

        padding: 15px;

    }


    .formula-part {

        min-height: 105px;

    }


    .position-visual {

        width: 135px;

    }


    .prepositions-body
    .video-placeholder {

        min-height: 290px;

        padding:
            28px
            18px;

    }

}