/* ==========================================================================
   VELOCORE // HIGH-PERFORMANCE LIGHTWEIGHT CYBER-HUD
   Ultra-Fast, Zero-Lag Hardware Telemetry & Performance Dashboard
   ========================================================================== */

:root {
  --bg-void: #07040e;
  --bg-hud: #0c0618;
  --bg-card: rgba(16, 9, 30, 0.95);
  --bg-card-hover: rgba(26, 14, 48, 0.98);
  --bg-panel: rgba(13, 7, 24, 0.96);
  --bg-input: rgba(9, 4, 18, 0.95);

  --purple-primary: #a855f7;
  --purple-bright: #c084fc;
  --purple-light: #e9d5ff;
  --purple-glow: rgba(168, 85, 247, 0.3);
  --purple-dim: #7c3aed;
  --purple-dark: #3b0764;

  --cyber-cyan: #38bdf8;
  --cyber-magenta: #f43f5e;
  --cyber-green: #10b981;

  --border-hud: rgba(168, 85, 247, 0.24);
  --border-bright: rgba(192, 132, 252, 0.55);
  --border-cyan: rgba(56, 189, 248, 0.4);

  --text-main: #f3e8ff;
  --text-muted: #9f96b8;
  --text-dim: #65597e;

  --font-mono: 'Consolas', 'Segoe UI Mono', monospace;
  --font-display: 'Segoe UI', system-ui, sans-serif;
}

/* ==========================================================================
   DYNAMIC THEME OVERRIDES (Chromatic Matrix)
   ========================================================================== */

[data-theme="cyber-cyan"] {
  --bg-void: #030a14;
  --bg-hud: #051224;
  --bg-card: rgba(8, 22, 42, 0.95);
  --bg-card-hover: rgba(12, 32, 60, 0.98);
  --bg-panel: rgba(6, 18, 36, 0.96);
  --bg-input: rgba(4, 12, 24, 0.95);
  --purple-primary: #0284c7;
  --purple-bright: #38bdf8;
  --purple-light: #e0f2fe;
  --purple-glow: rgba(56, 189, 248, 0.3);
  --purple-dim: #0369a1;
  --purple-dark: #082f49;
  --border-hud: rgba(56, 189, 248, 0.28);
  --border-bright: rgba(56, 189, 248, 0.65);
}

[data-theme="crimson-red"] {
  --bg-void: #0e0307;
  --bg-hud: #18050c;
  --bg-card: rgba(32, 10, 18, 0.95);
  --bg-card-hover: rgba(46, 14, 26, 0.98);
  --bg-panel: rgba(24, 7, 14, 0.96);
  --bg-input: rgba(18, 5, 10, 0.95);
  --purple-primary: #e11d48;
  --purple-bright: #fb7185;
  --purple-light: #ffe4e6;
  --purple-glow: rgba(244, 63, 94, 0.3);
  --purple-dim: #be123c;
  --purple-dark: #4c0519;
  --border-hud: rgba(244, 63, 94, 0.28);
  --border-bright: rgba(251, 113, 133, 0.65);
}

[data-theme="matrix-emerald"] {
  --bg-void: #020e06;
  --bg-hud: #04180a;
  --bg-card: rgba(8, 30, 16, 0.95);
  --bg-card-hover: rgba(12, 42, 22, 0.98);
  --bg-panel: rgba(6, 24, 12, 0.96);
  --bg-input: rgba(4, 16, 8, 0.95);
  --purple-primary: #059669;
  --purple-bright: #34d399;
  --purple-light: #d1fae5;
  --purple-glow: rgba(52, 211, 153, 0.3);
  --purple-dim: #047857;
  --purple-dark: #022c22;
  --border-hud: rgba(52, 211, 153, 0.28);
  --border-bright: rgba(52, 211, 153, 0.65);
}

[data-theme="solar-amber"] {
  --bg-void: #0e0802;
  --bg-hud: #1a0f04;
  --bg-card: rgba(30, 18, 8, 0.95);
  --bg-card-hover: rgba(44, 26, 12, 0.98);
  --bg-panel: rgba(24, 14, 6, 0.96);
  --bg-input: rgba(18, 10, 4, 0.95);
  --purple-primary: #d97706;
  --purple-bright: #fbbf24;
  --purple-light: #fef3c7;
  --purple-glow: rgba(251, 191, 36, 0.3);
  --purple-dim: #b45309;
  --purple-dark: #451a03;
  --border-hud: rgba(251, 191, 36, 0.28);
  --border-bright: rgba(251, 191, 36, 0.65);
}

[data-theme="monochrome-stealth"] {
  --bg-void: #08080a;
  --bg-hud: #111114;
  --bg-card: rgba(24, 24, 28, 0.95);
  --bg-card-hover: rgba(34, 34, 40, 0.98);
  --bg-panel: rgba(18, 18, 22, 0.96);
  --bg-input: rgba(12, 12, 16, 0.95);
  --purple-primary: #71717a;
  --purple-bright: #e4e4e7;
  --purple-light: #f4f4f5;
  --purple-glow: rgba(161, 161, 170, 0.25);
  --purple-dim: #52525b;
  --purple-dark: #18181b;
  --border-hud: rgba(161, 161, 170, 0.24);
  --border-bright: rgba(228, 228, 231, 0.55);
}

/* ==========================================================================
   BACKGROUND GRID VARIATIONS
   ========================================================================== */

[data-grid="wireframe"] body::before {
  background:
    radial-gradient(circle at 50% 0%, var(--purple-glow) 0%, transparent 60%),
    linear-gradient(var(--border-hud) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-hud) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
}

[data-grid="hex"] body::before {
  background:
    radial-gradient(circle at 50% 0%, var(--purple-glow) 0%, transparent 60%),
    radial-gradient(circle, var(--border-hud) 1.5px, transparent 1.5px),
    radial-gradient(circle, var(--border-hud) 1.5px, transparent 1.5px);
  background-size: 100% 100%, 28px 48px, 28px 48px;
  background-position: 0 0, 0 0, 14px 24px;
}

[data-grid="dots"] body::before {
  background:
    radial-gradient(circle at 50% 0%, var(--purple-glow) 0%, transparent 60%),
    radial-gradient(circle, var(--border-hud) 1.5px, transparent 1.5px);
  background-size: 100% 100%, 24px 24px;
}

[data-grid="none"] body::before {
  background: radial-gradient(circle at 50% 0%, var(--purple-glow) 0%, transparent 70%);
}

/* Glow Level */
[data-glow="subtle"] body::before { opacity: 0.5; }
[data-glow="standard"] body::before { opacity: 1; }
[data-glow="hyper"] body::before { opacity: 1.8; filter: saturate(1.4); }

/* Theme Swatches UI in Settings */
.theme-swatches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.theme-swatch {
  background: var(--bg-input);
  border: 1px solid var(--border-hud);
  border-radius: 4px;
  padding: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s ease;
}

.theme-swatch:hover {
  border-color: var(--purple-bright);
  transform: translateY(-2px);
  box-shadow: 0 0 10px var(--purple-glow);
}

.theme-swatch.active {
  border-color: var(--purple-bright);
  background: rgba(168, 85, 247, 0.15);
  box-shadow: 0 0 12px var(--purple-glow);
}

.swatch-color-bar {
  width: 100%;
  height: 22px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.swatch-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.swatch-name {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
}

.swatch-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.5px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
}

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

/* Lightweight Ambient Cyber Grid (Zero-compositing CSS) */
body::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.15) 0%, transparent 60%),
    linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.scanlines-overlay {
  display: none; /* Disabled for zero lag */
}

.hud-window {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   TITLEBAR & CONTROLS
   ========================================================================== */

.hud-titlebar {
  height: 42px;
  background: #090414;
  border-bottom: 1px solid var(--border-hud);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  -webkit-app-region: drag;
  z-index: 100;
}

.hud-branding {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hud-logo-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--purple-bright);
}

.hud-title-text {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.hud-brand-name {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 2px;
  color: #ffffff;
}

.hud-brand-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--cyber-cyan);
  padding: 1px 6px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 2px;
}

.hud-update-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(74, 222, 128, 0.5);
  color: #4ade80;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 12px;
  cursor: pointer;
  animation: updateGlow 2s infinite ease-in-out;
  transition: all 0.2s ease;
  margin-left: 8px;
  outline: none;
}
.hud-update-pill:hover {
  background: rgba(34, 197, 94, 0.35);
  transform: translateY(-1px);
  border-color: #4ade80;
}
.update-pulse {
  width: 6px;
  height: 6px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
  animation: pulseDot 1s infinite alternate;
}
@keyframes updateGlow {
  0%, 100% { box-shadow: 0 0 4px rgba(34, 197, 94, 0.3); }
  50% { box-shadow: 0 0 12px rgba(34, 197, 94, 0.65); }
}
@keyframes pulseDot {
  0% { transform: scale(0.8); opacity: 0.7; }
  100% { transform: scale(1.2); opacity: 1; }
}

.hud-titlebar-telemetry {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.hud-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--purple-light);
}

.titlebar-live-ticker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
}

.ticker-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #e9d5ff;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: 3px;
  padding: 2px 7px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.5px;
}

.ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.ticker-dot.cpu {
  background: #c084fc;
  box-shadow: 0 0 6px #c084fc;
}

.ticker-dot.ram {
  background: #38bdf8;
  box-shadow: 0 0 6px #38bdf8;
}

.pulse-node {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyber-cyan);
}

.hud-controls-right {
  display: flex;
  align-items: center;
  gap: 6px;
  -webkit-app-region: no-drag;
}

.hud-btn-icon {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  width: 32px;
  height: 28px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.hud-btn-icon:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: var(--border-bright);
  color: #ffffff;
}

.hud-btn-icon.close:hover {
  background: var(--cyber-magenta);
  color: #fff;
}

/* ==========================================================================
   NAVIGATION TAB BAR
   ========================================================================== */

.hud-navbar {
  height: 48px;
  background: #0d071a;
  border-bottom: 1px solid var(--border-hud);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 90;
}

.hud-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-tab-item {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(22, 11, 40, 0.6);
  border: 1px solid rgba(168, 85, 247, 0.18);
  padding: 7px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: background 0.15s ease, color 0.15s ease;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.hud-tab-item:hover {
  color: #ffffff;
  background: rgba(124, 58, 237, 0.25);
  border-color: var(--border-bright);
}

.hud-tab-item.active {
  color: #ffffff;
  background: rgba(168, 85, 247, 0.3);
  border-color: var(--purple-bright);
}

.hud-tab-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--purple-bright);
}

.hud-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hud-action-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 2px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid var(--purple-primary);
  color: var(--purple-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease;
}

.hud-action-pill:hover {
  background: var(--purple-primary);
  color: #ffffff;
}

.hud-action-pill.cyan {
  border-color: var(--cyber-cyan);
  color: var(--cyber-cyan);
  background: rgba(56, 189, 248, 0.1);
}

.hud-action-pill.cyan:hover {
  background: var(--cyber-cyan);
  color: #050b14;
}

/* ==========================================================================
   VIEWPORT & PANELS (Zero-lag rendering)
   ========================================================================== */

.hud-viewport {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px;
  position: relative;
}

.hud-viewport::-webkit-scrollbar {
  width: 6px;
}
.hud-viewport::-webkit-scrollbar-track {
  background: #080410;
}
.hud-viewport::-webkit-scrollbar-thumb {
  background: var(--purple-dim);
  border-radius: 3px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.hud-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-hud);
  position: relative;
  padding: 16px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.hud-panel::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 8px; height: 8px;
  border-top: 2px solid var(--purple-bright);
  border-left: 2px solid var(--purple-bright);
  pointer-events: none;
}

.hud-panel::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 8px; height: 8px;
  border-bottom: 2px solid var(--purple-bright);
  border-right: 2px solid var(--purple-bright);
  pointer-events: none;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.12);
}

.panel-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--purple-bright);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-title-tag {
  color: var(--cyber-cyan);
  font-size: 10px;
}

/* ==========================================================================
   COCKPIT (Gauges & Canvas)
   ========================================================================== */

.cockpit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.gauge-card {
  background: radial-gradient(circle at 50% 30%, rgba(168, 85, 247, 0.08) 0%, rgba(16, 9, 30, 0.95) 75%);
  border: 1px solid rgba(168, 85, 247, 0.24);
  border-radius: 6px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

.gauge-card:hover {
  transform: translateY(-2px);
  border-color: rgba(192, 132, 252, 0.5);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(168, 85, 247, 0.25);
}

.gauge-card-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.gauge-card-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  background: rgba(168, 85, 247, 0.15);
  color: var(--purple-bright);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.gauge-svg-container {
  width: 130px;
  height: 130px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0;
}

.gauge-svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.gauge-bg-circle {
  fill: none;
  stroke: rgba(168, 85, 247, 0.12);
  stroke-width: 8;
}

.gauge-progress-circle {
  fill: none;
  stroke: var(--purple-bright);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: 339.292;
  transition: stroke-dashoffset 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 6px var(--purple-bright));
}

.gauge-progress-circle.cyan {
  stroke: var(--cyber-cyan);
  filter: drop-shadow(0 0 6px var(--cyber-cyan));
}

.gauge-center-content {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.gauge-main-val {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -1px;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

.gauge-unit {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--purple-bright);
  letter-spacing: 1px;
}

.gauge-subtext {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.3px;
}

.waveform-container {
  height: 180px;
  width: 100%;
  position: relative;
  background: #090514;
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 4px;
  overflow: hidden;
}

.waveform-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.waveform-legend {
  position: absolute;
  top: 8px;
  right: 12px;
  display: flex;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.legend-dot.purple { background: var(--purple-bright); }
.legend-dot.cyan { background: var(--cyber-cyan); }

.spec-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.spec-strip-card {
  background: linear-gradient(135deg, rgba(22, 11, 40, 0.85) 0%, rgba(13, 7, 24, 0.95) 100%);
  border: 1px solid rgba(168, 85, 247, 0.22);
  padding: 12px 14px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

.spec-strip-card:hover {
  transform: translateY(-2px);
  border-color: var(--purple-bright);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.25);
}

.spec-strip-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(168, 85, 247, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-bright);
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.15);
}

.spec-strip-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  gap: 2px;
}

.spec-strip-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-strip-val {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.3px;
}

.spec-strip-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cyber-cyan);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
  font-size: 10px;
  color: var(--cyber-cyan);
}

/* ==========================================================================
   VAULT
   ========================================================================== */

.vault-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.vault-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hud);
  border-radius: 4px;
  padding: 16px;
}

.vault-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
  margin-bottom: 12px;
}

.vault-icon { color: var(--purple-bright); }
.vault-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
}

.vault-items-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 11px;
}

.vault-items-table tr {
  border-bottom: 1px solid rgba(168, 85, 247, 0.06);
}

.vault-items-table td {
  padding: 7px 4px;
  vertical-align: top;
}

.vault-prop {
  color: var(--text-muted);
  width: 38%;
}

.vault-val {
  color: #ffffff;
  font-weight: 600;
  word-break: break-word;
}

.vault-val.highlight { color: var(--purple-bright); }
.vault-val.cyan { color: var(--cyber-cyan); }

/* ==========================================================================
   CORE MATRIX
   ========================================================================== */

.core-matrix-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.core-card {
  background: radial-gradient(circle at 50% 20%, rgba(168, 85, 247, 0.08) 0%, rgba(16, 9, 30, 0.95) 75%);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 4px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.core-card:hover {
  transform: translateY(-2px);
  border-color: var(--purple-bright);
}

.core-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.core-bar-wrapper {
  width: 26px;
  height: 76px;
  background: #090414;
  background-image: linear-gradient(rgba(0, 0, 0, 0.45) 1px, transparent 1px);
  background-size: 100% 4px;
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 3px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 2px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
}

.core-bar-fill {
  width: 100%;
  background: linear-gradient(to top, #7c3aed, #c084fc);
  border-radius: 2px;
  height: 0%;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(192, 132, 252, 0.4);
}

.core-bar-fill.heavy {
  background: linear-gradient(to top, #be123c, #f43f5e);
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.6);
}

.core-percent {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 8px;
}

.core-clock {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--cyber-cyan);
  margin-top: 2px;
}

.io-meters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.io-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(168, 85, 247, 0.08);
  font-family: var(--font-mono);
}

.io-metric-label {
  color: var(--text-muted);
  font-size: 11px;
}

.io-metric-val {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   TASK RADAR
   ========================================================================== */

.radar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.radar-search-box {
  flex: 1;
  max-width: 320px;
  position: relative;
}

.radar-search-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-hud);
  border-radius: 3px;
  padding: 6px 10px 6px 30px;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  outline: none;
}

.radar-search-input:focus {
  border-color: var(--purple-bright);
}

.radar-search-icon {
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.radar-sort-group {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.sort-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-hud);
  color: var(--text-muted);
  padding: 5px 10px;
  border-radius: 2px;
  cursor: pointer;
}

.sort-btn.active {
  background: var(--purple-dim);
  border-color: var(--purple-bright);
  color: #ffffff;
}

.process-table-container {
  max-height: 460px;
  overflow-y: auto;
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 3px;
  background: #090414;
}

.process-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 11px;
}

.process-table th {
  background: #110822;
  padding: 8px 10px;
  text-align: left;
  color: var(--purple-light);
  font-weight: 700;
  border-bottom: 1px solid rgba(168, 85, 247, 0.25);
  position: sticky;
  top: 0;
  z-index: 10;
}

.process-table td {
  padding: 7px 10px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.06);
  color: var(--text-main);
}

.process-table tr:hover td {
  background: rgba(124, 58, 237, 0.12);
  color: #ffffff;
}

.proc-name { font-weight: 700; color: #ffffff; }
.proc-pid { color: var(--cyber-cyan); }
.proc-cpu-badge {
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(168, 85, 247, 0.15);
  color: var(--purple-bright);
  font-weight: 700;
}

.proc-cpu-badge.high {
  background: rgba(244, 63, 94, 0.2);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.4);
}

.pid-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--cyber-cyan);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 3px;
  padding: 1px 5px;
}

.proc-mem-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.proc-mem-val {
  min-width: 60px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #f3e8ff;
}

.proc-mem-track {
  flex: 1;
  max-width: 90px;
  height: 5px;
  background: rgba(168, 85, 247, 0.12);
  border-radius: 3px;
  overflow: hidden;
}

.proc-mem-bar {
  height: 100%;
  background: linear-gradient(90deg, #7c3aed, #c084fc);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.kill-btn {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fda4af;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.kill-btn:hover {
  background: #f43f5e;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.5);
  transform: translateY(-1px);
}

/* Feedback / Action Hero Button */
.cyber-hero-submit-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 10px 28px;
  background: var(--purple-dim);
  border: 1px solid var(--purple-bright);
  color: #ffffff;
  border-radius: 3px;
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.cyber-hero-submit-btn:hover {
  background: var(--purple-primary);
}

/* ==========================================================================
   SETTINGS
   ========================================================================== */

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.setting-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hud);
  border-radius: 4px;
  padding: 18px;
}

.setting-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--purple-bright);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(168, 85, 247, 0.08);
}

.setting-info-label {
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
}

.setting-info-sub {
  font-size: 10px;
  color: var(--text-muted);
}

.cyber-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

.cyber-switch input { opacity: 0; width: 0; height: 0; }

.cyber-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #1a0f30;
  border: 1px solid rgba(168, 85, 247, 0.4);
  transition: .2s;
  border-radius: 11px;
}

.cyber-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-muted);
  transition: .2s;
  border-radius: 50%;
}

input:checked + .cyber-slider {
  background-color: var(--purple-dim);
  border-color: var(--purple-bright);
}

input:checked + .cyber-slider:before {
  transform: translateX(18px);
  background-color: #ffffff;
}

.cyber-select {
  background: var(--bg-input);
  border: 1px solid var(--border-hud);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 3px;
  outline: none;
}

/* Tuning Profile Presets Grid */
.tuning-profile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tuning-profile-card {
  background: rgba(14, 7, 28, 0.85);
  border: 1px solid var(--border-hud);
  border-radius: 4px;
  padding: 14px 12px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.tuning-profile-card:hover {
  border-color: var(--purple-bright);
  background: rgba(22, 10, 44, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.25);
}

.tuning-profile-card.active {
  border-color: var(--purple-bright);
  background: rgba(168, 85, 247, 0.15);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.35);
}

.tuning-profile-card.active::before {
  content: "ACTIVE";
  position: absolute;
  top: 6px;
  right: 6px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
  color: #34d399;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 1px 4px;
  border-radius: 2px;
}

.profile-card-icon {
  font-size: 20px;
  margin-bottom: 6px;
}

.profile-card-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.profile-card-sub {
  font-size: 9.5px;
  color: var(--text-muted);
  line-height: 1.35;
}

/* BIOS Spec List */
.bios-spec-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(10, 5, 20, 0.6);
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: 4px;
  padding: 12px;
}

.bios-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.bios-spec-row:last-child {
  border-bottom: none;
}

.bios-spec-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
}

.bios-spec-value {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
}

.hud-action-pill.danger-glow {
  border-color: #f43f5e;
  color: #ffe4e6;
  background: rgba(244, 63, 94, 0.18);
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.3);
}

.hud-action-pill.danger-glow:hover {
  background: rgba(244, 63, 94, 0.35);
  border-color: #fb7185;
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.5);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.hud-footer {
  height: 26px;
  background: #090414;
  border-top: 1px solid var(--border-hud);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  z-index: 100;
}

.footer-left, .footer-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-item span.highlight { color: var(--purple-bright); font-weight: 700; }
.footer-item span.cyan { color: var(--cyber-cyan); }

.hud-toast {
  position: fixed;
  bottom: 36px;
  right: 16px;
  background: #15092a;
  border: 1px solid var(--purple-bright);
  padding: 8px 16px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1000;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}

/* ==========================================================================
   ANDROID & MOBILE CYBER MODAL & RESPONSIVE STYLES
   ========================================================================== */

.hud-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(4, 2, 8, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.hud-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.hud-modal-card {
  background: #0d071a;
  border: 1px solid var(--purple-bright);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.35);
  border-radius: 6px;
  width: 90%;
  max-width: 440px;
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.modal-title {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffffff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.4;
}

.qr-code-box {
  width: 200px;
  height: 200px;
  background: #07040e;
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 4px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.qr-code-box svg {
  width: 100%;
  height: 100%;
}

.lan-url-group {
  display: flex;
  width: 100%;
  gap: 8px;
  margin-bottom: 14px;
}

.lan-url-input {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--border-hud);
  color: var(--cyber-cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 3px;
  text-align: center;
  outline: none;
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}
.modal-close-btn:hover { color: #fff; }

/* ==========================================================================
   VELO-BOOST DEVICE OPTIMIZER & MODULAR HARDWARE EXPORTER
   ========================================================================== */

/* Navbar Optimizer Pill */
.opt-hero-pill {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(236, 72, 153, 0.25)) !important;
  border-color: #d946ef !important;
  color: #f5d0fe !important;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(217, 70, 239, 0.25);
  transition: all 0.2s ease;
}

.opt-hero-pill:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.45), rgba(236, 72, 153, 0.45)) !important;
  box-shadow: 0 0 16px rgba(217, 70, 239, 0.5);
  transform: translateY(-1px);
}

/* Cockpit Hero Optimizer Strip */
.hud-optimizer-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.12) 0%, rgba(13, 7, 24, 0.95) 60%, rgba(56, 189, 248, 0.1) 100%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 6px;
  padding: 12px 18px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(168, 85, 247, 0.08);
}

.opt-strip-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.opt-strip-title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.opt-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a855f7;
  box-shadow: 0 0 8px #a855f7;
  animation: optPulse 1.8s infinite;
}

@keyframes optPulse {
  0% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 4px #a855f7; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px #c084fc; }
  100% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 4px #a855f7; }
}

.opt-strip-badge {
  font-size: 9px;
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--cyber-cyan);
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.opt-strip-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.opt-hero-btn {
  background: linear-gradient(135deg, #9333ea, #c026d3);
  border: 1px solid #f0abfc;
  color: #ffffff;
  padding: 9px 20px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
  transition: all 0.2s ease;
}

.opt-hero-btn:hover {
  background: linear-gradient(135deg, #a855f7, #d946ef);
  box-shadow: 0 0 25px rgba(217, 70, 239, 0.65);
  transform: translateY(-1px);
}

.opt-hero-btn:active {
  transform: translateY(1px);
}

/* Vault Quick Copy Buttons */
.vault-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vault-copy-btn {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: var(--purple-light);
  cursor: pointer;
  transition: all 0.15s ease;
}

.vault-copy-btn:hover {
  background: rgba(168, 85, 247, 0.35);
  border-color: var(--purple-bright);
  color: #ffffff;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.4);
}

.vault-copy-btn.highlight-gpu {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: #7dd3fc;
}

.vault-copy-btn.highlight-gpu:hover {
  background: rgba(56, 189, 248, 0.35);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

/* Radar Purge Bloat Button */
.opt-radar-btn {
  background: rgba(168, 85, 247, 0.18) !important;
  border-color: #a855f7 !important;
  color: #f5d0fe !important;
  font-weight: 700 !important;
}

.opt-radar-btn:hover {
  background: rgba(168, 85, 247, 0.35) !important;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.4) !important;
}

/* Modular Export Modal */
.hud-modal-card.modular-export-card {
  max-width: 540px;
  text-align: left;
  align-items: stretch;
}

.export-preset-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  background: rgba(8, 4, 16, 0.6);
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.preset-label {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-weight: 700;
}

.preset-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 3px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: var(--purple-light);
  cursor: pointer;
  transition: all 0.15s ease;
}

.preset-pill:hover {
  background: rgba(168, 85, 247, 0.3);
  border-color: var(--purple-bright);
  color: #ffffff;
}

.preset-pill.highlight-pill {
  background: rgba(56, 189, 248, 0.18);
  border-color: #38bdf8;
  color: #7dd3fc;
}

.preset-pill.highlight-pill:hover {
  background: rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.export-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.export-cat-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(15, 8, 30, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.export-cat-card:hover {
  background: rgba(26, 14, 48, 0.95);
  border-color: var(--purple-bright);
}

.export-cat-checkbox {
  accent-color: #a855f7;
  cursor: pointer;
  margin-top: 2px;
  width: 15px;
  height: 15px;
}

.cat-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cat-name {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
}

.cat-desc {
  font-size: 9.5px;
  color: var(--text-muted);
  line-height: 1.3;
}

.export-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(168, 85, 247, 0.2);
}

.export-format-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.export-format-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
}

.export-action-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   MOBILE & ANDROID RESPONSIVE BREAKPOINTS (< 768px)
   ========================================================================== */

@media (max-width: 768px) {
  body {
    overflow-y: auto;
  }

  .hud-titlebar {
    height: 44px;
    padding: 0 10px;
  }

  .hud-titlebar-telemetry {
    display: none;
  }

  #winMinBtn, #winMaxBtn, #winCloseBtn {
    display: none;
  }

  .hud-navbar {
    height: auto;
    padding: 6px 10px;
    overflow-x: auto;
  }

  .hud-tabs {
    flex-wrap: nowrap;
    gap: 4px;
  }

  .hud-tab-item {
    padding: 6px 10px;
    font-size: 10px;
    flex-shrink: 0;
  }

  .hud-viewport {
    padding: 10px;
  }

  .cockpit-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gauge-svg-container {
    width: 100px;
    height: 100px;
  }

  .gauge-main-val {
    font-size: 20px;
  }

  .spec-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .vault-grid {
    grid-template-columns: 1fr;
  }

  .core-matrix-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .io-meters-grid {
    grid-template-columns: 1fr;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }

  .radar-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .hud-footer {
    display: none;
  }
}

