---
/*
 * Theme picker stub — Nibiru is dark-only.
 *
 * The Cosmos design system was designed dark-first; the light theme
 * was kept as a tinker option, but per the brief we ship a single,
 * consistent night-sky experience. This component replaces Starlight's
 * default ThemeSelect with nothing so the picker disappears from the
 * header, and an inline script in <head> forces data-theme="dark" so
 * any prior `localStorage` light setting is overridden.
 */
---

<script is:inline>
  // Force-dark for the entire site. Stomps any cached preference and
  // any Starlight theme-script that might have run before.
  (function () {
    try { localStorage.setItem('starlight-theme', 'dark'); } catch (e) {}
    document.documentElement.setAttribute('data-theme', 'dark');
  })();
</script>
