/* PWA standalone splash — only shown with #app-splash.is-visible + display-mode standalone */
#app-splash {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: #1a2536;
  opacity: 1;
  transition: opacity 0.35s ease;
}
#app-splash.is-visible {
  display: flex;
}
#app-splash.app-splash-hide {
  opacity: 0;
  pointer-events: none;
}
#app-splash img {
  max-width: min(280px, 78vw);
  height: auto;
  display: block;
}
.app-splash-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #00aeef;
  border-radius: 50%;
  animation: app-splash-spin 0.75s linear infinite;
}
@keyframes app-splash-spin {
  to { transform: rotate(360deg); }
}

@media not all and (display-mode: standalone) {
  @media not all and (display-mode: fullscreen) {
    /* JS also gates on navigator.standalone; keep CSS default hidden */
  }
}
