#app-launch[hidden] { display: none !important; }
/* A desktop PWA may reserve a scrollbar gutter before the app CSS/theme loads.
   Cover and centre against the whole viewport, including that reserved strip. */
html:has(#app-launch:not([hidden])) { background: var(--ui-color-cinematic-bg, #06090d) !important; }
#app-launch {
  position: fixed;
  inset: 0;
  width: 100vw;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  background: var(--ui-color-cinematic-bg, #06090d);
  pointer-events: none;
  opacity: 1;
  transition: opacity 240ms cubic-bezier(.2, .8, .2, 1);
}
#app-launch img {
  width: 112px;
  height: 112px;
  display: block;
  transform: scale(1);
  transition: transform 240ms cubic-bezier(.2, .8, .2, 1);
}
#app-launch.is-ready { opacity: 0; }
#app-launch.is-ready img { transform: scale(1.045); }
@media (prefers-reduced-motion: reduce) {
  #app-launch, #app-launch img { transition: none; transform: none !important; }
}
