/* The song switch's cross-fade (D179, song-switch.ts): the centre fades in a scoped view transition, or where those are
   missing the page does with its root uncaptured, so the rail, top bar and Library stay live and clickable. */

@supports (view-transition-name: none) {
  html.cl-switching { view-transition-name: none; }
  html.cl-switching .st-shell__center { view-transition-name: cl-song; }
  html.cl-switching .st-shell__right { view-transition-name: cl-sheet; }
  html.cl-switching .yt-mini:not([data-parked]) { view-transition-name: cl-video; }
  ::view-transition { pointer-events: none; }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation-duration: 140ms; animation-timing-function: ease-out; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none; }
}
