/* Progressive auth gate — premium modal */
.mba-auth-gate {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: var(--font, "Noto Sans", system-ui, sans-serif);
}
.mba-auth-gate[hidden] { display: none !important; }
.mba-auth-gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mba-auth-gate-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: #ffffff;
  border: 1px solid #e4e9f2;
  border-radius: 24px;
  padding: 32px 26px 24px;
  box-shadow: 0 22px 60px rgba(11, 15, 25, 0.16);
  text-align: center;
  animation: mbaAuthGateIn 0.34s ease-out;
}
.mba-auth-gate-x {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 22px;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
}
.mba-auth-gate-icon { font-size: 34px; margin-bottom: 10px; }
.mba-auth-gate-card h2 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0b1220;
}
.mba-auth-gate-body {
  margin: 0;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.5;
}
.mba-auth-gate-hint {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 0.85rem;
  line-height: 1.45;
}
.mba-auth-gate-primary {
  margin-top: 22px !important;
  background: #ff6b00 !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 24px rgba(255, 107, 0, 0.35);
  font-weight: 700 !important;
  color: #fff !important;
  text-decoration: none !important;
  display: block;
  padding: 13px 16px;
}
.mba-auth-gate-primary:hover { background: #e85f00 !important; }
.mba-auth-gate-secondary {
  margin-top: 10px !important;
  background: #ffffff !important;
  color: #0b0f19 !important;
  border: 1px solid #e4e9f2 !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: block;
  padding: 12px 16px;
}
.mba-auth-gate-secondary:hover { border-color: #ff6b00 !important; color: #9a3d00 !important; }
.mba-auth-gate-foot {
  margin: 16px 0 0;
  font-size: 0.85rem;
  color: #5b6578;
}
.mba-auth-gate-foot a { color: #ff6b00; font-weight: 700; }
html.mba-auth-gate-open { overflow: hidden; }
@keyframes mbaAuthGateIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
