/* ============================================================
 * qh.css — 岐黄学堂 · 中医书卷主题
 * 覆盖 pc.css 默认蓝皮肤：宣纸米 + 墨色 + 朱砂 + 松绿 + 描金
 * ============================================================ */

/* ---------- 主题变量（覆盖 tcm 皮肤） ---------- */
html[data-skin="tcm"] {
  --brand: #9E3B32; --brand-bright: #B5544A; --brand-deep: #7A2A24;
  --brand-soft: #F5E9DC; --brand-soft2: #FAF4E8;
  --brand-line: #E2CDAA; --brand-line2: #D2B988; --brand-tint: #EAD9BC;
  --brand-rgb: 158, 59, 50; --ink-rgb: 60, 44, 30;
  --brand-grad: linear-gradient(135deg, #B5544A, #7A2A24);
  --bg: #F4EEE0; --card: #FFFDF6; --line: #E5DAC2;
  --txt: #2C2118; --txt2: #6B5A4B; --txt3: #A08D77;
  --qh-green: #3F5B4B; --qh-gold: #B4894A;
}
/* 宣纸质感背景 */
html[data-skin="tcm"] body {
  background-color: #F4EEE0;
  background-image:
    radial-gradient(ellipse 1200px 500px at 85% -5%, rgba(158, 59, 50, .05), transparent 60%),
    radial-gradient(ellipse 900px 420px at 5% 100%, rgba(63, 91, 75, .045), transparent 60%),
    repeating-linear-gradient(0deg, rgba(120, 90, 50, .016) 0 2px, transparent 2px 4px);
}
/* 全站标题走宋体系 */
html[data-skin="tcm"] .logo span,
html[data-skin="tcm"] .sec h3,
html[data-skin="tcm"] .crumb,
html[data-skin="tcm"] .h-title,
html[data-skin="tcm"] .pcard-t {
  font-family: "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif;
}
html[data-skin="tcm"] .sec h3 { letter-spacing: 2px; font-size: 17px; color: var(--txt); }
html[data-skin="tcm"] .sec h3::before { content: none; }
html[data-skin="tcm"] .sec h3 { padding-left: 14px; position: relative; }
html[data-skin="tcm"] .sec h3::after {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 5px; height: 18px; border-radius: 2px;
  background: linear-gradient(180deg, var(--brand), var(--qh-gold));
}

/* ---------- 左侧栏 ---------- */
html[data-skin="tcm"] .side { background: linear-gradient(180deg, #FBF6EA, #F6F0E1); border-right: 1px solid #E0D2B4; }
html[data-skin="tcm"] .logo { border-bottom: 1px dashed #E0D2B4; }
html[data-skin="tcm"] .logo span { font-size: 19px; font-weight: 700; color: #2C2118; letter-spacing: 3px; }
html[data-skin="tcm"] .menu .mi { border-radius: 10px; }
html[data-skin="tcm"] .menu .mi.on { background: linear-gradient(135deg, #9E3B32, #7A2A24); color: #FBF3E2; box-shadow: 0 3px 10px rgba(158, 59, 50, .25); }
html[data-skin="tcm"] .menu .mi.on .em { filter: none; }
html[data-skin="tcm"] .menu .mi:hover:not(.on) { background: #F1E7D2; color: var(--txt); }
/* 激活项悬停保持深红底浅字，避免浅字配浅底看不清 */
html[data-skin="tcm"] .menu .mi.on:hover { background: linear-gradient(135deg, #B5544A, #8A312A); color: #FBF3E2; }
html[data-skin="tcm"] .menu .lab { color: #A08D77; letter-spacing: 2px; }

/* ---------- 顶栏 ---------- */
html[data-skin="tcm"] .topbar { background: rgba(255, 253, 246, .88); backdrop-filter: blur(6px); border-bottom: 1px solid #E5DAC2; }
html[data-skin="tcm"] .search { background: #FFFDF6; border: 1.5px solid #D8C7A4; border-radius: 999px; }
html[data-skin="tcm"] .search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(158, 59, 50, .10); }
html[data-skin="tcm"] .s-btn { background: var(--brand-grad); border-radius: 999px; }
html[data-skin="tcm"] .tb-card { background: var(--brand-grad); color: #FBF3E2; border-radius: 999px; }

/* ---------- 商品卡 ---------- */
html[data-skin="tcm"] .pcard { background: var(--card); border: 1px solid #E7DCC3; border-radius: 14px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
html[data-skin="tcm"] .pcard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -14px rgba(60, 44, 30, .28); border-color: #D2B988; }
html[data-skin="tcm"] .pcard .price { color: var(--brand); font-weight: 800; }
html[data-skin="tcm"] .pill.on { background: var(--brand); border-color: var(--brand); color: #FBF3E2; }
html[data-skin="tcm"] .pill { background: #FFFDF6; border: 1px solid #DCCCA8; color: #6B5A4B; }

/* ============================================================
 *  岐黄首页（qh- 前缀，全新结构）
 * ============================================================ */
/* ---------- 卷轴 Hero ---------- */
.qh-hero {
  position: relative; overflow: hidden; border-radius: 20px;
  background:
    radial-gradient(ellipse 640px 300px at 92% 8%, rgba(180, 137, 74, .16), transparent 65%),
    radial-gradient(ellipse 520px 320px at 4% 100%, rgba(63, 91, 75, .12), transparent 60%),
    linear-gradient(135deg, #FBF5E7 0%, #F6EDD9 55%, #F1E4C9 100%);
  border: 1px solid #E0D0AC;
  box-shadow: 0 10px 34px -18px rgba(60, 44, 30, .30);
  padding: 34px 38px 30px; display: flex; gap: 28px; align-items: center;
}
.qh-hero::before {
  content: '醫'; position: absolute; right: -22px; bottom: -58px; z-index: 0;
  font-family: "Songti SC", "STSong", "SimSun", serif; font-size: 300px; line-height: 1;
  color: rgba(158, 59, 50, .055); pointer-events: none; font-weight: 700;
}
.qh-hero-l { flex: 1 1 auto; min-width: 0; position: relative; z-index: 1; }
.qh-hero-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.qh-hero-brand img { width: 52px; height: 52px; border-radius: 12px; box-shadow: 0 4px 12px rgba(122, 42, 36, .30); }
.qh-hero-brand b { font-family: "Songti SC", "STSong", "SimSun", serif; font-size: 26px; letter-spacing: 4px; color: #2C2118; }
.qh-hero-brand i { font-style: normal; font-size: 13px; color: #9E3B32; border: 1px solid rgba(158, 59, 50, .45); border-radius: 999px; padding: 2px 10px; letter-spacing: 1px; }
.qh-hero h1 {
  font-family: "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif;
  font-size: 40px; line-height: 1.25; letter-spacing: 3px; color: #2C2118; margin: 2px 0 10px;
}
.qh-hero h1 em { font-style: normal; color: #9E3B32; }
.qh-hero p.qh-sub { font-size: 15px; color: #6B5A4B; letter-spacing: 1px; margin-bottom: 20px; }
.qh-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.qh-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: 999px; font-size: 15px; font-weight: 700; letter-spacing: 1px; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.qh-btn:hover { transform: translateY(-2px); }
.qh-btn--main { background: linear-gradient(135deg, #B5544A, #7A2A24); color: #FBF3E2; box-shadow: 0 8px 20px -8px rgba(122, 42, 36, .55); }
.qh-btn--ghost { background: rgba(255, 253, 246, .8); color: #3F5B4B; border: 1.5px solid #B9C9BC; }
.qh-btn--ghost:hover { border-color: #3F5B4B; }
.qh-hero-r { flex: 0 0 208px; position: relative; z-index: 1; text-align: center; }
.qh-hero-r .qh-nisha {
  width: 100%; max-width: 206px; display: block; margin: 0 auto;
  border-radius: 16px; border: 1px solid #E0D0AC;
  box-shadow: 0 12px 30px -14px rgba(60, 44, 30, .40);
}

/* ---------- 精一书院：左文右图 ---------- */
.qh-jy-body { display: flex; gap: 30px; align-items: flex-start; position: relative; z-index: 1; }
.qh-jy-l { flex: 1 1 auto; min-width: 0; }
.qh-jy-photo {
  flex: 0 0 300px; margin: 4px 0 0; position: relative;
  border-radius: 14px; overflow: hidden; background: rgba(255, 253, 246, .06);
  border: 1px solid rgba(232, 201, 126, .55);
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .55);
}
.qh-jy-photo img { display: block; width: 100%; height: auto; filter: saturate(1.03); }
.qh-jy-photo figcaption {
  font-size: 12px; letter-spacing: 1.5px; text-align: center; color: #F0E4C4;
  padding: 8px 6px; background: rgba(20, 32, 26, .55);
}
/* 加微信送笔记的钩子条 */
.qh-jy-gift {
  display: inline-block; margin: 12px 0 0; padding: 9px 15px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(232, 201, 126, .22), rgba(201, 161, 91, .12));
  border: 1px dashed rgba(232, 201, 126, .65);
  font-size: 13px; line-height: 1.7; color: #F6EDD3; max-width: 640px;
}

/* ---------- 免费学中医 · 申请流程 4 步 ---------- */
.qh-jy-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0 4px; }
.qh-jy-body .qh-jy-steps { grid-template-columns: repeat(2, 1fr); }
.qh-jy-step { background: rgba(255, 253, 246, .75); border: 1px dashed #D2B988; border-radius: 12px; padding: 12px 10px; text-align: center; }
.qh-jy-step b { display: block; font-family: "Songti SC", "SimSun", serif; font-size: 15px; color: #9E3B32; letter-spacing: 1px; margin-bottom: 5px; }
.qh-jy-step i { font-style: normal; font-size: 12.5px; color: #6B5A4B; line-height: 1.55; }

/* ---------- 二维码弹窗 ---------- */
.qh-wx-modal { text-align: center; }
.qh-wx-modal h3 { font-family: "Songti SC", "SimSun", serif; font-size: 19px; color: #2C2118; letter-spacing: 1px; margin: 10px 0 12px; }
.qh-wx-qr { width: 240px; max-width: 82%; border-radius: 12px; border: 1px solid #E0D0AC; box-shadow: 0 8px 22px -10px rgba(60, 44, 30, .35); display: block; margin: 0 auto 10px; }
.qh-wx-tip { font-size: 13px; color: #9E3B32; margin: 0 0 10px; letter-spacing: .5px; }
.qh-wx-steps { text-align: left; margin: 0 auto 10px; padding-left: 22px; max-width: 330px; }
.qh-wx-steps li { font-size: 13.5px; color: #55452F; line-height: 1.9; }
.qh-wx-note { font-size: 12.5px; color: #A08D77; margin: 0; }

/* ---------- 倪师课程专题 ---------- */
.qh-ns-hero {
  position: relative; overflow: hidden; border-radius: 20px; padding: 34px 38px 30px;
  display: flex; gap: 30px; align-items: center;
  background:
    radial-gradient(ellipse 620px 320px at 92% 10%, rgba(180, 137, 74, .18), transparent 65%),
    radial-gradient(ellipse 520px 300px at 2% 100%, rgba(63, 91, 75, .14), transparent 62%),
    linear-gradient(135deg, #FBF5E7 0%, #F5EBD6 56%, #EEDFC2 100%);
  border: 1px solid #E0D0AC; box-shadow: 0 10px 34px -18px rgba(60, 44, 30, .30);
}
.qh-ns-hero-l { flex: 1 1 auto; min-width: 0; }
.qh-ns-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; letter-spacing: 1.5px;
  color: #9E3B32; border: 1px solid rgba(158, 59, 50, .38); border-radius: 999px; padding: 4px 13px; margin-bottom: 12px;
}
.qh-ns-hero h1 {
  font-family: "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif;
  font-size: 38px; line-height: 1.3; letter-spacing: 3px; color: #2C2118; margin: 0 0 12px;
}
.qh-ns-hero h1 em { font-style: normal; color: #9E3B32; }
.qh-ns-hero p { font-size: 14.5px; line-height: 1.95; color: #6B5A4B; max-width: 620px; margin-bottom: 14px; }
.qh-ns-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.qh-ns-pills span {
  font-size: 12.5px; color: #3F5B4B; background: rgba(255, 253, 246, .85);
  border: 1px solid #D8C7A4; border-radius: 999px; padding: 5px 13px; letter-spacing: .5px;
}
.qh-ns-photo {
  flex: 0 0 190px; width: 190px; border-radius: 16px; border: 1px solid #E0D0AC;
  box-shadow: 0 12px 30px -14px rgba(60, 44, 30, .40);
}
.qh-ns-tip { font-size: 13px; color: #8A7358; margin: -2px 0 12px; letter-spacing: .3px; }
.qh-ns-jy { margin-top: 22px; }
@media (max-width: 1100px) {
  .qh-ns-hero { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .qh-ns-photo { flex: 0 0 auto; width: 160px; }
  .qh-ns-hero h1 { font-size: 28px; }
}

/* ---------- 推广大使板块 ---------- */
.qh-amb { background: linear-gradient(135deg, #F3F0E4 0%, #EDEBDD 60%, #E6E2CE 100%); }
.qh-hero-r .qh-poem {
  writing-mode: vertical-rl; font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 17px; letter-spacing: 7px; color: #55452F; line-height: 2.1;
  height: 196px; margin: 0 auto; padding: 14px 12px;
  border-left: 1px solid #D2B988; border-right: 1px solid #D2B988;
  background: linear-gradient(180deg, rgba(255, 253, 246, .65), rgba(255, 253, 246, .15));
  border-radius: 4px;
}
.qh-hero-r .qh-seal {
  margin: 14px auto 0; width: 46px; height: 46px; border-radius: 9px;
  background: #9E3B32; color: #FBF3E2; font-family: "Songti SC", serif;
  font-size: 13px; line-height: 1.15; letter-spacing: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(122, 42, 36, .35); writing-mode: vertical-rl;
}

/* ---------- 四大频道 ---------- */
.qh-chans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 16px; }
.qh-chan {
  position: relative; overflow: hidden; border-radius: 16px; padding: 20px 18px 16px;
  background: var(--card); border: 1px solid #E5DAC2; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.qh-chan:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -14px rgba(60, 44, 30, .30); }
.qh-chan::after {
  content: ''; position: absolute; right: -26px; top: -26px; width: 92px; height: 92px;
  border-radius: 50%; opacity: .10; background: currentColor;
}
.qh-chan .qh-ch-em { font-size: 30px; display: block; margin-bottom: 10px; }
.qh-chan b { display: block; font-family: "Songti SC", "STSong", serif; font-size: 18px; letter-spacing: 2px; color: #2C2118; }
.qh-chan i { font-style: normal; font-size: 12.5px; color: #A08D77; display: block; margin-top: 5px; }
.qh-chan .qh-ch-cnt { position: absolute; right: 14px; bottom: 12px; font-size: 12px; color: #B4894A; font-weight: 700; }
.qh-chan--v1 { color: #9E3B32; } .qh-chan--v1 .qh-ch-em { color: #9E3B32; }
.qh-chan--v2 { color: #3F5B4B; } .qh-chan--v2 .qh-ch-em { color: #3F5B4B; }
.qh-chan--v3 { color: #8A6A2F; } .qh-chan--v3 .qh-ch-em { color: #8A6A2F; }
.qh-chan--v4 { color: #5B4A68; } .qh-chan--v4 .qh-ch-em { color: #5B4A68; }

/* ---------- 问止精一书院 · 免费学中医 ---------- */
.qh-jy {
  margin-top: 18px; border-radius: 20px; overflow: hidden; position: relative;
  background: linear-gradient(120deg, #2F463A 0%, #3F5B4B 58%, #4E6B58 100%);
  color: #EFF3EA; padding: 30px 36px;
  box-shadow: 0 12px 34px -16px rgba(47, 70, 58, .55);
}
.qh-jy::before {
  content: ''; position: absolute; inset: 10px; border: 1px solid rgba(239, 243, 234, .22);
  border-radius: 14px; pointer-events: none;
}
.qh-jy::after {
  content: '精一'; position: absolute; right: 26px; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; font-family: "Songti SC", serif; font-size: 88px; letter-spacing: 14px;
  color: rgba(239, 243, 234, .10); pointer-events: none; font-weight: 700;
}
.qh-jy-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; letter-spacing: 2px; color: #E8D9A8; border: 1px solid rgba(232, 217, 168, .5); border-radius: 999px; padding: 3px 12px; margin-bottom: 12px; }
.qh-jy h2 { font-family: "Songti SC", "STSong", serif; font-size: 26px; letter-spacing: 3px; margin-bottom: 8px; color: #F7F4E8; }
.qh-jy h2 em { font-style: normal; color: #E8C97E; }
.qh-jy p { font-size: 14px; line-height: 1.9; color: rgba(239, 243, 234, .88); max-width: 640px; }
.qh-jy-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 20px; max-width: 660px; }
.qh-jy-feat { background: rgba(239, 243, 234, .10); border: 1px solid rgba(239, 243, 234, .18); border-radius: 12px; padding: 12px 14px; }
.qh-jy-feat b { display: block; font-size: 14px; color: #F7F4E8; margin-bottom: 4px; }
.qh-jy-feat i { font-style: normal; font-size: 12px; color: rgba(239, 243, 234, .72); line-height: 1.6; }
.qh-jy-cta { display: inline-flex; align-items: center; gap: 9px; background: linear-gradient(135deg, #E8C97E, #C9A15B); color: #3A2E15; font-weight: 800; font-size: 15px; letter-spacing: 1px; padding: 12px 30px; border-radius: 999px; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .4); transition: transform .2s; }
.qh-jy-cta:hover { transform: translateY(-2px); }
.qh-jy-note { font-size: 12px; color: rgba(239, 243, 234, .62); margin-top: 10px; letter-spacing: .5px; }

/* ---------- 首页通用板块 ---------- */
.qh-sec { margin-top: 26px; }
.qh-sec-h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.qh-sec-h h3 { font-family: "Songti SC", "STSong", serif; font-size: 19px; letter-spacing: 2px; color: #2C2118; position: relative; padding-left: 14px; }
.qh-sec-h h3::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 19px; border-radius: 2px; background: linear-gradient(180deg, #9E3B32, #B4894A); }
.qh-sec-h a { margin-left: auto; font-size: 13px; color: #9E3B32; }
.qh-sec-h a:hover { text-decoration: underline; }

/* ---------- 侧栏 ---------- */
html[data-skin="tcm"] .side-card { background: var(--card); border: 1px solid #E5DAC2; border-radius: 14px; }
html[data-skin="tcm"] .sc-h { border-bottom: 1px dashed #E0D2B4; color: #2C2118; font-family: "Songti SC", serif; letter-spacing: 1px; }
.qh-side-list { display: flex; flex-direction: column; }
.qh-side-it { display: flex; align-items: center; gap: 9px; padding: 9px 4px; border-bottom: 1px dashed #EADFC6; font-size: 13px; color: #4E4034; cursor: pointer; }
.qh-side-it:last-child { border-bottom: none; }
.qh-side-it:hover { color: #9E3B32; }
.qh-side-it .em { flex: 0 0 auto; }
.qh-side-it .tx { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qh-side-it i { font-style: normal; flex: 0 0 auto; font-size: 11.5px; color: #B4894A; }

/* ---------- 移动端适配 ---------- */
@media (max-width: 1100px) {
  .qh-chans { grid-template-columns: repeat(2, 1fr); }
  .qh-jy-feats { grid-template-columns: 1fr 1fr; }
  .qh-jy-body { flex-direction: column; gap: 20px; }
  .qh-jy-photo { flex: 0 0 auto; width: 100%; max-width: 440px; }
  .qh-jy-body .qh-jy-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .qh-hero { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .qh-hero h1 { font-size: 30px; }
  .qh-hero-r { display: none; }
  .qh-jy { padding: 24px 20px; }
  .qh-jy::after { display: none; }
}

/* ---------- 在线学习 · 书架 ---------- */
.qh-hero--read { min-height: 200px; }
.qh-read-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.qh-read-card { display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: #FFFDF6; border: 1px solid #E4D5B8; border-radius: 14px; padding: 16px 14px 14px;
  text-align: center; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.qh-read-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(62,42,20,.14); }
.qh-read-cov { width: 132px; height: 176px; border-radius: 8px; background-size: cover; background-position: top center;
  box-shadow: 0 6px 16px rgba(62,42,20,.22), 0 0 0 1px rgba(180,137,74,.35); }
.qh-read-card b { font-family: 'Songti SC','SimSun',serif; font-size: 16px; color: #2C2118; line-height: 1.35; }
.qh-read-card i { font-style: normal; font-size: 12px; color: #A08D77; }
.qh-read-card em { font-style: normal; font-size: 13px; color: #9E3B32; font-weight: 700; }

/* ---------- 在线阅读器 ---------- */
.rd-wrap { padding: 14px 20px 40px; }
.rd-bar { display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, #35493D, #24352B);
  border-radius: 12px 12px 0 0; padding: 10px 14px; color: #F4EEE0; flex-wrap: wrap; }
.rd-back { color: #F4EEE0; text-decoration: none; font-size: 14px; padding: 4px 10px; border: 1px solid rgba(244,238,224,.4); border-radius: 8px; }
.rd-back:hover { background: rgba(244,238,224,.14); }
.rd-title { font-family: 'Songti SC','SimSun',serif; font-size: 16px; flex: 1; min-width: 160px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-tools { display: flex; align-items: center; gap: 8px; }
.rd-tools button { width: 30px; height: 28px; border: 1px solid rgba(244,238,224,.4); background: transparent;
  color: #F4EEE0; border-radius: 6px; cursor: pointer; font-size: 14px; line-height: 1; }
.rd-tools button:hover { background: rgba(244,238,224,.16); }
.rd-pg { font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.rd-pg input { width: 56px; height: 28px; border: 1px solid rgba(244,238,224,.4); background: rgba(244,238,224,.1);
  color: #F4EEE0; border-radius: 6px; text-align: center; font-size: 13px; }
#rdZoomVal { font-size: 12px; min-width: 40px; text-align: center; opacity: .85; }
.rd-stage { background: #3A3A38; min-height: 640px; max-height: 82vh; overflow: auto; text-align: center;
  padding: 20px 0; outline: none; }
.rd-canvas { background: #fff; box-shadow: 0 6px 22px rgba(0,0,0,.4); max-width: none; }
.rd-load { color: #C9BFA8; font-size: 15px; padding: 60px 20px; line-height: 2; }
.rd-load i { font-style: normal; font-size: 12px; opacity: .7; }
.rd-fb { display: flex; flex-direction: column; gap: 8px; padding: 14px; height: 72vh; }
.rd-fb p { color: #E7DCC3; font-size: 14px; margin: 0; }
.rd-iframe { flex: 1; width: 100%; border: 0; border-radius: 8px; background: #fff; }
.rd-tip { font-size: 12px; opacity: .75; }
.rd-cta { background: linear-gradient(135deg, #B5544A, #8A312A); color: #FBF3E2; text-align: center;
  padding: 12px 16px; font-size: 14.5px; border-radius: 0 0 12px 12px; }
.rd-cta b { font-size: 16px; letter-spacing: .5px; }

@media (max-width: 1100px) {
  .qh-read-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 阅读页 · 预览全宽 + 右侧悬浮引导层 ---------- */
.rd-body { border: 1px solid #E4D5B8; border-top: 0; border-radius: 0 0 12px 12px; overflow: hidden; }
body.rd-has-float .rd-wrap { padding-right: 452px; }
.rd-float { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); width: 400px; max-height: calc(100vh - 130px); overflow: auto;
  background: #FFFDF6; padding: 18px 16px 14px; display: flex; flex-direction: column; gap: 14px; z-index: 80;
  border: 1px solid #E4D5B8; border-radius: 14px; box-shadow: 0 12px 36px rgba(62,42,20,.3); }
.rd-float.hide, .rd-float-tab.hide { display: none; }
.rd-float > b { font-family: 'Songti SC','SimSun',serif; font-size: 17.5px; color: #2C2118; line-height: 1.4; padding-right: 26px; }
.rd-float-x { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid #D8C6A4; background: #F7EDD8; color: #6B5A4B; font-size: 13px; line-height: 24px;
  text-align: center; cursor: pointer; padding: 0; }
.rd-float-x:hover { background: #EAD9B5; color: #9E3B32; }
.rd-float-tab { position: fixed; right: 0; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl;
  letter-spacing: 4px; padding: 16px 9px; background: linear-gradient(135deg, #B5544A, #8A312A); color: #FBF3E2;
  border: 0; border-radius: 10px 0 0 10px; cursor: pointer; font-size: 14px; z-index: 80;
  box-shadow: 0 6px 18px rgba(62,42,20,.3); }
.rd-float-tab:hover { filter: brightness(1.06); }
.rd-side-qr { text-align: center; }
.rd-side-qr img { width: 100%; max-width: 260px; border-radius: 12px; box-shadow: 0 6px 18px rgba(62,42,20,.24); cursor: pointer; }
.rd-side-qr p { margin: 8px 0 0; font-size: 12.5px; color: #6B5A4B; line-height: 1.6; }
.rd-side-qr p b { color: #9E3B32; }
.rd-side-step h4 { margin: 0 0 4px; font-size: 14.5px; color: #9E3B32; }
.rd-side-step p { margin: 0; font-size: 13px; color: #55452F; line-height: 1.85; }
.rd-side-step p b { color: #9E3B32; }
.rd-side-step p i { font-style: normal; color: #A08D77; }
.rd-wxs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.rd-wx { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  background: #F6ECD8; border: 1px solid #D8C193; font-size: 14.5px; font-weight: 700; color: #2C2118;
  cursor: pointer; user-select: none; transition: background .2s ease; }
.rd-wx em { font-style: normal; font-size: 12px; font-weight: 400; color: #9E3B32; }
.rd-wx:hover { background: #F1E2C4; }
.rd-wx.copied { background: #E7F0E4; border-color: #9DBFA6; }
.rd-wx.copied em { color: #3F5B4B; }
.rd-x-warn { font-style: normal; font-size: 11.5px; color: #A08D77; line-height: 1.7; }
@media (max-width: 900px) {
  body.rd-has-float .rd-wrap { padding-right: 20px; }
  .rd-float { left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; transform: none; max-height: 62vh; }
  .rd-stage { min-height: 420px; }
}

/* ---------- 收款码开通会员弹层 ---------- */
.qr-amount { text-align: center; font-size: 34px; font-weight: 800; color: #9E3B32; margin: 6px 0 12px; }
.qr-amount span { font-size: 14px; font-weight: 400; color: #A08D77; }
.qr-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 12px; }
.qr-tabs button { padding: 8px 22px; border-radius: 999px; border: 1.5px solid #D8C193; background: #FFFDF6;
  font-size: 14.5px; font-weight: 700; color: #55452F; cursor: pointer; }
.qr-tabs button.on { background: linear-gradient(135deg, #B5544A, #8A312A); border-color: #8A312A; color: #FBF3E2; }
.qr-imgbox { text-align: center; background: #FFFDF6; border: 1px solid #E4D5B8; border-radius: 12px; padding: 14px; }
.qr-imgbox img { width: 200px; height: 200px; object-fit: contain; border-radius: 8px; background: #fff; }
.qr-order { margin-top: 8px; font-size: 12.5px; color: #6B5A4B; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.qr-order b { color: #9E3B32; letter-spacing: .5px; }
.qr-note { font-size: 13px; color: #55452F; line-height: 1.9; background: #FBF4E4; border-radius: 10px; padding: 10px 14px; margin: 10px 0; }
.qr-note b { color: #9E3B32; }
.qr-done p { font-size: 14px; color: #55452F; line-height: 1.9; }
.qr-done p b { color: #9E3B32; }

/* ---------- 推广大使页面 ---------- */
.amb-wrap { padding: 0 0 40px; }
.amb-hero { background: linear-gradient(135deg, #B5544A, #7A2B24); color: #FBF3E2; border-radius: 16px;
  padding: 26px 28px; margin-bottom: 16px; }
.amb-hero h1 { margin: 0 0 8px; font-size: 24px; font-family: 'Songti SC','SimSun',serif; letter-spacing: 1px; }
.amb-hero p { margin: 0; font-size: 14.5px; line-height: 1.9; opacity: .95; }
.amb-hero p b { color: #FFE9A8; }
.amb-rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
.amb-rule { background: #FFFDF6; border: 1px solid #E4D5B8; border-radius: 12px; padding: 14px 16px; position: relative; }
.amb-rule-n { position: absolute; top: -10px; left: 14px; width: 22px; height: 22px; border-radius: 50%;
  background: #B5544A; color: #FBF3E2; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.amb-rule b { display: block; font-size: 15px; color: #2C2118; margin: 2px 0 4px; }
.amb-rule p { margin: 0; font-size: 13px; color: #6B5A4B; line-height: 1.7; }
.amb-rule em { font-style: normal; color: #9E3B32; font-weight: 800; font-size: 15px; }
.amb-cta { text-align: center; padding: 8px 0 0; }
.amb-link { background: #FFFDF6; border: 1px solid #E4D5B8; border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.amb-link label { font-size: 13px; color: #6B5A4B; display: block; margin-bottom: 8px; }
.amb-link-row { display: flex; gap: 8px; }
.amb-link-row input { flex: 1; height: 38px; border: 1px solid #D8C193; border-radius: 8px; padding: 0 12px;
  font-size: 13px; background: #FBF4E4; color: #55452F; }
.amb-link .m-tip { margin: 8px 0 0; }
.amb-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.amb-stat { background: #FFFDF6; border: 1px solid #E4D5B8; border-radius: 12px; text-align: center; padding: 14px 6px; }
.amb-stat b { display: block; font-size: 20px; color: #9E3B32; margin-bottom: 4px; }
.amb-stat span { font-size: 12px; color: #A08D77; }
.amb-rewards { background: #FFFDF6; border: 1px solid #E4D5B8; border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
.amb-rewards h3 { margin: 0 0 10px; font-size: 15px; color: #2C2118; }
.amb-rewards h3 i { font-style: normal; font-size: 12.5px; color: #A08D77; font-weight: 400; margin-left: 8px; }
.amb-rw { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px dashed #EADFC8; font-size: 13.5px; }
.amb-rw:last-child { border-bottom: 0; }
.amb-rw-d { color: #3F7A4E; font-weight: 800; min-width: 64px; }
.amb-rw-r { flex: 1; color: #55452F; }
.amb-rw time { color: #A08D77; font-size: 12px; }
.amb-note { font-size: 13px; color: #6B5A4B; background: #FBF4E4; border-radius: 10px; padding: 12px 16px; line-height: 1.8; }
@media (max-width: 720px) {
  .amb-rules { grid-template-columns: 1fr; }
  .amb-stats { grid-template-columns: repeat(2, 1fr); }
}

/* 单买资料弹层 · 加微信引导块 */
.qb-wx { background: #FBF4E4; border: 1px solid #E4D5B8; border-radius: 12px; padding: 12px 14px; margin-top: 12px; text-align: center; }
.qb-wx p { margin: 0 0 8px; font-size: 13.5px; color: #2C2118; line-height: 1.7; }
.qb-wx p b { color: #9E3B32; }
.qb-wx i { display: block; font-style: normal; font-size: 12px; color: #A08D77; margin-top: 8px; line-height: 1.7; text-align: left; }

/* ---------- 精品分享商城（资料U盘 / 好物推荐） ---------- */
.sh-wrap { padding: 0 0 46px; }
.sh-hero { background: linear-gradient(135deg, #B5544A, #7A2B24); color: #FBF3E2; border-radius: 16px; padding: 22px 26px; margin-bottom: 18px; }
.sh-hero h1 { margin: 0 0 8px; font-size: 23px; font-family: 'Songti SC','SimSun',serif; letter-spacing: 1px; }
.sh-hero p { margin: 0; font-size: 14px; line-height: 1.9; opacity: .95; }
.sh-hero p b { color: #FFE9A8; }
.sh-grid, .sh-grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.sh-grid2 { margin-bottom: 6px; }
.sh-card { background: #FFFDF6; border: 1px solid #E4D5B8; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.sh-card:hover { box-shadow: 0 8px 24px rgba(62,42,20,.14); transform: translateY(-2px); }
.sh-img { position: relative; height: 150px; background: linear-gradient(135deg, #F3E7CE, #E9D6AE); display: flex; align-items: center; justify-content: center; }
.sh-img--link { cursor: pointer; }
.sh-detail-tag { position: absolute; right: 8px; bottom: 8px; background: rgba(44,33,24,.72); color: #FBF3E2; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.sh-detail-view { max-height: 62vh; overflow: auto; text-align: center; background: #F6F1E7; border-radius: 12px; padding: 8px; }
.sh-detail-view img { width: 100%; max-width: 560px; border-radius: 8px; display: block; margin: 0 auto; }
.sh-img img { width: 100%; height: 100%; object-fit: cover; }
.sh-ph { font-size: 44px; opacity: .8; }
.sh-body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; }
.sh-body b { font-size: 15px; color: #2C2118; line-height: 1.45; }
.sh-body p { margin: 6px 0 10px; font-size: 12.5px; color: #6B5A4B; line-height: 1.65; flex: 1; }
.sh-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sh-price { font-size: 19px; font-weight: 800; color: #9E3B32; }
.sh-ship { font-style: normal; font-size: 11px; color: #A08D77; margin-left: 5px; font-weight: 400; }
.sh-ship--free { color: #3F7A4E; }
.sh-go { font-size: 13px; font-weight: 700; color: #B5544A; }
.sh-sub-h { margin: 20px 0 12px; font-size: 16px; color: #2C2118; font-family: 'Songti SC','SimSun',serif; }
.sh-ad { display: flex; align-items: center; gap: 10px; background: #FFF7E0; border: 1px dashed #D8B75C; border-radius: 12px; padding: 12px 16px; margin: 14px 0; text-decoration: none; color: #55452F; font-size: 13.5px; line-height: 1.6; }
.sh-ad b { font-size: 15px; color: #2C2118; }
.sh-ad span:last-child { color: #8A7657; }
.sh-ad--join { border-style: solid; background: #FBF4E4; }
.sh-ad-tag { flex: none; background: #B5544A; color: #FBF3E2; font-size: 11px; padding: 2px 8px; border-radius: 999px; }
.sh-my { margin-top: 26px; }
.sh-my h2, .sh-sub-h { font-size: 16px; color: #2C2118; margin: 0 0 12px; }
.sh-orders { display: flex; flex-direction: column; gap: 10px; }
.sh-order { background: #FFFDF6; border: 1px solid #E4D5B8; border-radius: 12px; padding: 12px 15px; }
.sh-order-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sh-order-top b { font-size: 14.5px; color: #2C2118; }
.sh-order-mid { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 6px; font-size: 12.5px; color: #6B5A4B; }
.sh-order-no { color: #A08D77; }
.sh-order-tip { margin: 6px 0 0; font-size: 12.5px; color: #9E3B32; background: #FBF4E4; border-radius: 8px; padding: 7px 10px; line-height: 1.7; }
.sh-badge { font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.sh-badge--gray { background: #EFE8DA; color: #7A6A55; }
.sh-badge--orange { background: #FDEBD0; color: #B26A00; }
.sh-badge--blue { background: #E3EEFB; color: #2B6CB0; }
.sh-badge--green { background: #E2F1E6; color: #2F7A44; }
.sh-traces { margin-top: 10px; border-top: 1px dashed #EADFC8; padding-top: 10px; max-height: 260px; overflow: auto; }
.sh-trace-h { margin: 0 0 8px; font-size: 12.5px; color: #55452F; }
.sh-trace { display: flex; gap: 10px; padding: 5px 0; font-size: 12.5px; line-height: 1.6; }
.sh-trace time { flex: none; color: #A08D77; min-width: 128px; }
.sh-trace span { color: #3F3A33; }
.qr-done-p { text-align: center; font-size: 14px; color: #55452F; line-height: 1.9; margin: 4px 0 10px; }
@media (max-width: 860px) {
  .sh-grid, .sh-grid2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .sh-grid, .sh-grid2 { grid-template-columns: 1fr; }
  .sh-trace time { min-width: 0; }
}

/* ---------- 广告招租落地页 ---------- */
.ad-wrap { padding: 0 0 46px; }
.ad-hero { background: linear-gradient(135deg, #8A5A2B, #5C3A16); color: #FBF3E2; border-radius: 16px; padding: 34px 36px; margin-bottom: 16px; }
.ad-hero-tag { display: inline-block; background: rgba(251,243,226,.16); border: 1px solid rgba(251,243,226,.4); border-radius: 999px; padding: 4px 14px; font-size: 13px; margin-bottom: 14px; }
.ad-hero h1 { margin: 0 0 12px; font-size: 30px; line-height: 1.35; font-family: 'Songti SC','SimSun',serif; letter-spacing: 1px; }
.ad-hero p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.9; opacity: .95; max-width: 620px; }
.ad-hero p b { color: #FFE9A8; }
.ad-cta { display: inline-block; background: #FBF3E2; color: #6B3E12; font-weight: 800; font-size: 15px; padding: 11px 26px; border-radius: 999px; cursor: pointer; }
.ad-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.ad-feat { background: #FFFDF6; border: 1px solid #E4D5B8; border-radius: 14px; padding: 16px 16px 14px; }
.ad-feat b { display: block; font-size: 15.5px; color: #2C2118; margin-bottom: 8px; }
.ad-feat p { margin: 0; font-size: 13px; color: #6B5A4B; line-height: 1.75; }
.ad-steps { background: #FFFDF6; border: 1px solid #E4D5B8; border-radius: 14px; padding: 18px 22px; margin-bottom: 16px; }
.ad-steps h2 { margin: 0 0 14px; font-size: 17px; color: #2C2118; font-family: 'Songti SC','SimSun',serif; }
.ad-step { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; }
.ad-step b { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #8A5A2B; color: #FBF3E2; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.ad-step i { display: block; font-style: normal; font-size: 14.5px; font-weight: 700; color: #2C2118; }
.ad-step span { font-size: 13px; color: #6B5A4B; }
.ad-contact-card { background: #FBF4E4; border: 1px solid #E4D5B8; border-radius: 14px; padding: 20px 24px; text-align: center; }
.ad-contact-card h3 { margin: 0 0 8px; font-size: 17px; color: #2C2118; }
.ad-contact-card p { margin: 0 0 12px; font-size: 14px; color: #55452F; line-height: 1.8; }
.ad-contact-card p b { color: #9E3B32; }
.ad-contact-card .rd-wxs { justify-content: center; margin-bottom: 14px; }
@media (max-width: 860px) {
  .ad-feats { grid-template-columns: repeat(2, 1fr); }
  .ad-hero h1 { font-size: 24px; }
}
@media (max-width: 560px) {
  .ad-feats { grid-template-columns: 1fr; }
}

/* 推广靓号 */
.amb-vanity { margin-top: 12px; border-top: 1px dashed #EADFC8; padding-top: 12px; }
.amb-vanity label { font-size: 13px; color: #6B5A4B; display: block; margin-bottom: 8px; }
