/* Aulama Anime, 2026-11-04. A separate stylesheet linked last, so it stays independent of the landscape layer. */

/* Now-playing episode number over the white progress fill. The pale number underneath carries a dark
   drop-shadow; the coloured copy drawn over the fill covered the letters but not that shadow, which
   showed round every letter as a grey film. The coloured copy now has the fill's own colour behind it. */
:root:root .anime-app.anime-app.anime-app .episode-battery.is-active .episode-battery-ink { background: #fff; }
:root:root .anime-app.anime-app.anime-app .episode-battery.is-active.is-complete .episode-battery-ink { background: #91d9b2; }

/* Desktop player: the 4K panel on the right rests just above the progress bar. Its height came from the
   highest of the control row, the bar, the skip card and the comment pill on the left, never less than
   76px, so it floated well above the bar even with nothing beneath it. While a skip-intro or skip-outro
   card is showing, the previous placement (above the card) is kept. The speed panel opens on the left
   over the comment pill and is unchanged. Browsers without anchor positioning keep the old placement. */
@supports (anchor-name: --a) {
  :root .anime-app:not(.is-touch-web):not(.is-touch-surface):not(.is-native-shell):not(.is-native-app) .player-shell .player-timeline {
    anchor-name: --aulama-player-timeline;
  }
  :root:root .anime-app.anime-app:not(.is-touch-web):not(.is-touch-surface):not(.is-native-shell):not(.is-native-app) .player-shell.player-shell:not(:has(.player-skip-actions)) .anime4k-panel {
    bottom: calc(anchor(--aulama-player-timeline top) + 10px) !important;
  }
}
