* { 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%; }
.link_inner, .authormod, .top_wrap, .panel_text5, .pic_list { max-width: 980px; margin: 0 auto; }

.novelcover { height: 30px; background: #f7f7f7; border-bottom: 1px solid #ddd; color: #777; font-size: 12px; }
.authormod { display: flex; gap: 24px; align-items: center; height: 30px; }
.top_list { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.top_list:hover { color: #0871bd; text-decoration: underline; }
.linkunit { background: #2f8ed8; }
.top_wrap { height: 76px; display: flex; align-items: center; gap: 28px; }
.hot_box { width: 170px; font-size: 34px; line-height: 1; font-weight: 700; }
.hot_box a { color: #fff; letter-spacing: 0; }
.hot_box a:hover { color: inherit; text-decoration: none; }
.hd_name { flex: 1; display: flex; max-width: 470px; }
.homeitem { flex: 1; height: 38px; padding: 0 12px; border: 0; outline: 0; font-size: 14px; }
.box9 { width: 78px; height: 38px; border: 0; background: #f5a623; color: #fff; font-size: 15px; cursor: pointer; }
.hd_list2 { margin-left: auto; display: flex; gap: 10px; }
.hd_list2 a { color: #fff; padding: 5px 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 2px; }

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

.shu { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 12px; }
.author_meta3, .title_name8, .itemcol, .panel, .foot_main6, .cha_item, .page_sec { background: #fff; border: 1px solid #ddd; }
.author_meta3 { display: grid; grid-template-columns: 1fr 1fr; padding: 12px; gap: 12px; }
.area_cell6 { display: flex; min-height: 132px; overflow: hidden; }
.area_cell6 .cate_item9 { width: 88px; flex: 0 0 88px; margin-right: 12px; }
.area_cell6 .cate_item9 img { width: 88px; height: 120px; object-fit: cover; border: 1px solid #ddd; }
.area_cell6 dt { height: 28px; line-height: 28px; overflow: hidden; font-weight: 700; }
.area_cell6 dt span { float: right; max-width: 72px; color: #888; font-size: 12px; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.area_cell6 dd { color: #555; height: 88px; overflow: hidden; font-size: 13px; }
.area_cell6 dd a { color: #555; }
.cont_block9, .itemcol h2, .foot_main6 h2, .cha_item h2 { height: 38px; line-height: 38px; padding: 0 12px; border-bottom: 1px solid #ddd; background: #f9f9f9; color: #287dc2; font-size: 16px; }
.box3unit, .rank_mod, .rank_inner3, .unit_mod8, .card_block { list-style: none; }
.box3unit li, .rank_inner3 li, .card_block li { display: flex; height: 35px; line-height: 35px; padding: 0 12px; border-bottom: 1px dashed #e5e5e5; overflow: hidden; }
.cover_link, .rank_meta5 { width: 86px; color: #888; flex: 0 0 86px; }
.box_grid5, .title { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.book6 { width: 220px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.info_text4, .menu_col3 { width: 88px; color: #777; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hd9 { width: 70px; color: #888; text-align: right; }

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

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

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

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

@media (max-width: 768px) {
    .link_inner, .authormod, .top_wrap, .panel_text5, .pic_list { width: 100%; max-width: none; }
    .novelcover { display: none; }
    .linkunit { padding: 10px; }
    .top_wrap { height: auto; display: block; }
    .hot_box { width: auto; margin-bottom: 10px; font-size: 28px; text-align: center; }
    .hd_name { max-width: none; }
    .hd_list2 { display: none; }
    .panel_text5 { display: none; }
    .pic_list { display: flex; overflow-x: auto; background: #287dc2; }
    .pic_list a { color: #fff; line-height: 38px; padding: 0 14px; white-space: nowrap; }
    .book_gridhd { padding: 8px; }
    .shu, .box3 { display: block; }
    .author_meta3 { grid-template-columns: 1fr; margin-bottom: 10px; }
    .title_name8, .itemcol { margin-bottom: 10px; }
    .cover_link, .book6, .info_text4, .rank_meta5, .menu_col3, .hd9 { display: none; }
    .rank_mod { columns: 1; }
    .panel { display: block; text-align: center; }
    .panel .new_bar { margin: 0 auto 12px; }
    .time_info h1 { height: auto; line-height: 1.4; font-size: 24px; }
    .row { justify-content: center; }
    .unit_mod8 { grid-template-columns: 1fr; }
    .shu_link { padding: 0 12px 18px; }
    .item_cover h1 { font-size: 22px; }
    .unitlist { font-size: 18px; line-height: 1.95; padding: 14px 0; }
    .wen_wrap { display: block; font-size: 18px; margin-bottom: 12px; padding-bottom: 8px; line-height: 1.45; }
    .link6 { gap: 8px; }
    .link6 a, .link6 span { min-width: 0; flex: 1; }
}

.contmod { background: #fff; border: 1px solid #ddd; padding: 14px; }
.contmod h1 { height: 38px; line-height: 38px; font-size: 18px; color: #287dc2; border-bottom: 1px solid #ddd; margin-bottom: 14px; }
.unit_main8 { display: flex; max-width: 560px; margin-bottom: 12px; }
.unit_main8 input { flex: 1; height: 36px; padding: 0 10px; border: 1px solid #ccc; border-right: 0; outline: 0; }
.unit_main8 button { width: 76px; border: 0; background: #287dc2; color: #fff; cursor: pointer; }
.shuinfo { color: #777; padding: 8px 0 12px; }
.maintext { list-style: none; }
.maintext li { display: flex; padding: 12px 0; border-top: 1px dashed #e5e5e5; }
.maintext li[hidden] { display: none !important; }
.maintext li.sort_block5 { display: block; color: #888; }
.nav_cell { width: 72px; flex: 0 0 72px; margin-right: 12px; }
.nav_cell img { width: 72px; height: 96px; object-fit: cover; border: 1px solid #ddd; }
.list_text h2 { font-size: 16px; height: 28px; line-height: 28px; overflow: hidden; }
.list_text .authorname { color: #888; font-size: 13px; margin-bottom: 4px; }
.list_text .pic_box5 { color: #555; height: 48px; overflow: hidden; line-height: 1.7; }
@media (max-width: 768px) {
    .contmod { padding: 10px; }
    .unit_main8 { max-width: none; }
}

/* Screenshot-style desktop home layout */
body { background: #e6f8fb; color: #555; font-size: 14px; }
a { color: #4d6da8; }
.link_inner, .authormod, .top_wrap, .panel_text5, .pic_list { max-width: 1160px; }
.novelcover { background: #d9eef3; border-bottom: 1px solid #b8dce7; }
.authormod { color: #6d8f9e; }
.linkunit { background: #e6f8fb; }
.top_wrap { height: 82px; gap: 24px; }
.hot_box { width: 150px; font-size: 36px; font-family: Georgia, "Microsoft YaHei", serif; text-shadow: 2px 2px 0 #c3e3f1; }
.hot_box a { color: #0871bd; }
.hd_name { max-width: 480px; margin-left: auto; }
.homeitem { height: 36px; border: 1px solid #9bc7df; background: #fff; }
.box9 { height: 36px; background: #ddd; color: #222; }
.hd_list2 { display: none; }
.panel_text5 { height: 44px; background: #79c2e3; padding: 0 10px; }
.panel_text5 a { line-height: 44px; padding: 0 11px; border-right: 0; color: #fff; font-weight: 700; }
.panel_text5 a:hover { background: #5eb1d8; }
.book_gridhd { padding: 12px 0 24px; }

.sitecon { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 22px; padding: 14px; margin-bottom: 22px; border: 3px solid #b9dff1; background: #fffdf6; }
.meta_wrap2 { display: grid; grid-template-columns: 126px 1fr; gap: 12px; min-height: 176px; }
.hdtext img { width: 126px; height: 170px; object-fit: cover; border: 1px solid #abc6d4; padding: 3px; background: #fff; }
.shu_con4 h2 { height: 28px; line-height: 28px; font-size: 15px; border-bottom: 1px dotted #c7d8e3; overflow: hidden; }
.shu_con4 h2 a { color: #5b6fad; font-weight: 700; }
.shu_con4 h2 span { float: right; color: #aaa; font-weight: 400; }
.shu_con4 p { padding-top: 8px; color: #555; line-height: 1.85; height: 132px; overflow: hidden; text-indent: 2em; }
.vol2 { display: grid; grid-template-columns: 1fr 335px; gap: 14px; align-items: start; }
.author_img3, .book_hd { border: 3px solid #86c9e8; background: #eef6f6; }
.author_img3 h2, .book_hd h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd3e9; color: #456; font-size: 16px; }
.shu_area5, .bar_main { list-style: none; padding: 8px 12px; }
.shu_area5 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; }
.shu_area5 .tool { color: #555; }
.shu_area5 .cell8, .shu_area5 .tool_meta2, .shu_area5 .shu7 { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.shu_area5 .shu7, .shu_area5 .box_col { color: #aaa; text-align: right; }
.bar_main li { display: grid; grid-template-columns: 78px 1fr 58px; gap: 6px; height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; overflow: hidden; }
.bar_main span { color: #555; }
.bar_main a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bar_main em { color: #666; font-style: normal; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.homewrap { display: grid; grid-template-columns: 190px 1fr 190px; gap: 18px; padding: 14px 12px; }
.homewrap a, .homewrap select { height: 40px; border: 0; background: #4eadd0; color: #fff; text-align: center; border-radius: 3px; font-weight: 700; }
.homewrap a { line-height: 40px; }
.homewrap select { background: #fff; color: #222; border: 1px solid #d8e2e4; padding: 0 12px; }
.date_text { 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; }
    .link_inner, .authormod, .top_wrap, .panel_text5, .pic_list { width: 100%; max-width: none; }
    .novelcover { display: none; }
    .linkunit { padding: 10px; background: #dff5fb; }
    .top_wrap { display: block; height: auto; }
    .hot_box { width: auto; font-size: 30px; text-align: left; margin: 0 0 10px; padding-right: 58px; }
    .hd_name { max-width: none; display: flex; margin-left: 0; }
    .homeitem { height: 38px; font-size: 14px; }
    .box9 { width: 72px; height: 38px; }
    .panel_text5 { display: none; }
    .pic_list { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); overflow: hidden; height: 40px; background: #79c2e3; padding: 0; }
    .pic_list a { min-width: 0; color: #fff; line-height: 40px; padding: 0 2px; text-align: center; font-weight: 700; white-space: nowrap; }
    .top_wrap .pic_list { margin-bottom: 8px; }
    .book_gridhd { padding: 8px; }
    .sitecon { display: block; padding: 8px; margin-bottom: 10px; border-width: 2px; }
    .meta_wrap2 { display: grid; grid-template-columns: 82px 1fr; gap: 10px; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #d8e2e4; }
    .meta_wrap2:last-child { border-bottom: 0; }
    .hdtext img { width: 82px; height: 110px; padding: 2px; }
    .shu_con4 h2 { height: 24px; line-height: 24px; font-size: 15px; }
    .shu_con4 h2 span { display: none; }
    .shu_con4 p { height: 78px; line-height: 1.7; padding-top: 5px; text-indent: 0; }
    .vol2 { display: block; }
    .text9 { display: flex; flex-direction: column; }
    .text9 .book_hd { order: 1; }
    .text9 .author_img3 { order: 2; }
    .author_img3, .book_hd { border-width: 2px; margin-bottom: 10px; }
    .author_img3 h2, .book_hd h2 { height: 34px; line-height: 34px; font-size: 15px; }
    .shu_area5, .bar_main { padding: 4px 8px; }
    .shu_area5 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; }
    .shu_area5 .shu7, .shu_area5 .box_col { display: none; }
    .shu_area5 .tool { display: block; width: auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #555; }
    .shu_area5 .cell8 { font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .shu_area5 .tool_meta2 { color: #777; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .bar_main li { grid-template-columns: minmax(0, 1fr) 88px; height: 34px; line-height: 34px; }
    .bar_main span { display: none; }
    .homewrap { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .homewrap select { grid-column: 1 / -1; order: -1; }
    .date_text { padding: 14px 8px; line-height: 1.7; }
}

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

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

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

.grid { position: fixed; right: 18px; bottom: 26px; z-index: 50; display: grid; gap: 8px; }
.grid 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); }
.grid button:hover { background: #4eadd0; }
body.cate_inner { background: #1e1e1e; color: #aaa; }
body.cate_inner a { color: #9eb8e8; }
body.cate_inner .novelcover,
body.cate_inner .linkunit,
body.cate_inner .date_text { background: #252525; border-color: #3a3a3a; color: #888; }
body.cate_inner .panel_text5,
body.cate_inner .pic_list { background: #333; }
body.cate_inner .panel_text5 a:hover,
body.cate_inner .pic_list a:hover { background: #444; }
body.cate_inner .sitecon,
body.cate_inner .cell_area2,
body.cate_inner .unit_sec,
body.cate_inner .box_main,
body.cate_inner .card_cover2,
body.cate_inner .contmod,
body.cate_inner .panel,
body.cate_inner .foot_main6,
body.cate_inner .cha_item,
body.cate_inner .page_sec,
body.cate_inner .author_img3,
body.cate_inner .book_hd,
body.cate_inner .desc_grid6,
body.cate_inner .shu8 { background: #2a2a2a; border-color: #444; }
body.cate_inner .shu_link { background: #202020; border-color: #444; }
body.cate_inner .unitlist { color: #b8b8b8; }
body.cate_inner .cont_block9,
body.cate_inner .itemcol h2,
body.cate_inner .foot_main6 h2,
body.cate_inner .cha_item h2,
body.cate_inner .author_img3 h2,
body.cate_inner .book_hd h2,
body.cate_inner .desc_grid6 h2,
body.cate_inner .card_cover2 h1,
body.cate_inner .page_sec h1,
body.cate_inner .unit_grid3 h2,
body.cate_inner .contmod h1 { background: #333; color: #ccc; border-color: #444; }
body.cate_inner .shu_con4 p,
body.cate_inner .wen_row9 p,
body.cate_inner .card_sec p,
body.cate_inner .new_col p,
body.cate_inner .foot_main6 p,
body.cate_inner .time_info p,
body.cate_inner .list_text .pic_box5 { color: #aaa; }
body.cate_inner .card_name th { background: #333; color: #ccc; }
body.cate_inner .card_name th,
body.cate_inner .card_name td,
body.cate_inner .shu_area5 li,
body.cate_inner .bar_main li,
body.cate_inner .desc_grid6 li,
body.cate_inner .cate_box li { border-color: #444; }
body.cate_inner .homeitem,
body.cate_inner .unit_main8 input,
body.cate_inner .homewrap select { background: #222; color: #ddd; border-color: #555; }
@media (max-width: 768px) {
    .grid { right: 10px; bottom: 14px; }
    .grid button { width: 48px; height: 32px; font-size: 13px; }
}

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

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

.sitelink { border: 3px solid #86c9e8; background: #eef6f6; margin-bottom: 22px; }
.sitelink .home { height: 34px; line-height: 34px; padding: 0 12px; color: #456; border-bottom: 1px solid #b9dff1; background: #dcecef; }
.infopanel { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 14px 28px 18px; }
.sec_name3 {
    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;
}
.sec_name3 img {
    display: block;
    width: 100%;
    height: 176px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}
.bd_item7 h1 { font-size: 30px; line-height: 44px; color: #333; }
.text { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-bottom: 1px dashed #86aebd; padding-bottom: 6px; margin-bottom: 8px; }
.text p { height: 28px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #444; }
.text .wen { color: #b54800; font-weight: 700; grid-column: 1 / -1; }
.nav5 { grid-column: 2; line-height: 1.8; color: #444; }
.block_row9 { display: none; }
.meta_grid { display: none; }
.head_block { border: 3px solid #4eadd0; background: #eef6f6; margin-bottom: 30px; }
.head_block h2 { height: 38px; line-height: 38px; text-align: center; background: #9fb6bd; color: #333; font-size: 16px; border-bottom: 1px solid #9fc9db; }
.head_block .unit_mod8 { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 12px; list-style: none; }
.head_block .unit_mod8 li { height: 40px; line-height: 40px; border-bottom: 1px dashed #9fb6bd; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-right: 16px; }
.head_block .unit_mod8.cate_area li { font-weight: 700; }
.vol_box9 { display: grid; grid-template-columns: 250px 1fr 250px; gap: 18px; padding: 16px 12px; }
.vol_box9 a, .vol_box9 span, .vol_box9 button, .vol_box9 select { height: 40px; line-height: 40px; border: 0; text-align: center; border-radius: 3px; }
.vol_box9 a, .vol_box9 span, .vol_box9 button { background: #1e6f8a; color: #fff; cursor: pointer; font: inherit; }
.vol_box9 button:disabled { cursor: default; opacity: .65; }
.vol_box9 select { background: #fff; border: 1px solid #ddd; padding: 0 12px; text-align: left; }
.hot_ft { background: #eee; padding: 18px 14px; margin-bottom: 20px; }
.hot_ft h2 { text-align: center; color: #777; font-size: 16px; margin-bottom: 14px; font-weight: 400; }
.img { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 45px; }
.img a { display: block; height: 38px; line-height: 38px; text-align: center; background: #e3e3e3; color: #333; border-radius: 3px; }
@media (max-width: 768px) {
    .sitelink, .head_block { border-width: 2px; margin-bottom: 12px; }
    .sitelink .home { height: auto; line-height: 1.5; padding: 8px; }
    .infopanel { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 10px; align-items: start; }
    .sec_name3 { width: 96px; min-height: 126px; padding: 4px; background: rgba(255,255,255,.45); }
    .sec_name3 img { width: 100%; height: 118px; object-fit: contain; object-position: center; }
    .bd_item7 { min-width: 0; }
    .bd_item7 h1 { font-size: 18px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .text { display: block; border-bottom: 0; padding-bottom: 0; margin-bottom: 6px; }
    .text p { height: 26px; line-height: 26px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .block_row9 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; grid-column: 1 / -1; margin: 2px 0 8px; }
    .top_text { 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; }
    .top_text:hover { color: #fff; text-decoration: none; opacity: .92; }
    .top_text.date8 { background: #f0305a; }
    .top_text.topblock { background: #f1a51e; }
    .top_text.cha_grid { background: #5b8cc3; }
    .nav5 { grid-column: 1 / -1; max-height: 118px; overflow: hidden; line-height: 1.85; color: #444; }
    .nav5.link { max-height: none; }
    .meta_grid { 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; }
    .head_block .unit_mod8 { grid-template-columns: 1fr; padding: 0 8px; }
    .head_block .unit_mod8 li { height: 36px; line-height: 36px; padding-right: 0; }
    .vol_box9 { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .vol_box9 select { grid-column: 1 / -1; order: -1; }
    .img { grid-template-columns: 1fr; gap: 8px; }
}

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

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

@media (max-width: 768px) {
    html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
    .link_inner, .book_gridhd, .linkunit, .top_wrap, .shu_link, .sitelink, .head_block { max-width: 100%; overflow-x: hidden; }
    .hd_name { width: 100%; max-width: 100%; }
    .homeitem { min-width: 0; }
    .box9 { flex: 0 0 68px; width: 68px; }
    .pic_list { max-width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
    .shu_link { padding-left: 10px; padding-right: 10px; }
    .home { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .item_cover h1 { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
    .item_cover p { white-space: normal; overflow-wrap: anywhere; }
    .unitlist { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .unitlist p { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .grid { right: 8px; }
}

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

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

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

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

body.cate_inner .hot_box a { color: #b8d7ef; text-shadow: 1px 1px 0 #1a3c55; }
body.cate_inner .shu_link { background: #242424; }
body.cate_inner .item_cover h1 { color: #ddd; }
body.cate_inner .item_cover p,
body.cate_inner .home { color: #aaa; }
body.cate_inner .unitlist { color: #d2d2d2; }
body.cate_inner .unitlist p { color: #d2d2d2; }
body.cate_inner.panel4 .shu_link,
body.cate_inner.hd .shu_link,
body.cate_inner.row_panel .shu_link { background: #242424; }
@media (max-width: 768px) {
    .side_box { grid-template-columns: auto 28px 28px 28px 1fr 42px; }
    body.cate_inner .side_box { background: #2b2b2b; border-color: #555; }
}

:root { --reader-bg-custom: #E9FAFF; }
.shu_link { background: var(--reader-bg-custom, #f6f1e7); }
body:not(.cate_inner) .shu_link { background: var(--reader-bg-custom, #E9FAFF); }
body:not(.cate_inner) .unitlist { color: #333; }

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

@media (max-width: 768px) {
    .shu_link > .home,
    .shu_link > .item_cover { display: none; }
    .shu_link { padding-top: 0; }
}

/* 关灯只作用于章节正文，头部、搜索、工具栏和翻页保持原样。 */
body.cate_inner { background: #e6f8fb; color: #555; }
body.cate_inner a { color: #4d6da8; }
body.cate_inner .novelcover { background: #d9eef3; border-color: #b8dce7; color: #6d8f9e; }
body.cate_inner .linkunit,
body.cate_inner .date_text { background: #e6f8fb; border-color: #72c4e8; color: #555; }
body.cate_inner .panel_text5,
body.cate_inner .pic_list { background: #79c2e3; }
body.cate_inner .panel_text5 a,
body.cate_inner .pic_list a { color: #fff; }
body.cate_inner .homeitem,
body.cate_inner .unit_main8 input,
body.cate_inner .homewrap select { background: #fff; color: #333; border-color: #9bc7df; }
body.cate_inner .shu_link,
body.cate_inner.panel4 .shu_link,
body.cate_inner.hd .shu_link,
body.cate_inner.row_panel .shu_link { background: #2f3437; border-color: #444; }
body.cate_inner .item_cover h1 { color: #ddd; }
body.cate_inner .item_cover p,
body.cate_inner .home { color: #aaa; }
body.cate_inner .link6 a,
body.cate_inner .link6 span { background: #363b3f; border-color: #555; color: #c8c8c8; }
body.cate_inner .side_box { background: #2f3437; border-color: #555; }
body.cate_inner .side_box span,
body.cate_inner .side_box label { color: #c8c8c8; }
body.cate_inner .side_box select,
body.cate_inner .side_box button { background: #363b3f; border-color: #6b747b; color: #c8d7e8; }
body.cate_inner .unitlist { background: transparent; color: #aaa; }
body.cate_inner .wen_wrap { border-color: #555; color: #bbb; }
body.cate_inner .unitlist p { color: #aaa; }
body.cate_inner .hot_box a { color: #0871bd; text-shadow: 2px 2px 0 #c3e3f1; }
body.cate_inner .cat { color: #0871bd; border-color: #79c2e3; background: rgba(255,255,255,.55); }
body.cate_inner .cat:hover { color: #0871bd; background: rgba(255,255,255,.8); }
body.cate_inner .col_hd5 { background: #eee; }
body.cate_inner .col_hd5 h2 { color: #777; }
body.cate_inner .item_link a { background: #e3e3e3; color: #333; }
.head_bar { text-align: center; padding: 54px 20px 62px; border: 3px solid #86c9e8; background: #fffdf6; }
.head_bar h1 { margin-bottom: 12px; color: #287dc2; font-size: 30px; font-weight: 700; }
.head_bar p { margin: 8px 0; color: #555; }
.bar8 { display: inline-block; min-width: 110px; height: 34px; margin-top: 12px; line-height: 34px; background: #4eadd0; color: #fff; border-radius: 3px; }
.bar8:hover { color: #fff; text-decoration: none; background: #287dc2; }
@media (max-width: 768px) {
    body.cate_inner .linkunit { background: #dff5fb; }
    .head_bar { padding: 42px 12px 48px; border-width: 2px; }
    .head_bar h1 { font-size: 24px; }
}

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

/* Home update/new panels alignment fix */
.text9 .author_img3,
.text9 .book_hd { align-self: start; }
.text9 .shu_area5,
.text9 .bar_main { padding: 8px 10px; font-size: 13px; }
.text9 .shu_area5 li,
.text9 .bar_main li { height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; }
.text9 .shu_area5 li { grid-template-columns: 92px 188px minmax(0, 1fr) 78px 42px; gap: 7px; }
.text9 .bar_main li { grid-template-columns: 82px minmax(0, 1fr) 62px; gap: 7px; }
.text9 .shu_area5 .tool,
.text9 .shu_area5 .cell8,
.text9 .shu_area5 .tool_meta2,
.text9 .shu_area5 .shu7,
.text9 .shu_area5 .box_col,
.text9 .bar_main span,
.text9 .bar_main a,
.text9 .bar_main em { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 768px) {
    .text9 .shu_area5,
    .text9 .bar_main { padding: 4px 8px; font-size: 14px; }
    .text9 .shu_area5 li,
    .text9 .bar_main li { height: 34px; line-height: 34px; }
    .text9 .shu_area5 li { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
    .text9 .bar_main li { grid-template-columns: minmax(0, 1fr) 88px; gap: 6px; }
}

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

/* static rank page, bqg style */
.box_main.vol_col {
  display: block;
  border: 2px solid #8ed1ef;
  background: #fffdf6;
  padding: 12px;
}
.vol_col .hd_bd9 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  margin: 0 0 10px;
  min-height: 28px;
}
.vol_col .hd_bd9 h2 {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  color: #444;
  font-weight: 700;
}
.vol_col .hd_bd9 strong {
  grid-column: 2 / 3;
  text-align: center;
  font-size: 18px;
  line-height: 28px;
  color: #444;
}
.vol_col .story_img4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 12px;
}
.vol_col .text_sec {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  min-height: 156px;
  overflow: hidden;
}
.vol_col .tool_row img {
  width: 110px;
  height: 148px;
  object-fit: cover;
  border: 1px solid #b7d2dd;
  background: #fff;
}
.vol_col .ft_meta {
  min-width: 0;
}
.vol_col .text_sec 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;
}
.vol_col .text_sec h3 a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vol_col .text_sec h3 span,
.vol_col .text_sec h3 em {
  color: #999;
  font-weight: 400;
  font-style: normal;
  white-space: nowrap;
}
.vol_col .nav8 {
  margin: 4px 0;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
}
.vol_col .nav8 a {
  display: inline;
}
.vol_col .row4 {
  margin: 6px 0 0;
  color: #333;
  font-size: 13px;
  line-height: 23px;
  max-height: 92px;
  overflow: hidden;
}
@media (max-width: 720px) {
  .box_main.vol_col {
    padding: 8px;
  }
  .vol_col .hd_bd9 {
    display: flex;
    justify-content: space-between;
  }
  .vol_col .hd_bd9 h2 {
    font-size: 20px;
  }
  .vol_col .hd_bd9 strong {
    font-size: 16px;
  }
  .vol_col .story_img4 {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .vol_col .text_sec {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 116px;
  }
  .vol_col .tool_row img {
    width: 86px;
    height: 116px;
  }
  .vol_col .row4 {
    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; }
.link_inner, .authormod, .top_wrap, .info_mod { width: 980px; max-width: 980px; margin: 0 auto; }
.linkunit { background: #e6f8fb; }
.top_wrap { height: 86px; display: flex; align-items: center; gap: 28px; }
.hot_box { width: 180px; font-size: 34px; line-height: 1; font-family: Georgia, "Microsoft YaHei", serif; font-weight: 700; }
.hot_box a { color: #0871bd; text-shadow: 2px 3px 3px rgba(0, 90, 150, .28); }
.hot_box a:hover { text-decoration: none; color: #0871bd; }
.hd_name { margin-left: auto; flex: 0 0 470px; display: flex; height: 38px; border: 1px solid #9bd5ee; background: #fff; }
.homeitem { flex: 1; height: 36px; padding: 0 12px; border: 0; font-size: 14px; outline: 0; }
.box9 { width: 78px; height: 36px; border: 0; background: #ddd; color: #222; cursor: pointer; }
.panel_text5 { width: 980px; max-width: 980px; height: 42px; margin: 0 auto; background: #74c0df; display: block; overflow: hidden; }
.info_mod { display: flex; height: 42px; width: 980px; }
.panel_text5 a { display: block; color: #fff; font-weight: 700; line-height: 42px; padding: 0 12px; white-space: nowrap; }
.panel_text5 a:hover, .panel_text5 a.tool_inner { background: #57acd2; color: #fff; text-decoration: none; }
.book_gridhd { padding: 12px 0 20px; }

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

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

.title_cell8 { display: grid; grid-template-columns: 1fr 300px; gap: 12px; margin-bottom: 12px; }
.cover_wrap, .panel_info3, .unit { border: 3px solid #9bd5ee; background: #eefafa; }
.cover_wrap h2, .panel_info3 h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd5ee; font-size: 16px; color: #333; }
.rank_inner3 li, .mod_list4 li, .card_block li { display: grid; align-items: center; min-height: 30px; line-height: 30px; border-bottom: 1px solid #d1e3e8; overflow: hidden; }
.rank_inner3 li { grid-template-columns: 88px minmax(120px,1.15fr) minmax(180px,1.45fr) 90px 50px; column-gap: 8px; padding: 0 10px; }
.mod_list4 li { grid-template-columns: 76px minmax(0, 1fr) 76px; column-gap: 0; padding: 0 10px; }
.mod_list4 li.sec_text8 { grid-template-columns: 76px minmax(0, 1fr); }
.card_block li { grid-template-columns: 90px minmax(220px,1fr) minmax(240px,1.2fr) 120px 78px; column-gap: 8px; padding: 0 12px; }
.rank_inner3 a, .mod_list4 a, .card_block a, .novel, .sec_link, .site_cell2, .story_row9, .mod_list4 em { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.novel { color: #555; }
.sec_link, .site_cell2, .story_row9, .mod_list4 em { color: #777; font-style: normal; text-align: right; }
.unit { padding-bottom: 8px; }
.unit h2 { height: 42px; line-height: 42px; padding: 0 12px; background: #fff; border-bottom: 1px solid #ddd; color: #0871bd; font-size: 18px; }
.side_panel { display: grid; grid-template-columns: 160px minmax(160px, 1fr) 160px; gap: 12px; padding: 12px 10px 10px; background: #eefafa; }
.side_panel button, .side_panel select { width: 100%; height: 36px; border-radius: 2px; font: inherit; }
.side_panel button { border: 0; background: #4badd3; color: #fff; cursor: pointer; }
.side_panel button:disabled { opacity: .55; cursor: default; }
.side_panel select { border: 1px solid #b9d7e3; background: #fff; padding: 0 10px; }
.main_bar4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 5px; width: 100%; padding: 10px 6px; box-sizing: border-box; }
.main_bar4 button, .main_bar4 select { min-width: 0; padding-left: 3px; padding-right: 3px; font-size: 13px; }
.wrap_main > [hidden] { display: none !important; }
.card_blockpanel { margin: 0; padding: 28px 20px; background: #fff; border: 1px solid #ddd; }
.card_blockpanel h2 { margin: 0 0 8px; font-size: 22px; color: #555; }
.card_blockpanel p, .link_bd { color: #555; }

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

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

@media (max-width: 1023px) {
  .link_inner, .authormod, .top_wrap, .panel_text5, .info_mod { width: auto; max-width: none; }
  .novelcover { display: block; }
  .authormod { padding: 0 10px; justify-content: center; }
  .linkunit { padding: 10px; }
  .top_wrap { height: auto; display: block; }
  .hot_box { width: auto; margin-bottom: 8px; font-size: 28px; }
  .hd_name { width: 100%; max-width: none; margin: 0; flex-basis: auto; }
  .panel_text5 { margin: 0 10px; height: 38px; overflow-x: auto; }
  .info_mod { display: flex; height: 38px; min-width: max-content; }
  .panel_text5 a { line-height: 38px; padding: 0 12px; }
  .book_gridhd { padding: 8px 10px 16px; }
  .sec_row { display: block; padding: 8px; }
  .sec_row .site { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .sec_row .new_bar, .sec_row .new_bar img { width: 86px; }
  .sec_row .new_bar img { height: 116px; }
  .story { display: block; }
  .box_con { min-height: 0; border-right: 0; }
  .title_cell8 { display: flex; flex-direction: column; }
  .panel_info3 { order: 1; }
  .cover_wrap { order: 2; }
  .rank_inner3 li { grid-template-columns: 1fr 1fr; gap: 0 10px; min-height: 28px; line-height: 28px; }
  .rank_inner3 .novel, .rank_inner3 .sec_link, .rank_inner3 .story_row9 { display: none; }
  .mod_list4 li { grid-template-columns: 1fr 72px; min-height: 28px; line-height: 28px; }
  .mod_list4 li span { display: none; }
  .card_block li { grid-template-columns: 1fr 72px; min-height: 30px; line-height: 30px; }
  .card_block .novel, .card_block .cell { display: none; }
  .card_block .sec_link, .card_block .site_cell2 { text-align: right; }
  .unit h2 { height: 36px; line-height: 36px; font-size: 16px; }
  .side_panel { grid-template-columns: 1fr 1.25fr 1fr; gap: 8px; padding: 10px 8px; }
  .main_bar4 { grid-template-columns: 1fr 1.25fr 1fr; }
  .story_line { display: block; }
  .cover_info7 { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .site_grid img { width: 86px; height: 116px; }
}

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

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

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

  .title_main .site:last-child {
    border-bottom: 0;
  }

  .title_main .new_bar,
  .title_main .new_bar img {
    width: 82px;
  }

  .title_main .new_bar img {
    height: 110px;
    object-fit: cover;
  }

  .title_main .hot_meta {
    min-width: 0;
  }

  .title_main .hot_meta 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;
  }

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

  .title_main .hot_meta 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;
  }

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

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

  .wrap_link2 .cover_wrap,
  .wrap_link2 .panel_info3 {
    width: 100%;
    margin: 0 0 10px;
    border: 2px solid #8fd1ed;
    box-sizing: border-box;
  }

  .wrap_link2 .cover_wrap h2,
  .wrap_link2 .panel_info3 h2 {
    padding: 8px 10px;
    font-size: 14px;
    line-height: 20px;
  }

  .wrap_link2 .rank_inner3 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;
  }

  .wrap_link2 .rank_inner3 .novel,
  .wrap_link2 .rank_inner3 .rank,
  .wrap_link2 .rank_inner3 .cell {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
  }

  .wrap_link2 .rank_inner3 .novel {
    display: none;
  }

  .wrap_link2 .rank_inner3 .sec_link,
  .wrap_link2 .rank_inner3 .story_row9 {
    display: none;
  }

  .wrap_link2 .mod_list4 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;
  }

  .wrap_link2 .mod_list4 li.sec_text8 {
    grid-template-columns: minmax(0, 1fr);
  }

  .wrap_link2 .mod_list4 li > span {
    display: none;
  }

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

/* desktop bqg scale restore */
@media (min-width: 1024px) {
  .link_inner,
  .authormod,
  .top_wrap,
  .info_mod {
    width: 1024px;
    max-width: 1024px;
  }

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

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

  .sec_row .new_bar,
  .sec_row .new_bar img {
    width: 120px;
  }

  .sec_row .new_bar img {
    height: 160px;
  }

  .sec_row .hot_meta h3,
  .story .hot_meta h3 {
    font-size: 15px;
    line-height: 23px;
  }

  .sec_row .hot_meta p,
  .story .hot_meta p {
    font-size: 14px;
    line-height: 24px;
  }

  .box_con {
    padding: 10px 12px;
  }

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

  .box_con .new_bar,
  .box_con .new_bar img {
    width: 92px;
  }

  .box_con .new_bar img {
    height: 124px;
  }

  .mod_bar li,
  .mod_list4 li,
  .rank_inner3 li {
    font-size: 14px;
    min-height: 24px;
    line-height: 24px;
  }

  .cover_wrap h2,
  .panel_info3 h2,
  .box_con h2 {
    font-size: 16px;
  }
}

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

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

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

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

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

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

  .wrap_line .sec_row .site:nth-child(n+5) {
    display: none;
  }

  .wrap_line .new_bar,
  .wrap_line .new_bar img {
    width: 120px;
    height: 160px;
    object-fit: cover;
  }

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

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

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

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

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

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

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

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

  .wrap_line .sec_row {
    display: block;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
  }

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

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

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

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

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

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

/* 2026-07-12: force desktop nav/header width to 1024px */
@media (min-width: 1024px) {
  .authormod,
  .top_wrap,
  .info_mod,
  .link_inner {
    width: 1024px !important;
    max-width: 1024px !important;
    box-sizing: border-box;
  }

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

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

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

.panel_text5 a:hover,
.pic_list a:hover,
.info_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) {
  .authormod,
  .top_wrap,
  .info_mod,
  .link_inner,
  .panel_text5,
  .pic_list {
    width: 1024px !important;
    max-width: 1024px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .panel_text5,
  .pic_list {
    overflow: hidden !important;
  }
}

@media (max-width: 1023px) {
  .authormod,
  .top_wrap,
  .info_mod,
  .link_inner,
  .panel_text5,
  .pic_list {
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .link_inner,
  .top_wrap,
  .authormod {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

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

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

/* nav-hover-disabled: 导航条不保留 hover / focus / active 印记 */
.linkunit nav a:hover,
.linkunit nav a:focus,
.linkunit nav a.tool_inner,
.linkunit nav .tool_inner,
.top_wrap nav a:hover,
.top_wrap nav a:focus,
.top_wrap nav a.tool_inner,
.top_wrap nav .tool_inner,
.panel_text5 a:hover,
.panel_text5 a:focus,
.panel_text5 a.tool_inner,
.panel_text5 .tool_inner,
.pic_list a:hover,
.pic_list a:focus,
.pic_list a.tool_inner,
.pic_list .tool_inner {
    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) {
    .authormod,
    .linkunit .top_wrap,
    .top_wrap,
    .link_inner,
    .book_gridhd,
    .cover6,
    .vol_cover,
    .num,
    .panel_text5,
    .pic_list {
        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;
    }

    .novelcover,
    .linkunit,
    .book_gridhd,
    .date_text,
    .authormod,
    .linkunit .top_wrap,
    .top_wrap,
    .link_inner,
    .num,
    .cover6,
    .vol_cover,
    .area_item,
    .panel_text5,
    .pic_list {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .authormod,
    .linkunit .top_wrap,
    .top_wrap,
    .link_inner,
    .cover6,
    .vol_cover,
    .book_gridhd {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .linkunit .top_wrap,
    .top_wrap {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .hot_box,
    .linkunit h1,
    .linkunit .hot_box {
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
        text-align: left !important;
    }

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

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

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

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

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

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

    .box_main,
    .img7,
    .read_blockwrap,
    .mod_main4,
    .col_info,
    .unit .desc_bd7,
    .card_block,
    .desc_bd7,
    .name,
    .cate_text9,
    .pic,
    .sitelink {
        display: block !important;
        grid-template-columns: none !important;
        columns: auto !important;
        width: 100% !important;
    }

    .mod_row,
    .menu_row,
    .desc_bd7 .text4,
    .card_block .text4,
    .name .text4,
    .cate_text9 .text4,
    .pic .text4,
    .card_main,
    .area_cell6 {
        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;
    }

    .mod_row img,
    .menu_row img,
    .site_grid img,
    .desc_bd7 .text4 img,
    .card_block .text4 img,
    .name .text4 img,
    .cate_text9 .text4 img,
    .pic .text4 img,
    .card_main img,
    .area_cell6 img {
        width: 88px !important;
        height: 118px !important;
        object-fit: cover !important;
    }

    .new_col,
    .side_inner,
    .hot_meta,
    .time_info,
    .area_cell6 dl,
    .area_cell6 .bd {
        min-width: 0 !important;
    }

    .book_img5,
    .read,
    .shu,
    .side_ft {
        display: block !important;
        grid-template-columns: none !important;
        width: 100% !important;
    }

    .book_img5 > *,
    .read > *,
    .shu > *,
    .side_ft > * {
        width: 100% !important;
        margin-bottom: 10px !important;
        box-sizing: border-box !important;
    }
}

/* 导航条不保留 hover/focus/active 视觉印记 */
.panel_text5 a:hover,
.panel_text5 a:focus,
.panel_text5 a:active,
.panel_text5 a.tool_inner,
.panel_text5 .tool_inner,
.pic_list a:hover,
.pic_list a:focus,
.pic_list a:active,
.pic_list a.tool_inner,
.pic_list .tool_inner,
.linkunit nav a:hover,
.linkunit nav a:focus,
.linkunit nav a:active,
.linkunit nav a.tool_inner,
.top_wrap nav a:hover,
.top_wrap nav a:focus,
.top_wrap nav a:active,
.top_wrap nav a.tool_inner {
    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) {
  .wrap_line .hot_meta p,
  .title_main .hot_meta p {
    height: 130px;
    line-height: 26px;
  }
}

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

  .top_wrap {
    height: 68px;
  }

  .panel_text5,
  .info_mod {
    height: 38px;
  }

  .panel_text5 a,
  .info_mod a {
    line-height: 38px;
  }

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

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

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

  .linkunit {
    padding: 0 !important;
    background: #e6f8fb !important;
  }

  .linkunit .top_wrap,
  .top_wrap {
    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;
  }

  .linkunit .hot_box,
  .linkunit 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;
  }

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

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

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

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

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

  .linkunit .hd_name,
  .top_wrap .hd_name {
    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;
  }

  .linkunit .hd_name .homeitem,
  .linkunit .hd_name input[type="text"] {
    height: 34px !important;
    border: 1px solid #8dcde7 !important;
    border-right: 0 !important;
  }

  .linkunit .hd_name .box9,
  .linkunit .hd_name button {
    flex: 0 0 82px !important;
    width: 82px !important;
    height: 34px !important;
    border: 1px solid #8dcde7 !important;
    background: #ddd !important;
    color: #222 !important;
  }

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

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

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

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

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

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

  .infopanel .bd_item7 {
    display: contents !important;
  }

  .infopanel .bd_item7 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;
  }

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

  .infopanel .text p {
    height: 25px !important;
    line-height: 25px !important;
  }

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

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

  .infopanel .nav5.link {
    max-height: none !important;
  }

  .infopanel .meta_grid {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
  }

  .head_block .unit_mod8 {
    grid-template-columns: 1fr !important;
  }

  .shu_link .hot_ft {
    margin: 14px 0 0 !important;
    padding: 14px 10px 16px !important;
    background: #fff !important;
  }

  .shu_link .hot_ft h2 {
    margin-bottom: 12px !important;
    color: #888 !important;
    font-weight: 400 !important;
  }

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

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

  .book_gridhd .link_inner > .hot_ft {
    margin: 0 0 14px !important;
    padding: 14px 10px 16px !important;
    background: #fff !important;
  }

  .book_gridhd .link_inner > .hot_ft .img {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 14px !important;
  }

  .book_gridhd .link_inner > .hot_ft .img 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) {
  .wrap_link2 .rank_inner3 li {
    height: 35px;
    min-height: 35px;
    line-height: 35px;
  }

  .wrap_link2 .mod_list4 li,
  .wrap_link2 .mod_list4 li.sec_text8 {
    height: 30px;
    min-height: 30px;
    line-height: 30px;
  }

  /* 数据不足49条时，左右条数相同，统一使用35px行高。 */
  .wrap_link2.time .mod_list4 li,
  .wrap_link2.time .mod_list4 li.sec_text8 {
    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. */
.wrap_link2 { align-items: stretch; }
.wrap_link2 .cover_wrap,
.wrap_link2 .panel_info3 { min-width: 0; }
.wrap_link2 .panel_info3 { display: flex; flex-direction: column; }
.wrap_link2 .panel_info3 .mod_list4 { flex: 0 0 auto; }
.wrap_link2 .rank_col2 {
  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;
}
.wrap_link2 .rank_col2 > a,
.wrap_link2 .rank_col2 > span,
.wrap_link2 .rank_col2 > select {
  width: 100%;
  height: 36px;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
.wrap_link2 .rank_col2 > a,
.wrap_link2 .rank_col2 > span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.wrap_link2 .rank_col2 > select {
  border: 1px solid #b9d7e3;
  background: #fff;
  padding: 0 10px;
}
.wrap_link2 .info9 {
  margin: auto 0 0;
  padding: 12px 10px 10px;
  border-top: 1px solid #cbdde3;
  box-sizing: border-box;
}
.wrap_link2 .info9 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) {
  .wrap_link2 .rank_col2 {
    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) {
  .book_gridhd.new,
  .book_gridhd.info_row,
  .book_gridhd.sec {
    width: 100% !important;
    max-width: none !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    box-sizing: border-box !important;
  }

  .book_gridhd.new > .link_inner,
  .book_gridhd.info_row > .link_inner,
  .book_gridhd.sec > .link_inner {
    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;
  }

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

  .book_gridhd.pic_text > .link_inner {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .book_gridhd.pic_text .shu_link {
    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;
  }

  .book_gridhd.pic_text .unitlist {
    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;
  }

  .book_gridhd.pic_text .side_box,
  .book_gridhd.pic_text .link6 {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}
