 
        :root {
            --brand-red: #e53935;
            --btn: #f08a98;
            --btn-pressed: #e87384;
            --link: #06b6d4;
            --ink: #0f172a;
        }

        html,
        body {
            height: 100%
        }

        body {
            font-family: Inter, sans-serif;
            background: #fff;
            margin: 0;
        }

        /* ---------- Splash ---------- */
        #splashScreen {
            position: fixed;
            inset: 0;
            background: var(--brand-red);
            color: #fff;
            z-index: 3000;
            display: grid;
            place-items: center;
            opacity: 1;
            transition: opacity .35s ease;
        }

        #splashScreen .brand {
            font-family: Pacifico, cursive;
            font-size: 44px;
            letter-spacing: .3px;
            text-shadow: 0 6px 22px rgba(0, 0, 0, .25);
        }

        #splashScreen.hidden {
            opacity: 0;
            pointer-events: none
        }

        /* ---------- Loader ---------- */
        #routeLoader {
            position: fixed;
            inset: 0;
            background: rgba(255, 255, 255, .85);
            backdrop-filter: blur(4px);
            z-index: 2500;
            display: none;
            align-items: center;
            justify-content: center;
        }

        #routeLoader.show {
            display: flex
        }

        .loader-card {
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
            padding: 18px 22px;
            display: flex;
            align-items: center;
            gap: 12px;
            min-width: 180px;
        }

        .spinner {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            border: 3px solid #e5e7eb;
            border-top-color: var(--brand-red);
            animation: spin .8s linear infinite;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg)
            }
        }

        .loader-text {
            font-weight: 700;
            color: var(--ink);
        }

        /* Page fade after splash */
        .main-wrap {
            opacity: 0;
            transition: opacity .25s ease
        }

        .wrap {
            max-width: 440px;
            margin: 0 auto;
            padding: 18px
        }

        .brand {
            font-size: 40px;
            font-family: Pacifico, cursive;
            color: #fff;
            text-align: center;
            margin-bottom: 18px
        }

        .hero-title {
            text-align: center;
            font-weight: 700;
            font-size: 26px;
            margin-bottom: 6px
        }

        .hero-sub {
            text-align: center;
            color: #6b7280;
            margin-bottom: 22px
        }

        .textfield {
            width: 100%;
            height: 52px;
            border-radius: 14px;
            border: 1px solid #e5e7eb;
            padding: 0 16px;
            margin-bottom: 12px
        }

        .btn-primary-sortly {
            width: 100%;
            height: 52px;
            border-radius: 18px;
            border: 0;
            background: var(--btn);
            color: #fff;
            font-weight: 700
        }

        .forgot-link {
            color: var(--link);
            font-weight: 600;
            text-decoration: none
        }

        .forgot-link:hover {
            text-decoration: underline
        }

        .toast-container {
            position: fixed;
            bottom: 24px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 2600
        }
