/* ════════════════════════════════════════════════════════════════
   算邻坊 · 供给客户端操作手册 — 共享样式
   页面壳：沿用官网深色科技风（与 www/index.html 同一设计语言）
   模拟窗口：复刻客户端浅色 UI（index.css 真实变量）
   ════════════════════════════════════════════════════════════════ */

/* ── §1 变量 ─────────────────────────────────────────────── */
:root {
  /* 官网深色壳 */
  --bg: #060913;
  --panel: rgba(255, 255, 255, 0.028);
  --panel-strong: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(94, 124, 255, 0.38);
  --accent: #5E7CFF;
  --accent2: #22D3EE;
  --grad: linear-gradient(120deg, #5E7CFF 0%, #22D3EE 100%);
  --text: #F1F5FD;
  --text-secondary: #99A2BC;
  --text-dim: #5C657C;
  --mono: 'JetBrains Mono', monospace;
  --display: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  --body: 'Noto Sans SC', 'Space Grotesk', -apple-system, sans-serif;

  /* 客户端模拟窗口（真实还原 supply-client-tauri/src/index.css 深色科技风） */
  --app-bg: #060913;
  --app-bg-elevated: #0E1526;
  --app-card: rgba(255, 255, 255, 0.028);
  --app-card-hover: rgba(255, 255, 255, 0.05);
  --app-card-sunken: rgba(0, 0, 0, 0.3);
  --app-border: rgba(255, 255, 255, 0.08);
  --app-border-strong: rgba(255, 255, 255, 0.16);
  --app-border-bright: rgba(94, 124, 255, 0.38);
  --app-text: #F1F5FD;
  --app-text-sub: #99A2BC;
  --app-text-muted: #5C657C;
  --app-accent: #5E7CFF;
  --app-accent-hover: #7C94FF;
  --app-accent-2: #22D3EE;
  --app-accent-grad: linear-gradient(120deg, #5E7CFF, #22D3EE);
  --app-success: #34D399;
  --app-success-bg: rgba(52, 211, 153, 0.1);
  --app-success-border: rgba(52, 211, 153, 0.3);
  --app-warning: #FBBF24;
  --app-warning-bg: rgba(251, 191, 36, 0.1);
  --app-warning-border: rgba(251, 191, 36, 0.3);
  --app-danger: #F87171;
  --app-danger-bg: rgba(248, 113, 113, 0.1);
  --app-danger-border: rgba(248, 113, 113, 0.3);
  --app-info: #22D3EE;
  --app-info-bg: rgba(34, 211, 238, 0.1);
  --app-info-border: rgba(34, 211, 238, 0.3);
}

/* ── §2 基础 ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(94, 124, 255, 0.35); }

a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }

.glow-orb { position: fixed; border-radius: 50%; filter: blur(120px); pointer-events: none; z-index: 0; }
.glow-orb.one { width: 640px; height: 640px; background: rgba(94, 124, 255, 0.12); top: -220px; left: -180px; }
.glow-orb.two { width: 520px; height: 520px; background: rgba(34, 211, 238, 0.07); bottom: -160px; right: -120px; }

/* ── §3 顶部导航 + 平台 tab + 进度条 ─────────────────────── */
.manual-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px;
  background: rgba(6, 9, 19, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 32px; gap: 20px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo:hover { text-decoration: none; }
.nav-logo svg { width: 28px; height: 28px; }
.nav-logo-text { display: flex; flex-direction: column; gap: 1px; }
.nav-logo-cn { font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--text); line-height: 1; }
.nav-logo-en { font-family: var(--mono); font-size: 9px; color: var(--accent); letter-spacing: 0.22em; line-height: 1; }
.nav-title-sep { color: var(--text-dim); font-size: 13px; }
.nav-title { font-size: 14px; color: var(--text-secondary); white-space: nowrap; }

.platform-tabs { display: flex; gap: 4px; margin-left: auto; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 4px; }
.platform-tab {
  padding: 6px 16px; border-radius: 7px; font-size: 13px; font-weight: 500;
  color: var(--text-secondary); text-decoration: none; transition: all 0.15s;
  font-family: var(--body); white-space: nowrap;
}
.platform-tab:hover { color: var(--text); text-decoration: none; background: var(--panel-strong); }
.platform-tab.active { background: var(--grad); color: #fff; box-shadow: 0 0 18px rgba(94, 124, 255, 0.35); }

.back-home {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 8px; font-size: 13px; font-weight: 500;
  color: var(--accent2); background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.3); text-decoration: none; white-space: nowrap;
  transition: background 0.15s;
}
.back-home:hover { background: rgba(34, 211, 238, 0.15); text-decoration: none; }

.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--grad); z-index: 101; box-shadow: 0 0 8px rgba(94, 124, 255, 0.6); }

/* ── §4 Hero ─────────────────────────────────────────────── */
.manual-hero { position: relative; padding: 132px 32px 40px; max-width: 1160px; margin: 0 auto; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(94, 124, 255, 0.1); border: 1px solid var(--border-bright);
  border-radius: 100px; padding: 5px 14px; margin-bottom: 18px;
}
.hero-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent2); box-shadow: 0 0 8px var(--accent2); animation: pulse 2.2s infinite; }
.hero-tag span { font-family: var(--mono); font-size: 11px; color: var(--accent2); letter-spacing: 0.18em; }
.hero-title {
  font-family: var(--display); font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 14px;
}
.hero-title .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-desc { color: var(--text-secondary); font-size: 16px; max-width: 640px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.meta-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 8px;
  padding: 7px 14px; font-size: 13px; color: var(--text-secondary);
}
.meta-chip b { color: var(--text); font-weight: 600; }
.meta-chip svg { width: 14px; height: 14px; color: var(--accent2); flex: none; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ── §5 布局：sticky 目录 + 主栏 ──────────────────────────── */
.manual-layout {
  position: relative; z-index: 1;
  max-width: 1160px; margin: 0 auto; padding: 8px 32px 80px;
  display: grid; grid-template-columns: 212px minmax(0, 1fr); gap: 44px;
  align-items: start;
}
.toc { position: sticky; top: 88px; max-height: calc(100vh - 108px); overflow-y: auto; padding: 4px 0; scrollbar-width: none; }
.toc::-webkit-scrollbar { display: none; }
.toc-title { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--text-dim); margin: 10px 0 10px 12px; }
.toc a {
  display: block; padding: 6px 12px; border-left: 2px solid transparent;
  font-size: 13.5px; color: var(--text-secondary); text-decoration: none;
  transition: all 0.15s; border-radius: 0 6px 6px 0; line-height: 1.5;
}
.toc a:hover { color: var(--text); text-decoration: none; background: var(--panel); }
.toc a.current { color: var(--accent2); border-left-color: var(--accent2); background: rgba(34, 211, 238, 0.06); }
.toc a .toc-num { font-family: var(--mono); font-size: 11px; color: var(--text-dim); margin-right: 6px; }
.toc a.current .toc-num { color: var(--accent2); }

.manual-body { min-width: 0; }

/* ── §6 章节组件 ─────────────────────────────────────────── */
.step { padding: 34px 0 10px; border-top: 1px solid var(--border); }
.step:first-child { border-top: none; padding-top: 12px; }
.step-head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 8px; }
.step-no {
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  border: 1px solid var(--border-bright); border-radius: 10px;
  padding: 7px 11px; line-height: 1; flex: none; margin-top: 5px;
  letter-spacing: 0.05em;
}
.step-title { font-family: var(--display); font-size: 25px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.step-sub { color: var(--text-secondary); font-size: 14.5px; margin: 2px 0 14px; padding-left: 66px; }
.step-no-small { padding-left: 0 !important; }

.manual-body h3 {
  font-family: var(--display); font-size: 17.5px; font-weight: 600;
  margin: 34px 0 12px; display: flex; align-items: center; gap: 10px;
}
.manual-body h3::before { content: ''; width: 18px; height: 2px; background: var(--grad); border-radius: 2px; flex: none; }
.manual-body p { margin: 12px 0; color: #C7CFE2; font-size: 15px; }
.manual-body p b, .manual-body li b { color: var(--text); font-weight: 600; }
.manual-body ul, .manual-body ol { margin: 12px 0; padding-left: 22px; color: #C7CFE2; font-size: 15px; }
.manual-body li { margin: 7px 0; }
.manual-body li::marker { color: var(--accent); }

/* 界面按钮引用词 —— 与客户端文案一致的高亮 */
.ui { font-style: normal; background: rgba(94, 124, 255, 0.13); border: 1px solid rgba(94, 124, 255, 0.25); color: #B9C8FF; border-radius: 5px; padding: 1px 7px; font-size: 0.92em; white-space: nowrap; }

/* ── §7 提示框 ───────────────────────────────────────────── */
.note { border-radius: 12px; padding: 14px 18px; margin: 18px 0; font-size: 14.5px; line-height: 1.7; border: 1px solid; position: relative; }
.note b { font-weight: 600; }
.note-tip { background: rgba(94, 124, 255, 0.07); border-color: rgba(94, 124, 255, 0.25); color: #BCC9F5; }
.note-tip b { color: #D6DEFF; }
.note-warn { background: rgba(245, 158, 11, 0.07); border-color: rgba(245, 158, 11, 0.3); color: #EBD3AC; }
.note-warn b { color: #FCE6BF; }
.note-ok { background: rgba(52, 211, 153, 0.06); border-color: rgba(52, 211, 153, 0.25); color: #B4E3CC; }
.note-ok b { color: #D4F1E2; }
.note-icon { margin-right: 8px; }

/* ── §8 代码 / 按键 / 路径 ───────────────────────────────── */
kbd {
  font-family: var(--mono); font-size: 12px; color: var(--text);
  background: var(--panel-strong); border: 1px solid var(--border);
  border-bottom-width: 2px; border-radius: 6px; padding: 2px 8px; white-space: nowrap;
}
.path {
  font-family: var(--mono); font-size: 12.5px; color: var(--accent2);
  background: rgba(34, 211, 238, 0.07); border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 6px; padding: 2px 8px; word-break: break-all;
}
code.inline { font-family: var(--mono); font-size: 0.88em; color: var(--accent2); background: rgba(34, 211, 238, 0.08); border-radius: 4px; padding: 1px 6px; }

/* ── §9 模拟窗口框架（浅色，复刻客户端 960×640 布局） ────── */
.mock-wrap { margin: 22px 0 6px; position: relative; }
.mock {
  background: var(--app-bg);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.09);
  overflow: hidden;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--app-text);
  position: relative;
  backdrop-filter: blur(12px);
}
/* 窗口标题栏：macOS 三色圆点 */
.mock-titlebar {
  height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 13px;
  background: var(--app-bg-elevated); border-bottom: 1px solid var(--app-border);
  position: relative;
}
.tb-dot { width: 11px; height: 11px; border-radius: 50%; }
.tb-dot.r { background: #ff5f57; } .tb-dot.y { background: #febc2e; } .tb-dot.g { background: #28c840; }
.mock-titlebar .tb-title {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: 12px; color: var(--app-text-sub); white-space: nowrap;
}
/* Windows 风格标题栏（右侧 ─ □ ×） */
.mock-titlebar.win .tb-win-btns { margin-left: auto; display: flex; height: 100%; }
.tb-win-btns span {
  width: 44px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--app-text-sub);
}
.tb-win-btns span:last-child:hover { background: #e81123; color: #fff; }
.mock-titlebar.win { padding-left: 13px; gap: 0; }

/* 窗口主体：左图标侧边栏 + 右内容 */
.mock-body { display: flex; min-height: 300px; }
.mock-sidebar {
  width: 64px; flex: none; background: var(--app-card);
  border-right: 1px solid var(--app-border);
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 0;
}
.sb-brand {
  width: 34px; height: 34px; border-radius: 12px; margin-bottom: 10px;
  background: var(--app-accent-grad); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 24px rgba(94, 124, 255, 0.35);
}
.sb-node-dot {
  width: 8px; height: 8px; border-radius: 50%; margin-top: auto;
  background: var(--app-border-strong);
}
.sb-node-dot.on { background: var(--app-success); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18); animation: dot-pulse 2.2s infinite; }
.sb-item {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--app-text-sub);
}
.sb-item svg { width: 16px; height: 16px; }
.sb-item .sb-label { font-size: 10px; line-height: 1; }
.sb-item.active { background: var(--app-accent-grad); color: #fff; }
.mock-main { flex: 1; padding: 18px 20px; min-width: 0; background: var(--app-bg); position: relative; }
/* 主区背景光斑（复刻客户端 bg-orb 纵深） */
.mock-main::before {
  content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: rgba(94, 124, 255, 0.07); filter: blur(90px); top: -160px; left: -140px; pointer-events: none;
}
.mock-main > * { position: relative; }
/* 客户端 section 标签（// 标题 语法） */
.msection-label {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  color: var(--app-accent-2); letter-spacing: 0.2em; margin: 14px 0 8px;
}
.msection-label::before { content: '// '; color: var(--app-accent); }

/* ── §10 模拟窗口内部组件（全部取客户端真实样式语言） ────── */
/* 客户端按钮 */
.mbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  font-size: 12px; font-weight: 500; border-radius: 8px; border: none;
  padding: 6px 14px; white-space: nowrap; line-height: 1.4;
}
.mbtn-primary { background: var(--app-accent-grad); color: #fff; }
.mbtn-primary-soft { background: var(--app-accent); color: #fff; }
.mbtn-danger { background: transparent; color: var(--app-danger); border: 1px solid var(--app-danger-border); }
.mbtn-danger-soft { background: var(--app-danger-bg); color: var(--app-danger); border: 1px solid var(--app-danger-border); }
.mbtn-ghost { background: var(--app-card-hover); color: var(--app-text-sub); border: 1px solid var(--app-border); }
.mbtn-outline { background: var(--app-card-hover); color: var(--app-text-sub); border: 1px solid var(--app-border); }
.mbtn-success { background: var(--app-success); color: #fff; }
.mbtn:disabled, .mbtn.disabled { opacity: 0.35; }

/* 卡片 */
.mcard { background: var(--app-card); border: 1px solid var(--app-border); border-radius: 12px; padding: 14px 16px; }
.mcard-title { font-size: 13px; font-weight: 600; color: var(--app-text); }

/* 状态灯 */
.status-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.status-dot.green { background: #34D399; box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18); animation: dot-pulse 2s infinite; }
.status-dot.yellow { background: #FBBF24; box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.18); }
.status-dot.gray { background: rgba(255, 255, 255, 0.16); }
@keyframes dot-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18); } 50% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.06); } }

/* 状态徽章（各页通用） */
.mbadge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 500; border-radius: 999px; padding: 2px 10px; white-space: nowrap;
}
.mbadge.loaded { background: var(--app-success-bg); color: var(--app-success); border: 1px solid var(--app-success-border); }
.mbadge.downloading { background: var(--app-info-bg); color: var(--app-info); border: 1px solid var(--app-info-border); }
.mbadge.paused { background: var(--app-warning-bg); color: var(--app-warning); border: 1px solid var(--app-warning-border); }
.mbadge.failed { background: var(--app-danger-bg); color: var(--app-danger); border: 1px solid var(--app-danger-border); }
.mbadge.downloaded { background: var(--app-info-bg); color: var(--app-info); border: 1px solid var(--app-info-border); }
.mbadge.pending { background: var(--app-warning-bg); color: var(--app-warning); border: 1px solid var(--app-warning-border); }
.mbadge.paying { background: var(--app-info-bg); color: var(--app-info); border: 1px solid var(--app-info-border); }
.mbadge.completed { background: var(--app-success-bg); color: var(--app-success); border: 1px solid var(--app-success-border); }
.mbadge.idle { background: var(--app-card-hover); color: var(--app-text-muted); border: 1px solid var(--app-border); }

/* 进度条 */
.mprogress { background: rgba(255, 255, 255, 0.08); border-radius: 999px; height: 8px; overflow: hidden; }
.mprogress > i {
  display: block; height: 100%; border-radius: 999px;
  background: var(--app-accent-grad);
  background-size: 200% 100%;
  animation: flow 2s linear infinite;
}
.mprogress.done > i { background: var(--app-success); animation: none; }
@keyframes flow { 0% { background-position: 0 0; } 100% { background-position: 200% 0; } }

/* 上线准备清单（OnboardingChecklist 复刻） */
.ob-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--app-border); }
.ob-row:last-child { border-bottom: none; }
.ob-idx { width: 22px; height: 22px; border-radius: 50%; background: var(--app-card-hover); color: var(--app-text-sub); font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex: none; }
.ob-idx.done { background: var(--app-success); color: #fff; }
.ob-name { font-size: 13px; font-weight: 600; white-space: nowrap; }
.ob-status { font-size: 11.5px; color: var(--app-text-sub); }
.ob-status.ok { color: var(--app-success); }
.ob-status.warn { color: var(--app-warning); }
.ob-action { margin-left: auto; }

/* 首页状态横幅 */
.home-banner { display: flex; align-items: center; gap: 11px; background: var(--app-card); border: 1px solid var(--app-border); border-left: 3px solid #34D399; border-radius: 1rem; padding: 14px 16px; }
.home-banner.connecting { border-left-color: #FBBF24; }
.home-banner.offline { border-left-color: rgba(255, 255, 255, 0.16); }
.hb-state { font-size: 14px; font-weight: 700; white-space: nowrap; }
.hb-detail { font-size: 12px; color: var(--app-text-sub); font-family: var(--mono); }
.hb-btn { margin-left: auto; }

/* 挂机模式卡 */
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mode-card { border: 1px solid var(--app-border); border-radius: 12px; padding: 13px 15px; position: relative; background: var(--app-card-sunken); }
.mode-card.selected { border-color: var(--app-border-bright); background: rgba(94, 124, 255, 0.08); }
.mode-name { font-size: 13px; font-weight: 700; }
.mode-desc { font-size: 11px; color: var(--app-text-sub); margin-top: 3px; line-height: 1.5; }
.mode-check { position: absolute; top: 11px; right: 12px; width: 16px; height: 16px; border-radius: 50%; background: var(--app-accent); color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; }
.mode-usage { margin-top: 9px; }
.mode-usage .mprogress { height: 6px; }
.mode-usage-label { font-size: 10.5px; color: var(--app-text-muted); margin-top: 4px; font-family: var(--mono); }

/* 数字统计卡 */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat-card { background: var(--app-card); border: 1px solid var(--app-border); border-radius: 12px; padding: 12px 14px; }
.stat-label { font-size: 11px; color: var(--app-text-sub); }
.stat-value { font-size: 20px; font-weight: 700; margin-top: 3px; font-variant-numeric: tabular-nums; }
.stat-value.money { background: var(--app-accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-unit { font-size: 11px; color: var(--app-text-muted); font-weight: 400; }

/* 模型卡 */
.model-card { background: var(--app-card); border: 1px solid var(--app-border); border-left: 3px solid #34D399; border-radius: 12px; padding: 13px 15px; }
.model-card.unfit { border-left-color: #F87171; }
.model-card.fitable { border-left-color: transparent; }
.model-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.model-name { font-size: 13.5px; font-weight: 700; font-family: var(--mono); }
.model-size { font-size: 11.5px; color: var(--app-text-muted); }
.model-desc { font-size: 11.5px; color: var(--app-text-sub); margin-top: 4px; }
.model-price { font-size: 11px; color: var(--app-text-sub); margin-top: 6px; }
.model-price b { color: var(--app-text); font-weight: 600; }
.model-actions { display: flex; gap: 8px; margin-top: 11px; align-items: center; }
.model-progress-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 11px; color: var(--app-text-sub); }
.model-progress-row .mprogress { flex: 1; }
.unfit-reason { font-size: 11.5px; color: var(--app-danger); margin-top: 6px; }
.fold-row { font-size: 12px; color: var(--app-text-sub); display: flex; align-items: center; gap: 6px; padding: 10px 2px 2px; }

/* 账户/绑定卡 */
.bind-grid { display: grid; gap: 10px; }
.bind-card { display: flex; align-items: center; gap: 12px; background: var(--app-card); border: 1px solid var(--app-border); border-radius: 12px; padding: 12px 15px; }
.bind-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--app-card-hover); display: flex; align-items: center; justify-content: center; flex: none; color: var(--app-text-sub); }
.bind-icon svg { width: 16px; height: 16px; }
.bind-name { font-size: 13px; font-weight: 600; white-space: nowrap; }
.bind-desc { font-size: 11px; color: var(--app-text-sub); margin-top: 1px; }
.bind-state { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.avatar-mock {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--app-accent-grad); display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--app-accent-2);
}

/* 登录页布局 */
.login-split { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 300px; }
.login-brand { background: linear-gradient(180deg, rgba(94, 124, 255, 0.08), rgba(6, 9, 19, 0.4)); border-right: 1px solid var(--app-border); padding: 26px 24px; display: flex; flex-direction: column; }
.login-brand-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; }
.login-slogan { font-size: 21px; font-weight: 800; line-height: 1.35; margin: auto 0; background: var(--app-accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.login-brand-foot { font-size: 10px; color: var(--app-text-muted); }
.login-form { padding: 26px 26px; display: flex; flex-direction: column; justify-content: center; }
.lf-title { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.lf-sub { font-size: 11px; color: var(--app-text-sub); margin-bottom: 14px; }
.minput {
  width: 100%; font-size: 13px; padding: 9px 12px; border-radius: 9px;
  border: 1px solid var(--app-border); background: var(--app-card-sunken); color: var(--app-text);
  font-family: inherit; outline: none;
}
.minput::placeholder { color: var(--app-text-muted); }
.minput:focus { border-color: var(--app-border-bright); box-shadow: 0 0 0 3px rgba(94, 124, 255, 0.15); }
.lf-row { display: flex; gap: 9px; margin-bottom: 10px; }
.lf-row .minput { flex: 1; }
.lf-sep { display: flex; align-items: center; gap: 10px; color: var(--app-text-muted); font-size: 11px; margin: 14px 0; }
.lf-sep::before, .lf-sep::after { content: ''; flex: 1; height: 1px; background: var(--app-border); }
.mbtn-wechat { background: #07c160; color: #fff; width: 100%; }

/* 提现表单 */
.wd-amount { display: flex; align-items: center; gap: 8px; }
.wd-amount .cny { font-size: 14px; color: var(--app-accent-2); font-weight: 600; font-family: var(--mono); }
.wd-rule { font-size: 11px; color: var(--app-text-sub); margin-top: 8px; }
.wd-record { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--app-border); font-size: 12px; background: var(--app-card); border-radius: 8px; margin-bottom: 6px; border: 1px solid var(--app-border); }
.wd-record:last-child { border-bottom: 1px solid var(--app-border); }
.wd-amount-val { font-weight: 700; font-size: 13px; }
.wd-time { color: var(--app-text-muted); font-size: 11px; margin-left: auto; font-family: var(--mono); }

/* 客户端内提示条 */
.mnote { border-radius: 9px; padding: 9px 13px; font-size: 12px; margin: 10px 0; border: 1px solid; display: flex; align-items: center; gap: 7px; }
.mnote.info { background: var(--app-info-bg); border-color: var(--app-info-border); color: var(--app-info); }
.mnote.warn { background: var(--app-warning-bg); border-color: var(--app-warning-border); color: var(--app-warning); }
.mnote.ok { background: var(--app-success-bg); border-color: var(--app-success-border); color: var(--app-success); }
.mnote.err { background: var(--app-danger-bg); border-color: var(--app-danger-border); color: var(--app-danger); }

/* 弹窗（手机绑定/提现绑定/确认框） */
.mock-modal {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(86%, 320px); background: var(--app-bg-elevated); border: 1px solid var(--app-border); border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); padding: 18px 20px; z-index: 5;
}
.mock-modal-backdrop { position: absolute; inset: 0; background: rgba(4, 6, 14, 0.75); z-index: 4; }
.mm-title { font-size: 14.5px; font-weight: 700; }
.mm-sub { font-size: 11.5px; color: var(--app-text-sub); margin-top: 3px; }
.mm-body { margin-top: 12px; }

/* ── §11 标注 pin + 图例 ─────────────────────────────────── */
.mock-wrap { position: relative; }
.pin {
  position: absolute; z-index: 6;
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #5E7CFF, #22D3EE);
  color: #fff; font-family: var(--mono); font-size: 11.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 3px rgba(6, 9, 19, 0.55), 0 0 14px rgba(94, 124, 255, 0.65);
  pointer-events: none;
}
.pin-legend { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pin-legend li { display: flex; gap: 11px; align-items: baseline; font-size: 14.5px; color: #C7CFE2; margin: 0; }
.pin-legend li b { color: var(--text); }
.pin-legend .pl-no {
  flex: none; width: 21px; height: 21px; border-radius: 50%;
  background: linear-gradient(135deg, #5E7CFF, #22D3EE);
  color: #fff; font-family: var(--mono); font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  transform: translateY(4px);
}
.mock-caption {
  margin-top: 10px; font-size: 12px; color: var(--text-dim);
  font-family: var(--mono); text-align: center; letter-spacing: 0.05em;
}

/* ── §12 托盘 / 系统界面模拟 ─────────────────────────────── */
/* Windows 任务栏右下角 */
.traybar-win {
  background: rgba(32, 32, 38, 0.97); border-radius: 12px; padding: 8px 12px;
  display: flex; align-items: center; gap: 12px; width: fit-content; margin: 0 auto;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}
.traybar-win .tray-icons { display: flex; align-items: center; gap: 10px; color: #c8c8d0; }
.traybar-win .tray-icons svg { width: 15px; height: 15px; }
.tray-app { color: #8fa3ff; position: relative; }
.tray-app::after { content: ''; position: absolute; inset: -5px; border-radius: 5px; background: rgba(143, 163, 255, 0.18); }
/* macOS 菜单栏 */
.menubar-mac {
  background: rgba(250, 250, 252, 0.97); border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px; padding: 7px 14px; display: flex; align-items: center; gap: 15px;
  width: fit-content; margin: 0 auto; font-size: 12.5px; color: #3c3c46;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}
.menubar-mac .mb-app { display: flex; align-items: center; gap: 5px; font-weight: 700; }
.menubar-mac .mb-app svg { width: 14px; height: 14px; }
.menubar-mac .mb-item { color: #6e6e7a; }
.menubar-mac .mb-item.hl { background: var(--app-accent); color: #fff; border-radius: 5px; padding: 2px 9px; }
/* 托盘下拉菜单 */
.tray-menu {
  background: rgba(252, 252, 254, 0.98); border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px; padding: 6px; width: 205px; margin: 10px auto 0;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4); font-size: 12.5px; color: #2c2c34;
}
.tray-menu .tm-item { padding: 8px 12px; border-radius: 7px; display: flex; align-items: center; }
.tray-menu .tm-sep { height: 1px; background: rgba(0, 0, 0, 0.08); margin: 5px 8px; }
.tray-menu .tm-item.hl { background: var(--app-accent); color: #fff; }
.tray-menu .tm-item .tm-check { margin-left: auto; color: inherit; opacity: 0.9; font-size: 11px; }
.tray-menu-label { text-align: center; font-size: 11.5px; color: var(--text-dim); margin-top: 8px; }

/* ── §13 步骤小结 / 结尾 ─────────────────────────────────── */
.step-done {
  display: flex; align-items: center; gap: 10px;
  background: rgba(52, 211, 153, 0.06); border: 1px dashed rgba(52, 211, 153, 0.35);
  border-radius: 12px; padding: 13px 18px; margin: 24px 0 8px; font-size: 14.5px; color: #C9EBDA;
}
.step-done svg { width: 17px; height: 17px; color: #34d399; flex: none; }

.manual-end {
  margin-top: 48px; border-top: 1px solid var(--border); padding: 36px 0 8px; text-align: center;
}
.manual-end h2 { font-family: var(--display); font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.manual-end p { color: var(--text-secondary); font-size: 14.5px; }
.end-actions { display: flex; justify-content: center; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.end-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 24px; border-radius: 10px;
  font-size: 14.5px; font-weight: 600; text-decoration: none; transition: all 0.2s;
}
.end-btn:hover { text-decoration: none; transform: translateY(-1px); }
.end-btn-primary { background: var(--grad); color: #fff; box-shadow: 0 0 24px rgba(94, 124, 255, 0.35); }
.end-btn-outline { color: var(--accent2); background: rgba(34, 211, 238, 0.08); border: 1px solid rgba(34, 211, 238, 0.3); }

.manual-footer { border-top: 1px solid var(--border); padding: 26px 32px; text-align: center; color: var(--text-dim); font-size: 12.5px; position: relative; z-index: 1; }
.manual-footer a { color: var(--text-secondary); }

/* ── §14 响应式 ──────────────────────────────────────────── */
@media (max-width: 1020px) {
  .manual-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .manual-hero, .manual-layout { padding-left: 20px; padding-right: 20px; }
  .manual-nav { padding: 0 16px; gap: 10px; }
  .nav-title, .nav-title-sep { display: none; }
}
@media (max-width: 720px) {
  .step-head { gap: 12px; }
  .step-title { font-size: 21px; }
  .step-sub { padding-left: 0; }
  .login-split { grid-template-columns: 1fr; }
  .login-brand { display: none; }
  .stat-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat-value { font-size: 15px; }
  .mode-grid { grid-template-columns: 1fr; }
  .platform-tab { padding: 6px 10px; font-size: 12px; }
  .back-home span { display: none; }
  .mock { border-radius: 10px; }
  .mock-main { padding: 12px; }
  .hero-meta { gap: 7px; }
}
