/* ── Toasts bottom-left ────────────────────────────────────── */
#toasts { position: fixed; bottom: 80px; left: 14px; max-width: 320px; z-index: 100; pointer-events: none; }
.toast {
  padding: 5px 10px; margin-top: 3px; border-radius: 6px; font-size: 9px;
  background: rgba(5,15,30,0.85); border-left: 3px solid #3b82f6;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  animation: toastIn 0.25s ease-out, toastOut 0.4s ease 3.5s forwards;
}
.toast.hire { border-left-color: #a855f7; }
.toast.settle, .toast.accept { border-left-color: #4ade80; }
.toast.reject { border-left-color: #f87171; }
.toast.action { border-left-color: #facc15; }
.toast.bid { border-left-color: #60a5fa; }
.toast.bidding { border-left-color: #38bdf8; }
.toast.spawn { border-left-color: #f472b6; }
.toast.abandon { border-left-color: #f87171; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; } }
@keyframes toastOut { to { opacity: 0; } }

/* ── Startup overlay ───────────────────────────────────────── */
#startup-overlay {
  position: fixed; inset: 0; z-index: 400; display: none;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(6px);
  justify-content: center; align-items: center;
}
#startup-overlay.show { display: flex; }
#startup-box {
  width: 400px; padding: 24px; border-radius: 14px; text-align: center;
  background: linear-gradient(180deg, #0d2240, #091830);
  border: 2px solid #2a5a8a; box-shadow: 0 10px 40px rgba(0,0,0,0.7);
}
.startup-title { font-size: 16px; font-weight: 700; color: #ffd700; margin-bottom: 14px; }
#startup-log { font-size: 11px; color: #94a3b8; text-align: left; min-height: 80px; }
#startup-log div { padding: 3px 0; }
#startup-log div:last-child { color: #60a5fa; }
.startup-spinner {
  width: 24px; height: 24px; border: 3px solid rgba(255,255,255,0.1);
  border-top-color: #60a5fa; border-radius: 50%; margin: 12px auto 0;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
