/* ==========================================================================
   BLACKER: black leads, purple is only an accent.
   Loaded after mono.css / mobile.css. To undo, delete the <link ... css/blacker.css> line in index.html.
   ========================================================================== */
body[data-theme="dark"] {
  --bg: #000;
  --surface: #060606;
  --surface-2: #040404;
  --accent: #1d0a24;                       /* the dim purple behind most glows and shadows, pulled right down */
  --card-glow-a: rgba(120, 30, 140, 0.045);
  --card-glow-b: rgba(120, 30, 140, 0.025);
  --card-bg: linear-gradient(180deg, rgba(255,255,255,0.024) 0%, rgba(255,255,255,0.004) 60%, rgba(255,255,255,0.008) 100%);
  background: radial-gradient(110% 55% at 50% -12%, #0b050d 0%, #030203 45%, #000 100%) fixed;
}
body[data-theme="dark"] .glow { opacity: .05; }
body[data-theme="dark"] .glow-b { opacity: .035; }
body[data-theme="dark"]::before { background: radial-gradient(ellipse 85% 70% at 50% 35%, transparent 35%, rgba(0, 0, 0, 0.8) 100%); }

/* the big framed cards: black glass with a hairline, not a purple wash */
body[data-theme="dark"] .reel-window {
  box-shadow: 0 0 0 6px rgba(255,255,255,0.03), 0 40px 90px -40px rgba(120, 30, 140, 0.18);
}
body[data-theme="dark"] .orbit-frame {
  box-shadow: 0 0 0 5px rgba(255,255,255,0.04), 0 34px 70px -30px rgba(120, 30, 140, 0.2);
}
body[data-theme="dark"] .reel-lane-track--audio { background: rgba(255,255,255,0.035); }

/* purple stays where it means "act": buttons, the live ring item, play states, the tag dots */

/* ---------- Hero headline: a little more colour ---------- */
body[data-theme="dark"] .hero-title-lead {
  background: linear-gradient(180deg, #ffffff 20%, #e6d3ee 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
body[data-theme="dark"] .hero-title em {
  background: linear-gradient(100deg, #f1dff7 5%, #d9a7ea 45%, #b46bc7 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 0 22px rgba(180, 107, 199, 0.28));
}

/* ---------- Hero tool chips: the same Mac app-icon tiles as the Tools dock, with their coloured glows kept ---------- */
.floater-chip {
  background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none;
  border-radius: 24%;
  box-shadow: 0 0 26px 3px rgba(var(--glow), 0.38), 0 10px 22px -8px rgba(0, 0, 0, 0.6);
}
body[data-theme="light"] .floater-chip { background: none; border: 0; box-shadow: 0 0 24px 2px rgba(var(--glow), 0.32), 0 10px 22px -10px rgba(31, 22, 47, 0.35); }
.floater-chip .mac-icon { width: 100%; height: 100%; --icon: 100%; }
.floater-chip .mac-letters { font-size: 21px; }
.floater-chip.f1 .mac-letters { font-size: 23px; }
.floater-chip.f2 .mac-letters { font-size: 17px; }
.floater-chip .mac-glyph { width: 58%; height: 58%; }
.floater-chip .mac-glyph--wide { width: 68%; height: auto; }
.floater-chip .mac-glyph--heygen { width: 66%; height: auto; }
@media (max-width: 880px) { .floater-chip .mac-letters { font-size: 18px; } }
