.genesis-loading-screen {
  position: fixed;
  inset: 0;
  z-index: var(--z-max, 9999);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  overflow-y: auto;
  box-sizing: border-box;
  padding: max(1.5rem, env(safe-area-inset-top)) max(1.5rem, env(safe-area-inset-right))
    max(1.5rem, env(safe-area-inset-bottom)) max(1.5rem, env(safe-area-inset-left));
  background: hsl(var(--background, 0 0% 2%));
  color: hsl(var(--foreground, 0 0% 98%));
  font-family: inherit;
  text-align: center;
}
:root[data-mode='light'] .genesis-loading-screen {
  background: hsl(var(--background, 0 0% 98%));
  color: hsl(var(--foreground, 0 0% 9%));
}
.genesis-loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 20rem;
  margin: auto;
}
.genesis-loading-logo {
  width: 116px;
  height: auto;
  object-fit: contain;
  border-radius: 1rem;
  margin-bottom: 20px;
}
.genesis-loading-title {
  margin: 12px 0 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.025em;
  opacity: 0.7;
}
.genesis-loading-detail {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.7;
}
.app-loading-progress {
  width: 176px;
  height: 4px;
  overflow: hidden;
  border-radius: 9999px;
  background: hsl(var(--foreground, 0 0% 50%) / 0.12);
}
.app-loading-progress::after {
  content: '';
  display: block;
  width: 35%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, hsl(var(--primary, 0 0% 60%) / 0.9), transparent);
  animation: app-loading-slide 1.05s ease-in-out infinite;
}
@keyframes app-loading-slide {
  from {
    transform: translate3d(-110%, 0, 0);
  }
  to {
    transform: translate3d(310%, 0, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .app-loading-progress::after {
    width: 100%;
    transform: none;
    animation: none;
    background: hsl(var(--primary, 0 0% 60%) / 0.65);
  }
  .genesis-loading-screen *,
  .genesis-loading-screen *::after {
    animation: none !important;
    transition: none !important;
  }
}
