/*
 * First-paint splash. It is shown before any script runs, so it cannot read the PrimeReact theme variables (--p-*, --ui-*), which the
 * theme provider injects with the first render. The one literal colour below is the documented exception: it must equal the opaque
 * background of civic-tram.webp (the image has no alpha channel) so the picture shows no frame. It is the same value as background_color in
 * site.webmanifest and as the theme-color meta in index.html. The splash is removed when the app renders.
 */
#app-splash {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #f8f3ea;
}

#app-splash img {
  width: min(100%, 656px);
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
