/* ===== 登录 / 注册 ===== */
/* =========================================================
   登录 / 注册
   ========================================================= */
.auth-shell {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  min-height: 100vh;
  background: #fff;
}
.auth-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 64px 8vw;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 18%, #6787ff 0, rgba(0, 0, 0, 0) 35%),
    linear-gradient(145deg, #0f1b43, #15296a 57%, #253c98);
}
.brand-mark .icon { width: 18px; height: 18px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  overflow: hidden;
  color: #fff;
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 7px 18px rgba(49, 94, 251, .18);
}
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.brand-mark.large { width: 56px; height: 56px; border-radius: 18px; }
.brand-mark.large .icon { width: 24px; height: 24px; }
.auth-copy { position: relative; z-index: 1; max-width: 580px; margin: auto 0; }
.auth-copy .eyebrow { display: inline; color: #bfcdff; }
.auth-copy h1 {
  margin: 18px 0 22px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.auth-copy p { margin: 18px 0; color: #d8e0ff; font-size: 18px; line-height: 1.8; }
.auth-orbit { position: absolute; border: 1px solid rgba(255, 255, 255, .13); border-radius: 50%; }
.orbit-one { width: 520px; height: 520px; bottom: -180px; right: -170px; }
.orbit-two { width: 300px; height: 300px; bottom: -70px; right: -40px; }
.auth-panel {
  display: flex;
  padding: 48px;
  background: var(--page-bg);
}
.auth-card {
  width: min(430px, 100%);
  margin: auto;
  padding: 40px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(11, 21, 48, .07);
}
.auth-card .eyebrow { display: inline; }
.auth-card h2 { margin: 10px 0; font-size: 30px; }
.auth-card > p { margin: 0 0 28px; color: var(--muted); line-height: 1.6; }
.auth-card label {
  display: block;
  margin: 16px 0;
  font-size: 14px;
  font-weight: 650;
}
.auth-card input {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: 8px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 11px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.auth-card input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(49, 94, 251, .09); }
.auth-submit { width: 100%; margin-top: 12px; }
.form-notice {
  padding: 12px 14px;
  color: #9a3412;
  background: #fff7ed;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
}
.form-notice.error { color: #b91c1c; background: #fef2f2; }
.auth-code-row { display: flex; gap: 10px; align-items: stretch; margin-top: 8px; }
.auth-code-row input { flex: 1; min-width: 0; margin-top: 0; }
.auth-code-button {
  flex: none;
  height: 48px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.auth-hint { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.5; }
.auth-links { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; }
.auth-links .text-button { width: auto; padding: 2px 0; font-size: 13px; }
.auth-links-sep { width: 3px; height: 3px; background: #cbd5e1; border-radius: 50%; }
.auth-switch { margin: 12px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.auth-switch .text-button { display: inline; width: auto; padding: 0; margin-left: 4px; font-size: 13px; font-weight: 650; }
.mobile-brand { display: none; align-items: center; gap: 10px; margin-bottom: 30px; font-weight: 700; }
