/* 爱玩豆 · 登录/注册页 */
.auth-body { background: #F6F8F7; min-height: 100vh; }
.auth-wrap { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }

.auth-side {
  position: relative; overflow: hidden; padding: 36px 44px;
  background: radial-gradient(900px 500px at 15% 10%, #2FD3A4 0%, #12A981 45%, #0C7A5F 100%);
  color: #fff; display: flex; flex-direction: column;
}
.auth-side::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.16) 1.6px, transparent 1.6px);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.auth-side .brand { position: relative; z-index: 1; }
.auth-side .brand-name { color: #fff; }
.auth-side .brand-mark { background: rgba(255,255,255,.2); box-shadow: none; }
.auth-pitch { position: relative; z-index: 1; margin: auto 0; max-width: 460px; }
.auth-pitch h1 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.25; margin: 0 0 14px; letter-spacing: -.6px; }
.auth-pitch p { color: rgba(255,255,255,.86); font-size: 15px; margin: 0 0 26px; }
.auth-pitch ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.auth-pitch li b { display: block; font-size: 15px; }
.auth-pitch li span { font-size: 13px; color: rgba(255,255,255,.78); }
.auth-foot { position: relative; z-index: 1; font-size: 12px; color: rgba(255,255,255,.7); margin: 0; }

.auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 34px 24px; position: relative; }
.auth-card { width: min(440px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 26px 20px; box-shadow: var(--shadow-md); }
.auth-tabs { display: inline-flex; background: #F2F7F5; border-radius: 10px; padding: 3px; margin-bottom: 20px; }
.auth-tabs button { height: 32px; padding: 0 18px; border-radius: 8px; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.auth-tabs button.on { background: #fff; color: var(--green-deep); font-weight: 700; box-shadow: 0 1px 3px rgba(22,36,30,.12); }
.auth-card h2 { margin: 0 0 6px; font-size: 21px; letter-spacing: -.3px; }
.auth-sub { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.auth-field { display: block; margin-bottom: 13px; }
.auth-field span { display: block; font-size: 12.5px; color: var(--ink-2); font-weight: 600; margin-bottom: 6px; }
.auth-field input {
  width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 11px;
  padding: 0 13px; font-size: 14.5px; outline: none; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.auth-field input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(29,181,140,.12); }
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.auth-msg { min-height: 18px; font-size: 12.5px; color: #C2453A; margin: 2px 0 10px; }
.auth-msg.ok { color: var(--green-deep); }
.auth-submit { width: 100%; height: 46px; margin-bottom: 12px; }
.auth-switch { margin: 0 0 8px; font-size: 13px; color: var(--muted); text-align: center; }
.auth-switch button { color: var(--green-deep); font-weight: 600; }
.auth-note { margin: 10px 0 0; font-size: 11.5px; color: #A6B5AD; text-align: center; line-height: 1.5; }

.auth-done { text-align: center; }
.auth-avatar {
  width: 56px; height: 56px; border-radius: 50%; margin: 4px auto 14px;
  background: linear-gradient(135deg, #2FD3A4, #12A981); color: #fff;
  display: grid; place-items: center; font-size: 22px; font-weight: 700;
}
.auth-done-btns { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.auth-admin-link { display: inline-block; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.auth-admin-link:hover { color: var(--green-deep); }
.auth-back { margin-top: 18px; font-size: 13px; color: var(--muted); }
.auth-back:hover { color: var(--green-deep); }

@media (max-width: 900px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-main { justify-content: flex-start; padding-top: 28px; }
  .auth-card { padding: 22px 18px 16px; }
  .auth-row { grid-template-columns: 1fr; }
}

/* 验证码 / 邀请 */
.code-row { display: flex; gap: 8px; align-items: center; }
.code-row input { flex: 1; letter-spacing: 2px; font-variant-numeric: tabular-nums; }
.code-row .btn { white-space: nowrap; }
.auth-hint { font-size: 12px; color: var(--ink-3, #8A9A92); margin: -4px 0 10px; }
.auth-invite {
  font-size: 12.5px; color: #0E7C5F; background: #E8F7F1; border: 1px solid #BFE8D8;
  border-radius: 10px; padding: 8px 10px; margin: 0 0 12px;
}
