body.pseo-auth-open {
    overflow: hidden;
}

.pseo-auth-launcher {
    position: fixed;
    top: 18px;
    right: 22px;
    z-index: 2147482000;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 19px;
    border: 1px solid rgba(9, 213, 235, 0.55);
    border-radius: 999px;
    background: #101d31;
    color: #0cdaee;
    box-shadow: 0 8px 28px rgba(3, 18, 38, 0.24);
    font: 800 14px/1 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.pseo-auth-launcher:hover {
    transform: translateY(-2px);
    background: #162943;
    box-shadow: 0 12px 32px rgba(0, 191, 214, 0.26);
}

.pseo-auth-launcher__icon {
    width: 17px;
    height: 17px;
    border: 2px solid currentColor;
    border-radius: 50%;
    box-shadow: inset 0 -7px 0 -4px currentColor;
}

.pseo-auth-gate {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    padding: 52px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pseo-auth-gate[hidden] {
    display: none;
}

.pseo-auth-gate__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 42%, rgba(13, 213, 235, 0.12), transparent 34%),
        rgba(5, 13, 27, 0.84);
    backdrop-filter: blur(10px);
}

.pseo-auth-stage {
    position: relative;
    display: grid;
    place-items: center;
    width: min(88vw, 680px);
    min-height: min(82vh, 680px);
}

.pseo-auth-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(82vh, 680px);
    height: min(82vh, 680px);
    max-width: 88vw;
    max-height: 88vw;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: repeating-conic-gradient(
        from -24deg,
        #0bd8eb 0deg 3deg,
        transparent 3deg 7.5deg
    );
    filter: drop-shadow(0 0 13px rgba(11, 216, 235, 0.34));
    opacity: 0.86;
    animation: pseo-auth-spin 12s linear infinite;
}

.pseo-auth-orbit::before {
    content: "";
    position: absolute;
    inset: 15%;
    border-radius: inherit;
    background: #111f34;
    box-shadow: inset 0 0 45px rgba(5, 13, 27, 0.72);
}

.pseo-auth-orbit::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: conic-gradient(
        from -35deg,
        rgba(4, 226, 241, 0.95),
        rgba(30, 80, 126, 0.28) 35%,
        rgba(34, 74, 112, 0.42) 72%,
        rgba(4, 226, 241, 0.95)
    );
    mix-blend-mode: color;
    pointer-events: none;
}

@keyframes pseo-auth-spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.pseo-auth-card {
    position: relative;
    z-index: 1;
    width: min(100%, 390px);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    box-sizing: border-box;
    padding: 32px 35px 27px;
    border: 1px solid rgba(55, 99, 143, 0.62);
    border-radius: 30px;
    background: linear-gradient(155deg, rgba(29, 46, 70, 0.98), rgba(15, 28, 47, 0.99));
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: #f5fbff;
    text-align: center;
}

.pseo-auth-card__brand {
    margin-bottom: 8px;
    color: #7e9bb8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.pseo-auth-card h2 {
    margin: 0;
    color: #09d9ec;
    font-size: clamp(30px, 6vw, 40px);
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 0 24px rgba(9, 217, 236, 0.18);
}

.pseo-auth-card__intro {
    margin: 8px 0 18px;
    color: #a9bbcf;
    font-size: 13px;
}

.pseo-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin-bottom: 17px;
    padding: 4px;
    border: 1px solid #294765;
    border-radius: 999px;
    background: #122239;
}

.pseo-auth-tab {
    min-height: 37px;
    padding: 8px 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #8199b1;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.pseo-auth-tab.is-active {
    background: #09d9ec;
    color: #092034;
    box-shadow: 0 5px 18px rgba(9, 217, 236, 0.24);
}

.pseo-auth-form {
    display: grid;
    gap: 13px;
}

.pseo-auth-form input {
    width: 100%;
    min-height: 50px;
    box-sizing: border-box;
    padding: 12px 19px;
    border: 2px solid #2c4e70;
    border-radius: 999px;
    background: #1a2b42;
    color: #f7fbff;
    font: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pseo-auth-form input::placeholder {
    color: #9aafc4;
}

.pseo-auth-form input:focus {
    border-color: #09d9ec;
    box-shadow: 0 0 0 4px rgba(9, 217, 236, 0.1);
}

.pseo-auth-forgot {
    margin: -2px 0 0;
    color: #d5e2ed;
    font-size: 12px;
    text-decoration: none;
}

.pseo-auth-forgot:hover {
    color: #09d9ec;
}

.pseo-auth-submit {
    min-height: 50px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #06cfe4, #13e1ef);
    color: #082038;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(5, 209, 229, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pseo-auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(5, 209, 229, 0.32);
}

.pseo-auth-submit:disabled {
    cursor: wait;
    opacity: 0.7;
}

.pseo-auth-switch,
.pseo-auth-skip {
    display: block;
    margin: 14px auto 0;
    padding: 3px 10px;
    border: 0;
    background: transparent;
    color: #a8bbce;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.pseo-auth-switch strong {
    color: #09d9ec;
}

.pseo-auth-skip {
    margin-top: 8px;
    color: #7891aa;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.pseo-auth-message {
    display: none;
    margin: 0 0 14px;
    padding: 9px 11px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.45;
}

.pseo-auth-message:not(:empty) {
    display: block;
}

.pseo-auth-message.is-error {
    border: 1px solid rgba(255, 105, 97, 0.28);
    background: rgba(174, 39, 39, 0.2);
    color: #ffaaa4;
}

.pseo-auth-message.is-success {
    border: 1px solid rgba(50, 220, 157, 0.28);
    background: rgba(21, 132, 91, 0.2);
    color: #75e9bd;
}

.pseo-auth-honeypot {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .pseo-auth-orbit {
        animation: none;
    }
}

@media (max-width: 620px) {
    .pseo-auth-launcher {
        top: 12px;
        right: 12px;
        min-height: 40px;
        padding: 9px 15px;
    }

    .pseo-auth-gate {
        padding: 16px;
    }

    .pseo-auth-stage {
        width: 100%;
        min-height: calc(100vh - 32px);
    }

    .pseo-auth-orbit {
        width: min(135vw, 590px);
        height: min(135vw, 590px);
        max-width: none;
        max-height: none;
        opacity: 0.58;
    }

    .pseo-auth-card {
        width: min(100%, 390px);
        max-height: calc(100vh - 32px);
        padding: 27px 22px 22px;
        border-radius: 25px;
    }
}
