/* Minimal initial splash to prevent white-screen before JS bootstraps. */
#app-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #6b7280;
}

#app-splash .row {
  display: flex;
  gap: 12px;
}

#app-splash .brand-row {
  align-items: center;
  gap: 10px;
}

#app-splash .skeleton {
  background: #eeeeee;
  border-radius: 8px;
  animation: app-skeleton-pulse 1.2s ease-in-out infinite;
}

#app-splash .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

#app-splash .bar {
  height: 14px;
}

#app-splash .brand-bar {
  width: 160px;
}

#app-splash .footer-bar {
  width: 220px;
}

#app-splash .tile {
  width: 88px;
  height: 56px;
}

:root.dark #app-splash {
  background: #0b0b0c;
  color: #a1a1aa;
}

:root.dark #app-splash .skeleton {
  background: #27272a;
}

@keyframes app-skeleton-pulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}
