/* 弹窗登录/注册/找回 —— 供阅读页等使用（首页/免责页另有 site.css 版本） */
[hidden] { display: none !important; }

body.auth-open { overflow: hidden; }

.auth-modal { position: fixed; inset: 0; background: rgba(20, 16, 10, .5); z-index: 200;   /* 要盖在正文页的修订弹窗(120)之上 */
  display: flex; align-items: center; justify-content: center; padding: 20px; }
.auth-card { position: relative; width: min(400px, 94vw);
  background: var(--card, #fffdf8); color: var(--fg, #2a2a2a);
  border: 1px solid var(--line, #e3ddcf); border-radius: 16px; padding: 26px 24px 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.auth-card h2 { margin: 0 0 16px; color: var(--accent, #8a5a2b); font-size: 20px; text-align: center; }
.auth-close { position: absolute; top: 10px; right: 12px; border: none; background: transparent;
  font-size: 24px; line-height: 1; color: var(--muted, #8a8175); cursor: pointer; }
.auth-view input { width: 100%; margin-bottom: 12px; padding: 11px 13px;
  border: 1px solid var(--line, #e3ddcf); border-radius: 9px; font-size: 15px;
  background: #fff; color: var(--fg, #2a2a2a); outline: none; }
.auth-view input:focus { border-color: var(--accent, #8a5a2b); }
.auth-primary { width: 100%; background: var(--accent, #8a5a2b); border: none; color: #fff;
  padding: 11px; border-radius: 9px; cursor: pointer; font-size: 15px; }
.auth-links { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; }
.auth-links a { color: var(--accent, #8a5a2b); }
.auth-err { color: #b23b3b; font-size: 13px; min-height: 1.1em; margin-bottom: 6px; }
.auth-hint { color: var(--muted, #8a8175); font-size: 13px; margin: 0 0 12px; }
.auth-go { display: block; text-align: center; text-decoration: none; box-sizing: border-box; }
.auth-dev { margin-top: 12px; padding: 10px 12px; background: #fbf6ea;
  border: 1px dashed var(--line, #e3ddcf); border-radius: 8px; font-size: 12px;
  word-break: break-all; color: var(--muted, #8a8175); }
.auth-dev a { color: var(--accent, #8a5a2b); }
.linkbtn { background: none; border: none; color: var(--accent, #8a5a2b);
  cursor: pointer; padding: 0; font-size: inherit; }

/* 蜜罐字段：移出视口，正常用户看不见也点不到 */
.hp-field { position: absolute !important; left: -9999px !important; top: auto !important;
  width: 1px; height: 1px; opacity: 0; pointer-events: none; }
