/* Recap · index · bouton thème (soleil / lune) */
  /* ---------- theme-toggle icon button (replaces the old menu button) ---------- */
  /* mirrors the same light/dark logic style.css uses for the colour variables */
  .theme-btn svg .sun, .theme-btn svg .moon { transition: opacity .4s ease; }
  .theme-btn svg .moon { opacity: 0; }
  @media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .theme-btn svg .sun { opacity: 0; }
    html:not([data-theme="light"]) .theme-btn svg .moon { opacity: 1; }
  }
  html[data-theme="dark"] .theme-btn svg .sun { opacity: 0; }
  html[data-theme="dark"] .theme-btn svg .moon { opacity: 1; }
