.auth-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 44px clamp(16px, 3vw, 40px) 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 58px;
  align-items: start;
}

.auth-intro { padding-top: 14px; }
.auth-intro h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.auth-intro h1 span {
  background: linear-gradient(100deg, #4f46e5 8%, #0ea5e9 58%, #14b8a6 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.auth-intro > p:nth-of-type(2) {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 420px;
}
.auth-points {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 420px;
}
.auth-points li {
  position: relative;
  padding-left: 16px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}
.auth-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c7cbf5;
}
.auth-points b { color: var(--ink); font-weight: 650; }
.auth-intro .wechat-mini { margin-top: 26px; max-width: 320px; }

.auth-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
}
.auth-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 22px;
  background: #f2f3f9;
  border-radius: 999px;
}
.auth-tab {
  flex: 1;
  padding: 9px 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.18s;
}
.auth-tab.active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(18, 22, 50, 0.08); }

.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form .field input { padding: 12px 14px; font-size: 13.5px; }
.auth-form .btn { margin-top: 4px; padding: 13px 20px; }

.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; min-width: 0; }
.code-row .btn { flex: none; padding: 0 16px; height: 44px; font-size: 12.5px; }
.code-row .btn:disabled { opacity: 0.6; cursor: not-allowed; }

.auth-hint {
  margin: 4px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--soft);
}
.link-btn {
  border: 0;
  background: transparent;
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 600;
  padding: 0 2px;
}

.auth-message {
  min-height: 18px;
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}
.auth-message.error { color: var(--danger); }
.auth-message.ok { color: #15803d; }


@media (max-width: 900px) {
  .auth-page { grid-template-columns: 1fr; gap: 28px; padding-top: 26px; }
  .auth-intro h1 { font-size: 30px; }
  .auth-intro .wechat-mini { display: none; }
}

@media (max-width: 720px) {
  .auth-card { padding: 18px; border-radius: 18px; }
  .auth-tabs { margin-bottom: 18px; }
  .code-row .btn { padding: 0 12px; font-size: 12px; }
}
