/* ============================================================================
   styles/demo.css — LIFTED VERBATIM from the shipping site's styles.css
   (uploads/styles.css, lines 251-1574: "Interactive Simulator Stage & Physical
   Monitor Frame" through the 1"x1" minimized widget mode).
   Nothing here was rewritten: every class the demo engine (scripts/desky-app.js)
   depends on is byte-identical to the original. Page-level styling lives in
   styles/main.css, which loads after this file.
   ============================================================================ */

/* Live simulator variables (Obsidian + Warm Amber HUD default, as shipped) */
:root {
  --sim-card: rgba(18, 19, 26, 0.94);
  --sim-radar: #0b0c12;
  --sim-border: #f59e0b;
  --sim-accent: #fbbf24;
  --sim-accent-sec: #d97706;
  --sim-win-bg: rgba(63, 63, 70, 0.85);
  --sim-win-border: rgba(161, 161, 170, 0.75);
  --sim-win-active-bg: rgba(245, 158, 11, 0.92);
  --sim-win-active-border: #fde68a;
}

/* Interactive Simulator Stage & Physical Monitor Frame */
.hero-demo-wrap {
  background: transparent;
  border: none;
  padding: 6px 0 12px;
}
.demo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding: 12px 18px;
  background: #14151e;
  border: 1px solid #2e3244;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.demo-toolbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.live-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}
.demo-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
}
.theme-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.theme-pill {
  background: #1f212e;
  color: #cbd5e1;
  border: 1px solid #383c52;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.theme-pill:hover {
  color: #fff;
  border-color: #fbbf24;
}
.theme-pill.active {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #09090d;
  font-weight: 800;
  border-color: #fde68a;
}

.ctrl-kbd {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid #fbbf24;
  color: #fef3c7;
  padding: 1px 7px;
  border-radius: 4px;
  font-family: Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
}
.ctrl-status-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: #1f212e;
  border: 1px solid #3f3f46;
  color: #e2e8f0;
  transition: all 0.15s;
}
.ctrl-status-pill.active {
  background: rgba(16, 185, 129, 0.22);
  border-color: #10b981;
  color: #34d399;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

/* Physical 32" 4K Studio Monitor Hardware (Machined Anodized Silver / Platinum) */
.monitor-hardware {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

/* Top Integrated Webcam Module */
.monitor-webcam-housing {
  width: 122px;
  height: 16px;
  background: linear-gradient(180deg, #e2e8f0 0%, #94a3b8 100%);
  border: 1px solid #f8fafc;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.7);
  z-index: 2;
}
.webcam-ir-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4c1d3d;
}
.webcam-lens {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #38bdf8 0%, #090d16 55%, #000 100%);
  border: 1.5px solid #1e293b;
  position: relative;
  display: inline-block;
}
.webcam-led {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* Outer Machined Silver Aluminum Monitor Chassis */
.monitor-chassis {
  width: 100%;
  background: linear-gradient(180deg, #f8fafc 0%, #cbd5e1 15%, #94a3b8 85%, #e2e8f0 100%);
  padding: 4px 4px 0 4px;
  border-radius: 16px 16px 12px 12px;
  border: 1px solid #ffffff;
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.92),
    0 0 85px -15px rgba(245, 158, 11, 0.18),
    inset 0 1px 0 #ffffff;
  position: relative;
  z-index: 3;
}

/* Inner Deep Obsidian Glass Bezel */
.monitor-bezel {
  background: #060608;
  padding: 11px 11px 9px 11px;
  border-radius: 12px 12px 3px 3px;
  box-shadow:
    inset 0 0 0 1px #1f242d,
    inset 0 3px 10px rgba(0, 0, 0, 0.98);
}

/* Active LCD Panel with Vibrant Studio Dusk / Aurora Wallpaper */
.simulated-monitor {
  position: relative;
  width: 100%;
  height: 525px;
  background:
    radial-gradient(circle at 18% 22%, rgba(234, 88, 12, 0.28) 0%, transparent 45%),
    radial-gradient(circle at 82% 26%, rgba(168, 85, 247, 0.28) 0%, transparent 48%),
    radial-gradient(circle at 52% 78%, rgba(236, 72, 153, 0.22) 0%, transparent 50%),
    linear-gradient(135deg, #160f1d 0%, #0f101a 50%, #1a1118 100%);
  border: 1px solid #27272a;
  border-radius: 3px;
  overflow: hidden;
  user-select: none;
  cursor: default;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.7);
}
.simulated-monitor.ctrl-held {
  cursor: grab;
  box-shadow: inset 0 0 0 2px #fbbf24, inset 0 0 24px rgba(0, 0, 0, 0.75);
}
.simulated-monitor.panning-now {
  cursor: grabbing !important;
}

/* Subtle Optical Glass Glare Overlay */
.monitor-glass-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 28%, transparent 45%);
  pointer-events: none;
  z-index: 38;
}

/* Bottom Brushed Anodized Silver Monitor Chin */
.monitor-chin {
  height: 34px;
  background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 48%, #94a3b8 100%);
  border-top: 1px solid #f8fafc;
  border-radius: 0 0 10px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}
.chin-left {
  flex: 1;
}
.chin-spec {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.9px;
  color: #334155;
  font-family: Consolas, monospace;
}
.chin-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}
.chin-logo-mark {
  color: #d97706;
  font-size: 13px;
}
.chin-logo-text {
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 2.8px;
  color: #0f172a;
}
.chin-logo-sub {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #475569;
  margin-left: 2px;
}
.chin-controls {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}
.osd-btn {
  background: #1e293b;
  border: 1px solid #0f172a;
  color: #f8fafc;
  font-size: 8.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 3px;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: all 0.15s;
}
.osd-btn:hover {
  background: #f59e0b;
  border-color: #b45309;
  color: #09090d;
}
.monitor-power-btn {
  font-size: 12px;
  font-weight: 900;
  color: #1e293b;
  margin-left: 6px;
}
.monitor-power-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981, 0 0 14px #10b981;
  margin-left: 4px;
}

/* Sculpted Anodized Silver Stand Neck & Desk Base */
.monitor-stand-assembly {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}
.monitor-hinge {
  width: 102px;
  height: 9px;
  background: linear-gradient(90deg, #475569 0%, #94a3b8 50%, #475569 100%);
  border-left: 1px solid #64748b;
  border-right: 1px solid #64748b;
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.65);
}
.monitor-neck {
  width: 122px;
  height: 64px;
  background: linear-gradient(90deg, #64748b 0%, #cbd5e1 24%, #f8fafc 50%, #cbd5e1 76%, #64748b 100%);
  clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: inset 0 6px 12px rgba(0, 0, 0, 0.35);
}
.monitor-cable-ring {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #09090d;
  border: 3.5px solid #475569;
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.9), 0 1px 2px #ffffff;
  margin-top: 6px;
}
.monitor-base {
  width: 350px;
  height: 16px;
  background: linear-gradient(90deg, #64748b 0%, #cbd5e1 28%, #f8fafc 50%, #cbd5e1 72%, #64748b 100%);
  border-radius: 18px 18px 4px 4px;
  border-top: 1px solid #ffffff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.9);
  position: relative;
  overflow: hidden;
}
.monitor-base-lip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, #334155, #64748b, #334155);
}
.monitor-desk-shadow {
  width: 460px;
  height: 14px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.92) 0%, rgba(255, 255, 255, 0.06) 55%, transparent 75%);
  margin-top: -2px;
}

.sim-dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.32) 1.25px, transparent 1.25px);
  background-size: 44px 44px;
  opacity: 0.25;
  pointer-events: none;
}
.sim-world {
  position: absolute;
  width: 2320px;
  height: 1040px;
  left: 0;
  top: 0;
  background:
    radial-gradient(circle at 22% 25%, rgba(245, 158, 11, 0.16) 0%, transparent 35%),
    radial-gradient(circle at 75% 24%, rgba(16, 185, 129, 0.16) 0%, transparent 35%),
    radial-gradient(circle at 24% 75%, rgba(236, 72, 153, 0.16) 0%, transparent 35%),
    radial-gradient(circle at 76% 76%, rgba(139, 92, 246, 0.18) 0%, transparent 35%);
  transform-origin: 0 0;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.sim-world.no-transition {
  transition: none !important;
}
.sim-desk-watermark {
  position: absolute;
  font-family: Consolas, monospace;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: rgba(251, 191, 36, 0.35);
  pointer-events: none;
}

/* Authentic Windows 11 Desktop Application Windows */
.sim-win {
  position: absolute;
  display: flex;
  flex-direction: column;
  background: #141418;
  border: 1px solid #3f3f46;
  border-radius: 9px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sim-win.active-win {
  border-color: #fbbf24;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(251, 191, 36, 0.35);
}
.sim-win.pinned-win {
  z-index: 999 !important;
  border-color: #fbbf24 !important;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.96),
    0 0 0 2px #fbbf24,
    0 0 28px rgba(251, 191, 36, 0.45) !important;
}
.win11-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 31px;
  padding: 0 6px 0 10px;
  background: #1f1f26;
  border-bottom: 1px solid #32323e;
  font-size: 11.5px;
  font-weight: 600;
  color: #f4f4f5;
  cursor: move;
  flex-shrink: 0;
}
.sim-win-title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.vscode-badge { background: #007acc; }
.term-badge { background: #d97706; font-family: Consolas, monospace; }
.tv-badge { background: #059669; }
.dom-badge { background: #0d9488; }
.discord-badge { background: #5865f2; }
.spotify-badge { background: #1db954; }
.obs-badge { background: #e11d48; font-size: 7.5px; }
.tm-badge { background: #7c3aed; }

.win11-controls {
  display: flex;
  align-items: center;
  gap: 2px;
}
.w11-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 22px;
  font-size: 10px;
  color: #94a3b8;
  border-radius: 4px;
}
.w11-btn:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.w11-close:hover { background: #e11d48; color: #fff; }

.pin-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  cursor: pointer;
  padding: 1px 5px;
  font-size: 10.5px;
  opacity: 0.75;
  margin-right: 4px;
}
.pin-btn:hover { opacity: 1; border-color: var(--sim-accent); }
.pin-btn.pinned {
  opacity: 1;
  background: rgba(245, 158, 11, 0.28);
  border-color: #f59e0b;
}

/* 1. Visual Studio Code Window */
.vscode-layout {
  display: flex;
  flex: 1;
  min-height: 0;
  background: #18181b;
}
.vscode-activitybar {
  width: 32px;
  background: #121215;
  border-right: 1px solid #27272a;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
  gap: 12px;
  font-size: 12px;
}
.act-icon { opacity: 0.45; }
.act-icon.active { opacity: 1; border-left: 2px solid #f59e0b; padding-left: 4px; }
.vscode-sidebar {
  width: 138px;
  background: #141417;
  border-right: 1px solid #27272a;
  padding: 6px 0;
  font-size: 10.5px;
  color: #d4d4d8;
}
.vs-side-hdr {
  font-size: 9px;
  font-weight: 700;
  color: #a1a1aa;
  padding: 2px 8px 6px;
}
.vs-tree-item {
  padding: 2px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vs-tree-item.active {
  background: rgba(245, 158, 11, 0.18);
  border-left: 2px solid #fbbf24;
  color: #fef3c7;
}
.vscode-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.vscode-tabs {
  display: flex;
  background: #121215;
  border-bottom: 1px solid #27272a;
  height: 26px;
}
.vs-tab {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  font-size: 10.5px;
  color: #a1a1aa;
  border-right: 1px solid #27272a;
}
.vs-tab.active {
  background: #18181b;
  color: #fff;
  border-top: 2px solid #f59e0b;
}
.cs-tag { color: #fbbf24; font-weight: 800; font-size: 9.5px; }
.vscode-editor {
  flex: 1;
  padding: 8px 10px;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 11px;
  line-height: 1.58;
  color: #e4e4e7;
  background: #18181b;
}
.vs-line { white-space: nowrap; }
.ln {
  display: inline-block;
  width: 20px;
  color: #52525b;
  font-size: 10px;
}
.c-kw { color: #f472b6; font-weight: 600; }
.c-fn { color: #fbbf24; }
.c-num { color: #34d399; }
.c-cm { color: #71717a; }
.vscode-statusbar {
  height: 20px;
  background: linear-gradient(90deg, #6d28d9, #7c3aed);
  color: #fff;
  font-size: 9.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
}

/* 2. Windows Terminal */
.terminal-titlebar { background: #09090b; }
.term-tabs { display: flex; gap: 4px; flex: 1; }
.term-tab {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 5px 5px 0 0;
  color: #a1a1aa;
  background: #18181b;
}
.term-tab.active { background: #0c0c10; color: #fef3c7; border-top: 2px solid #10b981; }
.terminal-body {
  flex: 1;
  background: #09090c;
  padding: 10px 12px;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 11px;
  line-height: 1.62;
  color: #f4f4f5;
}
.t-prompt { color: #fbbf24; font-weight: 700; }
.t-cyan { color: #f472b6; }
.t-green { color: #34d399; font-weight: 600; }
.t-cursor { color: #fbbf24; }

/* 3. TradingView Desktop */
.tv-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: #131722;
  border-bottom: 1px solid #2a2e39;
  font-size: 10.5px;
}
.tv-sym { margin-right: 6px; color: #d1d4dc; }
.tv-up { color: #10b981; font-style: normal; font-weight: 700; }
.tv-dn { color: #ef4444; font-style: normal; font-weight: 700; }
.tv-tf {
  padding: 1px 5px;
  border-radius: 3px;
  color: #787b86;
  font-size: 9.5px;
}
.tv-tf.active { background: #10b981; color: #09090d; font-weight: 700; }
.tv-ind { margin-left: auto; color: #fbbf24; font-size: 9.5px; }
.tv-layout {
  display: flex;
  flex: 1;
  background: #131722;
  min-height: 0;
}
.tv-chart-area { flex: 1; padding: 6px; }
.tv-svg { width: 100%; height: 100%; }
.tv-watchlist {
  width: 112px;
  border-left: 1px solid #2a2e39;
  padding: 6px 8px;
  font-size: 10px;
}
.tv-wl-hdr { font-size: 8.5px; font-weight: 700; color: #787b86; margin-bottom: 6px; }
.tv-wl-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-family: Consolas, monospace;
}

/* 4. Level II DOM */
.dom-body {
  flex: 1;
  background: #0d131f;
  padding: 8px 10px;
  font-family: Consolas, monospace;
  font-size: 10.5px;
}
.dom-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 8px;
}
.dom-buy { background: #059669; color: #fff; text-align: center; padding: 4px; border-radius: 4px; font-weight: 700; font-size: 9.5px; }
.dom-sell { background: #dc2626; color: #fff; text-align: center; padding: 4px; border-radius: 4px; font-weight: 700; font-size: 9.5px; }
.dom-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 6px;
  border-radius: 3px;
  margin-bottom: 3px;
}
.dom-row.ask { background: rgba(239, 68, 68, 0.14); color: #fca5a5; }
.dom-row.bid { background: rgba(16, 185, 129, 0.14); color: #6ee7b7; }
.dom-row.spread { background: rgba(245, 158, 11, 0.16); color: #fbbf24; justify-content: center; font-weight: 700; font-size: 9.5px; }

/* 5. Discord Window */
.discord-layout {
  display: flex;
  flex: 1;
  background: #313338;
  min-height: 0;
}
.dc-servers {
  width: 36px;
  background: #1e1f22;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
  gap: 8px;
}
.dc-srv {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #313338;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
}
.dc-srv.active { background: #5865f2; border-radius: 8px; }
.dc-channels {
  width: 118px;
  background: #2b2d31;
  padding: 8px 6px;
  font-size: 10.5px;
  color: #949ba4;
}
.dc-ch-hdr { font-size: 9px; font-weight: 800; color: #f2f3f5; margin-bottom: 6px; padding: 0 4px; }
.dc-ch { padding: 3px 6px; border-radius: 4px; margin-bottom: 2px; }
.dc-ch.active { background: #404249; color: #fff; font-weight: 600; }
.dc-chat {
  flex: 1;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
}
.dc-msg { display: flex; gap: 8px; }
.dc-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  flex-shrink: 0;
}
.av-blue { background: #5865f2; }
.av-green { background: #10b981; }
.dc-author { font-weight: 700; font-size: 10.5px; color: #f2f3f5; }
.dc-role { background: #5865f2; font-size: 8px; padding: 1px 4px; border-radius: 3px; margin-left: 4px; }
.dc-time { color: #949ba4; font-size: 9px; font-weight: 400; margin-left: 4px; }
.dc-text { color: #dbdee1; font-size: 10.5px; line-height: 1.4; margin-top: 2px; }
.dc-reactions { display: flex; gap: 4px; margin-top: 4px; }
.dc-reactions span {
  background: #2b2d31;
  border: 1px solid #4e5058;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 9.5px;
}
.dc-input {
  margin-top: auto;
  background: #383a40;
  color: #949ba4;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 10.5px;
}

/* 6. Spotify Window */
.spotify-body {
  flex: 1;
  background: linear-gradient(180deg, #121212, #090909);
  padding: 10px 12px;
  font-size: 11px;
}
.sp-now-playing { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.sp-art {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ec4899, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
}
.sp-meta { flex: 1; }
.sp-track { font-weight: 700; color: #fff; font-size: 11.5px; }
.sp-artist { color: #a1a1aa; font-size: 10px; margin-bottom: 5px; }
.sp-progress { height: 4px; background: #27272a; border-radius: 2px; overflow: hidden; }
.sp-progress span { display: block; height: 100%; background: #1db954; }
.sp-q-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 4px;
  font-size: 10px;
  color: #a1a1aa;
}
.sp-q-row.active { color: #1db954; font-weight: 700; }

/* 7. OBS Studio Window */
.obs-body {
  flex: 1;
  background: #1b1e26;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.obs-preview {
  height: 155px;
  background: #090d14;
  border: 1px solid #334155;
  border-radius: 5px;
  padding: 6px;
  display: flex;
  flex-direction: column;
}
.obs-rec-pill {
  font-family: Consolas, monospace;
  font-size: 9.5px;
  color: #f87171;
  font-weight: 700;
  margin-bottom: 6px;
}
.obs-scene-canvas {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  position: relative;
}
.obs-mini-win {
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid #fbbf24;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fef3c7;
}
.obs-cam-pip {
  position: absolute;
  right: 6px;
  bottom: 6px;
  background: #0f172a;
  border: 1px solid #10b981;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 9px;
  color: #34d399;
}
.obs-docks {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 6px;
  flex: 1;
}
.obs-dock {
  background: #13161c;
  border: 1px solid #2b303c;
  border-radius: 4px;
  padding: 5px 6px;
  font-size: 9.5px;
}
.obs-dock-hdr { font-size: 8.5px; font-weight: 800; color: #94a3b8; margin-bottom: 4px; }
.obs-item { padding: 2px 4px; border-radius: 3px; color: #cbd5e1; }
.obs-item.active { background: #f59e0b; color: #09090d; font-weight: 700; }
.obs-meter-label { font-size: 8.5px; color: #94a3b8; }
.obs-meter { height: 5px; background: #1e293b; border-radius: 3px; overflow: hidden; margin-bottom: 4px; }
.obs-meter span { display: block; height: 100%; background: linear-gradient(90deg, #10b981 70%, #f59e0b 90%, #ef4444 100%); }
.obs-ctrl-btn {
  background: #262b36;
  border: 1px solid #3b4252;
  border-radius: 3px;
  text-align: center;
  padding: 3px;
  margin-bottom: 4px;
  font-size: 9px;
}
.obs-ctrl-btn.rec { background: rgba(220, 38, 38, 0.25); border-color: #ef4444; color: #fca5a5; }

/* 8. Task Manager Window */
.tm-body {
  flex: 1;
  background: #141923;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tm-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.tm-stat {
  background: #0d1117;
  border: 1px solid #263042;
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
}
.tm-stat span { font-size: 9px; color: #94a3b8; font-weight: 700; }
.tm-stat strong { font-size: 16px; color: #fbbf24; }
.tm-stat em { font-size: 9px; color: #64748b; font-style: normal; }
.tm-proc-highlight {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 6px;
  padding: 7px 9px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}
.tm-green { color: #34d399; font-weight: 700; font-family: Consolas, monospace; }

/* Simulated Windows 11 Bottom Taskbar */
.sim-taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38px;
  background: rgba(12, 12, 16, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  z-index: 40;
  font-size: 11px;
}
.tb-left, .tb-right {
  color: #cbd5e1;
  font-size: 10.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tb-tray-desky {
  color: #09090d;
  font-weight: 800;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #fde68a;
}
.tb-center {
  display: flex;
  align-items: center;
  gap: 5px;
}
.tb-win-start {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  border-radius: 5px;
  width: 28px;
  height: 26px;
  font-size: 13px;
  cursor: pointer;
}
.tb-app {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border-radius: 5px;
  padding: 3px 8px;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.tb-app:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--sim-accent);
  color: #fff;
}
.tb-app.active {
  background: rgba(245, 158, 11, 0.18);
  border-bottom: 2px solid #fbbf24;
  color: #fff;
}

.sim-sector-hud {
  position: absolute;
  left: 16px;
  bottom: 48px;
  font-family: Consolas, monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: #fef3c7;
  background: rgba(15, 15, 20, 0.9);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(245, 158, 11, 0.45);
  pointer-events: none;
  z-index: 35;
}

/* Simulated Floating Desky Minimap Overlay (High-Contrast Hero HUD) */
.sim-minimap {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 342px;
  background: var(--sim-card);
  border: 1px solid var(--sim-border);
  border-radius: 6px;
  padding: 8px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.92),
    0 0 32px rgba(245, 158, 11, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  z-index: 30;
  transition: width 0.2s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s, border-color 0.2s;
}
.sim-minimap.mini-mode {
  width: 104px;
  padding: 6px;
}
.sim-mm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  font-size: 10.5px;
}
.sim-mm-brand {
  display: flex;
  align-items: center;
  gap: 4px;
}
.sim-mm-title {
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--sim-accent);
}
.sim-mm-count {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 10px;
}
.sim-mm-icon-strip {
  display: flex;
  align-items: center;
  gap: 3px;
}
.mm-icon-btn {
  width: 21px;
  height: 19px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  font-size: 10px;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.mm-icon-btn:hover {
  background: var(--sim-accent);
  border-color: #fde68a;
  color: #09090d;
}
.sim-mm-body {
  display: flex;
  align-items: stretch;
  gap: 5px;
}
.sim-mm-radar {
  position: relative;
  flex: 1;
  height: 158px;
  background: var(--sim-radar);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  overflow: hidden;
}
.mm-sector {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.18s;
}
.mm-sector.active {
  border-color: var(--sim-accent);
  background: rgba(245, 158, 11, 0.09);
}
.mm-badge {
  position: absolute;
  left: 4px;
  top: 3px;
  font-size: 8.5px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(15, 15, 22, 0.9);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.mm-sector.active .mm-badge {
  background: var(--sim-accent);
  border-color: #fde68a;
  color: #09090d;
}
.mm-win {
  position: absolute;
  background: var(--sim-win-bg);
  border: 1px solid var(--sim-win-border);
  border-radius: 4px;
  font-size: 8.5px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 5px;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Distinct color-coded app blocks inside the Minimap Radar (matching Taskbar Icons 1:1) */
#mmWin1 { background: rgba(0, 122, 204, 0.90); border-color: #7dd3fc; }
#mmWin2 { background: rgba(217, 119, 6, 0.92); border-color: #fde68a; }
#mmWin3 { background: rgba(5, 150, 105, 0.90); border-color: #6ee7b7; }
#mmWin4 { background: rgba(13, 148, 136, 0.90); border-color: #5eead4; }
#mmWin5 { background: rgba(88, 101, 242, 0.90); border-color: #a5b4fc; }
#mmWin6 { background: rgba(29, 185, 84, 0.90); border-color: #86efac; }
#mmWin7 { background: rgba(225, 29, 72, 0.90); border-color: #fda4af; }
#mmWin8 { background: rgba(124, 58, 237, 0.90); border-color: #c4b5fd; }

.mm-win.active {
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}
.mm-win.pinned {
  z-index: 9 !important;
  background: linear-gradient(135deg, #f59e0b, #ea580c) !important;
  border-color: #fef08a !important;
  color: #09090d !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 0 10px rgba(251, 191, 36, 0.85) !important;
}
.mm-camera {
  position: absolute;
  border: 2px solid var(--sim-accent);
  background: rgba(251, 191, 36, 0.12);
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.35), inset 0 0 8px rgba(251, 191, 36, 0.18);
  border-radius: 5px;
  pointer-events: none;
  z-index: 10;
  transition: all 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Vertical Zoom Slider Column on the Right Side of Radar */
.sim-mm-zoom-vert {
  width: 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 3px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.mm-vert-slider-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}
.mm-zoom-slider-vert {
  width: 82px;
  height: 14px;
  transform: rotate(-90deg);
  accent-color: var(--sim-accent);
  cursor: pointer;
}
.mm-zoom-step {
  width: 24px;
  height: 17px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.mm-zoom-step:hover {
  background: var(--sim-accent);
  border-color: #fde68a;
  color: #09090d;
}
.mm-zoom-pct {
  width: 28px;
  padding: 1px 0;
  margin-top: 2px;
  border-radius: 3px;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: var(--sim-accent);
  font-family: Consolas, monospace;
  font-size: 8px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}
.mm-zoom-pct:hover {
  background: var(--sim-accent);
  color: #09090d;
}
.mm-desk-btn {
  width: 24px;
  font-family: Consolas, monospace;
}
.mm-desk-btn.active {
  background: var(--sim-accent);
  border-color: #fde68a;
  color: #09090d;
}
.sim-mm-status-row {
  margin-top: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.sim-mm-coords {
  font-family: Consolas, monospace;
  font-size: 9.5px;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 1"x1" Four-Squares Minimized Widget Mode */
.sim-mm-mini-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.sim-mm-mini-title {
  font-size: 8.5px;
  font-weight: 900;
  color: var(--sim-accent);
  letter-spacing: 0.4px;
}
.mm-expand-btn {
  width: 18px;
  height: 16px;
  font-size: 9px;
  color: var(--sim-accent);
  border-color: rgba(245, 158, 11, 0.45);
}
.sim-mm-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  height: 76px;
}
.mm-mini-sq {
  background: var(--sim-radar);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 5px;
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 2px;
  cursor: pointer;
  transition: all 0.15s;
}
.mm-mini-sq strong {
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}
.mm-mini-sq.active {
  border: 1.5px solid var(--sim-accent);
  background: rgba(245, 158, 11, 0.22);
  color: #ffffff;
  box-shadow: inset 0 0 8px rgba(245, 158, 11, 0.25);
}
.mm-mini-sq:hover {
  border-color: var(--sim-accent);
}
.mm-mini-dots {
  display: flex;
  gap: 2px;
}
.mm-mini-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
}
.demo-caption {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: #cbd5e1;
}

