/* ============================================================
   季金希 AI · 统一 API 网关
   设计系统：深色为主 + 可切浅色、玻璃拟态、霓虹渐变
   ============================================================ */

:root {
  --bg:        #06060c;
  --bg-2:      #0b0b16;
  --panel:     rgba(255,255,255,.035);
  --panel-2:   rgba(255,255,255,.055);
  --line:      rgba(255,255,255,.09);
  --line-2:    rgba(255,255,255,.14);
  --ink:       #eceef6;
  --ink-2:     #a2a8bd;
  --ink-3:     #6b7288;
  --brand:     #38f0ff;
  --brand-2:   #a855f7;
  --ok:        #34d399;
  --warn:      #fbbf24;
  --err:       #f87171;
  --radius:    10px;
  --shadow:    0 12px 40px rgba(0,0,0,.45);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

html[data-theme="light"] {
  --bg:      #f6f7fb;
  --bg-2:    #ffffff;
  --panel:   rgba(15,18,35,.035);
  --panel-2: rgba(15,18,35,.06);
  --line:    rgba(15,18,35,.10);
  --line-2:  rgba(15,18,35,.16);
  --ink:     #151827;
  --ink-2:   #4a5068;
  --ink-3:   #8189a3;
  --brand:   #0891b2;
  --brand-2: #7c3aed;
  --shadow:  0 12px 32px rgba(20,25,50,.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(56,240,255,.28); }

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }

/* ============================================================
   背景层
   ============================================================ */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .22; }
.bg-glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .28; }
.bg-glow.g1 { width: 620px; height: 620px; top: -260px; left: -180px;
  background: radial-gradient(circle, rgba(56,240,255,.32), transparent 70%); }
.bg-glow.g2 { width: 700px; height: 700px; top: -180px; right: -260px;
  background: radial-gradient(circle, rgba(168,85,247,.30), transparent 70%); }
.bg-glow.g3 { width: 560px; height: 560px; bottom: -280px; left: 34%;
  background: radial-gradient(circle, rgba(56,240,255,.14), transparent 70%); }
.bg-grid { position: absolute; inset: 0; opacity: .30;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 40%, transparent 100%);
}
html[data-theme="light"] .bg-grid { opacity: .5;
  background-image: linear-gradient(rgba(15,18,35,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(15,18,35,.05) 1px, transparent 1px); }

/* ============================================================
   通用
   ============================================================ */
.wrap { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.wrap-wide { width: min(1440px, calc(100% - 40px)); margin: 0 auto; }
.grad { background: linear-gradient(110deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-2); }
.dim { color: var(--ink-3); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.hide { display: none !important; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px; padding: 0 16px; border-radius: 10px;
  background: var(--panel-2); border: 1px solid var(--line);
  color: var(--ink); font-size: 14px; font-weight: 500;
  transition: .18s; white-space: nowrap;
}
.btn:hover { background: var(--line); border-color: var(--line-2); }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(110deg, var(--brand), var(--brand-2));
  border: none; color: #05050a; font-weight: 700;
  box-shadow: 0 4px 14px rgba(56,240,255,.14);
}
.btn-primary:hover { filter: brightness(1.06); box-shadow: 0 6px 18px rgba(56,240,255,.20); }
html[data-theme="light"] .btn-primary { color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); }
.btn-sm { height: 30px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; }
.btn-xs { height: 26px; padding: 0 9px; font-size: 12px; border-radius: 7px; }
.btn-danger { color: var(--err); border-color: rgba(248,113,113,.3); }
.btn-danger:hover { background: rgba(248,113,113,.12); }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* 徽标 */
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  height: 21px; padding: 0 8px; border-radius: 6px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .2px;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--ink-2);
}
.tag-ok   { background: rgba(52,211,153,.14); border-color: rgba(52,211,153,.28); color: var(--ok); }
.tag-warn { background: rgba(251,191,36,.14); border-color: rgba(251,191,36,.28); color: var(--warn); }
.tag-err  { background: rgba(248,113,113,.14); border-color: rgba(248,113,113,.28); color: var(--err); }
.tag-brand{ background: rgba(56,240,255,.12); border-color: rgba(56,240,255,.26); color: var(--brand); }
.tag-new  { background: linear-gradient(110deg,var(--brand),var(--brand-2)); color:#05050a; border:none; font-weight:800; }
html[data-theme="light"] .tag-new { color:#fff; }

/* 卡片 */
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
}
.card-hd { display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 14px; }
.card-title { font-size: 15px; font-weight: 700; }

/* 输入 */
.inp {
  height: 38px; padding: 0 12px; border-radius: 10px; width: 100%;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--ink);
  outline: none; transition: .16s;
}
.inp:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(56,240,255,.12); }
.inp::placeholder { color: var(--ink-3); }
select.inp { cursor: pointer; }
select.inp option { background: var(--bg-2); color: var(--ink); }

/* 表格 */
.tbl-wrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl thead th {
  position: sticky; top: 0; z-index: 2;
  background: var(--bg-2); color: var(--ink-2);
  font-size: 12px; font-weight: 600; text-align: left;
  padding: 11px 12px; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.tbl tbody td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tbody tr:last-child td { border-bottom: none; }
.tbl tbody tr:hover { background: var(--panel); }
.tbl .num { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

/* 空态 */
.empty { padding: 52px 20px; text-align: center; color: var(--ink-3); font-size: 14px; }
.empty b { display: block; color: var(--ink-2); font-size: 15px; margin-bottom: 6px; }

/* 提示条 */
.banner {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 15px; border-radius: 11px; font-size: 13.5px;
  background: var(--panel); border: 1px solid var(--line);
}
.banner-info { background: rgba(56,240,255,.07); border-color: rgba(56,240,255,.2); }
.banner-warn { background: rgba(251,191,36,.08); border-color: rgba(251,191,36,.22); }

/* ============================================================
   公开站：顶栏
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: rgba(6,6,12,.72); border-bottom: 1px solid var(--line);
}
html[data-theme="light"] .nav { background: rgba(255,255,255,.82); }
.nav-inner { display: flex; align-items: center; gap: 26px; height: 62px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 15.5px; letter-spacing: .3px; }
.brand-mark { display: grid; place-items: center; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-link { padding: 7px 12px; border-radius: 9px; font-size: 14px; color: var(--ink-2); transition: .16s; }
.nav-link:hover { color: var(--ink); background: var(--panel-2); }
.nav-link.on { color: var(--ink); background: var(--panel-2); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ============================================================
   公开站：首屏
   ============================================================ */
.hero { position: relative; padding: 84px 0 64px; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 26px;
  font-size: 12.5px; color: var(--ink-2);
  background: var(--panel); border: 1px solid var(--line);
}
.hero-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 8px var(--ok); }
.hero h1 {
  font-size: clamp(34px, 6vw, 62px); line-height: 1.12; font-weight: 800;
  letter-spacing: -1.6px; margin-bottom: 18px;
}
.hero p.lead {
  font-size: 16px; color: var(--ink-2); max-width: 640px; margin: 0 auto 30px;
  line-height: 1.75;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.hero-cta .btn { height: 44px; padding: 0 24px; font-size: 15px; border-radius: 11px; }

.trust { display: flex; gap: 8px 18px; justify-content: center; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-2); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ok); }

/* 模型 logo 墙 */
.logo-wall { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.logo-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: var(--panel); border: 1px solid var(--line); color: var(--ink-2);
}

/* 区块 */
.sec { padding: 66px 0; position: relative; }
.sec-hd { text-align: center; margin-bottom: 40px; }
.sec-hd h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; letter-spacing: -.6px; margin-bottom: 12px; }
.sec-hd p { color: var(--ink-2); font-size: 15px; max-width: 660px; margin: 0 auto; }
.sec-tag { display: inline-block; margin-bottom: 12px; font-size: 12.5px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase; color: var(--brand); }

/* 步骤 */
.steps { display: grid; gap: 16px; }
.steps.c2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.steps.c3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.step {
  position: relative; padding: 22px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
}
.step-n {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px;
  font-size: 13px; font-weight: 800; margin-bottom: 13px;
  background: linear-gradient(110deg, var(--brand), var(--brand-2)); color: #05050a;
}
html[data-theme="light"] .step-n { color: #fff; }
.step h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 7px; }
.step p { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }

/* 代码块 */
.code-box { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden;
  background: rgba(0,0,0,.35); }
html[data-theme="light"] .code-box { background: #0d1020; }
.code-hd { display: flex; align-items: center; gap: 6px; padding: 9px 12px;
  border-bottom: 1px solid var(--line); background: var(--panel); }
.code-tab { padding: 4px 11px; border-radius: 7px; font-size: 12.5px; color: var(--ink-3); }
.code-tab.on { background: var(--panel-2); color: var(--ink); }
.code-hd .sp { flex: 1; }
.code-body { padding: 16px; overflow: auto; max-height: 340px; }
.code-body pre { font-family: var(--mono); font-size: 13px; line-height: 1.75;
  color: #d5dbec; white-space: pre; }

/* FAQ */
.faq { max-width: 840px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 18px 4px; text-align: left; font-size: 15px; font-weight: 600; }
.faq-q i { flex: none; transition: .22s; color: var(--ink-3); font-style: normal; font-size: 18px; }
.faq-item.open .faq-q i { transform: rotate(45deg); color: var(--brand); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 420px; }
.faq-a div { padding: 0 4px 20px; font-size: 14px; color: var(--ink-2); line-height: 1.8; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 52px 0 34px; margin-top: 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 34px; }
.foot-grid h5 { font-size: 13px; font-weight: 700; margin-bottom: 14px; color: var(--ink); }
.foot-grid a { display: block; font-size: 13.5px; color: var(--ink-3); padding: 5px 0; transition: .16s; }
.foot-grid a:hover { color: var(--brand); }
.foot-bot { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--ink-3); }

/* ============================================================
   控制台布局
   ============================================================ */
.shell { display: flex; min-height: 100vh; position: relative; z-index: 1; }

.side {
  position: sticky; top: 0; height: 100vh; flex: none; width: 226px;
  border-right: 1px solid var(--line); background: var(--bg-2);
  display: flex; flex-direction: column; transition: width .22s ease;
  z-index: 50;
}
.side.mini { width: 64px; }
.side-hd { display: flex; align-items: center; gap: 9px; height: 60px; padding: 0 16px;
  border-bottom: 1px solid var(--line); flex: none; }
.side.mini .side-hd .brand-txt { display: none; }
.side-body { flex: 1; overflow-y: auto; padding: 12px 10px; }
.side-group { margin-bottom: 18px; }
.side-group > span { display: block; padding: 0 10px 8px; font-size: 11px;
  font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; color: var(--ink-3); }
.side.mini .side-group > span { display: none; }
.side-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 9px;
  font-size: 14px; color: var(--ink-2); transition: .15s; margin-bottom: 2px; position: relative;
}
.side-item:hover { background: var(--panel); color: var(--ink); }
.side-item.on { background: var(--panel-2); color: var(--ink); font-weight: 600; }
.side-item.on::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 17px; border-radius: 2px;
  background: linear-gradient(var(--brand), var(--brand-2)); }
.side-ico { flex: none; width: 18px; height: 18px; display: grid; place-items: center;
  color: var(--ink-3); }
.side-item:hover .side-ico, .side-item.on .side-ico { color: var(--ink); }
.side-ico svg { display: block; }
.side.mini .side-label, .side.mini .side-badge { display: none; }
.side.mini .side-item { justify-content: center; padding: 10px 0; }
.side.mini .side-ico { width: 20px; height: 20px; }
.side-badge { margin-left: auto; font-size: 10px; font-weight: 700; padding: 1px 5px;
  border-radius: 4px; background: var(--panel-2); border: 1px solid var(--line);
  color: var(--ink-2); letter-spacing: .2px; }
.side-badge.hot { background: rgba(56,240,255,.12); border-color: rgba(56,240,255,.28); color: var(--brand); }
.side-ft { flex: none; padding: 10px; border-top: 1px solid var(--line); }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 40; height: 60px; flex: none;
  display: flex; align-items: center; gap: 12px; padding: 0 22px;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(6,6,12,.72);
}
html[data-theme="light"] .topbar { background: rgba(255,255,255,.82); }
.topbar .sp { flex: 1; }
.bal-chip { display: flex; align-items: center; gap: 7px; padding: 5px 11px;
  border-radius: 9px; background: var(--panel-2); border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 600; }
.bal-chip .v { font-family: var(--mono); color: var(--brand); }

.page { padding: 26px 22px 60px; }
.page-hd { margin-bottom: 22px; }
.page-hd h1 { font-size: 24px; font-weight: 800; letter-spacing: -.4px; margin-bottom: 6px; }
.page-hd p { font-size: 14px; color: var(--ink-2); }

/* KPI 网格 */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.kpi { padding: 17px 18px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); }
.kpi-lab { font-size: 12.5px; color: var(--ink-3); margin-bottom: 9px; }
.kpi-val { font-size: 25px; font-weight: 800; letter-spacing: -.6px; font-family: var(--mono);
  font-variant-numeric: tabular-nums; line-height: 1.2; }
.kpi-sub { font-size: 12px; color: var(--ink-3); margin-top: 7px; }

/* 网格 */
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* 工具条 */
.toolbar { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .sp { flex: 1; }

/* 分段控件 */
.seg { display: inline-flex; padding: 3px; border-radius: 10px;
  background: var(--panel-2); border: 1px solid var(--line); }
.seg button { padding: 5px 13px; border-radius: 7px; font-size: 13px; color: var(--ink-2); transition: .15s; }
.seg button.on { background: var(--bg-2); color: var(--ink); font-weight: 600; box-shadow: 0 1px 5px rgba(0,0,0,.25); }

/* 芯片筛选 */
.chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chip { padding: 5px 12px; border-radius: 999px; font-size: 13px;
  background: var(--panel); border: 1px solid var(--line); color: var(--ink-2); transition: .15s; }
.chip:hover { border-color: var(--line-2); color: var(--ink); }
.chip.on { background: linear-gradient(110deg,var(--brand),var(--brand-2)); color: #05050a;
  border-color: transparent; font-weight: 700; }
html[data-theme="light"] .chip.on { color: #fff; }
.chip small { opacity: .7; margin-left: 4px; font-size: 11.5px; }

/* 模型价目表专用 */
.plaza-sec { margin-bottom: 34px; }
.plaza-sec-hd { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.plaza-sec-hd h3 { font-size: 17px; font-weight: 800; }
.plaza-sec-hd .cnt { font-size: 12.5px; color: var(--ink-3); }
.brand-hd { padding: 10px 14px; background: var(--panel-2); border-radius: 9px;
  font-size: 13.5px; font-weight: 700; margin: 14px 0 8px; display: flex; align-items: center; gap: 8px; }
.brand-hd .n { font-size: 12px; font-weight: 500; color: var(--ink-3); }

.price-row-official td { background: rgba(56,240,255,.05); }
.price-row-official .lab { font-size: 11.5px; font-weight: 700; color: var(--brand); }
.tier-name { font-weight: 600; font-size: 13px; }
.tier-pct { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.tier-new { font-family: var(--mono); color: var(--brand); font-weight: 700; }
.rowspan-model { font-weight: 700; font-family: var(--mono); font-size: 13.5px; }

/* 模态 */
.modal-mask { position: fixed; inset: 0; z-index: 200; background: rgba(3,3,8,.72);
  backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; }
.modal { width: min(560px, 100%); max-height: 84vh; overflow: auto;
  background: var(--bg-2); border: 1px solid var(--line-2);
  border-radius: 12px; box-shadow: var(--shadow); padding: 24px; }
.modal h3 { font-size: 17px; font-weight: 800; margin-bottom: 14px; }
.modal-ft { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }

/* Toast */
.toast-wrap { position: fixed; z-index: 300; right: 20px; bottom: 20px;
  display: flex; flex-direction: column; gap: 9px; }
.toast { padding: 11px 16px; border-radius: 11px; font-size: 13.5px;
  background: var(--bg-2); border: 1px solid var(--line-2);
  box-shadow: var(--shadow); animation: tin .22s ease; max-width: 380px; }
.toast.ok  { border-color: rgba(52,211,153,.4); }
.toast.err { border-color: rgba(248,113,113,.4); }
@keyframes tin { from { opacity: 0; transform: translateY(10px); } }

/* 图表占位 */
.chart { height: 190px; border-radius: 11px; display: grid; place-items: center;
  background: var(--panel); border: 1px dashed var(--line-2); color: var(--ink-3); font-size: 13px; }

/* 表单行 */
.field { margin-bottom: 15px; }
.field > label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--ink-2); }
.field .hint { font-size: 12px; color: var(--ink-3); margin-top: 6px; }

/* 复制按钮 */
.copy-btn { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px;
  border-radius: 7px; font-size: 12px; background: var(--panel-2);
  border: 1px solid var(--line); color: var(--ink-2); }
.copy-btn:hover { color: var(--brand); border-color: rgba(56,240,255,.4); }

/* 空/加载 */
.loading { padding: 80px 20px; text-align: center; color: var(--ink-3); }

/* 登录页 */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; position: relative; z-index: 1; }
.auth-card { width: min(420px, 100%); padding: 34px 30px; border-radius: 12px;
  background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow);
  backdrop-filter: blur(20px); }
.auth-card h1 { font-size: 22px; font-weight: 800; margin-bottom: 7px; }
.auth-card .sub { font-size: 13.5px; color: var(--ink-2); margin-bottom: 26px; }

/* 响应式 */
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .side { position: fixed; left: 0; top: 0; transform: translateX(-100%); }
  .side.open { transform: none; }
  .page { padding: 20px 15px 60px; }
  .topbar { padding: 0 15px; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .hero { padding: 54px 0 40px; }
  .sec { padding: 46px 0; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* 提示条小圆点（替代 emoji） */
.dot-i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 3px rgba(56,240,255,.12); }
.dot-i.warn { background: var(--warn); box-shadow: 0 0 0 3px rgba(251,191,36,.14); }
