* { 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%; }
.cont-box9, .tag-box5, .toplink, .menu-col, .block-line { max-width: 980px; margin: 0 auto; }

.bd-meta { height: 30px; background: #f7f7f7; border-bottom: 1px solid #ddd; color: #777; font-size: 12px; }
.tag-box5 { display: flex; gap: 24px; align-items: center; height: 30px; }
.box { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.box:hover { color: #0871bd; text-decoration: underline; }
.area-panel3 { background: #2f8ed8; }
.toplink { height: 76px; display: flex; align-items: center; gap: 28px; }
.bd-block { width: 170px; font-size: 34px; line-height: 1; font-weight: 700; }
.bd-block a { color: #fff; letter-spacing: 0; }
.bd-block a:hover { color: inherit; text-decoration: none; }
.bar-wrap { flex: 1; display: flex; max-width: 470px; }
.book-coverlist { flex: 1; height: 38px; padding: 0 12px; border: 0; outline: 0; font-size: 14px; }
.name-area { width: 78px; height: 38px; border: 0; background: #f5a623; color: #fff; font-size: 15px; cursor: pointer; }
.item-line { margin-left: auto; display: flex; gap: 10px; }
.item-line a { color: #fff; padding: 5px 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 2px; }

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

.panel { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 12px; }
.story-img, .box5, .tag-text4, .head-cover, .ft-rowcol, .top-bar, .head { background: #fff; border: 1px solid #ddd; }
.story-img { display: grid; grid-template-columns: 1fr 1fr; padding: 12px; gap: 12px; }
.nav-info2 { display: flex; min-height: 132px; overflow: hidden; }
.nav-info2 .new-item9 { width: 88px; flex: 0 0 88px; margin-right: 12px; }
.nav-info2 .new-item9 img { width: 88px; height: 120px; object-fit: cover; border: 1px solid #ddd; }
.nav-info2 dt { height: 28px; line-height: 28px; overflow: hidden; font-weight: 700; }
.nav-info2 dt span { float: right; max-width: 72px; color: #888; font-size: 12px; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nav-info2 dd { color: #555; height: 88px; overflow: hidden; font-size: 13px; }
.nav-info2 dd a { color: #555; }
.top-inner5, .tag-text4 h2, .ft-rowcol h2, .top-bar h2 { height: 38px; line-height: 38px; padding: 0 12px; border-bottom: 1px solid #ddd; background: #f9f9f9; color: #287dc2; font-size: 16px; }
.cha-img, .tag-meta, .list-name9, .name-sec, .novel-con4 { list-style: none; }
.cha-img li, .list-name9 li, .novel-con4 li { display: flex; height: 35px; line-height: 35px; padding: 0 12px; border-bottom: 1px dashed #e5e5e5; overflow: hidden; }
.toolbd, .num3 { width: 86px; color: #888; flex: 0 0 86px; }
.bd4, .title { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.headlist { width: 220px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.main-unit, .ft-row { width: 88px; color: #777; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.text-cover { width: 70px; color: #888; text-align: right; }

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

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

.mod-cover6 { background: #f6f1e7; border: 1px solid #d8cfbd; padding: 0 24px 26px; }
.cate-line { height: 38px; line-height: 38px; color: #777; border-bottom: 1px solid #e4dccd; font-size: 13px; }
.side { text-align: center; padding: 20px 0 10px; border-bottom: 1px dashed #d8cfbd; }
.side h1 { font-size: 26px; font-weight: 500; color: #222; }
.side p { color: #777; margin-top: 6px; }
.read-cover { padding: 20px 8px; color: #222; font: 20px/2 "Microsoft YaHei", "PingFang SC", serif; }
.read2 { 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; }
.read-cover p { text-indent: 2em; margin-bottom: 14px; text-align: justify; }
.bar-meta8 { display: flex; justify-content: center; gap: 12px; padding: 18px 0 0; border-top: 1px dashed #d8cfbd; }
.bar-meta8.bd-wrap6 { padding: 14px 0; border-top: 0; border-bottom: 1px dashed #d8cfbd; }
.mod-cover6 .bar-meta8.shu-unit { margin-bottom: 18px; }
.bar-meta8 a, .bar-meta8 span { min-width: 110px; height: 34px; line-height: 34px; text-align: center; background: #fff; border: 1px solid #d8cfbd; color: #555; }
.bar-meta8 a:hover { background: #287dc2; color: #fff; text-decoration: none; border-color: #287dc2; }

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

@media (max-width: 768px) {
    .cont-box9, .tag-box5, .toplink, .menu-col, .block-line { width: 100%; max-width: none; }
    .bd-meta { display: none; }
    .area-panel3 { padding: 10px; }
    .toplink { height: auto; display: block; }
    .bd-block { width: auto; margin-bottom: 10px; font-size: 28px; text-align: center; }
    .bar-wrap { max-width: none; }
    .item-line { display: none; }
    .menu-col { display: none; }
    .block-line { display: flex; overflow-x: auto; background: #287dc2; }
    .block-line a { color: #fff; line-height: 38px; padding: 0 14px; white-space: nowrap; }
    .cell-cover2 { padding: 8px; }
    .panel, .block-innerblock { display: block; }
    .story-img { grid-template-columns: 1fr; margin-bottom: 10px; }
    .box5, .tag-text4 { margin-bottom: 10px; }
    .toolbd, .headlist, .main-unit, .num3, .ft-row, .text-cover { display: none; }
    .tag-meta { columns: 1; }
    .head-cover { display: block; text-align: center; }
    .head-cover .side-bd6 { margin: 0 auto 12px; }
    .row h1 { height: auto; line-height: 1.4; font-size: 24px; }
    .desc-name4 { justify-content: center; }
    .name-sec { grid-template-columns: 1fr; }
    .mod-cover6 { padding: 0 12px 18px; }
    .side h1 { font-size: 22px; }
    .read-cover { font-size: 18px; line-height: 1.95; padding: 14px 0; }
    .read2 { display: block; font-size: 18px; margin-bottom: 12px; padding-bottom: 8px; line-height: 1.45; }
    .bar-meta8 { gap: 8px; }
    .bar-meta8 a, .bar-meta8 span { min-width: 0; flex: 1; }
}

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

/* Screenshot-style desktop home layout */
body { background: #e6f8fb; color: #555; font-size: 14px; }
a { color: #4d6da8; }
.cont-box9, .tag-box5, .toplink, .menu-col, .block-line { max-width: 1160px; }
.bd-meta { background: #d9eef3; border-bottom: 1px solid #b8dce7; }
.tag-box5 { color: #6d8f9e; }
.area-panel3 { background: #e6f8fb; }
.toplink { height: 82px; gap: 24px; }
.bd-block { width: 150px; font-size: 36px; font-family: Georgia, "Microsoft YaHei", serif; text-shadow: 2px 2px 0 #c3e3f1; }
.bd-block a { color: #0871bd; }
.bar-wrap { max-width: 480px; margin-left: auto; }
.book-coverlist { height: 36px; border: 1px solid #9bc7df; background: #fff; }
.name-area { height: 36px; background: #ddd; color: #222; }
.item-line { display: none; }
.menu-col { height: 44px; background: #79c2e3; padding: 0 10px; }
.menu-col a { line-height: 44px; padding: 0 11px; border-right: 0; color: #fff; font-weight: 700; }
.menu-col a:hover { background: #5eb1d8; }
.cell-cover2 { padding: 12px 0 24px; }

.side-main { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 22px; padding: 14px; margin-bottom: 22px; border: 3px solid #b9dff1; background: #fffdf6; }
.sort-line { display: grid; grid-template-columns: 126px 1fr; gap: 12px; min-height: 176px; }
.site-panel img { width: 126px; height: 170px; object-fit: cover; border: 1px solid #abc6d4; padding: 3px; background: #fff; }
.page-bd2 h2 { height: 28px; line-height: 28px; font-size: 15px; border-bottom: 1px dotted #c7d8e3; overflow: hidden; }
.page-bd2 h2 a { color: #5b6fad; font-weight: 700; }
.page-bd2 h2 span { float: right; color: #aaa; font-weight: 400; }
.page-bd2 p { padding-top: 8px; color: #555; line-height: 1.85; height: 132px; overflow: hidden; text-indent: 2em; }
.cont-item2 { display: grid; grid-template-columns: 1fr 335px; gap: 14px; align-items: start; }
.link-sec, .grid-inner2 { border: 3px solid #86c9e8; background: #eef6f6; }
.link-sec h2, .grid-inner2 h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd3e9; color: #456; font-size: 16px; }
.wen-bd, .rank-cell { list-style: none; padding: 8px 12px; }
.wen-bd 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; }
.wen-bd .box3 { color: #555; }
.wen-bd .block-text2, .wen-bd .wrap-bar, .wen-bd .pic5 { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.wen-bd .pic5, .wen-bd .top-col { color: #aaa; text-align: right; }
.rank-cell li { display: grid; grid-template-columns: 78px 1fr 58px; gap: 6px; height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; overflow: hidden; }
.rank-cell span { color: #555; }
.rank-cell a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rank-cell em { color: #666; font-style: normal; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rank-bar { display: grid; grid-template-columns: 190px 1fr 190px; gap: 18px; padding: 14px 12px; }
.rank-bar a, .rank-bar select { height: 40px; border: 0; background: #4eadd0; color: #fff; text-align: center; border-radius: 3px; font-weight: 700; }
.rank-bar a { line-height: 40px; }
.rank-bar select { background: #fff; color: #222; border: 1px solid #d8e2e4; padding: 0 12px; }
.bd-inner { 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; }
    .cont-box9, .tag-box5, .toplink, .menu-col, .block-line { width: 100%; max-width: none; }
    .bd-meta { display: none; }
    .area-panel3 { padding: 10px; background: #dff5fb; }
    .toplink { display: block; height: auto; }
    .bd-block { width: auto; font-size: 30px; text-align: left; margin: 0 0 10px; padding-right: 58px; }
    .bar-wrap { max-width: none; display: flex; margin-left: 0; }
    .book-coverlist { height: 38px; font-size: 14px; }
    .name-area { width: 72px; height: 38px; }
    .menu-col { display: none; }
    .block-line { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); overflow: hidden; height: 40px; background: #79c2e3; padding: 0; }
    .block-line a { min-width: 0; color: #fff; line-height: 40px; padding: 0 2px; text-align: center; font-weight: 700; white-space: nowrap; }
    .toplink .block-line { margin-bottom: 8px; }
    .cell-cover2 { padding: 8px; }
    .side-main { display: block; padding: 8px; margin-bottom: 10px; border-width: 2px; }
    .sort-line { display: grid; grid-template-columns: 82px 1fr; gap: 10px; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #d8e2e4; }
    .sort-line:last-child { border-bottom: 0; }
    .site-panel img { width: 82px; height: 110px; padding: 2px; }
    .page-bd2 h2 { height: 24px; line-height: 24px; font-size: 15px; }
    .page-bd2 h2 span { display: none; }
    .page-bd2 p { height: 78px; line-height: 1.7; padding-top: 5px; text-indent: 0; }
    .cont-item2 { display: block; }
    .block-ft { display: flex; flex-direction: column; }
    .block-ft .grid-inner2 { order: 1; }
    .block-ft .link-sec { order: 2; }
    .link-sec, .grid-inner2 { border-width: 2px; margin-bottom: 10px; }
    .link-sec h2, .grid-inner2 h2 { height: 34px; line-height: 34px; font-size: 15px; }
    .wen-bd, .rank-cell { padding: 4px 8px; }
    .wen-bd 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; }
    .wen-bd .pic5, .wen-bd .top-col { display: none; }
    .wen-bd .box3 { display: block; width: auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #555; }
    .wen-bd .block-text2 { font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .wen-bd .wrap-bar { color: #777; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .rank-cell li { grid-template-columns: minmax(0, 1fr) 88px; height: 34px; line-height: 34px; }
    .rank-cell span { display: none; }
    .rank-bar { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .rank-bar select { grid-column: 1 / -1; order: -1; }
    .bd-inner { padding: 14px 8px; line-height: 1.7; }
}

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

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

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

.card-cover { position: fixed; right: 18px; bottom: 26px; z-index: 50; display: grid; gap: 8px; }
.card-cover 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); }
.card-cover button:hover { background: #4eadd0; }
body.cat-inner6 { background: #1e1e1e; color: #aaa; }
body.cat-inner6 a { color: #9eb8e8; }
body.cat-inner6 .bd-meta,
body.cat-inner6 .area-panel3,
body.cat-inner6 .bd-inner { background: #252525; border-color: #3a3a3a; color: #888; }
body.cat-inner6 .menu-col,
body.cat-inner6 .block-line { background: #333; }
body.cat-inner6 .menu-col a:hover,
body.cat-inner6 .block-line a:hover { background: #444; }
body.cat-inner6 .side-main,
body.cat-inner6 .box-bar,
body.cat-inner6 .cate-row3,
body.cat-inner6 .author-mod,
body.cat-inner6 .col4,
body.cat-inner6 .home-area8,
body.cat-inner6 .head-cover,
body.cat-inner6 .ft-rowcol,
body.cat-inner6 .top-bar,
body.cat-inner6 .head,
body.cat-inner6 .link-sec,
body.cat-inner6 .grid-inner2,
body.cat-inner6 .rank-text2,
body.cat-inner6 .menu-block { background: #2a2a2a; border-color: #444; }
body.cat-inner6 .mod-cover6 { background: #202020; border-color: #444; }
body.cat-inner6 .read-cover { color: #b8b8b8; }
body.cat-inner6 .top-inner5,
body.cat-inner6 .tag-text4 h2,
body.cat-inner6 .ft-rowcol h2,
body.cat-inner6 .top-bar h2,
body.cat-inner6 .link-sec h2,
body.cat-inner6 .grid-inner2 h2,
body.cat-inner6 .rank-text2 h2,
body.cat-inner6 .col4 h1,
body.cat-inner6 .head h1,
body.cat-inner6 .unit-text h2,
body.cat-inner6 .home-area8 h1 { background: #333; color: #ccc; border-color: #444; }
body.cat-inner6 .page-bd2 p,
body.cat-inner6 .tool-box p,
body.cat-inner6 .mod-item p,
body.cat-inner6 .col p,
body.cat-inner6 .ft-rowcol p,
body.cat-inner6 .row p,
body.cat-inner6 .novel-cell .cell-unit { color: #aaa; }
body.cat-inner6 .pic-item th { background: #333; color: #ccc; }
body.cat-inner6 .pic-item th,
body.cat-inner6 .pic-item td,
body.cat-inner6 .wen-bd li,
body.cat-inner6 .rank-cell li,
body.cat-inner6 .rank-text2 li,
body.cat-inner6 .meta-img li { border-color: #444; }
body.cat-inner6 .book-coverlist,
body.cat-inner6 .num-bd input,
body.cat-inner6 .rank-bar select { background: #222; color: #ddd; border-color: #555; }
@media (max-width: 768px) {
    .card-cover { right: 10px; bottom: 14px; }
    .card-cover button { width: 48px; height: 32px; font-size: 13px; }
}

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

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

.sitewrap { border: 3px solid #86c9e8; background: #eef6f6; margin-bottom: 22px; }
.sitewrap .cate-line { height: 34px; line-height: 34px; padding: 0 12px; color: #456; border-bottom: 1px solid #b9dff1; background: #dcecef; }
.wrap-main7 { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 14px 28px 18px; }
.story-inner {
    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;
}
.story-inner img {
    display: block;
    width: 100%;
    height: 176px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}
.num-row2 h1 { font-size: 30px; line-height: 44px; color: #333; }
.home-bd { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-bottom: 1px dashed #86aebd; padding-bottom: 6px; margin-bottom: 8px; }
.home-bd p { height: 28px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #444; }
.home-bd .item-wrap { color: #b54800; font-weight: 700; grid-column: 1 / -1; }
.toolcell { grid-column: 2; line-height: 1.8; color: #444; }
.row-img7 { display: none; }
.cat-con7 { display: none; }
.unit-box6 { border: 3px solid #4eadd0; background: #eef6f6; margin-bottom: 30px; }
.unit-box6 h2 { height: 38px; line-height: 38px; text-align: center; background: #9fb6bd; color: #333; font-size: 16px; border-bottom: 1px solid #9fc9db; }
.unit-box6 .name-sec { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 12px; list-style: none; }
.unit-box6 .name-sec li { height: 40px; line-height: 40px; border-bottom: 1px dashed #9fb6bd; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-right: 16px; }
.unit-box6 .name-sec.readhd li { font-weight: 700; }
.ft { display: grid; grid-template-columns: 250px 1fr 250px; gap: 18px; padding: 16px 12px; }
.ft a, .ft span, .ft button, .ft select { height: 40px; line-height: 40px; border: 0; text-align: center; border-radius: 3px; }
.ft a, .ft span, .ft button { background: #1e6f8a; color: #fff; cursor: pointer; font: inherit; }
.ft button:disabled { cursor: default; opacity: .65; }
.ft select { background: #fff; border: 1px solid #ddd; padding: 0 12px; text-align: left; }
.sec-ft8 { background: #eee; padding: 18px 14px; margin-bottom: 20px; }
.sec-ft8 h2 { text-align: center; color: #777; font-size: 16px; margin-bottom: 14px; font-weight: 400; }
.block-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 45px; }
.block-inner a { display: block; height: 38px; line-height: 38px; text-align: center; background: #e3e3e3; color: #333; border-radius: 3px; }
@media (max-width: 768px) {
    .sitewrap, .unit-box6 { border-width: 2px; margin-bottom: 12px; }
    .sitewrap .cate-line { height: auto; line-height: 1.5; padding: 8px; }
    .wrap-main7 { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 10px; align-items: start; }
    .story-inner { width: 96px; min-height: 126px; padding: 4px; background: rgba(255,255,255,.45); }
    .story-inner img { width: 100%; height: 118px; object-fit: contain; object-position: center; }
    .num-row2 { min-width: 0; }
    .num-row2 h1 { font-size: 18px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .home-bd { display: block; border-bottom: 0; padding-bottom: 0; margin-bottom: 6px; }
    .home-bd p { height: 26px; line-height: 26px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .row-img7 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; grid-column: 1 / -1; margin: 2px 0 8px; }
    .desc-mod8 { 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; }
    .desc-mod8:hover { color: #fff; text-decoration: none; opacity: .92; }
    .desc-mod8.bd-list { background: #f0305a; }
    .desc-mod8.box-sec9 { background: #f1a51e; }
    .desc-mod8.shu-unit { background: #5b8cc3; }
    .toolcell { grid-column: 1 / -1; max-height: 118px; overflow: hidden; line-height: 1.85; color: #444; }
    .toolcell.cha-con { max-height: none; }
    .cat-con7 { 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; }
    .unit-box6 .name-sec { grid-template-columns: 1fr; padding: 0 8px; }
    .unit-box6 .name-sec li { height: 36px; line-height: 36px; padding-right: 0; }
    .ft { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .ft select { grid-column: 1 / -1; order: -1; }
    .block-inner { grid-template-columns: 1fr; gap: 8px; }
}

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

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

@media (max-width: 768px) {
    html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
    .cont-box9, .cell-cover2, .area-panel3, .toplink, .mod-cover6, .sitewrap, .unit-box6 { max-width: 100%; overflow-x: hidden; }
    .bar-wrap { width: 100%; max-width: 100%; }
    .book-coverlist { min-width: 0; }
    .name-area { flex: 0 0 68px; width: 68px; }
    .block-line { max-width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
    .mod-cover6 { padding-left: 10px; padding-right: 10px; }
    .cate-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .side h1 { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
    .side p { white-space: normal; overflow-wrap: anywhere; }
    .read-cover { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .read-cover p { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .card-cover { right: 8px; }
}

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

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

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

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

body.cat-inner6 .bd-block a { color: #b8d7ef; text-shadow: 1px 1px 0 #1a3c55; }
body.cat-inner6 .mod-cover6 { background: #242424; }
body.cat-inner6 .side h1 { color: #ddd; }
body.cat-inner6 .side p,
body.cat-inner6 .cate-line { color: #aaa; }
body.cat-inner6 .read-cover { color: #d2d2d2; }
body.cat-inner6 .read-cover p { color: #d2d2d2; }
body.cat-inner6.site-ft2 .mod-cover6,
body.cat-inner6.tag-grid .mod-cover6,
body.cat-inner6.time-con3 .mod-cover6 { background: #242424; }
@media (max-width: 768px) {
    .rank-gridgrid { grid-template-columns: auto 28px 28px 28px 1fr 42px; }
    body.cat-inner6 .rank-gridgrid { background: #2b2b2b; border-color: #555; }
}

:root { --reader-bg-custom: #E9FAFF; }
.mod-cover6 { background: var(--reader-bg-custom, #f6f1e7); }
body:not(.cat-inner6) .mod-cover6 { background: var(--reader-bg-custom, #E9FAFF); }
body:not(.cat-inner6) .read-cover { color: #333; }

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

@media (max-width: 768px) {
    .mod-cover6 > .cate-line,
    .mod-cover6 > .side { display: none; }
    .mod-cover6 { padding-top: 0; }
}

/* 关灯只作用于章节正文，头部、搜索、工具栏和翻页保持原样。 */
body.cat-inner6 { background: #e6f8fb; color: #555; }
body.cat-inner6 a { color: #4d6da8; }
body.cat-inner6 .bd-meta { background: #d9eef3; border-color: #b8dce7; color: #6d8f9e; }
body.cat-inner6 .area-panel3,
body.cat-inner6 .bd-inner { background: #e6f8fb; border-color: #72c4e8; color: #555; }
body.cat-inner6 .menu-col,
body.cat-inner6 .block-line { background: #79c2e3; }
body.cat-inner6 .menu-col a,
body.cat-inner6 .block-line a { color: #fff; }
body.cat-inner6 .book-coverlist,
body.cat-inner6 .num-bd input,
body.cat-inner6 .rank-bar select { background: #fff; color: #333; border-color: #9bc7df; }
body.cat-inner6 .mod-cover6,
body.cat-inner6.site-ft2 .mod-cover6,
body.cat-inner6.tag-grid .mod-cover6,
body.cat-inner6.time-con3 .mod-cover6 { background: #2f3437; border-color: #444; }
body.cat-inner6 .side h1 { color: #ddd; }
body.cat-inner6 .side p,
body.cat-inner6 .cate-line { color: #aaa; }
body.cat-inner6 .bar-meta8 a,
body.cat-inner6 .bar-meta8 span { background: #363b3f; border-color: #555; color: #c8c8c8; }
body.cat-inner6 .rank-gridgrid { background: #2f3437; border-color: #555; }
body.cat-inner6 .rank-gridgrid span,
body.cat-inner6 .rank-gridgrid label { color: #c8c8c8; }
body.cat-inner6 .rank-gridgrid select,
body.cat-inner6 .rank-gridgrid button { background: #363b3f; border-color: #6b747b; color: #c8d7e8; }
body.cat-inner6 .read-cover { background: transparent; color: #aaa; }
body.cat-inner6 .read2 { border-color: #555; color: #bbb; }
body.cat-inner6 .read-cover p { color: #aaa; }
body.cat-inner6 .bd-block a { color: #0871bd; text-shadow: 2px 2px 0 #c3e3f1; }
body.cat-inner6 .page9 { color: #0871bd; border-color: #79c2e3; background: rgba(255,255,255,.55); }
body.cat-inner6 .page9:hover { color: #0871bd; background: rgba(255,255,255,.8); }
body.cat-inner6 .cate-grid8 { background: #eee; }
body.cat-inner6 .cate-grid8 h2 { color: #777; }
body.cat-inner6 .mod-itemlink a { background: #e3e3e3; color: #333; }
.vol-mod { text-align: center; padding: 54px 20px 62px; border: 3px solid #86c9e8; background: #fffdf6; }
.vol-mod h1 { margin-bottom: 12px; color: #287dc2; font-size: 30px; font-weight: 700; }
.vol-mod p { margin: 8px 0; color: #555; }
.grid-block { display: inline-block; min-width: 110px; height: 34px; margin-top: 12px; line-height: 34px; background: #4eadd0; color: #fff; border-radius: 3px; }
.grid-block:hover { color: #fff; text-decoration: none; background: #287dc2; }
@media (max-width: 768px) {
    body.cat-inner6 .area-panel3 { background: #dff5fb; }
    .vol-mod { padding: 42px 12px 48px; border-width: 2px; }
    .vol-mod h1 { font-size: 24px; }
}

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

/* Home update/new panels alignment fix */
.block-ft .link-sec,
.block-ft .grid-inner2 { align-self: start; }
.block-ft .wen-bd,
.block-ft .rank-cell { padding: 8px 10px; font-size: 13px; }
.block-ft .wen-bd li,
.block-ft .rank-cell li { height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; }
.block-ft .wen-bd li { grid-template-columns: 92px 188px minmax(0, 1fr) 78px 42px; gap: 7px; }
.block-ft .rank-cell li { grid-template-columns: 82px minmax(0, 1fr) 62px; gap: 7px; }
.block-ft .wen-bd .box3,
.block-ft .wen-bd .block-text2,
.block-ft .wen-bd .wrap-bar,
.block-ft .wen-bd .pic5,
.block-ft .wen-bd .top-col,
.block-ft .rank-cell span,
.block-ft .rank-cell a,
.block-ft .rank-cell em { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 768px) {
    .block-ft .wen-bd,
    .block-ft .rank-cell { padding: 4px 8px; font-size: 14px; }
    .block-ft .wen-bd li,
    .block-ft .rank-cell li { height: 34px; line-height: 34px; }
    .block-ft .wen-bd li { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
    .block-ft .rank-cell li { grid-template-columns: minmax(0, 1fr) 88px; gap: 6px; }
}

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

/* static rank page, bqg style */
.author-mod.tag {
  display: block;
  border: 2px solid #8ed1ef;
  background: #fffdf6;
  padding: 12px;
}
.tag .num-item3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  margin: 0 0 10px;
  min-height: 28px;
}
.tag .num-item3 h2 {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  color: #444;
  font-weight: 700;
}
.tag .num-item3 strong {
  grid-column: 2 / 3;
  text-align: center;
  font-size: 18px;
  line-height: 28px;
  color: #444;
}
.tag .home-area {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 12px;
}
.tag .cont5 {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  min-height: 156px;
  overflow: hidden;
}
.tag .book-img6 img {
  width: 110px;
  height: 148px;
  object-fit: cover;
  border: 1px solid #b7d2dd;
  background: #fff;
}
.tag .bd7 {
  min-width: 0;
}
.tag .cont5 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;
}
.tag .cont5 h3 a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tag .cont5 h3 span,
.tag .cont5 h3 em {
  color: #999;
  font-weight: 400;
  font-style: normal;
  white-space: nowrap;
}
.tag .shu-textmod {
  margin: 4px 0;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
}
.tag .shu-textmod a {
  display: inline;
}
.tag .panelname {
  margin: 6px 0 0;
  color: #333;
  font-size: 13px;
  line-height: 23px;
  max-height: 92px;
  overflow: hidden;
}
@media (max-width: 720px) {
  .author-mod.tag {
    padding: 8px;
  }
  .tag .num-item3 {
    display: flex;
    justify-content: space-between;
  }
  .tag .num-item3 h2 {
    font-size: 20px;
  }
  .tag .num-item3 strong {
    font-size: 16px;
  }
  .tag .home-area {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .tag .cont5 {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 116px;
  }
  .tag .book-img6 img {
    width: 86px;
    height: 116px;
  }
  .tag .panelname {
    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; }
.cont-box9, .tag-box5, .toplink, .img-mod { width: 980px; max-width: 980px; margin: 0 auto; }
.area-panel3 { background: #e6f8fb; }
.toplink { height: 86px; display: flex; align-items: center; gap: 28px; }
.bd-block { width: 180px; font-size: 34px; line-height: 1; font-family: Georgia, "Microsoft YaHei", serif; font-weight: 700; }
.bd-block a { color: #0871bd; text-shadow: 2px 3px 3px rgba(0, 90, 150, .28); }
.bd-block a:hover { text-decoration: none; color: #0871bd; }
.bar-wrap { margin-left: auto; flex: 0 0 470px; display: flex; height: 38px; border: 1px solid #9bd5ee; background: #fff; }
.book-coverlist { flex: 1; height: 36px; padding: 0 12px; border: 0; font-size: 14px; outline: 0; }
.name-area { width: 78px; height: 36px; border: 0; background: #ddd; color: #222; cursor: pointer; }
.menu-col { width: 980px; max-width: 980px; height: 42px; margin: 0 auto; background: #74c0df; display: block; overflow: hidden; }
.img-mod { display: flex; height: 42px; width: 980px; }
.menu-col a { display: block; color: #fff; font-weight: 700; line-height: 42px; padding: 0 12px; white-space: nowrap; }
.menu-col a:hover, .menu-col a.site4 { background: #57acd2; color: #fff; text-decoration: none; }
.cell-cover2 { padding: 12px 0 20px; }

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

.main-line9 { display: grid; grid-template-columns: repeat(3, 1fr); border: 3px solid #9bd5ee; background: #fffdf5; margin-bottom: 12px; }
.area { min-height: 275px; padding: 8px 12px; border-right: 1px dotted #9bd5ee; border-bottom: 1px solid #ddd; overflow: hidden; }
.area:nth-child(3n) { border-right: 0; }
.area h2 { margin: 0 0 8px; height: 24px; line-height: 24px; border-bottom: 1px solid #cddbe0; font-size: 16px; color: #333; }
.area .vol-text8 { grid-template-columns: 86px 1fr; min-height: 116px; margin-bottom: 6px; }
.area .side-bd6, .area .side-bd6 img { width: 86px; }
.area .side-bd6 img { height: 116px; }
.area .panel3 h3 { font-size: 14px; height: 24px; line-height: 24px; }
.area .panel3 p { height: 96px; font-size: 13px; line-height: 24px; }
.cover-item6, .ft-sec, .list-name9, .novel-con4 { list-style: none; margin: 0; padding: 0; }
.cover-item6 li { display: flex; align-items: center; height: 24px; line-height: 24px; border-top: 1px solid #ddd; overflow: hidden; }
.cover-item6 a { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cover-item6 span { width: 74px; margin-left: 6px; color: #666; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.cont4 { display: grid; grid-template-columns: 1fr 300px; gap: 12px; margin-bottom: 12px; }
.cover-box, .link-text, .shu { border: 3px solid #9bd5ee; background: #eefafa; }
.cover-box h2, .link-text h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd5ee; font-size: 16px; color: #333; }
.list-name9 li, .ft-sec li, .novel-con4 li { display: grid; align-items: center; min-height: 30px; line-height: 30px; border-bottom: 1px solid #d1e3e8; overflow: hidden; }
.list-name9 li { grid-template-columns: 88px minmax(120px,1.15fr) minmax(180px,1.45fr) 90px 50px; column-gap: 8px; padding: 0 10px; }
.ft-sec li { grid-template-columns: 76px minmax(0, 1fr) 76px; column-gap: 0; padding: 0 10px; }
.ft-sec li.paneltext { grid-template-columns: 76px minmax(0, 1fr); }
.novel-con4 li { grid-template-columns: 90px minmax(220px,1fr) minmax(240px,1.2fr) 120px 78px; column-gap: 8px; padding: 0 12px; }
.list-name9 a, .ft-sec a, .novel-con4 a, .name-bd5, .cat9, .hd-ft, .grid-blockarea, .ft-sec em { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.name-bd5 { color: #555; }
.cat9, .hd-ft, .grid-blockarea, .ft-sec em { color: #777; font-style: normal; text-align: right; }
.shu { padding-bottom: 8px; }
.shu h2 { height: 42px; line-height: 42px; padding: 0 12px; background: #fff; border-bottom: 1px solid #ddd; color: #0871bd; font-size: 18px; }
.grid-img { display: grid; grid-template-columns: 160px minmax(160px, 1fr) 160px; gap: 12px; padding: 12px 10px 10px; background: #eefafa; }
.grid-img button, .grid-img select { width: 100%; height: 36px; border-radius: 2px; font: inherit; }
.grid-img button { border: 0; background: #4badd3; color: #fff; cursor: pointer; }
.grid-img button:disabled { opacity: .55; cursor: default; }
.grid-img select { border: 1px solid #b9d7e3; background: #fff; padding: 0 10px; }
.nav-img { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 5px; width: 100%; padding: 10px 6px; box-sizing: border-box; }
.nav-img button, .nav-img select { min-width: 0; padding-left: 3px; padding-right: 3px; font-size: 13px; }
.card3 > [hidden] { display: none !important; }
.tool-text { margin: 0; padding: 28px 20px; background: #fff; border: 1px solid #ddd; }
.tool-text h2 { margin: 0 0 8px; font-size: 22px; color: #555; }
.tool-text p, .num2 { color: #555; }

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

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

@media (max-width: 1023px) {
  .cont-box9, .tag-box5, .toplink, .menu-col, .img-mod { width: auto; max-width: none; }
  .bd-meta { display: block; }
  .tag-box5 { padding: 0 10px; justify-content: center; }
  .area-panel3 { padding: 10px; }
  .toplink { height: auto; display: block; }
  .bd-block { width: auto; margin-bottom: 8px; font-size: 28px; }
  .bar-wrap { width: 100%; max-width: none; margin: 0; flex-basis: auto; }
  .menu-col { margin: 0 10px; height: 38px; overflow-x: auto; }
  .img-mod { display: flex; height: 38px; min-width: max-content; }
  .menu-col a { line-height: 38px; padding: 0 12px; }
  .cell-cover2 { padding: 8px 10px 16px; }
  .rank { display: block; padding: 8px; }
  .rank .vol-text8 { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .rank .side-bd6, .rank .side-bd6 img { width: 86px; }
  .rank .side-bd6 img { height: 116px; }
  .main-line9 { display: block; }
  .area { min-height: 0; border-right: 0; }
  .cont4 { display: flex; flex-direction: column; }
  .link-text { order: 1; }
  .cover-box { order: 2; }
  .list-name9 li { grid-template-columns: 1fr 1fr; gap: 0 10px; min-height: 28px; line-height: 28px; }
  .list-name9 .name-bd5, .list-name9 .cat9, .list-name9 .grid-blockarea { display: none; }
  .ft-sec li { grid-template-columns: 1fr 72px; min-height: 28px; line-height: 28px; }
  .ft-sec li span { display: none; }
  .novel-con4 li { grid-template-columns: 1fr 72px; min-height: 30px; line-height: 30px; }
  .novel-con4 .name-bd5, .novel-con4 .rowpanel { display: none; }
  .novel-con4 .cat9, .novel-con4 .hd-ft { text-align: right; }
  .shu h2 { height: 36px; line-height: 36px; font-size: 16px; }
  .grid-img { grid-template-columns: 1fr 1.25fr 1fr; gap: 8px; padding: 10px 8px; }
  .nav-img { grid-template-columns: 1fr 1.25fr 1fr; }
  .areapanel { display: block; }
  .catname { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .main-wrap img { width: 86px; height: 116px; }
}

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

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

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

  .story3 .vol-text8:last-child {
    border-bottom: 0;
  }

  .story3 .side-bd6,
  .story3 .side-bd6 img {
    width: 82px;
  }

  .story3 .side-bd6 img {
    height: 110px;
    object-fit: cover;
  }

  .story3 .panel3 {
    min-width: 0;
  }

  .story3 .panel3 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;
  }

  .story3 .panel3 h3 a {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .story3 .panel3 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;
  }

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

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

  .num-unit .cover-box,
  .num-unit .link-text {
    width: 100%;
    margin: 0 0 10px;
    border: 2px solid #8fd1ed;
    box-sizing: border-box;
  }

  .num-unit .cover-box h2,
  .num-unit .link-text h2 {
    padding: 8px 10px;
    font-size: 14px;
    line-height: 20px;
  }

  .num-unit .list-name9 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;
  }

  .num-unit .list-name9 .name-bd5,
  .num-unit .list-name9 .update-panel,
  .num-unit .list-name9 .rowpanel {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
  }

  .num-unit .list-name9 .name-bd5 {
    display: none;
  }

  .num-unit .list-name9 .cat9,
  .num-unit .list-name9 .grid-blockarea {
    display: none;
  }

  .num-unit .ft-sec 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;
  }

  .num-unit .ft-sec li.paneltext {
    grid-template-columns: minmax(0, 1fr);
  }

  .num-unit .ft-sec li > span {
    display: none;
  }

  .num-unit .ft-sec span,
  .num-unit .ft-sec a,
  .num-unit .ft-sec em {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
  }
}

/* desktop bqg scale restore */
@media (min-width: 1024px) {
  .cont-box9,
  .tag-box5,
  .toplink,
  .img-mod {
    width: 1024px;
    max-width: 1024px;
  }

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

  .rank .vol-text8 {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 14px;
    min-height: 160px;
  }

  .rank .side-bd6,
  .rank .side-bd6 img {
    width: 120px;
  }

  .rank .side-bd6 img {
    height: 160px;
  }

  .rank .panel3 h3,
  .main-line9 .panel3 h3 {
    font-size: 15px;
    line-height: 23px;
  }

  .rank .panel3 p,
  .main-line9 .panel3 p {
    font-size: 14px;
    line-height: 24px;
  }

  .area {
    padding: 10px 12px;
  }

  .area .vol-text8 {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    min-height: 124px;
  }

  .area .side-bd6,
  .area .side-bd6 img {
    width: 92px;
  }

  .area .side-bd6 img {
    height: 124px;
  }

  .cover-item6 li,
  .ft-sec li,
  .list-name9 li {
    font-size: 14px;
    min-height: 24px;
    line-height: 24px;
  }

  .cover-box h2,
  .link-text h2,
  .area h2 {
    font-size: 16px;
  }
}

/* 2026-07-12: desktop home layout restore: 4 featured + classic sidebar */
@media (min-width: 1024px) {
  .cont-box9,
  .tag-box5,
  .toplink,
  .img-mod {
    width: 1024px;
    max-width: 1024px;
    box-sizing: border-box;
  }

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

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

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

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

  .date-text .rank .vol-text8 {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    min-height: 160px;
    gap: 14px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .date-text .rank .vol-text8:nth-child(n+5) {
    display: none;
  }

  .date-text .side-bd6,
  .date-text .side-bd6 img {
    width: 120px;
    height: 160px;
    object-fit: cover;
  }

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

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

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

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

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

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

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

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

  .date-text .rank {
    display: block;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
  }

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

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

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

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

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

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

/* 2026-07-12: force desktop nav/header width to 1024px */
@media (min-width: 1024px) {
  .tag-box5,
  .toplink,
  .img-mod,
  .cont-box9 {
    width: 1024px !important;
    max-width: 1024px !important;
    box-sizing: border-box;
  }

  .menu-col,
  .block-line {
    width: 1024px !important;
    max-width: 1024px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }

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

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

.menu-col a:hover,
.block-line a:hover,
.img-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) {
  .tag-box5,
  .toplink,
  .img-mod,
  .cont-box9,
  .menu-col,
  .block-line {
    width: 1024px !important;
    max-width: 1024px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .menu-col,
  .block-line {
    overflow: hidden !important;
  }
}

@media (max-width: 1023px) {
  .tag-box5,
  .toplink,
  .img-mod,
  .cont-box9,
  .menu-col,
  .block-line {
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .cont-box9,
  .toplink,
  .tag-box5 {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

  .menu-col,
  .block-line {
    margin-left: 10px !important;
    margin-right: 10px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

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

/* nav-hover-disabled: 导航条不保留 hover / focus / active 印记 */
.area-panel3 nav a:hover,
.area-panel3 nav a:focus,
.area-panel3 nav a.site4,
.area-panel3 nav .site4,
.toplink nav a:hover,
.toplink nav a:focus,
.toplink nav a.site4,
.toplink nav .site4,
.menu-col a:hover,
.menu-col a:focus,
.menu-col a.site4,
.menu-col .site4,
.block-line a:hover,
.block-line a:focus,
.block-line a.site4,
.block-line .site4 {
    background: transparent !important;
    color: #fff !important;
    text-decoration: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

/* responsive-1024-fix:start */
/* 桌面版：传统站宽度固定 1024，导航与主体保持同宽 */
@media (min-width: 1024px) {
    .tag-box5,
    .area-panel3 .toplink,
    .toplink,
    .cont-box9,
    .cell-cover2,
    .main-list,
    .vol8,
    .grid-item6,
    .menu-col,
    .block-line {
        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;
    }

    .bd-meta,
    .area-panel3,
    .cell-cover2,
    .bd-inner,
    .tag-box5,
    .area-panel3 .toplink,
    .toplink,
    .cont-box9,
    .grid-item6,
    .main-list,
    .vol8,
    .panel-line,
    .menu-col,
    .block-line {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .tag-box5,
    .area-panel3 .toplink,
    .toplink,
    .cont-box9,
    .main-list,
    .vol8,
    .cell-cover2 {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .area-panel3 .toplink,
    .toplink {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .bd-block,
    .area-panel3 h1,
    .area-panel3 .bd-block {
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
        text-align: left !important;
    }

    .page9 {
        margin-left: auto !important;
    }

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

    .bar-wrap .book-coverlist,
    .bar-wrap input[type="text"] {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
    }

    .bar-wrap .name-area,
    .bar-wrap button,
    .bar-wrap input[type="submit"] {
        flex: 0 0 82px !important;
        width: 82px !important;
    }

    .menu-col,
    .block-line {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 0 !important;
    }

    .menu-col a,
    .block-line a {
        flex: 0 0 auto !important;
        padding: 0 12px !important;
        text-align: center !important;
    }

    .author-mod,
    .date-item,
    .novel-listpanel,
    .sec-wrap,
    .dateitem,
    .shu .new-bd,
    .novel-con4,
    .new-bd,
    .sec-row8,
    .title-inner,
    .bd-row8,
    .sitewrap {
        display: block !important;
        grid-template-columns: none !important;
        columns: auto !important;
        width: 100% !important;
    }

    .card-mod4,
    .area-link,
    .new-bd .book-bd5,
    .novel-con4 .book-bd5,
    .sec-row8 .book-bd5,
    .title-inner .book-bd5,
    .bd-row8 .book-bd5,
    .cate-row2,
    .nav-info2 {
        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;
    }

    .card-mod4 img,
    .area-link img,
    .main-wrap img,
    .new-bd .book-bd5 img,
    .novel-con4 .book-bd5 img,
    .sec-row8 .book-bd5 img,
    .title-inner .book-bd5 img,
    .bd-row8 .book-bd5 img,
    .cate-row2 img,
    .nav-info2 img {
        width: 88px !important;
        height: 118px !important;
        object-fit: cover !important;
    }

    .col,
    .metasec,
    .panel3,
    .row,
    .nav-info2 dl,
    .nav-info2 .nav-con {
        min-width: 0 !important;
    }

    .update9,
    .menu-bar2,
    .panel,
    .item2 {
        display: block !important;
        grid-template-columns: none !important;
        width: 100% !important;
    }

    .update9 > *,
    .menu-bar2 > *,
    .panel > *,
    .item2 > * {
        width: 100% !important;
        margin-bottom: 10px !important;
        box-sizing: border-box !important;
    }
}

/* 导航条不保留 hover/focus/active 视觉印记 */
.menu-col a:hover,
.menu-col a:focus,
.menu-col a:active,
.menu-col a.site4,
.menu-col .site4,
.block-line a:hover,
.block-line a:focus,
.block-line a:active,
.block-line a.site4,
.block-line .site4,
.area-panel3 nav a:hover,
.area-panel3 nav a:focus,
.area-panel3 nav a:active,
.area-panel3 nav a.site4,
.toplink nav a:hover,
.toplink nav a:focus,
.toplink nav a:active,
.toplink nav a.site4 {
    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) {
  .date-text .panel3 p,
  .story3 .panel3 p {
    height: 130px;
    line-height: 26px;
  }
}

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

  .toplink {
    height: 68px;
  }

  .menu-col,
  .img-mod {
    height: 38px;
  }

  .menu-col a,
  .img-mod a {
    line-height: 38px;
  }

  .cell-cover2 {
    padding-top: 8px;
  }
}

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

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

  .area-panel3 {
    padding: 0 !important;
    background: #e6f8fb !important;
  }

  .area-panel3 .toplink,
  .toplink {
    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;
  }

  .area-panel3 .bd-block,
  .area-panel3 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;
  }

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

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

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

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

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

  .area-panel3 .bar-wrap,
  .toplink .bar-wrap {
    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;
  }

  .area-panel3 .bar-wrap .book-coverlist,
  .area-panel3 .bar-wrap input[type="text"] {
    height: 34px !important;
    border: 1px solid #8dcde7 !important;
    border-right: 0 !important;
  }

  .area-panel3 .bar-wrap .name-area,
  .area-panel3 .bar-wrap button {
    flex: 0 0 82px !important;
    width: 82px !important;
    height: 34px !important;
    border: 1px solid #8dcde7 !important;
    background: #ddd !important;
    color: #222 !important;
  }

  body > .menu-col,
  body > nav.menu-col {
    display: none !important;
  }

  .cell-cover2 {
    padding-top: 0 !important;
  }

  .date-text {
    margin-top: 0 !important;
  }

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

  .wrap-main7 .story-inner {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 96px !important;
    min-height: 126px !important;
    padding: 4px !important;
  }

  .wrap-main7 .story-inner img {
    width: 100% !important;
    height: 118px !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  .wrap-main7 .num-row2 {
    display: contents !important;
  }

  .wrap-main7 .num-row2 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;
  }

  .wrap-main7 .home-bd {
    grid-column: 2 !important;
    grid-row: 2 !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .wrap-main7 .home-bd p {
    height: 25px !important;
    line-height: 25px !important;
  }

  .wrap-main7 .row-img7 {
    grid-column: 1 / -1 !important;
    grid-row: 5 !important;
    margin: 2px 0 0 !important;
  }

  .wrap-main7 .toolcell {
    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;
  }

  .wrap-main7 .toolcell.cha-con {
    max-height: none !important;
  }

  .wrap-main7 .cat-con7 {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
  }

  .unit-box6 .name-sec {
    grid-template-columns: 1fr !important;
  }

  .mod-cover6 .sec-ft8 {
    margin: 14px 0 0 !important;
    padding: 14px 10px 16px !important;
    background: #fff !important;
  }

  .mod-cover6 .sec-ft8 h2 {
    margin-bottom: 12px !important;
    color: #888 !important;
    font-weight: 400 !important;
  }

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

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

  .cell-cover2 .cont-box9 > .sec-ft8 {
    margin: 0 0 14px !important;
    padding: 14px 10px 16px !important;
    background: #fff !important;
  }

  .cell-cover2 .cont-box9 > .sec-ft8 .block-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 14px !important;
  }

  .cell-cover2 .cont-box9 > .sec-ft8 .block-inner 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) {
  .num-unit .list-name9 li {
    height: 35px;
    min-height: 35px;
    line-height: 35px;
  }

  .num-unit .ft-sec li,
  .num-unit .ft-sec li.paneltext {
    height: 30px;
    min-height: 30px;
    line-height: 30px;
  }

  /* 数据不足49条时，左右条数相同，统一使用35px行高。 */
  .num-unit.infohd .ft-sec li,
  .num-unit.infohd .ft-sec li.paneltext {
    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. */
.num-unit { align-items: stretch; }
.num-unit .cover-box,
.num-unit .link-text { min-width: 0; }
.num-unit .link-text { display: flex; flex-direction: column; }
.num-unit .link-text .ft-sec { flex: 0 0 auto; }
.num-unit .info-cell7 {
  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;
}
.num-unit .info-cell7 > a,
.num-unit .info-cell7 > span,
.num-unit .info-cell7 > select {
  width: 100%;
  height: 36px;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
.num-unit .info-cell7 > a,
.num-unit .info-cell7 > span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.num-unit .info-cell7 > select {
  border: 1px solid #b9d7e3;
  background: #fff;
  padding: 0 10px;
}
.num-unit .cat {
  margin: auto 0 0;
  padding: 12px 10px 10px;
  border-top: 1px solid #cbdde3;
  box-sizing: border-box;
}
.num-unit .cat 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) {
  .num-unit .info-cell7 {
    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) {
  .cell-cover2.area-list,
  .cell-cover2.tool-item,
  .cell-cover2.name {
    width: 100% !important;
    max-width: none !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    box-sizing: border-box !important;
  }

  .cell-cover2.area-list > .cont-box9,
  .cell-cover2.tool-item > .cont-box9,
  .cell-cover2.name > .cont-box9 {
    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;
  }

  .cell-cover2.card-wrap3 {
    width: 100% !important;
    max-width: none !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    box-sizing: border-box !important;
  }

  .cell-cover2.card-wrap3 > .cont-box9 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .cell-cover2.card-wrap3 .mod-cover6 {
    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;
  }

  .cell-cover2.card-wrap3 .read-cover {
    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;
  }

  .cell-cover2.card-wrap3 .rank-gridgrid,
  .cell-cover2.card-wrap3 .bar-meta8 {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}
