@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;
    max-width: 390px;
    width: auto;
    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 {
    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-wrapp #thankYou {
        top: calc((100vh - 414px) / 2);
    }

.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;
    padding-bottom: 20px;
    z-index: 9999999;
    bottom: 0;
}

.interface-foot__text {
    position: absolute;
    margin-bottom: 43px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding-right: 40px;
    white-space: nowrap;
    bottom: 53px;
}

    .interface-foot__text h2 {
        font-weight: 500;
        font-size: 34px;
        color: #fff;
        line-height: 33px;
    }

@media screen and (max-width: 360px) {
    .interface-foot__text h2 {
        font-size: 30px;
    }
}

.interface-foot__text span {
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 5px;
}

@media screen and (max-width: 360px) {
    .interface-foot__text span {
        margin-bottom: 6px;
    }
}

.interface-foot__bg {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 1;
}

.interface-foot__card {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    max-width: 417px;
    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;
    align-items: center;
    margin-bottom: 15px;
}

.interface-foot p {
    position: absolute;
    bottom: 32px;
}

.interface-foot p {
    font-weight: 500;
    font-size: 14px;
    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: 28px;
    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;
}

.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;
}

.modal-bg {
    position: absolute;
    top: 17px;
    left: 20px;
    width: calc(100% - 36px);
    z-index: -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;
    padding: 0 40px 29px;
}

    .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-windows {
    gap: 50px;
    flex-wrap: wrap;
}

.modal-end {
    position: absolute;
    flex-direction: column;
    display: flex;
    width: calc(100% - 20px);
    max-width: 390px;
    align-items: center;
    z-index: 9999999;
    opacity: 1;
    top: calc((100vh - 400px) / 2);
    left: 50%;
    transform: translate(-50%);
}

    .modal-end p {
        font-weight: 500;
        font-size: 30px;
        line-height: 119%;
        text-align: center;
        color: #fff;
        max-width: 318px;
        position: absolute;
        padding-top: 75px;
    }

.modal-win .modal-bg {
    top: 50px;
}

.modal-win p {
    font-size: 32px;
}

.modal-pingvin p {
    padding: 0 10px;
}

.modal-animal p {
    padding: 0 10px;
}

.light-modal .btn-red {
    width: 184px;
    height: 46px;
    padding: 10px 0;
}

.match-game__card .modal {
    position: absolute;
    top: calc((100vh - 400px) / 2);
    left: 50%;
    transform: translate(-50%);
}

.interface-btn img {
    width: 20px;
    padding-top: 7px;
}

.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%;
    min-width: 462px;
    transform: translateX(-50%);
    z-index: -1;
}

.menu .close-btn {
    display: flex;
    align-items: center;
    position: absolute;
    left: 20px;
    top: 55px;
    z-index: 2;
    gap: 9px;
    font-family: "Congenial", sans-serif;
    font-size: 16px;
    line-height: 32px;
    color: #fff;
}

    .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%;
    min-width: 462px;
    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;
    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 .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-main {
    text-align: center;
}

    .match-game__card-main h4 {
        text-transform: uppercase;
        font-weight: 500;
        font-size: 12px;
        margin-top: 15px;
        margin-bottom: 15px;
    }

.match-game__card .one-part-title {
    padding-top: 40px;
}

    .match-game__card .one-part-title h4 {
        padding: 0 50px;
        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 a.back-in-town {
    margin: 22px auto 17px auto;
}

.match-game__card h4 {
    font-size: 0.74rem;
    line-height: 16px;
}

.match-game .one-part-try {
    text-align: center;
}

.match-game .btn-invisible {
    position: absolute;
    display: block;
    width: 45%;
    height: 11%;
    border-radius: 25px;
    background: azure;
    z-index: 999999999999999;
    top: 62%;
    right: 4%;
}

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;
    }

.avatar-choice {
    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 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%;
    min-width: 462px;
    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: 1px solid #000000;
    border-radius: 30px;
    right: 10px;
}

    .account-head.today-progress::before {
        width: 100%;
        left: 0;
    }

.account-head .account-head.today-progress__right {
    width: 86px;
    height: 42px;
    justify-content: center;
    align-items: center;
    padding: 0;
    border: 2px solid #fff;
}

    .account-head .account-head.today-progress__right p {
        padding: 0;
        margin: 0;
        font-size: 18px;
    }

.account-head .account-head.today-progress__right__left {
    margin-bottom: -5px;
    text-transform: uppercase;
    font-size: 14px;
}

    .account-head .account-head.today-progress__right__left span {
        text-align: center;
    }

.account .back-link {
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    top: 55px;
    left: 20px;
    font-family: "Congenial", sans-serif;
    line-height: 32px;
    color: #fff;
}

    .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;
}

.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: #d9a81d;
}

.rules.interface-wrapp .container {
    margin-left: 50px;
    margin-right: 50px;
}

.rules.interface-wrapp,
body.rules.interface-wrapp::before {
    max-width: 600px;
}

/*Страница "Прелоадер"*/
.preload {
    position: relative;
    color: #fff;
    max-width: 390px;
    width: calc(100% - 16px);
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .preload h1 {
        position: absolute;
        line-height: 1.1;
        font-size: 32px;
        text-align: center;
        margin-top: -9px;
    }

/*Страница "Фонд"*/
.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;
}

.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-logo,
.menu-logo,
.to-play .logo-img,
.menu-bg {
    min-width: unset;
}

.avatar-choice {
    position: relative;
    z-index: 1;
}

    .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);
    }

.account-card__left h3 {
    font-size: 15px;
    line-height: 125%;
}

.account .back-link {
    font-size: 15px;
    top: 48px;
    left: 15px;
}

.menu .close-btn {
    font-size: 15px;
    left: 16px;
    top: 50px;
}

/*Убираем отступ сверху*/
.account,
.avatar-choice,
.menu,
.to-play {
    margin: auto;
    margin-top: 0;
}

.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;
    }

.modal.light-modal {
    position: absolute;
    z-index: 999999999;
    opacity: 1;
    top: calc((100vh - 414px) / 2);
    left: 50%;
    transform: translate(-50%);
}

.match-game .modal {
    padding: 0 40px 29px;
}

#instraction .modal.light-modal {
    top: calc((100vh - 512px) / 2);
}

    #instraction .modal.light-modal p {
        margin-bottom: 25px;
    }

#win .modal.light-modal {
    top: calc((100vh - 482px) / 2);
}

#animal .modal.light-modal {
    top: calc((100vh - 466px) / 2);
}

#katok .modal.light-modal {
    top: calc((100vh - 508px) / 2);
}

#artist .modal.light-modal {
    top: calc((100vh - 462px) / 2);
}

#pingvin .modal.light-modal {
    top: calc((100vh - 442px) / 2);
}

#pingvin .modal {
    padding: 0 30px 29px;
}

.map #animation_container {
    margin-top: 0;
    margin-bottom: auto;
}

@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 {
        padding-bottom: 10px;
    }

    .interface-foot__content {
        margin-bottom: 0;
    }

    .interface-foot__card {
        bottom: 42px;
        max-width: 87%;
    }

    .interface-foot p {
        bottom: 30px;
    }

    .interface-foot__text {
        bottom: 9vw;
    }

        .interface-foot__text span {
            font-size: 13px;
        }

        .interface-foot__text h2 {
            font-size: 32px;
        }

    .interface-voise {
        bottom: 28vw;
    }

    .rules__heading {
        font-size: 5vw;
    }

    .btn-invisible {
        position: absolute;
        display: block;
        width: 36vw;
        height: 12vw;
        bottom: 28vw;
    }

    .account-head.today-progress {
        bottom: 31.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;
        }
}

@media screen and (max-width: 440px) {
    .account {
        padding: 155px 18px 30px;
    }

        .account h2 {
            font-size: 24px;
        }

        .account .back-link {
            left: 10px;
            top: 42px;
        }

    .match-game__card .two-part h2 {
        font-size: 5vw;
    }

    .match-game__card .two-part .match-game__text {
        padding-left: 3.8vw;
        padding-right: 1vw;
    }

    .match-game__card .two-part .btn-red {
        font-size: 3.7vw;
    }

    .menu .close-btn {
        font-size: 14px;
        top: 47px;
    }

    .match-game__card h3 {
        margin: 0 auto 8px auto;
    }

    .match-game .two-part .match-game__text {
        padding-right: 0;
    }

    .match-game .two-part h4 {
        font-size: 2.6vw;
    }

    .match-game .two-part .btn-red {
        font-size: 3.7vw;
    }

    .match-game__content {
        gap: 0;
    }

    .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;
        }

    .btn-invisible {
        height: 10vw;
    }
}

@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;
    }

    .interface-foot__text h2 {
        font-size: 30px;
    }

    .interface-foot__text span {
        font-size: 13px;
    }
}

@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;
    }

    .to-play .btn-red {
        font-size: 4vw;
    }

    .modal__header {
        font-size: 22px;
    }

    .avatar-choice ul {
        gap: 18px;
    }

    .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;
    }

    .btn-invisible {
        bottom: 29vw;
    }

    .interface-foot {
        padding-bottom: 5px;
    }

        .interface-foot h3 {
            font-size: 26px;
        }

        .interface-foot p {
            font-size: 13px;
        }

    .interface-foot__card {
        bottom: 39px;
    }

    .interface-foot__text {
        gap: 5px;
    }

    .interface-foot h2 {
        font-size: 26px;
    }

    .interface-foot span {
        font-weight: 400;
    }

    .account-head.today-progress {
        bottom: 31vw;
    }

    .fond-text {
        font-size: 16px;
        padding-top: 190px;
        margin-bottom: 20px;
    }
}

@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 p {
        bottom: 27px;
        font-size: 12px;
    }

    .interface-foot h3 {
        font-size: 24px;
    }

    .interface-foot__card {
        bottom: 34px;
    }

    .interface-foot__text {
        bottom: 28px;
    }

    .back-wrapper svg {
        width: 20px;
        margin-right: 6px;
    }
}

@media screen and (max-width: 374px) {
    .fond-text {
        padding: 170px 15px 0 15px;
        margin-bottom: 12px;
    }

    .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;
    }

    .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__header {
        font-size: 21px;
    }

    .modal-pingvin {
        padding: 0 30px 29px;
    }

    .modal-animal {
        padding: 0 27px 29px;
    }

    .modal-instraction {
        padding: 20px 35px 29px;
    }

    .modal-end p {
        padding-top: 60px;
    }

    .interface-foot__text {
        bottom: 24px;
    }

    .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;
    }
}

.menu-card__left span {
    margin-bottom: -5px;
}

.map .wrapper {
    min-height: unset;
}
