/* 积分门户 C 端 · v2「薄荷墨」皮肤
   墨黑 + 薄荷绿,参考 WorkBuddy 的留白与黑色胶囊按钮。纯系统字体 + 内联 SVG,无外链(CSP 只放行 self)。
   色值对比度已核过:正文墨 #0B1210 / 次要 #3F4A46 / 弱化 #5E6A65(底色上 ≥4.5),链接 #087F5B(白底 5.0)。 */
:root {
  --bg: #F5F7F6; --surface: #FFFFFF; --surface-2: #F9FBFA;
  --ink: #0B1210; --ink-2: #3F4A46; --ink-3: #5E6A65; --ink-4: #8A9691;
  --line: #E3E9E6; --line-2: #D3DCD8;
  --mint: #12B886; --mint-deep: #0E9F74; --mint-ink: #087F5B; --mint-soft: #E6F8F1; --mint-glow: rgba(18, 184, 134, .18);
  --warn: #B45309; --warn-soft: #FEF6E7; --err: #DC2626; --err-soft: #FEF2F2; --peak: #C2410C; --peak-soft: #FFF4EC;
  --ok: #087F5B;
  --r-sm: 10px; --r: 14px; --r-lg: 20px; --r-xl: 28px;
  --shadow-1: 0 1px 2px rgba(11, 18, 16, .04), 0 1px 1px rgba(11, 18, 16, .02);
  --shadow-2: 0 1px 2px rgba(11, 18, 16, .04), 0 10px 28px -12px rgba(11, 18, 16, .14);
  --shadow-3: 0 2px 6px rgba(11, 18, 16, .05), 0 28px 60px -20px rgba(11, 18, 16, .24);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 14px/1.6 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: var(--mint-ink); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { letter-spacing: -.015em; }
::selection { background: #C3F0DE; color: var(--ink); }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--mint-deep); outline-offset: 2px; }

/* 启动占位 */
.boot { min-height: 100vh; display: grid; place-items: center; gap: 14px; align-content: center; color: var(--ink-3); font-size: 13px; }
.boot-mark { width: 44px; height: 44px; border-radius: 14px; background: var(--ink); box-shadow: 0 0 0 6px var(--mint-soft); animation: boot-pulse 1.4s var(--ease) infinite; }
@keyframes boot-pulse { 50% { box-shadow: 0 0 0 12px rgba(230, 248, 241, .4); } }

/* ============ 品牌 ============ */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; letter-spacing: -.01em; color: var(--ink); }
.brand .mark {
  position: relative; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: var(--ink); color: #5EEAB5; font-size: 15px; font-weight: 800; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.brand .mark::after {
  content: ""; position: absolute; right: -6px; bottom: -6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--mint); filter: blur(6px); opacity: .7; pointer-events: none;
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 14px; line-height: 1; cursor: pointer; white-space: nowrap; user-select: none;
  text-decoration: none !important;
  transition: background .15s, border-color .15s, color .15s, transform .15s var(--ease), box-shadow .15s;
}
.btn svg { width: 16px; height: 16px; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 18px -10px rgba(11, 18, 16, .6); }
.btn-primary:hover:not(:disabled) { background: #1E2B27; }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover:not(:disabled) { border-color: var(--ink-4); }
.btn-soft { background: var(--mint-soft); color: var(--mint-ink); }
.btn-soft:hover:not(:disabled) { background: #D5F3E7; }
.btn-sm { height: 32px; padding: 0 13px; font-size: 13px; }
.btn-sm svg { width: 14px; height: 14px; }
.btn-block { width: 100%; height: 48px; font-size: 15px; }
.icon-btn {
  width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid transparent;
  background: transparent; color: var(--ink-3); cursor: pointer; transition: background .15s, color .15s;
}
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover { background: #E9EFEC; color: var(--ink); }
.link-btn { border: 0; background: none; padding: 0; color: var(--mint-ink); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-btn svg, .meta-link svg { width: 14px; height: 14px; }
.spin svg, svg.spin { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ 表单 ============ */
.input {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: #fff; color: var(--ink); font: inherit; outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.input::placeholder { color: var(--ink-4); }
.input:hover { border-color: #C2CDC8; }
.input:focus { border-color: var(--mint-deep); box-shadow: 0 0 0 4px var(--mint-glow); }
.input[readonly] { background: var(--surface-2); }
.input.mono { font-family: var(--mono); font-size: 13px; letter-spacing: .01em; }
select.input { appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235E6A65' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.field { margin-bottom: 16px; }
.field > label, .kv-label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.hint { font-size: 12.5px; color: var(--ink-3); margin: 9px 0 0; line-height: 1.7; }
.hint.warn { color: var(--warn); }
.form-err { min-height: 20px; color: var(--err); font-size: 13px; font-weight: 500; margin: -2px 0 10px; }
.inline-row { display: flex; gap: 8px; align-items: center; }
.inline-row .input { flex: 1; min-width: 0; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; user-select: none; }
.check input { width: 16px; height: 16px; accent-color: var(--mint-ink); margin: 0; }

/* ============ 卡片 ============ */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-1); margin-bottom: 16px; overflow: hidden;
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px 0; }
.card-head h3 { margin: 0; font-size: 15px; font-weight: 650; display: flex; align-items: center; gap: 9px; }
.card-head h3 svg { width: 17px; height: 17px; color: var(--mint-ink); }
.card-head .meta { font-size: 12.5px; color: var(--ink-3); text-align: right; }
.meta-link { font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.card-body { padding: 18px 22px 22px; }
.card-head + .table-wrap { margin-top: 16px; border-top: 1px solid var(--line); }

/* ============ 表格 ============ */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th { text-align: left; font-size: 12px; font-weight: 600; color: var(--ink-3); padding: 11px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th:first-child, td:first-child { padding-left: 22px; }
th:last-child, td:last-child { padding-right: 22px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .12s; }
tbody tr:hover td { background: #FAFCFB; }
.r { text-align: right; }
td .sub-t { color: var(--ink-3); font-size: 12px; font-weight: 400; margin-top: 2px; }
.plus { color: var(--mint-ink); font-weight: 700; }

/* ============ 标签 ============ */
.tag {
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px;
  font-size: 12px; font-weight: 600; background: #EEF2F0; color: var(--ink-2); white-space: nowrap; vertical-align: middle;
}
.tag svg { width: 12px; height: 12px; }
.tag.ok { background: var(--mint-soft); color: var(--mint-ink); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.peak { background: var(--peak-soft); color: var(--peak); }
.tag.err { background: var(--err-soft); color: var(--err); }
.tag.gray { background: #EEF2F0; color: var(--ink-3); }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }

/* ============ 提示条 / 说明块 ============ */
.callout {
  display: flex; gap: 10px; padding: 13px 15px; border-radius: 14px; background: var(--mint-soft);
  color: var(--ink-2); font-size: 13px; line-height: 1.75; border: 1px solid #CDEFE0;
}
.callout > svg { width: 17px; height: 17px; color: var(--mint-ink); margin-top: 2px; }
.callout.warn { background: var(--warn-soft); border-color: #F6E2BF; }
.callout.warn > svg { color: var(--warn); }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; margin-bottom: 16px; font-size: 13.5px; font-weight: 500; }
.notice svg { width: 18px; height: 18px; margin-top: 1px; }
.notice.err { background: var(--err-soft); color: var(--err); border: 1px solid #FBD5D5; }
code.k {
  font-family: var(--mono); font-size: .9em; padding: 1px 6px; border-radius: 6px;
  background: #EEF2F0; color: var(--ink); border: 1px solid var(--line); word-break: break-all;
}

/* ============ 空态 / 加载骨架 ============ */
.empty { padding: 44px 24px; text-align: center; color: var(--ink-3); font-size: 13.5px; }
.empty-state { display: grid; justify-items: center; gap: 8px; padding: 48px 24px; text-align: center; color: var(--ink-3); font-size: 13.5px; }
.empty-state .es-ic { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint-ink); margin-bottom: 6px; }
.empty-state .es-ic svg { width: 22px; height: 22px; }
.empty-state p { margin: 0; max-width: 420px; }
.skel { border-radius: 12px; background: linear-gradient(90deg, #ECF0EE 25%, #F5F8F6 50%, #ECF0EE 75%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.skel-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.loading { padding: 40px; text-align: center; color: var(--ink-3); }

/* ============ 分页 ============ */
.pager { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.pager .info { margin-right: auto; font-size: 12.5px; color: var(--ink-3); }

/* ============ Toast ============ */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 100;
  display: flex; align-items: center; gap: 9px; max-width: min(560px, calc(100vw - 32px));
  padding: 11px 18px 11px 14px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 13.5px; font-weight: 500; box-shadow: var(--shadow-3); animation: toast-in .3s var(--ease);
}
.toast svg { width: 17px; height: 17px; }
.toast.ok svg { color: #5EEAB5; }
.toast.err svg { color: #FCA5A5; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px) scale(.98); } }

/* ============ 背景极光(纯装饰,不吃点击)============ */
.aurora { position: absolute; inset: 0 0 auto 0; height: 760px; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.aurora i:nth-child(1) { width: 560px; height: 420px; left: -140px; top: 220px; background: #BDF2DC; }
.aurora i:nth-child(2) { width: 520px; height: 380px; right: -120px; top: 120px; background: #C9F5E4; }
.aurora i:nth-child(3) { width: 420px; height: 300px; left: 38%; top: -160px; background: #E1FAF0; }
.aurora::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(11, 18, 16, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 18, 16, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.aurora.soft { height: 420px; }
.aurora.soft i { opacity: .4; }

/* ============ 顶部导航(登录页 / 公开页)============ */
.topnav { position: relative; z-index: 5; }
.topnav-in { max-width: 1200px; margin: 0 auto; padding: 18px 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topnav-links { display: flex; align-items: center; gap: 6px; }
.topnav-links > a:not(.btn) { padding: 7px 12px; border-radius: 999px; color: var(--ink-2); font-weight: 550; font-size: 14px; text-decoration: none; transition: background .15s, color .15s; }
.topnav-links > a:not(.btn):hover { background: rgba(11, 18, 16, .05); color: var(--ink); }
.topnav-links > a.on { color: var(--mint-ink); background: var(--mint-soft); }
.topnav-links .btn { margin-left: 8px; }

/* ============ 登录页 ============ */
.auth-page, .doc-page { position: relative; min-height: 100vh; overflow-x: hidden; display: flex; flex-direction: column; }
.auth-hero {
  position: relative; z-index: 2; flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 40px 32px 48px;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); grid-template-areas: "copy auth" "term auth";
  column-gap: 64px; row-gap: 32px; align-items: start;
}
.hero-copy { grid-area: copy; padding-top: 18px; }
.hero-term { grid-area: term; }
.auth-card { grid-area: auth; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; height: 30px; padding: 0 13px 0 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line); box-shadow: var(--shadow-1);
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
}
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--mint); opacity: 0; animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.hero-title { margin: 22px 0 18px; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.08; font-weight: 780; letter-spacing: -.035em; }
.grad { background: linear-gradient(100deg, #087F5B 10%, #0E9F74 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin: 0; max-width: 540px; font-size: 16.5px; line-height: 1.75; color: var(--ink-2); }
.lede b { color: var(--ink); }
.client-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.client-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); font-size: 13.5px; font-weight: 600;
}
.client-pill .cp-logo { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--ink); color: #5EEAB5; font-size: 12px; font-weight: 800; }
.client-pill .cp-tag { font-size: 11px; font-weight: 700; color: var(--mint-ink); background: var(--mint-soft); padding: 1px 7px; border-radius: 999px; }

/* 终端演示 */
.term { border-radius: 18px; background: #0B1210; box-shadow: var(--shadow-3), inset 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3A4642; }
.term-bar i:nth-child(1) { background: #FF5F57; } .term-bar i:nth-child(2) { background: #FEBC2E; } .term-bar i:nth-child(3) { background: #28C840; }
.term-bar span { margin-left: 8px; font-size: 12px; color: #8B9893; font-weight: 500; }
.term-body {
  margin: 0; padding: 16px 18px 18px; height: 292px; overflow: hidden; font: 12.5px/1.7 var(--mono);
  color: #D7E0DC; white-space: pre-wrap; word-break: break-all;
}
.t-prompt { color: #5EEAB5; font-weight: 700; }
.t-cmd { color: #F2F6F4; }
.t-out { color: #D7E0DC; }
.t-dim { color: #8B9893; }
.t-key { color: #A7B3AE; }
.t-ok { color: #5EEAB5; font-weight: 700; }
.t-caret { display: inline-block; width: 8px; height: 15px; margin-left: 2px; vertical-align: -3px; background: #5EEAB5; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* 登录卡(毛玻璃) */
.auth-card {
  position: sticky; top: 24px; padding: 28px; border-radius: 26px;
  background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow-3), 0 0 0 1px rgba(11, 18, 16, .04);
}
.auth-card-head h2 { margin: 0; font-size: 22px; font-weight: 750; }
.auth-card-head p { margin: 4px 0 20px; color: var(--ink-3); font-size: 13.5px; }
.seg { display: inline-flex; gap: 3px; padding: 4px; border-radius: 14px; background: #ECF1EF; border: 1px solid var(--line); }
.seg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 16px; border-radius: 10px;
  border: 0; background: transparent; color: var(--ink-3); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s;
}
.seg-btn svg { width: 15px; height: 15px; }
.seg-btn:hover { color: var(--ink); }
.seg-btn.active { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(11, 18, 16, .08), 0 2px 8px -2px rgba(11, 18, 16, .1); }
.seg-auth { display: flex; margin-bottom: 20px; }
.seg-auth .seg-btn { flex: 1; }
.auth-alt { text-align: center; margin: 16px 0 0; font-size: 13px; color: var(--ink-3); }
.trust { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px dashed var(--line-2); display: grid; gap: 9px; }
.trust li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-2); }
.trust svg { width: 16px; height: 16px; color: var(--mint-ink); }

/* 模型跑马灯 */
.marquee {
  position: relative; z-index: 2; overflow: hidden; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .6);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.mq-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-run { display: flex; gap: 12px; padding-right: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.mq-chip {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-radius: 999px; white-space: nowrap;
  background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--ink-3);
}
.mq-chip b { color: var(--ink); font-size: 13px; }
.mq-chip .mq-rate { color: var(--mint-ink); font-weight: 600; }
.mq-chip .mq-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }

.site-foot {
  position: relative; z-index: 2; max-width: 1200px; width: 100%; margin: 0 auto; padding: 22px 32px 30px;
  display: flex; justify-content: space-between; gap: 16px; font-size: 12.5px; color: var(--ink-3);
}
.site-foot a { color: var(--ink-3); margin-left: 16px; }
.site-foot a:hover { color: var(--ink); }

/* ============ 公开文档页(未登录看计费 / FAQ)============ */
.doc-main { position: relative; z-index: 2; flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 28px 32px 40px; }
.doc-head { margin: 8px 0 28px; }
.doc-head h1 { margin: 16px 0 6px; font-size: clamp(30px, 3.6vw, 44px); font-weight: 780; letter-spacing: -.03em; line-height: 1.1; }
.doc-head p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* ============ 控制台外壳 ============ */
.shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 18px; padding: 18px 14px 14px;
  border-right: 1px solid var(--line); background: linear-gradient(180deg, #FBFCFC 0%, #F2F6F4 100%); overflow-y: auto;
}
.side-top { display: grid; gap: 16px; }
.side-brand { padding: 2px 8px; }

/* 侧栏余额卡(墨底 + 薄荷光晕) */
.wallet { position: relative; overflow: hidden; padding: 16px 16px 15px; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: 0 14px 30px -18px rgba(11, 18, 16, .8); }
.wallet-glow { position: absolute; right: -40px; top: -50px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(18, 184, 134, .55), transparent 65%); pointer-events: none; }
.wallet .k { position: relative; display: flex; align-items: center; gap: 6px; font-size: 12px; color: #A7B3AE; font-weight: 500; }
.wallet .k svg { width: 14px; height: 14px; }
.wallet .v { position: relative; margin-top: 6px; font-size: 27px; line-height: 1.1; font-weight: 750; letter-spacing: -.02em; }
.wallet .sub { position: relative; margin-top: 4px; font-size: 12px; color: #A7B3AE; }

.side-nav { display: grid; gap: 2px; }
.nav-group-label { padding: 12px 10px 6px; font-size: 11.5px; font-weight: 650; letter-spacing: .06em; color: var(--ink-4); }
.nav-group-label:first-child { padding-top: 0; }
.nav-item {
  position: relative; display: flex; align-items: center; gap: 11px; height: 40px; padding: 0 12px; border-radius: 12px;
  color: var(--ink-2); font-weight: 560; font-size: 14px; text-decoration: none !important; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.nav-item svg { width: 18px; height: 18px; color: var(--ink-3); transition: color .15s; }
.nav-item:hover { background: rgba(11, 18, 16, .045); color: var(--ink); }
.nav-item.active { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-1); }
.nav-item.active svg { color: var(--mint-ink); }
.nav-item.active::before { content: ""; position: absolute; left: -15px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--mint-deep); }

.side-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.me { display: flex; align-items: center; gap: 10px; padding: 6px 4px 2px 6px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint-ink); font-weight: 750; font-size: 14px; border: 1px solid #CDEFE0; }
.me-txt { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.me-txt b { font-size: 13.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-txt span { font-size: 11.5px; color: var(--ink-3); }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(245, 247, 246, .86); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); }
.topbar-in { max-width: 1180px; margin: 0 auto; padding: 16px 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.page-title { margin: 0; font-size: 21px; font-weight: 750; letter-spacing: -.02em; line-height: 1.3; }
.page-sub { margin: 1px 0 0; font-size: 13px; color: var(--ink-3); }
.topbar-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.content-inner { width: 100%; max-width: 1180px; margin: 0 auto; padding: 26px 36px 72px; }

/* 高峰状态胶囊:图标 + 文字,不只靠颜色 */
.peak-pill { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; border: 1px solid; }
.peak-pill svg { width: 14px; height: 14px; }
.peak-pill.calm { background: var(--mint-soft); color: var(--mint-ink); border-color: #CDEFE0; }
.peak-pill.hot { background: var(--peak-soft); color: var(--peak); border-color: #FBD9C4; }
.peak-pill.off { background: #fff; color: var(--ink-2); border-color: var(--line); }

/* ============ 概览:便当格 ============ */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.bento > * { margin: 0; min-width: 0; }
.span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; } .span-12 { grid-column: 1 / -1; }

/* 余额主卡 */
.balance-hero {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  min-height: 232px; padding: 24px 26px; border-radius: 22px; background: var(--ink); color: #fff; box-shadow: 0 24px 50px -28px rgba(11, 18, 16, .85);
}
.hero-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(420px 260px at 92% 0%, rgba(18, 184, 134, .42), transparent 60%),
    radial-gradient(300px 200px at 70% 120%, rgba(94, 234, 181, .18), transparent 60%);
}
.hero-fx::after { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(120deg, transparent 35%, #000 100%); mask-image: linear-gradient(120deg, transparent 35%, #000 100%);
}
.bh-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.balance-hero .lead { font-size: 13px; color: #A7B3AE; font-weight: 500; }
.balance-hero .big { font-size: clamp(42px, 5vw, 60px); line-height: 1; font-weight: 780; letter-spacing: -.035em; }
.balance-hero .big small { margin-left: 10px; font-size: 16px; font-weight: 600; letter-spacing: 0; color: #A7B3AE; }
.balance-hero .yuan { margin-top: 10px; font-size: 13.5px; color: #C4CEC9; }
.bh-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.bh-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #D7E0DC; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.bh-chip svg { width: 13px; height: 13px; }
.bh-chip.ok { color: #5EEAB5; background: rgba(18, 184, 134, .14); border-color: rgba(94, 234, 181, .25); }
.bh-chip.bad { color: #FCA5A5; background: rgba(220, 38, 38, .16); border-color: rgba(252, 165, 165, .3); }

/* 充值卡 */
.topup .card-body { display: flex; flex-direction: column; gap: 0; }
.pkgs { display: grid; gap: 8px; margin-top: 16px; }
.pkg { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 14px; background: var(--surface-2); border: 1px dashed var(--line-2); font-size: 13px; color: var(--ink-2); }
.pkg b { font-size: 16px; color: var(--ink); font-weight: 700; }
.pkg .pkg-price { font-weight: 700; color: var(--ink); }
.pkg .pkg-bonus { color: var(--mint-ink); font-weight: 600; font-size: 12px; }

/* 密钥卡 */
.cred-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cred-row:first-child { padding-top: 0; }
.cred-row:last-of-type { border-bottom: 0; }
.cred-row > label, .cred-row > .kv-label { margin: 0; display: grid; gap: 1px; }
.cred-row > label b, .cred-row > .kv-label b { font-size: 13.5px; color: var(--ink); font-weight: 650; }
.cred-row > label span, .cred-row > .kv-label span { font-size: 12px; color: var(--ink-3); font-weight: 500; }

/* ============ 用量柱图 ============ */
.chart-card { overflow: visible; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 16px 22px 0; }
.stat { padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); min-width: 0; }
.stat .k { display: block; font-size: 12px; color: var(--ink-3); font-weight: 550; }
.stat b { display: block; margin-top: 3px; font-size: 21px; line-height: 1.2; font-weight: 750; letter-spacing: -.02em; }
.stat .u { display: block; margin-top: 1px; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viz { position: relative; padding: 18px 22px 18px 22px; }
.plot { position: relative; height: 176px; margin-left: 44px; }
.gridline { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--line); pointer-events: none; }
.gridline.base { border-top-color: var(--line-2); }
.gridline span { position: absolute; right: calc(100% + 8px); top: -8px; font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.bars { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; gap: 2px; }
.col { flex: 1 1 0; max-width: 26px; height: 100%; display: flex; align-items: flex-end; justify-content: center; cursor: default; }
.bar { display: block; width: 100%; max-width: 24px; border-radius: 4px 4px 0 0; background: #0E9F74; transition: background .12s; }
.bar.zero { height: 2px !important; background: var(--line-2); border-radius: 1px; }
.col:hover .bar, .col.on .bar { background: #087F5B; }
.bars:hover .col:not(:hover) .bar:not(.zero) { background: #6CCBA9; }
.x-axis { display: flex; justify-content: space-between; margin: 8px 0 0 44px; font-size: 11px; color: var(--ink-3); }
.viz-tip {
  position: absolute; z-index: 30; top: 6px; min-width: 170px; padding: 10px 12px; border-radius: 12px; pointer-events: none;
  background: var(--ink); color: #fff; font-size: 12px; line-height: 1.6; box-shadow: var(--shadow-3); transform: translateX(-50%);
}
.viz-tip b { display: block; font-size: 14px; }
.viz-tip span { display: block; color: #C4CEC9; white-space: nowrap; }
.chart-empty { display: grid; justify-items: center; gap: 6px; padding: 44px 24px 48px; text-align: center; color: var(--ink-3); font-size: 13.5px; }
.chart-empty .es-ic { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint-ink); margin-bottom: 6px; }
.chart-empty .es-ic svg { width: 22px; height: 22px; }
.chart-empty b { color: var(--ink); font-size: 15px; }
.chart-empty p { margin: 0; max-width: 380px; }
/* 无数据时的示意柱(纯装饰) */
.ghost-bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; margin-bottom: 10px; pointer-events: none; }
.ghost-bars i { width: 12px; border-radius: 4px 4px 0 0; background: #DDEBE5; }

/* ============ 快速上手清单 ============ */
.start-card .card-body { padding-top: 14px; }
.progress { height: 6px; border-radius: 999px; background: #E9EFEC; overflow: hidden; margin: 14px 22px 0; }
.progress i { display: block; height: 100%; border-radius: 999px; background: var(--mint-deep); transition: width .4s var(--ease); }
.steps-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.steps-check li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 10px 0; }
.sc-dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); color: var(--ink-3); font-size: 12px; font-weight: 700; background: #fff; }
.sc-dot svg { width: 14px; height: 14px; }
.steps-check li.done .sc-dot { background: var(--mint-deep); border-color: var(--mint-deep); color: #fff; }
.steps-check b { display: block; font-size: 13.5px; font-weight: 650; line-height: 1.5; }
.steps-check li.done b { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--line-2); }
.steps-check p { margin: 1px 0 0; font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }
.steps-check .link-btn, .steps-check a { font-size: 12.5px; }

/* ============ 补丁:兜底与零碎 ============ */
:where(svg) { width: 1em; height: 1em; }          /* 零特异性兜底,防止漏写尺寸的图标撑满 */
.eyebrow svg { width: 14px; height: 14px; color: var(--mint-ink); }
.doc-head .eyebrow { margin-bottom: 2px; }
td.sub-t { color: var(--ink-3); font-size: 12.5px; white-space: nowrap; }
.empty-state b { color: var(--ink); font-size: 15px; }
.tags .tag { display: inline-flex; align-items: center; gap: 4px; }
.cmd .btn-sm { height: 34px; }
.formula { white-space: pre; overflow-x: auto; word-break: normal; }
/* 极光底部渐隐,避免出现一条硬边 */
.aurora { -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
/* 文档页与顶栏左右对齐;FAQ 收窄便于阅读 */
.doc-main { max-width: 1200px; }
.doc-page .faq, .doc-page .contact-card { max-width: 880px; }

/* ============ 配置教程 ============ */
.client-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
.client-tile {
  position: relative; display: grid; justify-items: start; gap: 8px; padding: 14px; border-radius: 16px; text-align: left;
  background: #fff; border: 1px solid var(--line); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s var(--ease);
}
.client-tile:hover { border-color: var(--line-2); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.client-tile.active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), var(--shadow-2); }
.client-tile .ct-logo { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: #EEF2F0; color: var(--ink-2); font-size: 15px; font-weight: 800; transition: background .15s, color .15s; }
.client-tile.active .ct-logo { background: var(--ink); color: #5EEAB5; }
.client-tile .ct-name { font-size: 14.5px; font-weight: 700; }
.client-tile .ct-tag { font-size: 11.5px; font-weight: 650; color: var(--ink-3); }
.client-tile .ct-tag.ok { color: var(--mint-ink); }
.client-tile .ct-check { position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; display: none; place-items: center; background: var(--ink); color: #fff; }
.client-tile .ct-check svg { width: 12px; height: 12px; }
.client-tile.active .ct-check { display: grid; }
.seg-os { margin-bottom: 18px; }

/* 时间线步骤 */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.steps > li { position: relative; counter-increment: s; padding: 0 0 22px 46px; }
.steps > li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1.5px solid var(--line-2); font-size: 13px; font-weight: 750; color: var(--ink);
}
.steps > li::after { content: ""; position: absolute; left: 14.5px; top: 34px; bottom: 4px; width: 1.5px; background: var(--line); }
.steps > li:last-child { padding-bottom: 4px; }
.steps > li:last-child::after { display: none; }
.steps h4 { margin: 4px 0 4px; font-size: 14.5px; font-weight: 700; }
.steps p { margin: 0 0 10px; color: var(--ink-2); font-size: 13.5px; line-height: 1.75; }
.steps .btn { margin-top: 2px; }

/* 终端风命令条 */
.cmd { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: 14px; background: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.cmd-prompt { color: #5EEAB5; font: 700 13px var(--mono); }
.cmd-input { flex: 1; min-width: 0; height: 36px; border: 0; outline: none; background: transparent; color: #F2F6F4; font: 12.5px var(--mono); }
.cmd-input:focus-visible { outline: none; }
.cmd .btn { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .12); }
.cmd .btn:hover { background: rgba(255, 255, 255, .18); }

/* ============ 计费说明 ============ */
.bill-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px; align-items: start; }
.bill-grid > .card { margin: 0 0 16px; }
.formula {
  padding: 18px 20px; border-radius: 16px; background: var(--ink); color: #D7E0DC;
  font: 13.5px/1.9 var(--mono); word-break: break-word;
}
.formula .f-l { color: #fff; font-weight: 700; }
.formula .f-fn { color: #5EEAB5; }
.formula .f-v { color: #fff; border-bottom: 1px dashed rgba(255, 255, 255, .3); }
.formula b { color: #5EEAB5; }
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.rule { display: grid; gap: 1px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.rule .rule-k { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); font-weight: 550; }
.rule .rule-k svg { width: 13px; height: 13px; }
.rule b { font-size: 19px; font-weight: 750; letter-spacing: -.02em; }
.rule .rule-d { font-size: 12px; color: var(--ink-3); }
.prose p { margin: 0 0 14px; color: var(--ink-2); font-size: 13.5px; line-height: 1.8; }


/* ============ 常见问题(手风琴)============ */
.faq { display: grid; gap: 10px; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-1); transition: border-color .15s, box-shadow .15s; }
.qa[open] { border-color: var(--line-2); box-shadow: var(--shadow-2); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; cursor: pointer; font-size: 14.5px; font-weight: 650; }
.qa summary::-webkit-details-marker { display: none; }
.qa-ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: #EEF2F0; color: var(--ink-2); transition: transform .2s var(--ease), background .15s, color .15s; }
.qa[open] .qa-ic { transform: rotate(45deg); background: var(--ink); color: #fff; }
.qa-a { padding: 0 20px 18px; color: var(--ink-2); font-size: 13.5px; line-height: 1.8; }
.contact-card { margin-top: 16px; display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.contact-card .es-ic { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint-ink); }
.contact-card .es-ic svg { width: 20px; height: 20px; }
.contact-card b { display: block; font-size: 14.5px; }
.contact-card span { color: var(--ink-2); font-size: 13.5px; }

/* ============ 响应式 ============ */
@media (max-width: 1180px) {
  .span-7, .span-5 { grid-column: 1 / -1; }
  .span-8, .span-4 { grid-column: 1 / -1; }
  .bill-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 980px) {
  .auth-hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "auth" "term"; padding-top: 16px; column-gap: 0; }
  .auth-card { position: relative; top: 0; }
  .hero-title { font-size: clamp(32px, 8vw, 46px); }
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar {
    position: relative; height: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
    gap: 10px 12px; padding: 12px 16px 10px; border-right: 0; border-bottom: 1px solid var(--line); overflow: visible;
  }
  .side-top { grid-column: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
  .wallet { padding: 7px 14px; border-radius: 999px; box-shadow: none; display: flex; align-items: baseline; gap: 6px; }
  .wallet .k, .wallet .wallet-glow { display: none; }
  .wallet .v { margin: 0; font-size: 16px; }
  .wallet .sub { margin: 0; font-size: 11px; }
  .side-foot { grid-column: 2; grid-row: 1; margin: 0; padding: 0; border: 0; }
  .me { padding: 0; }
  .me .avatar, .me .me-txt { display: none; }
  .side-nav { grid-column: 1 / -1; display: flex; gap: 6px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 4px; scrollbar-width: none; }
  .side-nav::-webkit-scrollbar { display: none; }
  .nav-group-label { display: none; }
  .nav-item { flex: none; height: 34px; padding: 0 12px; border-radius: 999px; font-size: 13px; border-color: var(--line); background: #fff; }
  .nav-item svg { width: 15px; height: 15px; }
  .nav-item.active { background: var(--ink); color: #fff; border-color: var(--ink); }
  .nav-item.active svg { color: #5EEAB5; }
  .nav-item.active::before { display: none; }
  .topbar { position: relative; }
  .topbar-in { padding: 16px 16px 14px; flex-wrap: wrap; }
  .content-inner { padding: 18px 16px 56px; }
  .cred-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 640px) {
  .topnav-in { padding: 14px 16px; }
  .topnav-links > a:not(.btn) { padding: 6px 9px; font-size: 13px; }
  .auth-hero { padding: 10px 16px 32px; row-gap: 22px; }
  .auth-card { padding: 22px 18px; border-radius: 22px; }
  .lede { font-size: 15px; }
  .term-body { height: 300px; font-size: 11.5px; }
  .doc-main { padding: 18px 16px 32px; }
  .site-foot { padding: 18px 16px 26px; flex-direction: column; }
  .site-foot a { margin: 0 14px 0 0; }
  .balance-hero { padding: 20px; min-height: 0; }
  .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 14px 16px 0; }
  .stats .stat:last-child { display: none; }
  .viz { padding: 16px; }
  .card-head { padding: 16px 16px 0; }
  .card-body { padding: 16px; }
  .inline-row { flex-wrap: wrap; }
  .inline-row .input { flex-basis: 100%; }
  .inline-row .btn { flex: 1; }
  .rules { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cmd { flex-wrap: wrap; padding: 10px 10px 10px 14px; }
  .cmd-input { flex-basis: calc(100% - 30px); }
  .cmd .btn { flex: 1; }
  th:first-child, td:first-child { padding-left: 16px; }
  th:last-child, td:last-child { padding-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .mq-track { animation: none; }
}

/* ============ 补丁:窄屏表格横滑、终端收矮 ============ */
td b.mono { white-space: nowrap; }
@media (max-width: 640px) {
  .table-wrap { -webkit-overflow-scrolling: touch; }
  .table-wrap table { min-width: 620px; }
  .term-body { height: 236px; }
}

/* ============ 登录页首屏以下分区 ============ */
.land-sec { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; padding: 56px 32px 0; }
.sec-head { max-width: 680px; margin-bottom: 26px; }
.sec-k { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 650; color: var(--ink-2); }
.sec-k i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--mint-ink); padding: 2px 8px; border-radius: 7px; background: var(--mint-soft); }
.sec-head h2 { margin: 12px 0 8px; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; letter-spacing: -.03em; font-weight: 780; }
.sec-head p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.7; }

/* 三步接入:终端 + 同步高亮的步骤 */
.how-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 28px; align-items: stretch; }
.how-term .term { height: 100%; display: flex; flex-direction: column; }
.how-term .term-body { flex: 1; height: auto; min-height: 300px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: center; }
.how-step {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 16px 18px; border-radius: 18px;
  background: rgba(255, 255, 255, .55); border: 1px solid var(--line);
  transition: background .3s, border-color .3s, box-shadow .3s, transform .35s var(--ease);
}
.how-step b { display: block; font-size: 15px; font-weight: 700; line-height: 1.5; }
.how-step p { margin: 2px 0 0; font-size: 13px; color: var(--ink-3); line-height: 1.6; }
.hs-n { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: #EEF2F0; color: var(--ink-3); font-weight: 750; transition: background .3s, color .3s; }
.hs-n i { font-style: normal; }
.hs-n svg { display: none; width: 16px; height: 16px; }
.how-step.on { background: #fff; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(18, 184, 134, .1), var(--shadow-2); transform: translateX(-6px); }
.how-step.on .hs-n { background: var(--ink); color: #5EEAB5; }
.how-step.done .hs-n { background: var(--mint-deep); color: #fff; }
.how-step.done .hs-n i { display: none; }
.how-step.done .hs-n svg { display: block; }

/* 模型卡片 */
.mg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.mg-card {
  display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 20px; min-width: 0;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1);
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.mg-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.mg-top { display: flex; align-items: center; gap: 9px; min-width: 0; }
.mg-logo { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: #5EEAB5; font-size: 14px; font-weight: 800; }
.mg-vendor { font-size: 12px; font-weight: 600; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-id { font-size: 15.5px; letter-spacing: -.01em; overflow-wrap: anywhere; }
.mg-desc { margin: -2px 0 0; font-size: 12.5px; color: var(--ink-3); line-height: 1.7; min-height: 42px; }
.mg-scene { display: inline-block; margin-right: 6px; padding: 0 8px; border-radius: 999px; background: var(--mint-soft); color: var(--mint-ink); font-size: 11.5px; font-weight: 650; line-height: 20px; }
.mg-price { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-2); display: flex; align-items: flex-end; gap: 8px; }
.mg-price b { font-size: 28px; line-height: 1; font-weight: 780; letter-spacing: -.03em; }
.mg-price span { font-size: 11.5px; line-height: 1.35; color: var(--ink-3); }

/* 卖点 */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feat { padding: 22px; border-radius: 20px; background: linear-gradient(180deg, #fff, rgba(255, 255, 255, .55)); border: 1px solid var(--line); }
.feat-ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint-ink); margin-bottom: 14px; }
.feat-ic svg { width: 20px; height: 20px; }
.feat > b { display: block; font-size: 16px; font-weight: 720; }
.feat p b { color: var(--ink); }
.feat p { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.75; }

/* 行动号召 */
.cta {
  position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-bottom: 64px; padding: 36px 40px; border-radius: 28px; background: var(--ink); color: #fff; box-shadow: 0 30px 60px -30px rgba(11, 18, 16, .7);
}
.cta-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(520px 260px at 92% 0%, rgba(18, 184, 134, .45), transparent 60%), radial-gradient(380px 220px at 8% 130%, rgba(94, 234, 181, .2), transparent 60%);
}
.cta h2 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; line-height: 1.25; }
.cta p { margin: 8px 0 0; color: #B9C6C0; font-size: 14px; }
.cta-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-mint { background: var(--mint); border-color: var(--mint); color: #04221A; font-weight: 700; box-shadow: 0 10px 24px -12px rgba(18, 184, 134, .9); }
.btn-mint:hover:not(:disabled) { background: #20C997; border-color: #20C997; }
.btn-glass { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
.btn-glass:hover { background: rgba(255, 255, 255, .14); color: #fff; text-decoration: none; }
.cta .btn { height: 44px; padding: 0 20px; }
.cta .btn svg { width: 16px; height: 16px; }

@media (max-width: 980px) {
  .how-grid, .feat-grid { grid-template-columns: minmax(0, 1fr); }
  .how-step.on { transform: none; }
}
@media (max-width: 640px) {
  .land-sec { padding: 44px 16px 0; }
  .how-term .term-body { min-height: 236px; }
  .cta { padding: 26px 22px; border-radius: 22px; margin-bottom: 40px; }
  .cta-acts, .cta-acts .btn { width: 100%; }
}

/* ============ v3 控制台:宽屏铺满 + 总览重排 ============ */
.topbar-in, .content-inner { max-width: 1640px; }

/* 总览便当格:宽屏 8/4 · 7/5 · 8/4 */
.bento.ov > .ov-hero { grid-column: span 8; }
.bento.ov > .ov-runway { grid-column: span 4; }
.bento.ov > .ov-key { grid-column: span 7; }
.bento.ov > .ov-start { grid-column: span 5; }
.bento.ov > .ov-chart { grid-column: span 8; }
.bento.ov > .ov-models { grid-column: span 4; }
@media (max-width: 1360px) {
  .bento.ov > .ov-hero { grid-column: 1 / -1; }
  .bento.ov > .ov-runway { grid-column: span 5; }
  .bento.ov > .ov-key { grid-column: span 7; }
  .bento.ov > .ov-start { grid-column: 1 / -1; }
  .bento.ov > .ov-chart { grid-column: span 7; }
  .bento.ov > .ov-models { grid-column: span 5; }
}
@media (max-width: 1180px) {
  .bento.ov > .ov-hero, .bento.ov > .ov-runway, .bento.ov > .ov-key,
  .bento.ov > .ov-start, .bento.ov > .ov-chart, .bento.ov > .ov-models { grid-column: 1 / -1; }
}

/* 余额主卡:左余额 / 右充值玻璃面板 */
.balance-hero.ov-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 24px; padding: 24px; min-height: 252px; }
.bh-main { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-width: 0; }
.bh-topup {
  --err: #FF9C9C;
  display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 18px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.bt-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bt-head b { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; }
.bt-head b svg { width: 15px; height: 15px; color: #5EEAB5; }
.bt-head span { font-size: 11.5px; font-weight: 600; color: #5EEAB5; padding: 2px 8px; border-radius: 999px; background: rgba(18, 184, 134, .16); }
.bh-topup .input { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); color: #fff; }
.bh-topup .input::placeholder { color: #8FA19A; }
.bh-topup .input:focus { border-color: #5EEAB5; box-shadow: 0 0 0 4px rgba(94, 234, 181, .16); }
.bh-topup .inline-row .btn { flex: none; }
.bh-topup .hint { margin: 0; font-size: 12px; color: #9FB0A9; }
.bt-pkgs { display: grid; gap: 6px; }
.bt-pkg { display: flex; align-items: baseline; gap: 4px; padding: 7px 11px; border-radius: 11px; font-size: 12px; color: #A7B3AE; background: rgba(255, 255, 255, .04); border: 1px dashed rgba(255, 255, 255, .14); }
.bt-pkg b { font-size: 14px; color: #fff; font-weight: 700; }
.bt-pkg em { font-style: normal; color: #5EEAB5; font-weight: 650; }
.bt-pkg i { margin-left: auto; font-style: normal; color: #fff; font-weight: 700; }
.bt-foot { margin: auto 0 0; display: flex; align-items: center; gap: 6px; font-size: 12px; color: #8FA19A; }
.bt-foot svg { width: 13px; height: 13px; flex: none; }
@media (max-width: 760px) { .balance-hero.ov-hero { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .balance-hero.ov-hero { padding: 20px; gap: 18px; } .bh-topup { padding: 14px; } }

/* 密钥卡:标签列收窄 */
.ov-key .cred-row { grid-template-columns: 120px minmax(0, 1fr); }
@media (max-width: 640px) { .ov-key .cred-row { grid-template-columns: minmax(0, 1fr); } }

/* 快速上手:横向任务格 */
.start-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.start-grid li { position: relative; padding: 14px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); min-width: 0; }
.start-grid li b { display: block; margin-top: 10px; font-size: 13.5px; font-weight: 700; }
.start-grid li p { margin: 3px 0 0; font-size: 12px; color: var(--ink-3); line-height: 1.6; }
.start-grid li p a { font-weight: 600; }
.sc-dot { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: #EEF2F0; color: var(--ink-3); font-size: 12.5px; font-weight: 750; }
.sc-dot svg { width: 14px; height: 14px; }
.start-grid li.done { background: #fff; }
.start-grid li.done .sc-dot { background: var(--mint-deep); color: #fff; }
.start-grid li.done b { color: var(--ink-2); }
.start-grid li.next { background: #fff; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(18, 184, 134, .1); }
.start-grid li.next .sc-dot { background: var(--ink); color: #5EEAB5; }

/* 可用模型迷你榜 */
.ov-models { display: flex; flex-direction: column; }
.mm-list { flex: 1; list-style: none; margin: 0; padding: 8px 22px 16px; display: grid; align-content: space-evenly; gap: 4px; }
.mm-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.mm-list li:last-child { border-bottom: 0; }
.mm-logo { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: #5EEAB5; font-size: 13px; font-weight: 800; }
.mm-t { min-width: 0; }
.mm-t b, .mm-t span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-t b { font-size: 13.5px; }
.mm-t span { margin-top: 1px; font-size: 11.5px; color: var(--ink-3); }
.mm-p { position: relative; text-align: right; padding-bottom: 7px; min-width: 76px; }
.mm-p b { display: block; font-size: 15px; font-weight: 750; }
.mm-p span { display: block; font-size: 10.5px; color: var(--ink-4); }
.mm-p i { position: absolute; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: var(--mint); opacity: .75; }

/* 宽屏:快速上手在窄列里改成竖向清单,和密钥卡等高 */
.ov-start .start-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.ov-start .start-grid li { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 10px 12px; }
.ov-start .start-grid li .sc-dot { grid-row: span 2; }
.ov-start .start-grid li b { margin-top: 0; }
.ov-start .start-grid li p { margin-top: 0; }
@media (max-width: 1360px) {
  .ov-start .start-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
  .ov-start .start-grid li { display: block; padding: 14px; }
  .ov-start .start-grid li b { margin-top: 10px; }
  .ov-start .start-grid li p { margin-top: 3px; }
}
/* 柱图在宽卡里放宽柱距,别只占左边 */
.ov-chart .col { max-width: 40px; }
.ov-chart .bar { max-width: 30px; }

/* 密钥卡底部:已适配客户端 */
.ov-clients { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 16px; }
.ov-clients .oc-k { font-size: 12px; font-weight: 600; color: var(--ink-3); margin-right: 2px; }
.ov-clients .client-pill { height: 32px; padding: 0 10px 0 5px; font-size: 12.5px; box-shadow: none; }
.ov-clients .client-pill .cp-logo { width: 22px; height: 22px; font-size: 11px; }
.ov-clients .oc-go { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 650; color: var(--mint-ink); }
.ov-clients .oc-go svg { width: 14px; height: 14px; }
@media (max-width: 640px) {
  .ov-start .start-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ov-start .start-grid li { padding: 12px; }
}
/* 中屏:四步一行不留孤儿;窄屏两两一行 */
@media (max-width: 1360px) and (min-width: 861px) { .ov-start .start-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) { .ov-start .start-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ============ v3 配置教程:右栏已在 v6 去掉,只剩求助链接样式 ============ */

/* 帮助链接(教程侧栏 / FAQ 侧栏共用) */
.help-link { display: grid; grid-template-columns: 34px minmax(0, 1fr) 16px; align-items: center; gap: 12px; margin: 0 -10px; padding: 10px; border-radius: 14px; color: var(--ink); transition: background .15s; }
.help-link + .help-link { margin-top: 2px; }
.help-link:hover { background: var(--surface-2); text-decoration: none; }
.help-link > span { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint-ink); }
.help-link > span svg { width: 16px; height: 16px; }
.help-link b { display: block; font-size: 13.5px; font-weight: 680; }
.help-link p { margin: 1px 0 0; font-size: 12px; color: var(--ink-3); line-height: 1.5; }
.help-link > svg { width: 15px; height: 15px; color: var(--ink-4); transition: transform .15s var(--ease), color .15s; }
.help-link:hover > svg { transform: translateX(3px); color: var(--mint-ink); }
.help-contact { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: 12.5px; color: var(--ink-2); }
.help-contact svg { width: 15px; height: 15px; color: var(--mint-ink); flex: none; }

/* ============ 记录页指标条 ============ */
.kpi-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); min-width: 0; }
.kpi > div { min-width: 0; }
.kpi-ic { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint-ink); }
.kpi-ic svg { width: 16px; height: 16px; }
.kpi .k { display: block; font-size: 12px; color: var(--ink-3); font-weight: 550; }
.kpi b { display: block; margin-top: 2px; font-size: 22px; line-height: 1.2; font-weight: 760; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi .u { display: block; margin-top: 1px; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi:first-child { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 18px 36px -24px rgba(11, 18, 16, .8); }
.kpi:first-child .kpi-ic { background: rgba(18, 184, 134, .16); color: #5EEAB5; }
.kpi:first-child .k, .kpi:first-child .u { color: #A7B3AE; }
@media (max-width: 1180px) { .kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .kpi { padding: 13px; gap: 10px; } .kpi b { font-size: 19px; } .kpi-ic { width: 30px; height: 30px; } }

/* ============ 常见问题:问答 + 右侧快速入口 ============ */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.faq-layout > .faq { min-width: 0; }
.faq-rail { position: sticky; top: 98px; display: grid; gap: 16px; min-width: 0; }
.faq-rail > .card { margin: 0; }
.doc-page .faq, .doc-page .contact-card { max-width: none; }
.doc-page .faq-rail { top: 24px; }
.rail-status { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.rail-status .es-ic { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--peak-soft); color: var(--peak); }
.rail-status .es-ic svg { width: 20px; height: 20px; }
.rail-status b { display: block; font-size: 14.5px; }
.rail-status span { display: block; color: var(--ink-2); font-size: 13px; }
@media (max-width: 1080px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-rail { position: static; }
}

/* ============ v4 登录页:暖纸底 + 风景舞台(去掉格子背景)============ */
.auth-page, .doc-page { background: #F6F5F0; }
.aurora::after, .hero-fx::after { display: none; }   /* 全站去掉格子纹理 */
.aurora i { opacity: .28; }
.land .topnav-in, .land .land-sec, .land .site-foot { max-width: 1240px; }

.hero4 { position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: 0 auto; padding: 36px 32px 0; }
.h4-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: end; margin-bottom: 30px; }
.h4-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.hero4 .hero-title { margin: 0; font-size: clamp(34px, 4vw, 56px); line-height: 1.14; font-weight: 760; letter-spacing: -.035em; }
.mark-u { font-style: normal; color: var(--mint-ink); padding: 0 .04em; background: linear-gradient(transparent 66%, rgba(18, 184, 134, .2) 66%, rgba(18, 184, 134, .2) 90%, transparent 90%); }
.h4-side { padding-bottom: 4px; }
.h4-side .lede { max-width: none; font-size: 15.5px; }
.h4-side .client-row { margin-top: 18px; }
.h4-side .client-row { gap: 6px; }
.h4-side .client-pill { height: 32px; padding: 0 10px 0 4px; gap: 7px; font-size: 13px; box-shadow: none; background: rgba(255, 255, 255, .7); }
.h4-side .client-pill .cp-logo { width: 24px; height: 24px; font-size: 11px; }

/* 舞台:风景画布上浮两扇窗 —— 左客户端示意,右真实登录卡 */
.stage { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; background: #DCEBE3; box-shadow: 0 40px 80px -50px rgba(15, 59, 48, .6); }
.stage-art { position: absolute; inset: 0; z-index: -1; display: block; width: 100%; height: 100%; }
.stage-art .sa-grain { opacity: .16; mix-blend-mode: multiply; }
.stage-in { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; align-items: start; padding: 48px 48px 60px; }
.stage .auth-card {
  grid-area: auto; position: relative; top: 0; padding: 26px 26px 22px; border-radius: 22px; border: 0;
  background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 34px 70px -34px rgba(8, 40, 32, .55), 0 0 0 1px rgba(11, 18, 16, .06);
}
.stage .auth-card-head p { margin-bottom: 18px; }
.stage .seg-auth { margin-bottom: 18px; }

/* 客户端示意窗 */
.mock-wrap { position: relative; margin-top: 30px; min-width: 0; }
.mock { border-radius: 16px; overflow: hidden; background: #fff; color: var(--ink); font-size: 12.5px; box-shadow: 0 34px 70px -36px rgba(8, 40, 32, .6), 0 0 0 1px rgba(11, 18, 16, .08); }
.mock-bar { position: relative; display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #F3F3EF; border-bottom: 1px solid #E7E8E2; }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.mock-bar i:nth-child(2) { background: #FEBC2E; } .mock-bar i:nth-child(3) { background: #28C840; }
.mock-bar span { position: absolute; left: 0; right: 0; text-align: center; font-size: 12px; font-weight: 600; color: #7C8681; pointer-events: none; }
.mock-body { display: grid; grid-template-columns: 160px minmax(0, 1fr); height: 392px; }
.mock-side { display: flex; flex-direction: column; gap: 1px; padding: 12px 10px; background: #F8F8F5; border-right: 1px solid #EDEEE9; min-width: 0; }
.ms-new { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; margin-bottom: 8px; border-radius: 9px; background: #fff; border: 1px solid #E5E7E1; font-weight: 600; }
.ms-new svg { width: 13px; height: 13px; }
.ms-h { padding: 8px 9px 4px; font-size: 11px; color: #9AA39E; }
.ms-item { padding: 6px 9px; border-radius: 8px; color: #4C5752; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-item.on { background: #E9F3EE; color: var(--ink); font-weight: 600; }
.mock-main { display: flex; flex-direction: column; min-width: 0; }
.mock-top { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-bottom: 1px solid #F0F1EC; }
.mk-chip { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px; border-radius: 8px; background: #F2F4F1; }
.mk-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.mk-chip b, .mc-who b { font: 600 12px var(--mono); }
.mk-src { font-size: 11.5px; color: #8A9691; white-space: nowrap; }
.mock-chat { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 18px 18px 10px; min-height: 0; overflow: hidden; }
.mc-user { align-self: flex-end; max-width: 82%; padding: 9px 13px; border-radius: 14px 14px 4px 14px; background: var(--ink); color: #fff; line-height: 1.6; }
.mc-bot { display: grid; gap: 8px; min-width: 0; }
.mc-who { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-3); }
.mc-who i { width: 18px; height: 18px; border-radius: 6px; background: var(--ink); box-shadow: inset 0 0 0 5px var(--ink), inset 0 0 0 9px #5EEAB5; }
.mc-code { margin: 0; padding: 12px 14px; border-radius: 12px; background: #F6F7F4; border: 1px solid #ECEEE8; font: 11.5px/1.65 var(--mono); color: #33403B; white-space: pre; overflow: hidden; min-height: 168px; }
.mc-code .c-k { color: #0E7C5A; font-weight: 600; }
.mc-code .c-s { color: #B4541A; }
.mc-code .c-n { color: #7B4FC9; }
.mc-code .t-caret { width: 7px; height: 13px; vertical-align: -2px; }
.mock-input { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 14px 14px; height: 42px; padding: 0 6px 0 14px; border-radius: 12px; border: 1px solid #E5E7E1; color: #9AA39E; }
.mock-input i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.mock-input i svg { width: 14px; height: 14px; transform: rotate(-90deg); }

/* 浮出窗外的模型菜单 */
.mock-menu { position: absolute; left: -30px; bottom: -40px; z-index: 2; width: 200px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 24px 48px -20px rgba(8, 40, 32, .5), 0 0 0 1px rgba(11, 18, 16, .08); font-size: 12px; }
.mmn-h { padding: 7px 9px 6px; font-size: 11px; font-weight: 600; color: #8A9691; }
.mmn-row { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 9px; padding: 6px 9px; border-radius: 9px; transition: background .3s, color .3s; }
.mmn-row b { font: 600 12px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mmn-logo { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: var(--ink); color: #5EEAB5; font-size: 11px; font-weight: 800; }
.mmn-row.on { background: var(--mint-soft); }
.mmn-row.on b { color: var(--mint-ink); }

/* 首屏下方事实条 */
.facts { list-style: none; margin: 0; padding: 26px 4px 4px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { padding: 0 20px; min-width: 0; }
.facts li:first-child { padding-left: 0; }
.facts li + li { border-left: 1px solid var(--line-2); }
.facts b { display: block; font-size: 19px; font-weight: 760; letter-spacing: -.02em; }
.facts span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--ink-3); }

@media (max-width: 1180px) {
  .stage-in { grid-template-columns: minmax(0, 1fr) 390px; gap: 28px; padding: 40px 36px 56px; }
  .mock-body { grid-template-columns: 132px minmax(0, 1fr); }
}
@media (max-width: 1000px) {
  .h4-head { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .stage-in { grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 40px 24px 52px; }
  .mock-wrap { display: none; }
  .stage .auth-card { width: 100%; max-width: 460px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .hero4 { padding: 20px 16px 0; }
  .h4-kicker { margin-bottom: 12px; }
  .stage { border-radius: 22px; }
  .stage-in { padding: 18px 12px 34px; }
  .stage .auth-card { padding: 20px 18px 18px; border-radius: 18px; }
  .facts b { font-size: 17px; }
  .facts li { padding: 0 14px; }
}
.hero4 .hero-title, .sec-head h2 { text-wrap: balance; }
@media (min-width: 1680px) {
  .hero4, .land .topnav-in, .land .land-sec, .land .site-foot { max-width: 1360px; }
  .stage-in { grid-template-columns: minmax(0, 1fr) 440px; gap: 56px; padding: 56px 64px 68px; }
}
/* ============ v5:去高峰 / 余额续航 / 计费重排 / 教程手动配置 ============ */

/* 顶栏状态胶囊 */
.st-pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; border: 1px solid; }
.st-pill.ok { background: var(--mint-soft); color: var(--mint-ink); border-color: #CDEFE0; }
.st-pill.warn { background: var(--warn-soft); color: var(--warn); border-color: #F6E2BF; }
.st-pill.bad { background: var(--err-soft); color: var(--err); border-color: #FBD5D5; }
.st-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.st-pill.ok .st-dot { background: var(--mint); }
.st-pill.ok .st-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--mint); opacity: 0; animation: st-ping 2.4s var(--ease) infinite; }
@keyframes st-ping { 0% { transform: scale(.4); opacity: .7; } 80%, 100% { transform: scale(1.4); opacity: 0; } }

/* 概览:余额续航卡(替代原计费时段表盘)*/
.ov-runway { display: flex; flex-direction: column; }
.ov-runway > .card-body { flex: 1; }
.rw { display: flex; flex-direction: column; gap: 14px; }
.rw-main { display: grid; gap: 4px; }
.rw-k { font-size: 12.5px; color: var(--ink-3); font-weight: 550; }
.rw-big { display: flex; align-items: baseline; gap: 6px; }
.rw-big b { font-size: 44px; line-height: 1.05; font-weight: 780; letter-spacing: -.035em; }
.rw-big small { font-size: 14px; color: var(--ink-2); font-weight: 650; }
.rw-gauge { position: relative; height: 8px; border-radius: 999px; background: #EAF0ED; overflow: hidden; }
.rw-gauge i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, var(--mint-deep), var(--mint)); transition: width .6s var(--ease); }
.rw.warn .rw-gauge i { background: linear-gradient(90deg, #D97706, #F59E0B); }
.rw-scale { display: flex; justify-content: space-between; margin-top: -8px; font-size: 11px; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.rw-facts { list-style: none; margin: auto 0 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.rw-facts li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.rw-facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.rw-facts li > span { color: var(--ink-3); flex: none; }
.rw-facts li > b { font-weight: 650; text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rw-facts li > b .mono { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.rw-note { margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--ink-3); }
.rw.warn .rw-big b { color: var(--warn); }
.rw.warn .rw-note { padding: 9px 12px; border-radius: 12px; background: var(--warn-soft); color: var(--warn); }
.rw.warn .rw-note .link-btn { color: inherit; text-decoration: underline; text-underline-offset: 3px; margin: 0 2px; }
.rw-empty .rw-big b { color: var(--err); }
.rw-empty .btn { align-self: flex-start; margin-top: auto; }
.rw-empty .btn svg { width: 15px; height: 15px; }

/* 用量表:历史高峰记录的小标签 */
.tag-xs { height: 18px; padding: 0 6px; font-size: 10.5px; margin-right: 6px; vertical-align: 1px; }

/* ============ 计费说明 v6:一张价目表 ============ */
.bill-wrap { max-width: 880px; }                 /* 左对齐,控制台与公开页一致 */
.bill-card { margin: 0; }
.bill-lead { margin: 0; padding: 14px 22px 0; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }
.bill-lead + .table-wrap { margin-top: 14px; border-top: 1px solid var(--line); }
.price-table th:first-child { width: 56%; }
.price-table td.num > b { font-size: 14px; font-weight: 650; }
.bill-eg { padding: 16px 22px; border-top: 1px solid var(--line); background: var(--mint-soft); }
.eg-k { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 12.5px; font-weight: 650; color: var(--mint-ink); }
.eg-k svg { width: 14px; height: 14px; }
.eg-line { margin: 0; font-size: 14px; line-height: 2.2; color: var(--ink-2); }
.eg-line .eg-sel { display: inline-block; width: auto; min-width: 140px; height: 32px; padding: 0 30px 0 10px; margin: 0 6px; border-radius: 9px; font-size: 13px; vertical-align: middle; }
.eg-line #calc-pts { margin: 0 4px; font-size: 22px; font-weight: 780; letter-spacing: -.02em; color: var(--ink); }
.eg-line .eg-sel:nth-of-type(2) { margin-right: 1px; }
.eg-yuan { margin-left: 6px; font-size: 12.5px; color: var(--ink-3); }
.eg-hint { margin: 6px 0 0; font-size: 12px; line-height: 1.7; color: var(--ink-3); }
.bill-notes { list-style: none; margin: 0; padding: 14px 22px 18px; border-top: 1px solid var(--line); display: grid; gap: 2px; font-size: 12.5px; line-height: 1.75; color: var(--ink-3); }
.bill-notes li::before { content: "·"; margin-right: 6px; }
.rail-status .es-ic { background: var(--mint-soft); color: var(--mint-ink); }
@media (max-width: 640px) {
  .bill-lead, .bill-eg, .bill-notes { padding-left: 16px; padding-right: 16px; }
  .table-wrap .price-table { min-width: 0; width: 100%; }                      /* 压过 c6 的 .table-wrap table{min-width:620px} */
  .price-table td b.mono { white-space: normal; word-break: break-all; }
  .price-table th, .price-table td { padding-left: 10px; padding-right: 10px; }
  .price-table th:first-child, .price-table td:first-child { padding-left: 16px; }
  .price-table th:last-child, .price-table td:last-child { padding-right: 16px; }
  .eg-line { line-height: 1.8; }
  .eg-line .eg-sel { display: block; width: 100%; margin: 6px 0; }
  .eg-line .eg-res { display: block; margin-top: 6px; }
  .eg-sep { display: none; }
}

/* ============ 配置教程 v5:宽松排版 + 一键 / 手动 ============ */
.client-tile { grid-template-columns: auto minmax(0, 1fr); align-items: center; justify-items: stretch; gap: 10px; padding: 12px; border-radius: 14px; }
.client-tile .ct-logo { width: 32px; height: 32px; border-radius: 10px; font-size: 14px; }
.client-tile .ct-txt { display: grid; gap: 1px; min-width: 0; }
.client-tile .ct-name { line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.client-tile .ct-tag { line-height: 1.4; }
.client-tile .ct-check { top: -7px; right: -7px; width: 18px; height: 18px; box-shadow: 0 0 0 2px #fff; }
.client-tile .ct-check svg { width: 11px; height: 11px; }


/* 大号命令条 / 下载卡 */
.cmd-lg { margin-top: 22px; padding: 8px 8px 8px 18px; border-radius: 16px; }
.cmd-lg { align-items: center; }
.cmd-lg .cmd-prompt { align-self: flex-start; line-height: 42px; }
.cmd-ta { display: block; height: auto; min-height: 42px; padding: 10px 0; resize: none; overflow: hidden; field-sizing: content; font-size: 13px; line-height: 22px; word-break: break-all; white-space: pre-wrap; }
.cmd-lg .btn-sm { height: 40px; padding: 0 16px; border-radius: 11px; }
.dl-box { margin-top: 22px; display: flex; align-items: center; gap: 14px; padding: 16px 16px 16px 18px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.dl-ic { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--ink); color: #5EEAB5; }
.dl-ic svg { width: 20px; height: 20px; }
.dl-t { flex: 1; min-width: 0; display: grid; gap: 1px; }
.dl-t b { font-size: 14px; font-weight: 700; }
.dl-t span { font-size: 12.5px; color: var(--ink-3); }
.dl-box .btn { flex: none; }
.dl-box .btn svg { width: 16px; height: 16px; }
.tut-note { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 22px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.tut-note > svg { width: 16px; height: 16px; margin-top: 3px; color: var(--mint-ink); }

/* 手动配置:字段卡 / 模型胶囊 / 配置文件 */
.steps .fgrid { margin: 10px 0 12px; }
.fgrid { display: grid; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.frow { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
.frow + .frow { border-top: 1px solid var(--line); }
.fk { display: flex; align-items: flex-start; padding: 14px 14px; background: var(--surface-2); border-right: 1px solid var(--line); font-size: 12.5px; font-weight: 650; color: var(--ink-2); line-height: 1.5; }
.fv { min-width: 0; padding: 9px 10px 9px 12px; }
.fval { display: flex; align-items: center; gap: 8px; }
.fval code { flex: 1; min-width: 0; padding: 6px 10px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fval .btn { flex: none; }
.fval .btn svg { width: 14px; height: 14px; }
.fnote { margin: 6px 0 0; font-size: 12px; line-height: 1.65; color: var(--ink-3); }
.steps .fnote { margin: 8px 0 10px; font-size: 12px; color: var(--ink-3); }
.mchips { display: flex; flex-wrap: wrap; gap: 6px; padding: 3px 0; }
.mchip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 12.5px; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.mchip svg { width: 12px; height: 12px; color: var(--ink-4); }
.mchip:hover { border-color: var(--mint-deep); background: var(--mint-soft); }
.mchip:hover svg { color: var(--mint-ink); }
.json-box { margin: 10px 0 4px; border-radius: 14px; overflow: hidden; background: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.jb-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 7px 7px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.jb-head > span { font-size: 12px; color: #9FB2AA; }
.jb-head .btn { height: 32px; background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .12); }
.jb-head .btn:hover { background: rgba(255, 255, 255, .18); }
.jb-head .btn svg { width: 14px; height: 14px; }
.json-pre { margin: 0; padding: 12px 16px 14px; max-height: 260px; overflow: auto; font: 12px/1.65 var(--mono); color: #D7E0DC; white-space: pre; }
.adv { margin-top: 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.adv > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 13px 14px; cursor: pointer; font-size: 13.5px; font-weight: 650; color: var(--ink-2); border-radius: 14px; }
.adv > summary::-webkit-details-marker { display: none; }
.adv > summary:hover { color: var(--ink); }
.adv > summary svg { width: 16px; height: 16px; color: var(--mint-ink); }
.adv > summary .adv-ic { margin-left: auto; color: var(--ink-4); transition: transform .2s var(--ease); }
.adv[open] > summary .adv-ic { transform: rotate(45deg); }
.adv-body { padding: 0 14px 14px; }
.adv-body > p { margin: 0 0 4px; font-size: 13px; line-height: 1.75; color: var(--ink-2); }
.paths { display: grid; gap: 6px; margin: 8px 0 12px; }
.pathrow { display: grid; grid-template-columns: 116px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 4px 4px 4px 12px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface-2); }
.pathrow > span { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.pathrow > code { font-size: 12.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pathrow .icon-btn { width: 30px; height: 30px; }
.pathrow .icon-btn svg { width: 14px; height: 14px; }

.fnote code.k { white-space: nowrap; }
@media (max-width: 640px) {
  .client-tile { padding: 10px 12px; gap: 9px; }
  .frow { grid-template-columns: minmax(0, 1fr); }
  .fk { padding: 9px 12px 0; background: none; border-right: 0; }
  .fv { padding: 6px 12px 12px; }
  .dl-box { flex-wrap: wrap; }
  .dl-box .btn { flex: 1 1 100%; justify-content: center; }
  .pathrow { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0; padding: 7px 4px 7px 12px; }
  .pathrow > span { grid-column: 1 / -1; }
  .pathrow > code { grid-column: 1; }
  .jb-head .btn { font-size: 12px; padding: 0 10px; }
}
/* 窄屏公开页顶栏:站名/导航不折行 */
@media (max-width: 520px) {
  .topnav-in { gap: 8px; }
  .topnav .brand .name, .topnav-links > a { white-space: nowrap; }
  .topnav-links { gap: 2px; }
  .topnav-links > a:not(.btn) { padding: 6px 7px; }
  .topnav-links .btn { margin-left: 4px; padding: 0 12px; }
}
@media (max-width: 400px) { .doc-page .topnav .brand .name { display: none; } }

/* ============ 登录过渡:按钮等待态 / 卡内回执 / 纸色过场 ============ */
.seg-auth.is-busy { pointer-events: none; opacity: .5; }
.input.is-err { border-color: var(--err); box-shadow: 0 0 0 4px rgba(220, 38, 38, .12); }
.btn-block svg.spin { width: 16px; height: 16px; }
.auth-card.auth-leave > * { opacity: 0; transform: translateY(-4px); transition: opacity .12s, transform .12s var(--ease); pointer-events: none; }
.auth-card.is-rcpt { display: grid; align-content: center; }
.rcpt { display: grid; justify-items: center; text-align: center; width: 100%; }
.rcpt-mark { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--mint-soft); box-shadow: 0 0 0 1px #CDEFE0; color: var(--mint-ink); }
.rcpt-mark svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rcpt-mark path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: rc-draw .36s var(--ease) .12s forwards; }
@keyframes rc-draw { to { stroke-dashoffset: 0; } }
.rcpt-title { margin: 16px 0 4px; font-size: 22px; font-weight: 750; letter-spacing: -.02em; }
.rcpt-sub { margin: 0 0 16px; font-size: 13.5px; color: var(--ink-3); }
.rcpt-wallet { position: relative; overflow: hidden; width: 100%; padding: 16px 18px; border-radius: 18px; background: var(--ink); color: #fff; text-align: left; box-shadow: 0 14px 30px -18px rgba(11, 18, 16, .8); }
.rcpt-wallet .k { position: relative; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: #A7B3AE; }
.rcpt-wallet .k svg { width: 14px; height: 14px; }
.rcpt-wallet .v { position: relative; margin-top: 6px; font-size: 34px; line-height: 1.1; font-weight: 780; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.rcpt-wallet .v small { margin-left: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0; color: #A7B3AE; }
.rcpt-wallet .v.pop { animation: rc-pop .36s var(--ease) .26s both; }
@keyframes rc-pop { from { opacity: 0; transform: scale(.96); } }
.rcpt-wallet .sub { position: relative; margin-top: 4px; font-size: 12px; color: #A7B3AE; }
.rcpt-wallet.empty .v, .rcpt-wallet.empty .sub { color: #FCA5A5; }
.rcpt-lines { width: 100%; list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line-2); display: grid; gap: 10px; }
.rcpt-lines li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; font-size: 13px; text-align: left; }
.rcpt-lines li > span { color: var(--ink-3); flex: none; }
.rcpt-lines li > b { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; font-weight: 600; color: var(--ink); text-align: right; }
.rcpt-lines li > b em { font-style: normal; font-weight: 500; color: var(--ink-2); }
.rcpt-foot { width: 100%; margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.rcpt-bar { height: 3px; border-radius: 999px; background: #ECF1EF; overflow: hidden; }
.rcpt-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--mint-deep); transition: width 0ms linear; }
.rcpt-foot p { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 10px 0 0; font-size: 12.5px; color: var(--ink-3); }
.rcpt-foot p > span { display: inline-flex; align-items: center; gap: 6px; text-align: left; }
.rcpt-foot p > span svg { width: 14px; height: 14px; flex: none; }
.rcpt-foot p > span.warn { color: var(--warn); font-weight: 600; }
.rcpt-foot .link-btn { flex: none; font-size: 12.5px; }
.rcpt-foot .link-btn:disabled { opacity: .5; cursor: default; }
.rcpt > * { animation: rc-in .24s var(--ease) both; }
.rcpt-title { animation-delay: .04s; } .rcpt-sub { animation-delay: .08s; } .rcpt-wallet { animation-delay: .12s; }
.rcpt-lines { animation-delay: .2s; } .rcpt-foot { animation-delay: .28s; }
@keyframes rc-in { from { opacity: 0; transform: translateY(6px); } }
#veil { position: fixed; inset: 0; z-index: 90; background: var(--bg); opacity: 0; pointer-events: none; transition: opacity .24s var(--ease); }
#veil.on { opacity: 1; transition-duration: .2s; }
@media (max-width: 640px) {
  .rcpt-mark { width: 48px; height: 48px; } .rcpt-mark svg { width: 22px; height: 22px; }
  .rcpt-title { font-size: 20px; margin-top: 14px; }
  .rcpt-wallet { padding: 14px 16px; } .rcpt-wallet .v { font-size: 30px; }
  .rcpt-lines li > b { flex-wrap: wrap; justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  .rcpt > *, .rcpt-mark path, .rcpt-wallet .v.pop { animation: none; }
  .rcpt-mark path { stroke-dashoffset: 0; }
  .rcpt-bar { display: none; }
}

/* ============ 教程 v6:四步向导 ============ */
.wz-wrap { max-width: 820px; }
.wz-label { margin: 0; font-size: 13.5px; font-weight: 650; color: var(--ink-2); }
.wz-lead { margin: 2px 0 10px; font-size: 13px; color: var(--ink-3); }
.wz-pick .client-grid { margin-bottom: 0; }
.client-tile .ct-name { white-space: normal; overflow: visible; text-overflow: clip; }
#tut-body { margin-top: 22px; padding-top: 0; border-top: 0; }
#tut-body.wz-enter { animation: wz-enter .18s var(--ease) both; }
@keyframes wz-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wz-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px 20px; margin: 0 0 14px; }
.wz-head h2 { margin: 0; font-size: 20px; font-weight: 750; letter-spacing: -.02em; line-height: 1.3; }
.wz-head .sub { margin: 3px 0 0; font-size: 13px; color: var(--ink-3); line-height: 1.6; }
#wz-prog { margin-left: 6px; font-weight: 650; color: var(--mint-ink); }
.wz-os { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--ink-3); }
.wz-os .seg { margin: 0; }
.wz-os small { font-size: 12px; color: var(--ink-4); }
.wz { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wz-step { min-width: 0; border: 1px solid var(--line); border-radius: 18px; background: #fff; scroll-margin-top: 96px; transition: box-shadow .15s, border-color .15s; }
.wz-step.is-now { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), var(--shadow-2); }
.wz-step.is-done { background: var(--surface-2); }
.wz-h { display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 14px; align-items: center; width: 100%; padding: 16px 18px; border: 0; background: none; text-align: left; cursor: pointer; border-radius: 18px; font: inherit; color: inherit; }
.wz-no { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; font-weight: 750; border: 1.5px solid var(--line-2); color: var(--ink-3); background: #fff; }
.wz-no svg { width: 18px; height: 18px; }
.is-now .wz-no { background: var(--ink); border-color: var(--ink); color: #5EEAB5; }
.is-done .wz-no { background: var(--mint-deep); border-color: var(--mint-deep); color: #fff; }
.wz-t { display: block; font-size: 17px; font-weight: 700; line-height: 1.35; }
.is-todo .wz-t { color: var(--ink-3); }
.wz-sub { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.is-now .wz-sub { display: none; }
.is-done .wz-sub { color: var(--mint-ink); }
.wz-chev { width: 18px; height: 18px; color: var(--ink-4); transform: rotate(90deg); transition: transform .2s var(--ease); }
.is-now .wz-chev { transform: rotate(-90deg); }
.wz-b { padding: 0 18px 20px 72px; }
.wz-b.has-art { display: grid; grid-template-columns: minmax(0, 1fr) 220px; grid-template-rows: auto auto; column-gap: 20px; }
.wz-b.has-art > .wz-txt { grid-column: 1; grid-row: 1; }
.wz-b.has-art > .wz-art { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
.wz-b.has-art > .wz-foot { grid-column: 1; grid-row: 2; }
.wz-art { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.wz-art svg { display: block; width: 100%; height: auto; }
.wz-b p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.wz-b .fine { margin: 10px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--ink-3); }
.wz-b .fnote { margin: 6px 0 0; font-size: 12px; line-height: 1.65; color: var(--ink-3); }   /* 字段卡小注别被 .wz-b p 盖成正文 */
.wz-b .fine .link-btn { font-size: 12.5px; margin-left: 2px; }
.wz-b code.k { white-space: nowrap; }
.wz-act { margin-top: 6px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.wz-act .btn-primary, .wz-key .btn-primary, .wz-check .btn { height: 46px; padding: 0 24px; font-size: 15px; }
.wz-skip { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.recipe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 14px; }
.recipe kbd { display: inline-grid; place-items: center; min-width: 44px; height: 40px; padding: 0 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 2px 0 var(--line-2); font: 650 15px var(--font); color: var(--ink); }
.recipe .ar { color: var(--ink-4); font-size: 16px; }
.wz-step .cmd-lg { margin: 4px 0 14px; }
.cmd .btn-primary { background: var(--mint); color: var(--ink); box-shadow: none; height: 40px; padding: 0 16px; border-radius: 11px; font-weight: 700; border: 0; }
.cmd .btn-primary:hover:not(:disabled) { background: #5EEAB5; }
.wz-key { display: flex; gap: 10px; align-items: center; margin: 4px 0 12px; }
.wz-key label { flex: none; font-size: 13px; font-weight: 650; color: var(--ink-2); }
.wz-key .input { flex: 1; min-width: 0; height: 46px; font-size: 14px; }
.wz-step .dl-box { margin: 4px 0 14px; }
.wz-cap { display: block; margin: 4px 0 6px; font-size: 11.5px; color: var(--ink-4); }
.wz-term { margin: 0 0 14px; padding: 14px 16px; border-radius: 14px; background: var(--ink); color: #D7E0DC; font: 12.5px/1.8 var(--mono); white-space: pre-wrap; word-break: break-all; }
.wz-term .ok { color: #5EEAB5; font-weight: 700; }
.wz-check { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px dashed var(--line-2); font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.wz-check.ok { color: var(--mint-ink); border-color: #CDEFE0; background: var(--mint-soft); }
.wz-check a { font-weight: 650; margin-left: 4px; }
.wz-check .btn svg { width: 16px; height: 16px; }
.wz-oops { margin-top: 12px; }
.wz-oops ul { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.75; color: var(--ink-2); }
.wz-oops li + li { margin-top: 4px; }
.wz-step .fgrid { margin: 2px 0 14px; }
.wz-help { margin-top: 22px; }
.wz-help h3 { margin: 0 0 10px; font-size: 13.5px; font-weight: 650; color: var(--ink-2); }
.wz-help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wz-help .help-link { margin: 0; padding: 12px; border: 1px solid var(--line); background: #fff; border-radius: 14px; }
.wz-help .help-contact { margin: 0; padding: 12px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 12px; }
#tut-manual { margin-top: 14px; }
#tut-cred, #tut-models { margin-top: 12px; }
.adv-lead { margin: 0 0 10px; font-size: 13px; color: var(--ink-3); }
#tut-cred .cred-row { grid-template-columns: 170px minmax(0, 1fr); }
#tut-cred code.input { display: flex; align-items: center; }
#tut-models .table-wrap { margin: 0 -14px -14px; }
.m-only { display: none; }
@media (max-width: 900px) {
  .wz-b.has-art { display: block; }
  .wz-art { margin: 4px 0 14px; max-width: 360px; }
  .wz-head { flex-direction: column; align-items: flex-start; }
  #tut-cred .cred-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .tut-note.m-only { display: flex; background: var(--warn-soft); border-color: #F6E2BF; color: var(--warn); }
  .tut-note.m-only > svg { color: var(--warn); }
  .wz-os { width: 100%; }
  .wz-os .seg { display: flex; width: 100%; }
  .wz-os .seg-btn { flex: 1; justify-content: center; }
  .wz-b[hidden] { display: block !important; }   /* 手机全展开:DOM 不变,只覆盖 UA 的 [hidden] */
  .wz-chev { display: none; }
  .wz-h { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .wz-no { width: 34px; height: 34px; font-size: 15px; }
  .wz-t { font-size: 16px; }
  .is-now .wz-sub { display: block; }
  .wz-b { padding: 0 14px 16px; }
  .wz-act .btn-primary, .wz-key .btn-primary, .wz-check .btn, .wz-step .dl-box .btn { width: 100%; height: 48px; justify-content: center; }
  .wz-key { flex-direction: column; align-items: stretch; }
  .wz-check { flex-direction: column; align-items: stretch; }
  .wz-term { font-size: 12px; }
  .wz-help-grid { grid-template-columns: minmax(0, 1fr); }
  .fnote code.k { white-space: normal; }   /* 长地址允许折行,别撑出卡片 */
  #tut-models th:nth-child(3), #tut-models td:nth-child(3) { display: none; }
}

/* ============ 切页动效(对齐后台:壳不动、内容区旧出新进、卡片/行错峰、侧栏高亮块滑动)============ */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); --ease-spring: cubic-bezier(.34, 1.56, .64, 1); }
#panel.pl-leave > * { animation: pl-leave .12s var(--ease) both; }
@keyframes pl-leave { to { opacity: 0; transform: translateY(-6px); } }
#panel > *, .doc-main > * { animation: pl-in .38s var(--ease-out) backwards; }
#panel > *:nth-child(2), .doc-main > *:nth-child(2) { animation-delay: .05s; }
#panel > *:nth-child(3) { animation-delay: .1s; }
#panel > *:nth-child(4) { animation-delay: .15s; }
@keyframes pl-in { from { opacity: 0; transform: translateY(10px); } }
/* 卡片错峰 */
.bento > *, .kpi-strip > .kpi, .wz-wrap > *, .client-grid > .client-tile, .wz > li, .faq > .qa, .faq-rail > .card, .wz-help-grid > * { animation: pl-card .46s var(--ease-out) backwards; }
@keyframes pl-card { from { opacity: 0; transform: translateY(14px); } }
.bento > *:nth-child(2), .kpi-strip > .kpi:nth-child(2), .wz-wrap > *:nth-child(2), .client-grid > .client-tile:nth-child(2), .wz > li:nth-child(2), .faq > .qa:nth-child(2), .wz-help-grid > *:nth-child(2) { animation-delay: .04s; }
.bento > *:nth-child(3), .kpi-strip > .kpi:nth-child(3), .wz-wrap > *:nth-child(3), .client-grid > .client-tile:nth-child(3), .wz > li:nth-child(3), .faq > .qa:nth-child(3), .wz-help-grid > *:nth-child(3) { animation-delay: .08s; }
.bento > *:nth-child(4), .kpi-strip > .kpi:nth-child(4), .wz-wrap > *:nth-child(4), .client-grid > .client-tile:nth-child(4), .wz > li:nth-child(4), .faq > .qa:nth-child(4) { animation-delay: .12s; }
.bento > *:nth-child(5), .wz-wrap > *:nth-child(5), .faq > .qa:nth-child(5) { animation-delay: .16s; }
.bento > *:nth-child(6), .wz-wrap > *:nth-child(6), .faq > .qa:nth-child(6) { animation-delay: .2s; }
.bento > *:nth-child(7), .faq > .qa:nth-child(7) { animation-delay: .24s; }
.bento > *:nth-child(8), .faq > .qa:nth-child(8) { animation-delay: .28s; }
.faq > .qa:nth-child(9) { animation-delay: .32s; }
.faq > .qa:nth-child(10) { animation-delay: .36s; }
.faq-rail > .card:nth-child(2) { animation-delay: .1s; }
/* 表格行逐行进场(翻页也会重跑) */
.table-wrap tbody tr { animation: pl-row .42s var(--ease-out) backwards; }
@keyframes pl-row { from { opacity: 0; transform: translateY(6px); } }
.table-wrap tbody tr:nth-child(2) { animation-delay: .02s; } .table-wrap tbody tr:nth-child(3) { animation-delay: .04s; }
.table-wrap tbody tr:nth-child(4) { animation-delay: .06s; } .table-wrap tbody tr:nth-child(5) { animation-delay: .08s; }
.table-wrap tbody tr:nth-child(6) { animation-delay: .1s; } .table-wrap tbody tr:nth-child(7) { animation-delay: .12s; }
.table-wrap tbody tr:nth-child(8) { animation-delay: .14s; } .table-wrap tbody tr:nth-child(n+9) { animation-delay: .16s; }
/* 向导步骤展开 */
.wz-b:not([hidden]) { animation: pl-open .28s var(--ease-out) backwards; }
@keyframes pl-open { from { opacity: 0; transform: translateY(-4px); } }
/* 顶栏换字 */
.tb-swap { animation: tb-swap .26s var(--ease-out); }
@keyframes tb-swap { from { opacity: 0; transform: translateY(4px); } }
/* 侧栏滑动高亮块 */
.side-nav { position: relative; }
.nav-glider { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); pointer-events: none; will-change: transform; transition: transform .36s var(--ease-out), width .36s var(--ease-out), height .36s var(--ease-out); }
.side-nav.has-glider .nav-item { z-index: 1; transition: color .36s var(--ease-out), background .15s, border-color .15s; }   /* 文字变色与滑块同步,滑行中文字不消失 */
.side-nav.has-glider .nav-item svg { transition: color .36s var(--ease-out); }
.side-nav.has-glider .nav-item.active { background: transparent; border-color: transparent; box-shadow: none; }
.nav-item.active::before { animation: nav-bar .3s var(--ease-out); }
@keyframes nav-bar { from { transform: scaleY(0); } }
/* 整页进场(登录页 / 公开页首次) */
.auth-page, .doc-page { animation: page-in .32s var(--ease-out) backwards; }
@keyframes page-in { from { opacity: 0; } }
@media (max-width: 900px) {
  .nav-glider { border-radius: 999px; background: var(--ink); border-color: var(--ink); box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  #panel > *, #panel.pl-leave > *, .doc-main > *, .bento > *, .kpi-strip > .kpi, .wz-wrap > *, .client-grid > .client-tile, .wz > li, .faq > .qa, .faq-rail > .card, .wz-help-grid > *, .table-wrap tbody tr, .wz-b:not([hidden]), .tb-swap, .nav-item.active::before, .auth-page, .doc-page { animation: none !important; }
  .nav-glider { transition: none; }
}
