/* ===================================================
   MELON STORE — auth / boot states (backend wiring)
   =================================================== */

/* ---- Boot splash (shown while /api/bootstrap loads) ---- */
.boot {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.boot-logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  filter: drop-shadow(var(--accent-glow));
  animation: boot-pulse 1.4s var(--ease) infinite;
}
.boot-text {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
@keyframes boot-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50%      { opacity: 1;    transform: scale(1.04); }
}

/* ---- Steam login button (nav + gates) ---- */
.btn-steam {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* ---- Auth-required gate (cabinet / profile / admin while logged out) ---- */
.auth-gate {
  max-width: 460px;
  margin: 80px auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 32px;
}
.auth-gate-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}
.auth-gate-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}
.auth-gate-text {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ---- Nav avatar image (when Steam provides one) ---- */
.user-chip .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}
