.akf-app-splash {
  position: fixed;
  inset: 0;
  z-index: 2147482000;
  display: grid;
  place-items: center;
  padding: 20px;
  pointer-events: none;
  color: #eef2f7;
  background:
    radial-gradient(640px 360px at 50% 35%, rgba(121, 192, 255, .18), transparent 68%),
    linear-gradient(180deg, rgba(9, 17, 26, .98), rgba(11, 18, 27, .99));
  opacity: 1;
  visibility: visible;
  transition: opacity .2s ease, visibility .2s ease;
}

.akf-app-splash.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.akf-app-splash__panel {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(100%, 260px);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px;
  background: rgba(8, 13, 22, .74);
  box-shadow: 0 24px 68px rgba(0, 0, 0, .34);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.akf-app-splash img {
  display: block;
  width: clamp(96px, 18vw, 136px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.akf-app-splash__indicator {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(167, 213, 255, .22);
  border-top-color: #a7d5ff;
  border-radius: 50%;
  animation: akf-splash-spin .8s linear infinite;
}

.akf-app-splash__text {
  color: #b8c4d4;
  font: 600 13px/1.4 Bahnschrift, "Segoe UI", system-ui, sans-serif;
  letter-spacing: .03em;
}

html[data-theme="light"] .akf-app-splash {
  color: #142334;
  background:
    radial-gradient(640px 360px at 50% 35%, rgba(102, 174, 221, .24), transparent 68%),
    linear-gradient(180deg, rgba(237, 242, 245, .98), rgba(223, 231, 237, .99));
}

html[data-theme="light"] .akf-app-splash__panel {
  border-color: rgba(29, 54, 75, .14);
  background: rgba(248, 251, 253, .88);
  box-shadow: 0 22px 56px rgba(35, 59, 79, .16);
}

html[data-theme="light"] .akf-app-splash__indicator {
  border-color: rgba(11, 95, 152, .18);
  border-top-color: #0b5f98;
}

html[data-theme="light"] .akf-app-splash__text {
  color: #556779;
}

@keyframes akf-splash-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 430px) {
  .akf-app-splash__panel {
    width: min(100%, 220px);
    padding: 20px;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .akf-app-splash {
    transition: none;
  }

  .akf-app-splash__indicator {
    animation: none;
    border-color: rgba(167, 213, 255, .34);
    border-top-color: currentColor;
  }
}
