* { 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%; }
.wen-item2, .area-row, .cate-name, .cover-mod, .card-name { max-width: 980px; margin: 0 auto; }

.head2 { height: 30px; background: #f7f7f7; border-bottom: 1px solid #ddd; color: #777; font-size: 12px; }
.area-row { display: flex; gap: 24px; align-items: center; height: 30px; }
.card-inner5 { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.card-inner5:hover { color: #0871bd; text-decoration: underline; }
.site-grid9 { background: #2f8ed8; }
.cate-name { height: 76px; display: flex; align-items: center; gap: 28px; }
.row-con { width: 170px; font-size: 34px; line-height: 1; font-weight: 700; }
.row-con a { color: #fff; letter-spacing: 0; }
.row-con a:hover { color: inherit; text-decoration: none; }
.top-ft { flex: 1; display: flex; max-width: 470px; }
.title-col5 { flex: 1; height: 38px; padding: 0 12px; border: 0; outline: 0; font-size: 14px; }
.novel-wrap { width: 78px; height: 38px; border: 0; background: #f5a623; color: #fff; font-size: 15px; cursor: pointer; }
.grid-conmain { margin-left: auto; display: flex; gap: 10px; }
.grid-conmain a { color: #fff; padding: 5px 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 2px; }

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

.sec-panel { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 12px; }
.col-panel, .unit-cell, .sec-bar, .mainmain, .wen-item2name, .info-block, .metalink { background: #fff; border: 1px solid #ddd; }
.col-panel { display: grid; grid-template-columns: 1fr 1fr; padding: 12px; gap: 12px; }
.hd-box4 { display: flex; min-height: 132px; overflow: hidden; }
.hd-box4 .head-main9 { width: 88px; flex: 0 0 88px; margin-right: 12px; }
.hd-box4 .head-main9 img { width: 88px; height: 120px; object-fit: cover; border: 1px solid #ddd; }
.hd-box4 dt { height: 28px; line-height: 28px; overflow: hidden; font-weight: 700; }
.hd-box4 dt span { float: right; max-width: 72px; color: #888; font-size: 12px; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hd-box4 dd { color: #555; height: 88px; overflow: hidden; font-size: 13px; }
.hd-box4 dd a { color: #555; }
.cell, .sec-bar h2, .wen-item2name h2, .info-block h2 { height: 38px; line-height: 38px; padding: 0 12px; border-bottom: 1px solid #ddd; background: #f9f9f9; color: #287dc2; font-size: 16px; }
.wrap-link, .num2, .cate-box5, .cat, .title-area { list-style: none; }
.wrap-link li, .cate-box5 li, .title-area li { display: flex; height: 35px; line-height: 35px; padding: 0 12px; border-bottom: 1px dashed #e5e5e5; overflow: hidden; }
.author-area8, .name-con { width: 86px; color: #888; flex: 0 0 86px; }
.bar-col, .hot { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.boxcol { width: 220px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mod8, .text-box8 { width: 88px; color: #777; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.row-name { width: 70px; color: #888; text-align: right; }

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

.mainmain { display: flex; padding: 18px; margin-bottom: 12px; }
.mainmain .head-link7 { width: 150px; flex: 0 0 150px; margin-right: 22px; }
.mainmain .head-link7 img { width: 150px; height: 200px; object-fit: cover; border: 1px solid #ccc; padding: 2px; background: #fff; }
.wen h1 { height: 44px; line-height: 44px; font-size: 28px; font-weight: 500; border-bottom: 1px dashed #ddd; margin-bottom: 8px; }
.wen p { height: 30px; line-height: 30px; color: #555; }
.nav-info7 { margin-top: 18px; display: flex; gap: 12px; }
.new-grid6 { display: inline-block; min-width: 110px; height: 36px; line-height: 36px; text-align: center; background: #287dc2; color: #fff; border-radius: 2px; }
.new-grid6.sidebd { background: #f5a623; }
.new-grid6:hover { color: #fff; text-decoration: none; opacity: .9; }
.wen-item2name { margin-bottom: 12px; }
.wen-item2name p { padding: 14px 16px; color: #555; text-indent: 2em; }
.cat { display: grid; grid-template-columns: repeat(3, 1fr); padding: 10px 12px; }
.cat li { height: 34px; line-height: 34px; border-bottom: 1px dashed #e5e5e5; overflow: hidden; padding-right: 18px; white-space: nowrap; text-overflow: ellipsis; }
.metalink h1 { height: 42px; line-height: 42px; padding: 0 12px; font-size: 18px; color: #287dc2; border-bottom: 1px solid #ddd; background: #f9f9f9; }

.box { background: #f6f1e7; border: 1px solid #d8cfbd; padding: 0 24px 26px; }
.imghd { height: 38px; line-height: 38px; color: #777; border-bottom: 1px solid #e4dccd; font-size: 13px; }
.rank5 { text-align: center; padding: 20px 0 10px; border-bottom: 1px dashed #d8cfbd; }
.rank5 h1 { font-size: 26px; font-weight: 500; color: #222; }
.rank5 p { color: #777; margin-top: 6px; }
.sort-link { padding: 20px 8px; color: #222; font: 20px/2 "Microsoft YaHei", "PingFang SC", serif; }
.desc-coverbd { 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-link p { text-indent: 2em; margin-bottom: 14px; text-align: justify; }
.block2 { display: flex; justify-content: center; gap: 12px; padding: 18px 0 0; border-top: 1px dashed #d8cfbd; }
.block2.hot-hd { padding: 14px 0; border-top: 0; border-bottom: 1px dashed #d8cfbd; }
.box .block2.grid5 { margin-bottom: 18px; }
.block2 a, .block2 span { min-width: 110px; height: 34px; line-height: 34px; text-align: center; background: #fff; border: 1px solid #d8cfbd; color: #555; }
.block2 a:hover { background: #287dc2; color: #fff; text-decoration: none; border-color: #287dc2; }

.menu-grid { background: #fff; border: 1px solid #ddd; padding: 20px; }
.infoblock { border-top: 1px solid #ddd; background: #f7f7f7; color: #888; text-align: center; padding: 20px 0; font-size: 12px; }

@media (max-width: 768px) {
    .wen-item2, .area-row, .cate-name, .cover-mod, .card-name { width: 100%; max-width: none; }
    .head2 { display: none; }
    .site-grid9 { padding: 10px; }
    .cate-name { height: auto; display: block; }
    .row-con { width: auto; margin-bottom: 10px; font-size: 28px; text-align: center; }
    .top-ft { max-width: none; }
    .grid-conmain { display: none; }
    .cover-mod { display: none; }
    .card-name { display: flex; overflow-x: auto; background: #287dc2; }
    .card-name a { color: #fff; line-height: 38px; padding: 0 14px; white-space: nowrap; }
    .wen-text { padding: 8px; }
    .sec-panel, .imgsec { display: block; }
    .col-panel { grid-template-columns: 1fr; margin-bottom: 10px; }
    .unit-cell, .sec-bar { margin-bottom: 10px; }
    .author-area8, .boxcol, .mod8, .name-con, .text-box8, .row-name { display: none; }
    .num2 { columns: 1; }
    .mainmain { display: block; text-align: center; }
    .mainmain .head-link7 { margin: 0 auto 12px; }
    .wen h1 { height: auto; line-height: 1.4; font-size: 24px; }
    .nav-info7 { justify-content: center; }
    .cat { grid-template-columns: 1fr; }
    .box { padding: 0 12px 18px; }
    .rank5 h1 { font-size: 22px; }
    .sort-link { font-size: 18px; line-height: 1.95; padding: 14px 0; }
    .desc-coverbd { display: block; font-size: 18px; margin-bottom: 12px; padding-bottom: 8px; line-height: 1.45; }
    .block2 { gap: 8px; }
    .block2 a, .block2 span { min-width: 0; flex: 1; }
}

.rank-hd { background: #fff; border: 1px solid #ddd; padding: 14px; }
.rank-hd h1 { height: 38px; line-height: 38px; font-size: 18px; color: #287dc2; border-bottom: 1px solid #ddd; margin-bottom: 14px; }
.text-info { display: flex; max-width: 560px; margin-bottom: 12px; }
.text-info input { flex: 1; height: 36px; padding: 0 10px; border: 1px solid #ccc; border-right: 0; outline: 0; }
.text-info button { width: 76px; border: 0; background: #287dc2; color: #fff; cursor: pointer; }
.barmain { color: #777; padding: 8px 0 12px; }
.areas { list-style: none; }
.areas li { display: flex; padding: 12px 0; border-top: 1px dashed #e5e5e5; }
.areas li[hidden] { display: none !important; }
.areas li.page { display: block; color: #888; }
.side-main7 { width: 72px; flex: 0 0 72px; margin-right: 12px; }
.side-main7 img { width: 72px; height: 96px; object-fit: cover; border: 1px solid #ddd; }
.bar-block6 h2 { font-size: 16px; height: 28px; line-height: 28px; overflow: hidden; }
.bar-block6 .cont8 { color: #888; font-size: 13px; margin-bottom: 4px; }
.bar-block6 .cate6 { color: #555; height: 48px; overflow: hidden; line-height: 1.7; }
@media (max-width: 768px) {
    .rank-hd { padding: 10px; }
    .text-info { max-width: none; }
}

/* Screenshot-style desktop home layout */
body { background: #e6f8fb; color: #555; font-size: 14px; }
a { color: #4d6da8; }
.wen-item2, .area-row, .cate-name, .cover-mod, .card-name { max-width: 1160px; }
.head2 { background: #d9eef3; border-bottom: 1px solid #b8dce7; }
.area-row { color: #6d8f9e; }
.site-grid9 { background: #e6f8fb; }
.cate-name { height: 82px; gap: 24px; }
.row-con { width: 150px; font-size: 36px; font-family: Georgia, "Microsoft YaHei", serif; text-shadow: 2px 2px 0 #c3e3f1; }
.row-con a { color: #0871bd; }
.top-ft { max-width: 480px; margin-left: auto; }
.title-col5 { height: 36px; border: 1px solid #9bc7df; background: #fff; }
.novel-wrap { height: 36px; background: #ddd; color: #222; }
.grid-conmain { display: none; }
.cover-mod { height: 44px; background: #79c2e3; padding: 0 10px; }
.cover-mod a { line-height: 44px; padding: 0 11px; border-right: 0; color: #fff; font-weight: 700; }
.cover-mod a:hover { background: #5eb1d8; }
.wen-text { padding: 12px 0 24px; }

.cate-mod { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 22px; padding: 14px; margin-bottom: 22px; border: 3px solid #b9dff1; background: #fffdf6; }
.authors { display: grid; grid-template-columns: 126px 1fr; gap: 12px; min-height: 176px; }
.wrap-name2 img { width: 126px; height: 170px; object-fit: cover; border: 1px solid #abc6d4; padding: 3px; background: #fff; }
.side-sec4 h2 { height: 28px; line-height: 28px; font-size: 15px; border-bottom: 1px dotted #c7d8e3; overflow: hidden; }
.side-sec4 h2 a { color: #5b6fad; font-weight: 700; }
.side-sec4 h2 span { float: right; color: #aaa; font-weight: 400; }
.side-sec4 p { padding-top: 8px; color: #555; line-height: 1.85; height: 132px; overflow: hidden; text-indent: 2em; }
.cate-block { display: grid; grid-template-columns: 1fr 335px; gap: 14px; align-items: start; }
.shu-text, .info-ft { border: 3px solid #86c9e8; background: #eef6f6; }
.shu-text h2, .info-ft h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd3e9; color: #456; font-size: 16px; }
.ft, .hot-main { list-style: none; padding: 8px 12px; }
.ft 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; }
.ft .head-col { color: #555; }
.ft .author-text3, .ft .bar4, .ft .meta-panel6 { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ft .meta-panel6, .ft .info-bd4 { color: #aaa; text-align: right; }
.hot-main li { display: grid; grid-template-columns: 78px 1fr 58px; gap: 6px; height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; overflow: hidden; }
.hot-main span { color: #555; }
.hot-main a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hot-main em { color: #666; font-style: normal; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cate-info3 { display: grid; grid-template-columns: 190px 1fr 190px; gap: 18px; padding: 14px 12px; }
.cate-info3 a, .cate-info3 select { height: 40px; border: 0; background: #4eadd0; color: #fff; text-align: center; border-radius: 3px; font-weight: 700; }
.cate-info3 a { line-height: 40px; }
.cate-info3 select { background: #fff; color: #222; border: 1px solid #d8e2e4; padding: 0 12px; }
.infoblock { 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; }
    .wen-item2, .area-row, .cate-name, .cover-mod, .card-name { width: 100%; max-width: none; }
    .head2 { display: none; }
    .site-grid9 { padding: 10px; background: #dff5fb; }
    .cate-name { display: block; height: auto; }
    .row-con { width: auto; font-size: 30px; text-align: left; margin: 0 0 10px; padding-right: 58px; }
    .top-ft { max-width: none; display: flex; margin-left: 0; }
    .title-col5 { height: 38px; font-size: 14px; }
    .novel-wrap { width: 72px; height: 38px; }
    .cover-mod { display: none; }
    .card-name { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); overflow: hidden; height: 40px; background: #79c2e3; padding: 0; }
    .card-name a { min-width: 0; color: #fff; line-height: 40px; padding: 0 2px; text-align: center; font-weight: 700; white-space: nowrap; }
    .cate-name .card-name { margin-bottom: 8px; }
    .wen-text { padding: 8px; }
    .cate-mod { display: block; padding: 8px; margin-bottom: 10px; border-width: 2px; }
    .authors { display: grid; grid-template-columns: 82px 1fr; gap: 10px; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #d8e2e4; }
    .authors:last-child { border-bottom: 0; }
    .wrap-name2 img { width: 82px; height: 110px; padding: 2px; }
    .side-sec4 h2 { height: 24px; line-height: 24px; font-size: 15px; }
    .side-sec4 h2 span { display: none; }
    .side-sec4 p { height: 78px; line-height: 1.7; padding-top: 5px; text-indent: 0; }
    .cate-block { display: block; }
    .read-ft { display: flex; flex-direction: column; }
    .read-ft .info-ft { order: 1; }
    .read-ft .shu-text { order: 2; }
    .shu-text, .info-ft { border-width: 2px; margin-bottom: 10px; }
    .shu-text h2, .info-ft h2 { height: 34px; line-height: 34px; font-size: 15px; }
    .ft, .hot-main { padding: 4px 8px; }
    .ft 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; }
    .ft .meta-panel6, .ft .info-bd4 { display: none; }
    .ft .head-col { display: block; width: auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #555; }
    .ft .author-text3 { font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .ft .bar4 { color: #777; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .hot-main li { grid-template-columns: minmax(0, 1fr) 88px; height: 34px; line-height: 34px; }
    .hot-main span { display: none; }
    .cate-info3 { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .cate-info3 select { grid-column: 1 / -1; order: -1; }
    .infoblock { padding: 14px 8px; line-height: 1.7; }
}

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

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

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

.sort-bar { position: fixed; right: 18px; bottom: 26px; z-index: 50; display: grid; gap: 8px; }
.sort-bar 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); }
.sort-bar button:hover { background: #4eadd0; }
body.list3 { background: #1e1e1e; color: #aaa; }
body.list3 a { color: #9eb8e8; }
body.list3 .head2,
body.list3 .site-grid9,
body.list3 .infoblock { background: #252525; border-color: #3a3a3a; color: #888; }
body.list3 .cover-mod,
body.list3 .card-name { background: #333; }
body.list3 .cover-mod a:hover,
body.list3 .card-name a:hover { background: #444; }
body.list3 .cate-mod,
body.list3 .list-unit8,
body.list3 .head-ft,
body.list3 .sort-meta,
body.list3 .author-text2,
body.list3 .rank-hd,
body.list3 .mainmain,
body.list3 .wen-item2name,
body.list3 .info-block,
body.list3 .metalink,
body.list3 .shu-text,
body.list3 .info-ft,
body.list3 .iteminfo,
body.list3 .menu-grid { background: #2a2a2a; border-color: #444; }
body.list3 .box { background: #202020; border-color: #444; }
body.list3 .sort-link { color: #b8b8b8; }
body.list3 .cell,
body.list3 .sec-bar h2,
body.list3 .wen-item2name h2,
body.list3 .info-block h2,
body.list3 .shu-text h2,
body.list3 .info-ft h2,
body.list3 .iteminfo h2,
body.list3 .author-text2 h1,
body.list3 .metalink h1,
body.list3 .pic-main h2,
body.list3 .rank-hd h1 { background: #333; color: #ccc; border-color: #444; }
body.list3 .side-sec4 p,
body.list3 .new p,
body.list3 .area-text p,
body.list3 .bar-wrap6 p,
body.list3 .wen-item2name p,
body.list3 .wen p,
body.list3 .bar-block6 .cate6 { color: #aaa; }
body.list3 .unit-ft th { background: #333; color: #ccc; }
body.list3 .unit-ft th,
body.list3 .unit-ft td,
body.list3 .ft li,
body.list3 .hot-main li,
body.list3 .iteminfo li,
body.list3 .main-wrap li { border-color: #444; }
body.list3 .title-col5,
body.list3 .text-info input,
body.list3 .cate-info3 select { background: #222; color: #ddd; border-color: #555; }
@media (max-width: 768px) {
    .sort-bar { right: 10px; bottom: 14px; }
    .sort-bar button { width: 48px; height: 32px; font-size: 13px; }
}

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

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

.site { border: 3px solid #86c9e8; background: #eef6f6; margin-bottom: 22px; }
.site .imghd { height: 34px; line-height: 34px; padding: 0 12px; color: #456; border-bottom: 1px solid #b9dff1; background: #dcecef; }
.wenblock { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 14px 28px 18px; }
.item-text {
    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;
}
.item-text img {
    display: block;
    width: 100%;
    height: 176px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}
.rank-con h1 { font-size: 30px; line-height: 44px; color: #333; }
.col8 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-bottom: 1px dashed #86aebd; padding-bottom: 6px; margin-bottom: 8px; }
.col8 p { height: 28px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #444; }
.col8 .hot-line5 { color: #b54800; font-weight: 700; grid-column: 1 / -1; }
.cellblock { grid-column: 2; line-height: 1.8; color: #444; }
.time-ft5 { display: none; }
.mod { display: none; }
.date-link7 { border: 3px solid #4eadd0; background: #eef6f6; margin-bottom: 30px; }
.date-link7 h2 { height: 38px; line-height: 38px; text-align: center; background: #9fb6bd; color: #333; font-size: 16px; border-bottom: 1px solid #9fc9db; }
.date-link7 .cat { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 12px; list-style: none; }
.date-link7 .cat li { height: 40px; line-height: 40px; border-bottom: 1px dashed #9fb6bd; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-right: 16px; }
.date-link7 .cat.cat-sec4 li { font-weight: 700; }
.pic-modarea { display: grid; grid-template-columns: 250px 1fr 250px; gap: 18px; padding: 16px 12px; }
.pic-modarea a, .pic-modarea span, .pic-modarea button, .pic-modarea select { height: 40px; line-height: 40px; border: 0; text-align: center; border-radius: 3px; }
.pic-modarea a, .pic-modarea span, .pic-modarea button { background: #1e6f8a; color: #fff; cursor: pointer; font: inherit; }
.pic-modarea button:disabled { cursor: default; opacity: .65; }
.pic-modarea select { background: #fff; border: 1px solid #ddd; padding: 0 12px; text-align: left; }
.main-cell { background: #eee; padding: 18px 14px; margin-bottom: 20px; }
.main-cell h2 { text-align: center; color: #777; font-size: 16px; margin-bottom: 14px; font-weight: 400; }
.ft-mod { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 45px; }
.ft-mod a { display: block; height: 38px; line-height: 38px; text-align: center; background: #e3e3e3; color: #333; border-radius: 3px; }
@media (max-width: 768px) {
    .site, .date-link7 { border-width: 2px; margin-bottom: 12px; }
    .site .imghd { height: auto; line-height: 1.5; padding: 8px; }
    .wenblock { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 10px; align-items: start; }
    .item-text { width: 96px; min-height: 126px; padding: 4px; background: rgba(255,255,255,.45); }
    .item-text img { width: 100%; height: 118px; object-fit: contain; object-position: center; }
    .rank-con { min-width: 0; }
    .rank-con h1 { font-size: 18px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .col8 { display: block; border-bottom: 0; padding-bottom: 0; margin-bottom: 6px; }
    .col8 p { height: 26px; line-height: 26px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .time-ft5 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; grid-column: 1 / -1; margin: 2px 0 8px; }
    .nav-wrap { 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; }
    .nav-wrap:hover { color: #fff; text-decoration: none; opacity: .92; }
    .nav-wrap.card3 { background: #f0305a; }
    .nav-wrap.catbar { background: #f1a51e; }
    .nav-wrap.grid5 { background: #5b8cc3; }
    .cellblock { grid-column: 1 / -1; max-height: 118px; overflow: hidden; line-height: 1.85; color: #444; }
    .cellblock.author4 { max-height: none; }
    .mod { 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; }
    .date-link7 .cat { grid-template-columns: 1fr; padding: 0 8px; }
    .date-link7 .cat li { height: 36px; line-height: 36px; padding-right: 0; }
    .pic-modarea { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .pic-modarea select { grid-column: 1 / -1; order: -1; }
    .ft-mod { grid-template-columns: 1fr; gap: 8px; }
}

.sort-bar 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; }
.sort-bar a:hover { background: #4eadd0; color: #fff; text-decoration: none; }
@media (max-width: 768px) {
    .block2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .block2 a, .block2 span { width: 100%; }
    .sort-bar a { width: 48px; height: 32px; line-height: 32px; font-size: 13px; }
}

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

@media (max-width: 768px) {
    html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
    .wen-item2, .wen-text, .site-grid9, .cate-name, .box, .site, .date-link7 { max-width: 100%; overflow-x: hidden; }
    .top-ft { width: 100%; max-width: 100%; }
    .title-col5 { min-width: 0; }
    .novel-wrap { flex: 0 0 68px; width: 68px; }
    .card-name { max-width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
    .box { padding-left: 10px; padding-right: 10px; }
    .imghd { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .rank5 h1 { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
    .rank5 p { white-space: normal; overflow-wrap: anywhere; }
    .sort-link { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .sort-link p { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .sort-bar { right: 8px; }
}

.img-panel { 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; }
.img-panel:hover { color: #fff; background: rgba(255,255,255,.16); text-decoration: none; }
@media (max-width: 768px) {
    .cate-name { position: relative; }
    .img-panel { 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; }
    .img-panel:hover { color: #0871bd; background: rgba(255,255,255,.8); }
}

.bd-box {
    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;
}
.bd-box.grid5 { border-top: 1px dashed #d8cfbd; border-bottom: 0; margin-top: 8px; }
.bd-box span { color: #287dc2; }
.bd-box label { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.bd-box select { height: 28px; border: 1px solid #83bfe0; background: #fff; }
.bd-box button { height: 28px; border: 1px solid #1e8bd1; background: #fff; color: #006eb8; border-radius: 3px; cursor: pointer; }
.bd-box button.story-panel { background: #d8effc; font-weight: 700; }
@media (min-width: 1024px) {
    .box { position: relative; }
    .box > .imghd { padding-right: 390px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .box > .bd-box:not(.grid5) {
        position: absolute;
        top: 5px;
        right: 24px;
        z-index: 2;
        width: auto;
        padding: 0;
        background: transparent;
        border: 0;
    }
    .box > .bd-box.grid5 { display: none; }
}
.item-mod { margin: 18px 0; padding: 18px 14px; background: #eee; }
.item-mod h2 { text-align: center; color: #777; font-size: 16px; font-weight: 400; margin-bottom: 14px; }
.list-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 36px; }
.list-col 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.list3 .item-mod { background: #2a2a2a; }
body.list3 .list-col a { background: #333; color: #bbb; }
@media (max-width: 768px) {
    .bd-box { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; padding: 8px 0; border-bottom: 1px dashed #d8cfbd; }
    .bd-box.grid5 { border-top: 1px dashed #d8cfbd; border-bottom: 0; margin-top: 8px; }
    .bd-box button,
    .bd-box 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; }
    .bd-box button { cursor: pointer; }
    .bd-box a:hover { text-decoration: none; }
    body.list3 .bd-box button,
    body.list3 .bd-box a { background: #333; border-color: #555; color: #9eb8e8; }
    .item-mod { margin: 12px 0; padding: 12px 8px; }
    .list-col { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .list-col a { height: 32px; line-height: 32px; font-size: 13px; }
}

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

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

body.list3 .row-con a { color: #b8d7ef; text-shadow: 1px 1px 0 #1a3c55; }
body.list3 .box { background: #242424; }
body.list3 .rank5 h1 { color: #ddd; }
body.list3 .rank5 p,
body.list3 .imghd { color: #aaa; }
body.list3 .sort-link { color: #d2d2d2; }
body.list3 .sort-link p { color: #d2d2d2; }
body.list3.info5 .box,
body.list3.head-hd .box,
body.list3.area-line .box { background: #242424; }
@media (max-width: 768px) {
    .bd-box { grid-template-columns: auto 28px 28px 28px 1fr 42px; }
    body.list3 .bd-box { background: #2b2b2b; border-color: #555; }
}

:root { --reader-bg-custom: #E9FAFF; }
.box { background: var(--reader-bg-custom, #f6f1e7); }
body:not(.list3) .box { background: var(--reader-bg-custom, #E9FAFF); }
body:not(.list3) .sort-link { color: #333; }

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

@media (max-width: 768px) {
    .box > .imghd,
    .box > .rank5 { display: none; }
    .box { padding-top: 0; }
}

/* 关灯只作用于章节正文，头部、搜索、工具栏和翻页保持原样。 */
body.list3 { background: #e6f8fb; color: #555; }
body.list3 a { color: #4d6da8; }
body.list3 .head2 { background: #d9eef3; border-color: #b8dce7; color: #6d8f9e; }
body.list3 .site-grid9,
body.list3 .infoblock { background: #e6f8fb; border-color: #72c4e8; color: #555; }
body.list3 .cover-mod,
body.list3 .card-name { background: #79c2e3; }
body.list3 .cover-mod a,
body.list3 .card-name a { color: #fff; }
body.list3 .title-col5,
body.list3 .text-info input,
body.list3 .cate-info3 select { background: #fff; color: #333; border-color: #9bc7df; }
body.list3 .box,
body.list3.info5 .box,
body.list3.head-hd .box,
body.list3.area-line .box { background: #2f3437; border-color: #444; }
body.list3 .rank5 h1 { color: #ddd; }
body.list3 .rank5 p,
body.list3 .imghd { color: #aaa; }
body.list3 .block2 a,
body.list3 .block2 span { background: #363b3f; border-color: #555; color: #c8c8c8; }
body.list3 .bd-box { background: #2f3437; border-color: #555; }
body.list3 .bd-box span,
body.list3 .bd-box label { color: #c8c8c8; }
body.list3 .bd-box select,
body.list3 .bd-box button { background: #363b3f; border-color: #6b747b; color: #c8d7e8; }
body.list3 .sort-link { background: transparent; color: #aaa; }
body.list3 .desc-coverbd { border-color: #555; color: #bbb; }
body.list3 .sort-link p { color: #aaa; }
body.list3 .row-con a { color: #0871bd; text-shadow: 2px 2px 0 #c3e3f1; }
body.list3 .img-panel { color: #0871bd; border-color: #79c2e3; background: rgba(255,255,255,.55); }
body.list3 .img-panel:hover { color: #0871bd; background: rgba(255,255,255,.8); }
body.list3 .item-mod { background: #eee; }
body.list3 .item-mod h2 { color: #777; }
body.list3 .list-col a { background: #e3e3e3; color: #333; }
.hd-block3 { text-align: center; padding: 54px 20px 62px; border: 3px solid #86c9e8; background: #fffdf6; }
.hd-block3 h1 { margin-bottom: 12px; color: #287dc2; font-size: 30px; font-weight: 700; }
.hd-block3 p { margin: 8px 0; color: #555; }
.pic { display: inline-block; min-width: 110px; height: 34px; margin-top: 12px; line-height: 34px; background: #4eadd0; color: #fff; border-radius: 3px; }
.pic:hover { color: #fff; text-decoration: none; background: #287dc2; }
@media (max-width: 768px) {
    body.list3 .site-grid9 { background: #dff5fb; }
    .hd-block3 { padding: 42px 12px 48px; border-width: 2px; }
    .hd-block3 h1 { font-size: 24px; }
}

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

/* Home update/new panels alignment fix */
.read-ft .shu-text,
.read-ft .info-ft { align-self: start; }
.read-ft .ft,
.read-ft .hot-main { padding: 8px 10px; font-size: 13px; }
.read-ft .ft li,
.read-ft .hot-main li { height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; }
.read-ft .ft li { grid-template-columns: 92px 188px minmax(0, 1fr) 78px 42px; gap: 7px; }
.read-ft .hot-main li { grid-template-columns: 82px minmax(0, 1fr) 62px; gap: 7px; }
.read-ft .ft .head-col,
.read-ft .ft .author-text3,
.read-ft .ft .bar4,
.read-ft .ft .meta-panel6,
.read-ft .ft .info-bd4,
.read-ft .hot-main span,
.read-ft .hot-main a,
.read-ft .hot-main em { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 768px) {
    .read-ft .ft,
    .read-ft .hot-main { padding: 4px 8px; font-size: 14px; }
    .read-ft .ft li,
    .read-ft .hot-main li { height: 34px; line-height: 34px; }
    .read-ft .ft li { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
    .read-ft .hot-main li { grid-template-columns: minmax(0, 1fr) 88px; gap: 6px; }
}

/* rank-static-layout */
.sort-meta.grid-hd {
    display: block !important;
    border: 2px solid #86c7e7;
    background: #fffdf6;
    padding: 10px 12px;
    margin: 12px auto 0;
    box-sizing: border-box;
}
.sort-meta.grid-hd .novel-metalist {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 18px;
}
.sort-meta.grid-hd .ft4 {
    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;
}
.sort-meta.grid-hd .vol-line,
.sort-meta.grid-hd .vol-line img {
    display: block;
    width: 116px;
    height: 154px;
}
.sort-meta.grid-hd .vol-line img {
    object-fit: cover;
    border: 1px solid #b7cbd4;
    background: #f4f4f4;
    box-sizing: border-box;
}
.sort-meta.grid-hd .bar-wrap6 {
    min-width: 0;
    overflow: hidden;
}
.sort-meta.grid-hd .bar-wrap6 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;
}
.sort-meta.grid-hd .bar-wrap6 h2 a {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sort-meta.grid-hd .num-list {
    margin-left: auto;
    max-width: 66px;
    color: #aaa;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sort-meta.grid-hd .home-con {
    margin: 0;
    color: #333;
    font-size: 13px;
    line-height: 24px;
    text-indent: 2em;
    max-height: 120px;
    overflow: hidden;
}
.sort-meta.grid-hd .book4 {
    grid-column: 1 / -1;
    margin: 0;
    padding: 12px;
    color: #555;
}
@media (max-width: 720px) {
    .sort-meta.grid-hd {
        padding: 8px;
    }
    .sort-meta.grid-hd .novel-metalist {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .sort-meta.grid-hd .ft4 {
        min-height: 108px;
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 8px;
        padding: 8px 0;
    }
    .sort-meta.grid-hd .vol-line,
    .sort-meta.grid-hd .vol-line img {
        width: 76px;
        height: 100px;
    }
    .sort-meta.grid-hd .bar-wrap6 h2 {
        font-size: 14px;
        line-height: 20px;
    }
    .sort-meta.grid-hd .home-con {
        font-size: 13px;
        line-height: 20px;
        max-height: 60px;
        text-indent: 0;
    }
}
/* /rank-static-layout */

/* static rank page, bqg style */
.sort-meta.foot-info {
  display: block;
  border: 2px solid #8ed1ef;
  background: #fffdf6;
  padding: 12px;
}
.foot-info .panel-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  margin: 0 0 10px;
  min-height: 28px;
}
.foot-info .panel-block h2 {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  color: #444;
  font-weight: 700;
}
.foot-info .panel-block strong {
  grid-column: 2 / 3;
  text-align: center;
  font-size: 18px;
  line-height: 28px;
  color: #444;
}
.foot-info .novel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 12px;
}
.foot-info .grid-con {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  min-height: 156px;
  overflow: hidden;
}
.foot-info .time img {
  width: 110px;
  height: 148px;
  object-fit: cover;
  border: 1px solid #b7d2dd;
  background: #fff;
}
.foot-info .page-unit {
  min-width: 0;
}
.foot-info .grid-con 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;
}
.foot-info .grid-con h3 a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.foot-info .grid-con h3 span,
.foot-info .grid-con h3 em {
  color: #999;
  font-weight: 400;
  font-style: normal;
  white-space: nowrap;
}
.foot-info .tag-bar7 {
  margin: 4px 0;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
}
.foot-info .tag-bar7 a {
  display: inline;
}
.foot-info .home-con {
  margin: 6px 0 0;
  color: #333;
  font-size: 13px;
  line-height: 23px;
  max-height: 92px;
  overflow: hidden;
}
@media (max-width: 720px) {
  .sort-meta.foot-info {
    padding: 8px;
  }
  .foot-info .panel-block {
    display: flex;
    justify-content: space-between;
  }
  .foot-info .panel-block h2 {
    font-size: 20px;
  }
  .foot-info .panel-block strong {
    font-size: 16px;
  }
  .foot-info .novel {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .foot-info .grid-con {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 116px;
  }
  .foot-info .time img {
    width: 86px;
    height: 116px;
  }
  .foot-info .home-con {
    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; }
.wen-item2, .area-row, .cate-name, .cover { width: 980px; max-width: 980px; margin: 0 auto; }
.site-grid9 { background: #e6f8fb; }
.cate-name { height: 86px; display: flex; align-items: center; gap: 28px; }
.row-con { width: 180px; font-size: 34px; line-height: 1; font-family: Georgia, "Microsoft YaHei", serif; font-weight: 700; }
.row-con a { color: #0871bd; text-shadow: 2px 3px 3px rgba(0, 90, 150, .28); }
.row-con a:hover { text-decoration: none; color: #0871bd; }
.top-ft { margin-left: auto; flex: 0 0 470px; display: flex; height: 38px; border: 1px solid #9bd5ee; background: #fff; }
.title-col5 { flex: 1; height: 36px; padding: 0 12px; border: 0; font-size: 14px; outline: 0; }
.novel-wrap { width: 78px; height: 36px; border: 0; background: #ddd; color: #222; cursor: pointer; }
.cover-mod { width: 980px; max-width: 980px; height: 42px; margin: 0 auto; background: #74c0df; display: block; overflow: hidden; }
.cover { display: flex; height: 42px; width: 980px; }
.cover-mod a { display: block; color: #fff; font-weight: 700; line-height: 42px; padding: 0 12px; white-space: nowrap; }
.cover-mod a:hover, .cover-mod a.story-panel { background: #57acd2; color: #fff; text-decoration: none; }
.wen-text { padding: 12px 0 20px; }

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

.bar { display: grid; grid-template-columns: repeat(3, 1fr); border: 3px solid #9bd5ee; background: #fffdf5; margin-bottom: 12px; }
.side-cover2 { min-height: 275px; padding: 8px 12px; border-right: 1px dotted #9bd5ee; border-bottom: 1px solid #ddd; overflow: hidden; }
.side-cover2:nth-child(3n) { border-right: 0; }
.side-cover2 h2 { margin: 0 0 8px; height: 24px; line-height: 24px; border-bottom: 1px solid #cddbe0; font-size: 16px; color: #333; }
.side-cover2 .item-hd { grid-template-columns: 86px 1fr; min-height: 116px; margin-bottom: 6px; }
.side-cover2 .head-link7, .side-cover2 .head-link7 img { width: 86px; }
.side-cover2 .head-link7 img { height: 116px; }
.side-cover2 .img h3 { font-size: 14px; height: 24px; line-height: 24px; }
.side-cover2 .img p { height: 96px; font-size: 13px; line-height: 24px; }
.inforow, .link-box8, .cate-box5, .title-area { list-style: none; margin: 0; padding: 0; }
.inforow li { display: flex; align-items: center; height: 24px; line-height: 24px; border-top: 1px solid #ddd; overflow: hidden; }
.inforow a { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.inforow span { width: 74px; margin-left: 6px; color: #666; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.newcol { display: grid; grid-template-columns: 1fr 300px; gap: 12px; margin-bottom: 12px; }
.name-cell6, .sec, .item6 { border: 3px solid #9bd5ee; background: #eefafa; }
.name-cell6 h2, .sec h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd5ee; font-size: 16px; color: #333; }
.cate-box5 li, .link-box8 li, .title-area li { display: grid; align-items: center; min-height: 30px; line-height: 30px; border-bottom: 1px solid #d1e3e8; overflow: hidden; }
.cate-box5 li { grid-template-columns: 88px minmax(120px,1.15fr) minmax(180px,1.45fr) 90px 50px; column-gap: 8px; padding: 0 10px; }
.link-box8 li { grid-template-columns: 76px minmax(0, 1fr) 76px; column-gap: 0; padding: 0 10px; }
.link-box8 li.book-name2 { grid-template-columns: 76px minmax(0, 1fr); }
.title-area li { grid-template-columns: 90px minmax(220px,1fr) minmax(240px,1.2fr) 120px 78px; column-gap: 8px; padding: 0 12px; }
.cate-box5 a, .link-box8 a, .title-area a, .cha-line, .area-panel, .cont-con8, .wrapcell, .link-box8 em { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cha-line { color: #555; }
.area-panel, .cont-con8, .wrapcell, .link-box8 em { color: #777; font-style: normal; text-align: right; }
.item6 { padding-bottom: 8px; }
.item6 h2 { height: 42px; line-height: 42px; padding: 0 12px; background: #fff; border-bottom: 1px solid #ddd; color: #0871bd; font-size: 18px; }
.vol-bd8 { display: grid; grid-template-columns: 160px minmax(160px, 1fr) 160px; gap: 12px; padding: 12px 10px 10px; background: #eefafa; }
.vol-bd8 button, .vol-bd8 select { width: 100%; height: 36px; border-radius: 2px; font: inherit; }
.vol-bd8 button { border: 0; background: #4badd3; color: #fff; cursor: pointer; }
.vol-bd8 button:disabled { opacity: .55; cursor: default; }
.vol-bd8 select { border: 1px solid #b9d7e3; background: #fff; padding: 0 10px; }
.side { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 5px; width: 100%; padding: 10px 6px; box-sizing: border-box; }
.side button, .side select { min-width: 0; padding-left: 3px; padding-right: 3px; font-size: 13px; }
.vol-item > [hidden] { display: none !important; }
.col-block8 { margin: 0; padding: 28px 20px; background: #fff; border: 1px solid #ddd; }
.col-block8 h2 { margin: 0 0 8px; font-size: 22px; color: #555; }
.col-block8 p, .unit-wrap2 { color: #555; }

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

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

@media (max-width: 1023px) {
  .wen-item2, .area-row, .cate-name, .cover-mod, .cover { width: auto; max-width: none; }
  .head2 { display: block; }
  .area-row { padding: 0 10px; justify-content: center; }
  .site-grid9 { padding: 10px; }
  .cate-name { height: auto; display: block; }
  .row-con { width: auto; margin-bottom: 8px; font-size: 28px; }
  .top-ft { width: 100%; max-width: none; margin: 0; flex-basis: auto; }
  .cover-mod { margin: 0 10px; height: 38px; overflow-x: auto; }
  .cover { display: flex; height: 38px; min-width: max-content; }
  .cover-mod a { line-height: 38px; padding: 0 12px; }
  .wen-text { padding: 8px 10px 16px; }
  .text-ft { display: block; padding: 8px; }
  .text-ft .item-hd { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .text-ft .head-link7, .text-ft .head-link7 img { width: 86px; }
  .text-ft .head-link7 img { height: 116px; }
  .bar { display: block; }
  .side-cover2 { min-height: 0; border-right: 0; }
  .newcol { display: flex; flex-direction: column; }
  .sec { order: 1; }
  .name-cell6 { order: 2; }
  .cate-box5 li { grid-template-columns: 1fr 1fr; gap: 0 10px; min-height: 28px; line-height: 28px; }
  .cate-box5 .cha-line, .cate-box5 .area-panel, .cate-box5 .wrapcell { display: none; }
  .link-box8 li { grid-template-columns: 1fr 72px; min-height: 28px; line-height: 28px; }
  .link-box8 li span { display: none; }
  .title-area li { grid-template-columns: 1fr 72px; min-height: 30px; line-height: 30px; }
  .title-area .cha-line, .title-area .area-meta9 { display: none; }
  .title-area .area-panel, .title-area .cont-con8 { text-align: right; }
  .item6 h2 { height: 36px; line-height: 36px; font-size: 16px; }
  .vol-bd8 { grid-template-columns: 1fr 1.25fr 1fr; gap: 8px; padding: 10px 8px; }
  .side { grid-template-columns: 1fr 1.25fr 1fr; }
  .title-hd3 { display: block; }
  .grid-name { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .vol-line img { width: 86px; height: 116px; }
}

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

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

  .col-ft8 .item-hd {
    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;
  }

  .col-ft8 .item-hd:last-child {
    border-bottom: 0;
  }

  .col-ft8 .head-link7,
  .col-ft8 .head-link7 img {
    width: 82px;
  }

  .col-ft8 .head-link7 img {
    height: 110px;
    object-fit: cover;
  }

  .col-ft8 .img {
    min-width: 0;
  }

  .col-ft8 .img 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;
  }

  .col-ft8 .img h3 a {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .col-ft8 .img 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;
  }

  .col-ft8 .img p {
    margin: 0;
    font-size: 13px;
    line-height: 22px;
    max-height: 66px;
    overflow: hidden;
  }

  .tag-hd {
    display: block;
    margin-top: 10px;
  }

  .tag-hd .name-cell6,
  .tag-hd .sec {
    width: 100%;
    margin: 0 0 10px;
    border: 2px solid #8fd1ed;
    box-sizing: border-box;
  }

  .tag-hd .name-cell6 h2,
  .tag-hd .sec h2 {
    padding: 8px 10px;
    font-size: 14px;
    line-height: 20px;
  }

  .tag-hd .cate-box5 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;
  }

  .tag-hd .cate-box5 .cha-line,
  .tag-hd .cate-box5 .block-bd,
  .tag-hd .cate-box5 .area-meta9 {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
  }

  .tag-hd .cate-box5 .cha-line {
    display: none;
  }

  .tag-hd .cate-box5 .area-panel,
  .tag-hd .cate-box5 .wrapcell {
    display: none;
  }

  .tag-hd .link-box8 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;
  }

  .tag-hd .link-box8 li.book-name2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .tag-hd .link-box8 li > span {
    display: none;
  }

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

/* desktop bqg scale restore */
@media (min-width: 1024px) {
  .wen-item2,
  .area-row,
  .cate-name,
  .cover {
    width: 1024px;
    max-width: 1024px;
  }

  .text-ft {
    gap: 14px 20px;
    padding: 10px 12px;
  }

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

  .text-ft .head-link7,
  .text-ft .head-link7 img {
    width: 120px;
  }

  .text-ft .head-link7 img {
    height: 160px;
  }

  .text-ft .img h3,
  .bar .img h3 {
    font-size: 15px;
    line-height: 23px;
  }

  .text-ft .img p,
  .bar .img p {
    font-size: 14px;
    line-height: 24px;
  }

  .side-cover2 {
    padding: 10px 12px;
  }

  .side-cover2 .item-hd {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    min-height: 124px;
  }

  .side-cover2 .head-link7,
  .side-cover2 .head-link7 img {
    width: 92px;
  }

  .side-cover2 .head-link7 img {
    height: 124px;
  }

  .inforow li,
  .link-box8 li,
  .cate-box5 li {
    font-size: 14px;
    min-height: 24px;
    line-height: 24px;
  }

  .name-cell6 h2,
  .sec h2,
  .side-cover2 h2 {
    font-size: 16px;
  }
}

/* 2026-07-12: desktop home layout restore: 4 featured + classic sidebar */
@media (min-width: 1024px) {
  .wen-item2,
  .area-row,
  .cate-name,
  .cover {
    width: 1024px;
    max-width: 1024px;
    box-sizing: border-box;
  }

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

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

  .block-panel {
    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;
  }

  .block-panel .text-ft {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
  }

  .block-panel .text-ft .item-hd {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    min-height: 160px;
    gap: 14px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .block-panel .text-ft .item-hd:nth-child(n+5) {
    display: none;
  }

  .block-panel .head-link7,
  .block-panel .head-link7 img {
    width: 120px;
    height: 160px;
    object-fit: cover;
  }

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

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

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

  .tag-info9 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;
  }

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

  .tag-info9 li a {
    color: #3366aa;
  }

  .tag-info9 li em {
    color: #666;
    text-align: right;
  }
}

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

  .block-panel .text-ft {
    display: block;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
  }

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

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

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

  .tag-info9 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;
  }

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

  .tag-info9 li em {
    text-align: right;
  }
}

/* 2026-07-12: force desktop nav/header width to 1024px */
@media (min-width: 1024px) {
  .area-row,
  .cate-name,
  .cover,
  .wen-item2 {
    width: 1024px !important;
    max-width: 1024px !important;
    box-sizing: border-box;
  }

  .cover-mod,
  .card-name {
    width: 1024px !important;
    max-width: 1024px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }

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

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

.cover-mod a:hover,
.card-name a:hover,
.cover 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) {
  .area-row,
  .cate-name,
  .cover,
  .wen-item2,
  .cover-mod,
  .card-name {
    width: 1024px !important;
    max-width: 1024px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .cover-mod,
  .card-name {
    overflow: hidden !important;
  }
}

@media (max-width: 1023px) {
  .area-row,
  .cate-name,
  .cover,
  .wen-item2,
  .cover-mod,
  .card-name {
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .wen-item2,
  .cate-name,
  .area-row {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

  .cover-mod,
  .card-name {
    margin-left: 10px !important;
    margin-right: 10px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

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

/* nav-hover-disabled: 导航条不保留 hover / focus / active 印记 */
.site-grid9 nav a:hover,
.site-grid9 nav a:focus,
.site-grid9 nav a.story-panel,
.site-grid9 nav .story-panel,
.cate-name nav a:hover,
.cate-name nav a:focus,
.cate-name nav a.story-panel,
.cate-name nav .story-panel,
.cover-mod a:hover,
.cover-mod a:focus,
.cover-mod a.story-panel,
.cover-mod .story-panel,
.card-name a:hover,
.card-name a:focus,
.card-name a.story-panel,
.card-name .story-panel {
    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) {
    .area-row,
    .site-grid9 .cate-name,
    .cate-name,
    .wen-item2,
    .wen-text,
    .grid-bd,
    .num-bd,
    .list-sec,
    .cover-mod,
    .card-name {
        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;
    }

    .head2,
    .site-grid9,
    .wen-text,
    .infoblock,
    .area-row,
    .site-grid9 .cate-name,
    .cate-name,
    .wen-item2,
    .list-sec,
    .grid-bd,
    .num-bd,
    .descgrid,
    .cover-mod,
    .card-name {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .area-row,
    .site-grid9 .cate-name,
    .cate-name,
    .wen-item2,
    .grid-bd,
    .num-bd,
    .wen-text {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .site-grid9 .cate-name,
    .cate-name {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .row-con,
    .site-grid9 h1,
    .site-grid9 .row-con {
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
        text-align: left !important;
    }

    .img-panel {
        margin-left: auto !important;
    }

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

    .top-ft .title-col5,
    .top-ft input[type="text"] {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
    }

    .top-ft .novel-wrap,
    .top-ft button,
    .top-ft input[type="submit"] {
        flex: 0 0 82px !important;
        width: 82px !important;
    }

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

    .cover-mod a,
    .card-name a {
        flex: 0 0 auto !important;
        padding: 0 12px !important;
        text-align: center !important;
    }

    .sort-meta,
    .tool-row,
    .novel-metalist,
    .sort,
    .top-bd,
    .item6 .hot2,
    .title-area,
    .hot2,
    .hot-cover,
    .row-line,
    .story7,
    .site {
        display: block !important;
        grid-template-columns: none !important;
        columns: auto !important;
        width: 100% !important;
    }

    .pic-row9,
    .hot-img,
    .hot2 .date-info6,
    .title-area .date-info6,
    .hot-cover .date-info6,
    .row-line .date-info6,
    .story7 .date-info6,
    .site-area,
    .hd-box4 {
        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;
    }

    .pic-row9 img,
    .hot-img img,
    .vol-line img,
    .hot2 .date-info6 img,
    .title-area .date-info6 img,
    .hot-cover .date-info6 img,
    .row-line .date-info6 img,
    .story7 .date-info6 img,
    .site-area img,
    .hd-box4 img {
        width: 88px !important;
        height: 118px !important;
        object-fit: cover !important;
    }

    .bar-wrap6,
    .hd-line,
    .img,
    .wen,
    .hd-box4 dl,
    .hd-box4 .cover4 {
        min-width: 0 !important;
    }

    .author-ft,
    .main-sec,
    .sec-panel,
    .cont-block {
        display: block !important;
        grid-template-columns: none !important;
        width: 100% !important;
    }

    .author-ft > *,
    .main-sec > *,
    .sec-panel > *,
    .cont-block > * {
        width: 100% !important;
        margin-bottom: 10px !important;
        box-sizing: border-box !important;
    }
}

/* 导航条不保留 hover/focus/active 视觉印记 */
.cover-mod a:hover,
.cover-mod a:focus,
.cover-mod a:active,
.cover-mod a.story-panel,
.cover-mod .story-panel,
.card-name a:hover,
.card-name a:focus,
.card-name a:active,
.card-name a.story-panel,
.card-name .story-panel,
.site-grid9 nav a:hover,
.site-grid9 nav a:focus,
.site-grid9 nav a:active,
.site-grid9 nav a.story-panel,
.cate-name nav a:hover,
.cate-name nav a:focus,
.cate-name nav a:active,
.cate-name nav a.story-panel {
    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) {
  .block-panel .img p,
  .col-ft8 .img p {
    height: 130px;
    line-height: 26px;
  }
}

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

  .cate-name {
    height: 68px;
  }

  .cover-mod,
  .cover {
    height: 38px;
  }

  .cover-mod a,
  .cover a {
    line-height: 38px;
  }

  .wen-text {
    padding-top: 8px;
  }
}

/* Target-site adaptive header: up to 1023px mobile; 1024px and above desktop. */
.desc-cover,
.vol-hd4 {
  display: none;
}

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

  .site-grid9 {
    padding: 0 !important;
    background: #e6f8fb !important;
  }

  .site-grid9 .cate-name,
  .cate-name {
    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;
  }

  .site-grid9 .row-con,
  .site-grid9 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;
  }

  .site-grid9 .row-con a {
    color: #0871bd !important;
    text-shadow: 2px 3px 3px rgba(0, 90, 150, .28) !important;
  }

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

  .desc-cover 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;
  }

  .vol-hd4 {
    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;
  }

  .vol-hd4 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;
  }

  .site-grid9 .top-ft,
  .cate-name .top-ft {
    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;
  }

  .site-grid9 .top-ft .title-col5,
  .site-grid9 .top-ft input[type="text"] {
    height: 34px !important;
    border: 1px solid #8dcde7 !important;
    border-right: 0 !important;
  }

  .site-grid9 .top-ft .novel-wrap,
  .site-grid9 .top-ft button {
    flex: 0 0 82px !important;
    width: 82px !important;
    height: 34px !important;
    border: 1px solid #8dcde7 !important;
    background: #ddd !important;
    color: #222 !important;
  }

  body > .cover-mod,
  body > nav.cover-mod {
    display: none !important;
  }

  .wen-text {
    padding-top: 0 !important;
  }

  .block-panel {
    margin-top: 0 !important;
  }

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

  .wenblock .item-text {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 96px !important;
    min-height: 126px !important;
    padding: 4px !important;
  }

  .wenblock .item-text img {
    width: 100% !important;
    height: 118px !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  .wenblock .rank-con {
    display: contents !important;
  }

  .wenblock .rank-con 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;
  }

  .wenblock .col8 {
    grid-column: 2 !important;
    grid-row: 2 !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .wenblock .col8 p {
    height: 25px !important;
    line-height: 25px !important;
  }

  .wenblock .time-ft5 {
    grid-column: 1 / -1 !important;
    grid-row: 5 !important;
    margin: 2px 0 0 !important;
  }

  .wenblock .cellblock {
    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;
  }

  .wenblock .cellblock.author4 {
    max-height: none !important;
  }

  .wenblock .mod {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
  }

  .date-link7 .cat {
    grid-template-columns: 1fr !important;
  }

  .box .main-cell {
    margin: 14px 0 0 !important;
    padding: 14px 10px 16px !important;
    background: #fff !important;
  }

  .box .main-cell h2 {
    margin-bottom: 12px !important;
    color: #888 !important;
    font-weight: 400 !important;
  }

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

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

  .wen-text .wen-item2 > .main-cell {
    margin: 0 0 14px !important;
    padding: 14px 10px 16px !important;
    background: #fff !important;
  }

  .wen-text .wen-item2 > .main-cell .ft-mod {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 14px !important;
  }

  .wen-text .wen-item2 > .main-cell .ft-mod 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) {
  .tag-hd .cate-box5 li {
    height: 35px;
    min-height: 35px;
    line-height: 35px;
  }

  .tag-hd .link-box8 li,
  .tag-hd .link-box8 li.book-name2 {
    height: 30px;
    min-height: 30px;
    line-height: 30px;
  }

  /* 数据不足49条时，左右条数相同，统一使用35px行高。 */
  .tag-hd.meta-unit .link-box8 li,
  .tag-hd.meta-unit .link-box8 li.book-name2 {
    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. */
.tag-hd { align-items: stretch; }
.tag-hd .name-cell6,
.tag-hd .sec { min-width: 0; }
.tag-hd .sec { display: flex; flex-direction: column; }
.tag-hd .sec .link-box8 { flex: 0 0 auto; }
.tag-hd .hd {
  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;
}
.tag-hd .hd > a,
.tag-hd .hd > span,
.tag-hd .hd > select {
  width: 100%;
  height: 36px;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
.tag-hd .hd > a,
.tag-hd .hd > span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.tag-hd .hd > select {
  border: 1px solid #b9d7e3;
  background: #fff;
  padding: 0 10px;
}
.tag-hd .meta5 {
  margin: auto 0 0;
  padding: 12px 10px 10px;
  border-top: 1px solid #cbdde3;
  box-sizing: border-box;
}
.tag-hd .meta5 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) {
  .tag-hd .hd {
    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) {
  .wen-text.pic-mod,
  .wen-text.title-cell2,
  .wen-text.site-ft {
    width: 100% !important;
    max-width: none !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    box-sizing: border-box !important;
  }

  .wen-text.pic-mod > .wen-item2,
  .wen-text.title-cell2 > .wen-item2,
  .wen-text.site-ft > .wen-item2 {
    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;
  }

  .wen-text.num-sec {
    width: 100% !important;
    max-width: none !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    box-sizing: border-box !important;
  }

  .wen-text.num-sec > .wen-item2 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .wen-text.num-sec .box {
    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;
  }

  .wen-text.num-sec .sort-link {
    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;
  }

  .wen-text.num-sec .bd-box,
  .wen-text.num-sec .block2 {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}
