@font-face {
    font-family: 'YS Text';
    font-weight: 400;
    font-style: normal;
    src: local('YS Text Regular');
    src: url('https://yastatic.net/islands/_/KRBKbh7904nwfw8-FzDelXRpZ9o.woff2') format('woff2'),
        url('https://yastatic.net/islands/_/7RkupUWVEcepjeZPFv1xCDdQFhc.woff') format('woff'),
        url('https://yastatic.net/islands/_/2SFdG32ETUSsR0lGHx7BLic2F44.ttf') format('truetype');
}
@font-face {
    font-family: 'YS Text';
    font-weight: 700;
    font-style: normal;
    src: local('YS Text Bold');
    src: url('https://yastatic.net/islands/_/TR2STky64Ra69XlYzqKN7cnjYfQ.woff2') format('woff2'),
        url('https://yastatic.net/islands/_/6n8FrCwGXwQ5ZumBk1SCxOl2ec8.woff') format('woff'),
        url('https://yastatic.net/islands/_/o9D1OOQkIM1tjIvuGeHuvA0EgWA.ttf') format('truetype');
}
@font-face {
    font-family: 'YS Text';
    font-weight: 500;
    font-style: normal;
    src: local('YS Text Medium');
    src: url('https://yastatic.net/islands/_/g0MeJlAWVRZjlLOLzhOGwwDQzKY.woff') format('woff'),
        url('https://yastatic.net/islands/_/yboQWNa1IJ-YFCgYbNWuynXTQcY.woff2') format('woff2'),
        url('https://yastatic.net/islands/_/wU8xHWzxhuiI5DnaUDs4ZUi8nME.eot') format('eot');
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
    margin: 0;
}

a,
a:hover,
a:focus,
a:active {
    text-decoration: none;
    color: inherit;
}

body {
    min-height: 100vh;
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
    color: #000000;
    font-family: 'YS Text', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.2;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a:not([class]) {
    text-decoration-skip-ink: auto;
}

img {
    max-width: 100%;
    display: block;
}

input,
button,
textarea,
select {
    font: inherit;
}

.welcome-to-yandex-page {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
}

.welcome-to-yandex-page__inner {
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.welcome-to-yandex-page__content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-to-yandex-page-modal {
    width: 360px;
    padding: 32px;
    background: #ffffff;

    box-shadow: 0px 0px 2px rgba(147, 151, 173, 0.1), 0px 8px 28px rgba(147, 151, 173, 0.3);
    border-radius: 16px;
}

.welcome-to-yandex-page-modal__inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.welcome-to-yandex-page-modal__logo {
    margin-bottom: 24px;
}

.welcome-to-yandex-page-modal__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
}

.welcome-to-yandex-page-modal__title {
    font-size: 22px;
    font-weight: 700;
    line-height: 26px;
    margin-bottom: 16px;
}

.welcome-to-yandex-page-modal__content {
    font-size: 18px;
    line-height: 22px;
}

.welcome-to-yandex-page-modal__action {
    width: 100%;
    color: #222426;
}

.welcome-to-yandex-page-modal__action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;

    width: 100%;
    min-height: 44px;
    border-radius: 8px;
}
a.welcome-to-yandex-page-modal__action-btn {
    text-align: center;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    mix-blend-mode: normal;
}

.welcome-to-yandex-page-modal__action-main {
    background: #ffdb4d;
}

.welcome-to-yandex-page-modal__action-sub {
    margin-top: 16px;
    background: #ffffff;
    border: 1px solid #cccccc;
}

@media (max-width: 480px) {
    .welcome-to-yandex-page-modal {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        border-radius: 0px;
    }

    .welcome-to-yandex-page-modal__inner {
        height: max-content;
    }
}

@media (max-width: 320px) {
    .welcome-to-yandex-page-modal__title {
        font-size: 18px;
        line-height: 22px;
        margin-bottom: 12px;
    }

    .welcome-to-yandex-page-modal__content {
        font-size: 14px;
        line-height: 18px;
    }
}
