:root {
            --bg-void: #080B10;
            --glass-slate: rgba(15, 23, 42, 0.8);
            --accent-blue: #3B82F6;
            --accent-gold: #FFD700;
            --accent-amber: #F59E0B;
            --text-main: #E2E8F0;
            --text-muted: #94A3B8;
            --border-subtle: rgba(255, 255, 255, 0.1);
            --border-gold: rgba(255, 215, 0, 0.25);
            --shadow-elevation: 0 20px 50px rgba(0, 0, 0, 0.8);
            --shadow-glow: 0 0 15px rgba(59, 130, 246, 0.5);
            --font-family: 'Segoe UI', system-ui, sans-serif;
            --font-mono: 'Consolas', 'Courier New', monospace;
            
            /* Dynamic System Variables for Themes & Settings */
            --window-rgb: 12, 10, 8;
            --window-opacity: 0.45;
            --window-blur: 70px;
            --window-border: rgba(255, 255, 255, 0.15);
            --window-border-top: rgba(255, 255, 255, 0.3);
            --theme-accent: #FFD700;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            user-select: none;
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* IE and Edge */
        }
        *::-webkit-scrollbar {
            display: none;
            width: 0;
            height: 0;
            background: transparent;
        }

        body {
            background-color: var(--bg-void);
            color: var(--text-main);
            font-family: var(--font-family);
            overflow: hidden;
            height: 100vh;
            width: 100vw;
            display: flex;
            flex-direction: column;
        }

        /* Ambient Desktop Background */
        #desktop-bg {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: url('../assets/wallpapers/wallpaper.png') no-repeat center center;
            background-size: cover;
            z-index: 0;
        }

        /* Top Bar */
        #top-bar {
            width: 100%;
            height: 28px;
            background: rgba(8, 11, 16, 0.7);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255, 179, 0, 0.15);
            display: none;
            align-items: center;
            justify-content: space-between;
            z-index: 9000;
            font-family: var(--font-mono);
            font-size: 10px;
            color: rgba(255, 255, 255, 0.6);
            letter-spacing: 1.5px;
            flex-shrink: 0;
        }
        .top-workspaces {
            display: flex;
            height: 100%;
        }
        .top-ws-btn {
            padding: 0 15px;
            display: flex;
            align-items: center;
            cursor: pointer;
            border-right: 1px solid rgba(255, 255, 255, 0.05);
            transition: all 0.3s ease;
        }
        .top-ws-btn:hover {
            background: rgba(255, 179, 0, 0.05);
            color: rgba(255, 255, 255, 0.9);
        }
        .top-ws-btn.active {
            color: var(--accent-gold);
            background: rgba(255, 179, 0, 0.1);
            border-bottom: 2px solid var(--accent-gold);
        }
        .top-bar-center {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0.7;
        }
        .top-bar-right {
            padding: 0 15px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--accent-blue);
        }
        .top-status-dot {
            width: 6px; height: 6px;
            background: var(--accent-blue);
            border-radius: 50%;
            box-shadow: 0 0 8px var(--accent-blue);
            animation: top-pulse 2s infinite;
        }
        @keyframes top-pulse {
            0% { opacity: 0.3; } 50% { opacity: 1; } 100% { opacity: 0.3; }
        }

        #desktop {
            display: none;
            flex: 1;
            position: relative;
            z-index: 1;
            overflow: hidden;
        }

        /* Desktop Icons */
        .desktop-icon {
            position: absolute;
            width: 80px;
            height: 90px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            padding: 8px;
            border-radius: 6px;
            cursor: pointer;
            border: 1px solid transparent;
            transition: background 0.2s, border 0.2s;
            color: var(--text-main);
            user-select: none;
        }
        .desktop-icon:hover {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .desktop-icon.selected {
            background: rgba(59, 130, 246, 0.3);
            border: 1px solid rgba(59, 130, 246, 0.6);
        }
        .desktop-icon svg {
            width: 40px;
            height: 40px;
            margin-bottom: 5px;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
        }
        .desktop-icon-name {
            font-size: 11px;
            text-align: center;
            line-height: 1.2;
            text-shadow: 0 1px 3px rgba(0,0,0,0.8);
            word-break: break-word;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
            overflow: hidden;
        }

        /* Boot Screen */
        #boot-screen { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: url('../assets/wallpapers/wallpaper1.png') center/cover; z-index: 9999; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; transition: opacity 1s ease-out; }
        #boot-screen::before { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.5); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); z-index: 1; }
        
        #boot-log { position: relative; z-index: 2; width: 100%; height: 100%; padding: 20px; box-sizing: border-box; font-family: var(--font-mono); font-size: 14px; overflow: hidden; line-height: 1.5; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; text-align: left; word-break: break-all; }
        
        .boot-line-black { color: #000000; font-weight: 900; text-shadow: 0 0 5px rgba(255,255,255,0.3); }
        .boot-line-yellow { color: var(--accent-gold); text-shadow: 0 0 8px var(--accent-gold); font-weight: bold; }
        .boot-line-white { color: #ffffff; text-shadow: 0 0 3px rgba(255,255,255,0.5); }
        #taskbar {
            height: 48px;
            background: var(--glass-slate);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border-top: 1px solid var(--border-gold);
            display: none;
            align-items: center;
            justify-content: space-between;
            padding: 0 10px;
            z-index: 9000;
        }

        .taskbar-center {
            display: flex;
            align-items: center;
            gap: 8px;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }

        .taskbar-item {
            width: 40px;
            height: 40px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
            position: relative;
            box-sizing: border-box;
            padding: 4px;
        }

        .taskbar-item:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .taskbar-item.active::after {
            content: '';
            position: absolute;
            bottom: 2px;
            width: 16px;
            height: 3px;
            background: var(--accent-blue);
            border-radius: 2px;
            box-shadow: 0 0 5px var(--accent-blue);
        }

        .taskbar-item svg {
            width: 24px;
            height: 24px;
            color: var(--text-main);
        }

        .taskbar-item.start-btn svg {
            color: var(--accent-gold);
            filter: drop-shadow(0 0 4px var(--accent-gold));
        }

        .system-tray {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 0 10px;
            height: 100%;
            cursor: pointer;
            border-radius: 6px;
            transition: background 0.2s;
            margin-left: auto;
        }

        .system-tray:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .tray-icons {
            display: flex;
            gap: 8px;
        }
        
        .tray-icons svg {
            width: 16px;
            height: 16px;
            color: var(--text-main);
        }

        .clock-container {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            font-size: 12px;
            line-height: 1.2;
        }

        /* Start Menu */
        #start-menu {
            position: absolute;
            bottom: 60px;
            left: 50%;
            transform: translateX(-50%) translateY(20px);
            width: 600px;
            height: 640px;
            background: var(--glass-slate);
            backdrop-filter: blur(24px);
            border: 1px solid var(--border-gold);
            border-radius: 12px;
            box-shadow: var(--shadow-elevation);
            z-index: 9500;
            display: flex;
            flex-direction: column;
            padding: 24px;
            opacity: 0;
            pointer-events: none;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }

        #start-menu.open {
            opacity: 1;
            pointer-events: auto;
            transform: translateX(-50%) translateY(0);
        }

        .search-box {
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid var(--border-subtle);
            border-radius: 6px;
            padding: 10px 16px;
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 24px;
        }

        .search-box input {
            background: transparent;
            border: none;
            color: var(--text-main);
            outline: none;
            width: 100%;
            font-size: 14px;
        }

        .pinned-apps {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 16px;
            margin-bottom: 24px;
        }

        .app-icon {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            padding: 8px;
            border-radius: 6px;
            transition: background 0.2s;
        }

        .app-icon:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .app-icon svg {
            width: 32px;
            height: 32px;
            color: var(--accent-blue);
        }

        .app-icon span {
            font-size: 12px;
            text-align: center;
        }

        .start-footer {
            margin-top: auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 16px;
            border-top: 1px solid var(--border-subtle);
        }

        .power-btn {
            background: transparent;
            border: none;
            color: var(--text-main);
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px;
            border-radius: 6px;
        }
        .power-btn:hover { background: rgba(255, 255, 255, 0.1); }
        .power-btn svg { width: 18px; height: 18px; }

        /* Window Manager */
        .window {
            position: absolute;
            background: rgba(var(--window-rgb), var(--window-opacity));
            backdrop-filter: blur(var(--window-blur));
            -webkit-backdrop-filter: blur(var(--window-blur));
            border: 1px solid var(--window-border);
            border-top: 1px solid var(--window-border-top);
            border-radius: 12px;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.2);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            min-width: 300px;
            min-height: 200px;
            resize: both;
            transition: border 0.3s, box-shadow 0.3s, background 0.3s;
        }

        .window.focused {
            border: 1px solid var(--accent-gold);
            box-shadow: 0 30px 70px rgba(0,0,0,0.85), 0 0 25px var(--border-gold);
            background: rgba(22, 18, 14, 0.6);
        }

        .window.maximized {
            top: 0 !important; left: 0 !important;
            width: 100% !important; height: 100% !important;
            border-radius: 0;
            resize: none;
        }
        
        .window.snapped-left {
            top: 0 !important; left: 0 !important;
            width: 50% !important; height: 100% !important;
            border-radius: 0;
            resize: none;
        }
        
        .window.snapped-right {
            top: 0 !important; left: 50% !important;
            width: 50% !important; height: 100% !important;
            border-radius: 0;
            resize: none;
        }

        .titlebar {
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 12px;
            background: rgba(0, 0, 0, 0.2);
            border-bottom: 1px solid var(--border-subtle);
            cursor: default;
        }

        .title-area {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            pointer-events: none;
        }
        .title-area svg { width: 16px; height: 16px; }

        .window-controls {
            display: flex;
            height: 100%;
        }

        .win-btn {
            width: 40px;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.2s;
        }
        .win-btn svg { width: 14px; height: 14px; color: var(--text-main); }
        .win-btn:hover { background: rgba(255, 255, 255, 0.1); }
        .win-btn.close:hover { background: #E81123; }

        .window-content {
            flex: 1;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            background: rgba(8, 7, 5, 0.3);
            box-sizing: border-box;
        }

        /* Snap Guide Overlay */
        #snap-guide {
            position: absolute;
            background: rgba(59, 130, 246, 0.2);
            border: 2px solid var(--accent-blue);
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.2s;
            z-index: 8000;
        }

        /* AI Core Widget */

        /* App Specific Styles */
        /* Terminal */
        .app-terminal { font-family: var(--font-mono); font-size: 13px; color: var(--accent-gold); padding: 10px; overflow-y: auto; height: 100%; }
        .app-terminal .term-line { margin-bottom: 4px; }
        .app-terminal .term-input-line { display: flex; gap: 8px; }
        .app-terminal input { flex: 1; background: transparent; border: none; color: var(--text-main); font-family: var(--font-mono); outline: none; }
        #matrix-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; z-index: -1; }

        /* Explorer */
        /* Explorer */
        .app-explorer {
            display: flex;
            height: 100%;
            background: rgba(8, 7, 5, 0.1);
        }
        .explorer-sidebar {
            width: 170px;
            border-right: 1px solid var(--border-subtle);
            padding: 15px 10px;
            background: rgba(0, 0, 0, 0.25);
            display: flex;
            flex-direction: column;
            gap: 6px;
            box-sizing: border-box;
        }
        .sidebar-header {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-muted);
            margin-bottom: 8px;
            padding-left: 10px;
        }
        .sidebar-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 12px;
            border-radius: 6px;
            cursor: pointer;
            color: var(--text-main);
            font-size: 13px;
            transition: background 0.2s, color 0.2s;
        }
        .sidebar-item:hover {
            background: transparent;
            color: var(--accent-gold);
            text-shadow: 0 0 5px var(--accent-gold);
        }
        .sidebar-item.active {
            background: transparent;
            color: var(--accent-gold);
            font-weight: bold;
            text-shadow: 0 0 8px var(--accent-gold);
        }
        .sidebar-item svg {
            width: 16px;
            height: 16px;
            color: var(--text-muted);
            transition: color 0.2s;
        }
        .sidebar-item.active svg, .sidebar-item:hover svg {
            color: var(--accent-gold);
        }

        .explorer-main {
            flex: 1;
            display: flex;
            flex-direction: column;
            background: transparent;
        }
        .explorer-header-bar {
            padding: 10px 15px;
            display: flex;
            flex-direction: column;
            gap: 8px;
            border-bottom: 1px solid var(--border-subtle);
            background: rgba(0,0,0,0.15);
        }
        .explorer-address-bar {
            display: flex;
            align-items: center;
            gap: 8px;
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid var(--border-subtle);
            border-radius: 6px;
            padding: 6px 12px;
            font-size: 12px;
            color: var(--text-muted);
            font-family: var(--font-mono);
        }
        .explorer-address-bar span {
            color: var(--text-main);
        }
        .explorer-toolbar {
            display: flex;
            gap: 10px;
            align-items: center;
        }
        .explorer-toolbar button {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--border-subtle);
            color: var(--text-main);
            padding: 6px 12px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 12px;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.2s;
        }
        .explorer-toolbar button:hover {
            background: rgba(255, 215, 0, 0.15);
            border-color: var(--accent-gold);
            color: var(--accent-gold);
        }
        .explorer-files-area {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            position: relative;
            box-sizing: border-box;
        }
        .explorer-files {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
            gap: 15px;
        }
        .file-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            padding: 12px 8px;
            border-radius: 8px;
            border: 1px solid transparent;
            transition: all 0.2s;
            box-sizing: border-box;
        }
        .file-item:hover {
            background: rgba(255, 215, 0, 0.08);
            border-color: rgba(255, 215, 0, 0.15);
        }
        .file-item svg {
            width: 40px;
            height: 40px;
            filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
        }
        .file-item span {
            font-size: 12px;
            text-align: center;
            word-break: break-all;
            color: var(--text-main);
            text-shadow: 0 1px 2px rgba(0,0,0,0.5);
        }

        /* Locked Screen inside Explorer */
        .explorer-locked {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(8, 7, 5, 0.85);
            backdrop-filter: blur(8px);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 15px;
            color: var(--text-main);
            text-align: center;
            padding: 20px;
            z-index: 10;
        }
        .explorer-locked svg {
            width: 48px;
            height: 48px;
            color: #EF4444;
            filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.5));
        }

        /* Code Studio */
        .app-code { display: flex; flex-direction: column; height: 100%; box-sizing: border-box; }
        .code-toolbar { height: 35px; border-bottom: 1px solid var(--border-subtle); display: flex; align-items: center; padding: 0 15px; gap: 10px; background: rgba(0,0,0,0.4); box-sizing: border-box; }
        .code-toolbar button { background: var(--accent-blue); border: none; color: #fff; padding: 4px 12px; border-radius: 4px; cursor: pointer; font-size: 11px; transition: background 0.2s; }
        .code-toolbar button:hover { background: #2563EB; }
        .code-editor-area { flex: 1; display: flex; overflow: hidden; box-sizing: border-box; }
        .code-lines { width: 45px; background: rgba(0,0,0,0.5); color: var(--text-muted); text-align: right; padding: 10px 8px; font-family: var(--font-mono); font-size: 13px; user-select: none; box-sizing: border-box; border-right: 1px solid var(--border-subtle); }
        .code-textarea { flex: 1; background: transparent; color: var(--text-main); font-family: var(--font-mono); font-size: 13px; border: none; padding: 10px; outline: none; resize: none; white-space: pre; box-sizing: border-box; }

        /* Audio Studio */
        .app-audio { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 20px; gap: 20px; }
        #audio-visualizer { width: 100%; height: 150px; background: rgba(0,0,0,0.5); border-radius: 8px; border: 1px solid var(--border-gold); }
        .audio-controls { display: flex; gap: 16px; }
        .audio-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-blue); border: none; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
        .audio-btn svg { width: 20px; height: 20px; }

        /* Telemetry */
        .app-telemetry { display: flex; flex-direction: column; height: 100%; padding: 10px; gap: 10px; overflow-y: auto; }
        .chart-container { height: 100px; border: 1px solid var(--border-subtle); border-radius: 6px; background: rgba(0,0,0,0.3); position: relative; }
        .chart-canvas { width: 100%; height: 100%; }
        .chart-label { position: absolute; top: 4px; left: 8px; font-size: 11px; color: var(--accent-gold); }
        .process-list { flex: 1; border: 1px solid var(--border-subtle); border-radius: 6px; background: rgba(0,0,0,0.3); }
        .process-header { display: flex; padding: 8px; border-bottom: 1px solid var(--border-subtle); font-size: 12px; font-weight: bold; }
        .process-item { display: flex; padding: 8px; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 12px; align-items: center; justify-content: space-between; }
        .process-kill { background: rgba(232, 17, 35, 0.8); border: none; color: #fff; padding: 2px 8px; border-radius: 3px; cursor: pointer; font-size: 10px; }

        /* Animations */
        @keyframes spin { 100% { transform: rotate(360deg); } }
        @keyframes glow { 0% { box-shadow: 0 0 5px var(--accent-gold); } 100% { box-shadow: 0 0 20px var(--accent-blue); } }
        @keyframes pulse { 0% { transform: scale(0.95); opacity: 0.8; } 100% { transform: scale(1.05); opacity: 1; } }
        /* Siri-like Orb in the bottom right */
        #orb-container {
            display: none;
            position: fixed;
            bottom: 80px;
            right: 30px;
            width: 80px;
            height: 80px;
            z-index: 10000;
            cursor: pointer;
            border-radius: 50%;
            align-items: center;
            justify-content: center;
            background: rgba(10, 10, 10, 0.3);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 
                0 4px 15px rgba(0, 0, 0, 0.5),
                inset 0 0 20px rgba(0, 0, 0, 0.8),
                inset 0 0 5px rgba(255, 255, 255, 0.15);
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            overflow: hidden;
        }
        #orb-container:hover {
            transform: scale(1.05);
            box-shadow: 
                0 10px 25px rgba(0, 0, 0, 0.6),
                inset 0 0 20px rgba(0, 0, 0, 0.8),
                inset 0 0 10px rgba(255, 255, 255, 0.25);
        }
        #orb-container:active { transform: scale(0.95); }
        #orb-core {
            position: absolute;
            width: 150%; height: 150%;
            background: linear-gradient(135deg, transparent 35%, rgba(30, 58, 138, 0.9) 45%, rgba(255,255,255,1) 50%, rgba(56, 189, 248, 0.95) 55%, transparent 65%);
            filter: blur(8px);
            animation: shiftCore 5s infinite alternate ease-in-out;
            opacity: 0.9;
            mix-blend-mode: screen;
            transform-origin: center center;
        }
        @keyframes shiftCore {
            0% { transform: rotate(0deg) scale(1) translate(-5%, -5%); filter: blur(8px); }
            100% { transform: rotate(20deg) scale(1.1) translate(5%, 5%); filter: blur(12px); }
        }
        #orb-highlight {
            position: absolute; top: 2%; left: 5%; width: 90%; height: 45%;
            border-radius: 50% 50% 0 0 / 100% 100% 0 0;
            background: linear-gradient(to bottom, rgba(255,255,255,0.4) 0%, transparent 100%);
            z-index: 2; pointer-events: none;
        }
        #orb-rim {
            position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 50%;
            box-shadow: inset -2px -2px 10px rgba(255,255,255,0.1), inset 2px 2px 10px rgba(255,255,255,0.05);
            z-index: 3; pointer-events: none;
        }
        .speaking #orb-core { animation: pulseSpeak 1s infinite alternate ease-in-out; filter: blur(6px); }
        @keyframes pulseSpeak { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.15); opacity: 1; filter: blur(8px); } }

        /* Drag Selection Box */
        .selection-box {
            position: absolute;
            background: rgba(255, 215, 0, 0.12);
            border: 1px solid var(--accent-gold);
            box-shadow: 0 0 8px rgba(255, 215, 0, 0.2);
            z-index: 9999;
            pointer-events: none;
        }

        /* Context Menu Styles */
        .context-menu {
            position: fixed;
            background: var(--glass-slate);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border: 1px solid var(--border-gold);
            border-radius: 8px;
            box-shadow: var(--shadow-elevation);
            padding: 6px 0;
            width: 160px;
            z-index: 11000;
            font-family: var(--font-family);
            font-size: 13px;
            display: none;
        }
        .context-menu-item {
            padding: 8px 14px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--text-main);
            cursor: pointer;
            transition: background 0.2s, color 0.2s;
        }
        .context-menu-item:hover {
            background: rgba(255, 215, 0, 0.15);
            color: var(--accent-gold);
        }
        .context-menu-item svg {
            width: 14px;
            height: 14px;
            color: var(--text-muted);
            transition: color 0.2s;
        }
        .context-menu-item:hover svg {
            color: var(--accent-gold);
        }

        /* Desktop Widgets */
        #desktop-widgets {
            position: absolute;
            top: 40px;
            right: 40px;
            width: 240px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            z-index: 10;
            pointer-events: auto;
        }
        .widget-panel {
            background: rgba(8, 11, 16, 0.8);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 179, 0, 0.2);
            border-radius: 12px;
            padding: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 15px rgba(255,179,0,0.05);
            display: flex;
            flex-direction: column;
            align-items: stretch;
            transition: border-color 0.3s, box-shadow 0.3s;
        }
        .widget-panel:hover {
            border-color: rgba(255, 179, 0, 0.5);
            box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,179,0,0.1);
        }
        
        /* Unified Weather & Date Widget */
        #widget-weather-new {
            justify-content: space-between;
            padding: 20px;
        }
        .weather-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            border-bottom: 1px solid rgba(255,179,0,0.15);
            padding-bottom: 12px;
            margin-bottom: 15px;
        }
        .weather-date-stack {
            display: flex;
            flex-direction: column;
            line-height: 1;
        }
        .cal-day-text { font-size: 11px; color: var(--accent-gold); font-weight: bold; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; }
        .cal-date-text { font-size: 32px; font-weight: 900; color: #FFF; text-shadow: 0 0 10px rgba(255,179,0,0.2); margin-bottom: 2px; }
        .cal-month-text { font-size: 10px; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }
        .weather-icon { font-size: 28px; filter: drop-shadow(0 0 8px rgba(255,179,0,0.4)); line-height: 1; }
        
        .weather-main {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 15px;
        }
        .weather-temp { font-size: 42px; font-weight: 900; color: #FFF; letter-spacing: -1px; text-shadow: 0 0 20px rgba(255,179,0,0.3); }
        
        .weather-details { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); font-weight: 500; }
        .w-detail-item { display: flex; align-items: center; gap: 6px; }
        .w-detail-item svg { color: var(--accent-gold); filter: drop-shadow(0 0 3px rgba(255,179,0,0.5)); }
        
        /* Audio Visualizer Widget */
        #widget-visualizer-panel { align-items: center; overflow: hidden; padding: 15px 10px; }
        .viz-header { font-size: 10px; color: var(--accent-gold); letter-spacing: 2px; margin-bottom: 10px; text-transform: uppercase; width: 100%; text-align: center; border-bottom: 1px solid rgba(255,179,0,0.1); padding-bottom: 5px; }
        #sys-visualizer { width: 100%; height: 60px; filter: drop-shadow(0 0 5px var(--accent-gold)); }
        /* Telemetry Widget */
        .telemetry-panel {
            flex-direction: row;
            justify-content: space-around;
            padding: 15px;
        }
        .chart-container {
            position: relative;
            width: 70px;
            height: 70px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .chart-container canvas {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            transform: rotate(-90deg);
        }
        .chart-label {
            position: relative;
            z-index: 1;
            font-family: var(--font-mono);
            font-size: 9px;
            color: var(--text-muted);
            text-align: center;
            line-height: 1.2;
        }
        .chart-label span {
            font-size: 12px;
            color: var(--text-main);
            font-weight: bold;
        }

        /* Music Player Styles */
        .music-player-container {
            display: flex;
            height: 100%;
            background: linear-gradient(135deg, rgba(8, 7, 5, 0.4) 0%, rgba(30, 20, 35, 0.2) 100%);
            color: var(--text-main);
            font-family: var(--font-family);
        }
        
        .player-left {
            width: 45%;
            border-right: 1px solid var(--border-subtle);
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            position: relative;
        }
        .player-track-info {
            text-align: left;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }
        .track-title-artist h3 {
            font-size: 18px;
            font-weight: 600;
            color: var(--text-main);
        }
        .track-title-artist p {
            font-size: 12px;
            color: var(--text-muted);
            margin-top: 2px;
        }
        .player-heart-btn {
            cursor: pointer;
            color: var(--text-muted);
            transition: color 0.2s;
        }
        .player-heart-btn:hover, .player-heart-btn.liked {
            color: #EF4444;
        }
        
        .modern-album-area {
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 15px 0;
            gap: 15px;
        }
        .modern-album-art {
            width: 180px;
            height: 180px;
            border-radius: 12px;
            background-size: cover;
            background-position: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .modern-album-art.playing {
            transform: scale(1.03);
            box-shadow: 0 15px 35px rgba(59, 130, 246, 0.3);
        }
        .linear-progress-container {
            width: 100%;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 11px;
            color: var(--text-muted);
            font-family: var(--font-mono);
        }
        .progress-bar-bg {
            flex: 1;
            height: 4px;
            background: rgba(255,255,255,0.1);
            border-radius: 2px;
            position: relative;
            cursor: pointer;
        }
        .progress-bar-fill {
            position: absolute;
            top: 0; left: 0;
            height: 100%;
            background: var(--accent-blue);
            border-radius: 2px;
            width: 0%;
            box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
            transition: width 0.1s linear;
        }
        
        .player-controls {
            display: flex;
            justify-content: space-around;
            width: 100%;
            align-items: center;
            margin-top: 10px;
        }
        .control-btn {
            background: transparent;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            transition: color 0.2s, transform 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            outline: none;
        }
        .control-btn:hover {
            color: var(--accent-blue);
        }
        .control-btn.active {
            color: var(--accent-blue);
            text-shadow: 0 0 5px var(--accent-blue);
        }
        .control-btn.play-pause-btn {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: rgba(255,255,255,0.05);
            border: 1px solid var(--border-subtle);
            color: var(--text-main);
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }
        .control-btn.play-pause-btn:hover {
            border-color: var(--accent-gold);
            color: var(--accent-gold);
            transform: scale(1.05);
        }
        .control-btn svg {
            width: 16px; height: 16px;
        }
        .control-btn.play-pause-btn svg {
            width: 18px; height: 18px;
        }
        
        .player-right {
            width: 55%;
            display: flex;
            flex-direction: column;
            background: rgba(0, 0, 0, 0.15);
        }
        .playlist-header {
            padding: 15px 20px;
            font-size: 13px;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 1px;
            border-bottom: 1px solid var(--border-subtle);
            color: var(--text-muted);
        }
        .playlist-tracks {
            flex: 1;
            overflow-y: auto;
            padding: 10px 0;
        }
        .track-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 20px;
            cursor: pointer;
            transition: background 0.2s;
        }
        .track-item:hover {
            background: rgba(255, 215, 0, 0.05);
        }
        .track-item.active {
            background: rgba(255, 215, 0, 0.1);
        }
        .track-item-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .track-item-art {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            background-size: cover;
            background-position: center;
            background-color: rgba(255,255,255,0.05);
            border: 1px solid var(--border-subtle);
        }
        .track-item-details h4 {
            font-size: 13px;
            font-weight: 500;
            color: var(--text-main);
        }
        .track-item-details p {
            font-size: 11px;
            color: var(--text-muted);
            margin-top: 1px;
        }
        .track-item-duration {
            font-size: 11px;
            font-family: var(--font-mono);
            color: var(--text-muted);
        }
        .track-item.active .track-item-details h4 {
            color: var(--accent-gold);
            font-weight: 600;
        }
        .track-item.active .track-item-duration {
            color: var(--accent-gold);
        }

        /* Camera UI */
        .camera-container {
            display: flex;
            flex-direction: column;
            height: 100%;
            background: #000;
            position: relative;
        }
        .camera-viewfinder {
            flex-grow: 1;
            background: #111;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
        }
        .camera-viewfinder video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: filter 0.3s ease;
        }
        .camera-controls {
            height: 80px;
            background: rgba(10, 15, 30, 0.6);
            backdrop-filter: blur(15px);
            border-top: 1px solid rgba(37, 99, 235, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            position: absolute;
            bottom: 0; left: 0; right: 0;
            z-index: 10;
        }
        .cam-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
            border: 2px solid var(--accent-blue);
            color: var(--accent-blue);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }
        .cam-btn:hover {
            background: rgba(37, 99, 235, 0.3);
            transform: scale(1.05);
        }
        .cam-btn:active { transform: scale(0.95); }
        .cam-btn.record-btn {
            border-color: #EF4444;
            color: #EF4444;
        }
        .cam-btn.record-btn:hover {
            background: rgba(239, 68, 68, 0.3);
        }
        .cam-btn.photo-btn {
            border-color: #fff;
            color: #fff;
        }
        .cam-btn.photo-btn:hover { background: rgba(255, 255, 255, 0.2); }
        .cam-btn.recording {
            animation: pulse-red 1.5s infinite;
        }
        @keyframes pulse-red {
            0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
            70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
            100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
        }
        .camera-effects-dropdown {
            position: absolute;
            bottom: 90px;
            right: 20px;
            background: rgba(10, 15, 30, 0.6);
            border: 1px solid rgba(37, 99, 235, 0.3);
            backdrop-filter: blur(15px);
            border-radius: 12px;
            padding: 10px;
            display: none;
            flex-direction: column;
            gap: 8px;
            z-index: 10;
        }
        .camera-effects-dropdown.show { display: flex; }
        .effect-btn {
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            padding: 5px 10px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 12px;
            transition: 0.2s;
        }
        .effect-btn:hover, .effect-btn.active {
            background: var(--accent-blue);
            border-color: var(--accent-blue);
        }
        .camera-playback-modal {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0, 0, 0, 0.9);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 100;
        }
        .playback-controls {
            margin-top: 15px;
            display: flex;
            gap: 15px;
        }
        .dl-btn {
            background: var(--accent-blue);
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 4px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: bold;
        }
        .dl-btn:hover { background: #1D4ED8; }

        /* Calculator UI */
        .calc-container {
            display: flex;
            flex-direction: column;
            height: 100%;
            background: rgba(10, 15, 30, 0.65);
            backdrop-filter: blur(15px);
            padding: 15px;
            box-sizing: border-box;
        }
        .calc-display {
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(37, 99, 235, 0.4);
            border-radius: 8px;
            box-shadow: inset 0 0 10px rgba(37, 99, 235, 0.2);
            height: 80px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            align-items: flex-end;
            padding: 10px;
            margin-bottom: 15px;
        }
        .calc-history {
            color: rgba(255, 255, 255, 0.5);
            font-size: 14px;
            min-height: 20px;
        }
        .calc-current {
            color: white;
            font-size: 32px;
            font-weight: bold;
            font-family: 'Consolas', monospace;
            text-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
        }
        .calc-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }
        .calc-tab {
            flex: 1;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(37, 99, 235, 0.3);
            color: rgba(255, 255, 255, 0.6);
            padding: 6px;
            border-radius: 4px;
            cursor: pointer;
            transition: 0.2s;
        }
        .calc-tab.active {
            background: rgba(37, 99, 235, 0.3);
            color: var(--accent-blue);
            border-color: var(--accent-blue);
        }
        .calc-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
            flex-grow: 1;
        }
        .calc-btn {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            color: white;
            font-size: 18px;
            cursor: pointer;
            transition: 0.1s;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .calc-btn:active { transform: scale(0.92); }
        .calc-btn:hover {
            background: rgba(255, 255, 255, 0.1);
        }
        .calc-btn.op {
            background: rgba(37, 99, 235, 0.15);
            color: var(--accent-blue);
            border-color: rgba(37, 99, 235, 0.3);
        }
        .calc-btn.op:hover { background: rgba(37, 99, 235, 0.3); }
        .calc-btn.eq {
            background: var(--accent-blue);
            color: white;
            grid-column: span 2;
        }
        .calc-btn.eq:hover { background: #1D4ED8; }
        .calc-sci {
            display: none;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
            margin-bottom: 10px;
        }
        .calc-sci.show { display: grid; }

        /* Settings UI */
        .settings-container {
            display: flex;
            height: 100%;
            background: rgba(10, 10, 15, 0.6);
            color: var(--text-main);
        }
        .settings-sidebar {
            width: 250px;
            background: rgba(0, 0, 0, 0.3);
            border-right: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            flex-direction: column;
            padding: 20px 10px;
        }
        .settings-sidebar-item {
            padding: 12px 20px;
            border-radius: 8px;
            cursor: pointer;
            margin-bottom: 5px;
            display: flex;
            align-items: center;
            gap: 12px;
            transition: 0.2s;
            font-size: 14px;
        }
        .settings-sidebar-item:hover { background: rgba(255, 255, 255, 0.05); }
        .settings-sidebar-item.active {
            background: rgba(255, 255, 255, 0.1);
            font-weight: bold;
        }
        .settings-content {
            flex-grow: 1;
            padding: 40px;
            overflow-y: auto;
        }
        .settings-pane {
            display: none;
            flex-direction: column;
            animation: fadeIn 0.3s ease;
        }
        .settings-pane.active { display: flex; }
        .settings-header {
            font-size: 28px;
            font-weight: 300;
            margin-bottom: 30px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding-bottom: 15px;
        }
        .settings-section {
            margin-bottom: 40px;
        }
        .settings-section-title {
            font-size: 16px;
            font-weight: bold;
            color: var(--theme-accent);
            margin-bottom: 15px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        /* Wallpapers Grid */
        .wallpaper-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }
        .wallpaper-card {
            height: 120px;
            border-radius: 12px;
            background-size: cover;
            background-position: center;
            cursor: pointer;
            border: 2px solid transparent;
            transition: 0.2s;
            position: relative;
        }
        .wallpaper-card:hover { transform: scale(1.02); }
        .wallpaper-card.active { border-color: var(--theme-accent); }
        /* Themes Grid */
        .theme-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }
        .theme-card {
            padding: 15px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 15px;
            transition: 0.2s;
        }
        .theme-card:hover { background: rgba(255, 255, 255, 0.1); }
        .theme-card.active { border-color: var(--theme-accent); background: rgba(255,255,255,0.08); }
        .theme-color-circle {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            border: 2px solid rgba(255,255,255,0.5);
        }
        /* Sliders */
        .settings-slider-container {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 20px;
        }
        .settings-slider-label { width: 120px; font-size: 14px; }
        .settings-slider {
            flex-grow: 1;
            -webkit-appearance: none;
            height: 4px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 2px;
            outline: none;
        }
        .settings-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: var(--theme-accent);
            cursor: pointer;
            box-shadow: 0 0 10px rgba(0,0,0,0.5);
        }

        /* Browser UI */
        .browser-container {
            display: flex;
            flex-direction: column;
            height: 100%;
            background: #1e1e2d;
        }
        .browser-topbar {
            display: flex;
            flex-direction: column;
            background: rgba(30, 30, 45, 0.95);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        .browser-tabs {
            display: flex;
            gap: 5px;
            padding: 8px 10px 0 10px;
            background: rgba(20, 20, 30, 0.8);
        }
        .browser-tab {
            padding: 8px 20px;
            background: rgba(40, 40, 60, 0.5);
            border-radius: 8px 8px 0 0;
            color: rgba(255, 255, 255, 0.6);
            font-size: 13px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            max-width: 200px;
            border: 1px solid transparent;
            border-bottom: none;
        }
        .browser-tab.active {
            background: #1e1e2d;
            color: white;
            border-color: rgba(255, 255, 255, 0.1);
        }
        .browser-toolbar {
            display: flex;
            align-items: center;
            padding: 8px 15px;
            gap: 12px;
        }
        .browser-nav-btn {
            background: transparent;
            border: none;
            color: rgba(255, 255, 255, 0.7);
            cursor: pointer;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: 0.2s;
        }
        .browser-nav-btn:hover { background: rgba(255, 255, 255, 0.1); }
        .browser-address-bar {
            flex-grow: 1;
            background: rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 6px 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .browser-address-input {
            background: transparent;
            border: none;
            color: white;
            outline: none;
            flex-grow: 1;
            font-size: 13px;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        .browser-content {
            flex-grow: 1;
            position: relative;
            background: #fff;
        }
        .browser-tab-pane {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            display: none;
            flex-direction: column;
        }
        .browser-tab-pane.active { display: flex; }
        
        /* New Tab Page Aesthetics */
        .new-tab-page {
            background: linear-gradient(135deg, #1c0e3a, #2f1b4c, #1a1025);
            background-size: 400% 400%;
            animation: gradientBG 15s ease infinite;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            color: white;
            position: relative;
            overflow: hidden;
        }
        .new-tab-page::before {
            content: '';
            position: absolute;
            bottom: 0; left: 0; right: 0; height: 150px;
            background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
        }
        .google-logo {
            font-size: 60px;
            font-weight: bold;
            font-family: 'Arial', sans-serif;
            margin-bottom: 30px;
            letter-spacing: -2px;
            text-shadow: 0 4px 20px rgba(255,255,255,0.2);
        }
        .search-box-container {
            width: 500px;
            background: white;
            border-radius: 24px;
            padding: 12px 24px;
            display: flex;
            align-items: center;
            gap: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            z-index: 2;
        }
        .search-box-container input {
            flex-grow: 1;
            border: none;
            outline: none;
            font-size: 16px;
            color: #333;
        }
        .shortcut-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-top: 50px;
            z-index: 2;
        }
        .shortcut-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            cursor: pointer;
        }
        .shortcut-icon {
            width: 48px;
            height: 48px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: 0.2s;
        }
        .shortcut-item:hover .shortcut-icon { background: rgba(255, 255, 255, 0.2); transform: scale(1.05); }
        .shortcut-text { font-size: 12px; color: rgba(255,255,255,0.8); font-family: 'Segoe UI', sans-serif; }

        /* Upgraded Task Manager / Telemetry UI */
        .telemetry-container {
            display: flex;
            height: 100%;
            background: linear-gradient(135deg, rgba(8, 7, 5, 0.45) 0%, rgba(15, 23, 42, 0.35) 100%);
            color: var(--text-main);
            font-family: var(--font-family);
        }
        
        .telemetry-sidebar {
            width: 200px;
            border-right: 1px solid var(--border-subtle);
            overflow-y: auto;
            background: rgba(0, 0, 0, 0.2);
            padding: 10px 0;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        .telemetry-sidebar-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 15px;
            cursor: pointer;
            transition: background 0.2s;
            border-left: 3px solid transparent;
        }
        .telemetry-sidebar-item:hover {
            background: rgba(255, 215, 0, 0.05);
        }
        .telemetry-sidebar-item.active {
            background: rgba(255, 215, 0, 0.1);
            border-left-color: var(--accent-gold);
        }
        .sidebar-item-info {
            display: flex;
            flex-direction: column;
            gap: 2px;
            flex: 1;
        }
        .sidebar-item-name {
            font-size: 12px;
            font-weight: bold;
            color: var(--text-main);
        }
        .sidebar-item-value {
            font-size: 11px;
            color: var(--text-muted);
            font-family: var(--font-mono);
        }
        .sidebar-sparkline {
            width: 60px;
            height: 30px;
            margin-left: 10px;
            opacity: 0.8;
        }
        
        .telemetry-main {
            flex: 1;
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 15px;
            overflow-y: auto;
        }
        .telemetry-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            border-bottom: 1px solid var(--border-subtle);
            padding-bottom: 8px;
        }
        .telemetry-header h2 {
            font-size: 22px;
            font-weight: 500;
            color: var(--text-main);
        }
        .telemetry-header span {
            font-size: 12px;
            color: var(--text-muted);
            font-family: var(--font-mono);
        }
        
        .telemetry-graph-container {
            position: relative;
            height: 180px;
            border: 1px solid var(--border-subtle);
            border-radius: 8px;
            background: rgba(0, 0, 0, 0.35);
            overflow: hidden;
            box-shadow: inset 0 0 15px rgba(0,0,0,0.5);
        }
        .telemetry-main-graph {
            width: 100%;
            height: 100%;
        }
        
        .telemetry-metrics-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255,255,255,0.05);
            border-radius: 6px;
            padding: 12px;
            font-size: 12px;
        }
        .metric-cell {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        .metric-cell-label {
            color: var(--text-muted);
            font-size: 11px;
            text-transform: uppercase;
        }
        .metric-cell-value {
            font-weight: bold;
            color: var(--text-main);
            font-family: var(--font-mono);
            font-size: 13px;
        }
        
        .telemetry-processes {
            border: 1px solid var(--border-subtle);
            border-radius: 8px;
            background: rgba(0, 0, 0, 0.25);
            overflow: hidden;
        }
        .proc-header {
            padding: 10px 15px;
            font-size: 12px;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--accent-gold);
            border-bottom: 1px solid var(--border-subtle);
            background: rgba(0, 0, 0, 0.2);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .proc-list-body {
            max-height: 120px;
            overflow-y: auto;
            overflow-x: hidden;
            padding-right: 5px;
        }
        .proc-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 8px 15px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
            font-size: 12px;
        }
        .proc-btn {
            background: #EF4444;
            color: white;
            border: none;
            padding: 4px 8px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 11px;
            transition: 0.2s;
        }
        .proc-btn:hover { background: #DC2626; }
            transition: background 0.2s;
        }
        .proc-row:hover {
            background: rgba(255, 255, 255, 0.02);
        }
        .proc-row button {
            background: rgba(239, 68, 68, 0.15);
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: #EF4444;
            padding: 3px 10px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 11px;
            transition: all 0.2s;
        }
        .proc-row button:hover {
            background: #EF4444;
            color: #fff;
        }
        /* Ultron App UI */
        .ultron-app {
            position: relative;
            width: 100%;
            height: 100%;
            background-color: #000;
            overflow: hidden;
            display: flex;
            flex-direction: row;
        }
        .ultron-canvas-container {
            flex: 1;
            position: relative;
            height: 100%;
            overflow: hidden;
        }
        .ultron-canvas {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            z-index: 1;
        }
        .ultron-chat {
            position: relative;
            width: 320px;
            height: 100%;
            background: rgba(10, 5, 0, 0.5);
            border-right: 1px solid rgba(255, 179, 0, 0.3);
            backdrop-filter: blur(10px);
            z-index: 10;
            display: flex;
            flex-direction: column;
            padding: 15px;
            padding-bottom: 20px;
            gap: 15px;
        }
        .ultron-chat-log {
            display: flex;
            flex-direction: column;
            gap: 12px;
            flex: 1;
            overflow-y: auto;
            mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 100%);
            -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 100%);
            padding-top: 40px;
            padding-right: 5px;
        }
        .ultron-chat-log::-webkit-scrollbar {
            width: 4px;
        }
        .ultron-chat-log::-webkit-scrollbar-thumb {
            background: rgba(255, 179, 0, 0.3);
            border-radius: 4px;
        }
        .ultron-msg {
            padding: 8px 14px;
            border-radius: 8px;
            font-size: 13px;
            line-height: 1.4;
            max-width: 85%;
            word-wrap: break-word;
            backdrop-filter: blur(4px);
        }
        .ultron-msg.user {
            align-self: flex-end;
            background: rgba(255, 255, 255, 0.1);
            color: #FFF;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-bottom-right-radius: 2px;
        }
        .ultron-msg.ai {
            align-self: flex-start;
            background: rgba(255, 179, 0, 0.15);
            color: #FFB300;
            border: 1px solid rgba(255, 179, 0, 0.3);
            box-shadow: 0 0 10px rgba(255, 179, 0, 0.1);
            border-bottom-left-radius: 2px;
            font-family: 'Courier New', Courier, monospace;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .ultron-msg.ai.glitch {
            color: #FF0000;
            background: rgba(255, 0, 0, 0.15);
            border: 1px solid rgba(255, 0, 0, 0.4);
            box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
            text-shadow: 2px 0 red, -2px 0 cyan;
        }
        .ultron-input-container {
            display: flex;
            background: rgba(15, 10, 0, 0.65);
            border: 1px solid rgba(255, 179, 0, 0.4);
            backdrop-filter: blur(8px);
            border-radius: 24px;
            padding: 5px 15px;
            box-shadow: 0 0 20px rgba(255, 153, 0, 0.15), inset 0 0 10px rgba(255, 153, 0, 0.05);
            align-items: center;
        }
        .ultron-input {
            flex: 1;
            background: transparent;
            border: none;
            color: #FFF;
            font-size: 14px;
            padding: 10px 5px;
            outline: none;
        }
        .ultron-input::placeholder {
            color: rgba(255, 179, 0, 0.4);
        }
        .ultron-send {
            background: transparent;
            border: none;
            color: #FFB300;
            cursor: pointer;
            padding: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }
        .ultron-send:hover {
            color: #FFF;
            transform: scale(1.1);
        }
        
        /* Lock Screen Overlay */
        #lock-screen-overlay {
            position: fixed; top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(8, 11, 16, 0.65);
            backdrop-filter: blur(25px);
            -webkit-backdrop-filter: blur(25px);
            z-index: 1000000;
            display: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: var(--text-main);
            font-family: var(--font-family);
        }
        #lock-screen-overlay input {
            background: rgba(0,0,0,0.4);
            border: 1px solid var(--border-gold);
            color: var(--accent-gold);
            padding: 10px 15px;
            border-radius: 6px;
            font-size: 16px;
            text-align: center;
            font-family: var(--font-mono);
            outline: none;
            margin-top: 15px;
            box-shadow: 0 0 10px rgba(255,215,0,0.2);
        }
    
