html.site-startup-active, html.site-startup-active body { overflow: hidden !important; }
#codex-startup {
  position: fixed; inset: 0; z-index: 2147483647;
  box-sizing: border-box; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 24px; padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  background: radial-gradient(circle at 50% 42%, #111b2f 0%, #060a13 48%, #020307 100%);
  color: #eef4ff; text-align: center;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.5; transition: opacity .35s ease;
}
#codex-startup.startup-hide { opacity: 0; }
#codex-startup .startup-logo {
  display: block; width: 60vw; height: 60vw; max-width: 240px; max-height: 240px; flex-shrink: 0;
  object-fit: contain; border-radius: 0; visibility: hidden; background: transparent; border: 0; box-shadow: none;
  filter: none; margin: 0 0 24px;
}
#codex-startup .startup-logo.ready { visibility: visible; }
#codex-startup .startup-count { max-width: 100%; font-size: 13px; color: #8da3c7; letter-spacing: .04em; }
#codex-startup .startup-count b { font-weight: 600; font-variant-numeric: tabular-nums; }
#codex-startup .startup-bar {
  width: 190px; max-width: 100%; height: 3px; flex-shrink: 0;
  margin-top: 16px; border-radius: 3px; background: rgba(143,176,225,.18); overflow: hidden;
}
#codex-startup .startup-bar i {
  display: block; height: 100%; width: 100%; transform-origin: left;
  background: linear-gradient(90deg, #4d8dff, #7bdcff); transition: transform .1s linear;
}
@media (prefers-reduced-motion: reduce) {
  #codex-startup, #codex-startup .startup-bar i { transition: none; }
}
