/* =========================================================
   BRAWL SCHOOL
   AUTH
   ========================================================= */


/* =========================================================
   PAGE
   ========================================================= */

.auth-body {
    min-height: 100vh;

    margin: 0;

    background:
        radial-gradient(
            circle at 18% 50%,
            rgba(139, 92, 246, .07),
            transparent 28%
        ),
        radial-gradient(
            circle at 84% 18%,
            rgba(255, 216, 77, .025),
            transparent 22%
        ),
        #060608;

    color:
        var(--text);
}


/* =========================================================
   AUTH HEADER
   ========================================================= */

.auth-header {
    position: absolute;

    z-index: 50;

    left: 0;
    top: 0;

    width: 100%;

    padding:
        18px
        34px;

    pointer-events: none;
}


.auth-logo {
    display: inline-flex;
    align-items: center;

    pointer-events: auto;
}


.auth-logo img {
    width: auto;
    height: 82px;

    object-fit: contain;

    transition:
        transform .5s var(--ease-premium),
        filter .5s var(--ease);
}


.auth-logo:hover img {
    transform:
        translateY(-1px)
        scale(1.025);

    filter:
        drop-shadow(
            0 8px 24px
            rgba(155, 123, 255, .20)
        );
}


/* =========================================================
   PAGE WRAPPER
   ========================================================= */

.auth-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding:
        125px
        32px
        55px;
}


/* =========================================================
   AUTH CARD
   ========================================================= */

.auth-shell {
    position: relative;

    width:
        min(
            100%,
            1080px
        );

    min-height: 630px;

    display: grid;

    grid-template-columns:
        minmax(0, .90fr)
        minmax(430px, 1.10fr);

    overflow: hidden;

    background:
        rgba(10, 10, 14, .96);

    border:
        1px solid
        rgba(255, 255, 255, .095);

    border-radius:
        24px;

    box-shadow:
        0 38px 110px
        rgba(0, 0, 0, .52);

    isolation: isolate;
}


/* subtle outer glow */

.auth-shell::before {
    content: "";

    position: absolute;

    z-index: -1;

    inset: -1px;

    border-radius:
        inherit;

    background:
        linear-gradient(
            135deg,
            rgba(155, 123, 255, .08),
            transparent 35%,
            transparent 68%,
            rgba(255, 216, 77, .035)
        );

    pointer-events: none;
}


/* =========================================================
   LEFT SIDE
   ========================================================= */

.auth-visual {
    position: relative;

    min-width: 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 52% 48%,
            rgba(155, 123, 255, .10),
            transparent 37%
        ),
        linear-gradient(
            145deg,
            #0B0A0F,
            #070709
        );

    border-right:
        1px solid
        rgba(255, 255, 255, .07);
}


/* subtle pattern */

.auth-visual::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at center,
            transparent 0,
            transparent 58%,
            rgba(0, 0, 0, .30) 100%
        );

    pointer-events: none;
}


/* =========================================================
   SCENE
   ========================================================= */

.auth-scene {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    isolation: isolate;
}


/* =========================================================
   MASCOT IMAGE
   ========================================================= */

.auth-mascot-image {
    position: relative;

    z-index: 10;

    width:
        min(
            88%,
            475px
        );

    height: auto;

    max-height: 585px;

    object-fit: contain;

    pointer-events: none;

    user-select: none;

    transform-origin:
        50% 54%;

    filter:
        drop-shadow(
            0 32px 38px
            rgba(0, 0, 0, .46)
        )
        drop-shadow(
            0 0 24px
            rgba(155, 123, 255, .14)
        );

    animation:
        authMascotFloat
        6.8s
        cubic-bezier(.45, 0, .55, 1)
        infinite;
}


/* registration slightly different */

.auth-visual-register
.auth-mascot-image {
    animation:
        authMascotFloatRegister
        7.2s
        cubic-bezier(.45, 0, .55, 1)
        infinite;
}


/* =========================================================
   GLOWS
   ========================================================= */

.auth-glow {
    position: absolute;

    z-index: 1;

    border-radius:
        50%;

    pointer-events: none;
}


.auth-glow-purple {
    width: 430px;
    height: 430px;

    left: 50%;
    top: 49%;

    transform:
        translate(-50%, -50%);

    background:
        radial-gradient(
            circle,
            rgba(139, 92, 246, .20),
            rgba(139, 92, 246, .06) 42%,
            transparent 70%
        );

    filter:
        blur(32px);

    animation:
        authGlowPulse
        5.8s
        ease-in-out
        infinite;
}


.auth-glow-gold {
    width: 250px;
    height: 250px;

    right: 1%;
    top: 26%;

    background:
        radial-gradient(
            circle,
            rgba(255, 216, 77, .095),
            transparent 68%
        );

    filter:
        blur(28px);

    animation:
        authGoldGlow
        6.5s
        ease-in-out
        infinite;
}


/* =========================================================
   ORBITS
   ========================================================= */

.auth-orbit {
    position: absolute;

    z-index: 2;

    left: 50%;
    top: 53%;

    border-radius:
        50%;

    pointer-events: none;
}


.auth-orbit-one {
    width: 380px;
    height: 235px;

    border:
        1px solid
        rgba(155, 123, 255, .11);

    animation:
        authOrbit
        14s
        linear
        infinite;
}


.auth-orbit-two {
    width: 305px;
    height: 305px;

    border:
        1px dashed
        rgba(255, 216, 77, .055);

    animation:
        authOrbitReverse
        20s
        linear
        infinite;
}


/* =========================================================
   PARTICLES
   ========================================================= */

.auth-particle {
    position: absolute;

    z-index: 4;

    width: 4px;
    height: 4px;

    background:
        var(--primary-light);

    border-radius:
        50%;

    opacity: .65;

    box-shadow:
        0 0 12px
        rgba(155, 123, 255, .72);

    pointer-events: none;
}


.auth-particle-1 {
    left: 17%;
    top: 24%;

    animation:
        authParticleFloat
        5.7s
        ease-in-out
        infinite;
}


.auth-particle-2 {
    right: 16%;
    top: 29%;

    width: 5px;
    height: 5px;

    background:
        var(--gold);

    box-shadow:
        0 0 13px
        rgba(255, 216, 77, .65);

    animation:
        authParticleFloat
        7s
        ease-in-out
        infinite
        -2s;
}


.auth-particle-3 {
    left: 23%;
    bottom: 22%;

    width: 3px;
    height: 3px;

    animation:
        authParticleFloatAlt
        6.8s
        ease-in-out
        infinite
        -3s;
}


.auth-particle-4 {
    right: 20%;
    bottom: 18%;

    background:
        var(--gold);

    box-shadow:
        0 0 12px
        rgba(255, 216, 77, .65);

    animation:
        authParticleFloat
        7.5s
        ease-in-out
        infinite
        -1s;
}


.auth-particle-5 {
    left: 10%;
    top: 54%;

    width: 3px;
    height: 3px;

    animation:
        authParticleFloatAlt
        8s
        ease-in-out
        infinite
        -4s;
}


.auth-particle-6 {
    right: 10%;
    top: 57%;

    width: 3px;
    height: 3px;

    background:
        var(--gold);

    animation:
        authParticleFloat
        6.2s
        ease-in-out
        infinite
        -2.5s;
}


/* =========================================================
   RIGHT SIDE
   ========================================================= */

.auth-form-side {
    position: relative;

    z-index: 5;

    display: flex;
    align-items: center;

    padding:
        46px
        54px;

    background:
        linear-gradient(
            145deg,
            rgba(13, 13, 18, .98),
            rgba(9, 9, 13, .98)
        );
}


.auth-form-container {
    width: 100%;

    max-width: 440px;

    margin-inline:
        auto;
}


/* =========================================================
   TITLE
   ========================================================= */

.auth-title {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 27px;
}


.auth-title-icon {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    color:
        #0A0910;

    background:
        linear-gradient(
            145deg,
            #FFF0A0,
            var(--gold)
        );

    border-radius:
        13px;

    transform:
        rotate(-4deg);

    box-shadow:
        0 12px 34px
        rgba(255, 216, 77, .10);
}


.auth-title h1 {
    margin:
        0
        0
        4px;

    color:
        var(--text);

    font-size:
        1.9rem;

    line-height: 1;

    letter-spacing:
        -.045em;
}


.auth-title p {
    margin: 0;

    color:
        var(--text-soft);

    font-size:
        .72rem;
}


/* =========================================================
   SOCIAL LOGIN
   ========================================================= */

.auth-social-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 9px;

    margin-bottom:
        10px;
}


.social-login {
    min-height: 48px;

    display: grid;
    place-items: center;

    color:
        #fff;

    background:
        #15151B;

    border:
        1px solid
        var(--border);

    border-radius:
        10px;

    text-decoration: none;

    cursor: pointer;

    font-size:
        1.05rem;

    transition:
        transform .45s var(--ease-premium),
        background .45s var(--ease),
        color .45s var(--ease),
        border-color .45s var(--ease),
        box-shadow .5s var(--ease);
}


.social-login:hover {
    transform:
        translateY(-2px);
}


.social-google:hover {
    color:
        #111;

    background:
        #fff;

    border-color:
        #fff;

    box-shadow:
        0 12px 32px
        rgba(255, 255, 255, .08);
}


.social-discord:hover {
    background:
        #5865F2;

    border-color:
        #5865F2;

    box-shadow:
        0 14px 36px
        rgba(88, 101, 242, .20);
}


.social-apple:hover {
    background:
        #000;

    border-color:
        rgba(255, 255, 255, .18);
}


/* =========================================================
   DISCORD MAIN BUTTON
   ========================================================= */

.auth-discord-button {
    min-height: 48px;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    color:
        #fff;

    background:
        rgba(88, 101, 242, .105);

    border:
        1px solid
        rgba(88, 101, 242, .25);

    border-radius:
        10px;

    text-decoration:
        none;

    font-size:
        .76rem;

    font-weight:
        800;

    transition:
        transform .45s var(--ease-premium),
        background .45s var(--ease),
        border-color .45s var(--ease),
        box-shadow .5s var(--ease);
}


.auth-discord-button:hover {
    transform:
        translateY(-2px);

    background:
        #5865F2;

    border-color:
        #5865F2;

    box-shadow:
        0 14px 38px
        rgba(88, 101, 242, .20);
}


/* =========================================================
   DIVIDER
   ========================================================= */

.auth-divider {
    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 12px;

    margin:
        24px
        0;
}


.auth-divider > span {
    height: 1px;

    background:
        var(--border);
}


.auth-divider small {
    color:
        var(--text-soft);

    font-size:
        .61rem;
}


/* =========================================================
   FORM
   ========================================================= */

.auth-form {
    display: flex;
    flex-direction: column;

    gap: 16px;
}


.auth-field {
    display: flex;
    flex-direction: column;

    gap: 7px;
}


.auth-field label {
    color:
        var(--text-muted);

    font-size:
        .69rem;

    font-weight:
        700;
}


.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.auth-label-row a {
    color:
        var(--gold);

    font-size:
        .63rem;

    font-weight:
        750;

    text-decoration:
        none;

    transition:
        color .35s var(--ease);
}


.auth-label-row a:hover {
    color:
        #FFE780;
}


/* =========================================================
   INPUT
   ========================================================= */

.auth-input-wrap {
    position: relative;

    display: flex;
    align-items: center;
}


.auth-input-wrap > i {
    position: absolute;

    z-index: 2;

    left: 14px;

    color:
        var(--text-soft);

    font-size:
        .76rem;

    pointer-events:
        none;

    transition:
        color .35s var(--ease);
}


.auth-input-wrap:focus-within > i {
    color:
        var(--primary-light);
}


.auth-input-wrap input {
    width: 100%;
    height: 51px;

    padding:
        0
        46px
        0
        41px;

    color:
        var(--text);

    background:
        #15151B;

    border:
        1px solid
        var(--border);

    border-radius:
        10px;

    outline:
        none;

    font-size:
        .78rem;

    transition:
        background .4s var(--ease),
        border-color .4s var(--ease),
        box-shadow .45s var(--ease);
}


.auth-input-wrap input::placeholder {
    color:
        #65656F;
}


.auth-input-wrap input:hover {
    background:
        #18181F;

    border-color:
        var(--border-strong);
}


.auth-input-wrap input:focus {
    background:
        #18181F;

    border-color:
        rgba(155, 123, 255, .72);

    box-shadow:
        0 0 0 4px
        rgba(155, 123, 255, .075);
}


/* =========================================================
   PASSWORD
   ========================================================= */

.password-toggle {
    position: absolute;

    right: 8px;

    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    color:
        var(--text-soft);

    background:
        transparent;

    border:
        0;

    border-radius:
        8px;

    cursor:
        pointer;

    transition:
        color .35s var(--ease),
        background .35s var(--ease);
}


.password-toggle:hover {
    color:
        var(--primary-light);

    background:
        rgba(255, 255, 255, .04);
}


.password-help {
    color:
        var(--text-soft);

    font-size:
        .59rem;
}


/* =========================================================
   CHECKBOX
   ========================================================= */

.remember-me,
.auth-consent {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    color:
        var(--text-soft);

    font-size:
        .64rem;

    line-height:
        1.55;

    cursor:
        pointer;
}


.remember-me input,
.auth-consent input {
    margin-top:
        2px;

    accent-color:
        var(--primary);
}


.auth-consent a {
    color:
        var(--primary-light);

    text-decoration:
        none;
}


/* =========================================================
   SUBMIT
   ========================================================= */

.auth-submit {
    min-height: 52px;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-top:
        2px;

    color:
        #0A0910;

    background:
        linear-gradient(
            135deg,
            #C9B9FF 0%,
            #A889FF 48%,
            #8B5CF6 100%
        );

    border:
        0;

    border-radius:
        10px;

    font-size:
        .79rem;

    font-weight:
        900;

    box-shadow:
        0 14px 38px
        rgba(116, 87, 232, .22);

    cursor:
        pointer;

    transition:
        transform .45s var(--ease-premium),
        box-shadow .5s var(--ease),
        filter .45s var(--ease);
}


.auth-submit:hover {
    transform:
        translateY(-2px);

    filter:
        brightness(1.055);

    box-shadow:
        0 19px 50px
        rgba(116, 87, 232, .34);
}


.auth-submit i {
    transition:
        transform .42s var(--ease);
}


.auth-submit:hover i {
    transform:
        translateX(4px);
}


/* =========================================================
   SWITCH
   ========================================================= */

.auth-switch {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 5px;

    margin-top:
        23px;

    color:
        var(--text-soft);

    font-size:
        .68rem;
}


.auth-switch a {
    color:
        var(--gold);

    text-decoration:
        none;

    font-weight:
        800;

    transition:
        color .35s var(--ease);
}


.auth-switch a:hover {
    color:
        #FFE780;
}


/* =========================================================
   LEGAL
   ========================================================= */

.auth-legal {
    max-width:
        350px;

    margin:
        17px
        auto
        0;

    color:
        #5F5F68;

    text-align:
        center;

    font-size:
        .56rem;

    line-height:
        1.55;
}


.auth-legal a {
    color:
        var(--text-soft);
}


/* =========================================================
   MASCOT ANIMATIONS
   ========================================================= */

@keyframes authMascotFloat {

    0%,
    100% {
        transform:
            translate3d(
                0,
                4px,
                0
            )
            rotate(-.8deg)
            scale(1);
    }

    25% {
        transform:
            translate3d(
                4px,
                -5px,
                0
            )
            rotate(.1deg)
            scale(1.004);
    }

    50% {
        transform:
            translate3d(
                -2px,
                -13px,
                0
            )
            rotate(.9deg)
            scale(1.01);
    }

    75% {
        transform:
            translate3d(
                -4px,
                -5px,
                0
            )
            rotate(.1deg)
            scale(1.004);
    }

}


@keyframes authMascotFloatRegister {

    0%,
    100% {
        transform:
            translate3d(
                0,
                2px,
                0
            )
            rotate(.8deg)
            scale(1);
    }

    50% {
        transform:
            translate3d(
                3px,
                -14px,
                0
            )
            rotate(-.8deg)
            scale(1.012);
    }

}


@keyframes authGlowPulse {

    0%,
    100% {
        opacity:
            .58;

        transform:
            translate(-50%, -50%)
            scale(.93);
    }

    50% {
        opacity:
            1;

        transform:
            translate(-50%, -50%)
            scale(1.08);
    }

}


@keyframes authGoldGlow {

    0%,
    100% {
        opacity:
            .55;

        transform:
            translate3d(
                0,
                0,
                0
            )
            scale(.94);
    }

    50% {
        opacity:
            .9;

        transform:
            translate3d(
                -8px,
                5px,
                0
            )
            scale(1.08);
    }

}


@keyframes authOrbit {

    from {
        transform:
            translate(-50%, -50%)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(360deg);
    }

}


@keyframes authOrbitReverse {

    from {
        transform:
            translate(-50%, -50%)
            rotate(360deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(0deg);
    }

}


@keyframes authParticleFloat {

    0%,
    100% {
        opacity:
            .25;

        transform:
            translate3d(
                0,
                8px,
                0
            )
            scale(.8);
    }

    50% {
        opacity:
            .95;

        transform:
            translate3d(
                5px,
                -18px,
                0
            )
            scale(1.2);
    }

}


@keyframes authParticleFloatAlt {

    0%,
    100% {
        opacity:
            .25;

        transform:
            translate3d(
                0,
                0,
                0
            );
    }

    50% {
        opacity:
            .85;

        transform:
            translate3d(
                -10px,
                -22px,
                0
            );
    }

}


/* =========================================================
   HOVER SCENE
   ========================================================= */

.auth-visual:hover
.auth-mascot-image {
    animation-duration:
        5.4s;

    filter:
        drop-shadow(
            0 35px 46px
            rgba(0, 0, 0, .50)
        )
        drop-shadow(
            0 0 31px
            rgba(155, 123, 255, .18)
        );
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .auth-mascot-image,
    .auth-glow,
    .auth-orbit,
    .auth-particle {
        animation:
            none !important;
    }

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 960px) {

    .auth-shell {
        width:
            min(
                100%,
                600px
            );

        grid-template-columns:
            1fr;
    }


    .auth-visual {
        min-height:
            340px;

        border-right:
            0;

        border-bottom:
            1px solid
            var(--border);
    }


    .auth-mascot-image {
        width:
            min(
                63%,
                310px
            );

        max-height:
            320px;
    }


    .auth-orbit-one {
        width:
            280px;

        height:
            170px;
    }


    .auth-orbit-two {
        width:
            220px;

        height:
            220px;
    }

}


@media (max-width: 620px) {

    .auth-header {
        padding:
            13px
            16px;
    }


    .auth-logo img {
        height:
            62px;
    }


    .auth-page {
        padding:
            95px
            15px
            30px;
    }


    .auth-shell {
        min-height:
            0;

        border-radius:
            18px;
    }


    .auth-visual {
        min-height:
            265px;
    }


    .auth-mascot-image {
        width:
            min(
                66%,
                255px
            );

        max-height:
            255px;
    }


    .auth-form-side {
        padding:
            34px
            23px;
    }


    .auth-title h1 {
        font-size:
            1.7rem;
    }

}


@media (max-width: 420px) {

    .auth-visual {
        min-height:
            225px;
    }


    .auth-mascot-image {
        width:
            min(
                70%,
                220px
            );
    }


    .auth-form-side {
        padding:
            30px
            18px;
    }


    .auth-social-grid {
        gap:
            6px;
    }

}
/* =========================================================
   MOBILE AUTH LOGO
   Bigger + centered
   ========================================================= */

@media (max-width: 620px) {

    .auth-header {
        display: flex;
        justify-content: center;
        align-items: center;

        padding:
            14px
            16px;

        text-align: center;
    }

    .auth-logo {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 100%;
    }

    .auth-logo img {
        width: auto;

        height: 92px;

        max-width: 250px;

        object-fit: contain;
    }

}
/* =========================================================
   AUTH ALERTS
   ========================================================= */

.auth-alert {
    display: flex;
    align-items: flex-start;

    gap: 11px;

    margin-bottom: 18px;

    padding:
        13px
        14px;

    border-radius:
        10px;

    font-size:
        .68rem;

    line-height:
        1.5;
}


.auth-alert > i {
    margin-top: 2px;

    flex: 0 0 auto;
}


.auth-alert p {
    margin: 0;
}


.auth-alert p + p {
    margin-top: 4px;
}


.auth-alert-error {
    color:
        #FFD4D4;

    background:
        rgba(239, 68, 68, .075);

    border:
        1px solid
        rgba(239, 68, 68, .20);
}


.auth-alert-error > i {
    color:
        #FF6B6B;
}
/* =========================================================
   CHOOSE USERNAME
   ========================================================= */

.username-page {
    min-height:
        100vh;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    padding:
        120px
        20px
        50px;
}


.username-card {
    position:
        relative;

    width:
        min(
            100%,
            520px
        );

    padding:
        42px;

    overflow:
        hidden;

    background:
        linear-gradient(
            145deg,
            rgba(17,17,23,.98),
            rgba(9,9,13,.98)
        );

    border:
        1px solid
        var(--border-strong);

    border-radius:
        22px;

    box-shadow:
        0 35px 100px
        rgba(0,0,0,.45);

    text-align:
        center;
}


.username-card::before {
    content:
        "";

    position:
        absolute;

    width:
        350px;

    height:
        350px;

    left:
        50%;

    top:
        -220px;

    transform:
        translateX(-50%);

    background:
        radial-gradient(
            circle,
            rgba(155,123,255,.18),
            transparent 65%
        );

    pointer-events:
        none;
}


.username-icon {
    position:
        relative;

    z-index:
        2;

    width:
        58px;

    height:
        58px;

    display:
        grid;

    place-items:
        center;

    margin:
        0
        auto
        18px;

    color:
        #09090C;

    background:
        linear-gradient(
            145deg,
            #FFE775,
            var(--gold)
        );

    border-radius:
        17px;

    font-size:
        1.05rem;

    box-shadow:
        0 14px 36px
        rgba(255,216,77,.12);
}


.username-eyebrow {
    display:
        block;

    margin-bottom:
        9px;

    color:
        var(--gold);

    font-size:
        .56rem;

    font-weight:
        900;

    letter-spacing:
        .14em;
}


.username-card h1 {
    margin-bottom:
        12px;

    font-size:
        clamp(
            2rem,
            6vw,
            3rem
        );

    line-height:
        1;

    letter-spacing:
        -.055em;
}


.username-card h1 span {
    background:
        linear-gradient(
            90deg,
            var(--primary-light),
            var(--gold)
        );

    -webkit-background-clip:
        text;

    background-clip:
        text;

    color:
        transparent;
}


.username-description {
    max-width:
        400px;

    margin:
        0
        auto
        27px;

    color:
        var(--text-muted);

    font-size:
        .7rem;

    line-height:
        1.65;
}


.username-form {
    text-align:
        left;
}


.username-form > label {
    display:
        block;

    margin-bottom:
        7px;

    color:
        var(--text-muted);

    font-size:
        .65rem;

    font-weight:
        700;
}


.username-input {
    height:
        54px;

    display:
        flex;

    align-items:
        center;

    background:
        #0A0A0E;

    border:
        1px solid
        var(--border);

    border-radius:
        11px;

    transition:
        border-color .4s
        var(--ease),
        box-shadow .4s
        var(--ease);
}


.username-input:focus-within {
    border-color:
        var(--primary);

    box-shadow:
        0 0 0 4px
        rgba(155,123,255,.07);
}


.username-input > span {
    padding-left:
        16px;

    color:
        var(--primary-light);

    font-size:
        .9rem;

    font-weight:
        900;
}


.username-input input {
    width:
        100%;

    height:
        100%;

    padding:
        0
        15px
        0
        4px;

    color:
        var(--text);

    background:
        transparent;

    border:
        0;

    outline:
        none;

    font-size:
        .82rem;

    font-weight:
        700;
}


.username-rules {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        8px
        14px;

    margin:
        12px
        0
        22px;
}


.username-rules span {
    color:
        var(--text-soft);

    font-size:
        .52rem;
}


.username-rules i {
    margin-right:
        4px;

    color:
        #42E89F;
}


.username-example {
    margin:
        18px
        0
        0;

    color:
        var(--text-soft);

    font-size:
        .57rem;
}


.username-example strong {
    color:
        var(--gold);
}


@media (max-width: 600px) {

    .username-page {
        padding:
            110px
            15px
            30px;
    }


    .username-card {
        padding:
            34px
            22px;

        border-radius:
            18px;
    }

}