:root {
  --red: #8c2f28;
  --red-soft: #b34a3e;
  --gold: #8a6d3b;
  --bg: #f6f4ef;
  --card: #ffffff;
  --text: #26221d;
  --text-2: #5d554c;
  --text-3: #8b8177;
  --line: #e3ddd2;
  --line-2: #efeae1;
  --accent-bg: #f4eee2;
  --fs: 17px;
  --lh: 1.9;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(60, 45, 30, .07), 0 6px 20px rgba(60, 45, 30, .05);
}

body.eye {
  --bg: #e7e0cc;
  --card: #f1e9d6;
  --text: #3a3327;
  --text-2: #5b5242;
  --text-3: #7d7361;
  --line: #d8cdb4;
  --line-2: #e2d8c2;
  --accent-bg: #e6dcc4;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body { padding-bottom: 92px; }

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

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 18px; }

/* ---------- header ---------- */
.hd {
  position: sticky; top: 0; z-index: 60;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.hd-in { display: flex; align-items: center; gap: 14px; height: 58px; }
.hd-top { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.logo { display: flex; align-items: baseline; gap: 8px; flex-shrink: 0; }
.logo b { font-size: 17px; letter-spacing: .5px; color: var(--red); }
.logo span { font-size: 12px; color: var(--text-3); }

.nav { display: flex; gap: 2px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  padding: 7px 13px; border-radius: 8px; font-size: 14.5px;
  color: var(--text-2); white-space: nowrap; text-decoration: none;
}
.nav a:hover { background: var(--accent-bg); text-decoration: none; }
.nav a.on { background: var(--red); color: #fff; }

.hd-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  padding: 7px 14px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--card); color: var(--text-2); font-size: 13.5px;
  cursor: pointer; transition: .15s; font-family: inherit;
}
.btn:hover { border-color: var(--red-soft); color: var(--red); }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn.primary:hover { background: #7a2921; color: #fff; }
.btn.sm { padding: 4px 9px; font-size: 12.5px; border-radius: 6px; }
.btn.ghost { background: transparent; }
.btn.icon { padding: 5px 8px; font-size: 15px; min-width: 32px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- generic ---------- */
.page { padding: 22px 0 40px; }
.h1 { font-size: 22px; margin: 0 0 4px; font-weight: 700; }
.sub { color: var(--text-3); font-size: 13.5px; margin: 0 0 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.card + .card { margin-top: 14px; }
/* 全卷连读：选卷卡片 */
.volcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.volcard { display: flex; flex-direction: column; gap: 5px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.volcard:hover { border-color: var(--red-soft); text-decoration: none; transform: translateY(-1px); }
.volcard b { font-size: 17px; color: var(--red); }
.volcard .vc-sub { font-size: 13px; color: var(--text-2); }
.volcard .vc-meta { font-size: 12.5px; color: var(--text-3); }
.volcard .vc-go { margin-top: 4px; font-size: 13px; color: var(--gold); font-weight: 600; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.muted { color: var(--text-3); font-size: 13px; }
.hr { height: 1px; background: var(--line-2); margin: 14px 0; }
.empty { text-align: center; padding: 44px 20px; color: var(--text-3); font-size: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.chip {
  display: inline-block; padding: 2px 9px; border-radius: 20px;
  background: var(--accent-bg); color: var(--gold); font-size: 12px;
  border: 1px solid var(--line); cursor: pointer; margin: 0 5px 5px 0;
}
.chip:hover { background: var(--red); color: #fff; border-color: var(--red); }
.chip.on { background: var(--red); color: #fff; border-color: var(--red); }
.chip.static { cursor: default; }
.chip.static:hover { background: var(--accent-bg); color: var(--gold); }

input, textarea, select {
  width: 100%; padding: 8px 11px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--bg); color: var(--text);
  font-family: inherit; font-size: 14px; outline: none;
}
input:focus, textarea:focus { border-color: var(--red-soft); background: var(--card); }
textarea { resize: vertical; min-height: 76px; line-height: 1.75; }
label.fld { display: block; margin-bottom: 13px; }
label.fld > span { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 5px; font-weight: 600; }

/* ---------- library ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.filters input[type=search] { flex: 1; min-width: 180px; width: auto; }
.filters .sp { flex: 1; }
.vol-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.vol-tabs button {
  padding: 6px 14px; border-radius: 20px; border: 1px solid var(--line);
  background: var(--card); color: var(--text-2); font-size: 13.5px; cursor: pointer; white-space: nowrap;
  font-family: inherit;
}
.vol-tabs button.on { background: var(--red); color: #fff; border-color: var(--red); }

.article-list { display: grid; gap: 10px; grid-template-columns: 1fr; }

/* ---------- 专题详情：自测卡 / 进度 / 读序 ---------- */
.qa {
  border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 14px; margin-bottom: 10px; cursor: pointer;
  transition: .15s; user-select: none;
}
.qa:hover { border-color: var(--red-soft); }
.qa-q { font-size: 15px; font-weight: 600; display: flex; gap: 8px; align-items: baseline; }
.qa-n { color: var(--red); font-weight: 700; flex-shrink: 0; }
.qa-hint { margin-left: auto; font-size: 12px; color: var(--text-3); font-weight: 400; white-space: nowrap; }
.qa-a { display: none; margin-top: 10px; line-height: 1.9; border-top: 1px dashed var(--line); padding-top: 10px; user-select: text; }
.qa.open { border-color: var(--red-soft); }
.qa.open .qa-a { display: block; }
.qa.open .qa-hint { display: none; }
.tprog { height: 6px; background: var(--line); border-radius: 3px; margin-top: 12px; overflow: hidden; }
.tprog i { display: block; height: 100%; background: var(--red); border-radius: 3px; transition: width .3s; }
.tprog-t { font-size: 12.5px; color: var(--text-3); margin-top: 6px; }
.ord { display: block; font-size: 11px; color: var(--text-3); margin-top: 3px; }
.readdone {
  font-size: 11px; color: #fff; background: var(--red);
  border-radius: 4px; padding: 1px 6px; font-weight: 400; flex-shrink: 0;
}
.art {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 13px 16px; transition: .15s;
}
.art:hover { border-color: var(--red-soft); box-shadow: var(--shadow); }
.art-no {
  flex-shrink: 0; width: 42px; text-align: center;
  font-size: 12px; color: var(--text-3); padding-top: 3px;
}
.art-no b { display: block; font-size: 17px; color: var(--red); font-weight: 700; }
.art-main { flex: 1; min-width: 0; }
.art-t { font-size: 16px; font-weight: 600; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.art-t a { color: var(--text); }
/* 标题是文字链接，盒子只有一行字那么高（约 27px），手指点起来容易擦边。
 * 上下各加 4px padding 把可点区域撑到 35px，再用等量负 margin 抵掉，排版看起来完全没变。 */
.art-t a { padding: 4px 0; margin: -4px 0; }
.art-t a:hover { color: var(--red); }
.art-meta { font-size: 12.5px; color: var(--text-3); margin-bottom: 6px; }
.art-gist { font-size: 13.5px; color: var(--text-2); line-height: 1.65; }
.art-acts { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.stars { color: #c0392b; font-size: 12px; letter-spacing: 1px; }
.rec { color: var(--gold); font-size: 12px; border: 1px solid var(--gold); border-radius: 4px; padding: 0 4px; }
.deep { color: var(--red); font-size: 12px; border: 1px solid var(--red-soft); border-radius: 4px; padding: 0 4px; }

/* ---------- reader ---------- */
.reader { --rf: var(--fs); }
.reader-head { margin-bottom: 6px; }
.reader-title { font-size: 24px; font-weight: 700; margin: 0 0 8px; line-height: 1.4; }
.reader-meta { font-size: 13px; color: var(--text-3); }
.rtoolbar {
  position: sticky; top: 58px; z-index: 40;
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 8px 12px; margin: 14px 0 18px;
}
.rtoolbar .sp { flex: 1; }
.prog-wrap { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-3); }
.prog-bar { width: 110px; height: 5px; background: var(--line-2); border-radius: 3px; overflow: hidden; }
.prog-bar i { display: block; height: 100%; background: var(--red); width: 0; transition: width .3s; }

/* 「⋯」浮层菜单：收纳阅读页的低频操作，工具条上只留常用的几个 */
.rt-more { position: relative; }
.rt-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 60;
  min-width: 170px; padding: 6px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 10px 28px rgba(0,0,0,.14);
  display: flex; flex-direction: column; gap: 2px;
}
.rt-menu[hidden] { display: none; }
.rt-menu button, .rt-menu a {
  display: block; width: 100%; text-align: left;
  background: none; border: 0; cursor: pointer;
  padding: 9px 10px; border-radius: 8px;
  font-size: 13.5px; color: var(--text); text-decoration: none;
  white-space: nowrap;
}
.rt-menu button:hover, .rt-menu a:hover { background: var(--accent-bg); color: var(--red); }
.rt-sep { height: 1px; background: var(--line); margin: 4px 2px; }

.sec-title {
  font-size: 16.5px; font-weight: 700; color: var(--red);
  margin: 24px 0 10px; padding-left: 11px; border-left: 3px solid var(--red);
}
/* 章标题：原书里章下直接挂节，章标题自身不带正文，故渲染成整幅的分隔块而非小节条 */
.sec-chapter {
  font-size: 19px; font-weight: 700; color: var(--text-1); letter-spacing: .5px;
  margin: 34px 0 14px; padding: 12px 16px; text-align: center;
  background: var(--accent-bg); border-top: 2px solid var(--red); border-bottom: 1px solid var(--line);
}
.sec-chapter:first-of-type { margin-top: 18px; }

/* 本篇目录浮层 */
.toc-list { display: flex; flex-direction: column; gap: 2px; max-height: 62vh; overflow-y: auto; }
.toc-item {
  display: block; width: 100%; text-align: left; font: inherit; cursor: pointer;
  background: none; border: 0; border-radius: 6px;
  padding: 9px 12px 9px 14px; font-size: 14px; color: var(--text-2); line-height: 1.6;
  transition: background .15s, color .15s;
}
.toc-item:hover { background: var(--accent-bg); color: var(--red); }
.toc-item.lv1 {
  font-weight: 700; color: var(--text-1); font-size: 15px;
  margin-top: 8px; border-left: 3px solid var(--red); padding-left: 13px;
}
.toc-item.lv1:first-child { margin-top: 0; }
.toc-item + .toc-item:not(.lv1) { padding-left: 22px; }
.para {
  font-family: var(--rfont, "Songti SC", "SimSun", Georgia, serif);
  font-size: var(--fs); line-height: var(--lh);
  padding: 12px 14px; border-radius: 8px; margin-bottom: 4px;
  position: relative; transition: background .15s;
}
.para:hover { background: var(--accent-bg); }
/* 长段软分段：一句群一块，块间留空隙；缩进统一由 .ln 提供，避免与容器叠加 */
.para .ptxt .ln { display: block; text-indent: 2em; }
.para .ptxt .ln + .ln { margin-top: 7px; }
.para.hl { background: #fdf0c8; }
body.eye .para.hl { background: #d9cba0; }
.para.on { background: #fdeaea; box-shadow: inset 0 0 0 2px var(--red-soft); }
.para-acts { position: absolute; right: 8px; top: 6px; display: none; gap: 4px; }
.para:hover .para-acts { display: flex; }
.para-acts button {
  border: 1px solid var(--line); background: var(--card); border-radius: 6px;
  font-size: 11.5px; padding: 2px 7px; cursor: pointer; color: var(--text-3); font-family: inherit;
}
.para-acts button:hover { color: var(--red); border-color: var(--red-soft); }
.para-note {
  font-size: 13px; color: var(--text-2); background: var(--accent-bg);
  border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0;
  padding: 10px 13px; margin: 8px 0 16px; line-height: 1.75;
}
.para-note b { color: var(--gold); font-weight: 700; }
.para-note .k { color: var(--red); font-weight: 600; }

/* ---------- course ---------- */
.coursenav { display: flex; gap: 6px; flex-wrap: wrap; font-size: 13px; margin-bottom: 12px; }
.coursenav a { color: var(--text-3); padding: 3px 10px; border-radius: 6px; border: 1px solid var(--line); }
.coursenav a:hover { color: var(--red); border-color: var(--red-soft); text-decoration: none; }

/* ---------- 上一篇 / 下一篇 ---------- */
.anav-wrap {
  display: flex; align-items: stretch; gap: 10px; margin-top: 14px;
  position: relative; flex-wrap: wrap;
}
.anav {
  display: flex; flex-direction: column; gap: 3px;
  min-width: 0; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--card); text-decoration: none;
  transition: border-color .15s, background .15s;
}
.anav:hover { border-color: var(--red-soft); background: var(--accent-bg); text-decoration: none; }
.anav-t { font-size: 14.5px; font-weight: 600; color: var(--text); line-height: 1.45; }
.anav:hover .anav-t { color: var(--red); }
.anav-m { font-size: 12px; color: var(--text-3); }
.anav-no {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: 11.5px; color: var(--text-3); background: var(--card);
  padding: 2px 7px; border-radius: 20px; border: 1px solid var(--line);
  pointer-events: none;
}
@media (max-width: 640px) {
  .anav-no { position: static; transform: none; margin: 0 auto; }
}
.sec-h {
  display: flex; align-items: center; gap: 8px;
  font-size: 17px; font-weight: 700; margin: 0 0 12px;
}
.sec-h i { width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff;
  font-size: 12px; font-style: normal; display: inline-flex; align-items: center; justify-content: center; }
.toggle { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.toggle button { padding: 5px 13px; background: var(--card); border: 0; cursor: pointer; font-size: 13px; color: var(--text-2); font-family: inherit; }
.toggle button.on { background: var(--red); color: #fff; }
.fw-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fw-table td, .fw-table th { border: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; }
.fw-table th { background: var(--accent-bg); color: var(--gold); font-weight: 600; width: 96px; white-space: nowrap; }

table.grid { width: 100%; border-collapse: collapse; font-size: 13.5px; }table.grid td, table.grid th { border: 1px solid var(--line); padding: 7px 10px; text-align: left; }
table.grid th { background: var(--accent-bg); color: var(--gold); font-weight: 600; }
table.grid tbody tr:nth-child(even) { background: rgba(0,0,0,.02); }

/* ---------- 原文覆盖度 ---------- */
.cov-bar { margin-bottom: 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--accent-bg); }
.cov-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; gap: 8px; flex-wrap: wrap; }
.cov-track { height: 7px; background: var(--line); border-radius: 4px; overflow: hidden; margin: 7px 0; }
.cov-track i { display: block; height: 100%; background: var(--red); transition: width .3s; }
.cov-vols { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-3); }
.cov-vol { white-space: nowrap; }
.quote-item { border-left: 3px solid var(--red-soft); padding: 6px 0 6px 12px; margin-bottom: 14px; }
.quote-item .t { font-size: var(--fs); font-family: var(--rfont, "Songti SC", "SimSun", Georgia, serif); line-height: var(--lh); }
.quote-item .n { font-size: 12.5px; color: var(--text-3); margin-top: 4px; }

/* ---------- notes ---------- */
.note {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 16px;
}
.note .nt { font-size: 15.5px; font-weight: 600; margin-bottom: 4px; display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.note .nm { font-size: 12.5px; color: var(--text-3); }
.note .nb { font-size: 14px; color: var(--text-2); margin: 8px 0; line-height: 1.75;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.note .na { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.tpl-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tpl-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 15px;
  cursor: pointer; background: var(--card); transition: .15s; text-align: left;
}
.tpl-card:hover { border-color: var(--red-soft); box-shadow: var(--shadow); }
.tpl-card.on { border-color: var(--red); box-shadow: 0 0 0 2px rgba(140,47,40,.12); }
.tpl-card b { font-size: 15px; display: block; margin-bottom: 3px; }
.tpl-card span { font-size: 12.5px; color: var(--text-3); line-height: 1.6; }

/* ---------- stats ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; text-align: center; }
.stat b { display: block; font-size: 26px; color: var(--red); line-height: 1.2; }
.stat span { font-size: 12.5px; color: var(--text-3); }
.bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13px; }
.bar-row .lb { width: 52px; color: var(--text-2); flex-shrink: 0; }
.bar-row .bar { flex: 1; height: 14px; background: var(--line-2); border-radius: 7px; overflow: hidden; }
.bar-row .bar i { display: block; height: 100%; background: var(--red-soft); }
.bar-row .vv { width: 62px; text-align: right; color: var(--text-3); flex-shrink: 0; }
.review-card {
  background: linear-gradient(135deg, #8c2f28, #b04a3c); color: #fff;
  border-radius: 14px; padding: 20px 22px;
}
.review-card h4 { margin: 0 0 10px; font-size: 16px; font-weight: 700; }
.review-card p { margin: 5px 0; font-size: 13.5px; opacity: .95; line-height: 1.8; }
.review-card .foot { margin-top: 12px; font-size: 12px; opacity: .8; }

/* ---------- topics ---------- */
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.topic-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px;
  background: var(--card); cursor: pointer; transition: .15s; border-top: 4px solid var(--tc, var(--red));
}
.topic-card:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.topic-card b { font-size: 16.5px; display: block; margin-bottom: 6px; }
.topic-card p { font-size: 13px; color: var(--text-2); margin: 0 0 10px; line-height: 1.7; }
.topic-card .cnt { font-size: 12.5px; color: var(--text-3); }

/* ---------- route ---------- */
.route-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 18px 20px; }
.route-card h3 { margin: 0 0 4px; font-size: 17px; }
.route-card .rs { color: var(--text-3); font-size: 13px; margin-bottom: 10px; }
.route-step { display: flex; gap: 12px; padding: 9px 0; border-top: 1px dashed var(--line); }
.route-step .n { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-bg); color: var(--gold);
  font-size: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 700; }
.route-step .c b { font-size: 14.5px; }
.route-step .c p { margin: 2px 0 0; font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* ---------- modal ---------- */
.mask {
  position: fixed; inset: 0; background: rgba(30, 22, 16, .48);
  display: flex; align-items: center; justify-content: center; z-index: 200; padding: 20px;
}
.modal {
  background: var(--card); border-radius: 14px; width: 100%; max-width: 640px;
  max-height: 88vh; overflow: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}
.modal-h { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: var(--card); z-index: 2; }
.modal-h b { font-size: 16px; }
.modal-b { padding: 18px 20px; max-height: 72vh; overflow: auto; }
.share-img { width: 100%; display: block; border: 1px solid var(--line); border-radius: 8px; }
.modal-f { padding: 12px 20px 18px; display: flex; gap: 8px; justify-content: flex-end; }
.x { border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--text-3); line-height: 1; }

/* ---------- disclaimer ---------- */
.disclaimer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--card); border-top: 1px solid var(--line);
  padding: 10px 0 12px; font-size: 11.5px; color: var(--text-3); line-height: 1.65;
}
.disclaimer .wrap { display: flex; gap: 14px; align-items: flex-start; }
.disclaimer b { color: var(--red); flex-shrink: 0; }
.d-more { display: none; border: 0; background: none; padding: 0; font: inherit; color: var(--text-3);
  text-align: left; cursor: pointer; line-height: 1.65; flex: 1; }
.d-more:hover { color: var(--red); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 110px; transform: translateX(-50%) translateY(10px);
  background: #33291f; color: #fff; padding: 9px 18px; border-radius: 8px;
  font-size: 13.5px; z-index: 300; opacity: 0; transition: .22s; pointer-events: none;
}
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- responsive ---------- */
/* 通俗精读（零基础入门版）七模块 */
.pop-p { margin: 0 0 10px; line-height: 1.95; }
.pop-p:last-child { margin-bottom: 0; }
.pop-sub { font-weight: 700; color: var(--gold); margin: 16px 0 8px; font-size: 14.5px; }
.pop-block { margin-top: 10px; }
.pop-block b {
  display: inline-block; color: var(--red); font-size: 12.5px; font-weight: 600;
  border: 1px solid var(--red-soft); border-radius: 4px; padding: 1px 7px; margin-bottom: 5px;
}
.pop-block p { margin: 0; line-height: 1.9; }
.pop-item + .pop-item { margin-top: 18px; border-top: 1px dashed var(--line); padding-top: 16px; }
.pop-ol { margin: 0; padding-left: 22px; line-height: 1.95; }
.pop-ol li { margin-bottom: 8px; }
.pop-center {
  background: var(--accent-bg); border-left: 3px solid var(--gold); border-radius: 6px;
  padding: 11px 14px; font-weight: 600; line-height: 1.9; margin-bottom: 14px;
}

@media (max-width: 860px) {
  .grid3, .topic-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  /* 头部两行：第一行标题+护眼，第二行导航横滑 —— 导航置顶显眼位置 */
  .hd-in { display: block; height: auto; padding: 8px 0 0; }
  .hd-top { justify-content: space-between; }
  .logo b { font-size: 16px; }
  .logo span { display: none; }
  .nav {
    flex: none; margin: 6px 0 0; padding: 0 6px 6px;
    border-top: 0; background: transparent;
    overflow-x: visible; flex-wrap: nowrap;
  }
  /* 六项等分平铺一行，全部直接可见，无需横滑；padding 撑到 10px 保证手指热区 ≥40px */
  .nav a { flex: 1 1 0; min-width: 0; text-align: center; font-size: 12.5px; padding: 10px 2px; min-height: 40px; white-space: nowrap; display: flex; align-items: center; justify-content: center; }
  .nav a.on { background: var(--red); color: #fff; font-weight: 600; }

  /* 免责声明收为一行，点击查看全文弹窗 */
  body { padding-bottom: 64px; }
  .disclaimer { padding: 7px 0 8px; font-size: 11px; }
  .disclaimer .wrap { gap: 8px; align-items: center; }
  .disclaimer .d-full { display: none; }
  .d-more { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
  .disclaimer b { font-size: 11px; }

  .grid2, .grid3, .topic-grid, .tpl-pick { grid-template-columns: 1fr; }
  /* 筛选栏：卷次条、搜索框各自独占一行，杜绝撑破页面宽度 */
  html, body { overflow-x: hidden; max-width: 100vw; }
  /* 卷次标签平铺一行，全部直接可见，无需横滑 */
  .filters > .vol-tabs { min-width: 100%; overflow-x: visible; justify-content: space-between; gap: 4px; }
  .vol-tabs button { flex: 1 1 0; padding: 6px 2px; font-size: 12.5px; text-align: center; }
  .filters > * { min-width: 0; }
  .filters input[type=search] { flex: 1 1 100%; width: 100%; }
  .filters select { flex: 0 1 auto; width: auto; max-width: 45%; }
  .reader-title { font-size: 20px; }
  .rtoolbar { top: 72px; gap: 6px; padding: 7px 10px; }
  .prog-bar { width: 64px; }
  .rt-menu { min-width: 150px; }
  .toast { bottom: 76px; }
  .card { padding: 14px 14px; }
  .toggle button { padding: 7px 14px; font-size: 13.5px; }
  .btn { padding: 8px 14px; }
  .btn.sm { padding: 6px 11px; font-size: 13px; }
  /* 手机阅读：首行缩进；段落操作按钮默认隐藏，点段落才出现，减少视觉负担 */
  .para { padding: 10px 12px; margin-bottom: 6px; display: flex; flex-direction: column; }
  .para .ptxt { order: 1; display: block; }
  .para.tap { background: var(--accent-bg); }
  .para-acts { display: none !important; position: static; order: 2; margin-top: 8px; justify-content: flex-end; }
  .para.tap .para-acts { display: flex !important; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat b { font-size: 21px; }

  /* ---- 精读课堂 / 表格卡片化：两列表格在窄屏改为「标签+内容」堆叠卡 ---- */
  .fw-table { display: block; border: 0; font-size: 13.5px; }
  .fw-table tbody { display: block; }
  .fw-table tr {
    display: block; border: 1px solid var(--line); border-radius: 9px;
    margin: 0 0 9px; overflow: hidden; background: var(--bg);
  }
  .fw-table th, .fw-table td { display: block; border: 0; padding: 0 12px; }
  .fw-table th {
    width: auto; white-space: normal; background: transparent; color: var(--gold);
    font-size: 12px; padding-top: 8px; letter-spacing: .5px;
  }
  .fw-table td { padding: 3px 12px 10px; line-height: 1.8; }

  /* 段落精读的展开按钮：允许换行、对齐更自然 */
  [data-act="cpara"] { white-space: normal; text-align: left; line-height: 1.55; padding: 6px 10px; }
  .coursenav { font-size: 12.5px; }
  .coursenav a { padding: 4px 9px; }
  .sec-h { font-size: 15px; }
  .modal { max-width: 100%; border-radius: 14px 14px 0 0; }
  .mask { align-items: flex-end; }
  .h1 { font-size: 19px; }
  .page { padding: 16px 0 32px; }
  .home-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 主导航下的子入口 ---------- */
.subnav { display: flex; gap: 6px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a {
  padding: 5px 12px; border-radius: 7px; font-size: 13px;
  color: var(--text-2); background: var(--line-2);
  white-space: nowrap; text-decoration: none;
}
.subnav a:hover { background: var(--accent-bg); text-decoration: none; }
.subnav a.on { background: var(--red-soft); color: #fff; }

/* ---------- 首页入口卡片 ---------- */
.home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.hcard {
  display: block; padding: 16px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--card); text-decoration: none;
}
.hcard:hover { border-color: var(--red-soft); text-decoration: none; }
.hcard b { display: block; font-size: 15px; color: var(--text); margin-top: 10px; }
.hc-sub { display: block; font-size: 12.5px; color: var(--text-3); margin-top: 5px; line-height: 1.6; }
.hc-ic {
  width: 34px; height: 34px; border-radius: 9px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 16px; color: #fff;
}
.hc-ic.c1 { background: #8c2f28; }
.hc-ic.c2 { background: #4a6fa5; }
.hc-ic.c3 { background: #2f7a5a; }
.hc-ic.c4 { background: #a5662f; }
.hc-ic.c5 { background: #6b4a8c; }
.hc-ic.c6 { background: #2f8c8c; }
.hc-ic.c7 { background: #534ab7; }
.hc-ic.c8 { background: #2f6b6b; }

/* 实践指南解读 */
.prc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.prc-card { background: var(--bg-1, #fff); border: 1px solid var(--line, #eee); border-radius: 12px;
  padding: 18px 16px 16px; cursor: pointer; transition: box-shadow .15s, transform .15s; position: relative; overflow: hidden; }
.prc-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--pc, #8c2f28); }
.prc-card:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.prc-card b { font-size: 17px; display: block; }
.prc-card .one { font-size: 13.5px; color: var(--text-2); margin: 8px 0 10px; line-height: 1.8; }
.prc-card .cnt { font-size: 12.5px; color: var(--text-3); }
.prc-qs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.prc-qs span { font-size: 12px; padding: 2px 9px; border-radius: 20px; background: #f5f2ec; color: var(--text-2); }
.prc-quote { margin: 0 0 14px; padding: 13px 15px; background: #faf8f5; border-left: 3px solid var(--pc, #8c2f28);
  border-radius: 0 8px 8px 0; }
.prc-quote .qt { font-size: 14.5px; line-height: 1.9; font-weight: 600; }
.prc-quote .qu { font-size: 12.5px; color: var(--text-3); margin-top: 6px; line-height: 1.7; }
.prc-step { display: flex; gap: 11px; margin-bottom: 13px; }
.prc-step i { flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--pc, #8c2f28); color: #fff;
  font-style: normal; font-size: 13px; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.prc-step b { display: block; margin-bottom: 3px; }
.prc-step p { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--text-2); }
.prc-scene { border: 1px solid var(--line, #eee); border-radius: 10px; padding: 13px 14px; margin-bottom: 10px; }
.prc-scene b { font-size: 14px; }
.prc-scene b em { font-style: normal; font-size: 12px; color: #fff; background: var(--pc, #8c2f28);
  border-radius: 4px; padding: 1px 7px; margin-left: 8px; vertical-align: 1px; }
.prc-scene ul { margin: 9px 0 0; padding-left: 19px; }
.prc-scene li { font-size: 13.5px; line-height: 1.85; color: var(--text-2); }
.prc-warn { background: #fdf6ee; border: 1px solid #f0dfc8; border-radius: 10px; padding: 12px 15px;
  font-size: 13.5px; line-height: 1.85; }
.prc-warn b { color: #a05a2c; }
@media (max-width: 640px) {
  .prc-grid { grid-template-columns: 1fr; }
}

.hcard.hero { margin-top: 14px; padding: 20px; }
.hc-tag {
  display: inline-block; font-size: 12px; color: var(--red);
  background: var(--accent-bg); padding: 3px 9px; border-radius: 6px;
}
.hcard.hero b { font-size: 19px; margin-top: 12px; }
.hc-bar { display: block; height: 5px; border-radius: 3px; background: var(--line-2); margin-top: 14px; overflow: hidden; }
.hc-bar i { display: block; height: 100%; background: var(--red); }
.hc-go { display: block; margin-top: 12px; font-size: 13px; color: var(--red); }
.home-stat { margin-top: 18px; font-size: 13px; color: var(--text-3); }
.home-stat b { color: var(--text-2); }

/* ---------- 打印：只留正文，去掉导航/工具条/免责声明 ----------
 * 很多人会把《实践论》《矛盾论》这类短篇打印出来勾画，之前直接打印会连着
 * 头部按钮和免责声明一起印出来，且底色、渐变、悬浮操作全都浪费墨。 */
@media print {
  .hd, .disclaimer, .toast, .rtoolbar, .para-acts, .rt-more, .filters,
  .anav-wrap, .btn, .subnav { display: none !important; }
  body { background: #fff !important; padding: 0 !important; }
  body.eye { --bg: #fff; --card: #fff; --text: #000; --text-2: #333; --text-3: #555; }
  .wrap { max-width: 100% !important; margin: 0 !important; padding: 0 !important; }
  .card, .para, .para-note {
    border: 0 !important; box-shadow: none !important; background: #fff !important;
    break-inside: avoid; page-break-inside: avoid;
  }
  .para.open .para-note, .para-note { display: block !important; }
  .reader-title, .h1 { font-size: 18pt !important; }
  a { color: #000 !important; text-decoration: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
  @page { margin: 16mm; }
}

/* ---------- 手机端热区：按钮原来只有 30~31px 高，手指容易点歪 ----------
 * 只在窄屏生效，桌面保持紧凑排版。目标是所有可点元素竖直方向 ≥34px。 */
@media (max-width: 640px) {
  .btn { min-height: 36px; padding-top: 6px; padding-bottom: 6px; }
  .btn.sm { min-height: 34px; padding: 6px 10px; }
  .btn.icon { min-height: 34px; min-width: 36px; }
  .filters button, .vol-tabs button, .filters select, .filters input[type="search"] { min-height: 36px; }
  .coursenav a { min-height: 34px; display: inline-flex; align-items: center; }
  .d-more { min-height: 34px; padding: 8px 0; }
  .anav { min-height: 52px; }
}

/* ---------- 专栏长文 ---------- */
.es-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 16px; }
.es-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 18px 14px; border-radius: 12px; text-decoration: none;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow); overflow: hidden; position: relative;
  transition: transform .16s, border-color .16s;
}
.es-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(160deg, var(--eg, #8c2f28), var(--eg2, #c0392b));
}
.es-card:hover { transform: translateY(-2px); border-color: var(--red-soft); text-decoration: none; }
.es-cno { font-size: 11.5px; color: var(--text-3); letter-spacing: 1px; }
.es-ct { font-size: 17px; line-height: 1.5; color: var(--text); }
.es-card:hover .es-ct { color: var(--red); }
.es-cm { font-size: 12.5px; color: var(--text-3); }
.es-cf {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 4px; padding-top: 10px; border-top: 1px dashed var(--line);
  font-size: 12.5px; color: var(--text-3);
}
.es-cf .go { color: var(--red); font-weight: 600; }

.es-head {
  padding: 22px 24px 18px; border-radius: 12px; color: #fff; margin-bottom: 4px;
  background: linear-gradient(140deg, var(--eg, #8c2f28), var(--eg2, #c0392b));
}
.es-no { font-size: 12px; opacity: .8; letter-spacing: 1px; }
.es-title { font-size: 26px; font-weight: 700; margin: 8px 0 10px; line-height: 1.4; color: #fff; }
.es-meta { font-size: 12.5px; opacity: .85; }

.es-body { max-width: 720px; margin: 0 auto; }
.es-p {
  font-family: var(--rfont); font-size: var(--fs, 17px); line-height: var(--lh, 1.9);
  margin: 0 0 18px; color: var(--text); letter-spacing: .2px;
}
/* 红色下划线 = 那篇参考文要的"标红划线"，也是全文可以直接抄走的结论 */
.es-hl {
  font-style: normal; font-weight: 600; color: var(--red);
  padding-bottom: 1px; border-bottom: 2px solid rgba(140, 47, 40, .38);
}
body.eye .es-hl { border-bottom-color: rgba(140, 47, 40, .5); }
.es-ref { color: var(--red); border-bottom: 1px dotted var(--red-soft); text-decoration: none; }
.es-ref:hover { background: var(--accent-bg); text-decoration: none; }

.es-sec { display: flex; align-items: baseline; gap: 10px; margin: 34px 0 16px; }
.es-secno {
  flex: none; width: 30px; height: 30px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-bg); color: var(--red); font-weight: 700; font-size: 14px;
}
.es-sect { font-size: 19px; font-weight: 700; margin: 0; line-height: 1.5; color: var(--text); }
.es-end { height: 1px; background: var(--line); margin: 30px 0 22px; }
.es-alts { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.es-alts span { font-size: 13.5px; color: var(--text-2); padding: 5px 0; }
.es-alts span + span { border-top: 1px dashed var(--line); }

@media (max-width: 860px) { .es-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .es-head { padding: 18px 16px 15px; }
  .es-title { font-size: 21px; }
}

/* ============================================================
   免费研读版：常横幅 / 锁定态 / 锁屏卡 / 升级软提示
   付费版不受影响（这些类只在免费模式下才被渲染出来）
   ============================================================ */

/* 顶部常驻横幅：跟着吸顶的头部走，翻到哪页都看得见「这是免费版」+ 升级入口 */
.freebar {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(90deg, #8c2f28, #a83226);
  color: #fdf3e3; padding: 9px 14px; font-size: 13px; line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.freebar .fb-badge {
  flex: none; background: #fff; color: #8c2f28; font-size: 12px; font-weight: 800;
  letter-spacing: .5px; border-radius: 999px; padding: 4px 11px; white-space: nowrap;
}
.freebar .fb-l { flex: 1; min-width: 0; }
.freebar .fb-l b { display: block; font-weight: 700; font-size: 13.5px; letter-spacing: .3px; }
.freebar .fb-l i {
  display: block; font-style: normal; font-size: 12px; opacity: .9;
  line-height: 1.5; margin-top: 1px;
}
/* 小屏只给一行，篇数折进标题里（.fb-cnt）——横幅是吸顶的，不能太占地方 */
.freebar .fb-cnt { display: none; font-style: normal; font-weight: 600; }
.freebar .fb-btn {
  border: 0; background: #fffaf0; color: #8c2f28; border-radius: 8px;
  padding: 8px 13px; font-size: 13px; font-weight: 800; cursor: pointer;
  font-family: inherit; white-space: nowrap; flex: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .16);
}
/* 次要入口（产品介绍）：不抢「解锁」的风头 */
.freebar .fb-btn.fb-ghost {
  background: transparent; color: #fdf3e3;
  border: 1px solid rgba(255, 255, 255, .55); box-shadow: none; font-weight: 600;
}
@media (max-width: 640px) {
  .freebar { flex-wrap: wrap; padding: 7px 11px; gap: 6px 8px; }
  .freebar .fb-l { flex: 1 1 auto; min-width: 0; }
  .freebar .fb-l i { display: none; }        /* 详情交给首页说明卡，横幅只留结论 */
  .freebar .fb-l b { font-size: 13px; }
  .freebar .fb-cnt { display: inline; }
  .freebar .fb-btn { margin-left: auto; padding: 6px 11px; font-size: 12.5px; }
}

/* ---------- 首页网格重排 ----------
 * 手机端免费版说明卡（freecard）退到入口卡之后：读者打开首页先看到
 * 「今天读什么 + 推荐卡 + 入口卡」，别让三百多像素的说明卡占掉首屏。 */
.homewrap {
  display: grid;
  grid-template-areas: 'ttl' 'sub' 'bk' 'fc' 'hero' 'grid' 'stat';
}
.homewrap > .h1 { grid-area: ttl; }
.homewrap > .sub { grid-area: sub; }
.homewrap > .bkbar { grid-area: bk; }
.homewrap > .freecard { grid-area: fc; }
.homewrap > .hcard.hero { grid-area: hero; }
.homewrap > .home-grid { grid-area: grid; }
.homewrap > .home-stat { grid-area: stat; }
@media (max-width: 640px) {
  .homewrap { grid-template-areas: 'ttl' 'sub' 'bk' 'hero' 'grid' 'fc' 'stat'; }
  /* 说明卡退居其后时给个上间距，别贴着入口卡 */
  .homewrap > .freecard { margin-top: 18px; }
}

/* 站名旁边的免费版小标：换页面也一直在 */
.lg-free {
  display: inline-block; margin-left: 7px; vertical-align: middle;
  background: #8c2f28; color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: .5px; border-radius: 999px; padding: 2px 8px;
}

/* 首页首屏的免费版说明卡：把「我是免费版 / 能看多少 / 怎么看完整版」一次讲清 */
.freecard {
  background: linear-gradient(180deg, #fff8ee, #fdf1e2);
  border: 2px solid #8c2f28; border-radius: 12px;
  padding: 16px 16px 14px; margin: 16px 0 4px;
}
.freecard .fc-h { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 9px; }
.freecard .fc-badge {
  background: #8c2f28; color: #fff; font-size: 12px; font-weight: 800;
  letter-spacing: .5px; border-radius: 999px; padding: 4px 11px;
}
.freecard .fc-h b { font-size: 15.5px; color: #8c2f28; }
.freecard p { font-size: 13.5px; line-height: 1.9; color: #4a4238; margin: 0; }
.freecard p b { color: #8c2f28; }
.freecard .fc-a { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 13px; }
.freecard .fc-ghost { font-size: 13.5px; color: #8c2f28; text-decoration: none; font-weight: 700; }
.freecard .fc-f {
  font-size: 12px; color: #8a7a62; line-height: 1.7; margin-top: 10px;
  padding-top: 9px; border-top: 1px dashed #ddc9a8;
}
@media (max-width: 640px) {
  .freecard { padding: 14px 13px 12px; }
  .freecard .fc-h b { font-size: 15px; }
  .freecard .fc-a .btn { width: 100%; justify-content: center; }
  .freecard .fc-ghost { width: 100%; text-align: center; }
}

/* 锁定态：看得见、点得开、但一眼就知道没解锁 */
.art.locked { opacity: .62; background: #faf8f3; }
.art.locked .art-gist { color: var(--text-3); }
.art.locked .art-t a { color: var(--text-2); }
.hcard.locked { opacity: .68; }
.topic-card.locked { opacity: .6; }
.lock-tag {
  display: inline-block; background: #efe6d6; color: #8a6a3a; border: 1px solid #e0d4bb;
  border-radius: 4px; font-size: 11px; padding: 1px 5px; margin-left: 6px; vertical-align: middle;
  font-weight: 400; letter-spacing: 0;
}
.t-lock {
  margin-top: 8px; font-size: 12px; color: #8a6a3a; background: #efe6d6;
  border-radius: 5px; padding: 3px 9px; display: inline-block;
}
.t-open {
  margin-top: 8px; font-size: 12px; color: #8c2f28; background: #fdf0e4;
  border: 1px solid #e8cfc0; border-radius: 5px; padding: 3px 9px; display: inline-block; font-weight: 700;
}

/* 锁屏卡：说清楚「里面有什么」，而不是「你没有」 */
.lock {
  background: linear-gradient(180deg, #fffaf0, #fdf5e9);
  border: 2px solid #e6d5b8; border-radius: 12px;
  padding: 22px 20px; text-align: center; margin: 16px 0;
}
.lock-ic {
  display: inline-flex; width: 42px; height: 42px; border-radius: 50%;
  background: #8c2f28; color: #fff; font-size: 19px;
  align-items: center; justify-content: center; margin-bottom: 10px;
}
.lock b { display: block; font-size: 17px; margin-bottom: 7px; color: #23201b; }
.lock p { font-size: 14px; line-height: 1.85; color: #666; margin: 0 auto 14px; max-width: 540px; }
.lock-acts { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.lock-sub { font-size: 12.5px; color: #8a7a62; margin-top: 12px; line-height: 1.75; }
.lock-sub a { color: #8c2f28; }

/* 升级软提示：底部浮出，不打断阅读，关掉就不再出现 */
.nudge {
  position: fixed; left: 50%; bottom: 22px; z-index: 9995;
  transform: translateX(-50%) translateY(14px);
  display: flex; gap: 11px; align-items: flex-start; background: #fff;
  border: 1px solid #e2dbcc; border-left: 4px solid #8c2f28; border-radius: 11px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .14); padding: 13px 15px;
  max-width: 420px; width: 92%; opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}
.nudge.on { opacity: 1; transform: translateX(-50%) translateY(0); }
.nudge-i {
  flex: none; width: 38px; height: 38px; border-radius: 9px; background: #8c2f28; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; line-height: 1.15; text-align: center; padding: 3px;
}
.nudge-c { flex: 1; min-width: 0; }
.nudge-c b { display: block; font-size: 14.5px; color: #23201b; margin-bottom: 3px; }
.nudge-c div { font-size: 13px; line-height: 1.7; color: #555; }
.nudge-a { display: flex; gap: 7px; margin-top: 9px; flex-wrap: wrap; }

/* ---- 第五卷在免费层让出来的位置：付费引导卡 ---- */
.v5card { margin-top: 16px; border-left: 4px solid var(--red); }
.v5card .v5-h { display: flex; align-items: center; flex-wrap: wrap; font-size: 17px; color: var(--red); }
.v5card .v5-h b { font-size: 17px; }
.volcard.locked { background: #faf7f1; border-style: dashed; }
.volcard.locked b { display: flex; align-items: center; flex-wrap: wrap; }
.volcard.locked .vc-go { margin-top: 8px; }
.vol-tabs .v5tab { color: #8a6a3a; background: #f6f1e6; border-color: #e0d4bb; }

/* ===== 诗词鉴赏（#/poems，数据来自 poems/NN-*.md） ===== */
.hc-ic.c9 { background: #8a5a2b; }

/* 免费层顶部提示：说清开放了几首、总共几首 */
.pm-tip {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  background: #fdf6e8; border: 1px solid #e6d3ad; border-left: 4px solid #8c2f28;
  border-radius: 9px; padding: 11px 14px; margin-top: 14px;
}
.pm-tip b { font-size: 14.5px; color: #8c2f28; }
.pm-tip span { flex: 1; font-size: 13px; color: #7a6a52; min-width: 150px; }
.pm-tip .btn { padding: 6px 13px; font-size: 13px; }

/* 列表：按时期分栏 */
.pm-era { margin-top: 22px; }
.pm-era-h {
  display: flex; align-items: baseline; gap: 8px;
  padding-bottom: 7px; margin-bottom: 12px; border-bottom: 1px solid #e6dfcf;
}
.pm-era-h b { font-size: 16px; color: #3a3226; }
.pm-era-h span { font-size: 12.5px; color: #96866c; }

.pm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.pm-card {
  display: block; background: #fff; border: 1px solid #e6dfcf; border-radius: 10px;
  padding: 13px 14px; text-decoration: none; color: inherit;
  border-top: 3px solid var(--eg, #8c2f28);
  transition: box-shadow .18s, transform .18s;
}
.pm-card:hover { box-shadow: 0 4px 14px rgba(120, 90, 50, .14); transform: translateY(-2px); }
.pm-card.locked { background: #faf7f1; border-style: dashed; border-top-style: solid; }
.pm-cf { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.pm-cform { font-size: 12px; color: #96866c; }
.pm-ct { display: block; font-size: 16.5px; color: #2f2820; letter-spacing: .3px; }
.pm-cq { font-size: 13px; color: #8c2f28; margin-top: 7px; line-height: 1.6; }
.pm-card.locked .pm-cq { color: #9c8e76; }
.pm-cm { font-size: 12px; color: #a2957c; margin-top: 5px; }

/* 单首：头部 */
.pm-head {
  background: linear-gradient(135deg, var(--eg, #8c2f28), var(--eg2, #c0392b));
  color: #fdf3e3; border-radius: 11px; padding: 20px 20px 17px; margin: 14px 0 16px;
}
.pm-title { font-size: 23px; margin: 0; letter-spacing: 1px; color: #fff; font-weight: 700; }
.pm-meta { font-size: 12.5px; opacity: .92; margin-top: 8px; }

/* 原文：一句一行居中，段间留白，名句沿用正文标红下划线 */
.pm-org {
  background: #fdfaf3; border: 1px solid #ece3cf; border-radius: 10px;
  padding: 22px 18px; text-align: center; margin-bottom: 16px;
}
.pm-line { font-size: 17px; line-height: 2.05; color: #2f2820; margin: 0; letter-spacing: .5px; }
.pm-gap { height: 12px; }

/* 注释：两列，词条标红 */
.pm-notes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
.pm-note { display: flex; gap: 8px; font-size: 13.5px; line-height: 1.7; }
.pm-note b { flex: none; color: #8c2f28; font-weight: 700; min-width: 2.6em; }
.pm-note span { color: #5a5040; }

@media (max-width: 860px) {
  .pm-grid { grid-template-columns: 1fr; }
  .pm-notes { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pm-title { font-size: 20px; }
  .pm-head { padding: 16px 15px 14px; }
  .pm-org { padding: 17px 13px; }
  .pm-line { font-size: 16px; line-height: 1.95; }
  .pm-tip { padding: 10px 12px; }
  .pm-tip span { flex: 1 1 100%; }
}
.pm-cq-lk { color: #a2957c; font-size: 12.5px; }
.pm-note0 { border-left: 4px solid #c9a227; background: #fdfaf1; }

/* ---------- 全文检索 ---------- */
.sr-art {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
  padding: 13px 15px; margin-bottom: 11px; box-shadow: var(--shadow);
}
.sr-t { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.sr-t a { font-size: 16px; font-weight: 800; color: var(--text); text-decoration: none; }
.sr-t a:hover { color: var(--red); }
.sr-n { font-size: 12px; color: var(--red); background: #f7ecea; border-radius: 20px; padding: 2px 9px; flex: none; }
.sr-m { font-size: 12.5px; color: var(--text-3); margin-top: 4px; }
.sr-hit {
  margin-top: 9px; padding: 8px 11px; background: var(--accent-bg); border-radius: 8px;
  font-size: 14.5px; line-height: 1.85; color: var(--text-2); cursor: pointer;
  border-left: 3px solid transparent;
}
.sr-hit:hover { border-left-color: var(--red); color: var(--text); }
.sr-hit mark { background: #ffe08a; color: #6b3f00; font-weight: 700; padding: 0 2px; border-radius: 2px; }
.sr-more { margin-top: 7px; font-size: 12.5px; }
.sr-more a { color: var(--red); }
.sr-loading { color: var(--red); }
/* 护眼模式下别让高亮刺眼 */
body.eye .sr-hit mark, .eye .sr-hit mark { background: #6b5a2a; color: #f0e6c8; }
@media (max-width: 640px) {
  .sr-t a { font-size: 15px; }
  .sr-hit { font-size: 14px; padding: 7px 9px; }
}

/* ---------- 播客倍速 ---------- */
.rate-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 12px 0 2px; padding: 9px 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.rate-bar .rlb { font-size: 13px; color: var(--text-3); margin-right: 2px; }

/* ---------- 笔记备份提醒 ---------- */
.bkbar {
  display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap;
  margin: 12px 0 2px; padding: 12px 14px;
  background: #fff8ec; border: 1px solid #e8d5ac; border-left: 3px solid var(--gold);
  border-radius: var(--radius);
}
.bkbar .bk-t { flex: 1 1 260px; min-width: 0; }
.bkbar .bk-t b { display: block; font-size: 14.5px; color: #6b4f16; margin-bottom: 3px; }
.bkbar .bk-t span { font-size: 13px; line-height: 1.8; color: var(--text-2); }
.bkbar .bk-a { display: flex; align-items: center; gap: 8px; flex: none; flex-wrap: wrap; }
.bkbar .bk-x {
  border: 0; background: none; color: var(--text-3); cursor: pointer;
  font-size: 15px; line-height: 1; padding: 4px 6px; font-family: inherit;
}
.bkbar .bk-x:hover { color: var(--text); }

/* ---------- 阶段复盘 ---------- */
.rv-card .rv-lead { margin: 10px 0 0; font-size: 14px; line-height: 1.9; color: var(--text-2); }
.rv-card .rv-lead b { color: var(--red); }
.rv-sec { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.rv-sec > b { font-size: 13.5px; color: var(--text-3); font-weight: 700; }
.rv-tops { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.rv-top {
  background: var(--accent-bg); border-radius: 8px; padding: 6px 11px;
  display: flex; flex-direction: column; gap: 1px;
}
.rv-top b { font-size: 13.5px; color: var(--text); }
.rv-top i { font-style: normal; font-size: 11.5px; color: var(--text-3); }
.rv-art { margin-top: 9px; }
.rv-at { display: flex; align-items: baseline; gap: 9px; }
.rv-at a { font-size: 14px; font-weight: 700; color: var(--text); text-decoration: none; }
.rv-at a:hover { color: var(--red); }
.rv-at i { font-style: normal; font-size: 12px; color: var(--red); }
.rv-ns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.rv-n {
  font-size: 12.5px; color: var(--text-2); background: #f7f5f0;
  border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 8px; cursor: pointer;
}
.rv-n:hover { border-color: var(--red); color: var(--red); }
.rv-n.static { cursor: default; color: var(--text-3); }
.rv-n.static:hover { border-color: var(--line-2); color: var(--text-3); }
.rv-q { margin: 8px 0 0; padding-left: 20px; }
.rv-q li { font-size: 13.5px; line-height: 1.85; color: var(--text-2); margin-bottom: 5px; }
.rv-ta {
  width: 100%; min-height: 320px; box-sizing: border-box; resize: vertical;
  font-family: inherit; font-size: 13.5px; line-height: 1.9; color: var(--text);
  border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: #fffdf9;
}

@media (max-width: 640px) {
  .bkbar { padding: 11px 12px; }
  .bkbar .bk-a { width: 100%; }
  .rate-bar { padding: 8px 10px; }
  .rv-ta { min-height: 240px; }
}

/* ---------------- 从哪读起（#/start） ---------------- */
.hc-ic.c10 { background: #b8860b; }
.st-prog {
  display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-2);
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin-bottom: 16px;
}
.st-prog b { color: var(--red); font-size: 15px; }
.st-bar { flex: 1; height: 6px; background: var(--line-2); border-radius: 3px; overflow: hidden; max-width: 220px; }
.st-bar i { display: block; height: 100%; background: var(--red); }
.st-q3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 26px; }
.st-q {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 15px;
  display: flex; flex-direction: column;
}
.st-qn { font-size: 12px; color: var(--red); font-weight: 700; letter-spacing: .5px; }
.st-q b { font-size: 15.5px; margin: 5px 0 3px; }
.st-q em { font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--red-soft); }
.st-q p { font-size: 13px; line-height: 1.75; color: var(--text-2); margin: 7px 0 12px; flex: 1; }
.st-qb {
  align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--red);
  background: var(--accent-bg); border: 1px solid var(--line); border-radius: 7px;
  padding: 6px 12px; cursor: pointer; text-decoration: none;
}
.st-qb:hover { border-color: var(--red); text-decoration: none; }
.st-h { font-size: 17px; font-weight: 800; margin: 26px 0 4px; padding-top: 8px; }
.st-hsub { font-size: 13px; color: var(--text-2); margin: 0 0 14px; line-height: 1.7; }
.st-plan { display: flex; flex-direction: column; gap: 12px; }
.st-wk { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.st-wh { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.st-wh b { font-size: 14.5px; color: var(--red); }
.st-wh span { font-size: 13px; color: var(--text-2); }
.st-wl { display: flex; flex-direction: column; gap: 2px; }
.st-wi {
  display: block; padding: 9px 10px; border-radius: 8px; text-decoration: none; border-left: 3px solid transparent;
}
.st-wi:hover { background: var(--accent-bg); text-decoration: none; border-left-color: var(--red); }
.st-wt { display: block; font-size: 14.5px; font-weight: 700; color: var(--text); }
.st-wi.done .st-wt { color: var(--text-3); text-decoration: line-through; }
.st-wt i { font-style: normal; color: #2f7a5a; margin-right: 5px; text-decoration: none; }
.st-wd { display: block; font-size: 12.5px; color: var(--text-2); line-height: 1.7; margin-top: 2px; }
.st-x { margin-top: 14px; background: #fbf9f4; border: 1px dashed var(--line); border-radius: 12px; padding: 12px 16px; }
.st-x b { font-size: 13.5px; color: var(--text-2); display: block; margin-bottom: 6px; }
.st-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.st-s {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 13px;
  display: flex; flex-direction: column;
}
.st-s i {
  font-style: normal; width: 21px; height: 21px; border-radius: 50%; background: var(--red); color: #fff;
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 7px;
}
.st-s b { font-size: 14px; }
.st-s span { font-size: 12.5px; color: var(--text-2); line-height: 1.7; margin-top: 3px; }
.st-end {
  margin-top: 26px; background: var(--accent-bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 18px;
}
.st-end b { font-size: 15.5px; display: block; margin-bottom: 6px; }
.st-end p { font-size: 13.5px; line-height: 1.8; color: var(--text-2); margin: 0 0 12px; }
@media (max-width: 640px) {
  .nav a { font-size: 12px; }
  .st-q3 { grid-template-columns: 1fr; }
  .st-steps { grid-template-columns: repeat(2, 1fr); }
  .st-wi { padding: 10px 8px; }
}

/* ---------------- 访问数据后台（#/admin） ---------------- */
.ad-gate { padding: 20px 18px; }
.ad-gate b { display: block; font-size: 15.5px; margin-bottom: 5px; }
.ad-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.ad-row input[type="password"] {
  flex: 1; min-width: 180px; font-size: 14px; padding: 9px 12px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px; outline: none;
}
.ad-row input[type="password"]:focus { border-color: var(--red); }
.ad-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.ad-stat {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 15px; display: flex; flex-direction: column;
}
.ad-stat.hot { border-color: var(--red); background: var(--accent-bg); }
.ad-stat b { font-size: 27px; font-weight: 800; color: var(--red); line-height: 1.15; }
.ad-stat span { font-size: 13px; color: var(--text-2); margin-top: 3px; }
.ad-stat i { font-style: normal; font-size: 12px; color: var(--text-3); margin-top: 4px; }
.ad-card { margin-bottom: 14px; padding: 15px 17px; }
.ad-h { display: block; font-size: 14.5px; margin-bottom: 12px; }
.ad-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ad-chart { display: flex; align-items: flex-end; gap: 6px; height: 150px; padding-top: 6px; }
.ad-col { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; }
.ad-col i {
  display: block; width: 100%; max-width: 34px; background: var(--red); opacity: .78;
  border-radius: 4px 4px 0 0; min-height: 2px;
}
.ad-col span { font-size: 11.5px; color: var(--text-2); margin-bottom: 3px; }
.ad-col b { font-size: 11px; color: var(--text-2); margin-top: 5px; font-weight: 600; }
.ad-col em { font-style: normal; font-size: 10.5px; color: var(--text-3); margin-top: 1px; }
.ad-barr { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; font-size: 13px; }
.ad-barr span { width: 92px; flex: none; color: var(--text-2); display: flex; flex-direction: column; line-height: 1.35; }
.ad-barr span em { font-style: normal; font-size: 11px; color: var(--text-3); }
.ad-barr i { flex: 1; height: 8px; background: var(--red); opacity: .7; border-radius: 4px; min-width: 2px; }
.ad-barr b { width: 34px; text-align: right; flex: none; font-weight: 700; }
.ad-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ad-chip {
  font-size: 13px; padding: 6px 11px; border-radius: 20px;
  background: var(--accent-bg); border: 1px solid var(--line);
}
.ad-chip i { font-style: normal; color: var(--red); font-weight: 700; margin-left: 5px; }
.ad-foot { padding-top: 14px; }
.ad-modes { font-size: 13.5px; color: var(--text-2); margin-bottom: 10px; }
.ad-sw { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: 13.5px; }
.ad-sw label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
@media (max-width: 640px) {
  .ad-stats { grid-template-columns: repeat(2, 1fr); }
  .ad-2 { grid-template-columns: 1fr; }
  .ad-barr span { width: 78px; }
  .ad-chart { height: 120px; }
}
