/*
 * Theme pack: SAUL LEITER  (1923–2013 · color)
 * ---------------------------------------------
 * The color counterpoint. Every feed is pulled down to a muted, rain-glazed
 * palette — desaturated warm reds and cold teals seen through fogged glass.
 * Detections don't cut; they *bloom* — soft translucent frames that read like
 * a reflection rather than a target reticle.
 */
:root[data-theme="saul-leiter"] {
  --bg: #0e1413;
  --bg-2: #141b1a;
  --panel: #161d1c;
  --panel-2: #1e2625;
  --line: #313b39;
  --ink: #ece2da;
  --ink-dim: #a6a49b;
  --ink-faint: #70736f;
  --accent: #d98c6a;          /* faded terracotta */
  --accent-ink: #1a0f0a;
  --ok: #8fb3a6;
  --warn: #d9a86a;
  --bad: #cf7059;
  --shadow: 0 20px 46px rgba(0,0,0,.5);
  --display-font: Georgia, "Times New Roman", serif;

  /* muted, warm, slightly hazy color — kept in color, just pulled down */
  --video-filter: saturate(0.66) contrast(1.05) brightness(0.97) sepia(0.12);
  --thumb-filter: saturate(0.66) contrast(1.05) brightness(0.97) sepia(0.12);

  --grain-opacity: 0.09;
  --grain-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* a soft warm-through-cold wash over each feed — the fogged-glass Leiter mood.
   Sits behind the detection overlay so labels stay readable. */
:root[data-theme="saul-leiter"] .feed-video {
  box-shadow: inset 0 0 80px rgba(15,25,24,.5);
}
:root[data-theme="saul-leiter"] .feed-grain {
  background-blend-mode: overlay;
  mix-blend-mode: soft-light;
}
