/* A visit a tab of the phone's bar starts plays a view transition (view_transitions.js; no other render does): the page
   cross-fades, and the shell around it stays put. The new page fades in over the old one, which stays under it (a
   normal blend, not the browser's brightening one, so nothing dips in between); the sidebar is its own layer that is
   swapped without a fade. The phone's bar is its own layer too, in BottomTabBar.css. Durations and easings aren't
   tokens. With reduced motion none starts, and the CSS also switches every one off. */
.wi-app-shell__sidebar {
  view-transition-name: wi-sidebar;
}

::view-transition-old(root),
::view-transition-old(wi-sidebar),
::view-transition-new(wi-sidebar) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-new(root) {
  animation: wi-view-transition-in 200ms ease-out both;
  mix-blend-mode: normal;
}

@keyframes wi-view-transition-in {
  from { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}
