html:has(#startup-splash), body:has(#startup-splash) {
  margin: 0; min-width: 320px; min-height: 100%; background: #111317;
}
.startup-splash {
  --boot-accent: var(--accent, #cc4148);
  position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center;
  overflow: auto; padding: 36px 28px; box-sizing: border-box; color: #c5c9d1;
  background: radial-gradient(ellipse 48% 56% at 50% 43%, color-mix(in srgb, var(--boot-accent) 9%, transparent), transparent 80%), radial-gradient(ellipse 50% 45% at 50% 0%, #bcccea04, transparent), #111317;
  font: 400 14px/1.5 'Segoe UI', Arial, sans-serif; isolation: isolate; transition: opacity 220ms ease;
}
.startup-splash[data-leaving] { opacity: 0; pointer-events: none; }
.startup-content { width: min(100%, clamp(420px, 46vw, 680px)); padding: 12px 0; }
.startup-brand { display: flex; flex-direction: column; align-items: center; gap: clamp(17px, 1.8vw, 27px); margin-bottom: clamp(48px, 4.7vw, 70px); text-align: center; }
.startup-emblem {
  width: clamp(80px, 8.8vw, 132px); height: clamp(80px, 8.8vw, 132px); display: flex; align-items: center; justify-content: center;
  border: 1px solid color-mix(in srgb, var(--boot-accent) 76%, transparent); border-radius: clamp(19px, 2vw, 28px);
  background: linear-gradient(145deg, #ffffff03, #00000012); box-shadow: inset 0 1px 0 #ffffff07;
  color: #eceef3; font-size: clamp(34px, 3.8vw, 56px); font-weight: 600; letter-spacing: -2px;
}
.startup-emblem span, .startup-wordmark > span { color: var(--boot-accent); }
.startup-wordmark { margin: 0; color: #eceef3; font-size: clamp(32px, 3.3vw, 48px); font-weight: 600; letter-spacing: -1px; line-height: 1.2; }
.startup-territory { display: block; margin-top: 9px; color: #969ba5; font-size: clamp(11px, 1.2vw, 17px); letter-spacing: clamp(3.4px, .38vw, 5px); }
.startup-progress-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.startup-stage { color: #c5c9d1; font-size: clamp(14px, 1.4vw, 20px); }
.startup-percent { display: flex; align-items: baseline; flex: none; color: #c5c9d1; font-size: clamp(14px, 1.4vw, 20px); font-variant-numeric: tabular-nums; }
.startup-track { height: clamp(3px, .32vw, 5px); position: relative; background: #2a2d34; border-radius: 4px; }
.startup-fill { display: block; width: var(--startup-progress, 0%); height: 100%; border-radius: inherit; background: var(--boot-accent); box-shadow: 0 0 9px color-mix(in srgb, var(--boot-accent) 16%, transparent); transition: width 160ms ease-out; }
.startup-caption { margin: 17px 0 0; text-align: center; color: #8e949f; font-size: clamp(13px, 1.3vw, 18px); }
.startup-error { margin-top: 24px; text-align: center; }
.startup-error p { margin: 0 0 15px; color: #d1b7b8; font-size: 14px; }
.startup-retry { border: 1px solid #ffffff24; padding: 9px 17px; color: #c5c9d1; background: #25282e; font: inherit; border-radius: 6px; cursor: pointer; }
.startup-retry:hover { background: #30343b; }
.startup-retry:focus-visible { outline: 2px solid var(--boot-accent); outline-offset: 3px; }
.startup-splash [hidden] { display: none; }
@media (max-width: 520px) { .startup-brand { margin-bottom: 44px; } }
@media (prefers-reduced-motion: reduce) { .startup-splash, .startup-fill { transition: none; } }
[data-motion='off'] .startup-splash, [data-motion='off'] .startup-fill { transition: none; }
