* { 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%; }
.panel, .head, .cell, .chabar, .story-con { max-width: 980px; margin: 0 auto; }

.row-bdmeta { height: 30px; background: #f7f7f7; border-bottom: 1px solid #ddd; color: #777; font-size: 12px; }
.head { display: flex; gap: 24px; align-items: center; height: 30px; }
.page { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.page:hover { color: #0871bd; text-decoration: underline; }
.item-text4 { background: #2f8ed8; }
.cell { height: 76px; display: flex; align-items: center; gap: 28px; }
.cat-con { width: 170px; font-size: 34px; line-height: 1; font-weight: 700; }
.cat-con a { color: #fff; letter-spacing: 0; }
.cat-con a:hover { color: inherit; text-decoration: none; }
.mod-area7 { flex: 1; display: flex; max-width: 470px; }
.area8 { flex: 1; height: 38px; padding: 0 12px; border: 0; outline: 0; font-size: 14px; }
.col-hd { width: 78px; height: 38px; border: 0; background: #f5a623; color: #fff; font-size: 15px; cursor: pointer; }
.item-mod { margin-left: auto; display: flex; gap: 10px; }
.item-mod a { color: #fff; padding: 5px 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 2px; }

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

.cell-name { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 12px; }
.tag-panel, .hot-area2, .wrap-unit, .area-line, .home-cover, .sec-img7, .img-bd3 { background: #fff; border: 1px solid #ddd; }
.tag-panel { display: grid; grid-template-columns: 1fr 1fr; padding: 12px; gap: 12px; }
.vol { display: flex; min-height: 132px; overflow: hidden; }
.vol .panel-row { width: 88px; flex: 0 0 88px; margin-right: 12px; }
.vol .panel-row img { width: 88px; height: 120px; object-fit: cover; border: 1px solid #ddd; }
.vol dt { height: 28px; line-height: 28px; overflow: hidden; font-weight: 700; }
.vol dt span { float: right; max-width: 72px; color: #888; font-size: 12px; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.vol dd { color: #555; height: 88px; overflow: hidden; font-size: 13px; }
.vol dd a { color: #555; }
.side, .wrap-unit h2, .home-cover h2, .sec-img7 h2 { height: 38px; line-height: 38px; padding: 0 12px; border-bottom: 1px solid #ddd; background: #f9f9f9; color: #287dc2; font-size: 16px; }
.main-line, .nav-text6, .novel, .home-hd, .text-bd3 { list-style: none; }
.main-line li, .novel li, .text-bd3 li { display: flex; height: 35px; line-height: 35px; padding: 0 12px; border-bottom: 1px dashed #e5e5e5; overflow: hidden; }
.hd-col, .img-info { width: 86px; color: #888; flex: 0 0 86px; }
.main-con, .foot-col { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.box4 { width: 220px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cell-con6, .author-hd4 { width: 88px; color: #777; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.story-con8 { width: 70px; color: #888; text-align: right; }

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

.area-line { display: flex; padding: 18px; margin-bottom: 12px; }
.area-line .tool-con { width: 150px; flex: 0 0 150px; margin-right: 22px; }
.area-line .tool-con img { width: 150px; height: 200px; object-fit: cover; border: 1px solid #ccc; padding: 2px; background: #fff; }
.author-list h1 { height: 44px; line-height: 44px; font-size: 28px; font-weight: 500; border-bottom: 1px dashed #ddd; margin-bottom: 8px; }
.author-list p { height: 30px; line-height: 30px; color: #555; }
.site-text5 { margin-top: 18px; display: flex; gap: 12px; }
.tag-panel4 { display: inline-block; min-width: 110px; height: 36px; line-height: 36px; text-align: center; background: #287dc2; color: #fff; border-radius: 2px; }
.tag-panel4.list { background: #f5a623; }
.tag-panel4:hover { color: #fff; text-decoration: none; opacity: .9; }
.home-cover { margin-bottom: 12px; }
.home-cover p { padding: 14px 16px; color: #555; text-indent: 2em; }
.home-hd { display: grid; grid-template-columns: repeat(3, 1fr); padding: 10px 12px; }
.home-hd li { height: 34px; line-height: 34px; border-bottom: 1px dashed #e5e5e5; overflow: hidden; padding-right: 18px; white-space: nowrap; text-overflow: ellipsis; }
.img-bd3 h1 { height: 42px; line-height: 42px; padding: 0 12px; font-size: 18px; color: #287dc2; border-bottom: 1px solid #ddd; background: #f9f9f9; }

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

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

@media (max-width: 768px) {
    .panel, .head, .cell, .chabar, .story-con { width: 100%; max-width: none; }
    .row-bdmeta { display: none; }
    .item-text4 { padding: 10px; }
    .cell { height: auto; display: block; }
    .cat-con { width: auto; margin-bottom: 10px; font-size: 28px; text-align: center; }
    .mod-area7 { max-width: none; }
    .item-mod { display: none; }
    .chabar { display: none; }
    .story-con { display: flex; overflow-x: auto; background: #287dc2; }
    .story-con a { color: #fff; line-height: 38px; padding: 0 14px; white-space: nowrap; }
    .block2 { padding: 8px; }
    .cell-name, .cate-sec { display: block; }
    .tag-panel { grid-template-columns: 1fr; margin-bottom: 10px; }
    .hot-area2, .wrap-unit { margin-bottom: 10px; }
    .hd-col, .box4, .cell-con6, .img-info, .author-hd4, .story-con8 { display: none; }
    .nav-text6 { columns: 1; }
    .area-line { display: block; text-align: center; }
    .area-line .tool-con { margin: 0 auto 12px; }
    .author-list h1 { height: auto; line-height: 1.4; font-size: 24px; }
    .site-text5 { justify-content: center; }
    .home-hd { grid-template-columns: 1fr; }
    .time-list6 { padding: 0 12px 18px; }
    .block-img h1 { font-size: 22px; }
    .box-info7 { font-size: 18px; line-height: 1.95; padding: 14px 0; }
    .bar-meta { display: block; font-size: 18px; margin-bottom: 12px; padding-bottom: 8px; line-height: 1.45; }
    .vol9 { gap: 8px; }
    .vol9 a, .vol9 span { min-width: 0; flex: 1; }
}

.shu-hd { background: #fff; border: 1px solid #ddd; padding: 14px; }
.shu-hd h1 { height: 38px; line-height: 38px; font-size: 18px; color: #287dc2; border-bottom: 1px solid #ddd; margin-bottom: 14px; }
.hd-grid { display: flex; max-width: 560px; margin-bottom: 12px; }
.hd-grid input { flex: 1; height: 36px; padding: 0 10px; border: 1px solid #ccc; border-right: 0; outline: 0; }
.hd-grid button { width: 76px; border: 0; background: #287dc2; color: #fff; cursor: pointer; }
.menucon { color: #777; padding: 8px 0 12px; }
.info-line9 { list-style: none; }
.info-line9 li { display: flex; padding: 12px 0; border-top: 1px dashed #e5e5e5; }
.info-line9 li[hidden] { display: none !important; }
.info-line9 li.date-unit2 { display: block; color: #888; }
.nav-item8 { width: 72px; flex: 0 0 72px; margin-right: 12px; }
.nav-item8 img { width: 72px; height: 96px; object-fit: cover; border: 1px solid #ddd; }
.ft7 h2 { font-size: 16px; height: 28px; line-height: 28px; overflow: hidden; }
.ft7 .desccell { color: #888; font-size: 13px; margin-bottom: 4px; }
.ft7 .img-sec { color: #555; height: 48px; overflow: hidden; line-height: 1.7; }
@media (max-width: 768px) {
    .shu-hd { padding: 10px; }
    .hd-grid { max-width: none; }
}

/* Screenshot-style desktop home layout */
body { background: #e6f8fb; color: #555; font-size: 14px; }
a { color: #4d6da8; }
.panel, .head, .cell, .chabar, .story-con { max-width: 1160px; }
.row-bdmeta { background: #d9eef3; border-bottom: 1px solid #b8dce7; }
.head { color: #6d8f9e; }
.item-text4 { background: #e6f8fb; }
.cell { height: 82px; gap: 24px; }
.cat-con { width: 150px; font-size: 36px; font-family: Georgia, "Microsoft YaHei", serif; text-shadow: 2px 2px 0 #c3e3f1; }
.cat-con a { color: #0871bd; }
.mod-area7 { max-width: 480px; margin-left: auto; }
.area8 { height: 36px; border: 1px solid #9bc7df; background: #fff; }
.col-hd { height: 36px; background: #ddd; color: #222; }
.item-mod { display: none; }
.chabar { height: 44px; background: #79c2e3; padding: 0 10px; }
.chabar a { line-height: 44px; padding: 0 11px; border-right: 0; color: #fff; font-weight: 700; }
.chabar a:hover { background: #5eb1d8; }
.block2 { padding: 12px 0 24px; }

.hd { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 22px; padding: 14px; margin-bottom: 22px; border: 3px solid #b9dff1; background: #fffdf6; }
.desc-ft { display: grid; grid-template-columns: 126px 1fr; gap: 12px; min-height: 176px; }
.sort8area img { width: 126px; height: 170px; object-fit: cover; border: 1px solid #abc6d4; padding: 3px; background: #fff; }
.date-main2 h2 { height: 28px; line-height: 28px; font-size: 15px; border-bottom: 1px dotted #c7d8e3; overflow: hidden; }
.date-main2 h2 a { color: #5b6fad; font-weight: 700; }
.date-main2 h2 span { float: right; color: #aaa; font-weight: 400; }
.date-main2 p { padding-top: 8px; color: #555; line-height: 1.85; height: 132px; overflow: hidden; text-indent: 2em; }
.sec { display: grid; grid-template-columns: 1fr 335px; gap: 14px; align-items: start; }
.num-meta3, .pic-main { border: 3px solid #86c9e8; background: #eef6f6; }
.num-meta3 h2, .pic-main h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd3e9; color: #456; font-size: 16px; }
.author-item, .infocon { list-style: none; padding: 8px 12px; }
.author-item 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; }
.author-item .page-meta { color: #555; }
.author-item .vol7, .author-item .time9, .author-item .sort { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.author-item .sort, .author-item .menuwrap { color: #aaa; text-align: right; }
.infocon li { display: grid; grid-template-columns: 78px 1fr 58px; gap: 6px; height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; overflow: hidden; }
.infocon span { color: #555; }
.infocon a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.infocon em { color: #666; font-style: normal; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.home-cell { display: grid; grid-template-columns: 190px 1fr 190px; gap: 18px; padding: 14px 12px; }
.home-cell a, .home-cell select { height: 40px; border: 0; background: #4eadd0; color: #fff; text-align: center; border-radius: 3px; font-weight: 700; }
.home-cell a { line-height: 40px; }
.home-cell select { background: #fff; color: #222; border: 1px solid #d8e2e4; padding: 0 12px; }
.num { 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; }
    .panel, .head, .cell, .chabar, .story-con { width: 100%; max-width: none; }
    .row-bdmeta { display: none; }
    .item-text4 { padding: 10px; background: #dff5fb; }
    .cell { display: block; height: auto; }
    .cat-con { width: auto; font-size: 30px; text-align: left; margin: 0 0 10px; padding-right: 58px; }
    .mod-area7 { max-width: none; display: flex; margin-left: 0; }
    .area8 { height: 38px; font-size: 14px; }
    .col-hd { width: 72px; height: 38px; }
    .chabar { display: none; }
    .story-con { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); overflow: hidden; height: 40px; background: #79c2e3; padding: 0; }
    .story-con a { min-width: 0; color: #fff; line-height: 40px; padding: 0 2px; text-align: center; font-weight: 700; white-space: nowrap; }
    .cell .story-con { margin-bottom: 8px; }
    .block2 { padding: 8px; }
    .hd { display: block; padding: 8px; margin-bottom: 10px; border-width: 2px; }
    .desc-ft { display: grid; grid-template-columns: 82px 1fr; gap: 10px; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #d8e2e4; }
    .desc-ft:last-child { border-bottom: 0; }
    .sort8area img { width: 82px; height: 110px; padding: 2px; }
    .date-main2 h2 { height: 24px; line-height: 24px; font-size: 15px; }
    .date-main2 h2 span { display: none; }
    .date-main2 p { height: 78px; line-height: 1.7; padding-top: 5px; text-indent: 0; }
    .sec { display: block; }
    .novel-hd { display: flex; flex-direction: column; }
    .novel-hd .pic-main { order: 1; }
    .novel-hd .num-meta3 { order: 2; }
    .num-meta3, .pic-main { border-width: 2px; margin-bottom: 10px; }
    .num-meta3 h2, .pic-main h2 { height: 34px; line-height: 34px; font-size: 15px; }
    .author-item, .infocon { padding: 4px 8px; }
    .author-item 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; }
    .author-item .sort, .author-item .menuwrap { display: none; }
    .author-item .page-meta { display: block; width: auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #555; }
    .author-item .vol7 { font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .author-item .time9 { color: #777; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .infocon li { grid-template-columns: minmax(0, 1fr) 88px; height: 34px; line-height: 34px; }
    .infocon span { display: none; }
    .home-cell { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .home-cell select { grid-column: 1 / -1; order: -1; }
    .num { padding: 14px 8px; line-height: 1.7; }
}

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

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

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

.row-col4 { position: fixed; right: 18px; bottom: 26px; z-index: 50; display: grid; gap: 8px; }
.row-col4 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); }
.row-col4 button:hover { background: #4eadd0; }
body.new { background: #1e1e1e; color: #aaa; }
body.new a { color: #9eb8e8; }
body.new .row-bdmeta,
body.new .item-text4,
body.new .num { background: #252525; border-color: #3a3a3a; color: #888; }
body.new .chabar,
body.new .story-con { background: #333; }
body.new .chabar a:hover,
body.new .story-con a:hover { background: #444; }
body.new .hd,
body.new .area-text,
body.new .hd-box,
body.new .bd-box9,
body.new .story,
body.new .shu-hd,
body.new .area-line,
body.new .home-cover,
body.new .sec-img7,
body.new .img-bd3,
body.new .num-meta3,
body.new .pic-main,
body.new .title-area,
body.new .menuline { background: #2a2a2a; border-color: #444; }
body.new .time-list6 { background: #202020; border-color: #444; }
body.new .box-info7 { color: #b8b8b8; }
body.new .side,
body.new .wrap-unit h2,
body.new .home-cover h2,
body.new .sec-img7 h2,
body.new .num-meta3 h2,
body.new .pic-main h2,
body.new .title-area h2,
body.new .story h1,
body.new .img-bd3 h1,
body.new .navcell h2,
body.new .shu-hd h1 { background: #333; color: #ccc; border-color: #444; }
body.new .date-main2 p,
body.new .mod-name2 p,
body.new .unit-wrap p,
body.new .hot-info5 p,
body.new .home-cover p,
body.new .author-list p,
body.new .ft7 .img-sec { color: #aaa; }
body.new .update-sec9 th { background: #333; color: #ccc; }
body.new .update-sec9 th,
body.new .update-sec9 td,
body.new .author-item li,
body.new .infocon li,
body.new .title-area li,
body.new .nav-info li { border-color: #444; }
body.new .area8,
body.new .hd-grid input,
body.new .home-cell select { background: #222; color: #ddd; border-color: #555; }
@media (max-width: 768px) {
    .row-col4 { right: 10px; bottom: 14px; }
    .row-col4 button { width: 48px; height: 32px; font-size: 13px; }
}

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

.novel-hd { display: grid; grid-template-columns: 1fr 335px; gap: 14px; align-items: start; margin-top: 16px; }
@media (max-width: 768px) {
    .novel-hd { display: flex; flex-direction: column; width: 100%; max-width: 100%; margin-top: 10px; }
    .novel-hd .pic-main { order: 1; }
    .novel-hd .num-meta3 { order: 2; }
    .novel-hd .pic-main,
    .novel-hd .num-meta3 { width: 100%; max-width: 100%; min-width: 0; }
}

.row-info9 { border: 3px solid #86c9e8; background: #eef6f6; margin-bottom: 22px; }
.row-info9 .ft-line { height: 34px; line-height: 34px; padding: 0 12px; color: #456; border-bottom: 1px solid #b9dff1; background: #dcecef; }
.img-cover { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 14px 28px 18px; }
.menu-bar {
    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;
}
.menu-bar img {
    display: block;
    width: 100%;
    height: 176px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}
.cont-wrap5 h1 { font-size: 30px; line-height: 44px; color: #333; }
.book-area { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-bottom: 1px dashed #86aebd; padding-bottom: 6px; margin-bottom: 8px; }
.book-area p { height: 28px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #444; }
.book-area .panel5 { color: #b54800; font-weight: 700; grid-column: 1 / -1; }
.listbox { grid-column: 2; line-height: 1.8; color: #444; }
.img-col { display: none; }
.pic-col4 { display: none; }
.box-panel { border: 3px solid #4eadd0; background: #eef6f6; margin-bottom: 30px; }
.box-panel h2 { height: 38px; line-height: 38px; text-align: center; background: #9fb6bd; color: #333; font-size: 16px; border-bottom: 1px solid #9fc9db; }
.box-panel .home-hd { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 12px; list-style: none; }
.box-panel .home-hd li { height: 40px; line-height: 40px; border-bottom: 1px dashed #9fb6bd; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-right: 16px; }
.box-panel .home-hd.side-col li { font-weight: 700; }
.nav-text { display: grid; grid-template-columns: 250px 1fr 250px; gap: 18px; padding: 16px 12px; }
.nav-text a, .nav-text span, .nav-text button, .nav-text select { height: 40px; line-height: 40px; border: 0; text-align: center; border-radius: 3px; }
.nav-text a, .nav-text span, .nav-text button { background: #1e6f8a; color: #fff; cursor: pointer; font: inherit; }
.nav-text button:disabled { cursor: default; opacity: .65; }
.nav-text select { background: #fff; border: 1px solid #ddd; padding: 0 12px; text-align: left; }
.img-grid6 { background: #eee; padding: 18px 14px; margin-bottom: 20px; }
.img-grid6 h2 { text-align: center; color: #777; font-size: 16px; margin-bottom: 14px; font-weight: 400; }
.hot-line5 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 45px; }
.hot-line5 a { display: block; height: 38px; line-height: 38px; text-align: center; background: #e3e3e3; color: #333; border-radius: 3px; }
@media (max-width: 768px) {
    .row-info9, .box-panel { border-width: 2px; margin-bottom: 12px; }
    .row-info9 .ft-line { height: auto; line-height: 1.5; padding: 8px; }
    .img-cover { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 10px; align-items: start; }
    .menu-bar { width: 96px; min-height: 126px; padding: 4px; background: rgba(255,255,255,.45); }
    .menu-bar img { width: 100%; height: 118px; object-fit: contain; object-position: center; }
    .cont-wrap5 { min-width: 0; }
    .cont-wrap5 h1 { font-size: 18px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .book-area { display: block; border-bottom: 0; padding-bottom: 0; margin-bottom: 6px; }
    .book-area p { height: 26px; line-height: 26px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .img-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; grid-column: 1 / -1; margin: 2px 0 8px; }
    .cell-item7 { 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; }
    .cell-item7:hover { color: #fff; text-decoration: none; opacity: .92; }
    .cell-item7.desc-grid7 { background: #f0305a; }
    .cell-item7.hdmod { background: #f1a51e; }
    .cell-item7.unit-hd { background: #5b8cc3; }
    .listbox { grid-column: 1 / -1; max-height: 118px; overflow: hidden; line-height: 1.85; color: #444; }
    .listbox.area-unit { max-height: none; }
    .pic-col4 { 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; }
    .box-panel .home-hd { grid-template-columns: 1fr; padding: 0 8px; }
    .box-panel .home-hd li { height: 36px; line-height: 36px; padding-right: 0; }
    .nav-text { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .nav-text select { grid-column: 1 / -1; order: -1; }
    .hot-line5 { grid-template-columns: 1fr; gap: 8px; }
}

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

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

@media (max-width: 768px) {
    html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
    .panel, .block2, .item-text4, .cell, .time-list6, .row-info9, .box-panel { max-width: 100%; overflow-x: hidden; }
    .mod-area7 { width: 100%; max-width: 100%; }
    .area8 { min-width: 0; }
    .col-hd { flex: 0 0 68px; width: 68px; }
    .story-con { max-width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
    .time-list6 { padding-left: 10px; padding-right: 10px; }
    .ft-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .block-img h1 { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
    .block-img p { white-space: normal; overflow-wrap: anywhere; }
    .box-info7 { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .box-info7 p { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .row-col4 { right: 8px; }
}

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

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

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

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

body.new .cat-con a { color: #b8d7ef; text-shadow: 1px 1px 0 #1a3c55; }
body.new .time-list6 { background: #242424; }
body.new .block-img h1 { color: #ddd; }
body.new .block-img p,
body.new .ft-line { color: #aaa; }
body.new .box-info7 { color: #d2d2d2; }
body.new .box-info7 p { color: #d2d2d2; }
body.new.item9 .time-list6,
body.new.hotline .time-list6,
body.new.tool-meta7 .time-list6 { background: #242424; }
@media (max-width: 768px) {
    .nav8 { grid-template-columns: auto 28px 28px 28px 1fr 42px; }
    body.new .nav8 { background: #2b2b2b; border-color: #555; }
}

:root { --reader-bg-custom: #E9FAFF; }
.time-list6 { background: var(--reader-bg-custom, #f6f1e7); }
body:not(.new) .time-list6 { background: var(--reader-bg-custom, #E9FAFF); }
body:not(.new) .box-info7 { color: #333; }

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

@media (max-width: 768px) {
    .time-list6 > .ft-line,
    .time-list6 > .block-img { display: none; }
    .time-list6 { padding-top: 0; }
}

/* 关灯只作用于章节正文，头部、搜索、工具栏和翻页保持原样。 */
body.new { background: #e6f8fb; color: #555; }
body.new a { color: #4d6da8; }
body.new .row-bdmeta { background: #d9eef3; border-color: #b8dce7; color: #6d8f9e; }
body.new .item-text4,
body.new .num { background: #e6f8fb; border-color: #72c4e8; color: #555; }
body.new .chabar,
body.new .story-con { background: #79c2e3; }
body.new .chabar a,
body.new .story-con a { color: #fff; }
body.new .area8,
body.new .hd-grid input,
body.new .home-cell select { background: #fff; color: #333; border-color: #9bc7df; }
body.new .time-list6,
body.new.item9 .time-list6,
body.new.hotline .time-list6,
body.new.tool-meta7 .time-list6 { background: #2f3437; border-color: #444; }
body.new .block-img h1 { color: #ddd; }
body.new .block-img p,
body.new .ft-line { color: #aaa; }
body.new .vol9 a,
body.new .vol9 span { background: #363b3f; border-color: #555; color: #c8c8c8; }
body.new .nav8 { background: #2f3437; border-color: #555; }
body.new .nav8 span,
body.new .nav8 label { color: #c8c8c8; }
body.new .nav8 select,
body.new .nav8 button { background: #363b3f; border-color: #6b747b; color: #c8d7e8; }
body.new .box-info7 { background: transparent; color: #aaa; }
body.new .bar-meta { border-color: #555; color: #bbb; }
body.new .box-info7 p { color: #aaa; }
body.new .cat-con a { color: #0871bd; text-shadow: 2px 2px 0 #c3e3f1; }
body.new .story-hd8 { color: #0871bd; border-color: #79c2e3; background: rgba(255,255,255,.55); }
body.new .story-hd8:hover { color: #0871bd; background: rgba(255,255,255,.8); }
body.new .date-sec { background: #eee; }
body.new .date-sec h2 { color: #777; }
body.new .title a { background: #e3e3e3; color: #333; }
.wrapinner { text-align: center; padding: 54px 20px 62px; border: 3px solid #86c9e8; background: #fffdf6; }
.wrapinner h1 { margin-bottom: 12px; color: #287dc2; font-size: 30px; font-weight: 700; }
.wrapinner p { margin: 8px 0; color: #555; }
.read-box { display: inline-block; min-width: 110px; height: 34px; margin-top: 12px; line-height: 34px; background: #4eadd0; color: #fff; border-radius: 3px; }
.read-box:hover { color: #fff; text-decoration: none; background: #287dc2; }
@media (max-width: 768px) {
    body.new .item-text4 { background: #dff5fb; }
    .wrapinner { padding: 42px 12px 48px; border-width: 2px; }
    .wrapinner h1 { font-size: 24px; }
}

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

/* Home update/new panels alignment fix */
.novel-hd .num-meta3,
.novel-hd .pic-main { align-self: start; }
.novel-hd .author-item,
.novel-hd .infocon { padding: 8px 10px; font-size: 13px; }
.novel-hd .author-item li,
.novel-hd .infocon li { height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; }
.novel-hd .author-item li { grid-template-columns: 92px 188px minmax(0, 1fr) 78px 42px; gap: 7px; }
.novel-hd .infocon li { grid-template-columns: 82px minmax(0, 1fr) 62px; gap: 7px; }
.novel-hd .author-item .page-meta,
.novel-hd .author-item .vol7,
.novel-hd .author-item .time9,
.novel-hd .author-item .sort,
.novel-hd .author-item .menuwrap,
.novel-hd .infocon span,
.novel-hd .infocon a,
.novel-hd .infocon em { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 768px) {
    .novel-hd .author-item,
    .novel-hd .infocon { padding: 4px 8px; font-size: 14px; }
    .novel-hd .author-item li,
    .novel-hd .infocon li { height: 34px; line-height: 34px; }
    .novel-hd .author-item li { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
    .novel-hd .infocon li { grid-template-columns: minmax(0, 1fr) 88px; gap: 6px; }
}

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

/* static rank page, bqg style */
.bd-box9.box-text7 {
  display: block;
  border: 2px solid #8ed1ef;
  background: #fffdf6;
  padding: 12px;
}
.box-text7 .update-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  margin: 0 0 10px;
  min-height: 28px;
}
.box-text7 .update-row h2 {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  color: #444;
  font-weight: 700;
}
.box-text7 .update-row strong {
  grid-column: 2 / 3;
  text-align: center;
  font-size: 18px;
  line-height: 28px;
  color: #444;
}
.box-text7 .home-row2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 12px;
}
.box-text7 .cat {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  min-height: 156px;
  overflow: hidden;
}
.box-text7 .img-inner img {
  width: 110px;
  height: 148px;
  object-fit: cover;
  border: 1px solid #b7d2dd;
  background: #fff;
}
.box-text7 .wen2 {
  min-width: 0;
}
.box-text7 .cat 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;
}
.box-text7 .cat h3 a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.box-text7 .cat h3 span,
.box-text7 .cat h3 em {
  color: #999;
  font-weight: 400;
  font-style: normal;
  white-space: nowrap;
}
.box-text7 .num-main2 {
  margin: 4px 0;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
}
.box-text7 .num-main2 a {
  display: inline;
}
.box-text7 .modgrid {
  margin: 6px 0 0;
  color: #333;
  font-size: 13px;
  line-height: 23px;
  max-height: 92px;
  overflow: hidden;
}
@media (max-width: 720px) {
  .bd-box9.box-text7 {
    padding: 8px;
  }
  .box-text7 .update-row {
    display: flex;
    justify-content: space-between;
  }
  .box-text7 .update-row h2 {
    font-size: 20px;
  }
  .box-text7 .update-row strong {
    font-size: 16px;
  }
  .box-text7 .home-row2 {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .box-text7 .cat {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 116px;
  }
  .box-text7 .img-inner img {
    width: 86px;
    height: 116px;
  }
  .box-text7 .modgrid {
    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; }
.panel, .head, .cell, .numunit { width: 980px; max-width: 980px; margin: 0 auto; }
.item-text4 { background: #e6f8fb; }
.cell { height: 86px; display: flex; align-items: center; gap: 28px; }
.cat-con { width: 180px; font-size: 34px; line-height: 1; font-family: Georgia, "Microsoft YaHei", serif; font-weight: 700; }
.cat-con a { color: #0871bd; text-shadow: 2px 3px 3px rgba(0, 90, 150, .28); }
.cat-con a:hover { text-decoration: none; color: #0871bd; }
.mod-area7 { margin-left: auto; flex: 0 0 470px; display: flex; height: 38px; border: 1px solid #9bd5ee; background: #fff; }
.area8 { flex: 1; height: 36px; padding: 0 12px; border: 0; font-size: 14px; outline: 0; }
.col-hd { width: 78px; height: 36px; border: 0; background: #ddd; color: #222; cursor: pointer; }
.chabar { width: 980px; max-width: 980px; height: 42px; margin: 0 auto; background: #74c0df; display: block; overflow: hidden; }
.numunit { display: flex; height: 42px; width: 980px; }
.chabar a { display: block; color: #fff; font-weight: 700; line-height: 42px; padding: 0 12px; white-space: nowrap; }
.chabar a:hover, .chabar a.block-grid { background: #57acd2; color: #fff; text-decoration: none; }
.block2 { padding: 12px 0 20px; }

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

.col-list { display: grid; grid-template-columns: repeat(3, 1fr); border: 3px solid #9bd5ee; background: #fffdf5; margin-bottom: 12px; }
.site { min-height: 275px; padding: 8px 12px; border-right: 1px dotted #9bd5ee; border-bottom: 1px solid #ddd; overflow: hidden; }
.site:nth-child(3n) { border-right: 0; }
.site h2 { margin: 0 0 8px; height: 24px; line-height: 24px; border-bottom: 1px solid #cddbe0; font-size: 16px; color: #333; }
.site .foot-con { grid-template-columns: 86px 1fr; min-height: 116px; margin-bottom: 6px; }
.site .tool-con, .site .tool-con img { width: 86px; }
.site .tool-con img { height: 116px; }
.site .new-inner h3 { font-size: 14px; height: 24px; line-height: 24px; }
.site .new-inner p { height: 96px; font-size: 13px; line-height: 24px; }
.box, .ft4, .novel, .text-bd3 { list-style: none; margin: 0; padding: 0; }
.box li { display: flex; align-items: center; height: 24px; line-height: 24px; border-top: 1px solid #ddd; overflow: hidden; }
.box a { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.box span { width: 74px; margin-left: 6px; color: #666; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.book-link { display: grid; grid-template-columns: 1fr 300px; gap: 12px; margin-bottom: 12px; }
.story-list3, .novel-box, .bd { border: 3px solid #9bd5ee; background: #eefafa; }
.story-list3 h2, .novel-box h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd5ee; font-size: 16px; color: #333; }
.novel li, .ft4 li, .text-bd3 li { display: grid; align-items: center; min-height: 30px; line-height: 30px; border-bottom: 1px solid #d1e3e8; overflow: hidden; }
.novel li { grid-template-columns: 88px minmax(120px,1.15fr) minmax(180px,1.45fr) 90px 50px; column-gap: 8px; padding: 0 10px; }
.ft4 li { grid-template-columns: 76px minmax(0, 1fr) 76px; column-gap: 0; padding: 0 10px; }
.ft4 li.head-inner6 { grid-template-columns: 76px minmax(0, 1fr); }
.text-bd3 li { grid-template-columns: 90px minmax(220px,1fr) minmax(240px,1.2fr) 120px 78px; column-gap: 8px; padding: 0 12px; }
.novel a, .ft4 a, .text-bd3 a, .sec-item, .top-unit, .pic-grid9, .grid-link, .ft4 em { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sec-item { color: #555; }
.top-unit, .pic-grid9, .grid-link, .ft4 em { color: #777; font-style: normal; text-align: right; }
.bd { padding-bottom: 8px; }
.bd h2 { height: 42px; line-height: 42px; padding: 0 12px; background: #fff; border-bottom: 1px solid #ddd; color: #0871bd; font-size: 18px; }
.box-sec { display: grid; grid-template-columns: 160px minmax(160px, 1fr) 160px; gap: 12px; padding: 12px 10px 10px; background: #eefafa; }
.box-sec button, .box-sec select { width: 100%; height: 36px; border-radius: 2px; font: inherit; }
.box-sec button { border: 0; background: #4badd3; color: #fff; cursor: pointer; }
.box-sec button:disabled { opacity: .55; cursor: default; }
.box-sec select { border: 1px solid #b9d7e3; background: #fff; padding: 0 10px; }
.sort-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 5px; width: 100%; padding: 10px 6px; box-sizing: border-box; }
.sort-row button, .sort-row select { min-width: 0; padding-left: 3px; padding-right: 3px; font-size: 13px; }
.area-info9 > [hidden] { display: none !important; }
.meta8 { margin: 0; padding: 28px 20px; background: #fff; border: 1px solid #ddd; }
.meta8 h2 { margin: 0 0 8px; font-size: 22px; color: #555; }
.meta8 p, .menu-col { color: #555; }

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

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

@media (max-width: 1023px) {
  .panel, .head, .cell, .chabar, .numunit { width: auto; max-width: none; }
  .row-bdmeta { display: block; }
  .head { padding: 0 10px; justify-content: center; }
  .item-text4 { padding: 10px; }
  .cell { height: auto; display: block; }
  .cat-con { width: auto; margin-bottom: 8px; font-size: 28px; }
  .mod-area7 { width: 100%; max-width: none; margin: 0; flex-basis: auto; }
  .chabar { margin: 0 10px; height: 38px; overflow-x: auto; }
  .numunit { display: flex; height: 38px; min-width: max-content; }
  .chabar a { line-height: 38px; padding: 0 12px; }
  .block2 { padding: 8px 10px 16px; }
  .mod { display: block; padding: 8px; }
  .mod .foot-con { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .mod .tool-con, .mod .tool-con img { width: 86px; }
  .mod .tool-con img { height: 116px; }
  .col-list { display: block; }
  .site { min-height: 0; border-right: 0; }
  .book-link { display: flex; flex-direction: column; }
  .novel-box { order: 1; }
  .story-list3 { order: 2; }
  .novel li { grid-template-columns: 1fr 1fr; gap: 0 10px; min-height: 28px; line-height: 28px; }
  .novel .sec-item, .novel .top-unit, .novel .grid-link { display: none; }
  .ft4 li { grid-template-columns: 1fr 72px; min-height: 28px; line-height: 28px; }
  .ft4 li span { display: none; }
  .text-bd3 li { grid-template-columns: 1fr 72px; min-height: 30px; line-height: 30px; }
  .text-bd3 .sec-item, .text-bd3 .item-info { display: none; }
  .text-bd3 .top-unit, .text-bd3 .pic-grid9 { text-align: right; }
  .bd h2 { height: 36px; line-height: 36px; font-size: 16px; }
  .box-sec { grid-template-columns: 1fr 1.25fr 1fr; gap: 8px; padding: 10px 8px; }
  .sort-row { grid-template-columns: 1fr 1.25fr 1fr; }
  .bd-inner { display: block; }
  .sec-unit { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .secname img { width: 86px; height: 116px; }
}

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

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

  .text-box .foot-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;
  }

  .text-box .foot-con:last-child {
    border-bottom: 0;
  }

  .text-box .tool-con,
  .text-box .tool-con img {
    width: 82px;
  }

  .text-box .tool-con img {
    height: 110px;
    object-fit: cover;
  }

  .text-box .new-inner {
    min-width: 0;
  }

  .text-box .new-inner 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;
  }

  .text-box .new-inner h3 a {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .text-box .new-inner 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;
  }

  .text-box .new-inner p {
    margin: 0;
    font-size: 13px;
    line-height: 22px;
    max-height: 66px;
    overflow: hidden;
  }

  .update-list5 {
    display: block;
    margin-top: 10px;
  }

  .update-list5 .story-list3,
  .update-list5 .novel-box {
    width: 100%;
    margin: 0 0 10px;
    border: 2px solid #8fd1ed;
    box-sizing: border-box;
  }

  .update-list5 .story-list3 h2,
  .update-list5 .novel-box h2 {
    padding: 8px 10px;
    font-size: 14px;
    line-height: 20px;
  }

  .update-list5 .novel 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;
  }

  .update-list5 .novel .sec-item,
  .update-list5 .novel .wrapwrap,
  .update-list5 .novel .item-info {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
  }

  .update-list5 .novel .sec-item {
    display: none;
  }

  .update-list5 .novel .top-unit,
  .update-list5 .novel .grid-link {
    display: none;
  }

  .update-list5 .ft4 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;
  }

  .update-list5 .ft4 li.head-inner6 {
    grid-template-columns: minmax(0, 1fr);
  }

  .update-list5 .ft4 li > span {
    display: none;
  }

  .update-list5 .ft4 span,
  .update-list5 .ft4 a,
  .update-list5 .ft4 em {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
  }
}

/* desktop bqg scale restore */
@media (min-width: 1024px) {
  .panel,
  .head,
  .cell,
  .numunit {
    width: 1024px;
    max-width: 1024px;
  }

  .mod {
    gap: 14px 20px;
    padding: 10px 12px;
  }

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

  .mod .tool-con,
  .mod .tool-con img {
    width: 120px;
  }

  .mod .tool-con img {
    height: 160px;
  }

  .mod .new-inner h3,
  .col-list .new-inner h3 {
    font-size: 15px;
    line-height: 23px;
  }

  .mod .new-inner p,
  .col-list .new-inner p {
    font-size: 14px;
    line-height: 24px;
  }

  .site {
    padding: 10px 12px;
  }

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

  .site .tool-con,
  .site .tool-con img {
    width: 92px;
  }

  .site .tool-con img {
    height: 124px;
  }

  .box li,
  .ft4 li,
  .novel li {
    font-size: 14px;
    min-height: 24px;
    line-height: 24px;
  }

  .story-list3 h2,
  .novel-box h2,
  .site h2 {
    font-size: 16px;
  }
}

/* 2026-07-12: desktop home layout restore: 4 featured + classic sidebar */
@media (min-width: 1024px) {
  .panel,
  .head,
  .cell,
  .numunit {
    width: 1024px;
    max-width: 1024px;
    box-sizing: border-box;
  }

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

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

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

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

  .cont .mod .foot-con {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    min-height: 160px;
    gap: 14px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .cont .mod .foot-con:nth-child(n+5) {
    display: none;
  }

  .cont .tool-con,
  .cont .tool-con img {
    width: 120px;
    height: 160px;
    object-fit: cover;
  }

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

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

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

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

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

  .rank-bd7 li a {
    color: #3366aa;
  }

  .rank-bd7 li em {
    color: #666;
    text-align: right;
  }
}

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

  .cont .mod {
    display: block;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
  }

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

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

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

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

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

  .rank-bd7 li em {
    text-align: right;
  }
}

/* 2026-07-12: force desktop nav/header width to 1024px */
@media (min-width: 1024px) {
  .head,
  .cell,
  .numunit,
  .panel {
    width: 1024px !important;
    max-width: 1024px !important;
    box-sizing: border-box;
  }

  .chabar,
  .story-con {
    width: 1024px !important;
    max-width: 1024px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }

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

/* 2026-07-12: remove current-menu selection mark, keep nav visually flat */
.chabar a.block-grid,
.chabar a[aria-current="page"],
.story-con a.block-grid,
.story-con a[aria-current="page"],
.numunit a.block-grid,
.numunit a[aria-current="page"] {
  background: transparent !important;
  color: #fff !important;
  text-decoration: none !important;
}

.chabar a:hover,
.story-con a:hover,
.numunit 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) {
  .head,
  .cell,
  .numunit,
  .panel,
  .chabar,
  .story-con {
    width: 1024px !important;
    max-width: 1024px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .chabar,
  .story-con {
    overflow: hidden !important;
  }
}

@media (max-width: 1023px) {
  .head,
  .cell,
  .numunit,
  .panel,
  .chabar,
  .story-con {
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .panel,
  .cell,
  .head {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

  .chabar,
  .story-con {
    margin-left: 10px !important;
    margin-right: 10px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

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

/* nav-hover-disabled: 导航条不保留 hover / focus / active 印记 */
.item-text4 nav a:hover,
.item-text4 nav a:focus,
.item-text4 nav a.block-grid,
.item-text4 nav .block-grid,
.cell nav a:hover,
.cell nav a:focus,
.cell nav a.block-grid,
.cell nav .block-grid,
.chabar a:hover,
.chabar a:focus,
.chabar a.block-grid,
.chabar .block-grid,
.story-con a:hover,
.story-con a:focus,
.story-con a.block-grid,
.story-con .block-grid {
    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) {
    .head,
    .item-text4 .cell,
    .cell,
    .panel,
    .block2,
    .volinner,
    .cont-inner8,
    .novel-mod,
    .chabar,
    .story-con {
        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;
    }

    .row-bdmeta,
    .item-text4,
    .block2,
    .num,
    .head,
    .item-text4 .cell,
    .cell,
    .panel,
    .novel-mod,
    .volinner,
    .cont-inner8,
    .row-main,
    .chabar,
    .story-con {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .head,
    .item-text4 .cell,
    .cell,
    .panel,
    .volinner,
    .cont-inner8,
    .block2 {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .item-text4 .cell,
    .cell {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .cat-con,
    .item-text4 h1,
    .item-text4 .cat-con {
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
        text-align: left !important;
    }

    .story-hd8 {
        margin-left: auto !important;
    }

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

    .mod-area7 .area8,
    .mod-area7 input[type="text"] {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
    }

    .mod-area7 .col-hd,
    .mod-area7 button,
    .mod-area7 input[type="submit"] {
        flex: 0 0 82px !important;
        width: 82px !important;
    }

    .chabar,
    .story-con {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 0 !important;
    }

    .chabar a,
    .story-con a {
        flex: 0 0 auto !important;
        padding: 0 12px !important;
        text-align: center !important;
    }

    .bd-box9,
    .bar-info,
    .time-hd,
    .side-inner,
    .sort8,
    .bd .cha-unit,
    .text-bd3,
    .cha-unit,
    .pic9,
    .cha,
    .sitemeta,
    .row-info9 {
        display: block !important;
        grid-template-columns: none !important;
        columns: auto !important;
        width: 100% !important;
    }

    .page-hd2,
    .tool-img,
    .cha-unit .head-con,
    .text-bd3 .head-con,
    .pic9 .head-con,
    .cha .head-con,
    .sitemeta .head-con,
    .home-unit,
    .vol {
        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;
    }

    .page-hd2 img,
    .tool-img img,
    .secname img,
    .cha-unit .head-con img,
    .text-bd3 .head-con img,
    .pic9 .head-con img,
    .cha .head-con img,
    .sitemeta .head-con img,
    .home-unit img,
    .vol img {
        width: 88px !important;
        height: 118px !important;
        object-fit: cover !important;
    }

    .hot-info5,
    .mod-hd,
    .new-inner,
    .author-list,
    .vol dl,
    .vol .nav-link5 {
        min-width: 0 !important;
    }

    .hot-item5,
    .grid,
    .cell-name,
    .time-cover7 {
        display: block !important;
        grid-template-columns: none !important;
        width: 100% !important;
    }

    .hot-item5 > *,
    .grid > *,
    .cell-name > *,
    .time-cover7 > * {
        width: 100% !important;
        margin-bottom: 10px !important;
        box-sizing: border-box !important;
    }
}

/* 导航条不保留 hover/focus/active 视觉印记 */
.chabar a:hover,
.chabar a:focus,
.chabar a:active,
.chabar a.block-grid,
.chabar .block-grid,
.story-con a:hover,
.story-con a:focus,
.story-con a:active,
.story-con a.block-grid,
.story-con .block-grid,
.item-text4 nav a:hover,
.item-text4 nav a:focus,
.item-text4 nav a:active,
.item-text4 nav a.block-grid,
.cell nav a:hover,
.cell nav a:focus,
.cell nav a:active,
.cell nav a.block-grid {
    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) {
  .cont .new-inner p,
  .text-box .new-inner p {
    height: 130px;
    line-height: 26px;
  }
}

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

  .cell {
    height: 68px;
  }

  .chabar,
  .numunit {
    height: 38px;
  }

  .chabar a,
  .numunit a {
    line-height: 38px;
  }

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

/* Target-site adaptive header: up to 1023px mobile; 1024px and above desktop. */
.meta-ft,
.link-row {
  display: none;
}

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

  .item-text4 {
    padding: 0 !important;
    background: #e6f8fb !important;
  }

  .item-text4 .cell,
  .cell {
    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;
  }

  .item-text4 .cat-con,
  .item-text4 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;
  }

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

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

  .meta-ft 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;
  }

  .link-row {
    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;
  }

  .link-row 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;
  }

  .item-text4 .mod-area7,
  .cell .mod-area7 {
    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;
  }

  .item-text4 .mod-area7 .area8,
  .item-text4 .mod-area7 input[type="text"] {
    height: 34px !important;
    border: 1px solid #8dcde7 !important;
    border-right: 0 !important;
  }

  .item-text4 .mod-area7 .col-hd,
  .item-text4 .mod-area7 button {
    flex: 0 0 82px !important;
    width: 82px !important;
    height: 34px !important;
    border: 1px solid #8dcde7 !important;
    background: #ddd !important;
    color: #222 !important;
  }

  body > .chabar,
  body > nav.chabar {
    display: none !important;
  }

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

  .cont {
    margin-top: 0 !important;
  }

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

  .img-cover .menu-bar {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 96px !important;
    min-height: 126px !important;
    padding: 4px !important;
  }

  .img-cover .menu-bar img {
    width: 100% !important;
    height: 118px !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  .img-cover .cont-wrap5 {
    display: contents !important;
  }

  .img-cover .cont-wrap5 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;
  }

  .img-cover .book-area {
    grid-column: 2 !important;
    grid-row: 2 !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .img-cover .book-area p {
    height: 25px !important;
    line-height: 25px !important;
  }

  .img-cover .img-col {
    grid-column: 1 / -1 !important;
    grid-row: 5 !important;
    margin: 2px 0 0 !important;
  }

  .img-cover .listbox {
    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;
  }

  .img-cover .listbox.area-unit {
    max-height: none !important;
  }

  .img-cover .pic-col4 {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
  }

  .box-panel .home-hd {
    grid-template-columns: 1fr !important;
  }

  .time-list6 .img-grid6 {
    margin: 14px 0 0 !important;
    padding: 14px 10px 16px !important;
    background: #fff !important;
  }

  .time-list6 .img-grid6 h2 {
    margin-bottom: 12px !important;
    color: #888 !important;
    font-weight: 400 !important;
  }

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

  .time-list6 .hot-line5 a {
    min-width: 0 !important;
    padding: 0 8px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  .block2 .panel > .img-grid6 {
    margin: 0 0 14px !important;
    padding: 14px 10px 16px !important;
    background: #fff !important;
  }

  .block2 .panel > .img-grid6 .hot-line5 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 14px !important;
  }

  .block2 .panel > .img-grid6 .hot-line5 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) {
  .update-list5 .novel li {
    height: 35px;
    min-height: 35px;
    line-height: 35px;
  }

  .update-list5 .ft4 li,
  .update-list5 .ft4 li.head-inner6 {
    height: 30px;
    min-height: 30px;
    line-height: 30px;
  }

  /* 数据不足49条时，左右条数相同，统一使用35px行高。 */
  .update-list5.wen .ft4 li,
  .update-list5.wen .ft4 li.head-inner6 {
    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. */
.update-list5 { align-items: stretch; }
.update-list5 .story-list3,
.update-list5 .novel-box { min-width: 0; }
.update-list5 .novel-box { display: flex; flex-direction: column; }
.update-list5 .novel-box .ft4 { flex: 0 0 auto; }
.update-list5 .text5 {
  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;
}
.update-list5 .text5 > a,
.update-list5 .text5 > span,
.update-list5 .text5 > select {
  width: 100%;
  height: 36px;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
.update-list5 .text5 > a,
.update-list5 .text5 > span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.update-list5 .text5 > select {
  border: 1px solid #b9d7e3;
  background: #fff;
  padding: 0 10px;
}
.update-list5 .hot {
  margin: auto 0 0;
  padding: 12px 10px 10px;
  border-top: 1px solid #cbdde3;
  box-sizing: border-box;
}
.update-list5 .hot 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) {
  .update-list5 .text5 {
    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) {
  .block2.date-cell6,
  .block2.sort-main,
  .block2.menu {
    width: 100% !important;
    max-width: none !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    box-sizing: border-box !important;
  }

  .block2.date-cell6 > .panel,
  .block2.sort-main > .panel,
  .block2.menu > .panel {
    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;
  }

  .block2.read-sec5 {
    width: 100% !important;
    max-width: none !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    box-sizing: border-box !important;
  }

  .block2.read-sec5 > .panel {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .block2.read-sec5 .time-list6 {
    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;
  }

  .block2.read-sec5 .box-info7 {
    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;
  }

  .block2.read-sec5 .nav8,
  .block2.read-sec5 .vol9 {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}
