.backend-unavailable {
  min-height: var(--desktop-stage-height, 100dvh);
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    radial-gradient(circle at top, rgba(var(--theme-primary-rgb), 0.16), transparent 32%),
    linear-gradient(180deg, #08130f 0%, #0f1f18 100%);
}

.backend-card {
  width: min(520px, 100%);
  display: grid;
  gap: 18px;
  padding: 32px 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(7, 18, 13, 0.9);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.backend-badge {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(var(--theme-primary-rgb), 0.2), rgba(var(--theme-primary-rgb), 0.28));
  color: var(--theme-primary-soft-strong);
  font-size: 32px;
}

.backend-card h1 {
  color: #f8fafc;
  font-size: 28px;
  font-weight: 800;
}

.backend-card p {
  color: rgba(226, 232, 240, 0.8);
  font-size: 14px;
  line-height: 1.7;
}

.backend-actions {
  display: flex;
  justify-content: center;
}

.retry-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid rgba(var(--theme-primary-rgb), 0.2);
  border-radius: 10px;
  background: var(--theme-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 760;
  box-shadow: 0 16px 30px var(--theme-primary-shadow);
}

.retry-btn:disabled {
  opacity: 0.72;
  cursor: wait;
}
