/* 登录 / 注册 · 简洁控制台风格 */
body.auth-page {
  min-height: 100vh;
  margin: 0;
  background: #f6f7f9;
  color: var(--ink);
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 20px 40px;
}
.auth-brand {
  position: fixed;
  top: 24px;
  left: 32px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.auth-brand img { border-radius: 8px; }
.auth-shell {
  width: min(100%, 430px);
  background: #fff;
  border: 1px solid #e7eaf0;
  border-radius: 16px;
  padding: 34px 34px 26px;
  box-shadow: 0 18px 50px rgba(16, 32, 58, 0.07);
}
.auth-title { margin: 0; font-size: 28px; line-height: 1.2; letter-spacing: -0.03em; color: #111827; }
.auth-sub { margin: 8px 0 22px; font-size: 13px; color: #7b879b; }
.auth-msg { display: none; margin-bottom: 14px; padding: 9px 12px; border-radius: 8px; font-size: 12.5px; }
.auth-msg.ok, .auth-msg.err { display: block; }
.auth-msg.ok { background: #e9f7f0; color: #13805a; }
.auth-msg.err { background: #fff0ee; color: #bd3b35; }
.auth-form { display: grid; gap: 14px; }
.auth-form label { display: grid; gap: 7px; font-size: 12.5px; font-weight: 600; color: #4b5563; }
.auth-form input {
  width: 100%; height: 43px; padding: 0 12px;
  border: 1px solid #dfe4ec; border-radius: 8px;
  background: #fff; color: #111827; font: inherit; font-size: 13.5px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.auth-form input:focus { outline: none; border-color: #1f5eff; box-shadow: 0 0 0 3px rgba(31, 94, 255, .1); }
.auth-captcha { display: flex; gap: 8px; align-items: center; }
.auth-captcha input { flex: 1; }
.auth-captcha img { width: 112px; height: 43px; border: 1px solid #dfe4ec; border-radius: 8px; background: #f5f8fc; cursor: pointer; flex: none; }
.auth-captcha--code { align-items: stretch; }
.auth-code-btn {
  flex: none; height: 43px; padding: 0 12px; border: 1px solid #dfe4ec; border-radius: 8px;
  background: #fff; color: #1f5eff; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.auth-code-btn:hover { background: #f4f7ff; }
.auth-code-btn:disabled { color: #9aa4b2; cursor: not-allowed; }
.auth-btn {
  width: 100%; height: 44px; margin-top: 4px; border: 0; border-radius: 8px;
  background: #1f5eff; color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  transition: background .15s ease;
}
.auth-btn:hover { background: #154edc; }
.auth-btn:disabled { opacity: .65; cursor: wait; }
.auth-links { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; font-size: 12.5px; color: #7b879b; }
.auth-links a { color: #1f5eff; font-weight: 600; }
.auth-links a:hover { text-decoration: underline; }
.auth-divider { display: flex; align-items: center; gap: 10px; margin: 20px 0 14px; color: #a1aab8; font-size: 11.5px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: #edf0f4; }
.auth-wechat {
  width: 100%; height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid #dfe4ec; border-radius: 8px; background: #fff;
  color: #1b9b55; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer;
}
.auth-wechat:hover { background: #f6fbf8; border-color: #bfe7cf; }
.auth-foot { margin: 18px 0 0; text-align: center; color: #a1aab8; font-size: 11px; line-height: 1.7; }
.auth-tabs { display: flex; gap: 6px; margin: -6px 0 18px; padding: 4px; background: #f3f5f8; border-radius: 9px; }
.auth-tabs button {
  flex: 1; height: 34px; border: 0; border-radius: 7px; background: transparent;
  color: #6b7280; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.auth-tabs button.is-active { background: #fff; color: #111827; box-shadow: 0 1px 3px rgba(16,24,40,.08); }

.wechat-dialog {
  width: min(92vw, 360px); border: 1px solid #e7eaf0; border-radius: 16px;
  padding: 28px 24px 22px; text-align: center; box-shadow: 0 24px 70px rgba(16,32,58,.2);
}
.wechat-dialog::backdrop { background: rgba(17, 24, 39, .38); }
.wechat-dialog h2 { margin: 0 0 16px; font-size: 18px; }
.wechat-qr { min-height: 220px; display: grid; place-items: center; }
.wechat-qr svg { width: 220px; height: 220px; }
.wechat-dialog p { margin: 12px 0 0; color: #7b879b; font-size: 12.5px; line-height: 1.7; }
.wechat-close {
  position: absolute; top: 10px; right: 12px; width: 28px; height: 28px; border: 0; border-radius: 50%;
  background: #f3f5f8; color: #6b7280; font-size: 18px; line-height: 1; cursor: pointer;
}
@media (max-width: 520px) {
  body.auth-page { padding: 64px 14px 26px; }
  .auth-brand { left: 18px; top: 18px; }
  .auth-shell { padding: 28px 22px 22px; border-radius: 14px; }
  .auth-title { font-size: 24px; }
}
[hidden] { display: none !important; }

.auth-remember { display: flex !important; align-items: center; flex-wrap: wrap; gap: 7px; margin: -2px 0 2px; color: #4b5563; font-size: 12px !important; font-weight: 500 !important; cursor: pointer; }
.auth-remember input { width: 15px !important; height: 15px !important; margin: 0; accent-color: #1f5eff; }
.auth-remember span { color: #9aa4b2; font-size: 11px; }
.auth-foot a { color: #1f5eff; text-decoration: underline; text-underline-offset: 2px; }

/* 登录 / 注册分屏：Swiss 编辑风推广页 */
body.auth-page.auth-split-page {
  display: block; min-height: 100vh; padding: 0; background: #fff;
}
.auth-split {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(400px, .72fr);
  min-height: 100vh; width: 100%;
}
.auth-manifesto {
  position: relative; min-height: 100vh; padding: 30px 52px 26px;
  display: flex; flex-direction: column; overflow: hidden;
  background-color: #f4f7fb;
  background-image: linear-gradient(to right, rgba(31,94,255,.055) 1px, transparent 1px);
  background-size: 25% 100%;
  border-right: 1px solid #dfe5ee;
}
.auth-manifesto::after {
  content: ''; position: absolute; left: 52px; top: 92px; width: 2px; height: 42px;
  background: #1f5eff; border-radius: 2px;
}
.auth-manifesto__brand {
  position: relative; z-index: 1; display: inline-flex; align-items: center; align-self: flex-start;
  gap: 9px; color: #111827; font-family: var(--font-display);
}
.auth-manifesto__brand img { border-radius: 8px; }
.auth-manifesto__brand span { display: grid; line-height: 1.12; }
.auth-manifesto__brand b { font-size: 14px; font-weight: 800; letter-spacing: -.02em; }
.auth-manifesto__brand i { margin-top: 3px; color: #7b879b; font-size: 9px; font-style: normal; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.auth-manifesto__content { position: relative; z-index: 1; width: min(100%, 620px); margin: auto 0; padding: 34px 0 22px; }
.auth-manifesto__kicker { margin: 0 0 14px; color: #1f5eff; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.auth-manifesto h1 {
  margin: 0; color: #0f172a; font-family: var(--font-display);
  font-size: clamp(38px, 4.2vw, 54px); line-height: 1.1; letter-spacing: -.045em; font-weight: 800;
}
.auth-manifesto h1 span { display: block; margin-top: 7px; color: #1f5eff; }
.auth-manifesto__lead { max-width: 560px; margin: 18px 0 0; color: #526071; font-size: 13.5px; line-height: 1.85; }
.auth-manifesto__points { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid #dce4ef; }
.auth-manifesto__points li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid #dce4ef; }
.auth-manifesto__points b { color: #1f5eff; font-family: var(--font-display); font-size: 11px; letter-spacing: .05em; padding-top: 2px; }
.auth-manifesto__points strong, .auth-manifesto__points span { display: block; }
.auth-manifesto__points strong { color: #111827; font-size: 13px; font-weight: 700; }
.auth-manifesto__points span { margin-top: 3px; color: #657184; font-size: 11.5px; line-height: 1.65; }
.auth-manifesto__contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.auth-manifesto__contrast > div { padding-top: 12px; border-top: 2px solid #dce4ef; }
.auth-manifesto__contrast > div:last-child { border-top-color: #1f5eff; }
.auth-manifesto__contrast b { display: block; color: #111827; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.auth-manifesto__contrast span { display: block; margin-top: 5px; color: #657184; font-size: 11px; line-height: 1.7; }
.auth-manifesto__offer { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.auth-manifesto__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  height: 44px; padding: 0 17px; border-radius: 7px; background: #1f5eff; color: #fff;
  font-size: 12.5px; font-weight: 700; white-space: nowrap; transition: background .15s ease, transform .15s ease;
}
.auth-manifesto__cta:hover { background: #174bd8; transform: translateY(-1px); }
.auth-manifesto__cta span { font-size: 16px; line-height: 1; }
.auth-manifesto__offer p { margin: 0; color: #68758a; font-size: 10.5px; line-height: 1.55; }
.auth-manifesto__foot { position: relative; z-index: 1; margin: 0; color: #8b97a8; font-size: 10px; letter-spacing: .02em; }

.auth-panel {
  display: flex; justify-content: center; align-items: flex-start; overflow-y: auto;
  min-height: 100vh; padding: max(48px, 8vh) 42px 38px; background: #fff;
}
.auth-shell--split {
  width: min(100%, 390px); padding: 0; border: 0; border-radius: 0;
  background: transparent; box-shadow: none;
}
.auth-shell--split .auth-title { font-size: 24px; line-height: 1.25; letter-spacing: -.03em; }
.auth-shell--split .auth-sub { margin: 6px 0 18px; font-size: 12px; line-height: 1.65; }
.auth-shell--split .auth-msg { margin-bottom: 11px; padding: 8px 10px; font-size: 11.5px; }
.auth-shell--split .auth-form { gap: 11px; }
.auth-shell--split .auth-form label { gap: 5px; font-size: 11.5px; }
.auth-shell--split .auth-form input { height: 40px; padding: 0 11px; border-radius: 7px; font-size: 12.5px; }
.auth-shell--split .auth-captcha img { width: 104px; height: 40px; }
.auth-shell--split .auth-code-btn { height: 40px; font-size: 11.5px; padding: 0 10px; }
.auth-shell--split .auth-btn { height: 41px; margin-top: 2px; border-radius: 7px; font-size: 13px; }
.auth-shell--split .auth-links { margin-top: 13px; font-size: 11.5px; }
.auth-shell--split .auth-divider { margin: 16px 0 12px; font-size: 10.5px; }
.auth-shell--split .auth-wechat { height: 40px; font-size: 12.5px; border-radius: 7px; }
.auth-shell--split .auth-foot { margin-top: 15px; font-size: 10.5px; line-height: 1.7; }
.auth-shell--split .auth-tabs { margin: -3px 0 14px; padding: 3px; border-radius: 8px; }
.auth-shell--split .auth-tabs button { height: 32px; font-size: 11.5px; border-radius: 6px; }
.auth-shell--split .auth-remember { margin: -1px 0 1px; font-size: 11.5px !important; }
.auth-shell--split .auth-remember span { font-size: 10.5px; }
.auth-shell--split .wechat-dialog { color: #111827; }

@media (max-width: 920px) {
  .auth-split { grid-template-columns: minmax(0, 1fr); }
  .auth-manifesto { min-height: auto; padding: 22px 22px 24px; border-right: 0; border-bottom: 1px solid #dfe5ee; background-size: 50% 100%; }
  .auth-manifesto::after { left: 22px; top: 78px; height: 30px; }
  .auth-manifesto__content { margin: 24px 0 0; padding: 0; }
  .auth-manifesto h1 { font-size: clamp(30px, 7.2vw, 42px); }
  .auth-manifesto__lead { max-width: 650px; margin-top: 12px; font-size: 12.5px; }
  .auth-manifesto__points, .auth-manifesto__contrast, .auth-manifesto__foot { display: none; }
  .auth-manifesto__offer { margin-top: 16px; }
  .auth-panel { min-height: auto; padding: 26px 20px 40px; }
}
@media (max-width: 520px) {
  .auth-manifesto { padding: 18px 16px 20px; }
  .auth-manifesto::after { left: 16px; top: 70px; }
  .auth-manifesto__kicker { margin-bottom: 10px; font-size: 10px; }
  .auth-manifesto h1 { font-size: 29px; line-height: 1.13; }
  .auth-manifesto__lead { font-size: 12px; line-height: 1.7; }
  .auth-manifesto__offer { align-items: stretch; flex-direction: column; gap: 8px; }
  .auth-manifesto__cta { width: 100%; }
  .auth-manifesto__offer p { text-align: center; }
  .auth-panel { padding: 22px 16px 34px; }
  .auth-shell--split .auth-title { font-size: 22px; }
}

/* 短文案版：更克制的字阶与更直接的信息密度 */
.auth-manifesto__content { width: min(100%, 560px); padding: 24px 0 14px; }
.auth-manifesto h1 { font-size: clamp(34px, 3.45vw, 46px); line-height: 1.08; letter-spacing: -.045em; }
.auth-manifesto h1 span { margin-top: 5px; }
.auth-manifesto__kicker { margin-bottom: 11px; font-size: 10.5px; letter-spacing: .1em; }
.auth-manifesto__lead { max-width: 490px; margin-top: 14px; font-size: 12.5px; line-height: 1.75; }
.auth-manifesto__points { margin-top: 18px; }
.auth-manifesto__points li { grid-template-columns: 31px minmax(0, 1fr); gap: 10px; padding: 10px 0; }
.auth-manifesto__points b { font-size: 10.5px; }
.auth-manifesto__points strong { font-size: 12.5px; }
.auth-manifesto__points span { margin-top: 2px; font-size: 11px; line-height: 1.55; }
.auth-manifesto__line {
  margin: 15px 0 0; padding-left: 10px; border-left: 2px solid #1f5eff;
  color: #5f6d80; font-size: 11px; line-height: 1.65;
}
.auth-manifesto__offer { margin-top: 17px; gap: 12px; }
.auth-manifesto__cta { height: 42px; padding: 0 15px; font-size: 12px; gap: 13px; }
.auth-manifesto__offer p { font-size: 10px; }
.auth-manifesto__foot { font-size: 9.5px; }
.auth-shell--split { max-width: 378px; }
.auth-shell--split .auth-title { font-size: 22px; }
.auth-shell--split .auth-sub { margin: 5px 0 16px; font-size: 11.5px; }
.auth-shell--split .auth-form label { font-size: 11px; }
.auth-shell--split .auth-form input { height: 39px; font-size: 12px; }
.auth-shell--split .auth-captcha img { height: 39px; }
.auth-shell--split .auth-code-btn { height: 39px; font-size: 11px; }
.auth-shell--split .auth-btn { height: 40px; font-size: 12.5px; }
.auth-shell--split .auth-links { font-size: 11px; }
.auth-shell--split .auth-wechat { height: 39px; font-size: 12px; }
.auth-shell--split .auth-foot { font-size: 10px; }
@media (max-width: 920px) {
  .auth-manifesto__content { margin-top: 20px; padding: 0; }
  .auth-manifesto h1 { font-size: clamp(28px, 6.6vw, 38px); }
  .auth-manifesto__lead { margin-top: 10px; font-size: 12px; }
  .auth-manifesto__line { margin-top: 12px; }
}
@media (max-width: 520px) {
  .auth-manifesto h1 { font-size: 27px; }
  .auth-manifesto__lead { font-size: 11.5px; line-height: 1.65; }
  .auth-manifesto__offer { margin-top: 13px; }
  .auth-manifesto__cta { height: 40px; font-size: 11.5px; }
}
