html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #18233a 0%, #0d1320 45%, #07090f 100%);
  color: #e8e8e8;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

#out {
  height: 100%;
  width: 100%;
}

#avalonia-splash {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #18233a 0%, #0d1320 45%, #07090f 100%);
  transition: opacity 0.3s;
}

#avalonia-splash.splash-close {
  opacity: 0;
  pointer-events: none;
}

.splash {
  max-width: 460px;
  padding: 0 16px;
  text-align: center;
}

.splash h1 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.splash p { line-height: 1.5; opacity: 0.85; }
.splash .small { font-size: 13px; opacity: 0.6; margin-top: 24px; }
.splash a { color: #e2b85a; }

.bar {
  height: 4px;
  background: #ffffff1a;
  overflow: hidden;
  margin-top: 18px;
}

.bar div {
  height: 100%;
  width: 35%;
  background: #e2b85a;
  animation: slide 1.2s ease-in-out infinite;
}

@keyframes slide {
  from { transform: translateX(-100%); }
  to { transform: translateX(300%); }
}
