* { 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%; }
.col7, .link_box2, .foot, .shu_list, .authormod { max-width: 980px; margin: 0 auto; }

.metamod { height: 30px; background: #f7f7f7; border-bottom: 1px solid #ddd; color: #777; font-size: 12px; }
.link_box2 { display: flex; gap: 24px; align-items: center; height: 30px; }
.num_panel7 { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.num_panel7:hover { color: #0871bd; text-decoration: underline; }
.sec_con3 { background: #2f8ed8; }
.foot { height: 76px; display: flex; align-items: center; gap: 28px; }
.page_list6 { width: 170px; font-size: 34px; line-height: 1; font-weight: 700; }
.page_list6 a { color: #fff; letter-spacing: 0; }
.page_list6 a:hover { color: inherit; text-decoration: none; }
.desc_meta2 { flex: 1; display: flex; max-width: 470px; }
.navmain { flex: 1; height: 38px; padding: 0 12px; border: 0; outline: 0; font-size: 14px; }
.hd_block8 { width: 78px; height: 38px; border: 0; background: #f5a623; color: #fff; font-size: 15px; cursor: pointer; }
.bar9 { margin-left: auto; display: flex; gap: 10px; }
.bar9 a { color: #fff; padding: 5px 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 2px; }

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

.page { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 12px; }
.sec, .site5, .side, .ft, .chamain, .side_hd, .author_sec6 { background: #fff; border: 1px solid #ddd; }
.sec { display: grid; grid-template-columns: 1fr 1fr; padding: 12px; gap: 12px; }
.pagebar { display: flex; min-height: 132px; overflow: hidden; }
.pagebar .site_inner { width: 88px; flex: 0 0 88px; margin-right: 12px; }
.pagebar .site_inner img { width: 88px; height: 120px; object-fit: cover; border: 1px solid #ddd; }
.pagebar dt { height: 28px; line-height: 28px; overflow: hidden; font-weight: 700; }
.pagebar dt span { float: right; max-width: 72px; color: #888; font-size: 12px; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pagebar dd { color: #555; height: 88px; overflow: hidden; font-size: 13px; }
.pagebar dd a { color: #555; }
.desc_info3, .side h2, .chamain h2, .side_hd h2 { height: 38px; line-height: 38px; padding: 0 12px; border-bottom: 1px solid #ddd; background: #f9f9f9; color: #287dc2; font-size: 16px; }
.covers, .site_area, .site_unit, .hd_cell, .cont_area { list-style: none; }
.covers li, .site_unit li, .cont_area li { display: flex; height: 35px; line-height: 35px; padding: 0 12px; border-bottom: 1px dashed #e5e5e5; overflow: hidden; }
.novels, .head_row { width: 86px; color: #888; flex: 0 0 86px; }
.desc_row5, .vol_inner5 { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.wrap_box { width: 220px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.new_box9, .top_row8 { width: 88px; color: #777; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.update_item { width: 70px; color: #888; text-align: right; }

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

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

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

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

@media (max-width: 768px) {
    .col7, .link_box2, .foot, .shu_list, .authormod { width: 100%; max-width: none; }
    .metamod { display: none; }
    .sec_con3 { padding: 10px; }
    .foot { height: auto; display: block; }
    .page_list6 { width: auto; margin-bottom: 10px; font-size: 28px; text-align: center; }
    .desc_meta2 { max-width: none; }
    .bar9 { display: none; }
    .shu_list { display: none; }
    .authormod { display: flex; overflow-x: auto; background: #287dc2; }
    .authormod a { color: #fff; line-height: 38px; padding: 0 14px; white-space: nowrap; }
    .side_panel { padding: 8px; }
    .page, .name_metainner { display: block; }
    .sec { grid-template-columns: 1fr; margin-bottom: 10px; }
    .site5, .side { margin-bottom: 10px; }
    .novels, .wrap_box, .new_box9, .head_row, .top_row8, .update_item { display: none; }
    .site_area { columns: 1; }
    .ft { display: block; text-align: center; }
    .ft .rank { margin: 0 auto 12px; }
    .bd_area h1 { height: auto; line-height: 1.4; font-size: 24px; }
    .box_ft4 { justify-content: center; }
    .hd_cell { grid-template-columns: 1fr; }
    .story_img { padding: 0 12px 18px; }
    .row_panel7 h1 { font-size: 22px; }
    .vol_panel7 { font-size: 18px; line-height: 1.95; padding: 14px 0; }
    .bookcon { display: block; font-size: 18px; margin-bottom: 12px; padding-bottom: 8px; line-height: 1.45; }
    .name_unit { gap: 8px; }
    .name_unit a, .name_unit span { min-width: 0; flex: 1; }
}

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

/* Screenshot-style desktop home layout */
body { background: #e6f8fb; color: #555; font-size: 14px; }
a { color: #4d6da8; }
.col7, .link_box2, .foot, .shu_list, .authormod { max-width: 1160px; }
.metamod { background: #d9eef3; border-bottom: 1px solid #b8dce7; }
.link_box2 { color: #6d8f9e; }
.sec_con3 { background: #e6f8fb; }
.foot { height: 82px; gap: 24px; }
.page_list6 { width: 150px; font-size: 36px; font-family: Georgia, "Microsoft YaHei", serif; text-shadow: 2px 2px 0 #c3e3f1; }
.page_list6 a { color: #0871bd; }
.desc_meta2 { max-width: 480px; margin-left: auto; }
.navmain { height: 36px; border: 1px solid #9bc7df; background: #fff; }
.hd_block8 { height: 36px; background: #ddd; color: #222; }
.bar9 { display: none; }
.shu_list { height: 44px; background: #79c2e3; padding: 0 10px; }
.shu_list a { line-height: 44px; padding: 0 11px; border-right: 0; color: #fff; font-weight: 700; }
.shu_list a:hover { background: #5eb1d8; }
.side_panel { padding: 12px 0 24px; }

.shu_row9 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 22px; padding: 14px; margin-bottom: 22px; border: 3px solid #b9dff1; background: #fffdf6; }
.area_box { display: grid; grid-template-columns: 126px 1fr; gap: 12px; min-height: 176px; }
.panel4 img { width: 126px; height: 170px; object-fit: cover; border: 1px solid #abc6d4; padding: 3px; background: #fff; }
.contlist h2 { height: 28px; line-height: 28px; font-size: 15px; border-bottom: 1px dotted #c7d8e3; overflow: hidden; }
.contlist h2 a { color: #5b6fad; font-weight: 700; }
.contlist h2 span { float: right; color: #aaa; font-weight: 400; }
.contlist p { padding-top: 8px; color: #555; line-height: 1.85; height: 132px; overflow: hidden; text-indent: 2em; }
.col { display: grid; grid-template-columns: 1fr 335px; gap: 14px; align-items: start; }
.link_con, .vol_box { border: 3px solid #86c9e8; background: #eef6f6; }
.link_con h2, .vol_box h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd3e9; color: #456; font-size: 16px; }
.cha_ft, .menu_ft { list-style: none; padding: 8px 12px; }
.cha_ft li { display: grid; grid-template-columns: 95px 190px 1fr 90px 50px; gap: 8px; height: 32px; line-height: 32px; border-bottom: 1px solid #d8e2e4; overflow: hidden; }
.cha_ft .story_con { color: #555; }
.cha_ft .side_cell3, .cha_ft .bar_meta9, .cha_ft .tool_hd { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cha_ft .tool_hd, .cha_ft .items { color: #aaa; text-align: right; }
.menu_ft li { display: grid; grid-template-columns: 78px 1fr 58px; gap: 6px; height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; overflow: hidden; }
.menu_ft span { color: #555; }
.menu_ft a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.menu_ft em { color: #666; font-style: normal; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.area_img { display: grid; grid-template-columns: 190px 1fr 190px; gap: 18px; padding: 14px 12px; }
.area_img a, .area_img select { height: 40px; border: 0; background: #4eadd0; color: #fff; text-align: center; border-radius: 3px; font-weight: 700; }
.area_img a { line-height: 40px; }
.area_img select { background: #fff; color: #222; border: 1px solid #d8e2e4; padding: 0 12px; }
.bar_con { 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; }
    .col7, .link_box2, .foot, .shu_list, .authormod { width: 100%; max-width: none; }
    .metamod { display: none; }
    .sec_con3 { padding: 10px; background: #dff5fb; }
    .foot { display: block; height: auto; }
    .page_list6 { width: auto; font-size: 30px; text-align: left; margin: 0 0 10px; padding-right: 58px; }
    .desc_meta2 { max-width: none; display: flex; margin-left: 0; }
    .navmain { height: 38px; font-size: 14px; }
    .hd_block8 { width: 72px; height: 38px; }
    .shu_list { display: none; }
    .authormod { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); overflow: hidden; height: 40px; background: #79c2e3; padding: 0; }
    .authormod a { min-width: 0; color: #fff; line-height: 40px; padding: 0 2px; text-align: center; font-weight: 700; white-space: nowrap; }
    .foot .authormod { margin-bottom: 8px; }
    .side_panel { padding: 8px; }
    .shu_row9 { display: block; padding: 8px; margin-bottom: 10px; border-width: 2px; }
    .area_box { display: grid; grid-template-columns: 82px 1fr; gap: 10px; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #d8e2e4; }
    .area_box:last-child { border-bottom: 0; }
    .panel4 img { width: 82px; height: 110px; padding: 2px; }
    .contlist h2 { height: 24px; line-height: 24px; font-size: 15px; }
    .contlist h2 span { display: none; }
    .contlist p { height: 78px; line-height: 1.7; padding-top: 5px; text-indent: 0; }
    .col { display: block; }
    .card_panelbd { display: flex; flex-direction: column; }
    .card_panelbd .vol_box { order: 1; }
    .card_panelbd .link_con { order: 2; }
    .link_con, .vol_box { border-width: 2px; margin-bottom: 10px; }
    .link_con h2, .vol_box h2 { height: 34px; line-height: 34px; font-size: 15px; }
    .cha_ft, .menu_ft { padding: 4px 8px; }
    .cha_ft li { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); gap: 6px; height: 34px; min-height: 34px; line-height: 34px; padding: 0; }
    .cha_ft .tool_hd, .cha_ft .items { display: none; }
    .cha_ft .story_con { display: block; width: auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #555; }
    .cha_ft .side_cell3 { font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .cha_ft .bar_meta9 { color: #777; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .menu_ft li { grid-template-columns: minmax(0, 1fr) 88px; height: 34px; line-height: 34px; }
    .menu_ft span { display: none; }
    .area_img { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .area_img select { grid-column: 1 / -1; order: -1; }
    .bar_con { padding: 14px 8px; line-height: 1.7; }
}

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

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

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

.menu7 { position: fixed; right: 18px; bottom: 26px; z-index: 50; display: grid; gap: 8px; }
.menu7 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); }
.menu7 button:hover { background: #4eadd0; }
body.wen_main { background: #1e1e1e; color: #aaa; }
body.wen_main a { color: #9eb8e8; }
body.wen_main .metamod,
body.wen_main .sec_con3,
body.wen_main .bar_con { background: #252525; border-color: #3a3a3a; color: #888; }
body.wen_main .shu_list,
body.wen_main .authormod { background: #333; }
body.wen_main .shu_list a:hover,
body.wen_main .authormod a:hover { background: #444; }
body.wen_main .shu_row9,
body.wen_main .title2,
body.wen_main .row_con6,
body.wen_main .novelpanel,
body.wen_main .book_unit,
body.wen_main .ft_mod,
body.wen_main .ft,
body.wen_main .chamain,
body.wen_main .side_hd,
body.wen_main .author_sec6,
body.wen_main .link_con,
body.wen_main .vol_box,
body.wen_main .bd_cell5,
body.wen_main .title_row9 { background: #2a2a2a; border-color: #444; }
body.wen_main .story_img { background: #202020; border-color: #444; }
body.wen_main .vol_panel7 { color: #b8b8b8; }
body.wen_main .desc_info3,
body.wen_main .side h2,
body.wen_main .chamain h2,
body.wen_main .side_hd h2,
body.wen_main .link_con h2,
body.wen_main .vol_box h2,
body.wen_main .bd_cell5 h2,
body.wen_main .book_unit h1,
body.wen_main .author_sec6 h1,
body.wen_main .home_link9 h2,
body.wen_main .ft_mod h1 { background: #333; color: #ccc; border-color: #444; }
body.wen_main .contlist p,
body.wen_main .time_text p,
body.wen_main .new_con9 p,
body.wen_main .pic_text p,
body.wen_main .chamain p,
body.wen_main .bd_area p,
body.wen_main .wrap_row .num6 { color: #aaa; }
body.wen_main .foot6 th { background: #333; color: #ccc; }
body.wen_main .foot6 th,
body.wen_main .foot6 td,
body.wen_main .cha_ft li,
body.wen_main .menu_ft li,
body.wen_main .bd_cell5 li,
body.wen_main .author_item li { border-color: #444; }
body.wen_main .navmain,
body.wen_main .boxtext input,
body.wen_main .area_img select { background: #222; color: #ddd; border-color: #555; }
@media (max-width: 768px) {
    .menu7 { right: 10px; bottom: 14px; }
    .menu7 button { width: 48px; height: 32px; font-size: 13px; }
}

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

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

.area_grid5 { border: 3px solid #86c9e8; background: #eef6f6; margin-bottom: 22px; }
.area_grid5 .descitem { height: 34px; line-height: 34px; padding: 0 12px; color: #456; border-bottom: 1px solid #b9dff1; background: #dcecef; }
.navline { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 14px 28px 18px; }
.row_unit3 {
    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;
}
.row_unit3 img {
    display: block;
    width: 100%;
    height: 176px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}
.read_meta h1 { font-size: 30px; line-height: 44px; color: #333; }
.shu_img { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-bottom: 1px dashed #86aebd; padding-bottom: 6px; margin-bottom: 8px; }
.shu_img p { height: 28px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #444; }
.shu_img .rank_list6 { color: #b54800; font-weight: 700; grid-column: 1 / -1; }
.mod_link { grid-column: 2; line-height: 1.8; color: #444; }
.author8 { display: none; }
.cat { display: none; }
.foot5 { border: 3px solid #4eadd0; background: #eef6f6; margin-bottom: 30px; }
.foot5 h2 { height: 38px; line-height: 38px; text-align: center; background: #9fb6bd; color: #333; font-size: 16px; border-bottom: 1px solid #9fc9db; }
.foot5 .hd_cell { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 12px; list-style: none; }
.foot5 .hd_cell li { height: 40px; line-height: 40px; border-bottom: 1px dashed #9fb6bd; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-right: 16px; }
.foot5 .hd_cell.story_hd li { font-weight: 700; }
.pic_wrap { display: grid; grid-template-columns: 250px 1fr 250px; gap: 18px; padding: 16px 12px; }
.pic_wrap a, .pic_wrap span, .pic_wrap button, .pic_wrap select { height: 40px; line-height: 40px; border: 0; text-align: center; border-radius: 3px; }
.pic_wrap a, .pic_wrap span, .pic_wrap button { background: #1e6f8a; color: #fff; cursor: pointer; font: inherit; }
.pic_wrap button:disabled { cursor: default; opacity: .65; }
.pic_wrap select { background: #fff; border: 1px solid #ddd; padding: 0 12px; text-align: left; }
.list_unit { background: #eee; padding: 18px 14px; margin-bottom: 20px; }
.list_unit h2 { text-align: center; color: #777; font-size: 16px; margin-bottom: 14px; font-weight: 400; }
.read_img5 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 45px; }
.read_img5 a { display: block; height: 38px; line-height: 38px; text-align: center; background: #e3e3e3; color: #333; border-radius: 3px; }
@media (max-width: 768px) {
    .area_grid5, .foot5 { border-width: 2px; margin-bottom: 12px; }
    .area_grid5 .descitem { height: auto; line-height: 1.5; padding: 8px; }
    .navline { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 10px; align-items: start; }
    .row_unit3 { width: 96px; min-height: 126px; padding: 4px; background: rgba(255,255,255,.45); }
    .row_unit3 img { width: 100%; height: 118px; object-fit: contain; object-position: center; }
    .read_meta { min-width: 0; }
    .read_meta h1 { font-size: 18px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .shu_img { display: block; border-bottom: 0; padding-bottom: 0; margin-bottom: 6px; }
    .shu_img p { height: 26px; line-height: 26px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .author8 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; grid-column: 1 / -1; margin: 2px 0 8px; }
    .bd { 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; }
    .bd:hover { color: #fff; text-decoration: none; opacity: .92; }
    .bd.top_bar6 { background: #f0305a; }
    .bd.wen_info2 { background: #f1a51e; }
    .bd.head9 { background: #5b8cc3; }
    .mod_link { grid-column: 1 / -1; max-height: 118px; overflow: hidden; line-height: 1.85; color: #444; }
    .mod_link.grid2 { max-height: none; }
    .cat { 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; }
    .foot5 .hd_cell { grid-template-columns: 1fr; padding: 0 8px; }
    .foot5 .hd_cell li { height: 36px; line-height: 36px; padding-right: 0; }
    .pic_wrap { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .pic_wrap select { grid-column: 1 / -1; order: -1; }
    .read_img5 { grid-template-columns: 1fr; gap: 8px; }
}

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

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

@media (max-width: 768px) {
    html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
    .col7, .side_panel, .sec_con3, .foot, .story_img, .area_grid5, .foot5 { max-width: 100%; overflow-x: hidden; }
    .desc_meta2 { width: 100%; max-width: 100%; }
    .navmain { min-width: 0; }
    .hd_block8 { flex: 0 0 68px; width: 68px; }
    .authormod { max-width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
    .story_img { padding-left: 10px; padding-right: 10px; }
    .descitem { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .row_panel7 h1 { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
    .row_panel7 p { white-space: normal; overflow-wrap: anywhere; }
    .vol_panel7 { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .vol_panel7 p { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .menu7 { right: 8px; }
}

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

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

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

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

body.wen_main .page_list6 a { color: #b8d7ef; text-shadow: 1px 1px 0 #1a3c55; }
body.wen_main .story_img { background: #242424; }
body.wen_main .row_panel7 h1 { color: #ddd; }
body.wen_main .row_panel7 p,
body.wen_main .descitem { color: #aaa; }
body.wen_main .vol_panel7 { color: #d2d2d2; }
body.wen_main .vol_panel7 p { color: #d2d2d2; }
body.wen_main.block_cell7 .story_img,
body.wen_main.tool_cell .story_img,
body.wen_main.title_wrap8 .story_img { background: #242424; }
@media (max-width: 768px) {
    .hd { grid-template-columns: auto 28px 28px 28px 1fr 42px; }
    body.wen_main .hd { background: #2b2b2b; border-color: #555; }
}

:root { --reader-bg-custom: #E9FAFF; }
.story_img { background: var(--reader-bg-custom, #f6f1e7); }
body:not(.wen_main) .story_img { background: var(--reader-bg-custom, #E9FAFF); }
body:not(.wen_main) .vol_panel7 { color: #333; }

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

@media (max-width: 768px) {
    .story_img > .descitem,
    .story_img > .row_panel7 { display: none; }
    .story_img { padding-top: 0; }
}

/* 关灯只作用于章节正文，头部、搜索、工具栏和翻页保持原样。 */
body.wen_main { background: #e6f8fb; color: #555; }
body.wen_main a { color: #4d6da8; }
body.wen_main .metamod { background: #d9eef3; border-color: #b8dce7; color: #6d8f9e; }
body.wen_main .sec_con3,
body.wen_main .bar_con { background: #e6f8fb; border-color: #72c4e8; color: #555; }
body.wen_main .shu_list,
body.wen_main .authormod { background: #79c2e3; }
body.wen_main .shu_list a,
body.wen_main .authormod a { color: #fff; }
body.wen_main .navmain,
body.wen_main .boxtext input,
body.wen_main .area_img select { background: #fff; color: #333; border-color: #9bc7df; }
body.wen_main .story_img,
body.wen_main.block_cell7 .story_img,
body.wen_main.tool_cell .story_img,
body.wen_main.title_wrap8 .story_img { background: #2f3437; border-color: #444; }
body.wen_main .row_panel7 h1 { color: #ddd; }
body.wen_main .row_panel7 p,
body.wen_main .descitem { color: #aaa; }
body.wen_main .name_unit a,
body.wen_main .name_unit span { background: #363b3f; border-color: #555; color: #c8c8c8; }
body.wen_main .hd { background: #2f3437; border-color: #555; }
body.wen_main .hd span,
body.wen_main .hd label { color: #c8c8c8; }
body.wen_main .hd select,
body.wen_main .hd button { background: #363b3f; border-color: #6b747b; color: #c8d7e8; }
body.wen_main .vol_panel7 { background: transparent; color: #aaa; }
body.wen_main .bookcon { border-color: #555; color: #bbb; }
body.wen_main .vol_panel7 p { color: #aaa; }
body.wen_main .page_list6 a { color: #0871bd; text-shadow: 2px 2px 0 #c3e3f1; }
body.wen_main .rank_wrap { color: #0871bd; border-color: #79c2e3; background: rgba(255,255,255,.55); }
body.wen_main .rank_wrap:hover { color: #0871bd; background: rgba(255,255,255,.8); }
body.wen_main .page5 { background: #eee; }
body.wen_main .page5 h2 { color: #777; }
body.wen_main .nav_block9 a { background: #e3e3e3; color: #333; }
.page3 { text-align: center; padding: 54px 20px 62px; border: 3px solid #86c9e8; background: #fffdf6; }
.page3 h1 { margin-bottom: 12px; color: #287dc2; font-size: 30px; font-weight: 700; }
.page3 p { margin: 8px 0; color: #555; }
.card_line { display: inline-block; min-width: 110px; height: 34px; margin-top: 12px; line-height: 34px; background: #4eadd0; color: #fff; border-radius: 3px; }
.card_line:hover { color: #fff; text-decoration: none; background: #287dc2; }
@media (max-width: 768px) {
    body.wen_main .sec_con3 { background: #dff5fb; }
    .page3 { padding: 42px 12px 48px; border-width: 2px; }
    .page3 h1 { font-size: 24px; }
}

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

/* Home update/new panels alignment fix */
.card_panelbd .link_con,
.card_panelbd .vol_box { align-self: start; }
.card_panelbd .cha_ft,
.card_panelbd .menu_ft { padding: 8px 10px; font-size: 13px; }
.card_panelbd .cha_ft li,
.card_panelbd .menu_ft li { height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; }
.card_panelbd .cha_ft li { grid-template-columns: 92px 188px minmax(0, 1fr) 78px 42px; gap: 7px; }
.card_panelbd .menu_ft li { grid-template-columns: 82px minmax(0, 1fr) 62px; gap: 7px; }
.card_panelbd .cha_ft .story_con,
.card_panelbd .cha_ft .side_cell3,
.card_panelbd .cha_ft .bar_meta9,
.card_panelbd .cha_ft .tool_hd,
.card_panelbd .cha_ft .items,
.card_panelbd .menu_ft span,
.card_panelbd .menu_ft a,
.card_panelbd .menu_ft em { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 768px) {
    .card_panelbd .cha_ft,
    .card_panelbd .menu_ft { padding: 4px 8px; font-size: 14px; }
    .card_panelbd .cha_ft li,
    .card_panelbd .menu_ft li { height: 34px; line-height: 34px; }
    .card_panelbd .cha_ft li { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
    .card_panelbd .menu_ft li { grid-template-columns: minmax(0, 1fr) 88px; gap: 6px; }
}

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

/* static rank page, bqg style */
.novelpanel.timelink {
  display: block;
  border: 2px solid #8ed1ef;
  background: #fffdf6;
  padding: 12px;
}
.timelink .wen_ft2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  margin: 0 0 10px;
  min-height: 28px;
}
.timelink .wen_ft2 h2 {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  color: #444;
  font-weight: 700;
}
.timelink .wen_ft2 strong {
  grid-column: 2 / 3;
  text-align: center;
  font-size: 18px;
  line-height: 28px;
  color: #444;
}
.timelink .home {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 12px;
}
.timelink .box {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  min-height: 156px;
  overflow: hidden;
}
.timelink .cell_wrap3 img {
  width: 110px;
  height: 148px;
  object-fit: cover;
  border: 1px solid #b7d2dd;
  background: #fff;
}
.timelink .cell {
  min-width: 0;
}
.timelink .box 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;
}
.timelink .box h3 a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.timelink .box h3 span,
.timelink .box h3 em {
  color: #999;
  font-weight: 400;
  font-style: normal;
  white-space: nowrap;
}
.timelink .hd_cover2 {
  margin: 4px 0;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
}
.timelink .hd_cover2 a {
  display: inline;
}
.timelink .infounit {
  margin: 6px 0 0;
  color: #333;
  font-size: 13px;
  line-height: 23px;
  max-height: 92px;
  overflow: hidden;
}
@media (max-width: 720px) {
  .novelpanel.timelink {
    padding: 8px;
  }
  .timelink .wen_ft2 {
    display: flex;
    justify-content: space-between;
  }
  .timelink .wen_ft2 h2 {
    font-size: 20px;
  }
  .timelink .wen_ft2 strong {
    font-size: 16px;
  }
  .timelink .home {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .timelink .box {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 116px;
  }
  .timelink .cell_wrap3 img {
    width: 86px;
    height: 116px;
  }
  .timelink .infounit {
    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; }
.col7, .link_box2, .foot, .wen_grid6 { width: 980px; max-width: 980px; margin: 0 auto; }
.sec_con3 { background: #e6f8fb; }
.foot { height: 86px; display: flex; align-items: center; gap: 28px; }
.page_list6 { width: 180px; font-size: 34px; line-height: 1; font-family: Georgia, "Microsoft YaHei", serif; font-weight: 700; }
.page_list6 a { color: #0871bd; text-shadow: 2px 3px 3px rgba(0, 90, 150, .28); }
.page_list6 a:hover { text-decoration: none; color: #0871bd; }
.desc_meta2 { margin-left: auto; flex: 0 0 470px; display: flex; height: 38px; border: 1px solid #9bd5ee; background: #fff; }
.navmain { flex: 1; height: 36px; padding: 0 12px; border: 0; font-size: 14px; outline: 0; }
.hd_block8 { width: 78px; height: 36px; border: 0; background: #ddd; color: #222; cursor: pointer; }
.shu_list { width: 980px; max-width: 980px; height: 42px; margin: 0 auto; background: #74c0df; display: block; overflow: hidden; }
.wen_grid6 { display: flex; height: 42px; width: 980px; }
.shu_list a { display: block; color: #fff; font-weight: 700; line-height: 42px; padding: 0 12px; white-space: nowrap; }
.shu_list a:hover, .shu_list a.time { background: #57acd2; color: #fff; text-decoration: none; }
.side_panel { padding: 12px 0 20px; }

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

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

.img_item9 { display: grid; grid-template-columns: 1fr 300px; gap: 12px; margin-bottom: 12px; }
.list9, .home_grid, .update7img { border: 3px solid #9bd5ee; background: #eefafa; }
.list9 h2, .home_grid h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd5ee; font-size: 16px; color: #333; }
.site_unit li, .wen_text li, .cont_area li { display: grid; align-items: center; min-height: 30px; line-height: 30px; border-bottom: 1px solid #d1e3e8; overflow: hidden; }
.site_unit li { grid-template-columns: 88px minmax(120px,1.15fr) minmax(180px,1.45fr) 90px 50px; column-gap: 8px; padding: 0 10px; }
.wen_text li { grid-template-columns: 76px minmax(0, 1fr) 76px; column-gap: 0; padding: 0 10px; }
.wen_text li.mod_cover9 { grid-template-columns: 76px minmax(0, 1fr); }
.cont_area li { grid-template-columns: 90px minmax(220px,1fr) minmax(240px,1.2fr) 120px 78px; column-gap: 8px; padding: 0 12px; }
.site_unit a, .wen_text a, .cont_area a, .mod_list, .wrap_area9, .row, .chaimg, .wen_text em { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mod_list { color: #555; }
.wrap_area9, .row, .chaimg, .wen_text em { color: #777; font-style: normal; text-align: right; }
.update7img { padding-bottom: 8px; }
.update7img h2 { height: 42px; line-height: 42px; padding: 0 12px; background: #fff; border-bottom: 1px solid #ddd; color: #0871bd; font-size: 18px; }
.authorft { display: grid; grid-template-columns: 160px minmax(160px, 1fr) 160px; gap: 12px; padding: 12px 10px 10px; background: #eefafa; }
.authorft button, .authorft select { width: 100%; height: 36px; border-radius: 2px; font: inherit; }
.authorft button { border: 0; background: #4badd3; color: #fff; cursor: pointer; }
.authorft button:disabled { opacity: .55; cursor: default; }
.authorft select { border: 1px solid #b9d7e3; background: #fff; padding: 0 10px; }
.cha { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 5px; width: 100%; padding: 10px 6px; box-sizing: border-box; }
.cha button, .cha select { min-width: 0; padding-left: 3px; padding-right: 3px; font-size: 13px; }
.wen_sec > [hidden] { display: none !important; }
.bar_col4 { margin: 0; padding: 28px 20px; background: #fff; border: 1px solid #ddd; }
.bar_col4 h2 { margin: 0 0 8px; font-size: 22px; color: #555; }
.bar_col4 p, .foot_item4 { color: #555; }

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

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

@media (max-width: 1023px) {
  .col7, .link_box2, .foot, .shu_list, .wen_grid6 { width: auto; max-width: none; }
  .metamod { display: block; }
  .link_box2 { padding: 0 10px; justify-content: center; }
  .sec_con3 { padding: 10px; }
  .foot { height: auto; display: block; }
  .page_list6 { width: auto; margin-bottom: 8px; font-size: 28px; }
  .desc_meta2 { width: 100%; max-width: none; margin: 0; flex-basis: auto; }
  .shu_list { margin: 0 10px; height: 38px; overflow-x: auto; }
  .wen_grid6 { display: flex; height: 38px; min-width: max-content; }
  .shu_list a { line-height: 38px; padding: 0 12px; }
  .side_panel { padding: 8px 10px 16px; }
  .site_mod3 { display: block; padding: 8px; }
  .site_mod3 .shu3 { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .site_mod3 .rank, .site_mod3 .rank img { width: 86px; }
  .site_mod3 .rank img { height: 116px; }
  .hot_box { display: block; }
  .update7 { min-height: 0; border-right: 0; }
  .img_item9 { display: flex; flex-direction: column; }
  .home_grid { order: 1; }
  .list9 { order: 2; }
  .site_unit li { grid-template-columns: 1fr 1fr; gap: 0 10px; min-height: 28px; line-height: 28px; }
  .site_unit .mod_list, .site_unit .wrap_area9, .site_unit .chaimg { display: none; }
  .wen_text li { grid-template-columns: 1fr 72px; min-height: 28px; line-height: 28px; }
  .wen_text li span { display: none; }
  .cont_area li { grid-template-columns: 1fr 72px; min-height: 30px; line-height: 30px; }
  .cont_area .mod_list, .cont_area .pic_meta6 { display: none; }
  .cont_area .wrap_area9, .cont_area .row { text-align: right; }
  .update7img h2 { height: 36px; line-height: 36px; font-size: 16px; }
  .authorft { grid-template-columns: 1fr 1.25fr 1fr; gap: 8px; padding: 10px 8px; }
  .cha { grid-template-columns: 1fr 1.25fr 1fr; }
  .update { display: block; }
  .mod { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .hd_meta img { width: 86px; height: 116px; }
}

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

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

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

  .wrap_cover .shu3:last-child {
    border-bottom: 0;
  }

  .wrap_cover .rank,
  .wrap_cover .rank img {
    width: 82px;
  }

  .wrap_cover .rank img {
    height: 110px;
    object-fit: cover;
  }

  .wrap_cover .head_hd4 {
    min-width: 0;
  }

  .wrap_cover .head_hd4 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;
  }

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

  .wrap_cover .head_hd4 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;
  }

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

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

  .main_row .list9,
  .main_row .home_grid {
    width: 100%;
    margin: 0 0 10px;
    border: 2px solid #8fd1ed;
    box-sizing: border-box;
  }

  .main_row .list9 h2,
  .main_row .home_grid h2 {
    padding: 8px 10px;
    font-size: 14px;
    line-height: 20px;
  }

  .main_row .site_unit 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;
  }

  .main_row .site_unit .mod_list,
  .main_row .site_unit .new_info5,
  .main_row .site_unit .pic_meta6 {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
  }

  .main_row .site_unit .mod_list {
    display: none;
  }

  .main_row .site_unit .wrap_area9,
  .main_row .site_unit .chaimg {
    display: none;
  }

  .main_row .wen_text 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;
  }

  .main_row .wen_text li.mod_cover9 {
    grid-template-columns: minmax(0, 1fr);
  }

  .main_row .wen_text li > span {
    display: none;
  }

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

/* desktop bqg scale restore */
@media (min-width: 1024px) {
  .col7,
  .link_box2,
  .foot,
  .wen_grid6 {
    width: 1024px;
    max-width: 1024px;
  }

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

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

  .site_mod3 .rank,
  .site_mod3 .rank img {
    width: 120px;
  }

  .site_mod3 .rank img {
    height: 160px;
  }

  .site_mod3 .head_hd4 h3,
  .hot_box .head_hd4 h3 {
    font-size: 15px;
    line-height: 23px;
  }

  .site_mod3 .head_hd4 p,
  .hot_box .head_hd4 p {
    font-size: 14px;
    line-height: 24px;
  }

  .update7 {
    padding: 10px 12px;
  }

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

  .update7 .rank,
  .update7 .rank img {
    width: 92px;
  }

  .update7 .rank img {
    height: 124px;
  }

  .title li,
  .wen_text li,
  .site_unit li {
    font-size: 14px;
    min-height: 24px;
    line-height: 24px;
  }

  .list9 h2,
  .home_grid h2,
  .update7 h2 {
    font-size: 16px;
  }
}

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

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

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

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

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

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

  .list4 .site_mod3 .shu3:nth-child(n+5) {
    display: none;
  }

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

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

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

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

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

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

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

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

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

  .list4 .site_mod3 {
    display: block;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
  }

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

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

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

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

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

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

/* 2026-07-12: force desktop nav/header width to 1024px */
@media (min-width: 1024px) {
  .link_box2,
  .foot,
  .wen_grid6,
  .col7 {
    width: 1024px !important;
    max-width: 1024px !important;
    box-sizing: border-box;
  }

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

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

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

.shu_list a:hover,
.authormod a:hover,
.wen_grid6 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) {
  .link_box2,
  .foot,
  .wen_grid6,
  .col7,
  .shu_list,
  .authormod {
    width: 1024px !important;
    max-width: 1024px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .shu_list,
  .authormod {
    overflow: hidden !important;
  }
}

@media (max-width: 1023px) {
  .link_box2,
  .foot,
  .wen_grid6,
  .col7,
  .shu_list,
  .authormod {
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .col7,
  .foot,
  .link_box2 {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

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

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

/* nav-hover-disabled: 导航条不保留 hover / focus / active 印记 */
.sec_con3 nav a:hover,
.sec_con3 nav a:focus,
.sec_con3 nav a.time,
.sec_con3 nav .time,
.foot nav a:hover,
.foot nav a:focus,
.foot nav a.time,
.foot nav .time,
.shu_list a:hover,
.shu_list a:focus,
.shu_list a.time,
.shu_list .time,
.authormod a:hover,
.authormod a:focus,
.authormod a.time,
.authormod .time {
    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) {
    .link_box2,
    .sec_con3 .foot,
    .foot,
    .col7,
    .side_panel,
    .name_meta,
    .desc_link3,
    .hd9,
    .shu_list,
    .authormod {
        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;
    }

    .metamod,
    .sec_con3,
    .side_panel,
    .bar_con,
    .link_box2,
    .sec_con3 .foot,
    .foot,
    .col7,
    .hd9,
    .name_meta,
    .desc_link3,
    .read,
    .shu_list,
    .authormod {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .link_box2,
    .sec_con3 .foot,
    .foot,
    .col7,
    .name_meta,
    .desc_link3,
    .side_panel {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

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

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

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

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

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

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

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

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

    .novelpanel,
    .new,
    .author_bd,
    .sort_list9,
    .ft_bd,
    .update7img .bar,
    .cont_area,
    .bar,
    .story_main,
    .meta_area,
    .num_line3,
    .area_grid5 {
        display: block !important;
        grid-template-columns: none !important;
        columns: auto !important;
        width: 100% !important;
    }

    .bd_line9,
    .wrap_item,
    .bar .card_panel,
    .cont_area .card_panel,
    .story_main .card_panel,
    .meta_area .card_panel,
    .num_line3 .card_panel,
    .barcon,
    .pagebar {
        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;
    }

    .bd_line9 img,
    .wrap_item img,
    .hd_meta img,
    .bar .card_panel img,
    .cont_area .card_panel img,
    .story_main .card_panel img,
    .meta_area .card_panel img,
    .num_line3 .card_panel img,
    .barcon img,
    .pagebar img {
        width: 88px !important;
        height: 118px !important;
        object-fit: cover !important;
    }

    .pic_text,
    .block_col,
    .head_hd4,
    .bd_area,
    .pagebar dl,
    .pagebar .novel {
        min-width: 0 !important;
    }

    .ft_main,
    .img_col3,
    .page,
    .novel2 {
        display: block !important;
        grid-template-columns: none !important;
        width: 100% !important;
    }

    .ft_main > *,
    .img_col3 > *,
    .page > *,
    .novel2 > * {
        width: 100% !important;
        margin-bottom: 10px !important;
        box-sizing: border-box !important;
    }
}

/* 导航条不保留 hover/focus/active 视觉印记 */
.shu_list a:hover,
.shu_list a:focus,
.shu_list a:active,
.shu_list a.time,
.shu_list .time,
.authormod a:hover,
.authormod a:focus,
.authormod a:active,
.authormod a.time,
.authormod .time,
.sec_con3 nav a:hover,
.sec_con3 nav a:focus,
.sec_con3 nav a:active,
.sec_con3 nav a.time,
.foot nav a:hover,
.foot nav a:focus,
.foot nav a:active,
.foot nav a.time {
    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) {
  .list4 .head_hd4 p,
  .wrap_cover .head_hd4 p {
    height: 130px;
    line-height: 26px;
  }
}

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

  .foot {
    height: 68px;
  }

  .shu_list,
  .wen_grid6 {
    height: 38px;
  }

  .shu_list a,
  .wen_grid6 a {
    line-height: 38px;
  }

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

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

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

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

  .sec_con3 .foot,
  .foot {
    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;
  }

  .sec_con3 .page_list6,
  .sec_con3 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;
  }

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

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

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

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

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

  .sec_con3 .desc_meta2,
  .foot .desc_meta2 {
    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;
  }

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

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

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

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

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

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

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

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

  .navline .read_meta {
    display: contents !important;
  }

  .navline .read_meta 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;
  }

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

  .navline .shu_img p {
    height: 25px !important;
    line-height: 25px !important;
  }

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

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

  .navline .mod_link.grid2 {
    max-height: none !important;
  }

  .navline .cat {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
  }

  .foot5 .hd_cell {
    grid-template-columns: 1fr !important;
  }

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

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

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

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

  .side_panel .col7 > .list_unit {
    margin: 0 0 14px !important;
    padding: 14px 10px 16px !important;
    background: #fff !important;
  }

  .side_panel .col7 > .list_unit .read_img5 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 14px !important;
  }

  .side_panel .col7 > .list_unit .read_img5 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) {
  .main_row .site_unit li {
    height: 35px;
    min-height: 35px;
    line-height: 35px;
  }

  .main_row .wen_text li,
  .main_row .wen_text li.mod_cover9 {
    height: 30px;
    min-height: 30px;
    line-height: 30px;
  }

  /* 数据不足49条时，左右条数相同，统一使用35px行高。 */
  .main_row.grid6 .wen_text li,
  .main_row.grid6 .wen_text li.mod_cover9 {
    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. */
.main_row { align-items: stretch; }
.main_row .list9,
.main_row .home_grid { min-width: 0; }
.main_row .home_grid { display: flex; flex-direction: column; }
.main_row .home_grid .wen_text { flex: 0 0 auto; }
.main_row .pageline {
  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;
}
.main_row .pageline > a,
.main_row .pageline > span,
.main_row .pageline > select {
  width: 100%;
  height: 36px;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
.main_row .pageline > a,
.main_row .pageline > span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.main_row .pageline > select {
  border: 1px solid #b9d7e3;
  background: #fff;
  padding: 0 10px;
}
.main_row .hd_bd {
  margin: auto 0 0;
  padding: 12px 10px 10px;
  border-top: 1px solid #cbdde3;
  box-sizing: border-box;
}
.main_row .hd_bd 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) {
  .main_row .pageline {
    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) {
  .side_panel.cont,
  .side_panel.side6,
  .side_panel.menu_line {
    width: 100% !important;
    max-width: none !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    box-sizing: border-box !important;
  }

  .side_panel.cont > .col7,
  .side_panel.side6 > .col7,
  .side_panel.menu_line > .col7 {
    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;
  }

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

  .side_panel.read_list > .col7 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .side_panel.read_list .story_img {
    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;
  }

  .side_panel.read_list .vol_panel7 {
    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;
  }

  .side_panel.read_list .hd,
  .side_panel.read_list .name_unit {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}
