/* 登录遮罩（2026-10-15）：管理员密码校验，未登录时遮挡整个看板。
 * 说明：这是「前端界面级」登录 —— 密码以 SHA-256 形式存在客户端 JS 中，
 * 仅用于遮挡，并非真正的服务端鉴权。若站点部署到公网，请配合 Cloudflare Access
 * 或自托管 Node 服务端鉴权来获得真实保护（见 DEPLOY.md）。 */

#authOverlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.93);
  font-family: system-ui, -apple-system, "Microsoft YaHei", sans-serif;
}
#authOverlay.hidden { display: none; }

.auth-card {
  width: 330px;
  max-width: 90vw;
  background: #0f172a;
  color: #e2e8f0;
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 30px 26px 26px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  text-align: center;
}
.auth-title { font-size: 18px; font-weight: 700; margin-bottom: 6px; letter-spacing: 1px; }
.auth-sub { font-size: 12px; color: #94a3b8; margin-bottom: 20px; }
.auth-input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  font-size: 15px;
  border: 1px solid #475569;
  border-radius: 8px;
  background: #1e293b;
  color: #f8fafc;
  outline: none;
}
.auth-input:focus { border-color: #38bdf8; }
.auth-btn {
  margin-top: 16px;
  width: 100%;
  padding: 11px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
}
.auth-btn:hover { background: #1d4ed8; }
.auth-error { margin-top: 12px; color: #f87171; font-size: 13px; min-height: 16px; }
