/*
 * Theme pack: ANSEL ADAMS  (1902–1984 · f/64 · the Zone System)
 * ------------------------------------------------------------
 * Grades every live feed to a full-range silver-gelatin print — deep blacks,
 * luminous whites, crisp mid-tone detail — and dresses the console in neutral
 * darkroom grays. The detector still reads the raw color frame underneath;
 * only the *display* is monochrome, exactly as a fine print interprets a scene.
 */
:root[data-theme="ansel-adams"] {
  --bg: #0a0a0b;
  --bg-2: #141414;
  --panel: #17171a;
  --panel-2: #1f1f22;
  --line: #34343a;
  --ink: #f3f2ee;
  --ink-dim: #b6b4ad;
  --ink-faint: #7f7d77;
  --accent: #f3f2ee;          /* paper white */
  --accent-ink: #0a0a0b;      /* max black */
  --ok: #e9e7e1;
  --warn: #c9c6bd;
  --bad: #d8d6cf;
  --shadow: 0 20px 46px rgba(0,0,0,.62);
  --display-font: Georgia, "Times New Roman", serif;

  /* the signature: high-contrast neutral black & white on the video itself */
  --video-filter: grayscale(1) contrast(1.42) brightness(1.06);
  --thumb-filter: grayscale(1) contrast(1.4) brightness(1.05);

  /* fine silver grain floating over each feed */
  --grain-opacity: 0.17;
  --grain-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' 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");
}

/* paper-white accent needs dark text on chips/logo in this pack */
:root[data-theme="ansel-adams"] .brand .logo { color: #0a0a0b; }
:root[data-theme="ansel-adams"] .feed-id .slot { color: #0a0a0b; }
:root[data-theme="ansel-adams"] .health::before,
:root[data-theme="ansel-adams"] .badge.live::before { box-shadow: none; }

/* zone-system tonal strip under the theme bar — a quiet nod to the method */
:root[data-theme="ansel-adams"] .theme-bar::after {
  content: ""; height: 10px; flex: 1 1 100%; border-radius: 3px; margin-top: 2px;
  background: linear-gradient(90deg, #000 0%, #1c1c1c 11%, #333 22%, #4d4d4d 33%,
    #666 44%, #808080 55%, #999 66%, #b3b3b3 77%, #ccc 88%, #fff 100%);
  border: 1px solid var(--line);
}

/* serif print-plate headings */
:root[data-theme="ansel-adams"] .brand h1 { letter-spacing: .12em; }
:root[data-theme="ansel-adams"] .feed-video { image-rendering: auto; }
