/* ===== DESIGN TOKENS ===== */

:root{
    --color-bg: #f3f4f6;
    --color-card: #ffffff;
    --color-text: #0f172a;
    --color-muted: rgba(15,23,42,0.5);
    --color-border: rgba(0,0,0,0.08);

    --radius: 18px;

    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 20px;
    --space-lg: 40px;
}

/* ===== COOKIE CHOICE ===== */
.cookie-panel{
    position:fixed;
    z-index:1200;
    left:50%;
    bottom:max(24px,calc(env(safe-area-inset-bottom) + 16px));
    width:min(600px,calc(100% - 40px));
    margin:0 auto;
    padding:18px;
    display:grid;
    grid-template-columns:1fr;
    gap:14px;
    transform:translateX(-50%);
    border:1px solid rgba(255,255,255,.78);
    border-radius:22px;
    background:rgba(255,255,255,.88);
    box-shadow:
        0 26px 64px rgba(31,57,68,.24),
        0 8px 24px rgba(31,57,68,.13),
        0 2px 8px rgba(31,57,68,.08);
    -webkit-backdrop-filter:blur(18px) saturate(145%);
    backdrop-filter:blur(18px) saturate(145%);
    color:#294250;
    font-family:Roboto,sans-serif;
}

.cookie-panel__message{
    display:grid;
    grid-template-columns:40px minmax(0,1fr);
    align-items:center;
    gap:12px;
    min-width:0;
}

.cookie-panel__icon{
    display:grid;
    place-items:center;
    width:40px;
    height:40px;
    border-radius:13px;
    background:linear-gradient(145deg,#1cb7bc,#0aa3aa);
    color:#fff;
    box-shadow:0 7px 18px rgba(7,156,165,.22);
}

.cookie-panel__shield{
    display:block;
    width:23px;
    height:23px;
    color:currentColor;
}

.cookie-panel__text{
    display:block;
    margin:0;
    font-size:14px;
    line-height:1.45;
}

.cookie-panel__text a{
    display:inline;
    margin-left:.22em;
    color:#087f9d;
    font-weight:700;
    text-decoration:none;
    white-space:nowrap;
}

.cookie-panel__actions{
    display:flex;
    align-items:center;
    gap:10px;
    justify-content:flex-end;
    padding-left:52px;
}

.cookie-panel__button{
    min-height:44px;
    min-width:142px;
    padding:0 18px;
    border:0;
    border-radius:14px;
    font:700 14px/1.2 Roboto, sans-serif;
    cursor:pointer;
    white-space:nowrap;
    transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}

.cookie-panel__button--secondary{
    background:rgba(233,239,239,.92);
    color:#405965;
    border:1px solid rgba(55,80,88,.08);
}
.cookie-panel__button--primary{
    background:linear-gradient(135deg,#12b7bc,#08a5ad);
    color:#fff;
    box-shadow:0 8px 18px rgba(7,156,165,.22);
}
.cookie-panel__button:hover{transform:translateY(-1px)}
.cookie-panel__button:active{transform:translateY(0)}
.cookie-panel__button--secondary:hover{background:#e5ecec}
.cookie-panel__button--primary:hover{box-shadow:0 10px 22px rgba(7,156,165,.27)}

body.cookie-panel-open .app{
    padding-bottom:calc(12px + var(--bit101-cookie-panel-space,0px));
}
body.cookie-panel-open .auth-modal.visible{
    padding-bottom:max(12px,calc(env(safe-area-inset-bottom) + var(--bit101-cookie-panel-space,0px)));
}

@media (max-width:600px){
    .cookie-panel{
        bottom:max(14px,calc(env(safe-area-inset-bottom) + 10px));
        width:calc(100% - 24px);
        padding:14px;
        gap:12px;
        border-radius:19px;
    }
    .cookie-panel__message{grid-template-columns:36px minmax(0,1fr);gap:10px}
    .cookie-panel__icon{width:36px;height:36px;border-radius:12px}
    .cookie-panel__shield{width:21px;height:21px}
    .cookie-panel__text{font-size:13px;line-height:1.4}
    .cookie-panel__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-left:0}
    .cookie-panel__button{width:100%;min-width:0;padding:0 8px;font-size:13px}
}

/* ===== REGISTRATION LEGAL ACCEPTANCE ===== */
.auth-legal{
    display:grid;
    gap:8px;
    margin:2px 0 12px;
    color:#5c6875;
    font-size:12px;
    line-height:1.3;
}

.auth-legal__row{
    display:grid;
    grid-template-columns:18px 1fr;
    gap:8px;
    align-items:start;
    cursor:pointer;
}

.auth-legal__row input{
    width:18px;
    height:18px;
    margin:0;
    accent-color:#08bfc5;
}

.auth-legal__row a{
    color:#087f9d;
    text-decoration:underline;
}

.auth-legal__clickwrap{
    margin:0;
}

.auth-legal__clickwrap a{
    color:#087f9d;
    text-decoration:underline;
}

/* ===== ШРИФТ ===== */

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

/* ===== BASE ===== */

*{
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

body{
    margin:0;
    font-family: 'Roboto', Arial, sans-serif;
    background:var(--color-bg);
    color:var(--color-text);
}

/* ===== LAYOUT ===== */

.app{
    min-height:100dvh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:12px;

    background:var(--color-bg);

    overflow:auto;
}

/* ===== CARD ===== */

.card{
    position:relative;
    overflow:hidden;

    background:var(--color-card);

    border-radius:24px;
    padding:var(--space-lg);

    width:100%;
    max-width:700px;
    min-height:500px;

    border:1px solid var(--color-border);

    box-shadow:
        0 12px 24px rgba(0,0,0,0.08),
        0 3px 6px rgba(0,0,0,0.04);

    display:flex;
    flex-direction:column;
}

/* ===== ФОН ===== */

.card::before{
    content:'';
    position:absolute;
    inset:0;

    background:url('../img/back.png') center/cover no-repeat;

    opacity: 0.25;

    pointer-events:none;
    z-index:0;
}

.card > *{
    position:relative;
    z-index:1;
}

/* ===== TOP ===== */

.card-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* ===== USER BLOCK ===== */

.user-block{
    display:flex;
    align-items:center;
    gap:16px;
}

/* ===== USER NAME ===== */

.user-name{
    font-size:20px;
    font-weight:600;
    color:#5a3b00;
}

/* ===== LOGO ===== */

.logo-box{
    border:1px solid var(--color-border);
    border-radius:20px;
    padding:8px;

    background:#fff;

    box-shadow:
        0 4px 10px rgba(0,0,0,0.08);

    display:flex;
    align-items:center;
    justify-content:center;
}

.logo-box img{
    width:48px;
    height:48px;
    object-fit:contain;
}

.avatar-image{
    transform:scale(1.18);
}

/* ===== CENTER ===== */

.card-center{
    flex:1;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}

/* ===== BUTTON BASE ===== */

.btn{
    border-radius:20px;
    cursor:pointer;
    transition:all 0.15s ease;
}

/* ===== ВОЙТИ ===== */

.btn-top{
    height:64px;
    padding:0 40px;
    font-size:20px;
    font-weight:600;
    letter-spacing:0.5px;

    background:linear-gradient(
        135deg,
        #00c6ff,
        #00e0c6
    );

    color:#e6ffff;

    border:1px solid rgba(0,0,0,0.12);

    box-shadow:
        0 6px 14px rgba(0,0,0,0.16);
}

/* ===== ИГРАТЬ ===== */

.btn-play{
    width:100%;
    max-width:320px;
    height:80px;

    font-size:30px;
    font-weight:600;
    letter-spacing:1px;

    background:linear-gradient(
        135deg,
        #ff8a00,
        #ffd400
    );

    color:#5a3b00;

    margin:0 auto;

    border:1px solid rgba(0,0,0,0.12);

    box-shadow:
        0 10px 20px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.4);
}

/* ===== HOVER ===== */

.btn-play:hover,
.btn-top:hover{
    transform:translateY(-1px);

    box-shadow:
        0 16px 28px rgba(0,0,0,0.22);
}

/* ===== ACTIVE ===== */

.btn-play:active,
.btn-top:active{
    transform:scale(0.96);

    box-shadow:
        0 4px 8px rgba(0,0,0,0.2),
        inset 0 2px 6px rgba(0,0,0,0.2);
}

/* ===== MESSAGE ===== */

.play-message{
    margin-top:var(--space-md);
    font-size:14px;
    color:var(--color-muted);
    opacity:0;
    transition:opacity 0.2s ease;
}

.play-message.visible{
    opacity:1;
}

/* ===== AUTH MODAL ===== */

.auth-modal{
    position:fixed;
    inset:0;
    z-index:1000;
}

.auth-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.45);
}

.auth-card{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:90%;
    max-width:360px;
    background:#ffffff;
    border-radius:24px;
    padding:20px 20px 24px;

    box-shadow:
        0 20px 40px rgba(0,0,0,0.2),
        0 6px 12px rgba(0,0,0,0.1);
}

.auth-close-wrap{
    display:flex;
    justify-content:flex-end;
    margin-bottom:12px;
}

.auth-close{
    border:none;
    background:none;
    font-size:28px;
    line-height:1;
    cursor:pointer;
    color:rgba(0,198,255,0.8);
    transition:all 0.15s ease;
}

.auth-close:hover{
    transform:scale(1.1);
    color:#00c6ff;
}

.auth-form{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.auth-input{
    height:60px;
    padding:0 16px;
    border-radius:18px;
    border:2px solid rgba(0,198,255,0.25);
    font-size:18px;
    font-weight:500;
    color:rgba(15,23,42,0.9);
    outline:none;
    transition:border 0.15s ease;
}

.auth-input:focus{
    border-color:#00c6ff;
}

.auth-submit{
    height:60px;
    font-size:20px;
}

.auth-input:-webkit-autofill,
.auth-input:-webkit-autofill:hover,
.auth-input:-webkit-autofill:focus{
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset;
    -webkit-text-fill-color: rgba(15,23,42,0.9);
    transition: background-color 9999s ease-in-out 0s;
}

/* ===== MOBILE ===== */

@media (max-width: 600px){

    .app{
        height:100dvh;
        padding:10px;
    }

    .card{
        height:100%;
        min-height:unset;

        border-radius:24px;
        padding:var(--space-md);
    }

    .card-center{
        justify-content:center;
    }

    .user-name{
        display:none;
    }
}
/* ===== AUTH TABS ===== */

.auth-modal{
    position:fixed;
    inset:0;
    z-index:1000;

    display:none;
}

.auth-modal.visible{
    display:block;
}

.auth-tabs{
    display:flex;
    gap:8px;
    margin-bottom:18px;
}

.auth-tab{
    flex:1;

    height:52px;

    border:none;
    border-radius:16px;

    background:rgba(0,198,255,0.08);
    color:rgba(15,23,42,0.65);

    font-size:16px;
    font-weight:600;

    cursor:pointer;

    transition:all 0.15s ease;
}

.auth-tab.active{
    background:linear-gradient(
        135deg,
        #00c6ff,
        #00e0c6
    );

    color:#ffffff;

    box-shadow:
        0 6px 14px rgba(0,0,0,0.14);
}

/* ===== AUTH FORMS ===== */

.auth-form{
    display:none;
    flex-direction:column;
    gap:14px;
}

.auth-form-visible{
    display:flex;
}

/* ===== AUTH ERROR ===== */

.auth-error{
    min-height:18px;

    color:#d35b5b;

    font-size:14px;
    font-weight:500;
}

.auth-error:empty{
    display:none;
}

/* ===== AUTH TEXT ===== */

.auth-helper-text,
.auth-public-note{
    font-size:13px;
    line-height:1.45;

    color:rgba(15,23,42,0.55);

    text-align:center;
}

/* ===== AUTH UX STATES ===== */

.auth-input.auth-input-error{
    border-color:#d35b5b;
}

.auth-submit:disabled{
    opacity:0.65;
    cursor:default;
    transform:none;
    box-shadow:
        0 4px 8px rgba(0,0,0,0.12);
}

.auth-submit:disabled:hover{
    transform:none;
    box-shadow:
        0 4px 8px rgba(0,0,0,0.12);
}

/* ===== AUTH FIELD ===== */

.auth-field{
    display:flex;
    flex-direction:column;
    gap:0;
}

/* ===== FIELD ERROR ===== */

.auth-field-error{
    display:none;

    padding-left:4px;

    color:#d35b5b;

    font-size:13px;
    line-height:1.35;
    font-weight:500;
}

.auth-field-error:not(:empty){
    display:block;

    margin-top:4px;
    padding-left:18px;
}

/* ===== AUTH INPUT ERROR ===== */

.auth-input.auth-input-error{
    border-color:#d35b5b;
    background:rgba(211,91,91,0.03);
}

/* ===== AUTH UX STATES ===== */

.auth-submit:disabled{
    opacity:0.65;
    cursor:default;
    transform:none;
    box-shadow:
        0 4px 8px rgba(0,0,0,0.12);
}

.auth-submit:disabled:hover{
    transform:none;
    box-shadow:
        0 4px 8px rgba(0,0,0,0.12);
}
/* L-001 social authentication */
.auth-card{
    max-height:calc(100dvh - 24px);
    overflow-y:auto;
    overscroll-behavior:contain;
}

.auth-card:focus{
    outline:none;
}

.auth-close,
.auth-tab,
.auth-input,
.auth-submit,
.auth-social-button{
    -webkit-tap-highlight-color:transparent;
}

.auth-close:focus-visible,
.auth-tab:focus-visible,
.auth-input:focus-visible,
.auth-submit:focus-visible,
.auth-social-button:focus-visible{
    outline:3px solid rgba(0,198,255,.28);
    outline-offset:3px;
}

.auth-social-block{
    display:grid;
    gap:10px;
    margin-top:2px;
}

.auth-social-divider{
    display:flex;
    align-items:center;
    gap:12px;
    margin:2px 0 1px;
    color:rgba(15,23,42,.48);
    font-size:12px;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.auth-social-divider::before,
.auth-social-divider::after{
    content:'';
    height:1px;
    flex:1;
    background:rgba(0,198,255,.18);
}

.auth-social-button{
    display:grid;
    grid-template-columns:24px minmax(0,1fr) 24px;
    align-items:center;
    gap:10px;
    width:100%;
    min-height:52px;
    padding:9px 14px;
    border:1px solid rgba(0,154,195,.24);
    border-radius:18px;
    background:linear-gradient(180deg,#fff,#fbfdfe);
    color:#16313d;
    box-shadow:0 4px 10px rgba(15,23,42,.07);
    font:inherit;
    font-size:15px;
    font-weight:600;
    line-height:1.25;
    cursor:pointer;
    transition:transform .15s ease,border-color .15s ease,background .15s ease,box-shadow .15s ease,opacity .15s ease;
}

.auth-social-button__icon{
    grid-column:1;
    width:24px;
    height:24px;
    object-fit:contain;
    justify-self:center;
    user-select:none;
}

.auth-social-button[data-provider="yandex"] .auth-social-button__icon{
    transform:scale(1);
}

.auth-social-button[data-provider="vk"] .auth-social-button__icon{
    transform:scale(1.95);
}

.auth-social-button__label{
    grid-column:2;
    min-width:0;
    text-align:center;
}

.auth-social-button::after{
    content:'';
    grid-column:3;
    width:16px;
    height:16px;
    justify-self:center;
    border:2px solid rgba(0,154,195,.2);
    border-top-color:#009ac3;
    border-radius:50%;
    opacity:0;
}

.auth-social-button:hover:not(:disabled),
.auth-social-button.is-preview-hover:not(:disabled){
    transform:translateY(-1px);
    border-color:rgba(0,154,195,.48);
    background:#f5fcfd;
    box-shadow:0 7px 16px rgba(15,23,42,.1);
}

.auth-social-button:active:not(:disabled),
.auth-social-button.is-preview-active:not(:disabled){
    transform:translateY(0) scale(.99);
    box-shadow:0 3px 7px rgba(15,23,42,.09);
}

.auth-social-button:disabled{
    cursor:wait;
    opacity:.68;
}

.auth-social-button.is-loading::after{
    opacity:1;
    animation:auth-social-spin .75s linear infinite;
}

@keyframes auth-social-spin{
    to{transform:rotate(360deg)}
}

.auth-social-complete{display:grid;gap:12px}
.auth-social-choice{display:grid;gap:12px}
.auth-social-field{display:grid}
.auth-social-field input{width:100%;min-height:44px;box-sizing:border-box;border:1px solid #c8d3dc;border-radius:14px;padding:10px 12px;font:inherit}
.auth-social-field input:focus{border-color:#168bd2;outline:3px solid rgba(38,165,228,.15)}

@media(max-width:560px){
    .auth-card{
        width:calc(100% - 20px);
        max-height:calc(100dvh - 20px);
        padding:16px 16px 20px;
        border-radius:20px;
    }
    .auth-close-wrap{margin-bottom:8px}
    .auth-tabs{margin-bottom:14px}
    .auth-form{gap:12px}
    .auth-input,.auth-submit{height:54px}
    .auth-social-button,.auth-social-field input{min-height:50px}
}

@media(prefers-reduced-motion:reduce){
    .auth-social-button{transition:none}
    .auth-social-button.is-loading::after{animation-duration:1.4s}
}

/* ===== 048 MOBILE AUTH POLISH (COOKIE VISUALS REMAIN ISOLATED) ===== */
:root{
    --bit101-teal:#079ca5;
    --bit101-teal-dark:#087580;
    --bit101-ink:#243e49;
    --bit101-muted:#657881;
    --bit101-line:rgba(7,156,165,.2);
    --bit101-focus:rgba(7,156,165,.28);
}

.cookie-panel :focus:not(:focus-visible),
.auth-modal :focus:not(:focus-visible){outline:none}
.cookie-panel a:focus-visible,
.cookie-panel button:focus-visible,
.auth-modal a:focus-visible,
.auth-modal button:focus-visible,
.auth-modal input:focus-visible{
    outline:3px solid var(--bit101-focus);
    outline-offset:2px;
    border-color:var(--bit101-teal);
    box-shadow:none;
}

body.auth-modal-open{
    position:fixed;
    width:100%;
    overflow:hidden;
}
.auth-modal{
    box-sizing:border-box;
    min-height:100dvh;
    padding:
        max(12px,env(safe-area-inset-top))
        max(10px,env(safe-area-inset-right))
        max(12px,env(safe-area-inset-bottom))
        max(10px,env(safe-area-inset-left));
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
}
.auth-modal.visible{
    display:flex;
    align-items:flex-start;
    justify-content:center;
}
.auth-overlay{position:fixed}
.auth-card{
    position:relative!important;
    top:auto!important;
    left:auto!important;
    flex:none;
    width:min(100%,380px);
    max-height:none!important;
    margin:auto 0;
    padding:20px;
    overflow:visible!important;
    transform:none!important;
    border:1px solid rgba(7,156,165,.16);
    border-radius:22px;
    box-shadow:0 14px 38px rgba(25,54,65,.18);
}
.auth-close{
    color:var(--bit101-muted);
    border-radius:10px;
}
.auth-social-button{
    border-color:var(--bit101-line);
    background:#f7fcfc;
    color:var(--bit101-ink);
}
.auth-social-button__icon{
    width:24px;
    height:24px;
    object-fit:contain;
    transform:none!important;
}
.auth-social-divider{
    color:var(--bit101-muted);
    font-size:10px;
}
.auth-legal{
    gap:4px;
    margin:0 0 7px;
    padding-inline:12px 6px;
    color:var(--bit101-muted);
    font-size:13px;
    line-height:1.4;
}
.auth-legal__row{
    grid-template-columns:22px minmax(0,1fr);
    gap:9px;
    align-items:center;
    min-height:36px;
}
.auth-legal__row input{
    width:22px;
    height:22px;
    flex:none;
}
.auth-legal__row>span,
.auth-legal__clickwrap{
    min-width:0;
    margin:0;
}
.auth-legal__clickwrap{padding-inline:12px}
.auth-legal a{
    color:var(--bit101-teal-dark);
    font-weight:700;
    text-decoration:none;
    text-decoration-thickness:1px;
    text-underline-offset:3px;
}
.auth-legal a:hover{text-decoration:underline}

@media(max-width:560px){
    .auth-card{
        width:min(100%,380px);
        max-height:none;
        padding:16px;
        border-radius:20px;
    }
    .auth-close-wrap{margin-bottom:5px}
    .auth-tabs{margin-bottom:10px}
    .auth-form{gap:9px}
    .auth-input,.auth-submit{height:50px}
    .auth-social-block{gap:7px}
    .auth-social-button{min-height:46px}
}

@media(max-height:430px) and (orientation:landscape){
    .auth-modal{padding-block:8px}
    .auth-card{margin:0}
}

/* ===== 051 ACCEPTED VISUAL POLISH ===== */
.auth-legal__row>span{white-space:normal}
.auth-legal__clickwrap{
    margin:-2px 0 0;
    color:var(--bit101-muted);
    font-size:12px;
    line-height:1.35;
    text-align:center;
    white-space:nowrap;
}
.auth-legal__clickwrap a,
.auth-consent-dialog a{
    color:var(--bit101-teal-dark);
    font-weight:700;
    text-decoration:none;
    text-underline-offset:3px;
}
.auth-legal__clickwrap a:hover,
.auth-consent-dialog a:hover{text-decoration:underline}

.auth-social-block{
    gap:9px;
    margin-top:0;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
}
#loginForm .auth-social-block{margin-top:10px}
.auth-social-divider{
    gap:10px;
    margin:1px 0;
    justify-content:center;
    color:#71858b;
    font-size:13px;
    font-weight:600;
    letter-spacing:0;
    text-transform:none;
}
.auth-social-divider::before,
.auth-social-divider::after{
    display:block;
    background:rgba(7,156,165,.13);
}
.auth-social-button{
    min-height:50px;
    grid-template-columns:32px minmax(0,1fr) 32px;
    gap:8px;
    padding:0 12px;
    border:1px solid rgba(7,156,165,.24);
    border-radius:20px;
    background:rgba(255,255,255,.92);
    color:#263f48;
    box-shadow:none;
}
.auth-social-button:hover:not(:disabled),
.auth-social-button.is-preview-hover:not(:disabled){
    border-color:rgba(8,121,130,.42);
    background:#f7fdfd;
    box-shadow:0 3px 8px rgba(31,57,68,.07);
}
.auth-social-button__icon{
    width:24px;
    height:24px;
    justify-self:start;
}
.auth-social-button[data-provider="vk"] .auth-social-button__icon{
    width:32px;
    height:32px;
}

.auth-consent-modal{
    position:fixed;
    z-index:4;
    inset:0;
    display:none;
    align-items:flex-start;
    justify-content:center;
    padding:
        max(12px,env(safe-area-inset-top))
        max(8px,env(safe-area-inset-right))
        max(12px,env(safe-area-inset-bottom))
        max(8px,env(safe-area-inset-left));
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
}
.auth-consent-modal.visible{display:flex}
.auth-consent-overlay{
    position:fixed;
    inset:0;
    background:rgba(35,50,56,.42);
}
.auth-consent-dialog{
    position:relative;
    z-index:1;
    width:min(560px,100%);
    margin:auto 0;
    padding:20px 22px 18px;
    border:1px solid rgba(8,151,160,.12);
    border-radius:20px;
    background:#fffefa;
    box-shadow:0 9px 26px rgba(28,46,56,.18);
    color:#294250;
}
.auth-consent-dialog:focus{outline:none}
.auth-consent-dialog h2{
    margin:0 42px 10px 0;
    font-size:20px;
    line-height:1.2;
}
.auth-consent-dialog p{
    margin:7px 0;
    font-size:13.25px;
    line-height:1.42;
}
.auth-consent-dialog strong{color:#203944}
.auth-consent-close{
    position:absolute;
    top:12px;
    right:13px;
    width:36px;
    height:36px;
    border:0;
    border-radius:10px;
    background:#eef3f2;
    color:#405965;
    font-size:22px;
    line-height:1;
    cursor:pointer;
}
.auth-consent-links{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-top:12px;
    padding-top:12px;
    border-top:1px solid rgba(8,151,160,.12);
}
.auth-consent-links a{
    display:inline-flex;
    align-items:center;
    min-height:40px;
    padding:0 12px;
    border-radius:11px;
    background:#edf6f5;
    font-size:13px;
}

@media(max-width:560px){
    .auth-social-divider{font-size:14px}
    .auth-legal{
        padding-inline:12px 4px;
        font-size:14px;
    }
    .auth-legal__row{
        grid-template-columns:24px minmax(0,1fr);
        gap:10px;
        min-height:44px;
        padding-block:4px;
    }
    .auth-legal__row input{width:24px;height:24px}
    .auth-legal__row>span{font-size:14px}
    .auth-legal__clickwrap{
        padding-inline:8px;
        font-size:13.5px;
        white-space:normal;
    }
    .auth-consent-dialog{
        width:100%;
        max-width:358px;
        padding:17px 16px 15px;
        border-radius:18px;
    }
    .auth-consent-dialog h2{font-size:18px}
    .auth-consent-dialog p{font-size:12.75px}
    .auth-consent-links{display:grid}
    .auth-consent-links a{justify-content:center}
}

@media(max-width:365px){
    .auth-legal__row>span{font-size:13.5px}
    .auth-legal__clickwrap{font-size:13px}
}
