/* Liner Notes: the icon's blue leading the rule, and a record's grooves for a
   hero.

   The app is podcasts and music in one place, and a groove is the one picture
   that is true of both: a record carries them, and an episode is a track you
   drop a needle into. Drawn in gradients rather than an image, as Save Point's
   grid and Dog Ear's page are. */
:root {
  --bar-silver: #4a7dff;
  --bar-yellow: #ffcc00;
  --bar-cyan:   #00c3d0;
  --bar-green:  #34c759;
  --bar-magenta:#cb30e0;
  --bar-red:    #ff383c;
  --bar-blue:   #4a7dff;
}

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

/* Back to front: the blue bloom the icon sits in; a vignette so the words keep
   the middle; then the grooves, rings struck from a point off to one side so
   they read as a record caught at an angle rather than a target. `--groove` is
   the spacing between them. */
.hero {
  --groove: 9px;
  background:
    radial-gradient(42% 38% at 50% 38%, rgba(74, 125, 255, 0.26) 0%, transparent 70%),
    radial-gradient(85% 70% at 50% 45%, transparent 25%, rgba(0, 0, 0, 0.76) 100%),
    repeating-radial-gradient(circle at 18% 112%,
      rgba(255, 255, 255, 0.055) 0 1px, transparent 1px var(--groove)),
    var(--static);
}

/* The label: one lit ring where the needle would be sitting. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 112%, transparent 0 236px,
      rgba(74, 125, 255, 0.30) 236px 238px, transparent 238px);
  pointer-events: none;
  z-index: 1;
}
