/* MetaSeek Atlas — "Aurora" 视觉系统（v1.7 重设计）
   浅色玻璃拟态 + 渐变主色 + 柔和景深；自包含样式，无外部 CDN 依赖（国内访问稳定性优先） */
:root {
  --bg: #eef1f6;
  --card: #ffffff;
  --primary: #0071e3;
  --primary-dark: #005bb8;
  --grad: linear-gradient(135deg, #00a3ff 0%, #0071e3 55%, #0055d4 100%);
  --text: #17181c;
  --muted: #69707d;
  --line: #e6e8ef;
  --green: #1d8a4b;
  --red: #d0342c;
  --amber: #b8860b;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16,24,40,.05), 0 10px 30px -14px rgba(16,24,40,.14);
  --shadow-hover: 0 2px 4px rgba(16,24,40,.05), 0 16px 40px -16px rgba(16,24,40,.2);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px; line-height: 1.6;
  min-height: 100vh; display: flex; flex-direction: column;
  /* 性能注意：不用 background-attachment:fixed（大面积逐帧重绘，滚动/首屏卡顿）；
     光晕随文档滚动只画一次，视觉基本一致 */
  background:
    radial-gradient(1100px 420px at 50% -140px, rgba(0,113,227,.10), transparent 70%),
    linear-gradient(180deg, #f7f9fc 0%, #eef1f6 100%);
}
::selection { background: rgba(0,113,227,.18); }

/* 双语同页 (FR-02) */
.bi-zh { display: block; }
.bi-en { display: block; font-size: 0.78em; color: var(--muted); font-weight: 400; }
th .bi-en, td .bi-en, li .bi-en, p .bi-en, .inline-bi .bi-en { display: inline; margin-left: 6px; }
h1 .bi-en, h2 .bi-en, h3 .bi-en { display: block; }
.badge .bi-zh { display: inline; }
.badge .bi-en { display: none; }
/* v1.7.2 修复：行内语境（summary/b/strong）中的双语 span 必须内联横排，
   否则块级 span 把一句话拆成竖排多行（四步诊断周计划竖排问题根因） */
summary .bi-zh, summary .bi-en,
b .bi-zh, b .bi-en, strong .bi-zh, strong .bi-en { display: inline; }
summary .bi-en, b .bi-en, strong .bi-en { margin-left: 5px; }

/* ============ 导航：玻璃拟态 + 彩虹顶线 + 渐变徽标 ============ */
/* 性能注意：blur 半径控制在小值（大半径 blur 在低配机/Webview 上滚动明显掉帧） */
.topnav { position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(20,30,50,.08);
  box-shadow: 0 6px 24px -18px rgba(16,24,40,.25); }
.topnav::before { content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, #00a3ff, #0071e3 38%, #7a5cff 72%, #00c2a8); }
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 11px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px;
  font-size: 16.5px; font-weight: 800; letter-spacing: -.01em;
  color: var(--text); text-decoration: none; }
.logo-badge { width: 35px; height: 35px; border-radius: 11px; flex-shrink: 0;
  background: var(--grad); color: #fff; font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 14px -4px rgba(0,90,200,.55), inset 0 1px 0 rgba(255,255,255,.35); }
.brand-text .bi-en { display: block; font-size: 9.5px; font-weight: 500;
  letter-spacing: .09em; text-transform: uppercase; color: #9aa0ab; margin-top: 1px; }
.brand b { background: var(--grad); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav-links a { color: #454b57; text-decoration: none; padding: 7px 13px; border-radius: 10px;
  font-size: 13.5px; font-weight: 550; transition: background .15s, color .15s; }
.nav-links a:hover { background: rgba(0,113,227,.09); color: var(--primary); }
.nav-links a.active { background: rgba(0,113,227,.12); color: var(--primary); }
.nav-user { display: inline-flex; align-items: center; gap: 8px; color: #4a5060; font-size: 13px;
  background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 12px 4px 5px; }
.nav-user::before { content: ""; width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(from 210deg, #00a3ff, #7a5cff, #00c2a8, #00a3ff);
  box-shadow: inset 0 0 0 2px #fff; }

/* ============ 布局 ============ */
.container { max-width: 1120px; margin: 0 auto; padding: 30px 24px 60px; width: 100%; flex: 1; }
.footer { max-width: 1120px; margin: 0 auto; padding: 20px 24px 34px; color: #8a90a0;
  font-size: 12.5px; width: 100%; border-top: 1px solid rgba(20,30,50,.06); }
.footer .bi-zh { display: inline; margin-right: 12px; }
.footer .bi-en { display: inline; }

/* ============ 卡片 ============ */
.card { background: rgba(255,255,255,.92); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px 26px; margin-bottom: 18px;
  border: 1px solid rgba(20,30,50,.055); }
.card h2 { margin: 0 0 4px; font-size: 19px; letter-spacing: -.01em; }
.card h3 { margin: 14px 0 8px; font-size: 16px; letter-spacing: -.01em; }
.card-sub { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ============ 排版 ============ */
h1.hero { font-size: 42px; line-height: 1.18; margin: 18px 0 10px; letter-spacing: -.025em;
  font-weight: 800; }
h1.hero .bi-en { font-size: 22px; color: var(--muted); font-weight: 500; margin-top: 8px; }
.section-title { font-size: 27px; margin: 26px 0 8px; letter-spacing: -.02em; font-weight: 800; }
.section-title .bi-en { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; }

/* ============ 按钮 ============ */
.btn { display: inline-flex; align-items: center; gap: 6px; background: var(--grad); color: #fff;
  border: none; border-radius: 12px; padding: 10px 20px; font-size: 15px; font-weight: 600;
  cursor: pointer; text-decoration: none; flex-wrap: wrap;
  box-shadow: 0 6px 16px -6px rgba(0,90,200,.55), inset 0 1px 0 rgba(255,255,255,.25);
  transition: filter .15s, box-shadow .2s, transform .06s; }
.btn .bi-en { display: inline; color: rgba(255,255,255,.8); font-weight: 500; }
.btn-ghost .bi-en { color: var(--muted); }
.btn:hover { filter: brightness(1.08); box-shadow: 0 9px 22px -6px rgba(0,90,200,.6), inset 0 1px 0 rgba(255,255,255,.25); }
.btn:active { transform: translateY(1px); filter: brightness(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; filter: saturate(.4); box-shadow: none; }
.btn-ghost { background: #fff; color: var(--primary); border: 1px solid #d3e2f7; box-shadow: none; }
.btn-ghost:hover { background: #f2f7ff; border-color: #b9d4f8; filter: none;
  box-shadow: 0 4px 12px -6px rgba(0,90,200,.25); }
.btn-sm { padding: 6px 13px; font-size: 13px; border-radius: 9px; }
.btn-danger { background: linear-gradient(135deg, #f0655c, #d0342c); }
.btn-danger:hover { background: linear-gradient(135deg, #e0554c, #b82a22); filter: none; }

/* v1.5.2 额度提示行：中英同行内联，避免数字被双语块级 span 打碎 */
.quota-line .bi-zh, .quota-line .bi-en { display: inline; margin-right: 6px; }

/* ============ 表单 ============ */
label.f { display: block; margin: 12px 0 4px; font-weight: 600; font-size: 13.5px; }
label.f .bi-en { display: inline; margin-left: 6px; font-weight: 400; }
input[type=text], input[type=email], input[type=password], input[type=url], select, textarea {
  width: 100%; padding: 10px 14px; border: 1px solid #dfe3ec; border-radius: 12px;
  font-size: 15px; font-family: inherit; background: #fff; color: var(--text);
  transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,113,227,.13); }
textarea { resize: vertical; min-height: 70px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 14px;
  background: #fff; transition: border-color .15s, background .15s; }
.checks label:has(input:checked) { border-color: var(--primary); background: #eaf3ff; }
.checks input { accent-color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* ============ 表格 ============ */
table { border-collapse: collapse; width: 100%; margin: 10px 0; font-size: 13.5px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #eef0f5; vertical-align: top; }
th { color: #868d9c; font-weight: 650; font-size: 12px; letter-spacing: .02em;
  background: transparent; border-bottom: 1px solid var(--line); }
tr:hover td { background: #f7faff; }
th .bi-zh, td .bi-zh { display: inline; }
th .bi-en, td .bi-en { display: inline; margin-left: 5px; }

/* ============ 徽章（来源标注铁律 FR-03） ============ */
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px;
  font-weight: 600; white-space: nowrap; vertical-align: middle; }
.badge .bi-en { display: none; }
.badge-real { background: #e3f5ea; color: #157347; box-shadow: inset 0 0 0 1px rgba(21,115,71,.14); }
.badge-official { background: #e8f0fe; color: #1a56c4; box-shadow: inset 0 0 0 1px rgba(26,86,196,.14); }
.badge-technical { background: #f3e8ff; color: #6b21a8; box-shadow: inset 0 0 0 1px rgba(107,33,168,.14); }
.badge-inferred { background: #fff3e0; color: #9a6700; box-shadow: inset 0 0 0 1px rgba(154,103,0,.16); }
.badge-demo { background: #f2f2f7; color: #6e6e73; border: 1px dashed #c7c7cc; }
.status-ok { color: var(--green); font-weight: 600; }
.status-no { color: var(--red); font-weight: 600; }

/* ============ 分数环：渐变弧 + 柔和投影 + 入场动画 ============ */
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }
.score-hero { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.score-ring { --p: 0; position: relative; width: 132px; height: 132px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: conic-gradient(from -90deg,
    #7cbcff 0deg,
    #0a84ff calc(var(--p) * 2deg),
    var(--primary) calc(var(--p) * 3.6deg),
    #e9edf5 calc(var(--p) * 3.6deg));
  box-shadow: 0 16px 32px -14px rgba(0,90,200,.42), 0 2px 6px -2px rgba(0,90,200,.2);
  animation: ring-in 1.1s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes ring-in { from { --p: 0; } }
.score-ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%;
  background: var(--card);
  box-shadow: inset 0 0 0 1px rgba(16,24,40,.05), inset 0 -2px 6px rgba(16,24,40,.04); }
.score-ring span { position: relative; font-size: 31px; font-weight: 800; letter-spacing: -.03em;
  color: #1d1f26; }
.ring-sm { width: 88px; height: 88px; }
.ring-sm::before { inset: 9px; }
.ring-sm span { font-size: 21px; }

/* ============ 引擎卡 ============ */
.engine-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 20px; border: 1px solid rgba(20,30,50,.05);
  transition: box-shadow .2s ease, transform .2s ease; }
.engine-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.engine-card .engine-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.engine-name { font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.engine-score { font-size: 30px; font-weight: 800; letter-spacing: -.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.engine-score.nodata { background: none; color: #c7c7cc; font-size: 20px; }
.engine-metrics { display: flex; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.metric { min-width: 72px; }
.metric .v { font-weight: 700; font-size: 15px; }
.metric .k { font-size: 11.5px; color: var(--muted); }
.delta-up { color: var(--green); font-size: 13px; font-weight: 600; }
.delta-down { color: var(--red); font-size: 13px; font-weight: 600; }

/* ============ 页签：分段式控件 ============ */
.tabs { display: flex; gap: 3px; flex-wrap: wrap; margin-bottom: 20px;
  background: rgba(255,255,255,.7); border: 1px solid rgba(20,30,50,.06);
  border-radius: 14px; padding: 5px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.tabs a { flex: 0 1 auto; text-align: center; padding: 5px 12px; border-radius: 10px;
  text-decoration: none; color: #4a5060; font-size: 12.5px; font-weight: 600; line-height: 1.35;
  transition: background .15s, color .15s, box-shadow .15s; }
.tabs a .bi-zh { display: block; }
.tabs a .bi-en { display: block; font-size: 9.5px; font-weight: 500; color: #9aa0ab;
  margin: 0; line-height: 1.25; }
.tabs a:hover { background: rgba(0,113,227,.09); color: var(--primary); }
.tabs a.active { background: var(--grad); color: #fff;
  box-shadow: 0 5px 14px -5px rgba(0,90,200,.6); }
.tabs a.active .bi-en { color: rgba(255,255,255,.78); }
.tabs::-webkit-scrollbar { height: 6px; }
.tabs::-webkit-scrollbar-thumb { background: #d4d8e2; border-radius: 999px; }

/* ============ 提示 ============ */
.notice { background: #f0f6ff; border: 1px solid #dbe9ff; border-left: 3px solid var(--primary);
  color: #0b4da2; border-radius: 12px; padding: 12px 16px; margin: 12px 0; font-size: 13.5px; }
.notice-warn { background: #fff9e8; border-color: #ffedb3; border-left-color: #e6a700; color: #7a5a00; }
.notice-red { background: #fdf0ef; border-color: #f6cfc7; border-left-color: var(--red); color: #8f1d18; }
.notice .bi-en { display: inline; margin-left: 8px; }
.notice a { color: inherit; font-weight: 600; }

/* ============ 进度条 ============ */
.progress { height: 8px; border-radius: 999px; background: #e8eaf1; overflow: hidden; margin: 10px 0; }
.progress > div { height: 100%; background: var(--grad); border-radius: 999px;
  transition: width .4s ease; }

/* ============ 回答卡 ============ */
.answer-card { background: #fafbfd; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; margin: 10px 0; }
.answer-card pre { white-space: pre-wrap; word-break: break-word; margin: 8px 0 0;
  font-family: inherit; font-size: 14px; }
.snippet { color: var(--muted); font-style: italic; font-size: 13px; }

/* ============ 矩阵格 ============ */
.cell-yes { color: var(--green); font-weight: 700; }
.cell-rec { color: var(--green); font-weight: 800; }
.cell-no { color: #c7c7cc; }

/* ============ toast ============ */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: #23252c; color: #fff; padding: 11px 22px; border-radius: 999px;
  font-size: 14px; opacity: 0; transition: all .3s ease; z-index: 99; max-width: 86vw;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,.35); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { background: var(--red); }

/* ============ landing ============ */
.hero-wrap { text-align: center; padding: 64px 0 30px; }
.hero-sub { font-size: 17px; color: var(--muted); max-width: 640px; margin: 0 auto 26px; }
.hero-sub .bi-en { margin-top: 8px; }
.pill { display: inline-block; background: linear-gradient(135deg, #e8f3ff, #eef0ff);
  color: var(--primary); border-radius: 999px; padding: 5px 15px; font-size: 13px;
  font-weight: 600; box-shadow: inset 0 0 0 1px rgba(0,113,227,.14); }
.feature { text-align: left; }
.feature .fi { font-size: 26px; }

/* ============ kv 布局 ============ */
.kv { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0; }
.kv .chip { background: #f2f3f8; border-radius: 8px; padding: 2px 10px; font-size: 13px; }

details.cluster { border: 1px solid var(--line); border-radius: 14px; margin: 10px 0;
  background: #fff; transition: border-color .15s; }
details.cluster:hover { border-color: #cfd8ea; }
details.cluster summary { cursor: pointer; padding: 12px 16px; font-weight: 600; list-style: none; }
details.cluster summary::before { content: "▸ "; color: var(--muted); }
details.cluster[open] summary::before { content: "▾ "; }
details.cluster .cluster-body { padding: 0 16px 14px; }

code.inline { background: #f2f3f8; padding: 1px 6px; border-radius: 6px; font-size: 13px; }
.content-body { line-height: 1.75; }
.content-body h2 { font-size: 18px; margin: 20px 0 8px; }
.content-body h3 { font-size: 16px; margin: 16px 0 6px; }
.content-body table { font-size: 13.5px; }
.content-body pre { background: #f6f7fa; padding: 12px; border-radius: 10px; overflow-x: auto; }
.hr { border: none; border-top: 1px solid var(--line); margin: 16px 0; }
.actions-list { padding-left: 0; list-style: none; }
.actions-list li { margin: 8px 0; padding: 10px 14px; border-radius: 12px; background: #fafbfd;
  border: 1px solid var(--line); }
.p0 { border-left: 4px solid var(--red); } .p1 { border-left: 4px solid var(--amber); }
.p2 { border-left: 4px solid var(--primary); }
.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(0,113,227,.25);
  border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite;
  vertical-align: -2px; margin-right: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  h1.hero { font-size: 30px; }
  .container { padding: 18px 14px 50px; }
  .card { padding: 16px; }
}

/* v1.5.2 移动端适配（720px 以下：导航压缩、页签横滑、表格横滑、栅格收拢） */
@media (max-width: 720px) {
  .nav-inner { padding: 10px 14px; }
  .nav-links { gap: 4px; }
  .nav-user { display: none; }  /* 邮箱过长挤爆导航，登录态由页签与操作按钮体现 */
  .tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: 6px; margin-bottom: 14px; }
  .tabs a { white-space: nowrap; flex: 0 0 auto; }
  table { display: block; overflow-x: auto; }
  h1 { font-size: 22px; }
  .score-hero { gap: 14px; }
  .checks label { max-width: 100%; }
  .btn { width: auto; max-width: 100%; }
}

/* v1.7 四步诊断进度点 */
.fs-dot { display: flex; align-items: center; gap: 7px; }
.fs-dot-num { width: 30px; height: 30px; border-radius: 50%; background: #e9ecf3; color: #8a90a0;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
  flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(20,30,50,.06); }
.fs-dot.done .fs-dot-num { background: linear-gradient(135deg, #34d47f, #17a45c); color: #fff;
  box-shadow: 0 4px 10px -3px rgba(23,164,92,.55); }
.fs-dot.run .fs-dot-num { background: var(--grad); color: #fff;
  box-shadow: 0 4px 10px -3px rgba(0,90,200,.55); }
.fs-dot-label { font-size: 13px; font-weight: 650; line-height: 1.2; }
.fs-dot-label .bi-en { display: block; font-weight: 400; font-size: 10.5px; color: #9aa0ab; }
.fs-arrow { color: #c3c9d6; font-weight: 700; }

/* v1.7 GVIAI 8 维雷达图容器 */
.radar-wrap { display: flex; justify-content: center; }
.radar-wrap svg { max-width: 100%; height: auto;
  filter: drop-shadow(0 10px 20px rgba(0,90,200,.14)); }

/* v1.7.1 评分卡：环 + 标题 + 说明合一 */
.score-card { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.score-card .engine-name { text-align: center; }
.score-card .small { text-align: left; }

/* ============ v1.7.2 登录 / 注册页 ============
   ⚠️ 回归修复：v1.7「Aurora」重写 app.css 时丢掉了全部 .auth-* 规则，
   而 templates/auth.html 仍在用 .auth-shell / .auth-brand / .brand-mark /
   .auth-name / .auth-sub / .auth-card / .grad-text → 登录页无任何样式：
   内联 SVG 按默认尺寸撑出约 700px 白色块，即用户看到的「上半部分空白」。
   本次既补齐规则，也把登录页从「单列卡片」重排为「左品牌板 + 右表单卡」，
   并在主区做垂直居中（原先内容贴顶、卡下留大片空白）。 */

/* 顺带回归修复：v1.7 同样删掉、但模板仍在用的三条规则 */
.grad-text { display: inline-block; background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.empty-icon { margin: 0 auto 10px; width: 58px; height: 58px; border-radius: 17px;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(0,90,200,.32), inset 0 1px 0 rgba(255,255,255,.25); }
.empty-icon svg { width: 30px; height: 30px; }
.q-row { border-radius: 8px; padding: 3px 6px !important; transition: background .12s; }
.q-row:hover { background: #f2f7ff; }

/* ---- 主区：只对登录/注册页垂直水平居中（auth.html 里改 main_class） ---- */
.auth-main { display: flex; }

/* ---- 外壳：双栏一体卡 ---- */
.auth-shell { max-width: 960px; margin: auto; width: 100%;
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  background: rgba(255,255,255,.94); border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(20,30,50,.06);
  box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 26px 60px -30px rgba(16,24,40,.3); }

/* ---- 左栏：品牌板（渐变 + 极光光斑，纯 CSS 无外部资源） ---- */
.auth-brand { position: relative; display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start; gap: 13px;
  padding: 40px 38px 36px; color: #fff; background: var(--grad); }
.auth-brand::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  /* 末层为压暗遮罩：品牌渐变左上角偏亮，纯白小字对比度只有 ~3.1:1（实测），
     加 30–46% 深蓝遮罩后全板白色文字均达 WCAG AA >=4.5:1 */
  background:
    radial-gradient(430px 260px at 88% -12%, rgba(255,255,255,.22), transparent 70%),
    radial-gradient(360px 300px at -12% 110%, rgba(0,226,255,.20), transparent 70%),
    linear-gradient(160deg, rgba(2,18,55,.30), rgba(2,18,55,.46)); }
.auth-brand > * { position: relative; z-index: 1; }
.auth-brand .brand-mark { width: 52px; height: 52px; border-radius: 15px; flex-shrink: 0;
  background: rgba(255,255,255,.2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.38);
  display: inline-flex; align-items: center; justify-content: center; }
.auth-brand .brand-mark svg { width: 28px; height: 28px; }
.auth-brand .auth-name { font-size: 24px; font-weight: 800; letter-spacing: -.02em;
  line-height: 1.25; color: #fff; }
.auth-brand .auth-name .grad-text { background: none; -webkit-background-clip: initial;
  background-clip: initial; color: rgba(255,255,255,.92); }
.auth-brand .auth-sub { font-size: 13px; color: rgba(255,255,255,.94); }
.auth-brand .auth-sub .bi-zh { display: block; }
.auth-brand .auth-sub .bi-en { display: block; font-size: 11.5px; letter-spacing: .07em;
  text-transform: uppercase; color: rgba(255,255,255,.9); margin-top: 3px; }
.auth-feats { margin: 18px 0 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 14px; }
.auth-feats li { display: flex; align-items: flex-start; gap: 9px; color: #fff; }
.auth-feats li > span { display: block; }
.auth-feats li::before { content: "✓"; flex-shrink: 0; width: 18px; height: 18px;
  margin-top: 2px; border-radius: 50%; font-size: 11px; font-weight: 800; color: #fff;
  background: rgba(255,255,255,.26); box-shadow: inset 0 0 0 1px rgba(255,255,255,.38);
  display: inline-flex; align-items: center; justify-content: center; }
.auth-feats .bi-zh { display: block; font-size: 13.5px; font-weight: 550; line-height: 1.45; }
.auth-feats .bi-en { display: block; font-size: 12px; font-weight: 400; letter-spacing: .01em;
  color: rgba(255,255,255,.9); margin-top: 2px; }
.auth-note { margin: 24px 0 0; font-size: 12px; line-height: 1.55;
  color: rgba(255,255,255,.92); }
.auth-note .bi-en { display: block; font-size: 11.5px; color: rgba(255,255,255,.86);
  margin-top: 2px; }

/* ---- 右栏：表单卡（.card 的外层装饰交还给 .auth-shell） ---- */
.auth-card { margin: 0; padding: 40px 38px 32px; border: 0; box-shadow: none;
  border-radius: 0; background: transparent; display: flex; flex-direction: column;
  justify-content: center; }
.auth-card .card-sub { margin-bottom: 6px; }
.auth-card .btn { width: 100%; justify-content: center; }
.auth-card a { color: var(--primary); font-weight: 650; text-decoration: none;
  transition: color .15s; }
.auth-card a:hover { color: var(--primary-dark); text-decoration: underline;
  text-underline-offset: 3px; }
.auth-card a .bi-en { display: inline; margin-left: 6px; color: inherit;
  font-size: 0.86em; font-weight: 500; }

/* ---- 响应式：≤ 820px 收单列（品牌板降为顶部横幅，卖点让位给表单首屏可见） ---- */
@media (max-width: 820px) {
  .auth-shell { grid-template-columns: 1fr; border-radius: 18px; }
  .auth-brand { padding: 24px 22px 20px; gap: 10px; }
  .auth-brand .brand-mark { width: 44px; height: 44px; border-radius: 13px; }
  .auth-brand .brand-mark svg { width: 24px; height: 24px; }
  .auth-brand .auth-name { font-size: 20px; }
  .auth-feats, .auth-note { display: none; }
  .auth-card { padding: 26px 22px 24px; }
}
