/* ============================================================================
   gudian 模板样式（古典·88106/杰奇 jieqi230 风）· 自包含,不依赖 biquge 基座。
   覆盖:极简 reset + 平台 chrome(头/尾/导航/阅读钩子) + 全套 gd- 布局类 + 功能页。
   铁律:单类选择器(skin 改名一致)· 主断点 1023px · 无 wap。
   桌面:白底 + 蓝灰var(--site-accent,#6896b1)/棕#8a5a2b 头 + 蓝#0275d8 链接 + 橙#f0ad4e hover。
   移动:米色#efe7db 页 + 咖啡棕#8a5230/#a07f66 皮肤。
   ============================================================================ */

/* ---------------- reset / base ---------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #fff; color: #373a3c;
  font: 14px/1.8 宋体, SimSun, Verdana, Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: #0275d8; text-decoration: none; }
a:hover { color: #f0ad4e; text-decoration: underline; }
ul, ol { list-style: none; }
button, input, select { font-family: inherit; }

/* ---------------- 顶栏 topbar(仅书页/正文页 layout_head) ---------------- */
.authorInfo2 { background: #f3ece2; border-bottom: 1px solid #e2d6c5; color: #333; font-size: 12px; }
.shuInfo { max-width: 1000px; margin: 0 auto; padding: 0 6px; height: 30px;
  display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
.navCol2 { background: none; border: 0; color: #8a7a66; cursor: pointer; font-size: 12px; padding: 0 8px; }
.navCol2:hover { color: #8a5a2b; }

/* ---------------- 头部 site-header ---------------- */
.picCover { background: #fff; border-bottom: 2px solid #e2d6c5; box-shadow: none; }
.nameArea { max-width: 1024px; margin: 0 auto; padding: 8px 6px; height: 64px;
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sideLink8 { position: static; flex: 0 0 auto; width: auto; margin: 0;
  font-size: 34px; line-height: 1; }
.sideLink8 a { font-family: "STKaiti","KaiTi",serif; font-size: 26px; font-weight: 800; letter-spacing: 1px;
  background: linear-gradient(180deg,#b8823a,#8a5a2b 60%,#6b4322);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  color: #8a5a2b; text-shadow: none; }
.rankWrap { display: none; }
.rowText { display: none; }
.hotCell { position: static; flex: 0 1 480px; width: auto; max-width: 480px; margin: 0; display: flex;
  height: 38px; border: 1px solid #9bd5ee; background: #fff; }
.gridFt { flex: 1; min-width: 0; height: 37px; padding: 6px 10px; font-size: 14px; background: #fff;
  border: 2px solid #cbb79a; border-right: 0; border-radius: 4px 0 0 4px; outline: 0; }
.info { width: 72px; height: 37px; background: #8a5a2b; color: #fff; border: 0;
  border-radius: 0 4px 4px 0; font-size: 15px; cursor: pointer; }
.info:hover { background: #6b4322; }

/* 右侧三行工具链接(仅首页/分类页 tpl _header) */
.wrapList { position: static; flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: flex-end; gap: 3px; line-height: 1.55; }
.wrapList button, .wrapList a { background: transparent; border: 0; padding: 0; margin: 0;
  cursor: pointer; font: inherit; font-size: 13px; color: #8a6a52; text-decoration: none; }
.wrapList button:hover, .wrapList a:hover { color: #8a5a2b; text-decoration: underline; }

/* ---------------- 主导航 nav（棕条） ---------------- */
.headpanel { background: #8a5a2b; max-width: 1024px; margin: 0 auto 8px; border: 0; overflow: hidden;
  font-family: 宋体, SimSun, sans-serif; }
.footBox { max-width: 1024px; margin: 0 auto; min-height: 40px; height: auto;
  display: flex; flex-wrap: nowrap; justify-content: flex-start; align-items: stretch; }
.footBox a { display: block; flex: 1 1 0; min-width: 0; text-align: center; color: #fff; font-weight: bold;
  font-size: 14px; line-height: 40px; padding: 0 4px; border-right: 1px solid var(--site-accent,#6896b1);
  white-space: nowrap; text-decoration: none; }
.footBox a:first-child { display: none; }               /* 隐藏「首页」(logo 已链首页) */
.footBox a:hover, .footBox a.hot { background: #6b4322; color: #fff; }

/* ---------------- 页脚 ---------------- */
.sortPanel8 { background: #fff; color: #999; border-top: 1px solid #e6e6e6; text-align: center;
  padding: 16px 0; font-size: 12px; box-shadow: none; }
.sortPanel8 a { color: var(--site-accent,#6896b1); }
.sortPanel8 a:hover { color: #f0ad4e; }
.hdArea { display: none; }                            /* 平台「返回顶部」隐藏 */

/* ============================================================================
   首页 gd- 三栏
   ============================================================================ */
.itemMod { max-width: 1000px; margin: 8px auto; padding: 0 6px;
  font-family: 宋体, SimSun, Verdana, Arial, sans-serif; font-size: 12px; line-height: 1.6; color: #373a3c; }
.cover9 { display: flex; gap: 0; align-items: flex-start; margin: 0 -0.5%; }
.area9, .cateInner { flex: 0 0 24.25%; margin: 0 0.5%; min-width: 0; }
.updateBlock { flex: 1 1 auto; margin: 0 0.5%; min-width: 0; }

.cover { border: 1px solid #b4c2cb; margin-bottom: 6px; padding: 1px; background: #fff; }
.bookInner { position: relative; height: 2em; line-height: 2em; font-size: 14px; font-weight: bold;
  text-indent: 0.5em; color: #373a3c; background: linear-gradient(#fbfbfb,#eef1f4);
  border-bottom: 1px solid #dfe3e7; border-left: 3px solid var(--site-accent,#6896b1); padding-left: 2px; margin: 0 0 1px; }
.headUnit5 { position: absolute; right: 10px; top: 0; line-height: 2em;
  font-weight: normal; font-size: 12px; color: #818a91; text-indent: 0; }
.headUnit5:hover { color: #f0ad4e; }

/* 左右分类 TOP 榜 */
.footPanel8 { list-style: none; margin: 0; padding: 5px 8px; counter-reset: gd; }
.footPanel8 li { counter-increment: gd; display: list-item; line-height: 2.0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.footPanel8 li::before { content: counter(gd); display: inline-block; width: 1.35em; margin-right: 5px;
  color: #fff; background: #c3ccd2; font-size: 11px; text-align: center; line-height: 1.4em; border-radius: 0; }
.footPanel8 li:nth-child(-n+3)::before { background: #e8792b; }
.footPanel8 a { flex: 1 1 auto; color: #33587a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.footPanel8 a:hover { color: #f0ad4e; }
.listCon { color: #f0ad4e; flex: 0 0 auto; font-size: 12px; }
.unit, .linkBd9 { display: none; }                      /* 移动专用内联标记 */

/* 中栏卡片:热读榜/流行榜 */
.item { display: flex; flex-wrap: wrap; gap: 12px 10px; padding: 10px 8px; }
.unitText { display: flex; gap: 8px; width: calc(50% - 5px); min-width: 0; }
.modbd { flex: 0 0 66px; }
.modbd img { width: 66px; height: 88px; object-fit: cover; border: 1px solid #ddd; }
.textLine { min-width: 0; }
.textLine h4 { margin: 0 0 3px; font-size: 15px; line-height: 1.3; font-weight: bold; }
.textLine h4 a { color: #c0392b; font-weight: bold; }
.textLine h4 a:hover { color: #f0ad4e; }
.bdMain { margin: 0 0 3px; color: #0275d8; }
.text7 { margin: 0; color: #8a8a8a; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* 编辑推荐:封面行 */
.barInfo9 { display: flex; gap: 10px; padding: 12px 8px; }
.shuBlock9 { flex: 1 1 0; text-align: center; min-width: 0; text-decoration: none; }
.shuBlock9 img { width: 100%; max-width: 100px; height: 126px; object-fit: cover; border: 1px solid #ccc; background: #eee; }
.shuBlock9 span { display: block; margin-top: 4px; font-size: 12px; color: #0275d8;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shuBlock9:hover span { color: #f0ad4e; }

/* 最近更新 */
.linkInfo8 { list-style: none; margin: 0; padding: 5px 8px; }
.linkInfo8 li { display: flex; gap: 5px; align-items: baseline; line-height: 2.0;
  border-bottom: 1px dotted #ebebeb; }
.linkInfo8 li:last-child { border-bottom: 0; }
.main { color: #e8792b; flex: 0 0 auto; font-size: 12px; }
.side2 { flex: 0 0 auto; color: #0275d8; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.col { flex: 1 1 auto; color: #373a3c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contWrap { flex: 0 0 auto; color: #999; }

/* 公告 / 友链 */
.desc7 .time { padding: 8px 10px; color: #c0392b; line-height: 1.8; font-size: 12px; }
.new { max-width: 1000px; margin: 0 auto 12px; border: 1px solid #b4c2cb; padding: 1px; background: #fff; }
.unitCell { padding: 6px 8px; line-height: 2; }
.unitCell a { margin-right: 12px; color: #818a91; }
.unitCell a:hover { color: #f0ad4e; }

/* ============================================================================
   分类页 gd-list
   ============================================================================ */
.unitItem { max-width: 1000px; margin: 8px auto 0; padding: 2px 6px; color: #818a91; font-size: 12px; }
.unitItem a { color: #0275d8; }
.unitItem a:hover { color: #f0ad4e; }
.gridBar { display: flex; gap: 0; align-items: flex-start; margin: 0 -0.5%; }
.mod { flex: 1 1 auto; margin: 0 0.5%; min-width: 0; }
.contUnit { flex: 0 0 24.25%; margin: 0 0.5%; min-width: 0; }
.timeInfo5 { float: right; font-weight: normal; font-size: 12px; color: #a99; margin-right: 10px; }

.coverImg4 { list-style: none; margin: 0; padding: 0; }
.ft { display: flex; gap: 14px; padding: 14px 12px; border-bottom: 1px solid #eee; }
.ft:last-child { border-bottom: 0; }
.ft3 { flex: 0 0 90px; }
.ft3 img { width: 90px; height: 120px; object-fit: cover; border: 1px solid #ccc; background: #eee; }
.storyArea { flex: 1 1 auto; min-width: 0; }
.titleImg { margin: 0 0 6px; font-size: 16px; font-weight: bold; line-height: 1.3; }
.titleImg a { color: #2b2b2b; }
.titleImg a:hover { color: #c0392b; }
.grid { margin: 0 0 7px; color: #999; font-size: 12px; }
.grid em { color: #c0392b; font-style: normal; }
.grid .name { margin-left: 14px; }
.box { margin: 0 0 7px; color: #6b6b6b; line-height: 1.75; font-size: 13px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nameMod { margin: 0; color: #999; font-size: 12px; }
.nameMod a { color: #0275d8; }
.nameMod a:hover { color: #f0ad4e; }

/* 分页(gd-pager 包 legacy server-pager) */
.dateName { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 14px 8px; }
.main6 { display: inline-flex; align-items: center; justify-content: center; padding: 7px 22px; border-radius: 2px; font-size: 14px; background: var(--site-accent,#6896b1); color: #fff; text-decoration: none; }
.main6:hover { background: color-mix(in srgb, var(--site-accent,#6896b1) 80%, #000); }
.main6.newName9 { background: #eef1f3; color: #9aa7ae; cursor: default; }
.cate { font-size: 13px; color: #666; font-variant-numeric: tabular-nums; }

/* 右侧:分类阅读(网格) */
.bd { display: grid; grid-template-columns: repeat(2,1fr); gap: 7px; padding: 10px 8px; }
.bd a { display: block; text-align: center; padding: 6px 4px; border: 1px solid #dfe3e7; border-radius: 3px;
  color: #33587a; font-size: 12px; background: #fafcfd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd a:hover, .bd a.coverMod { background: var(--site-accent,#6896b1); color: #fff; border-color: var(--site-accent,#6896b1); }

/* 侧栏搜索 */
.tagPanel { display: flex; padding: 10px 8px; gap: 0; }
.tagPanel input { flex: 1 1 auto; min-width: 0; border: 1px solid #cbd6dc; border-right: 0;
  border-radius: 3px 0 0 3px; padding: 7px 9px; font-size: 12px; }
.tagPanel button { flex: 0 0 auto; border: 0; background: var(--site-accent,#6896b1); color: #fff; padding: 0 14px;
  border-radius: 0 3px 3px 0; cursor: pointer; font-size: 13px; }
.tagPanel button:hover { background: #5485a2; }

/* ============================================================================
   目录页 gd-book
   ============================================================================ */
.sort, .secLink { max-width: 1000px; margin: 8px auto; padding: 0 6px;
  font-family: 宋体, SimSun, Verdana, Arial, sans-serif; font-size: 12px; line-height: 1.6; color: #373a3c; }
.sort .menuMain, .secLink .menuMain { max-width: 100%; margin: 0; padding: 0; }
.novelBox { display: flex; gap: 0; align-items: flex-start; margin: 0 -0.5%; }
.wrap { flex: 1 1 auto; margin: 0 0.5%; min-width: 0; }
.catMeta { flex: 0 0 24.25%; margin: 0 0.5%; min-width: 0; }

.sec { border: 1px solid #b4c2cb; background: #fff; padding: 1px; margin-bottom: 5px; }
.sec .unitItem { margin: 0; padding: 6px 10px; border-bottom: 1px solid #ebebeb; background: #f5f5f5; }
.boxMeta { display: flex; gap: 16px; padding: 14px 12px; align-items: flex-start; }
.wrap .modLine8 { flex: 0 0 130px; }
.wrap .modLine8 img { width: 130px; height: 173px; object-fit: cover; border: 1px solid #ccc; background: #eee; }
.modLine8 { flex: 0 0 120px; }
.modLine8 img { width: 120px; height: 160px; object-fit: cover; border: 1px solid #ccc; background: #eee; }
.updateName6 { flex: 1 1 auto; min-width: 0; }
.updateName6 h1 { margin: 0 0 8px; font-size: 22px; font-weight: bold; color: #373a3c; font-family: 宋体, SimSun, serif; }
.footList8 { margin: 0 0 8px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-bottom: 1px dashed #86aebd; padding-bottom: 6px; }
.footList8 p { margin: 2px 0; color: #5a5a5a; height: 28px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.footList8 a { color: #0275d8; }
.footList8 a:hover { color: #f0ad4e; }
.linkLine { margin: 0 0 10px; color: #818a91; line-height: 1.7; }
.textInner { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.textInner .heads { display: flex; align-items: center; justify-content: center; text-align: center;
  line-height: 1.2; padding: 6px 18px; border-radius: 2px; background: var(--site-accent,#6896b1); color: #fff;
  text-decoration: none; border: 0; cursor: pointer; font-size: 13px; }
.textInner .heads.linkFt { background: #f0ad4e; }
.textInner .heads.linkFt:hover { background: #ec9c2a; }
.textInner .heads:hover { background: #5485a2; }

/* 章节目录:多栏网格 */
.time8 { border: 1px solid #b4c2cb; background: #fff; padding: 1px 1px 10px; margin-bottom: 5px; }
.time8 .bookInner { margin: 0 0 6px; height: 2em; line-height: 2em; }
.headLink9 { list-style: none; margin: 0 0 6px; padding: 4px 8px;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0 14px; }
.headLink9.wrapinfo { grid-template-columns: repeat(2,1fr); }
.headLink9 li { line-height: 2.1; border-bottom: 1px dotted #e2e2e2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.headLink9 a { color: #0275d8; text-decoration: none; }
.headLink9 a:hover { color: #f0ad4e; text-decoration: underline; }

/* 目录分页 */
.tag4 { padding: 10px 8px; text-align: center; display: flex; flex-wrap: wrap;
  gap: 8px; align-items: center; justify-content: center; }
.tag4 a, .tag4 span { display: inline-block; width: auto; padding: 8px 18px;
  border: 1px solid #cbd6dc; color: #0275d8; background: #fff; border-radius: 3px; text-decoration: none; font-weight: normal; }
.tag4 a:hover { background: var(--site-accent,#6896b1); color: #fff; border-color: var(--site-accent,#6896b1); }
.tag4 span { color: #b7c0c6; background: #f5f7f8; cursor: default; }
.tag4 select { padding: 8px 10px; border: 1px solid #cbd6dc; border-radius: 3px; min-width: 150px; }

/* 右栏「同类推荐」列表化 */
.cha .nameBar6 { background: transparent; border: 0; margin: 0; padding: 0; }
.cha .nameBar6 > h2, .cha .nameBar6 > h3 { display: none; }
.cha .updateUnit7 { display: block; padding: 6px 10px; counter-reset: rec; }
.cha .updateUnit7 a { display: block; counter-increment: rec; line-height: 2.1; padding-left: 22px;
  position: relative; color: #33587a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  border-bottom: 1px dotted #ececec; background: transparent; height: auto; text-align: left; border-radius: 0; }
.cha .updateUnit7 a:last-child { border-bottom: 0; }
.cha .updateUnit7 a::before { content: counter(rec); position: absolute; left: 0; top: 0.45em;
  width: 16px; height: 16px; line-height: 16px; text-align: center; font-size: 11px; color: #fff; background: #c3ccd2; }
.cha .updateUnit7 a:nth-child(-n+3)::before { background: #e8792b; }
.cha .updateUnit7 a:hover { color: #f0ad4e; }

/* ============================================================================
   正文页 gd-reader
   ============================================================================ */
.coverCon { border: 1px solid #b4c2cb; background: #fff; padding: 0 1px 14px; margin-bottom: 5px; }
.modList { display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  background: #f5f5f5; border-bottom: 1px solid #ebebeb; padding: 5px 10px; margin: 0; }
.modList .unitItem { flex: 1 1 auto; min-width: 180px; margin: 0; padding: 0; background: none; border: 0; }
.tagBar6 { text-align: center; padding: 16px 12px 6px; background: transparent; }
.tagBar6 h1 { margin: 0 0 6px; font-size: 22px; font-weight: bold; color: #333; font-family: 宋体, SimSun, serif; }
.tagBar6 p { margin: 0; color: #8a8a8a; }
.tagBar6 p a { color: #0275d8; }

/* 阅读器工具条(面包屑行内,透明底) */
.updateText { display: flex; flex-wrap: wrap; align-items: center; gap: 3px;
  background: transparent; color: #666; padding: 0; margin: 0; font-size: 12px; flex: 0 0 auto; }
.updateText .imgNameblock { display: inline-flex; align-items: center; flex-wrap: nowrap; margin-right: 6px; }
.updateText .imgNameblock .homeCover { margin: 0 2px 0 0; }
.updateText .homeCover { margin: 0 2px 0 8px; color: #777; }
.updateText .tag8 { width: 15px; height: 15px; border: 1px solid #b9b9b9; border-radius: 2px;
  cursor: pointer; padding: 0; vertical-align: middle; }
.updateText .tag8:hover { outline: 2px solid var(--site-accent,#6896b1); }
.updateText .headcon { background: #fff; border: 1px solid #cbd6dc; color: #0275d8;
  padding: 1px 8px; cursor: pointer; border-radius: 2px; margin: 0 1px; font-size: 12px; }
.updateText .headcon:hover { background: var(--site-accent,#6896b1); color: #fff; border-color: var(--site-accent,#6896b1); }

/* 章节导航按钮:固定等宽 */
.dateArea { padding: 14px 8px; text-align: center; font-size: 0; line-height: normal; }
.dateArea a, .dateArea span { display: inline-block; width: 132px; height: 40px; line-height: 40px;
  margin: 0 7px; padding: 0; font-size: 16px; font-weight: normal; text-align: center; box-sizing: border-box;
  border: 1px solid #cbd6dc; color: #0275d8; background: #fff; border-radius: 3px; text-decoration: none; }
.dateArea a:hover { background: var(--site-accent,#6896b1); color: #fff; border-color: var(--site-accent,#6896b1); }
.dateArea span { color: #b7c0c6; background: #f5f7f8; cursor: default; }

/* 正文本体:居中窄栏 */
.nameLine .gridCover, .gridCover { display: none; }
.head { max-width: 840px; margin: 6px auto; padding: 14px 22px 24px;
  font-family: 宋体, SimSun, "Microsoft YaHei", serif; font-size: 19px; line-height: 2.05; color: #2f2f2f; }
.head .gridCover { font-size: 24px; text-align: center; margin: 4px 0 22px; font-weight: bold; color: #333; }
.head p { margin: 0 0 1.1em; text-indent: 2em; text-align: justify; }

/* 底部「热门推荐」网格 */
.menu { border: 1px solid #b4c2cb; background: #fff; padding: 1px; margin-top: 8px; }
.menu .nameBar6 { background: transparent; padding: 8px; margin: 0; border: 0; }
.menu .nameBar6 > h2, .menu .nameBar6 > h3 { display: none; }
.menu .updateUnit7 { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.menu .updateUnit7 a { background: #f7f9fa; border: 1px solid #e3e9ec; height: auto; line-height: 2;
  text-align: center; color: #33587a; border-radius: 3px; padding: 2px 8px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu .updateUnit7 a:hover { background: var(--site-accent,#6896b1); color: #fff; border-color: var(--site-accent,#6896b1); }
.menu .updateUnit7 a:nth-child(n+9) { display: none; }

/* ============================================================================
   功能页(最新更新 / 排行 / 阅读记录 / 搜索)· legacy 类,自包含
   ============================================================================ */
.sortMod3.cellBd, .link.mod5, .rowMod { max-width: 1000px; margin: 8px auto;
  border: 1px solid #b4c2cb; background: #fff; border-radius: 4px; padding: 0 0 8px;
  font-family: 宋体, SimSun, Verdana, Arial, sans-serif; color: #373a3c; }
.sortMod3.cellBd > h1, .rowMod > h1 { font-size: 15px; font-weight: bold; color: #373a3c;
  background: #f5f5f5; border-bottom: 1px solid #ebebeb; border-left: 3px solid var(--site-accent,#6896b1); padding: 9px 12px; margin: 0 0 4px; }
.sortMod3.cellBd .desc3 { padding: 8px 12px; background: #f5f5f5; border-bottom: 1px solid #ebebeb;
  color: #818a91; margin: 0; font-size: 12px; }
.sortMod3.cellBd .desc3 a { color: #0275d8; }

/* 最新更新 表格 */
.secInfo { float: right; font-weight: normal; font-size: 12px; margin-right: 12px; }
.secInfo a { color: #0275d8; margin: 0 5px; }
.secInfo a:hover { color: #f0ad4e; }
.readCon { width: 100%; border-collapse: collapse; font-size: 13px; }
.readCon th { background: #f5f7f8; color: #666; font-weight: normal; text-align: left; padding: 9px 10px; border-bottom: 1px solid #e5e9ec; }
.readCon td { padding: 9px 10px; border-bottom: 1px dotted #ececec; }
.readCon tr:hover td { background: #fafcfd; }
.readCon .update { width: 26%; }
.readCon .update .rankBlock { color: #a0673f; margin-right: 3px; }
.readCon .update a { color: #2b2b2b; }
.readCon .update a:hover { color: #c0392b; }
.readCon .footLine { width: 30%; max-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.readCon .footLine a { color: #0275d8; }
.readCon .footLine a:hover { color: #f0ad4e; }
.readCon .timeFt { color: #666; width: 12%; }
.readCon .story, .readCon .headCon3, .readCon .site { color: #999; width: 9%; text-align: center; white-space: nowrap; }

/* 最新更新 列表(update-list) */
.cell6 { list-style: none; margin: 0; padding: 4px 12px; }
.cell6 li { display: flex; align-items: baseline; gap: 8px; line-height: 2.2; border-bottom: 1px dotted #ececec; font-size: 13px; }
.cell6 li:last-child { border-bottom: 0; }
.cell6 .panelGrid { color: #a0673f; flex: 0 0 auto; }
.cell6 .newArea { color: #2b2b2b; flex: 0 0 auto; max-width: 24%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cell6 .newArea:hover { color: #c0392b; }
.cell6 .newInfo8 { color: #0275d8; flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cell6 .newInfo8:hover { color: #f0ad4e; }
.cell6 .gridImg { color: #888; flex: 0 0 auto; max-width: 14%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cell6 .cateFt { color: #aaa; flex: 0 0 auto; }

/* 排行榜 */
.secLink7 { padding: 4px 8px; }
.block { display: flex; gap: 12px; padding: 12px 6px; border-bottom: 1px dotted #ececec; }
.block:last-child { border-bottom: 0; }
.tool5 { flex: 0 0 auto; }
.tool5 img { width: 112px; height: 150px; object-fit: cover; border: 1px solid #ddd; background: #eee; }
.tag { flex: 1 1 auto; min-width: 0; }
.tag h3 { margin: 0 0 4px; font-size: 15px; }
.tag h3 a { color: #c0392b; font-weight: bold; }
.tag h3 span { color: #999; font-weight: normal; font-size: 12px; margin-left: 8px; }
.tag p { margin: 0; color: #7a7a7a; font-size: 13px; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 阅读记录 表格 */
.boxMod { width: 100%; border-collapse: collapse; font-size: 13px; }
.boxMod th { background: #f5f7f8; color: #666; font-weight: normal; text-align: left; padding: 9px 12px; border-bottom: 1px solid #e5e9ec; }
.boxMod td { padding: 9px 12px; border-bottom: 1px dotted #ececec; }
.boxMod tr:hover td { background: #fafcfd; }
.boxMod td a { color: #0275d8; }
.boxMod td a:hover { color: #f0ad4e; }
.boxMod .listText7 { text-align: center; color: #999; padding: 24px; }

/* 搜索结果页 */
.pageBar6 { max-width: 1000px; margin: 14px auto; padding: 0 12px; box-sizing: border-box; }
.pageBar6 > h1 { font-size: 20px; color: #5a4636; font-weight: 700; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid #d9c9b6; }
.imgName { display: flex; gap: 8px; margin: 0 0 10px; }
.imgName input { flex: 1 1 auto; min-width: 0; height: 38px; padding: 0 12px; border: 1px solid #d9c9b6; border-radius: 4px; font-size: 14px; background: #fff; box-sizing: border-box; }
.imgName button { flex: 0 0 auto; height: 38px; padding: 0 22px; border: 0; border-radius: 4px; background: #8a6a52; color: #fff; font-size: 14px; cursor: pointer; }
.imgName button:hover { background: #75563f; }
.itemInner8 { color: #998a78; font-size: 13px; margin: 0 0 12px; }
.nameItem { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nameItem li { display: flex; gap: 12px; background: #fff; border: 1px solid #ece2d4; border-radius: 6px; padding: 12px; }
.mainmain { flex: 0 0 auto; display: block; line-height: 0; }
.mainmain img { width: 86px; height: 116px; object-fit: cover; border-radius: 4px; display: block; }
.wenText { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.wenText h2 { font-size: 16px; font-weight: 700; margin: 0 0 6px; line-height: 1.35; }
.wenText h2 a { color: #5a4636; text-decoration: none; }
.wenText h2 a:hover { color: #8a6a52; }
.wenText .imgBox { color: #998a78; font-size: 12.5px; margin: 0 0 8px; }
.wenText .wen { margin: auto 0 0; }
.wenText .wen a { display: inline-block; color: #8a6a52; font-size: 13px; text-decoration: none; border: 1px solid #d9c9b6; border-radius: 4px; padding: 4px 12px; }
.wenText .wen a:hover { background: #efe7db; }

/* ============================================================================
   响应式 · 主断点 1023px（移动:米色页 + 咖啡棕皮肤）
   ============================================================================ */
@media (max-width: 1023px) {
  body { background: #efe7db; color: #4b3a30; font-family: 宋体, SimSun, "Microsoft YaHei", sans-serif; }
  a { color: #8a5a3c; }

  /* 顶栏 / 头部（book/chapter 有 topbar；首页/分类无） */
  .authorInfo2 { display: none; }
  header.picCover { background: #a07f66; padding: 0; border-bottom: 0; }
  .nameArea { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 0;
    width: 100%; max-width: none; min-height: 0; height: auto; padding: 0; position: static; background: transparent; }
  .sideLink8 { position: static; transform: none; width: auto; margin: 0; }
  .sideLink8 a { display: block; height: 52px; line-height: 52px; padding-left: 12px; font-family: 宋体, SimSun, serif;
    font-size: 27px; font-weight: bold; letter-spacing: 1px; color: #fff8f2; background: none;
    -webkit-text-fill-color: currentColor; text-shadow: none; }
  .wrapList { display: none; }

  .rankWrap { display: flex; gap: 8px; padding-right: 10px; }
  .rankWrap a { display: block; min-width: 48px; height: 30px; line-height: 30px; padding: 4px 12px;
    border-radius: 4px; background: #6f4e35; color: #fff; text-align: center; font-size: 13px; }

  /* 搜索:整行,棕按钮 */
  .hotCell { display: flex; grid-column: 1 / -1; order: initial; width: auto; height: 52px; margin: 0;
    padding: 9px 10px; border: 0; background: transparent; box-sizing: border-box; }
  .gridFt { height: 34px; padding: 8px 14px; font-size: 14px; background: #fff;
    border: 1px solid #cbb9a0; border-right: 0; border-radius: 18px 0 0 18px; }
  .info { flex: 0 0 auto; width: auto; height: 34px; padding: 0 18px; font-size: 15px;
    background: #8a5230; color: #fff; border: 0; border-radius: 0 18px 18px 0; }

  /* 导航:隐藏 13 项桌面导航,手机分类导航单排棕条可滑 */
  .headpanel { display: none; }
  .rowText { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    grid-column: 1 / -1; width: 100%; height: auto; background: #a07f66; border-top: 0; margin: 0 0 8px; padding: 0;
    scrollbar-width: none; justify-content: flex-start; }
  .rowText::-webkit-scrollbar { display: none; }
  .rowText a { flex: 1 1 0; min-width: 0; white-space: nowrap; color: #fff8f2;
    line-height: 40px; height: auto; padding: 0 6px; font-size: 14px; font-weight: normal; text-align: center; border: 0; }
  .rowText a:hover, .rowText a:active { background: #8a6853; color: #fff; }

  /* 页脚 */
  .sortPanel8 { background: #efe7db; color: #8a7d6d; border-top: 1px solid #e0d3c4; }
  .sortPanel8 a { color: #8a5a3c; }

  /* 首页三栏 → 单栏 */
  .itemMod, .sort, .secLink { background: #efe7db; color: #4b3a30; margin: 6px auto; padding: 0 8px; }
  .cover9, .gridBar, .novelBox { flex-direction: column; margin: 0; }
  .area9, .updateBlock, .cateInner, .mod, .contUnit, .wrap, .catMeta { flex: 1 1 auto; width: 100%; margin: 0; }
  .cover { border: 1px solid #e0d3c4; background: #fff; border-radius: 5px; margin-bottom: 10px; padding: 2px; }
  .new { border-color: #e0d3c4; background: #fff; }
  .unitCell a { color: #8a5a3c; }

  /* 票签式区块头 */
  .bookInner { height: auto; line-height: 1.6; font-size: 15px; font-weight: bold; color: #7a4326;
    background: #faf5ee; border: 0; border-bottom: 1px solid #ecdfce; border-left: 0; border-radius: 4px 4px 0 0;
    padding: 8px 12px 8px 30px; text-indent: 0; position: relative; }
  .bookInner::before { content: "\275A\275A"; position: absolute; left: 10px; top: 8px; color: #b07a4a; font-size: 14px; }
  .headUnit5 { position: absolute; right: 10px; top: 8px; line-height: normal; font-size: 12px; font-weight: normal; color: #a98; }
  .headUnit5::after { content: " \203A"; color: #b07a4a; font-weight: bold; }

  /* 榜单:无序号,[分类] 书名 | 作者 */
  .footPanel8 { padding: 6px 12px; }
  .footPanel8 li { display: flex; align-items: baseline; gap: 5px; line-height: 2.2; border-bottom: 1px dashed #efe6da; }
  .footPanel8 li:last-child { border-bottom: 0; }
  .footPanel8 li::before { display: none; }
  .unit { display: inline; color: #a0673f; flex: 0 0 auto; font-size: 13px; }
  .footPanel8 a { color: #4b3a30; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .footPanel8 a:hover { color: #a5342a; }
  .linkBd9 { display: inline; color: #b0a596; flex: 0 0 auto; font-size: 12px; margin-left: auto; }
  .linkBd9::before { content: "| "; color: #d8ccbc; }

  /* 卡片:单列 */
  .item { flex-direction: column; gap: 0; padding: 6px 12px; }
  .unitText { width: 100%; padding: 10px 0; border-bottom: 1px dashed #efe6da; }
  .unitText:last-child { border-bottom: 0; }
  .modbd { flex: 0 0 72px; }
  .modbd img { width: 72px; height: 96px; }
  .textLine h4 a { color: #a5342a; }
  .bdMain { color: #8a5a3c; }
  .text7 { color: #8a7d6d; }

  /* 编辑推荐封面行:两列 */
  .barInfo9 { flex-wrap: wrap; gap: 10px; }
  .shuBlock9 { flex: 0 0 calc(25% - 8px); }
  .shuBlock9 span { color: #8a5a3c; }

  /* 最近更新 */
  .linkInfo8 { padding: 6px 12px; }
  .linkInfo8 li { line-height: 2.2; border-bottom: 1px dashed #efe6da; }
  .main { color: #a0673f; }
  .side2 { color: #4b3a30; max-width: 44%; }
  .col { color: #7a6a58; }
  .contWrap { color: #b0a596; }
  .desc7 .time { color: #a5342a; }

  /* 分类页 */
  .ft { padding: 12px 10px; gap: 10px; }
  .ft3 { flex: 0 0 72px; }
  .ft3 img { width: 72px; height: 96px; }
  .titleImg { font-size: 15px; }
  .titleImg a { color: #4b3a30; }
  .titleImg a:hover { color: #a5342a; }
  .grid .name { margin-left: 8px; }
  .bd { grid-template-columns: repeat(4,1fr); }
  .bd a { color: #8a5230; background: #fff; border-color: #e0d3c4; }
  .bd a:hover, .bd a.coverMod { background: #8a5230; color: #fff; border-color: #8a5230; }
  .tagPanel button { background: #8a5230; }
  .tagPanel input { border-color: #e0d3c4; }
  .main6 { background: #8a5230; }
  .main6:hover { background: #6f4526; }
  .main6.newName9 { background: #e9ddcd; color: #a68e76; }
  .cate { color: #7a5230; }

  /* 目录页 */
  .sec, .time8, .coverCon { border-color: #e0d3c4; }
  .sec .unitItem, .sec .unitItem a { color: #fff; background: linear-gradient(#8a5a48,#734636); border-bottom-color: #5e392c; }
  .time8 .bookInner { color: #fff; background: linear-gradient(#8a5a48,#734636); border-bottom-color: #5e392c; }
  .boxMeta { flex-direction: column; align-items: center; text-align: center; }
  .footList8 { display: block; border-bottom: 0; padding-bottom: 0; }
  .footList8 p { height: 26px; line-height: 26px; }
  .wrap .modLine8 { flex: 0 0 96px; }
  .wrap .modLine8 img { width: 96px; height: 128px; }
  .updateName6 { width: 100%; }
  .footList8 a, .updateName6 h1 { color: #8a5230; }
  .textInner { display: flex; gap: 8px; flex-wrap: nowrap; width: 100%; }
  .textInner .heads { flex: 1 1 0; text-align: center; padding: 10px 4px; white-space: nowrap; box-sizing: border-box; background: #8a5230; }
  .textInner .heads.linkFt { background: #a5522f; }
  .headLink9 { grid-template-columns: repeat(2,1fr); }
  .headLink9.wrapinfo { grid-template-columns: 1fr; }
  .headLink9 a { color: #8a5230; }
  .tag4 a { color: #8a5230; border-color: #e0d3c4; }
  .tag4 a:hover { background: #8a5230; border-color: #8a5230; }
  .tag4 select { flex: 1 1 100%; order: -1; margin-bottom: 4px; }
  .tag4 a, .tag4 span { padding: 8px 22px; }
  .cha .updateUnit7 a { color: #8a5230; }
  .cha .updateUnit7 a:nth-child(-n+3)::before { background: #a5522f; }
  .catMeta .tagPanel button { background: #8a5230; }

  /* 正文页 */
  .updateText { background: transparent; }
  .updateText .homeCover { margin-left: 4px; }
  .updateText .headcon { padding: 1px 6px; }
  .head { max-width: 100%; font-size: 19px; padding: 12px 14px 20px; }
  .dateArea a, .dateArea span { width: 30%; max-width: 120px; margin: 0 4px; font-size: 15px; }
  .menu .updateUnit7 { grid-template-columns: repeat(2,1fr); }
  .menu .updateUnit7 a { color: #8a5230; }
  .menu .updateUnit7 a:hover { background: #8a5230; border-color: #8a5230; color: #fff; }

  /* 功能页移动 */
  .sortMod3.cellBd, .link.mod5, .rowMod { margin: 6px auto; }
  .readCon { font-size: 12px; }
  .readCon .story, .readCon .timeFt { display: none; }
  .readCon th, .readCon td { padding: 8px 6px; }
  .readCon .update { width: 42%; }
  .secInfo a { color: #8a5230; }
  .cell6 .gridImg { display: none; }
  .cell6 .newArea { max-width: 42%; color: #8a5230; }
  .tool5 img { width: 86px; height: 116px; }
  .tag h3 a { color: #8a5230; }
  .boxMod th:nth-child(4), .boxMod td:nth-child(4),
  .boxMod th:nth-child(5), .boxMod td:nth-child(5) { display: none; }
  .boxMod td a { color: #8a5230; }
  .pageBar6 > h1 { font-size: 18px; color: #fff; }
  .nameItem { grid-template-columns: 1fr; gap: 10px; }
  .nameItem li { padding: 10px; }
  .mainmain img { width: 72px; height: 96px; }
  .wenText h2 { font-size: 15px; }
}

/* 目录页面包屑白字(移动棕条) */
@media (max-width: 1023px) {
  .sec .unitItem, .sec .unitItem a { color: #fff; }
}

/* 阅读器工具条窄屏两排 */
@media (max-width: 600px) {
  .modList { align-items: flex-start; }
  .modList .unitItem { flex: 1 1 100%; margin-bottom: 4px; }
  .updateText { flex: 1 1 100%; margin-left: 0; }
  .updateText .homeCover:first-child { margin-left: 0; }
  .updateText .imgNameblock:first-child { flex: 1 1 100%; }
}

/* 移动导航全名/超窄短名 */
.listHd { display: none; }
@media (max-width: 520px) {
  .mn-full { display: none; }
  .listHd { display: inline; }
}

/* 正文内标题:平台 768 断点显示(与基座一致) */
@media (max-width: 768px) {
  .gridCover { display: block; }
}

/* 归档分页页干净分页器(archive.catBox9,替代蓝条 server_pager) */
.authorItem { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 14px 8px; }
.tagFt { display: inline-flex; align-items: center; justify-content: center; padding: 7px 22px; border-radius: 2px; font-size: 14px; background: var(--site-accent,#6896b1); color: #fff; text-decoration: none; }
.tagFt:hover { background: color-mix(in srgb, var(--site-accent,#6896b1) 80%, #000); }
.tagFt.newName9 { background: #eef1f3; color: #9aa7ae; cursor: default; }
.pageInfo { font-size: 13px; color: #666; font-variant-numeric: tabular-nums; }

/* ★千面组件旋钮:封面圆角(data-gr)+ 区块头样式(data-gh)· 按域名确定性采样(有约束:值集皆合法) */
[data-gr="soft"] .modbd img, [data-gr="soft"] .shuBlock9 img { border-radius: 6px; }
[data-gr="round"] .modbd img, [data-gr="round"] .shuBlock9 img { border-radius: 12px; }
[data-gh="fill"] .bookInner { background: var(--site-accent,#6896b1); color: #fff; border-left: 0; border-bottom: 0; padding-left: 10px; }
[data-gh="fill"] .bookInner a, [data-gh="fill"] .bookInner .headUnit5 { color: #fff; }
[data-gh="underline"] .bookInner { border-left: 0; border-bottom: 2px solid var(--site-accent,#6896b1); }

/* radius 旋钮扩展到全站封面(分类/排行/搜索)*/
[data-gr="soft"] .ft3 img, [data-gr="soft"] .tool5 img, [data-gr="soft"] .mainmain img { border-radius: 6px; }
[data-gr="round"] .ft3 img, [data-gr="round"] .tool5 img, [data-gr="round"] .mainmain img { border-radius: 12px; }

/* 排行榜单/友链内链块(百度热门池·per-site 取书,需求驱动内链,反指纹合规版) */
.contArea { max-width: 1000px; margin: 6px auto 0; padding: 12px 14px; font-size: 13px; line-height: 2;
  color: #9aa0a6; border-top: 1px solid #eceff1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; }
.contArea .read9 { color: var(--site-accent,#888); font-weight: bold; }
.contArea .volCell { color: var(--site-accent,#888); }
.contArea a { color: #7a8a99; }
.contArea a:hover { color: var(--site-accent,#888); text-decoration: underline; }
