/* =========================================================
 * fuhui H5 · 样式（东方禅意 · 宣纸朱砂）
 * 宣纸米白底 / 浓墨文字 / 朱砂点缀 / 衬线标题
 * 细线 + 留白分隔，圆角 ≤4px，无彩色堆砌
 * =======================================================*/
:root {
  --bg: #F4EFE6;            /* 宣纸米白 · 页面底 */
  --surface: #FBF8F2;       /* 暖白 · 卡片/栏 */
  --ink: #332D26;           /* 浓墨 · 主文字 */
  --ink-2: #6B6258;         /* 次要文字（浓墨 72%） */
  --ink-3: #8F877B;         /* 弱化文字（浓墨 45%） */
  --line: #E2DCCF;          /* 暖调细线 */
  --line-strong: #BEB4A4;   /* 输入框描边 */
  --fill: #EDE7DA;          /* 浅填充（输入框/图占位） */
  --accent: #A63D2E;        /* 朱砂 · 点缀/选中 */
  --accent-deep: #7F2E22;   /* 深朱砂 · 价格/强调 */
  --danger: #A63A2E;        /* 错误/驳回 */
  --serif: Georgia, "Times New Roman", "Songti SC", "STSong", "SimSun", serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue",
    "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.7;
}
#app { max-width: 480px; margin: 0 auto; min-height: 100vh; }
a { color: var(--ink); text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }
input, textarea, select {
  font: inherit; color: var(--ink); background: var(--surface);
  border: 0.5px solid var(--line-strong); border-radius: 4px;
  padding: 10px 12px; width: 100%; outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--ink); }
textarea { resize: vertical; min-height: 96px; }
input[type="checkbox"], input[type="radio"] { width: auto; padding: 0; }

/* ---------- 布局 ---------- */
.page { padding: 53px 0 92px; } /* 53 = 顶栏48 + 呼吸5 */
.inner { padding: 16px; }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.hairline { border-bottom: 0.5px solid var(--line); }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; }
.mb8 { margin-bottom: 8px; } .mb16 { margin-bottom: 16px; }

/* ---------- 文字层级 ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: 0.04em; }
.sec-title {
  font-family: var(--serif); font-size: 20px; font-weight: 600;
  letter-spacing: 0.06em; margin: 28px 16px 12px;
}
.muted { color: var(--ink-3); } .gray { color: var(--ink-2); }
.small { font-size: 14px; } .tiny { font-size: 12px; }
.red { color: var(--danger); } /* 仅错误/驳回文字 */
.price { font-family: Georgia, serif; font-size: 24px; font-weight: 600; color: var(--accent-deep); }
.price-sm { font-family: Georgia, serif; font-size: 18px; font-weight: 600; color: var(--accent-deep); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ---------- 链接 / 按钮 ---------- */
.link { text-decoration: underline; cursor: pointer; color: var(--ink); font-size: 14px; }
.link.gray { color: var(--ink-2); }
.btn {
  display: block; width: 100%; background: var(--ink); color: var(--bg);
  text-align: center; padding: 13px 0; border-radius: 4px; font-size: 16px;
  letter-spacing: 0.1em; border: none; cursor: pointer;
}
.btn[disabled] { background: var(--line-strong); cursor: default; }
.btn-o {
  display: block; width: 100%; background: transparent; color: var(--ink);
  border: 0.5px solid var(--ink); text-align: center; padding: 12px 0;
  border-radius: 4px; font-size: 16px; letter-spacing: 0.06em; cursor: pointer;
}
.btn-row { display: flex; gap: 10px; }
.btn-row .btn, .btn-row .btn-o { flex: 1; }

/* ---------- 固定顶栏（左 主页/返回 · 中 标题 · 右 搜索） ---------- */
.topbar {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; height: 48px; z-index: 20;
  display: flex; align-items: center; padding: 0 16px;
  background: var(--surface); border-bottom: 0.5px solid var(--line);
}
.tb-title {
  flex: 1; text-align: center; font-family: var(--serif);
  font-size: 16px; font-weight: 600; letter-spacing: 0.08em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tb-side { min-width: 52px; font-size: 15px; color: var(--ink); cursor: pointer; }
.tb-side-title {
  font-family: var(--serif); font-size: 17px; font-weight: 600;
  letter-spacing: 0.06em; cursor: default; white-space: nowrap;
}
.tb-right { text-align: right; }
.tb-ico { width: 20px; height: 20px; vertical-align: -4px; }
.tb-logo { height: 26px; width: auto; display: inline-block; vertical-align: middle; }
.tb-logo-sm { height: 22px; width: auto; display: inline-block; vertical-align: middle; }

/* ---------- 京华老宋体字标（SVG，fill=currentColor） ---------- */
.brand-title { padding: 28px 16px 6px; text-align: center; }
.brand-title svg { height: 40px; width: auto; display: inline-block; }
.brand-slogan {
  text-align: center; font-size: 13px; letter-spacing: 0.22em;
  color: var(--ink-2); padding: 0 16px 18px;
}
.brand-note {
  text-align: center; font-size: 13px; letter-spacing: 0.1em;
  color: var(--ink-2); padding: 2px 16px 12px;
}
.sec-more { font-family: inherit; font-size: 13px; font-weight: 400; letter-spacing: 0.04em; color: var(--ink-2); cursor: pointer; }
.tabbar .wm svg { height: 17px; width: auto; display: inline-block; vertical-align: -3px; }

/* ---------- 底部 Tab ---------- */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; display: flex;
  background: var(--surface); border-top: 0.5px solid var(--line); z-index: 20;
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a { flex: 1; text-align: center; padding: 13px 0 11px; font-size: 14px; letter-spacing: 0.12em; color: var(--ink-2); cursor: pointer; border-top: 2px solid transparent; }
.tabbar a.on { color: var(--accent-deep); font-weight: 600; border-top-color: var(--accent); }

/* ---------- 底部操作栏（加购/结算；与导航 tabbar 区分） ---------- */
.actionbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; display: flex;
  background: var(--surface); border-top: 0.5px solid var(--line); z-index: 19;
  padding-bottom: env(safe-area-inset-bottom);
}
.actionbar a { flex: 1; text-align: center; padding: 13px 0 11px; font-size: 15px; cursor: pointer; }
/* 购物车页：导航 tabbar 也在 → 结算栏抬到其上（tabbar 高约 49px） */
.actionbar.above-tabs { bottom: calc(49px + env(safe-area-inset-bottom)); padding-bottom: 0; z-index: 21; }
.page.pad-2bar { padding-bottom: 150px; }

/* ---------- 搜索（底部细线 + 放大镜，东方极简） ---------- */
.search-row { display: flex; align-items: flex-end; gap: 10px; padding: 8px 16px 14px; }
.search-row input {
  flex: 1; background: transparent; border: none; border-radius: 0;
  border-bottom: 0.5px solid var(--line-strong); padding: 8px 2px;
}
.search-row input:focus { border-bottom-color: var(--ink); }
.search-row input::placeholder { color: var(--ink-3); letter-spacing: 0.04em; }
.search-row .btn-ai {
  flex: 0 0 auto; display: flex; align-items: center; gap: 5px;
  color: var(--accent-deep); cursor: pointer; padding: 6px 2px;
  border-bottom: 0.5px solid var(--line-strong);
}
.search-row .btn-ai svg { width: 15px; height: 15px; }
.search-row .btn-ai span { font-size: 13px; letter-spacing: 0.08em; white-space: nowrap; }
.search-row .btn-ai:active { color: var(--ink); }

/* ---------- 公告轮播条 ---------- */
.notice-bar {
  display: flex; align-items: center; gap: 10px;
  margin: 2px 16px 14px; padding: 9px 12px;
  border-top: 0.5px solid var(--line); border-bottom: 0.5px solid var(--line);
}
.nb-label {
  flex: 0 0 auto; font-size: 12px; letter-spacing: 0.16em;
  color: var(--accent-deep); border-right: 0.5px solid var(--line-strong);
  padding-right: 10px;
}
.nb-text {
  flex: 1; min-width: 0; font-size: 13px; color: var(--ink-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  animation: nb-in .35s ease;
}
@keyframes nb-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; } }
.nb-dots { flex: 0 0 auto; display: flex; gap: 4px; }
.nb-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }
.nb-dots i.on { background: var(--accent); }

/* ---------- 首页分类：多行网格 ---------- */
.cat-grid {
  display: flex; flex-wrap: wrap; padding: 0 16px 8px;
}
.cat-grid a {
  width: 25%; text-align: center; padding: 14px 0; cursor: pointer;
}
.cat-grid a span {
  font-family: var(--serif); font-size: 16px; letter-spacing: 0.04em;
  color: var(--ink); padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
}
.cat-grid a:active span { color: var(--accent-deep); border-bottom-color: var(--accent); }

/* ---------- 专栏拼版：头条大图 + 列表行 ---------- */
.feat-art { padding: 0 0 16px; border-bottom: 0.5px solid var(--line); cursor: pointer; }
.feat-art img.cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--fill); }
.feat-art .fa-t {
  font-family: var(--serif); font-size: 20px; font-weight: 600;
  letter-spacing: 0.03em; padding: 14px 16px 4px; line-height: 1.5;
}
.feat-art .fa-e { color: var(--ink-2); font-size: 14px; padding: 0 16px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 轮播（scroll-snap） ---------- */
.slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
.slider-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; }
.slide img, .slide video { width: 100%; object-fit: cover; background: var(--fill); }
.slide.banner img { aspect-ratio: 4 / 5; }
.slide.media img, .slide.media video { aspect-ratio: 1 / 1; }
.slider-idx { text-align: center; color: var(--ink-3); font-size: 12px; padding: 6px 0; }
.banner-wrap { position: relative; }
.slide.banner { cursor: pointer; }
.slider-dots {
  position: absolute; bottom: 14px; left: 0; right: 0;
  display: flex; gap: 6px; justify-content: center; align-items: center;
}
.slider-dots i {
  width: 6px; height: 6px; border-radius: 3px;
  background: rgba(51, 45, 38, 0.28); cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.slider-dots i.on { width: 18px; background: var(--accent-deep); }

/* ---------- 分类横排 ---------- */
.cat-scroll {
  display: flex; gap: 22px; overflow-x: auto; padding: 12px 16px;
  border-bottom: 0.5px solid var(--line); white-space: nowrap;
}
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-scroll a { color: var(--ink-2); cursor: pointer; padding-bottom: 2px; font-size: 15px; }
.cat-scroll a.on { color: var(--accent-deep); font-weight: 600; border-bottom: 1px solid var(--accent); }

/* ---------- 列表页：左侧竖向大分类（电商经典布局） ---------- */
.list-body { display: flex; align-items: flex-start; }
.cat-side {
  flex: 0 0 88px; position: sticky; top: 53px;
  min-height: calc(100vh - 53px);
  border-right: 0.5px solid var(--line); background: var(--surface);
}
.cat-side a {
  display: block; padding: 14px 6px; font-size: 14px; color: var(--ink-2);
  text-align: center; cursor: pointer; border-left: 2px solid transparent;
}
.cat-side a.on { color: var(--accent-deep); font-weight: 600; border-left-color: var(--accent); }
.list-main { flex: 1; min-width: 0; }

/* ---------- 商品卡片 / 列表 ---------- */
.prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5px; background: var(--line); }
.prod-cell { background: var(--surface); padding: 0 0 16px; cursor: pointer; }
.prod-cell img.cover { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--fill); }
.prod-cell .pt { padding: 10px 12px 4px; font-size: 15px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-cell .pp { font-family: Georgia, serif; font-size: 18px; font-weight: 600; color: var(--accent-deep); }
.pp-row { display: flex; align-items: center; justify-content: space-between; padding: 0 12px; }
/* 视觉 icon 仍是 22px，但触摸面积向四周扩 12px（~46px 热区防误触） */
.pp-cart { position: relative; color: #A6A6A6; cursor: pointer; padding: 12px; margin: -12px; }
.pp-cart svg { width: 22px; height: 22px; display: block; }
.pp-cart:active { color: var(--accent-deep); }
/* +1 飘字：快速上浮消失，连点连飘 */
.ping {
  position: absolute; top: -8px; right: -6px;
  font-size: 12px; font-weight: 600; color: var(--accent-deep);
  pointer-events: none; animation: ping-fly .5s ease-out forwards;
}
@keyframes ping-fly {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-14px); }
}
.prod-cell .ps { padding: 0 12px; font-size: 12px; color: var(--ink-3); }

.li { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 0.5px solid var(--line); cursor: pointer; }
.li img.thumb { width: 84px; height: 84px; object-fit: cover; background: var(--fill); flex: 0 0 auto; }
.li .lt { font-size: 15px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- AI 选品顾问（介绍页内联问答） ---------- */
.ai-chat { padding: 12px 16px 8px; border-bottom: 0.5px solid var(--line); }
.ac-head {
  font-size: 15px; font-weight: 600; letter-spacing: 0.06em; color: var(--accent-deep);
  margin-bottom: 8px;
}
.ac-sub { font-size: 12px; font-weight: 400; color: var(--ink-3); margin-left: 8px; letter-spacing: 0.02em; }
.ai-chat textarea { font-size: 14px; min-height: 72px; }
.ac-send { margin-top: 8px; padding: 10px 0; font-size: 15px; }
.ac-item { padding: 14px 0 4px; }
.ac-q { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.ac-q::before { content: "问　"; color: var(--ink-3); font-weight: 400; }
.ac-a { font-size: 15px; line-height: 1.75; color: var(--ink); }
.ac-a.md p { margin: 0 0 8px; }
.ac-prods { margin-top: 10px; }
.ac-arts { margin-top: 10px; border-top: 0.5px solid var(--line); padding-top: 8px; }
.ac-art-link { font-size: 14px; color: var(--accent-deep); padding: 5px 0; cursor: pointer; }

/* ---------- 详情页：分享 icon / 相关文章外框 / 二维码弹层 ---------- */
.pd-share { display: flex; gap: 14px; padding-top: 6px; }
.pd-share a { color: var(--ink-2); cursor: pointer; padding: 6px; margin: -6px; }
.pd-share a:active { color: var(--accent-deep); }
.pd-share svg { width: 21px; height: 21px; display: block; }
.rel-box {
  margin: 4px 16px 18px; padding: 14px 16px;
  background: var(--fill); border: 0.5px solid var(--line); border-radius: 4px;
}
.qr-pop {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--surface); border: 0.5px solid var(--line); border-radius: 4px;
  padding: 22px 26px; z-index: 31; text-align: center;
}
.qr-title { font-size: 15px; letter-spacing: 0.06em; margin-bottom: 12px; }
.qr-img { width: 200px; height: 200px; margin: 0 auto 10px; }

/* ---------- 文章卡片 ---------- */
.art { padding: 16px; border-bottom: 0.5px solid var(--line); cursor: pointer; }
.art img.cover { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; background: var(--fill); margin-bottom: 10px; }
.art .at { font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.5; letter-spacing: 0.03em; }
.art .ae { color: var(--ink-2); font-size: 14px; margin-top: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- markdown 正文 ---------- */
.md { line-height: 1.8; word-break: break-word; }
.md p { margin: 0 0 14px; }
.md h1, .md h2, .md h3, .md h4, .md h5, .md h6 { margin: 20px 0 10px; line-height: 1.5; }
.md h1 { font-size: 24px; } .md h2 { font-size: 21px; } .md h3 { font-size: 18px; }
.md h4, .md h5, .md h6 { font-size: 16px; }
.md img { width: 100%; margin: 8px 0; }
.md ul, .md ol { margin: 0 0 14px 1.4em; }
.md code { background: var(--fill); padding: 1px 5px; border-radius: 4px; font-size: 14px; }
.md a { text-decoration: underline; }
.md .md-h { display: inline-block; font-size: 18px; }

/* ---------- 底部弹层（SKU） ---------- */
.mask { position: fixed; inset: 0; background: rgba(51,45,38,.4); z-index: 30; }
.sheet {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; background: var(--surface); z-index: 31;
  border-top: 0.5px solid var(--line); padding: 16px 16px calc(20px + env(safe-area-inset-bottom));
  max-height: 78vh; overflow-y: auto;
}
.sku-opt {
  display: inline-block; border: 0.5px solid var(--line-strong); border-radius: 4px;
  padding: 8px 14px; margin: 0 8px 8px 0; cursor: pointer; font-size: 14px;
}
.sku-opt.on { border-color: var(--accent); color: var(--accent-deep); font-weight: 600; }
.sku-opt.off { color: var(--line-strong); border-color: var(--line); }
.qty-ctl { display: inline-flex; align-items: center; border: 0.5px solid var(--line-strong); border-radius: 4px; }
.qty-ctl button { width: 36px; height: 34px; font-size: 18px; color: var(--ink); }
.qty-ctl span { min-width: 40px; text-align: center; }

/* ---------- 测试模式快捷登录卡（仅 TEST_MODE 显示） ---------- */
.test-card { margin-top: 32px; border-top: 0.5px solid var(--line); padding-top: 14px; }
.tc-title { font-size: 13px; letter-spacing: 0.1em; color: var(--ink-3); margin-bottom: 10px; }
.tc-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 0.5px solid var(--line); font-size: 15px;
}

/* ---------- 地址 AI 智能识别 ---------- */
.ai-parse {
  margin-bottom: 18px; padding-bottom: 16px;
  border-bottom: 0.5px solid var(--line);
}
.ap-label {
  font-size: 13px; letter-spacing: 0.12em; color: var(--accent-deep);
  margin-bottom: 8px;
}
.ai-parse textarea { font-size: 14px; min-height: 64px; }
.ap-btn { margin-top: 8px; width: 100%; }

/* ---------- 表单 ---------- */
/* 验证码行：输入框与按钮 5:5（btn-o 默认 width:100%，行内需覆盖） */
.field .row input.grow { flex: 1 1 0; }
.field .row .btn-o { flex: 1 1 0; width: auto; padding-left: 0; padding-right: 0; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.check-line { display: flex; align-items: center; gap: 8px; font-size: 15px; }

/* ---------- 空态 / 加载 ---------- */
.empty { text-align: center; color: var(--ink-3); padding: 60px 0 40px; }
.loading { text-align: center; color: var(--ink-3); padding: 40px 0; }
.more { display: block; text-align: center; padding: 16px; color: var(--ink-2); font-size: 14px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; top: 18%; left: 50%; transform: translateX(-50%);
  max-width: 78%; background: var(--ink); color: var(--bg); font-size: 14px;
  padding: 10px 18px; border-radius: 4px; z-index: 99;
  opacity: 0; pointer-events: none; transition: opacity .18s;
}
.toast.show { opacity: 1; }

/* ---------- 分销身份徽章 + 分享卡 ---------- */
.dist-badge {
  display: inline-block; margin-left: 8px; padding: 1px 8px;
  font-size: 11px; font-weight: 400; letter-spacing: 0.12em;
  color: var(--accent-deep); border: 0.5px solid var(--accent);
  border-radius: 2px; vertical-align: 3px;
}
.share-card {
  margin: 12px 16px 0; padding: 12px 0;
  border-top: 0.5px solid var(--line); border-bottom: 0.5px solid var(--line);
}
.sc-title { font-size: 14px; letter-spacing: 0.06em; color: var(--ink); }
.sc-link {
  margin-top: 6px; font-size: 13px; color: var(--ink-2);
  word-break: break-all; font-family: var(--serif); letter-spacing: 0.02em;
}

/* ---------- 我的 / 列表项 ---------- */
.menu { border-top: 0.5px solid var(--line); }
.menu a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 16px; border-bottom: 0.5px solid var(--line); cursor: pointer; font-size: 16px;
}
.menu a .sub { color: var(--ink-3); font-size: 13px; }

.avatar-block {
  width: 64px; height: 64px; border-radius: 4px; color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; overflow: hidden; flex: 0 0 auto;
}
.avatar-block img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 核销码 ---------- */
.verify-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 32px; font-weight: 600; letter-spacing: 2px; text-align: center; padding: 10px 0;
}
.verify-qr { width: 200px; height: 200px; margin: 8px auto; background: var(--fill); }

/* ---------- 时间线 ---------- */
.timeline { padding: 4px 0; }
.timeline .ti { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.timeline .ti .tt { color: var(--ink-3); font-size: 13px; }

/* ---------- 上传图预览 ---------- */
.up-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.up-list .up { width: 72px; }
.up-list .up img { width: 72px; height: 72px; object-fit: cover; background: var(--fill); }
.up-list .up .rm { font-size: 12px; color: var(--ink-2); text-decoration: underline; text-align: center; margin-top: 2px; }

/* ---------- 分销 ---------- */
.stat-row { display: flex; padding: 18px 0; }
.stat-row .st { flex: 1; text-align: center; }
.stat-row .st .v { font-size: 24px; font-weight: 600; }
.stat-row .st .k { font-size: 13px; color: var(--ink-3); margin-top: 2px; }

/* ---------- 销售手册：反色卡片（与详情正文强区隔） ---------- */
.manual-dark {
  margin: 20px 16px 18px; padding: 18px 16px 14px;
  background: var(--ink); color: rgba(244, 239, 230, 0.92);
  border-radius: 4px;
}
.manual-dark .md-title {
  font-family: var(--serif); font-size: 20px; font-weight: 600;
  letter-spacing: 0.08em; color: var(--bg); margin-bottom: 12px;
  text-align: center;
}
.manual-dark .md h1, .manual-dark .md h2, .manual-dark .md h3,
.manual-dark .md h4, .manual-dark .md h5, .manual-dark .md h6 { color: var(--bg); }
.manual-dark .md strong { color: var(--bg); }
.manual-dark .md code { background: rgba(244, 239, 230, 0.16); }
.manual-dark .md img { border-radius: 4px; }
.manual-dark .muted { color: rgba(244, 239, 230, 0.55); }
.manual-meta {
  margin-top: 14px; padding-top: 10px;
  border-top: 0.5px solid rgba(244, 239, 230, 0.25);
  font-size: 12px; color: rgba(244, 239, 230, 0.55); letter-spacing: 0.04em;
}
.manual-meta-top {
  margin: 0 0 12px; padding: 0 0 10px;
  border-top: none; border-bottom: 0.5px solid rgba(244, 239, 230, 0.25);
}

/* 分销销售手册区分隔 */
.manual-box { border-top: 0.5px solid var(--line); margin-top: 20px; padding-top: 8px; }
