@charset "UTF-8";

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent !important;
}

a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    cursor: pointer;
}

img {
    max-width: 100%;
}

span, label {
    display: inline-block;
}

html {
    scroll-behavior: smooth;
}

input, textarea {
    outline: none;
    border: 0;
    background: transparent;
    font-weight: 400;
}

button, select {
    border: none;
    cursor: pointer;
    background: transparent;
    outline: 0;
    font-weight: 400;
}

address {
    font-style: normal;
}

.wrapper {
    width: 100%;
    overflow: hidden;
    min-height: 100svh;
}

    .wrapper::-webkit-scrollbar {
        display: none;
    }

ul, ol, dl {
    list-style: none;
    padding: 0;
    margin: 0;
}

p, h1, h2, h3, h4, h5, h6 {
    padding: 0;
    margin: 0;
    font-weight: 400;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 0;
}

@font-face {
    font-family: "HelveticaNeue";
    src: url("../font/Helvetica Neue/HelveticaNeueCyr-Thin.woff2") format("woff2");
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: "HelveticaNeue";
    src: url("../font/Helvetica Neue/HelveticaNeueCyr-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "HelveticaNeue";
    src: url("../font/Helvetica Neue/HelveticaNeueCyr-Roman.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "HelveticaNeue";
    src: url("../font/Helvetica Neue/HelveticaNeueCyr-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "HelveticaNeue";
    src: url("../font/Helvetica Neue/HelveticaNeueCyr-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Congenial";
    src: url("../font/Congenial/CongenialCyrillicBETA-Light.woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Congenial";
    src: url("../font/Congenial/CongenialCyrillicBETA-Medium.woff2");
    font-weight: 500;
    font-style: normal;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    width: 100vw;
    min-height: 100svh;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Congenial", sans-serif;
    padding: 24px 0;
}

    body::after {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #7D69AF;
        opacity: 0.95;
        z-index: -1;
    }

    body::-webkit-scrollbar {
        display: none;
    }

    body.blur-hidden {
        padding: 0;
    }

        body.blur-hidden::after {
            display: none;
        }

.bg-img {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: -1;
}

.btn-red {
    background: #e11e27;
    border-radius: 26px;
    width: 174px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "HelveticaNeue", sans-serif;
    font-size: 17px;
    line-height: 140%;
    text-align: center;
    color: #fff;
}

.btn-red-arrow svg {
    transform: rotate(180deg);
    transform-origin: 50% 50%;
    margin-left: 10px;
}

.intro-card {
    min-height: 616px;
    max-width: 390px;
    width: calc(100% - 16px);
    margin: auto;
    background: #48277C;
    border-radius: 20px;
    overflow: hidden;
    padding: 170px 0 82px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.intro-card__bg {
    position: absolute;
    z-index: -1;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    min-width: 390px;
}

.intro-logo {
    width: 100%;
    min-width: 390px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.intro-text {
    font-weight: 500;
    font-size: 21px;
    line-height: 119%;
    text-align: center;
    color: #fff;
    max-width: 320px;
    width: calc(100% - 40px);
    margin: 6px auto 21px;
}

.to-play {
    max-width: 462px;
    width: calc(100% - 16px);
    position: relative;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    padding: 155px 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #48277C;
}

    .to-play::before {
        content: "";
        position: absolute;
        top: 113px;
        left: 50%;
        transform: translateX(-50%);
        width: 382px;
        min-width: 382px;
        height: 490px;
        object-fit: cover;
        z-index: -1;
        background: #7D69AF;
        border-radius: 100%;
        filter: blur(67px);
    }

    .to-play .logo-img {
        width: 100%;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        z-index: -1;
    }

.to-play__card {
    display: flex;
    position: relative;
    align-items: center;
    height: 173px;
    gap: 17px;
    border-radius: 6px;
    backdrop-filter: blur(4px) saturate(150%);
    -webkit-backdrop-filter: blur(4px) saturate(150%);
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 50px 10px 50px 95px;
}

.to-play__card-wrap {
    padding: 20px 20px 35px 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.to-play__card img {
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 110px;
    height: auto;
}

.to-play__card p {
    font-weight: 500;
    font-size: 21px;
    line-height: 119%;
    color: #FFF;
    text-align: left;
}

    .to-play__card p span {
        color: #ecddb2;
    }

.to-play__button-wrap {
    display: flex;
    justify-content: space-between;
    max-width: 420px;
    width: calc(100% - 40px);
}

    .to-play__button-wrap a {
        width: calc(50% - 6px);
    }

.to-play__btn-fond {
    line-height: 1.1;
    padding: 0 10px;
    background: #7D69AF;
}

body.interface-wrapp::before {
    content: "";
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100%;
    background: rgba(125, 105, 175, 0.6);
    z-index: -1;
}

body.interface-wrapp.map::before {
    background: rgb(211, 204, 230);
}

.interface {
    width: 100%;
    min-height: 100svh;
    flex: 1;
    display: flex;
    align-items: flex-end;
}

.interface-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
}

.interface-wrapp {
    max-width: 600px;
    left: 50%;
    transform: translateX(-50%);
}

.interface-btn {
    padding-right: 6px;
}

.interface .btn-red {
    position: absolute;
    top: 10px;
    right: 10px;
}

.interface-voise {
    position: absolute;
    width: 61px;
    height: 61px;
    border-radius: 50%;
    background: #6F5A9E;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    overflow: hidden;
    left: 23px;
    bottom: 169px;
}

@media screen and (max-width: 460px) {
    .interface-voise {
        bottom: 135px;
        width: 55px;
        height: 55px;
    }
}

.interface-voise::before {
    border-radius: 50%;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    border: 2px solid transparent;
    background: linear-gradient(-30deg, #CEAD7C, #ECDDB2) border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.interface-voise input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    cursor: pointer;
    opacity: 0;
}

.interface-voise svg:nth-child(3) {
    display: none;
    transform: translateX(-4.8px);
}

.interface-voise input:checked ~ svg {
    display: none;
}

    .interface-voise input:checked ~ svg:nth-child(3) {
        display: block;
    }

.interface-foot {
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    z-index: 9999999;
    bottom: 0;
}

.interface-foot__text {
    position: absolute;
    bottom: 111px;
    right: 150px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    .interface-foot__text h2 {
        font-weight: 500;
        font-size: 46px;
        color: #fff;
        line-height: 33px;
    }

    .interface-foot__text span {
        font-weight: 500;
        font-size: 17.6px;
        line-height: 16px;
        text-transform: uppercase;
        color: #fff;
    }

.interface-foot__bg {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 1;
}

.interface-foot__card {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    max-width: 521px;
    width: calc(100% - 20px);
    height: auto;
}

@media screen and (max-width: 360px) {
    .interface-foot__card {
        bottom: 40px;
    }
}

.interface-foot__content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    margin-bottom: 15px;
}

.interface-foot p {
    position: absolute;
    bottom: 32px;
}

.interface-foot p {
    font-weight: 500;
    font-size: 17.6px;
    text-transform: uppercase;
    color: #48277C;
    text-align: center;
}

.interface-foot h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    font-size: 35.2px;
    color: #48277C;
}

@media screen and (max-width: 360px) {
    .interface-foot h3 {
        font-size: 24px;
    }
}

.interface .wrapp.map {
    background-color: #9d8ece !important;
}

.interface-top .btn-red {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #7D69AF;
}
.interface-top .btn-red__hint {
    top: 62px;
    background: #48277C;
}

.interface-top .btn-red__hint--img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.culinary.present .match-game__card {
    backdrop-filter: blur(4px) saturate(110%);
    height: 439px;
}

    .culinary.present .match-game__card .one-part-title .btn-red {
        margin-bottom: auto;
    }
    .culinary.present .match-game__card .one-part-title h3 {
        margin: 8px auto 10px auto;
    }
    .culinary.present .match-game__card .one-part-title h4 {
        padding: 0;
        margin-bottom: 15px;
    }
.culinary.present .match-game__content {
    padding-top: 220px;
}

.culinary.present .bg-img {
    object-position: top;
}

.culinary.present .modal__img-bg-celibrate {
    width: 100%;

}



.modal {
    background: #48277C;
    max-width: 390px;
    width: calc(100% - 20px);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    position: relative;
    padding: 40px 20px 29px 20px;
}

    .modal::before {
        content: "";
        width: 283px;
        min-width: 283px;
        height: 336px;
        border-radius: 100%;
        background: #7D69AF;
        position: absolute;
        bottom: 37px;
        left: 50%;
        transform: translateX(-50%);
        z-index: -1;
        filter: blur(67px);
    }

    .modal p {
        font-weight: 500;
        font-size: 21px;
        line-height: 119%;
        text-align: center;
        color: #fff;
        margin: 21px 0 30px;
        max-width: 318px;
    }

        .modal p span {
            color: #ecddb2;
            display: inline;
        }

.modal__img-arrow {
    width: 25%;
    margin-top: 18px;
}

.modal__img-bg {
    position: absolute;
    right: 0;
    bottom: 0;
}

.modal__img-bg-celibrate {
    width: 95%;
    z-index: -1;
    transform: translateX(-50%);
    left: 50%;
}

.modal__img--horizont {
    height: 70px;
    width: auto;
}

.modal__img--horizont-second {
    transform: translateX(8%);
}

.modal__highlight.modal::before {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.modal p.margin-none {
    margin: 0;
}

.modal-bg {
    position: absolute;
    top: 17px;
    left: 20px;
    width: calc(100% - 36px);
    z-index: -1;
}

.modal.light-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999999999;
    opacity: 1;
}

.modal .round-picture {
    position: relative;
    display: inline-block;
    border-radius: 50%;
    width: 124px;
    height: 124px;
    margin-top: -25px;
}

.modal .round-lock {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
}

.modal .round img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.modal .round-lock {
    opacity: 0;
    z-index: 5;
}

.modal .show-black-white::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    backdrop-filter: grayscale(100%);
    pointer-events: none;
    z-index: 2;
}

.modal .show-black-white .round-lock {
    opacity: 1;
}

.modal .back-in-town {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "HelveticaNeue", sans-serif;
    font-size: 18px;
    line-height: 32px;
    color: #fff;
    padding: 30px 0 5px 0;
}

    .modal .back-in-town svg {
        width: 25px;
    }

.modal__unavailable .back-in-town {
    padding-top: 0;
}

.modal__unavailable p {
    margin: 10px 0;
}

    .modal__unavailable p:last-of-type {
        margin-bottom: 20px;
        margin-top: 0;
    }

.modal-instraction {
    padding: 20px 60px 29px;
}

    .modal-instraction img {
        width: 100%;
        left: 0;
    }

    .modal-instraction p {
        padding-top: 125px;
    }

.modal__header {
    font-family: "Congenial", sans-serif;
    font-weight: 600;
    font-size: 26px;
    line-height: 130%;
    text-transform: uppercase;
    text-align: center;
    background: linear-gradient(221deg, #cead7c 0%, #ecddb2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.44));
}

.modal__width-round {
    height: auto;
    overflow: unset;
}

    .modal__width-round h2 {
        text-transform: unset;
        font-size: 30px;
        margin-top: 20px;
        filter: unset;
    }

    .modal__width-round p {
        font-weight: 400;
        font-size: 20px;
    }

.modal__sans-btn p:last-of-type {
    margin-bottom: 20px;
}

.modal__sans-btn .back-in-town {
    padding-top: 0;
}

.modal.modal__width-round {
    padding: 0 40px 29px;
}
.modal.modal__width-round:before {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.modal-windows {
    gap: 50px;
    flex-wrap: wrap;
}

.modal-end {
    padding: 0;
}

    .modal-end p {
        position: absolute;
        padding-top: 75px;
        font-size: 30px;
        margin: 0;
    }

.modal-win .modal-bg {
    top: 50px;
}

.modal-win p {
    font-size: 32px;
}

.modal-pingvin p {
    padding: 0 10px;
}

.modal-animal p {
    padding: 0 10px;
}

.match-game .modal {
    padding: 0 40px 29px;
}

.modal.modal-end {
    padding: 0;
}

.modal.modal__width-round:before {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.modal__highlight--snowflake .modal__img--horizont-second {
    margin-top: -10px;
    margin-bottom: 20px;
}

.match-game__card--snowflake .match-game__card-main div canvas {
    border-radius: 12px;
}

.match-game__card--snowflake #animation_container canvas {
    border-radius: 12px;
}

.match-game__card--snowflake #animation_container {
    border-radius: 16px;
}

.light-modal .btn-red {
    width: 184px;
    height: 46px;
    padding: 10px 0;
}

.interface-btn img {
    width: 20px;
    padding-top: 7px;
}

.popup-fade {
    display: none;
}

    .popup-fade::before {
        content: "";
        background: #000;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        opacity: 0.7;
        z-index: 9999;
    }

.menu {
    max-width: 462px;
    width: calc(100% - 20px);
    background: #48277C;
    padding: 130px 0 186px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .menu::before {
        content: "";
        width: 382px;
        min-width: 382px;
        height: 490px;
        border-radius: 100%;
        position: absolute;
        bottom: 89px;
        left: 50%;
        transform: translateX(-50%);
        z-index: -1;
        background: #7D69AF;
        filter: blur(67px);
    }

.menu-logo {
    position: absolute;
    top: 6px;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    z-index: -1;
}

.menu .close-btn {
    display: flex;
    align-items: center;
    position: absolute;
    z-index: 2;
    gap: 9px;
    font-family: "Congenial", sans-serif;
    line-height: 32px;
    color: #fff;
    font-size: 15px;
    left: 16px;
    top: 50px;
}

    .menu .close-btn svg {
        margin-bottom: 2px;
    }

.menu-close-btn-up {
    display: block;
    text-align: center;
    color: #fff;
    padding-bottom: 10px;
}

.menu-card__wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 420px;
    width: calc(100% - 20px);
}

.menu-card a {
    width: 100%;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(4px) saturate(150%);
    -webkit-backdrop-filter: blur(4px) saturate(150%);
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 0 21px 0 10px;
}

.menu-card__left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Congenial", sans-serif;
    font-weight: 500;
    font-size: 21px;
    line-height: 130%;
    text-transform: uppercase;
    color: #fff;
}

    .menu-card__left img {
        flex-shrink: 0;
    }

.menu-bg {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    z-index: -1;
    transform: translateX(-50%);
}

.match-game {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.match-game__head img {
    width: 100%;
    min-width: 477px;
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.match-game__head .voise {
    position: absolute;
    display: inline-flex;
    left: 45px;
    top: 45px;
}

    .match-game__head .voise svg {
        width: 35px;
        height: 35px;
    }

        .match-game__head .voise svg:nth-child(3) {
            display: none;
            transform: translateX(-5px);
        }

    .match-game__head .voise input {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
        cursor: pointer;
        opacity: 0;
    }

        .match-game__head .voise input:checked ~ svg {
            display: none;
        }

            .match-game__head .voise input:checked ~ svg:nth-child(3) {
                display: block;
            }

.match-game__content {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding-top: 33vh;
    padding-bottom: 0;
    width: 83%;
    max-width: 390px;
}

.match-game__card {
    background-color: rgba(72, 39, 124, 0.3);
    border-radius: 20px;
    overflow: hidden;
    padding: 15px 20px 19px 20px;
    backdrop-filter: blur(4px) saturate(150%);
    -webkit-backdrop-filter: blur(4px) saturate(150%);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    color: #fff;
}
.match-game__card.present {
    overflow: visible;
}


    .match-game__card .bg-img {
        object-fit: cover;
    }

    .match-game__card h3 {
        font-family: "Congenial", sans-serif;
        font-size: 24px;
        font-weight: 600;
        line-height: 130%;
        text-transform: uppercase;
        text-align: center;
        color: #fff;
        margin: 8px auto 10px auto;
    }

        .match-game__card h3 span {
            font-size: 26px;
            background: linear-gradient(221deg, #cead7c 0%, #ecddb2 100%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

.match-game__card--snowflake .bg-img {
    object-position: top;
}

.match-game__card--snowflake .match-game__content {
    padding-top: 23vh;
}
.match-game__card-main {
    text-align: center;
}

    .match-game__card-main h4 {
        text-transform: uppercase;
        font-weight: 500;
        font-size: 12px;
        margin-top: 15px;
        margin-bottom: 15px;
        line-height: 130%;
    }

.match-game__card .one-part-title {
    padding-top: 40px;
}

    .match-game__card .one-part-title h4 {
        padding: 0 60px;
        margin-bottom: 20px;
        text-align: center;
    }

    .match-game__card .one-part-title .btn-red {
        margin: 0 auto 170px auto;
    }

.match-game__card .two-part {
    display: grid;
    grid-template-columns: 45% 55%;
    padding-top: 10px;
}

    .match-game__card .two-part .btn-red {
        width: 100%;
    }

    .match-game__card .two-part .match-game__text {
        padding-left: 23px;
        padding-right: 10px;
        text-align: left;
    }

    .match-game__card .two-part h2 {
        text-align: left;
        line-height: 110%;
    }

    .match-game__card .two-part h4 {
        font-size: 0.74rem;
        line-height: 16px;
    }

.match-game__card a.back-in-town.match-game-btn {
    margin: 22px auto 17px auto;
}

.match-game .one-part-try {
    text-align: center;
}

.match-game__present {
    font-size: 21px;
    font-weight: 500;
}

.match-game__card--snowflake .present__bg_left {
    height: 145px;
    top: 309px;
}

.match-game__card--snowflake .present__bg_right {
    height: 294px;
    top: 189px;
}
.match-game .back-in-town {
    margin-top: 5px;
}

a.back-in-town {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
    line-height: 32px;
    color: #fff;
}

.location-card {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    padding: 54px 12px 51px 19px;
    backdrop-filter: blur(8px) saturate(150%);
    -webkit-backdrop-filter: blur(8px) saturate(150%);
    margin-bottom: 4px;
}

    .location-card .round-img {
        width: calc(100% - 191px);
    }

.location-card__text {
    width: 174px;
}

    .location-card__text h3 {
        font-family: "Congenial", sans-serif;
        font-weight: 600;
        font-size: 26px;
        line-height: 130%;
        text-transform: uppercase;
        background: linear-gradient(221deg, #cead7c 0%, #ecddb2 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
        text-align: left;
        margin-bottom: 11px;
    }

    .location-card__text p {
        font-family: "Congenial", sans-serif;
        font-weight: 600;
        font-size: 13px;
        line-height: 130%;
        text-transform: uppercase;
        color: #fff;
        margin-bottom: 13px;
    }

.present__bg {
    position: absolute;
}

.present__bg_left {
    left: 0;
    height: 302px;
    top: 36vh;
}

.present__bg_right {
    right: 0;
    height: 291px;
    top: 33vh;
}

.present a.back-in-town {
    margin-top: 10px;
}

.present .match-game__card .one-part-title {
    padding-top: 0;
}

.present .match-game__card-main h4 {
    font-size: 13px;
}

.present .match-game__card .one-part-title h4 {
    margin-bottom: 10px;
    margin-top: 5px;
}

.present .modal__header {
    font-weight: 500;
    line-height: 120%;
}

.present .match-game__card h3 {
    font-size: 21px;
    font-weight: 500;
}

.present .match-game__card {
    background-color: rgba(37, 20, 65, 0.3);
}

    .present .match-game__card .one-part-title .btn-red {
        margin-bottom: 120px;
    }

.present .match-game__content {
    padding-top: 30vh;
    padding-bottom: 35px;
}

.modal__img-bg-celibrate {
    width: 100%;
}


.avatar-choice {
    position: relative;
    z-index: 1;
    background: #48277C;
    max-width: 390px;
    width: calc(100% - 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
    gap: 20px;
    padding: 21px 10px 29px;
}

    .avatar-choice::before {
        content: "";
        position: absolute;
        width: 382px;
        min-width: 382px;
        height: 490px;
        border-radius: 100%;
        background: #7D69AF;
        top: 113px;
        left: 50%;
        transform: translateX(-50%);
        z-index: -1;
        filter: blur(67px);
    }

    .avatar-choice ul {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 340px;
        width: 100%;
    }

    .avatar-choice li {
        aspect-ratio: 1/1;
        border-radius: 50%;
        position: relative;
        z-index: 1;
        overflow: hidden;
    }

        .avatar-choice li input {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            cursor: pointer;
            opacity: 0;
        }

        .avatar-choice li img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .avatar-choice li:has(input:checked) {
            position: relative;
            z-index: 1;
        }

            .avatar-choice li:has(input:checked)::before {
                border-radius: 50%;
                content: "";
                position: absolute;
                inset: 0;
                border: 2px solid transparent;
                background: linear-gradient(11deg, #ECDDB2, #CEAD7C) border-box;
                mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
                mask-composite: exclude;
            }

.account {
    max-width: 462px;
    width: calc(100% - 20px);
    background: #48277C;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 172px 10px 30px;
    position: relative;
    z-index: 1;
}

    .account::before {
        content: "";
        position: absolute;
        width: 382px;
        min-width: 382px;
        height: 490px;
        border-radius: 100%;
        background: #7D69AF;
        top: 113px;
        left: 50%;
        transform: translateX(-50%);
        z-index: -1;
        filter: blur(67px);
    }

.account-logo {
    position: absolute;
    width: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: -1;
}

.account-head {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 422px;
    height: 73px;
}

    .account-head::before {
        content: "";
        height: 100%;
        width: calc(100% - 36px);
        position: absolute;
        left: 18px;
        top: 0;
        border-radius: 100px;
        background: linear-gradient(221deg, #cead7c 0%, #ecddb2 100%);
        z-index: -1;
    }

.account-head__left {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .account-head__left .account-img {
        position: relative;
        display: flex;
    }

        .account-head__left .account-img img {
            width: 60px;
            height: 60px;
            object-fit: cover;
            border-radius: 50%;
            border: 2px solid #D9C297;
        }

@media screen and (max-width: 400px) {
    .account-head__left .account-img img {
        width: 50px;
        height: 50px;
    }
}

.account-head__left .account-img a {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    background: white;
    border-radius: 50%;
    width: 17px;
    height: 17px;
}

.account-head__left .name {
    font-family: "Congenial", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 130%;
    color: #48277C;
}

@media screen and (max-width: 430px) {
    .account-head__left .name {
        font-size: 14px;
    }
}

.account-head__left .name-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
}

.account-head__left .name a {
    margin-top: -2px;
}

.account-head__right {
    position: relative;
    z-index: 1;
    padding: 0 22px 0 61px;
    border-radius: 100px;
    background: #48277C;
    height: 60px;
    display: flex;
    align-items: center;
}

@media screen and (max-width: 400px) {
    .account-head__right {
        padding: 0 18px 0 50px;
    }
}

.account-head__right::before {
    border-radius: 100px;
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    border: 2px solid transparent;
    background: linear-gradient(to left, #E5D1A5, #C49A5C 16%, #ECDDB2 82%, #DDC597) border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.account-head__right img {
    position: absolute;
    width: 45px;
    left: 14px;
    top: 3px;
}

@media screen and (max-width: 400px) {
    .account-head__right img {
        width: 40px;
        top: 5px;
        left: 9px;
    }
}

.account-head__right p {
    font-weight: 500;
    font-size: 36px;
    color: #fff;
    margin-top: 8px;
}

@media screen and (max-width: 440px) {
    .account-head__right p {
        font-size: 30px;
    }
}

@media screen and (max-width: 400px) {
    .account-head__right p {
        font-size: 28px;
    }
}

.account-head.today-progress {
    position: absolute;
    width: 193px;
    height: 55px;
    bottom: 190px;
    border-radius: 30px;
    right: 10px;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.44));
}

    .account-head.today-progress::before {
        width: 100%;
        left: 0;
    }

    .account-head.today-progress .account-head__right {
        width: 92px;
        height: 42px;
        justify-content: center;
        align-items: center;
        padding: 0;
        border: 2px solid #fff;
        margin-right: 10px;
        border-radius: 20px;
    }

        .account-head.today-progress .account-head__right p {
            margin: 0;
            font-size: 18px;
            padding-top: 3px;
            letter-spacing: 1px;
        }

        .account-head.today-progress .account-head__right::before {
            content: none;
        }

        .account-head.today-progress .account-head__right img {
            position: initial;
            width: 19px;
            height: auto;
            padding-bottom: 5px;
            margin-right: 2px;
        }

    .account-head.today-progress .account-head__left {
        text-transform: uppercase;
        font-size: 14px;
        font-weight: 500;
        color: #48277C;
    }

        .account-head.today-progress .account-head__left span {
            text-align: center;
            padding-top: 3px;
            margin-left: auto;
            margin-right: -10px;
        }

.account__text {
    color: #fff;
    text-align: center;
    line-height: 25px;
    max-width: 270px;
    font-size: 21px;
    margin-bottom: 20px;
}

.account .back-link {
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    font-family: "Congenial", sans-serif;
    line-height: 32px;
    color: #fff;
    font-size: 15px;
    top: 48px;
    left: 15px;
}

    .account .back-link svg {
        margin-bottom: 3px;
        width: 25px;
    }

.account h2 {
    font-family: "Congenial", sans-serif;
    font-weight: 500;
    font-size: 26px;
    line-height: 130%;
    text-transform: uppercase;
    text-align: center;
    background: linear-gradient(221deg, #cead7c 0%, #ecddb2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 14px;
}

.account-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(4px) saturate(150%);
    -webkit-backdrop-filter: blur(4px) saturate(150%);
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    height: 82px;
    padding: 0 10px;
    gap: 20px;
}

@media screen and (max-width: 380px) {
    .account-card {
        gap: 10px;
    }
}

.account-card__wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 421px;
}

.account-card__left {
    display: flex;
    align-items: center;
    gap: 9px;
}

    .account-card__left img {
        flex-shrink: 0;
        width: 43px;
    }

@media screen and (max-width: 380px) {
    .account-card__left img {
        width: 38px;
    }
}

.account-card__left h3 {
    font-family: "Congenial", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    color: #fff;
}

@media screen and (max-width: 410px) {
    .account-card__left h3 {
        font-size: 14px;
    }
}

.account-card__right {
    width: 200px;
    flex-shrink: 0;
    text-align: center;
}

@media screen and (max-width: 450px) {
    .account-card__right {
        width: calc(50% - 10px);
    }
}

.account-card__right a {
    width: 100%;
    font-size: 17px;
}

@media screen and (max-width: 410px) {
    .account-card__right a {
        font-size: 14px;
    }
}

.account-card__right p {
    font-family: "HelveticaNeue", sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 140%;
    color: #fff;
}

@media screen and (max-width: 410px) {
    .account-card__right p {
        font-size: 14px;
    }
}

/*Страница "Правила" */
.rules {
    display: block;
    background: rgba(231, 221, 245, 0.7882352941);
    margin: auto;
    padding: 0;
}

.rules__heading {
    font-size: 28px;
    font-weight: 500;
}

.rules__action {
    color: #ecddb2;
}

.rules .container {
    width: 100%;
    max-width: 600px;
    margin: auto;
    padding: 10px 30px 10px 30px;
    background: rgba(125, 105, 175, 0.6);
}

.rules p {
    line-height: 1.2;
    margin: 10px auto;
}

.rules .MsoNormalTable {
    width: auto !important;
}

.rules::after {
    content: none;
}

.rules table {
    margin: 10px 0;
}

.rules .back-in-town {
    color: black;
    margin-bottom: 5px;
    justify-content: left;
}

.rules a {
    color: #124af1;
}

.rules span {
    display: contents;
}

.rules__action {
    color: #876609;
}

.rules.interface-wrapp .container {
    margin-left: 50px;
    margin-right: 50px;
}

/*Страница "Прелоадер"*/
.preload {
    position: relative;
    color: #fff;
    max-width: 390px;
    width: calc(100% - 16px);
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

    .preload h1 {
        position: absolute;
        line-height: 1.1;
        font-size: 32px;
        text-align: center;
        margin-top: -9px;
    }
.decorator.present .back-in-town {
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    width: 100%;
}

.anime-stack {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 190px;
    display: grid;
    place-items: center;
    pointer-events: none;
    z-index: 10;
}

.anime-frame {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    height: 190px;
    width: 100%;
    top: -10px;
    opacity: 0;
    animation: window 42s linear infinite;
    /* 14 шагов × 3 секунды = 42s */
}

/* Окно видимости - ровно 1/14 цикла */
@keyframes window {
    0% {
        opacity: 1;
    }

    7.142% {
        opacity: 1;
    }

    7.143% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}
/* Сдвиги на нужную позицию - теперь 14 шагов */
.s1 {
    animation-delay: 0s;
}

/* 8 */
.s2 {
    animation-delay: 3s;
}

/* 7 */
.s3 {
    animation-delay: 6s;
}

/* 6 */
.s4 {
    animation-delay: 9s;
}

/* 5 */
.s5 {
    animation-delay: 12s;
}

/* 4 */
.s6 {
    animation-delay: 15s;
}

/* 3 */
.s7 {
    animation-delay: 18s;
}

/* 2 */
.s8 {
    animation-delay: 21s;
}

/* 1 */
.s9 {
    animation-delay: 24s;
}

/* 2 */
.s10 {
    animation-delay: 27s;
}

/* 3 */
.s11 {
    animation-delay: 30s;
}

/* 4 */
.s12 {
    animation-delay: 33s;
}

/* 5 */
.s13 {
    animation-delay: 36s;
}

/* 6 */
.s14 {
    animation-delay: 39s;
}

/* 7 */



/*Страница "Фонд"*/
.fond-bg {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
}

.fond-text {
    font-size: 17px;
    line-height: 119%;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    padding-top: 200px;
    margin-bottom: 12px;
}

    .fond-text p {
        font-weight: 500;
    }

.card-fond {
    max-width: 390px;
    width: calc(100% - 16px);
    margin: auto;
    background: #48277C;
    border-radius: 20px;
    overflow: hidden;
    padding: 20.9px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

    .card-fond p {
        margin: 16px 0;
    }

    .card-fond .btn-red {
        margin-bottom: 35px;
    }

.highlight {
    color: #F9DEA2;
    display: contents;
}

.back-wrapper {
    display: flex;
    position: absolute;
    left: -5px;
    align-items: center;
    color: white;
    font-size: 14px;
    text-decoration: none;
    padding: 20px;
    top: 22px;
}

    .back-wrapper svg {
        margin-bottom: 3px;
        margin-right: 9px;
    }

/*Адаптация под мобильные устройства*/
.account-card__left h3 {
    font-size: 15px;
    line-height: 125%;
}

/*Убираем отступ сверху*/
.account,
.avatar-choice,
.menu,
.to-play {
    margin: auto;
    margin-top: 0;
}

.map #animation_container {
    margin-top: 0;
    margin-bottom: auto;
}

#instraction p {
    margin-bottom: 25px;
}

#pingvin.modal {
    padding: 0 30px 29px;
}

@media screen and (max-width: 600px) {
    .map #animation_container {
        height: calc(100vh - 29vw) !important;
    }

    .rules .container {
        max-width: 100%;
    }
}

@media screen and (max-width: 599px) {
    .interface-foot__card {
        bottom: 7.5vw;
    }

    .interface-foot p {
        bottom: 5.75vw;
        font-size: 2.92vw;
    }

    .interface-foot h3 {
        font-size: 5vw;
    }

    .interface-foot__content {
        margin-bottom: 2.6vw;
    }

    .interface-foot__text {
        bottom: 18.1vw;
        right: 25vw;
    }

        .interface-foot__text span {
            font-size: 2.93vw;
        }

        .interface-foot__text h2 {
            font-size: 7.12vw;
        }

    .interface-voise {
        bottom: 28vw;
    }

    .account-head.today-progress {
        width: 32.1vw;
        height: 9.3vw;
        border-radius: 7vw;
        bottom: 31.5vw;
    }

        .account-head.today-progress .account-head__left {
            font-size: 2.3vw;
        }

            .account-head.today-progress .account-head__left span {
                margin-right: -2.5vw;
                padding-top: 0.5vw;
            }

        .account-head.today-progress .account-head__right {
            width: 15.35vw;
            height: 7vw;
            border-radius: 3.3vw;
            margin-right: 1.67vw;
        }

            .account-head.today-progress .account-head__right img {
                width: 3.17vw;
                padding-bottom: 0.83vw;
                margin-right: 0.3vw;
            }

            .account-head.today-progress .account-head__right p {
                font-size: 3vw;
                padding-top: 0.5vw;
            }


    .culinary.present .match-game__content {
        padding-top: 37vw;
    }


    .rules__heading {
        font-size: 5vw;
    }
}

@media screen and (max-width: 480px) {
    .to-play__card {
        height: 36vw;
        padding-left: 20vw;
    }

        .to-play__card img {
            width: 23vw;
            left: -6.3vw;
        }

        .to-play__card p {
            font-size: 4.1vw;
        }


    .account-head.today-progress {
        width: 40.2vw;
        height: 11.46vw;
    }

        .account-head.today-progress .account-head__right {
            width: 15.2vw;
            height: 7.08vw;
            border-radius: 4.3vw;
        }

        .account-head.today-progress .account-head__left {
            font-size: 3vw;
        }

    .to-play__card .btn-red {
        font-size: 3.5vw;
    }

    .match-game__card--snowflake .match-game__card h3 {
        font-size: 5vw;
    }
}

@media screen and (max-width: 440px) {
    .account {
        padding: 155px 18px 30px;
    }

        .account h2 {
            font-size: 24px;
        }

        .account .back-link {
            left: 10px;
            top: 42px;
        }

    .interface-foot__content {
        margin-bottom: 2vw;
    }

    .match-game__card h3 {
        margin: 0 auto 8px auto;
    }

    .match-game .two-part h2 {
        font-size: 5vw;
    }

    .match-game .two-part h4 {
        font-size: 2.6vw;
    }

    .match-game .two-part .match-game__text {
        padding-left: 3.8vw;
        padding-right: 0;
    }

    .match-game .two-part .btn-red {
        font-size: 3.7vw;
    }

    .match-game__content {
        gap: 0;
    }

    .match-game__present {
        font-size: 4.75vw;
    }

    .match-game .voise {
        left: 35px;
        top: 30px;
    }

    .fond-text {
        padding-left: 15px;
        padding-right: 15px;
    }

    .back-wrapper {
        padding-left: 4vw;
    }

        .back-wrapper svg {
            width: 22px;
        }
}

@media screen and (max-width: 428px) {
    .to-play {
        padding-top: 145px;
    }

    .interface-voise {
        width: 45px;
        height: 45px;
    }

        .interface-voise svg {
            width: 25px;
            height: 23px;
        }

            .interface-voise svg:nth-child(3) {
                display: none;
                transform: translateX(-4px);
            }

    .match-game .voise {
        left: 32px;
        top: 28px;
    }
}

@media screen and (max-width: 427px) {
    .menu .close-btn {
        left: 12px;
        top: 44px;
    }

        .menu .close-btn svg {
            width: 13px;
            height: 13px;
        }

    .match-game .voise svg {
        width: 29px;
        height: 27px;
    }
}

@media screen and (max-width: 409px) {
    .back-wrapper {
        top: 22px;
        padding-left: 15px;
    }

    .intro-logo {
        min-width: unset;
    }

    .account-head__left .name {
        font-size: 13px;
    }

    .account-card {
        gap: 15px;
    }

    .account-card__left h3 {
        font-size: 14px;
    }

    .account .back-link {
        gap: 5px;
    }

        .account .back-link svg {
            width: 22px;
        }

    .menu {
        padding-top: 110px;
    }

    .menu-card__left {
        font-size: 18px;
    }

    .menu .close-btn {
        font-size: 13px;
        top: 40px;
    }

    .to-play {
        padding-top: 135px;
    }

    .to-play__card p {
        font-size: 3.8vw;
    }

    .to-play__card-wrap {
        padding-left: 12vw;
    }

    .modal__header {
        font-size: 6.34vw;
    }

    .present .match-game__card-main h4 {
        font-size: 3.17vw;
    }

    .culinary.present .match-game__card {
        height: 105vw;
    }

    .avatar-choice ul {
        gap: 18px;
        height: 112vw;
    }

    .match-game__card h3 {
        font-size: 20px;
    }

        .match-game__card h3 span {
            font-size: 24px;
        }

    .match-game__content a {
        font-size: 16px;
    }

    .match-game #animal .modal {
        padding: 0 25px 29px;
    }

    .match-game__card .two-part h4 {
        font-size: 2.8vw;
    }

    .account-head.today-progress {
        bottom: 31vw;
    }

    .fond-text {
        font-size: 16px;
        padding-top: 190px;
        margin-bottom: 20px;
    }

    .modal__width-round p {
        font-size: 4.88vw;
    }

    .modal__width-round h2 {
        font-size: 7.32vw;
    }

    .modal .back-in-town {
        font-size: 4.39vw;
    }

    .modal__img--horizont {
        height: 17.1vw;
    }
     .anime-stack {
        height: 42vw;
    }
     .anime-frame {
        height: 42vw;
        object-fit: cover;
        top: -1vw;
     }
}

@media screen and (max-width: 389px) {
    .fond-text {
        padding-top: 180px;
        margin-bottom: 6px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .menu .close-btn {
        left: 11px;
        top: 38px;
    }

        .menu .close-btn svg {
            width: 12px;
            height: 12px;
            margin-right: -4px;
        }

    .to-play {
        padding-top: 125px;
    }

    .avatar-choice ul {
        max-width: 325px;
    }

    .avatar-choice ul {
        gap: 16px;
    }

    .account .back-link {
        top: 35px;
    }

    .match-game__card {
        padding-top: 10px;
        font-size: 18px;
    }

    .match-game h3 span {
        font-size: 22px;
    }

    .match-game__content a {
        font-size: 14px;
    }

    .match-game .voise svg {
        width: 27px;
        height: 25px;
    }

    .match-game #instraction .modal {
        padding: 0 30px 29px;
    }

    .match-game #animal .modal {
        padding: 0 20px 29px;
    }

    .match-game #pingvin .modal {
        padding: 0 20px 29px;
    }

    .interface-foot__text {
        bottom: 17.5vw;
        right: 23vw;
    }

    .back-wrapper svg {
        width: 20px;
        margin-right: 6px;
    }
}

@media screen and (max-width: 374px) {
    .intro-card {
        padding-top: 145px;
    }

    .intro-text {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .account-head__left .name {
        font-size: 11px;
    }

    .account .back-link {
        font-size: 14px;
    }

    .account-card {
        gap: 5px;
    }

    .interface-foot__text {
        bottom: 17.4vw;
    }

    .menu {
        padding-top: 100px;
    }

        .menu .close-btn svg {
            width: 11px;
            height: 11px;
            margin-bottom: 3px;
        }

    .to-play__card p {
        font-size: 3.5vw;
    }

    .avatar-choice ul {
        max-width: 305px;
    }


    .modal-pingvin {
        padding: 0 30px 29px;
    }

    .modal-animal {
        padding: 0 27px 29px;
    }

    .modal-instraction {
        padding: 20px 35px 29px;
    }

    .modal-end p {
        padding-top: 60px;
    }

    .back-wrapper svg {
        width: 18px;
        margin-right: 5px;
    }

    .back-wrapper {
        top: 19px;
    }

    .modal {
        padding: 40px 15px 29px 15px;
    }

    .match-game #animal .modal {
        padding: 0 8px 29px;
    }

    .match-game__card h3 {
        font-size: 18px;
    }

    .fond-text {
        padding: 170px 15px 0 15px;
        margin-bottom: 12px;
    }
}
@media screen and (max-width: 359px) {

    .match-game__card--snowflake h3 {
        font-size: 4.7vw;
    }
}
.menu-card__left span {
    margin-bottom: -5px;
}

.map .wrapper {
    min-height: unset;
}
#change-avatar-form {
    min-height:592px;
}

@media (orientation: landscape) {
    .match-game__card--snowflake.match-game__card {
        overflow: visible;
    }

    .match-game__card--snowflake .match-game__content {
        padding-top: 220px;
    }
    .match-game__card--snowflake .back-in-town {
        margin-bottom: 10px;
    }
}


@media screen and (min-width: 520px) {
    .culinary.present .match-game__content {
        padding-top: 320px;
    }
}

.decorator .gift-packaging .modal__img-bg {
    width: 70%;
}

.decorator .gift-packaging .match-game__card .one-part-title h4 {
    padding: 0;
    margin-bottom: 20px;
}

.decorator .gift-packaging .decorator.present .gift-packaging .match-game__card .one-part-title .btn-red {
    margin-bottom: 150px;
}

.btn-blue {
    background: #7D69AF;
}

.modal__photo-studio .btn-blue {
    margin-top: 21px;
}

.modal__photo-studio.modal__width-round p {
    margin-bottom: 95px;
}

.modal__photo-studio .btn-blue {
    margin-top: 21px;
}

.modal__photo-studio.modal__width-round p {
    margin-bottom: 95px;
}

.modal.modal__shater {
    margin: 30px auto;
}

    .modal.modal__shater p,
    .modal.modal__shater span {
        font-weight: 500;
    }

    .modal.modal__shater .modal__shater-steps {
        list-style: none;
        margin: 0 0 24px;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .modal.modal__shater .modal__shater-step {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        gap: 12px;
        max-width: 430px;
        margin: 0 auto;
        text-align: left;
        font-size: 18px;
        line-height: 1.3;
        color: #ffffff;
    }

    .modal.modal__shater .modal__shater-step-number {
        background-color: #ffffff;
        color: rgb(59, 31, 116);
        padding-top: 3px;
    }

    .modal.modal__shater .modal__shater-step-number {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 26px;
        aspect-ratio: 1/1;
        border-radius: 50%;
        font-size: 16px;
        line-height: 1;
        flex-shrink: 0;
        box-sizing: border-box;
    }

    .modal.modal__shater .modal__shater-step-text {
        display: block;
    }

    .modal.modal__shater.modal__width-round {
        padding: 0 20px 29px;
    }

@media (max-width: 409px) {
    .modal.modal__shater.modal__width-round {
        font-size: 7vw;
    }
}

@media (max-width: 360px) {
    .modal.modal__shater .modal__shater-step {
        font-size: 16px;
    }

    .modal.modal__shater .modal__shater-step-number {
        width: 24px;
        height: 24px;
        font-size: 15px;
    }
}

/* Шатёр предсказаний: на низких экранах даём зазор снизу и включаем прокрутку */
@media screen and (max-height: 720px) {
    #fortune-tent.modal.light-modal.modal__shater {
        position: static;
        /* выходим из абсолютного центрирования */
        top: auto;
        left: auto;
        transform: none;
        margin: 20px auto 20px;
    }
        #fortune-tent.modal.light-modal.modal__shater .modal-bg {
            top: 50px;
        }
}

.magic-continue .bg-img {
   object-position: top;
}

.magic-continue__card {
    position: relative;
}

.magic-continue__stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: -1;
    transform: none;
}

.magic-continue__text {
    position: relative;
    z-index: 1;
    padding: 10px 32px 0 32px;
}

.magic-continue__header {
    margin: 0 auto 18px;
    max-width: 420px;
}

.magic-continue__description {
    max-width: 460px;
    margin: 0 auto 26px;
    font-family: "HelveticaNeue", sans-serif;
    font-size: 18px;
    line-height: 130%;
    text-align: center;
    color: #ffffff;
}

.magic-continue__date {
    max-width: 360px;
    margin: 0 auto 26px;
}

.magic-continue__date-field {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 204px;
    height: 54px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.05) 100%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
    margin: 0 auto 56px;
    padding-right: 3vw;
    padding-left: 1vw;
}

.magic-continue__error {
    position: absolute;
    width: 100%;
    left: 50%;
    transform: translate(-50%);
    bottom: 75px;
    font-size: 12px;
}

.magic-continue__date-input {
    width: 12vw;
    text-align: center;
    font-family: "HelveticaNeue", sans-serif;
    font-size: 26px;
    line-height: 1;
    color: #ffffff;
    background: transparent;
    border: none;
    outline: none;
}

    .magic-continue__date-input::placeholder {
        color: #ffffff;
        opacity: 0.9;
    }

.magic-continue__date-slash {
    font-family: "HelveticaNeue", sans-serif;
    font-size: 28px;
    line-height: 1;
    color: #ffffff;
    transform: translateY(-1px);
}

.magic-continue__error {
    display: none;
}

.magic-continue .mistake .magic-continue__date-slash {
    color: #e11e27;
}

.magic-continue .mistake .magic-continue__date-field {
    border: 1px solid rgba(225, 30, 39, 0.4);
}

.magic-continue .mistake .magic-continue__error {
    display: block;
    color: #e11e27;
}

.magic-continue .mistake .magic-continue__date-input::placeholder {
    color: #e11e27;
}

.magic-continue .match-game .one-part-title .btn-red {
    margin: 0 auto;
    width: 100%;
}

@media screen and (min-width: 580px) {
    .magic-continue__date-input {
        width: 70px;
    }
}

@media screen and (max-width: 580px) {
    .magic-continue__date-field {
        padding-left: 3vw;
        padding-right: 5vw;
    }
}

@media screen and (max-width: 410px) {
    .magic-continue__description {
        font-size: 16px;
    }

    .magic-continue__date-input, .magic-continue__date-slash {
        font-size: 5.6vw;
    }
}

@media screen and (max-width: 360px) {
    .magic-continue__date-input, .magic-continue__date-slash {
        font-size: 5vw;
    }
}

/* Анимация растворяющегося тумана для верхнего слоя */
@keyframes magicOrbFogFade {
    0% {
        opacity: 1;
        filter: blur(8px);
    }

    30% {
        opacity: 1;
        filter: blur(8px);
    }

    100% {
        opacity: 0;
        filter: blur(0);
    }
}
/* ✦ Анимация проявления текста внутри шара ✦ */
@keyframes magicOrbTextReveal {
    0% {
        opacity: 0;
        filter: blur(14px);
    }

    40% {
        opacity: 0.2;
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        filter: blur(0);
    }
}
/* Страница с шаром */
.magic-orb {
    /* Общая карточка на странице шара — мягкий светлый фон */
    /* Внутренний контейнер карточки с шаром */
    /* Звёздочки внутри карточки (PNG) */
    /* Текстовый блок внутри карточки */
    /* Сам шар */
    /* Текст внутри шара — один слой, картинка шара одна */
    /* Кнопка "Новое предсказание" – сохраняем высокую специфичность */
    /* ✦ Адаптив только для этой страницы ✦ */
}

    .magic-orb .match-game .match-game__card {
        position: relative;
        background-color: rgba(247, 244, 252, 0.54);
    }

    .magic-orb .match-game__card::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.12) 45%, rgba(255, 255, 255, 0.02) 100%);
        pointer-events: none;
        z-index: 0;
    }

    .magic-orb .magic-orb__card {
        position: relative;
        padding-top: 32px;
        z-index: 1;
    }

    .magic-orb .magic-orb__card-bg {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        transform: none;
        object-fit: cover;
        pointer-events: none;
        opacity: 0.9;
        z-index: -1;
    }

    .magic-orb .magic-orb__text {
        position: relative;
        z-index: 1;
        padding: 18px 32px 30px;
        text-align: center;
    }

    .magic-orb .magic-orb__hint {
        margin: 0 auto 20px;
        font-size: 13px;
        line-height: 130%;
        text-transform: uppercase;
        color: #ffffff;
        opacity: 0.9;
    }

    .magic-orb .magic-orb__ball {
        position: relative;
        width: 280px;
        max-width: 100%;
    }

    .magic-orb .magic-orb__ball-img {
        display: block;
        width: 100%;
        height: auto;
    }

    .magic-orb .magic-orb__ball-text {
        position: absolute;
        inset: 7% 14% 27%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        pointer-events: none;
        animation: magicOrbTextReveal 4s ease-out forwards;
    }

        .magic-orb .magic-orb__ball-text p {
            margin: 0;
            font-size: 18px;
            line-height: 120%;
            color: #48277C;
            font-weight: 500;
        }

    .magic-orb .match-game .match-game__card .magic-orb__text .magic-orb__btn {
        position: relative;
        z-index: 1;
        display: flex;
        margin: -8px auto 0 auto;
        width: 217px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35), 0 0 18px rgba(255, 255, 255, 0.85);
    }

@media screen and (max-width: 480px) {
    .magic-orb .magic-orb__text {
        padding: 16px 20px 26px;
    }

    .magic-orb .magic-orb__ball {
        width: 65vw;
        max-width: 340px;
    }

    .magic-orb .magic-orb__ball-text {
        inset: 7% 13% 26%;
    }

        .magic-orb .magic-orb__ball-text p {
            font-size: 4.3vw;
        }
}
@media screen and (max-width: 440px) {
    .magic-orb .magic-orb__hint {
        font-size: 2.9vw;
    }
}
@media screen and (max-width: 360px) {
    .magic-orb .magic-orb__ball-text p {
        font-size: 4.8vw;
    }
}

/* Башня. Окно со счётчиком */
.tower .match-game__card-main.one-part-title .modal__img-bg-celibrate {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 440px;
    height: auto;
}

.tower.culinary.present .match-game__content {
    padding-top: 35vh;
}

    .tower.culinary.present .match-game__content .match-game__card {
        height: auto;
        padding: 0;
        padding-top: 38px;
    }

.tower .game_score--tower {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    width: 62px;
    background: linear-gradient(180deg, #5b3aa6 0%, #3b1f74 100%);
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
    font-family: "Congenial", sans-serif;
    font-weight: 600;
    font-size: 28px;
    padding-top: 2px;
}

.tower-modal h2 {
    margin-bottom: 40px;
}

.tower-modal p {
    font-size: 19px;
}

.tower-modal .btn-red {
    margin-top: 35px;
}

.tower-chokolate {
    max-width: 138px;
    height: auto;
    margin: -15px auto;
}

@media screen and (max-width: 480px) {
    .tower .game_score--tower.btn-red {
        bottom: 22px;
    }
}

@media screen and (max-width: 390px) {
    .tower .game_score--tower {
        font-size: 7.2vw;
    }
}

@media screen and (min-width: 520px) {
    .tower.culinary.present .match-game__content {
        padding-top: 450px;
    }
}

.magnit__card {
    margin: auto;
    margin-top: 280px;
}

.magnit__snow {
    background: #7D69AF;
    margin-top: 10px;
}

.magnit.match-game__card .bg-img {
    object-position: top;
}

.magnit .btn-red {
    position: relative;
    width: 100%;
    height: 60px;
    border-radius: 999px;
    border: none;
    text-decoration: none;
    font-size: 18px;
    cursor: pointer;
    white-space: nowrap;
    background: linear-gradient(180deg, #f93139 0%, #e6232b 40%, #c8151f 100%);
    box-shadow: 0 3px 18px rgb(87, 59, 134);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    /* блик сверху */
}

    .magnit .btn-red::before {
        content: "";
        position: absolute;
        left: 8px;
        right: 8px;
        top: 4px;
        height: 50%;
        border-radius: 999px;
        pointer-events: none;
    }

    .magnit .btn-red:hover {
        box-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
    }

    .magnit .btn-red:active {
        transform: translateY(1px);
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
        background: linear-gradient(180deg, #e6232b 0%, #c8161f 100%);
    }

.magnit .magnit__btn--width {
    width: 300px;
}

.magnit .magnit__go {
    position: fixed;
    bottom: 75px;
}

    .magnit .magnit__go img {
        height: 18px;
        width: auto;
        margin-right: 20px;
    }

.magnit .btn-red.magnit__snow {
    background: linear-gradient(180deg, #9985e8 0%, #8a78d4 40%, #7d69af 60%, #5c4b98 100%);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
    color: #fff;
}

    .magnit .btn-red.magnit__snow::after {
        content: "";
        position: absolute;
        inset: 2px;
        border-radius: 999px;
        border: 1px solid #f6d47a;
        pointer-events: none;
    }

    .magnit .btn-red.magnit__snow:hover {
        box-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
    }

.magnit .bg-img {
    object-position: top;
}

@media screen and (max-width: 599px) {
    .magnit__card {
        margin-top: 45vw;
    }
}

@media screen and (max-width: 409px) {
    .magnit .magnit__btn--width {
        width: 73.5vw;
    }

    .magnit .btn-red {
        font-size: 4.4vw;
    }
}

@media screen and (max-height: 768px) and (orientation: landscape) {
    .magnit {
        overflow: visible;
        flex-wrap: wrap;
    }

        .magnit .magnit__go {
            position: relative;
            bottom: unset;
            margin-bottom: 70px;
            margin-top: 600px;
        }
}

.pochta .match-game__card {
    padding-left: 50px;
    padding-right: 50px;
}

    .pochta .match-game__card .one-part-title .btn-red {
        width: 300px;
        margin: 20px auto 245px auto;
    }

.pochta .modal__img-bg-celibrate {
    width: 90%;
}

.pochta .match-game__card {
    background-color: rgba(37, 20, 65, 0.3);
}

.pochta.present .match-game__content {
    padding-top: 33vh;
    padding-bottom: 0;
}

.pochta a.back-in-town {
    margin-bottom: 10px;
}

@media screen and (max-width: 375px) {
    .pochta .match-game__card h3 {
        font-size: 5.12vw;
        margin: 8px auto 10px auto;
    }
}

@media screen and (max-width: 375px) {
    .pochta .match-game__card .one-part-title .btn-red {
        width: 80vw;
    }
}

@media screen and (max-width: 360px) {
    .pochta .modal__header {
        padding: 0 20px;
    }
}