/* ============================================================================
   THEHIGHWRLD - SITE MODE (Dark / Glass)
   ----------------------------------------------------------------------------
   Dark and Glass, layered on top of whichever of the 32 themes is active.

   Dark is deliberately NOT defined. It is the absence of an override, so
   switching back to dark reverts exactly to the theme's own colours with no
   reset block that can drift out of date.

   Glass overrides only surface and border tokens, so text keeps the colours
   the active theme gave it. That is deliberate: an earlier Light mode also had
   to override text, because this UI paints copy through hundreds of hardcoded
   #fff and slate values rather than through the tokens -- --ac-text is read 39
   times against 983 uses of text-gray-* in the markup. A contrast audit of the
   running site found 117 elements below 3:1 once the page background was
   flipped, and closing them meant per-component work across the whole UI, so
   Light was removed rather than shipped half-legible. Glass needs none of that.

   The token block uses html[data-theme][data-mode=glass] rather than a bare
   [data-mode=glass] because themes.css writes its themes as
   html[data-theme=x], which is specificity 0,1,1. A bare [data-mode=x] at 0,1,0
   would lose to it and the mode would do nothing.
   ========================================================================= */
/* -------- GLASS --------
/* Frosted panels over whatever is behind them: the theme gradient, the
   #bg-motion orbs, the lobby artwork. Text stays whatever the theme set,
   which is why this mode needs no per-component text overrides. */
html[data-theme][data-mode=glass]{
  --ac-glass:rgba(255,255,255,.10);
  --ac-glass2:rgba(255,255,255,.18);
  --th-glass:rgba(255,255,255,.08);
  --th-glass2:rgba(255,255,255,.14);
  --ac-border:rgba(255,255,255,.14);
  --ac-border2:rgba(255,255,255,.26);
  --th-border:rgba(255,255,255,.12);
  --th-border2:rgba(255,255,255,.22);
  --ac-text:#f2efff;
  --ac-muted:rgba(238,235,255,.74);
  --ac-dim:rgba(238,235,255,.5);
  --ac-shadow:0 30px 80px rgba(0,0,0,.42);
}
