* { 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%; }
.ft-item, .sort-unit, .wen-sec, .menu7, .vol9 { max-width: 980px; margin: 0 auto; }

.wen-wrap { height: 30px; background: #f7f7f7; border-bottom: 1px solid #ddd; color: #777; font-size: 12px; }
.sort-unit { display: flex; gap: 24px; align-items: center; height: 30px; }
.mod-link4 { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.mod-link4:hover { color: #0871bd; text-decoration: underline; }
.list-panelbd { background: #2f8ed8; }
.wen-sec { height: 76px; display: flex; align-items: center; gap: 28px; }
.info-unit { width: 170px; font-size: 34px; line-height: 1; font-weight: 700; }
.info-unit a { color: #fff; letter-spacing: 0; }
.info-unit a:hover { color: inherit; text-decoration: none; }
.story-list { flex: 1; display: flex; max-width: 470px; }
.areacol { flex: 1; height: 38px; padding: 0 12px; border: 0; outline: 0; font-size: 14px; }
.sec { width: 78px; height: 38px; border: 0; background: #f5a623; color: #fff; font-size: 15px; cursor: pointer; }
.home { margin-left: auto; display: flex; gap: 10px; }
.home a { color: #fff; padding: 5px 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 2px; }

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

.row { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 12px; }
.name-col, .wrap-main2, .text, .wrapsec, .area-ft, .head-ft, .sec-panel4 { background: #fff; border: 1px solid #ddd; }
.name-col { display: grid; grid-template-columns: 1fr 1fr; padding: 12px; gap: 12px; }
.novel8 { display: flex; min-height: 132px; overflow: hidden; }
.novel8 .head { width: 88px; flex: 0 0 88px; margin-right: 12px; }
.novel8 .head img { width: 88px; height: 120px; object-fit: cover; border: 1px solid #ddd; }
.novel8 dt { height: 28px; line-height: 28px; overflow: hidden; font-weight: 700; }
.novel8 dt span { float: right; max-width: 72px; color: #888; font-size: 12px; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.novel8 dd { color: #555; height: 88px; overflow: hidden; font-size: 13px; }
.novel8 dd a { color: #555; }
.novel-area, .text h2, .area-ft h2, .head-ft h2 { height: 38px; line-height: 38px; padding: 0 12px; border-bottom: 1px solid #ddd; background: #f9f9f9; color: #287dc2; font-size: 16px; }
.img-panel, .panel2, .titleunit, .new-wrap, .head8 { list-style: none; }
.img-panel li, .titleunit li, .head8 li { display: flex; height: 35px; line-height: 35px; padding: 0 12px; border-bottom: 1px dashed #e5e5e5; overflow: hidden; }
.box-unit6, .mainlink { width: 86px; color: #888; flex: 0 0 86px; }
.main-bar, .wen-item { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.item-ft { width: 220px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.date-unit6, .foot { width: 88px; color: #777; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bd-sec { width: 70px; color: #888; text-align: right; }

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

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

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

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

@media (max-width: 768px) {
    .ft-item, .sort-unit, .wen-sec, .menu7, .vol9 { width: 100%; max-width: none; }
    .wen-wrap { display: none; }
    .list-panelbd { padding: 10px; }
    .wen-sec { height: auto; display: block; }
    .info-unit { width: auto; margin-bottom: 10px; font-size: 28px; text-align: center; }
    .story-list { max-width: none; }
    .home { display: none; }
    .menu7 { display: none; }
    .vol9 { display: flex; overflow-x: auto; background: #287dc2; }
    .vol9 a { color: #fff; line-height: 38px; padding: 0 14px; white-space: nowrap; }
    .top-name6 { padding: 8px; }
    .row, .read-cover6 { display: block; }
    .name-col { grid-template-columns: 1fr; margin-bottom: 10px; }
    .wrap-main2, .text { margin-bottom: 10px; }
    .box-unit6, .item-ft, .date-unit6, .mainlink, .foot, .bd-sec { display: none; }
    .panel2 { columns: 1; }
    .wrapsec { display: block; text-align: center; }
    .wrapsec .new-block3 { margin: 0 auto 12px; }
    .col-row5 h1 { height: auto; line-height: 1.4; font-size: 24px; }
    .link4 { justify-content: center; }
    .new-wrap { grid-template-columns: 1fr; }
    .time-link4 { padding: 0 12px 18px; }
    .pic-mod5 h1 { font-size: 22px; }
    .menu-item5 { font-size: 18px; line-height: 1.95; padding: 14px 0; }
    .wrap-line { display: block; font-size: 18px; margin-bottom: 12px; padding-bottom: 8px; line-height: 1.45; }
    .row-grid { gap: 8px; }
    .row-grid a, .row-grid span { min-width: 0; flex: 1; }
}

.link-con { background: #fff; border: 1px solid #ddd; padding: 14px; }
.link-con h1 { height: 38px; line-height: 38px; font-size: 18px; color: #287dc2; border-bottom: 1px solid #ddd; margin-bottom: 14px; }
.side-row { display: flex; max-width: 560px; margin-bottom: 12px; }
.side-row input { flex: 1; height: 36px; padding: 0 10px; border: 1px solid #ccc; border-right: 0; outline: 0; }
.side-row button { width: 76px; border: 0; background: #287dc2; color: #fff; cursor: pointer; }
.shu-inner { color: #777; padding: 8px 0 12px; }
.mod5 { list-style: none; }
.mod5 li { display: flex; padding: 12px 0; border-top: 1px dashed #e5e5e5; }
.mod5 li[hidden] { display: none !important; }
.mod5 li.tag-ft { display: block; color: #888; }
.rank-block { width: 72px; flex: 0 0 72px; margin-right: 12px; }
.rank-block img { width: 72px; height: 96px; object-fit: cover; border: 1px solid #ddd; }
.book-con h2 { font-size: 16px; height: 28px; line-height: 28px; overflow: hidden; }
.book-con .unit-sec2 { color: #888; font-size: 13px; margin-bottom: 4px; }
.book-con .tag-main { color: #555; height: 48px; overflow: hidden; line-height: 1.7; }
@media (max-width: 768px) {
    .link-con { padding: 10px; }
    .side-row { max-width: none; }
}

/* Screenshot-style desktop home layout */
body { background: #e6f8fb; color: #555; font-size: 14px; }
a { color: #4d6da8; }
.ft-item, .sort-unit, .wen-sec, .menu7, .vol9 { max-width: 1160px; }
.wen-wrap { background: #d9eef3; border-bottom: 1px solid #b8dce7; }
.sort-unit { color: #6d8f9e; }
.list-panelbd { background: #e6f8fb; }
.wen-sec { height: 82px; gap: 24px; }
.info-unit { width: 150px; font-size: 36px; font-family: Georgia, "Microsoft YaHei", serif; text-shadow: 2px 2px 0 #c3e3f1; }
.info-unit a { color: #0871bd; }
.story-list { max-width: 480px; margin-left: auto; }
.areacol { height: 36px; border: 1px solid #9bc7df; background: #fff; }
.sec { height: 36px; background: #ddd; color: #222; }
.home { display: none; }
.menu7 { height: 44px; background: #79c2e3; padding: 0 10px; }
.menu7 a { line-height: 44px; padding: 0 11px; border-right: 0; color: #fff; font-weight: 700; }
.menu7 a:hover { background: #5eb1d8; }
.top-name6 { padding: 12px 0 24px; }

.name-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 22px; padding: 14px; margin-bottom: 22px; border: 3px solid #b9dff1; background: #fffdf6; }
.info-area { display: grid; grid-template-columns: 126px 1fr; gap: 12px; min-height: 176px; }
.cont-box img { width: 126px; height: 170px; object-fit: cover; border: 1px solid #abc6d4; padding: 3px; background: #fff; }
.block-cellinner h2 { height: 28px; line-height: 28px; font-size: 15px; border-bottom: 1px dotted #c7d8e3; overflow: hidden; }
.block-cellinner h2 a { color: #5b6fad; font-weight: 700; }
.block-cellinner h2 span { float: right; color: #aaa; font-weight: 400; }
.block-cellinner p { padding-top: 8px; color: #555; line-height: 1.85; height: 132px; overflow: hidden; text-indent: 2em; }
.grid8 { display: grid; grid-template-columns: 1fr 335px; gap: 14px; align-items: start; }
.unit-box, .ft-meta9 { border: 3px solid #86c9e8; background: #eef6f6; }
.unit-box h2, .ft-meta9 h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd3e9; color: #456; font-size: 16px; }
.site-grid, .tag-cell8 { list-style: none; padding: 8px 12px; }
.site-grid 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; }
.site-grid .hd-con { color: #555; }
.site-grid .cat7, .site-grid .cat-panel, .site-grid .hot { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.site-grid .hot, .site-grid .mod-line { color: #aaa; text-align: right; }
.tag-cell8 li { display: grid; grid-template-columns: 78px 1fr 58px; gap: 6px; height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; overflow: hidden; }
.tag-cell8 span { color: #555; }
.tag-cell8 a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tag-cell8 em { color: #666; font-style: normal; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.img-inner { display: grid; grid-template-columns: 190px 1fr 190px; gap: 18px; padding: 14px 12px; }
.img-inner a, .img-inner select { height: 40px; border: 0; background: #4eadd0; color: #fff; text-align: center; border-radius: 3px; font-weight: 700; }
.img-inner a { line-height: 40px; }
.img-inner select { background: #fff; color: #222; border: 1px solid #d8e2e4; padding: 0 12px; }
.wrap6 { 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; }
    .ft-item, .sort-unit, .wen-sec, .menu7, .vol9 { width: 100%; max-width: none; }
    .wen-wrap { display: none; }
    .list-panelbd { padding: 10px; background: #dff5fb; }
    .wen-sec { display: block; height: auto; }
    .info-unit { width: auto; font-size: 30px; text-align: left; margin: 0 0 10px; padding-right: 58px; }
    .story-list { max-width: none; display: flex; margin-left: 0; }
    .areacol { height: 38px; font-size: 14px; }
    .sec { width: 72px; height: 38px; }
    .menu7 { display: none; }
    .vol9 { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); overflow: hidden; height: 40px; background: #79c2e3; padding: 0; }
    .vol9 a { min-width: 0; color: #fff; line-height: 40px; padding: 0 2px; text-align: center; font-weight: 700; white-space: nowrap; }
    .wen-sec .vol9 { margin-bottom: 8px; }
    .top-name6 { padding: 8px; }
    .name-wrap { display: block; padding: 8px; margin-bottom: 10px; border-width: 2px; }
    .info-area { display: grid; grid-template-columns: 82px 1fr; gap: 10px; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #d8e2e4; }
    .info-area:last-child { border-bottom: 0; }
    .cont-box img { width: 82px; height: 110px; padding: 2px; }
    .block-cellinner h2 { height: 24px; line-height: 24px; font-size: 15px; }
    .block-cellinner h2 span { display: none; }
    .block-cellinner p { height: 78px; line-height: 1.7; padding-top: 5px; text-indent: 0; }
    .grid8 { display: block; }
    .cont-con { display: flex; flex-direction: column; }
    .cont-con .ft-meta9 { order: 1; }
    .cont-con .unit-box { order: 2; }
    .unit-box, .ft-meta9 { border-width: 2px; margin-bottom: 10px; }
    .unit-box h2, .ft-meta9 h2 { height: 34px; line-height: 34px; font-size: 15px; }
    .site-grid, .tag-cell8 { padding: 4px 8px; }
    .site-grid 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; }
    .site-grid .hot, .site-grid .mod-line { display: none; }
    .site-grid .hd-con { display: block; width: auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #555; }
    .site-grid .cat7 { font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .site-grid .cat-panel { color: #777; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .tag-cell8 li { grid-template-columns: minmax(0, 1fr) 88px; height: 34px; line-height: 34px; }
    .tag-cell8 span { display: none; }
    .img-inner { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .img-inner select { grid-column: 1 / -1; order: -1; }
    .wrap6 { padding: 14px 8px; line-height: 1.7; }
}

.author-info { border: 3px solid #b9dff1; background: #fffdf6; }
.author-info h1 { height: 38px; line-height: 38px; padding: 0 12px; background: #dcecef; color: #444; font-size: 15px; }
.tool3 { overflow-x: auto; }
.unit-list { width: 100%; border-collapse: collapse; table-layout: fixed; }
.unit-list th, .unit-list 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-list th { color: #444; background: #fffaf0; font-weight: 700; }
.unit-list th:nth-child(1), .unit-list td:nth-child(1) { width: 58px; }
.unit-list th:nth-child(2), .unit-list td:nth-child(2) { width: 220px; }
.unit-list th:nth-child(4), .unit-list td:nth-child(4) { width: 140px; }
.unit-list th:nth-child(5), .unit-list td:nth-child(5) { width: 110px; }
.unit-list th:nth-child(6), .unit-list td:nth-child(6) { width: 80px; color: red; }
.unit-list .tag-ft { text-align: center; color: #888; }
.ft-wrap7 { border: 0; background: transparent; color: red; cursor: pointer; }
@media (max-width: 768px) {
    .author-info { border-width: 2px; }
    .author-info h1 { height: auto; line-height: 1.5; padding: 8px; font-size: 14px; }
    .tool3 { overflow-x: hidden; }
    .unit-list { min-width: 0; table-layout: fixed; }
    .unit-list th, .unit-list td { height: 40px; padding: 0 8px; }
    .unit-list th:nth-child(1),
    .unit-list td:nth-child(1),
    .unit-list th:nth-child(4),
    .unit-list td:nth-child(4),
    .unit-list th:nth-child(5),
    .unit-list td:nth-child(5) { display: none; }
    .unit-list th:nth-child(2),
    .unit-list td:nth-child(2) { width: 34%; }
    .unit-list th:nth-child(3),
    .unit-list td:nth-child(3) { width: 49%; }
    .unit-list th:nth-child(6),
    .unit-list td:nth-child(6) { width: 17%; text-align: center; }
}

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

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

.time { position: fixed; right: 18px; bottom: 26px; z-index: 50; display: grid; gap: 8px; }
.time 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); }
.time button:hover { background: #4eadd0; }
body.menu-img { background: #1e1e1e; color: #aaa; }
body.menu-img a { color: #9eb8e8; }
body.menu-img .wen-wrap,
body.menu-img .list-panelbd,
body.menu-img .wrap6 { background: #252525; border-color: #3a3a3a; color: #888; }
body.menu-img .menu7,
body.menu-img .vol9 { background: #333; }
body.menu-img .menu7 a:hover,
body.menu-img .vol9 a:hover { background: #444; }
body.menu-img .name-wrap,
body.menu-img .hot-img9,
body.menu-img .area,
body.menu-img .cate-item6,
body.menu-img .author-info,
body.menu-img .link-con,
body.menu-img .wrapsec,
body.menu-img .area-ft,
body.menu-img .head-ft,
body.menu-img .sec-panel4,
body.menu-img .unit-box,
body.menu-img .ft-meta9,
body.menu-img .side-listunit,
body.menu-img .panel { background: #2a2a2a; border-color: #444; }
body.menu-img .time-link4 { background: #202020; border-color: #444; }
body.menu-img .menu-item5 { color: #b8b8b8; }
body.menu-img .novel-area,
body.menu-img .text h2,
body.menu-img .area-ft h2,
body.menu-img .head-ft h2,
body.menu-img .unit-box h2,
body.menu-img .ft-meta9 h2,
body.menu-img .side-listunit h2,
body.menu-img .author-info h1,
body.menu-img .sec-panel4 h1,
body.menu-img .home-sec h2,
body.menu-img .link-con h1 { background: #333; color: #ccc; border-color: #444; }
body.menu-img .block-cellinner p,
body.menu-img .num6 p,
body.menu-img .hd-con2 p,
body.menu-img .sort p,
body.menu-img .area-ft p,
body.menu-img .col-row5 p,
body.menu-img .book-con .tag-main { color: #aaa; }
body.menu-img .unit-list th { background: #333; color: #ccc; }
body.menu-img .unit-list th,
body.menu-img .unit-list td,
body.menu-img .site-grid li,
body.menu-img .tag-cell8 li,
body.menu-img .side-listunit li,
body.menu-img .infolink li { border-color: #444; }
body.menu-img .areacol,
body.menu-img .side-row input,
body.menu-img .img-inner select { background: #222; color: #ddd; border-color: #555; }
@media (max-width: 768px) {
    .time { right: 10px; bottom: 14px; }
    .time button { width: 48px; height: 32px; font-size: 13px; }
}

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

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

.author-box { border: 3px solid #86c9e8; background: #eef6f6; margin-bottom: 22px; }
.author-box .page { height: 34px; line-height: 34px; padding: 0 12px; color: #456; border-bottom: 1px solid #b9dff1; background: #dcecef; }
.panel-box { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 14px 28px 18px; }
.footbox {
    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;
}
.footbox img {
    display: block;
    width: 100%;
    height: 176px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}
.meta-text h1 { font-size: 30px; line-height: 44px; color: #333; }
.foot-link { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-bottom: 1px dashed #86aebd; padding-bottom: 6px; margin-bottom: 8px; }
.foot-link p { height: 28px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #444; }
.foot-link .site-gridcol { color: #b54800; font-weight: 700; grid-column: 1 / -1; }
.sec-row { grid-column: 2; line-height: 1.8; color: #444; }
.tag5 { display: none; }
.bd-mod2 { display: none; }
.date8 { border: 3px solid #4eadd0; background: #eef6f6; margin-bottom: 30px; }
.date8 h2 { height: 38px; line-height: 38px; text-align: center; background: #9fb6bd; color: #333; font-size: 16px; border-bottom: 1px solid #9fc9db; }
.date8 .new-wrap { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 12px; list-style: none; }
.date8 .new-wrap li { height: 40px; line-height: 40px; border-bottom: 1px dashed #9fb6bd; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-right: 16px; }
.date8 .new-wrap.wrapmain li { font-weight: 700; }
.tool-hd { display: grid; grid-template-columns: 250px 1fr 250px; gap: 18px; padding: 16px 12px; }
.tool-hd a, .tool-hd span, .tool-hd button, .tool-hd select { height: 40px; line-height: 40px; border: 0; text-align: center; border-radius: 3px; }
.tool-hd a, .tool-hd span, .tool-hd button { background: #1e6f8a; color: #fff; cursor: pointer; font: inherit; }
.tool-hd button:disabled { cursor: default; opacity: .65; }
.tool-hd select { background: #fff; border: 1px solid #ddd; padding: 0 12px; text-align: left; }
.bar-panel4 { background: #eee; padding: 18px 14px; margin-bottom: 20px; }
.bar-panel4 h2 { text-align: center; color: #777; font-size: 16px; margin-bottom: 14px; font-weight: 400; }
.img-main { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 45px; }
.img-main a { display: block; height: 38px; line-height: 38px; text-align: center; background: #e3e3e3; color: #333; border-radius: 3px; }
@media (max-width: 768px) {
    .author-box, .date8 { border-width: 2px; margin-bottom: 12px; }
    .author-box .page { height: auto; line-height: 1.5; padding: 8px; }
    .panel-box { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 10px; align-items: start; }
    .footbox { width: 96px; min-height: 126px; padding: 4px; background: rgba(255,255,255,.45); }
    .footbox img { width: 100%; height: 118px; object-fit: contain; object-position: center; }
    .meta-text { min-width: 0; }
    .meta-text h1 { font-size: 18px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .foot-link { display: block; border-bottom: 0; padding-bottom: 0; margin-bottom: 6px; }
    .foot-link p { height: 26px; line-height: 26px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .tag5 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; grid-column: 1 / -1; margin: 2px 0 8px; }
    .rank { 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; }
    .rank:hover { color: #fff; text-decoration: none; opacity: .92; }
    .rank.wrap-col3 { background: #f0305a; }
    .rank.read6 { background: #f1a51e; }
    .rank.item-bd { background: #5b8cc3; }
    .sec-row { grid-column: 1 / -1; max-height: 118px; overflow: hidden; line-height: 1.85; color: #444; }
    .sec-row.hot-block { max-height: none; }
    .bd-mod2 { 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; }
    .date8 .new-wrap { grid-template-columns: 1fr; padding: 0 8px; }
    .date8 .new-wrap li { height: 36px; line-height: 36px; padding-right: 0; }
    .tool-hd { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .tool-hd select { grid-column: 1 / -1; order: -1; }
    .img-main { grid-template-columns: 1fr; gap: 8px; }
}

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

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

@media (max-width: 768px) {
    html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
    .ft-item, .top-name6, .list-panelbd, .wen-sec, .time-link4, .author-box, .date8 { max-width: 100%; overflow-x: hidden; }
    .story-list { width: 100%; max-width: 100%; }
    .areacol { min-width: 0; }
    .sec { flex: 0 0 68px; width: 68px; }
    .vol9 { max-width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
    .time-link4 { padding-left: 10px; padding-right: 10px; }
    .page { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .pic-mod5 h1 { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
    .pic-mod5 p { white-space: normal; overflow-wrap: anywhere; }
    .menu-item5 { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .menu-item5 p { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .time { right: 8px; }
}

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

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

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

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

body.menu-img .info-unit a { color: #b8d7ef; text-shadow: 1px 1px 0 #1a3c55; }
body.menu-img .time-link4 { background: #242424; }
body.menu-img .pic-mod5 h1 { color: #ddd; }
body.menu-img .pic-mod5 p,
body.menu-img .page { color: #aaa; }
body.menu-img .menu-item5 { color: #d2d2d2; }
body.menu-img .menu-item5 p { color: #d2d2d2; }
body.menu-img.author9 .time-link4,
body.menu-img.list-meta .time-link4,
body.menu-img.info-sec .time-link4 { background: #242424; }
@media (max-width: 768px) {
    .desc-meta6 { grid-template-columns: auto 28px 28px 28px 1fr 42px; }
    body.menu-img .desc-meta6 { background: #2b2b2b; border-color: #555; }
}

:root { --reader-bg-custom: #E9FAFF; }
.time-link4 { background: var(--reader-bg-custom, #f6f1e7); }
body:not(.menu-img) .time-link4 { background: var(--reader-bg-custom, #E9FAFF); }
body:not(.menu-img) .menu-item5 { color: #333; }

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

@media (max-width: 768px) {
    .time-link4 > .page,
    .time-link4 > .pic-mod5 { display: none; }
    .time-link4 { padding-top: 0; }
}

/* 关灯只作用于章节正文，头部、搜索、工具栏和翻页保持原样。 */
body.menu-img { background: #e6f8fb; color: #555; }
body.menu-img a { color: #4d6da8; }
body.menu-img .wen-wrap { background: #d9eef3; border-color: #b8dce7; color: #6d8f9e; }
body.menu-img .list-panelbd,
body.menu-img .wrap6 { background: #e6f8fb; border-color: #72c4e8; color: #555; }
body.menu-img .menu7,
body.menu-img .vol9 { background: #79c2e3; }
body.menu-img .menu7 a,
body.menu-img .vol9 a { color: #fff; }
body.menu-img .areacol,
body.menu-img .side-row input,
body.menu-img .img-inner select { background: #fff; color: #333; border-color: #9bc7df; }
body.menu-img .time-link4,
body.menu-img.author9 .time-link4,
body.menu-img.list-meta .time-link4,
body.menu-img.info-sec .time-link4 { background: #2f3437; border-color: #444; }
body.menu-img .pic-mod5 h1 { color: #ddd; }
body.menu-img .pic-mod5 p,
body.menu-img .page { color: #aaa; }
body.menu-img .row-grid a,
body.menu-img .row-grid span { background: #363b3f; border-color: #555; color: #c8c8c8; }
body.menu-img .desc-meta6 { background: #2f3437; border-color: #555; }
body.menu-img .desc-meta6 span,
body.menu-img .desc-meta6 label { color: #c8c8c8; }
body.menu-img .desc-meta6 select,
body.menu-img .desc-meta6 button { background: #363b3f; border-color: #6b747b; color: #c8d7e8; }
body.menu-img .menu-item5 { background: transparent; color: #aaa; }
body.menu-img .wrap-line { border-color: #555; color: #bbb; }
body.menu-img .menu-item5 p { color: #aaa; }
body.menu-img .info-unit a { color: #0871bd; text-shadow: 2px 2px 0 #c3e3f1; }
body.menu-img .cat-ft { color: #0871bd; border-color: #79c2e3; background: rgba(255,255,255,.55); }
body.menu-img .cat-ft:hover { color: #0871bd; background: rgba(255,255,255,.8); }
body.menu-img .tool-row { background: #eee; }
body.menu-img .tool-row h2 { color: #777; }
body.menu-img .nav-line9 a { background: #e3e3e3; color: #333; }
.name-area { text-align: center; padding: 54px 20px 62px; border: 3px solid #86c9e8; background: #fffdf6; }
.name-area h1 { margin-bottom: 12px; color: #287dc2; font-size: 30px; font-weight: 700; }
.name-area p { margin: 8px 0; color: #555; }
.cont-info9 { display: inline-block; min-width: 110px; height: 34px; margin-top: 12px; line-height: 34px; background: #4eadd0; color: #fff; border-radius: 3px; }
.cont-info9:hover { color: #fff; text-decoration: none; background: #287dc2; }
@media (max-width: 768px) {
    body.menu-img .list-panelbd { background: #dff5fb; }
    .name-area { padding: 42px 12px 48px; border-width: 2px; }
    .name-area h1 { font-size: 24px; }
}

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

/* Home update/new panels alignment fix */
.cont-con .unit-box,
.cont-con .ft-meta9 { align-self: start; }
.cont-con .site-grid,
.cont-con .tag-cell8 { padding: 8px 10px; font-size: 13px; }
.cont-con .site-grid li,
.cont-con .tag-cell8 li { height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; }
.cont-con .site-grid li { grid-template-columns: 92px 188px minmax(0, 1fr) 78px 42px; gap: 7px; }
.cont-con .tag-cell8 li { grid-template-columns: 82px minmax(0, 1fr) 62px; gap: 7px; }
.cont-con .site-grid .hd-con,
.cont-con .site-grid .cat7,
.cont-con .site-grid .cat-panel,
.cont-con .site-grid .hot,
.cont-con .site-grid .mod-line,
.cont-con .tag-cell8 span,
.cont-con .tag-cell8 a,
.cont-con .tag-cell8 em { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 768px) {
    .cont-con .site-grid,
    .cont-con .tag-cell8 { padding: 4px 8px; font-size: 14px; }
    .cont-con .site-grid li,
    .cont-con .tag-cell8 li { height: 34px; line-height: 34px; }
    .cont-con .site-grid li { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
    .cont-con .tag-cell8 li { grid-template-columns: minmax(0, 1fr) 88px; gap: 6px; }
}

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

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

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

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

.cover-col { display: grid; grid-template-columns: 1fr 300px; gap: 12px; margin-bottom: 12px; }
.bar-meta8, .cha-list4, .img-grid9 { border: 3px solid #9bd5ee; background: #eefafa; }
.bar-meta8 h2, .cha-list4 h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd5ee; font-size: 16px; color: #333; }
.titleunit li, .home-item li, .head8 li { display: grid; align-items: center; min-height: 30px; line-height: 30px; border-bottom: 1px solid #d1e3e8; overflow: hidden; }
.titleunit li { grid-template-columns: 88px minmax(120px,1.15fr) minmax(180px,1.45fr) 90px 50px; column-gap: 8px; padding: 0 10px; }
.home-item li { grid-template-columns: 76px minmax(0, 1fr) 76px; column-gap: 0; padding: 0 10px; }
.home-item li.hotcol { grid-template-columns: 76px minmax(0, 1fr); }
.head8 li { grid-template-columns: 90px minmax(220px,1fr) minmax(240px,1.2fr) 120px 78px; column-gap: 8px; padding: 0 12px; }
.titleunit a, .home-item a, .head8 a, .num-row, .foot-col9, .cover, .cover9, .home-item em { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.num-row { color: #555; }
.foot-col9, .cover, .cover9, .home-item em { color: #777; font-style: normal; text-align: right; }
.img-grid9 { padding-bottom: 8px; }
.img-grid9 h2 { height: 42px; line-height: 42px; padding: 0 12px; background: #fff; border-bottom: 1px solid #ddd; color: #0871bd; font-size: 18px; }
.novel-col { display: grid; grid-template-columns: 160px minmax(160px, 1fr) 160px; gap: 12px; padding: 12px 10px 10px; background: #eefafa; }
.novel-col button, .novel-col select { width: 100%; height: 36px; border-radius: 2px; font: inherit; }
.novel-col button { border: 0; background: #4badd3; color: #fff; cursor: pointer; }
.novel-col button:disabled { opacity: .55; cursor: default; }
.novel-col select { border: 1px solid #b9d7e3; background: #fff; padding: 0 10px; }
.col-bar6 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 5px; width: 100%; padding: 10px 6px; box-sizing: border-box; }
.col-bar6 button, .col-bar6 select { min-width: 0; padding-left: 3px; padding-right: 3px; font-size: 13px; }
.col-bd6 > [hidden] { display: none !important; }
.title-con { margin: 0; padding: 28px 20px; background: #fff; border: 1px solid #ddd; }
.title-con h2 { margin: 0 0 8px; font-size: 22px; color: #555; }
.title-con p, .bd-hd { color: #555; }

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

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

@media (max-width: 1023px) {
  .ft-item, .sort-unit, .wen-sec, .menu7, .page-mod { width: auto; max-width: none; }
  .wen-wrap { display: block; }
  .sort-unit { padding: 0 10px; justify-content: center; }
  .list-panelbd { padding: 10px; }
  .wen-sec { height: auto; display: block; }
  .info-unit { width: auto; margin-bottom: 8px; font-size: 28px; }
  .story-list { width: 100%; max-width: none; margin: 0; flex-basis: auto; }
  .menu7 { margin: 0 10px; height: 38px; overflow-x: auto; }
  .page-mod { display: flex; height: 38px; min-width: max-content; }
  .menu7 a { line-height: 38px; padding: 0 12px; }
  .top-name6 { padding: 8px 10px 16px; }
  .sec-hd { display: block; padding: 8px; }
  .sec-hd .cate-list { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .sec-hd .new-block3, .sec-hd .new-block3 img { width: 86px; }
  .sec-hd .new-block3 img { height: 116px; }
  .title5 { display: block; }
  .panel9 { min-height: 0; border-right: 0; }
  .cover-col { display: flex; flex-direction: column; }
  .cha-list4 { order: 1; }
  .bar-meta8 { order: 2; }
  .titleunit li { grid-template-columns: 1fr 1fr; gap: 0 10px; min-height: 28px; line-height: 28px; }
  .titleunit .num-row, .titleunit .foot-col9, .titleunit .cover9 { display: none; }
  .home-item li { grid-template-columns: 1fr 72px; min-height: 28px; line-height: 28px; }
  .home-item li span { display: none; }
  .head8 li { grid-template-columns: 1fr 72px; min-height: 30px; line-height: 30px; }
  .head8 .num-row, .head8 .rank-line { display: none; }
  .head8 .foot-col9, .head8 .cover { text-align: right; }
  .img-grid9 h2 { height: 36px; line-height: 36px; font-size: 16px; }
  .novel-col { grid-template-columns: 1fr 1.25fr 1fr; gap: 8px; padding: 10px 8px; }
  .col-bar6 { grid-template-columns: 1fr 1.25fr 1fr; }
  .rank-wrap { display: block; }
  .info-col { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .shu-line img { width: 86px; height: 116px; }
}

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

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

  .name .cate-list {
    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;
  }

  .name .cate-list:last-child {
    border-bottom: 0;
  }

  .name .new-block3,
  .name .new-block3 img {
    width: 82px;
  }

  .name .new-block3 img {
    height: 110px;
    object-fit: cover;
  }

  .name .foot-cell8 {
    min-width: 0;
  }

  .name .foot-cell8 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;
  }

  .name .foot-cell8 h3 a {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .name .foot-cell8 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;
  }

  .name .foot-cell8 p {
    margin: 0;
    font-size: 13px;
    line-height: 22px;
    max-height: 66px;
    overflow: hidden;
  }

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

  .text7 .bar-meta8,
  .text7 .cha-list4 {
    width: 100%;
    margin: 0 0 10px;
    border: 2px solid #8fd1ed;
    box-sizing: border-box;
  }

  .text7 .bar-meta8 h2,
  .text7 .cha-list4 h2 {
    padding: 8px 10px;
    font-size: 14px;
    line-height: 20px;
  }

  .text7 .titleunit 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;
  }

  .text7 .titleunit .num-row,
  .text7 .titleunit .story-link6,
  .text7 .titleunit .rank-line {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
  }

  .text7 .titleunit .num-row {
    display: none;
  }

  .text7 .titleunit .foot-col9,
  .text7 .titleunit .cover9 {
    display: none;
  }

  .text7 .home-item 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;
  }

  .text7 .home-item li.hotcol {
    grid-template-columns: minmax(0, 1fr);
  }

  .text7 .home-item li > span {
    display: none;
  }

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

/* desktop bqg scale restore */
@media (min-width: 1024px) {
  .ft-item,
  .sort-unit,
  .wen-sec,
  .page-mod {
    width: 1024px;
    max-width: 1024px;
  }

  .sec-hd {
    gap: 14px 20px;
    padding: 10px 12px;
  }

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

  .sec-hd .new-block3,
  .sec-hd .new-block3 img {
    width: 120px;
  }

  .sec-hd .new-block3 img {
    height: 160px;
  }

  .sec-hd .foot-cell8 h3,
  .title5 .foot-cell8 h3 {
    font-size: 15px;
    line-height: 23px;
  }

  .sec-hd .foot-cell8 p,
  .title5 .foot-cell8 p {
    font-size: 14px;
    line-height: 24px;
  }

  .panel9 {
    padding: 10px 12px;
  }

  .panel9 .cate-list {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    min-height: 124px;
  }

  .panel9 .new-block3,
  .panel9 .new-block3 img {
    width: 92px;
  }

  .panel9 .new-block3 img {
    height: 124px;
  }

  .name9 li,
  .home-item li,
  .titleunit li {
    font-size: 14px;
    min-height: 24px;
    line-height: 24px;
  }

  .bar-meta8 h2,
  .cha-list4 h2,
  .panel9 h2 {
    font-size: 16px;
  }
}

/* 2026-07-12: desktop home layout restore: 4 featured + classic sidebar */
@media (min-width: 1024px) {
  .ft-item,
  .sort-unit,
  .wen-sec,
  .page-mod {
    width: 1024px;
    max-width: 1024px;
    box-sizing: border-box;
  }

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

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

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

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

  .link-box .sec-hd .cate-list {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    min-height: 160px;
    gap: 14px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .link-box .sec-hd .cate-list:nth-child(n+5) {
    display: none;
  }

  .link-box .new-block3,
  .link-box .new-block3 img {
    width: 120px;
    height: 160px;
    object-fit: cover;
  }

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

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

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

  .ft5 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;
  }

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

  .ft5 li a {
    color: #3366aa;
  }

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

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

  .link-box .sec-hd {
    display: block;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
  }

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

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

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

  .ft5 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;
  }

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

  .ft5 li em {
    text-align: right;
  }
}

/* 2026-07-12: force desktop nav/header width to 1024px */
@media (min-width: 1024px) {
  .sort-unit,
  .wen-sec,
  .page-mod,
  .ft-item {
    width: 1024px !important;
    max-width: 1024px !important;
    box-sizing: border-box;
  }

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

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

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

.menu7 a:hover,
.vol9 a:hover,
.page-mod 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) {
  .sort-unit,
  .wen-sec,
  .page-mod,
  .ft-item,
  .menu7,
  .vol9 {
    width: 1024px !important;
    max-width: 1024px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .menu7,
  .vol9 {
    overflow: hidden !important;
  }
}

@media (max-width: 1023px) {
  .sort-unit,
  .wen-sec,
  .page-mod,
  .ft-item,
  .menu7,
  .vol9 {
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .ft-item,
  .wen-sec,
  .sort-unit {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

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

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

/* nav-hover-disabled: 导航条不保留 hover / focus / active 印记 */
.list-panelbd nav a:hover,
.list-panelbd nav a:focus,
.list-panelbd nav a.hd,
.list-panelbd nav .hd,
.wen-sec nav a:hover,
.wen-sec nav a:focus,
.wen-sec nav a.hd,
.wen-sec nav .hd,
.menu7 a:hover,
.menu7 a:focus,
.menu7 a.hd,
.menu7 .hd,
.vol9 a:hover,
.vol9 a:focus,
.vol9 a.hd,
.vol9 .hd {
    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) {
    .sort-unit,
    .list-panelbd .wen-sec,
    .wen-sec,
    .ft-item,
    .top-name6,
    .metatext,
    .tag-block,
    .cat-name9,
    .menu7,
    .vol9 {
        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;
    }

    .wen-wrap,
    .list-panelbd,
    .top-name6,
    .wrap6,
    .sort-unit,
    .list-panelbd .wen-sec,
    .wen-sec,
    .ft-item,
    .cat-name9,
    .metatext,
    .tag-block,
    .cate,
    .menu7,
    .vol9 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .sort-unit,
    .list-panelbd .wen-sec,
    .wen-sec,
    .ft-item,
    .metatext,
    .tag-block,
    .top-name6 {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .list-panelbd .wen-sec,
    .wen-sec {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .info-unit,
    .list-panelbd h1,
    .list-panelbd .info-unit {
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
        text-align: left !important;
    }

    .cat-ft {
        margin-left: auto !important;
    }

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

    .story-list .areacol,
    .story-list input[type="text"] {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
    }

    .story-list .sec,
    .story-list button,
    .story-list input[type="submit"] {
        flex: 0 0 82px !important;
        width: 82px !important;
    }

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

    .menu7 a,
    .vol9 a {
        flex: 0 0 auto !important;
        padding: 0 12px !important;
        text-align: center !important;
    }

    .cate-item6,
    .col8,
    .title,
    .wen-hd2,
    .novel-mod8,
    .img-grid9 .top-panel4,
    .head8,
    .top-panel4,
    .itemhd,
    .sort-bar6,
    .item-cover,
    .author-box {
        display: block !important;
        grid-template-columns: none !important;
        columns: auto !important;
        width: 100% !important;
    }

    .pic4,
    .wen-cell,
    .top-panel4 .page-unit,
    .head8 .page-unit,
    .itemhd .page-unit,
    .sort-bar6 .page-unit,
    .item-cover .page-unit,
    .hot-cover,
    .novel8 {
        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;
    }

    .pic4 img,
    .wen-cell img,
    .shu-line img,
    .top-panel4 .page-unit img,
    .head8 .page-unit img,
    .itemhd .page-unit img,
    .sort-bar6 .page-unit img,
    .item-cover .page-unit img,
    .hot-cover img,
    .novel8 img {
        width: 88px !important;
        height: 118px !important;
        object-fit: cover !important;
    }

    .sort,
    .shu-mod8,
    .foot-cell8,
    .col-row5,
    .novel8 dl,
    .novel8 .pic {
        min-width: 0 !important;
    }

    .cate-cell,
    .wrap-img,
    .row,
    .bar {
        display: block !important;
        grid-template-columns: none !important;
        width: 100% !important;
    }

    .cate-cell > *,
    .wrap-img > *,
    .row > *,
    .bar > * {
        width: 100% !important;
        margin-bottom: 10px !important;
        box-sizing: border-box !important;
    }
}

/* 导航条不保留 hover/focus/active 视觉印记 */
.menu7 a:hover,
.menu7 a:focus,
.menu7 a:active,
.menu7 a.hd,
.menu7 .hd,
.vol9 a:hover,
.vol9 a:focus,
.vol9 a:active,
.vol9 a.hd,
.vol9 .hd,
.list-panelbd nav a:hover,
.list-panelbd nav a:focus,
.list-panelbd nav a:active,
.list-panelbd nav a.hd,
.wen-sec nav a:hover,
.wen-sec nav a:focus,
.wen-sec nav a:active,
.wen-sec nav a.hd {
    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) {
  .link-box .foot-cell8 p,
  .name .foot-cell8 p {
    height: 130px;
    line-height: 26px;
  }
}

/* Compact desktop header while preserving independent mobile layout. */
@media (min-width: 1024px) {
  .wen-wrap,
  .sort-unit {
    height: 28px;
  }

  .wen-sec {
    height: 68px;
  }

  .menu7,
  .page-mod {
    height: 38px;
  }

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

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

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

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

  .list-panelbd {
    padding: 0 !important;
    background: #e6f8fb !important;
  }

  .list-panelbd .wen-sec,
  .wen-sec {
    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;
  }

  .list-panelbd .info-unit,
  .list-panelbd 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;
  }

  .list-panelbd .info-unit a {
    color: #0871bd !important;
    text-shadow: 2px 3px 3px rgba(0, 90, 150, .28) !important;
  }

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

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

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

  .menu 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;
  }

  .list-panelbd .story-list,
  .wen-sec .story-list {
    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;
  }

  .list-panelbd .story-list .areacol,
  .list-panelbd .story-list input[type="text"] {
    height: 34px !important;
    border: 1px solid #8dcde7 !important;
    border-right: 0 !important;
  }

  .list-panelbd .story-list .sec,
  .list-panelbd .story-list button {
    flex: 0 0 82px !important;
    width: 82px !important;
    height: 34px !important;
    border: 1px solid #8dcde7 !important;
    background: #ddd !important;
    color: #222 !important;
  }

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

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

  .link-box {
    margin-top: 0 !important;
  }

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

  .panel-box .footbox {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 96px !important;
    min-height: 126px !important;
    padding: 4px !important;
  }

  .panel-box .footbox img {
    width: 100% !important;
    height: 118px !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  .panel-box .meta-text {
    display: contents !important;
  }

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

  .panel-box .foot-link {
    grid-column: 2 !important;
    grid-row: 2 !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .panel-box .foot-link p {
    height: 25px !important;
    line-height: 25px !important;
  }

  .panel-box .tag5 {
    grid-column: 1 / -1 !important;
    grid-row: 5 !important;
    margin: 2px 0 0 !important;
  }

  .panel-box .sec-row {
    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;
  }

  .panel-box .sec-row.hot-block {
    max-height: none !important;
  }

  .panel-box .bd-mod2 {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
  }

  .date8 .new-wrap {
    grid-template-columns: 1fr !important;
  }

  .time-link4 .bar-panel4 {
    margin: 14px 0 0 !important;
    padding: 14px 10px 16px !important;
    background: #fff !important;
  }

  .time-link4 .bar-panel4 h2 {
    margin-bottom: 12px !important;
    color: #888 !important;
    font-weight: 400 !important;
  }

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

  .time-link4 .img-main a {
    min-width: 0 !important;
    padding: 0 8px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  .top-name6 .ft-item > .bar-panel4 {
    margin: 0 0 14px !important;
    padding: 14px 10px 16px !important;
    background: #fff !important;
  }

  .top-name6 .ft-item > .bar-panel4 .img-main {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 14px !important;
  }

  .top-name6 .ft-item > .bar-panel4 .img-main 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) {
  .text7 .titleunit li {
    height: 35px;
    min-height: 35px;
    line-height: 35px;
  }

  .text7 .home-item li,
  .text7 .home-item li.hotcol {
    height: 30px;
    min-height: 30px;
    line-height: 30px;
  }

  /* 数据不足49条时，左右条数相同，统一使用35px行高。 */
  .text7.hot-con8 .home-item li,
  .text7.hot-con8 .home-item li.hotcol {
    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. */
.text7 { align-items: stretch; }
.text7 .bar-meta8,
.text7 .cha-list4 { min-width: 0; }
.text7 .cha-list4 { display: flex; flex-direction: column; }
.text7 .cha-list4 .home-item { flex: 0 0 auto; }
.text7 .side-meta5 {
  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;
}
.text7 .side-meta5 > a,
.text7 .side-meta5 > span,
.text7 .side-meta5 > select {
  width: 100%;
  height: 36px;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
.text7 .side-meta5 > a,
.text7 .side-meta5 > span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.text7 .side-meta5 > select {
  border: 1px solid #b9d7e3;
  background: #fff;
  padding: 0 10px;
}
.text7 .num-text {
  margin: auto 0 0;
  padding: 12px 10px 10px;
  border-top: 1px solid #cbdde3;
  box-sizing: border-box;
}
.text7 .num-text 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) {
  .text7 .side-meta5 {
    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) {
  .top-name6.cover-img,
  .top-name6.wraprow,
  .top-name6.cat-unit {
    width: 100% !important;
    max-width: none !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    box-sizing: border-box !important;
  }

  .top-name6.cover-img > .ft-item,
  .top-name6.wraprow > .ft-item,
  .top-name6.cat-unit > .ft-item {
    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;
  }

  .top-name6.meta5 {
    width: 100% !important;
    max-width: none !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    box-sizing: border-box !important;
  }

  .top-name6.meta5 > .ft-item {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .top-name6.meta5 .time-link4 {
    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;
  }

  .top-name6.meta5 .menu-item5 {
    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;
  }

  .top-name6.meta5 .desc-meta6,
  .top-name6.meta5 .row-grid {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}
