* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #f4f4f4; color: #333; font: 14px/1.8 "Microsoft YaHei", "PingFang SC", Arial, sans-serif; }
a { color: #333; text-decoration: none; }
a:hover { color: #c00; text-decoration: underline; }
img { display: block; max-width: 100%; }
.top-grid, .tag-col, .info-meta3, .cat-sec, .name-panel { max-width: 980px; margin: 0 auto; }

.imgmod { height: 30px; background: #f7f7f7; border-bottom: 1px solid #ddd; color: #777; font-size: 12px; }
.tag-col { display: flex; gap: 24px; align-items: center; height: 30px; }
.cate-link7 { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.cate-link7:hover { color: #0871bd; text-decoration: underline; }
.tag-text { background: #2f8ed8; }
.info-meta3 { height: 76px; display: flex; align-items: center; gap: 28px; }
.cha-bar2 { width: 170px; font-size: 34px; line-height: 1; font-weight: 700; }
.cha-bar2 a { color: #fff; letter-spacing: 0; }
.cha-bar2 a:hover { color: inherit; text-decoration: none; }
.img8 { flex: 1; display: flex; max-width: 470px; }
.update-sec { flex: 1; height: 38px; padding: 0 12px; border: 0; outline: 0; font-size: 14px; }
.img { width: 78px; height: 38px; border: 0; background: #f5a623; color: #fff; font-size: 15px; cursor: pointer; }
.link { margin-left: auto; display: flex; gap: 10px; }
.link a { color: #fff; padding: 5px 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 2px; }

.cat-sec { display: flex; height: 42px; background: #287dc2; overflow: hidden; }
.cat-sec a { color: #fff; line-height: 42px; padding: 0 13px; white-space: nowrap; border-right: 1px solid rgba(255,255,255,.12); }
.cat-sec a:hover { background: #1d6fb0; text-decoration: none; color: #fff; }
.name-panel { display: none; }
.colhd { padding: 12px 0 20px; }

.time-line { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 12px; }
.unit, .meta-line8, .mod-sec2, .wrap-meta, .page-main8, .shu-ft, .col { background: #fff; border: 1px solid #ddd; }
.unit { display: grid; grid-template-columns: 1fr 1fr; padding: 12px; gap: 12px; }
.time-meta2 { display: flex; min-height: 132px; overflow: hidden; }
.time-meta2 .area-info { width: 88px; flex: 0 0 88px; margin-right: 12px; }
.time-meta2 .area-info img { width: 88px; height: 120px; object-fit: cover; border: 1px solid #ddd; }
.time-meta2 dt { height: 28px; line-height: 28px; overflow: hidden; font-weight: 700; }
.time-meta2 dt span { float: right; max-width: 72px; color: #888; font-size: 12px; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.time-meta2 dd { color: #555; height: 88px; overflow: hidden; font-size: 13px; }
.time-meta2 dd a { color: #555; }
.item-ft, .mod-sec2 h2, .page-main8 h2, .shu-ft h2 { height: 38px; line-height: 38px; padding: 0 12px; border-bottom: 1px solid #ddd; background: #f9f9f9; color: #287dc2; font-size: 16px; }
.text5, .rank-covercell, .num2, .hot-gridwrap, .rank-gridblock { list-style: none; }
.text5 li, .num2 li, .rank-gridblock li { display: flex; height: 35px; line-height: 35px; padding: 0 12px; border-bottom: 1px dashed #e5e5e5; overflow: hidden; }
.foot-area5, .hd-item { width: 86px; color: #888; flex: 0 0 86px; }
.main-ft, .box-link5 { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.num { width: 220px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.metaunit, .navs { width: 88px; color: #777; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.grid-area { width: 70px; color: #888; text-align: right; }

.book-block { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.new-line { display: flex; padding: 12px; border-bottom: 1px dashed #ddd; }
.new-line .area-info { width: 76px; flex: 0 0 76px; margin-right: 12px; }
.new-line .area-info img { width: 76px; height: 104px; object-fit: cover; border: 1px solid #ddd; }
.new-line dt { font-weight: 700; height: 28px; line-height: 28px; overflow: hidden; }
.new-line dd { height: 72px; overflow: hidden; color: #555; font-size: 13px; }
.new-line dd a { color: #555; }
.rank-covercell { padding: 7px 12px; columns: 2; }
.rank-covercell li { height: 28px; line-height: 28px; overflow: hidden; break-inside: avoid; }

.wrap-meta { display: flex; padding: 18px; margin-bottom: 12px; }
.wrap-meta .cell-mod { width: 150px; flex: 0 0 150px; margin-right: 22px; }
.wrap-meta .cell-mod img { width: 150px; height: 200px; object-fit: cover; border: 1px solid #ccc; padding: 2px; background: #fff; }
.side-bd h1 { height: 44px; line-height: 44px; font-size: 28px; font-weight: 500; border-bottom: 1px dashed #ddd; margin-bottom: 8px; }
.side-bd p { height: 30px; line-height: 30px; color: #555; }
.bd-meta6 { margin-top: 18px; display: flex; gap: 12px; }
.wen { display: inline-block; min-width: 110px; height: 36px; line-height: 36px; text-align: center; background: #287dc2; color: #fff; border-radius: 2px; }
.wen.foot2 { background: #f5a623; }
.wen:hover { color: #fff; text-decoration: none; opacity: .9; }
.page-main8 { margin-bottom: 12px; }
.page-main8 p { padding: 14px 16px; color: #555; text-indent: 2em; }
.hot-gridwrap { display: grid; grid-template-columns: repeat(3, 1fr); padding: 10px 12px; }
.hot-gridwrap li { height: 34px; line-height: 34px; border-bottom: 1px dashed #e5e5e5; overflow: hidden; padding-right: 18px; white-space: nowrap; text-overflow: ellipsis; }
.col h1 { height: 42px; line-height: 42px; padding: 0 12px; font-size: 18px; color: #287dc2; border-bottom: 1px solid #ddd; background: #f9f9f9; }

.list { background: #f6f1e7; border: 1px solid #d8cfbd; padding: 0 24px 26px; }
.sec-line { height: 38px; line-height: 38px; color: #777; border-bottom: 1px solid #e4dccd; font-size: 13px; }
.desc-cell { text-align: center; padding: 20px 0 10px; border-bottom: 1px dashed #d8cfbd; }
.desc-cell h1 { font-size: 26px; font-weight: 500; color: #222; }
.desc-cell p { color: #777; margin-top: 6px; }
.sort-box3 { padding: 20px 8px; color: #222; font: 20px/2 "Microsoft YaHei", "PingFang SC", serif; }
.rank-hd { display: none; margin: 0 0 16px; padding: 2px 0 10px; border-bottom: 1px dashed #d8cfbd; color: #222; font-size: 22px; font-weight: 700; line-height: 1.45; text-align: center; text-indent: 0; }
.sort-box3 p { text-indent: 2em; margin-bottom: 14px; text-align: justify; }
.author-col { display: flex; justify-content: center; gap: 12px; padding: 18px 0 0; border-top: 1px dashed #d8cfbd; }
.author-col.sec-wrap { padding: 14px 0; border-top: 0; border-bottom: 1px dashed #d8cfbd; }
.list .author-col.cover { margin-bottom: 18px; }
.author-col a, .author-col span { min-width: 110px; height: 34px; line-height: 34px; text-align: center; background: #fff; border: 1px solid #d8cfbd; color: #555; }
.author-col a:hover { background: #287dc2; color: #fff; text-decoration: none; border-color: #287dc2; }

.shu-panel9 { background: #fff; border: 1px solid #ddd; padding: 20px; }
.box-meta { border-top: 1px solid #ddd; background: #f7f7f7; color: #888; text-align: center; padding: 20px 0; font-size: 12px; }

@media (max-width: 768px) {
    .top-grid, .tag-col, .info-meta3, .cat-sec, .name-panel { width: 100%; max-width: none; }
    .imgmod { display: none; }
    .tag-text { padding: 10px; }
    .info-meta3 { height: auto; display: block; }
    .cha-bar2 { width: auto; margin-bottom: 10px; font-size: 28px; text-align: center; }
    .img8 { max-width: none; }
    .link { display: none; }
    .cat-sec { display: none; }
    .name-panel { display: flex; overflow-x: auto; background: #287dc2; }
    .name-panel a { color: #fff; line-height: 38px; padding: 0 14px; white-space: nowrap; }
    .colhd { padding: 8px; }
    .time-line, .book-block { display: block; }
    .unit { grid-template-columns: 1fr; margin-bottom: 10px; }
    .meta-line8, .mod-sec2 { margin-bottom: 10px; }
    .foot-area5, .num, .metaunit, .hd-item, .navs, .grid-area { display: none; }
    .rank-covercell { columns: 1; }
    .wrap-meta { display: block; text-align: center; }
    .wrap-meta .cell-mod { margin: 0 auto 12px; }
    .side-bd h1 { height: auto; line-height: 1.4; font-size: 24px; }
    .bd-meta6 { justify-content: center; }
    .hot-gridwrap { grid-template-columns: 1fr; }
    .list { padding: 0 12px 18px; }
    .desc-cell h1 { font-size: 22px; }
    .sort-box3 { font-size: 18px; line-height: 1.95; padding: 14px 0; }
    .rank-hd { display: block; font-size: 18px; margin-bottom: 12px; padding-bottom: 8px; line-height: 1.45; }
    .author-col { gap: 8px; }
    .author-col a, .author-col span { min-width: 0; flex: 1; }
}

.ft-info { background: #fff; border: 1px solid #ddd; padding: 14px; }
.ft-info h1 { height: 38px; line-height: 38px; font-size: 18px; color: #287dc2; border-bottom: 1px solid #ddd; margin-bottom: 14px; }
.sec-bd { display: flex; max-width: 560px; margin-bottom: 12px; }
.sec-bd input { flex: 1; height: 36px; padding: 0 10px; border: 1px solid #ccc; border-right: 0; outline: 0; }
.sec-bd button { width: 76px; border: 0; background: #287dc2; color: #fff; cursor: pointer; }
.tag-item { color: #777; padding: 8px 0 12px; }
.descs { list-style: none; }
.descs li { display: flex; padding: 12px 0; border-top: 1px dashed #e5e5e5; }
.descs li[hidden] { display: none !important; }
.descs li.novel-link { display: block; color: #888; }
.name-link2 { width: 72px; flex: 0 0 72px; margin-right: 12px; }
.name-link2 img { width: 72px; height: 96px; object-fit: cover; border: 1px solid #ddd; }
.date-box h2 { font-size: 16px; height: 28px; line-height: 28px; overflow: hidden; }
.date-box .celllink { color: #888; font-size: 13px; margin-bottom: 4px; }
.date-box .novel7 { color: #555; height: 48px; overflow: hidden; line-height: 1.7; }
@media (max-width: 768px) {
    .ft-info { padding: 10px; }
    .sec-bd { max-width: none; }
}

/* Screenshot-style desktop home layout */
body { background: #e6f8fb; color: #555; font-size: 14px; }
a { color: #4d6da8; }
.top-grid, .tag-col, .info-meta3, .cat-sec, .name-panel { max-width: 1160px; }
.imgmod { background: #d9eef3; border-bottom: 1px solid #b8dce7; }
.tag-col { color: #6d8f9e; }
.tag-text { background: #e6f8fb; }
.info-meta3 { height: 82px; gap: 24px; }
.cha-bar2 { width: 150px; font-size: 36px; font-family: Georgia, "Microsoft YaHei", serif; text-shadow: 2px 2px 0 #c3e3f1; }
.cha-bar2 a { color: #0871bd; }
.img8 { max-width: 480px; margin-left: auto; }
.update-sec { height: 36px; border: 1px solid #9bc7df; background: #fff; }
.img { height: 36px; background: #ddd; color: #222; }
.link { display: none; }
.cat-sec { height: 44px; background: #79c2e3; padding: 0 10px; }
.cat-sec a { line-height: 44px; padding: 0 11px; border-right: 0; color: #fff; font-weight: 700; }
.cat-sec a:hover { background: #5eb1d8; }
.colhd { padding: 12px 0 24px; }

.num-link { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 22px; padding: 14px; margin-bottom: 22px; border: 3px solid #b9dff1; background: #fffdf6; }
.collist { display: grid; grid-template-columns: 126px 1fr; gap: 12px; min-height: 176px; }
.sec-col img { width: 126px; height: 170px; object-fit: cover; border: 1px solid #abc6d4; padding: 3px; background: #fff; }
.novelwrap h2 { height: 28px; line-height: 28px; font-size: 15px; border-bottom: 1px dotted #c7d8e3; overflow: hidden; }
.novelwrap h2 a { color: #5b6fad; font-weight: 700; }
.novelwrap h2 span { float: right; color: #aaa; font-weight: 400; }
.novelwrap p { padding-top: 8px; color: #555; line-height: 1.85; height: 132px; overflow: hidden; text-indent: 2em; }
.author-panel7 { display: grid; grid-template-columns: 1fr 335px; gap: 14px; align-items: start; }
.menu-row, .date-meta7 { border: 3px solid #86c9e8; background: #eef6f6; }
.menu-row h2, .date-meta7 h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd3e9; color: #456; font-size: 16px; }
.pic8, .cellitem { list-style: none; padding: 8px 12px; }
.pic8 li { display: grid; grid-template-columns: 95px 190px 1fr 90px 50px; gap: 8px; height: 32px; line-height: 32px; border-bottom: 1px solid #d8e2e4; overflow: hidden; }
.pic8 .pic-hd { color: #555; }
.pic8 .grid-unit, .pic8 .tag-mod, .pic8 .cell { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pic8 .cell, .pic8 .info-inner9 { color: #aaa; text-align: right; }
.cellitem li { display: grid; grid-template-columns: 78px 1fr 58px; gap: 6px; height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; overflow: hidden; }
.cellitem span { color: #555; }
.cellitem a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cellitem em { color: #666; font-style: normal; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tool-block { display: grid; grid-template-columns: 190px 1fr 190px; gap: 18px; padding: 14px 12px; }
.tool-block a, .tool-block select { height: 40px; border: 0; background: #4eadd0; color: #fff; text-align: center; border-radius: 3px; font-weight: 700; }
.tool-block a { line-height: 40px; }
.tool-block select { background: #fff; color: #222; border: 1px solid #d8e2e4; padding: 0 12px; }
.box-meta { background: #e6f8fb; border-top: 2px solid #72c4e8; color: #555; }

/* Desktop vs mobile are intentionally different. */
@media (max-width: 768px) {
    body { background: #e6f8fb; font-size: 14px; }
    .top-grid, .tag-col, .info-meta3, .cat-sec, .name-panel { width: 100%; max-width: none; }
    .imgmod { display: none; }
    .tag-text { padding: 10px; background: #dff5fb; }
    .info-meta3 { display: block; height: auto; }
    .cha-bar2 { width: auto; font-size: 30px; text-align: left; margin: 0 0 10px; padding-right: 58px; }
    .img8 { max-width: none; display: flex; margin-left: 0; }
    .update-sec { height: 38px; font-size: 14px; }
    .img { width: 72px; height: 38px; }
    .cat-sec { display: none; }
    .name-panel { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); overflow: hidden; height: 40px; background: #79c2e3; padding: 0; }
    .name-panel a { min-width: 0; color: #fff; line-height: 40px; padding: 0 2px; text-align: center; font-weight: 700; white-space: nowrap; }
    .info-meta3 .name-panel { margin-bottom: 8px; }
    .colhd { padding: 8px; }
    .num-link { display: block; padding: 8px; margin-bottom: 10px; border-width: 2px; }
    .collist { display: grid; grid-template-columns: 82px 1fr; gap: 10px; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #d8e2e4; }
    .collist:last-child { border-bottom: 0; }
    .sec-col img { width: 82px; height: 110px; padding: 2px; }
    .novelwrap h2 { height: 24px; line-height: 24px; font-size: 15px; }
    .novelwrap h2 span { display: none; }
    .novelwrap p { height: 78px; line-height: 1.7; padding-top: 5px; text-indent: 0; }
    .author-panel7 { display: block; }
    .cateline { display: flex; flex-direction: column; }
    .cateline .date-meta7 { order: 1; }
    .cateline .menu-row { order: 2; }
    .menu-row, .date-meta7 { border-width: 2px; margin-bottom: 10px; }
    .menu-row h2, .date-meta7 h2 { height: 34px; line-height: 34px; font-size: 15px; }
    .pic8, .cellitem { padding: 4px 8px; }
    .pic8 li { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); gap: 6px; height: 34px; min-height: 34px; line-height: 34px; padding: 0; }
    .pic8 .cell, .pic8 .info-inner9 { display: none; }
    .pic8 .pic-hd { display: block; width: auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #555; }
    .pic8 .grid-unit { font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .pic8 .tag-mod { color: #777; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .cellitem li { grid-template-columns: minmax(0, 1fr) 88px; height: 34px; line-height: 34px; }
    .cellitem span { display: none; }
    .tool-block { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .tool-block select { grid-column: 1 / -1; order: -1; }
    .box-meta { padding: 14px 8px; line-height: 1.7; }
}

.box { border: 3px solid #b9dff1; background: #fffdf6; }
.box h1 { height: 38px; line-height: 38px; padding: 0 12px; background: #dcecef; color: #444; font-size: 15px; }
.new-link9 { overflow-x: auto; }
.cate { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cate th, .cate td { height: 45px; padding: 0 12px; border-bottom: 1px solid #ddd7ca; text-align: left; color: #4d6da8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cate th { color: #444; background: #fffaf0; font-weight: 700; }
.cate th:nth-child(1), .cate td:nth-child(1) { width: 58px; }
.cate th:nth-child(2), .cate td:nth-child(2) { width: 220px; }
.cate th:nth-child(4), .cate td:nth-child(4) { width: 140px; }
.cate th:nth-child(5), .cate td:nth-child(5) { width: 110px; }
.cate th:nth-child(6), .cate td:nth-child(6) { width: 80px; color: red; }
.cate .novel-link { text-align: center; color: #888; }
.unit-bar6 { border: 0; background: transparent; color: red; cursor: pointer; }
@media (max-width: 768px) {
    .box { border-width: 2px; }
    .box h1 { height: auto; line-height: 1.5; padding: 8px; font-size: 14px; }
    .new-link9 { overflow-x: hidden; }
    .cate { min-width: 0; table-layout: fixed; }
    .cate th, .cate td { height: 40px; padding: 0 8px; }
    .cate th:nth-child(1),
    .cate td:nth-child(1),
    .cate th:nth-child(4),
    .cate td:nth-child(4),
    .cate th:nth-child(5),
    .cate td:nth-child(5) { display: none; }
    .cate th:nth-child(2),
    .cate td:nth-child(2) { width: 34%; }
    .cate th:nth-child(3),
    .cate td:nth-child(3) { width: 49%; }
    .cate th:nth-child(6),
    .cate td:nth-child(6) { width: 17%; text-align: center; }
}

/* Desktop home v2: hero + classic sidebar + 3x2 category matrix */
.item-block { display: grid; grid-template-columns: 1fr 340px; gap: 0; border: 3px solid #b9dff1; background: #fffdf6; margin-bottom: 16px; }
.mainlink { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; padding: 12px; }
.block-item3 { display: grid; grid-template-columns: 142px 1fr; gap: 14px; min-height: 178px; }
.vol2 img { width: 142px; height: 170px; object-fit: cover; border: 1px solid #abc6d4; padding: 3px; background: #fff; }
.bd-sec h2 { height: 30px; line-height: 30px; font-size: 15px; border-bottom: 1px dotted #c7d8e3; overflow: hidden; }
.bd-sec h2 a { color: #5b6fad; font-weight: 700; }
.bd-sec h2 span { float: right; max-width: 78px; color: #aaa; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bd-sec p { padding-top: 8px; color: #555; line-height: 1.85; height: 132px; overflow: hidden; text-indent: 2em; }
.datecon { border-left: 3px solid #b9dff1; background: #eef6f6; }
.datecon h2 { height: 39px; line-height: 39px; padding: 0 12px; background: #dcecef; color: #444; font-size: 16px; }
.datecon ul { list-style: none; padding: 7px 12px; }
.datecon li { display: grid; grid-template-columns: 78px 1fr 58px; gap: 6px; height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; overflow: hidden; }
.datecon span { color: #555; }
.datecon a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.datecon em { font-style: normal; color: #666; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tool-col { display: grid; grid-template-columns: repeat(3, 1fr); border: 3px solid #86c9e8; background: #fffdf6; }
.story-link { min-height: 318px; padding: 0 12px 9px; border-right: 1px dotted #9fc9db; border-bottom: 1px solid #b9dff1; overflow: hidden; }
.story-link:nth-child(3n) { border-right: 0; }
.story-link h2 { height: 34px; line-height: 34px; color: #444; font-size: 16px; border-bottom: 1px solid #c7d8e3; }
.wrap-line3 { display: grid; grid-template-columns: 82px 1fr; gap: 12px; padding: 12px 0 8px; }
.num-wrap6 img { width: 82px; height: 104px; object-fit: cover; border: 1px solid #abc6d4; padding: 2px; background: #fff; }
.wrap-line3 h3 { height: 24px; line-height: 24px; font-size: 14px; overflow: hidden; }
.wrap-line3 h3 a { color: #4d6da8; }
.wrap-line3 p { height: 76px; overflow: hidden; line-height: 1.7; color: #555; }
.time2 { list-style: none; }
.time2 li { height: 26px; line-height: 26px; border-bottom: 1px solid #d8e2e4; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 768px) {
    .item-block { display: block; border-width: 2px; margin-bottom: 10px; }
    .mainlink { display: block; padding: 8px; }
    .block-item3 { grid-template-columns: 82px 1fr; gap: 10px; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #d8e2e4; }
    .block-item3:last-child { border-bottom: 0; }
    .vol2 img { width: 82px; height: 110px; padding: 2px; }
    .bd-sec h2 { height: 24px; line-height: 24px; font-size: 15px; }
    .bd-sec h2 span { display: block; float: right; max-width: 82px; margin-right: 2px; color: #999; font-size: 13px; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .bd-sec p { height: 78px; line-height: 1.7; padding-top: 5px; text-indent: 0; }
    .datecon { border-left: 0; border-top: 2px solid #b9dff1; }
    .datecon ul { padding-right: 12px; }
    .datecon li { grid-template-columns: minmax(0, 1fr) 82px; }
    .datecon span { display: none; }
    .tool-col { display: block; border-width: 2px; }
    .story-link { min-height: 0; border-right: 0; padding-bottom: 6px; }
    .story-link:nth-child(n+4) { display: none; }
    .wrap-line3 { grid-template-columns: 72px 1fr; gap: 10px; }
    .num-wrap6 img { width: 72px; height: 94px; }
    .time2 li { height: 30px; line-height: 30px; }
}

.menu-hd { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; padding: 12px; border: 3px solid #b9dff1; background: #fffdf6; }
.bar-meta9 { display: grid; grid-template-columns: 126px 1fr; gap: 14px; min-height: 178px; padding-bottom: 12px; margin-bottom: 12px; overflow: hidden; }
.menu img { width: 126px; height: 170px; object-fit: cover; border: 1px solid #abc6d4; padding: 3px; background: #fff; }
.main-cover h2 { height: 30px; line-height: 30px; font-size: 15px; border-bottom: 1px dotted #c7d8e3; overflow: hidden; }
.main-cover h2 a { color: #5b6fad; font-weight: 700; }
.main-cover h2 span { float: right; max-width: 82px; color: #aaa; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.main-cover p { padding-top: 8px; color: #555; line-height: 1.85; height: 132px; overflow: hidden; text-indent: 2em; }
@media (max-width: 768px) {
    .menu-hd { display: block; padding: 8px; border-width: 2px; }
    .bar-meta9 { grid-template-columns: 82px 1fr; gap: 10px; min-height: 116px; padding: 8px 0; margin: 0; border-bottom: 1px solid #d8e2e4; }
    .menu img { width: 82px; height: 110px; padding: 2px; }
    .main-cover h2 { height: 24px; line-height: 24px; font-size: 15px; }
    .main-cover h2 span { display: none; }
    .main-cover p { height: 78px; line-height: 1.7; padding-top: 5px; text-indent: 0; }
}

.text-img { position: fixed; right: 18px; bottom: 26px; z-index: 50; display: grid; gap: 8px; }
.text-img button { width: 54px; height: 34px; border: 1px solid #5eb1d8; background: #79c2e3; color: #fff; border-radius: 3px; cursor: pointer; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.text-img button:hover { background: #4eadd0; }
body.col-hd { background: #1e1e1e; color: #aaa; }
body.col-hd a { color: #9eb8e8; }
body.col-hd .imgmod,
body.col-hd .tag-text,
body.col-hd .box-meta { background: #252525; border-color: #3a3a3a; color: #888; }
body.col-hd .cat-sec,
body.col-hd .name-panel { background: #333; }
body.col-hd .cat-sec a:hover,
body.col-hd .name-panel a:hover { background: #444; }
body.col-hd .num-link,
body.col-hd .item-block,
body.col-hd .tool-col,
body.col-hd .menu-hd,
body.col-hd .box,
body.col-hd .ft-info,
body.col-hd .wrap-meta,
body.col-hd .page-main8,
body.col-hd .shu-ft,
body.col-hd .col,
body.col-hd .menu-row,
body.col-hd .date-meta7,
body.col-hd .datecon,
body.col-hd .shu-panel9 { background: #2a2a2a; border-color: #444; }
body.col-hd .list { background: #202020; border-color: #444; }
body.col-hd .sort-box3 { color: #b8b8b8; }
body.col-hd .item-ft,
body.col-hd .mod-sec2 h2,
body.col-hd .page-main8 h2,
body.col-hd .shu-ft h2,
body.col-hd .menu-row h2,
body.col-hd .date-meta7 h2,
body.col-hd .datecon h2,
body.col-hd .box h1,
body.col-hd .col h1,
body.col-hd .story-link h2,
body.col-hd .ft-info h1 { background: #333; color: #ccc; border-color: #444; }
body.col-hd .novelwrap p,
body.col-hd .bd-sec p,
body.col-hd .wrap-line3 p,
body.col-hd .main-cover p,
body.col-hd .page-main8 p,
body.col-hd .side-bd p,
body.col-hd .date-box .novel7 { color: #aaa; }
body.col-hd .cate th { background: #333; color: #ccc; }
body.col-hd .cate th,
body.col-hd .cate td,
body.col-hd .pic8 li,
body.col-hd .cellitem li,
body.col-hd .datecon li,
body.col-hd .time2 li { border-color: #444; }
body.col-hd .update-sec,
body.col-hd .sec-bd input,
body.col-hd .tool-block select { background: #222; color: #ddd; border-color: #555; }
@media (max-width: 768px) {
    .text-img { right: 10px; bottom: 14px; }
    .text-img button { width: 48px; height: 32px; font-size: 13px; }
}

.mod-item8 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 22px; padding: 12px; border: 3px solid #b9dff1; background: #fffdf6; margin-bottom: 18px; }
.vol-line { display: grid; grid-template-columns: 126px 1fr; gap: 14px; min-height: 176px; overflow: hidden; }
.grid-bar img { width: 126px; height: 170px; object-fit: cover; border: 1px solid #abc6d4; padding: 3px; background: #fff; }
.cell-area h2 { height: 30px; line-height: 30px; font-size: 15px; border-bottom: 1px dotted #c7d8e3; overflow: hidden; }
.cell-area h2 a { color: #5b6fad; font-weight: 700; }
.cell-area h2 span { float: right; max-width: 78px; color: #aaa; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cell-area p { padding-top: 8px; color: #555; line-height: 1.85; height: 132px; overflow: hidden; text-indent: 2em; }
.cate-list { display: grid; grid-template-columns: 1fr 335px; gap: 14px; align-items: start; }
.new-name, .title-inner2 { margin-bottom: 18px; }
@media (max-width: 768px) {
    .mod-item8 { display: block; padding: 8px; border-width: 2px; margin-bottom: 10px; }
    .vol-line { grid-template-columns: 82px 1fr; gap: 10px; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #d8e2e4; }
    .vol-line:last-child { border-bottom: 0; }
    .grid-bar img { width: 82px; height: 110px; padding: 2px; }
    .cell-area h2 { height: 24px; line-height: 24px; font-size: 15px; }
    .cell-area h2 span { display: none; }
    .cell-area p { height: 78px; line-height: 1.7; padding-top: 5px; text-indent: 0; }
    .cate-list { display: block; }
}

.cateline { display: grid; grid-template-columns: 1fr 335px; gap: 14px; align-items: start; margin-top: 16px; }
@media (max-width: 768px) {
    .cateline { display: flex; flex-direction: column; width: 100%; max-width: 100%; margin-top: 10px; }
    .cateline .date-meta7 { order: 1; }
    .cateline .menu-row { order: 2; }
    .cateline .date-meta7,
    .cateline .menu-row { width: 100%; max-width: 100%; min-width: 0; }
}

.ft-unit { border: 3px solid #86c9e8; background: #eef6f6; margin-bottom: 22px; }
.ft-unit .sec-line { height: 34px; line-height: 34px; padding: 0 12px; color: #456; border-bottom: 1px solid #b9dff1; background: #dcecef; }
.rank { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 14px 28px 18px; }
.cate-link6 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    min-height: 200px;
    box-sizing: border-box;
    background: rgba(0,0,0,.04);
    padding: 12px;
    overflow: hidden;
}
.cate-link6 img {
    display: block;
    width: 100%;
    height: 176px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}
.side h1 { font-size: 30px; line-height: 44px; color: #333; }
.side-con { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-bottom: 1px dashed #86aebd; padding-bottom: 6px; margin-bottom: 8px; }
.side-con p { height: 28px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #444; }
.side-con .book-infometa { color: #b54800; font-weight: 700; grid-column: 1 / -1; }
.time { grid-column: 2; line-height: 1.8; color: #444; }
.area { display: none; }
.pic-ft { display: none; }
.tag-item2 { border: 3px solid #4eadd0; background: #eef6f6; margin-bottom: 30px; }
.tag-item2 h2 { height: 38px; line-height: 38px; text-align: center; background: #9fb6bd; color: #333; font-size: 16px; border-bottom: 1px solid #9fc9db; }
.tag-item2 .hot-gridwrap { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 12px; list-style: none; }
.tag-item2 .hot-gridwrap li { height: 40px; line-height: 40px; border-bottom: 1px dashed #9fb6bd; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-right: 16px; }
.tag-item2 .hot-gridwrap.item2 li { font-weight: 700; }
.cell-con { display: grid; grid-template-columns: 250px 1fr 250px; gap: 18px; padding: 16px 12px; }
.cell-con a, .cell-con span, .cell-con button, .cell-con select { height: 40px; line-height: 40px; border: 0; text-align: center; border-radius: 3px; }
.cell-con a, .cell-con span, .cell-con button { background: #1e6f8a; color: #fff; cursor: pointer; font: inherit; }
.cell-con button:disabled { cursor: default; opacity: .65; }
.cell-con select { background: #fff; border: 1px solid #ddd; padding: 0 12px; text-align: left; }
.head-row { background: #eee; padding: 18px 14px; margin-bottom: 20px; }
.head-row h2 { text-align: center; color: #777; font-size: 16px; margin-bottom: 14px; font-weight: 400; }
.bookimg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 45px; }
.bookimg a { display: block; height: 38px; line-height: 38px; text-align: center; background: #e3e3e3; color: #333; border-radius: 3px; }
@media (max-width: 768px) {
    .ft-unit, .tag-item2 { border-width: 2px; margin-bottom: 12px; }
    .ft-unit .sec-line { height: auto; line-height: 1.5; padding: 8px; }
    .rank { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 10px; align-items: start; }
    .cate-link6 { width: 96px; min-height: 126px; padding: 4px; background: rgba(255,255,255,.45); }
    .cate-link6 img { width: 100%; height: 118px; object-fit: contain; object-position: center; }
    .side { min-width: 0; }
    .side h1 { font-size: 18px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .side-con { display: block; border-bottom: 0; padding-bottom: 0; margin-bottom: 6px; }
    .side-con p { height: 26px; line-height: 26px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .area { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; grid-column: 1 / -1; margin: 2px 0 8px; }
    .shu-meta { display: block; height: 32px; line-height: 32px; border: 0; border-radius: 4px; color: #fff; text-align: center; font-weight: 700; font-size: 14px; cursor: pointer; }
    .shu-meta:hover { color: #fff; text-decoration: none; opacity: .92; }
    .shu-meta.text-unit7 { background: #f0305a; }
    .shu-meta.rank-coversec { background: #f1a51e; }
    .shu-meta.cover { background: #5b8cc3; }
    .time { grid-column: 1 / -1; max-height: 118px; overflow: hidden; line-height: 1.85; color: #444; }
    .time.title { max-height: none; }
    .pic-ft { display: block; grid-column: 1 / -1; justify-self: center; margin-top: -2px; border: 0; background: transparent; color: #4d6da8; font-weight: 700; font-size: 14px; cursor: pointer; }
    .tag-item2 .hot-gridwrap { grid-template-columns: 1fr; padding: 0 8px; }
    .tag-item2 .hot-gridwrap li { height: 36px; line-height: 36px; padding-right: 0; }
    .cell-con { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .cell-con select { grid-column: 1 / -1; order: -1; }
    .bookimg { grid-template-columns: 1fr; gap: 8px; }
}

.text-img a { width: 54px; height: 34px; line-height: 34px; border: 1px solid #5eb1d8; background: #79c2e3; color: #fff; border-radius: 3px; cursor: pointer; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.12); text-align: center; }
.text-img a:hover { background: #4eadd0; color: #fff; text-decoration: none; }
@media (max-width: 768px) {
    .author-col { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .author-col a, .author-col span { width: 100%; }
    .text-img a { width: 48px; height: 32px; line-height: 32px; font-size: 13px; }
}

@media (max-width: 768px) {
    .list .author-col { grid-template-columns: 1fr 1fr; }
    .list .author-col a:last-child,
    .list .author-col span:last-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
    .top-grid, .colhd, .tag-text, .info-meta3, .list, .ft-unit, .tag-item2 { max-width: 100%; overflow-x: hidden; }
    .img8 { width: 100%; max-width: 100%; }
    .update-sec { min-width: 0; }
    .img { flex: 0 0 68px; width: 68px; }
    .name-panel { max-width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
    .list { padding-left: 10px; padding-right: 10px; }
    .sec-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .desc-cell h1 { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
    .desc-cell p { white-space: normal; overflow-wrap: anywhere; }
    .sort-box3 { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .sort-box3 p { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .text-img { right: 8px; }
}

.wrap-bd { display: none; margin-left: auto; padding: 6px 13px; color: #fff; border: 1px solid rgba(255,255,255,.65); border-radius: 3px; font-weight: 700; white-space: nowrap; }
.wrap-bd:hover { color: #fff; background: rgba(255,255,255,.16); text-decoration: none; }
@media (max-width: 768px) {
    .info-meta3 { position: relative; }
    .wrap-bd { display: inline-block; position: absolute; right: 0; top: 0; margin-left: 0; padding: 4px 9px; color: #0871bd; border-color: #79c2e3; background: rgba(255,255,255,.55); font-size: 13px; }
    .wrap-bd:hover { color: #0871bd; background: rgba(255,255,255,.8); }
}

.home-mod4 {
    display: grid;
    grid-template-columns: auto 32px 32px 32px auto 48px 48px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    background: #fff;
    border-bottom: 1px dashed #d8cfbd;
}
.home-mod4.cover { border-top: 1px dashed #d8cfbd; border-bottom: 0; margin-top: 8px; }
.home-mod4 span { color: #287dc2; }
.home-mod4 label { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.home-mod4 select { height: 28px; border: 1px solid #83bfe0; background: #fff; }
.home-mod4 button { height: 28px; border: 1px solid #1e8bd1; background: #fff; color: #006eb8; border-radius: 3px; cursor: pointer; }
.home-mod4 button.tag-sec2 { background: #d8effc; font-weight: 700; }
@media (min-width: 1024px) {
    .list { position: relative; }
    .list > .sec-line { padding-right: 390px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .list > .home-mod4:not(.cover) {
        position: absolute;
        top: 5px;
        right: 24px;
        z-index: 2;
        width: auto;
        padding: 0;
        background: transparent;
        border: 0;
    }
    .list > .home-mod4.cover { display: none; }
}
.read-list { margin: 18px 0; padding: 18px 14px; background: #eee; }
.read-list h2 { text-align: center; color: #777; font-size: 16px; font-weight: 400; margin-bottom: 14px; }
.coverarea { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 36px; }
.coverarea a { display: block; height: 34px; line-height: 34px; text-align: center; background: #e3e3e3; color: #333; border-radius: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
body.col-hd .read-list { background: #2a2a2a; }
body.col-hd .coverarea a { background: #333; color: #bbb; }
@media (max-width: 768px) {
    .home-mod4 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; padding: 8px 0; border-bottom: 1px dashed #d8cfbd; }
    .home-mod4.cover { border-top: 1px dashed #d8cfbd; border-bottom: 0; margin-top: 8px; }
    .home-mod4 button,
    .home-mod4 a { height: 28px; line-height: 28px; border: 1px solid #d8cfbd; background: #fff; color: #287dc2; border-radius: 2px; text-align: center; font-size: 12px; padding: 0; }
    .home-mod4 button { cursor: pointer; }
    .home-mod4 a:hover { text-decoration: none; }
    body.col-hd .home-mod4 button,
    body.col-hd .home-mod4 a { background: #333; border-color: #555; color: #9eb8e8; }
    .read-list { margin: 12px 0; padding: 12px 8px; }
    .coverarea { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .coverarea a { height: 32px; line-height: 32px; font-size: 13px; }
}

@media (max-width: 768px) {
    .list .author-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
    .list .author-col a,
    .list .author-col span { border-radius: 0; }
    .list .author-col a:last-child,
    .list .author-col span:last-child { grid-column: auto; }
}

body.panel-link5 .list { background: #e9fbfb; }
body.head-cover .list { background: #f6f1e7; }
body.read-line .list { background: #eeeeee; }
@media (max-width: 768px) {
    .home-mod4 { grid-template-columns: auto 28px 28px 28px 1fr 42px 42px; align-items: center; gap: 4px; padding: 7px 4px; background: #fff; }
    .home-mod4 span { color: #287dc2; font-size: 13px; }
    .home-mod4 label { display: flex; align-items: center; gap: 3px; min-width: 0; font-size: 12px; color: #333; white-space: nowrap; }
    .home-mod4 select { width: 54px; height: 25px; border: 1px solid #83bfe0; background: #fff; font-size: 12px; }
    .home-mod4 button { height: 25px; line-height: 23px; border: 1px solid #1e8bd1; background: #fff; color: #006eb8; border-radius: 3px; font-size: 12px; }
    .home-mod4 button.tag-sec2 { background: #d8effc; font-weight: 700; }
    .home-mod4 a { display: none; }
    body.col-hd .home-mod4 { background: #292929; }
    body.col-hd .home-mod4 span,
    body.col-hd .home-mod4 label { color: #bbb; }
    body.col-hd .home-mod4 select,
    body.col-hd .home-mod4 button { background: #333; border-color: #666; color: #9eb8e8; }
}

body.col-hd .cha-bar2 a { color: #b8d7ef; text-shadow: 1px 1px 0 #1a3c55; }
body.col-hd .list { background: #242424; }
body.col-hd .desc-cell h1 { color: #ddd; }
body.col-hd .desc-cell p,
body.col-hd .sec-line { color: #aaa; }
body.col-hd .sort-box3 { color: #d2d2d2; }
body.col-hd .sort-box3 p { color: #d2d2d2; }
body.col-hd.head-cover .list,
body.col-hd.panel-link5 .list,
body.col-hd.read-line .list { background: #242424; }
@media (max-width: 768px) {
    .home-mod4 { grid-template-columns: auto 28px 28px 28px 1fr 42px; }
    body.col-hd .home-mod4 { background: #2b2b2b; border-color: #555; }
}

:root { --reader-bg-custom: #E9FAFF; }
.list { background: var(--reader-bg-custom, #f6f1e7); }
body:not(.col-hd) .list { background: var(--reader-bg-custom, #E9FAFF); }
body:not(.col-hd) .sort-box3 { color: #333; }

@media (max-width: 768px) {
    .home-mod4 { grid-template-columns: auto 28px 28px 28px 1fr 42px 42px; }
}

@media (max-width: 768px) {
    .list > .sec-line,
    .list > .desc-cell { display: none; }
    .list { padding-top: 0; }
}

/* 关灯只作用于章节正文，头部、搜索、工具栏和翻页保持原样。 */
body.col-hd { background: #e6f8fb; color: #555; }
body.col-hd a { color: #4d6da8; }
body.col-hd .imgmod { background: #d9eef3; border-color: #b8dce7; color: #6d8f9e; }
body.col-hd .tag-text,
body.col-hd .box-meta { background: #e6f8fb; border-color: #72c4e8; color: #555; }
body.col-hd .cat-sec,
body.col-hd .name-panel { background: #79c2e3; }
body.col-hd .cat-sec a,
body.col-hd .name-panel a { color: #fff; }
body.col-hd .update-sec,
body.col-hd .sec-bd input,
body.col-hd .tool-block select { background: #fff; color: #333; border-color: #9bc7df; }
body.col-hd .list,
body.col-hd.head-cover .list,
body.col-hd.panel-link5 .list,
body.col-hd.read-line .list { background: #2f3437; border-color: #444; }
body.col-hd .desc-cell h1 { color: #ddd; }
body.col-hd .desc-cell p,
body.col-hd .sec-line { color: #aaa; }
body.col-hd .author-col a,
body.col-hd .author-col span { background: #363b3f; border-color: #555; color: #c8c8c8; }
body.col-hd .home-mod4 { background: #2f3437; border-color: #555; }
body.col-hd .home-mod4 span,
body.col-hd .home-mod4 label { color: #c8c8c8; }
body.col-hd .home-mod4 select,
body.col-hd .home-mod4 button { background: #363b3f; border-color: #6b747b; color: #c8d7e8; }
body.col-hd .sort-box3 { background: transparent; color: #aaa; }
body.col-hd .rank-hd { border-color: #555; color: #bbb; }
body.col-hd .sort-box3 p { color: #aaa; }
body.col-hd .cha-bar2 a { color: #0871bd; text-shadow: 2px 2px 0 #c3e3f1; }
body.col-hd .wrap-bd { color: #0871bd; border-color: #79c2e3; background: rgba(255,255,255,.55); }
body.col-hd .wrap-bd:hover { color: #0871bd; background: rgba(255,255,255,.8); }
body.col-hd .read-list { background: #eee; }
body.col-hd .read-list h2 { color: #777; }
body.col-hd .coverarea a { background: #e3e3e3; color: #333; }
.tag-hd { text-align: center; padding: 54px 20px 62px; border: 3px solid #86c9e8; background: #fffdf6; }
.tag-hd h1 { margin-bottom: 12px; color: #287dc2; font-size: 30px; font-weight: 700; }
.tag-hd p { margin: 8px 0; color: #555; }
.hot-text { display: inline-block; min-width: 110px; height: 34px; margin-top: 12px; line-height: 34px; background: #4eadd0; color: #fff; border-radius: 3px; }
.hot-text:hover { color: #fff; text-decoration: none; background: #287dc2; }
@media (max-width: 768px) {
    body.col-hd .tag-text { background: #dff5fb; }
    .tag-hd { padding: 42px 12px 48px; border-width: 2px; }
    .tag-hd h1 { font-size: 24px; }
}

@media (max-width: 768px) {
    .home-mod4 {
        align-items: center;
    }
    .home-mod4 span,
    .home-mod4 label,
    .home-mod4 button,
    .home-mod4 select {
        height: 25px;
        line-height: 25px;
        vertical-align: middle;
    }
    .home-mod4 span,
    .home-mod4 label {
        display: flex;
        align-items: center;
    }
    .home-mod4 button {
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }
    .home-mod4 select {
        padding: 0 4px;
        line-height: 25px;
    }
}

/* Home update/new panels alignment fix */
.cateline .menu-row,
.cateline .date-meta7 { align-self: start; }
.cateline .pic8,
.cateline .cellitem { padding: 8px 10px; font-size: 13px; }
.cateline .pic8 li,
.cateline .cellitem li { height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; }
.cateline .pic8 li { grid-template-columns: 92px 188px minmax(0, 1fr) 78px 42px; gap: 7px; }
.cateline .cellitem li { grid-template-columns: 82px minmax(0, 1fr) 62px; gap: 7px; }
.cateline .pic8 .pic-hd,
.cateline .pic8 .grid-unit,
.cateline .pic8 .tag-mod,
.cateline .pic8 .cell,
.cateline .pic8 .info-inner9,
.cateline .cellitem span,
.cateline .cellitem a,
.cateline .cellitem em { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 768px) {
    .cateline .pic8,
    .cateline .cellitem { padding: 4px 8px; font-size: 14px; }
    .cateline .pic8 li,
    .cateline .cellitem li { height: 34px; line-height: 34px; }
    .cateline .pic8 li { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
    .cateline .cellitem li { grid-template-columns: minmax(0, 1fr) 88px; gap: 6px; }
}

/* rank-static-layout */
.menu-hd.vol {
    display: block !important;
    border: 2px solid #86c7e7;
    background: #fffdf6;
    padding: 10px 12px;
    margin: 12px auto 0;
    box-sizing: border-box;
}
.menu-hd.vol .foot {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 18px;
}
.menu-hd.vol .bar-meta9 {
    float: none !important;
    width: auto !important;
    min-height: 164px;
    margin: 0 !important;
    padding: 0 0 10px;
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 12px;
    border-bottom: 1px dotted #b9ccd2;
    box-sizing: border-box;
    overflow: hidden;
}
.menu-hd.vol .menu,
.menu-hd.vol .menu img {
    display: block;
    width: 116px;
    height: 154px;
}
.menu-hd.vol .menu img {
    object-fit: cover;
    border: 1px solid #b7cbd4;
    background: #f4f4f4;
    box-sizing: border-box;
}
.menu-hd.vol .main-cover {
    min-width: 0;
    overflow: hidden;
}
.menu-hd.vol .main-cover h2 {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 5px;
    padding: 0 0 4px;
    border-bottom: 1px dotted #b9ccd2;
    font-size: 15px;
    line-height: 22px;
    white-space: nowrap;
}
.menu-hd.vol .main-cover h2 a {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.menu-hd.vol .cat {
    margin-left: auto;
    max-width: 66px;
    color: #aaa;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.menu-hd.vol .area3 {
    margin: 0;
    color: #333;
    font-size: 13px;
    line-height: 24px;
    text-indent: 2em;
    max-height: 120px;
    overflow: hidden;
}
.menu-hd.vol .cha {
    grid-column: 1 / -1;
    margin: 0;
    padding: 12px;
    color: #555;
}
@media (max-width: 720px) {
    .menu-hd.vol {
        padding: 8px;
    }
    .menu-hd.vol .foot {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .menu-hd.vol .bar-meta9 {
        min-height: 108px;
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 8px;
        padding: 8px 0;
    }
    .menu-hd.vol .menu,
    .menu-hd.vol .menu img {
        width: 76px;
        height: 100px;
    }
    .menu-hd.vol .main-cover h2 {
        font-size: 14px;
        line-height: 20px;
    }
    .menu-hd.vol .area3 {
        font-size: 13px;
        line-height: 20px;
        max-height: 60px;
        text-indent: 0;
    }
}
/* /rank-static-layout */

/* static rank page, bqg style */
.menu-hd.footsec {
  display: block;
  border: 2px solid #8ed1ef;
  background: #fffdf6;
  padding: 12px;
}
.footsec .name {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  margin: 0 0 10px;
  min-height: 28px;
}
.footsec .name h2 {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  color: #444;
  font-weight: 700;
}
.footsec .name strong {
  grid-column: 2 / 3;
  text-align: center;
  font-size: 18px;
  line-height: 28px;
  color: #444;
}
.footsec .box-area {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 12px;
}
.footsec .cont-maininner {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  min-height: 156px;
  overflow: hidden;
}
.footsec .list-line4 img {
  width: 110px;
  height: 148px;
  object-fit: cover;
  border: 1px solid #b7d2dd;
  background: #fff;
}
.footsec .wrapgrid {
  min-width: 0;
}
.footsec .cont-maininner h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  padding-bottom: 2px;
  border-bottom: 1px dotted #9fc7d6;
  font-size: 14px;
  line-height: 22px;
}
.footsec .cont-maininner h3 a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.footsec .cont-maininner h3 span,
.footsec .cont-maininner h3 em {
  color: #999;
  font-weight: 400;
  font-style: normal;
  white-space: nowrap;
}
.footsec .sec {
  margin: 4px 0;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
}
.footsec .sec a {
  display: inline;
}
.footsec .area3 {
  margin: 6px 0 0;
  color: #333;
  font-size: 13px;
  line-height: 23px;
  max-height: 92px;
  overflow: hidden;
}
@media (max-width: 720px) {
  .menu-hd.footsec {
    padding: 8px;
  }
  .footsec .name {
    display: flex;
    justify-content: space-between;
  }
  .footsec .name h2 {
    font-size: 20px;
  }
  .footsec .name strong {
    font-size: 16px;
  }
  .footsec .box-area {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .footsec .cont-maininner {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 116px;
  }
  .footsec .list-line4 img {
    width: 86px;
    height: 116px;
  }
  .footsec .area3 {
    max-height: 66px;
  }
}

/* static category layout fix */
body { background: #e6f8fb; color: #333; font: 14px/1.8 "Microsoft YaHei", "PingFang SC", Arial, sans-serif; }
a { color: #2d65ad; }
a:hover { color: #c00; text-decoration: underline; }
.top-grid, .tag-col, .info-meta3, .info-line { width: 980px; max-width: 980px; margin: 0 auto; }
.tag-text { background: #e6f8fb; }
.info-meta3 { height: 86px; display: flex; align-items: center; gap: 28px; }
.cha-bar2 { width: 180px; font-size: 34px; line-height: 1; font-family: Georgia, "Microsoft YaHei", serif; font-weight: 700; }
.cha-bar2 a { color: #0871bd; text-shadow: 2px 3px 3px rgba(0, 90, 150, .28); }
.cha-bar2 a:hover { text-decoration: none; color: #0871bd; }
.img8 { margin-left: auto; flex: 0 0 470px; display: flex; height: 38px; border: 1px solid #9bd5ee; background: #fff; }
.update-sec { flex: 1; height: 36px; padding: 0 12px; border: 0; font-size: 14px; outline: 0; }
.img { width: 78px; height: 36px; border: 0; background: #ddd; color: #222; cursor: pointer; }
.cat-sec { width: 980px; max-width: 980px; height: 42px; margin: 0 auto; background: #74c0df; display: block; overflow: hidden; }
.info-line { display: flex; height: 42px; width: 980px; }
.cat-sec a { display: block; color: #fff; font-weight: 700; line-height: 42px; padding: 0 12px; white-space: nowrap; }
.cat-sec a:hover, .cat-sec a.tag-sec2 { background: #57acd2; color: #fff; text-decoration: none; }
.colhd { padding: 12px 0 20px; }

.item-unit7 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 18px; border: 3px solid #9bd5ee; background: #fffdf5; padding: 10px; margin-bottom: 12px; }
.item-unit7 .menu-con, .unit-wrap .menu-con { display: grid; grid-template-columns: 112px 1fr; gap: 12px; min-height: 150px; overflow: hidden; }
.cell-mod { display: block; width: 112px; }
.cell-mod img { width: 112px; height: 150px; object-fit: cover; border: 1px solid #b7d3df; background: #fff; }
.sec-item { min-width: 0; }
.sec-item h3 { height: 26px; line-height: 26px; margin: 0 0 6px; border-bottom: 1px dotted #b9cfd7; font-size: 15px; overflow: hidden; }
.sec-item h3 a { font-weight: 700; }
.sec-item h3 span { float: right; max-width: 72px; color: #aaa; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sec-item p { margin: 0; text-indent: 2em; height: 108px; overflow: hidden; color: #333; line-height: 1.85; }

.unit-wrap { display: grid; grid-template-columns: repeat(3, 1fr); border: 3px solid #9bd5ee; background: #fffdf5; margin-bottom: 12px; }
.read { min-height: 275px; padding: 8px 12px; border-right: 1px dotted #9bd5ee; border-bottom: 1px solid #ddd; overflow: hidden; }
.read:nth-child(3n) { border-right: 0; }
.read h2 { margin: 0 0 8px; height: 24px; line-height: 24px; border-bottom: 1px solid #cddbe0; font-size: 16px; color: #333; }
.read .menu-con { grid-template-columns: 86px 1fr; min-height: 116px; margin-bottom: 6px; }
.read .cell-mod, .read .cell-mod img { width: 86px; }
.read .cell-mod img { height: 116px; }
.read .sec-item h3 { font-size: 14px; height: 24px; line-height: 24px; }
.read .sec-item p { height: 96px; font-size: 13px; line-height: 24px; }
.item2info, .card-con3, .num2, .rank-gridblock { list-style: none; margin: 0; padding: 0; }
.item2info li { display: flex; align-items: center; height: 24px; line-height: 24px; border-top: 1px solid #ddd; overflow: hidden; }
.item2info a { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.item2info span { width: 74px; margin-left: 6px; color: #666; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.author-bar { display: grid; grid-template-columns: 1fr 300px; gap: 12px; margin-bottom: 12px; }
.main-area, .update-hd3, .side-mod6 { border: 3px solid #9bd5ee; background: #eefafa; }
.main-area h2, .update-hd3 h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd5ee; font-size: 16px; color: #333; }
.num2 li, .card-con3 li, .rank-gridblock li { display: grid; align-items: center; min-height: 30px; line-height: 30px; border-bottom: 1px solid #d1e3e8; overflow: hidden; }
.num2 li { grid-template-columns: 88px minmax(120px,1.15fr) minmax(180px,1.45fr) 90px 50px; column-gap: 8px; padding: 0 10px; }
.card-con3 li { grid-template-columns: 76px minmax(0, 1fr) 76px; column-gap: 0; padding: 0 10px; }
.card-con3 li.panel-bar { grid-template-columns: 76px minmax(0, 1fr); }
.rank-gridblock li { grid-template-columns: 90px minmax(220px,1fr) minmax(240px,1.2fr) 120px 78px; column-gap: 8px; padding: 0 12px; }
.num2 a, .card-con3 a, .rank-gridblock a, .menu-name, .hot-cell7, .cell-img, .wrap-area, .card-con3 em { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.menu-name { color: #555; }
.hot-cell7, .cell-img, .wrap-area, .card-con3 em { color: #777; font-style: normal; text-align: right; }
.side-mod6 { padding-bottom: 8px; }
.side-mod6 h2 { height: 42px; line-height: 42px; padding: 0 12px; background: #fff; border-bottom: 1px solid #ddd; color: #0871bd; font-size: 18px; }
.area-unit7 { display: grid; grid-template-columns: 160px minmax(160px, 1fr) 160px; gap: 12px; padding: 12px 10px 10px; background: #eefafa; }
.area-unit7 button, .area-unit7 select { width: 100%; height: 36px; border-radius: 2px; font: inherit; }
.area-unit7 button { border: 0; background: #4badd3; color: #fff; cursor: pointer; }
.area-unit7 button:disabled { opacity: .55; cursor: default; }
.area-unit7 select { border: 1px solid #b9d7e3; background: #fff; padding: 0 10px; }
.col2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 5px; width: 100%; padding: 10px 6px; box-sizing: border-box; }
.col2 button, .col2 select { min-width: 0; padding-left: 3px; padding-right: 3px; font-size: 13px; }
.cate-grid4 > [hidden] { display: none !important; }
.meta-item6 { margin: 0; padding: 28px 20px; background: #fff; border: 1px solid #ddd; }
.meta-item6 h2 { margin: 0 0 8px; font-size: 22px; color: #555; }
.meta-item6 p, .date9 { color: #555; }

.footsec { border: 3px solid #9bd5ee; background: #fffdf5; padding: 10px; }
.name { display: grid; grid-template-columns: 1fr 1fr; height: 38px; line-height: 38px; border-bottom: 1px solid #ddd; margin-bottom: 8px; }
.name h2, .name strong { font-size: 20px; color: #333; }
.update-sec3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px 18px; }
.celltext { display: grid; grid-template-columns: 112px 1fr; gap: 12px; min-height: 164px; overflow: hidden; }
.menu img { width: 112px; height: 150px; object-fit: cover; border: 1px solid #b7d3df; }
.main-cover h3 { height: 26px; line-height: 26px; border-bottom: 1px dotted #b9cfd7; font-size: 15px; overflow: hidden; }
.main-cover h3 span { float: right; max-width: 72px; color: #aaa; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.main-cover h3 em { float: right; margin-left: 6px; color: #999; font-style: normal; font-weight: 400; }
.sec { height: auto !important; color: #555; font-size: 13px; }
.main-cover p { padding-top: 0; height: 130px; max-height: 130px; overflow: hidden; line-height: 26px; }

.box-meta { border-top: 2px solid #74c0df; padding: 18px 0 24px; text-align: center; color: #444; font-size: 12px; }
.text-img { position: fixed; right: 16px; bottom: 16px; z-index: 20; }
.text-img button { border: 1px solid #54afd4; background: #74c0df; color: #fff; border-radius: 3px; padding: 8px 10px; cursor: pointer; }

@media (max-width: 1023px) {
  .top-grid, .tag-col, .info-meta3, .cat-sec, .info-line { width: auto; max-width: none; }
  .imgmod { display: block; }
  .tag-col { padding: 0 10px; justify-content: center; }
  .tag-text { padding: 10px; }
  .info-meta3 { height: auto; display: block; }
  .cha-bar2 { width: auto; margin-bottom: 8px; font-size: 28px; }
  .img8 { width: 100%; max-width: none; margin: 0; flex-basis: auto; }
  .cat-sec { margin: 0 10px; height: 38px; overflow-x: auto; }
  .info-line { display: flex; height: 38px; min-width: max-content; }
  .cat-sec a { line-height: 38px; padding: 0 12px; }
  .colhd { padding: 8px 10px 16px; }
  .item-unit7 { display: block; padding: 8px; }
  .item-unit7 .menu-con { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .item-unit7 .cell-mod, .item-unit7 .cell-mod img { width: 86px; }
  .item-unit7 .cell-mod img { height: 116px; }
  .unit-wrap { display: block; }
  .read { min-height: 0; border-right: 0; }
  .author-bar { display: flex; flex-direction: column; }
  .update-hd3 { order: 1; }
  .main-area { order: 2; }
  .num2 li { grid-template-columns: 1fr 1fr; gap: 0 10px; min-height: 28px; line-height: 28px; }
  .num2 .menu-name, .num2 .hot-cell7, .num2 .wrap-area { display: none; }
  .card-con3 li { grid-template-columns: 1fr 72px; min-height: 28px; line-height: 28px; }
  .card-con3 li span { display: none; }
  .rank-gridblock li { grid-template-columns: 1fr 72px; min-height: 30px; line-height: 30px; }
  .rank-gridblock .menu-name, .rank-gridblock .site-list { display: none; }
  .rank-gridblock .hot-cell7, .rank-gridblock .cell-img { text-align: right; }
  .side-mod6 h2 { height: 36px; line-height: 36px; font-size: 16px; }
  .area-unit7 { grid-template-columns: 1fr 1.25fr 1fr; gap: 8px; padding: 10px 8px; }
  .col2 { grid-template-columns: 1fr 1.25fr 1fr; }
  .update-sec3 { display: block; }
  .celltext { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .menu img { width: 86px; height: 116px; }
}

/* mobile category layout restore: compact bqg-style category pages */
@media (max-width: 1023px) {
  .colhd > .top-grid {
    width: auto;
    margin-left: 8px;
    margin-right: 8px;
  }

  .page {
    display: block;
    padding: 8px 10px;
    border: 2px solid #8fd1ed;
    background: #fffdf4;
    margin-bottom: 10px;
    box-sizing: border-box;
  }

  .page .menu-con {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
    min-height: 112px;
    padding: 8px 0;
    border-bottom: 1px solid #d8d8d8;
    overflow: hidden;
    box-sizing: border-box;
  }

  .page .menu-con:last-child {
    border-bottom: 0;
  }

  .page .cell-mod,
  .page .cell-mod img {
    width: 82px;
  }

  .page .cell-mod img {
    height: 110px;
    object-fit: cover;
  }

  .page .sec-item {
    min-width: 0;
  }

  .page .sec-item h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
    margin: 0 0 4px;
    padding-bottom: 3px;
    border-bottom: 1px dotted #b7d1da;
    font-size: 14px;
    line-height: 20px;
    overflow: hidden;
  }

  .page .sec-item h3 a {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .page .sec-item h3 span {
    flex: 0 0 auto;
    max-width: 5.5em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #999;
    font-size: 12px;
    font-weight: normal;
  }

  .page .sec-item p {
    margin: 0;
    font-size: 13px;
    line-height: 22px;
    max-height: 66px;
    overflow: hidden;
  }

  .book-link {
    display: block;
    margin-top: 10px;
  }

  .book-link .main-area,
  .book-link .update-hd3 {
    width: 100%;
    margin: 0 0 10px;
    border: 2px solid #8fd1ed;
    box-sizing: border-box;
  }

  .book-link .main-area h2,
  .book-link .update-hd3 h2 {
    padding: 8px 10px;
    font-size: 14px;
    line-height: 20px;
  }

  .book-link .num2 li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 6px;
    align-items: center;
    min-height: 32px;
    padding: 0 8px;
    box-sizing: border-box;
  }

  .book-link .num2 .menu-name,
  .book-link .num2 .read-cell,
  .book-link .num2 .site-list {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
  }

  .book-link .num2 .menu-name {
    display: none;
  }

  .book-link .num2 .hot-cell7,
  .book-link .num2 .wrap-area {
    display: none;
  }

  .book-link .card-con3 li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 6px;
    align-items: center;
    min-height: 32px;
    padding: 0 8px;
    box-sizing: border-box;
  }

  .book-link .card-con3 li.panel-bar {
    grid-template-columns: minmax(0, 1fr);
  }

  .book-link .card-con3 li > span {
    display: none;
  }

  .book-link .card-con3 span,
  .book-link .card-con3 a,
  .book-link .card-con3 em {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
  }
}

/* desktop bqg scale restore */
@media (min-width: 1024px) {
  .top-grid,
  .tag-col,
  .info-meta3,
  .info-line {
    width: 1024px;
    max-width: 1024px;
  }

  .item-unit7 {
    gap: 14px 20px;
    padding: 10px 12px;
  }

  .item-unit7 .menu-con {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 14px;
    min-height: 160px;
  }

  .item-unit7 .cell-mod,
  .item-unit7 .cell-mod img {
    width: 120px;
  }

  .item-unit7 .cell-mod img {
    height: 160px;
  }

  .item-unit7 .sec-item h3,
  .unit-wrap .sec-item h3 {
    font-size: 15px;
    line-height: 23px;
  }

  .item-unit7 .sec-item p,
  .unit-wrap .sec-item p {
    font-size: 14px;
    line-height: 24px;
  }

  .read {
    padding: 10px 12px;
  }

  .read .menu-con {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    min-height: 124px;
  }

  .read .cell-mod,
  .read .cell-mod img {
    width: 92px;
  }

  .read .cell-mod img {
    height: 124px;
  }

  .item2info li,
  .card-con3 li,
  .num2 li {
    font-size: 14px;
    min-height: 24px;
    line-height: 24px;
  }

  .main-area h2,
  .update-hd3 h2,
  .read h2 {
    font-size: 16px;
  }
}

/* 2026-07-12: desktop home layout restore: 4 featured + classic sidebar */
@media (min-width: 1024px) {
  .top-grid,
  .tag-col,
  .info-meta3,
  .info-line {
    width: 1024px;
    max-width: 1024px;
    box-sizing: border-box;
  }

  .info-line {
    display: flex;
    align-items: stretch;
    overflow: visible;
    height: 40px;
  }

  .info-line a,
  .name-panel a {
    flex: 0 0 auto;
    display: block;
    padding: 0 10px;
    font-size: 14px;
    line-height: 40px;
    white-space: nowrap;
    box-sizing: border-box;
  }

  .cat-img8 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 12px;
    border: 3px solid #9bd5ee;
    background: #fffdf5;
    padding: 10px;
    margin: 0 0 12px;
    box-sizing: border-box;
  }

  .cat-img8 .item-unit7 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
  }

  .cat-img8 .item-unit7 .menu-con {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    min-height: 160px;
    gap: 14px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .cat-img8 .item-unit7 .menu-con:nth-child(n+5) {
    display: none;
  }

  .cat-img8 .cell-mod,
  .cat-img8 .cell-mod img {
    width: 120px;
    height: 160px;
    object-fit: cover;
  }

  .block-inner {
    border-left: 3px solid #9bd5ee;
    background: #eefafa;
    margin: -10px -10px -10px 0;
    min-width: 0;
  }

  .block-inner h2 {
    height: 36px;
    line-height: 36px;
    margin: 0;
    padding: 0 12px;
    background: #d9edf0;
    color: #333;
    font-size: 16px;
    font-weight: 700;
  }

  .block-inner ul {
    list-style: none;
    margin: 0;
    padding: 6px 10px;
  }

  .block-inner li {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 68px;
    gap: 6px;
    height: 28px;
    line-height: 28px;
    border-bottom: 1px solid #d3e1e4;
    overflow: hidden;
  }

  .block-inner li span,
  .block-inner li a,
  .block-inner li em {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-style: normal;
    font-size: 13px;
  }

  .block-inner li a {
    color: #3366aa;
  }

  .block-inner li em {
    color: #666;
    text-align: right;
  }
}

@media (max-width: 1023px) {
  .cat-img8 {
    display: block;
    border: 2px solid #8fd1ed;
    background: #fffdf4;
    padding: 8px;
    margin-bottom: 10px;
  }

  .cat-img8 .item-unit7 {
    display: block;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
  }

  .block-inner {
    margin-top: 8px;
    border: 2px solid #8fd1ed;
    background: #eefafa;
  }

  .block-inner h2 {
    height: 34px;
    line-height: 34px;
    margin: 0;
    padding: 0 10px;
    background: #d9edf0;
    font-size: 15px;
  }

  .block-inner ul {
    list-style: none;
    margin: 0;
    padding: 4px 8px;
  }

  .block-inner li {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 58px;
    gap: 4px;
    height: 30px;
    line-height: 30px;
    border-bottom: 1px solid #d3e1e4;
    overflow: hidden;
  }

  .block-inner li span,
  .block-inner li a,
  .block-inner li em {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-style: normal;
    font-size: 13px;
  }

  .block-inner li em {
    text-align: right;
  }
}

/* 2026-07-12: force desktop nav/header width to 1024px */
@media (min-width: 1024px) {
  .tag-col,
  .info-meta3,
  .info-line,
  .top-grid {
    width: 1024px !important;
    max-width: 1024px !important;
    box-sizing: border-box;
  }

  .cat-sec,
  .name-panel {
    width: 1024px !important;
    max-width: 1024px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }

  .info-line {
    display: flex !important;
    align-items: stretch !important;
    overflow: visible !important;
  }
}

/* 2026-07-12: remove current-menu selection mark, keep nav visually flat */
.cat-sec a.tag-sec2,
.cat-sec a[aria-current="page"],
.name-panel a.tag-sec2,
.name-panel a[aria-current="page"],
.info-line a.tag-sec2,
.info-line a[aria-current="page"] {
  background: transparent !important;
  color: #fff !important;
  text-decoration: none !important;
}

.cat-sec a:hover,
.name-panel a:hover,
.info-line a:hover {
  background: #57acd2 !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* 2026-07-12: desktop starts at 1024px; below 1024 uses mobile adaptive layout */
@media (min-width: 1024px) {
  .tag-col,
  .info-meta3,
  .info-line,
  .top-grid,
  .cat-sec,
  .name-panel {
    width: 1024px !important;
    max-width: 1024px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .cat-sec,
  .name-panel {
    overflow: hidden !important;
  }
}

@media (max-width: 1023px) {
  .tag-col,
  .info-meta3,
  .info-line,
  .top-grid,
  .cat-sec,
  .name-panel {
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .top-grid,
  .info-meta3,
  .tag-col {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

  .cat-sec,
  .name-panel {
    margin-left: 10px !important;
    margin-right: 10px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .info-line {
    min-width: max-content !important;
    display: flex !important;
  }
}

/* nav-hover-disabled: 导航条不保留 hover / focus / active 印记 */
.tag-text nav a:hover,
.tag-text nav a:focus,
.tag-text nav a.tag-sec2,
.tag-text nav .tag-sec2,
.info-meta3 nav a:hover,
.info-meta3 nav a:focus,
.info-meta3 nav a.tag-sec2,
.info-meta3 nav .tag-sec2,
.cat-sec a:hover,
.cat-sec a:focus,
.cat-sec a.tag-sec2,
.cat-sec .tag-sec2,
.name-panel a:hover,
.name-panel a:focus,
.name-panel a.tag-sec2,
.name-panel .tag-sec2 {
    background: transparent !important;
    color: #fff !important;
    text-decoration: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

/* responsive-1024-fix:start */
/* 桌面版：传统站宽度固定 1024，导航与主体保持同宽 */
@media (min-width: 1024px) {
    .tag-col,
    .tag-text .info-meta3,
    .info-meta3,
    .top-grid,
    .colhd,
    .wrap-cover2,
    .bar,
    .page-mainmod,
    .cat-sec,
    .name-panel {
        width: 1024px !important;
        max-width: 1024px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
}

/* 小于等于 1024：立即切到移动自适应，不再保留桌面定宽 */
@media (max-width: 1023px) {
    html,
    body {
        width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    body {
        margin: 0 !important;
    }

    .imgmod,
    .tag-text,
    .colhd,
    .box-meta,
    .tag-col,
    .tag-text .info-meta3,
    .info-meta3,
    .top-grid,
    .page-mainmod,
    .wrap-cover2,
    .bar,
    .novel,
    .cat-sec,
    .name-panel {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .tag-col,
    .tag-text .info-meta3,
    .info-meta3,
    .top-grid,
    .wrap-cover2,
    .bar,
    .colhd {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .tag-text .info-meta3,
    .info-meta3 {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .cha-bar2,
    .tag-text h1,
    .tag-text .cha-bar2 {
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
        text-align: left !important;
    }

    .wrap-bd {
        margin-left: auto !important;
    }

    .img8 {
        order: 3 !important;
        flex: 0 0 100% !important;
        display: flex !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    .img8 .update-sec,
    .img8 input[type="text"] {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
    }

    .img8 .img,
    .img8 button,
    .img8 input[type="submit"] {
        flex: 0 0 82px !important;
        width: 82px !important;
    }

    .cat-sec,
    .name-panel {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 0 !important;
    }

    .cat-sec a,
    .name-panel a {
        flex: 0 0 auto !important;
        padding: 0 12px !important;
        text-align: center !important;
    }

    .menu-hd,
    .pic-mod,
    .foot,
    .coverbd,
    .link-mod3,
    .side-mod6 .nav-bar4,
    .rank-gridblock,
    .nav-bar4,
    .metagrid,
    .cont-main,
    .box-hd,
    .ft-unit {
        display: block !important;
        grid-template-columns: none !important;
        columns: auto !important;
        width: 100% !important;
    }

    .meta-mod3,
    .hd-link,
    .nav-bar4 .unit2,
    .rank-gridblock .unit2,
    .metagrid .unit2,
    .cont-main .unit2,
    .box-hd .unit2,
    .bd-col,
    .time-meta2 {
        display: grid !important;
        grid-template-columns: 88px minmax(0, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
        min-height: 118px !important;
        margin: 0 0 12px !important;
        padding-bottom: 10px !important;
        border-bottom: 1px dotted #98c9d9 !important;
        box-sizing: border-box !important;
        break-inside: avoid !important;
    }

    .meta-mod3 img,
    .hd-link img,
    .menu img,
    .nav-bar4 .unit2 img,
    .rank-gridblock .unit2 img,
    .metagrid .unit2 img,
    .cont-main .unit2 img,
    .box-hd .unit2 img,
    .bd-col img,
    .time-meta2 img {
        width: 88px !important;
        height: 118px !important;
        object-fit: cover !important;
    }

    .main-cover,
    .ft,
    .sec-item,
    .side-bd,
    .time-meta2 dl,
    .time-meta2 .title-mod {
        min-width: 0 !important;
    }

    .readrow,
    .main3,
    .time-line,
    .title-unit {
        display: block !important;
        grid-template-columns: none !important;
        width: 100% !important;
    }

    .readrow > *,
    .main3 > *,
    .time-line > *,
    .title-unit > * {
        width: 100% !important;
        margin-bottom: 10px !important;
        box-sizing: border-box !important;
    }
}

/* 导航条不保留 hover/focus/active 视觉印记 */
.cat-sec a:hover,
.cat-sec a:focus,
.cat-sec a:active,
.cat-sec a.tag-sec2,
.cat-sec .tag-sec2,
.name-panel a:hover,
.name-panel a:focus,
.name-panel a:active,
.name-panel a.tag-sec2,
.name-panel .tag-sec2,
.tag-text nav a:hover,
.tag-text nav a:focus,
.tag-text nav a:active,
.tag-text nav a.tag-sec2,
.info-meta3 nav a:hover,
.info-meta3 nav a:focus,
.info-meta3 nav a:active,
.info-meta3 nav a.tag-sec2 {
    background: transparent !important;
    color: #fff !important;
    text-decoration: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}
/* responsive-1024-fix:end */
/* Homepage featured descriptions: clip at exactly five complete lines. */
@media (min-width: 1024px) {
  .cat-img8 .sec-item p,
  .page .sec-item p {
    height: 130px;
    line-height: 26px;
  }
}

/* Compact desktop header while preserving independent mobile layout. */
@media (min-width: 1024px) {
  .imgmod,
  .tag-col {
    height: 28px;
  }

  .info-meta3 {
    height: 68px;
  }

  .cat-sec,
  .info-line {
    height: 38px;
  }

  .cat-sec a,
  .info-line a {
    line-height: 38px;
  }

  .colhd {
    padding-top: 8px;
  }
}

/* Target-site adaptive header: up to 1023px mobile; 1024px and above desktop. */
.head-mod,
.text7 {
  display: none;
}

@media (max-width: 1023px) {
  .imgmod {
    display: none !important;
  }

  .tag-text {
    padding: 0 !important;
    background: #e6f8fb !important;
  }

  .tag-text .info-meta3,
  .info-meta3 {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 0 !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    background: #e6f8fb !important;
  }

  .tag-text .cha-bar2,
  .tag-text h1 {
    height: 52px !important;
    line-height: 52px !important;
    padding-left: 12px !important;
    margin: 0 !important;
    color: #0871bd !important;
    font-size: 27px !important;
    text-shadow: 2px 3px 3px rgba(0, 90, 150, .28) !important;
  }

  .tag-text .cha-bar2 a {
    color: #0871bd !important;
    text-shadow: 2px 3px 3px rgba(0, 90, 150, .28) !important;
  }

  .head-mod {
    display: flex !important;
    gap: 8px !important;
    padding-right: 10px !important;
  }

  .head-mod a {
    display: block !important;
    min-width: 48px !important;
    height: 30px !important;
    line-height: 30px !important;
    padding: 0 8px !important;
    border-radius: 3px !important;
    background: #74c0df !important;
    color: #fff !important;
    text-align: center !important;
    font-size: 13px !important;
  }

  .text7 {
    display: grid !important;
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    height: 42px !important;
    background: #74c0df !important;
    border-top: 0 !important;
  }

  .text7 a {
    min-width: 0 !important;
    height: 42px !important;
    line-height: 42px !important;
    padding: 0 !important;
    color: #fff !important;
    text-align: center !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

  .tag-text .img8,
  .info-meta3 .img8 {
    display: flex !important;
    grid-column: 1 / -1 !important;
    order: initial !important;
    width: auto !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 9px 10px !important;
    border: 0 !important;
    background: #e6f8fb !important;
    box-sizing: border-box !important;
  }

  .tag-text .img8 .update-sec,
  .tag-text .img8 input[type="text"] {
    height: 34px !important;
    border: 1px solid #8dcde7 !important;
    border-right: 0 !important;
  }

  .tag-text .img8 .img,
  .tag-text .img8 button {
    flex: 0 0 82px !important;
    width: 82px !important;
    height: 34px !important;
    border: 1px solid #8dcde7 !important;
    background: #ddd !important;
    color: #222 !important;
  }

  body > .cat-sec,
  body > nav.cat-sec {
    display: none !important;
  }

  .colhd {
    padding-top: 0 !important;
  }

  .cat-img8 {
    margin-top: 0 !important;
  }

  /* Book detail: keep metadata beside the cover, but move actions/intro full width. */
  .rank {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) !important;
    gap: 8px 10px !important;
    padding: 10px !important;
    align-items: start !important;
  }

  .rank .cate-link6 {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 96px !important;
    min-height: 126px !important;
    padding: 4px !important;
  }

  .rank .cate-link6 img {
    width: 100% !important;
    height: 118px !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  .rank .side {
    display: contents !important;
  }

  .rank .side h1 {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    height: auto !important;
    line-height: 27px !important;
    font-size: 18px !important;
    white-space: normal !important;
  }

  .rank .side-con {
    grid-column: 2 !important;
    grid-row: 2 !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .rank .side-con p {
    height: 25px !important;
    line-height: 25px !important;
  }

  .rank .area {
    grid-column: 1 / -1 !important;
    grid-row: 5 !important;
    margin: 2px 0 0 !important;
  }

  .rank .time {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    width: 100% !important;
    max-height: 112px !important;
    padding-top: 2px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .rank .time.title {
    max-height: none !important;
  }

  .rank .pic-ft {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
  }

  .tag-item2 .hot-gridwrap {
    grid-template-columns: 1fr !important;
  }

  .list .head-row {
    margin: 14px 0 0 !important;
    padding: 14px 10px 16px !important;
    background: #fff !important;
  }

  .list .head-row h2 {
    margin-bottom: 12px !important;
    color: #888 !important;
    font-weight: 400 !important;
  }

  .list .bookimg {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 14px !important;
  }

  .list .bookimg a {
    min-width: 0 !important;
    padding: 0 8px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  .colhd .top-grid > .head-row {
    margin: 0 0 14px !important;
    padding: 14px 10px 16px !important;
    background: #fff !important;
  }

  .colhd .top-grid > .head-row .bookimg {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 14px !important;
  }

  .colhd .top-grid > .head-row .bookimg a {
    min-width: 0 !important;
    padding: 0 8px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }
}

/* 分类页桌面双栏等高：左侧 42×35px，右侧 49×30px。 */
@media (min-width: 1024px) {
  .book-link .num2 li {
    height: 35px;
    min-height: 35px;
    line-height: 35px;
  }

  .book-link .card-con3 li,
  .book-link .card-con3 li.panel-bar {
    height: 30px;
    min-height: 30px;
    line-height: 30px;
  }

  /* 数据不足49条时，左右条数相同，统一使用35px行高。 */
  .book-link.side-grid .card-con3 li,
  .book-link.side-grid .card-con3 li.panel-bar {
    height: 35px;
    min-height: 35px;
    line-height: 35px;
  }
}

/* Category footer controls: keep the three paging controls on one row and
   pin the right-column entry to the bottom of the equally tall panel. */
.book-link { align-items: stretch; }
.book-link .main-area,
.book-link .update-hd3 { min-width: 0; }
.book-link .update-hd3 { display: flex; flex-direction: column; }
.book-link .update-hd3 .card-con3 { flex: 0 0 auto; }
.book-link .date-main8 {
  display: grid;
  grid-template-columns: minmax(90px, 160px) minmax(120px, 1fr) minmax(90px, 160px);
  gap: 10px;
  align-items: center;
  padding: 12px 10px 10px;
  box-sizing: border-box;
}
.book-link .date-main8 > a,
.book-link .date-main8 > span,
.book-link .date-main8 > select {
  width: 100%;
  height: 36px;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
.book-link .date-main8 > a,
.book-link .date-main8 > span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.book-link .date-main8 > select {
  border: 1px solid #b9d7e3;
  background: #fff;
  padding: 0 10px;
}
.book-link .mod-img {
  margin: auto 0 0;
  padding: 12px 10px 10px;
  border-top: 1px solid #cbdde3;
  box-sizing: border-box;
}
.book-link .mod-img a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 36px;
  background: #4badd3;
  color: #fff;
  box-sizing: border-box;
}
@media (max-width: 1023px) {
  .book-link .date-main8 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 5px;
    padding: 10px 6px;
  }
}

/* Mobile reader width: avoid stacking page/container/reader side gutters. */
@media (max-width: 1023px) {
  .colhd.tool,
  .colhd.hd-col,
  .colhd.read-item2 {
    width: 100% !important;
    max-width: none !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    box-sizing: border-box !important;
  }

  .colhd.tool > .top-grid,
  .colhd.hd-col > .top-grid,
  .colhd.read-item2 > .top-grid {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  .colhd.name-link8 {
    width: 100% !important;
    max-width: none !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    box-sizing: border-box !important;
  }

  .colhd.name-link8 > .top-grid {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .colhd.name-link8 .list {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: clamp(6px, 2vw, 16px) !important;
    padding-right: clamp(6px, 2vw, 16px) !important;
    box-sizing: border-box !important;
  }

  .colhd.name-link8 .sort-box3 {
    width: 100% !important;
    max-width: none !important;
    padding-left: clamp(2px, 1.2vw, 10px) !important;
    padding-right: clamp(2px, 1.2vw, 10px) !important;
    box-sizing: border-box !important;
  }

  .colhd.name-link8 .home-mod4,
  .colhd.name-link8 .author-col {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}
