/* Fixed-position progress is independent of layout and Malius.js DOM replacement. */
html::before {
  content:"";
  position:fixed;
  z-index:99999;
  inset:0 auto auto 0;
  height:3px;
  width:100%;
  pointer-events:none;
  background:linear-gradient(90deg,#4dbfff,#5fdbff,#7474ff);
  box-shadow:0 0 12px #54cfff77;
  transform:scaleX(0);
  transform-origin:left center;
  opacity:0;
  transition:transform .22s ease-out,opacity .18s ease-out;
}
html.navigating::before {transform:scaleX(.82);opacity:1;transition:transform 1.7s cubic-bezier(.13,.8,.26,1),opacity .1s}
html.navigation-complete::before {transform:scaleX(1);opacity:0;transition:transform .18s ease-out,opacity .2s ease .04s}
html.navigating body {cursor:progress}
/* Never animate the whole layout: it causes shaking on every route swap. */
html {scrollbar-gutter:stable}
@media(prefers-reduced-motion:reduce){html::before,html.navigating::before,html.navigation-complete::before{transition:none}}
