:root {
            --cyan: #35dcff;
            --cyan-soft: #93efff;
            --blue: #078cff;
            --dark: #020912;
            --panel: rgba(2, 18, 31, .88);
        }

        * {
            box-sizing: border-box;
        }

        html,
        body {
            margin: 0;
            width: 100%;
            min-height: 100%;
        }

        body {
            min-height: 100vh;
            overflow-x: hidden;
            background: #02070d;
            color: #fff;
            font-family: "Segoe UI", Arial, sans-serif;
        }

        button,
        input {
            font: inherit;
        }

        button,
        a {
            -webkit-tap-highlight-color: transparent;
        }

        /* =========================================================
           FULL AFC SCENE
           ========================================================= */

        .afc-screen {
            position: relative;
            isolation: isolate;

            width: 100%;
            min-height: 100vh;

            overflow: hidden;

            background:
                linear-gradient(
                    180deg,
                    rgba(0, 5, 12, .02),
                    rgba(0, 5, 12, .05) 58%,
                    rgba(0, 5, 12, .16)
                ),
                url("/frontier/assets/img/afc-login-bg.webp")
                center center / cover no-repeat;
        }

        .afc-screen::after {
            content: "";
            position: absolute;
            z-index: 1;
            inset: 0;

            pointer-events: none;

            background:
                radial-gradient(
                    ellipse at 50% 43%,
                    transparent 0%,
                    transparent 37%,
                    rgba(0, 5, 12, .04) 68%,
                    rgba(0, 5, 12, .18) 100%
                );
        }


        /* =========================================================
           TOP HUD
           ========================================================= */

        .top-hud {
            position: fixed;
            z-index: 50;

            top: clamp(-64px, -3.35vw, -42px);
            left: 0;

            width: 100%;
            height: clamp(190px, 11.2vw, 232px);

            pointer-events: none;
        }

        .top-hud-frame {
            position: absolute;
            inset: 0;

            width: 100%;
            height: 100%;

            object-fit: fill;

            user-select: none;
            pointer-events: none;
        }


        /* =========================================================
           TOP NAVIGATION
           ========================================================= */

        .top-nav {
            position: absolute;
            z-index: 52;
            inset: 0;

            display: grid;

            grid-template-columns:
                1.08fr
                1fr
                1fr
                1.5fr
                .95fr
                1fr
                1.08fr;

            align-items: start;

            padding:
                clamp(62px, 3.55vw, 78px)
                clamp(64px, 4.35vw, 92px)
                0;

            pointer-events: none;
        }

        .nav-item {
            min-width: 0;
            height: clamp(34px, 2.12vw, 46px);

            display: flex;
            align-items: center;
            justify-content: center;

            gap: clamp(8px, .6vw, 14px);

            padding: 0 8px;

            border: 0;
            outline: 0;

            background: transparent;

            color: #e6faff;

            text-decoration: none;
            text-transform: uppercase;

            font-size: clamp(12px, .72vw, 15px);
            font-weight: 900;
            line-height: 1.02;

            cursor: pointer;
            pointer-events: auto;

            text-shadow:
                0 0 8px rgba(61, 222, 255, .55),
                0 0 18px rgba(0, 125, 255, .28);

            transition:
                color .18s ease,
                text-shadow .18s ease,
                transform .18s ease;
        }

        .nav-item:hover,
        .nav-item.active {
            color: #fff;

            text-shadow:
                0 0 8px rgba(71, 229, 255, .95),
                0 0 22px rgba(0, 143, 255, .72);
        }

        .nav-item:hover {
            transform: translateY(-1px);
        }

        .nav-icon {
            flex: 0 0 auto;

            font-size: 1.35em;
            line-height: 1;
        }

        .nav-back {
            justify-content: flex-start;
        }

        .nav-radio {
            flex-direction: row;
            justify-content: flex-start;
            gap: clamp(7px, .45vw, 10px);

            width: min(100%, clamp(148px, 9.2vw, 180px));
            height: clamp(31px, 1.86vw, 38px);
            justify-self: center;
            align-self: start;
            margin-top: clamp(0px, .08vw, 2px);
            padding: 3px 5px;

            border: 1px solid rgba(79, 225, 255, .28);
            border-radius: 10px;

            background:
                linear-gradient(135deg, rgba(5, 50, 72, .88), rgba(2, 12, 28, .86));

            box-shadow:
                inset 0 0 12px rgba(63, 220, 255, .06),
                0 0 9px rgba(27, 172, 255, .12);
        }

        .nav-radio-mark {
            flex: 0 0 auto;
            width: clamp(22px, 1.34vw, 28px);
            height: clamp(22px, 1.34vw, 28px);

            display: grid;
            place-items: center;

            overflow: hidden;
            border: 1px solid rgba(247, 194, 88, .42);
            border-radius: 9px;

            background: rgba(1, 10, 22, .82);

            filter:
                drop-shadow(0 0 7px rgba(71, 229, 255, .35));
        }

        .nav-radio-mark img {
            width: 58%;
            height: 58%;
            object-fit: contain;
        }

        .nav-radio-copy {
            display: grid;
            justify-items: start;
            min-width: 0;
            gap: 2px;
            line-height: 1;
        }

        .nav-radio-copy > span:first-child {
            max-width: clamp(72px, 4.8vw, 98px);
            overflow: hidden;
            color: #78efff;
            font-size: clamp(8px, .5vw, 10px);
            font-weight: 950;
            letter-spacing: .04em;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .nav-radio-toggle {
            flex: 0 0 auto;
            width: clamp(22px, 1.34vw, 28px);
            height: clamp(22px, 1.34vw, 28px);
            margin-left: auto;
            padding: 0;

            display: grid;
            place-items: center;

            border: 1px solid rgba(247, 194, 88, .42);
            border-radius: 9px;

            color: #d8f5ff;
            background: rgba(9, 15, 34, .9);

            font-size: clamp(8px, .48vw, 10px);
            font-weight: 900;
            line-height: 1;
            cursor: pointer;

            box-shadow:
                inset 0 0 10px rgba(69, 220, 255, .05);
        }

        .nav-radio-toggle.playing,
        .nav-radio-toggle.is-on {
            color: #05111a;
            background: linear-gradient(135deg, #62eaff, #168cff);
            box-shadow:
                0 0 14px rgba(51, 210, 255, .38),
                inset 0 0 10px rgba(255, 255, 255, .22);
        }

        .radio-status {
            margin-top: 0;

            max-width: clamp(72px, 4.8vw, 98px);
            overflow: hidden;

            color: #a7d5e4;

            font-size: clamp(7px, .42vw, 8px);
            letter-spacing: 0;
            text-overflow: ellipsis;
            text-transform: none;
            white-space: nowrap;

            text-shadow:
                0 0 8px rgba(48, 255, 172, .28);
        }

        .nav-spacer {
            display: block;
        }


        /* =========================================================
           TOP AFC LOGO
           ========================================================= */

        .logo-slot {
            position: relative;

            width: 100%;
            height: 100%;

            pointer-events: none;
        }

        .afc-logo {
            position: absolute;
            z-index: 55;

            top: 4%;
            left: 50%;

            transform: translateX(-50%);

            width: clamp(112px, 7.9vw, 168px);
            max-height: 43%;

            object-fit: contain;

            filter:
                drop-shadow(0 0 7px rgba(44, 218, 255, .72))
                drop-shadow(0 8px 13px rgba(0, 0, 0, .62));

            user-select: none;
            pointer-events: none;
        }


        /* =========================================================
           CENTRAL ZONE
           ========================================================= */

        .login-zone {
            position: relative;
            z-index: 10;

            width: 100%;
            min-height: 100vh;

            display: flex;
            justify-content: center;
            align-items: flex-start;

            /*
             * Разводим верхнюю панель и центральную консоль.
             * На desktop звезда консоли начинается ниже top HUD.
             */
            padding:
                clamp(176px, 12.8vw, 238px)
                18px
                clamp(86px, 7vw, 160px);
        }


        /* =========================================================
           CENTRAL GRAPHIC PANEL
           ========================================================= */

        .login-console {
            position: relative;

            width: clamp(290px, min(24vw, 54svh), 390px);
            aspect-ratio: 2 / 3;

            display: flex;
            justify-content: center;

            filter:
                drop-shadow(0 17px 27px rgba(0, 0, 0, .58))
                drop-shadow(0 0 10px rgba(0, 144, 255, .13));
        }

        .login-console-frame {
            position: absolute;
            z-index: 0;

            width: 100%;
            height: 100%;

            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);

            object-fit: fill;

            user-select: none;
            pointer-events: none;
        }


        /* =========================================================
           REAL INTERACTIVE FORM
           ========================================================= */

        .login-content {
            position: absolute;
            z-index: 4;

            /*
             * Графическая панель сама содержит AFC-logo,
             * заголовки, пиктограммы и декоративные элементы.
             * Поэтому живой интерфейс начинается только ниже.
             */
            left: 50%;
            top: 0;
            width: 61.5%;
            height: 100%;
            transform: translateX(-50%);

            padding: 0;

            display: block;
            pointer-events: none;
        }


        /* =========================================================
           LOGIN / REGISTER TABS
           ========================================================= */

        .tabs {
            position: absolute;
            left: 0;
            top: 45.15%;
            z-index: 8;

            display: flex;
            gap: clamp(7px, .42vw, 10px);

            width: 100%;
            height: 4.95%;
            margin-left: 0;

            margin-bottom: 0;

            transform: translateY(0);
            pointer-events: auto;
        }

        .tab-btn {
            flex: 1;

            min-height: 0;
            height: 100%;

            padding: 0 4px;

            border: 0;
            border-radius: 0;
            outline: none;

            background: transparent;

            color: #eefbff;

            text-transform: uppercase;

            font-size: 10px;
            font-weight: 900;
            letter-spacing: .055em;

            cursor: pointer;

            box-shadow: none;

            transition: .18s ease;
        }

        .tab-btn:hover,
        .tab-btn.active {
            color: #fff;
            border-color: transparent;
            background: transparent;
            box-shadow: none;
        }


        /* =========================================================
           PANELS
           ========================================================= */

        .panel {
            display: none;
        }

        .panel.active {
            display: block;
        }

        .panel form {
            display: block;
            pointer-events: none;
        }


        /* =========================================================
           INPUTS
           ========================================================= */

        .field {
            position: absolute;
            left: 0;

            width: 100%;
            height: 5.12%;
            margin: 0;
            pointer-events: auto;
        }

        #panel-login .field:nth-of-type(1) {
            top: 51.35%;
        }

        #panel-login .field:nth-of-type(2) {
            top: 57.7%;
        }

        #panel-register .field:nth-of-type(1) {
            top: 51.35%;
        }

        #panel-register .field:nth-of-type(2) {
            top: 57.7%;
        }

        #panel-register .field:nth-of-type(3) {
            top: 62.55%;
        }

        .field label {
            position: absolute;

            width: 1px;
            height: 1px;

            padding: 0;
            margin: -1px;

            overflow: hidden;

            clip: rect(0, 0, 0, 0);

            white-space: nowrap;
            border: 0;
        }

        .field input {
            display: block;

            width: 100%;
            height: 100%;

            padding: 0 24px 0 38px;

            border: 0;
            border-radius: 0;
            outline: 0;

            color: #e8faff;
            background: transparent;
            box-shadow: none;

            font-size: clamp(8px, .58vw, 11px);
            font-weight: 800;

            transition: none;
            -webkit-appearance: none;
            appearance: none;
        }

        .field input::placeholder {
            color: transparent;
            opacity: 1;
        }

        .field input:focus {
            border: 0;
            outline: 0;
            background: transparent;
            box-shadow: none;
        }

        .field input:-webkit-autofill,
        .field input:-webkit-autofill:hover,
        .field input:-webkit-autofill:focus {
            border: 0;
            -webkit-text-fill-color: #e8faff;
            caret-color: #e8faff;
            background: transparent;
            box-shadow: inset 0 0 0 1000px rgba(1, 17, 32, .96);
            transition: background-color 99999s ease-in-out 0s;
        }

        .login-options {
            position: absolute;
            left: 0;
            top: 62.15%;
            z-index: 8;

            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            width: 100%;
            height: 3.1%;
            min-height: 0;
            margin: 0;
            color: transparent;
            font-size: 1em;
            font-weight: 800;
            text-shadow: none;
            pointer-events: auto;
        }

        .remember-control {
            position: relative;
            display: block;
            width: 48%;
            height: 100%;
            min-width: 0;
            cursor: pointer;
        }

        .remember-control::before {
            content: "";
            position: absolute;
            left: -9.0%;
            top: 61%;
            width: auto;
            height: 72%;
            aspect-ratio: 1 / 1;
            transform: translateY(-50%);
            border: 1px solid rgba(39, 224, 255, .88);
            border-radius: 2px;
            background: rgba(2, 25, 42, .72);
            box-sizing: border-box;
        }

        .remember-control input {
            position: absolute;
            left: -9.0%;
            top: 61%;
            width: auto;
            height: 72%;
            aspect-ratio: 1 / 1;
            margin: 0;
            transform: translateY(-50%);
            appearance: none;
            -webkit-appearance: none;
            opacity: 0;
            cursor: pointer;
        }

        .remember-control:has(input:checked)::before {
            background:
                linear-gradient(135deg, transparent 44%, #eaffff 45% 57%, transparent 58%),
                linear-gradient(45deg, transparent 48%, #eaffff 49% 61%, transparent 62%),
                rgba(2, 25, 42, .72);
        }

        .remember-control span {
            white-space: nowrap;
        }

        .forgot-link {
            flex: 0 0 auto;
            color: transparent;
            text-decoration: none;
            text-underline-offset: 2px;
        }

        .forgot-link:hover {
            color: transparent;
        }


        /* =========================================================
           MAIN ACTION BUTTON
           ========================================================= */

        .submit-btn {
            position: absolute;
            left: 0;
            top: 66.25%;
            z-index: 8;

            display: block;

            width: 100%;
            min-height: 0;
            height: 6.8%;

            margin-top: 0;

            overflow: hidden;

            border: 0;
            border-radius: 0;

            outline: 0;

            color: #fff;

            background: transparent;

            text-transform: uppercase;

            font-size: clamp(12px, .78vw, 16px);
            font-weight: 900;

            cursor: pointer;
            pointer-events: auto;

            box-shadow: none;

            text-shadow: none;

            transition:
                filter .18s ease,
                box-shadow .18s ease,
                transform .12s ease;
        }

        .submit-btn::before,
        .submit-btn::after {
            content: "";

            position: absolute;

            top: 8px;
            bottom: 8px;

            width: 4px;

            background: transparent;
            box-shadow: none;
            opacity: 0;
        }

        .submit-btn::before {
            left: 7px;
        }

        .submit-btn::after {
            right: 7px;
        }

        .submit-btn:hover {
            filter: brightness(1.13);

            box-shadow: none;
        }

        .submit-btn:active {
            transform: translateY(1px);
        }


        /* =========================================================
           STATUS MESSAGE
           ========================================================= */

        .msg {
            display: none;

            margin-top: 9px;

            padding: 8px 10px;

            border-radius: 3px;

            font-size: 11px;
            line-height: 1.35;

            text-align: center;

            backdrop-filter: blur(8px);
        }

        .msg.ok {
            display: block;

            color: #c3ffdb;

            border:
                1px solid
                rgba(53, 255, 169, .44);

            background:
                rgba(16, 93, 61, .52);
        }

        .msg.err {
            display: block;

            color: #ffd3d3;

            border:
                1px solid
                rgba(255, 89, 89, .48);

            background:
                rgba(105, 23, 34, .53);
        }

        .social-auth {
            position: absolute;
            z-index: 7;
            left: 50%;
            top: 76.85%;
            transform: translateX(-50%);

            display: flex;
            justify-content: center;
            align-items: center;

            width: 72%;
            margin: 0;
            height: 5.05%;
            min-height: 0;
            font-size: 1em;

            background: transparent;
        }

        .social-auth::before {
            content: none;
        }

        .yandex-auth-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;

            width: 100%;
            height: 100%;
            min-height: 0;
            padding: 0 8px;

            border: 1px solid rgba(255, 255, 255, .28);
            border-radius: 8px;

            color: #fff;
            background:
                linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(2, 15, 31, .64));
            box-shadow:
                inset 0 0 12px rgba(63, 220, 255, .08),
                0 0 12px rgba(0, 153, 255, .18);

            font-size: clamp(7px, .48vw, 10px);
            overflow: hidden;
            font-weight: 900;
            text-transform: uppercase;
            cursor: pointer;
            text-decoration: none;
        }

        .yandex-auth-btn:hover {
            filter: brightness(1.12);
        }

        .yandex-auth-mark {
            display: inline-grid;
            place-items: center;

            width: 22px;
            height: 100%;
            max-height: 22px;
            aspect-ratio: 1 / 1;
            box-sizing: border-box;

            border-radius: 4px;
            color: #fff;
            background: #fc3f1d;
            font-size: 1.12em;
            font-weight: 900;
            line-height: 1;
        }


        /* =========================================================
           NOTE
           ========================================================= */

        .note {
            position: absolute;
            left: 0;
            top: 91.1%;

            margin-top: 6px;

            color: transparent;

            text-align: center;

            font-size: clamp(9px, .58vw, 11px);
            line-height: 1.35;

            text-shadow: none;
            pointer-events: none;
        }


        /* =========================================================
           BOTTOM HUD
           ========================================================= */

        .bottom-hud {
            position: absolute;
            z-index: 15;

            left: 0;
            bottom: 0;

            width: 100%;
            height: auto;

            user-select: none;
            pointer-events: none;

            filter:
                drop-shadow(
                    0 -7px 18px rgba(0, 0, 0, .23)
                );
        }


        /* =========================================================
           TABLET
           ========================================================= */

        @media (max-width: 900px) {

            .top-hud {
                top: -38px;
                height: 154px;
            }

            .top-nav {
                grid-template-columns:
                    1fr
                    1fr
                    132px
                    1fr
                    1fr;

                padding: 56px 18px 0;
            }

            .nav-item {
                padding: 0 4px;

                height: 34px;
                font-size: 10px;
            }

            .nav-radio {
                width: 136px;
                height: 32px;
            }

            .nav-radio-mark,
            .nav-radio-toggle {
                width: 21px;
                height: 21px;
            }

            .nav-spacer {
                display: none;
            }

            .nav-tablet-hide {
                display: none;
            }

            .afc-logo {
                top: 4%;
                width: 112px;
                max-height: 42%;
            }

            .login-zone {
                padding:
                    178px
                    12px
                    145px;
            }

            .login-console {
                width: clamp(280px, min(76vw, 54svh), 350px);
            }

            .login-content {
                top: 0;
                width: 61.5%;
            }

            .bottom-hud {
                left: -12.5%;

                width: 125%;
                max-width: none;
            }
        }


        /* =========================================================
           MOBILE
           ========================================================= */

        @media (max-width: 560px) {

            .afc-screen {
                background-position: 52% center;
            }

            .top-hud {
                top: -28px;
                height: 112px;
            }

            .top-nav {
                grid-template-columns:
                    1fr
                    108px
                    1fr;

                padding: 36px 10px 0;
            }

            .nav-mobile-hide {
                display: none;
            }

            .nav-item {
                padding: 0 3px;

                height: 30px;
                font-size: 8px;
            }

            .nav-radio {
                display: none;
            }

            .nav-back {
                justify-content: flex-start;
            }

            .afc-logo {
                top: 4%;
                width: 78px;
                max-height: 42%;
            }

            .login-zone {
                min-height: 100svh;

                padding:
                    122px
                    7px
                    105px;
            }

            .login-console {
                width: clamp(250px, min(84vw, 54svh), 300px);
            }

            .login-content {
                top: 0;
                width: 61.5%;
                height: 100%;
            }

            .tabs {
                gap: 5px;

                margin-bottom: 0;
            }

            .tab-btn {
                min-height: 22px;

                font-size: 8px;
            }

            .field {
                margin-bottom: 0;
            }

            .field input {
                height: 100%;

                padding: 0 36px;

                font-size: 11px;
            }

            .submit-btn {
                min-height: 0;

                font-size: 1px;
            }

            .login-options {
                font-size: 10px;
                gap: 6px;
            }

            .note {
                margin-top: 7px;

                font-size: 9px;
            }

            .bottom-hud {
                left: -35%;

                width: 170%;
                max-width: none;

                opacity: .94;
            }
        }


        /* =========================================================
           SHORT DESKTOP SCREENS
           ========================================================= */

        @media (max-height: 800px) and (min-width: 901px) {

            .login-zone {
                padding-top: 172px;
                padding-bottom: 150px;
            }

            .login-console {
                width: clamp(290px, min(24vw, 54svh), 390px);
            }
        }

        .login-password-input {
            position: static;
        }

        @media (min-width: 2100px) {
            .login-console {
                width: clamp(360px, min(16vw, 54svh), 460px);
            }
        }





        .password-toggle {
            position: absolute;
            z-index: 9;
            top: 57.7%;
            right: 6px;

            width: 27px;
            height: 5.12%;

            display: none;
            place-items: center;

            border: 0;
            border-radius: 0;
            outline: 0;
            appearance: none;
            -webkit-appearance: none;
            background: transparent;
            color: rgba(216, 247, 255, .9);
            box-shadow: none;

            font-size: 0;
            line-height: 1;
            cursor: pointer;
            pointer-events: auto;
        }

        #panel-login.active .password-toggle,
        #panel-register.active .password-toggle {
            display: grid;
        }

        .password-toggle::before {
            content: "";
            width: 13px;
            height: 9px;
            border: 1px solid rgba(216, 247, 255, .82);
            border-radius: 50%;
            box-shadow: 0 0 6px rgba(53, 220, 255, .35);
        }

        .password-toggle::after {
            content: "";
            position: absolute;
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: rgba(216, 247, 255, .9);
        }

        .password-toggle.is-visible::before {
            border-color: rgba(246, 198, 87, .92);
            box-shadow: 0 0 7px rgba(246, 198, 87, .38);
        }

        .password-toggle.is-visible::after {
            background: rgba(246, 198, 87, .95);
        }

        .password-toggle:hover {
            color: #fff;
            filter: brightness(1.16);
        }









        .login-email-input {
            padding-right: 8px;
            font-size: clamp(7px, .46vw, 9px);
            letter-spacing: 0;
        }

        /* Stable live login panel with only real controls inside. */
        .login-console {
            width: min(440px, calc(100vw - 32px));
            aspect-ratio: auto;
            min-height: 620px;
            padding: 150px 48px 38px;
            border: 1px solid rgba(53, 220, 255, .48);
            border-radius: 16px;
            background:
                radial-gradient(circle at 50% 5%, rgba(53, 220, 255, .18), transparent 28%),
                linear-gradient(180deg, rgba(3, 20, 38, .82), rgba(1, 9, 20, .94));
            box-shadow:
                inset 0 0 32px rgba(53, 220, 255, .1),
                0 0 36px rgba(0, 153, 255, .28);
        }

        .login-console-frame {
            display: none;
        }

        .login-content {
            position: relative;
            left: auto;
            top: auto;
            width: 100%;
            height: auto;
            transform: none;
            display: grid;
            gap: 12px;
            pointer-events: auto;
        }

        .tabs {
            position: static;
            width: 100%;
            height: auto;
            gap: 8px;
        }

        .tab-btn {
            min-height: 42px;
            border: 1px solid rgba(53, 220, 255, .56);
            border-radius: 8px;
            background: linear-gradient(135deg, rgba(2, 54, 93, .8), rgba(4, 21, 42, .9));
            font-size: 13px;
            box-shadow: inset 0 0 14px rgba(53, 220, 255, .08);
        }

        .tab-btn.active {
            border-color: rgba(246, 198, 87, .78);
            box-shadow:
                inset 0 0 16px rgba(53, 220, 255, .16),
                0 0 14px rgba(53, 220, 255, .28);
        }

        .panel.active {
            display: block;
        }

        .panel form {
            display: grid;
            gap: 10px;
            pointer-events: auto;
        }

        .field,
        #panel-login .field:nth-of-type(1),
        #panel-login .field:nth-of-type(2),
        #panel-register .field:nth-of-type(1),
        #panel-register .field:nth-of-type(2),
        #panel-register .field:nth-of-type(3) {
            position: relative;
            left: auto;
            top: auto;
            width: 100%;
            height: 44px;
        }

        .field input {
            height: 44px;
            padding: 0 42px 0 42px;
            border: 1px solid rgba(53, 220, 255, .38);
            border-radius: 8px;
            background: rgba(1, 13, 26, .82);
            font-size: 14px;
            box-shadow: inset 0 0 14px rgba(53, 220, 255, .05);
        }

        .field input::placeholder {
            color: rgba(215, 244, 255, .62);
            opacity: 1;
        }

        .field input:focus {
            border-color: rgba(53, 220, 255, .78);
            box-shadow:
                inset 0 0 14px rgba(53, 220, 255, .08),
                0 0 12px rgba(53, 220, 255, .16);
        }

        .login-options {
            position: static;
            width: 100%;
            justify-content: space-between;
            font-size: 11px;
            color: rgba(216, 247, 255, .82);
        }

        .remember-control,
        .forgot-link {
            color: rgba(216, 247, 255, .82);
            pointer-events: auto;
        }

        .forgot-link:hover {
            color: #fff;
        }

        .submit-btn {
            position: relative;
            left: auto;
            top: auto;
            width: 100%;
            height: 52px;
            border: 1px solid rgba(53, 220, 255, .72);
            border-radius: 10px;
            background:
                linear-gradient(135deg, rgba(30, 214, 255, .82), rgba(10, 83, 190, .76));
            box-shadow:
                inset 0 0 18px rgba(255, 255, 255, .16),
                0 0 18px rgba(53, 220, 255, .28);
            font-size: 18px;
            text-shadow: 0 0 8px rgba(0, 18, 38, .8);
        }

        .social-auth {
            position: static;
            transform: none;
            width: 100%;
            height: 42px;
            order: 5;
        }

        .yandex-auth-btn {
            gap: 8px;
            border-radius: 8px;
            font-size: 12px;
        }

        .yandex-auth-mark {
            width: 24px;
            max-height: 24px;
        }

        .msg {
            position: static;
            width: 100%;
            pointer-events: none;
        }

        .note {
            position: static;
            margin: 0;
            color: rgba(216, 247, 255, .72);
            font-size: 10px;
            text-align: center;
        }

        .password-toggle {
            top: 0;
            right: 4px;
            width: 36px;
            height: 44px;
            display: grid;
        }

        #panel-login.active .password-toggle,
        #panel-register.active .password-toggle {
            display: grid;
        }

        @media (max-width: 560px) {
            .login-console {
                width: min(360px, calc(100vw - 18px));
                min-height: 590px;
                padding: 132px 28px 30px;
            }
        }


