/* AIseek css/app — restored from 8864c52 baseline */
/* Shell: navbar, sidebar, main-container, mobile chrome */
--bg-color: #161823;
            --nav-bg: #161823;
            --surface: #141a23;
            --surface-soft: #1a2230;
            --primary-color: #00d4aa;
            --primary-hover: #00e6b8;
            --text-color: #f0f4f8;
            --text-secondary: rgba(240,244,248,0.65);
            --border-color: rgba(255,255,255,0.08);
            --seg-bg: rgba(255,255,255,0.06);
            --seg-bg-active: rgba(255,255,255,0.10);
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
            --shadow-md: 0 4px 16px rgba(0,0,0,0.25);
            --nav-reserved: calc(var(--nav-arrows-right) + var(--nav-arrows-size) + var(--video-edge-gap));
            --comments-arrow-gap: 0px;
            --sidebar-width: 140px;
            --header-height: 56px;
            --jx-gap: 16px;
            --comments-panel-width: 380px;
            --nav-arrows-size: 40px;
            --nav-arrows-gap: 16px;
            --nav-arrows-right: 8px;
            --profile-hero-height: 190px;
            --video-edge-gap: 6px;
            --profile-pad-left: clamp(16px, 4vw, 50px);
            --profile-pad-right: clamp(0px, 1.2vw, 12px);
            --hero-fade: rgba(22,24,35,0.80);
        }
        :root[data-theme="light"] {
            --bg-color: #f8fafc;
            --nav-bg: #ffffff;
            --surface: #ffffff;
            --surface-soft: #f1f5f9;
            --primary-color: #0d9488;
            --primary-hover: #0f766e;
            --text-color: #0f172a;
            --text-secondary: rgba(15,23,42,0.65);
            --border-color: rgba(15,23,42,0.12);
            --seg-bg: rgba(15,23,42,0.05);
            --seg-bg-active: rgba(15,23,42,0.08);
            --hero-fade: rgba(255,255,255,0.92);
        }
background-color: var(--bg-color); color: var(--text-color); }
        :root[data-theme="light"] .navbar { background: rgba(255,255,255,0.92); }
:root[data-theme="light"] .sidebar { background: var(--bg-color); }
:root[data-theme="light"] .content-area { background: var(--bg-color); }
height: 100dvh; }
        }
        
        /* --- Header --- */
        .navbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 24px;
            height: var(--header-height);
            background: var(--bg-color);
            backdrop-filter: blur(16px);
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 100;
        }
/* --- Profile Hero & Header --- */
        body.profile-hero .navbar {
            background: var(--bg-color);
            backdrop-filter: blur(16px);
            box-shadow: none;
        }
body.profile-hero .main-container {
            margin-top: 0;
            height: 100vh;
        }
body.profile-hero .sidebar {
            top: var(--header-height); /* Keep sidebar below header area */
            background: var(--hero-fade);
        }
body.profile-hero .content-area {
            top: 0;
            bottom: 0;
            height: 100vh;
        }
background: var(--surface); border-color: rgba(0,212,170,0.4); box-shadow: 0 0 0 2px rgba(0,212,170,0.15); }
        .navbar .search-bar { border-bottom: none; }
width: 32px; height: 32px; border-radius: 50%;
            background-size: cover; background-position: center;
            cursor: pointer; border: 1px solid var(--border-color);
        }

        /* --- Main Layout --- */
        .main-container {
            display: flex;
            margin-top: var(--header-height);
            height: calc(100svh - var(--header-height));
            width: 100%;
            max-width: none;
            margin-left: 0;
            margin-right: 0;
        }
.main-container { height: calc(100dvh - var(--header-height)); }
}
        
        /* Sidebar */
        .sidebar {
            width: var(--sidebar-width);
            background: var(--bg-color);
            overflow-y: auto;
            padding: 6px 0;
            display: flex;
            flex-direction: column;
            position: fixed; /* Fixed sidebar */
            top: var(--header-height);
            bottom: 0;
            left: 0;
            z-index: 90;
        }
.main-container { max-width: 100%; }
}

        /* --- Layout Adjustments (Closer to Menu, Closer to Top) --- */
        .content-area {
            position: fixed;
            top: var(--header-height);
            bottom: 0;
            left: var(--sidebar-width);
            right: 0;
            margin-left: 0;
            padding: 0;
            overflow-y: auto;
            background: var(--bg-color);
        }
