/* ============================================================
   白龙马交易研究室 — 会员体系四页共用样式（register/login/member/forgot）
   独立文件，不影响其他页面缓存
   ============================================================ */

.auth-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 34px; align-items: start; }
@media (max-width: 900px) { .auth-wrap { grid-template-columns: 1fr; } }

.auth-card {
  background: var(--card, #fff); border: 2px solid var(--ink-dark, #111);
  border-radius: 16px; box-shadow: 6px 6px 0 var(--shadow-ink, #111);
  padding: 30px;
}
.auth-card h2 { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.auth-card .auth-sub { font-size: 14px; opacity: .75; margin-bottom: 22px; }

.auth-field { margin-bottom: 16px; }
.auth-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.auth-field label .opt { font-weight: 400; opacity: .6; }
.auth-field input {
  width: 100%; box-sizing: border-box; font-family: inherit; font-size: 16px;
  padding: 12px 14px; border-radius: 12px; border: 2px solid #d8d2c4;
  background: #fffdf9; color: #111; outline: none;
}
.auth-field input:focus { border-color: var(--accent, #f59e0b); }
.auth-field .hint { font-size: 12px; opacity: .6; margin-top: 4px; }

.auth-submit {
  width: 100%; margin-top: 6px; border: 2px solid var(--ink-dark, #111);
  background: var(--accent, #f59e0b); color: var(--ink-dark, #111);
  font-family: inherit; font-size: 17px; font-weight: 800;
  padding: 14px; border-radius: 14px; cursor: pointer;
  box-shadow: 4px 4px 0 var(--shadow-ink, #111);
}
.auth-submit:disabled { opacity: .6; cursor: wait; }
.auth-msg { font-size: 13px; margin-top: 12px; min-height: 18px; font-weight: 600; }
.auth-msg.err { color: #c0392b; }
.auth-msg.ok { color: #1e8e3e; }

.auth-alt { font-size: 13px; margin-top: 16px; opacity: .85; }
.auth-alt a { font-weight: 700; }

.auth-steps { list-style: none; padding: 0; margin: 0 0 24px; }
.auth-steps li { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.auth-steps .n {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px;
  background: var(--ink, #1c1e87); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.auth-steps b { display: block; margin-bottom: 3px; }
.auth-steps p { margin: 0; font-size: 14px; opacity: .8; line-height: 1.55; }

.auth-perks { background: var(--card, #fff); border: 2px solid var(--ink-dark, #111);
  border-radius: 16px; box-shadow: 6px 6px 0 var(--shadow-ink, #111); padding: 24px; margin-top: 22px; }
.auth-perks h3 { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.auth-perks ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.9; }
.auth-fine { font-size: 12px; opacity: .65; margin-top: 14px; line-height: 1.6; }
.auth-fine a { color: inherit; }

/* 成功视图 / 会员中心 */
.auth-success { display: none; text-align: center; }
.auth-success.show { display: block; }
.auth-success h2 { margin-bottom: 10px; }
.auth-success .qr { width: 200px; height: 200px; object-fit: cover; border: 2px solid var(--ink-dark, #111);
  border-radius: 12px; box-shadow: 4px 4px 0 var(--shadow-ink, #111); margin: 14px 0; }

.invite-box {
  margin-top: 16px; background: #fdf6e9; border: 2px dashed var(--accent, #f59e0b);
  border-radius: 12px; padding: 14px; font-size: 14px; text-align: left;
}
.invite-box code { font-weight: 800; font-size: 15px; word-break: break-all; }
.auth-copy {
  margin-top: 8px; border: 2px solid var(--ink-dark, #111); background: var(--lavender, #b7a6f5);
  border-radius: 10px; font-weight: 700; font-family: inherit; font-size: 13px;
  padding: 8px 14px; cursor: pointer; box-shadow: 3px 3px 0 var(--shadow-ink, #111);
}

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0; }
@media (max-width: 560px) { .stat-grid { grid-template-columns: 1fr; } }
.stat-box { background: #fdf6e9; border: 2px solid var(--ink-dark, #111); border-radius: 12px; padding: 16px; text-align: center; }
.stat-box .v { font-size: 28px; font-weight: 800; color: var(--ink, #1c1e87); }
.stat-box .k { font-size: 13px; opacity: .75; margin-top: 2px; }

/* 邀请码锁定态（邀请链接自动填入，只读） */
#ref[readonly] { background: #f3efe6; color: #55556a; cursor: not-allowed; }
