.auth-page {
    min-height: 100vh;

    display: grid;

    grid-template-columns:
        minmax(380px, 0.85fr)
        minmax(480px, 1.15fr);

    background: #f4f6f8;
}

.auth-brand {
    position: relative;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    justify-content: space-between;

    padding:
        clamp(30px, 5vw, 70px);

    background:
        linear-gradient(
            145deg,
            #202b3a,
            #3b4858
        );

    color: white;
}

.auth-brand::before {
    content: "";

    position: absolute;

    width: 620px;
    height: 620px;

    right: -300px;
    bottom: -280px;

    border:
        1px solid
        rgba(255,255,255,.09);

    border-radius: 50%;
}

.auth-brand::after {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    right: -200px;
    bottom: -190px;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 50%;
}

.auth-brand-top,
.auth-brand-copy {
    position: relative;
    z-index: 2;
}

.auth-brand-logo {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    border:
        1px solid
        rgba(255,255,255,.16);

    border-radius: 18px;

    background:
        rgba(255,255,255,.08);

    font-family: Georgia, serif;
    font-size: 39px;
}

.auth-brand-name {
    margin-top: 16px;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .17em;
}

.auth-brand-copy h1 {
    margin:
        0
        0
        18px;

    font-size:
        clamp(
            38px,
            5vw,
            62px
        );

    line-height: 1.05;

    letter-spacing: -.05em;
}

.auth-brand-copy p {
    max-width: 500px;

    margin: 0;

    color:
        rgba(255,255,255,.68);

    font-size: 14px;

    line-height: 1.8;
}

.auth-main {
    display: flex;

    align-items: center;
    justify-content: center;

    padding:
        45px
        25px;
}

.auth-card {
    width:
        min(
            480px,
            100%
        );
}

.auth-kicker {
    color: #7d8792;

    font-size: 10px;
    font-weight: 850;

    letter-spacing: .18em;
}

.auth-card h2 {
    margin:
        8px
        0
        9px;

    font-size: 32px;

    letter-spacing: -.04em;
}

.auth-description {
    margin:
        0
        0
        28px;

    color: #75808c;

    font-size: 13px;

    line-height: 1.7;
}

.game-check {
    margin-bottom: 22px;

    padding: 18px;

    border:
        1px solid
        #e1e6eb;

    border-radius: 18px;

    background: white;
}

.game-check-title {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.game-check-title strong {
    font-size: 13px;
}

.game-state {
    padding:
        6px
        9px;

    border-radius: 999px;

    background: #eef1f4;

    color: #69737e;

    font-size: 10px;
    font-weight: 800;
}

.game-state.ok {
    background:
        rgba(19,157,103,.1);

    color: #139d67;
}

.game-info {
    margin-top: 12px;

    color: #707a86;

    font-size: 12px;

    line-height: 1.7;
}

.field {
    margin-bottom: 14px;
}

.field label {
    display: block;

    margin-bottom: 7px;

    color: #4d5763;

    font-size: 12px;
    font-weight: 700;
}

.field input {
    width: 100%;
    height: 49px;

    padding:
        0
        14px;

    outline: none;

    border:
        1px solid
        #dce2e8;

    border-radius: 13px;

    background: white;

    color: #171b21;
}

.field input:focus {
    border-color: #657181;

    box-shadow:
        0 0 0 3px
        rgba(57,70,86,.08);
}

.auth-button {
    width: 100%;
    height: 50px;

    margin-top: 7px;

    border: 0;

    border-radius: 14px;

    background: #263342;

    color: white;

    font-size: 13px;
    font-weight: 800;
}

.auth-button:disabled {
    opacity: .45;

    cursor: not-allowed;
}

.auth-secondary {
    width: 100%;
    height: 47px;

    margin-top: 9px;

    border:
        1px solid
        #dce2e7;

    border-radius: 14px;

    background: white;

    color: #48525e;

    font-size: 12px;
    font-weight: 700;
}

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

    margin-top: 14px;

    color: #cf4d50;

    font-size: 12px;

    line-height: 1.6;
}

.auth-message.success {
    color: #139d67;
}

.auth-links {
    display: flex;

    justify-content: center;

    gap: 17px;

    margin-top: 24px;

    color: #707a85;

    font-size: 11px;
}

.auth-links a:hover {
    color: #202a37;
}

.recovered-id {
    display: none;

    margin:
        18px
        0;

    padding: 20px;

    border-radius: 16px;

    background: white;

    border:
        1px solid
        #e0e5ea;
}

.recovered-id.visible {
    display: block;
}

.recovered-id span {
    display: block;

    color: #808994;

    font-size: 10px;

    letter-spacing: .1em;
}

.recovered-id strong {
    display: block;

    margin-top: 7px;

    font-size: 23px;

    letter-spacing: -.03em;
}

.hidden {
    display: none !important;
}


@media (
    max-width: 850px
) {

    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-brand {
        min-height: 280px;

        padding: 30px 24px;
    }

    .auth-brand-copy {
        margin-top: 55px;
    }

    .auth-brand-copy h1 {
        font-size: 40px;
    }

    .auth-main {
        padding:
            38px
            20px
            55px;
    }
}


@media (
    max-width: 520px
) {

    .auth-brand {
        min-height: 245px;
    }

    .auth-brand-copy h1 {
        font-size: 35px;
    }

    .auth-card h2 {
        font-size: 28px;
    }
}


.auth-code-box {
    margin-top: 15px;

    padding:
        17px
        14px;

    border:
        1px solid
        #dce2e8;

    border-radius: 14px;

    background: #f7f9fa;

    text-align: center;
}


.auth-code-box span {
    display: block;

    color: #727c87;

    font-size: 11px;

    line-height: 1.5;
}


.auth-code-box strong {
    display: block;

    margin:
        10px
        0
        7px;

    color: #263342;

    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Consolas,
        monospace;

    font-size: 29px;

    letter-spacing: .07em;
}


.auth-code-box small {
    color: #8a939d;

    font-size: 10px;
}
