@media (min-width: 1200px) {
    dialog.v2-login-overlay:modal {
        position: fixed;
        inset: 0;
        width: min(344px, calc(100vw - 32px));
        height: fit-content;
        max-height: calc(100dvh - 32px);
        margin: auto;
        padding: 0;
        border: 0;
        background: transparent;
        overflow: auto;
        overscroll-behavior: contain;
    }

    .v2-login-overlay::backdrop {
        background: rgba(2, 31, 61, 0.45);
    }

    .v2-login-overlay__sheet {
        position: relative;
        width: 430px;
        zoom: 0.8;
    }

    .v2-login-overlay .v2-auth-card {
        width: 100%;
    }

    .v2-login-overlay .v2-auth-card__hero {
        width: 100%;
        max-height: none;
    }

    .v2-login-overlay .v2-auth-card__field .v2-auth-card__phone input {
        width: 100%;
        min-width: 0;
        min-height: 46px;
        padding: 0 14px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .v2-login-overlay .v2-auth-card__phone:focus-within,
    .v2-login-overlay .v2-auth-card__field input:focus-visible,
    .v2-login-overlay .v2-auth-card__reveal:focus-visible {
        border-color: var(--v2-auth-navy, #064b7d);
        outline: 2px solid var(--v2-auth-navy, #064b7d);
        outline-offset: 2px;
    }

    .v2-login-overlay .v2-auth-card__field .v2-auth-card__phone input:focus-visible {
        outline: 2px solid transparent;
        outline-offset: 0;
    }

    .v2-login-overlay .v2-card-bar,
    .v2-login-overlay .v2-auth-card:has([data-v2-auth="register"]) .v2-card-bar {
        align-items: center;
        min-height: 56px;
        padding: 8px 14px;
    }

    .v2-login-overlay .v2-auth-card__brand,
    .v2-login-overlay .v2-auth-card:has([data-v2-auth="register"]) .v2-auth-card__brand {
        height: 40px;
    }

    .v2-login-overlay .v2-auth-card__title,
    .v2-login-overlay .v2-auth-card:has([data-v2-auth="register"]) .v2-auth-card__title {
        font-size: 22px;
        line-height: 1.2;
    }

    .v2-login-overlay .v2-auth-card__body,
    .v2-login-overlay .v2-auth-card:has([data-v2-auth="register"]) .v2-auth-card__body {
        gap: 8px;
        padding: 12px 16px 14px;
    }

    .v2-login-overlay .v2-auth-card__form,
    .v2-login-overlay .v2-auth-card:has([data-v2-auth="register"]) .v2-auth-card__form {
        gap: 8px;
    }

    .v2-login-overlay .v2-auth-card__lead {
        font-size: 14px;
        line-height: 1.35;
    }

    .v2-login-overlay .v2-auth-card__status:empty {
        display: none;
    }

    .v2-login-overlay .v2-auth-card__check,
    .v2-login-overlay .v2-auth-card:has([data-v2-auth="register"]) .v2-auth-card__check {
        min-height: 0;
        align-items: center;
        font-size: 14px;
        line-height: 1.35;
    }

    .v2-login-overlay .v2-auth-card__return {
        top: 10px;
        right: auto;
        left: 10px;
        z-index: 3;
        width: 36px;
        height: 36px;
    }

    .v2-login-overlay .auth-support-wa {
        position: absolute;
        top: 10px;
        left: 52px;
        z-index: 3;
        display: grid;
        width: 36px;
        height: 36px;
        place-items: center;
        border-radius: 50%;
        background: #25d366;
        color: #fff;
        text-decoration: none;
    }

    .v2-login-overlay .auth-support-wa span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .v2-login-overlay .auth-support-wa__icon {
        width: 20px;
        height: 20px;
    }

    .v2-login-overlay__close {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 3;
        display: grid;
        width: 36px;
        height: 36px;
        place-items: center;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.94);
        color: #16213e;
        font: inherit;
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
    }

    .v2-login-overlay__close:focus-visible,
    .v2-login-overlay .v2-auth-card__return:focus-visible,
    .v2-login-overlay .auth-support-wa:focus-visible {
        outline: 2px solid #fff;
        outline-offset: 2px;
    }
}
