/* =========================================================
   劝农策数据库 · styles.css
   主色：南开紫 #7E0C6E / 深紫 #4A0642 / 浅紫 #A86AA0
   浅暖：#FBF7EF / #F5EBDC / #EFE0C8  古铜金 #C9A063
   墨色 #2B2320  朱砂红 #A63A2B（仅印章）
   ========================================================= */

:root {
  --nk: #7E0C6E;
  --nk-deep: #4A0642;
  --nk-light: #A86AA0;
  --paper: #FBF7EF;
  --paper2: #F5EBDC;
  --paper3: #EFE0C8;
  --gold: #C9A063;
  --ink: #2B2320;
  --cinnabar: #A63A2B;
  --serif: "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  --kai: "Kaiti SC", "KaiTi", "STKaiti", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; }

body {
  font-family: var(--serif);
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--ink);
  /* 浅暖渐变 + 宣纸细纹（纯 CSS，无外链） */
  background:
    repeating-linear-gradient(
      0deg,
      rgba(126, 12, 110, 0.012) 0px,
      rgba(126, 12, 110, 0.012) 1px,
      transparent 1px,
      transparent 7px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(120, 90, 40, 0.014) 0px,
      rgba(120, 90, 40, 0.014) 1px,
      transparent 1px,
      transparent 11px
    ),
    linear-gradient(180deg, var(--paper) 0%, var(--paper2) 100%);
  min-height: 100vh;
}

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

/* ---------- 顶部导航 ---------- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(135deg, var(--nk-deep) 0%, var(--nk) 100%);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 2px 14px rgba(74, 6, 66, 0.35);
}
.topnav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 62px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.brand:hover { text-decoration: none; }
.brand-name {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.14em;
}
.navlinks { display: flex; gap: 4px; flex-wrap: wrap; }
.navlinks a {
  color: rgba(255, 255, 255, 0.92);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 1rem;
  letter-spacing: 0.1em;
  transition: background 0.2s ease, color 0.2s ease;
}
.navlinks a:hover { background: rgba(201, 160, 99, 0.22); text-decoration: none; color: #fff; }
.navlinks a.active { background: rgba(201, 160, 99, 0.32); color: #fff; }

/* ---------- 印章 ---------- */
.seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cinnabar);
  color: #fff;
  border-radius: 6px;
  font-family: var(--serif);
  font-weight: 700;
  text-align: center;
  line-height: 1.05;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55), inset 0 0 0 4px var(--cinnabar),
    0 1px 3px rgba(90, 30, 20, 0.4);
  /* 篆章斑驳感 */
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 12%, transparent 13%),
    radial-gradient(rgba(255, 255, 255, 0.1) 10%, transparent 11%);
  background-size: 9px 9px, 13px 13px;
  background-position: 0 0, 4px 6px;
}
.seal-sm { width: 40px; height: 40px; font-size: 0.82rem; }
.seal-lg { width: 64px; height: 64px; font-size: 1.3rem; border-radius: 9px; }

/* ---------- 线装书容器 ---------- */
.book {
  max-width: 1180px;
  margin: 34px auto 40px;
  padding: 0 22px;
  display: flex;
  align-items: stretch;
}
.book-spine {
  flex: 0 0 30px;
  background: linear-gradient(180deg, var(--nk-deep), var(--nk) 55%, var(--nk-deep));
  border-radius: 10px 0 0 10px;
  box-shadow: 2px 0 6px rgba(74, 6, 66, 0.25);
  position: relative;
}
/* 线装书脊的白色"线眼"圆点 */
.book-spine::before {
  content: "";
  position: absolute;
  inset: 26px 0 26px 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.92) 2.6px, rgba(255,255,255,0.35) 3.6px, transparent 4.2px);
  background-size: 100% 86px;
  background-repeat: repeat-y;
  background-position: center top;
}
.book-body {
  flex: 1 1 auto;
  min-width: 0;
  background: rgba(251, 247, 239, 0.86);
  border: 1px solid rgba(201, 160, 99, 0.55);
  border-left: none;
  border-radius: 0 10px 10px 0;
  padding: 40px 44px 48px;
  box-shadow: 0 8px 28px rgba(74, 6, 66, 0.08);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(140deg, var(--nk-deep) 0%, var(--nk) 78%, #94177f 100%);
  border: 1px solid var(--gold);
  outline: 1px solid rgba(201, 160, 99, 0.5);
  outline-offset: 4px;
  border-radius: 8px;
  color: #fff;
  padding: 54px 52px 46px;
  display: flex;
  gap: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(74, 6, 66, 0.3);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 160, 99, 0.4);
  border-radius: 5px;
  pointer-events: none;
}
.hero-main { flex: 1 1 auto; position: relative; z-index: 1; }
.hero h1 {
  font-size: 2.9rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  margin-bottom: 10px;
  color: #fff;
}
.hero .subtitle {
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: 0.3em;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero .lede {
  max-width: 46em;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  line-height: 2;
}
.hero-seal { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; }
/* 竖排装饰字 */
.vertical-text {
  writing-mode: vertical-rl;
  font-family: var(--kai);
  font-size: 1.55rem;
  letter-spacing: 0.42em;
  color: rgba(255, 255, 255, 0.88);
  border-right: 1px solid rgba(201, 160, 99, 0.55);
  border-left: 1px solid rgba(201, 160, 99, 0.55);
  padding: 6px 10px;
  white-space: nowrap;
}

/* 统计条 */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid rgba(201, 160, 99, 0.45);
  padding-top: 22px;
}
.stat { flex: 1 1 120px; text-align: center; padding: 4px 10px; }
.stat + .stat { border-left: 1px solid rgba(201, 160, 99, 0.35); }
.stat .num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.stat .label { font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); letter-spacing: 0.16em; }

/* ---------- 区块标题 ---------- */
.section { margin-top: 52px; }
.section-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-bottom: 2px solid var(--nk);
  padding-bottom: 8px;
  margin-bottom: 24px;
}
.section-title h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--nk-deep);
  letter-spacing: 0.16em;
}
.section-title .en-note { font-size: 0.9rem; color: var(--nk-light); letter-spacing: 0.1em; }

/* ---------- 分类卡片 ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.cat-card {
  background: var(--paper);
  border: 1px solid rgba(201, 160, 99, 0.65);
  border-radius: 6px;
  padding: 22px 20px 18px;
  box-shadow: 0 2px 8px rgba(74, 6, 66, 0.07);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--nk);
  box-shadow: 0 8px 20px rgba(74, 6, 66, 0.16);
  text-decoration: none;
}
.cat-card-head { display: flex; align-items: center; gap: 12px; }
/* 字章（象形符号） */
.glyph {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: linear-gradient(150deg, var(--nk) 0%, var(--nk-deep) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 1.5px rgba(201, 160, 99, 0.7), 0 2px 5px rgba(74, 6, 66, 0.3);
}
.cat-card h3 { font-size: 1.14rem; font-weight: 700; color: var(--nk-deep); letter-spacing: 0.06em; }
.cat-card .count { font-size: 0.88rem; color: var(--nk); }
.cat-card .desc { font-size: 0.92rem; color: #5c4f48; line-height: 1.8; }

/* ---------- 朝代时间带 ---------- */
.dynasty-band {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: stretch;
  overflow-x: auto;
  padding: 14px 4px 18px;
}
.dyn-node {
  flex: 1 0 auto;
  min-width: 86px;
  text-align: center;
  position: relative;
  padding: 14px 10px 4px;
}
/* 贯穿线 */
.dyn-node::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(168, 106, 160, 0.4), rgba(126, 12, 110, 0.55), rgba(168, 106, 160, 0.4));
}
.dyn-node .dot {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--nk);
  margin-bottom: 8px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.dyn-node a { display: block; }
.dyn-node a:hover { text-decoration: none; }
.dyn-node a:hover .dot { background: var(--gold); transform: scale(1.25); }
.dyn-node .dname { font-weight: 700; color: var(--nk-deep); font-size: 1.02rem; letter-spacing: 0.08em; }
.dyn-node .dcount { font-size: 0.82rem; color: var(--nk-light); }

/* ---------- 精选小卡 ---------- */
.pick-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.pick-card {
  background: var(--paper);
  border: 1px solid rgba(168, 106, 160, 0.45);
  border-radius: 6px;
  padding: 16px 18px;
  transition: transform 0.18s ease, border-color 0.18s ease;
  display: block;
}
.pick-card:hover { transform: translateY(-3px); border-color: var(--nk); text-decoration: none; }
.pick-card .pt { font-weight: 700; color: var(--nk-deep); font-size: 1.05rem; margin-bottom: 4px; }
.pick-card .pm { font-size: 0.86rem; color: var(--nk-light); margin-bottom: 6px; }
.pick-card .ps { font-size: 0.92rem; color: #5c4f48; line-height: 1.75; }

/* ---------- 页头（分类/朝代页） ---------- */
.page-head {
  background: linear-gradient(135deg, var(--nk-deep), var(--nk));
  border: 1px solid var(--gold);
  border-radius: 8px;
  color: #fff;
  padding: 30px 36px;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.page-head h1 { font-size: 1.9rem; font-weight: 700; letter-spacing: 0.14em; }
.page-head .ph-meta { color: var(--gold); font-size: 0.98rem; letter-spacing: 0.1em; }
.page-head .ph-desc { flex-basis: 100%; color: rgba(255, 255, 255, 0.88); font-size: 0.98rem; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid rgba(126, 12, 110, 0.45);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--nk);
  background: rgba(251, 247, 239, 0.8);
  transition: background 0.15s ease, color 0.15s ease;
}
.chip:hover { background: var(--nk); color: #fff; text-decoration: none; }
.chip.active { background: var(--nk); color: #fff; border-color: var(--nk); }
.chip-static { cursor: default; }
.chip-static:hover { background: rgba(251,247,239,0.8); color: var(--nk); }

/* ---------- 史册条目列表 ---------- */
.entry-list { display: flex; flex-direction: column; gap: 14px; }
.entry-item {
  display: flex;
  gap: 18px;
  background: var(--paper);
  border: 1px solid rgba(201, 160, 99, 0.6);
  border-radius: 6px;
  padding: 18px 22px;
  box-shadow: 0 2px 6px rgba(74, 6, 66, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.entry-item:hover {
  transform: translateY(-3px);
  border-color: var(--nk);
  box-shadow: 0 7px 18px rgba(74, 6, 66, 0.14);
  text-decoration: none;
}
.year-badge {
  flex: 0 0 96px;
  text-align: center;
  border-right: 1px dashed rgba(168, 106, 160, 0.55);
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.year-badge .yb-year { font-weight: 700; color: var(--nk); font-size: 1.02rem; line-height: 1.4; }
.year-badge .yb-dyn {
  display: inline-block;
  font-size: 0.8rem;
  color: #fff;
  background: var(--nk-light);
  border-radius: 3px;
  padding: 1px 8px;
  letter-spacing: 0.1em;
}
.entry-main { flex: 1 1 auto; min-width: 0; }
.entry-main h3 { font-size: 1.12rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.entry-item:hover .entry-main h3 { color: var(--nk-deep); }
.entry-main .es { font-size: 0.94rem; color: #5c4f48; line-height: 1.8; margin-bottom: 8px; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 0.78rem;
  padding: 1px 10px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}
.tag-cat { background: rgba(126, 12, 110, 0.09); color: var(--nk); border: 1px solid rgba(126, 12, 110, 0.3); }
.tag-book { background: rgba(201, 160, 99, 0.16); color: #7a5c28; border: 1px solid rgba(201, 160, 99, 0.55); }

/* ---------- 词条页 ---------- */
.crumb { font-size: 0.9rem; color: #7a6a5e; margin-bottom: 20px; }
.crumb a { color: var(--nk); }
.crumb .sep { margin: 0 8px; color: var(--gold); }

.policy-head { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 8px; }
.policy-head h1 {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--nk-deep);
  line-height: 1.5;
  letter-spacing: 0.03em;
}
.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  color: #6b5a4e;
  font-size: 0.98rem;
  margin: 10px 0 14px;
}
.policy-meta span + span::before { content: "｜"; color: var(--gold); margin: 0 10px; }

.block { margin-top: 34px; }
.block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--nk-deep);
  letter-spacing: 0.12em;
  border-left: 5px solid var(--nk);
  padding-left: 12px;
  margin-bottom: 16px;
}
.block-title .bt-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--nk);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: inset 0 0 0 1px rgba(201, 160, 99, 0.6);
}
.block-body { font-size: 1.02rem; line-height: 2; color: #3d332c; }

/* 古书引文卡 */
.quote-card {
  background: var(--paper2);
  border: 1px solid rgba(201, 160, 99, 0.6);
  border-radius: 6px;
  padding: 20px 26px 18px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(74, 6, 66, 0.07);
  position: relative;
}
.quote-card::before {
  content: "";
  position: absolute;
  left: 0; top: 14px; bottom: 14px;
  width: 4px;
  background: linear-gradient(180deg, var(--nk), var(--nk-light));
  border-radius: 2px;
}
.quote-head {
  font-weight: 700;
  color: #7a5c28;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  border-bottom: 1px dashed rgba(201, 160, 99, 0.7);
  padding-bottom: 8px;
}
.quote-text {
  font-family: var(--kai);
  font-size: 1.14rem;
  line-height: 2.05;
  color: var(--nk-deep);
  text-indent: 2em;
}
.kaoyi {
  margin-top: 12px;
  background: rgba(201, 160, 99, 0.16);
  border: 1px solid rgba(201, 160, 99, 0.5);
  border-radius: 4px;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: #6b5320;
  line-height: 1.8;
}
.kaoyi b { color: #8a6520; letter-spacing: 0.14em; margin-right: 6px; }

/* 相关农策 */
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.related-card {
  display: block;
  background: var(--paper);
  border: 1px solid rgba(168, 106, 160, 0.5);
  border-radius: 6px;
  padding: 14px 18px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.related-card:hover { transform: translateY(-3px); border-color: var(--nk); text-decoration: none; }
.related-card .rt { font-weight: 700; color: var(--nk-deep); font-size: 1rem; margin-bottom: 4px; }
.related-card .rr { font-size: 0.88rem; color: #6b5a4e; line-height: 1.7; }
.related-card .rr b { color: var(--nk); font-weight: 600; }

/* 诗文旁证 */
.literary-wrap {
  background: linear-gradient(160deg, rgba(168, 106, 160, 0.12), rgba(126, 12, 110, 0.07));
  border: 1px solid rgba(168, 106, 160, 0.45);
  border-radius: 8px;
  padding: 26px 30px;
  text-align: center;
}
.poem { margin-bottom: 18px; }
.poem:last-child { margin-bottom: 0; }
.poem .poem-text {
  font-family: var(--kai);
  font-size: 1.22rem;
  color: var(--nk-deep);
  line-height: 2.1;
}
.poem .poem-from { font-size: 0.9rem; color: #7a6a5e; margin-top: 6px; }
.poem .poem-note { font-size: 0.86rem; color: var(--nk-light); margin-top: 4px; }

/* 上一条 / 下一条 */
.pager {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 44px;
  border-top: 2px solid rgba(201, 160, 99, 0.55);
  padding-top: 20px;
  flex-wrap: wrap;
}
.pager a {
  flex: 1 1 46%;
  background: var(--paper);
  border: 1px solid rgba(201, 160, 99, 0.6);
  border-radius: 6px;
  padding: 12px 18px;
  color: var(--nk-deep);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.pager a:hover { border-color: var(--nk); transform: translateY(-2px); text-decoration: none; }
.pager .pdir { font-size: 0.82rem; color: var(--nk-light); display: block; letter-spacing: 0.16em; }
.pager .ptitle { font-weight: 700; font-size: 0.98rem; }
.pager .next { text-align: right; }

/* ---------- 关于页 ---------- */
.about-block { margin-bottom: 30px; }
.about-block h2 {
  font-size: 1.3rem;
  color: var(--nk-deep);
  font-weight: 700;
  letter-spacing: 0.1em;
  border-left: 5px solid var(--nk);
  padding-left: 12px;
  margin-bottom: 12px;
}
.about-block p { margin-bottom: 10px; }
.about-block ul { padding-left: 1.6em; }
.about-block li { margin-bottom: 6px; }
.catdef-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.catdef-table th, .catdef-table td {
  border: 1px solid rgba(201, 160, 99, 0.55);
  padding: 9px 14px;
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
}
.catdef-table th { background: rgba(126, 12, 110, 0.08); color: var(--nk-deep); width: 180px; letter-spacing: 0.06em; }

/* ---------- 页脚 ---------- */
.site-foot {
  border-top: 2px solid var(--gold);
  background: linear-gradient(180deg, var(--paper2), var(--paper3));
  margin-top: 20px;
}
.foot-inner { max-width: 1180px; margin: 0 auto; padding: 26px 22px 30px; text-align: center; }
.foot-inner p { color: var(--nk-deep); font-weight: 600; letter-spacing: 0.1em; }
.foot-sub { font-size: 0.88rem; color: #7a6a5e; font-weight: 400 !important; margin-top: 6px; }

/* ---------- 词条页：具体措施 / 效果分条 ---------- */
.measure-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.measure-list li { display: flex; gap: 14px; align-items: flex-start; }
.m-badge {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin-top: 3px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--nk) 0%, var(--nk-deep) 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1.5px rgba(201, 160, 99, 0.7), 0 2px 5px rgba(74, 6, 66, 0.28);
}
.m-text { flex: 1 1 auto; font-size: 1.02rem; line-height: 2; color: #3d332c; }

.effect-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.effect-list li { display: flex; gap: 12px; align-items: flex-start; }
.e-dot { flex: 0 0 auto; color: var(--nk-light); font-size: 0.8rem; margin-top: 9px; }
.e-text { flex: 1 1 auto; font-size: 1.02rem; line-height: 2; color: #3d332c; }

/* ---------- 落款印章（固定右下角） ---------- */
.sign-seal {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 40px;
  height: 40px;
  border-radius: 7px;
  background: var(--cinnabar);
  color: #fff;
  font-family: "STXinwei", "STLiti", "KaiTi", "STKaiti", serif;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.1;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0.55;
  cursor: default;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5), inset 0 0 0 4px var(--cinnabar),
    0 2px 6px rgba(90, 30, 20, 0.35);
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 12%, transparent 13%),
    radial-gradient(rgba(255, 255, 255, 0.09) 10%, transparent 11%);
  background-size: 8px 8px, 12px 12px;
  background-position: 0 0, 3px 5px;
  transition: opacity 0.2s ease;
  pointer-events: auto;
}
.sign-seal:hover { opacity: 0.9; }
@media (max-width: 640px) {
  .sign-seal { right: 14px; bottom: 14px; width: 36px; height: 36px; font-size: 0.88rem; }
}

/* ---------- 空状态 ---------- */
.empty {
  text-align: center;
  color: #7a6a5e;
  padding: 60px 0;
  font-size: 1.05rem;
}

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .book-body { padding: 26px 20px 34px; }
  .hero { flex-direction: column; padding: 36px 26px 32px; }
  .hero h1 { font-size: 2rem; letter-spacing: 0.14em; }
  .hero-seal { flex-direction: row; }
  .vertical-text { writing-mode: horizontal-tb; letter-spacing: 0.3em; border: none; border-top: 1px solid rgba(201,160,99,0.55); border-bottom: 1px solid rgba(201,160,99,0.55); padding: 8px 4px; }
  .policy-head { flex-direction: column; gap: 12px; }
  .book-spine { flex-basis: 16px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topnav-inner { justify-content: center; }
  .navlinks { justify-content: center; width: 100%; padding-bottom: 8px; }
  .navlinks a { padding: 6px 12px; font-size: 0.94rem; }
  .entry-item { flex-direction: column; gap: 8px; }
  .year-badge { flex-basis: auto; border-right: none; border-bottom: 1px dashed rgba(168, 106, 160, 0.55); padding: 0 0 8px; flex-direction: row; gap: 10px; align-items: center; justify-content: flex-start; }
  .cat-grid { grid-template-columns: 1fr; }
  .pick-list { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .stat + .stat { border-left: none; }
  .stats { gap: 10px; }
  .stat { flex-basis: 44%; }
  .pager a { flex-basis: 100%; }
  .pager .next { text-align: left; }
}
