/* Night phase — cool slate-blue, blue accent (matches iOS Color.phaseBackground(.night) / phaseAccent(.night)) */

body.phase-night {
  --bg-base: #1a1e24;
  --bg-warm: #1e232a;
  --accent: #6b9bd1;
  --accent-dim: rgba(107, 155, 209, 0.5);
  --accent-faint: rgba(107, 155, 209, 0.15);
  --text-primary: rgba(255, 255, 255, 0.98);
  --text-secondary: rgba(255, 255, 255, 0.72);
  --text-faint: rgba(255, 255, 255, 0.42);
  --text-accent: #8bb4e0;
  --glass-fill: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
  --tile-fill: rgba(255, 255, 255, 0.07);
  --tile-border: rgba(255, 255, 255, 0.09);
  --tile-fill-h: rgba(255, 255, 255, 0.1);
}

body.phase-night .elastic-ambient,
body.phase-night .ambient {
  background-color: #1a1e24;
  background-image:
    radial-gradient(ellipse 70% 55% at 50% 15%,
      rgba(80, 90, 130, 0.4) 0%,
      rgba(50, 55, 75, 0.2) 45%,
      transparent 75%),
    radial-gradient(ellipse 100% 60% at 50% 0%,
      rgba(60, 70, 100, 0.25) 0%,
      transparent 60%);
}

body.phase-night .theme-dot {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(107, 155, 209, 0.5);
}
