/* ==========================================================
   陌笑故事会 · 主题：田园小筑 (tianyuan)
   换风格只需复制本文件到 /themes/另一个名字/style.css 并改变量
   ========================================================== */

:root {
  /* 纸与墨 */
  --paper:        #f7f3e8;
  --paper-deep:   #efe8d7;
  --card:         #fffcf3;
  --ink:          #38332b;
  --ink-soft:     #6f675a;
  --ink-faint:    #9a9182;

  /* 田园色 */
  --leaf:         #5f7a50;
  --leaf-deep:    #47603c;
  --leaf-pale:    #e6ecdd;
  --wood:         #8c6a44;
  --clay:         #c0703c;
  --clay-soft:    #e8cbb0;

  /* 线 */
  --line:         #e2d8c3;
  --line-strong:  #cdbfa5;

  /* 阴影 */
  --sh-1: 0 1px 2px rgba(56,51,43,.06), 0 4px 14px rgba(56,51,43,.05);
  --sh-2: 0 2px 6px rgba(56,51,43,.08), 0 14px 32px rgba(56,51,43,.08);

  --r: 6px;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(140,106,68,.035) 0, transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(95,122,80,.04) 0, transparent 46%);
  background-attachment: fixed;
}

a { color: var(--leaf-deep); text-decoration: none; }
a:hover { color: var(--clay); }

img { max-width: 100%; display: block; }

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

/* ---------- 顶栏 ---------- */
.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(255,252,243,.72);
  backdrop-filter: saturate(160%) blur(6px);
  position: sticky; top: 0; z-index: 20;
}
.topbar-in {
  max-width: 1080px; margin: 0 auto; padding: 0 26px;
  height: 68px; display: flex; align-items: center; gap: 26px;
}
.logo {
  font-size: 21px; font-weight: 700; letter-spacing: 2px;
  color: var(--ink); display: flex; align-items: center; gap: 9px; white-space: nowrap;
}
.logo .leafmark { width: 20px; height: 20px; opacity: .85; }
.logo:hover { color: var(--ink); }

.topnav { display: flex; gap: 22px; font-size: 15px; font-family: var(--sans); }
.topnav a { color: var(--ink-soft); position: relative; padding: 4px 0; }
.topnav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--clay); transition: right .25s ease;
}
.topnav a:hover { color: var(--ink); }
.topnav a:hover::after { right: 0; }

.topsearch { margin-left: auto; }
.topsearch input {
  width: 190px; height: 36px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--card); color: var(--ink); font-family: var(--sans); font-size: 14px;
  outline: none; transition: .18s;
}
.topsearch input:focus { border-color: var(--leaf); box-shadow: 0 0 0 3px var(--leaf-pale); }
.topsearch input::placeholder { color: var(--ink-faint); }

/* ---------- 首屏 ---------- */
.hero { padding: 66px 0 44px; text-align: center; position: relative; }
.hero h1 {
  font-size: 40px; font-weight: 700; letter-spacing: 6px;
  color: var(--ink); line-height: 1.4;
}
.hero .sub {
  margin-top: 16px; font-size: 15px; letter-spacing: 2px; color: var(--ink-soft);
  font-family: var(--sans);
}
.hero .orn {
  width: 120px; height: 1px; margin: 30px auto 0; position: relative;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.hero .orn::after {
  content: "❦"; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  background: var(--paper); padding: 0 10px; color: var(--clay-soft); font-size: 14px;
}

.hero-search { margin: 34px auto 0; max-width: 520px; display: flex; gap: 10px; }
.hero-search input {
  flex: 1; height: 48px; padding: 0 20px; font-size: 15px;
  border: 1px solid var(--line-strong); border-radius: var(--r);
  background: var(--card); color: var(--ink); outline: none; font-family: var(--sans);
  transition: .18s;
}
.hero-search input:focus { border-color: var(--leaf); box-shadow: 0 0 0 3px var(--leaf-pale); }
.hero-search button {
  height: 48px; padding: 0 26px; border: 0; border-radius: var(--r);
  background: var(--leaf); color: #fff; font-size: 15px; font-family: var(--sans);
  cursor: pointer; letter-spacing: 1px; transition: .18s;
}
.hero-search button:hover { background: var(--leaf-deep); }

/* ---------- 区块标题 ---------- */
.sec-h {
  display: flex; align-items: center; gap: 14px;
  margin: 8px 0 26px;
}
.sec-h h2 {
  font-size: 17px; font-weight: 700; letter-spacing: 3px; color: var(--ink); white-space: nowrap;
}
.sec-h .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); flex: none; }
.sec-h .ln { flex: 1; height: 1px; background: var(--line); }
.sec-h .more { font-size: 13px; color: var(--ink-faint); font-family: var(--sans); white-space: nowrap; }
.sec-h .more:hover { color: var(--clay); }

/* ---------- 故事卡片 ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
  border-color: var(--line-strong);
}
.card-cover {
  aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-deep);
  position: relative;
}
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-cover img { transform: scale(1.04); }
.card-cover.blank {
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-faint); font-size: 13px; letter-spacing: 2px;
  background:
    repeating-linear-gradient(45deg, var(--paper-deep) 0 10px, #eae2cf 10px 20px);
}

.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-meta {
  font-family: var(--sans); font-size: 12px; color: var(--ink-faint);
  display: flex; align-items: center; gap: 8px; margin-bottom: 9px; letter-spacing: .5px;
}
.card-meta .cat { color: var(--leaf-deep); }
.card-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.card h3 {
  font-size: 19px; font-weight: 700; line-height: 1.55; letter-spacing: .5px;
  color: var(--ink); margin-bottom: 10px;
}
.card h3 a { color: inherit; }
.card p {
  font-size: 14px; line-height: 1.85; color: var(--ink-soft);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  flex: 1;
}
.card-foot {
  margin-top: 16px; padding-top: 13px; border-top: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--sans); font-size: 12px; color: var(--ink-faint);
}
.card-foot .read { color: var(--clay); font-size: 13px; }
.card-foot .read:hover { color: var(--clay); text-decoration: underline; }

/* ---------- 精选大卡 ---------- */
.feature {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--sh-1); margin-bottom: 46px;
}
.feature .fc-cover { min-height: 320px; background: var(--paper-deep); overflow: hidden; }
.feature .fc-cover img { width: 100%; height: 100%; object-fit: cover; }
.feature .fc-body { padding: 42px 40px; display: flex; flex-direction: column; justify-content: center; }
.feature .fc-tag {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  font-family: var(--sans); font-size: 12px; letter-spacing: 2px;
  color: var(--leaf-deep); background: var(--leaf-pale);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 18px;
}
.feature h2 { font-size: 27px; line-height: 1.5; letter-spacing: 1px; margin-bottom: 16px; }
.feature h2 a { color: var(--ink); }
.feature h2 a:hover { color: var(--clay); }
.feature p { font-size: 15px; color: var(--ink-soft); line-height: 1.95; }
.feature .fc-meta {
  margin-top: 24px; font-family: var(--sans); font-size: 13px; color: var(--ink-faint);
  display: flex; gap: 16px; align-items: center;
}

/* ---------- 分类条 ---------- */
.cats { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 44px; }
.cats a {
  font-family: var(--sans); font-size: 13.5px; letter-spacing: 1px;
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--ink-soft);
  background: var(--card); transition: .18s;
}
.cats a:hover, .cats a.on {
  border-color: var(--leaf); color: var(--leaf-deep); background: var(--leaf-pale);
}

/* ---------- 阅读页 ---------- */
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-head { padding: 58px 0 34px; text-align: center; }
.article-head .cat {
  display: inline-block; font-family: var(--sans); font-size: 12px; letter-spacing: 2px;
  color: var(--leaf-deep); background: var(--leaf-pale); padding: 4px 13px; border-radius: 999px;
  margin-bottom: 20px;
}
.article-head h1 {
  font-size: 34px; line-height: 1.55; letter-spacing: 1px; font-weight: 700; color: var(--ink);
}
.article-sub {
  margin-top: 14px; font-size: 14.5px; line-height: 1.9; color: var(--ink-soft); letter-spacing: .5px;
  max-width: 620px; margin-left: auto; margin-right: auto;
}
.article-head .meta {
  margin-top: 20px; font-family: var(--sans); font-size: 13px; color: var(--ink-faint);
  display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
}

/* 草稿预览提示 */
.preview-flag {
  background: #8a6a3a; color: #fff8ec; text-align: center;
  font-family: var(--sans); font-size: 12.5px; letter-spacing: 1.5px; padding: 9px 14px;
}
.article-cover {
  margin: 30px 0 8px; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--sh-1);
}
.article-cover img { width: 100%; }

.article-body {
  padding: 30px 0 10px; font-size: 17.5px; line-height: 2.05; color: #322d26;
}
.article-body p { margin: 0 0 1.35em; text-indent: 2em; }
.article-body h2 {
  display: flex; align-items: baseline; justify-content: center; gap: 9px;
  font-weight: 400; margin: 2.8em 0 1.5em; line-height: 1.7;
  padding: 0; border: 0; scroll-margin-top: 96px;
}
/* 只有序号：其一 / 其二 */
.article-body h2.bare .ch-seq { font-size: 12.5px; letter-spacing: 5px; color: var(--ink-faint); }
/* 序号 + 名字：其一 · 起火 */
.article-body h2 .ch-seq { font-size: 12.5px; letter-spacing: 3px; color: var(--ink-faint); }
.article-body h2 .ch-dot { font-style: normal; font-size: 12px; color: var(--line-strong); padding: 0 1px; }
.article-body h2 .ch-name { font-size: 19px; letter-spacing: 2px; color: var(--leaf-deep); font-weight: 500; }
/* 只有名字：不起眼的小标题 */
.article-body h2.titled .ch-name {
  font-size: 16px; letter-spacing: 1px; color: var(--ink-soft);
  padding-bottom: 4px; border-bottom: 1px solid var(--line);
}

/* ---------- 篇章目录 ---------- */
.chapters {
  margin: 0 0 2.2em; padding: 16px 20px 18px;
  background: var(--paper-deep); border: 1px solid var(--line); border-radius: var(--r);
}
.chapters-hd {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 12px; letter-spacing: 2px;
  color: var(--ink-faint); margin-bottom: 12px;
}
.chapters-hd .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--leaf); }
.chapters-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chapters-list a {
  display: inline-flex; align-items: baseline; gap: 7px;
  padding: 5px 13px; border: 1px solid var(--line); border-radius: 99px;
  background: var(--card); text-decoration: none; font-family: var(--sans);
  font-size: 13px; color: var(--ink-soft); transition: .16s;
}
.chapters-list a:hover { border-color: var(--leaf); color: var(--leaf-deep); background: var(--leaf-pale); }
.chapters-list .n { font-size: 11px; letter-spacing: 1px; color: var(--ink-faint); }
.chapters-list .t { color: var(--ink); }
.article-body h3 { font-size: 18px; margin: 1.7em 0 .7em; color: var(--leaf-deep); }
.article-body blockquote {
  margin: 1.6em 0; padding: 16px 22px; background: var(--paper-deep);
  border-left: 3px solid var(--clay-soft); border-radius: 0 var(--r) var(--r) 0;
  font-size: 16px; color: var(--ink-soft);
}
.article-body blockquote p { text-indent: 0; margin: 0; }
.article-body figure { margin: 1.8em 0; }
.article-body figure img { border-radius: var(--r); border: 1px solid var(--line); }
.article-body hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.article-body ul { margin: 0 0 1.4em 1.4em; }
.article-body li { margin-bottom: .5em; }

.article-foot {
  margin: 48px 0 0; padding: 26px 0 0; border-top: 1px dashed var(--line);
  font-family: var(--sans); font-size: 13px; color: var(--ink-faint);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.share-note {
  margin-top: 34px; padding: 20px 24px; background: var(--paper-deep);
  border-radius: var(--r); border: 1px solid var(--line);
  font-family: var(--sans); font-size: 13px; color: var(--ink-soft); line-height: 1.9;
}
.pager { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; margin: 44px 0 0; }
.pager a, .pager span {
  display: block; padding: 18px 22px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r);
  font-size: 14px; color: var(--ink-soft); transition: .18s; min-height: 70px;
}
.pager a:hover { border-color: var(--leaf); color: var(--ink); background: var(--leaf-pale); }
.pager .lbl { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: 1px; color: var(--ink-faint); margin-bottom: 6px; }
.pager .nxt { text-align: right; }
.pager span.empty { opacity: .35; }

/* ---------- 列表 / 搜索 ---------- */
.page-head { padding: 56px 0 30px; }
.page-head h1 { font-size: 28px; letter-spacing: 3px; }
.page-head .sub { margin-top: 10px; font-family: var(--sans); font-size: 14px; color: var(--ink-faint); }

.rowlist { border-top: 1px solid var(--line); }
.rowitem {
  display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 24px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--line);
  transition: background .18s;
}
.rowitem:hover { background: rgba(255,252,243,.7); }
.rowitem .ri-main h3 { font-size: 19px; line-height: 1.6; margin-bottom: 8px; }
.rowitem .ri-main h3 a { color: var(--ink); }
.rowitem .ri-main h3 a:hover { color: var(--clay); }
.rowitem .ri-main p { font-size: 14px; color: var(--ink-soft); line-height: 1.85; }
.rowitem .ri-meta {
  margin-top: 10px; font-family: var(--sans); font-size: 12px; color: var(--ink-faint);
  display: flex; gap: 14px;
}
.rowitem .ri-cover {
  aspect-ratio: 16/10; border-radius: var(--r); overflow: hidden;
  background: var(--paper-deep); border: 1px solid var(--line);
}
.rowitem .ri-cover img { width: 100%; height: 100%; object-fit: cover; }

.pagination {
  display: flex; justify-content: center; align-items: center; gap: 10px;
  margin: 46px 0 10px; font-family: var(--sans); font-size: 14px;
}
.pagination a, .pagination span {
  min-width: 40px; height: 40px; line-height: 38px; text-align: center;
  border: 1px solid var(--line-strong); border-radius: var(--r);
  padding: 0 12px; color: var(--ink-soft); background: var(--card);
}
.pagination a:hover { border-color: var(--leaf); color: var(--leaf-deep); }
.pagination .cur { background: var(--leaf); border-color: var(--leaf); color: #fff; }

mark { background: #f3dfba; color: inherit; padding: 0 2px; border-radius: 2px; }

/* ---------- 空态 ---------- */
.empty {
  text-align: center; padding: 70px 20px; color: var(--ink-faint);
  border: 1px dashed var(--line-strong); border-radius: var(--r); background: var(--card);
}
.empty .big { font-size: 20px; color: var(--ink-soft); letter-spacing: 2px; margin-bottom: 10px; }
.empty p { font-family: var(--sans); font-size: 14px; }

/* ---------- 页脚 ---------- */
.footer {
  margin-top: 80px; border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(239,232,215,.55));
}
.footer-in { max-width: 1080px; margin: 0 auto; padding: 40px 26px 46px; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 20px; font-family: var(--sans); font-size: 13.5px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-soft); }
.footer-links a:hover { color: var(--clay); }
.footer-note {
  margin-top: 18px; font-family: var(--sans); font-size: 12.5px;
  color: var(--ink-faint); line-height: 2;
}
.footer-beian { margin-top: 14px; font-family: var(--sans); font-size: 12px; color: var(--ink-faint); }
.footer-beian a { color: var(--ink-faint); }
.footer-beian a:hover { color: var(--clay); }

/* ---------- 手机 ---------- */
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature .fc-cover { min-height: 220px; }
  .rowitem { grid-template-columns: minmax(0,1fr) 120px; }
}

@media (max-width: 680px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 18px; }
  .topbar-in { height: auto; padding: 14px 18px; flex-wrap: wrap; gap: 12px; }
  .logo { font-size: 19px; }
  .topnav { order: 3; width: 100%; gap: 18px; font-size: 14px; }
  .topsearch { margin-left: auto; }
  .topsearch input { width: 130px; height: 34px; font-size: 13px; }

  .hero { padding: 42px 0 30px; }
  .hero h1 { font-size: 27px; letter-spacing: 4px; }
  .hero .sub { font-size: 13px; letter-spacing: 1px; }
  .hero-search { gap: 8px; }
  .hero-search input { height: 46px; padding: 0 14px; font-size: 14.5px; }
  .hero-search button { height: 46px; padding: 0 16px; font-size: 14px; letter-spacing: 0; flex: none; }

  .grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .feature .fc-body { padding: 26px 22px 30px; }
  .feature h2 { font-size: 22px; }

  .page-head { padding: 36px 0 22px; }
  .page-head h1 { font-size: 23px; letter-spacing: 2px; }
  .article-head { padding: 36px 0 22px; }
  .article-head h1 { font-size: 24px; line-height: 1.6; }
  .chapters { padding: 13px 15px 15px; margin: 0 0 1.8em; }
  .chapters-hd { font-size: 11.5px; letter-spacing: 1px; margin-bottom: 10px; }
  .chapters-list { gap: 6px; }
  .chapters-list a { padding: 4px 10px; font-size: 12px; gap: 5px; }
  .chapters-list .n { font-size: 10.5px; letter-spacing: 1px; }
  .article-head .meta { gap: 12px; font-size: 12px; }
  .article-body { font-size: 17px; line-height: 2; }
  .article-body p { text-indent: 2em; }

  .pager { grid-template-columns: 1fr; }
  .pager .nxt { text-align: left; }

  .rowitem { grid-template-columns: 1fr; gap: 14px; }
  .rowitem .ri-cover { order: -1; aspect-ratio: 16/9; }

  .footer { margin-top: 56px; }
  .footer-in { padding: 32px 18px 40px; }
}

/* ==========================================================
   阅读页 · 知乎式文章排版（只作用于 body.page-story）
   首页 / 列表 / 分类仍沿用上面的田园风
   ========================================================== */
body.page-story {
  background: #fff;
  background-image: none;
  font-family: var(--sans);
  color: #121212;
}
body.page-story .topbar { background: #fff; border-bottom: 1px solid #f0f1f2; box-shadow: none; }
body.page-story .article-body a { color: #056de8; }
body.page-story .article-body a:hover { color: #0457bd; }
body.page-story .logo { color: #121212; }
body.page-story .logo:hover { color: #121212; }
body.page-story .topnav a { color: #646a73; }
body.page-story .topnav a:hover { color: #121212; }
body.page-story .topnav a::after { background: #056de8; }
body.page-story .topsearch input {
  border: 0; background: #f5f6f7; color: #121212; height: 34px;
}
body.page-story .topsearch input:focus { border: 0; box-shadow: 0 0 0 2px #dde6f5; }
body.page-story .topsearch input::placeholder { color: #a3a9b3; }

body.page-story .article-wrap { max-width: 690px; padding-top: 36px; }
body.page-story .article-head { padding: 0 0 20px; text-align: left; }
body.page-story .article-head .cat { display: none; }

body.page-story h1 {
  font-family: var(--sans);
  font-size: 32px; line-height: 1.4; font-weight: 700;
  letter-spacing: -.3px; color: #121212; text-align: left;
}
body.page-story .article-sub {
  margin: 12px 0 0; font-size: 15px; line-height: 1.75; color: #8a8f99;
  max-width: none; letter-spacing: 0; text-align: left;
}

/* 作者行 */
body.page-story .zh-meta { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
body.page-story .zh-ava {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, #6f8f5c, #3f5836);
  color: #fff; font-size: 16px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
body.page-story .zh-who { display: flex; flex-direction: column; gap: 1px; }
body.page-story .zh-name { font-size: 15px; font-weight: 600; color: #121212; line-height: 1.5; }
body.page-story .zh-desc { font-size: 13px; color: #8590a6; line-height: 1.5; }
body.page-story .zh-date { margin-left: auto; font-size: 13px; color: #8590a6; }
body.page-story .article-head .meta { display: none; }

/* 封面 */
body.page-story .article-cover {
  margin: 26px 0 26px; border: 0; border-radius: 4px; box-shadow: none;
}

/* 正文 */
body.page-story .article-body {
  padding: 0; font-size: 17px; line-height: 1.8; color: #1a1a1a;
  font-family: var(--sans); letter-spacing: .2px;
}
body.page-story .article-body p { margin: 0 0 1.15em; text-indent: 0; }
body.page-story .article-body h3 { font-size: 18px; color: #121212; font-weight: 600; margin: 1.6em 0 .6em; }
body.page-story .article-body figure { margin: 1.6em 0; }
body.page-story .article-body figure img,
body.page-story .article-body img { border-radius: 4px; border: 0; }
body.page-story .article-body blockquote {
  border-left: 3px solid #e6e8eb; background: #fafbfc; border-radius: 0 4px 4px 0;
  padding: 12px 16px; margin: 1.5em 0; color: #4a4f57;
}
body.page-story .article-body hr { background: #eceef1; margin: 2em 0; }

/* 篇章标题：序号灰、名字黑、左对齐一行 */
body.page-story .article-body h2 {
  display: block; text-align: left; margin: 34px 0 12px; padding: 0;
  font-family: var(--sans); font-weight: 600; line-height: 1.5;
  scroll-margin-top: 84px; letter-spacing: 0;
}
body.page-story .article-body h2 .ch-seq {
  font-size: 15px; font-weight: 400; color: #8590a6; letter-spacing: 0;
}
body.page-story .article-body h2.bare .ch-seq { font-size: 15px; letter-spacing: 0; color: #8590a6; }
body.page-story .article-body h2 .ch-dot { display: none; }
body.page-story .article-body h2 .ch-name {
  font-size: 20px; font-weight: 600; color: #121212; letter-spacing: 0;
  margin-left: 8px;
}
body.page-story .article-body h2.titled {
  padding-bottom: 0; border-bottom: 0;
}
body.page-story .article-body h2.titled .ch-name { font-size: 20px; letter-spacing: 0; }

/* 篇章目录：两列清单 */
body.page-story .chapters {
  background: #fafbfc; border: 1px solid #eceef1; border-radius: 4px;
  padding: 15px 18px 16px; margin: 0 0 26px;
}
body.page-story .chapters-hd {
  font-family: var(--sans); font-size: 13px; letter-spacing: 0; color: #8590a6;
  margin-bottom: 8px; gap: 6px;
}
body.page-story .chapters-hd .dot { width: 4px; height: 4px; background: #c3c8d1; }
body.page-story .chapters-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px 20px;
}
body.page-story .chapters-list a {
  display: flex; align-items: baseline; gap: 8px;
  padding: 5px 6px; border: 0; border-radius: 3px; background: none;
  font-size: 14px; line-height: 1.6; color: #1a1a1a;
}
body.page-story .chapters-list a:hover { background: #f0f2f5; color: #056de8; }
body.page-story .chapters-list .n {
  flex: none; min-width: 2.4em; font-size: 12px; color: #8590a6; letter-spacing: 0;
}
body.page-story .chapters-list .t { color: inherit; }

/* 底部 */
body.page-story .article-foot {
  font-family: var(--sans); font-size: 13px; color: #8590a6;
  border-top: 1px solid #f0f1f2; padding-top: 14px; margin-top: 34px;
}
body.page-story .share-note {
  font-family: var(--sans); font-size: 13px; line-height: 1.8; color: #8590a6;
  background: #fafbfc; border: 1px solid #eceef1; border-radius: 4px;
  padding: 12px 14px; margin-top: 16px;
}
body.page-story .pager a, body.page-story .pager .empty {
  font-family: var(--sans); font-size: 14px;
}

/* 手机 */
@media (max-width: 700px) {
  body.page-story .wrap { padding: 0 18px; }
  body.page-story .article-wrap { max-width: none; padding-top: 20px; }
  body.page-story h1 { font-size: 24px; line-height: 1.45; letter-spacing: -.2px; }
  body.page-story .article-sub { font-size: 14px; }
  body.page-story .article-body { font-size: 17px; line-height: 1.85; }
  body.page-story .article-body h2 { font-size: 19px; margin: 28px 0 10px; }
  body.page-story .article-body h2 .ch-name { font-size: 19px; }
  body.page-story .chapters-list { grid-template-columns: 1fr; }
  body.page-story .chapters { padding: 13px 14px 14px; }
  body.page-story .chapters-list a { padding: 4px 4px; }
  /* 阅读页手机端顶栏收成一行：logo + 搜索，导航交给页脚 */
  body.page-story .topbar-in { height: 56px; padding: 0 18px; flex-wrap: nowrap; gap: 12px; }
  body.page-story .logo { font-size: 18px; letter-spacing: 1px; }
  body.page-story .logo .leafmark { width: 17px; height: 17px; }
  body.page-story .topnav { display: none; }
  body.page-story .topsearch input { width: 132px; height: 32px; font-size: 13px; }
}
