.auth-body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(ellipse at 8% 12%, rgba(124, 84, 235, 0.2), transparent 34rem),
        radial-gradient(ellipse at 93% 86%, rgba(48, 119, 235, 0.14), transparent 36rem),
        #090b19;
    color: #f3f6ff;
}

.auth-page {
    min-height: 100vh;
    min-height: 100svh;
    grid-template-columns: minmax(0, 1.04fr) minmax(500px, 0.96fr);
}

.auth-showcase {
    padding: clamp(32px, 5.4vw, 88px) clamp(30px, 6vw, 92px) 34px;
    background:
        radial-gradient(ellipse at 16% 18%, rgba(116, 79, 235, 0.31), transparent 40%),
        radial-gradient(ellipse at 78% 72%, rgba(46, 112, 225, 0.19), transparent 38%),
        linear-gradient(148deg, #17143d 0%, #10264d 55%, #10172f 100%);
}

.auth-showcase::before {
    border-color: rgba(165, 200, 255, 0.11);
}

.auth-showcase::after {
    border-color: rgba(119, 154, 222, 0.09);
}

.auth-brand {
    gap: 13px;
    font-size: 1.2rem;
}

.auth-brand .logo-mark {
    width: 48px;
    height: 48px;
    border-radius: 15px;
}

.auth-showcase-copy {
    max-width: 570px;
    padding-bottom: 22px;
    animation: auth-copy-enter 0.72s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.auth-showcase-copy h2 {
    max-width: 560px;
    margin-top: 23px;
    font-size: clamp(2.8rem, 4.5vw, 4.5rem);
    letter-spacing: -0.07em;
    line-height: 1.01;
}

.auth-showcase-copy h2 span {
    background: linear-gradient(100deg, #bba2ff 0%, #9189ff 48%, #81baff 100%);
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 8px 24px rgba(123, 102, 255, 0.2));
}

.auth-showcase-copy p {
    max-width: 470px;
    margin-top: 18px;
    color: #c1d0e7;
    font-size: 0.98rem;
    line-height: 1.8;
}

.auth-feature-list {
    gap: 11px;
}

.auth-feature-list > div {
    min-height: 66px;
    border-color: rgba(174, 170, 255, 0.17);
    background: rgba(13, 19, 48, 0.64);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.auth-feature-list > div > span:first-child {
    border-color: rgba(191, 176, 255, 0.24);
    background: linear-gradient(145deg, #8b5cf6, #426bd2);
    box-shadow: 0 7px 20px rgba(88, 78, 210, 0.28);
}

.auth-feature-list > div:hover {
    transform: translateX(4px);
    border-color: rgba(169, 155, 255, 0.42);
    background: rgba(29, 34, 79, 0.78);
}

.auth-game-collage {
    isolation: isolate;
    opacity: 1;
}

.auth-game-collage::before,
.auth-game-collage::after {
    position: absolute;
    inset: -10%;
    content: "";
    pointer-events: none;
}

.auth-game-collage::before {
    z-index: 0;
    border-radius: 50%;
    background:
        radial-gradient(ellipse at 38% 46%, rgba(50, 143, 255, 0.25), transparent 43%),
        radial-gradient(ellipse at 70% 57%, rgba(139, 94, 246, 0.21), transparent 42%),
        conic-gradient(from 24deg at 54% 50%, transparent 0deg 54deg, rgba(103, 191, 255, 0.15) 74deg 94deg, transparent 116deg 234deg, rgba(150, 126, 255, 0.14) 255deg 274deg, transparent 297deg);
    filter: blur(18px);
    opacity: 0.86;
    animation: auth-battle-glow 9s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

.auth-game-collage::after {
    z-index: 0;
    background-image:
        radial-gradient(circle, rgba(218, 237, 255, 0.9) 0 1px, transparent 1.8px),
        radial-gradient(circle, rgba(177, 157, 255, 0.86) 0 1px, transparent 1.8px),
        radial-gradient(circle, rgba(107, 190, 255, 0.78) 0 1px, transparent 1.8px);
    background-position: 8% 10%, 42% 34%, 76% 75%;
    background-size: 91px 113px, 137px 161px, 173px 121px;
    opacity: 0.64;
    animation: auth-battle-particles 22s linear infinite;
    will-change: transform;
}

.auth-game-orbit {
    z-index: 0;
    width: clamp(285px, 30vw, 390px);
    height: clamp(210px, 22vw, 300px);
    top: 6%;
    right: -2%;
    border-style: dashed;
    border-color: rgba(116, 190, 255, 0.25);
    box-shadow: 0 0 70px rgba(62, 150, 255, 0.16), inset 0 0 60px rgba(74, 129, 222, 0.1);
}

.auth-game-orbit::before,
.auth-game-orbit::after {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #79c7ff;
    box-shadow: 0 0 15px 3px rgba(88, 177, 255, 0.68);
    content: "";
}

.auth-game-orbit::before {
    top: 12%;
    left: 28%;
}

.auth-game-orbit::after {
    right: 16%;
    bottom: 10%;
    background: #a998ff;
    box-shadow: 0 0 15px 3px rgba(139, 117, 255, 0.62);
}

.auth-game-tile {
    z-index: 1;
    overflow: hidden;
    border-color: rgba(174, 209, 255, 0.34);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.4), 0 0 32px rgba(54, 138, 238, 0.14);
}

.auth-game-tile > img {
    opacity: 0.58;
    filter: saturate(1.18) contrast(1.07);
    transform: scale(1.08);
}

.auth-game-tile > :not(img) {
    position: relative;
    z-index: 2;
}

.auth-game-tile::before,
.auth-game-tile::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.auth-game-tile::before {
    z-index: 0;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 14, 29, 0.08) 8%, rgba(7, 15, 30, 0.04) 38%, rgba(5, 14, 30, 0.82) 100%);
}

.auth-game-tile::after {
    z-index: 1;
    top: -30%;
    bottom: -30%;
    left: -42%;
    width: 28%;
    background: linear-gradient(90deg, transparent, rgba(221, 241, 255, 0.34), transparent);
    transform: rotate(18deg);
    animation: auth-combat-flare 8s ease-in-out infinite;
}

.auth-game-tile-two::after {
    animation-delay: -2.7s;
}

.auth-game-tile-three::after {
    animation-delay: -5.2s;
}

.auth-game-tile-one > img {
    animation: auth-pubg-scene-drift 16s ease-in-out infinite alternate;
}

.auth-game-tile-two > img {
    animation: auth-card-scene-drift 20s ease-in-out infinite alternate;
}

.auth-game-tile-three > img {
    animation: auth-card-scene-drift 18s ease-in-out -5s infinite alternate;
}

@keyframes auth-battle-glow {
    from { transform: translate3d(-2%, 1%, 0) scale(0.94); opacity: 0.62; }
    to { transform: translate3d(2%, -1%, 0) scale(1.06); opacity: 0.96; }
}

@keyframes auth-battle-particles {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-18px, -24px, 0); }
}

@keyframes auth-combat-flare {
    0%, 16% { transform: translateX(-20%) rotate(18deg); opacity: 0; }
    32% { opacity: 0.72; }
    62%, 100% { transform: translateX(560%) rotate(18deg); opacity: 0; }
}

@keyframes auth-pubg-scene-drift {
    from { transform: scale(1.08) translate3d(-1%, 0, 0); }
    to { transform: scale(1.2) translate3d(2%, -1%, 0); }
}

@keyframes auth-card-scene-drift {
    from { transform: scale(1.08) translate3d(0, 0, 0); }
    to { transform: scale(1.16) translate3d(-1.5%, 1%, 0); }
}

.auth-panel {
    min-height: 100vh;
    min-height: 100svh;
    padding: clamp(28px, 5vh, 58px) clamp(24px, 4.5vw, 72px);
    background:
        radial-gradient(ellipse at 52% 28%, rgba(105, 80, 213, 0.18), transparent 48%),
        linear-gradient(155deg, #11132e 0%, #0a1125 58%, #10152d 100%);
}

.auth-panel-register {
    justify-content: flex-start;
    padding-top: clamp(22px, 3.5vh, 42px);
    padding-bottom: clamp(22px, 3.5vh, 42px);
}

.auth-card-frame {
    width: min(100%, 510px);
    overflow: hidden;
    padding: 1.5px;
    border-radius: 24px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
    animation: auth-card-enter 0.62s cubic-bezier(0.2, 0.8, 0.25, 1) both;
}

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

.auth-card-frame::before,
.auth-card-frame::after {
    animation: auth-border-breathe 7s ease-in-out infinite alternate;
}

.auth-card-frame::before {
    background: linear-gradient(130deg, rgba(109, 178, 255, 0.7), rgba(151, 118, 255, 0.66) 48%, rgba(77, 130, 238, 0.58) 78%, rgba(99, 202, 230, 0.48));
}

.auth-card-frame::after {
    animation-delay: -3.5s;
    filter: blur(12px);
    opacity: 0.48;
}

.auth-card,
.auth-card-register {
    border-radius: 22.5px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(100, 79, 209, 0.16), transparent 42%),
        linear-gradient(150deg, rgba(20, 23, 53, 0.99), rgba(10, 17, 38, 0.99));
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.045);
}

.auth-tabs {
    min-height: 59px;
    gap: 7px;
    margin: 10px 12px 0;
    padding: 6px;
    border: 1px solid rgba(161, 151, 255, 0.16);
    border-radius: 15px;
    background: rgba(5, 9, 25, 0.55);
}

.auth-tab {
    position: relative;
    min-height: 45px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #b8c2df;
    font-size: 0.84rem;
    font-weight: 750;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.auth-tab:hover {
    transform: translateY(-1px);
    border-color: rgba(171, 159, 255, 0.18);
    background: rgba(125, 108, 230, 0.1);
    color: #fff;
}

.auth-tab.is-active {
    border-color: rgba(192, 180, 255, 0.38);
    background: linear-gradient(110deg, rgba(125, 84, 230, 0.88), rgba(54, 105, 206, 0.88));
    box-shadow: 0 5px 18px rgba(80, 73, 193, 0.25), inset 0 1px rgba(255, 255, 255, 0.15);
    color: #fff;
}

.auth-tab.is-active::after {
    display: none;
}

.auth-tab:focus-visible {
    outline: 2px solid #a99aff;
    outline-offset: 2px;
}

.auth-card-content {
    padding: 32px clamp(24px, 3.2vw, 38px) 28px;
}

.auth-card-content > h1 {
    font-size: clamp(1.7rem, 2.4vw, 2rem);
    font-weight: 850;
    letter-spacing: -0.055em;
}

.auth-subtitle {
    margin: 7px 0 25px;
    color: #aab9d2;
    font-size: 0.82rem;
    line-height: 1.55;
}

.auth-form {
    gap: 17px;
}

.auth-field {
    gap: 8px;
    color: #d3dced;
    font-size: 0.73rem;
    font-weight: 700;
}

.auth-field > span:first-child {
    letter-spacing: 0.005em;
}

.auth-login-fields {
    column-gap: 18px;
}

.auth-login-fields > .auth-field > span:first-child {
    display: block;
    min-height: 2.7em;
    line-height: 1.35;
}

@media (max-width: 480px) {
    .auth-login-fields {
        grid-template-columns: 1fr;
        row-gap: 14px;
    }

    .auth-login-fields > .auth-field > span:first-child {
        min-height: 0;
    }
}

.auth-input-wrap,
.auth-card-register .auth-input-wrap {
    min-height: 53px;
    gap: 11px;
    padding: 0 14px;
    border-color: rgba(157, 181, 221, 0.19);
    border-radius: 13px;
    background: rgba(4, 12, 26, 0.56);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-input-wrap:hover {
    border-color: rgba(156, 180, 226, 0.3);
}

.auth-input-wrap:focus-within,
.auth-phone-input select:focus {
    border-color: rgba(157, 132, 255, 0.82);
    background: rgba(7, 19, 39, 0.9);
    box-shadow: 0 0 0 4px rgba(126, 98, 245, 0.15), 0 8px 20px rgba(0, 0, 0, 0.12);
}

.auth-input-icon {
    color: #a69af0;
}

.auth-input-icon > .ui-icon {
    width: 18px;
    height: 18px;
}

.auth-input-wrap input {
    height: 49px;
    color: #f4f7ff;
    font-size: 0.82rem;
}

.auth-input-wrap input::placeholder {
    color: #7f8da7;
    opacity: 1;
}

.auth-password-toggle {
    padding: 8px 2px 8px 8px;
    color: #b8adff;
    font-size: 0.68rem;
    font-weight: 750;
    transition: color 0.18s ease;
}

.auth-password-toggle:hover {
    color: #fff;
}

.auth-phone-input select {
    border-color: rgba(157, 181, 221, 0.19);
    border-radius: 13px;
    background: rgba(4, 12, 26, 0.56);
    font-size: 0.75rem;
}

.auth-field-hint {
    color: #96a4bc;
    font-size: 0.63rem;
    line-height: 1.55;
}

.auth-password-feedback {
    gap: 8px;
    margin-top: 4px;
}

.auth-password-strength > span {
    height: 5px;
}

.auth-password-rules {
    gap: 6px 12px;
}

.auth-password-rules li {
    color: #9aa8c0;
    font-size: 0.63rem;
}

.auth-password-status {
    color: #9aa8c0;
    font-size: 0.62rem;
}

.auth-consents {
    gap: 11px;
    padding: 3px 1px;
}

.auth-consents label {
    align-items: center;
    color: #b6c2d7;
    font-size: 0.68rem;
    line-height: 1.5;
}

.auth-consents input {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
    margin-top: 0;
    accent-color: #8b72f6;
}

.auth-consents a {
    color: #a9c8ff;
    text-decoration: underline;
    text-decoration-color: rgba(169, 200, 255, 0.3);
    text-underline-offset: 2px;
}

.auth-human-challenge {
    padding: 16px;
    border-color: rgba(151, 174, 218, 0.2);
    border-radius: 16px;
}

.auth-human-challenge__heading strong {
    font-size: 0.81rem;
}

.auth-human-challenge__heading small {
    font-size: 0.64rem;
}

.auth-human-challenge__label,
.auth-human-challenge__copy strong {
    font-size: 0.77rem;
}

.auth-human-challenge__copy small,
.auth-human-challenge__status {
    font-size: 0.62rem;
}

.auth-human-challenge__control {
    min-height: 58px;
    border-radius: 13px;
}

.auth-human-challenge__box {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    border-radius: 7px;
}

.auth-submit {
    position: relative;
    min-height: 54px;
    overflow: hidden;
    border: 1px solid rgba(190, 175, 255, 0.44);
    border-radius: 14px;
    background: linear-gradient(105deg, #8758e8 0%, #5d65e8 53%, #397fd8 100%);
    box-shadow: 0 10px 26px rgba(88, 78, 210, 0.28), inset 0 1px rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.auth-submit::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -120%;
    width: 70%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    content: "";
    pointer-events: none;
}

.auth-submit:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(88, 78, 210, 0.38), inset 0 1px rgba(255, 255, 255, 0.2);
    filter: saturate(1.08) brightness(1.04);
}

.auth-submit:not(:disabled):hover::before {
    animation: auth-button-shimmer 0.72s ease-out;
}

.auth-submit:not(:disabled):active {
    transform: translateY(0);
    filter: brightness(0.98);
}

.auth-submit:disabled {
    border-color: rgba(163, 156, 222, 0.22);
    background: linear-gradient(105deg, #45436f, #344d79);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.07);
    color: #d0d5f2;
    cursor: not-allowed;
    opacity: 0.84;
}

.auth-switch-prompt {
    margin-top: 21px;
    color: #aab7cd;
    font-size: 0.73rem;
}

.auth-switch-prompt a {
    color: #b8b2ff;
    font-weight: 800;
    text-decoration: none;
    text-underline-offset: 3px;
}

.auth-switch-prompt a:hover {
    color: #fff;
    text-decoration: underline;
}

.auth-footer {
    margin-top: 18px;
    color: #93a0b7;
    font-size: 0.66rem;
    text-align: center;
}

.auth-etbis-footer {
    display: flex;
    width: min(100%, 520px);
    flex-direction: column;
    align-items: center;
    gap: 7px;
    box-sizing: border-box;
    margin: 11px auto 0;
    padding: 14px 16px;
    border: 1px solid rgba(151, 137, 255, 0.27);
    border-radius: 17px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(126, 93, 231, 0.2), transparent 64%),
        linear-gradient(125deg, rgba(20, 25, 59, 0.94), rgba(13, 31, 61, 0.94));
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16), inset 0 1px rgba(255, 255, 255, 0.055);
    color: #d9e0f6;
    font-size: 0.65rem;
    line-height: 1.45;
    text-align: center;
}

.auth-etbis-mark {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 12px;
    border: 1px solid rgba(174, 157, 255, 0.26);
    border-radius: 999px;
    background: rgba(112, 86, 220, 0.19);
    color: #d4caff;
    font-size: 0.67rem;
    font-weight: 850;
    letter-spacing: 0.06em;
}

.auth-etbis-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-etbis-heading > strong {
    color: #f0efff;
    font-size: 0.75rem;
    font-weight: 800;
}

.auth-etbis-mark > .ui-icon {
    width: 16px;
    height: 16px;
    color: #78dbb5;
}

.auth-etbis-copy {
    width: 100%;
    min-width: 0;
}

.auth-etbis-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #c4cce1;
    font-size: 0.67rem;
}

.auth-etbis-business {
    overflow-wrap: anywhere;
}

.auth-etbis-meta {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.auth-etbis-meta > span {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 4px 8px;
    border: 1px solid rgba(151, 163, 220, 0.16);
    border-radius: 999px;
    background: rgba(7, 12, 31, 0.42);
}

.auth-etbis-meta > span > span {
    color: #aeb9d3;
    font-size: 0.61rem;
}

.auth-etbis-meta > span > strong {
    color: #eef0ff;
    font-size: 0.64rem;
    font-weight: 750;
}

.auth-etbis-footer a {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 13px;
    border: 1px solid rgba(170, 155, 255, 0.25);
    border-radius: 10px;
    background: rgba(112, 86, 220, 0.16);
    color: #b8adff;
    font-size: 0.67rem;
    font-weight: 750;
    text-decoration: none;
    text-underline-offset: 3px;
    transition: color 0.18s ease, gap 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.auth-etbis-footer a:hover {
    transform: translateY(-1px);
    gap: 10px;
    border-color: rgba(188, 176, 255, 0.48);
    background: rgba(112, 86, 220, 0.26);
    color: #dce5ff;
}

.auth-etbis-footer a:focus-visible {
    outline: 2px solid #a99aff;
    outline-offset: 3px;
}

.auth-card-content .alert {
    padding: 11px 13px;
    border-radius: 12px;
    font-size: 0.74rem;
    line-height: 1.5;
    animation: auth-alert-enter 0.3s ease-out both;
}

.auth-form > .auth-field,
.auth-form > .auth-human-challenge,
.auth-form > .auth-submit,
.auth-fields-grid > .auth-field,
.auth-form > .auth-consents {
    animation: auth-form-enter 0.45s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.auth-form > .auth-field:nth-of-type(1) { animation-delay: 0.08s; }
.auth-form > .auth-field:nth-of-type(2) { animation-delay: 0.15s; }
.auth-form > .auth-human-challenge { animation-delay: 0.2s; }
.auth-form > .auth-submit { animation-delay: 0.26s; }
.auth-fields-grid > .auth-field:nth-child(1) { animation-delay: 0.07s; }
.auth-fields-grid > .auth-field:nth-child(2) { animation-delay: 0.12s; }
.auth-fields-grid > .auth-field:nth-child(3) { animation-delay: 0.17s; }
.auth-fields-grid > .auth-field:nth-child(4) { animation-delay: 0.22s; }
.auth-fields-grid > .auth-field:nth-child(5) { animation-delay: 0.27s; }
.auth-form > .auth-consents { animation-delay: 0.31s; }
.auth-form > .auth-human-challenge { animation-delay: 0.36s; }
.auth-form > .auth-submit { animation-delay: 0.41s; }

@keyframes auth-card-enter {
    from { opacity: 0; transform: translateY(14px) scale(0.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes auth-copy-enter {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes auth-form-enter {
    from { opacity: 0; transform: translateY(9px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes auth-alert-enter {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes auth-border-breathe {
    from { opacity: 0.72; }
    to { opacity: 1; }
}

@keyframes auth-button-shimmer {
    to { left: 150%; }
}

@media (max-width: 1050px) and (min-width: 761px) {
    .auth-page {
        grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
    }

    .auth-showcase {
        padding-inline: 34px;
    }

    .auth-showcase-copy h2 {
        font-size: clamp(2.4rem, 4vw, 3.2rem);
    }
}

@media (max-width: 760px) {
    .auth-page {
        min-height: 100vh;
        min-height: 100svh;
        grid-template-columns: minmax(0, 1fr);
    }

    .auth-showcase {
        position: relative;
        min-height: 128px;
        overflow: hidden;
        padding: 14px 20px;
        border-bottom: 1px solid rgba(157, 189, 238, 0.1);
        background:
            radial-gradient(ellipse at 100% 0%, rgba(121, 86, 235, 0.22), transparent 58%),
            linear-gradient(110deg, #17143d, #10264d 58%, #101a37);
    }

    .auth-brand {
        font-size: 1.05rem;
    }

    .auth-brand .logo-mark {
        width: 42px;
        height: 42px;
    }

    .auth-game-collage {
        display: block;
        top: auto;
        right: 10px;
        bottom: 5px;
        width: 52%;
        height: 83px;
        min-width: 0;
        opacity: 0.96;
    }

    .auth-game-orbit {
        top: 4%;
        right: 0;
        width: 174px;
        height: 76px;
    }

    .auth-game-orbit::before,
    .auth-game-orbit::after {
        width: 5px;
        height: 5px;
    }

    .auth-game-tile {
        width: 76px;
        height: 78px;
        padding: 7px;
        border-radius: 12px;
    }

    .auth-game-tile small {
        display: none;
    }

    .auth-game-tile strong {
        font-size: 0.62rem;
        letter-spacing: -0.035em;
    }

    .auth-game-tile span {
        font-size: 0.39rem;
    }

    .auth-game-tile-one {
        top: 1%;
        right: 56%;
    }

    .auth-game-tile-two {
        top: 2%;
        right: 3%;
    }

    .auth-game-tile-three {
        top: 38%;
        right: 31%;
        height: 60px;
    }

    .auth-panel,
    .auth-panel-register {
        min-height: calc(100vh - 70px);
        min-height: calc(100svh - 70px);
        justify-content: flex-start;
        padding: 24px 16px calc(24px + env(safe-area-inset-bottom));
    }

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

    .auth-card-content {
        padding: 28px clamp(20px, 5vw, 30px) 24px;
    }

    .auth-panel-register .auth-card-content {
        padding-top: 24px;
        padding-bottom: 22px;
    }

    .auth-etbis-footer {
        width: min(100%, 520px);
    }
}

@media (max-width: 480px) {
    .auth-showcase {
        padding: 12px 17px;
    }

    .auth-brand .logo-mark {
        width: 39px;
        height: 39px;
        border-radius: 12px;
    }

    .auth-panel,
    .auth-panel-register {
        padding: 16px 12px calc(22px + env(safe-area-inset-bottom));
    }

    .auth-card-frame,
    .auth-card-frame-register {
        border-radius: 20px;
    }

    .auth-card,
    .auth-card-register {
        border-radius: 18.5px;
    }

    .auth-tabs,
    .auth-tab {
        min-height: 55px;
    }

    .auth-card-content,
    .auth-panel-register .auth-card-content {
        padding: 23px 17px 20px;
    }

    .auth-card-content > h1 {
        font-size: 1.72rem;
    }

    .auth-subtitle {
        margin-bottom: 21px;
        font-size: 0.77rem;
    }

    .auth-form {
        gap: 15px;
    }

    .auth-field {
        font-size: 0.7rem;
    }

    .auth-input-wrap,
    .auth-card-register .auth-input-wrap {
        min-height: 50px;
        padding-inline: 12px;
    }

    .auth-input-wrap input {
        height: 46px;
        font-size: 0.78rem;
    }

    .auth-human-challenge {
        gap: 9px;
        padding: 12px;
    }

    .auth-human-challenge__heading strong {
        font-size: 0.74rem;
    }

    .auth-human-challenge__heading small {
        font-size: 0.57rem;
    }

    .auth-human-challenge__secure {
        padding: 4px 6px;
        font-size: 0.42rem;
    }

    .auth-human-challenge__control {
        min-height: 54px;
        gap: 10px;
        padding-inline: 9px;
    }

    .auth-human-challenge__copy strong {
        font-size: 0.71rem;
    }

    .auth-human-challenge__copy small,
    .auth-human-challenge__status {
        font-size: 0.57rem;
    }

    .auth-human-challenge__action {
        font-size: 0;
    }

    .auth-human-challenge__action > span {
        font-size: 0.78rem;
    }

    .auth-submit {
        min-height: 51px;
        font-size: 0.84rem;
    }

    .auth-switch-prompt {
        margin-top: 18px;
        font-size: 0.69rem;
    }

    .auth-footer {
        font-size: 0.63rem;
    }

    .auth-etbis-footer {
        gap: 6px;
        padding: 12px 11px;
    }

    .auth-etbis-heading > strong {
        font-size: 0.72rem;
    }

    .auth-etbis-details {
        font-size: 0.65rem;
    }

    .auth-etbis-meta {
        gap: 5px;
    }

    .auth-etbis-meta > span {
        gap: 4px;
        padding: 5px 8px;
    }

    .auth-etbis-footer a {
        max-width: 100%;
        padding-inline: 10px;
        font-size: 0.65rem;
    }
}

@media (max-width: 360px) {
    .auth-card-content,
    .auth-panel-register .auth-card-content {
        padding-inline: 14px;
    }

    .auth-human-challenge__secure {
        font-size: 0;
    }

    .auth-human-challenge__secure > span {
        width: 7px;
        height: 7px;
    }
}

@media (max-width: 620px) {
    html.auth-document {
        background-color: #090b19;
        background-image: none;
    }

    body.auth-body.site-ambient-body::before,
    body.auth-body.site-ambient-body::after {
        display: none;
        animation: none;
        will-change: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-showcase-copy,
    .auth-card-frame,
    .auth-card-frame::before,
    .auth-card-frame::after,
    .auth-game-collage::before,
    .auth-game-collage::after,
    .auth-game-orbit,
    .auth-game-tile::after,
    .auth-game-tile > img,
    .auth-form > *,
    .auth-fields-grid > .auth-field,
    .auth-card-content .alert,
    .auth-feature-list > div,
    .auth-tab,
    .auth-submit,
    .auth-input-wrap,
    .auth-etbis-footer a {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}
