/* Native document navigation: URLs, history, focus and modified clicks remain
   browser-owned. The entrance disables this sheet until its own reveal ends. */
@media (prefers-reduced-motion: no-preference) and (scripting: enabled) {
  @view-transition { navigation: auto; }
  ::view-transition { background: #141312; }
  /* One viewport surface: independently captured headers change coordinates
     when navigating between a scrolled page and a page starting at the top. */
  ::view-transition-group(root), ::view-transition-group(music-control) { animation: none; }
  /* Keep a fully opaque surface underneath; two fading roots create a dip. */
  ::view-transition-old(root) { animation: none; opacity: 1; mix-blend-mode: normal; }
  ::view-transition-new(root) { animation: page-arrive 440ms cubic-bezier(.2,0,.2,1) both; mix-blend-mode: normal; }
  .page-assets-pending::view-transition-new(root) { animation-play-state: paused; }
  @keyframes page-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
