
        /* Accessible hidden element utility */
        .visually-hidden {
            position: absolute !important;
            width: 1px !important;
            height: 1px !important;
            padding: 0 !important;
            margin: -1px !important;
            overflow: hidden !important;
            clip: rect(0, 0, 0, 0) !important;
            white-space: nowrap !important;
            border: 0 !important;
        }
:root {
            --bg-base: #06070c;
            --bg-surface: #0a0e19;
            --bg-card: #0f1526;
            --bg-card-hover: #141c33;
            --border-subtle: rgba(255, 255, 255, 0.08);
            --border-highlight: rgba(31, 107, 255, 0.35);
            --border-cyan: rgba(76, 141, 255, 0.3);
            --primary: #1F6BFF;
            --primary-hover: #1754cc;
            --primary-glow: rgba(31, 107, 255, 0.4);
            --accent: #4C8DFF;
            --accent-glow: rgba(76, 141, 255, 0.25);
            --accent-purple: #1F6BFF;
            --success: #10b981;
            --success-glow: rgba(16, 185, 129, 0.2);
            --warning: #fbbf24;
            --text-primary: #f8fafc;
            --text-secondary: #94a3b8;
            --text-muted: #64748b;
            --header-height: 64px;
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 18px;
            --radius-xl: 24px;
            --focus-ring: 0 0 0 2px #06070c, 0 0 0 4px #4C8DFF;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        /* ===== GLOBAL CUSTOM DARK SCROLLBAR (Minimalist, subtle, non-intrusive) ===== */
        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
            text-size-adjust: 100%;
            background-color: var(--bg-base);
            overflow-x: hidden;
            width: 100%;
            scrollbar-width: thin;
            scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
        }

        ::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }

        ::-webkit-scrollbar-track {
            background: transparent;
        }

        ::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.16);
            border-radius: 999px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        ::-webkit-scrollbar-corner {
            background: transparent;
        }

        body {
            margin: 0;
            background-color: var(--bg-base);
            color: var(--text-primary);
            font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overflow-x: hidden;
            width: 100%;
            min-height: 100vh;
            min-height: 100dvh;
            display: flex;
            flex-direction: column;
            line-height: 1.5;
            font-size: 15px;
        }

        /* ===== GLOBAL PAGE BACKGROUND (fixed grid persists across all sections) ===== */
        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background-image:
                linear-gradient(rgba(31, 107, 255, 0.045) 1px, transparent 1px),
                linear-gradient(90deg, rgba(31, 107, 255, 0.045) 1px, transparent 1px);
            background-size: 48px 48px;
            pointer-events: none;
            z-index: 0;
        }

        /* Subtle fixed center glow that persists page-wide */
        body::after {
            content: '';
            position: fixed;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: min(900px, 100vw);
            height: 480px;
            background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(31, 107, 255, 0.14) 0%, transparent 70%);
            pointer-events: none;
            z-index: 0;
        }

        /* Prevent image/media overflow across all viewport widths */
        img, svg, video, canvas, audio, iframe, embed, object {
            display: block;
            max-width: 100%;
            height: auto;
        }

        /* Global touch target and tap highlight cleanup */
        button, a, input, select, textarea {
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
        }

        /* Accessible focus rings */
        button:focus-visible,
        a:focus-visible,
        input:focus-visible,
        select:focus-visible,
        textarea:focus-visible {
            outline: none;
            box-shadow: var(--focus-ring);
        }

        /* Text and link overflow defense */
        p, h1, h2, h3, h4, h5, h6, span, a, li, label {
            overflow-wrap: anywhere;
            word-break: break-word;
        }

        /* Flex and grid item min-width safety net */
        .header-brand,
        .nav-links,
        .header-actions,
        .stat-card,
        .tri-card,
        .about-card,
        .starter-prompt-card,
        .message-row,
        .msg-body-wrapper,
        .field-group,
        .auth-modal {
            min-width: 0;
        }

        /* Ambient Glow Gradients (Constrained to prevent horizontal scrollbar) */
        .ambient-glow-left {
            position: absolute;
            width: min(420px, 80vw);
            height: min(420px, 80vw);
            border-radius: 50%;
            background: radial-gradient(circle, rgba(31, 107, 255, 0.22) 0%, rgba(14, 34, 64, 0.08) 50%, transparent 70%);
            top: -120px;
            left: 0;
            pointer-events: none;
            z-index: 0;
            filter: blur(50px);
            overflow: hidden;
        }

        .ambient-glow-right {
            position: absolute;
            width: min(400px, 80vw);
            height: min(400px, 80vw);
            border-radius: 50%;
            background: radial-gradient(circle, rgba(76, 141, 255, 0.18) 0%, rgba(31, 107, 255, 0.06) 50%, transparent 70%);
            top: 50px;
            right: 0;
            pointer-events: none;
            z-index: 0;
            filter: blur(50px);
            overflow: hidden;
        }

        .icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 18px;
            height: 18px;
            flex-shrink: 0;
            fill: currentColor;
        }

        .icon-sm {
            width: 14px;
            height: 14px;
        }

        .icon-lg {
            width: 22px;
            height: 22px;
        }

        /* ===== NAVIGATION BAR ===== */
        header.site-header {
            height: var(--header-height);
            background: rgba(10, 16, 30, 0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border-subtle);
            padding: 0 32px;
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-brand {
            display: inline-flex;
            align-items: center;
            justify-self: start;
            text-decoration: none;
            line-height: 0;
        }

        .brand-wordmark {
            display: block;
            width: auto;
            height: 36px;
            max-width: 250px;
            object-fit: contain;
        }

        .brand-logo {
            width: 40px;
            height: 40px;
            border-radius: var(--radius-md);
            background: linear-gradient(135deg, #1e40af, #2563eb, #38bdf8);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            box-shadow: 0 4px 16px var(--primary-glow);
            border: 1px solid rgba(255, 255, 255, 0.15);
        }

        .brand-meta h1 {
            font-size: 1.15rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            color: var(--text-primary);
            line-height: 1.15;
        }

        .brand-meta p {
            font-size: 0.7rem;
            font-weight: 600;
            color: var(--accent);
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .nav-links {
            display: flex;
            align-items: center;
            justify-content: center;
            justify-self: center;
            gap: 28px;
        }

        .nav-link {
            color: var(--text-secondary);
            font-size: 0.86rem;
            font-weight: 500;
            text-decoration: none;
            transition: color 0.15s;
        }

        .nav-link:hover {
            color: #ffffff;
        }

        .site-mobile-menu-toggle {
            display: none;
            background: transparent;
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-sm);
            color: var(--text-primary);
            width: 44px;
            height: 44px;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
            flex-shrink: 0;
        }

        .site-mobile-menu-toggle:hover {
            border-color: var(--accent);
            background: rgba(255, 255, 255, 0.05);
        }

        .site-nav-drawer-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(4px);
            z-index: 99;
            opacity: 0;
            transition: opacity 0.25s ease;
        }

        .site-nav-drawer-overlay.open {
            display: block;
            opacity: 1;
        }

        .header-actions {
            display: flex;
            align-items: center;
            justify-self: end;
            gap: 14px;
        }

        .btn-google-auth {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            background: #ffffff;
            color: #1f2937;
            font-size: 0.88rem;
            font-weight: 600;
            padding: 9px 18px;
            min-height: 44px;
            border-radius: 30px;
            border: 1px solid #d1d5db;
            cursor: pointer;
            transition: all 0.22s cubic-bezier(0.16,1,0.3,1);
            font-family: inherit;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
        }

        .btn-google-auth:hover {
            background: #f9fafb;
            transform: translateY(-1px);
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
        }

        .btn-google-auth:active {
            transform: translateY(0) scale(0.98);
        }

        .btn-google-auth:focus-visible {
            outline: none;
            box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #1F6BFF;
        }

        .btn-hero-cta {
            background: linear-gradient(135deg, #2b4fcf 0%, #1F6BFF 55%, #1554cc 100%);
            background-size: 180% 100%;
            color: #ffffff;
            font-size: 0.92rem;
            font-weight: 600;
            padding: 11px 22px;
            min-height: 44px;
            border-radius: 999px;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 4px 14px rgba(31, 107, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.15);
            transition: transform 0.22s cubic-bezier(0.16,1,0.3,1), box-shadow 0.22s ease, background-position 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.14);
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .btn-hero-cta .icon {
            width: 16px;
            height: 16px;
            transition: transform 0.22s cubic-bezier(0.16,1,0.3,1);
            flex-shrink: 0;
        }

        .btn-hero-cta:hover {
            background-position: 100% 0;
            transform: translateY(-2px);
            box-shadow: 0 10px 28px rgba(31, 107, 255, 0.35), 0 4px 12px rgba(31, 107, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.22);
            border-color: rgba(255, 255, 255, 0.25);
        }

        .btn-hero-cta:hover .icon {
            transform: translateX(3px);
        }

        .btn-hero-cta:active {
            transform: translateY(0) scale(0.98);
            box-shadow: 0 2px 8px rgba(31, 107, 255, 0.2);
        }

        .btn-hero-cta:focus-visible {
            outline: none;
            box-shadow: 0 0 0 2px var(--bg-base), 0 0 0 4px #1F6BFF;
        }

        .btn-hero-cta:disabled,
        .btn-hero-cta.is-loading {
            opacity: 0.55;
            cursor: not-allowed;
            pointer-events: none;
        }

        .btn-hero-cta.is-loading {
            color: transparent;
        }

        .btn-hero-cta.is-loading::after {
            content: '';
            position: absolute;
            width: 18px;
            height: 18px;
            border: 2px solid rgba(255,255,255,0.3);
            border-top-color: #fff;
            border-radius: 50%;
            animation: btn-spin 0.65s linear infinite;
        }

        .user-account-badge {
            display: none;
            align-items: center;
            gap: 8px;
            background: var(--bg-card);
            border: 1px solid var(--border-subtle);
            padding: 5px 8px 5px 5px;
            border-radius: 999px;
            font-size: 0.84rem;
            cursor: pointer;
            transition: all 0.15s;
        }

        .user-account-badge:hover {
            border-color: var(--primary);
            background: var(--bg-card-hover);
        }

        .user-avatar {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: var(--primary);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.78rem;
            object-fit: cover;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .user-info-text {
            display: flex;
            flex-direction: column;
            line-height: 1.15;
            text-align: left;
        }

        .user-name-label {
            font-weight: 600;
            color: var(--text-primary);
            max-width: 118px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .user-email-label {
            font-size: 0.7rem;
            color: var(--text-muted);
            max-width: 118px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .btn-signout {
            background: transparent;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            padding: 5px;
            border-radius: 4px;
            display: flex;
            align-items: center;
            transition: color 0.15s;
        }

        .btn-signout:hover {
            color: #f87171;
        }

        /* ===== HERO SECTION ===== */
        /* ===== AWSMD-INSPIRED HERO SECTION (Theme: Logo Blue #1F6BFF / #4C8DFF) ===== */
        .hero-section {
            position: relative;
            padding: 24px 24px 48px;
            text-align: center;
            max-width: 1280px;
            margin: 0 auto;
            width: 100%;
            z-index: 1;
            overflow: visible;
        }

        /* Ambient Blue Mesh & Gradients */
        .hero-ambient-mesh {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100vw;
            max-width: 1440px;
            height: 100%;
            pointer-events: none;
            z-index: -1;
            overflow: hidden;
        }

        .hero-blue-glow {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.65;
            pointer-events: none;
        }

        .hero-glow-center {
            top: -50px;
            left: 50%;
            transform: translateX(-50%);
            width: min(720px, 92vw);
            height: 400px;
            background: radial-gradient(circle, rgba(31, 107, 255, 0.32) 0%, rgba(14, 34, 64, 0.16) 55%, transparent 75%);
            animation: hero-glow-pulse 7s ease-in-out infinite alternate;
        }

        .hero-glow-left {
            top: 140px;
            left: -60px;
            width: 380px;
            height: 380px;
            background: radial-gradient(circle, rgba(76, 141, 255, 0.18) 0%, transparent 70%);
        }

        .hero-glow-right {
            top: 120px;
            right: -60px;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(31, 107, 255, 0.16) 0%, transparent 70%);
        }

        .hero-grid-pattern {
            position: absolute;
            inset: 0;
            background-image: 
                linear-gradient(rgba(31, 107, 255, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(31, 107, 255, 0.05) 1px, transparent 1px);
            background-size: 48px 48px;
            mask-image: radial-gradient(ellipse 65% 55% at 50% 30%, #000 60%, transparent 100%);
            -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 30%, #000 60%, transparent 100%);
            opacity: 0.85;
        }

        @keyframes hero-glow-pulse {
            0% { transform: translateX(-50%) scale(0.95); opacity: 0.55; }
            100% { transform: translateX(-50%) scale(1.08); opacity: 0.8; }
        }

        .hero-content-wrap {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        /* ── 2-COLUMN ABOVE-THE-FOLD STAGE ── */
        .hero-stage-split {
            display: grid;
            grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
            gap: 40px;
            align-items: center;
            text-align: left;
            margin-bottom: 44px;
            padding-top: 10px;
        }

        .hero-text-col {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            text-align: left;
        }

        /* Master Title */
        .hero-title {
            font-size: clamp(2.3rem, 4.3vw, 3.8rem);
            font-weight: 800;
            letter-spacing: -0.04em;
            line-height: 1.08;
            color: #ffffff;
            margin: 0 0 16px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 4px;
            text-align: left;
        }

        .hero-title-line {
            display: block;
        }

        .text-gradient-blue {
            background: linear-gradient(135deg, #ffffff 15%, #93c5fd 60%, #1F6BFF 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-title-accent {
            color: #ffffff;
            font-weight: 800;
        }

        .hero-title-subline {
            display: block;
            font-size: clamp(1.15rem, 2.2vw, 1.85rem);
            font-weight: 600;
            color: var(--primary);
            letter-spacing: -0.025em;
            margin-top: 4px;
        }

        /* Crisp Shortened Subtitle */
        .hero-subtitle {
            font-size: clamp(0.98rem, 1.4vw, 1.12rem);
            line-height: 1.6;
            color: #94a3b8;
            max-width: 580px;
            margin: 0 0 28px;
            font-weight: 400;
            text-align: left;
        }

        /* CTA Group */
        .hero-cta-group {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 16px;
            flex-wrap: wrap;
            margin-bottom: 0;
        }

        .btn-primary-hero {
            background: linear-gradient(135deg, #1d4ed8 0%, #1F6BFF 50%, #3b82f6 100%);
            color: #ffffff;
            font-size: 1.0rem;
            font-weight: 600;
            letter-spacing: -0.01em;
            padding: 15px 38px;
            min-height: 52px;
            border-radius: 999px;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 12px;
            box-shadow: 0 8px 24px -4px rgba(31, 107, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
            border: 1px solid rgba(255, 255, 255, 0.2);
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .btn-primary-hero:hover {
            transform: translateY(-2px);
            box-shadow: 0 14px 36px -4px rgba(31, 107, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.3);
            border-color: rgba(255, 255, 255, 0.35);
        }

        .btn-primary-hero:hover .icon {
            transform: translateX(3px);
        }

        .btn-primary-hero .icon {
            width: 17px;
            height: 17px;
            transition: transform 0.22s ease;
        }

        /* ── 3D HERO AVATAR SHOWCASE (Positioned on Right Column) ── */
        .hero-avatar-col {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
        }

        .hero-avatar-showcase {
            position: relative;
            max-width: 520px;
            width: 100%;
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .avatar-pedestal-glow {
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: min(480px, 90vw);
            height: 180px;
            border-radius: 50%;
            background: radial-gradient(ellipse at 50% 65%, rgba(31, 107, 255, 0.45) 0%, rgba(76, 141, 255, 0.15) 45%, transparent 70%);
            filter: blur(28px);
            pointer-events: none;
            z-index: 1;
        }

        .avatar-interactive-wrapper {
            position: relative;
            display: inline-block;
            z-index: 2;
            width: 100%;
        }

        .avatar-3d-bobbing {
            animation: hero-avatar-bob 5.5s ease-in-out infinite;
            will-change: transform;
            display: flex;
            justify-content: center;
        }

        @keyframes hero-avatar-bob {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .hero-3d-avatar-img {
            display: block;
            max-width: 100%;
            width: 100%;
            height: auto;
            filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.75));
            user-select: none;
            pointer-events: none;
        }

        /* Floating Frosted Glass Badges */
        .avatar-badge-float {
            position: absolute;
            background: rgba(11, 20, 38, 0.85);
            border: 1px solid rgba(76, 141, 255, 0.35);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-radius: 16px;
            box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(31, 107, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.1);
            z-index: 10;
            text-align: left;
            user-select: none;
            transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
        }

        /* Badge 1: 100+ Companies (Top Right, outside avatar frame) */
        .badge-companies {
            top: -12px;
            right: -12px;
            padding: 10px 16px;
            animation: badge-float-top 5s ease-in-out infinite alternate;
        }

        @keyframes badge-float-top {
            0% { transform: translateY(0) rotate(0deg); }
            100% { transform: translateY(-8px) rotate(1deg); }
        }

        .badge-comp-header {
            display: flex;
            align-items: center;
            gap: 7px;
            margin-bottom: 2px;
        }

        .badge-comp-number {
            font-size: 1.25rem;
            font-weight: 800;
            background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            line-height: 1.15;
            letter-spacing: -0.01em;
            text-shadow: 0 0 12px rgba(251, 191, 36, 0.4);
        }

        .badge-comp-label {
            font-size: 0.75rem;
            color: #94a3b8;
            font-weight: 500;
            letter-spacing: 0.02em;
        }

        .badge-companies:hover {
            border-color: #f59e0b !important;
            transform: scale(1.04) !important;
            box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(245, 158, 11, 0.35) !important;
        }

        /* Badge 2: Join Daily Contest (Bottom Left - Replaces placement claims) */
        .badge-contest-cta {
            bottom: 4%;
            left: -16px;
            padding: 12px 18px;
            cursor: pointer;
            animation: badge-float-bottom 6s ease-in-out infinite alternate;
            animation-delay: 1s;
        }

        @keyframes badge-float-bottom {
            0% { transform: translateY(0) rotate(0deg); }
            100% { transform: translateY(7px) rotate(-1deg); }
        }

        .badge-contest-cta:hover {
            border-color: #4C8DFF !important;
            transform: scale(1.04) !important;
            box-shadow: 0 20px 44px rgba(31, 107, 255, 0.35) !important;
        }

        .badge-contest-header {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 3px;
        }

        .badge-live-pulse {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #1F6BFF;
            box-shadow: 0 0 8px #4C8DFF;
            animation: blue-pulse 2s infinite;
        }

        .badge-contest-title {
            font-size: 0.86rem;
            font-weight: 800;
            color: #ffffff;
            letter-spacing: -0.01em;
        }

        .badge-contest-meta {
            font-size: 0.72rem;
            color: #94a3b8;
            margin-bottom: 6px;
        }

        .badge-contest-footer {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.75rem;
            color: #cbd5e1;
            padding-top: 6px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
        }

        .badge-contest-footer strong {
            color: #fbbf24;
            font-weight: 700;
        }

        .badge-arrow {
            color: #4C8DFF;
            margin-left: auto;
            font-weight: 700;
            font-size: 0.85rem;
        }

        @media (max-width: 960px) {
            .hero-stage-split {
                grid-template-columns: 1fr;
                gap: 36px;
                text-align: center;
                margin-bottom: 40px;
            }
            .hero-text-col {
                align-items: center;
                text-align: center;
            }
            .hero-title {
                align-items: center;
                text-align: center;
            }
            .hero-subtitle {
                text-align: center;
            }
            .hero-cta-group {
                justify-content: center;
            }
            .badge-companies {
                top: 2%;
                right: 0;
            }
            .badge-contest-cta {
                bottom: 2%;
                left: 0;
            }
        }

                .hero-services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            max-width: 1140px;
            margin: 0 auto 48px;
            text-align: left;
        }

        .service-card {
            background: rgba(14, 34, 64, 0.55);
            border: 1px solid rgba(76, 141, 255, 0.2);
            border-radius: 20px;
            padding: 26px 24px 22px;
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            cursor: pointer;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 230px;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, #4C8DFF, transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .service-card:hover {
            background: rgba(17, 42, 77, 0.85);
            border-color: rgba(76, 141, 255, 0.55);
            transform: translateY(-5px);
            box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 28px rgba(31, 107, 255, 0.25);
        }

        .service-card:hover::before {
            opacity: 1;
        }

        .service-card-featured {
            border-color: rgba(76, 141, 255, 0.38);
            background: rgba(17, 42, 77, 0.7);
        }

        .service-card-top {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 18px;
        }

        .service-icon-box {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: rgba(31, 107, 255, 0.16);
            border: 1px solid rgba(76, 141, 255, 0.3);
            color: #4C8DFF;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all 0.25s ease;
        }

        .service-card:hover .service-icon-box {
            background: #1F6BFF;
            border-color: #1F6BFF;
            color: #ffffff;
            transform: scale(1.05);
            box-shadow: 0 6px 18px rgba(31, 107, 255, 0.4);
        }

        .service-tag {
            font-size: 0.74rem;
            font-weight: 700;
            color: #94a3b8;
            text-transform: uppercase;
            letter-spacing: 0.06em;
        }

        .service-tag-featured {
            color: #4C8DFF;
        }

        .service-arrow {
            margin-left: auto;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: #94a3b8;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.25s ease;
        }

        .service-card:hover .service-arrow {
            background: #1F6BFF;
            border-color: #1F6BFF;
            color: #ffffff;
            transform: translateX(3px);
        }

        .service-card-title {
            font-size: 1.16rem;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: -0.015em;
            margin-bottom: 10px;
            line-height: 1.3;
        }

        .service-card-desc {
            font-size: 0.88rem;
            color: #94a3b8;
            line-height: 1.6;
            margin-bottom: 18px;
        }

        .service-card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: auto;
            padding-top: 12px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
        }

        .service-action-label {
            font-size: 0.8rem;
            font-weight: 600;
            color: #4C8DFF;
            letter-spacing: -0.01em;
        }

        .service-indicator-line {
            width: 20px;
            height: 2px;
            border-radius: 2px;
            background: rgba(76, 141, 255, 0.35);
            transition: width 0.3s ease, background 0.3s ease;
        }

        .service-card:hover .service-indicator-line {
            width: 36px;
            background: #4C8DFF;
        }

        /* AWSMD Minimalist Telemetry Strip */
        .hero-telemetry-strip {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
            padding: 12px 28px;
            border-radius: 999px;
            background: rgba(14, 34, 64, 0.45);
            border: 1px solid rgba(76, 141, 255, 0.18);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
            flex-wrap: wrap;
        }

        .telemetry-stat-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.84rem;
        }

        .stat-bullet {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #4C8DFF;
            box-shadow: 0 0 6px #4C8DFF;
        }

        .stat-highlight {
            color: #ffffff;
            font-weight: 700;
        }

        .stat-detail {
            color: #94a3b8;
            font-weight: 500;
        }

        .telemetry-stat-sep {
            color: rgba(76, 141, 255, 0.3);
            font-weight: 300;
        }

        /* ===== FLOATING TELEMETRY BADGES (FLANKING SHOWCASE) ===== */
        .showcase-container-outer {
            position: relative;
            max-width: 1040px;
            margin: 0 auto;
        }

        .telemetry-badge {
            position: absolute;
            background: rgba(14, 34, 64, 0.9);
            border: 1px solid rgba(76, 141, 255, 0.35);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            padding: 10px 14px;
            border-radius: var(--radius-md);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
            z-index: 10;
            text-align: left;
            display: flex;
            align-items: center;
            gap: 10px;
            animation: float 4s ease-in-out infinite;
        }

        .telemetry-badge-left {
            top: -20px;
            left: -16px;
        }

        .telemetry-badge-right {
            bottom: -16px;
            right: -16px;
            animation-delay: 2s;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-8px); }
        }

        .telemetry-icon-box {
            width: 32px;
            height: 32px;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .telemetry-icon-box.green {
            background: rgba(16, 185, 129, 0.15);
            border: 1px solid rgba(16, 185, 129, 0.3);
            color: var(--success);
        }

        .telemetry-icon-box.cyan {
            background: rgba(31, 107, 255, 0.2);
            border: 1px solid rgba(76, 141, 255, 0.4);
            color: #4C8DFF;
        }

        .telemetry-meta {
            display: flex;
            flex-direction: column;
            line-height: 1.25;
        }

        .telemetry-title {
            font-size: 0.78rem;
            font-weight: 700;
            color: #ffffff;
        }

        .telemetry-sub {
            font-size: 0.68rem;
            color: var(--text-secondary);
        }

        /* ===== SHOWCASE MOCKUP (Dribbble Inspired) ===== */
        .showcase-wrapper {
            position: relative;
            max-width: 960px;
            margin: 0 auto;
            border-radius: var(--radius-xl);
            background: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(13, 20, 36, 0.95) 100%);
            border: 1px solid var(--border-highlight);
            padding: 8px;
            box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(37, 99, 235, 0.15);
        }

        .showcase-inner {
            background: #090e1a;
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-subtle);
            overflow: hidden;
            padding: 24px;
            display: flex;
            flex-direction: column;
            gap: 16px;
            text-align: left;
        }

        .mockup-header-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-bottom: 14px;
            border-bottom: 1px solid var(--border-subtle);
        }

        .window-dots {
            display: flex;
            gap: 6px;
        }

        .window-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #334155;
        }

        .window-dot:nth-child(1) {
            background: #ef4444;
        }

        .window-dot:nth-child(2) {
            background: #f59e0b;
        }

        .window-dot:nth-child(3) {
            background: #10b981;
        }

        .mockup-badge {
            font-size: 0.72rem;
            font-weight: 600;
            color: var(--accent);
            background: rgba(56, 189, 248, 0.1);
            padding: 4px 12px;
            border-radius: 20px;
            border: 1px solid rgba(56, 189, 248, 0.25);
        }

        .showcase-dialogue {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .demo-bubble-user {
            align-self: flex-end;
            background: var(--primary);
            color: #fff;
            padding: 10px 16px;
            border-radius: 16px 16px 4px 16px;
            font-size: 0.85rem;
            max-width: 75%;
        }

        .demo-bubble-bot {
            align-self: flex-start;
            background: var(--bg-card);
            border: 1px solid var(--border-subtle);
            padding: 14px 18px;
            border-radius: 16px 16px 16px 4px;
            font-size: 0.86rem;
            line-height: 1.5;
            max-width: 90%;
        }

        .demo-cards-mini {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            margin-top: 10px;
        }

        .mini-job-card {
            background: rgba(7, 12, 24, 0.8);
            border: 1px solid var(--border-highlight);
            padding: 10px 12px;
            border-radius: var(--radius-sm);
        }

        .mini-job-title {
            font-size: 0.82rem;
            font-weight: 700;
            color: #fff;
        }

        .mini-job-meta {
            font-size: 0.72rem;
            color: var(--text-secondary);
            margin: 3px 0 6px;
        }

        .mini-salary {
            font-size: 0.7rem;
            color: #facc15;
            font-weight: 600;
        }

        /* ===== HOW IT WORKS SECTION ===== */
        #how_it_works.how {
            min-height: 0;
            display: block;
            padding: 96px 24px;
            max-width: 1080px;
            margin: 0 auto;
            text-align: left;
            scroll-snap-align: none;
            scroll-margin-top: 84px !important;
            position: relative;
            z-index: 1;
        }

        .how-head {
            margin-bottom: 40px;
            text-align: left;
        }

        .how-head h2 {
            font-size: 2rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            color: #ffffff;
            margin: 0 0 12px;
        }

        .how-head p {
            font-size: 0.95rem;
            color: var(--text-secondary);
            max-width: 100%;
            margin: 0;
            line-height: 1.6;
        }

        @media (min-width: 900px) {
            .how-head p {
                white-space: nowrap;
            }
        }

        .how-grid {
            display: grid;
            grid-template-columns: 1fr auto 1.15fr auto 0.9fr;
            gap: 16px;
            align-items: stretch;
        }

        .how-arrow:nth-of-type(1) {
            grid-column: 2;
        }

        .how-arrow:nth-of-type(2) {
            grid-column: 4;
        }

        .how-card {
            padding: 24px;
            border: 1px solid rgba(59, 130, 246, 0.25) !important;
            border-radius: 14px !important;
            background: var(--bg-surface) !important;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.3) !important;
            display: flex;
            flex-direction: column;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }

        .how-card:hover {
            border-color: rgba(59, 130, 246, 0.45) !important;
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 12px rgba(31, 107, 255, 0.15) !important;
        }

        .how-card-subtext {
            display: block;
            font-size: 13px;
            font-weight: 400;
            color: var(--text-secondary);
            margin-top: 3px;
        }

        .how-card h3 {
            font-size: 1.15rem;
            font-weight: 700;
            color: #ffffff;
            margin: 0 0 16px;
        }

        .how-card-top-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            margin-bottom: 16px;
            flex-wrap: wrap;
        }

        .how-card-top-bar h3 {
            margin: 0;
        }

        /* ── Column 3 Action Card & Character Illustration ── */
        .how-action-card {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            background: linear-gradient(180deg, rgba(30, 58, 138, 0.25) 0%, rgba(15, 23, 42, 0.6) 100%) !important;
            border: 1px solid rgba(59, 130, 246, 0.45) !important;
            position: relative;
            overflow: hidden;
        }

        .how-character-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            width: 100%;
        }

        .how-character-illustration {
            width: 130px;
            height: 135px;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: characterFloat 3s ease-in-out infinite;
        }

        @keyframes characterFloat {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-6px); }
        }

        .character-guide-svg {
            width: 100%;
            height: 100%;
            filter: drop-shadow(0 8px 20px rgba(59, 130, 246, 0.3));
        }

        .tablet-glow-rect {
            animation: tabletPulse 2.5s ease-in-out infinite alternate;
        }

        @keyframes tabletPulse {
            0% { stroke: #60a5fa; filter: drop-shadow(0 0 4px rgba(96, 165, 250, 0.4)); }
            100% { stroke: #38bdf8; filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.8)); }
        }

        .pulse-point {
            animation: pointPulse 1.2s ease-in-out infinite alternate;
        }

        @keyframes pointPulse {
            0% { transform: scale(0.9); opacity: 0.7; }
            100% { transform: scale(1.2); opacity: 1; }
        }

        .how-action-prompt {
            display: flex;
            flex-direction: column;
            gap: 6px;
            align-items: center;
        }

        .how-action-tag {
            font-size: 11px;
            font-weight: 700;
            color: #60a5fa;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .how-action-title {
            font-size: 1.15rem;
            font-weight: 700;
            color: #ffffff;
            margin: 0;
        }

        .how-action-desc {
            font-size: 13px;
            color: var(--text-secondary);
            line-height: 1.4;
            margin: 0;
            max-width: 260px;
        }

        .btn-find-jobs-standalone {
            width: 100%;
            max-width: 250px;
            padding: 13px 22px;
            font-size: 0.98rem;
            margin-top: 4px;
            box-shadow: 0 8px 24px rgba(31, 107, 255, 0.5) !important;
        }

        .how-action-sub {
            font-size: 11.5px;
            color: #94a3b8;
            margin-top: 2px;
        }

        /* ── Left Card: You tell us ── */
        .how-input dl {
            display: flex;
            flex-direction: column;
            margin: 0;
            padding: 0;
            flex: 1;
        }

        .how-input-row {
            display: flex;
            gap: 16px;
            align-items: center;
            padding: 16px 0;
            border-bottom: 1px solid var(--border-subtle);
            flex: 1;
        }

        .how-input-row:last-child {
            border-bottom: none;
        }

        .how-icon-tile {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            background: var(--bg-card);
            border: 1px solid var(--border-subtle);
            display: grid;
            place-items: center;
            flex-shrink: 0;
            color: var(--accent);
        }

        .how-icon-tile svg {
            width: 18px;
            height: 18px;
        }

        .how-input-content {
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 4px;
            flex: 1;
        }

        .how-input-content dt {
            font-size: 13px;
            font-weight: 500;
            color: var(--text-secondary);
            margin: 0;
        }

        .how-input-content dd.how-val {
            font-size: 20px;
            font-weight: 600;
            color: #ffffff;
            margin: 0;
        }

        .how-input-content dd.how-reason {
            font-size: 14px;
            font-weight: 400;
            color: var(--text-secondary);
            margin: 0;
        }

        /* ── Chips ── */
        .how-chips,
        .how-role-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .how-chip {
            display: inline-flex;
            align-items: center;
            font-size: 13px;
            padding: 4px 10px;
            border-radius: 6px;
            border: 1px solid var(--border-subtle);
            background: var(--bg-card);
            color: #e2e8f0;
            line-height: 1.4;
        }

        /* ── Arrow Badge ── */
        .how-arrow {
            grid-column: 2;
            align-self: center;
            display: flex;
            justify-content: center;
            align-items: center;
            user-select: none;
        }

        .how-arrow-badge {
            width: 44px;
            height: 44px;
            border-radius: 999px;
            border: 1px solid var(--border-subtle);
            background: var(--bg-card);
            display: grid;
            place-items: center;
            color: var(--accent);
        }

        /* ── Right Card: You get ── */
        .how-label {
            font-size: 14px;
            font-weight: 600;
            color: #ffffff;
            margin: 16px 0 12px;
        }

        .how-label:first-of-type {
            margin-top: 0;
        }

        .how-roles {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .how-role-card {
            width: 100%;
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 12px 16px;
            border: 1px solid var(--border-subtle);
            border-radius: 8px;
            background: var(--bg-card);
            color: inherit;
            text-align: left;
            cursor: default;
            user-select: text;
        }

        .how-role-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 8px;
            min-width: 0;
        }

        .how-role-header {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            gap: 12px;
            flex-wrap: wrap;
        }

        .how-role-title {
            font-size: 16px;
            font-weight: 600;
            color: #ffffff;
        }

        .how-role-meta {
            font-size: 14px;
            color: var(--text-secondary);
        }

        

        /* ── Horizontal 3-Step Roadmap Strip ── */
        .how-roadmap {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            align-items: flex-start;
            gap: 8px;
        }

        .how-roadmap > li:not(.how-step-connector) {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            flex: 1;
            gap: 8px;
        }

        .how-step-dot {
            width: 28px;
            height: 28px;
            border-radius: 999px;
            background: var(--primary);
            color: #ffffff;
            font-size: 13px;
            font-weight: 700;
            display: grid;
            place-items: center;
            flex-shrink: 0;
        }

        .how-step-content {
            display: flex;
            flex-direction: column;
            gap: 4px;
            white-space: nowrap;
        }

        .how-step-week {
            font-size: 13px;
            font-weight: 600;
            color: #ffffff;
            white-space: nowrap;
            overflow-wrap: normal;
            word-break: keep-all;
        }

        .how-step-desc {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.4;
            white-space: nowrap;
            overflow-wrap: normal;
            word-break: keep-all;
        }

        .how-step-connector {
            flex: 1;
            height: 2px;
            background: var(--border-subtle);
            margin-top: 13px;
        }

        .how-note {
            font-size: 13px;
            color: var(--text-secondary);
            margin: 16px 0 0;
        }

        /* ── Section CTA (Button styling inherited from .btn-primary-hero) ── */
        .how-cta {
            margin-top: 40px;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .btn-how-bottom-cta {
            padding: 16px 44px;
            font-size: 1.05rem;
            box-shadow: 0 10px 30px rgba(31, 107, 255, 0.45);
        }

        /* Global Section Scroll Settings - Aligned with sticky navbar */
        section[id],
        #how_it_works,
        #ai_race,
        #about_section {
            scroll-margin-top: 84px !important;
            scroll-snap-align: none !important;
        }

        html {
            scroll-snap-type: none !important;
            scroll-behavior: smooth !important;
        }

        #ai_race {
            min-height: calc(100dvh - var(--header-height));
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            z-index: 1;
        }

        #about_section {
            display: block !important;
            min-height: auto !important;
            position: relative;
            z-index: 1;
            scroll-margin-top: 84px !important;
        }

        /* ===== DESKTOP 1-VIEWPORT FIT ===== */
        @media (min-width: 1025px) {
            #how_it_works.how {
                min-height: calc(100dvh - var(--header-height));
                display: flex;
                flex-direction: column;
                justify-content: center;
                padding: 40px 24px;
                scroll-margin-top: 84px !important;
            }

            .ai-race-section {
                margin: 0 auto;
                padding: 0 24px;
            }

            .race-arena-container {
                padding: 36px 40px;
            }

            .about-section {
                padding: 36px 24px 64px;
                margin: 0 auto;
            }
        }

        /* ── Responsive Breakpoints ── */
        @media (max-width: 1024px) {
            .how-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .how-arrow {
                grid-column: 1 !important;
                justify-self: center;
                transform: rotate(90deg);
                margin: -4px 0;
            }

            .how-action-card {
                padding: 32px 24px;
            }
        }

        @media (max-width: 768px) {
            .how-head {
                text-align: center;
            }

            .how-head p {
                margin: 0 auto;
            }

            .how-grid {
                grid-template-columns: 1fr;
                gap: 18px;
            }

            .how-arrow {
                grid-column: 1 !important;
                justify-self: center;
                transform: rotate(90deg);
                margin: -6px 0;
            }

            .how-role-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 4px;
            }

            .how-roadmap {
                flex-direction: column;
                align-items: stretch;
                gap: 0;
            }

            .how-roadmap > li:not(.how-step-connector) {
                flex-direction: row;
                align-items: flex-start;
                text-align: left;
                gap: 16px;
                padding: 8px 0;
            }

            .how-step-connector {
                width: 2px;
                height: 24px;
                flex: none;
                margin: 0 0 0 13px;
            }
        }
                gap: 16px;
                padding: 8px 0;
            }

            .how-step-connector {
                width: 2px;
                height: 24px;
                flex: none;
                margin: 0 0 0 13px;
            }
        }

        @media (max-width: 400px) {
            #how_it_works.how {
                padding: 64px 16px;
            }

            .how-input-content dd.how-val {
                font-size: 18px;
            }
        }

        /* ===== AI RACE ARENA REDESIGN (Strict Electric Blue Theme) ===== */
        .ai-race-section {
            max-width: 1240px;
            margin: 72px auto;
            padding: 0 24px;
        }

        .race-arena-container {
            background: rgba(10, 18, 36, 0.7);
            border: 1px solid rgba(76, 141, 255, 0.22);
            border-radius: 24px;
            padding: 48px 40px;
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
            position: relative;
            overflow: hidden;
        }

        .race-arena-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 20%;
            right: 20%;
            height: 2px;
            background: linear-gradient(90deg, transparent, #1F6BFF 50%, transparent);
        }

        .race-arena-2col {
            display: grid;
            grid-template-columns: 1.15fr 0.85fr;
            gap: 44px;
            align-items: center;
            text-align: left;
        }

        .race-arena-2col .race-arena-header {
            margin-bottom: 0;
        }

        @media (max-width: 960px) {
            .race-arena-2col {
                grid-template-columns: 1fr;
                gap: 32px;
            }
        }

        /* Briefing Header */
        .race-arena-header {
            margin-bottom: 24px;
            text-align: left;
        }

        .race-live-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 14px;
            border-radius: 999px;
            background: rgba(31, 107, 255, 0.15);
            border: 1px solid rgba(76, 141, 255, 0.35);
            color: #60a5fa;
            font-size: 0.74rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            margin-bottom: 14px;
        }

        .race-live-tag .pulse-indicator {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #1F6BFF;
            box-shadow: 0 0 8px #4C8DFF;
            animation: blue-pulse 2s infinite;
        }

        .race-arena-title {
            font-size: clamp(2.1rem, 4.2vw, 3.2rem);
            font-weight: 800;
            letter-spacing: -0.04em;
            color: #ffffff;
            margin: 0 0 12px;
            line-height: 1.12;
        }

        .race-arena-copy {
            max-width: 680px;
            color: #94a3b8;
            font-size: 1.02rem;
            line-height: 1.6;
            margin: 0 0 22px;
        }

        .race-spec-row {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            margin-bottom: 26px;
        }

        .race-spec-pill {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            padding: 6px 12px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: #cbd5e1;
            font-size: 0.8rem;
            font-weight: 500;
        }

        .race-spec-pill svg {
            color: #4C8DFF;
        }

        .race-actions-row {
            display: flex;
            align-items: center;
            gap: 14px;
            flex-wrap: wrap;
        }

        .btn-race-start {
            min-width: 160px;
        }

        .btn-race-standings {
            min-height: 48px;
            padding: 12px 22px;
            font-size: 0.9rem;
            background: rgba(14, 34, 64, 0.7);
            border: 1px solid rgba(76, 141, 255, 0.35);
            color: #cbd5e1;
            border-radius: 999px;
            cursor: pointer;
            transition: all 0.25s ease;
        }

        .btn-race-standings:hover {
            border-color: #4C8DFF;
            color: #ffffff;
            background: rgba(31, 107, 255, 0.16);
            transform: translateY(-2px);
        }

        .race-seat-label {
            color: #94a3b8;
            font-size: 0.82rem;
            font-weight: 500;
        }

        /* Arena Rules Grid */
        .race-arena-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 24px;
            align-items: stretch;
            text-align: left;
            max-width: 860px;
            margin: 0 auto;
        }

        .race-arena-grid.single-col {
            grid-template-columns: 1fr;
        }

        /* 1. Champion Podium Card */
        .champion-spotlight-card {
            background: linear-gradient(135deg, rgba(14, 34, 64, 0.8) 0%, rgba(9, 18, 36, 0.9) 100%);
            border: 1px solid rgba(76, 141, 255, 0.32);
            border-radius: 20px;
            padding: 28px;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
        }

        .champion-card-glow {
            position: absolute;
            top: -20px;
            right: -20px;
            width: 180px;
            height: 180px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(31, 107, 255, 0.25) 0%, transparent 70%);
            filter: blur(25px);
            pointer-events: none;
        }

        .champion-card-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding-bottom: 16px;
            border-bottom: 1px solid rgba(76, 141, 255, 0.18);
            margin-bottom: 20px;
        }

        .champion-badge-pill {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: #93c5fd;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

        .champ-crown {
            font-size: 0.85rem;
        }

        .champion-date-tag {
            color: #94a3b8;
            font-size: 0.72rem;
            font-weight: 600;
        }

        .champion-main-info {
            display: flex;
            align-items: center;
            gap: 18px;
            margin-bottom: 24px;
        }

        .champion-avatar-box {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: linear-gradient(135deg, #1d4ed8 0%, #1F6BFF 100%);
            border: 2px solid rgba(255, 255, 255, 0.25);
            box-shadow: 0 0 20px rgba(31, 107, 255, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 900;
            color: #ffffff;
            flex-shrink: 0;
        }

        .champion-name {
            font-size: clamp(1.2rem, 2.2vw, 1.55rem);
            font-weight: 800;
            color: #ffffff;
            margin: 0 0 4px;
            line-height: 1.2;
            letter-spacing: -0.015em;
        }

        .champion-subtext {
            color: #94a3b8;
            font-size: 0.84rem;
            margin: 0;
        }

        .champion-stats-grid {
            display: flex;
            align-items: center;
            background: rgba(6, 11, 22, 0.6);
            border: 1px solid rgba(76, 141, 255, 0.18);
            border-radius: 12px;
            padding: 12px 20px;
            margin-bottom: 20px;
        }

        .champ-stat-box {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .champ-stat-lbl {
            font-size: 0.7rem;
            color: #94a3b8;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            font-weight: 600;
        }

        .champ-stat-val {
            font-size: 1.18rem;
            font-weight: 800;
            color: #ffffff;
        }

        .champ-stat-divider {
            width: 1px;
            height: 32px;
            background: rgba(76, 141, 255, 0.2);
            margin: 0 16px;
        }

        .champion-card-footer {
            padding-top: 14px;
            border-top: 1px solid rgba(76, 141, 255, 0.14);
        }

        .champ-footer-note {
            font-size: 0.74rem;
            color: #64748b;
            font-weight: 500;
            line-height: 1.4;
        }

        /* 2. Tournament Rules Card */
        .arena-rules-card {
            background: rgba(14, 34, 64, 0.55);
            border: 1px solid rgba(76, 141, 255, 0.2);
            border-radius: 20px;
            padding: 28px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .rules-card-title {
            font-size: 1.05rem;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: -0.01em;
            margin: 0 0 18px;
            padding-bottom: 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .arena-rules-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 16px;
            margin: 0;
            padding: 0;
        }

        .arena-rules-list li {
            display: flex;
            align-items: flex-start;
            gap: 14px;
        }

        .rule-index {
            font-size: 0.72rem;
            font-weight: 800;
            color: #4C8DFF;
            background: rgba(31, 107, 255, 0.16);
            border: 1px solid rgba(76, 141, 255, 0.3);
            border-radius: 6px;
            padding: 2px 7px;
            margin-top: 2px;
            flex-shrink: 0;
        }

        .rule-body strong {
            display: block;
            font-size: 0.88rem;
            color: #f1f5f9;
            font-weight: 600;
            margin-bottom: 2px;
        }

        .rule-body p {
            font-size: 0.82rem;
            color: #94a3b8;
            line-height: 1.45;
            margin: 0;
        }

        @media (max-width: 900px) {
            .race-arena-grid { grid-template-columns: 1fr; gap: 20px; }
            .race-arena-container { padding: 32px 24px; }
        }

        @media (max-width: 640px) {
            .ai-race-section { margin: 48px auto; padding: 0 14px; }
            .race-arena-container { padding: 24px 18px; }
            .race-actions-row { flex-direction: column; width: 100%; align-items: stretch; }
            .btn-race-start, .btn-race-standings { width: 100%; justify-content: center; }
            .badge-companies { top: -10px; right: -10px; padding: 8px 12px; }
            .badge-companies .badge-comp-number { font-size: 1.05rem; }
            .badge-reviews { bottom: 4%; left: -6px; padding: 8px 12px; }
        }

        /* ===== BRAND TOKENS & LINEAR/NOTION-INSPIRED CONSULTATION WORKSPACE ===== */
        :root {
            --consult-bg: #090D16;
            --consult-sidebar-bg: #0B111D;
            --consult-surface: #0E1626;
            --consult-surface-hover: #131E33;
            --consult-surface-raised: #111A2D;
            --consult-border: rgba(255, 255, 255, 0.08);
            --consult-border-subtle: rgba(255, 255, 255, 0.05);
            --consult-border-hover: rgba(76, 141, 255, 0.35);
            --consult-divider: rgba(255, 255, 255, 0.06);
            --consult-text: #F1F5F9;
            --consult-text-secondary: #CBD5E1;
            --consult-muted: #8492A6;
            --consult-faint: #475569;
            --consult-accent-text: #60A5FA;
            --consult-accent-fill: #1F6BFF;
            --consult-accent-subtle: rgba(31, 107, 255, 0.12);
            --consult-accent-glow: rgba(31, 107, 255, 0.22);
            --consult-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            --radius-sm: 6px;
            --radius-md: 10px;
            --radius-lg: 14px;
            --radius-pill: 999px;
            --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.25);
            --shadow-panel: 0 12px 32px rgba(0, 0, 0, 0.35);
        }

        .workspace-section-container {
            max-width: 100%;
            margin: 0;
            padding: 0;
            width: 100%;
        }

        /* 3-Column SaaS Layout: 210px Left Nav | 1fr Center Conversation | 290px Context Rail */
        .workspace-frame {
            font-family: var(--consult-font);
            background: var(--consult-bg);
            color: var(--consult-text);
            display: grid;
            grid-template-columns: 210px 1fr 290px;
            height: 100vh;
            min-height: 0;
            max-height: 100vh;
            width: 100%;
            border-radius: 0;
            border: none;
            overflow: hidden;
            box-shadow: none;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* 1. LEFT RAIL (Linear/Notion Sidebar Style) */
        .frame-sidebar {
            background: var(--consult-sidebar-bg);
            border-right: 1px solid var(--consult-border-subtle);
            padding: 20px 16px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            height: 100%;
            overflow: hidden;
            box-sizing: border-box;
        }

        .rail-header-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 4px;
        }

        .rail-brand-wordmark {
            font-size: 17px;
            letter-spacing: -0.02em;
            color: var(--consult-text);
            user-select: none;
            line-height: 1.2;
            text-decoration: none;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 1px;
        }

        .wm-hire { font-weight: 700; color: #FFFFFF; }
        .wm-krke { font-weight: 300; color: #94A3B8; }
        .wm-d { font-weight: 800; color: #3B82F6; }
        .wm-ekho { font-weight: 500; color: #E2E8F0; }

        .btn-new-consultation {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            background: var(--consult-surface);
            color: var(--consult-text);
            border: 1px solid var(--consult-border);
            border-radius: var(--radius-md);
            padding: 9px 12px;
            font-family: var(--consult-font);
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            box-sizing: border-box;
            transition: all 150ms cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: var(--shadow-subtle);
        }

        .btn-new-consultation:hover {
            border-color: var(--consult-border-hover);
            background: var(--consult-surface-hover);
            transform: translateY(-0.5px);
        }

        .btn-new-consultation:focus-visible {
            outline: none;
            border-color: var(--consult-accent-fill);
            box-shadow: 0 0 0 2px var(--consult-accent-subtle);
        }

        .btn-new-consultation .icon-plus {
            color: var(--consult-accent-text);
            width: 15px;
            height: 15px;
        }

        .rail-consultations-section {
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 0;
            overflow: hidden;
        }

        .rail-section-label {
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--consult-muted);
            margin: 0 6px 10px;
        }

        .sessions-scroll-area {
            overflow-y: auto;
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 2px;
            min-height: 0;
            padding-right: 2px;
        }

        .sessions-scroll-area::-webkit-scrollbar {
            width: 4px;
        }

        .sessions-scroll-area::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
        }

        .session-empty-text {
            font-size: 12px;
            color: var(--consult-faint);
            line-height: 1.5;
            padding: 8px 6px;
        }

        .session-card {
            padding: 7px 10px;
            background: transparent;
            border: 1px solid transparent;
            border-radius: var(--radius-sm);
            font-size: 13px;
            color: var(--consult-muted);
            cursor: pointer;
            transition: all 120ms ease;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            text-align: left;
        }

        .session-card:hover {
            background: rgba(255, 255, 255, 0.04);
            color: var(--consult-text);
        }

        .session-card.active {
            background: var(--consult-surface);
            color: var(--consult-text);
            border-color: var(--consult-border);
            font-weight: 500;
        }

        .rail-profile-card {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 10px;
            background: transparent;
            border: 1px solid transparent;
            border-radius: var(--radius-md);
            cursor: pointer;
            transition: all 140ms ease;
            margin-top: auto;
        }

        .rail-profile-card:hover {
            background: var(--consult-surface);
            border-color: var(--consult-border);
        }

        .rail-profile-card:focus-visible {
            outline: none;
            box-shadow: 0 0 0 2px var(--consult-accent-fill);
        }

        .profile-avatar-circle {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: linear-gradient(135deg, #1F6BFF 0%, #3B82F6 100%);
            color: #ffffff;
            font-size: 12px;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            letter-spacing: -0.02em;
        }

        .profile-info-block {
            display: flex;
            flex-direction: column;
            min-width: 0;
            overflow: hidden;
        }

        .profile-user-name {
            font-size: 13px;
            font-weight: 600;
            color: var(--consult-text);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.25;
        }

        .profile-synced-label {
            font-size: 11px;
            color: var(--consult-faint);
            line-height: 1.2;
            margin-top: 1px;
        }

        /* 2. CENTER COLUMN */
        .frame-main {
            background: var(--consult-bg);
            display: flex;
            flex-direction: column;
            height: 100%;
            min-height: 0;
            overflow: hidden;
            position: relative;
        }

        .center-chat-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 28px;
            border-bottom: 1px solid var(--consult-divider);
            flex-shrink: 0;
            background: var(--consult-bg);
        }

        .bot-header-group {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .hk-bot-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: transparent;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            overflow: hidden;
            box-shadow: none;
        }

        .bot-logo-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
            display: block;
        }

        .header-guidance-title {
            font-size: 14px;
            font-weight: 600;
            color: var(--consult-text);
            margin: 0;
            letter-spacing: -0.01em;
        }

        .ghost-close-btn {
            width: 32px;
            height: 32px;
            border-radius: var(--radius-sm);
            background: transparent;
            border: 1px solid transparent;
            color: var(--consult-muted);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 120ms ease;
            box-sizing: border-box;
        }

        .ghost-close-btn:hover {
            border-color: var(--consult-border);
            background: var(--consult-surface);
            color: var(--consult-text);
        }

        .ghost-close-btn:focus-visible {
            outline: none;
            box-shadow: 0 0 0 2px var(--consult-accent-fill);
        }

        /* Center Body Scrollable */
        .center-body-scroll {
            flex: 1;
            min-height: 0;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            scroll-behavior: smooth;
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* IE/Edge */
        }

        .center-body-scroll::-webkit-scrollbar {
            display: none;
            width: 0;
            height: 0;
        }

        /* 3. CENTER BODY: EMPTY STATE (Editorial, clean, generous whitespace) */
        .center-empty-hero {
            width: 100%;
            max-width: 760px;
            padding: 56px 28px 24px;
            display: flex;
            flex-direction: column;
            box-sizing: border-box;
        }

        .center-empty-hero.hero-hidden {
            display: none;
        }

        .empty-hero-eyebrow {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--consult-accent-text);
            margin-bottom: 12px;
        }

        .empty-hero-heading {
            font-size: 32px;
            line-height: 1.2;
            letter-spacing: -0.03em;
            color: var(--consult-text);
            margin: 0 0 12px;
            display: flex;
            flex-direction: column;
        }

        .heading-line-light {
            font-weight: 400;
            color: #94A3B8;
        }

        .heading-line-bold {
            font-weight: 700;
            color: #FFFFFF;
        }

        .empty-hero-desc {
            font-size: 14.5px;
            line-height: 1.6;
            color: var(--consult-muted);
            max-width: 580px;
            margin: 0 0 32px;
            text-align: left;
        }

        /* Starter Prompts 2x2 Grid (Flat, subtle, hover-lift) */
        .starter-prompts-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            width: 100%;
        }

        .starter-prompt-card {
            background: var(--consult-surface);
            border: 1px solid var(--consult-border);
            border-radius: var(--radius-md);
            padding: 14px 16px;
            text-align: left;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            gap: 3px;
            font-family: var(--consult-font);
            transition: all 140ms ease;
            box-sizing: border-box;
        }

        .starter-prompt-card:hover {
            border-color: var(--consult-border-hover);
            background: var(--consult-surface-hover);
            transform: translateY(-1px);
        }

        .starter-prompt-card:focus-visible {
            outline: none;
            border-color: var(--consult-accent-fill);
            box-shadow: 0 0 0 2px var(--consult-accent-subtle);
        }

        .prompt-card-title {
            font-size: 13.5px;
            font-weight: 600;
            color: var(--consult-text);
            line-height: 1.35;
        }

        .prompt-card-sub {
            font-size: 12px;
            color: var(--consult-muted);
            line-height: 1.4;
        }

        /* 4. ACTIVE CONVERSATION THREAD (Linear-style clean stream) */
        .messages-container {
            width: 100%;
            max-width: 820px;
            padding: 28px 24px;
            display: flex;
            flex-direction: column;
            gap: 28px;
            box-sizing: border-box;
        }

        .message-row {
            display: flex;
            width: 100%;
        }

        .message-row.assistant {
            gap: 14px;
            align-items: flex-start;
        }

        .message-row.assistant .hk-bot-avatar {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: transparent;
            border: none;
            margin-top: 2px;
        }

        .message-row.user {
            justify-content: flex-end;
            padding-left: 48px;
        }

        /* Compact, refined user message bubble (Not oversized or generic) */
        .msg-bubble-user {
            background: #1E293B;
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #F8FAFC;
            font-size: 14px;
            line-height: 1.55;
            padding: 10px 16px;
            border-radius: 12px 12px 2px 12px;
            max-width: 80%;
            word-break: break-word;
            box-shadow: var(--shadow-subtle);
        }

        .msg-body-wrapper {
            flex: 1;
            min-width: 0;
        }

        /* Seamless assistant message container (No double cards) */
        .msg-card-assistant {
            background: transparent;
            border: none;
            padding: 0;
            color: var(--consult-text);
        }

        .msg-assistant-meta {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 6px;
        }

        .assistant-name {
            font-size: 13px;
            font-weight: 700;
            color: #FFFFFF;
        }

        .assistant-tag {
            font-size: 10.5px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--consult-accent-text);
            background: var(--consult-accent-subtle);
            border: 1px solid rgba(76, 141, 255, 0.2);
            padding: 1px 6px;
            border-radius: 4px;
        }

        .msg-text-main {
            font-size: 14.5px;
            line-height: 1.7;
            color: var(--consult-text-secondary);
        }

        .daily-limit-text {
            color: #F87171 !important;
            font-style: italic !important;
            letter-spacing: 0.01em;
            opacity: 0.95;
        }

        /* Typing indicator */
        .typing-loader {
            display: flex;
            align-items: center;
            gap: 5px;
            padding: 6px 0;
        }

        .typing-loader span {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--consult-muted);
            animation: pulseDot 1.4s infinite ease-in-out;
        }

        .typing-loader span:nth-child(2) { animation-delay: 0.2s; }
        .typing-loader span:nth-child(3) { animation-delay: 0.4s; }

        /* RECOMMENDATIONS: Dedicated Section & Cards */
        .open-jobs-section {
            margin-top: 24px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            padding-top: 18px;
            border-top: 1px solid var(--consult-divider);
        }

        .jobs-section-heading {
            font-size: 11.5px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--consult-muted);
        }

        /* Job Cards Grid */
        .job-cards-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }

        /* Premium Professional Job Card (Linear/Notion-inspired) */
        .job-card {
            background: var(--consult-surface);
            border: 1px solid var(--consult-border);
            border-radius: var(--radius-md);
            padding: 16px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: all 160ms cubic-bezier(0.16, 1, 0.3, 1);
            position: relative;
        }

        .job-card:hover {
            border-color: var(--consult-border-hover);
            background: var(--consult-surface-raised);
            transform: translateY(-1.5px);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
        }

        .job-card-body {
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .job-card-top {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 8px;
            margin-bottom: 6px;
        }

        .job-role-title {
            font-size: 14.5px;
            font-weight: 700;
            color: #FFFFFF;
            line-height: 1.35;
            letter-spacing: -0.01em;
        }

        .job-type-tag {
            display: none !important;
        }

        .job-company-meta {
            font-size: 12px;
            color: var(--consult-muted);
            margin-bottom: 8px;
            font-weight: 500;
        }

        .job-salary-tag {
            display: inline-flex;
            align-items: center;
            white-space: nowrap !important;
            word-break: keep-all !important;
            flex-shrink: 0;
            font-size: 11.5px;
            font-weight: 700;
            color: #60A5FA;
            background: rgba(31, 107, 255, 0.1);
            border: 1px solid rgba(76, 141, 255, 0.22);
            padding: 3px 8px;
            border-radius: 5px;
            margin-bottom: 8px;
            align-self: flex-start;
        }

        .job-desc-snippet {
            font-size: 12.5px;
            color: var(--consult-muted);
            line-height: 1.5;
            margin-bottom: 12px;
        }

        .job-skills-list {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            margin-bottom: 14px;
        }

        .job-skill-chip {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.06);
            color: #CBD5E1;
            font-size: 11px;
            font-weight: 500;
            padding: 2px 7px;
            border-radius: 4px;
        }

        .job-card-actions {
            display: flex;
            gap: 8px;
            margin-top: auto;
            padding-top: 10px;
            border-top: 1px solid var(--consult-divider);
        }

        /* Action Buttons */
        .btn-job-action {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            font-family: var(--consult-font);
            font-size: 12px;
            font-weight: 600;
            padding: 7px 12px;
            border-radius: var(--radius-sm);
            text-decoration: none;
            cursor: pointer;
            transition: all 140ms ease;
            box-sizing: border-box;
            flex: 1;
            white-space: nowrap;
        }

        .btn-job-action.btn-roadmap {
            background: rgba(31, 107, 255, 0.1);
            border: 1px solid rgba(76, 141, 255, 0.28);
            color: #93C5FD;
        }

        .btn-job-action.btn-roadmap:hover {
            background: rgba(31, 107, 255, 0.22);
            border-color: #3B82F6;
            color: #FFFFFF;
        }

        .btn-job-action.btn-linkedin {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: #CBD5E1;
        }

        .btn-job-action.btn-linkedin:hover {
            background: rgba(255, 255, 255, 0.09);
            border-color: rgba(255, 255, 255, 0.16);
            color: #FFFFFF;
        }

        .btn-show-more-jobs {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-top: 14px;
            padding: 9px 18px;
            border: 1px solid rgba(76, 141, 255, 0.3);
            border-radius: var(--radius-md);
            background: var(--consult-surface);
            color: #93C5FD;
            font-family: var(--consult-font);
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 140ms ease;
            align-self: center;
        }

        .btn-show-more-jobs:hover {
            background: var(--consult-accent-subtle);
            border-color: #3B82F6;
            color: #FFFFFF;
        }

        /* Daily Limit Banner (Calm, understated) */
        .daily-limit-banner {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-top: 16px;
            padding: 14px 18px;
            background: rgba(14, 22, 38, 0.85);
            border: 1px solid rgba(76, 141, 255, 0.18);
            border-radius: var(--radius-md);
            width: 100%;
            box-sizing: border-box;
        }

        .daily-limit-banner .limit-emoji {
            font-size: 1.4rem;
            line-height: 1;
            flex-shrink: 0;
            margin-top: 1px;
        }

        .daily-limit-banner .limit-text {
            font-size: 13px;
            color: #CBD5E1;
            line-height: 1.55;
        }

        .daily-limit-banner .limit-text strong {
            display: block;
            font-size: 13.5px;
            font-weight: 700;
            color: #FFFFFF;
            margin-bottom: 2px;
        }

        /* 5. COMPOSER (Floating Linear-style command input) */
        .composer-container {
            width: 100%;
            max-width: 820px;
            padding: 0 24px 22px;
            margin: 0 auto;
            box-sizing: border-box;
            flex-shrink: 0;
        }

        .composer-surface-bar {
            background: var(--consult-surface);
            border: 1px solid var(--consult-border);
            border-radius: var(--radius-lg);
            padding: 6px 8px 6px 18px;
            display: flex;
            align-items: center;
            gap: 12px;
            box-sizing: border-box;
            transition: all 160ms ease;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
        }

        .composer-surface-bar:focus-within {
            border-color: rgba(76, 141, 255, 0.45);
            background: var(--consult-surface-raised);
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(76, 141, 255, 0.25);
        }

        .composer-surface-bar input {
            flex: 1;
            min-width: 0;
            height: 40px;
            appearance: none;
            -webkit-appearance: none;
            background: transparent !important;
            border: 0 !important;
            border-radius: 0;
            box-shadow: none !important;
            outline: none;
            font-family: var(--consult-font);
            font-size: 14px;
            color: var(--consult-text);
            padding: 0;
        }

        .composer-surface-bar input::placeholder {
            color: var(--consult-faint);
            font-size: 14px;
        }

        .btn-composer-send {
            height: 38px;
            padding: 0 18px;
            background: var(--consult-accent-fill);
            color: #FFFFFF;
            border: none;
            border-radius: var(--radius-md);
            font-family: var(--consult-font);
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            flex-shrink: 0;
            transition: all 140ms ease;
        }

        .btn-composer-send:hover {
            background: #2563EB;
        }

        .btn-composer-send:focus-visible {
            outline: none;
            box-shadow: 0 0 0 2px #FFFFFF;
        }

        .btn-composer-send:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .composer-footnote {
            text-align: center;
            font-size: 11.5px;
            color: var(--consult-faint);
            margin-top: 8px;
        }

        /* 6. RIGHT PANEL "ADVISOR CONTEXT" (Clean metadata inspector) */
        .advisor-context-panel {
            background: var(--consult-sidebar-bg);
            border-left: 1px solid var(--consult-border-subtle);
            padding: 24px 20px;
            display: flex;
            flex-direction: column;
            gap: 16px;
            height: 100%;
            overflow-y: auto;
            box-sizing: border-box;
        }

        .context-panel-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .context-panel-label {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--consult-muted);
        }

        .context-drawer-close {
            display: none;
            background: transparent;
            border: none;
            color: var(--consult-muted);
            font-size: 20px;
            cursor: pointer;
        }

        .context-surface-card {
            background: var(--consult-surface);
            border: 1px solid var(--consult-border);
            border-radius: var(--radius-md);
            padding: 16px;
            display: flex;
            flex-direction: column;
            gap: 14px;
            box-sizing: border-box;
        }

        .context-field {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .context-field-label {
            font-size: 11px;
            color: var(--consult-muted);
            text-transform: uppercase;
            letter-spacing: 0.04em;
            font-weight: 600;
        }

        .context-field-value {
            font-size: 13.5px;
            font-weight: 600;
            color: var(--consult-text);
            word-break: break-word;
            line-height: 1.4;
        }

        .context-update-link {
            font-size: 12.5px;
            font-weight: 600;
            color: var(--consult-accent-text);
            text-decoration: none;
            margin-top: 4px;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            transition: color 120ms ease;
        }

        .context-update-link:hover {
            color: #93C5FD;
            text-decoration: underline;
        }

        .context-helper-text {
            font-size: 12px;
            line-height: 1.6;
            color: var(--consult-faint);
            margin: 0;
            padding: 0 4px;
        }

        /* Mobile top bar (hidden on desktop) */
        .mobile-consultation-bar {
            display: none;
        }

        /* 3-Week Preparation Roadmap - Non-scrollable Executive 3-Column Layout */
        .roadmap-modal {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 16px;
        }

        .roadmap-modal-dialog {
            max-width: 980px !important;
            width: 95vw !important;
            max-height: 92vh !important;
            background: #0B1220 !important;
            border: 1px solid rgba(76, 141, 255, 0.22) !important;
            border-radius: 20px !important;
            box-shadow: 0 28px 70px rgba(0, 0, 0, 0.85), 0 0 40px rgba(31, 107, 255, 0.12) !important;
            padding: 28px 32px 32px !important;
            overflow: hidden !important;
            display: flex;
            flex-direction: column;
        }

        .roadmap-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            margin-bottom: 22px;
            padding-bottom: 16px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        }

        .roadmap-header-info {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .roadmap-kicker {
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: #4C8DFF;
        }

        .roadmap-title {
            font-size: 1.35rem;
            font-weight: 700;
            color: #FFFFFF;
            margin: 0;
            line-height: 1.25;
        }

        .roadmap-subtitle {
            font-size: 0.88rem;
            color: #94A3B8;
            margin: 0;
            font-weight: 500;
        }

        .btn-modal-close.roadmap-close {
            position: static !important;
            width: 34px;
            height: 34px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #94A3B8;
            font-size: 1.25rem;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .btn-modal-close.roadmap-close:hover {
            background: rgba(239, 68, 68, 0.15);
            border-color: rgba(239, 68, 68, 0.35);
            color: #F87171;
        }

        .roadmap-grid-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 18px;
            width: 100%;
        }

        .roadmap-week-card {
            background: #0E1A2E;
            border: 1px solid rgba(76, 141, 255, 0.16);
            border-radius: 14px;
            padding: 18px;
            display: flex;
            flex-direction: column;
            gap: 14px;
            transition: border-color 0.2s ease, transform 0.2s ease;
        }

        .roadmap-week-card:hover {
            border-color: rgba(76, 141, 255, 0.35);
            transform: translateY(-2px);
        }

        .roadmap-card-header {
            display: flex;
            align-items: center;
        }

        .roadmap-week-badge {
            display: inline-flex;
            align-items: center;
            padding: 4px 10px;
            border-radius: 6px;
            background: rgba(31, 107, 255, 0.15);
            border: 1px solid rgba(76, 141, 255, 0.32);
            color: #60A5FA;
            font-size: 0.72rem;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .roadmap-card-bullets {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .roadmap-card-bullets li {
            position: relative;
            padding-left: 18px;
            color: #D1D5DB;
            font-size: 0.85rem;
            line-height: 1.55;
            font-weight: 400;
        }

        .roadmap-card-bullets li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 7px;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #4C8DFF;
            box-shadow: 0 0 6px rgba(76, 141, 255, 0.6);
        }

        .roadmap-empty-state {
            grid-column: 1 / -1;
            padding: 30px;
            text-align: center;
            color: #94A3B8;
            font-size: 0.92rem;
            background: #0E1A2E;
            border-radius: 12px;
            border: 1px dashed rgba(76, 141, 255, 0.2);
        }

        @media (max-width: 820px) {
            .roadmap-modal-dialog {
                overflow-y: auto !important;
                padding: 20px !important;
            }
            .roadmap-grid-container {
                grid-template-columns: 1fr;
                gap: 14px;
            }
        }
        .typing-loader {
            display: inline-flex;
            gap: 5px;
            align-items: center;
            padding: 4px 0;
        }

        .typing-loader span {
            width: 7px;
            height: 7px;
            background: var(--text-muted);
            border-radius: 50%;
            animation: pulseDot 1.4s infinite ease-in-out both;
        }

        .typing-loader span:nth-child(1) {
            animation-delay: -0.32s;
        }

        .typing-loader span:nth-child(2) {
            animation-delay: -0.16s;
        }

        @keyframes pulseDot {

            0%,
            80%,
            100% {
                transform: scale(0.4);
                opacity: 0.4;
            }

            40% {
                transform: scale(1);
                opacity: 1;
            }
        }

        /* ===== MODALS ===== */
        .modal-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.78);
            backdrop-filter: blur(6px);
            z-index: 400;
            align-items: center;
            justify-content: center;
            padding: 16px;
        }

        .modal-overlay.open {
            display: flex;
        }

        .auth-modal {
            position: relative;
            background: var(--bg-surface);
            border: 1px solid var(--border-highlight);
            border-radius: var(--radius-lg);
            width: 100%;
            max-width: 500px;
            padding: 24px;
            box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
            animation: modalPop 0.2s ease-out;
            max-height: 90vh;
            overflow-y: auto;
        }

        .auth-modal .btn-modal-close {
            position: absolute;
            top: 16px;
            right: 16px;
            z-index: 10;
        }

        @keyframes modalPop {
            from {
                opacity: 0;
                transform: scale(0.95);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .modal-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            margin-bottom: 16px;
        }

        .modal-title {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text-primary);
        }

        .btn-modal-close {
            width: 28px;
            height: 28px;
            min-width: 28px;
            min-height: 28px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: #94a3b8;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            line-height: 1;
            transition: all 0.15s ease;
            flex-shrink: 0;
            margin-left: auto;
            align-self: flex-start;
        }

        .btn-modal-close:hover {
            background: rgba(255, 255, 255, 0.16);
            border-color: rgba(255, 255, 255, 0.3);
            color: #f1f5f9;
        }

        .btn-modal-close svg {
            width: 14px;
            height: 14px;
            stroke-width: 2.5;
        }

        .field-group {
            margin-bottom: 12px;
        }

        .field-group label {
            display: block;
            font-size: 0.74rem;
            font-weight: 600;
            color: var(--text-secondary);
            margin-bottom: 4px;
        }

        .field-group input,
        .field-group textarea {
            width: 100%;
            background: #070c18;
            border: 1px solid var(--border-subtle);
            color: var(--text-primary);
            padding: 8px 10px;
            border-radius: var(--radius-sm);
            font-size: 0.83rem;
            font-family: inherit;
            outline: none;
            transition: border-color 0.15s, box-shadow 0.15s;
        }

        .field-group input:focus,
        .field-group textarea:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 2px var(--primary-glow);
        }

        .btn-primary-action {
            width: 100%;
            background: linear-gradient(135deg, #2b4fcf 0%, #1F6BFF 100%);
            color: #ffffff;
            border: none;
            padding: 12px 20px;
            min-height: 44px;
            border-radius: var(--radius-sm);
            font-size: 0.92rem;
            font-weight: 600;
            cursor: pointer;
            font-family: inherit;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: all 0.22s cubic-bezier(0.16,1,0.3,1);
            position: relative;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(31, 107, 255, 0.18);
        }

        .btn-primary-action:hover {
            background: linear-gradient(135deg, #1d43b8 0%, #185ae6 100%);
            transform: translateY(-1px);
            box-shadow: 0 6px 18px rgba(31, 107, 255, 0.3);
        }

        .btn-primary-action:active {
            transform: translateY(0) scale(0.98);
            box-shadow: 0 1px 4px rgba(31, 107, 255, 0.15);
        }

        .btn-primary-action:focus-visible {
            outline: none;
            box-shadow: 0 0 0 2px var(--bg-base), 0 0 0 4px #1F6BFF;
        }

        .btn-primary-action:disabled,
        .btn-primary-action.is-loading {
            opacity: 0.5;
            cursor: not-allowed;
            pointer-events: none;
        }

        .btn-primary-action.is-loading {
            color: transparent;
        }

        .btn-primary-action.is-loading::after {
            content: '';
            position: absolute;
            width: 18px;
            height: 18px;
            border: 2px solid rgba(255,255,255,0.3);
            border-top-color: #fff;
            border-radius: 50%;
            animation: btn-spin 0.65s linear infinite;
        }

        .status-pill {
            display: inline-block;
            font-size: 0.72rem;
            font-weight: 600;
            color: var(--success);
            background: var(--success-glow);
            padding: 4px 10px;
            border-radius: 20px;
            border: 1px solid rgba(16, 185, 129, 0.3);
        }


        /* Dedicated consultation experience */
        .consultation-shell { display: none; }
        body.consultation-active,
        html:has(body.consultation-active) { overflow: hidden !important; }
        body.consultation-active > *:not(.consultation-shell):not(.modal-overlay):not(.toast-container) { display: none !important; }
        body.consultation-active > .modal-overlay.open { display: flex !important; z-index: 400; }
        body.consultation-active > .toast-container { display: flex !important; z-index: 500; }
        body.consultation-active .site-header { display: none; }
        body.consultation-active .consultation-shell {
            display: block;
            position: fixed;
            inset: 0;
            z-index: 300;
            max-width: none;
            margin: 0;
            padding: 0;
            overflow: hidden;
            background: var(--consult-bg);
        }
        body.consultation-active .consultation-shell .telemetry-badge { display: none; }
        body.consultation-active .workspace-frame {
            width: 100%;
            height: 100vh;
            height: 100dvh;
            max-height: 100vh;
            max-height: 100dvh;
            min-height: 0;
            margin: 0;
        }
        .consultation-close { display: none; }

        /* ===== COMPREHENSIVE RESPONSIVE SYSTEM (320px - 1440px) ===== */

        /* Base rules for consultation drawers and backdrop */
        .sidebar-backdrop-overlay,
        .context-backdrop-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(4px);
            z-index: 380;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.25s ease;
        }

        .sidebar-backdrop-overlay.active,
        .context-backdrop-overlay.active {
            display: block;
            opacity: 1;
            pointer-events: auto;
        }

        .rail-header-row,
        .context-panel-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
        }

        .rail-drawer-close,
        .context-drawer-close {
            display: none;
            background: transparent;
            border: 1px solid var(--consult-border);
            border-radius: var(--radius-buttons);
            color: var(--consult-muted);
            width: 36px;
            height: 36px;
            font-size: 20px;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.15s ease;
        }

        .rail-drawer-close:hover,
        .context-drawer-close:hover {
            color: #ffffff;
            border-color: var(--consult-accent-text);
        }

        .mobile-context-btn {
            display: none;
            background: transparent;
            border: 1px solid var(--consult-border);
            border-radius: var(--radius-buttons);
            color: var(--consult-muted);
            width: 44px;
            height: 44px;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.15s ease;
            box-sizing: border-box;
        }

        .mobile-context-btn:hover {
            color: var(--consult-text);
            border-color: var(--consult-accent-text);
        }

        .mobile-bar-actions {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .mobile-bar-title-wrap {
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 0;
            overflow: hidden;
        }

        .mobile-bar-title-wrap .hk-bot-avatar {
            width: 30px;
            height: 30px;
            flex-shrink: 0;
        }

        /* Large Screen & General Fluid Sizing */
        @media (min-width: 1024px) {
            .mobile-consultation-bar {
                display: none !important;
            }

            .site-mobile-menu-toggle {
                display: none !important;
            }
        }

        /* 1000px and below: Tablet & Mobile Consultation Overhaul */
        @media (max-width: 1024px) {
            header.site-header {
                display: flex;
                justify-content: space-between;
            }

            .nav-links {
                position: fixed;
                top: 64px;
                right: 12px;
                width: 220px;
                max-width: calc(100vw - 24px);
                height: auto;
                background: rgba(13, 20, 36, 0.96);
                backdrop-filter: blur(24px);
                -webkit-backdrop-filter: blur(24px);
                border: 1px solid rgba(99, 102, 241, 0.25);
                border-radius: 14px;
                flex-direction: column;
                align-items: stretch;
                padding: 8px;
                gap: 2px;
                z-index: 250;
                box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.06);
                opacity: 0;
                pointer-events: none;
                transform: translateY(-8px) scale(0.96);
                transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
            }

            .nav-links.mobile-nav-open {
                right: 12px;
                opacity: 1;
                pointer-events: auto;
                transform: translateY(0) scale(1);
            }

            .nav-link {
                font-size: 0.88rem;
                font-weight: 500;
                padding: 10px 14px;
                width: 100%;
                border-radius: 8px;
                border-bottom: none;
                color: #cbd5e1;
                display: flex;
                align-items: center;
                gap: 8px;
                transition: background 0.15s ease, color 0.15s ease;
            }

            .nav-link:hover, .nav-link:active {
                background: rgba(99, 102, 241, 0.15);
                color: #ffffff;
            }

            .site-mobile-menu-toggle {
                display: inline-flex;
            }

            /* Consultation Frame 1-column layout with drawers */
            .workspace-frame {
                grid-template-columns: 1fr;
                height: 100vh;
                height: 100dvh;
                max-height: 100dvh;
            }

            .mobile-consultation-bar {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 8px 14px;
                height: 58px;
                background: var(--consult-surface);
                border-bottom: 1px solid var(--consult-divider);
                flex-shrink: 0;
                box-sizing: border-box;
            }

            .mobile-menu-btn {
                background: transparent;
                border: 1px solid var(--consult-border);
                border-radius: var(--radius-buttons);
                color: var(--consult-text);
                width: 44px;
                height: 44px;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                flex-shrink: 0;
            }

            .mobile-context-btn {
                display: inline-flex;
            }

            .mobile-bar-title {
                font-size: 15px;
                font-weight: 600;
                color: var(--consult-text);
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            .center-chat-header {
                display: none;
            }

            /* Left Rail Drawer */
            .frame-sidebar {
                position: fixed;
                top: 0;
                left: -320px;
                bottom: 0;
                width: min(300px, 85vw);
                height: 100vh;
                height: 100dvh;
                z-index: 400;
                background: #060b14;
                border-right: 1px solid var(--consult-border);
                box-shadow: 10px 0 30px rgba(0, 0, 0, 0.7);
                transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
                display: flex;
                transform: translateX(0);
            }

            .frame-sidebar.mobile-open {
                transform: translateX(320px);
            }

            .rail-drawer-close {
                display: inline-flex;
            }

            /* Right Advisor Context Drawer */
            .advisor-context-panel {
                position: fixed;
                top: 0;
                right: -340px;
                bottom: 0;
                width: min(320px, 88vw);
                height: 100vh;
                height: 100dvh;
                z-index: 400;
                background: #070d18;
                border-left: 1px solid var(--consult-border);
                box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
                transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
                display: flex;
                transform: translateX(0);
            }

            .advisor-context-panel.mobile-open {
                transform: translateX(-340px);
            }

            .context-drawer-close {
                display: inline-flex;
            }

            .starter-prompts-grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .empty-hero-heading {
                font-size: clamp(24px, 5.5vw, 32px);
            }

            .center-empty-hero {
                padding: 24px 16px 16px;
            }

            .composer-container {
                padding: 0 16px 16px;
                padding-bottom: max(16px, env(safe-area-inset-bottom, 16px));
            }

            .messages-container {
                padding: 16px;
            }
        }

        /* 768px Tablet Breakpoint: 2-column grids */
        @media (max-width: 768px) {
            .hero-services-grid {
                grid-template-columns: 1fr;
                gap: 16px;
                margin-bottom: 36px;
            }

            .hero-telemetry-strip {
                flex-direction: column;
                gap: 10px;
                padding: 16px 20px;
                border-radius: 20px;
            }

            .telemetry-stat-sep {
                display: none;
            }

            .stats-grid {
                grid-template-columns: 1fr;
                gap: 12px;
                margin-bottom: 36px;
            }

            .tri-factor-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .about-content-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .section-title {
                font-size: clamp(1.6rem, 5vw, 2rem);
            }
        }

        /* 640px Mobile Phone Layouts */
        @media (max-width: 640px) {
            header.site-header {
                height: 56px;
                padding: 0 12px;
                padding-left: max(12px, env(safe-area-inset-left, 12px));
                padding-right: max(12px, env(safe-area-inset-right, 12px));
            }

            .brand-wordmark {
                height: 22px;
                max-width: 140px;
            }

            .header-actions {
                gap: 8px;
            }

            /* On mobile, Start Prep is placed directly below Start Consultation */
            header .btn-hero-cta {
                display: none;
            }

            .btn-hero-prep {
                display: inline-flex;
            }

            .btn-google-auth {
                padding: 6px 11px;
                font-size: 0.76rem;
                font-weight: 600;
                gap: 6px;
                min-height: 36px;
                box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
            }

            .btn-google-auth svg {
                width: 14px !important;
                height: 14px !important;
            }

            .site-mobile-menu-toggle {
                width: 36px;
                height: 36px;
            }

            .site-mobile-menu-toggle .icon-lg {
                width: 18px;
                height: 18px;
            }

            .hero-section {
                padding: 44px 14px 36px;
            }

            .hero-eyebrow-pill {
                font-size: 0.74rem;
                padding: 6px 14px;
                gap: 6px;
                margin-bottom: 20px;
            }

            .hero-title {
                font-size: clamp(1.85rem, 8vw, 2.4rem);
                line-height: 1.15;
            }

            .hero-title-subline {
                font-size: 1.05rem;
                margin-top: 4px;
            }

            .hero-subtitle {
                font-size: 0.94rem;
                line-height: 1.55;
                margin-bottom: 24px;
            }

            .hero-cta-group {
                flex-direction: column;
                width: 100%;
                gap: 12px;
                margin-bottom: 36px;
            }

            .hero-services-grid {
                grid-template-columns: 1fr;
                gap: 14px;
                margin-bottom: 32px;
            }

            .service-card {
                padding: 22px 18px 18px;
                min-height: auto;
            }

            .btn-primary-hero,
            .btn-secondary-hero {
                width: 100%;
                justify-content: center;
                min-height: 48px;
                padding: 14px 20px;
                font-size: 0.95rem;
            }

            /* Chat Thread and Bubbles */
            .messages-container {
                padding: 14px 12px;
                gap: 14px;
            }

            .message-row {
                gap: 8px;
            }

            .msg-bubble-user {
                max-width: 85%;
                font-size: 14px;
                padding: 12px 14px;
            }

            .msg-card-assistant {
                padding: 14px 12px;
            }

            .msg-text-main {
                font-size: 14px;
                line-height: 1.6;
            }

            /* Chat Composer */
            .composer-container {
                padding: 0 10px 14px;
                padding-bottom: max(14px, env(safe-area-inset-bottom, 14px));
            }

            .composer-surface-bar {
                padding: 6px 6px 6px 14px;
                gap: 8px;
                min-height: 48px;
            }

            .composer-surface-bar input {
                font-size: 16px !important; /* Critical: prevents iOS auto-zoom */
                height: 40px;
            }

            .btn-composer-send {
                min-width: 44px;
                min-height: 44px;
                padding: 0 16px;
                border-radius: var(--radius-buttons);
            }

            /* Job recommendations list inside chat */
            .job-cards-grid {
                grid-template-columns: 1fr;
            }

            /* Modals & Dialogs on mobile: Full-screen bottom sheet */
            .modal-overlay {
                padding: 16px;
                align-items: center;
                justify-content: center;
                z-index: 300;
            }

            .auth-modal {
                max-width: min(440px, calc(100vw - 32px));
                border-radius: 18px;
                max-height: 85vh;
                max-height: 85dvh;
                padding: 20px 18px;
                margin: auto;
                box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
            }

            .auth-login-copy {
                font-size: 0.84rem;
                margin-bottom: 16px;
                line-height: 1.4;
            }

            .google-login-slot {
                min-height: 48px;
                display: flex;
                justify-content: center;
                align-items: center;
                width: 100%;
                overflow: visible;
            }

            .field-group input,
            .field-group textarea,
            .field-group select {
                font-size: 16px !important; /* Prevent iOS focus zoom */
                min-height: 44px;
                padding: 10px 12px;
            }

            .btn-primary-action {
                min-height: 44px;
                font-size: 0.92rem;
            }

            .btn-modal-close {
                /* Keep visual circle small; expand tap area with transparent padding */
                padding: 8px;
                margin: -8px;
                min-width: unset;
                min-height: unset;
                box-sizing: content-box;
            }

            .telemetry-badge {
                display: none;
            }
        }

        /* 360px and smaller micro-screens (e.g. Galaxy Fold, iPhone SE 320px) */
        @media (max-width: 360px) {
            header.site-header {
                padding: 0 10px;
            }

            .brand-wordmark {
                height: 22px;
                max-width: 135px;
            }

            .btn-google-auth span {
                display: none;
            }

            .btn-hero-cta span {
                display: none;
            }

            .btn-google-auth,
            .btn-hero-cta {
                padding: 8px 10px;
                min-width: 44px;
                justify-content: center;
            }

            .hero-title {
                font-size: 1.7rem;
            }

            .about-heading {
                font-size: 1.6rem;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            html {
                scroll-behavior: auto;
            }

            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* ===== ANTIGRAVITY-INSPIRED CURSOR GLOW & INTERACTIVE AESTHETICS ===== */
        .cursor-canvas-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            height: 100dvh;
            pointer-events: none;
            z-index: 1;
            overflow: hidden;
            opacity: 0.75;
            transition: opacity 0.5s ease;
        }

        .cursor-glow-orb {
            position: fixed;
            width: 450px;
            height: 450px;
            margin-left: -225px;
            margin-top: -225px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(31, 107, 255, 0.2) 0%, rgba(76, 141, 255, 0.08) 35%, transparent 70%);
            pointer-events: none;
            z-index: 1;
            filter: blur(45px);
            transform: translate3d(-1000px, -1000px, 0);
            transition: transform 0.08s ease-out;
            will-change: transform;
        }

        /* ===== ABOUT SECTION REDESIGN (Strict Electric Blue Theme) ===== */
        .about-section {
            padding: 36px 24px 64px;
            position: relative;
            z-index: 2;
            max-width: 1240px;
            margin: 0 auto;
        }

        .about-container {
            text-align: center;
        }

        .about-eyebrow-pill {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 16px;
            border-radius: 9999px;
            background: rgba(31, 107, 255, 0.14);
            border: 1px solid rgba(76, 141, 255, 0.32);
            font-size: 0.74rem;
            font-weight: 700;
            color: #60a5fa;
            margin-bottom: 20px;
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }

        .about-pill-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #1F6BFF;
            box-shadow: 0 0 8px #4C8DFF;
        }

        .about-heading {
            font-size: clamp(2.0rem, 4vw, 3.1rem);
            font-weight: 800;
            letter-spacing: -0.035em;
            color: #ffffff;
            line-height: 1.18;
            max-width: 860px;
            margin: 0 auto 18px;
        }

        .about-subtitle {
            font-size: clamp(0.95rem, 1.7vw, 1.08rem);
            line-height: 1.65;
            color: #94a3b8;
            max-width: 760px;
            margin: 0 auto 48px;
        }

        .about-content-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            text-align: left;
        }

        .about-card {
            background: rgba(14, 34, 64, 0.55);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(76, 141, 255, 0.22);
            border-radius: 20px;
            padding: 32px 26px;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
        }

        .about-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, #4C8DFF, transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .about-card:hover {
            transform: translateY(-5px);
            border-color: rgba(76, 141, 255, 0.55);
            background: rgba(17, 42, 77, 0.8);
            box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 24px rgba(31, 107, 255, 0.2);
        }

        .about-card:hover::before {
            opacity: 1;
        }

        .about-card-highlight {
            border-color: rgba(76, 141, 255, 0.38);
            background: rgba(17, 42, 77, 0.65);
        }

        .about-card-badge {
            font-size: 0.72rem;
            font-weight: 700;
            color: #4C8DFF;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 12px;
            display: inline-block;
        }

        .about-icon-box {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: rgba(31, 107, 255, 0.16);
            border: 1px solid rgba(76, 141, 255, 0.32);
            color: #4C8DFF;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            transition: all 0.25s ease;
        }

        .about-card:hover .about-icon-box {
            background: #1F6BFF;
            border-color: #1F6BFF;
            color: #ffffff;
            transform: scale(1.05);
            box-shadow: 0 6px 18px rgba(31, 107, 255, 0.4);
        }

        .about-card h3 {
            font-size: 1.25rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 12px;
            letter-spacing: -0.015em;
            line-height: 1.25;
        }

        .about-card p {
            color: #94a3b8;
            font-size: 0.92rem;
            line-height: 1.65;
            margin: 0;
        }

        @media (max-width: 900px) {
            .about-content-grid {
                grid-template-columns: 1fr;
                gap: 18px;
            }
            .about-section {
                padding: 24px 16px 44px;
            }
        }

        @media (max-width: 768px) {
            #about_section {
                scroll-margin-top: 72px !important;
            }
            .about-section {
                padding: 20px 16px 40px !important;
            }
        }

        /* ===== MODERNIZED FOOTER WITH SOCIAL FOLLOW ===== */
        .site-footer {
            margin-top: auto;
            border-top: 1px solid var(--border-subtle);
            background: rgba(10, 14, 25, 0.95);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            padding: 24px 32px;
            position: relative;
            z-index: 10;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            flex-wrap: wrap;
        }

        .footer-copyright {
            font-size: 0.88rem;
            color: var(--text-muted);
            letter-spacing: -0.01em;
        }

        .footer-social-group {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 9px;
        }

        .footer-social-wrap {
            display: inline-flex;
            align-items: center;
            gap: 12px;
        }

        .footer-enquiry-wrap {
            display: inline-flex;
            align-items: center;
            gap: 12px;
        }

        .footer-linkedin-btn,
        .footer-instagram-btn,
        .footer-email-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(15, 23, 42, 0.85);
            border: 1px solid rgba(255, 255, 255, 0.12);
            color: #f1f5f9;
            padding: 8px 16px;
            border-radius: 9999px;
            font-size: 0.84rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
        }

        .footer-email-btn:hover,
        .footer-email-btn:focus-visible {
            background: #ea4335;
            border-color: #ea4335;
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(234, 67, 53, 0.35);
        }

        .footer-email-btn .email-svg-icon {
            width: 16px;
            height: 16px;
        }

        .footer-follow-label {
            font-size: 0.82rem;
            color: var(--text-secondary);
            font-weight: 500;
        }

        .footer-linkedin-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(15, 23, 42, 0.85);
            border: 1px solid rgba(255, 255, 255, 0.12);
            color: #f1f5f9;
            padding: 8px 16px;
            border-radius: 9999px;
            font-size: 0.84rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
        }

        .footer-linkedin-btn .linkedin-svg-icon {
            width: 16px;
            height: 16px;
            fill: #0077b5;
            transition: transform 0.2s ease, fill 0.2s ease;
        }

        .footer-linkedin-btn:hover {
            background: #0077b5;
            border-color: #0077b5;
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(0, 119, 181, 0.4);
        }

        .footer-linkedin-btn:hover .linkedin-svg-icon {
            fill: #ffffff;
            transform: scale(1.1);
        }

        .footer-instagram-btn .instagram-svg-icon {
            width: 16px;
            height: 16px;
            color: #e1306c;
            transition: transform 0.2s ease, color 0.2s ease;
        }

        .footer-instagram-btn:hover,
        .footer-instagram-btn:focus-visible {
            background: linear-gradient(135deg, #833ab4, #e1306c 52%, #f77737);
            border-color: #e1306c;
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(225, 48, 108, 0.4);
        }

        .footer-instagram-btn:hover .instagram-svg-icon,
        .footer-instagram-btn:focus-visible .instagram-svg-icon {
            color: #ffffff;
            transform: scale(1.1);
        }
        @media (max-width: 640px) {
            .footer-container {
                flex-direction: column;
                align-items: center;
                text-align: center;
                gap: 16px;
                padding: 0;
            }

            .footer-brand-wrap {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 4px;
                width: 100%;
            }

            .footer-copyright {
                font-size: 0.8rem;
                text-align: center;
            }

            .footer-social-group {
                align-items: center;
                width: 100%;
                gap: 10px;
            }

            .footer-follow-label {
                display: none;
            }

            .footer-social-wrap,
            .footer-enquiry-wrap {
                display: flex;
                align-items: center;
                justify-content: center;
                flex-wrap: wrap;
                gap: 8px;
                width: 100%;
            }

            .footer-linkedin-btn,
            .footer-instagram-btn,
            .footer-email-btn {
                display: inline-flex;
                align-items: center;
                padding: 7px 14px;
                font-size: 0.8rem;
            }

            .linkedin-svg-icon,
            .instagram-svg-icon,
            .email-svg-icon {
                flex-shrink: 0;
            }
        }
        .race-modal { 
            width: min(720px, calc(100vw - 32px)); 
            max-width: 720px; 
            padding: 24px 28px; 
            border-radius: var(--radius-lg, 18px); 
            overflow: hidden !important; 
        }
        .race-modal:has(#race_play:not([hidden])) {
            max-height: 94vh;
            display: flex;
            flex-direction: column;
            overflow: hidden !important;
        }
        .contest-topic-accent { color: #60a5fa; font-weight: 800; }
        .contest-modal-meta { margin: 6px 0 0; color: var(--text-secondary); font-size: 0.85rem; }
        .contest-brief-card {
            margin: 20px 0 24px;
            display: flex;
            flex-direction: column;
            gap: 14px;
        }
        .contest-topic-highlight {
            display: flex;
            flex-direction: column;
            gap: 4px;
            padding: 16px 20px;
            border-radius: var(--radius-md, 12px);
            background: linear-gradient(135deg, rgba(31, 107, 255, 0.14) 0%, rgba(14, 28, 54, 0.4) 100%);
            border: 1px solid rgba(76, 141, 255, 0.35);
            box-shadow: 0 4px 20px rgba(31, 107, 255, 0.12);
        }
        .contest-topic-label {
            font-size: 0.7rem;
            font-weight: 800;
            letter-spacing: 0.1em;
            color: #93c5fd;
            text-transform: uppercase;
        }
        .contest-topic-name {
            font-size: 1.45rem;
            font-weight: 800;
            color: #ffffff;
            letter-spacing: -0.01em;
        }
        .contest-rules-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
        }
        .contest-rule-item {
            display: flex;
            flex-direction: column;
            gap: 6px;
            padding: 12px 14px;
            background: rgba(15, 23, 42, 0.65);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: var(--radius-sm, 10px);
        }
        .contest-rule-item > div {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        .contest-rule-item .rule-icon {
            font-size: 1.15rem;
            line-height: 1;
        }
        .contest-rule-item strong {
            display: block;
            font-size: 0.82rem;
            color: #f1f5f9;
            font-weight: 700;
        }
        .contest-rule-item span {
            display: block;
            font-size: 0.72rem;
            color: #94a3b8;
            line-height: 1.35;
        }
        @media (max-width: 580px) {
            .contest-rules-grid { grid-template-columns: 1fr; gap: 8px; }
            .contest-rule-item { flex-direction: row; align-items: center; gap: 10px; }
            .contest-topic-name { font-size: 1.25rem; }
        }
        .race-progress { display:flex; align-items:center; justify-content:space-between; margin:14px 0 8px; color:#dce5ff; font-size:.82rem; font-weight:700; }
        #race_timer { color:#fff; font-size:1.15rem; }
        .race-timer-track { height:6px; overflow:hidden; border-radius:99px; background:#202e4a; margin-bottom: 4px; }
        .race-timer-track i { display:block; height:100%; width:100%; background:linear-gradient(90deg,#5b7cfa,#59d9e8); transition:width 1s linear; }
        #race_question_text { 
            margin:16px 0 16px; 
            color:#fff; 
            font-size:clamp(1.05rem, 1.8vw, 1.25rem); 
            line-height:1.4; 
            font-weight:600; 
        }
        .race-options { 
            display:grid; 
            grid-template-columns: 1fr; 
            gap:10px; 
        }
        .race-options.race-options-2col {
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }
        .race-options button { 
            width:100%; 
            min-height:50px; 
            padding:12px 14px; 
            border:1px solid #2d3d5e; 
            border-radius:10px; 
            background:#111d32; 
            color:#eaf0fb; 
            text-align:left; 
            font:inherit; 
            font-size:.92rem; 
            line-height:1.35;
            cursor:pointer; 
            display:flex;
            align-items:flex-start;
            gap:8px;
            box-sizing:border-box;
            transition:background .16s ease,border-color .16s ease,transform .16s ease,opacity .16s ease; 
        }
        .race-options button .opt-key {
            display:inline-flex;
            align-items:center;
            justify-content:center;
            font-weight:700;
            color:#60a5fa;
            flex-shrink:0;
            width:18px;
        }
        .race-options button .opt-text {
            flex:1;
            min-width:0;
            word-break:break-word;
        }
        .race-options button:hover:not(:disabled), .race-options button:focus-visible { border-color:#6d83ff; background:#17284a; transform:translateY(-1px); }
        .race-options button:disabled { opacity:.55; cursor:not-allowed; }
        .race-options button.race-option-selected { border-color:#7c91ff; background:#263b77; color:#fff; transform:scale(.985); opacity:1; }
        .race-answer-saving { opacity:.92; }
        #race_play { transition:opacity .15s ease, transform .15s ease; }
        #race_play.race-question-leaving { opacity:0; transform:translateX(-10px); }
        #race_play.race-question-entering { opacity:0; transform:translateX(10px); }
        #race_complete { padding:22px 0 6px; text-align:center; }
        #race_complete h4 { margin:10px 0 7px; color:#fff; font-size:1.3rem; }
        #race_complete p { margin:0 0 20px; color:var(--text-secondary); }
        .race-complete-icon { display:grid; place-items:center; width:50px; height:50px; margin:auto; border-radius:50%; background:#173d35; color:#71e2b2; font-size:1.45rem; font-weight:900; }
        @media (max-width:640px) { 
            .race-modal { width:calc(100vw - 20px); max-width:calc(100vw - 20px); padding:18px 14px; } 
            .race-options.race-options-2col { grid-template-columns: 1fr; }
            .race-options button { min-height:46px; padding:10px 12px; font-size:.88rem; } 
        }
        .race-leaderboard-modal { width:min(560px, calc(100vw - 24px)); max-width:560px; }
        #race_leaderboard_date { margin:5px 0 0; color:var(--text-secondary); font-size:.8rem; }
        .leaderboard-head, .leaderboard-row { display:grid; grid-template-columns:68px minmax(0,1fr) 74px 72px; gap:10px; align-items:center; }
        .leaderboard-head { margin-top:22px; padding:0 12px 9px; color:#8190ab; font-size:.69rem; font-weight:800; letter-spacing:.07em; text-transform:uppercase; }
        .leaderboard-row { padding:13px 12px; border-top:1px solid #26334d; color:#dce5f5; font-size:.88rem; }
        .leaderboard-row strong { color:#9eb2ff; } .leaderboard-row b { color:#fff; } .leaderboard-row time { color:#aebbd0; text-align:right; }
        .leaderboard-row-winner { background:linear-gradient(90deg,rgba(214,189,134,.18),transparent); border-color:rgba(214,189,134,.45); } .leaderboard-row-winner strong { color:#f2d68c; } .leaderboard-row-winner span { color:#fff; font-weight:800; }
        @media (max-width:480px) { .leaderboard-head, .leaderboard-row { grid-template-columns:51px minmax(0,1fr) 57px 58px; gap:6px; padding-left:7px; padding-right:7px; font-size:.78rem; } .leaderboard-head { font-size:.59rem; } }

/* ===== DESIGN SYSTEM TOKENS (Extended) ===== */
:root {
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px;
  --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px; --space-16: 64px;
  --space-20: 80px; --space-24: 96px;
  --text-display: 48px; --text-h1: 32px; --text-h2: 24px; --text-h3: 20px;
  --text-lg: 16px; --text-body: 14px; --text-sm: 12px; --text-xs: 10px;
  --leading-tight: 1.25; --leading-normal: 1.5; --leading-relaxed: 1.75;
  --fw-medium: 500; --fw-semibold: 600; --fw-bold: 700; --fw-extrabold: 800;
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05); --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --shadow-glow: 0 0 40px rgba(99,102,241,0.15);
  --radius-none: 0; --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-xl: 24px; --radius-full: 9999px;
  --transition-fast: 150ms cubic-bezier(0.4,0,0.2,1); --transition-base: 250ms cubic-bezier(0.4,0,0.2,1); --transition-slow: 350ms cubic-bezier(0.4,0,0.2,1);
  --z-dropdown: 100; --z-sticky: 200; --z-modal-backdrop: 300; --z-modal: 400; --z-popover: 500; --z-toast: 600;
}
:root { --color-surface: var(--bg-surface); --color-card: var(--bg-card); --color-border: var(--border-subtle); --color-border-hover: var(--border-highlight); --color-text-on-primary: #ffffff; --color-text-on-dark: var(--text-primary); }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes btn-spin { to { transform: rotate(360deg); } }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.page-enter { animation: fadeIn var(--transition-slow) both, slideUp var(--transition-slow) both; }
.modal-enter { animation: slideDown var(--transition-base) both; }
.toast-enter { animation: slideUp var(--transition-base) both; }

/* ===== TYPOGRAPHY ===== */
.text-display { font-size: var(--text-display); font-weight: var(--fw-extrabold); line-height: var(--leading-tight); letter-spacing: -0.02em; }
.text-h1 { font-size: var(--text-h1); font-weight: var(--fw-bold); line-height: var(--leading-tight); letter-spacing: -0.02em; }
.text-h2 { font-size: var(--text-h2); font-weight: var(--fw-bold); line-height: var(--leading-tight); letter-spacing: -0.01em; }
.text-h3 { font-size: var(--text-h3); font-weight: var(--fw-semibold); line-height: var(--leading-tight); }
.text-lg { font-size: var(--text-lg); font-weight: 400; line-height: var(--leading-relaxed); }
.text-body { font-size: var(--text-body); font-weight: 400; line-height: var(--leading-normal); }
.text-sm { font-size: var(--text-sm); font-weight: 400; line-height: var(--leading-normal); }
.text-xs { font-size: var(--text-xs); font-weight: 400; line-height: var(--leading-normal); }
.overline { font-size: var(--text-xs); font-weight: var(--fw-bold); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); font-family: inherit; font-size: var(--text-body); font-weight: var(--fw-semibold); border: none; border-radius: var(--radius-md); cursor: pointer; transition: all var(--transition-base); min-height: 44px; padding: 0 var(--space-4); text-decoration: none; white-space: nowrap; position: relative; overflow: hidden; }
.btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.btn:active { transform: scale(0.96); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; pointer-events: none; }
.btn .icon { transition: transform var(--transition-fast); }
.btn:active .icon { transform: translateX(2px); }
.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%); color: var(--color-text-on-primary); box-shadow: 0 4px 14px rgba(99,102,241,0.25); }
.btn-primary:hover:not(:disabled) { background: linear-gradient(135deg, var(--primary-hover) 0%, #4338ca 100%); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(99,102,241,0.35); }
.btn-primary:active:not(:disabled) { transform: scale(0.98); }
.btn-secondary { background: var(--color-card); color: var(--color-text-on-dark); border: 1px solid var(--color-border); }
.btn-secondary:hover:not(:disabled) { background: var(--bg-card-hover); border-color: var(--color-border-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover:not(:disabled) { color: var(--text-primary); background: rgba(255,255,255,0.03); }
.btn-danger { background: rgba(248,113,113,0.1); color: var(--error); border: 1px solid rgba(248,113,113,0.3); }
.btn-danger:hover:not(:disabled) { background: rgba(248,113,113,0.2); border-color: var(--error); transform: translateY(-1px); }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: var(--radius-full); min-width: auto; }
.btn-icon .icon { width: 20px; height: 20px; }
.btn-full { width: 100%; }
.btn-loading { color: transparent !important; pointer-events: none; }
.btn-loading::after { content: ''; position: absolute; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: btn-spin 0.65s linear infinite; }

/* ===== FORM CONTROLS ===== */
.form-group { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-6); }
.form-label { font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--text-secondary); letter-spacing: 0.01em; }
.form-label.required::after { content: " *"; color: var(--warning); }
.input-field { width: 100%; background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-md); color: var(--text-primary); font-size: var(--text-body); font-family: inherit; padding: var(--space-3) var(--space-4); transition: border-color var(--transition-fast), box-shadow var(--transition-fast); }
.input-field::placeholder { color: var(--text-muted); opacity: 0.7; }
.input-field:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.15); outline: none; }
.input-field:disabled { background: rgba(15,23,42,0.4); cursor: not-allowed; opacity: 0.6; }
.input-field.error { border-color: var(--error); }
.input-field.error:focus { box-shadow: 0 0 0 3px rgba(248,113,113,0.15); }
.form-error { font-size: var(--text-sm); color: var(--error); margin-top: var(--space-1); animation: slideDown var(--transition-base) both; }
.form-helper { font-size: var(--text-sm); color: var(--text-muted); margin-top: var(--space-1); }

/* ===== CARDS ===== */
.card { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-6); transition: all var(--transition-base); }
.card:hover { border-color: var(--color-border-hover); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card-stats { display: flex; flex-direction: column; gap: var(--space-2); }
.card-stats .value { font-size: var(--text-h2); font-weight: var(--fw-bold); color: var(--text-primary); }
.card-stats .label { font-size: var(--text-sm); color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.08em; }
.card-stats .delta { font-size: var(--text-xs); font-weight: var(--fw-semibold); margin-top: var(--space-1); }

/* ===== BADGES & CHIPS ===== */
.badge { display: inline-flex; align-items: center; font-size: var(--text-xs); font-weight: var(--fw-bold); padding: 2px 8px; border-radius: var(--radius-full); letter-spacing: 0.04em; text-transform: uppercase; }
.badge-primary { background: rgba(99,102,241,0.15); color: var(--primary); }
.badge-success { background: rgba(16,185,129,0.15); color: var(--success); }
.badge-warning { background: rgba(251,191,36,0.15); color: var(--warning); }
.badge-error { background: rgba(248,113,113,0.15); color: var(--error); }
.badge-neutral { background: rgba(148,163,184,0.15); color: var(--text-secondary); }
.chip { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: var(--fw-medium); padding: var(--space-1) var(--space-3); background: rgba(15,23,42,0.6); border: 1px solid var(--color-border); border-radius: var(--radius-full); color: var(--text-secondary); }

/* ===== AVATARS ===== */
.avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-full); font-weight: var(--fw-bold); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-sm { width: 28px; height: 28px; font-size: var(--text-xs); }
.avatar { width: 36px; height: 36px; font-size: var(--text-sm); }
.avatar-lg { width: 48px; height: 48px; font-size: var(--text-body); }
.avatar-initial { color: var(--text-primary); }

/* ===== EMPTY STATES ===== */
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--space-24) var(--space-8); text-align: center; }
.empty-state .icon { width: 64px; height: 64px; border-radius: var(--radius-full); background: rgba(99,102,241,0.1); color: var(--primary); margin-bottom: var(--space-4); display: inline-flex; align-items: center; justify-content: center; font-size: 24px; }
.empty-state h3 { font-size: var(--text-h3); margin-bottom: var(--space-2); color: var(--text-primary); }
.empty-state p { font-size: var(--text-body); color: var(--text-secondary); margin-bottom: var(--space-6); max-width: 320px; }

/* ===== SKELETON LOADERS ===== */
.skeleton { background: linear-gradient(90deg, rgba(15,23,42,0.6) 25%, rgba(30,41,59,0.8) 50%, rgba(15,23,42,0.6) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-md); border: none; color: transparent; }
.skeleton-text { height: 16px; border-radius: 4px; margin-bottom: var(--space-3); }
.skeleton-text.last { width: 60%; }
.skeleton-avatar { width: 36px; height: 36px; border-radius: 50%; }
.skeleton-h1 { height: 32px; width: 60%; margin-bottom: var(--space-4); }
.skeleton-h2 { height: 24px; width: 40%; margin-bottom: var(--space-3); }
.skeleton-body { height: 18px; width: 100%; margin-bottom: var(--space-2); }
.skeleton-body.short { width: 45%; }
.skeleton-btn { height: 44px; border-radius: var(--radius-full); margin-top: var(--space-4); }

/* ===== MODALS ===== */
.modal-backdrop { position: fixed; inset: 0; background: rgba(2,6,13,0.55); backdrop-filter: blur(8px); z-index: var(--z-modal-backdrop); display: flex; align-items: center; justify-content: center; padding: var(--space-4); animation: fadeIn var(--transition-base) both; }
.modal-container { position: relative; z-index: var(--z-modal); width: 100%; max-width: 520px; max-height: 90vh; overflow: hidden auto; }
.modal-content { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); animation: slideDown var(--transition-base) both; }
.modal-header { padding: var(--space-6); border-bottom: 1px solid var(--color-border); display: flex; align-items: center; justify-content: space-between; }
.modal-title { font-size: var(--text-h3); font-weight: var(--fw-bold); color: var(--text-primary); margin: 0; }
.modal-close { background: transparent; border: none; color: var(--text-muted); cursor: pointer; padding: var(--space-2); border-radius: var(--radius-md); transition: all var(--transition-fast); }
.modal-close:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.modal-close .icon { width: 20px; height: 20px; }
.modal-body { padding: var(--space-6); overflow-y: auto; max-height: 60vh; }
.modal-footer { padding: var(--space-6); border-top: 1px solid var(--color-border); display: flex; gap: var(--space-3); justify-content: flex-end; }

/* ===== TOASTS ===== */
.toast-container { position: fixed; bottom: var(--space-6); right: var(--space-6); z-index: var(--z-toast); display: flex; flex-direction: column; gap: var(--space-3); pointer-events: none; padding-bottom: env(safe-area-inset-bottom, 0); }
@media (max-width: 640px) { .toast-container { bottom: var(--space-10); left: var(--space-4); right: var(--space-4); } }
.toast { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-5); background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); color: var(--text-primary); font-size: var(--text-sm); font-weight: var(--fw-medium); box-shadow: var(--shadow-xl); min-width: 280px; max-width: 420px; animation: slideUp var(--transition-base) both; pointer-events: auto; }
.toast .icon { flex-shrink: 0; width: 20px; height: 20px; }
.toast-title { font-weight: var(--fw-bold); display: block; margin-bottom: var(--space-1); }
.toast-message { font-size: var(--text-xs); color: var(--text-secondary); display: block; }
.toast-success { border-left: 3px solid var(--success); }
.toast-error { border-left: 3px solid var(--error); }
.toast-info { border-left: 3px solid var(--primary); }
.toast-warning { border-left: 3px solid var(--warning); }
.toast-close { background: none; border: none; color: var(--text-muted); cursor: pointer; margin-left: auto; padding: var(--space-1); }
.toast-close:hover { color: var(--text-primary); }

/* ===== FLOATING ACTION BUTTON ===== */
.fab { position: fixed; bottom: var(--space-8); right: var(--space-6); width: 56px; height: 56px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%); color: #fff; border: none; border-radius: var(--radius-full); box-shadow: 0 8px 24px rgba(99,102,241,0.35); cursor: pointer; z-index: var(--z-popover); transition: all var(--transition-base); display: inline-flex; align-items: center; justify-content: center; animation: float 3s ease-in-out infinite; }
.fab:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 12px 32px rgba(99,102,241,0.45); }
.fab:active { transform: scale(0.95); }
.fab .icon { width: 24px; height: 24px; fill: #fff; }
@media (min-width: 641px) { .fab { display: none; } }

/* ===== BOTTOM NAVIGATION (MOBILE) ===== */
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; height: 80px; background: rgba(10,16,30,0.8); backdrop-filter: blur(20px); border-top: 1px solid var(--color-border); display: flex; align-items: center; justify-content: space-around; z-index: var(--z-sticky); padding: env(safe-area-inset-bottom, 0); }
@media (min-width: 641px) { .bottom-nav { display: none; } }
.bottom-nav-item { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); color: var(--text-muted); text-decoration: none; font-size: var(--text-xs); font-weight: var(--fw-medium); padding: var(--space-2); border-radius: var(--radius-md); transition: all var(--transition-fast); }
.bottom-nav-item .icon { width: 24px; height: 24px; }
.bottom-nav-item.active { color: var(--primary); background: rgba(99,102,241,0.1); }

/* ===== UTILITIES ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: var(--space-2); } .gap-3 { gap: var(--space-3); } .gap-4 { gap: var(--space-4); } .gap-6 { gap: var(--space-6); }
.w-full { width: 100%; }
.mb-4 { margin-bottom: var(--space-4); } .mb-6 { margin-bottom: var(--space-6); }
.mt-4 { margin-top: var(--space-4); } .mt-6 { margin-top: var(--space-6); }
.p-4 { padding: var(--space-4); } .p-6 { padding: var(--space-6); }
.rounded-md { border-radius: var(--radius-md); } .rounded-lg { border-radius: var(--radius-lg); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.text-center { text-align: center; }
.overflow-hidden { overflow: hidden; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

        /* Restructured Auth Modal */
        .auth-modal-redesign {
            background: rgba(10, 18, 36, 0.95) !important;
            border: 1px solid rgba(76, 141, 255, 0.35) !important;
            border-radius: 24px !important;
            padding: 28px 24px !important;
            max-width: 460px !important;
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 30px rgba(31, 107, 255, 0.18) !important;
        }

        .auth-modal-redesign .btn-modal-close {
            top: 20px;
            right: 20px;
        }

        .auth-modal-header {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            margin-bottom: 24px;
            padding-right: 40px;
        }

        .auth-header-brand img {
            display: block;
            height: 26px;
            width: auto;
        }

        .auth-modal-body {
            text-align: center;
        }

        .auth-modal-title {
            font-size: 1.45rem !important;
            font-weight: 800 !important;
            color: #ffffff !important;
            letter-spacing: -0.02em;
            margin: 0 0 10px !important;
        }

        .auth-login-copy {
            font-size: 0.88rem;
            color: #94a3b8;
            line-height: 1.55;
            margin: 0 0 28px;
        }

        .auth-google-center-box {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0 auto 28px;
            width: 100%;
        }

        .google-login-slot {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            min-height: 44px;
            overflow: visible !important;
        }

        .google-login-slot > div,
        .google-login-slot iframe {
            margin: 0 auto !important;
            overflow: visible !important;
        }

        .auth-modal-footer {
            padding-top: 14px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            text-align: center;
        }

        .auth-privacy-disclaimer {
            font-size: 0.73rem;
            color: #64748b;
            line-height: 1.45;
            margin: 0;
        }

        .auth-privacy-disclaimer a {
            color: #4C8DFF;
            text-decoration: underline;
        }

/* ==========================================================================
   UNSLOP PASS: Clean, deliberate craftsmanship based on heydamir/unslop
   ========================================================================== */

/* 1. Deactivate ambient blur blobs & glows */
.ambient-glow-left,
.ambient-glow-right,
.hero-blue-glow,
.hero-glow-center,
.hero-glow-left,
.hero-glow-right,
.avatar-pedestal-glow,
.champion-card-glow {
    display: none !important;
}

/* 2. Text: solid, crisp hierarchy — no gradient text */
.text-gradient-blue {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: #f8fafc !important;
}

/* 3. Typography weights: calm 500-600, no shouting 800-900 */
.hero-title-accent {
    color: #f8fafc;
    font-weight: 600;
}

.hero-title-line {
    font-weight: 600;
    letter-spacing: -0.02em;
}

.hero-title-subline {
    font-weight: 500;
    color: var(--primary);
    letter-spacing: -0.015em;
}

/* 4. Motion: eliminate looping bobbing animations */
.avatar-3d-bobbing {
    animation: none !important;
    transform: none !important;
}

/* 5. Details & Elevation: hairlines over heavy glowing shadows */
:root {
    --shadow-glow: none !important;
}

.hero-stage-split {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.service-card,
.about-card,
.champion-spotlight-card,
.arena-rules-card,
.workspace-frame,
.auth-modal {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.service-card:hover,
.about-card:hover {
    border-color: rgba(59, 130, 246, 0.3) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5) !important;
}

/* 6. Numbers: tabular figures across all metrics */
.champ-stat-val,
.score-pill,
.leaderboard-row b,
.leaderboard-row time,
#race_timer,
.badge-comp-number {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

/* 7. Nested radii: controls 8-10px, cards 12-14px, modals 16-18px */
.btn-primary-hero,
.btn-secondary-hero,
.btn-primary-action {
    border-radius: 10px !important;
}

.service-card,
.about-card,
.champion-spotlight-card,
.arena-rules-card {
    border-radius: 14px !important;
}

.auth-modal {
    border-radius: 18px !important;
}

.badge-contest-cta {
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 16px rgba(31, 107, 255, 0.22) !important;
    border: 1px solid rgba(76, 141, 255, 0.35) !important;
}

.badge-companies {
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 16px rgba(245, 158, 11, 0.22) !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
}

@keyframes amber-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7), 0 0 8px #f59e0b;
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
        box-shadow: 0 0 0 6px rgba(245, 158, 11, 0), 0 0 14px #fbbf24;
    }
}

.amber-pulse {
    background: #f59e0b !important;
    box-shadow: 0 0 8px #fbbf24 !important;
    animation: amber-pulse 2s infinite !important;
}



        /* Profile Modal Modern Compact Layout */
        #profile_modal_overlay .auth-modal {
            max-width: 520px;
            max-height: 90vh;
            padding: 24px 28px;
            border-radius: 16px;
            background: #0B1220;
            border: 1px solid rgba(76, 141, 255, 0.22);
            box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
            scrollbar-width: thin;
            scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
        }

        #profile_modal_overlay .auth-modal::-webkit-scrollbar {
            width: 5px;
        }

        #profile_modal_overlay .auth-modal::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.18);
            border-radius: 999px;
        }

        #profile_modal_overlay .field-group {
            margin-bottom: 10px;
        }

        #profile_modal_overlay .field-group label {
            font-size: 0.73rem;
            font-weight: 600;
            color: #94A3B8;
            margin-bottom: 3px;
            letter-spacing: 0.02em;
        }

        #profile_modal_overlay .field-group input {
            padding: 7px 11px;
            font-size: 13.5px;
            border-radius: 8px;
            background: #080E1A;
            border: 1px solid rgba(255, 255, 255, 0.09);
            color: #F1F5F9;
        }

        #profile_modal_overlay .field-group input:focus {
            border-color: #3B82F6;
            box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
        }


        /* Daily Contest & Leaderboard Clean UX - Hide distracting scrollbars */
        .ai-race-section,
        .race-arena-container,
        .arena-rules-card,
        .race-modal,
        .race-leaderboard-modal {
            scrollbar-width: none !important;
            -ms-overflow-style: none !important;
        }

        .ai-race-section::-webkit-scrollbar,
        .race-arena-container::-webkit-scrollbar,
        .arena-rules-card::-webkit-scrollbar,
        .race-modal::-webkit-scrollbar,
        .race-leaderboard-modal::-webkit-scrollbar {
            display: none !important;
            width: 0 !important;
            height: 0 !important;
        }
