* { 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%; }
.list_bd4, .box9, .nav_img, .page_name3, .novel3 { max-width: 980px; margin: 0 auto; }

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

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

.block_hd { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 12px; }
.hot, .side_unit8, .book_unit6, .side4, .area_bar8, .pic_hd, .new { background: #fff; border: 1px solid #ddd; }
.hot { display: grid; grid-template-columns: 1fr 1fr; padding: 12px; gap: 12px; }
.menu_box4 { display: flex; min-height: 132px; overflow: hidden; }
.menu_box4 .menu_con { width: 88px; flex: 0 0 88px; margin-right: 12px; }
.menu_box4 .menu_con img { width: 88px; height: 120px; object-fit: cover; border: 1px solid #ddd; }
.menu_box4 dt { height: 28px; line-height: 28px; overflow: hidden; font-weight: 700; }
.menu_box4 dt span { float: right; max-width: 72px; color: #888; font-size: 12px; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.menu_box4 dd { color: #555; height: 88px; overflow: hidden; font-size: 13px; }
.menu_box4 dd a { color: #555; }
.mod, .book_unit6 h2, .area_bar8 h2, .pic_hd h2 { height: 38px; line-height: 38px; padding: 0 12px; border-bottom: 1px solid #ddd; background: #f9f9f9; color: #287dc2; font-size: 16px; }
.desc_secitem, .ft_box, .vol, .side_name, .wen { list-style: none; }
.desc_secitem li, .vol li, .wen li { display: flex; height: 35px; line-height: 35px; padding: 0 12px; border-bottom: 1px dashed #e5e5e5; overflow: hidden; }
.new_link, .text_panel2 { width: 86px; color: #888; flex: 0 0 86px; }
.ft6, .mainbar { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.site3 { width: 220px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.unit_ft, .covers { width: 88px; color: #777; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bd_main { width: 70px; color: #888; text-align: right; }

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

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

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

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

@media (max-width: 768px) {
    .list_bd4, .box9, .nav_img, .page_name3, .novel3 { width: 100%; max-width: none; }
    .cont_grid2 { display: none; }
    .bd_panel { padding: 10px; }
    .nav_img { height: auto; display: block; }
    .shu_main { width: auto; margin-bottom: 10px; font-size: 28px; text-align: center; }
    .grid_meta7 { max-width: none; }
    .cat_box { display: none; }
    .page_name3 { display: none; }
    .novel3 { display: flex; overflow-x: auto; background: #287dc2; }
    .novel3 a { color: #fff; line-height: 38px; padding: 0 14px; white-space: nowrap; }
    .story7 { padding: 8px; }
    .block_hd, .cat_cover { display: block; }
    .hot { grid-template-columns: 1fr; margin-bottom: 10px; }
    .side_unit8, .book_unit6 { margin-bottom: 10px; }
    .new_link, .site3, .unit_ft, .text_panel2, .covers, .bd_main { display: none; }
    .ft_box { columns: 1; }
    .side4 { display: block; text-align: center; }
    .side4 .cover7 { margin: 0 auto 12px; }
    .area h1 { height: auto; line-height: 1.4; font-size: 24px; }
    .cell_ft2 { justify-content: center; }
    .side_name { grid-template-columns: 1fr; }
    .panel { padding: 0 12px 18px; }
    .itemrow h1 { font-size: 22px; }
    .wen3 { font-size: 18px; line-height: 1.95; padding: 14px 0; }
    .head_con { display: block; font-size: 18px; margin-bottom: 12px; padding-bottom: 8px; line-height: 1.45; }
    .bar_item { gap: 8px; }
    .bar_item a, .bar_item span { min-width: 0; flex: 1; }
}

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

/* Screenshot-style desktop home layout */
body { background: #e6f8fb; color: #555; font-size: 14px; }
a { color: #4d6da8; }
.list_bd4, .box9, .nav_img, .page_name3, .novel3 { max-width: 1160px; }
.cont_grid2 { background: #d9eef3; border-bottom: 1px solid #b8dce7; }
.box9 { color: #6d8f9e; }
.bd_panel { background: #e6f8fb; }
.nav_img { height: 82px; gap: 24px; }
.shu_main { width: 150px; font-size: 36px; font-family: Georgia, "Microsoft YaHei", serif; text-shadow: 2px 2px 0 #c3e3f1; }
.shu_main a { color: #0871bd; }
.grid_meta7 { max-width: 480px; margin-left: auto; }
.grid_area { height: 36px; border: 1px solid #9bc7df; background: #fff; }
.bd_hd { height: 36px; background: #ddd; color: #222; }
.cat_box { display: none; }
.page_name3 { height: 44px; background: #79c2e3; padding: 0 10px; }
.page_name3 a { line-height: 44px; padding: 0 11px; border-right: 0; color: #fff; font-weight: 700; }
.page_name3 a:hover { background: #5eb1d8; }
.story7 { padding: 12px 0 24px; }

.sec8 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 22px; padding: 14px; margin-bottom: 22px; border: 3px solid #b9dff1; background: #fffdf6; }
.sidemain { display: grid; grid-template-columns: 126px 1fr; gap: 12px; min-height: 176px; }
.author3 img { width: 126px; height: 170px; object-fit: cover; border: 1px solid #abc6d4; padding: 3px; background: #fff; }
.top_metatext h2 { height: 28px; line-height: 28px; font-size: 15px; border-bottom: 1px dotted #c7d8e3; overflow: hidden; }
.top_metatext h2 a { color: #5b6fad; font-weight: 700; }
.top_metatext h2 span { float: right; color: #aaa; font-weight: 400; }
.top_metatext p { padding-top: 8px; color: #555; line-height: 1.85; height: 132px; overflow: hidden; text-indent: 2em; }
.pic_hd6 { display: grid; grid-template-columns: 1fr 335px; gap: 14px; align-items: start; }
.cate_bd2, .unit { border: 3px solid #86c9e8; background: #eef6f6; }
.cate_bd2 h2, .unit h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd3e9; color: #456; font-size: 16px; }
.mod_con, .title5 { list-style: none; padding: 8px 12px; }
.mod_con 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; }
.mod_con .story_box9 { color: #555; }
.mod_con .list6, .mod_con .cont6, .mod_con .grid_line { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mod_con .grid_line, .mod_con .page9 { color: #aaa; text-align: right; }
.title5 li { display: grid; grid-template-columns: 78px 1fr 58px; gap: 6px; height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; overflow: hidden; }
.title5 span { color: #555; }
.title5 a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.title5 em { color: #666; font-style: normal; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cat_sec { display: grid; grid-template-columns: 190px 1fr 190px; gap: 18px; padding: 14px 12px; }
.cat_sec a, .cat_sec select { height: 40px; border: 0; background: #4eadd0; color: #fff; text-align: center; border-radius: 3px; font-weight: 700; }
.cat_sec a { line-height: 40px; }
.cat_sec select { background: #fff; color: #222; border: 1px solid #d8e2e4; padding: 0 12px; }
.page_grid { 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; }
    .list_bd4, .box9, .nav_img, .page_name3, .novel3 { width: 100%; max-width: none; }
    .cont_grid2 { display: none; }
    .bd_panel { padding: 10px; background: #dff5fb; }
    .nav_img { display: block; height: auto; }
    .shu_main { width: auto; font-size: 30px; text-align: left; margin: 0 0 10px; padding-right: 58px; }
    .grid_meta7 { max-width: none; display: flex; margin-left: 0; }
    .grid_area { height: 38px; font-size: 14px; }
    .bd_hd { width: 72px; height: 38px; }
    .page_name3 { display: none; }
    .novel3 { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); overflow: hidden; height: 40px; background: #79c2e3; padding: 0; }
    .novel3 a { min-width: 0; color: #fff; line-height: 40px; padding: 0 2px; text-align: center; font-weight: 700; white-space: nowrap; }
    .nav_img .novel3 { margin-bottom: 8px; }
    .story7 { padding: 8px; }
    .sec8 { display: block; padding: 8px; margin-bottom: 10px; border-width: 2px; }
    .sidemain { display: grid; grid-template-columns: 82px 1fr; gap: 10px; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #d8e2e4; }
    .sidemain:last-child { border-bottom: 0; }
    .author3 img { width: 82px; height: 110px; padding: 2px; }
    .top_metatext h2 { height: 24px; line-height: 24px; font-size: 15px; }
    .top_metatext h2 span { display: none; }
    .top_metatext p { height: 78px; line-height: 1.7; padding-top: 5px; text-indent: 0; }
    .pic_hd6 { display: block; }
    .tag_img { display: flex; flex-direction: column; }
    .tag_img .unit { order: 1; }
    .tag_img .cate_bd2 { order: 2; }
    .cate_bd2, .unit { border-width: 2px; margin-bottom: 10px; }
    .cate_bd2 h2, .unit h2 { height: 34px; line-height: 34px; font-size: 15px; }
    .mod_con, .title5 { padding: 4px 8px; }
    .mod_con 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; }
    .mod_con .grid_line, .mod_con .page9 { display: none; }
    .mod_con .story_box9 { display: block; width: auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #555; }
    .mod_con .list6 { font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .mod_con .cont6 { color: #777; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .title5 li { grid-template-columns: minmax(0, 1fr) 88px; height: 34px; line-height: 34px; }
    .title5 span { display: none; }
    .cat_sec { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .cat_sec select { grid-column: 1 / -1; order: -1; }
    .page_grid { padding: 14px 8px; line-height: 1.7; }
}

.ft_panel { border: 3px solid #b9dff1; background: #fffdf6; }
.ft_panel h1 { height: 38px; line-height: 38px; padding: 0 12px; background: #dcecef; color: #444; font-size: 15px; }
.wen_area6 { 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 .menu_bar9 { text-align: center; color: #888; }
.info_bd8 { border: 0; background: transparent; color: red; cursor: pointer; }
@media (max-width: 768px) {
    .ft_panel { border-width: 2px; }
    .ft_panel h1 { height: auto; line-height: 1.5; padding: 8px; font-size: 14px; }
    .wen_area6 { 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 */
.site { display: grid; grid-template-columns: 1fr 340px; gap: 0; border: 3px solid #b9dff1; background: #fffdf6; margin-bottom: 16px; }
.navbd { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; padding: 12px; }
.item8 { display: grid; grid-template-columns: 142px 1fr; gap: 14px; min-height: 178px; }
.num_grid img { width: 142px; height: 170px; object-fit: cover; border: 1px solid #abc6d4; padding: 3px; background: #fff; }
.desccell h2 { height: 30px; line-height: 30px; font-size: 15px; border-bottom: 1px dotted #c7d8e3; overflow: hidden; }
.desccell h2 a { color: #5b6fad; font-weight: 700; }
.desccell h2 span { float: right; max-width: 78px; color: #aaa; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.desccell p { padding-top: 8px; color: #555; line-height: 1.85; height: 132px; overflow: hidden; text-indent: 2em; }
.bd_block { border-left: 3px solid #b9dff1; background: #eef6f6; }
.bd_block h2 { height: 39px; line-height: 39px; padding: 0 12px; background: #dcecef; color: #444; font-size: 16px; }
.bd_block ul { list-style: none; padding: 7px 12px; }
.bd_block li { display: grid; grid-template-columns: 78px 1fr 58px; gap: 6px; height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; overflow: hidden; }
.bd_block span { color: #555; }
.bd_block a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bd_block em { font-style: normal; color: #666; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.shu_bar6 { display: grid; grid-template-columns: repeat(3, 1fr); border: 3px solid #86c9e8; background: #fffdf6; }
.shu_bd { min-height: 318px; padding: 0 12px 9px; border-right: 1px dotted #9fc9db; border-bottom: 1px solid #b9dff1; overflow: hidden; }
.shu_bd:nth-child(3n) { border-right: 0; }
.shu_bd h2 { height: 34px; line-height: 34px; color: #444; font-size: 16px; border-bottom: 1px solid #c7d8e3; }
.vol_line { display: grid; grid-template-columns: 82px 1fr; gap: 12px; padding: 12px 0 8px; }
.main_panel img { width: 82px; height: 104px; object-fit: cover; border: 1px solid #abc6d4; padding: 2px; background: #fff; }
.vol_line h3 { height: 24px; line-height: 24px; font-size: 14px; overflow: hidden; }
.vol_line h3 a { color: #4d6da8; }
.vol_line p { height: 76px; overflow: hidden; line-height: 1.7; color: #555; }
.infoblock { list-style: none; }
.infoblock li { height: 26px; line-height: 26px; border-bottom: 1px solid #d8e2e4; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 768px) {
    .site { display: block; border-width: 2px; margin-bottom: 10px; }
    .navbd { display: block; padding: 8px; }
    .item8 { grid-template-columns: 82px 1fr; gap: 10px; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #d8e2e4; }
    .item8:last-child { border-bottom: 0; }
    .num_grid img { width: 82px; height: 110px; padding: 2px; }
    .desccell h2 { height: 24px; line-height: 24px; font-size: 15px; }
    .desccell 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; }
    .desccell p { height: 78px; line-height: 1.7; padding-top: 5px; text-indent: 0; }
    .bd_block { border-left: 0; border-top: 2px solid #b9dff1; }
    .bd_block ul { padding-right: 12px; }
    .bd_block li { grid-template-columns: minmax(0, 1fr) 82px; }
    .bd_block span { display: none; }
    .shu_bar6 { display: block; border-width: 2px; }
    .shu_bd { min-height: 0; border-right: 0; padding-bottom: 6px; }
    .shu_bd:nth-child(n+4) { display: none; }
    .vol_line { grid-template-columns: 72px 1fr; gap: 10px; }
    .main_panel img { width: 72px; height: 94px; }
    .infoblock li { height: 30px; line-height: 30px; }
}

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

.ft2 { position: fixed; right: 18px; bottom: 26px; z-index: 50; display: grid; gap: 8px; }
.ft2 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); }
.ft2 button:hover { background: #4eadd0; }
body.box_wrap4 { background: #1e1e1e; color: #aaa; }
body.box_wrap4 a { color: #9eb8e8; }
body.box_wrap4 .cont_grid2,
body.box_wrap4 .bd_panel,
body.box_wrap4 .page_grid { background: #252525; border-color: #3a3a3a; color: #888; }
body.box_wrap4 .page_name3,
body.box_wrap4 .novel3 { background: #333; }
body.box_wrap4 .page_name3 a:hover,
body.box_wrap4 .novel3 a:hover { background: #444; }
body.box_wrap4 .sec8,
body.box_wrap4 .site,
body.box_wrap4 .shu_bar6,
body.box_wrap4 .new_sec,
body.box_wrap4 .ft_panel,
body.box_wrap4 .author_hd8,
body.box_wrap4 .side4,
body.box_wrap4 .area_bar8,
body.box_wrap4 .pic_hd,
body.box_wrap4 .new,
body.box_wrap4 .cate_bd2,
body.box_wrap4 .unit,
body.box_wrap4 .bd_block,
body.box_wrap4 .box6 { background: #2a2a2a; border-color: #444; }
body.box_wrap4 .panel { background: #202020; border-color: #444; }
body.box_wrap4 .wen3 { color: #b8b8b8; }
body.box_wrap4 .mod,
body.box_wrap4 .book_unit6 h2,
body.box_wrap4 .area_bar8 h2,
body.box_wrap4 .pic_hd h2,
body.box_wrap4 .cate_bd2 h2,
body.box_wrap4 .unit h2,
body.box_wrap4 .bd_block h2,
body.box_wrap4 .ft_panel h1,
body.box_wrap4 .new h1,
body.box_wrap4 .shu_bd h2,
body.box_wrap4 .author_hd8 h1 { background: #333; color: #ccc; border-color: #444; }
body.box_wrap4 .top_metatext p,
body.box_wrap4 .desccell p,
body.box_wrap4 .vol_line p,
body.box_wrap4 .list_link p,
body.box_wrap4 .area_bar8 p,
body.box_wrap4 .area p,
body.box_wrap4 .wen_item .nav_name { color: #aaa; }
body.box_wrap4 .foot6 th { background: #333; color: #ccc; }
body.box_wrap4 .foot6 th,
body.box_wrap4 .foot6 td,
body.box_wrap4 .mod_con li,
body.box_wrap4 .title5 li,
body.box_wrap4 .bd_block li,
body.box_wrap4 .infoblock li { border-color: #444; }
body.box_wrap4 .grid_area,
body.box_wrap4 .home_cell input,
body.box_wrap4 .cat_sec select { background: #222; color: #ddd; border-color: #555; }
@media (max-width: 768px) {
    .ft2 { right: 10px; bottom: 14px; }
    .ft2 button { width: 48px; height: 32px; font-size: 13px; }
}

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

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

.read_area { border: 3px solid #86c9e8; background: #eef6f6; margin-bottom: 22px; }
.read_area .head_link2 { height: 34px; line-height: 34px; padding: 0 12px; color: #456; border-bottom: 1px solid #b9dff1; background: #dcecef; }
.panel_link { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 14px 28px 18px; }
.infowrap {
    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;
}
.infowrap img {
    display: block;
    width: 100%;
    height: 176px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}
.vol7 h1 { font-size: 30px; line-height: 44px; color: #333; }
.foot_cover { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-bottom: 1px dashed #86aebd; padding-bottom: 6px; margin-bottom: 8px; }
.foot_cover p { height: 28px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #444; }
.foot_cover .new_inner { color: #b54800; font-weight: 700; grid-column: 1 / -1; }
.site_wrap4 { grid-column: 2; line-height: 1.8; color: #444; }
.row { display: none; }
.cate_info2 { display: none; }
.hd_ft { border: 3px solid #4eadd0; background: #eef6f6; margin-bottom: 30px; }
.hd_ft h2 { height: 38px; line-height: 38px; text-align: center; background: #9fb6bd; color: #333; font-size: 16px; border-bottom: 1px solid #9fc9db; }
.hd_ft .side_name { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 12px; list-style: none; }
.hd_ft .side_name li { height: 40px; line-height: 40px; border-bottom: 1px dashed #9fb6bd; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-right: 16px; }
.hd_ft .side_name.unit_cover5 li { font-weight: 700; }
.panel_con6 { display: grid; grid-template-columns: 250px 1fr 250px; gap: 18px; padding: 16px 12px; }
.panel_con6 a, .panel_con6 span, .panel_con6 button, .panel_con6 select { height: 40px; line-height: 40px; border: 0; text-align: center; border-radius: 3px; }
.panel_con6 a, .panel_con6 span, .panel_con6 button { background: #1e6f8a; color: #fff; cursor: pointer; font: inherit; }
.panel_con6 button:disabled { cursor: default; opacity: .65; }
.panel_con6 select { background: #fff; border: 1px solid #ddd; padding: 0 12px; text-align: left; }
.update { background: #eee; padding: 18px 14px; margin-bottom: 20px; }
.update h2 { text-align: center; color: #777; font-size: 16px; margin-bottom: 14px; font-weight: 400; }
.grid4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 45px; }
.grid4 a { display: block; height: 38px; line-height: 38px; text-align: center; background: #e3e3e3; color: #333; border-radius: 3px; }
@media (max-width: 768px) {
    .read_area, .hd_ft { border-width: 2px; margin-bottom: 12px; }
    .read_area .head_link2 { height: auto; line-height: 1.5; padding: 8px; }
    .panel_link { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 10px; align-items: start; }
    .infowrap { width: 96px; min-height: 126px; padding: 4px; background: rgba(255,255,255,.45); }
    .infowrap img { width: 100%; height: 118px; object-fit: contain; object-position: center; }
    .vol7 { min-width: 0; }
    .vol7 h1 { font-size: 18px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .foot_cover { display: block; border-bottom: 0; padding-bottom: 0; margin-bottom: 6px; }
    .foot_cover p { height: 26px; line-height: 26px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; grid-column: 1 / -1; margin: 2px 0 8px; }
    .cont9 { 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; }
    .cont9:hover { color: #fff; text-decoration: none; opacity: .92; }
    .cont9.hot_list { background: #f0305a; }
    .cont9.cont_panel { background: #f1a51e; }
    .cont9.num_con { background: #5b8cc3; }
    .site_wrap4 { grid-column: 1 / -1; max-height: 118px; overflow: hidden; line-height: 1.85; color: #444; }
    .site_wrap4.link_col3 { max-height: none; }
    .cate_info2 { 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; }
    .hd_ft .side_name { grid-template-columns: 1fr; padding: 0 8px; }
    .hd_ft .side_name li { height: 36px; line-height: 36px; padding-right: 0; }
    .panel_con6 { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .panel_con6 select { grid-column: 1 / -1; order: -1; }
    .grid4 { grid-template-columns: 1fr; gap: 8px; }
}

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

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

@media (max-width: 768px) {
    html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
    .list_bd4, .story7, .bd_panel, .nav_img, .panel, .read_area, .hd_ft { max-width: 100%; overflow-x: hidden; }
    .grid_meta7 { width: 100%; max-width: 100%; }
    .grid_area { min-width: 0; }
    .bd_hd { flex: 0 0 68px; width: 68px; }
    .novel3 { max-width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
    .panel { padding-left: 10px; padding-right: 10px; }
    .head_link2 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .itemrow h1 { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
    .itemrow p { white-space: normal; overflow-wrap: anywhere; }
    .wen3 { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .wen3 p { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .ft2 { right: 8px; }
}

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

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

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

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

body.box_wrap4 .shu_main a { color: #b8d7ef; text-shadow: 1px 1px 0 #1a3c55; }
body.box_wrap4 .panel { background: #242424; }
body.box_wrap4 .itemrow h1 { color: #ddd; }
body.box_wrap4 .itemrow p,
body.box_wrap4 .head_link2 { color: #aaa; }
body.box_wrap4 .wen3 { color: #d2d2d2; }
body.box_wrap4 .wen3 p { color: #d2d2d2; }
body.box_wrap4.col_text .panel,
body.box_wrap4.box_mod .panel,
body.box_wrap4.num_list .panel { background: #242424; }
@media (max-width: 768px) {
    .top_block { grid-template-columns: auto 28px 28px 28px 1fr 42px; }
    body.box_wrap4 .top_block { background: #2b2b2b; border-color: #555; }
}

:root { --reader-bg-custom: #E9FAFF; }
.panel { background: var(--reader-bg-custom, #f6f1e7); }
body:not(.box_wrap4) .panel { background: var(--reader-bg-custom, #E9FAFF); }
body:not(.box_wrap4) .wen3 { color: #333; }

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

@media (max-width: 768px) {
    .panel > .head_link2,
    .panel > .itemrow { display: none; }
    .panel { padding-top: 0; }
}

/* 关灯只作用于章节正文，头部、搜索、工具栏和翻页保持原样。 */
body.box_wrap4 { background: #e6f8fb; color: #555; }
body.box_wrap4 a { color: #4d6da8; }
body.box_wrap4 .cont_grid2 { background: #d9eef3; border-color: #b8dce7; color: #6d8f9e; }
body.box_wrap4 .bd_panel,
body.box_wrap4 .page_grid { background: #e6f8fb; border-color: #72c4e8; color: #555; }
body.box_wrap4 .page_name3,
body.box_wrap4 .novel3 { background: #79c2e3; }
body.box_wrap4 .page_name3 a,
body.box_wrap4 .novel3 a { color: #fff; }
body.box_wrap4 .grid_area,
body.box_wrap4 .home_cell input,
body.box_wrap4 .cat_sec select { background: #fff; color: #333; border-color: #9bc7df; }
body.box_wrap4 .panel,
body.box_wrap4.col_text .panel,
body.box_wrap4.box_mod .panel,
body.box_wrap4.num_list .panel { background: #2f3437; border-color: #444; }
body.box_wrap4 .itemrow h1 { color: #ddd; }
body.box_wrap4 .itemrow p,
body.box_wrap4 .head_link2 { color: #aaa; }
body.box_wrap4 .bar_item a,
body.box_wrap4 .bar_item span { background: #363b3f; border-color: #555; color: #c8c8c8; }
body.box_wrap4 .top_block { background: #2f3437; border-color: #555; }
body.box_wrap4 .top_block span,
body.box_wrap4 .top_block label { color: #c8c8c8; }
body.box_wrap4 .top_block select,
body.box_wrap4 .top_block button { background: #363b3f; border-color: #6b747b; color: #c8d7e8; }
body.box_wrap4 .wen3 { background: transparent; color: #aaa; }
body.box_wrap4 .head_con { border-color: #555; color: #bbb; }
body.box_wrap4 .wen3 p { color: #aaa; }
body.box_wrap4 .shu_main a { color: #0871bd; text-shadow: 2px 2px 0 #c3e3f1; }
body.box_wrap4 .hot_text5 { color: #0871bd; border-color: #79c2e3; background: rgba(255,255,255,.55); }
body.box_wrap4 .hot_text5:hover { color: #0871bd; background: rgba(255,255,255,.8); }
body.box_wrap4 .author_cover { background: #eee; }
body.box_wrap4 .author_cover h2 { color: #777; }
body.box_wrap4 .maincon a { background: #e3e3e3; color: #333; }
.tag_row { text-align: center; padding: 54px 20px 62px; border: 3px solid #86c9e8; background: #fffdf6; }
.tag_row h1 { margin-bottom: 12px; color: #287dc2; font-size: 30px; font-weight: 700; }
.tag_row p { margin: 8px 0; color: #555; }
.book_grid { display: inline-block; min-width: 110px; height: 34px; margin-top: 12px; line-height: 34px; background: #4eadd0; color: #fff; border-radius: 3px; }
.book_grid:hover { color: #fff; text-decoration: none; background: #287dc2; }
@media (max-width: 768px) {
    body.box_wrap4 .bd_panel { background: #dff5fb; }
    .tag_row { padding: 42px 12px 48px; border-width: 2px; }
    .tag_row h1 { font-size: 24px; }
}

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

/* Home update/new panels alignment fix */
.tag_img .cate_bd2,
.tag_img .unit { align-self: start; }
.tag_img .mod_con,
.tag_img .title5 { padding: 8px 10px; font-size: 13px; }
.tag_img .mod_con li,
.tag_img .title5 li { height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; }
.tag_img .mod_con li { grid-template-columns: 92px 188px minmax(0, 1fr) 78px 42px; gap: 7px; }
.tag_img .title5 li { grid-template-columns: 82px minmax(0, 1fr) 62px; gap: 7px; }
.tag_img .mod_con .story_box9,
.tag_img .mod_con .list6,
.tag_img .mod_con .cont6,
.tag_img .mod_con .grid_line,
.tag_img .mod_con .page9,
.tag_img .title5 span,
.tag_img .title5 a,
.tag_img .title5 em { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 768px) {
    .tag_img .mod_con,
    .tag_img .title5 { padding: 4px 8px; font-size: 14px; }
    .tag_img .mod_con li,
    .tag_img .title5 li { height: 34px; line-height: 34px; }
    .tag_img .mod_con li { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
    .tag_img .title5 li { grid-template-columns: minmax(0, 1fr) 88px; gap: 6px; }
}

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

/* static rank page, bqg style */
.new_sec.card_cover {
  display: block;
  border: 2px solid #8ed1ef;
  background: #fffdf6;
  padding: 12px;
}
.card_cover .home8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  margin: 0 0 10px;
  min-height: 28px;
}
.card_cover .home8 h2 {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  color: #444;
  font-weight: 700;
}
.card_cover .home8 strong {
  grid-column: 2 / 3;
  text-align: center;
  font-size: 18px;
  line-height: 28px;
  color: #444;
}
.card_cover .sec5 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 12px;
}
.card_cover .descbox {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  min-height: 156px;
  overflow: hidden;
}
.card_cover .cate_info img {
  width: 110px;
  height: 148px;
  object-fit: cover;
  border: 1px solid #b7d2dd;
  background: #fff;
}
.card_cover .meta_name4 {
  min-width: 0;
}
.card_cover .descbox 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;
}
.card_cover .descbox h3 a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card_cover .descbox h3 span,
.card_cover .descbox h3 em {
  color: #999;
  font-weight: 400;
  font-style: normal;
  white-space: nowrap;
}
.card_cover .img5area {
  margin: 4px 0;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
}
.card_cover .img5area a {
  display: inline;
}
.card_cover .row_hd {
  margin: 6px 0 0;
  color: #333;
  font-size: 13px;
  line-height: 23px;
  max-height: 92px;
  overflow: hidden;
}
@media (max-width: 720px) {
  .new_sec.card_cover {
    padding: 8px;
  }
  .card_cover .home8 {
    display: flex;
    justify-content: space-between;
  }
  .card_cover .home8 h2 {
    font-size: 20px;
  }
  .card_cover .home8 strong {
    font-size: 16px;
  }
  .card_cover .sec5 {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .card_cover .descbox {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 116px;
  }
  .card_cover .cate_info img {
    width: 86px;
    height: 116px;
  }
  .card_cover .row_hd {
    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; }
.list_bd4, .box9, .nav_img, .wen_box { width: 980px; max-width: 980px; margin: 0 auto; }
.bd_panel { background: #e6f8fb; }
.nav_img { height: 86px; display: flex; align-items: center; gap: 28px; }
.shu_main { width: 180px; font-size: 34px; line-height: 1; font-family: Georgia, "Microsoft YaHei", serif; font-weight: 700; }
.shu_main a { color: #0871bd; text-shadow: 2px 3px 3px rgba(0, 90, 150, .28); }
.shu_main a:hover { text-decoration: none; color: #0871bd; }
.grid_meta7 { margin-left: auto; flex: 0 0 470px; display: flex; height: 38px; border: 1px solid #9bd5ee; background: #fff; }
.grid_area { flex: 1; height: 36px; padding: 0 12px; border: 0; font-size: 14px; outline: 0; }
.bd_hd { width: 78px; height: 36px; border: 0; background: #ddd; color: #222; cursor: pointer; }
.page_name3 { width: 980px; max-width: 980px; height: 42px; margin: 0 auto; background: #74c0df; display: block; overflow: hidden; }
.wen_box { display: flex; height: 42px; width: 980px; }
.page_name3 a { display: block; color: #fff; font-weight: 700; line-height: 42px; padding: 0 12px; white-space: nowrap; }
.page_name3 a:hover, .page_name3 a.card_block { background: #57acd2; color: #fff; text-decoration: none; }
.story7 { padding: 12px 0 20px; }

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

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

.cover_bar { display: grid; grid-template-columns: 1fr 300px; gap: 12px; margin-bottom: 12px; }
.side_namebox, .box, .cell_list { border: 3px solid #9bd5ee; background: #eefafa; }
.side_namebox h2, .box h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd5ee; font-size: 16px; color: #333; }
.vol li, .mod_wrap li, .wen li { display: grid; align-items: center; min-height: 30px; line-height: 30px; border-bottom: 1px solid #d1e3e8; overflow: hidden; }
.vol li { grid-template-columns: 88px minmax(120px,1.15fr) minmax(180px,1.45fr) 90px 50px; column-gap: 8px; padding: 0 10px; }
.mod_wrap li { grid-template-columns: 76px minmax(0, 1fr) 76px; column-gap: 0; padding: 0 10px; }
.mod_wrap li.tool_bd { grid-template-columns: 76px minmax(0, 1fr); }
.wen li { grid-template-columns: 90px minmax(220px,1fr) minmax(240px,1.2fr) 120px 78px; column-gap: 8px; padding: 0 12px; }
.vol a, .mod_wrap a, .wen a, .area9, .read, .card7, .vol_ft, .mod_wrap em { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.area9 { color: #555; }
.read, .card7, .vol_ft, .mod_wrap em { color: #777; font-style: normal; text-align: right; }
.cell_list { padding-bottom: 8px; }
.cell_list h2 { height: 42px; line-height: 42px; padding: 0 12px; background: #fff; border-bottom: 1px solid #ddd; color: #0871bd; font-size: 18px; }
.home_cell4 { display: grid; grid-template-columns: 160px minmax(160px, 1fr) 160px; gap: 12px; padding: 12px 10px 10px; background: #eefafa; }
.home_cell4 button, .home_cell4 select { width: 100%; height: 36px; border-radius: 2px; font: inherit; }
.home_cell4 button { border: 0; background: #4badd3; color: #fff; cursor: pointer; }
.home_cell4 button:disabled { opacity: .55; cursor: default; }
.home_cell4 select { border: 1px solid #b9d7e3; background: #fff; padding: 0 10px; }
.sec_hd6 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 5px; width: 100%; padding: 10px 6px; box-sizing: border-box; }
.sec_hd6 button, .sec_hd6 select { min-width: 0; padding-left: 3px; padding-right: 3px; font-size: 13px; }
.info_item > [hidden] { display: none !important; }
.foot { margin: 0; padding: 28px 20px; background: #fff; border: 1px solid #ddd; }
.foot h2 { margin: 0 0 8px; font-size: 22px; color: #555; }
.foot p, .story_block9 { color: #555; }

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

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

@media (max-width: 1023px) {
  .list_bd4, .box9, .nav_img, .page_name3, .wen_box { width: auto; max-width: none; }
  .cont_grid2 { display: block; }
  .box9 { padding: 0 10px; justify-content: center; }
  .bd_panel { padding: 10px; }
  .nav_img { height: auto; display: block; }
  .shu_main { width: auto; margin-bottom: 8px; font-size: 28px; }
  .grid_meta7 { width: 100%; max-width: none; margin: 0; flex-basis: auto; }
  .page_name3 { margin: 0 10px; height: 38px; overflow-x: auto; }
  .wen_box { display: flex; height: 38px; min-width: max-content; }
  .page_name3 a { line-height: 38px; padding: 0 12px; }
  .story7 { padding: 8px 10px 16px; }
  .img5 { display: block; padding: 8px; }
  .img5 .date_inner { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .img5 .cover7, .img5 .cover7 img { width: 86px; }
  .img5 .cover7 img { height: 116px; }
  .top_meta { display: block; }
  .side { min-height: 0; border-right: 0; }
  .cover_bar { display: flex; flex-direction: column; }
  .box { order: 1; }
  .side_namebox { order: 2; }
  .vol li { grid-template-columns: 1fr 1fr; gap: 0 10px; min-height: 28px; line-height: 28px; }
  .vol .area9, .vol .read, .vol .vol_ft { display: none; }
  .mod_wrap li { grid-template-columns: 1fr 72px; min-height: 28px; line-height: 28px; }
  .mod_wrap li span { display: none; }
  .wen li { grid-template-columns: 1fr 72px; min-height: 30px; line-height: 30px; }
  .wen .area9, .wen .shu { display: none; }
  .wen .read, .wen .card7 { text-align: right; }
  .cell_list h2 { height: 36px; line-height: 36px; font-size: 16px; }
  .home_cell4 { grid-template-columns: 1fr 1.25fr 1fr; gap: 8px; padding: 10px 8px; }
  .sec_hd6 { grid-template-columns: 1fr 1.25fr 1fr; }
  .cont_main4 { display: block; }
  .wen_main { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .text img { width: 86px; height: 116px; }
}

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

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

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

  .site_box .date_inner:last-child {
    border-bottom: 0;
  }

  .site_box .cover7,
  .site_box .cover7 img {
    width: 82px;
  }

  .site_box .cover7 img {
    height: 110px;
    object-fit: cover;
  }

  .site_box .foot_unit {
    min-width: 0;
  }

  .site_box .foot_unit 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;
  }

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

  .site_box .foot_unit 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;
  }

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

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

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

  .row5 .side_namebox h2,
  .row5 .box h2 {
    padding: 8px 10px;
    font-size: 14px;
    line-height: 20px;
  }

  .row5 .vol 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;
  }

  .row5 .vol .area9,
  .row5 .vol .wen_row5,
  .row5 .vol .shu {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
  }

  .row5 .vol .area9 {
    display: none;
  }

  .row5 .vol .read,
  .row5 .vol .vol_ft {
    display: none;
  }

  .row5 .mod_wrap 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;
  }

  .row5 .mod_wrap li.tool_bd {
    grid-template-columns: minmax(0, 1fr);
  }

  .row5 .mod_wrap li > span {
    display: none;
  }

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

/* desktop bqg scale restore */
@media (min-width: 1024px) {
  .list_bd4,
  .box9,
  .nav_img,
  .wen_box {
    width: 1024px;
    max-width: 1024px;
  }

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

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

  .img5 .cover7,
  .img5 .cover7 img {
    width: 120px;
  }

  .img5 .cover7 img {
    height: 160px;
  }

  .img5 .foot_unit h3,
  .top_meta .foot_unit h3 {
    font-size: 15px;
    line-height: 23px;
  }

  .img5 .foot_unit p,
  .top_meta .foot_unit p {
    font-size: 14px;
    line-height: 24px;
  }

  .side {
    padding: 10px 12px;
  }

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

  .side .cover7,
  .side .cover7 img {
    width: 92px;
  }

  .side .cover7 img {
    height: 124px;
  }

  .card8 li,
  .mod_wrap li,
  .vol li {
    font-size: 14px;
    min-height: 24px;
    line-height: 24px;
  }

  .side_namebox h2,
  .box h2,
  .side h2 {
    font-size: 16px;
  }
}

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

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

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

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

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

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

  .shuinfo .img5 .date_inner:nth-child(n+5) {
    display: none;
  }

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

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

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

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

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

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

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

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

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

  .shuinfo .img5 {
    display: block;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
  }

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

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

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

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

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

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

/* 2026-07-12: force desktop nav/header width to 1024px */
@media (min-width: 1024px) {
  .box9,
  .nav_img,
  .wen_box,
  .list_bd4 {
    width: 1024px !important;
    max-width: 1024px !important;
    box-sizing: border-box;
  }

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

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

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

.page_name3 a:hover,
.novel3 a:hover,
.wen_box 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) {
  .box9,
  .nav_img,
  .wen_box,
  .list_bd4,
  .page_name3,
  .novel3 {
    width: 1024px !important;
    max-width: 1024px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .page_name3,
  .novel3 {
    overflow: hidden !important;
  }
}

@media (max-width: 1023px) {
  .box9,
  .nav_img,
  .wen_box,
  .list_bd4,
  .page_name3,
  .novel3 {
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .list_bd4,
  .nav_img,
  .box9 {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

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

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

/* nav-hover-disabled: 导航条不保留 hover / focus / active 印记 */
.bd_panel nav a:hover,
.bd_panel nav a:focus,
.bd_panel nav a.card_block,
.bd_panel nav .card_block,
.nav_img nav a:hover,
.nav_img nav a:focus,
.nav_img nav a.card_block,
.nav_img nav .card_block,
.page_name3 a:hover,
.page_name3 a:focus,
.page_name3 a.card_block,
.page_name3 .card_block,
.novel3 a:hover,
.novel3 a:focus,
.novel3 a.card_block,
.novel3 .card_block {
    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) {
    .box9,
    .bd_panel .nav_img,
    .nav_img,
    .list_bd4,
    .story7,
    .meta_cell4,
    .foot_text8,
    .infobd,
    .page_name3,
    .novel3 {
        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;
    }

    .cont_grid2,
    .bd_panel,
    .story7,
    .page_grid,
    .box9,
    .bd_panel .nav_img,
    .nav_img,
    .list_bd4,
    .infobd,
    .meta_cell4,
    .foot_text8,
    .maincover,
    .page_name3,
    .novel3 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .box9,
    .bd_panel .nav_img,
    .nav_img,
    .list_bd4,
    .meta_cell4,
    .foot_text8,
    .story7 {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

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

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

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

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

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

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

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

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

    .new_sec,
    .desc_sec,
    .unit_main,
    .num_ft,
    .time_panel8,
    .cell_list .bd4,
    .wen,
    .bd4,
    .tag_sec,
    .story_box,
    .sec_bd6,
    .read_area {
        display: block !important;
        grid-template-columns: none !important;
        columns: auto !important;
        width: 100% !important;
    }

    .cover_list,
    .list_inner3,
    .bd4 .cate_grid7,
    .wen .cate_grid7,
    .tag_sec .cate_grid7,
    .story_box .cate_grid7,
    .sec_bd6 .cate_grid7,
    .img_item3,
    .menu_box4 {
        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;
    }

    .cover_list img,
    .list_inner3 img,
    .text img,
    .bd4 .cate_grid7 img,
    .wen .cate_grid7 img,
    .tag_sec .cate_grid7 img,
    .story_box .cate_grid7 img,
    .sec_bd6 .cate_grid7 img,
    .img_item3 img,
    .menu_box4 img {
        width: 88px !important;
        height: 118px !important;
        object-fit: cover !important;
    }

    .list_link,
    .num_link,
    .foot_unit,
    .area,
    .menu_box4 dl,
    .menu_box4 .novel_hd {
        min-width: 0 !important;
    }

    .site_con9,
    .home,
    .block_hd,
    .cover {
        display: block !important;
        grid-template-columns: none !important;
        width: 100% !important;
    }

    .site_con9 > *,
    .home > *,
    .block_hd > *,
    .cover > * {
        width: 100% !important;
        margin-bottom: 10px !important;
        box-sizing: border-box !important;
    }
}

/* 导航条不保留 hover/focus/active 视觉印记 */
.page_name3 a:hover,
.page_name3 a:focus,
.page_name3 a:active,
.page_name3 a.card_block,
.page_name3 .card_block,
.novel3 a:hover,
.novel3 a:focus,
.novel3 a:active,
.novel3 a.card_block,
.novel3 .card_block,
.bd_panel nav a:hover,
.bd_panel nav a:focus,
.bd_panel nav a:active,
.bd_panel nav a.card_block,
.nav_img nav a:hover,
.nav_img nav a:focus,
.nav_img nav a:active,
.nav_img nav a.card_block {
    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) {
  .shuinfo .foot_unit p,
  .site_box .foot_unit p {
    height: 130px;
    line-height: 26px;
  }
}

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

  .nav_img {
    height: 68px;
  }

  .page_name3,
  .wen_box {
    height: 38px;
  }

  .page_name3 a,
  .wen_box a {
    line-height: 38px;
  }

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

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

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

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

  .bd_panel .nav_img,
  .nav_img {
    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;
  }

  .bd_panel .shu_main,
  .bd_panel 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;
  }

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

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

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

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

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

  .bd_panel .grid_meta7,
  .nav_img .grid_meta7 {
    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;
  }

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

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

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

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

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

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

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

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

  .panel_link .vol7 {
    display: contents !important;
  }

  .panel_link .vol7 h1 {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    height: auto !important;
    line-height: 27px !important;
    font-size: 18px !important;
    white-space: normal !important;
  }

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

  .panel_link .foot_cover p {
    height: 25px !important;
    line-height: 25px !important;
  }

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

  .panel_link .site_wrap4 {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    width: 100% !important;
    max-height: 112px !important;
    padding-top: 2px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .panel_link .site_wrap4.link_col3 {
    max-height: none !important;
  }

  .panel_link .cate_info2 {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
  }

  .hd_ft .side_name {
    grid-template-columns: 1fr !important;
  }

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

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

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

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

  .story7 .list_bd4 > .update {
    margin: 0 0 14px !important;
    padding: 14px 10px 16px !important;
    background: #fff !important;
  }

  .story7 .list_bd4 > .update .grid4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 14px !important;
  }

  .story7 .list_bd4 > .update .grid4 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) {
  .row5 .vol li {
    height: 35px;
    min-height: 35px;
    line-height: 35px;
  }

  .row5 .mod_wrap li,
  .row5 .mod_wrap li.tool_bd {
    height: 30px;
    min-height: 30px;
    line-height: 30px;
  }

  /* 数据不足49条时，左右条数相同，统一使用35px行高。 */
  .row5.head_inner .mod_wrap li,
  .row5.head_inner .mod_wrap li.tool_bd {
    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. */
.row5 { align-items: stretch; }
.row5 .side_namebox,
.row5 .box { min-width: 0; }
.row5 .box { display: flex; flex-direction: column; }
.row5 .box .mod_wrap { flex: 0 0 auto; }
.row5 .shu_unit6 {
  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;
}
.row5 .shu_unit6 > a,
.row5 .shu_unit6 > span,
.row5 .shu_unit6 > select {
  width: 100%;
  height: 36px;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
.row5 .shu_unit6 > a,
.row5 .shu_unit6 > span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.row5 .shu_unit6 > select {
  border: 1px solid #b9d7e3;
  background: #fff;
  padding: 0 10px;
}
.row5 .title {
  margin: auto 0 0;
  padding: 12px 10px 10px;
  border-top: 1px solid #cbdde3;
  box-sizing: border-box;
}
.row5 .title 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) {
  .row5 .shu_unit6 {
    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) {
  .story7.side_col,
  .story7.sort_info3,
  .story7.author_panel {
    width: 100% !important;
    max-width: none !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    box-sizing: border-box !important;
  }

  .story7.side_col > .list_bd4,
  .story7.sort_info3 > .list_bd4,
  .story7.author_panel > .list_bd4 {
    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;
  }

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

  .story7.tool > .list_bd4 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .story7.tool .panel {
    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;
  }

  .story7.tool .wen3 {
    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;
  }

  .story7.tool .top_block,
  .story7.tool .bar_item {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}
