/* The static splash (index.html), before any script or the app's styles: a file, not inline, so
   the content-security policy needs no inline style (csp.ts). */
#joorkhan-splash {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 24px;
  background: radial-gradient(120% 70% at 50% 35%, #a5101c 0%, #5e0912 70%);
  color: #f6eedc;
  font-family: system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  text-align: center;
}
#joorkhan-splash .mark {
  margin: 0;
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  color: #f2b53b;
  text-shadow: 0 3px 0 #2a0508;
}
#joorkhan-splash .dots {
  display: flex;
  gap: 7px;
}
#joorkhan-splash .dots span {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #ffe08a;
  animation: joorkhan-splash-fade 1.2s ease-in-out infinite;
}
#joorkhan-splash .dots span:nth-child(2) {
  animation-delay: 0.4s;
}
#joorkhan-splash .dots span:nth-child(3) {
  animation-delay: 0.8s;
}
#joorkhan-splash .message,
#joorkhan-splash .retry {
  display: none;
}
#joorkhan-splash .message {
  margin: 0;
  max-width: 22rem;
  font-size: 15px;
  line-height: 1.8;
}
#joorkhan-splash .retry {
  height: 44px;
  padding: 0 28px;
  border: 3px solid #f2b53b;
  border-radius: 14px;
  background: #2fa84a;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
}
#joorkhan-splash[data-state='error'] .dots {
  display: none;
}
#joorkhan-splash[data-state='error'] .message,
#joorkhan-splash[data-state='error'] .retry {
  display: block;
}
@keyframes joorkhan-splash-fade {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}
