/* Anchors, keyboard focus and browser history retain their native behavior. */
@media (prefers-reduced-motion:no-preference) {
  html:focus-within {scroll-behavior:smooth}
  @view-transition {navigation:auto}
  ::view-transition-old(root) {animation:vh-page-leave 180ms ease-in both}
  ::view-transition-new(root) {animation:vh-page-arrive 360ms cubic-bezier(.18,.66,.24,1) both}
  @keyframes vh-page-leave {to{opacity:0}}
  @keyframes vh-page-arrive {from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}
}
@media (prefers-reduced-motion:reduce) {
  html:focus-within {scroll-behavior:auto}
  ::view-transition-old(root),::view-transition-new(root) {animation:none}
}
