/* fix 145 (app/f145.php): nothing flashes when a page changes or the phone's menu opens. Loaded after the header's and fix 28's sheets
   while fix145 is on. Transform and opacity only, but for the header's own colours, which already eased (fix 7); under reduced motion
   nothing here moves and everything changes at once. */

/* 1. A page change (fix 36's and fix 56's view transition). The old page faded out to nothing in 140 ms while the new one faded in over
      240 ms, so between the two the screen went nearly white. Now the old page stays as it is and the new one comes in over it, quickly.
      The dock and the phone's tab bar stand still: their old picture went under the new one's glass, which blurred it for a moment, so
      only the new one shows, at once. (The current place's light still glides: fix 70 names it apart.) */
html::view-transition-old(root),html::view-transition-new(root){mix-blend-mode:normal}
html::view-transition-old(root){animation:none}
html::view-transition-new(root){animation:f145-in 160ms cubic-bezier(.16,1,.3,1) both}
@keyframes f145-in{from{opacity:0}}
html::view-transition-old(f56-rail),html::view-transition-old(f56-tabs){display:none}
html::view-transition-new(f56-rail),html::view-transition-new(f56-tabs){animation:none}

/* 2. In the private area, the pages after the first of a visit (fix 56's html.f56-again) open in their finished state: the pieces
      that rose into view one after another (520 to 620 ms, 150 ms apart) and the words that lit up are simply there. */
html.f56-again .pg.h38-pg .ap-g:not(.in) .ap{opacity:1;transform:none}
html.f56-again .pg.h38-pg .ap{transition:none}
html.f56-again .pg.h38-pg .hl{background-size:100% 100%;transition:none}
html.f56-again .pg.h38-pg .rv:not(.in) .w{opacity:1}
html.f56-again .pg.h38-pg .rv .w{transition:none}

/* 3. The page beside the dock no longer dims to half while the next one loads (fix 69's html.f69-going): the dock's light already
      glides to the place pressed (fix 70), and the next page is usually loaded ahead (fix 70's prerendering), so the dimming only
      flashed. Log out keeps its own quiet (fix 70's html.f70-out). */
html.f69.f69-going:not(.f70-out) .pg .h38-col>.main{opacity:1}

@media (prefers-reduced-motion:no-preference){
  /* 4. The phone's menu over a dark top. Opening it lays the light veil and turns the header to ink; the header used to turn at once
        while the veil took a quarter of a second, so it went white to black (and black to white on closing) ahead of what was behind
        it. Now the header turns on the veil's clock: in on fix 143's opening curve, out on its closing one. The logo's two pictures
        stand in one place and cross-fade instead of swapping. */
  html body .f7-hdr{transition:color .17s cubic-bezier(.4,0,1,1)}
  html body .f7-hdr:is([data-tone="ink"],.is-scrolled){transition:color .26s cubic-bezier(.16,1,.3,1)}
  html body .f7-hdr .f7-logo{position:relative}
  html body .f7-hdr .f7-logo :is(.f7-lw,.f7-li){display:block!important;transition:opacity .17s cubic-bezier(.4,0,1,1)}
  html body .f7-hdr .f7-logo .f7-li{position:absolute;left:0;top:0;opacity:0}
  html body .f7-hdr:is([data-tone="ink"],.is-scrolled) .f7-logo .f7-li{opacity:1;transition:opacity .26s cubic-bezier(.16,1,.3,1)}
  html body .f7-hdr:is([data-tone="ink"],.is-scrolled) .f7-logo .f7-lw{opacity:0;transition:opacity .26s cubic-bezier(.16,1,.3,1)}
  html body .f7-hdr .f7-bar :is(.f7-start,.f7-mstart):not(#f145){transition:background-color .17s cubic-bezier(.4,0,1,1),color .17s cubic-bezier(.4,0,1,1),transform 120ms}
  html body .f7-hdr:is([data-tone="ink"],.is-scrolled) .f7-bar :is(.f7-start,.f7-mstart):not(#f145){transition:background-color .26s cubic-bezier(.16,1,.3,1),color .26s cubic-bezier(.16,1,.3,1),transform 120ms}
  html body .f7-hdr .f7-bar::before{transition:opacity .17s cubic-bezier(.4,0,1,1)}
  html body .f7-hdr.is-scrolled .f7-bar::before{transition:opacity .26s cubic-bezier(.16,1,.3,1)}
}
@media (prefers-reduced-motion:reduce){
  html::view-transition-new(root){animation:none}
}
