/* allskyhub design tokens (packages/design, Apache-2.0), shared by hub and camera.
   Always dark. [data-theme="red"] on <html> switches to a red night theme that keeps the
   eyes dark-adapted: only reds on black. */

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --bg: #04060f; --surface: rgba(17, 24, 48, .62); --surface-2: rgba(28, 38, 72, .55); --line: rgba(122, 162, 247, .18);
  --text: #eef1fb; --text-2: #a7b0cc; --accent: #7aa2f7; --accent-2: #b48cff; --aurora: #4fe3b0;
  --accent-ink: #050816;
  --ok: #4fe3b0; --warn: #f2c06b; --danger: #ff7a93;
  --glow: 0 0 0 1px rgba(122, 162, 247, .12), 0 18px 50px -20px rgba(80, 120, 255, .45);
  --radius: 20px;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", var(--body);
  --sheen: linear-gradient(100deg, #9fe8ff 0%, #7aa2f7 35%, #b48cff 70%, #ff9bd2 100%);
  color-scheme: dark;
}


/* Red night theme: everything red on black, also pictures (see base.css). */
[data-theme="red"] {
  --bg: #000; --surface: rgba(40, 0, 0, .55); --surface-2: rgba(60, 0, 0, .5); --line: rgba(255, 40, 40, .22);
  --text: #ff5a4a; --text-2: #b8382e; --accent: #ff3b30; --accent-2: #c4241b; --aurora: #ff6a4d;
  --accent-ink: #000;
  --ok: #ff6a4d; --warn: #ff8a3d; --danger: #ff2d2d;
  --glow: 0 0 0 1px rgba(255, 40, 40, .12), 0 18px 50px -20px rgba(255, 30, 30, .3);
  --sheen: linear-gradient(100deg, #ff7a5a 0%, #ff3b30 50%, #c4241b 100%);
}
