.auth-arena {
    --auth-red: #ff2a55;
    --auth-purple: #8b5cf6;
    --auth-cyan: #48d8ff;
    --auth-ink: #090b12;
    position: relative;
    min-height: calc(100vh - 88px);
    overflow: hidden;
    padding: clamp(1.25rem, 3vw, 3rem) 0;
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 42, 85, .22), transparent 30%),
        radial-gradient(circle at 88% 16%, rgba(72, 216, 255, .18), transparent 28%),
        linear-gradient(135deg, #070811 0%, #0d1220 48%, #050509 100%);
    color: #f8fafc;
}

.auth-arena::before,
.auth-arena::after,
.auth-showcase::before,
.auth-showcase::after,
.auth-panel::before {
    content: "";
    position: absolute;
    pointer-events: none;
}

.auth-arena::before {
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 82%);
}

.auth-arena::after {
    inset: -20% -30%;
    background:
        linear-gradient(112deg, transparent 0 43%, rgba(255,42,85,.14) 48%, rgba(139,92,246,.18) 52%, transparent 59%),
        repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 9px);
    transform: translateX(-45%);
    animation: authSweep 8s ease-in-out infinite;
}

.auth-arena__lights {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.auth-arena__lights span {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--auth-red);
    box-shadow: 0 0 22px currentColor;
    opacity: .75;
    animation: authParticle 6s ease-in-out infinite;
}

.auth-arena__lights span:nth-child(1) { left: 9%; top: 22%; color: var(--auth-red); }
.auth-arena__lights span:nth-child(2) { left: 74%; top: 14%; color: var(--auth-cyan); animation-delay: -1.6s; }
.auth-arena__lights span:nth-child(3) { left: 86%; top: 66%; color: var(--auth-purple); animation-delay: -3.1s; }

.auth-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(360px, .96fr) minmax(430px, 1.04fr);
    gap: clamp(1rem, 2.4vw, 1.65rem);
    align-items: stretch;
}

.auth-shell,
.auth-showcase,
.auth-panel,
.auth-showcase__content {
    min-width: 0;
}

.auth-shell--login {
    max-width: 1180px;
}

.auth-showcase,
.auth-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(7, 9, 17, .74);
    box-shadow: 0 28px 90px rgba(0,0,0,.42);
    backdrop-filter: blur(18px);
    animation: authRise .68s cubic-bezier(.2, .7, .2, 1) both;
}

.auth-showcase {
    min-height: 720px;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
}

.auth-showcase::before {
    inset: 18px;
    border: 1px solid rgba(255,255,255,.12);
    clip-path: polygon(0 0, 78% 0, 100% 16%, 100% 100%, 12% 100%, 0 86%);
    z-index: 3;
}

.auth-showcase::after {
    inset: auto 8% 22% 8%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
    box-shadow: 0 0 24px rgba(255,42,85,.45);
    z-index: 4;
    animation: authScan 4.6s ease-in-out infinite;
}

.auth-showcase__image {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--auth-hero-image);
    background-size: cover;
    background-position: 63% center;
    transform: scale(1.035);
    animation: authKenburns 16s ease-in-out infinite alternate;
}

.auth-showcase--brand {
    align-items: flex-end;
    background:
        radial-gradient(circle at 50% 24%, rgba(139, 92, 246, .28), transparent 30%),
        linear-gradient(145deg, rgba(12, 15, 28, .98), rgba(6, 8, 16, .96));
}

.auth-brand-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
}

.auth-brand-mark {
    position: absolute;
    z-index: 2;
    top: clamp(2.4rem, 8vw, 5.5rem);
    left: 50%;
    width: min(60%, 390px);
    aspect-ratio: 1;
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    border: 1px solid rgba(169, 123, 255, .3);
    clip-path: polygon(18% 0, 82% 0, 100% 18%, 100% 82%, 82% 100%, 18% 100%, 0 82%, 0 18%);
    background: radial-gradient(circle, rgba(139, 92, 246, .2), rgba(8, 10, 20, .3) 64%);
    filter: drop-shadow(0 0 36px rgba(139, 92, 246, .28));
    animation: authBrandFloat 6s ease-in-out infinite;
}

.auth-brand-mark img {
    width: 78%;
    height: 78%;
    object-fit: contain;
}

.application-step-list {
    display: grid;
    gap: .7rem;
    margin: 1.1rem 0;
    padding: 0;
    list-style: none;
}

.application-step-list li {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: .75rem;
    align-items: start;
    padding: .8rem;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.035);
}

.application-step-list > li > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    font-weight: 950;
    color: #fff;
    background: linear-gradient(135deg, var(--auth-red), var(--auth-purple));
}

.application-step-list strong,
.application-consent-preview h3 {
    color: #fff;
}

.application-step-list p {
    margin: .2rem 0 0;
    color: #aeb8cc;
    font-size: .9rem;
}

.application-consent-preview {
    margin: 1rem 0;
    padding: 1rem;
    border-left: 3px solid var(--auth-purple);
    background: rgba(139,92,246,.08);
}

.application-consent-preview h3 {
    margin: 0 0 .65rem;
    font-size: 1rem;
}

.application-consent-preview ul {
    display: grid;
    gap: .35rem;
    margin: 0;
    padding-left: 1.1rem;
    color: #b8c2d8;
}

html[data-theme="light"] .application-step-list li {
    border-color: rgba(15,23,42,.12);
    background: rgba(15,23,42,.025);
}

html[data-theme="light"] .application-step-list strong,
html[data-theme="light"] .application-consent-preview h3 {
    color: #111827;
}

html[data-theme="light"] .application-step-list p,
html[data-theme="light"] .application-consent-preview ul {
    color: #526071;
}

.auth-showcase--brand .auth-showcase__shade {
    background:
        linear-gradient(180deg, transparent 18%, rgba(5, 7, 13, .16) 52%, rgba(5, 7, 13, .97) 79%),
        linear-gradient(90deg, rgba(5, 7, 13, .62), transparent 50%, rgba(5, 7, 13, .44));
}

.auth-showcase__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 72% 22%, rgba(255,42,85,.16), transparent 32%),
        linear-gradient(90deg, rgba(5,7,13,.94) 0%, rgba(5,7,13,.52) 45%, rgba(5,7,13,.1) 100%),
        linear-gradient(180deg, transparent 0%, rgba(5,7,13,.92) 78%);
}

.auth-showcase__content {
    position: relative;
    z-index: 5;
    width: min(620px, 100%);
    padding: clamp(1.35rem, 3vw, 2.2rem);
}

.auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--auth-red);
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.auth-kicker::before {
    content: "";
    width: 8px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--auth-red), var(--auth-purple));
    box-shadow: 0 0 22px rgba(255,42,85,.55);
}

.auth-showcase h1 {
    margin: .85rem 0 .9rem;
    max-width: 720px;
    color: #fff;
    font-size: 4.8rem;
    line-height: .88;
    letter-spacing: 0;
    text-transform: uppercase;
    text-wrap: balance;
}

.auth-showcase p,
.auth-panel__head p,
.auth-link-note,
.auth-help {
    color: #b8c2d8;
}

.auth-showcase p {
    max-width: 590px;
    margin: 0;
    font-size: clamp(1rem, 1.35vw, 1.18rem);
    line-height: 1.7;
}

.auth-signal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .7rem;
    margin-top: 1.25rem;
}

.auth-signal-grid span,
.auth-status-pill,
.auth-note,
.auth-steps span {
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(255,255,255,.065);
}

.auth-signal-grid span {
    min-height: 74px;
    padding: .8rem;
    color: #dce7ff;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.auth-signal-grid strong {
    display: block;
    color: #fff;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    line-height: 1.05;
}

.auth-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    margin-top: 1rem;
}

.auth-steps span {
    padding: .55rem .75rem;
    color: #fff;
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.auth-steps i {
    width: 24px;
    height: 1px;
    background: linear-gradient(90deg, var(--auth-red), var(--auth-purple));
}

.auth-panel {
    padding: clamp(1rem, 2.2vw, 1.45rem);
    animation-delay: .08s;
}

.auth-panel::before {
    inset: 0;
    background:
        radial-gradient(circle at 100% 0%, rgba(139,92,246,.15), transparent 35%),
        linear-gradient(135deg, rgba(255,255,255,.08), transparent 32%);
    opacity: .9;
}

.auth-panel--login {
    align-self: center;
}

.auth-panel__head,
.auth-form,
.auth-note {
    position: relative;
    z-index: 1;
}

.auth-panel__head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.auth-panel__head h2 {
    margin: .55rem 0 .35rem;
    color: #fff;
    font-size: clamp(1.8rem, 3.3vw, 3rem);
    line-height: .96;
    letter-spacing: 0;
    text-transform: uppercase;
}

.auth-panel__head p {
    margin: 0;
    line-height: 1.55;
}

.auth-panel__head strong,
.required-mark {
    color: #ff5778;
}

.auth-status-pill {
    flex: 0 0 auto;
    padding: .62rem .78rem;
    color: #fff;
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .1em;
    text-transform: uppercase;
    box-shadow: 0 0 22px rgba(139,92,246,.15);
}

.auth-note {
    margin-bottom: 1rem;
    padding: .9rem 1rem;
    color: #dbe6ff;
    line-height: 1.55;
    border-color: rgba(72,216,255,.24);
    background: linear-gradient(135deg, rgba(72,216,255,.1), rgba(139,92,246,.08));
}

.auth-form__section {
    position: relative;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.105);
    background: rgba(8, 11, 20, .66);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.auth-form__section + .auth-form__section {
    margin-top: .95rem;
}

.auth-form__section--compact {
    padding-bottom: .75rem;
}

.auth-form__section-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .9rem;
}

.auth-form__section-head > span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    aspect-ratio: 1;
    color: #fff;
    font-size: .72rem;
    font-weight: 950;
    border: 1px solid rgba(255,42,85,.38);
    background: rgba(255,42,85,.14);
}

.auth-form__section-head h3 .text-muted {
    font-size: .72em;
    font-weight: 700;
}

.auth-form__section-head h3 {
    margin: 0;
    color: #f8fafc;
    font-size: .98rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.auth-form .form-label {
    display: flex;
    align-items: center;
    gap: .3rem;
    color: #dce6f8;
    font-size: .74rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.auth-form .form-control {
    color: #fff;
    background: rgba(255,255,255,.075);
    border-color: rgba(255,255,255,.16);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

.auth-form select.form-control option {
    color: #111827;
}

.auth-form .form-control:hover {
    border-color: rgba(255,255,255,.26);
    transform: translateY(-1px);
}

.auth-form .form-control:required,
.auth-form .consent-item input:required {
    border-color: rgba(255, 42, 85, .52);
}

.auth-form .form-control:focus {
    border-color: rgba(139, 92, 246, .95);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, .16), 0 0 28px rgba(255, 42, 85, .14);
    background: rgba(255,255,255,.105);
}

.auth-form .form-control:valid:not(:placeholder-shown) {
    border-color: rgba(34, 197, 94, .42);
}

.auth-help {
    display: block;
    margin-top: .45rem;
    line-height: 1.45;
}

.auth-form .consent-grid {
    display: grid;
    gap: .55rem;
}

.auth-form .consent-item {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    color: #dce6f8;
    line-height: 1.45;
}

.auth-form .consent-item a,
.auth-link-note a {
    color: #ff8aa2;
    font-weight: 900;
}

.auth-form .consent-item input {
    margin-top: .2rem;
    accent-color: var(--auth-red);
}

.auth-form .consent-legal-links {
    margin: .75rem 0 0;
}

.auth-form .rules-summary-box {
    margin-top: .85rem;
    border-color: rgba(255,42,85,.25);
    background: rgba(255,42,85,.075);
}

.auth-submit-row {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    align-items: center;
    margin-top: 1rem;
}

.auth-submit {
    flex: 1 1 230px;
    min-height: 54px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(255,42,85,.24);
}

.auth-submit::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 0 35%, rgba(255,255,255,.28) 48%, transparent 62%);
    transform: translateX(-110%);
    transition: transform .45s ease;
}

.auth-submit:hover::after {
    transform: translateX(110%);
}

.auth-submit:active {
    transform: scale(.985);
}

.auth-link-note {
    margin: 0;
}

.auth-remember {
    margin-top: .9rem;
}

.auth-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: .9rem;
}

.auth-options-row .auth-remember {
    margin-top: 0;
}

.auth-forgot-link {
    color: #ff8aa2;
    font-size: .82rem;
    font-weight: 900;
    text-decoration: none;
}

.auth-forgot-link:hover {
    color: #fff;
    text-decoration: underline;
}

.auth-security-note {
    margin: .9rem 0 0;
    padding: .75rem .85rem;
    border-left: 3px solid var(--auth-purple);
    color: #b8c2d8;
    background: rgba(139, 92, 246, .08);
    font-size: .78rem;
    line-height: 1.5;
}

.auth-password-visibility {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: .85rem;
    color: #dce6f8;
    font-size: .8rem;
    font-weight: 800;
    cursor: pointer;
}

.auth-password-visibility input {
    width: 1rem;
    height: 1rem;
    margin: 0;
    accent-color: var(--auth-red);
}

html[data-theme="light"] .auth-arena {
    background:
        radial-gradient(circle at 14% 10%, rgba(255,42,85,.13), transparent 30%),
        radial-gradient(circle at 90% 18%, rgba(72,216,255,.15), transparent 30%),
        linear-gradient(135deg, #f6f7fb 0%, #eef1f7 50%, #fff 100%);
    color: #111827;
}

html[data-theme="light"] .auth-showcase,
html[data-theme="light"] .auth-panel {
    background: rgba(255,255,255,.86);
    border-color: rgba(15,23,42,.12);
    box-shadow: 0 24px 80px rgba(15,23,42,.14);
}

html[data-theme="light"] .auth-panel__head h2,
html[data-theme="light"] .auth-form__section-head h3 {
    color: #111827;
}

html[data-theme="light"] .auth-panel__head p,
html[data-theme="light"] .auth-link-note,
html[data-theme="light"] .auth-help {
    color: #526071;
}

html[data-theme="light"] .auth-forgot-link { color: #be123c; }
html[data-theme="light"] .auth-security-note,
html[data-theme="light"] .auth-password-visibility { color: #526071; }

html[data-theme="light"] .auth-form__section {
    background: rgba(255,255,255,.68);
    border-color: rgba(15,23,42,.12);
}

html[data-theme="light"] .auth-form .form-label,
html[data-theme="light"] .auth-form .consent-item {
    color: #1f2937;
}

html[data-theme="light"] .auth-form .form-control {
    color: #111827;
    background: rgba(255,255,255,.9);
    border-color: rgba(15,23,42,.18);
}

@keyframes authRise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes authSweep {
    0%, 42% { transform: translateX(-55%); opacity: 0; }
    52% { opacity: 1; }
    100% { transform: translateX(35%); opacity: 0; }
}

@keyframes authScan {
    0%, 100% { transform: translateY(-130px); opacity: 0; }
    45%, 55% { opacity: .85; }
    100% { transform: translateY(210px); }
}

@keyframes authKenburns {
    from { transform: scale(1.035) translate3d(0,0,0); }
    to { transform: scale(1.095) translate3d(-1.2%, .8%, 0); }
}

@keyframes authParticle {
    0%, 100% { transform: translate3d(0,0,0) scale(.75); opacity: .35; }
    50% { transform: translate3d(16px,-26px,0) scale(1); opacity: .85; }
}

@keyframes authBrandFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.auth-shell--application {
    align-items: start;
}

.auth-shell--application .auth-panel {
    min-width: 0;
}

.application-workflow {
    display: grid;
    gap: .75rem;
    margin: 1.25rem 0;
}

.application-workflow__step {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: .9rem;
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, .18);
    border-left: 3px solid rgba(148, 163, 184, .36);
    border-radius: 6px;
    background: rgba(8, 12, 24, .38);
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.application-workflow__step.is-current {
    border-left-color: #ff365f;
    background: rgba(255, 54, 95, .06);
}

.application-workflow__step.is-complete {
    border-left-color: #27c878;
}

.application-workflow__number {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 50%;
    color: #f8fafc;
    font-weight: 900;
}

.application-workflow__step.is-complete .application-workflow__number {
    color: #07150f;
    border-color: #27c878;
    background: #27c878;
}

.application-workflow__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.application-workflow__head span {
    color: #96a2b8;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.application-workflow__head h3 {
    margin: .2rem 0 0;
    color: #f8fafc;
    font-size: 1rem;
}

.application-workflow__head > strong {
    flex: 0 0 auto;
    color: #c9d2e3;
    font-size: .72rem;
    text-transform: uppercase;
}

.application-workflow__body > p {
    margin: .65rem 0;
    color: #aab5c8;
    line-height: 1.55;
}

.application-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
    margin-top: .9rem;
}

.application-category-card {
    display: grid;
    gap: .25rem;
    min-width: 0;
    padding: .85rem;
    color: #f8fafc;
    border: 1px solid rgba(255, 54, 95, .35);
    border-radius: 6px;
    background: rgba(255, 54, 95, .06);
    text-decoration: none;
    transition: border-color .18s ease, transform .18s ease, background-color .18s ease;
}

.application-category-card:hover {
    border-color: #ff365f;
    background: rgba(255, 54, 95, .11);
    transform: translateY(-2px);
}

.application-category-card span {
    font-weight: 900;
}

.application-category-card small {
    color: #aab5c8;
    overflow-wrap: anywhere;
}

.application-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: .8rem;
}

.application-actions-row form {
    margin: 0;
}

.application-invite-form {
    margin-top: 1rem;
}

.application-invite-form > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .55rem;
}

.application-issue-list,
.application-consent-status {
    display: grid;
    gap: .35rem;
    margin: .75rem 0 0;
    padding-left: 1.1rem;
    color: #f7b7c5;
}

.application-consent-status li {
    color: #aab5c8;
}

.application-consent-status li.is-complete {
    color: #65d99a;
}

.btn.is-disabled,
.btn[aria-disabled="true"] {
    pointer-events: none;
    opacity: .48;
}

html[data-theme="light"] .application-workflow__step {
    border-color: rgba(15, 23, 42, .12);
    border-left-color: rgba(71, 85, 105, .45);
    background: rgba(248, 250, 252, .88);
}

html[data-theme="light"] .application-workflow__step.is-current {
    border-left-color: #e11d48;
    background: rgba(225, 29, 72, .045);
}

html[data-theme="light"] .application-workflow__step.is-complete {
    border-left-color: #169b5b;
}

html[data-theme="light"] .application-workflow__number,
html[data-theme="light"] .application-workflow__head h3,
html[data-theme="light"] .application-category-card {
    color: #111827;
}

html[data-theme="light"] .application-workflow__body > p,
html[data-theme="light"] .application-category-card small,
html[data-theme="light"] .application-consent-status li {
    color: #526074;
}

html[data-theme="light"] .application-category-card {
    background: rgba(225, 29, 72, .035);
}

@media (max-width: 1120px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-showcase {
        min-height: 520px;
    }

    .auth-showcase h1 {
        font-size: 4rem;
    }
}

@media (max-width: 720px) {
    .auth-arena {
        padding: .75rem 0 1.5rem;
    }

    .auth-showcase {
        min-height: 430px;
    }

    .auth-showcase--brand {
        min-height: 540px;
    }

    .auth-brand-mark {
        top: 1.75rem;
        right: -1.25rem;
        left: auto;
        width: 190px;
        transform: none;
        opacity: .34;
        animation: none;
    }

    .auth-showcase h1 {
        font-size: 2.75rem;
        overflow-wrap: anywhere;
    }

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

    .auth-panel__head {
        display: block;
    }

    .auth-panel__head h2 {
        max-width: 100%;
        font-size: 1.7rem;
        line-height: 1.02;
        overflow-wrap: anywhere;
    }

    .auth-note,
    .auth-form__section-head h3 {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .auth-status-pill {
        display: inline-flex;
        margin-top: .85rem;
    }

    .auth-form__section {
        padding: .8rem;
    }

    .application-workflow__step {
        grid-template-columns: 34px minmax(0, 1fr);
        padding: .8rem;
    }

    .application-workflow__number {
        width: 34px;
        height: 34px;
    }

    .application-workflow__head {
        display: block;
    }

    .application-workflow__head > strong {
        display: inline-block;
        margin-top: .35rem;
    }

    .application-category-grid,
    .application-invite-form > div {
        grid-template-columns: 1fr;
    }

    .auth-options-row {
        align-items: flex-start;
        flex-direction: column;
        gap: .65rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

}

.auth-honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.auth-help--error { color: #f87171; display: block; margin-top: .25rem; }

/* GSAP cinematic layer */
.auth-motion-stage {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    perspective: 1000px;
}

.auth-motion-toggle {
    position: absolute;
    z-index: 8;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, .34);
    border-radius: 6px;
    color: rgba(226, 232, 240, .72);
    background: rgba(7, 10, 21, .82);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
    font: 800 12px/1 system-ui, sans-serif;
    letter-spacing: 0;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.auth-motion-toggle:hover,
.auth-motion-toggle:focus-visible {
    color: #fff;
    border-color: rgba(139, 92, 246, .78);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, .14), 0 10px 28px rgba(0, 0, 0, .26);
    outline: none;
}

.auth-motion-toggle:active {
    transform: scale(.96);
}

.auth-motion-toggle.is-active {
    color: #fff;
    border-color: rgba(72, 216, 255, .62);
    background: linear-gradient(135deg, rgba(139, 92, 246, .9), rgba(255, 42, 85, .86));
    box-shadow: 0 0 18px rgba(139, 92, 246, .28);
}

.auth-shell--register-character {
    max-width: 1420px;
    grid-template-columns: minmax(620px, 1.12fr) minmax(360px, .88fr);
    align-items: start;
}

.auth-shell--register-character .auth-panel {
    order: 1;
}

.auth-security-woman {
    --security-x: 0px;
    --security-y: 0px;
    --security-head-x: 0px;
    --security-head-y: 0px;
    --security-head-turn-x: 0deg;
    --security-head-turn-z: 0deg;
    --security-head-scale: 1;
    position: sticky;
    top: 1.25rem;
    order: 2;
    display: grid;
    width: min(100%, 540px);
    min-width: 0;
    justify-self: end;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, .32);
    background: #070914;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
    isolation: isolate;
}

.auth-security-woman::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 8;
    pointer-events: none;
    border: 1px solid rgba(72, 216, 255, .08);
    box-shadow: inset 0 0 34px rgba(139, 92, 246, .07);
}

.auth-security-woman__visual {
    position: relative;
    min-height: clamp(520px, 72vh, 760px);
    overflow: hidden;
    perspective: 900px;
    background:
        radial-gradient(circle at 67% 26%, rgba(126, 68, 220, .22), transparent 27%),
        linear-gradient(155deg, #0b1020 0%, #070914 58%, #04050c 100%);
}

.auth-security-woman__hud {
    position: absolute;
    z-index: 6;
    top: 1.25rem;
    right: 1.25rem;
    left: 1.25rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: .65rem;
    align-items: center;
    color: #9ca9c0;
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.auth-security-woman__hud i {
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 42, 85, .56), rgba(139, 92, 246, .16));
}

.auth-security-woman__hud b {
    color: #c4a7ff;
    font-size: .63rem;
    letter-spacing: .08em;
}

.auth-security-woman__grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .2;
    background-image:
        linear-gradient(rgba(139, 92, 246, .13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(72, 216, 255, .08) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.auth-security-woman__picture {
    position: absolute;
    z-index: 2;
    right: -1.2rem;
    bottom: -1rem;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    transform: translate3d(var(--security-x), var(--security-y), 0);
    transition: transform .48s cubic-bezier(.2, .8, .2, 1);
    will-change: transform;
}

.auth-security-woman__picture--body {
    z-index: 2;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0 31%, rgba(0, 0, 0, .18) 33%, #000 39%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0 31%, rgba(0, 0, 0, .18) 33%, #000 39%, #000 100%);
}

.auth-security-woman__picture--head {
    z-index: 3;
    -webkit-mask-image: linear-gradient(to bottom, #000 0 32%, rgba(0, 0, 0, .82) 35%, transparent 41%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0 32%, rgba(0, 0, 0, .82) 35%, transparent 41%, transparent 100%);
    transform:
        translate3d(
            calc(var(--security-x) + var(--security-head-x)),
            calc(var(--security-y) + var(--security-head-y)),
            0
        )
        rotateY(var(--security-head-turn-x))
        rotateZ(var(--security-head-turn-z))
        scale(var(--security-head-scale));
    transform-origin: 58% 35%;
    transform-style: preserve-3d;
}

.auth-security-woman__picture img {
    display: block;
    width: auto;
    height: clamp(520px, 72vh, 820px);
    max-width: none;
    object-fit: contain;
    object-position: center top;
    opacity: 0;
    filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .4));
    transform-origin: 56% 64%;
}

.auth-security-woman.is-loaded .auth-security-woman__picture img {
    animation:
        authSecurityWomanIntro .68s cubic-bezier(.2, .78, .2, 1) both,
        authSecurityWomanBreath 6.2s ease-in-out .72s infinite;
}

.auth-security-woman__visor-glow {
    position: absolute;
    z-index: 1;
    top: 17%;
    right: 20%;
    width: 42%;
    aspect-ratio: 1.9 / 1;
    border-radius: 50%;
    opacity: .34;
    background: radial-gradient(ellipse, rgba(160, 93, 255, .38), rgba(103, 52, 190, .09) 52%, transparent 72%);
    transform: translate3d(
        calc(var(--security-x) + var(--security-head-x)),
        calc(var(--security-y) + var(--security-head-y)),
        0
    ) rotate(var(--security-head-turn-z));
    transition: opacity .2s ease, background-color .2s ease, box-shadow .2s ease, transform .28s ease;
    box-shadow: 0 0 26px rgba(139, 92, 246, .16);
}

.auth-security-woman[data-state="identity"] .auth-security-woman__visor-glow {
    opacity: .48;
}

.auth-security-woman[data-state="password"] .auth-security-woman__visor-glow {
    opacity: .58;
    background: radial-gradient(ellipse, rgba(116, 48, 214, .48), rgba(68, 26, 133, .12) 52%, transparent 72%);
}

.auth-security-woman__privacy-visor {
    position: absolute;
    z-index: 4;
    top: 19.2%;
    right: 25.5%;
    display: grid;
    place-items: center;
    width: 27%;
    height: 5.8%;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    border: 1px solid rgba(196, 167, 255, .72);
    background:
        linear-gradient(90deg, rgba(13, 8, 30, .94), rgba(91, 33, 182, .82) 48%, rgba(13, 8, 30, .94)),
        repeating-linear-gradient(90deg, transparent 0 12px, rgba(255, 255, 255, .08) 12px 13px);
    box-shadow: 0 0 18px rgba(139, 92, 246, .3), inset 0 0 12px rgba(196, 167, 255, .16);
    clip-path: polygon(5% 0, 100% 13%, 95% 100%, 0 87%);
    transform:
        translate3d(
            calc(10px + var(--security-head-x)),
            calc(-2px + var(--security-head-y)),
            0
        )
        rotate(var(--security-head-turn-z))
        scaleX(.58);
    transform-origin: center;
    transition:
        opacity .2s ease,
        transform .44s cubic-bezier(.16, .84, .24, 1),
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

.auth-security-woman__privacy-visor::before,
.auth-security-woman__privacy-visor::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 52%;
    background: linear-gradient(90deg, rgba(7, 9, 20, .97), rgba(92, 42, 154, .88));
    transition: transform .48s cubic-bezier(.2, .82, .2, 1);
}

.auth-security-woman__privacy-visor::before {
    left: 0;
    transform: translateX(-102%);
}

.auth-security-woman__privacy-visor::after {
    right: 0;
    transform: translateX(102%) scaleX(-1);
}

.auth-security-woman__privacy-visor i {
    position: relative;
    z-index: 2;
    width: 10px;
    height: 8px;
    border: 2px solid #ddd3ff;
    border-radius: 2px;
    box-shadow: 0 0 9px rgba(196, 167, 255, .62);
}

.auth-security-woman__privacy-visor i::before {
    content: "";
    position: absolute;
    right: 1px;
    bottom: 100%;
    left: 1px;
    height: 7px;
    border: 2px solid #ddd3ff;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.auth-security-woman__privacy-visor b {
    position: absolute;
    z-index: 2;
    right: 8px;
    color: rgba(235, 229, 255, .78);
    font-size: .42rem;
    letter-spacing: .08em;
}

.auth-security-woman[data-state="password"] .auth-security-woman__privacy-visor {
    opacity: .9;
    transform:
        translate3d(var(--security-head-x), var(--security-head-y), 0)
        rotate(var(--security-head-turn-z))
        scaleX(1);
}

.auth-security-woman[data-state="password"] .auth-security-woman__privacy-visor::before,
.auth-security-woman[data-state="password"] .auth-security-woman__privacy-visor::after {
    transform: translateX(0);
}

.auth-security-woman[data-state="password"].is-password-typing .auth-security-woman__privacy-visor {
    opacity: 1;
    box-shadow: 0 0 24px rgba(139, 92, 246, .42), inset 0 0 16px rgba(196, 167, 255, .22);
}

.auth-security-woman[data-state="password"].is-password-visible .auth-security-woman__privacy-visor {
    border-color: rgba(255, 42, 85, .68);
    background: linear-gradient(90deg, rgba(25, 6, 25, .96), rgba(116, 32, 103, .88) 48%, rgba(25, 6, 25, .96));
    box-shadow: 0 0 25px rgba(255, 42, 85, .28), inset 0 0 14px rgba(255, 42, 85, .12);
}

.auth-security-woman[data-state="error"] .auth-security-woman__visor-glow {
    animation: authSecurityWomanError .52s ease-out 1;
}

.auth-security-woman[data-state="success"] .auth-security-woman__visor-glow {
    animation: authSecurityWomanSuccess .72s ease-out 1;
}

.auth-security-woman__fade {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    height: 18%;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgba(7, 9, 20, .96));
}

.auth-security-woman__brief {
    position: relative;
    z-index: 5;
    padding: 1.45rem clamp(1.25rem, 2.6vw, 2rem) 1.7rem;
    border-top: 1px solid rgba(139, 92, 246, .18);
    background: #070914;
}

.auth-security-woman__brief h1 {
    margin: .62rem 0 .65rem;
    color: #fff;
    font-size: clamp(2rem, 2.35vw, 2.65rem);
    line-height: .94;
    letter-spacing: 0;
    text-transform: uppercase;
}

.auth-security-woman__brief p {
    margin: 0;
    color: #aeb9ce;
    font-size: .88rem;
    line-height: 1.55;
}

.auth-security-woman__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .9rem;
}

.auth-security-woman__tags span {
    padding: .36rem .52rem;
    border: 1px solid rgba(139, 92, 246, .24);
    color: #ddd3ff;
    background: rgba(139, 92, 246, .07);
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.auth-security-woman__fallback {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: none;
    place-items: center;
    align-content: center;
    gap: .75rem;
    color: #aeb9ce;
    background: #070914;
    font-size: .78rem;
    text-align: center;
}

.auth-security-woman__fallback img {
    width: 116px;
    height: 116px;
    object-fit: contain;
}

.auth-security-woman.is-fallback .auth-security-woman__picture,
.auth-security-woman.is-fallback .auth-security-woman__visor-glow {
    display: none;
}

.auth-security-woman.is-fallback .auth-security-woman__fallback {
    display: grid;
}

.auth-security-woman.is-paused .auth-security-woman__picture img,
.auth-security-woman.is-paused .auth-security-woman__visor-glow {
    animation-play-state: paused !important;
}

.auth-security-woman.is-reduced-motion .auth-security-woman__picture,
.auth-security-woman.is-reduced-motion .auth-security-woman__picture img,
.auth-security-woman.is-reduced-motion .auth-security-woman__visor-glow,
.auth-security-woman.is-reduced-motion .auth-security-woman__privacy-visor,
.auth-security-woman.is-reduced-motion .auth-security-woman__privacy-visor::before,
.auth-security-woman.is-reduced-motion .auth-security-woman__privacy-visor::after {
    animation: none !important;
    transition: none !important;
}

.auth-security-woman.is-reduced-motion .auth-security-woman__picture,
.auth-security-woman.is-reduced-motion .auth-security-woman__picture img,
.auth-security-woman.is-reduced-motion .auth-security-woman__visor-glow {
    transform: none !important;
}

.auth-security-woman.is-reduced-motion .auth-security-woman__picture img {
    opacity: 1;
}

html[data-theme="light"] .auth-security-woman {
    border-color: rgba(71, 85, 105, .22);
    box-shadow: 0 20px 52px rgba(15, 23, 42, .16);
}

@keyframes authSecurityWomanIntro {
    from { opacity: 0; transform: translate3d(0, 18px, 0) scale(.985); }
    to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes authSecurityWomanBreath {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.006); }
}

@keyframes authSecurityWomanError {
    0%, 100% { opacity: .42; box-shadow: 0 0 22px rgba(139, 92, 246, .14); }
    45% { opacity: .72; box-shadow: 0 0 28px rgba(255, 42, 85, .34); background-color: rgba(255, 42, 85, .12); }
}

@keyframes authSecurityWomanSuccess {
    0% { opacity: .48; box-shadow: 0 0 22px rgba(139, 92, 246, .14); }
    48% { opacity: .78; box-shadow: 0 0 30px rgba(52, 211, 153, .3); background-color: rgba(52, 211, 153, .1); }
    100% { opacity: .5; box-shadow: 0 0 24px rgba(139, 92, 246, .18); }
}

.auth-security-agent {
    position: sticky;
    top: 1rem;
    order: 2;
    width: min(100%, 570px);
    min-width: 0;
    min-height: clamp(650px, 82vh, 840px);
    justify-self: end;
    overflow: hidden;
    background: #050711;
    box-shadow: 0 28px 86px rgba(0, 0, 0, .48);
    isolation: isolate;
}

.auth-security-agent::before,
.auth-security-agent::after {
    content: "";
    position: absolute;
    z-index: 8;
    pointer-events: none;
}

.auth-security-agent::before {
    inset: 0;
    border: 1px solid rgba(139, 92, 246, .28);
    box-shadow: inset 0 0 58px rgba(65, 36, 120, .16);
}

.auth-security-agent::after {
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, #ff2a55, #8b5cf6 42%, #48d8ff 74%, transparent);
    opacity: .82;
}

.auth-security-agent[data-state="password"]::after {
    background: linear-gradient(180deg, #8b5cf6, #5b21b6 58%, transparent);
}

.auth-security-agent[data-state="error"]::after {
    background: linear-gradient(180deg, #ff365f, #ff2a55 70%, transparent);
}

.auth-security-agent[data-state="success"]::after {
    background: linear-gradient(180deg, #34d399, #8b5cf6 70%, transparent);
}

.auth-security-agent__viewport {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 66% 27%, rgba(103, 52, 190, .22), transparent 31%),
        radial-gradient(circle at 16% 74%, rgba(255, 42, 85, .1), transparent 28%),
        linear-gradient(155deg, #0a1020 0%, #060813 52%, #03040a 100%);
}

.auth-security-agent__viewport::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .22;
    background-image:
        linear-gradient(rgba(139, 92, 246, .14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(72, 216, 255, .08) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .7) 58%, transparent 92%);
}

.auth-security-agent__canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    touch-action: pan-y;
    transition: opacity .58s ease;
}

.auth-security-agent.is-ready .auth-security-agent__canvas {
    opacity: 1;
}

.auth-security-agent__hud {
    position: absolute;
    z-index: 6;
    top: 1.2rem;
    right: 1.25rem;
    left: 1.25rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: .7rem;
    align-items: center;
    color: #9ca9c0;
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.auth-security-agent__hud i {
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 42, 85, .7), rgba(139, 92, 246, .15));
}

.auth-security-agent__hud b {
    color: #cfbaff;
    font-size: .61rem;
    letter-spacing: .08em;
}

.auth-security-agent__scan {
    position: absolute;
    z-index: 5;
    right: 9%;
    left: 9%;
    top: 19%;
    height: 1px;
    pointer-events: none;
    opacity: .45;
    background: linear-gradient(90deg, transparent, rgba(196, 167, 255, .92), transparent);
    box-shadow: 0 0 12px rgba(139, 92, 246, .44);
    animation: authSecurity3dScan 5.8s ease-in-out infinite;
}

.auth-security-agent__vignette {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(2, 3, 8, .1) 0%, transparent 50%, #050711 91%),
        linear-gradient(90deg, rgba(2, 3, 8, .32), transparent 18% 82%, rgba(2, 3, 8, .28));
}

.auth-security-agent__boot {
    position: absolute;
    z-index: 7;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: .85rem;
    color: #bba7e8;
    background: #050711;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .14em;
    transition: opacity .36s ease, visibility .36s ease;
}

.auth-security-agent__boot i {
    width: 52px;
    height: 52px;
    border: 2px solid rgba(139, 92, 246, .2);
    border-top-color: #b48cff;
    border-radius: 50%;
    animation: authSecurity3dBoot .8s linear infinite;
}

.auth-security-agent.is-ready .auth-security-agent__boot {
    visibility: hidden;
    opacity: 0;
}

.auth-security-agent__brief {
    position: absolute;
    z-index: 6;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 4.8rem clamp(1.25rem, 2.6vw, 2rem) 1.8rem;
    background: linear-gradient(to bottom, transparent, rgba(5, 7, 17, .92) 26%, #050711 58%);
}

.auth-security-agent__brief h1 {
    margin: .62rem 0 .65rem;
    color: #fff;
    font-size: clamp(2rem, 2.35vw, 2.7rem);
    line-height: .94;
    letter-spacing: 0;
    text-transform: uppercase;
}

.auth-security-agent__brief p {
    max-width: 46ch;
    margin: 0;
    color: #aeb9ce;
    font-size: .88rem;
    line-height: 1.55;
}

.auth-security-agent__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .9rem;
}

.auth-security-agent__tags span {
    padding: .36rem .52rem;
    border: 1px solid rgba(139, 92, 246, .28);
    color: #ddd3ff;
    background: rgba(10, 12, 25, .62);
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.auth-security-agent__fallback {
    position: absolute;
    inset: 0;
    z-index: 7;
    display: none;
    place-content: center;
    justify-items: center;
    gap: .75rem;
    color: #aeb9ce;
    background: #050711;
    font-size: .78rem;
    text-align: center;
}

.auth-security-agent__fallback img {
    width: 112px;
    height: 112px;
    object-fit: contain;
}

.auth-security-agent.is-fallback .auth-security-agent__fallback {
    display: grid;
}

.auth-security-agent.is-fallback .auth-security-agent__boot,
.auth-security-agent.is-fallback .auth-security-agent__canvas {
    display: none;
}

html[data-theme="light"] .auth-security-agent {
    box-shadow: 0 24px 66px rgba(15, 23, 42, .2);
}

@keyframes authSecurity3dBoot {
    to { transform: rotate(360deg); }
}

@keyframes authSecurity3dScan {
    0%, 100% { transform: translateY(-88px); opacity: 0; }
    18%, 72% { opacity: .45; }
    58% { transform: translateY(255px); opacity: .25; }
}

.auth-password-field {
    position: relative;
}

.auth-password-field .form-control {
    padding-right: 4.6rem;
}

.auth-password-toggle {
    position: absolute;
    right: .45rem;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    padding: .28rem .62rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #e2e8f0;
    background: rgba(8, 12, 22, .72);
    cursor: pointer;
}

.auth-password-toggle__hide {
    display: none;
}

.auth-password-toggle.is-visible .auth-password-toggle__show {
    display: none;
}

.auth-password-toggle.is-visible .auth-password-toggle__hide {
    display: inline;
}

.auth-caps-hint {
    margin: .35rem 0 0;
    font-size: .78rem;
    color: #fbbf24;
}

.auth-panel.is-auth-shake {
    animation: authPanelShake .42s ease;
}

.auth-panel.is-auth-scanning::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(72, 216, 255, .12), transparent);
    animation: authScanSweep 1.1s ease;
}

.auth-submit {
    position: relative;
}

.auth-submit.is-auth-scanning {
    pointer-events: none;
    opacity: .82;
}

.auth-submit.is-auth-scanning::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    border: 1px solid rgba(72, 216, 255, .55);
    animation: authButtonPulse 1s ease infinite;
}

.auth-forgot-packet {
    position: absolute;
    z-index: 12;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: linear-gradient(135deg, #8b5cf6, #48d8ff);
    box-shadow: 0 0 16px rgba(72, 216, 255, .55);
}

.auth-sound-toggle {
    position: fixed;
    right: 1rem;
    bottom: 4.6rem;
    z-index: 40;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(8, 12, 22, .82);
    color: #cbd5e1;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .04em;
    cursor: pointer;
}

.auth-sound-toggle.is-active {
    color: #fff;
    border-color: rgba(72, 216, 255, .62);
    background: linear-gradient(135deg, rgba(72, 216, 255, .35), rgba(139, 92, 246, .45));
}

html[data-theme="light"] .auth-password-toggle {
    color: #1f2937;
    background: rgba(255, 255, 255, .92);
    border-color: rgba(15, 23, 42, .14);
}

html[data-theme="light"] .auth-sound-toggle {
    color: #334155;
    background: rgba(255, 255, 255, .92);
    border-color: rgba(15, 23, 42, .14);
}

html[data-theme="light"] .auth-arena__lights span {
    opacity: .45;
    box-shadow: 0 0 12px currentColor;
}

@keyframes authPanelShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-4px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(3px); }
}

@keyframes authScanSweep {
    0% { transform: translateY(-100%); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

@keyframes authButtonPulse {
    0%, 100% { opacity: .35; }
    50% { opacity: 1; }
}

.auth-performance-lite .auth-showcase,
.auth-performance-lite .auth-panel {
    backdrop-filter: none;
}

.auth-performance-form .auth-showcase,
.auth-performance-form .auth-panel,
.auth-arena--account .auth-showcase,
.auth-arena--account .auth-panel {
    backdrop-filter: none;
    box-shadow: 0 18px 52px rgba(0, 0, 0, .3);
}

.auth-performance-form .auth-motion-stage__scan,
.auth-performance-form .auth-motion-reticle,
.auth-performance-form .auth-motion-shards,
.auth-performance-form .auth-motion-stage__noise {
    display: none !important;
}

.auth-performance-form .auth-arena__lights span {
    box-shadow: 0 0 12px currentColor;
}

.auth-performance-form::after,
.auth-performance-form .auth-arena__lights span,
.auth-performance-form .auth-showcase,
.auth-performance-form .auth-showcase::after,
.auth-performance-form .auth-brand-mark {
    animation: none !important;
}

.auth-performance-form .auth-form__section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 420px;
}

.auth-performance-lite .auth-motion-stage__noise,
.auth-performance-lite .auth-motion-shards i:nth-child(n+5) {
    display: none;
}

html[data-theme="light"] .auth-motion-toggle {
    color: #172033;
    border-color: rgba(71, 85, 105, .24);
    background: rgba(255, 255, 255, .9);
}

html[data-theme="light"] .auth-motion-toggle.is-active {
    color: #fff;
    border-color: rgba(139, 92, 246, .46);
    background: linear-gradient(135deg, #7c3aed, #e11d48);
}

.auth-motion-stage__grid {
    position: absolute;
    inset: -8%;
    opacity: .58;
    background-image:
        linear-gradient(rgba(72, 216, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 42, 85, .08) 1px, transparent 1px);
    background-size: 76px 76px;
    transform: rotateX(58deg) translateY(34%);
    transform-origin: 50% 100%;
    mask-image: linear-gradient(to bottom, transparent 4%, #000 45%, transparent 92%);
}

.auth-motion-stage__scan {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    opacity: .72;
    background: linear-gradient(90deg, transparent 4%, var(--auth-cyan) 34%, #fff 50%, var(--auth-red) 66%, transparent 96%);
    box-shadow: 0 0 16px rgba(72, 216, 255, .34), 0 0 28px rgba(255, 42, 85, .22);
}

.auth-motion-stage__noise {
    position: absolute;
    inset: 0;
    opacity: .17;
    background-image: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.045) 3px 4px);
    mix-blend-mode: soft-light;
}

.auth-motion-reticle {
    position: absolute;
    z-index: 2;
    top: 16%;
    right: 7%;
    width: 112px;
    aspect-ratio: 1;
    opacity: .42;
    border: 1px solid rgba(72, 216, 255, .48);
    clip-path: polygon(18% 0, 82% 0, 100% 18%, 100% 82%, 82% 100%, 18% 100%, 0 82%, 0 18%);
}

.auth-motion-reticle::before,
.auth-motion-reticle::after {
    content: "";
    position: absolute;
    inset: 22%;
    border: 1px solid rgba(255, 42, 85, .62);
}

.auth-motion-reticle::after {
    inset: 44%;
    background: #fff;
    box-shadow: 0 0 14px var(--auth-red);
}

.auth-motion-reticle span {
    position: absolute;
    background: rgba(255,255,255,.82);
}

.auth-motion-reticle span:nth-child(1),
.auth-motion-reticle span:nth-child(3) { left: 50%; width: 1px; height: 18%; }
.auth-motion-reticle span:nth-child(2),
.auth-motion-reticle span:nth-child(4) { top: 50%; width: 18%; height: 1px; }
.auth-motion-reticle span:nth-child(1) { top: -8%; }
.auth-motion-reticle span:nth-child(2) { right: -8%; }
.auth-motion-reticle span:nth-child(3) { bottom: -8%; }
.auth-motion-reticle span:nth-child(4) { left: -8%; }

.auth-motion-shards {
    position: absolute;
    inset: 0;
}

.auth-motion-shards i {
    position: absolute;
    width: clamp(18px, 2.3vw, 42px);
    height: clamp(60px, 9vw, 148px);
    opacity: .18;
    border: 1px solid rgba(255, 42, 85, .62);
    background: linear-gradient(180deg, rgba(255,42,85,.24), rgba(139,92,246,.04));
    clip-path: polygon(48% 0, 100% 18%, 61% 100%, 0 78%);
}

.auth-motion-shards i:nth-child(1) { left: 3%; top: 12%; }
.auth-motion-shards i:nth-child(2) { left: 18%; top: 72%; border-color: rgba(72,216,255,.64); }
.auth-motion-shards i:nth-child(3) { left: 42%; top: 7%; }
.auth-motion-shards i:nth-child(4) { left: 57%; top: 78%; border-color: rgba(139,92,246,.7); }
.auth-motion-shards i:nth-child(5) { left: 72%; top: 28%; }
.auth-motion-shards i:nth-child(6) { right: 4%; top: 66%; border-color: rgba(72,216,255,.64); }
.auth-motion-shards i:nth-child(7) { right: 20%; top: 4%; }
.auth-motion-shards i:nth-child(8) { left: 31%; top: 48%; border-color: rgba(139,92,246,.7); }

.auth-motion-enabled .auth-showcase,
.auth-motion-enabled .auth-panel,
.auth-motion-enabled .auth-showcase__image,
.auth-motion-enabled .auth-showcase::after,
.auth-motion-enabled .auth-brand-mark,
.auth-motion-enabled .auth-arena::after,
.auth-motion-enabled .auth-arena__lights span {
    animation: none;
}

.auth-motion-enabled .auth-shell {
    z-index: 2;
}

.auth-motion-line {
    display: block;
    overflow: hidden;
    padding-bottom: .06em;
}

.auth-motion-word {
    display: inline-block;
    will-change: transform, opacity;
}

.auth-form .form-group {
    position: relative;
}

.auth-form .form-group::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    opacity: 0;
    transform: scaleX(.2);
    transform-origin: left;
    background: linear-gradient(90deg, var(--auth-red), var(--auth-purple), var(--auth-cyan));
    transition: opacity .2s ease, transform .34s ease;
}

.auth-form .form-group.is-auth-focused::after {
    opacity: 1;
    transform: scaleX(1);
}

.auth-motion-enabled .auth-submit {
    will-change: transform;
}

html[data-theme="light"] .auth-motion-stage__noise {
    opacity: .08;
}

html[data-theme="light"] .auth-motion-stage__grid {
    opacity: .24;
}

@media (max-width: 1120px) {
    .auth-shell--register-character {
        grid-template-columns: minmax(0, 1fr);
    }

    .auth-shell--register-character .auth-security-agent {
        position: relative;
        top: auto;
        order: 1;
        width: min(100%, 680px);
        min-height: 620px;
        justify-self: center;
    }

    .auth-shell--register-character .auth-security-woman {
        position: relative;
        top: auto;
        order: 1;
        width: min(100%, 640px);
        justify-self: center;
    }

    .auth-shell--register-character .auth-panel {
        order: 2;
    }
}

@media (max-width: 720px) {
    .auth-shell--register-character .auth-security-agent {
        width: 100%;
        min-height: clamp(500px, 142vw, 570px);
    }

    .auth-security-agent__hud {
        top: .9rem;
        right: .9rem;
        left: .9rem;
        font-size: .54rem;
    }

    .auth-security-agent__brief {
        padding: 4.2rem 1rem 1.25rem;
    }

    .auth-security-agent__brief h1 {
        font-size: 1.72rem;
    }

    .auth-security-agent__brief p {
        font-size: .8rem;
    }

    .auth-security-agent__scan {
        display: none;
    }

    .auth-shell--register-character .auth-security-woman {
        width: 100%;
    }

    .auth-security-woman__visual {
        min-height: clamp(320px, 92vw, 390px);
    }

    .auth-security-woman__picture {
        right: -1rem;
        bottom: -6.4rem;
    }

    .auth-security-woman__picture--body {
        transform: none !important;
    }

    .auth-security-woman__picture img {
        height: clamp(440px, 122vw, 500px);
        opacity: 1;
        animation: none !important;
        filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .28));
    }

    .auth-security-woman__visor-glow {
        top: 14%;
        right: 20%;
        opacity: .2;
        transform: none !important;
        box-shadow: 0 0 16px rgba(139, 92, 246, .1);
    }

    .auth-security-woman__privacy-visor {
        top: 16.5%;
        right: 25%;
        width: 28%;
        height: 6.2%;
    }

    .auth-security-woman__hud {
        top: .9rem;
        right: .9rem;
        left: .9rem;
        font-size: .56rem;
    }

    .auth-security-woman__brief {
        padding: 1.15rem 1rem 1.3rem;
    }

    .auth-security-woman__brief h1 {
        font-size: 1.72rem;
    }

    .auth-security-woman__brief p {
        font-size: .8rem;
    }

    .auth-motion-toggle {
        display: none;
    }

    .auth-motion-reticle {
        top: 8%;
        right: -28px;
        width: 86px;
        opacity: .28;
    }

    .auth-motion-shards i:nth-child(n+5) {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-motion-stage__scan,
    .auth-motion-shards,
    .auth-motion-reticle {
        display: none !important;
    }

    html.auth-motion-force .auth-motion-stage__scan,
    html.auth-motion-force .auth-motion-shards,
    html.auth-motion-force .auth-motion-reticle {
        display: block !important;
    }

    html:not(.auth-motion-force) .auth-security-woman__picture,
    html:not(.auth-motion-force) .auth-security-woman__picture img,
    html:not(.auth-motion-force) .auth-security-woman__visor-glow,
    html:not(.auth-motion-force) .auth-security-woman__privacy-visor,
    html:not(.auth-motion-force) .auth-security-woman__privacy-visor::before,
    html:not(.auth-motion-force) .auth-security-woman__privacy-visor::after {
        animation: none !important;
        transition: none !important;
    }

    html:not(.auth-motion-force) .auth-security-woman__picture,
    html:not(.auth-motion-force) .auth-security-woman__picture img,
    html:not(.auth-motion-force) .auth-security-woman__visor-glow {
        transform: none !important;
    }

    .auth-security-woman__picture img {
        opacity: 1;
    }

    .auth-security-agent__scan,
    .auth-security-agent__boot i {
        animation: none !important;
    }
}

/* Lightweight registration identity terminal. */
.auth-security-terminal {
    --terminal-x: 0px;
    --terminal-y: 0px;
    position: sticky;
    top: 1rem;
    order: 2;
    display: grid;
    width: min(100%, 560px);
    min-width: 0;
    justify-self: end;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, .3);
    background: #050711;
    box-shadow: 0 28px 78px rgba(0, 0, 0, .44);
    isolation: isolate;
}

.auth-security-terminal::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    border-left: 3px solid #8b5cf6;
    box-shadow: inset 0 0 52px rgba(72, 216, 255, .05);
    transition: border-color .24s ease, box-shadow .24s ease;
}

.auth-security-terminal[data-state="identity"]::before,
.auth-security-terminal[data-state="active"]::before {
    border-left-color: #48d8ff;
}

.auth-security-terminal[data-state="privacy"]::before,
.auth-security-terminal[data-state="password"]::before {
    border-left-color: #b478ff;
    box-shadow: inset 0 0 62px rgba(139, 92, 246, .11);
}

.auth-security-terminal[data-state="error"]::before {
    border-left-color: #ff2a55;
    box-shadow: inset 0 0 54px rgba(255, 42, 85, .1);
}

.auth-security-terminal[data-state="success"]::before {
    border-left-color: #34d399;
    box-shadow: inset 0 0 58px rgba(52, 211, 153, .1);
}

.auth-security-terminal__visual {
    position: relative;
    min-height: clamp(520px, 68vh, 720px);
    overflow: hidden;
    background:
        radial-gradient(circle at 70% 29%, rgba(139, 92, 246, .22), transparent 29%),
        radial-gradient(circle at 22% 78%, rgba(255, 42, 85, .1), transparent 27%),
        linear-gradient(155deg, #0a1020 0%, #060813 54%, #03040a 100%);
}

.auth-security-terminal__hud {
    position: absolute;
    z-index: 7;
    top: 1.15rem;
    right: 1.2rem;
    left: 1.2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: .7rem;
    align-items: center;
    color: #98a6bd;
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.auth-security-terminal__hud i {
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 42, 85, .68), rgba(139, 92, 246, .15));
}

.auth-security-terminal__hud b {
    color: #cfbaff;
    font-size: .61rem;
    letter-spacing: .08em;
    transition: color .24s ease;
}

.auth-security-terminal[data-state="identity"] .auth-security-terminal__hud b,
.auth-security-terminal[data-state="active"] .auth-security-terminal__hud b {
    color: #75e5ff;
}

.auth-security-terminal[data-state="error"] .auth-security-terminal__hud b {
    color: #ff718f;
}

.auth-security-terminal[data-state="success"] .auth-security-terminal__hud b {
    color: #6ee7b7;
}

.auth-security-terminal__grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(139, 92, 246, .13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(72, 216, 255, .08) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .72) 64%, transparent 94%);
}

.auth-security-terminal__signal {
    position: absolute;
    z-index: 1;
    top: 15%;
    right: -9%;
    width: 68%;
    aspect-ratio: 1;
    border: 1px solid rgba(139, 92, 246, .18);
    border-radius: 50%;
    opacity: .52;
    pointer-events: none;
    box-shadow:
        0 0 0 34px rgba(139, 92, 246, .035),
        0 0 0 72px rgba(72, 216, 255, .025);
    animation: authTerminalSignal 7s ease-in-out infinite;
}

.auth-security-terminal__glow {
    position: absolute;
    z-index: 1;
    top: 18%;
    right: 9%;
    width: 45%;
    aspect-ratio: 1.8;
    pointer-events: none;
    opacity: .4;
    background: radial-gradient(ellipse, rgba(154, 92, 255, .34), transparent 68%);
    filter: blur(12px);
    transition: opacity .24s ease, filter .24s ease;
}

.auth-security-terminal[data-state="privacy"] .auth-security-terminal__glow,
.auth-security-terminal[data-state="password"] .auth-security-terminal__glow {
    opacity: .7;
    filter: blur(9px) saturate(1.18);
}

.auth-security-terminal__picture {
    position: absolute;
    z-index: 2;
    inset: 3.4rem -1.2rem 0 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    pointer-events: none;
    transform: translate3d(var(--terminal-x), var(--terminal-y), 0);
    transition: transform .34s cubic-bezier(.2, .8, .2, 1), opacity .42s ease;
}

.auth-security-terminal__picture img {
    display: block;
    width: auto;
    height: min(100%, 690px);
    max-width: 100%;
    object-fit: contain;
    object-position: center bottom;
    opacity: 0;
    filter: drop-shadow(0 22px 24px rgba(0, 0, 0, .38));
    transition: opacity .44s ease, filter .24s ease;
}

.auth-security-terminal.is-ready .auth-security-terminal__picture img {
    opacity: 1;
}

.auth-security-terminal[data-state="privacy"] .auth-security-terminal__picture img,
.auth-security-terminal[data-state="password"] .auth-security-terminal__picture img {
    filter: drop-shadow(0 22px 26px rgba(69, 35, 118, .46)) saturate(1.05);
}

.auth-security-terminal__scan {
    position: absolute;
    z-index: 5;
    top: 22%;
    right: 8%;
    left: 8%;
    height: 1px;
    pointer-events: none;
    opacity: .42;
    background: linear-gradient(90deg, transparent, rgba(200, 174, 255, .94), transparent);
    box-shadow: 0 0 12px rgba(139, 92, 246, .38);
    animation: authTerminalScan 7.5s ease-in-out infinite;
}

.auth-security-terminal__fade {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(3, 4, 10, .02) 0%, transparent 55%, #050711 98%),
        linear-gradient(90deg, rgba(3, 4, 10, .22), transparent 18% 84%, rgba(3, 4, 10, .18));
}

.auth-security-terminal__fallback {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: none;
    place-content: center;
    justify-items: center;
    gap: .8rem;
    color: #aeb9ce;
    background: #050711;
    font-size: .76rem;
    text-align: center;
}

.auth-security-terminal__fallback img {
    width: 108px;
    height: 108px;
    object-fit: contain;
}

.auth-security-terminal.is-fallback .auth-security-terminal__fallback {
    display: grid;
}

.auth-security-terminal.is-fallback .auth-security-terminal__picture,
.auth-security-terminal.is-fallback .auth-security-terminal__glow,
.auth-security-terminal.is-fallback .auth-security-terminal__signal {
    display: none;
}

.auth-security-terminal__brief {
    position: relative;
    z-index: 6;
    padding: 1.45rem clamp(1.2rem, 2.5vw, 1.8rem) 1.65rem;
    border-top: 1px solid rgba(139, 92, 246, .18);
    background: #050711;
}

.auth-security-terminal__brief h1 {
    margin: .58rem 0 .62rem;
    color: #fff;
    font-size: clamp(2rem, 2.3vw, 2.65rem);
    line-height: .94;
    letter-spacing: 0;
    text-transform: uppercase;
}

.auth-security-terminal__brief p {
    max-width: 48ch;
    margin: 0;
    color: #aeb9ce;
    font-size: .86rem;
    line-height: 1.55;
}

.auth-security-terminal__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .9rem;
}

.auth-security-terminal__tags span {
    padding: .36rem .52rem;
    border: 1px solid rgba(139, 92, 246, .28);
    color: #ddd3ff;
    background: rgba(10, 12, 25, .72);
    font-size: .61rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.auth-security-terminal.is-paused .auth-security-terminal__signal,
.auth-security-terminal.is-paused .auth-security-terminal__scan {
    animation-play-state: paused;
}

html[data-theme="light"] .auth-security-terminal {
    border-color: rgba(71, 85, 105, .2);
    box-shadow: 0 24px 62px rgba(15, 23, 42, .18);
}

@keyframes authTerminalSignal {
    0%, 100% { opacity: .34; transform: scale(.985); }
    50% { opacity: .62; transform: scale(1.015); }
}

@keyframes authTerminalScan {
    0%, 100% { opacity: 0; transform: translateY(-84px); }
    16%, 72% { opacity: .42; }
    58% { opacity: .22; transform: translateY(260px); }
}

@media (max-width: 1120px) {
    .auth-shell--register-character .auth-security-terminal {
        position: relative;
        top: auto;
        order: 1;
        width: min(100%, 680px);
        justify-self: center;
    }
}

@media (max-width: 720px) {
    .auth-shell--register-character .auth-security-terminal {
        width: 100%;
    }

    .auth-security-terminal__visual {
        min-height: clamp(320px, 94vw, 380px);
    }

    .auth-security-terminal__picture {
        inset: 2.8rem -.6rem -5.3rem 0;
        transform: none !important;
    }

    .auth-security-terminal__picture img {
        height: clamp(390px, 113vw, 450px);
        max-width: 96%;
        opacity: 1;
        filter: drop-shadow(0 14px 17px rgba(0, 0, 0, .3));
    }

    .auth-security-terminal__hud {
        top: .85rem;
        right: .85rem;
        left: .85rem;
        font-size: .53rem;
    }

    .auth-security-terminal__brief {
        padding: 1.15rem 1rem 1.3rem;
    }

    .auth-security-terminal__brief h1 {
        font-size: 1.7rem;
    }

    .auth-security-terminal__brief p {
        font-size: .8rem;
    }

    .auth-security-terminal__signal,
    .auth-security-terminal__scan {
        display: none;
    }

    .auth-security-terminal__glow {
        opacity: .22;
        filter: blur(8px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-security-terminal__signal,
    .auth-security-terminal__scan {
        animation: none !important;
    }

    .auth-security-terminal__picture,
    .auth-security-terminal__picture img,
    .auth-security-terminal__glow {
        transition: none !important;
        transform: none !important;
    }
}

/* Shared lightweight access screens: no WebGL or GSAP scene. */
.auth-arena--security {
    min-height: calc(100vh - 72px);
    overflow: clip;
}

.auth-arena--security::after {
    inset: 0;
    transform: none;
    animation: none;
    opacity: .36;
    background:
        linear-gradient(112deg, transparent 0 47%, rgba(255, 42, 85, .08) 50%, rgba(139, 92, 246, .1) 53%, transparent 58%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 12px);
}

.auth-shell--security {
    grid-template-columns: minmax(430px, 1.04fr) minmax(390px, .96fr);
    max-width: 1220px;
    align-items: start;
}

.auth-shell--security-login {
    grid-template-columns: minmax(430px, 1.08fr) minmax(360px, .92fr);
    align-items: center;
}

.auth-shell--security-login .auth-security-terminal {
    position: relative;
    top: auto;
    order: 1;
    width: 100%;
    justify-self: stretch;
}

.auth-shell--security-login .auth-panel {
    order: 2;
}

.auth-shell--security-register .auth-panel {
    order: 1;
}

.auth-shell--security-register .auth-security-terminal {
    order: 2;
}

.auth-arena--security .auth-panel,
.auth-arena--security .auth-security-terminal {
    animation: authAccessIn .42s cubic-bezier(.2, .7, .2, 1) both;
}

.auth-arena--security .auth-security-terminal {
    backdrop-filter: none;
}

.auth-arena--security .auth-security-terminal__picture img {
    opacity: 1;
}

.auth-security-terminal--login .auth-security-terminal__visual {
    min-height: clamp(440px, 58vh, 590px);
}

.auth-security-terminal--login .auth-security-terminal__picture {
    inset: 3.2rem -.5rem -1.5rem 0;
}

.auth-security-terminal--login .auth-security-terminal__picture img {
    height: min(112%, 630px);
}

.auth-arena--security .auth-panel--login {
    width: 100%;
    max-width: 520px;
    justify-self: end;
}

.auth-arena--security .is-auth-submitting {
    cursor: wait;
    opacity: .78;
}

@keyframes authAccessIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1120px) {
    .auth-shell--security,
    .auth-shell--security-login {
        grid-template-columns: 1fr;
        max-width: 760px;
    }

    .auth-shell--security .auth-security-terminal {
        position: relative;
        top: auto;
        order: 1;
        width: min(100%, 680px);
        justify-self: center;
    }

    .auth-shell--security .auth-panel {
        order: 2;
        width: 100%;
        max-width: none;
        justify-self: stretch;
    }
}

@media (max-width: 720px) {
    .auth-arena--security {
        overflow: hidden;
    }

    .auth-shell--security {
        gap: .8rem;
    }

    .auth-shell--security-login .auth-panel {
        order: 1;
    }

    .auth-shell--security-login .auth-security-terminal {
        order: 2;
    }

    .auth-security-terminal--login .auth-security-terminal__visual {
        min-height: clamp(310px, 91vw, 370px);
    }

    .auth-security-terminal--login .auth-security-terminal__picture {
        inset: 2.7rem -.4rem -4.7rem 0;
    }

    .auth-security-terminal--login .auth-security-terminal__picture img {
        height: clamp(380px, 110vw, 440px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-arena--security .auth-panel,
    .auth-arena--security .auth-security-terminal {
        animation: none !important;
    }
}
