        /* --- MOBILE RESPONSIVENESS --- */
        /* ============ RESPONSIVE DESIGN - MOBILE FIRST ============ */
        
        /* ===== TABLET (768px - 1024px) ===== */
        @media (min-width: 768px) and (max-width: 1023px) {
            .sidebar {
                width: var(--sidebar-width);
                position: fixed;
                transform: translateX(0);
                box-shadow: 2px 0 10px rgba(0,0,0,0.5);
                z-index: 200;
            }

            #mobileMenuToggle {
                display: block;
            }
            /* AI-Bot Responsive für Tablet */
            #view-aibot > div:nth-child(2) {
                grid-template-columns: 1fr !important;
            }
            .kpi-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }
            .charts-row {
                grid-template-columns: 1fr;
            }
            .modal-box {
                width: 90vw !important;
                max-width: 600px !important;
                max-height: 90vh !important;
            }
            .page-title {
                font-size: 1.5rem;
            }
            .quick-actions {
                gap: 3px;
                padding: 4px;
            }
            .quick-actions button {
                padding: 7px 10px;
                font-size: 0.78rem;
            }
            .cmd-kbd { display: none; }
        }

        /* ===== MOBILE (< 768px) ===== */
        @media (max-width: 767px) {
            /* ===== LAYOUT ===== */
            body {
                font-size: 14px;
            }
            
            .sidebar {
                width: 100%;
                max-width: 290px;
                position: fixed;
                left: 0;
                top: 0;
                height: 100vh;
                transform: translateX(-100%);
                transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
                z-index: 200;
                padding: 0;
                overflow: hidden;
            }
            
            .sidebar.active {
                transform: translateX(0);
                box-shadow: 4px 0 30px rgba(0,0,0,0.5);
            }
            
            .sidebar-overlay {
                display: none;
            }
            
            .sidebar-overlay.active {
                display: block !important;
            }

            /* ===== NAV ITEMS FÜR MOBILE ===== */
            .sidebar-ambient { display: none; }
            .sidebar-hover-beam { display: none; }
            .nav-item {
                padding: 10px 12px !important;
                margin: 2px 6px !important;
                font-size: 0.88rem !important;
                animation: none !important;
            }

            .nav-section {
                padding: 6px 12px !important;
                margin-top: 14px !important;
                margin-bottom: 2px !important;
                font-size: 0.65rem !important;
            }

            .sidebar-header {
                padding: 16px 14px 8px 14px !important;
            }
            .sidebar-search {
                margin: 4px 10px 10px 10px !important;
            }
            .brand {
                font-size: 1rem !important;
            }
            .sidebar-header-btn { opacity: 0.5 !important; }
            

            
            .main .header {
                padding-left: 60px;
                margin-bottom: 1.5rem;
            }
            
            #mobileMenuToggle {
                display: block;
                position: fixed;
                top: 16px;
                left: 12px;
                z-index: 201;
                padding: 10px 12px;
                font-size: 1.1rem;
            }
            
            /* ===== TYPOGRAPHY ===== */
            .page-title {
                font-size: 1.25rem;
                letter-spacing: 0;
            }
            
            .greeting {
                font-size: 0.7rem;
            }
            
            h1 { font-size: 1.5rem; }
            h2 { font-size: 1.25rem; }
            h3 { font-size: 1.1rem; }
            h4 { font-size: 0.95rem; }
            
            small { font-size: 0.75rem; }
            
            /* ===== DASHBOARD GRID ===== */
            .kpi-grid {
                grid-template-columns: 1fr;
                gap: 0.75rem;
                margin-bottom: 1rem;
            }
            
            .kpi-card {
                padding: 1.25rem 0.75rem;
            }
            
            .dashboard-grid {
                gap: 1.25rem;
            }
            
            .dashboard-item {
                width: 100%;
            }
            
            /* ===== QUICK ACTIONS ===== */
            .quick-actions {
                flex-wrap: wrap;
                gap: 4px;
                margin-bottom: 1rem;
            }
            
            .quick-actions button {
                padding: 10px 14px;
                font-size: 0.82rem;
                min-height: 44px;
                touch-action: manipulation;
            }
            .cmd-sep { display: none; }
            .cmd-kbd { display: none; }
            
            /* ===== AUDIT GRID ===== */
            .audit-grid {
                grid-template-columns: 1fr;
                gap: 0.75rem;
            }
            
            .audit-card {
                padding: 1rem;
            }

            /* ===== SCHOOL / BERUFSSCHULE RESPONSIVE ===== */
            .school-hero { padding:1.25rem; }
            .school-hero-icon { width:48px;height:48px;font-size:1.4rem;border-radius:14px; }
            .school-hero-content h2 { font-size:1.2rem; }
            .school-kpi-dashboard { grid-template-columns:1fr;gap:1rem; }
            .school-ring-card { padding:1.5rem; }
            .school-progress-ring { width:120px;height:120px; }
            .school-overall-note { font-size:2.2rem; }
            .school-kpi-cards { grid-template-columns:1fr; }
            .school-kpi-card { padding:1rem; }
            .school-kpi-icon { font-size:1.4rem;width:40px; }
            .school-kpi-value { font-size:1.2rem; }
            .school-section-header { flex-direction:column;align-items:flex-start; }
            .school-add-btn { width:100%; justify-content:center; }
            .school-tips-grid { grid-template-columns:1fr; }

            #schoolGradesInputGrid {
                grid-template-columns: 1fr !important;
            }

            #schoolGradesInputGrid > div {
                grid-column: 1 / -1 !important;
            }

            #schoolGradesInputGrid button {
                width: 100% !important;
            }

            #schoolGradesList {
                grid-template-columns: 1fr !important;
            }

            /* ===== IHK / KARRIERE RESPONSIVE ===== */
            .ihk-hero { padding:1.25rem;margin-bottom:1.5rem; }
            .ihk-hero-icon { font-size:1.8rem; }
            .ihk-hero-content h2 { font-size:1.1rem;line-height:1.3; }
            .ihk-hero-content p { font-size:0.75rem; }
            .ihk-kpi-dashboard { grid-template-columns:1fr;gap:1rem;margin-bottom:1.5rem; }
            .ihk-ring-card { padding:1.25rem; }
            .ihk-progress-ring { width:120px;height:120px; }
            .ihk-progress-value { font-size:2.2rem; }
            .ihk-kpi-cards { grid-template-columns:1fr;gap:1rem; }
            .ihk-kpi-card { padding:1rem;gap:0.75rem; }
            .ihk-kpi-icon { font-size:1.4rem; }
            .ihk-kpi-value { font-size:1.2rem; }

            .ihk-secondary-kpi {
                padding: 0.75rem !important;
                border-left-width: 2px !important;
                background: rgba(255,255,255,0.04) !important;
            }

            .ihk-secondary-kpi .ihk-metric-value {
                font-size: 1.3rem !important;
            }

            .ihk-secondary-kpi .ihk-metric-label {
                font-size: 0.6rem !important;
                white-space: normal;
            }

            .ihk-note-group {
                grid-template-columns: 1fr !important;
                gap: 1rem !important;
            }

            .ihk-note-card {
                padding:1.25rem;
            }

            .ihk-note-value {
                font-size:1.4rem;
            }

            .ihk-input-group {
                grid-template-columns:1fr;
                gap:1rem;
            }

            .glass-input,
            .glass-select {
                width: 100%;
                font-size: 16px !important;
            }

            .kpi-grid {
                grid-template-columns: 1fr !important;
                gap: 0.75rem !important;
            }

            /* ===== PERFORMANCE RESPONSIVE ===== */
            .kpi-large {
                padding: 1.25rem 0.75rem !important;
                text-align: center;
            }

            .kpi-large-value {
                font-size: 2rem !important;
                margin: 8px 0;
            }

            .kpi-large-label {
                font-size: 0.65rem !important;
                letter-spacing: 0.3px;
                line-height: 1.2;
            }

            .kpi-large > div:nth-child(3) {
                font-size: 0.7rem !important;
            }
            
            /* ===== CHARTS ===== */
            .charts-row {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            
            .chart-deep-row {
                grid-template-columns: 1fr;
            }
            
            .chart-deep-row > div {
                border-right: none !important;
                border-bottom: 1px solid var(--border);
                padding-bottom: 1.5rem !important;
                padding-right: 0 !important;
                padding-left: 0 !important;
            }
            
            .chart-deep-row > div > div:first-child {
                padding-right: 0 !important;
            }

            .chart-header {
                flex-direction: column;
                gap: 10px;
                margin-bottom: 1rem;
            }

            .donut-container {
                display: flex;
                justify-content: center;
                padding: 0.75rem 0;
                height: auto;
            }
            
            .donut-legend {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.5rem;
                font-size: 0.75rem;
            }

            .chart-title {
                font-size: 0.95rem !important;
            }

            .chart-sub {
                font-size: 0.7rem !important;
            }

            /* Enhanced Trend Responsive */
            .trend-stats-bar {
                grid-template-columns: repeat(3, 1fr) !important;
                gap: 6px !important;
            }
            .trend-period-selector {
                gap: 4px;
            }
            .trend-period-btn {
                padding: 8px 6px; min-height: 40px; min-width: 40px; font-size: 0.62rem;
            }
            .trend-y-axis {
                width: 36px !important; min-width: 36px !important; font-size: 0.52rem !important;
            }
            .trend-x-axis {
                padding-left: 42px !important; font-size: 0.5rem !important;
            }
            .trend-tooltip {
                min-width: 150px !important; font-size: 0.7rem !important;
            }

            .stacked-bar-chart {
                max-height: 250px !important;
            }

            .horizontal-bar-container {
                max-height: auto !important;
            }

            /* Responsive Audit Grid */
            .audit-grid {
                grid-template-columns: 1fr !important;
                gap: 0.75rem !important;
            }
            
            /* ===== HEATMAP ===== */
            .heatmap-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 6px;
            }
            
            .heatmap-grid > span:nth-child(n+5) {
                display: none;
            }
            
            /* ===== INPUT WRAPPER (FORM) ===== */
            .input-wrapper {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            
            .glass-input,
            .glass-select {
                width: 100%;
                padding: 14px 12px;
                font-size: 16px;
                border-radius: 10px;
                min-height: 48px;
            }
            
            .input-wrapper input[type="date"],
            .input-wrapper input[type="time"],
            .input-wrapper input[type="number"],
            .input-wrapper input[type="text"],
            .input-wrapper select {
                font-size: 16px !important;
            }
            
            .timer-box {
                grid-column: 1;
            }
            
            /* ===== MODALS ===== */
            .modal {
                padding: 1rem;
            }
            
            .modal-box {
                width: 100vw !important;
                max-width: calc(100vw - 2rem) !important;
                height: auto;
                max-height: 90vh !important;
                border-radius: 16px 16px 0 0;
                overflow-y: auto !important;
            }
            
            .modal-box {
                animation: slideUp 0.3s ease !important;
            }
            
            @keyframes slideUp {
                from { transform: translateY(100%); opacity: 0; }
                to { transform: translateY(0); opacity: 1; }
            }
        }
            
            @media (max-width: 480px) {
                .modal {
                    padding: 0.5rem;
                    align-items: flex-end;
                }
                
                .modal-box {
                    max-width: calc(100vw - 1rem) !important;
                    border-radius: 16px 16px 0 0;
                    padding: 20px !important;
                }
                
                #privacyModal .modal-box {
                    padding: 16px !important;
                }
                
                #privacyModal h2 {
                    font-size: 1.3rem !important;
                }
                
                #privacyModal ul {
                    font-size: 0.85rem !important;
                }
            }
            
            /* ===== SETTINGS TABS ===== */
            .settings-tab {
                padding: 7px 10px !important;
                font-size: 0.75rem;
                white-space: nowrap;
            }
            
            .settings-tab.active {
                background: rgba(255,255,255,0.08) !important;
            }
            
            .settings-tab-content {
                padding: 0.75rem !important;
            }
            
            .settings-section {
                padding: 1rem;
            }
            
            .settings-nav {
                padding: 8px 10px;
            }
            
            .settings-header {
                padding: 1rem 1.25rem;
            }
            
            /* ===== BUTTONS ===== */
            .btn {
                padding: 12px 16px;
                min-height: 44px;
                font-size: 0.9rem;
                border-radius: 10px;
                touch-action: manipulation;
            }
            
            .btn-icon-row {
                grid-template-columns: 1fr;
                gap: 0.5rem;
            }
            
            /* ===== CARDS ===== */
            .card:not(.gz-card-v2) {
                padding: 1rem;
                border-radius: 12px;
            }
            
            /* ===== LIST ===== */
            .entry-item {
                padding: 1rem;
                margin-bottom: 0.75rem;
            }
            
            /* ===== HISTORY/TABLES ===== */
            .list-item {
                padding: 1rem;
                margin-bottom: 0.75rem;
            }
            
            /* ===== ANIMATIONS ===== */
            @keyframes slideInRight {
                from { opacity: 0; transform: translateX(100%); }
                to { opacity: 1; transform: translateX(0); }
            }
            
            /* ===== SIDEBAR BRAND ===== */
            .brand {
                font-size: 1rem;
            }
            
            .sidebar-nav {
                gap: 0.5rem;
            }
            
            .sidebar-nav button {
                padding: 12px;
                font-size: 0.85rem;
                justify-content: flex-start;
                gap: 10px;
            }

            /* ===== AI-BOT RESPONSIVE ===== */
            #view-aibot > div:nth-child(2) {
                grid-template-columns: 1fr !important;
            }

            #view-aibot .view-section > div:nth-child(2) {
                max-width: 100%;
            }
            
            /* ===== DATE BADGE ===== */
            .date-badge {
                padding: 8px 12px;
                font-size: 0.8rem;
                border-radius: 20px;
            }
            
            /* ===== SCROLLABLE CONTAINERS ===== */
            .sidebar::-webkit-scrollbar {
                width: 6px;
            }
            
            .modal-box::-webkit-scrollbar {
                width: 6px;
            }
            
            /* ===== PREVENT ZOOM ON INPUT ===== */
            input[type="text"],
            input[type="date"],
            input[type="time"],
            input[type="number"],
            select,
            textarea {
                font-size: 16px !important;
            }
            
            /* ===== FOOTER & SPACING ===== */
            .onboarding-footer {
                padding: 1rem;
                gap: 0.75rem;
            }
            
            /* ===== COLOR DOTS ===== */
            .color-dot {
                min-width: 36px;
                min-height: 36px;
            }
        
        /* ===== LANDSCAPE MOBILE (< 768px & landscape) ===== */
        @media (max-height: 600px) and (min-width: 600px) {
            .sidebar {
                transform: translateX(-100%);
            }
            
            .main {
                margin-left: 0;
            }
            
            .page-title {
                font-size: 1.1rem;
                margin-bottom: 0.75rem;
            }
            
            .modal-box {
                max-height: 95vh;
            }
        }
        
        /* ===== SMALL PHONES (< 360px) ===== */
        @media (max-width: 359px) {
            .sidebar {
                max-width: 240px;
            }
            
            .page-title {
                font-size: 1.1rem;
            }
            
            .kpi-grid {
                gap: 0.5rem;
            }
            
            .quick-actions button {
                padding: 12px;
                font-size: 0.8rem;
            }
            
            .btn {
                padding: 10px 12px;
                font-size: 0.8rem;
            }
        }
        
        /* Mobile Overlay für Sidebar */
        .sidebar-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 199;
        }
        .sidebar-overlay.active {
            display: block;
        }


        /* ═══ MOBILE BOTTOM NAV — SaaS Rework ═══ */

        .mobile-bottom-nav {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 150;
            transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        .mobile-bottom-nav.nav-hidden {
            transform: translateY(calc(100% + 12px));
        }

        /* Drag handle pill */
        .mob-nav-handle {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 7px 0 3px;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
        }
        .mob-nav-handle-pill {
            width: 38px;
            height: 3px;
            border-radius: 2px;
            background: rgba(255,255,255,0.08);
            transition: background 0.2s, transform 0.2s;
        }
        .mob-nav-handle:hover .mob-nav-handle-pill,
        .mob-nav-handle:active .mob-nav-handle-pill {
            background: rgba(255,255,255,0.22);
            transform: scaleX(1.2);
        }

        /* Inner nav bar */
        .mobile-bottom-nav-inner {
            display: flex;
            align-items: center;
            justify-content: space-around;
            padding: 0 6px;
            padding-bottom: env(safe-area-inset-bottom, 0px);
            background: rgba(6, 6, 10, 0.92);
            backdrop-filter: blur(32px) saturate(1.8);
            -webkit-backdrop-filter: blur(32px) saturate(1.8);
            border-top: 1px solid rgba(255,255,255,0.07);
            box-shadow: 0 -1px 0 rgba(255,255,255,0.03), 0 -16px 48px rgba(0,0,0,0.55);
            height: 62px;
            position: relative;
        }
        [data-theme="light"] .mobile-bottom-nav-inner {
            background: rgba(248,249,251,0.94);
            border-top-color: rgba(0,0,0,0.07);
            box-shadow: 0 -1px 0 rgba(0,0,0,0.04), 0 -8px 32px rgba(0,0,0,0.1);
        }

        /* Sliding active indicator */
        .mob-nav-indicator {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            height: 40px;
            border-radius: 13px;
            background: rgba(168, 85, 247, 0.09);
            border: 1px solid rgba(168, 85, 247, 0.13);
            pointer-events: none;
            transition: left 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
                        width 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
                        opacity 0.25s;
            opacity: 0;
            z-index: 0;
        }
        [data-theme="light"] .mob-nav-indicator {
            background: rgba(168, 85, 247, 0.07);
            border-color: rgba(168, 85, 247, 0.12);
        }

        /* Nav buttons */
        .mob-nav-btn {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 3px;
            padding: 5px 2px;
            border-radius: 13px;
            background: transparent;
            border: none;
            color: rgba(255,255,255,0.3);
            cursor: pointer;
            font-family: var(--font-main);
            -webkit-tap-highlight-color: transparent;
            transition: color 0.2s;
            position: relative;
            z-index: 1;
            min-height: 50px;
        }
        [data-theme="light"] .mob-nav-btn {
            color: rgba(0,0,0,0.3);
        }
        .mob-nav-btn:active {
            transform: scale(0.9);
            transition: transform 0.1s;
        }
        .mob-nav-hidden-sync {
            display: none !important;
        }

        /* Icon wrapper */
        .mob-nav-icon {
            width: 26px;
            height: 26px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        .mob-nav-icon svg {
            width: 22px;
            height: 22px;
            display: block;
            transition: stroke-width 0.2s;
        }
        .mob-nav-label {
            font-size: 0.56rem;
            font-weight: 600;
            letter-spacing: 0.2px;
            white-space: nowrap;
            transition: color 0.2s;
        }

        /* Active state */
        .mob-nav-btn.active {
            color: var(--primary);
        }
        .mob-nav-btn.active .mob-nav-icon {
            transform: translateY(-2px) scale(1.12);
        }
        .mob-nav-btn.active .mob-nav-icon svg {
            stroke-width: 2.2;
        }

        /* Active dot for "mehr" button when overflow tab is selected */
        #mobNav-more.more-active::after {
            content: '';
            position: absolute;
            top: 6px;
            right: calc(50% - 10px);
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--primary);
            box-shadow: 0 0 6px rgba(168,85,247,0.7);
        }

        /* ── Center FAB ── */
        .mob-nav-fab {
            width: 54px;
            height: 54px;
            border-radius: 18px;
            background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 50%, #c026d3 100%);
            border: none;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            flex-shrink: 0;
            margin: 0 4px;
            position: relative;
            z-index: 1;
            -webkit-tap-highlight-color: transparent;
            box-shadow:
                0 4px 22px rgba(168,85,247,0.5),
                0 0 0 1px rgba(255,255,255,0.18) inset,
                0 10px 40px rgba(168,85,247,0.22);
            transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                        box-shadow 0.28s;
            overflow: hidden;
        }
        .mob-nav-fab::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: inherit;
            background: linear-gradient(145deg, rgba(255,255,255,0.28) 0%, transparent 55%);
            pointer-events: none;
        }
        .mob-nav-fab-glow {
            position: absolute;
            inset: -6px;
            border-radius: 24px;
            background: radial-gradient(circle, rgba(168,85,247,0.22) 0%, transparent 68%);
            animation: fab-glow 3.5s ease-in-out infinite;
            pointer-events: none;
        }
        @keyframes fab-glow {
            0%, 100% { opacity: 0.5; transform: scale(1); }
            50% { opacity: 1; transform: scale(1.2); }
        }
        .mob-nav-fab:active {
            transform: scale(0.87) rotate(-6deg);
            box-shadow: 0 2px 12px rgba(168,85,247,0.4);
        }
        .mob-nav-fab svg {
            position: relative;
            z-index: 1;
        }

        /* ── More sheet backdrop ── */
        .mob-more-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.52);
            backdrop-filter: blur(10px) saturate(1.3);
            -webkit-backdrop-filter: blur(10px) saturate(1.3);
            z-index: 148;
            opacity: 0;
            transition: opacity 0.3s;
        }
        .mob-more-overlay.open {
            display: block;
            opacity: 1;
        }

        /* ── More bottom sheet ── */
        .mob-more-sheet {
            position: fixed;
            bottom: -100%;
            left: 0;
            right: 0;
            z-index: 149;
            background: linear-gradient(175deg, rgba(13,13,20,0.99) 0%, rgba(7,7,12,1) 100%);
            border-radius: 26px 26px 0 0;
            border-top: 1px solid rgba(255,255,255,0.08);
            padding: 0 14px;
            padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
            box-shadow:
                0 -2px 0 rgba(255,255,255,0.04),
                0 -24px 80px rgba(0,0,0,0.65);
            transition: bottom 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
            backdrop-filter: blur(28px);
            -webkit-backdrop-filter: blur(28px);
        }
        [data-theme="light"] .mob-more-sheet {
            background: linear-gradient(175deg, rgba(250,250,252,0.99) 0%, rgba(244,244,248,1) 100%);
            border-top-color: rgba(0,0,0,0.06);
        }
        .mob-more-sheet.open {
            bottom: 0;
        }
        .mob-more-sheet-handle {
            width: 42px;
            height: 4px;
            border-radius: 2px;
            background: rgba(255,255,255,0.1);
            margin: 13px auto 0;
        }
        [data-theme="light"] .mob-more-sheet-handle {
            background: rgba(0,0,0,0.1);
        }
        .mob-more-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 4px 10px;
        }
        .mob-more-title {
            font-size: 0.65rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.3px;
            color: rgba(255,255,255,0.22);
        }
        [data-theme="light"] .mob-more-title {
            color: rgba(0,0,0,0.25);
        }
        .mob-more-close {
            width: 28px;
            height: 28px;
            border-radius: 8px;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.07);
            color: rgba(255,255,255,0.35);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
            transition: all 0.15s;
        }
        [data-theme="light"] .mob-more-close {
            background: rgba(0,0,0,0.04);
            border-color: rgba(0,0,0,0.07);
            color: rgba(0,0,0,0.35);
        }
        .mob-more-close:active {
            background: rgba(239,68,68,0.12);
            border-color: rgba(239,68,68,0.2);
            color: #ef4444;
        }

        /* More grid */
        .mob-more-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 7px;
            padding-bottom: 4px;
        }
        .mob-more-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            padding: 11px 6px 9px;
            border-radius: 14px;
            background: rgba(255,255,255,0.032);
            border: 1px solid rgba(255,255,255,0.042);
            color: rgba(255,255,255,0.55);
            cursor: pointer;
            font-family: var(--font-main);
            font-size: 0.6rem;
            font-weight: 600;
            -webkit-tap-highlight-color: transparent;
            transition: all 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
            text-align: center;
        }
        [data-theme="light"] .mob-more-item {
            background: rgba(0,0,0,0.032);
            border-color: rgba(0,0,0,0.05);
            color: rgba(0,0,0,0.55);
        }
        .mob-more-item:active {
            background: rgba(168,85,247,0.1);
            border-color: rgba(168,85,247,0.18);
            color: var(--primary);
            transform: scale(0.93);
        }
        .mob-more-item-hide:active {
            background: rgba(239,68,68,0.08);
            border-color: rgba(239,68,68,0.14);
            color: #f87171;
        }
        .mob-more-icon {
            width: 34px;
            height: 34px;
            border-radius: 11px;
            background: rgba(255,255,255,0.055);
            border: 1px solid rgba(255,255,255,0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.18s;
        }
        [data-theme="light"] .mob-more-icon {
            background: rgba(0,0,0,0.045);
            border-color: rgba(0,0,0,0.04);
        }
        .mob-more-icon svg {
            width: 16px;
            height: 16px;
            display: block;
        }
        .mob-more-item:active .mob-more-icon {
            background: rgba(168,85,247,0.14);
            border-color: rgba(168,85,247,0.18);
        }
        .mob-more-item-hide:active .mob-more-icon {
            background: rgba(239,68,68,0.1);
            border-color: rgba(239,68,68,0.14);
        }
        .mob-more-label {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 100%;
            line-height: 1.2;
        }

        /* ── Floating restore button ── */
        .mob-nav-restore {
            display: none;
            position: fixed;
            bottom: 18px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 147;
            width: 46px;
            height: 46px;
            border-radius: 15px;
            background: rgba(10,10,16,0.92);
            border: 1px solid rgba(255,255,255,0.1);
            color: rgba(255,255,255,0.6);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            box-shadow:
                0 4px 28px rgba(0,0,0,0.55),
                0 0 0 1px rgba(255,255,255,0.04) inset;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
            align-items: center;
            justify-content: center;
            animation: restore-float 2.5s ease-in-out infinite;
        }
        [data-theme="light"] .mob-nav-restore {
            background: rgba(248,249,251,0.95);
            border-color: rgba(0,0,0,0.08);
            color: rgba(0,0,0,0.55);
        }
        .mob-nav-restore.visible {
            display: flex;
        }
        @keyframes restore-float {
            0%, 100% { transform: translateX(-50%) translateY(0); box-shadow: 0 4px 28px rgba(0,0,0,0.55); }
            50% { transform: translateX(-50%) translateY(-5px); box-shadow: 0 8px 36px rgba(0,0,0,0.45), 0 0 20px rgba(168,85,247,0.12); }
        }

        @media (max-width: 767px) {
            .mobile-bottom-nav {
                display: block;
            }
            .main {
                padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
            }
        }
