/* Playback state on the hero gradient.
   The classes are toggled by user/assets/controls-audio.js on #hero-left and
   #tc-hero-left, so the mask follows the audio element's own state instead of a
   <style> element injected at click time.

   Three states, matching what the old inline rule produced:
     untouched        → whatever the stylesheet defaults are (100% site, 70/80% tc)
     played, paused   → 65%
     playing          → 35%
   A finished track goes back to untouched (see render() in the player script). */

#hero-left.has-played::before,
#tc-hero-left.has-played::before {
  --gradient-end: 65%;
}

#hero-left.has-played.is-playing::before,
#tc-hero-left.has-played.is-playing::before {
  --gradient-end: 35%;
}
