/* 盈讯智能平台 · 深色科技风统一样式表（无构建、无外部依赖） */
:root {
  --bg: #05070d;
  --bg-2: #080b13;
  --surface: #0b1018;
  --surface-2: #0f1521;
  --line: rgba(255, 255, 255, .075);
  --line-strong: rgba(255, 255, 255, .14);
  --text: #e8edf7;
  --text-2: #a9b5c9;
  --muted: #6d7a90;
  --brand: #4c8dff;
  --brand-2: #7c5cff;
  --cyan: #2ee6d6;
  --ok: #35d39a;
  --warn: #f5b544;
  --danger: #ff6b6b;
  --radius: 14px;
  --radius-sm: 9px;
  --mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
  --shadow: 0 18px 48px -20px rgba(0, 0, 0, .9);
  --sidebar: 232px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
::selection { background: rgba(76, 141, 255, .35); }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(760px 460px at 12% -8%, rgba(76, 141, 255, .16), transparent 62%),
    radial-gradient(680px 420px at 92% 4%, rgba(124, 92, 255, .14), transparent 60%),
    radial-gradient(520px 380px at 50% 108%, rgba(46, 230, 214, .07), transparent 65%);
}

/* ---------- 通用 ---------- */
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.center { text-align: center; }
.hidden { display: none !important; }
.grad {
  background: linear-gradient(96deg, #7fb0ff 8%, #a98bff 52%, #59ead9 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px; padding: 0 16px; border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .04);
  color: var(--text); font-size: 13.5px; font-weight: 500;
  cursor: pointer; white-space: nowrap;
  transition: background .18s, border-color .18s, transform .12s, box-shadow .18s;
}
.btn:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(180deg, #5b96ff, #3b78ef);
  border-color: #4f8cff;
  color: #fff;
  box-shadow: 0 8px 24px -12px rgba(76, 141, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-primary:hover { background: linear-gradient(180deg, #6ba2ff, #4a83f5); border-color: #6ba2ff; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.btn-sm { height: 30px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; }
.btn-danger { color: #ffb4b4; border-color: rgba(255, 107, 107, .35); background: rgba(255, 107, 107, .1); }
.btn-danger:hover { background: rgba(255, 107, 107, .18); border-color: rgba(255, 107, 107, .5); }
.btn-block { width: 100%; }

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}
.card-pad { padding: 20px; }

.tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 1px 8px; border-radius: 999px;
  font-size: 11.5px; line-height: 18px; font-weight: 500;
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--text-2); background: rgba(255, 255, 255, .05);
  white-space: nowrap;
}
.tag-blue { color: #a9caff; background: rgba(76, 141, 255, .14); border-color: rgba(76, 141, 255, .32); }
.tag-green { color: #96e9c6; background: rgba(53, 211, 154, .13); border-color: rgba(53, 211, 154, .3); }
.tag-purple { color: #c9b6ff; background: rgba(124, 92, 255, .15); border-color: rgba(124, 92, 255, .33); }
.tag-amber { color: #ffd79a; background: rgba(245, 181, 68, .13); border-color: rgba(245, 181, 68, .3); }
.tag-red { color: #ffb3b3; background: rgba(255, 107, 107, .13); border-color: rgba(255, 107, 107, .32); }

.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; }

input, select, textarea {
  width: 100%; height: 40px; padding: 0 12px;
  background: rgba(6, 9, 15, .8);
  border: 1px solid var(--line-strong);
  border-radius: 10px; color: var(--text); font-size: 13.5px; font-family: inherit;
  outline: none; transition: border-color .16s, box-shadow .16s;
}
textarea { height: auto; padding: 10px 12px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: rgba(76, 141, 255, .7);
  box-shadow: 0 0 0 3px rgba(76, 141, 255, .16);
}
input::placeholder { color: #55627a; }
select {
  appearance: none; cursor: pointer; padding-right: 30px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2378899f' stroke-width='2.2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
select option { background: #0f1521; }
label.field { display: block; margin-bottom: 14px; }
label.field > span {
  display: block; margin-bottom: 6px; font-size: 12.5px; color: var(--text-2); font-weight: 500;
}
.hint { font-size: 11.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* ---------- 顶部导航（落地页） ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(5, 7, 13, .72);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: 64px; display: flex; align-items: center; gap: 26px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15.5px; letter-spacing: -.2px; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(140deg, #4c8dff, #7c5cff 65%, #2ee6d6);
  display: grid; place-items: center;
  box-shadow: 0 6px 18px -8px rgba(76, 141, 255, .9);
  font-size: 13px; font-weight: 700; color: #fff;
}
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 6px 11px; border-radius: 8px; font-size: 13.5px; color: var(--text-2);
  transition: background .16s, color .16s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ---------- 落地页 ---------- */
.hero { position: relative; padding: 76px 0 40px; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 52px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 9px; border-radius: 999px;
  border: 1px solid rgba(76, 141, 255, .3);
  background: rgba(76, 141, 255, .1);
  font-size: 12px; color: #b9d2ff; margin-bottom: 22px;
}
.hero h1 { font-size: 46px; line-height: 1.16; letter-spacing: -1.4px; }
.hero-sub { margin-top: 18px; color: var(--text-2); font-size: 15.5px; line-height: 1.75; max-width: 520px; }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 34px; }
.hero-stats div b { display: block; font-size: 21px; letter-spacing: -.5px; }
.hero-stats div span { font-size: 12px; color: var(--muted); }

.code-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(18, 24, 36, .96), rgba(9, 12, 19, .96));
  box-shadow: var(--shadow);
}
.code-head {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px; border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
}
.code-head i { width: 9px; height: 9px; border-radius: 50%; background: #2b3444; display: block; }
.code-head span { margin-left: 6px; font-size: 11.5px; color: var(--muted); font-family: var(--mono); }
.code-body {
  padding: 16px 16px 18px; font-family: var(--mono); font-size: 12.2px; line-height: 1.85;
  color: #cad6ea; overflow-x: auto; white-space: pre;
}
.code-body .k { color: #9db9ff; }
.code-body .s { color: #8de8c8; }
.code-body .c { color: #5d6b81; }
.code-body .n { color: #ffca85; }

section.block { padding: 62px 0; position: relative; z-index: 1; }
.section-head { max-width: 620px; margin-bottom: 32px; }
.section-head h2 { font-size: 27px; letter-spacing: -.7px; }
.section-head p { margin-top: 10px; color: var(--text-2); font-size: 14px; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip {
  height: 30px; padding: 0 13px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03);
  color: var(--text-2); font-size: 12.5px; cursor: pointer;
  transition: all .16s;
}
.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, .24); }
.chip.active {
  background: rgba(76, 141, 255, .16); border-color: rgba(76, 141, 255, .45); color: #cfe0ff;
}

.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(255, 255, 255, .018); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th {
  text-align: left; font-weight: 500; font-size: 12px; color: var(--muted);
  padding: 11px 16px; background: rgba(255, 255, 255, .025);
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
td { padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .045); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255, 255, 255, .022); }
td.num, th.num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 22px; }
.feature .ico {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(76, 141, 255, .13); border: 1px solid rgba(76, 141, 255, .26);
  color: #a9caff; margin-bottom: 14px;
}
.feature h3 { font-size: 15px; margin-bottom: 7px; }
.feature p { color: var(--text-2); font-size: 13px; line-height: 1.65; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { padding: 24px; position: relative; }
.step b {
  font-family: var(--mono); font-size: 12px; color: #9db9ff;
  display: inline-block; margin-bottom: 12px;
  border: 1px solid rgba(76, 141, 255, .32); background: rgba(76, 141, 255, .12);
  padding: 1px 9px; border-radius: 999px;
}
.step h3 { font-size: 15px; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 13px; }

.faq { display: grid; gap: 10px; max-width: 860px; }
details.qa {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .02); padding: 0 16px;
}
details.qa summary {
  cursor: pointer; padding: 14px 0; font-size: 13.8px; font-weight: 500; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; color: var(--muted); font-family: var(--mono); font-size: 16px; }
details.qa[open] summary::after { content: "−"; }
details.qa p { padding: 0 0 15px; color: var(--text-2); font-size: 13px; line-height: 1.7; }

.footer { border-top: 1px solid var(--line); padding: 30px 0 44px; margin-top: 30px; position: relative; z-index: 1; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 12.5px; }
.footer-inner a:hover { color: var(--text-2); }

/* ---------- 登录 ---------- */
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1fr 480px; }
.auth-side { padding: 54px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-side .quote { max-width: 420px; }
.auth-side blockquote { font-size: 22px; line-height: 1.55; letter-spacing: -.4px; margin: 0 0 16px; }
.auth-panel { border-left: 1px solid var(--line); background: rgba(8, 11, 19, .72); padding: 54px 46px; display: flex; flex-direction: column; justify-content: center; }
.tabs { display: flex; gap: 4px; padding: 4px; background: rgba(255, 255, 255, .04); border-radius: 11px; margin-bottom: 26px; }
.tabs button {
  flex: 1; height: 34px; border: 0; border-radius: 8px; background: transparent;
  color: var(--text-2); font-size: 13px; cursor: pointer; transition: all .16s;
}
.tabs button.active { background: rgba(255, 255, 255, .1); color: var(--text); box-shadow: 0 2px 8px -2px rgba(0, 0, 0, .6); }
.demo-box { margin-top: 22px; padding: 13px 15px; border-radius: 10px; border: 1px dashed rgba(255, 255, 255, .16); font-size: 12px; color: var(--text-2); }
.demo-box code { font-family: var(--mono); color: #a9caff; }

/* ---------- 控制台外壳 ---------- */
.shell { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh; position: relative; z-index: 1; }
.sidebar {
  border-right: 1px solid var(--line);
  background: rgba(6, 9, 15, .6);
  padding: 18px 14px;
  display: flex; flex-direction: column; gap: 4px;
  position: sticky; top: 0; height: 100vh;
}
.sidebar .logo { padding: 4px 6px 18px; }
.side-label {
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: #55627a; padding: 14px 10px 7px;
}
.side-link {
  display: flex; align-items: center; gap: 10px;
  height: 36px; padding: 0 11px; border-radius: 9px;
  color: var(--text-2); font-size: 13.5px; cursor: pointer;
  border: 1px solid transparent; transition: all .15s;
}
.side-link:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.side-link.active {
  background: linear-gradient(90deg, rgba(76, 141, 255, .18), rgba(76, 141, 255, .06));
  border-color: rgba(76, 141, 255, .28);
  color: #d8e6ff;
}
.side-link svg { opacity: .85; flex: none; }
.side-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: 62px; display: flex; align-items: center; gap: 14px;
  padding: 0 26px; border-bottom: 1px solid var(--line);
  background: rgba(6, 9, 15, .55); backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 20;
}
.topbar h1 { font-size: 16px; font-weight: 600; }
.balance-pill {
  margin-left: auto; display: flex; align-items: center; gap: 9px;
  padding: 5px 6px 5px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .04);
  font-size: 12.5px; color: var(--text-2);
}
.balance-pill b { color: var(--text); font-family: var(--mono); font-size: 13px; }
.avatar {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(140deg, #4c8dff, #7c5cff); color: #fff; font-size: 11.5px; font-weight: 600;
}
.content { padding: 24px 26px 48px; max-width: 1240px; width: 100%; }

/* 统计卡 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 17px 18px; }
.stat .k { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.stat .v { font-size: 25px; font-weight: 600; letter-spacing: -.7px; margin-top: 7px; font-family: var(--mono); }
.stat .v small { font-size: 12.5px; font-weight: 400; color: var(--muted); margin-left: 3px; font-family: inherit; }
.stat .sub { font-size: 11.5px; color: var(--muted); margin-top: 5px; }

.panel-head { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.panel-head h3 { font-size: 13.8px; font-weight: 600; }
.panel-head .right { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.grid-2 { display: grid; grid-template-columns: 1.62fr 1fr; gap: 14px; }
.chart-box { padding: 8px 14px 12px; }
.chart-box canvas { width: 100%; display: block; }
.legend { display: flex; gap: 14px; padding: 0 18px 12px; font-size: 11.5px; color: var(--muted); }
.legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; margin-right: 5px; }

.bars { padding: 6px 18px 16px; }
.bar-row { display: grid; grid-template-columns: 116px 1fr 62px; align-items: center; gap: 10px; padding: 7px 0; font-size: 12.5px; }
.bar-row .nm { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { display: block; width: 100%; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #4c8dff, #7c5cff); }
.bar-row .vl { text-align: right; font-family: var(--mono); color: var(--text-2); font-size: 11.5px; }

.empty { padding: 40px 20px; text-align: center; color: var(--muted); font-size: 13px; }

/* 列表/表格通用 */
.list-table td { padding: 11px 16px; }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.status-line { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; }
.status-ok { color: #8ce0bd; }
.status-err { color: #ff9b9b; }

/* 弹窗 */
.modal-mask {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(3, 5, 9, .72); backdrop-filter: blur(4px);
  padding: 24px; animation: fade .16s ease;
}
.modal {
  width: 100%; max-width: 470px; background: #0c1119;
  border: 1px solid var(--line-strong); border-radius: 16px;
  box-shadow: 0 30px 80px -30px #000; animation: pop .18s ease;
  max-height: calc(100vh - 60px); display: flex; flex-direction: column;
}
.modal-head { padding: 18px 20px 14px; border-bottom: 1px solid var(--line); display: flex; align-items: center; }
.modal-head h3 { font-size: 15px; }
.modal-head button { margin-left: auto; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 18px; line-height: 1; padding: 4px; }
.modal-body { padding: 20px; overflow-y: auto; }
.modal-foot { padding: 14px 20px 18px; display: flex; gap: 10px; justify-content: flex-end; border-top: 1px solid var(--line); }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.99) } to { opacity: 1; transform: none } }

.key-box {
  font-family: var(--mono); font-size: 13px; color: #b9e6ff;
  background: rgba(46, 230, 214, .07); border: 1px dashed rgba(46, 230, 214, .35);
  border-radius: 10px; padding: 12px 13px; word-break: break-all; line-height: 1.6;
}

/* toast */
.toasts { position: fixed; right: 22px; bottom: 22px; z-index: 200; display: flex; flex-direction: column; gap: 9px; }
.toast {
  min-width: 220px; max-width: 380px; padding: 11px 15px; border-radius: 10px;
  background: #101724; border: 1px solid var(--line-strong); font-size: 13px;
  box-shadow: 0 16px 40px -18px #000; animation: slide .22s ease;
  display: flex; align-items: center; gap: 9px;
}
.toast.ok { border-color: rgba(53, 211, 154, .4); }
.toast.err { border-color: rgba(255, 107, 107, .45); }
@keyframes slide { from { opacity: 0; transform: translateX(14px) } to { opacity: 1; transform: none } }

/* 充值卡 */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tier {
  border: 1px solid var(--line-strong); border-radius: 12px; padding: 16px;
  cursor: pointer; background: rgba(255, 255, 255, .02); transition: all .16s; text-align: left;
}
.tier:hover { border-color: rgba(76, 141, 255, .45); background: rgba(76, 141, 255, .06); }
.tier.active { border-color: #4c8dff; background: rgba(76, 141, 255, .12); box-shadow: 0 0 0 1px rgba(76, 141, 255, .4) inset; }
.tier b { display: block; font-size: 21px; letter-spacing: -.5px; font-family: var(--mono); }
.tier span { font-size: 11.5px; color: var(--muted); }
.tier .bonus { color: #8ce0bd; font-size: 11.5px; margin-top: 4px; display: block; }

.pager { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-top: 1px solid var(--line); }
.pager .info { margin-right: auto; font-size: 12px; color: var(--muted); }

.filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.filters select, .filters input { height: 32px; width: auto; min-width: 118px; font-size: 12.5px; border-radius: 8px; }

.split { display: grid; grid-template-columns: 1fr 340px; gap: 14px; }

/* 文档页 */
.doc-shell { display: grid; grid-template-columns: 216px 1fr; gap: 40px; padding: 34px 0 70px; position: relative; z-index: 1; }
.doc-nav { position: sticky; top: 88px; align-self: start; display: flex; flex-direction: column; gap: 2px; }
.doc-nav a { padding: 6px 10px; border-radius: 7px; font-size: 13px; color: var(--text-2); }
.doc-nav a:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.doc-body h2 { font-size: 22px; margin: 40px 0 14px; padding-top: 8px; letter-spacing: -.4px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-size: 15px; margin: 24px 0 10px; }
.doc-body p { color: var(--text-2); margin-bottom: 12px; line-height: 1.8; }
.doc-body ul, .doc-body ol { color: var(--text-2); padding-left: 22px; margin: 0 0 14px; line-height: 1.85; }
.doc-body li { margin-bottom: 4px; }
.doc-body code {
  font-family: var(--mono); font-size: 12.4px; color: #b9d2ff;
  background: rgba(76, 141, 255, .1); border: 1px solid rgba(76, 141, 255, .18);
  padding: 1px 5px; border-radius: 5px;
}
.doc-body pre {
  background: #080b12; border: 1px solid var(--line); border-radius: 11px;
  padding: 14px 16px; overflow-x: auto; font-family: var(--mono); font-size: 12.3px;
  color: #c3cee2; line-height: 1.75; margin: 0 0 16px; position: relative;
}
.doc-body pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.note {
  border-left: 2px solid rgba(76, 141, 255, .6); background: rgba(76, 141, 255, .07);
  padding: 11px 14px; border-radius: 0 10px 10px 0; color: var(--text-2); font-size: 13px;
  margin: 0 0 16px;
}

@media (max-width: 1080px) {
  .hero-grid, .grid-2, .split { grid-template-columns: 1fr; gap: 26px; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .doc-shell { grid-template-columns: 1fr; }
  .doc-nav { display: none; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; flex-direction: row; overflow-x: auto; padding: 10px; }
  .sidebar .logo, .side-label, .side-foot { display: none; }
  .hero h1 { font-size: 34px; }
  .features, .steps { grid-template-columns: 1fr; }
  .content { padding: 18px 14px 40px; }
  .topbar { padding: 0 14px; }
  .wrap { width: calc(100% - 28px); }
}

/* ---------- 官网：模型矩阵 / 能力卡 / 代码 tab ---------- */
.vendor-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(184px, 1fr));
  gap: 10px; margin-bottom: 8px;
}
.vendor-card {
  text-align: left; cursor: pointer; position: relative;
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 14px 13px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .022);
  transition: all .16s; color: var(--text);
}
.vendor-card:hover {
  border-color: rgba(76, 141, 255, .42); background: rgba(76, 141, 255, .07);
  transform: translateY(-1px);
}
.vendor-dot {
  width: 7px; height: 7px; border-radius: 50%; display: block; margin-bottom: 4px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .05);
}
.vendor-name { font-size: 13.5px; font-weight: 500; }
.vendor-count { font-size: 11.5px; color: var(--muted); }
.vendor-reps {
  font-size: 11.5px; color: var(--text-2); margin-top: 3px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 34px;
}

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.feature-top .ico { margin-bottom: 0; }
.spec-row {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px;
  padding-top: 10px; border-top: 1px solid var(--line);
}
.spec-row span {
  font-size: 11.5px; color: var(--muted);
  font-family: var(--mono); letter-spacing: .02em;
}

.tab-bar { display: flex; gap: 4px; padding: 4px; background: rgba(255, 255, 255, .04); border-radius: 11px; margin-bottom: 14px; width: fit-content; }
.tab-bar .tab {
  height: 32px; padding: 0 16px; border: 0; border-radius: 8px; background: transparent;
  color: var(--text-2); font-size: 12.5px; cursor: pointer; transition: all .16s; white-space: nowrap;
}
.tab-bar .tab.active { background: rgba(255, 255, 255, .1); color: var(--text); }
.code-block {
  margin: 0; padding: 16px 18px; border-radius: 11px; overflow-x: auto;
  background: rgba(0, 0, 0, .38); border: 1px solid var(--line);
  font-family: var(--mono); font-size: 12.5px; line-height: 1.75; color: #cfd9ea;
  white-space: pre;
}
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: 34px 36px; border-radius: 18px; position: relative; overflow: hidden;
  border: 1px solid rgba(76, 141, 255, .28);
  background:
    radial-gradient(600px 220px at 8% 0%, rgba(76, 141, 255, .2), transparent 70%),
    radial-gradient(520px 220px at 92% 100%, rgba(124, 92, 255, .18), transparent 70%),
    rgba(255, 255, 255, .022);
}
.cta-band h2 { font-size: 22px; letter-spacing: -.5px; }
.cta-band p { color: var(--text-2); margin-top: 8px; font-size: 13.5px; }

/* ---------- 控制台：模型广场 / 用量 / 设置 ---------- */
.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(276px, 1fr)); gap: 12px; }
.model-card {
  padding: 16px 17px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .022); display: flex; flex-direction: column; gap: 8px;
  transition: border-color .16s, background .16s;
}
.model-card:hover { border-color: rgba(76, 141, 255, .32); background: rgba(76, 141, 255, .05); }
.model-card .mc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.model-card .mc-name { font-size: 14px; font-weight: 500; }
.model-card .mc-id { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.model-card .mc-desc { font-size: 12.5px; color: var(--text-2); line-height: 1.6; min-height: 40px; }
.model-card .mc-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding-top: 9px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--muted); font-family: var(--mono);
}
.kv-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.kv-list > div { padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); }
.kv-list .k { font-size: 11.5px; color: var(--muted); }
.kv-list .v { font-size: 15px; font-family: var(--mono); margin-top: 3px; }
.bill-hero { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.heat { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; }
.heat i {
  display: block; height: 26px; border-radius: 5px; background: rgba(76, 141, 255, .1);
  border: 1px solid rgba(255, 255, 255, .04);
}
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .bill-hero { grid-template-columns: 1fr 1fr; }
  .kv-list { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 24px; }
}

/* 表单控件统一品牌色 */
input[type="checkbox"], input[type="radio"] { accent-color: #4c8dff; }
input[type="date"] { color-scheme: dark; }

/* 价目表：表头副标 */
th .sub { display: block; font-size: 10.5px; font-weight: 400; color: var(--muted); margin-top: 1px; letter-spacing: 0; }
td.muted { color: var(--muted); }
