html.pwa-splash-pending { overflow: hidden; scrollbar-gutter: auto; background: #fff !important; }
html.pwa-splash-pending body > :not(#pwaSplash) { visibility: hidden; }
#pwaSplash {
  position: fixed;
  inset: 0;
  width: 100vw;
  z-index: 2147483646;
  background: #fff;
  opacity: 1;
  transition: opacity .3s ease;
  touch-action: none;
}
#pwaSplash[hidden] { display: none; }
/* Route clicks/taps to the splash layer, including over the animation iframe. */
#pwaSplash iframe { display: block; border: 0; width: 100%; height: 100%; pointer-events: none; }
#pwaSplash.is-leaving { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  #pwaSplash { transition: none; }
}
