#pwa-splash-screen {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 20%, #22c55e 0, #14532d 36%, #052e16 100%);
  color: #fff;
  transition: opacity .28s ease, transform .28s ease;
}

#pwa-splash-screen.is-leaving {
  opacity: 0;
  transform: scale(1.015);
}

.pwa-splash-card {
  display: grid;
  justify-items: center;
  gap: .65rem;
  text-align: center;
  padding: 2rem;
}

.pwa-splash-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 24px;
  background: #fff;
  padding: .65rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
}

.pwa-splash-card h1 {
  margin: .45rem 0 0;
  font-size: clamp(1.4rem, 5vw, 2.4rem);
  line-height: 1.05;
  font-weight: 900;
}

.pwa-splash-card p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: .95rem;
  font-weight: 700;
}

.pwa-splash-loader {
  width: 132px;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  margin-top: .8rem;
}

.pwa-splash-loader span {
  display: block;
  width: 48%;
  height: 100%;
  border-radius: inherit;
  background: #86efac;
  animation: pwaSplashLoad 1.1s ease-in-out infinite;
}

@keyframes pwaSplashLoad {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(240%); }
}
