

/* Global No-Borders / Borders Disabled CSS Rules */
html.no-borders .terminal,
html.no-borders .fullscreen-app,
html.no-borders .overlay-screen,
html.no-borders .modern-card,
html.no-borders .theme-card,
html.no-borders .news-item,
html.no-borders #reset-modal,
html.no-borders #bsod-screen,
html.no-borders #recovery-screen,
html.no-borders #reboot-screen,
html.no-borders #shutdown-screen,
html.no-borders #wipe-screen,
html.no-borders #settings-fullscreen,
html.no-borders #software-fullscreen,
html.no-borders #store-fullscreen,
html.no-borders #news-fullscreen,
html.no-borders #gallery-fullscreen,
html.no-borders #calc-fullscreen,
html.no-borders #status-bar,
html.no-borders #status-bar::before,
html.no-borders .terminal-header,
html.no-borders .fullscreen-app-header,
html.no-borders .settings-footer,
html.no-borders .command,
html.no-borders #floating-input-box,
html.no-borders .audius-search-box,
html.no-borders .audius-player-bar,
html.no-borders .audius-queue-panel,
html.no-borders .audius-track-card,
html.no-borders #audius-mini-widget,
html.no-borders #password-form,
html.no-borders .settings-select,
html.no-borders textarea,
html.no-borders .input-field,
html.no-borders input[type="text"],
html.no-borders input[type="password"] {
    border: none !important;
    border-color: transparent !important;
}

/* AMOLED Theme High-Contrast Styling */
html.theme-amoled body {
    --background: #000000;
    --surface: #000000;
    --surface-color: #000000;
    --input-bg: #111111;
    --surface-variant: #111111;
    --outline: #333333;
    --glow: rgba(255, 255, 255, 0.1);
    --on-surface: #ffffff;
    --accent-primary: #ffffff;
    --accent-secondary: #a0a0a0;
    --error: #ff3333;
    --success: #33ff33;
    background-color: #000000 !important;
    background-image: none !important;
    color: #ffffff !important;
}

html.theme-amoled .terminal,
html.theme-amoled .fullscreen-app,
html.theme-amoled .overlay-screen,
html.theme-amoled .modern-card,
html.theme-amoled .theme-card,
html.theme-amoled .news-item,
html.theme-amoled .rss-article-card,
html.theme-amoled .rss-reader-card,
html.theme-amoled .compact-ai-chat,
html.theme-amoled .floating-ai-bubble,
html.theme-amoled .agent-modal-card,
html.theme-amoled .audius-dropdown-menu,
html.theme-amoled .modal-content,
html.theme-amoled #reset-modal,
html.theme-amoled #bsod-screen,
html.theme-amoled #recovery-screen,
html.theme-amoled #reboot-screen,
html.theme-amoled #shutdown-screen,
html.theme-amoled #wipe-screen,
html.theme-amoled #settings-fullscreen,
html.theme-amoled #software-fullscreen,
html.theme-amoled #store-fullscreen,
html.theme-amoled #news-fullscreen,
html.theme-amoled #gallery-fullscreen,
html.theme-amoled #calc-fullscreen {
    background-color: #000000 !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

html.theme-amoled #status-bar,
html.theme-amoled #status-bar::before,
html.theme-amoled .terminal-header,
html.theme-amoled .fullscreen-app-header,
html.theme-amoled .settings-footer {
    background-color: #000000 !important;
    border: none !important;
    border-color: transparent !important;
    color: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Switches in AMOLED Mode */
html.theme-amoled .switch-track {
    background: #222222 !important;
    border: 1px solid #555555 !important;
}

html.theme-amoled .switch-thumb {
    background: #ffffff !important;
}

html.theme-amoled .switch-input:checked + .switch-track {
    background: #ffffff !important;
    border-color: #ffffff !important;
}

html.theme-amoled .switch-input:checked + .switch-track .switch-thumb {
    background: #000000 !important;
    box-shadow: none !important;
}

/* Primary Active Buttons in AMOLED Mode */
html.theme-amoled .toggle-button.enabled,
html.theme-amoled .btn-save,
html.theme-amoled #unlock-button,
html.theme-amoled #confirm-glassmorphism-btn,
html.theme-amoled #confirm-pro,
html.theme-amoled #confirm-battery,
html.theme-amoled #confirm-ai-cmd,
html.theme-amoled #confirm-set-password,
html.theme-amoled .setup-option-btn.active,
html.theme-amoled .normal-ai-btn.primary,
html.theme-amoled #close-vex-disabled,
html.theme-amoled .normal-ai-msg-row.user .normal-ai-msg-bubble {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ffffff !important;
    font-weight: 600 !important;
    text-shadow: none !important;
}

/* Secondary / Discard / Close Buttons in AMOLED Mode */
html.theme-amoled .btn-discard,
html.theme-amoled .close-fullscreen,
html.theme-amoled #cancel-glassmorphism-btn,
html.theme-amoled .modal-button.cancel,
html.theme-amoled .setup-option-btn {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #555555 !important;
}

html.theme-amoled .btn-discard:hover,
html.theme-amoled .close-fullscreen:hover {
    border-color: var(--error, #ff3333) !important;
    background-color: var(--error, #ff3333) !important;
    color: #ffffff !important;
}

/* Inputs, Textareas, Dropdowns, Container Bars in AMOLED Mode */
html.theme-amoled #floating-input-box,
html.theme-amoled .audius-search-box,
html.theme-amoled .audius-player-bar,
html.theme-amoled .audius-queue-panel,
html.theme-amoled .audius-track-card,
html.theme-amoled #audius-mini-widget,
html.theme-amoled #password-form {
    background-color: #000000 !important;
    border: none !important;
    color: #ffffff !important;
}

/* Command area stays a touch lighter than the pure-black terminal body so it
   remains readable as a distinct control, even in AMOLED's true-black theme. */
html.theme-amoled .command {
    background-color: var(--surface-variant, #111111) !important;
    border-top: 1px solid #222222 !important;
    color: #ffffff !important;
}

html.theme-amoled .settings-select,
html.theme-amoled textarea {
    background-color: #000000 !important;
    border: 1px solid #444444 !important;
    color: #ffffff !important;
}

html.theme-amoled .command .input-field,
html.theme-amoled .input-field,
html.theme-amoled input[type="text"],
html.theme-amoled input[type="password"] {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: #ffffff !important;
}

html.theme-amoled #floating-input-box:focus-within,
html.theme-amoled .audius-search-box:focus-within,
html.theme-amoled #password-form:focus-within {
    border: none !important;
}

html.theme-amoled .command:focus-within {
    border-top: 1px solid #222222 !important;
}

html.theme-amoled .settings-select:focus,
html.theme-amoled textarea:focus {
    border-color: #ffffff !important;
}

/* Active Theme Card */
html.theme-amoled .theme-card.active {
    border-color: #ffffff !important;
    background-color: #111111 !important;
}
html.theme-amoled .highlight,
html.theme-amoled .highlight-secondary,
html.theme-amoled #prompt,
html.theme-amoled .output,
html.theme-amoled .output p,
html.theme-amoled .output span,
html.theme-amoled .output div,
html.theme-amoled .output pre,
html.theme-amoled .modern-card *,
html.theme-amoled .fullscreen-app * {
    color: #ffffff;
}

/* Ensure buttons inside cards / output keep black text when active */
html.theme-amoled .toggle-button.enabled *,
html.theme-amoled .btn-save *,
html.theme-amoled #unlock-button *,
html.theme-amoled #confirm-glassmorphism-btn *,
html.theme-amoled .normal-ai-btn.primary,
html.theme-amoled .normal-ai-btn.primary *,
html.theme-amoled #close-vex-disabled,
html.theme-amoled #close-vex-disabled *,
html.theme-amoled .normal-ai-msg-row.user .normal-ai-msg-bubble,
html.theme-amoled .normal-ai-msg-row.user .normal-ai-msg-bubble * {
    color: #000000 !important;
}

html.theme-amoled .normal-ai-textarea,
html.theme-amoled .normal-ai-textarea:focus {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

html.theme-amoled .normal-ai-input-card,
html.theme-amoled .normal-ai-input-card:focus-within {
    background: var(--input-bg, #111111) !important;
    background-color: var(--input-bg, #111111) !important;
    border: none !important;
    outline: none !important;
}

html.theme-solar-flare body {
    --background: #fdf6e3; --surface: rgba(253, 246, 227, 0.85); --surface-color: #fdf6e3; --input-bg: #eee8d5; --outline: #93a1a1;
    --glow: rgba(0, 0, 0, 0.1); --on-surface: #586e75; --accent-primary: #268bd2;
    --accent-secondary: #859900; --error: #dc322f; --success: #859900;
}

html.theme-nebula body {
    --background: #241b2f; --surface: rgba(23, 17, 35, 0.85); --surface-color: #171123; --outline: #4a3b5a;
    --glow: rgba(255, 107, 222, 0.15); --on-surface: #e0dce5; --accent-primary: #ff6bde;
    --accent-secondary: #a992e5; --error: #ff476c; --success: #62e08c;
}

html.theme-matrix body {
    --background: #000000; --surface: rgba(10, 10, 10, 0.85); --surface-color: #0a0a0a; --outline: #003B00;
    --glow: rgba(0, 255, 0, 0.15); --on-surface: #00ff00; --accent-primary: #33ff33;
    --accent-secondary: #00cc00; --error: #990000; --success: #00ff00;
}

html.theme-arctic body {
    --background: #f0f4f8; --surface: rgba(255, 255, 255, 0.85); --surface-color: #ffffff; --input-bg: #e4eaf0; --outline: #d3dde6;
    --glow: rgba(74, 144, 226, 0.1); --on-surface: #243b53; --accent-primary: #4a90e2;
    --accent-secondary: #3b71b1; --error: #d0021b; --success: #1e9a51;
}

html.theme-cyberpunk body {
    --background: #0a041a; --surface: rgba(10, 4, 26, 0.85); --surface-color: #0a041a; --outline: #2a1a4a;
    --glow: rgba(255, 0, 255, 0.2); --on-surface: #ebe0ff; --accent-primary: #ff00ff;
    --accent-secondary: #00ffff; --error: #ff3333; --success: #33ff33;
}

html.theme-oceanic body {
    --background: #0b2d48; --surface: rgba(11, 45, 72, 0.85); --surface-color: #0b2d48; --outline: #1a5078;
    --glow: rgba(67, 188, 205, 0.2); --on-surface: #c4dce9; --accent-primary: #43bccd;
    --accent-secondary: #f0e6d2; --error: #e57373; --success: #81c784;
}

html.theme-forest body {
    --background: #1e2d2b; --surface: rgba(30, 45, 43, 0.85); --surface-color: #1e2d2b; --outline: #38514e;
    --glow: rgba(121, 186, 156, 0.15); --on-surface: #c2d1ce; --accent-primary: #79ba9c;
    --accent-secondary: #a88d78; --error: #c97b7b; --success: #a3c293;
}

html.theme-sunset body {
    --background: #2c1338; --surface: rgba(44, 19, 56, 0.85); --surface-color: #2c1338; --outline: #5a2a72;
    --glow: rgba(255, 118, 99, 0.2); --on-surface: #f5e4f9; --accent-primary: #ff7663;
    --accent-secondary: #d664be; --error: #ff4a4a; --success: #a0ff99;
}

html.theme-monokai body {
    --background: #272822; --surface: rgba(39, 40, 34, 0.85); --surface-color: #272822; --outline: #49483e;
    --glow: rgba(249, 38, 114, 0.15); --on-surface: #f8f8f2; --accent-primary: #f92672;
    --accent-secondary: #a6e22e; --error: #f92672; --success: #a6e22e;
}

html.theme-dracula body {
    --background: #282a36; --surface: rgba(40, 42, 54, 0.85); --surface-color: #282a36; --outline: #44475a;
    --glow: rgba(189, 147, 249, 0.15); --on-surface: #f8f8f2; --accent-primary: #bd93f9;
    --accent-secondary: #50fa7b; --error: #ff5555; --success: #50fa7b;
}

html.theme-nord body {
    --background: #2e3440; --surface: rgba(46, 52, 64, 0.85); --surface-color: #2e3440; --outline: #4c566a;
    --glow: rgba(129, 161, 193, 0.1); --on-surface: #d8dee9; --accent-primary: #81a1c1;
    --accent-secondary: #88c0d0; --error: #bf616a; --success: #a3be8c;
}

html.theme-gruvbox body {
    --background: #282828; --surface: rgba(40, 40, 40, 0.85); --surface-color: #282828; --outline: #504945;
    --glow: rgba(254, 128, 25, 0.1); --on-surface: #ebdbb2; --accent-primary: #fe8019;
    --accent-secondary: #b8bb26; --error: #cc241d; --success: #98971a;
}

html.theme-crimson body {
    --background: #1a0000; --surface: rgba(26, 0, 0, 0.85); --surface-color: #1a0000; --outline: #5c0000;
    --glow: rgba(255, 20, 20, 0.2); --on-surface: #f2dcdc; --accent-primary: #ff1414;
    --accent-secondary: #a0a0a0; --error: #ff5050; --success: #cccccc;
}

html.theme-gold body {
    --background: #14120E; --surface: rgba(20, 18, 14, 0.85); --surface-color: #14120E; --outline: #4d4432;
    --glow: rgba(212, 175, 55, 0.15); --on-surface: #fff8e1; --accent-primary: #d4af37;
    --accent-secondary: #ffffff; --error: #e68e8e; --success: #b0e0b0;
}

/* Glassmorphism & True Frosted Glass CSS Rules (theme-glassmorphism, theme-glass) */
html.theme-glassmorphism,
html.theme-glass {
    --background: #0b0f19;
    --surface: rgba(18, 18, 20, var(--glass-opacity, 0.45));
    --surface-color: #121316;
    --input-bg: #121316;
    --outline: rgba(255, 255, 255, var(--glass-border-opacity, 0.12));
    --glow: transparent;
    --on-surface: #ffffff;
    --accent-primary: var(--glass-accent, #00f2fe);
    --accent-secondary: var(--glass-accent, #00f2fe);
    --error: #ff4757;
    --success: #2ed573;
}

/* Glass Static Hybrid Variant CSS Rules (theme-glass-static) */
html.theme-glass-static {
    --background: #0b0f19;
    --surface: var(--glass-static-base, #121316);
    --surface-color: #121316;
    --input-bg: #121316;
    --outline: rgba(255, 255, 255, var(--glass-border-opacity, 0.12));
    --glow: transparent;
    --on-surface: #ffffff;
    --accent-primary: var(--glass-static-accent, var(--glass-accent, #00f2fe));
    --accent-secondary: var(--glass-static-accent, var(--glass-accent, #00f2fe));
    --error: #ff4757;
    --success: #2ed573;
}

html.theme-glassmorphism body,
html.theme-glass body,
html.theme-glass-static body {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%) !important;
    background-attachment: fixed !important;
    color: #ffffff !important;
}
html.theme-glassmorphism ::selection,
html.theme-glass ::selection,
html.theme-glass-static ::selection {
    background: rgba(var(--glass-accent-rgb, 0, 242, 254), 0.4) !important;
    color: #ffffff !important;
    text-shadow: none !important;
}

html.theme-glassmorphism *::-moz-selection,
html.theme-glass *::-moz-selection,
html.theme-glass-static *::-moz-selection {
    background: rgba(var(--glass-accent-rgb, 0, 242, 254), 0.4) !important;
    color: #ffffff !important;
    text-shadow: none !important;
}

html.theme-glassmorphism p,
html.theme-glassmorphism span,
html.theme-glassmorphism div,
html.theme-glassmorphism h1,
html.theme-glassmorphism h2,
html.theme-glassmorphism h3,
html.theme-glassmorphism h4,
html.theme-glassmorphism h5,
html.theme-glassmorphism h6,
html.theme-glassmorphism li,
html.theme-glassmorphism label,
html.theme-glassmorphism a,
html.theme-glassmorphism button,
html.theme-glassmorphism input,
html.theme-glass p,
html.theme-glass span,
html.theme-glass div,
html.theme-glass h1,
html.theme-glass h2,
html.theme-glass h3,
html.theme-glass h4,
html.theme-glass h5,
html.theme-glass h6,
html.theme-glass li,
html.theme-glass label,
html.theme-glass a,
html.theme-glass button,
html.theme-glass input,
html.theme-glass-static p,
html.theme-glass-static span,
html.theme-glass-static div,
html.theme-glass-static h1,
html.theme-glass-static h2,
html.theme-glass-static h3,
html.theme-glass-static h4,
html.theme-glass-static h5,
html.theme-glass-static h6,
html.theme-glass-static li,
html.theme-glass-static label,
html.theme-glass-static a,
html.theme-glass-static button,
html.theme-glass-static input {
    -webkit-tap-highlight-color: transparent !important;
}

html.theme-glassmorphism,
html.theme-glassmorphism body,
html.theme-glassmorphism .fullscreen-app,
html.theme-glassmorphism .fullscreen-app-body,
html.theme-glassmorphism .modern-card,
html.theme-glassmorphism .news-item,
html.theme-glassmorphism .news-content,
html.theme-glassmorphism .changelog-v43,
html.theme-glassmorphism .settings-app-container,
html.theme-glass,
html.theme-glass body,
html.theme-glass .fullscreen-app,
html.theme-glass .fullscreen-app-body,
html.theme-glass .modern-card,
html.theme-glass .news-item,
html.theme-glass .news-content,
html.theme-glass .changelog-v43,
html.theme-glass .settings-app-container,
html.theme-glass-static,
html.theme-glass-static body,
html.theme-glass-static .fullscreen-app,
html.theme-glass-static .fullscreen-app-body,
html.theme-glass-static .modern-card,
html.theme-glass-static .news-item,
html.theme-glass-static .news-content,
html.theme-glass-static .changelog-v43,
html.theme-glass-static .settings-app-container {
    color: #ffffff !important;
}

html.theme-glassmorphism p,
html.theme-glassmorphism span,
html.theme-glassmorphism h1,
html.theme-glassmorphism h2,
html.theme-glassmorphism h3,
html.theme-glassmorphism h4,
html.theme-glassmorphism h5,
html.theme-glassmorphism h6,
html.theme-glassmorphism li,
html.theme-glassmorphism label,
html.theme-glassmorphism .fullscreen-app-title,
html.theme-glassmorphism .changelog-v43 *,
html.theme-glassmorphism .news-content *,
html.theme-glassmorphism .modern-card *,
html.theme-glassmorphism .settings-category,
html.theme-glassmorphism .modern-list-item,
html.theme-glass p,
html.theme-glass span,
html.theme-glass h1,
html.theme-glass h2,
html.theme-glass h3,
html.theme-glass h4,
html.theme-glass h5,
html.theme-glass h6,
html.theme-glass li,
html.theme-glass label,
html.theme-glass .fullscreen-app-title,
html.theme-glass .changelog-v43 *,
html.theme-glass .news-content *,
html.theme-glass .modern-card *,
html.theme-glass .settings-category,
html.theme-glass .modern-list-item,
html.theme-glass-static p,
html.theme-glass-static span,
html.theme-glass-static h1,
html.theme-glass-static h2,
html.theme-glass-static h3,
html.theme-glass-static h4,
html.theme-glass-static h5,
html.theme-glass-static h6,
html.theme-glass-static li,
html.theme-glass-static label,
html.theme-glass-static .fullscreen-app-title,
html.theme-glass-static .changelog-v43 *,
html.theme-glass-static .news-content *,
html.theme-glass-static .modern-card *,
html.theme-glass-static .settings-category,
html.theme-glass-static .modern-list-item {
    color: #ffffff;
}

html.theme-glassmorphism p:focus,
html.theme-glassmorphism p:active,
html.theme-glassmorphism span:focus,
html.theme-glassmorphism span:active,
html.theme-glassmorphism div:focus,
html.theme-glassmorphism div:active,
html.theme-glassmorphism h1:focus,
html.theme-glassmorphism h1:active,
html.theme-glassmorphism h2:focus,
html.theme-glassmorphism h2:active,
html.theme-glassmorphism h3:focus,
html.theme-glassmorphism h3:active,
html.theme-glassmorphism a:focus,
html.theme-glassmorphism a:active,
html.theme-glassmorphism button:focus,
html.theme-glassmorphism button:active,
html.theme-glass p:focus,
html.theme-glass p:active,
html.theme-glass span:focus,
html.theme-glass span:active,
html.theme-glass div:focus,
html.theme-glass div:active,
html.theme-glass h1:focus,
html.theme-glass h1:active,
html.theme-glass h2:focus,
html.theme-glass h2:active,
html.theme-glass h3:focus,
html.theme-glass h3:active,
html.theme-glass a:focus,
html.theme-glass a:active,
html.theme-glass button:focus,
html.theme-glass button:active,
html.theme-glass-static p:focus,
html.theme-glass-static p:active,
html.theme-glass-static span:focus,
html.theme-glass-static span:active,
html.theme-glass-static div:focus,
html.theme-glass-static div:active,
html.theme-glass-static h1:focus,
html.theme-glass-static h1:active,
html.theme-glass-static h2:focus,
html.theme-glass-static h2:active,
html.theme-glass-static h3:focus,
html.theme-glass-static h3:active,
html.theme-glass-static a:focus,
html.theme-glass-static a:active,
html.theme-glass-static button:focus,
html.theme-glass-static button:active {
    color: #ffffff !important;
}

/* Status Bar Glassmorphism */
html.theme-glassmorphism #status-bar,
html.theme-glassmorphism #status-bar::before,
html.theme-glass #status-bar,
html.theme-glass #status-bar::before {
    background: rgba(18, 18, 20, var(--glass-opacity, 0.45)) !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

html.theme-glass-static #status-bar,
html.theme-glass-static #status-bar::before {
    background: var(--glass-static-base, #121316) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

/* Lock Screen & Boot Screen Glassmorphism */
html.theme-glassmorphism #lock-screen,
html.theme-glassmorphism #boot-screen,
html.theme-glass #lock-screen,
html.theme-glass #boot-screen {
    background: rgba(18, 18, 20, var(--glass-opacity, 0.45)) !important;
    backdrop-filter: blur(25px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(160%) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    color: #ffffff !important;
}

html.theme-glass-static #lock-screen,
html.theme-glass-static #boot-screen {
    background: var(--glass-static-base, #121316) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    color: #ffffff !important;
}
html.theme-glassmorphism input[type="text"],
html.theme-glassmorphism input[type="password"],
html.theme-glassmorphism textarea,
html.theme-glassmorphism select,
html.theme-glassmorphism .settings-select,
html.theme-glassmorphism .input-field,
html.theme-glassmorphism .audius-search-input,
html.theme-glassmorphism #password-input,
html.theme-glass input[type="text"],
html.theme-glass input[type="password"],
html.theme-glass textarea,
html.theme-glass select,
html.theme-glass .settings-select,
html.theme-glass .input-field,
html.theme-glass .audius-search-input,
html.theme-glass #password-input,
html.theme-glass-static input[type="text"],
html.theme-glass-static input[type="password"],
html.theme-glass-static textarea,
html.theme-glass-static select,
html.theme-glass-static .settings-select,
html.theme-glass-static .input-field,
html.theme-glass-static .audius-search-input,
html.theme-glass-static #password-input {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: #ffffff !important;
    transition: color 0.2s ease !important;
}

html.theme-glassmorphism input[type="text"]:focus,
html.theme-glassmorphism input[type="password"]:focus,
html.theme-glassmorphism textarea:focus,
html.theme-glassmorphism select:focus,
html.theme-glassmorphism .settings-select:focus,
html.theme-glassmorphism .input-field:focus,
html.theme-glassmorphism .audius-search-input:focus,
html.theme-glassmorphism #password-input:focus,
html.theme-glass input[type="text"]:focus,
html.theme-glass input[type="password"]:focus,
html.theme-glass textarea:focus,
html.theme-glass select:focus,
html.theme-glass .settings-select:focus,
html.theme-glass .input-field:focus,
html.theme-glass .audius-search-input:focus,
html.theme-glass #password-input:focus,
html.theme-glass-static input[type="text"]:focus,
html.theme-glass-static input[type="password"]:focus,
html.theme-glass-static textarea:focus,
html.theme-glass-static select:focus,
html.theme-glass-static .settings-select:focus,
html.theme-glass-static .input-field:focus,
html.theme-glass-static .audius-search-input:focus,
html.theme-glass-static #password-input:focus {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: #ffffff !important;
}
html.theme-glassmorphism .command,
html.theme-glassmorphism #floating-input-box,
html.theme-glassmorphism .audius-search-box,
html.theme-glassmorphism #password-form,
html.theme-glass .command,
html.theme-glass #floating-input-box,
html.theme-glass .audius-search-box,
html.theme-glass #password-form {
    background: rgba(18, 18, 20, 0.45) !important;
    border: none !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    transition: background 0.2s ease !important;
}

html.theme-glass-static .command,
html.theme-glass-static #floating-input-box,
html.theme-glass-static .audius-search-box,
html.theme-glass-static #password-form {
    background: rgba(255, 255, 255, 0.04) !important;
    border: none !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    transition: background 0.2s ease !important;
}

html.theme-glassmorphism .command:focus-within,
html.theme-glassmorphism #floating-input-box:focus-within,
html.theme-glassmorphism .audius-search-box:focus-within,
html.theme-glassmorphism #password-form:focus-within,
html.theme-glass .command:focus-within,
html.theme-glass #floating-input-box:focus-within,
html.theme-glass .audius-search-box:focus-within,
html.theme-glass #password-form:focus-within,
html.theme-glass-static .command:focus-within,
html.theme-glass-static #floating-input-box:focus-within,
html.theme-glass-static .audius-search-box:focus-within,
html.theme-glass-static #password-form:focus-within {
    background: rgba(255, 255, 255, 0.08) !important;
    border: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

html.theme-glassmorphism .theme-card.active,
html.theme-glass .theme-card.active,
html.theme-glass-static .theme-card.active {
    border-color: var(--accent-primary) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

html.theme-glassmorphism #unlock-button,
html.theme-glassmorphism #confirm-glassmorphism-btn,
html.theme-glassmorphism .toggle-button.enabled,
html.theme-glassmorphism .btn-save,
html.theme-glass #unlock-button,
html.theme-glass #confirm-glassmorphism-btn,
html.theme-glass .toggle-button.enabled,
html.theme-glass .btn-save {
    background: var(--glass-accent, #00f2fe) !important;
    color: #0b0f19 !important;
    font-weight: 600 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

html.theme-glass-static #unlock-button,
html.theme-glass-static #confirm-glassmorphism-btn,
html.theme-glass-static .toggle-button.enabled,
html.theme-glass-static .btn-save {
    background: var(--glass-static-accent, var(--glass-accent, #00f2fe)) !important;
    color: #0b0f19 !important;
    font-weight: 600 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

/* Terminal Window Glassmorphism */
html.theme-glassmorphism .terminal,
html.theme-glass .terminal {
    background: rgba(18, 18, 20, var(--glass-opacity, 0.45)) !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

/* Terminal Window Glass Static */
html.theme-glass-static .terminal {
    background: var(--glass-static-base, #121316) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

html.theme-glassmorphism .terminal-header,
html.theme-glass .terminal-header {
    background: rgba(255, 255, 255, 0.04) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
}

html.theme-glass-static .terminal-header {
    background: rgba(255, 255, 255, 0.04) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

html.theme-glassmorphism .output p,
html.theme-glassmorphism .output div,
html.theme-glassmorphism .output pre,
html.theme-glass .output p,
html.theme-glass .output div,
html.theme-glass .output pre,
html.theme-glass-static .output p,
html.theme-glass-static .output div,
html.theme-glass-static .output pre {
    text-shadow: none;
    color: #ffffff !important;
}

/* Fullscreen Apps, Windows & Modals Glassmorphism */
html.theme-glassmorphism .fullscreen-app,
html.theme-glassmorphism .overlay-screen,
html.theme-glassmorphism #reset-modal,
html.theme-glassmorphism #bsod-screen,
html.theme-glassmorphism #recovery-screen,
html.theme-glassmorphism #reboot-screen,
html.theme-glassmorphism #shutdown-screen,
html.theme-glassmorphism #wipe-screen,
html.theme-glassmorphism #glassmorphism-warning-modal,
html.theme-glassmorphism #settings-fullscreen,
html.theme-glassmorphism #software-fullscreen,
html.theme-glassmorphism #store-fullscreen,
html.theme-glassmorphism #news-fullscreen,
html.theme-glassmorphism #gallery-fullscreen,
html.theme-glassmorphism #gallery-photo-viewer,
html.theme-glassmorphism #calc-fullscreen,
html.theme-glass .fullscreen-app,
html.theme-glass .overlay-screen,
html.theme-glass #reset-modal,
html.theme-glass #bsod-screen,
html.theme-glass #recovery-screen,
html.theme-glass #reboot-screen,
html.theme-glass #shutdown-screen,
html.theme-glass #wipe-screen,
html.theme-glass #glassmorphism-warning-modal,
html.theme-glass #settings-fullscreen,
html.theme-glass #software-fullscreen,
html.theme-glass #store-fullscreen,
html.theme-glass #news-fullscreen,
html.theme-glass #gallery-fullscreen,
html.theme-glass #gallery-photo-viewer,
html.theme-glass #calc-fullscreen {
    background: rgba(18, 18, 20, var(--glass-opacity, 0.45)) !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    color: #ffffff !important;
}

/* Fullscreen Apps, Windows & Modals Glass Static */
html.theme-glass-static .fullscreen-app,
html.theme-glass-static .overlay-screen,
html.theme-glass-static #reset-modal,
html.theme-glass-static #bsod-screen,
html.theme-glass-static #recovery-screen,
html.theme-glass-static #reboot-screen,
html.theme-glass-static #shutdown-screen,
html.theme-glass-static #wipe-screen,
html.theme-glass-static #glassmorphism-warning-modal,
html.theme-glass-static #settings-fullscreen,
html.theme-glass-static #software-fullscreen,
html.theme-glass-static #store-fullscreen,
html.theme-glass-static #news-fullscreen,
html.theme-glass-static #gallery-fullscreen,
html.theme-glass-static #gallery-photo-viewer,
html.theme-glass-static #calc-fullscreen {
    background: var(--glass-static-base, #121316) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    color: #ffffff !important;
}

html.theme-glassmorphism .fullscreen-app-header,
html.theme-glass .fullscreen-app-header {
    background: rgba(255, 255, 255, 0.04) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
}

html.theme-glass-static .fullscreen-app-header {
    background: rgba(255, 255, 255, 0.04) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

html.theme-glassmorphism .settings-footer,
html.theme-glass .settings-footer {
    background: rgba(18, 18, 20, var(--glass-opacity, 0.45)) !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

html.theme-glass-static .settings-footer {
    background: var(--glass-static-base, #121316) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html.theme-glassmorphism .modern-card,
html.theme-glassmorphism .news-item,
html.theme-glassmorphism .rss-article-card,
html.theme-glassmorphism .rss-reader-card,
html.theme-glassmorphism .compact-ai-chat,
html.theme-glassmorphism .floating-ai-bubble,
html.theme-glassmorphism .agent-modal-card,
html.theme-glassmorphism .theme-card,
html.theme-glassmorphism .gallery-photo-item,
html.theme-glassmorphism .recovery-button,
html.theme-glassmorphism .modal-content,
html.theme-glass .modern-card,
html.theme-glass .news-item,
html.theme-glass .rss-article-card,
html.theme-glass .rss-reader-card,
html.theme-glass .compact-ai-chat,
html.theme-glass .floating-ai-bubble,
html.theme-glass .agent-modal-card,
html.theme-glass .theme-card,
html.theme-glass .gallery-photo-item,
html.theme-glass .recovery-button,
html.theme-glass .modal-content {
    background: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    color: #ffffff !important;
    transition: background 0.2s ease, border-color 0.2s ease !important;
}

html.theme-glass-static .modern-card,
html.theme-glass-static .news-item,
html.theme-glass-static .theme-card,
html.theme-glass-static .gallery-photo-item,
html.theme-glass-static .recovery-button,
html.theme-glass-static .modal-content {
    background: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    color: #ffffff !important;
    transition: background 0.2s ease, border-color 0.2s ease !important;
}

html.theme-glassmorphism .modern-card:hover,
html.theme-glassmorphism .news-item:hover,
html.theme-glassmorphism .theme-card:hover,
html.theme-glass .modern-card:hover,
html.theme-glass .news-item:hover,
html.theme-glass .theme-card:hover,
html.theme-glass-static .modern-card:hover,
html.theme-glass-static .news-item:hover,
html.theme-glass-static .theme-card:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

html.theme-glassmorphism .close-fullscreen,
html.theme-glassmorphism .btn-discard,
html.theme-glass .close-fullscreen,
html.theme-glass .btn-discard {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    color: #ffffff !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

/* Glowmorphism Theme Core CSS Rules (theme-glowmorphism) */
html.theme-glowmorphism {
    --background: #090314;
    --surface: rgba(18, 10, 36, 0.65);
    --surface-color: #120a24;
    --input-bg: #120a24;
    --outline: rgba(255, 0, 212, 0.4);
    --glow: rgba(255, 0, 212, 0.35);
    --on-surface: #ffffff;
    --accent-primary: #ff00d4;
    --accent-secondary: #00f0ff;
    --error: #ff2a6d;
    --success: #05ffa1;
}

html.theme-glowmorphism body {
    background: radial-gradient(circle at 50% 20%, #1e0938 0%, #090314 80%) !important;
    background-attachment: fixed !important;
    color: #ffffff !important;
}

html.theme-glowmorphism .terminal,
html.theme-glowmorphism .modern-card,
html.theme-glowmorphism .news-item,
html.theme-glowmorphism .rss-article-card,
html.theme-glowmorphism .rss-reader-card,
html.theme-glowmorphism .compact-ai-chat,
html.theme-glowmorphism .floating-ai-bubble,
html.theme-glowmorphism .agent-modal-card,
html.theme-glowmorphism .audius-dropdown-menu,
html.theme-glowmorphism .modal-content,
html.theme-glowmorphism .theme-card,
html.theme-glowmorphism .fullscreen-app,
html.theme-glowmorphism .overlay-screen,
html.theme-glowmorphism #reset-modal,
html.theme-glowmorphism #bsod-screen,
html.theme-glowmorphism #recovery-screen,
html.theme-glowmorphism #reboot-screen,
html.theme-glowmorphism #shutdown-screen,
html.theme-glowmorphism #wipe-screen,
html.theme-glowmorphism #settings-fullscreen,
html.theme-glowmorphism #software-fullscreen,
html.theme-glowmorphism #store-fullscreen,
html.theme-glowmorphism #news-fullscreen,
html.theme-glowmorphism #gallery-fullscreen,
html.theme-glowmorphism #browser-fullscreen,
html.theme-glowmorphism #gallery-photo-viewer,
html.theme-glowmorphism #calc-fullscreen {
    background: rgba(18, 10, 36, 0.65) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border: 1px solid rgba(255, 0, 212, 0.3) !important;
    box-shadow: 0 0 25px rgba(255, 0, 212, 0.2), inset 0 0 15px rgba(0, 240, 255, 0.15) !important;
    color: #ffffff !important;
}

html.theme-glowmorphism #status-bar,
html.theme-glowmorphism #status-bar::before {
    background: rgba(18, 10, 36, 0.65) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 0, 212, 0.3) !important;
    box-shadow: 0 4px 20px rgba(255, 0, 212, 0.25) !important;
}

/* Fluent UI Theme Core CSS Rules (theme-fluent-ui) */
html.theme-fluent-ui {
    --background: #181818;
    --surface: rgba(32, 32, 32, 0.88);
    --surface-color: #202020;
    --input-bg: #202020;
    --outline: rgba(255, 255, 255, 0.08);
    --glow: rgba(0, 0, 0, 0.4);
    --on-surface: #ffffff;
    --accent-primary: #60a5fa;
    --accent-secondary: #94a3b8;
    --error: #f87171;
    --success: #4ade80;
}

html.theme-fluent-ui body {
    background: radial-gradient(circle at 50% 0%, #2b2d30 0%, #181818 100%) !important;
    background-attachment: fixed !important;
    color: #ffffff !important;
}

html.theme-fluent-ui .terminal,
html.theme-fluent-ui .modern-card,
html.theme-fluent-ui .news-item,
html.theme-fluent-ui .rss-article-card,
html.theme-fluent-ui .rss-reader-card,
html.theme-fluent-ui .compact-ai-chat,
html.theme-fluent-ui .floating-ai-bubble,
html.theme-fluent-ui .agent-modal-card,
html.theme-fluent-ui .audius-dropdown-menu,
html.theme-fluent-ui .modal-content,
html.theme-fluent-ui .theme-card,
html.theme-fluent-ui .fullscreen-app,
html.theme-fluent-ui .overlay-screen,
html.theme-fluent-ui #reset-modal,
html.theme-fluent-ui #bsod-screen,
html.theme-fluent-ui #recovery-screen,
html.theme-fluent-ui #reboot-screen,
html.theme-fluent-ui #shutdown-screen,
html.theme-fluent-ui #wipe-screen,
html.theme-fluent-ui #settings-fullscreen,
html.theme-fluent-ui #software-fullscreen,
html.theme-fluent-ui #store-fullscreen,
html.theme-fluent-ui #news-fullscreen,
html.theme-fluent-ui #gallery-fullscreen,
html.theme-fluent-ui #browser-fullscreen,
html.theme-fluent-ui #gallery-photo-viewer,
html.theme-fluent-ui #calc-fullscreen {
    background: rgba(32, 32, 32, 0.88) !important;
    backdrop-filter: blur(30px) saturate(125%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(125%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
}

html.theme-fluent-ui #status-bar,
html.theme-fluent-ui #status-bar::before {
    background: rgba(32, 32, 32, 0.88) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html.theme-glass-static .close-fullscreen,
html.theme-glass-static .btn-discard {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    color: #ffffff !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

html.theme-glassmorphism .switch-input:checked + .switch-track,
html.theme-glass .switch-input:checked + .switch-track {
    background: var(--glass-accent, #00f2fe) !important;
    box-shadow: none !important;
}

html.theme-glass-static .switch-input:checked + .switch-track {
    background: var(--glass-static-accent, var(--glass-accent, #00f2fe)) !important;
    box-shadow: none !important;
}

/* Built-in Applications Glassmorphism & Glass Static */
html.theme-glassmorphism .browser-window,
html.theme-glassmorphism #audius-player-modal,
html.theme-glassmorphism .audius-container,
html.theme-glassmorphism .audius-queue-panel,
html.theme-glassmorphism #audius-mini-widget,
html.theme-glass .browser-window,
html.theme-glass #audius-player-modal,
html.theme-glass .audius-container,
html.theme-glass .audius-queue-panel,
html.theme-glass #audius-mini-widget {
    background: rgba(18, 18, 20, var(--glass-opacity, 0.45)) !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    color: #ffffff !important;
}

html.theme-glass-static .browser-window,
html.theme-glass-static #audius-player-modal,
html.theme-glass-static .audius-container,
html.theme-glass-static .audius-queue-panel,
html.theme-glass-static #audius-mini-widget {
    background: var(--glass-static-base, #121316) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    color: #ffffff !important;
}

html.theme-glassmorphism .browser-toolbar,
html.theme-glassmorphism .audius-queue-header,
html.theme-glass .browser-toolbar,
html.theme-glass .audius-queue-header {
    background: rgba(255, 255, 255, 0.04) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}

html.theme-glass-static .browser-toolbar,
html.theme-glass-static .audius-queue-header {
    background: rgba(255, 255, 255, 0.04) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

html.theme-glassmorphism .audius-track-card,
html.theme-glassmorphism .audius-dropdown-menu,
html.theme-glass .audius-track-card,
html.theme-glass .audius-dropdown-menu {
    background: rgba(18, 18, 20, var(--glass-opacity, 0.45)) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

html.theme-glass-static .audius-track-card,
html.theme-glass-static .audius-dropdown-menu {
    background: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

html.theme-transition body,
html.theme-transition body *,
html.theme-transition #status-bar,
html.theme-transition #status-bar::before,
html.theme-transition .terminal,
html.theme-transition .terminal-header,
html.theme-transition .command,
html.theme-transition .modern-card {
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, text-shadow 0.5s ease, box-shadow 0.5s ease !important;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
    height: 100%;
    overflow: hidden;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

body {
    font-family: var(--font-main);
    background-color: var(--background);
    color: var(--on-surface);
    display: flex; justify-content: center; align-items: flex-start;
    background-image: radial-gradient(ellipse at top, color-mix(in srgb, var(--background) 80%, black), var(--background));
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    overscroll-behavior-y: contain;
    transition: background-color 0.2s ease;
}

#wallpaper-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -2;
    background-size: cover;
    background-position: center center;
    transition: filter 0.2s ease;
}













@media (max-width: 600px) {
    html,
    body,
    .os-container {
        background-color: var(--background) !important;
    }

    body.new-design .os-container {
        background-color: var(--background) !important;
    }

    html.theme-glassmorphism,
    html.theme-glassmorphism body,
    html.theme-glassmorphism .os-container,
    html.theme-glass,
    html.theme-glass body,
    html.theme-glass .os-container,
    html.theme-glass-static,
    html.theme-glass-static body,
    html.theme-glass-static .os-container {
        background: var(--glass-bg-color, linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%)) !important;
        background-color: var(--background) !important;
    }

    html.theme-glowmorphism,
    html.theme-glowmorphism body,
    html.theme-glowmorphism .os-container {
        background: radial-gradient(circle at 50% 20%, #1e0938 0%, #090314 80%) !important;
        background-color: var(--background) !important;
    }

    html.theme-fluent-ui,
    html.theme-fluent-ui body,
    html.theme-fluent-ui .os-container {
        background: radial-gradient(circle at 50% 0%, #2b2d30 0%, #181818 100%) !important;
        background-color: var(--background) !important;
    }

    body.new-design .command {
        margin: 0 auto 0 auto !important;
    }
}

body.new-design .os-container {
    padding: 40px 0 0 0;
}

body.new-design .terminal {
    height: calc(100vh - 40px);
}

body.new-design .terminal-header {
    border-radius: 12px;
    width: calc(100% - 20px);
    margin: 10px auto 0 auto;
}

@media (max-width: 600px) {
    body.new-design .command {
        padding-bottom: 0.65rem !important;
    }
}

body.remove-header .terminal-header {
    display: none !important;
}

.subview-push {
    animation: viewPushIn 0.25s cubic-bezier(0.2, 0, 0, 1) forwards;
}

.subview-pop {
    animation: viewPopOut 0.25s cubic-bezier(0.2, 0, 0, 1) forwards;
}

button:focus, button:focus-visible, input:focus, input:focus-visible {
    outline: none;
}

.lock-container {
    background: transparent;
    border: none;
    padding: 2rem;
    width: 90%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.3s cubic-bezier(0.2, 0, 0, 1);
}

.lock-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

#lock-time {
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: -2px;
    line-height: 1;
    color: var(--on-surface);
    font-family: var(--font-main);
}

#lock-date {
    font-size: 1.15rem;
    margin-top: 0.5rem;
    opacity: 0.85;
    font-weight: 400;
    color: var(--on-surface);
}

.lock-status-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    margin-top: 0.75rem;
    opacity: 0.75;
    color: var(--accent-secondary);
    font-family: var(--font-main);
}

.lock-welcome {
    display: none;
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
    margin-bottom: 1.5rem;
    color: var(--on-surface);
}

#forgot-password {
    font-size: 0.85rem;
    color: var(--accent-secondary);
    cursor: pointer;
    margin-top: 1rem;
    transition: color 0.2s ease;
    opacity: 0.7;
}
#forgot-password:hover { color: var(--on-surface); opacity: 1; }

#unlock-button {
    background: var(--accent-primary);
    border: none;
    color: var(--background);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: opacity 0.2s ease, transform 0.15s ease;
    box-shadow: none !important;
    width: 100%;
}
#unlock-button:hover { opacity: 0.9; }

#status-time {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-main);
    font-weight: 600;
    letter-spacing: -0.2px;
}

#status-fps {
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.75rem;
    opacity: 0.85;
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: 50px;
    letter-spacing: 0.2px;
}

/* Appearance Theme Grid */
.theme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 1rem;
}

@media (max-width: 600px) {
    .theme-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.theme-card {
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.05);
    padding: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.theme-card:hover {
    border-color: rgba(255,255,255,0.2);
}

.theme-card.active {
    border-color: var(--accent-primary);
    background: rgba(255,255,255,0.05);
}

.theme-color-preview {
    width: 100%;
    height: 48px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.theme-color-accent {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.theme-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--on-surface);
}

.settings-category {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-secondary);
    margin-bottom: 1.5rem;
    margin-top: 1rem;
    font-weight: 700;
    opacity: 0.9;
}

.modern-progress-bg {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    overflow: hidden;
    margin: 10px 0;
}

.modern-progress-fill {
    height: 100%;
    background: var(--accent-primary);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 0.9rem;
}

.modern-list-item:last-child {
    border-bottom: none;
}

.toggle-button {
    min-width: 100px;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    border: none;
    font-family: var(--font-main);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.toggle-button.enabled {
    background: var(--accent-primary);
    color: var(--background);
    transform: scale(1.02);
}

.toggle-button.enabled:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.toggle-button.disabled {
    background: rgba(255,255,255,0.08);
    color: var(--on-surface);
    opacity: 0.6;
}

.toggle-button.disabled:hover {
    background: rgba(255,255,255,0.12);
    opacity: 0.8;
}

.settings-footer {
    position: sticky;
    bottom: 0;
    background: var(--background);
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    z-index: 10;
}

.btn-save {
    background: var(--accent-primary);
    color: var(--background);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-save:hover {
    filter: brightness(1.1);
}

.btn-discard {
    background: transparent;
    color: var(--on-surface);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-discard:hover {
    background: var(--error);
    color: white;
}

.changelog-v42 {
    font-size: 0.9rem;
    line-height: 1.5;
}

.changelog-v42 h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--on-surface);
}

.changelog-v42 li {
    margin-bottom: 0.75rem;
}








.recovery-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.recovery-button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--on-surface);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    width: 300px;
    text-align: center;
    transition: all 0.2s ease;
}

.recovery-button:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--background);
    transform: translateY(-2px);
}
.recovery-button.danger:hover {
    background: var(--error);
    border-color: var(--error);
    color: #fff;
    transform: translateY(-2px);
}
html.theme-glassmorphism #audius-player-modal .audius-container,
html.theme-glass #audius-player-modal .audius-container {
    background:
        linear-gradient(180deg, rgba(8, 12, 22, 0.76), rgba(8, 12, 22, 0.88)),
        rgba(10, 14, 24, 0.58) !important;
}

html.theme-glassmorphism #audius-player-modal .audius-main-content::after,
html.theme-glass #audius-player-modal .audius-main-content::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 242, 254, 0.08), transparent 42%),
        linear-gradient(180deg, rgba(7, 11, 20, 0.18), rgba(7, 11, 20, 0.42));
}

html.theme-glassmorphism #audius-player-modal .audius-ambient-backdrop,
html.theme-glass #audius-player-modal .audius-ambient-backdrop {
    filter: blur(92px) brightness(0.32) saturate(118%);
    -webkit-filter: blur(92px) brightness(0.32) saturate(118%);
    opacity: 0;
    transform: scale(1.12);
}

html.theme-glassmorphism #audius-player-modal .audius-ambient-backdrop.active,
html.theme-glass #audius-player-modal .audius-ambient-backdrop.active {
    opacity: 0.42;
}

html.theme-glassmorphism #audius-player-modal .audius-feed-panel,
html.theme-glass #audius-player-modal .audius-feed-panel {
    position: relative;
    z-index: 2;
}

html.theme-glassmorphism #audius-player-modal .audius-search-box,
html.theme-glass #audius-player-modal .audius-search-box {
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2);
}

html.theme-glassmorphism #audius-player-modal .audius-tab-btn,
html.theme-glass #audius-player-modal .audius-tab-btn {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
}

html.theme-glassmorphism #audius-player-modal .audius-tab-btn.active,
html.theme-glass #audius-player-modal .audius-tab-btn.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 8px 22px rgba(0, 242, 254, 0.18);
}