/* Match Cut: the SMPTE bars, and a dead channel for a hero.

   The palette is the system colors the app draws each bar in -- gray 3,
   yellow, teal, green, purple, red, indigo -- as iOS 26 resolves them. */
:root {
  --bar-silver: #c7c7cc;
  --bar-yellow: #ffcc00;
  --bar-cyan:   #00c3d0;
  --bar-green:  #34c759;
  --bar-magenta:#cb30e0;
  --bar-red:    #ff383c;
  --bar-blue:   #6155f5;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bar-silver: #48484a;
    --bar-yellow: #ffd600;
    --bar-cyan:   #00d2e0;
    --bar-green:  #30d158;
    --bar-magenta:#db34f2;
    --bar-red:    #ff4245;
    --bar-blue:   #6d7cff;
  }
}

/* Static, darker towards the edges so the words sit on the middle of it: the
   app's launch screen, as a tile of its grain. The tile is moved 24 times a
   second by static.js, as the launch screen's grain moves; still without it. */
.hero {
  background:
    radial-gradient(80% 65% at 50% 45%, rgba(0, 0, 0, 0.15) 20%, rgba(0, 0, 0, 0.7) 100%),
    url("/assets/apps/match-cut/static.png") var(--static);
  background-size: auto, 240px 240px;
  background-position: center, var(--static-x, 0px) var(--static-y, 0px);
  image-rendering: pixelated;
}

/* Scanlines, faint: the tube, without the grit. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 3px);
  pointer-events: none;
  z-index: 1;
}
