.cold-start-gate {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(147, 51, 234, 0.12), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(236, 72, 153, 0.1), transparent 40%), #f3f6fb;
  color: #1a202c;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.cold-start-gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cold-start-gate-card {
  width: min(28rem, 100%);
  padding: 1.5rem 1.35rem;
  border-radius: 1rem;
  border: 1px solid rgba(26, 32, 44, 0.08);
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.cold-start-gate-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.cold-start-gate-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
}

.cold-start-gate-hint {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #475569;
}

.cold-start-gate-hint[hidden] {
  display: none;
}

.cold-start-gate-progress {
  margin-top: 1rem;
  height: 4px;
  border-radius: 999px;
  background: rgba(147, 51, 234, 0.12);
  overflow: hidden;
}

.cold-start-gate-progress[hidden] {
  display: none;
}

.cold-start-gate-progress::after {
  content: '';
  display: block;
  height: 100%;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(147, 51, 234, 0.35), rgba(147, 51, 234, 0.9));
  animation: cold-start-gate-indeterminate 1.15s ease-in-out infinite;
}

@keyframes cold-start-gate-indeterminate {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(350%);
  }
}

.cold-start-gate-retry {
  margin-top: 1rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(26, 32, 44, 0.14);
  border-radius: 0.65rem;
  background: #fff;
  color: #1a202c;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.cold-start-gate-retry:hover:not(:disabled) {
  border-color: rgba(147, 51, 234, 0.35);
  background: #faf5ff;
}

.cold-start-gate-retry:disabled {
  opacity: 0.6;
  cursor: wait;
}
