/* Smooth tab switches (2026-11-11, Mehdi: "smoothy refreshing and switches tab everywhere").
   Every tab is its own page load. The browser keeps the old page on screen until the new one paints, then fades
   between them; the header is its own layer so it never blinks. Chrome/Edge 126+, Safari 18.2+; other browsers
   navigate as before. Reduced motion: no fade. */
@view-transition { navigation: auto; }
header.top { view-transition-name: mm-top; }
::view-transition-group(mm-top) { animation-duration: 0s; }
::view-transition-old(root) { animation: 140ms ease-out both mm-vt-out; }
::view-transition-new(root) { animation: 200ms ease-out both mm-vt-in; }
@keyframes mm-vt-out { to { opacity: 0; } }
@keyframes mm-vt-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}
