/* ============================================================================
   auth-portal.css · 登录 / 注册门户
   对齐参考站 jiucai.oo7.co 的「Blancpain 陶瓷玻璃」门户外壳：
   浅瓷底 + 双色光晕 + 同心机械刻度盘 + 陶瓷玻璃卡 + 深墨绿主按钮。
   仅作用于 #authView，不修改任何后端行为。
   ========================================================================== */

.customer-body #authView.auth-portal {
  --ap-canvas: #f8faf9;
  --ap-bp-50: #f0f9f5;
  --ap-bp-100: #e2f4eb;
  --ap-bp-200: #c6e9d8;
  --ap-bp-600: #086345;
  --ap-bp-700: #064e36;
  --ap-bp-800: #043c29;
  --ap-az-50: #f0f7fd;
  --ap-az-100: #e0effb;
  --ap-az-600: #0369a1;
  --ap-az-700: #075985;
  --ap-ink: #0f172a;
  --ap-ink-soft: #1e293b;
  --ap-muted: #64748b;
  --ap-muted-2: #94a3b8;
  --ap-line: #e2e8f0;
  --ap-line-soft: #f1f5f9;
  --ap-lux-sm: 0 20px 40px -15px rgba(6, 78, 54, .07), 0 0 1px 1px rgba(6, 78, 54, .04);
  --ap-lux-lg: 0 30px 60px -20px rgba(6, 78, 54, .12), 0 0 1px 1px rgba(2, 132, 199, .05);
  --ap-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: clamp(16px, 4vw, 40px) 16px;
  background: var(--ap-canvas);
  color: var(--ap-ink-soft);
  font-family: "Microsoft YaHei", "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", system-ui, sans-serif;
  box-sizing: border-box;
}

/* .hidden 由 app.js 切换，必须让它继续生效。 */
.customer-body #authView.auth-portal:not(.hidden) {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.customer-body #authView.auth-portal *,
.customer-body #authView.auth-portal *::before,
.customer-body #authView.auth-portal *::after { box-sizing: border-box; }

/* ---------- 背景：双色柔光 + 极淡墨绿点阵 ---------- */
#authView .auth-portal-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
#authView .auth-portal-bg > i { position: absolute; display: block; border-radius: 50%; filter: blur(64px); opacity: .5; }
#authView .auth-portal-bg > i:nth-child(1) { top: -192px; right: -128px; width: 672px; height: 672px; background: var(--ap-az-100); }
#authView .auth-portal-bg > i:nth-child(2) { bottom: -192px; left: -160px; width: 704px; height: 704px; background: var(--ap-bp-100); }
#authView .auth-portal-bg > i:nth-child(3) {
  inset: 0; width: auto; height: auto; border-radius: 0; filter: none; opacity: .035;
  background-image: radial-gradient(#064e36 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ---------- 门户主体 ---------- */
#authView .auth-portal-main {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#authView .auth-portal-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
  width: 100%;
}
#authView .auth-portal-logo {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, .8);
  box-shadow: var(--ap-lux-sm);
  padding: 8px;
  margin-bottom: 12px;
}
#authView .auth-portal-logo .brand-mark {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--ap-bp-600), var(--ap-bp-800));
  color: #fff;
  font-size: 15.2px !important;
  font-weight: 700;
  line-height: 1 !important;
  box-shadow: 0 6px 14px rgba(6, 78, 54, .22);
}
#authView .auth-portal-brandline {
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
}
#authView .auth-portal-brandline h1,
#authView .auth-portal-brandline h2 {
  margin: 0;
  font-size: 20px !important;
  line-height: 1.4 !important;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--ap-ink);
  font-family: inherit;
}
#authView .auth-portal-brandline h1:focus { outline: none; }
#authView .auth-portal-version {
  font-family: var(--ap-mono);
  font-size: 10px !important;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ap-muted);
  background: var(--ap-line-soft);
  border: 1px solid var(--ap-line);
  border-radius: 6px;
  padding: 2px 6px;
  white-space: nowrap;
}
#authView .auth-portal-head > p {
  margin: 6px 0 0;
  font-size: 12px !important;
  line-height: 1.6 !important;
  color: var(--ap-muted-2);
}

/* ---------- 陶瓷玻璃卡 ---------- */
#authView .auth-ceramic {
  position: relative;
  width: 100%;
  padding: clamp(20px, 4vw, 32px);
  border-radius: 24px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(6, 78, 54, .08);
  box-shadow: var(--ap-lux-lg);
}

/* ---------- 账号操作胶囊 ---------- */
#authView .auth-nav-capsule {
  display: flex;
  gap: 2px;
  padding: 4px;
  margin-bottom: 24px;
  background: rgba(241, 245, 249, .8);
  border: 1px solid rgba(226, 232, 240, .5);
  border-radius: 16px;
}
#authView .auth-nav-tab {
  flex: 1 1 0;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 8px 4px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 12px !important;
  font-weight: 600;
  color: var(--ap-muted);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
#authView .auth-nav-tab:hover { color: var(--ap-bp-700); }
#authView .auth-nav-tab.active,
#authView .auth-nav-tab[aria-current="page"] {
  background: #fff;
  color: var(--ap-bp-700);
  box-shadow: 0 1px 3px rgba(15, 23, 42, .08);
}

/* ---------- 表单 ---------- */
#authView .auth-portal-form { display: grid; gap: 16px; }
#authView .auth-portal-form.hidden { display: none !important; }
#authView .auth-field { display: grid; gap: 6px; min-width: 0; }
#authView .auth-field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px !important;
  font-weight: 500;
  color: #475569;
  line-height: 1.5 !important;
}
#authView .auth-field-label a {
  font-size: 12px !important;
  font-weight: 500;
  color: var(--ap-az-600);
  text-decoration: none;
  transition: color .18s ease;
}
#authView .auth-field-label a:hover { color: var(--ap-az-700); }

#authView .auth-input-wrap { position: relative; display: block; }
#authView .auth-input-wrap > .auth-input-icon {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 40px;
  display: grid;
  place-items: center;
  color: var(--ap-muted-2);
  pointer-events: none;
}
#authView .auth-input-wrap > .auth-input-icon svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#authView .auth-portal-form input[type="text"],
#authView .auth-portal-form input[type="email"],
#authView .auth-portal-form input[type="password"],
#authView .auth-portal-form input[type="number"],
#authView .auth-portal-form select {
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--ap-line);
  background: #fff;
  color: var(--ap-ink);
  font-family: inherit;
  font-size: 14px !important;
  line-height: 1.5 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  transition: border-color .18s ease, box-shadow .18s ease;
  appearance: none;
}
#authView .auth-input-wrap.has-icon > input,
#authView .auth-input-wrap.has-icon .email-combobox > input { padding-left: 40px; }
#authView .auth-input-wrap .email-combobox { width: 100%; min-width: 0; }
#authView .auth-input-wrap.has-trailing > input { padding-right: 44px; }
#authView .auth-portal-form input::placeholder { color: var(--ap-muted-2); }
#authView .auth-portal-form input:hover,
#authView .auth-portal-form select:hover { border-color: #cbd5e1; }
#authView .auth-portal-form input:focus,
#authView .auth-portal-form select:focus {
  outline: none;
  border-color: var(--ap-bp-600);
  box-shadow: 0 0 0 3px var(--ap-bp-50);
}
#authView .auth-portal-form input:-webkit-autofill {
  -webkit-text-fill-color: var(--ap-ink);
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
}
#authView .auth-input-toggle {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 44px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ap-muted-2);
  cursor: pointer;
  border-radius: 12px;
  transition: color .18s ease;
}
#authView .auth-input-toggle:hover { color: var(--ap-ink-soft); }
#authView .auth-input-toggle svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
#authView .auth-input-toggle[aria-pressed="true"] { color: var(--ap-bp-700); }

/* 邮箱 + 后缀 */
#authView .auth-split { display: flex; gap: 8px; }
#authView .auth-split > .auth-split-main { flex: 1 1 auto; min-width: 0; }
#authView .auth-split > .auth-split-tail { flex: 0 0 auto; width: 120px; }

/* 校验码行 */
#authView .auth-code-row { display: flex; gap: 8px; align-items: stretch; }
#authView .auth-code-row > input { flex: 1 1 auto; min-width: 0; }
#authView .auth-code-row > .button { flex: 0 0 auto; white-space: nowrap; }
#authView .auth-field > small {
  font-size: 11px !important;
  line-height: 1.6 !important;
  color: var(--ap-muted-2);
}

/* ---------- 按钮 ---------- */
#authView .auth-submit {
  position: relative;
  width: 100%;
  min-height: 46px;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--ap-bp-700);
  color: #fff;
  font-family: inherit;
  font-size: 14px !important;
  font-weight: 500;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 12px 24px -12px rgba(6, 78, 54, .5), 0 2px 4px rgba(6, 78, 54, .18);
  transition: background-color .18s ease, transform .12s ease, box-shadow .18s ease;
}
#authView .auth-submit:hover { background: var(--ap-bp-800); box-shadow: 0 16px 30px -14px rgba(6, 78, 54, .55); }
#authView .auth-submit:active { transform: scale(.99); }
#authView .auth-submit:disabled { cursor: progress; opacity: .92; }
#authView .auth-submit > .auth-submit-arrow {
  display: inline-flex;
  transition: transform .18s ease;
}
#authView .auth-submit > .auth-submit-arrow svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
#authView .auth-submit:hover > .auth-submit-arrow { transform: translateX(2px); }
/* app.js 的 setButtonBusy 会把子节点换成纯文本，因此加载态用伪元素画双弧圈。 */
#authView .auth-submit[data-busy="true"]::after {
  content: "";
  width: 15.2px; height: 15.2px;
  margin-left: 8px;
  border-radius: 50%;
  border: 2px solid rgba(224, 239, 251, .35);
  border-top-color: #fff;
  border-right-color: #9ee7cc;
  animation: authPortalSpin .75s linear infinite;
  flex: 0 0 auto;
}
#authView .auth-submit[data-busy="true"] { display: inline-flex; }
@keyframes authPortalSpin { to { transform: rotate(360deg); } }

/* 次级按钮（验证码等） */
#authView .button.secondary {
  min-height: 44px;
  padding: 8.8px 14.4px;
  border-radius: 12px;
  border: 1px solid var(--ap-line);
  background: #fff;
  color: var(--ap-ink-soft);
  font-family: inherit;
  font-size: 13px !important;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
#authView .button.secondary:hover { background: var(--ap-bp-50); border-color: var(--ap-bp-200); color: var(--ap-bp-700); }
#authView .button.secondary:disabled { opacity: .6; cursor: not-allowed; }

/* ---------- 提示 ---------- */
#authView .auth-notice {
  display: block;
  margin: 14px 0 0;
  padding: 12px;
  border-radius: 12px;
  font-size: 13px !important;
  line-height: 1.65 !important;
  overflow-wrap: anywhere;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b42318;
}
#authView .auth-notice:empty { display: none; }
#authView .auth-notice.success { border-color: #a7f3d0; background: #ecfdf5; color: #067647; }

/* 卡片脚注 */
#authView .auth-portal-foot {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--ap-line-soft);
  text-align: center;
  font-size: 12px !important;
  line-height: 1.7 !important;
  color: var(--ap-muted-2);
}
#authView .auth-portal-foot a {
  color: var(--ap-bp-700);
  font-weight: 600;
  text-decoration: none;
}
#authView .auth-portal-foot a:hover { text-decoration: underline; }

/* 返回首页（旧皮肤把它强制为 static 流式元素，这里按流式对齐左上角） */
#authView .auth-back-button {
  position: static;
  align-self: flex-start;
  margin: 0 0 12px !important;
  display: inline-flex;
  align-items: center;
  gap: 5.6px;
  padding: 6.4px 11.2px;
  border-radius: 10px;
  border: 1px solid var(--ap-line);
  background: rgba(255, 255, 255, .92);
  color: var(--ap-muted);
  font-family: inherit;
  font-size: 12px !important;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}
#authView .auth-back-button:hover { color: var(--ap-bp-700); border-color: var(--ap-bp-200); background: #fff; }

/* ---------- 开屏（机械刻度盘） ---------- */
#authView .auth-splash {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(250, 252, 251, .98);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: opacity .55s ease, visibility .55s ease;
}
#authView .auth-splash.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
#authView .auth-splash-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  max-width: 384px;
  width: 100%;
}
#authView .auth-emblem {
  position: relative;
  width: 176px; height: 176px;
  display: grid; place-items: center;
  margin-bottom: 32px;
}
#authView .auth-emblem-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(6, 78, 54, .22);
  animation: authPortalSpin 16s cubic-bezier(.4, 0, .2, 1) infinite;
}
#authView .auth-emblem-ring.r2 { inset: 16px; border-color: rgba(3, 105, 161, .28); border-style: dashed; animation: authPortalSpin 24s linear infinite reverse; }
#authView .auth-emblem-ring.r3 { inset: 32px; border-width: 1px; border-style: solid; border-color: rgba(226, 244, 235, .9); animation: none; }
#authView .auth-emblem-core {
  position: relative;
  width: 96px; height: 96px;
  display: grid; place-items: center;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--ap-bp-100);
  box-shadow: var(--ap-lux-sm);
  padding: 12px;
}
#authView .auth-emblem-core .brand-mark {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--ap-bp-600), var(--ap-bp-800));
  color: #fff;
  font-size: 24px !important;
  font-weight: 700;
  line-height: 1 !important;
  box-shadow: 0 10px 24px -8px rgba(6, 78, 54, .45);
}
#authView .auth-splash h2 {
  margin: 0;
  font-size: 24px !important;
  line-height: 1.3 !important;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--ap-ink);
}
#authView .auth-splash-sub {
  margin: 8px 0 0;
  font-family: var(--ap-mono);
  font-size: 11px !important;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ap-muted-2);
}
#authView .auth-splash-meter { width: 240px; margin-top: 32px; }
#authView .auth-splash-track {
  height: 6px;
  padding: 1px;
  border-radius: 999px;
  background: var(--ap-line-soft);
  border: 1px solid rgba(226, 232, 240, .6);
  overflow: hidden;
}
#authView .auth-splash-bar {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ap-az-600), var(--ap-bp-600) 55%, var(--ap-bp-700));
  transition: width .25s ease;
}
#authView .auth-splash-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  font-family: var(--ap-mono);
  font-size: 11px !important;
  color: var(--ap-muted-2);
}
#authView .auth-splash-meta b { color: var(--ap-bp-700); font-weight: 700; }
#authView .auth-splash-skip {
  margin-top: 20px;
  border: 0;
  background: transparent;
  color: var(--ap-muted-2);
  font-family: inherit;
  font-size: 11px !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
#authView .auth-splash-skip:hover { color: var(--ap-bp-700); }

/* ---------- 登录成功过场 ---------- */
#authView .auth-warp {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}
#authView .auth-warp.is-open { opacity: 1; visibility: visible; }
#authView .auth-warp-rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; opacity: .55; }
#authView .auth-warp-rings > i { position: absolute; border-radius: 50%; display: block; }
#authView .auth-warp-rings > i:nth-child(1) { width: 608px; height: 608px; border: 1px solid rgba(226, 244, 235, .7); }
#authView .auth-warp-rings > i:nth-child(2) { width: 448px; height: 448px; border: 1px dashed rgba(224, 239, 251, .9); animation: authPortalSpin 24s linear infinite; }
#authView .auth-warp-rings > i:nth-child(3) { width: 288px; height: 288px; border: 1px solid rgba(240, 249, 245, .9); animation: authPortalSpin 32s linear infinite reverse; }
#authView .auth-warp-card { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; padding: 32px; max-width: 416px; }
#authView .auth-warp-icon {
  position: relative;
  width: 112px; height: 112px;
  display: grid; place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--ap-bp-50);
  border: 1px solid var(--ap-bp-100);
  box-shadow: var(--ap-lux-sm);
}
#authView .auth-warp-icon > span {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--ap-bp-700), var(--ap-bp-800));
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(6, 78, 54, .45);
}
#authView .auth-warp-icon svg {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
#authView .auth-warp-eyebrow {
  font-family: var(--ap-mono);
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ap-bp-700);
}
#authView .auth-warp-card h3 {
  margin: 4px 0 8px;
  font-size: 24px !important;
  line-height: 1.3 !important;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--ap-ink);
}
#authView .auth-warp-card p {
  margin: 0 0 24px;
  font-family: var(--ap-mono);
  font-size: 12px !important;
  color: var(--ap-muted);
}
#authView .auth-warp-track {
  width: 288px; max-width: 100%;
  height: 6px;
  padding: 1px;
  border-radius: 999px;
  background: var(--ap-line-soft);
  border: 1px solid var(--ap-line);
  overflow: hidden;
}
#authView .auth-warp-bar {
  height: 100%; width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ap-az-600), var(--ap-bp-600) 55%, var(--ap-bp-700));
  transition: width .3s ease;
}
#authView .auth-warp-step {
  margin-top: 12px;
  font-family: var(--ap-mono);
  font-size: 11px !important;
  color: var(--ap-muted-2);
}

/* ---------- 窄屏 ---------- */
@media (max-width: 480px) {
  .customer-body #authView.auth-portal { padding: 12px; align-items: flex-start; }
  #authView .auth-portal-main { max-width: 100%; }
  #authView .auth-ceramic { border-radius: 20px; padding: 16px; }
  #authView .auth-portal-head { margin-bottom: 16px; }
  #authView .auth-portal-brandline h1,
  #authView .auth-portal-brandline h2 { font-size: 17px !important; }
  #authView .auth-emblem { width: 136px; height: 136px; margin-bottom: 20px; }
  #authView .auth-emblem-core { width: 76px; height: 76px; border-radius: 20px; padding: 8.8px; }
  #authView .auth-emblem-core .brand-mark { border-radius: 14px; font-size: 19.2px !important; }
  #authView .auth-splash h2 { font-size: 20px !important; }
  #authView .auth-splash-meter { width: 192px; }
  #authView .auth-warp-icon { width: 88px; height: 88px; }
  #authView .auth-warp-card h3 { font-size: 19.2px !important; }
  #authView .auth-warp-track { width: 208px; }
  #authView .auth-code-row { flex-wrap: wrap; }
  #authView .auth-code-row > .button { width: 100%; }
  #authView .auth-split { flex-wrap: wrap; }
  #authView .auth-split > .auth-split-tail { width: 100%; }
}

/* ---------- 覆盖旧皮肤对 #authView 的 !important ---------- */
html[data-ui-theme] body.customer-body #authView.auth-portal:not(.hidden) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-content: center !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  min-height: 100svh !important;
  padding: 32px 16px !important;
  box-sizing: border-box !important;
  background: #f8faf9 !important;
}
html[data-ui-theme] body.customer-body #authView.auth-portal.hidden { display: none !important; }
@media (max-width: 480px) {
  html[data-ui-theme] body.customer-body #authView.auth-portal:not(.hidden) {
    padding: 12px !important;
    align-items: flex-start !important;
  }
}

/* 桌面端回到参考站的 14px 输入字号；移动端保留 16px 以阻止 iOS 自动缩放。 */
@media (min-width: 481px) {
  #authView.auth-portal input:not([type="checkbox"]):not([type="radio"]) { font-size: 14px !important; }
}

@media (prefers-reduced-motion: reduce) {
  #authView .auth-emblem-ring,
  #authView .auth-warp-rings > i,
  #authView .auth-submit[data-busy="true"]::after { animation: none !important; }
  #authView .auth-splash,
  #authView .auth-warp,
  #authView .auth-splash-bar,
  #authView .auth-warp-bar { transition: none !important; }
}
