@keyframes _uspin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes _uprog {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(400%);
  }
}
#update-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0a0e17;
  color: #e2e8f0;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#update-overlay .uo-spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.5rem;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #38bdf8;
  border-radius: 50%;
  animation: _uspin 0.8s linear infinite;
}
#update-overlay h1 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
#update-overlay p {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.5;
}
#update-overlay .uo-bar {
  margin-top: 1.5rem;
  height: 4px;
  width: 280px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}
#update-overlay .uo-bar-inner {
  height: 100%;
  width: 30%;
  background: #38bdf8;
  border-radius: 2px;
  animation: _uprog 1.5s ease-in-out infinite;
}
#update-overlay .uo-status {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: #64748b;
}
#update-overlay .uo-card {
  text-align: center;
  max-width: 420px;
  padding: 2rem;
}
