/* ============================================
   临期管家 · 登录 / 注册页样式
   内联 :root 变量与基础重置，不再依赖 landing.css
   ============================================ */

:root {
  --bg: #F4FAFE;
  --bg-alt: #E2EEF7;
  --ink: #0F1B2A;
  --ink-2: #4A5868;
  --ink-3: #8696A8;
  --line: rgba(15,40,80,.08);
  --blue-1: #4FA8E0;
  --blue-2: #8FC4ED;
  --blue-3: #C9DEEC;
  --blue: #0071E3;
  --blue-d: #0058B0;
  --warm: #EAF3FA;
  --dark: #0F1B2A;
  --dark-ink: #F0F6FC;
  --shadow: 0 20px 60px rgba(79,168,224,.20), 0 4px 12px rgba(0,0,0,.04);
  --r: 18px;
  --r-sm: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.auth-body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 20px 40px;
  background:
    radial-gradient(600px 400px at 20% 10%, rgba(79,168,224,.08), transparent 60%),
    radial-gradient(500px 380px at 90% 95%, rgba(143,196,237,.08), transparent 62%),
    var(--bg);
}

/* ---- 返回官网 ---- */
.auth-back {
  position: fixed; top: 22px; left: 24px; z-index: 30;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px 8px 12px;
  font-size: 13.5px; font-weight: 500;
  color: var(--ink-2);
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.auth-back:hover { color: var(--ink); background: #fff; transform: translateX(-2px); }

/* ---- 顶栏容器：返回链接 + 右侧 4 控件（共用 topbar.css 的 .chip）---- */
.auth-topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  padding: 16px 24px;
}
.auth-topbar .topbar-actions { margin-left: auto; }
.auth-back { position: static; top: auto; left: auto; }
.auth-back:hover { transform: none; }
@media (max-width: 480px) {
  .auth-topbar { padding: 12px 14px; }
  .auth-back { padding: 7px 12px 7px 10px; }
}

/* ---- 卡片外壳 + 右侧医生区（三段式布局） ---- */
.auth-wrap {
  width: 100%;
  max-width: 1440px;
  display: flex;
  align-items: center;
  justify-content: center;      /* ★ 卡片居中 */
  gap: 0;
  padding: 0 32px;
  box-sizing: border-box;
  position: relative;           /* ★ 医生区绝对定位的参照容器 */
}
.auth-card {
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow:0 16px 48px rgba(79,168,224,.10), 0 4px 16px rgba(0,0,0,.04);
  border: 1px solid rgba(255,255,255,.7);
  animation: authIn .55s cubic-bezier(.22,.8,.28,1) both;
}
@keyframes authIn {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to   { opacity: 1; transform: none; }
}

/* ============ 左侧品牌区（干净轻量风格） ============ */
.auth-brand {
  position: relative;
  padding: 48px 40px 40px;
  color: var(--ink);
  background: linear-gradient(165deg, #F0F7FC 0%, #E8F2FA 50%, #F5FAFD 100%);
  display: flex; flex-direction: column;
  overflow: hidden;
  border-right: 1px solid var(--line);
}

.brand-head {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 600; letter-spacing: .3px;
}
.brand-head img { width: 34px; height: 34px; border-radius: 9px; }

.brand-title {
  position: relative;
  margin: 32px 0 10px;
  font-size: 26px; line-height:1.3; font-weight:700;
  letter-spacing: -.3px;
  color: var(--ink);
}
.brand-desc {
  position: relative;
  margin: 0 0 28px;
  font-size: 14px; line-height: 1.7;
  color: var(--ink-3);
  max-width: 300px;
}

/* 特性列表：简洁文字，无图标方框 */
.brand-points { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.brand-points li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(79,168,224,.12);
  transition: background .15s;
}
.brand-points li:hover { background: rgba(255,255,255,.9); }
.bp-ico {
  flex:none; width:28px; height:28px; border-radius:50%;
  display:grid; place-items:center;
  background: var(--blue-1);
  color:#fff;
  font-size:13px; font-weight:700;
}
/* 用纯文字标记代替 SVG 图标 */
.bp-ico.ico-scan::after{content:"1"}
.bp-ico.ico-bell::after{content:"2"}
.bp-ico.ico-shield::after{content:"3"}
.bp-ico svg { display:none; }
.brand-points strong { display:block; font-size:14px; font-weight:600; color:var(--ink); }
.brand-points em {
  display:block; margin-top:3px;
  font-style:normal; font-size:12.5px; line-height:1.55;
  color:var(--ink-3);
}

.brand-foot {
  position:relative;
  margin-top:16px; padding-top:18px;
  font-size:11.5px; color:var(--ink-3);
}

/* ============ 右侧医生独立区（绝对定位贴最右边，不影响卡片居中） ============ */
.doctor-zone {
  position: absolute;
  right: -150px;                /* 再减50：-100-50 → -150px，医生右缘超出屏幕约150px（右侧裁切更多） */
  top: 50%;
  transform: translateY(-50%);  /* 垂直居中对齐卡片 */
  width: 420px;
  height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 24px 36px;
  /* 轻微背景区分 */
  background:
    radial-gradient(400px 360px at 50% 100%, rgba(79,168,224,.07), transparent 70%);
  animation: doctorZoneIn .6s cubic-bezier(.22,.8,.28,1) .3s both;
}
@keyframes doctorZoneIn {
  from { opacity: 0; transform: translateY(-50%) translateX(24px); }
  to   { opacity: 1; transform: translateY(-50%); }
}

/* 医生立绘 —— 绝对定位区内的尺寸 */
.doctor-fig {
  flex: none;
  width: 320px;
  border: 0; background: none; padding: 0; cursor: pointer;
  line-height: 0;
  filter: drop-shadow(0 20px 36px rgba(47,111,237,.22));
  transform-origin: 50% 100%;
  animation: doctorIdle 3.8s ease-in-out infinite;
  transition: transform .2s ease, filter .2s ease;
}
.doctor-fig:hover { transform: translateY(-8px) scale(1.03); filter: drop-shadow(0 26px 44px rgba(47,111,237,.30)); }
.doctor-fig:active { transform: scale(.97); }
.doctor-fig img { width: 100%; height: auto; display: block; }

@keyframes doctorIdle {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

/* 对话气泡 —— 适配绝对定位区 */
.doctor-bubble {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin-bottom: 20px;
  padding: 17px 20px 19px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(15,27,42,.10);
  font-size: 14.5px; line-height: 1.7; color: var(--ink);
  animation: bubbleIn .42s cubic-bezier(.22,.8,.28,1) both;
}
/* 小尾巴：从气泡左下角伸出，指向下方医生 */
.doctor-bubble-tail {
  position: absolute; left: 24px; bottom: -7px;
  width: 14px; height: 14px; background: #fff;
  border-left: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transform: rotate(-45deg);
}
.doctor-bubble-text { display: block; min-height: 46px; word-break: break-word; }
.doctor-bubble-text.typing::after {
  content: "▋"; color: var(--blue-1); margin-left: 1px;
  animation: caretBlink 1s step-end infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px) scale(.96); }
  to   { opacity: 1; transform: none; }
}

/* 进度小圆点 */
.doctor-dots { display: flex; gap: 5px; margin-top: 9px; }
.doctor-dots i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--line); transition: background .25s ease, width .25s ease, border-radius .25s ease;
}
.doctor-dots i.on { background: var(--blue-1); width: 14px; border-radius: 3px; }

/* 特性卡片联动高亮 */
.brand-points li { transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.brand-points li.bp-on {
  background: #fff;
  border-color: rgba(79,168,224,.55);
  box-shadow: 0 8px 20px rgba(79,168,224,.20);
  transform: translateX(2px);
}
.brand-points li.bp-on .bp-ico { transform: scale(1.08); }

/* 移动端/窄屏：左侧品牌区 + 右侧医生区整体隐藏 */
@media (max-width: 1280px) {
  .doctor-zone { display: none; }
  .auth-card { width: min(920px, 100%); }
}

/* ============ 右侧表单区 ============ */
.auth-panel { padding: 46px 46px 38px; display: flex; flex-direction: column; }

.auth-tabs {
  position: relative;
  display: inline-flex; gap: 4px;
  padding: 4px;
  background: var(--bg-alt);
  border-radius: 12px;
  align-self: flex-start;
}
.auth-tab {
  position: relative; z-index: 2;
  border: 0; background: none; cursor: pointer;
  padding: 8px 26px;
  font-size: 14px; font-weight: 600;
  font-family: inherit;
  color: var(--ink-2);
  border-radius: 9px;
  transition: color .22s ease;
}
.auth-tab.is-active { color: var(--ink); }
.auth-tab-ink {
  position: absolute; z-index: 1; top: 4px; left: 4px;
  height: calc(100% - 8px);
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
  transition: transform .28s cubic-bezier(.22,.8,.28,1), width .28s cubic-bezier(.22,.8,.28,1);
}

.auth-heading {
  margin: 30px 0 6px;
  font-size: 27px; font-weight: 700; letter-spacing: -.6px;
  color: var(--ink);
}
.auth-sub { margin: 0 0 26px; font-size: 14px; color: var(--ink-3); }

/* ---- 字段 ---- */
.field { margin-bottom: 16px; }
.field.is-hidden { display: none; }
.field label {
  display: block; margin-bottom: 7px;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.lb-tip { font-weight: 400; color: var(--ink-3); font-size: 12px; }

.field input {
  width: 100%;
  height: 46px;
  padding: 0 15px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field input::placeholder { color: #B9B6B2; }
.field input:hover { border-color: rgba(0,0,0,.16); }
.field input:focus {
  border-color: var(--blue-1);
  box-shadow: 0 0 0 4px rgba(79,168,224,.18);
}
.field input.err { border-color: #E5484D; box-shadow: 0 0 0 4px rgba(229,72,77,.12); }

.field-row { position: relative; display: flex; gap: 10px; }
.field-row input { flex: 1; min-width: 0; }

.btn-code {
  flex: none;
  min-width: 116px;
  height: 46px;
  padding: 0 14px;
  font-size: 13.5px; font-weight: 600; font-family: inherit;
  color: var(--blue-1);
  background: var(--warm);
  border: 1.5px solid rgba(79,168,224,.30);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, opacity .18s ease;
}
.btn-code:hover:not(:disabled) { background: var(--blue-3); }
.btn-code:disabled { opacity: .55; cursor: not-allowed; }

.btn-eye {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 0; background: none; cursor: pointer;
  color: var(--ink-3); border-radius: 9px;
  transition: color .18s ease, background .18s ease;
}
.btn-eye:hover { color: var(--ink-2); background: rgba(0,0,0,.04); }
.btn-eye svg { width: 18px; height: 18px; }
.btn-eye.on { color: var(--blue-1); }
.pw-row input { padding-right: 46px; }

/* ---- 错误 & 提交 ---- */
.auth-err {
  min-height: 20px;
  margin: 2px 0 12px;
  font-size: 13px; color: #E5484D;
  opacity: 0; transform: translateY(-3px);
  transition: opacity .18s ease, transform .18s ease;
}
.auth-err.show { opacity: 1; transform: none; }

/* 全局显隐（之前只 .field.is-hidden，链接/按钮等其它元素也要用） */
.is-hidden { display: none !important; }

/* 字段底部脚注：登录模式下显示"忘记密码？" */
.field-meta { margin: 8px 0 0; text-align: right; font-size: 13px; }
.field-meta a { color: var(--blue); font-weight: 500; }
.field-meta a:hover { text-decoration: underline; }

/* ============ 找回密码弹窗 ============ */
.auth-modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: rgba(15,27,42,.5);
  animation: authIn .25s ease both;
}
.auth-modal[hidden] { display: none; }
.auth-modal-card {
  position: relative;
  width: min(440px, 92vw);
  padding: 36px 32px 28px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  animation: modalIn .35s cubic-bezier(.22,.8,.28,1) both;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute; top: 14px; right: 16px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  font-size: 22px; line-height: 1;
  color: var(--ink-3);
  background: transparent; border: 0; border-radius: 50%;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.modal-close:hover { background: rgba(0,0,0,.05); color: var(--ink); }

.modal-ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  margin: 0 auto 16px;
  color: var(--blue-1);
  background: var(--warm);
  border-radius: 14px;
}
.modal-ico svg { width: 26px; height: 26px; }

.auth-modal-card h3 { margin: 0 0 6px; text-align: center; font-size: 22px; color: var(--ink); }
.modal-sub { margin: 0 0 22px; text-align: center; font-size: 13.5px; color: var(--ink-3); }
.mail-hl { color: var(--blue-1); font-weight: 600; }

.modal-err {
  min-height: 18px; margin: 0 0 10px;
  font-size: 12.5px; color: #E5484D;
  text-align: center;
  opacity: 0; transition: opacity .18s ease;
}
.modal-err.show { opacity: 1; }

.modal-foot {
  margin: 16px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
}
.modal-foot a { color: var(--blue); font-weight: 500; }
.modal-foot a:hover { text-decoration: underline; }
.modal-foot .dot { margin: 0 8px; color: var(--line); }

.auth-modal-card .field { margin: 0 0 12px; }

.auth-submit {
  position: relative;
  width: 100%; height: 50px;
  font-size: 15.5px; font-weight: 600; font-family: inherit;
  color: #fff;
  background: var(--blue);
  border: 0; border-radius: var(--r-sm);
  cursor: pointer;
  overflow: hidden;
  transition: background .18s ease, transform .12s ease, box-shadow .2s ease;
  box-shadow: 0 8px 24px rgba(0,113,227,.24);
}
.auth-submit:hover { background: var(--blue-d); box-shadow: 0 10px 30px rgba(0,113,227,.3); }
.auth-submit:active { transform: scale(.985); }
.auth-submit:disabled { opacity: .7; cursor: not-allowed; }
.auth-submit .btn-spin {
  display: none;
  width: 17px; height: 17px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.auth-submit.loading .btn-label { display: none; }
.auth-submit.loading { display: grid; place-items: center; }
.auth-submit.loading .btn-spin { display: block; }

/* ============ 协议明示确认弹窗 ============ */
.agree-links {
  display: flex; justify-content: center; gap: 18px;
  margin: 0 0 24px;
}
.agree-links a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--blue);
  text-decoration: none;
  padding: 8px 14px; border-radius: 10px;
  background: var(--warm, #EAF3FB);
  border: 1px solid rgba(59,149,221,.18);
  transition: background .18s ease, border-color .18s ease;
}
.agree-links a:hover { background: rgba(59,149,221,.12); border-color: var(--blue); }
.agree-actions {
  display: flex; gap: 12px; align-items: stretch;
}
.agree-actions .auth-submit { width: auto; flex: 1; height: 48px; }
.btn-ghost {
  flex: 0 0 auto; height: 48px; padding: 0 18px;
  font-size: 15px; font-weight: 600; font-family: inherit;
  color: var(--ink-3);
  background: #fff;
  border: 1.5px solid var(--line, #E2E0DB); border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); background: rgba(0,0,0,.02); }
.btn-ghost:active { transform: scale(.985); }

/* 协议内容模态框（页内 iframe，不跳新页面） */
.legal-card {
  width: min(860px, 94vw);
  max-height: 86vh;
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
}
.legal-card h3 {
  text-align: left;
  margin: 0 0 14px;
  font-size: 19px;
  padding-right: 36px;
}
.legal-frame {
  width: 100%;
  flex: 1 1 auto;
  min-height: 56vh;
  border: 0;
  border-radius: 12px;
  background: #fff;
}
@keyframes spin { to { transform: rotate(360deg); } }

.auth-switch { margin: 20px 0 0; text-align: center; font-size: 13.5px; color: var(--ink-3); }
.auth-switch a { color: var(--blue); font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }

.auth-agree {
  margin: auto 0 0; padding-top: 22px;
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12px; line-height: 1.55; color: #A9A6A2;
  cursor: pointer; user-select: none;
}
.auth-agree input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  flex: 0 0 16px; width: 16px; height: 16px;
  margin: 2px 0 0;
  border: 1.5px solid #C8C5BE; border-radius: 4px;
  background: var(--card, #fff);
  cursor: pointer; position: relative;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.auth-agree input[type="checkbox"]:hover { border-color: var(--blue); }
.auth-agree input[type="checkbox"]:checked {
  background: var(--blue); border-color: var(--blue);
}
.auth-agree input[type="checkbox"]:checked::after {
  content: ""; position: absolute;
  left: 4px; top: 0; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.auth-agree input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(79,168,224,.28);
}
.auth-agree input[type="checkbox"].err-shake {
  border-color: #E5484D;
  animation: agreeShake .36s cubic-bezier(.36,.07,.19,.97) both;
}
.auth-agree .agree-text { flex: 1 1 auto; }
.auth-agree a { color: var(--ink-3); text-decoration: underline; text-underline-offset: 2px; }
.auth-agree a:hover { color: var(--blue); }

@keyframes agreeShake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX( 2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX( 4px); }
}

/* ============ 快捷登录面板 ============ */
.quick-login {
  display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 18px 6px 6px;
  animation: authIn .4s cubic-bezier(.22,.8,.28,1) both;
}
.quick-login[hidden] { display: none; }
.ql-avatar {
  width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 34px; font-weight: 700; color: #fff;
  background: linear-gradient(145deg, var(--blue-1), var(--blue-2));
  box-shadow: 0 12px 30px rgba(79,168,224,.32), inset 0 0 0 4px rgba(255,255,255,.6);
  overflow: hidden;
}
.ql-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ql-name {
  margin: 20px 0 6px;
  font-size: 23px; font-weight: 700; letter-spacing: -.4px;
  color: var(--ink);
}
.ql-sub {
  margin: 0 0 28px;
  font-size: 13.5px; line-height: 1.6; color: var(--ink-3);
  max-width: 320px;
}
.ql-enter {
  margin-bottom: 12px;
  box-shadow: 0 8px 24px rgba(0,113,227,.24);
}
.ql-switch {
  width: 100%; height: 46px;
  font-size: 14.5px; font-weight: 600; font-family: inherit;
  color: var(--blue-1);
  background: var(--warm);
  border: 1.5px solid rgba(79,168,224,.30);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.ql-switch:hover { background: var(--blue-3); }

/* ---- Toast ---- */
.auth-toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px);
  max-width: 86vw;
  padding: 12px 22px;
  font-size: 14px; color: #fff;
  background: rgba(15,27,42,.94);
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(0,0,0,.22);
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  z-index: 200;
}
.auth-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============ 焦点管理（防止容器级蓝色边框） ============ */
/* 浏览器默认会对 <section> / <main> 等语义标签显示 :focus-outline，
   当 JS 调用 focus() 或用户 Tab 键导航时，会在 .auth-panel 上出现蓝色外框。
   下面的规则彻底封掉这个视觉瑕疵，同时保留输入框自身的聚焦效果。 */
.auth-wrap,
.auth-card,
.auth-panel,
.auth-brand,
.loginFormWrap,
#loginFormWrap {
  outline: none !important;
  border-color: transparent !important;
}
.auth-wrap:focus,
.auth-card:focus,
.auth-panel:focus,
.auth-brand:focus,
.loginFormWrap:focus,
#loginFormWrap:focus {
  outline: none !important;
  box-shadow: none !important;
}
/* 输入框和按钮保持正常的聚焦反馈（已在 .field input:focus 中定义） */

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .auth-card { grid-template-columns: 1fr; width: min(460px, 100%); }
  .auth-brand { display: none; }
  .auth-panel { padding: 38px 30px 30px; }
  .auth-heading { font-size: 24px; }
}
@media (max-width: 480px) {
  .auth-body { padding: 66px 14px 28px; }
  .auth-panel { padding: 30px 22px 24px; }
  .auth-back { top: 16px; left: 14px; }
  .btn-code { min-width: 100px; font-size: 12.5px; padding: 0 10px; }
}

/* 深色系统偏好下依旧保持浅色卡片（与官网一致，不做暗色反转） */
