/* ============================================================
   diancang 主题 · 仿 diancangwang.cn 中华典藏网（古籍在线阅读平台 / 自有 CMS skin/default）
   第 16 套 · 第 84 期
   特征：#f4f6f8 浅灰蓝底 + 白卡面板间 10px 底色粗分隔条 + 顶 4px 黑条白 header
        + 印章 logo + 「搜全站」下拉搜索框蓝方钮 + 46px 分类均分行（hover/当前 #0085ff）
        + 3px 黑竖条面板头 + 横条书卡（白边框封面 + 18px 标题 + 缩进简介）
        + 虚线文章列表 + #ebebeb 居中 footer + 灰底圆角分页（current #7c7c7c）
   前缀：dc- · 基底：shumoju
   注意：pay-* 弹窗类名是 JS 契约不可改；JS 会 inline 设 display:block，
        弹窗内按钮必须自带 width + margin:auto 居中（勿依赖 text-align）
   ============================================================ */

/* ============ 1. tokens & base ============ */
:root {
  --dc-bg: #f4f6f8;            /* 浅灰蓝底（diancang body） */
  --dc-panel: #ffffff;         /* 白卡面板 */
  --dc-ink: #222222;           /* 标题黑 */
  --dc-text: #555555;          /* 正文灰 */
  --dc-mute: #8a8a8d;          /* 次级灰 */
  --dc-blue: #2095f2;          /* 主蓝（搜索钮 / active） */
  --dc-blue-h: #0085ff;        /* hover 蓝 */
  --dc-black: #010101;         /* 顶部黑条 / 面板头竖条 */
  --dc-border: #d4d4d4;        /* 边线 */
  --dc-border-l: #d7d9dc;      /* 面板头底线 */
  --dc-dash: #dddddd;          /* 虚线 */
  --dc-foot: #ebebeb;          /* footer 底 */
  --dc-red: #fc0000;           /* 强调红（APP下载位） */
  --dc-green: #1a9e5c;         /* 免费绿 */
  --dc-price: #e05f10;         /* 价格橙 */
  --dc-radius: 5px;            /* 典藏网小圆角 */
  --dc-head-h: 48px;           /* 工具行高（第二行菜单 46px） */
  --dc-shadow: 0 1px 3px rgba(179, 179, 179, 0.28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: Arial, Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--dc-text);
  background: var(--dc-bg);
}

a { color: var(--dc-text); text-decoration: none; transition: color .15s; }
a:hover { color: var(--dc-blue-h); }

img { max-width: 100%; display: block; }

ul, ol { list-style: none; }

.dc-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 10px; }

.dc-flow { padding: 0 10px 30px; min-height: 46vh; }

::selection { background: rgba(32, 149, 242, 0.25); }

/* ============ 2. header：顶 4px 黑条 + 48px 工具行 + 46px 分类行 ============ */
.dc-header {
  position: sticky; top: 0; z-index: 90;
  background: #fff;
  border-top: 4px solid var(--dc-black);
  border-bottom: 1px solid var(--dc-border);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.dc-head-inner { display: flex; align-items: center; gap: 20px; height: var(--dc-head-h); }

/* 印章 logo：黑描边方章 + 26px 粗黑站名（diancang logo 风） */
.dc-logo { display: flex; align-items: center; gap: 8px; flex: none; }

.dc-seal {
  width: 32px; height: 32px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--dc-black);
  border-radius: 6px;
  color: var(--dc-black); font-size: 18px; font-weight: 800;
  font-family: "STKaiti", "KaiTi", serif;
}

.dc-logo-txt { font-size: 24px; font-weight: 800; color: var(--dc-black); letter-spacing: .5px; white-space: nowrap; }
.dc-logo:hover .dc-logo-txt { color: var(--dc-blue-h); }

/* 搜索框：75px「搜全站」下拉视觉 + 输入 + 蓝方钮（radius 0 5 5 0） */
.dc-search {
  display: flex; align-items: center;
  border: 1px solid var(--dc-border);
  border-radius: var(--dc-radius);
  overflow: hidden;
  width: 340px;
}

.dc-search-tab {
  width: 72px; flex: none;
  height: 30px; line-height: 30px;
  background: #f4f6f8;
  text-align: center;
  font-size: 14px; color: #000;
  border-right: 1px solid var(--dc-border);
  position: relative;
  cursor: default;
}

.dc-search-tab::after {
  content: ''; position: absolute;
  right: 8px; top: 12px;
  border: 5px solid transparent;
  border-top-color: #333;
}

.dc-search-input {
  flex: 1; min-width: 0;
  height: 30px; padding: 0 8px;
  border: none; outline: none; background: none;
  font-size: 13px; color: var(--dc-ink);
}

.dc-search-input::placeholder { color: #aaa; }

.dc-search-btn {
  width: 34px; height: 30px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border: none;
  background: var(--dc-blue);
  border-radius: 0 var(--dc-radius) var(--dc-radius) 0;
  cursor: pointer;
}

.dc-search-btn:hover { background: var(--dc-blue-h); }

/* 功能直达行：14px 灰字（APP下载位红字） */
.dc-quick { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }

.dc-quick li { display: flex; align-items: center; }

.dc-quick-cap { font-size: 12px; color: #b5b8bc; margin-right: 6px; }

.dc-quick a, .dc-quick button {
  display: inline-block;
  padding: 4px 8px;
  font-size: 14px; color: var(--dc-text);
  white-space: nowrap;
}

.dc-quick a:hover { color: var(--dc-blue-h); }
.dc-quick .dc-quick-red { color: var(--dc-red); font-weight: 600; }
.dc-quick .dc-quick-red:hover { color: #d40000; }
.dc-quick .dc-quick-user { color: var(--dc-blue); font-weight: 600; max-width: 96px; overflow: hidden; text-overflow: ellipsis; }

.dc-quick-out {
  border: none; background: none;
  font-size: 14px; color: var(--dc-text);
  padding: 4px 8px; cursor: pointer;
}

.dc-quick-out:hover { color: var(--dc-blue-h); }

/* 汉堡（移动端显示） */
.dc-nav-toggle { display: none; align-items: center; gap: 7px; height: 32px; padding: 0 10px; border: 1px solid var(--dc-border); border-radius: var(--dc-radius); background: none; cursor: pointer; }
.dc-burger { display: flex; flex-direction: column; gap: 3px; }
.dc-burger span { width: 16px; height: 2px; background: #555; border-radius: 2px; }
.dc-nav-toggle em { font-style: normal; font-size: 12px; color: #555; }

/* 第二行：分类均分白条（li flex:1 居中，hover/当前 #0085ff） */
.dc-menu { background: #fff; }

.dc-menu ul { display: flex; height: 46px; }

.dc-menu li { flex: 1; text-align: center; min-width: 0; }

.dc-menu li a {
  display: block;
  height: 46px; line-height: 46px;
  font-size: 16px; color: var(--dc-text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 0 4px;
}

.dc-menu li a:hover { color: var(--dc-blue-h); }
.dc-menu li a.on { color: var(--dc-blue-h); font-weight: 700; }

/* ============ 3. 面包屑条：10px 粗分隔 + 黑三角（mod-nav 风） ============ */
.dc-nav-wrap { padding-top: 10px; }

.dc-nav {
  display: flex; align-items: center; gap: 2px;
  background: #fff;
  border-top: 10px solid var(--dc-bg);
  padding: 10px;
  font-size: 14px;
}

.dc-nav > span {
  width: 0; height: 0;
  border: 5px solid transparent;
  border-left-color: var(--dc-black);
  margin-right: 6px;
}

.dc-nav a { margin: 0 6px; color: var(--dc-mute); }
.dc-nav a:hover { color: var(--dc-blue-h); }

/* ============ 4. 白卡面板：10px 粗分隔 + 3px 黑竖条头 ============ */
.dc-panel {
  background: var(--dc-panel);
  border-top: 10px solid var(--dc-bg);
  padding: 10px 15px 16px;
  box-shadow: var(--dc-shadow);
}

.dc-hd {
  display: flex; align-items: center;
  height: 36px;
  padding: 0 10px;
  border-bottom: 1px solid var(--dc-border-l);
  position: relative;
}

.dc-hd::before {
  content: ''; position: absolute;
  left: 0; top: 8px;
  width: 3px; height: 20px;
  background: var(--dc-black);
}

.dc-hd p, .dc-hd h1 {
  color: var(--dc-ink);
  font-size: 16px; font-weight: 700;
  display: inline-block;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 70%;
}

.dc-more { margin-left: auto; font-size: 14px; color: var(--dc-mute); flex: none; }
.dc-more:hover { color: var(--dc-blue-h); }

.dc-cat-desc { padding: 10px 10px 0; font-size: 13.5px; color: #777; line-height: 1.8; }

/* ============ 5. 分类文字链 / 标签云 ============ */
.dc-tags { display: flex; flex-wrap: wrap; padding: 8px 6px 0; }

.dc-tags a {
  padding: 4px 12px;
  font-size: 14px; color: #333;
  line-height: 26px;
}

.dc-tags a:hover { color: var(--dc-blue-h); }

.dc-sub-tags { border-bottom: 1px dashed var(--dc-dash); margin-bottom: 6px; }
.dc-sub-tags a { color: var(--dc-blue); }
.dc-sub-tags a:hover { color: var(--dc-blue-h); }

/* ============ 6. 横条书卡（table_book 风）：3 列网格 / 列表页 1 列 ============ */
.dc-books { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 10px; padding: 6px 0 0; }

.dc-book { border-bottom: 1px dashed var(--dc-dash); }

.dc-books:not(.dc-books-list) .dc-book:last-child,
.dc-books:not(.dc-books-list) .dc-book:nth-last-child(2):nth-child(odd) { border-bottom: none; }

.dc-book .dc-body { display: flex; padding: 14px 6px; }

.dc-bimg {
  width: 100px; flex: none;
  align-self: flex-start;
}

.dc-bimg img {
  width: 90px; height: 120px;
  object-fit: cover;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--dc-dash);
  border-radius: var(--dc-radius);
  transition: border-color .2s;
}

.dc-book .dc-body:hover .dc-bimg img { border-color: var(--dc-blue-h); }

/* 无图占位：浅灰蓝底 + 楷体首字（古籍封面白边框风） */
.dc-bph {
  width: 90px; height: 120px;
  display: flex; align-items: center; justify-content: center;
  padding: 4px;
  border: 1px solid var(--dc-dash);
  border-radius: var(--dc-radius);
  background: var(--dc-bg);
  color: #9aa0a6;
  font-size: 44px; font-weight: 700;
  font-family: "STKaiti", "KaiTi", serif;
}

.dc-btext { flex: 1; min-width: 0; margin-left: 16px; }

.dc-btext h3 {
  font-size: 18px; font-weight: 700; color: var(--dc-ink);
  line-height: 1.4;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.dc-book .dc-body:hover .dc-btext h3 { color: var(--dc-blue-h); }

.dc-btext > p {
  margin-top: 8px;
  color: #777; font-size: 13.5px; line-height: 1.75;
  max-height: 96px; overflow: hidden;
  text-indent: 2em;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
}

.dc-bmeta {
  margin-top: 10px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: var(--dc-mute);
}

.dc-bmeta em { font-style: normal; color: var(--dc-blue); }
.dc-bmeta i { font-style: normal; }
.dc-bmeta .is-free { color: var(--dc-green); font-weight: 700; }
.dc-bmeta .dc-price { color: var(--dc-price); font-weight: 700; }

/* ============ 7. 虚线行列表（table_content / rtable_txt 风） ============ */
.dc-list { padding: 8px 6px 0; }

.dc-list li {
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px dashed var(--dc-dash);
  padding: 9px 2px;
}

.dc-list li:last-child { border-bottom: none; }

.dc-idx {
  width: 20px; height: 20px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: #f0f2f4;
  border-radius: 4px;
  font-style: normal; font-size: 12px; color: var(--dc-mute);
}

.dc-idx.idx-1 { background: var(--dc-black); color: #fff; }
.dc-idx.idx-2 { background: #555; color: #fff; }
.dc-idx.idx-3 { background: #888; color: #fff; }
.dc-idx.idx-book { background: none; border: 1px solid var(--dc-border); color: var(--dc-blue); font-size: 13px; }

.dc-list li a {
  flex: 1; min-width: 0;
  font-size: 16px; color: #333;
  line-height: 2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.dc-list li a:hover { color: var(--dc-blue-h); }

.dc-views { flex: none; font-size: 12px; color: var(--dc-mute); }

/* ============ 8. VIP 推广卡 ============ */
.dc-vip { padding: 16px 10px 8px; text-align: center; }

.dc-vip-t { font-size: 17px; font-weight: 700; color: var(--dc-ink); }

.dc-vip-s { margin-top: 6px; font-size: 12.5px; color: var(--dc-mute); }

.dc-vip-btn {
  display: flex; align-items: center; justify-content: center;
  height: 38px; margin-top: 14px;
  background: var(--dc-blue);
  border-radius: var(--dc-radius);
  color: #fff; font-size: 15px; font-weight: 700;
}

.dc-vip-btn:hover { background: var(--dc-blue-h); color: #fff; }

/* ============ 9. 双栏 row（70/30；首页 2:1 变体） ============ */
.dc-row { display: flex; align-items: flex-start; }

.dc-col-l { width: 70%; flex: none; padding-right: 10px; min-width: 0; }

.dc-col-r { width: 30%; flex: none; min-width: 0; }

/* ============ 10. 搜索结果再搜条 ============ */
.dc-research {
  display: flex; align-items: center;
  margin: 12px 6px 0;
  border: 1px solid var(--dc-border);
  border-radius: var(--dc-radius);
  overflow: hidden;
}

.dc-research .dc-search-tab { border-right: 1px solid var(--dc-border); }

.dc-research input {
  flex: 1; min-width: 0;
  height: 34px; padding: 0 10px;
  border: none; outline: none; background: none;
  font-size: 13px; color: var(--dc-ink);
}

.dc-research button {
  width: 40px; height: 34px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border: none;
  background: var(--dc-blue);
  border-radius: 0 var(--dc-radius) var(--dc-radius) 0;
  cursor: pointer;
}

.dc-research button:hover { background: var(--dc-blue-h); }

/* ============ 11. post 资源信息卡 + 正文 ============ */
.dc-hero {
  display: flex; gap: 20px;
  padding: 16px 6px 6px;
}

.dc-hero-thumb {
  position: relative;
  width: 200px; flex: none;
  align-self: flex-start;
}

.dc-hero-thumb img {
  width: 100%; aspect-ratio: 3 / 4;
  object-fit: cover;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--dc-dash);
  border-radius: var(--dc-radius);
}

.dc-hero-thumb > span {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 3 / 4;
  padding: 5px;
  border: 1px solid var(--dc-dash);
  border-radius: var(--dc-radius);
  background: var(--dc-bg);
  color: var(--dc-mute); font-size: 13px;
}

.dc-hero-thumb-bar {
  position: absolute; left: 5px; right: 5px; bottom: 5px;
  padding: 5px 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  border-radius: 0 0 var(--dc-radius) var(--dc-radius);
  color: #fff; font-size: 12px;
}

.dc-hero-info { flex: 1; min-width: 0; }

.dc-page-title { font-size: 22px; font-weight: 700; color: var(--dc-ink); line-height: 1.45; }

.dc-article-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  margin-top: 8px; padding-bottom: 12px;
  border-bottom: 1px dashed var(--dc-dash);
  font-size: 13px; color: var(--dc-mute);
}

.dc-article-meta a { color: var(--dc-blue); }
.dc-article-meta a:hover { color: var(--dc-blue-h); }

.dc-hero-fields {
  display: flex; flex-direction: column; gap: 5px;
  padding: 10px 12px; margin-top: 12px;
  background: #f8fafb;
  border: 1px solid #eef1f3;
  border-radius: var(--dc-radius);
  font-size: 13px; color: var(--dc-text);
}

.dc-hero-fields b { color: var(--dc-ink); font-weight: 600; }

.dc-hero-price-row { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; }

.dc-hero-free-tag {
  padding: 2px 10px;
  background: rgba(26, 158, 92, 0.1);
  color: var(--dc-green); font-size: 13px; font-weight: 700;
  border-radius: 4px;
}

.dc-hero-price { color: var(--dc-price); font-size: 28px; font-weight: 700; }
.dc-hero-price small { font-size: 13px; font-weight: 600; }
.dc-hero-price-label { font-size: 13px; color: var(--dc-mute); }

/* 付费框 */
.dc-paybox {
  position: relative;
  margin-top: 16px;
  background: #f8fafb;
  border: 1px solid #e3ecf3;
  border-radius: var(--dc-radius);
  padding: 16px;
}

.dc-pay-tag {
  position: absolute; top: -1px; right: -1px;
  padding: 4px 14px;
  background: var(--dc-blue);
  color: #fff; font-size: 13px; font-weight: 700;
  border-radius: 0 var(--dc-radius) 0 var(--dc-radius);
}

.dc-btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

.dc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 20px;
  border: none; border-radius: var(--dc-radius);
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  transition: filter .15s;
}

.dc-btn:hover { filter: brightness(1.06); }

.dc-btn-orange { background: var(--dc-blue); color: #fff; }
.dc-btn-vip { background: var(--dc-black); color: #fff; }
.dc-btn-suc { background: var(--dc-green); color: #fff; }
.dc-btn-ghost { background: none; border: 1px solid var(--dc-border); color: var(--dc-mute); }
.dc-btn-ghost:hover { border-color: var(--dc-blue-h); color: var(--dc-blue-h); filter: none; }
.dc-btn-block { width: 100%; }

.dc-hero-services {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 12px;
  font-size: 12px; color: var(--dc-mute);
}

.dc-hero-services span { display: inline-flex; align-items: center; gap: 5px; }
.dc-hero-services span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--dc-blue); }

.dc-hero-notice { margin-top: 12px; font-size: 12px; color: #a5a9ad; line-height: 1.7; }

/* 正文卡 */
.dc-content-card { background: var(--dc-panel); border-top: 10px solid var(--dc-bg); box-shadow: var(--dc-shadow); padding: 18px 20px 22px; }

.dc-detail-content { font-size: 15px; color: #444; line-height: 2; }

.dc-detail-content p { margin-bottom: 12px; text-indent: 2em; }

.dc-detail-content img { border-radius: var(--dc-radius); margin: 10px auto; }

.dc-detail-content h1, .dc-detail-content h2, .dc-detail-content h3 {
  color: var(--dc-ink); font-weight: 700;
  margin: 18px 0 10px;
  padding-left: 10px;
  border-left: 3px solid var(--dc-black);
  text-indent: 0;
}

.dc-detail-content h2 { font-size: 18px; }
.dc-detail-content h3 { font-size: 16px; }

.dc-detail-content a { color: var(--dc-blue); text-decoration: underline; }

.dc-detail-content ul, .dc-detail-content ol { padding-left: 24px; margin-bottom: 12px; }
.dc-detail-content ul { list-style: disc; }
.dc-detail-content ol { list-style: decimal; }
.dc-detail-content li { text-indent: 0; }

.dc-detail-content blockquote {
  margin: 12px 0; padding: 10px 14px;
  background: #f8fafb; border-left: 3px solid var(--dc-blue);
  color: #777; text-indent: 0;
}

.dc-detail-content table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.dc-detail-content th, .dc-detail-content td { border: 1px solid #e8ebee; padding: 8px 10px; font-size: 13.5px; text-indent: 0; }
.dc-detail-content th { background: #f4f6f8; color: var(--dc-ink); }

.dc-detail-content pre { background: #2b2b2b; color: #f5f5f5; padding: 14px 16px; border-radius: var(--dc-radius); overflow-x: auto; margin: 12px 0; font-size: 13px; text-indent: 0; }
.dc-detail-content code { background: #eef1f3; color: #c7254e; padding: 2px 6px; border-radius: 3px; font-size: 13px; text-indent: 0; }
.dc-detail-content pre code { background: none; color: inherit; padding: 0; }

.dc-detail-content hr { border: none; border-top: 1px dashed var(--dc-dash); margin: 16px 0; }

/* 付费内容 / 购买 */
.dc-paid-hint {
  margin-top: 14px;
  padding: 14px 16px;
  background: #f8fafb;
  border: 1px dashed var(--dc-blue);
  border-radius: var(--dc-radius);
  color: var(--dc-mute); font-size: 14px;
  cursor: pointer;
}

.dc-paid-hint-link { color: var(--dc-blue); font-weight: 600; }
.dc-paid-hint:hover .dc-paid-hint-link { color: var(--dc-blue-h); }

.dc-paid-box {
  margin-top: 16px;
  background: #f2fbf6;
  border: 1px solid #c9e9d8;
  border-radius: var(--dc-radius);
  padding: 18px 20px;
}

.dc-paid-box.dc-flash-anim { animation: dcFlash 1.2s ease; }

@keyframes dcFlash {
  0%, 100% { box-shadow: 0 0 0 rgba(26, 158, 92, 0); }
  30% { box-shadow: 0 0 0 5px rgba(26, 158, 92, 0.3); }
}

.dc-paid-head { font-size: 15px; font-weight: 700; color: var(--dc-green); margin-bottom: 10px; }

.dc-paid-body { font-size: 14px; color: var(--dc-text); line-height: 1.85; word-break: break-all; }
.dc-paid-body p { margin-bottom: 8px; text-indent: 0; }

.dc-paid-copy {
  margin-top: 12px;
  display: block; width: 200px;
  height: 36px;
  background: var(--dc-green); color: #fff;
  border: none; border-radius: var(--dc-radius);
  font-size: 13px; font-weight: 700; cursor: pointer;
}

.dc-paid-copy:hover { filter: brightness(1.06); }

.dc-buy-card {
  margin-top: 14px;
  background: var(--dc-panel);
  border: 1px solid #eef1f3;
  border-radius: var(--dc-radius);
  padding: 20px;
}

.dc-buy-card h3 { font-size: 16px; font-weight: 700; color: var(--dc-ink); margin-bottom: 10px; }

.dc-form-hint { font-size: 13px; color: var(--dc-mute); margin-bottom: 14px; }

.dc-form-group { margin-bottom: 14px; }

.dc-form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--dc-ink); margin-bottom: 6px; }

.dc-form-group input, .dc-form-group select, .dc-form-group textarea {
  width: 100%; height: 40px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--dc-border);
  border-radius: var(--dc-radius);
  font-size: 14px; color: var(--dc-ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.dc-form-group textarea { height: auto; min-height: 90px; padding: 10px 12px; resize: vertical; }

.dc-form-group input:focus, .dc-form-group select:focus, .dc-form-group textarea:focus {
  border-color: var(--dc-blue);
  box-shadow: 0 0 0 3px rgba(32, 149, 242, 0.12);
}

/* ============ 12. 分页（灰底圆角，current #7c7c7c 白字） ============ */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 18px 0 8px; }

.pagination a, .pagination span.current {
  min-width: 34px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 12px;
  background: var(--dc-foot);
  border: 1px solid var(--dc-foot);
  border-radius: 4px;
  color: var(--dc-text); font-size: 13px;
}

.pagination a:hover { color: var(--dc-blue-h); border-color: var(--dc-blue-h); background: #fff; }

.pagination span.current {
  background: #7c7c7c;
  border-color: #7c7c7c;
  color: #fff; font-weight: 700;
}

/* ============ 13. SEO 简介 / 友链格子 ============ */
.dc-home-seo { margin-top: 0; }

.dc-seo-body { padding: 10px 10px 0; font-size: 13.5px; color: #777; line-height: 1.9; }
.dc-seo-body p { margin-bottom: 8px; }
.dc-seo-body a { color: var(--dc-blue); text-decoration: underline; }

.dc-flinks { display: flex; flex-wrap: wrap; padding: 10px 6px 0; }

.dc-flinks li { width: 12.5%; min-width: 90px; box-sizing: border-box; }

.dc-flinks a {
  display: block;
  line-height: 38px;
  border: 1px solid #ccc;
  margin: -1px 0 0 -1px;
  text-align: center;
  font-size: 13px; color: var(--dc-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.dc-flinks a:hover { color: var(--dc-blue-h); background: #fafbfc; }

/* ============ 14. 通用：empty / 表单卡 / 提示 / 表格 ============ */
.dc-empty {
  margin: 14px 4px;
  padding: 44px 16px;
  text-align: center;
  background: #fafbfc;
  border: 1px dashed var(--dc-border);
  border-radius: var(--dc-radius);
  color: var(--dc-mute); font-size: 14px;
}

.dc-form-card {
  background: var(--dc-panel);
  border-top: 10px solid var(--dc-bg);
  box-shadow: var(--dc-shadow);
  border-radius: 0;
  padding: 24px;
  max-width: 460px;
  margin: 0 auto;
}

.dc-form-card-wide { max-width: 100%; }

.dc-form-card .dc-form-group label { color: var(--dc-ink); }
.dc-form-card .dc-btn { width: 100%; }

.dc-alert { padding: 11px 14px; border-radius: var(--dc-radius); font-size: 13.5px; font-weight: 600; margin-bottom: 14px; }
.dc-alert-error { background: #fdf1f1; color: #d63333; border: 1px solid #f3cdcd; }
.dc-alert-success { background: #f0faf5; color: #178a51; border: 1px solid #c9e9d8; }

.dc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; color: var(--dc-text); }

.dc-table th, .dc-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #eef1f3; }

.dc-table th { background: #f4f6f8; color: var(--dc-ink); font-weight: 700; white-space: nowrap; }

.dc-table tr:hover td { background: #fafbfc; }

.dc-status-ok { color: var(--dc-green); font-weight: 700; }
.dc-status-no { color: #d63333; font-weight: 700; }

.dc-sep { font-style: normal; color: #c8ccd0; margin: 0 4px; }

/* member 页头像（沿用类名） */
.dc-user-avatar {
  width: 54px; height: 54px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--dc-blue);
  border-radius: 50%;
  color: #fff; font-size: 23px; font-weight: 800;
}

.dc-user-avatar.is-vip { background: var(--dc-black); }

/* ============ 15. VIP 页 ============ */
.dc-pay-type { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }

.dc-pay-type-label { font-size: 14px; color: var(--dc-mute); }

.dc-pay-pill {
  padding: 6px 18px;
  background: #f4f6f8;
  border: 1px solid var(--dc-border);
  border-radius: 4px;
  font-size: 13.5px; color: var(--dc-text);
}

.dc-pay-pill.active { background: var(--dc-blue); border-color: var(--dc-blue); color: #fff; font-weight: 600; }

.dc-vip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; padding-top: 12px; }

.dc-vip-card {
  position: relative;
  background: #fff;
  border: 1px solid #eef1f3;
  border-radius: var(--dc-radius);
  padding: 26px 20px;
  text-align: center;
  transition: border-color .2s, box-shadow .2s;
}

.dc-vip-card:hover { border-color: var(--dc-blue); box-shadow: 0 8px 24px rgba(32, 149, 242, 0.14); }

.dc-vip-card.hot { border: 2px solid var(--dc-blue); }

.dc-vip-flag {
  position: absolute; top: -1px; right: 14px;
  padding: 2px 12px;
  background: var(--dc-blue);
  color: #fff; font-size: 12px; font-weight: 700;
  border-radius: 0 0 4px 4px;
}

.dc-vip-name { font-size: 17px; font-weight: 700; color: var(--dc-ink); }

.dc-vip-price { margin: 12px 0 4px; font-size: 32px; font-weight: 700; color: var(--dc-price); }
.dc-vip-price small { font-size: 13px; color: var(--dc-mute); font-weight: 600; }

.dc-vip-days { font-size: 13px; color: var(--dc-mute); }

/* ============ 16. 专题页 / 友链页 ============ */
.dc-topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-top: 12px; }

.dc-topic-card {
  background: #fafbfc;
  border: 1px solid #eef1f3;
  border-radius: var(--dc-radius);
  padding: 16px 18px;
  transition: border-color .2s;
}

.dc-topic-card:hover { border-color: var(--dc-blue); }

.dc-topic-name { font-size: 15px; font-weight: 700; color: var(--dc-ink); }
.dc-topic-card:hover .dc-topic-name { color: var(--dc-blue-h); }

.dc-topic-summary {
  margin-top: 6px;
  font-size: 12.5px; color: var(--dc-mute); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.dc-topic-meta { margin-top: 10px; font-size: 12px; color: var(--dc-blue); font-weight: 600; }

.dc-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.dc-chip {
  padding: 4px 14px;
  background: #f4f6f8;
  border: 1px solid var(--dc-border);
  border-radius: 4px;
  font-size: 12.5px; color: var(--dc-text);
}

.dc-chip:hover { color: var(--dc-blue-h); border-color: var(--dc-blue); }

.dc-links-intro {
  margin: 12px 0 14px;
  padding: 12px 16px;
  background: #fafbfc;
  border: 1px dashed var(--dc-border);
  border-radius: var(--dc-radius);
  font-size: 13.5px; color: var(--dc-mute); line-height: 1.8;
}

.dc-link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.dc-link-card {
  display: flex; align-items: center; gap: 12px;
  background: #fafbfc;
  border: 1px solid #eef1f3;
  border-radius: var(--dc-radius);
  padding: 14px 16px;
  transition: border-color .2s;
}

.dc-link-card:hover { border-color: var(--dc-blue); }

.dc-link-logo {
  width: 42px; height: 42px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--dc-blue);
  border-radius: var(--dc-radius);
  color: #fff; font-size: 18px; font-weight: 800;
}

.dc-link-text { min-width: 0; }

.dc-link-name { font-size: 14px; font-weight: 700; color: var(--dc-ink); }
.dc-link-card:hover .dc-link-name { color: var(--dc-blue-h); }

.dc-link-desc {
  margin-top: 2px;
  font-size: 12.5px; color: var(--dc-mute);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ============ 17. CTA / 404 ============ */
.dc-cta {
  margin-top: 20px;
  background: #fafbfc;
  border: 1px dashed var(--dc-border);
  border-radius: var(--dc-radius);
  padding: 22px;
  text-align: center;
}

.dc-cta-title { font-size: 17px; font-weight: 700; color: var(--dc-ink); }
.dc-cta-sub { margin-top: 6px; font-size: 13px; color: var(--dc-mute); }
.dc-cta-actions { margin-top: 14px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.dc-cta-note { margin-top: 10px; font-size: 12px; color: var(--dc-mute); }

.dc-404 { padding: 70px 20px; text-align: center; }

.dc-404-num {
  font-size: 80px; font-weight: 800; line-height: 1;
  color: var(--dc-blue);
}

.dc-404 p { margin: 16px 0 22px; color: var(--dc-mute); }

/* ============ 18. footer：10px 粗分隔 + #ebebeb 居中 ============ */
.dc-footer {
  margin-top: 10px;
  border-top: 10px solid var(--dc-bg);
  background: var(--dc-foot);
}

.dc-foot-info { padding: 22px 10px; text-align: center; }

.dc-foot-info p {
  line-height: 25px;
  font-size: 14px; color: #333;
}

.dc-foot-links { display: flex; flex-wrap: wrap; justify-content: center; }

.dc-foot-links a { margin: 0 6px; color: #333; }
.dc-foot-links a:hover { color: var(--dc-blue-h); }

.dc-foot-friend span { color: #333; }

/* ============ 19. 返回顶部方块 ============ */
.dc-goback {
  position: fixed; right: 20px; bottom: 40px; z-index: 80;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid var(--dc-border);
  border-radius: var(--dc-radius);
  color: var(--dc-mute);
  box-shadow: var(--dc-shadow);
}

.dc-goback:hover { color: var(--dc-blue-h); border-color: var(--dc-blue); }

/* ============ 20. 扫码支付弹窗（pay-* 为 JS 契约，禁改） ============ */
.pay-mask {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
}

.pay-modal {
  width: 360px; max-width: 100%;
  background: #fff;
  border-radius: 8px;
  padding: 18px 20px 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.pay-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 16px; font-weight: 700; color: #222;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef1f3;
}

.pay-amount { color: var(--dc-price); }

.pay-close { font-size: 24px; color: var(--dc-mute); cursor: pointer; line-height: 1; }
.pay-close:hover { color: #d63333; }

.pay-qr-wrap {
  display: flex; align-items: center; justify-content: center;
  min-height: 240px;
  margin: 14px auto 4px;
}

.pay-caption { text-align: center; font-size: 13px; color: var(--dc-mute); margin-bottom: 12px; }

.pay-btn-phone {
  display: block; width: 200px; height: 36px;
  margin: 0 auto 10px;
  background: none; border: 1px solid var(--dc-blue);
  border-radius: var(--dc-radius);
  color: var(--dc-blue); font-size: 13px; font-weight: 600; cursor: pointer;
}

.pay-btn-phone:hover { background: rgba(32, 149, 242, 0.06); }

.pay-status {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 22px;
  font-size: 13px; color: var(--dc-mute);
}

.pay-status-ok { color: var(--dc-green); font-weight: 700; }
.pay-status-expired { color: #d63333; }
.pay-status-fail { color: #d63333; }

.pay-spinner {
  width: 14px; height: 14px; flex: none;
  border: 2px solid #e3ecf3; border-top-color: var(--dc-blue);
  border-radius: 50%;
  animation: dcSpin 0.9s linear infinite;
}

@keyframes dcSpin { to { transform: rotate(360deg); } }

.pay-btn-refresh {
  display: block; width: 200px; height: 36px;
  margin: 10px auto 0;
  background: var(--dc-blue);
  border: none; border-radius: var(--dc-radius);
  color: #fff; font-size: 13px; font-weight: 700; cursor: pointer;
}

.pay-btn-refresh:hover { filter: brightness(1.06); }

.pay-btn-refresh:disabled { opacity: .6; cursor: wait; }

/* ============ 21. 响应式 ============ */
@media (max-width: 1080px) {
  .dc-search { width: 260px; }
  .dc-quick a, .dc-quick button { padding: 4px 6px; }
  .dc-books { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dc-topic-grid { grid-template-columns: repeat(2, 1fr); }
  .dc-flinks li { width: 20%; }
}

@media (max-width: 999.98px) {
  .dc-search { display: none; }
  .dc-quick { display: none; }
  .dc-nav-toggle { display: inline-flex; margin-left: auto; }
  .dc-menu {
    display: none;
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 150;
    width: min(320px, 84vw);
    background: #313131;
    padding: 60px 14px 30px;
    overflow-y: auto;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.3);
  }
  .dc-menu.open { display: block; }
  .dc-menu ul { display: block; height: auto; }
  .dc-menu li { flex: none; width: auto; text-align: left; margin-bottom: 8px; }
  .dc-menu li a {
    display: block;
    height: 38px; line-height: 38px;
    padding: 0 16px;
    background: #1c1c1c;
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
  }
  .dc-menu li a:hover, .dc-menu li a.on { background: var(--dc-blue); color: #fff; }
  .dc-row { flex-direction: column; }
  .dc-col-l, .dc-col-r { width: 100%; padding-right: 0; }
  .dc-hero { flex-direction: row; }
  .dc-hero-thumb { width: 150px; }
  .dc-goback { right: 14px; bottom: 24px; width: 40px; height: 40px; }
}

@media (max-width: 689.98px) {
  .dc-logo-txt { font-size: 19px; }
  .dc-seal { width: 28px; height: 28px; font-size: 15px; }
  .dc-menu ul { flex-wrap: wrap; height: auto; }
  .dc-menu li { flex: 0 0 33.333%; }
  .dc-menu li a { height: 40px; line-height: 40px; font-size: 14px; }
  .dc-books { grid-template-columns: minmax(0, 1fr); }
  .dc-page-title { font-size: 18px; }
  .dc-hero { flex-direction: column; }
  .dc-hero-thumb { width: 130px; }
  .dc-content-card { padding: 14px 14px 18px; }
  .dc-detail-content p { text-indent: 1.5em; }
  .dc-flinks li { width: 25%; min-width: 0; }
  .dc-topic-grid { grid-template-columns: 1fr; }
  .dc-link-grid { grid-template-columns: 1fr; }
  .dc-form-card { padding: 18px 14px; }
  .dc-table { display: block; overflow-x: auto; }
  .dc-table th, .dc-table td { padding: 8px 8px; font-size: 12.5px; }
  .dc-foot-info p { font-size: 12px; line-height: 22px; }
}

/* 付费引导卡（七十七期：同步主站 m-paid-cta 形态 —— 大号橙价 + 绿色按钮 + 找回订单） */
.dc-paid-cta{background:linear-gradient(180deg,#f1f2f4,#e9eaec);border-radius:10px;padding:22px 16px;text-align:center;margin:18px 0}
.dc-paid-cta-price{font-size:14px;color:#555;margin-bottom:14px}
.dc-paid-cta-price strong{font-size:30px;color:#ff6600;font-weight:700;margin:0 4px;line-height:1.1}
.dc-paid-cta-btn{display:inline-block;border:0;cursor:pointer;padding:13px 64px;border-radius:8px;color:#fff;font-size:16px;font-weight:600;background:linear-gradient(180deg,#2fce5f,#17b34a);box-shadow:0 4px 12px rgba(23,179,74,.28);transition:transform .18s,box-shadow .18s}
.dc-paid-cta-btn:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(23,179,74,.36)}
.dc-paid-cta-tip{font-size:13px;color:#888;margin-top:12px}
.dc-paid-cta-tip a{color:#ff8c00;text-decoration:none}
.dc-paid-cta-tip a:hover{text-decoration:underline}
@media (max-width:640px){.dc-paid-cta-btn{width:100%;padding:13px 0}}

/* ---- 116 期 SEO 内链闭环（上下篇 + 相关推荐）：中性配色，明暗主题自适应 ---- */
.seo-pn { margin: 26px 0 10px; padding: 18px 20px; border: 1px solid rgba(127,127,127,.25); border-radius: 8px; background: rgba(127,127,127,.06); font-size: 14px; }
.seo-pn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.seo-pn a { text-decoration: none; color: inherit; flex: 1 1 260px; min-width: 0; display: block; padding: 10px 14px;
    border: 1px solid rgba(127,127,127,.25); border-radius: 6px; background: rgba(127,127,127,.05); transition: border-color .2s; }
.seo-pn a:hover { border-color: currentColor; text-decoration: none; }
.seo-pn a span { display: block; font-size: 12px; opacity: .65; margin-bottom: 4px; }
.seo-pn a b { display: block; font-weight: 600; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seo-pn-empty { flex: 1 1 260px; }
.seo-pn-rel h3 { font-size: 15px; font-weight: 700; margin: 0 0 10px; }
.seo-pn-rel ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 18px; }
.seo-pn-rel li { min-width: 0; }
.seo-pn-rel a { display: block; padding: 4px 0; border: 0; background: none; border-radius: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seo-pn-rel a::before { content: "\2022  "; opacity: .5; }
.seo-pn-rel a:hover { text-decoration: underline; }
@media (max-width: 560px) { .seo-pn { padding: 14px; } .seo-pn a { flex-basis: 100%; } }
/* thumb-full-override 2026-10-09 */
[class*="-post-thumb"] img,[class*="-hero-thumb"] img,[class*="-cathero-media"] img,[class*="s-thumb"] img{object-fit:contain}
