/* Shared auth-gate styles — used by every page. */
#authGate {
  position: fixed; inset: 0;
  /* Subtle navy gradient that complements the logo's yellow + navy */
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  z-index: 10000;
  display: none;
  align-items: center; justify-content: center;
}
#authGate.show { display: flex; }
#authGateBox {
  background: #fff;
  padding: 28px 32px 32px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  width: 420px;
  max-width: calc(100vw - 32px);
  text-align: center;
}
#authGateBox .brand-logo {
  width: 100%;
  height: auto;
  display: block;
  margin: -28px -32px 14px;
  width: calc(100% + 64px);
  max-width: calc(100% + 64px);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
#authGateBox h1 { margin: 6px 0 4px; font-size: 22px; font-weight: 700; color: #1e293b; letter-spacing: 0.02em; }
#authGateBox .tagline { margin: 0 0 16px; font-size: 13px; color: #b45309; font-style: italic; font-weight: 500; letter-spacing: 0.02em; }
#authGateBox p { margin: 0 0 20px; font-size: 13px; color: #6b7280; line-height: 1.5; }
#authGateBox .signin-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px;
  background: #fff; border: 1px solid #d1d5db; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: #374151;
  cursor: pointer; text-decoration: none;
}
#authGateBox .signin-btn:hover {
  background: #f9fafb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
#authGateBox .signin-btn svg { width: 18px; height: 18px; }
#authGateBox .err { margin-top: 16px; font-size: 12px; color: #b91c1c; }
