/* T328 P2 (LD-1) — OyOS boot gradient design token.
 *
 * ONE seamless boot surface: the login-screen blue gradient, the host boot
 * backdrop, and the V3 load screen all consume this token so the login→host
 * transition keeps the background pixel-identical (only foreground changes).
 *
 * Same-origin under /shared/ so BOTH static roots (host + vault auth pages)
 * can reach it. Consumers keep an inline literal fallback for the very first
 * frame (inline-critical, no FOUC on cold-cache slow 3G).
 */
:root {
  /* T403 P1: grad-family semantic tokens (navy defaults; derive engine overwrites at runtime).
     --grad-from/mid/to are Tier 2 semantic vars set by the OKLCH derive engine.
     The literals here are the byte-identical navy fallback for cold-cache / no-JS. */
  --grad-from: #0f172a;
  --grad-mid:  #1e3a5f;
  --grad-to:   #0f172a;
  --oyster-boot-gradient: linear-gradient(135deg, var(--grad-from, #0f172a) 0%, var(--grad-mid, #1e3a5f) 50%, var(--grad-to, #0f172a) 100%);
}

/* T403 P7 (LD-11): glass degrade on prefers-reduced-transparency.
   When the OS accessibility setting is active, collapse glass surfaces to solid
   by zeroing the glass-tint alpha and removing the blur — no JS required. */
@media (prefers-reduced-transparency: reduce) {
  :root {
    --glass-tint:   rgba(15, 23, 42, 0.96);
    --glass-a:      rgba(15, 23, 42, 0.96);
    --glass-b:      rgba(9,  20, 42, 0.98);
    --glass-border: rgba(76, 120, 210, 0.30);
    --glass-edge:   rgba(56, 189, 248, 0.20);
    --glass-blur:   0px;
  }
}
