* { 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%; }
.top_main, .cat_line8, .bd4, .colbox, .img_wrap2 { max-width: 980px; margin: 0 auto; }

.home { height: 30px; background: #f7f7f7; border-bottom: 1px solid #ddd; color: #777; font-size: 12px; }
.cat_line8 { display: flex; gap: 24px; align-items: center; height: 30px; }
.panel_block { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.panel_block:hover { color: #0871bd; text-decoration: underline; }
.card_con2 { background: #2f8ed8; }
.bd4 { height: 76px; display: flex; align-items: center; gap: 28px; }
.main_mod2 { width: 170px; font-size: 34px; line-height: 1; font-weight: 700; }
.main_mod2 a { color: #fff; letter-spacing: 0; }
.main_mod2 a:hover { color: inherit; text-decoration: none; }
.box_col3 { flex: 1; display: flex; max-width: 470px; }
.text_bar { flex: 1; height: 38px; padding: 0 12px; border: 0; outline: 0; font-size: 14px; }
.link_info { width: 78px; height: 38px; border: 0; background: #f5a623; color: #fff; font-size: 15px; cursor: pointer; }
.new5 { margin-left: auto; display: flex; gap: 10px; }
.new5 a { color: #fff; padding: 5px 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 2px; }

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

.unit_mod9 { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 12px; }
.wen_cell, .bd_ft4, .wen, .desclist, .title, .unit_name, .update_wrap3 { background: #fff; border: 1px solid #ddd; }
.wen_cell { display: grid; grid-template-columns: 1fr 1fr; padding: 12px; gap: 12px; }
.update_cover { display: flex; min-height: 132px; overflow: hidden; }
.update_cover .home_main { width: 88px; flex: 0 0 88px; margin-right: 12px; }
.update_cover .home_main img { width: 88px; height: 120px; object-fit: cover; border: 1px solid #ddd; }
.update_cover dt { height: 28px; line-height: 28px; overflow: hidden; font-weight: 700; }
.update_cover dt span { float: right; max-width: 72px; color: #888; font-size: 12px; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.update_cover dd { color: #555; height: 88px; overflow: hidden; font-size: 13px; }
.update_cover dd a { color: #555; }
.box_bd, .wen h2, .title h2, .unit_name h2 { height: 38px; line-height: 38px; padding: 0 12px; border-bottom: 1px solid #ddd; background: #f9f9f9; color: #287dc2; font-size: 16px; }
.new_meta, .main_name, .story_bd9, .cover_unit2, .link { list-style: none; }
.new_meta li, .story_bd9 li, .link li { display: flex; height: 35px; line-height: 35px; padding: 0 12px; border-bottom: 1px dashed #e5e5e5; overflow: hidden; }
.cha_name8, .col_item { width: 86px; color: #888; flex: 0 0 86px; }
.panel, .infotext { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sec_cover6 { width: 220px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.top_sec, .head4 { width: 88px; color: #777; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mod { width: 70px; color: #888; text-align: right; }

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

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

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

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

@media (max-width: 768px) {
    .top_main, .cat_line8, .bd4, .colbox, .img_wrap2 { width: 100%; max-width: none; }
    .home { display: none; }
    .card_con2 { padding: 10px; }
    .bd4 { height: auto; display: block; }
    .main_mod2 { width: auto; margin-bottom: 10px; font-size: 28px; text-align: center; }
    .box_col3 { max-width: none; }
    .new5 { display: none; }
    .colbox { display: none; }
    .img_wrap2 { display: flex; overflow-x: auto; background: #287dc2; }
    .img_wrap2 a { color: #fff; line-height: 38px; padding: 0 14px; white-space: nowrap; }
    .cat_row { padding: 8px; }
    .unit_mod9, .panel_gridft { display: block; }
    .wen_cell { grid-template-columns: 1fr; margin-bottom: 10px; }
    .bd_ft4, .wen { margin-bottom: 10px; }
    .cha_name8, .sec_cover6, .top_sec, .col_item, .head4, .mod { display: none; }
    .main_name { columns: 1; }
    .desclist { display: block; text-align: center; }
    .desclist .hd3 { margin: 0 auto 12px; }
    .bar_link6 h1 { height: auto; line-height: 1.4; font-size: 24px; }
    .book_con { justify-content: center; }
    .cover_unit2 { grid-template-columns: 1fr; }
    .title_line { padding: 0 12px 18px; }
    .col_grid h1 { font-size: 22px; }
    .bd_col5 { font-size: 18px; line-height: 1.95; padding: 14px 0; }
    .book_cell2 { display: block; font-size: 18px; margin-bottom: 12px; padding-bottom: 8px; line-height: 1.45; }
    .name_cell { gap: 8px; }
    .name_cell a, .name_cell span { min-width: 0; flex: 1; }
}

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

/* Screenshot-style desktop home layout */
body { background: #e6f8fb; color: #555; font-size: 14px; }
a { color: #4d6da8; }
.top_main, .cat_line8, .bd4, .colbox, .img_wrap2 { max-width: 1160px; }
.home { background: #d9eef3; border-bottom: 1px solid #b8dce7; }
.cat_line8 { color: #6d8f9e; }
.card_con2 { background: #e6f8fb; }
.bd4 { height: 82px; gap: 24px; }
.main_mod2 { width: 150px; font-size: 36px; font-family: Georgia, "Microsoft YaHei", serif; text-shadow: 2px 2px 0 #c3e3f1; }
.main_mod2 a { color: #0871bd; }
.box_col3 { max-width: 480px; margin-left: auto; }
.text_bar { height: 36px; border: 1px solid #9bc7df; background: #fff; }
.link_info { height: 36px; background: #ddd; color: #222; }
.new5 { display: none; }
.colbox { height: 44px; background: #79c2e3; padding: 0 10px; }
.colbox a { line-height: 44px; padding: 0 11px; border-right: 0; color: #fff; font-weight: 700; }
.colbox a:hover { background: #5eb1d8; }
.cat_row { padding: 12px 0 24px; }

.catft { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 22px; padding: 14px; margin-bottom: 22px; border: 3px solid #b9dff1; background: #fffdf6; }
.num { display: grid; grid-template-columns: 126px 1fr; gap: 12px; min-height: 176px; }
.pic8 img { width: 126px; height: 170px; object-fit: cover; border: 1px solid #abc6d4; padding: 3px; background: #fff; }
.bar_inner2 h2 { height: 28px; line-height: 28px; font-size: 15px; border-bottom: 1px dotted #c7d8e3; overflow: hidden; }
.bar_inner2 h2 a { color: #5b6fad; font-weight: 700; }
.bar_inner2 h2 span { float: right; color: #aaa; font-weight: 400; }
.bar_inner2 p { padding-top: 8px; color: #555; line-height: 1.85; height: 132px; overflow: hidden; text-indent: 2em; }
.unit_row7 { display: grid; grid-template-columns: 1fr 335px; gap: 14px; align-items: start; }
.wrap7, .row_area3 { border: 3px solid #86c9e8; background: #eef6f6; }
.wrap7 h2, .row_area3 h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd3e9; color: #456; font-size: 16px; }
.hot_mod2, .wrap_panel { list-style: none; padding: 8px 12px; }
.hot_mod2 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; }
.hot_mod2 .sec_bd { color: #555; }
.hot_mod2 .img, .hot_mod2 .bar, .hot_mod2 .meta_mod4 { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hot_mod2 .meta_mod4, .hot_mod2 .book_inner { color: #aaa; text-align: right; }
.wrap_panel li { display: grid; grid-template-columns: 78px 1fr 58px; gap: 6px; height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; overflow: hidden; }
.wrap_panel span { color: #555; }
.wrap_panel a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.wrap_panel em { color: #666; font-style: normal; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.site_row { display: grid; grid-template-columns: 190px 1fr 190px; gap: 18px; padding: 14px 12px; }
.site_row a, .site_row select { height: 40px; border: 0; background: #4eadd0; color: #fff; text-align: center; border-radius: 3px; font-weight: 700; }
.site_row a { line-height: 40px; }
.site_row select { background: #fff; color: #222; border: 1px solid #d8e2e4; padding: 0 12px; }
.desc_inner { background: #e6f8fb; border-top: 2px solid #72c4e8; color: #555; }

/* Desktop vs mobile are intentionally different. */
@media (max-width: 768px) {
    body { background: #e6f8fb; font-size: 14px; }
    .top_main, .cat_line8, .bd4, .colbox, .img_wrap2 { width: 100%; max-width: none; }
    .home { display: none; }
    .card_con2 { padding: 10px; background: #dff5fb; }
    .bd4 { display: block; height: auto; }
    .main_mod2 { width: auto; font-size: 30px; text-align: left; margin: 0 0 10px; padding-right: 58px; }
    .box_col3 { max-width: none; display: flex; margin-left: 0; }
    .text_bar { height: 38px; font-size: 14px; }
    .link_info { width: 72px; height: 38px; }
    .colbox { display: none; }
    .img_wrap2 { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); overflow: hidden; height: 40px; background: #79c2e3; padding: 0; }
    .img_wrap2 a { min-width: 0; color: #fff; line-height: 40px; padding: 0 2px; text-align: center; font-weight: 700; white-space: nowrap; }
    .bd4 .img_wrap2 { margin-bottom: 8px; }
    .cat_row { padding: 8px; }
    .catft { display: block; padding: 8px; margin-bottom: 10px; border-width: 2px; }
    .num { display: grid; grid-template-columns: 82px 1fr; gap: 10px; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #d8e2e4; }
    .num:last-child { border-bottom: 0; }
    .pic8 img { width: 82px; height: 110px; padding: 2px; }
    .bar_inner2 h2 { height: 24px; line-height: 24px; font-size: 15px; }
    .bar_inner2 h2 span { display: none; }
    .bar_inner2 p { height: 78px; line-height: 1.7; padding-top: 5px; text-indent: 0; }
    .unit_row7 { display: block; }
    .rank { display: flex; flex-direction: column; }
    .rank .row_area3 { order: 1; }
    .rank .wrap7 { order: 2; }
    .wrap7, .row_area3 { border-width: 2px; margin-bottom: 10px; }
    .wrap7 h2, .row_area3 h2 { height: 34px; line-height: 34px; font-size: 15px; }
    .hot_mod2, .wrap_panel { padding: 4px 8px; }
    .hot_mod2 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; }
    .hot_mod2 .meta_mod4, .hot_mod2 .book_inner { display: none; }
    .hot_mod2 .sec_bd { display: block; width: auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #555; }
    .hot_mod2 .img { font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .hot_mod2 .bar { color: #777; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .wrap_panel li { grid-template-columns: minmax(0, 1fr) 88px; height: 34px; line-height: 34px; }
    .wrap_panel span { display: none; }
    .site_row { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .site_row select { grid-column: 1 / -1; order: -1; }
    .desc_inner { padding: 14px 8px; line-height: 1.7; }
}

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

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

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

.wen_cover8 { position: fixed; right: 18px; bottom: 26px; z-index: 50; display: grid; gap: 8px; }
.wen_cover8 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); }
.wen_cover8 button:hover { background: #4eadd0; }
body.area_line2 { background: #1e1e1e; color: #aaa; }
body.area_line2 a { color: #9eb8e8; }
body.area_line2 .home,
body.area_line2 .card_con2,
body.area_line2 .desc_inner { background: #252525; border-color: #3a3a3a; color: #888; }
body.area_line2 .colbox,
body.area_line2 .img_wrap2 { background: #333; }
body.area_line2 .colbox a:hover,
body.area_line2 .img_wrap2 a:hover { background: #444; }
body.area_line2 .catft,
body.area_line2 .top_bar7,
body.area_line2 .cate_main6,
body.area_line2 .bar_img6,
body.area_line2 .read5,
body.area_line2 .imgcell,
body.area_line2 .desclist,
body.area_line2 .title,
body.area_line2 .unit_name,
body.area_line2 .update_wrap3,
body.area_line2 .wrap7,
body.area_line2 .row_area3,
body.area_line2 .block_cell4,
body.area_line2 .cover_info { background: #2a2a2a; border-color: #444; }
body.area_line2 .title_line { background: #202020; border-color: #444; }
body.area_line2 .bd_col5 { color: #b8b8b8; }
body.area_line2 .box_bd,
body.area_line2 .wen h2,
body.area_line2 .title h2,
body.area_line2 .unit_name h2,
body.area_line2 .wrap7 h2,
body.area_line2 .row_area3 h2,
body.area_line2 .block_cell4 h2,
body.area_line2 .read5 h1,
body.area_line2 .update_wrap3 h1,
body.area_line2 .foot_bar h2,
body.area_line2 .imgcell h1 { background: #333; color: #ccc; border-color: #444; }
body.area_line2 .bar_inner2 p,
body.area_line2 .col p,
body.area_line2 .tag_text3 p,
body.area_line2 .read_con p,
body.area_line2 .title p,
body.area_line2 .bar_link6 p,
body.area_line2 .area9 .desc_list9 { color: #aaa; }
body.area_line2 .head_info8 th { background: #333; color: #ccc; }
body.area_line2 .head_info8 th,
body.area_line2 .head_info8 td,
body.area_line2 .hot_mod2 li,
body.area_line2 .wrap_panel li,
body.area_line2 .block_cell4 li,
body.area_line2 .wrap_mod li { border-color: #444; }
body.area_line2 .text_bar,
body.area_line2 .site_cell input,
body.area_line2 .site_row select { background: #222; color: #ddd; border-color: #555; }
@media (max-width: 768px) {
    .wen_cover8 { right: 10px; bottom: 14px; }
    .wen_cover8 button { width: 48px; height: 32px; font-size: 13px; }
}

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

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

.cat { border: 3px solid #86c9e8; background: #eef6f6; margin-bottom: 22px; }
.cat .block_inner9 { height: 34px; line-height: 34px; padding: 0 12px; color: #456; border-bottom: 1px solid #b9dff1; background: #dcecef; }
.block { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 14px 28px 18px; }
.ft_info {
    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;
}
.ft_info img {
    display: block;
    width: 100%;
    height: 176px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}
.bd_grid h1 { font-size: 30px; line-height: 44px; color: #333; }
.mod_sec9 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-bottom: 1px dashed #86aebd; padding-bottom: 6px; margin-bottom: 8px; }
.mod_sec9 p { height: 28px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #444; }
.mod_sec9 .story5 { color: #b54800; font-weight: 700; grid-column: 1 / -1; }
.page_inner { grid-column: 2; line-height: 1.8; color: #444; }
.col_row { display: none; }
.name_hd4 { display: none; }
.side4 { border: 3px solid #4eadd0; background: #eef6f6; margin-bottom: 30px; }
.side4 h2 { height: 38px; line-height: 38px; text-align: center; background: #9fb6bd; color: #333; font-size: 16px; border-bottom: 1px solid #9fc9db; }
.side4 .cover_unit2 { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 12px; list-style: none; }
.side4 .cover_unit2 li { height: 40px; line-height: 40px; border-bottom: 1px dashed #9fb6bd; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-right: 16px; }
.side4 .cover_unit2.coverbd li { font-weight: 700; }
.name { display: grid; grid-template-columns: 250px 1fr 250px; gap: 18px; padding: 16px 12px; }
.name a, .name span, .name button, .name select { height: 40px; line-height: 40px; border: 0; text-align: center; border-radius: 3px; }
.name a, .name span, .name button { background: #1e6f8a; color: #fff; cursor: pointer; font: inherit; }
.name button:disabled { cursor: default; opacity: .65; }
.name select { background: #fff; border: 1px solid #ddd; padding: 0 12px; text-align: left; }
.sec2 { background: #eee; padding: 18px 14px; margin-bottom: 20px; }
.sec2 h2 { text-align: center; color: #777; font-size: 16px; margin-bottom: 14px; font-weight: 400; }
.grid_mod { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 45px; }
.grid_mod a { display: block; height: 38px; line-height: 38px; text-align: center; background: #e3e3e3; color: #333; border-radius: 3px; }
@media (max-width: 768px) {
    .cat, .side4 { border-width: 2px; margin-bottom: 12px; }
    .cat .block_inner9 { height: auto; line-height: 1.5; padding: 8px; }
    .block { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 10px; align-items: start; }
    .ft_info { width: 96px; min-height: 126px; padding: 4px; background: rgba(255,255,255,.45); }
    .ft_info img { width: 100%; height: 118px; object-fit: contain; object-position: center; }
    .bd_grid { min-width: 0; }
    .bd_grid h1 { font-size: 18px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .mod_sec9 { display: block; border-bottom: 0; padding-bottom: 0; margin-bottom: 6px; }
    .mod_sec9 p { height: 26px; line-height: 26px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .col_row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; grid-column: 1 / -1; margin: 2px 0 8px; }
    .sec_bd2 { 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; }
    .sec_bd2:hover { color: #fff; text-decoration: none; opacity: .92; }
    .sec_bd2.unit { background: #f0305a; }
    .sec_bd2.block_cover { background: #f1a51e; }
    .sec_bd2.row { background: #5b8cc3; }
    .page_inner { grid-column: 1 / -1; max-height: 118px; overflow: hidden; line-height: 1.85; color: #444; }
    .page_inner.hd_list { max-height: none; }
    .name_hd4 { 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; }
    .side4 .cover_unit2 { grid-template-columns: 1fr; padding: 0 8px; }
    .side4 .cover_unit2 li { height: 36px; line-height: 36px; padding-right: 0; }
    .name { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .name select { grid-column: 1 / -1; order: -1; }
    .grid_mod { grid-template-columns: 1fr; gap: 8px; }
}

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

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

@media (max-width: 768px) {
    html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
    .top_main, .cat_row, .card_con2, .bd4, .title_line, .cat, .side4 { max-width: 100%; overflow-x: hidden; }
    .box_col3 { width: 100%; max-width: 100%; }
    .text_bar { min-width: 0; }
    .link_info { flex: 0 0 68px; width: 68px; }
    .img_wrap2 { max-width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
    .title_line { padding-left: 10px; padding-right: 10px; }
    .block_inner9 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .col_grid h1 { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
    .col_grid p { white-space: normal; overflow-wrap: anywhere; }
    .bd_col5 { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .bd_col5 p { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .wen_cover8 { right: 8px; }
}

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

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

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

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

body.area_line2 .main_mod2 a { color: #b8d7ef; text-shadow: 1px 1px 0 #1a3c55; }
body.area_line2 .title_line { background: #242424; }
body.area_line2 .col_grid h1 { color: #ddd; }
body.area_line2 .col_grid p,
body.area_line2 .block_inner9 { color: #aaa; }
body.area_line2 .bd_col5 { color: #d2d2d2; }
body.area_line2 .bd_col5 p { color: #d2d2d2; }
body.area_line2.sec_text .title_line,
body.area_line2.block_col7 .title_line,
body.area_line2.desc_area .title_line { background: #242424; }
@media (max-width: 768px) {
    .ft { grid-template-columns: auto 28px 28px 28px 1fr 42px; }
    body.area_line2 .ft { background: #2b2b2b; border-color: #555; }
}

:root { --reader-bg-custom: #E9FAFF; }
.title_line { background: var(--reader-bg-custom, #f6f1e7); }
body:not(.area_line2) .title_line { background: var(--reader-bg-custom, #E9FAFF); }
body:not(.area_line2) .bd_col5 { color: #333; }

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

@media (max-width: 768px) {
    .title_line > .block_inner9,
    .title_line > .col_grid { display: none; }
    .title_line { padding-top: 0; }
}

/* 关灯只作用于章节正文，头部、搜索、工具栏和翻页保持原样。 */
body.area_line2 { background: #e6f8fb; color: #555; }
body.area_line2 a { color: #4d6da8; }
body.area_line2 .home { background: #d9eef3; border-color: #b8dce7; color: #6d8f9e; }
body.area_line2 .card_con2,
body.area_line2 .desc_inner { background: #e6f8fb; border-color: #72c4e8; color: #555; }
body.area_line2 .colbox,
body.area_line2 .img_wrap2 { background: #79c2e3; }
body.area_line2 .colbox a,
body.area_line2 .img_wrap2 a { color: #fff; }
body.area_line2 .text_bar,
body.area_line2 .site_cell input,
body.area_line2 .site_row select { background: #fff; color: #333; border-color: #9bc7df; }
body.area_line2 .title_line,
body.area_line2.sec_text .title_line,
body.area_line2.block_col7 .title_line,
body.area_line2.desc_area .title_line { background: #2f3437; border-color: #444; }
body.area_line2 .col_grid h1 { color: #ddd; }
body.area_line2 .col_grid p,
body.area_line2 .block_inner9 { color: #aaa; }
body.area_line2 .name_cell a,
body.area_line2 .name_cell span { background: #363b3f; border-color: #555; color: #c8c8c8; }
body.area_line2 .ft { background: #2f3437; border-color: #555; }
body.area_line2 .ft span,
body.area_line2 .ft label { color: #c8c8c8; }
body.area_line2 .ft select,
body.area_line2 .ft button { background: #363b3f; border-color: #6b747b; color: #c8d7e8; }
body.area_line2 .bd_col5 { background: transparent; color: #aaa; }
body.area_line2 .book_cell2 { border-color: #555; color: #bbb; }
body.area_line2 .bd_col5 p { color: #aaa; }
body.area_line2 .main_mod2 a { color: #0871bd; text-shadow: 2px 2px 0 #c3e3f1; }
body.area_line2 .site_col { color: #0871bd; border-color: #79c2e3; background: rgba(255,255,255,.55); }
body.area_line2 .site_col:hover { color: #0871bd; background: rgba(255,255,255,.8); }
body.area_line2 .booklink { background: #eee; }
body.area_line2 .booklink h2 { color: #777; }
body.area_line2 .page_line a { background: #e3e3e3; color: #333; }
.date_meta7 { text-align: center; padding: 54px 20px 62px; border: 3px solid #86c9e8; background: #fffdf6; }
.date_meta7 h1 { margin-bottom: 12px; color: #287dc2; font-size: 30px; font-weight: 700; }
.date_meta7 p { margin: 8px 0; color: #555; }
.row_list4 { display: inline-block; min-width: 110px; height: 34px; margin-top: 12px; line-height: 34px; background: #4eadd0; color: #fff; border-radius: 3px; }
.row_list4:hover { color: #fff; text-decoration: none; background: #287dc2; }
@media (max-width: 768px) {
    body.area_line2 .card_con2 { background: #dff5fb; }
    .date_meta7 { padding: 42px 12px 48px; border-width: 2px; }
    .date_meta7 h1 { font-size: 24px; }
}

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

/* Home update/new panels alignment fix */
.rank .wrap7,
.rank .row_area3 { align-self: start; }
.rank .hot_mod2,
.rank .wrap_panel { padding: 8px 10px; font-size: 13px; }
.rank .hot_mod2 li,
.rank .wrap_panel li { height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; }
.rank .hot_mod2 li { grid-template-columns: 92px 188px minmax(0, 1fr) 78px 42px; gap: 7px; }
.rank .wrap_panel li { grid-template-columns: 82px minmax(0, 1fr) 62px; gap: 7px; }
.rank .hot_mod2 .sec_bd,
.rank .hot_mod2 .img,
.rank .hot_mod2 .bar,
.rank .hot_mod2 .meta_mod4,
.rank .hot_mod2 .book_inner,
.rank .wrap_panel span,
.rank .wrap_panel a,
.rank .wrap_panel em { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 768px) {
    .rank .hot_mod2,
    .rank .wrap_panel { padding: 4px 8px; font-size: 14px; }
    .rank .hot_mod2 li,
    .rank .wrap_panel li { height: 34px; line-height: 34px; }
    .rank .hot_mod2 li { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
    .rank .wrap_panel li { grid-template-columns: minmax(0, 1fr) 88px; gap: 6px; }
}

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

/* static rank page, bqg style */
.bar_img6.box3 {
  display: block;
  border: 2px solid #8ed1ef;
  background: #fffdf6;
  padding: 12px;
}
.box3 .hot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  margin: 0 0 10px;
  min-height: 28px;
}
.box3 .hot h2 {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  color: #444;
  font-weight: 700;
}
.box3 .hot strong {
  grid-column: 2 / 3;
  text-align: center;
  font-size: 18px;
  line-height: 28px;
  color: #444;
}
.box3 .desc_grid4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 12px;
}
.box3 .head_cover4 {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  min-height: 156px;
  overflow: hidden;
}
.box3 .rank_panel4 img {
  width: 110px;
  height: 148px;
  object-fit: cover;
  border: 1px solid #b7d2dd;
  background: #fff;
}
.box3 .wrap6 {
  min-width: 0;
}
.box3 .head_cover4 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;
}
.box3 .head_cover4 h3 a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.box3 .head_cover4 h3 span,
.box3 .head_cover4 h3 em {
  color: #999;
  font-weight: 400;
  font-style: normal;
  white-space: nowrap;
}
.box3 .wen_info {
  margin: 4px 0;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
}
.box3 .wen_info a {
  display: inline;
}
.box3 .img_bd {
  margin: 6px 0 0;
  color: #333;
  font-size: 13px;
  line-height: 23px;
  max-height: 92px;
  overflow: hidden;
}
@media (max-width: 720px) {
  .bar_img6.box3 {
    padding: 8px;
  }
  .box3 .hot {
    display: flex;
    justify-content: space-between;
  }
  .box3 .hot h2 {
    font-size: 20px;
  }
  .box3 .hot strong {
    font-size: 16px;
  }
  .box3 .desc_grid4 {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .box3 .head_cover4 {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 116px;
  }
  .box3 .rank_panel4 img {
    width: 86px;
    height: 116px;
  }
  .box3 .img_bd {
    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; }
.top_main, .cat_line8, .bd4, .modcover { width: 980px; max-width: 980px; margin: 0 auto; }
.card_con2 { background: #e6f8fb; }
.bd4 { height: 86px; display: flex; align-items: center; gap: 28px; }
.main_mod2 { width: 180px; font-size: 34px; line-height: 1; font-family: Georgia, "Microsoft YaHei", serif; font-weight: 700; }
.main_mod2 a { color: #0871bd; text-shadow: 2px 3px 3px rgba(0, 90, 150, .28); }
.main_mod2 a:hover { text-decoration: none; color: #0871bd; }
.box_col3 { margin-left: auto; flex: 0 0 470px; display: flex; height: 38px; border: 1px solid #9bd5ee; background: #fff; }
.text_bar { flex: 1; height: 36px; padding: 0 12px; border: 0; font-size: 14px; outline: 0; }
.link_info { width: 78px; height: 36px; border: 0; background: #ddd; color: #222; cursor: pointer; }
.colbox { width: 980px; max-width: 980px; height: 42px; margin: 0 auto; background: #74c0df; display: block; overflow: hidden; }
.modcover { display: flex; height: 42px; width: 980px; }
.colbox a { display: block; color: #fff; font-weight: 700; line-height: 42px; padding: 0 12px; white-space: nowrap; }
.colbox a:hover, .colbox a.num_item3 { background: #57acd2; color: #fff; text-decoration: none; }
.cat_row { padding: 12px 0 20px; }

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

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

.bar_sec7 { display: grid; grid-template-columns: 1fr 300px; gap: 12px; margin-bottom: 12px; }
.tool, .sort_bar, .page_item { border: 3px solid #9bd5ee; background: #eefafa; }
.tool h2, .sort_bar h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd5ee; font-size: 16px; color: #333; }
.story_bd9 li, .bar_cover5 li, .link li { display: grid; align-items: center; min-height: 30px; line-height: 30px; border-bottom: 1px solid #d1e3e8; overflow: hidden; }
.story_bd9 li { grid-template-columns: 88px minmax(120px,1.15fr) minmax(180px,1.45fr) 90px 50px; column-gap: 8px; padding: 0 10px; }
.bar_cover5 li { grid-template-columns: 76px minmax(0, 1fr) 76px; column-gap: 0; padding: 0 10px; }
.bar_cover5 li.cate_bd3 { grid-template-columns: 76px minmax(0, 1fr); }
.link li { grid-template-columns: 90px minmax(220px,1fr) minmax(240px,1.2fr) 120px 78px; column-gap: 8px; padding: 0 12px; }
.story_bd9 a, .bar_cover5 a, .link a, .cat_main, .hot_wrap, .metagrid, .foot_item, .bar_cover5 em { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cat_main { color: #555; }
.hot_wrap, .metagrid, .foot_item, .bar_cover5 em { color: #777; font-style: normal; text-align: right; }
.page_item { padding-bottom: 8px; }
.page_item h2 { height: 42px; line-height: 42px; padding: 0 12px; background: #fff; border-bottom: 1px solid #ddd; color: #0871bd; font-size: 18px; }
.text_list { display: grid; grid-template-columns: 160px minmax(160px, 1fr) 160px; gap: 12px; padding: 12px 10px 10px; background: #eefafa; }
.text_list button, .text_list select { width: 100%; height: 36px; border-radius: 2px; font: inherit; }
.text_list button { border: 0; background: #4badd3; color: #fff; cursor: pointer; }
.text_list button:disabled { opacity: .55; cursor: default; }
.text_list select { border: 1px solid #b9d7e3; background: #fff; padding: 0 10px; }
.panel_con2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 5px; width: 100%; padding: 10px 6px; box-sizing: border-box; }
.panel_con2 button, .panel_con2 select { min-width: 0; padding-left: 3px; padding-right: 3px; font-size: 13px; }
.cont5 > [hidden] { display: none !important; }
.card { margin: 0; padding: 28px 20px; background: #fff; border: 1px solid #ddd; }
.card h2 { margin: 0 0 8px; font-size: 22px; color: #555; }
.card p, .page_main { color: #555; }

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

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

@media (max-width: 1023px) {
  .top_main, .cat_line8, .bd4, .colbox, .modcover { width: auto; max-width: none; }
  .home { display: block; }
  .cat_line8 { padding: 0 10px; justify-content: center; }
  .card_con2 { padding: 10px; }
  .bd4 { height: auto; display: block; }
  .main_mod2 { width: auto; margin-bottom: 8px; font-size: 28px; }
  .box_col3 { width: 100%; max-width: none; margin: 0; flex-basis: auto; }
  .colbox { margin: 0 10px; height: 38px; overflow-x: auto; }
  .modcover { display: flex; height: 38px; min-width: max-content; }
  .colbox a { line-height: 38px; padding: 0 12px; }
  .cat_row { padding: 8px 10px 16px; }
  .block_col { display: block; padding: 8px; }
  .block_col .meta_unit3 { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .block_col .hd3, .block_col .hd3 img { width: 86px; }
  .block_col .hd3 img { height: 116px; }
  .cate_unit { display: block; }
  .bd_info7 { min-height: 0; border-right: 0; }
  .bar_sec7 { display: flex; flex-direction: column; }
  .sort_bar { order: 1; }
  .tool { order: 2; }
  .story_bd9 li { grid-template-columns: 1fr 1fr; gap: 0 10px; min-height: 28px; line-height: 28px; }
  .story_bd9 .cat_main, .story_bd9 .hot_wrap, .story_bd9 .foot_item { display: none; }
  .bar_cover5 li { grid-template-columns: 1fr 72px; min-height: 28px; line-height: 28px; }
  .bar_cover5 li span { display: none; }
  .link li { grid-template-columns: 1fr 72px; min-height: 30px; line-height: 30px; }
  .link .cat_main, .link .read_mod2 { display: none; }
  .link .hot_wrap, .link .metagrid { text-align: right; }
  .page_item h2 { height: 36px; line-height: 36px; font-size: 16px; }
  .text_list { grid-template-columns: 1fr 1.25fr 1fr; gap: 8px; padding: 10px 8px; }
  .panel_con2 { grid-template-columns: 1fr 1.25fr 1fr; }
  .tool_box { display: block; }
  .read { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .author_link4 img { width: 86px; height: 116px; }
}

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

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

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

  .item_meta .meta_unit3:last-child {
    border-bottom: 0;
  }

  .item_meta .hd3,
  .item_meta .hd3 img {
    width: 82px;
  }

  .item_meta .hd3 img {
    height: 110px;
    object-fit: cover;
  }

  .item_meta .list_cover {
    min-width: 0;
  }

  .item_meta .list_cover 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;
  }

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

  .item_meta .list_cover 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;
  }

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

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

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

  .tool_list7 .tool h2,
  .tool_list7 .sort_bar h2 {
    padding: 8px 10px;
    font-size: 14px;
    line-height: 20px;
  }

  .tool_list7 .story_bd9 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;
  }

  .tool_list7 .story_bd9 .cat_main,
  .tool_list7 .story_bd9 .infocol,
  .tool_list7 .story_bd9 .read_mod2 {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
  }

  .tool_list7 .story_bd9 .cat_main {
    display: none;
  }

  .tool_list7 .story_bd9 .hot_wrap,
  .tool_list7 .story_bd9 .foot_item {
    display: none;
  }

  .tool_list7 .bar_cover5 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;
  }

  .tool_list7 .bar_cover5 li.cate_bd3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .tool_list7 .bar_cover5 li > span {
    display: none;
  }

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

/* desktop bqg scale restore */
@media (min-width: 1024px) {
  .top_main,
  .cat_line8,
  .bd4,
  .modcover {
    width: 1024px;
    max-width: 1024px;
  }

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

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

  .block_col .hd3,
  .block_col .hd3 img {
    width: 120px;
  }

  .block_col .hd3 img {
    height: 160px;
  }

  .block_col .list_cover h3,
  .cate_unit .list_cover h3 {
    font-size: 15px;
    line-height: 23px;
  }

  .block_col .list_cover p,
  .cate_unit .list_cover p {
    font-size: 14px;
    line-height: 24px;
  }

  .bd_info7 {
    padding: 10px 12px;
  }

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

  .bd_info7 .hd3,
  .bd_info7 .hd3 img {
    width: 92px;
  }

  .bd_info7 .hd3 img {
    height: 124px;
  }

  .site_area7 li,
  .bar_cover5 li,
  .story_bd9 li {
    font-size: 14px;
    min-height: 24px;
    line-height: 24px;
  }

  .tool h2,
  .sort_bar h2,
  .bd_info7 h2 {
    font-size: 16px;
  }
}

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

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

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

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

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

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

  .cat_line9 .block_col .meta_unit3:nth-child(n+5) {
    display: none;
  }

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

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

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

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

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

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

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

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

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

  .cat_line9 .block_col {
    display: block;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
  }

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

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

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

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

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

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

/* 2026-07-12: force desktop nav/header width to 1024px */
@media (min-width: 1024px) {
  .cat_line8,
  .bd4,
  .modcover,
  .top_main {
    width: 1024px !important;
    max-width: 1024px !important;
    box-sizing: border-box;
  }

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

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

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

.colbox a:hover,
.img_wrap2 a:hover,
.modcover 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) {
  .cat_line8,
  .bd4,
  .modcover,
  .top_main,
  .colbox,
  .img_wrap2 {
    width: 1024px !important;
    max-width: 1024px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .colbox,
  .img_wrap2 {
    overflow: hidden !important;
  }
}

@media (max-width: 1023px) {
  .cat_line8,
  .bd4,
  .modcover,
  .top_main,
  .colbox,
  .img_wrap2 {
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .top_main,
  .bd4,
  .cat_line8 {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

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

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

/* nav-hover-disabled: 导航条不保留 hover / focus / active 印记 */
.card_con2 nav a:hover,
.card_con2 nav a:focus,
.card_con2 nav a.num_item3,
.card_con2 nav .num_item3,
.bd4 nav a:hover,
.bd4 nav a:focus,
.bd4 nav a.num_item3,
.bd4 nav .num_item3,
.colbox a:hover,
.colbox a:focus,
.colbox a.num_item3,
.colbox .num_item3,
.img_wrap2 a:hover,
.img_wrap2 a:focus,
.img_wrap2 a.num_item3,
.img_wrap2 .num_item3 {
    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) {
    .cat_line8,
    .card_con2 .bd4,
    .bd4,
    .top_main,
    .cat_row,
    .col_panel,
    .pic_block5,
    .num_name,
    .colbox,
    .img_wrap2 {
        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;
    }

    .home,
    .card_con2,
    .cat_row,
    .desc_inner,
    .cat_line8,
    .card_con2 .bd4,
    .bd4,
    .top_main,
    .num_name,
    .col_panel,
    .pic_block5,
    .ft_name,
    .colbox,
    .img_wrap2 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .cat_line8,
    .card_con2 .bd4,
    .bd4,
    .top_main,
    .col_panel,
    .pic_block5,
    .cat_row {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

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

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

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

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

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

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

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

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

    .bar_img6,
    .rankitem,
    .date_col2,
    .catcover,
    .pic_cover,
    .page_item .side_img,
    .link,
    .side_img,
    .vol_panel6,
    .wraprow,
    .ranklist,
    .cat {
        display: block !important;
        grid-template-columns: none !important;
        columns: auto !important;
        width: 100% !important;
    }

    .story_area,
    .bar2,
    .side_img .row_list,
    .link .row_list,
    .vol_panel6 .row_list,
    .wraprow .row_list,
    .ranklist .row_list,
    .navimg,
    .update_cover {
        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;
    }

    .story_area img,
    .bar2 img,
    .author_link4 img,
    .side_img .row_list img,
    .link .row_list img,
    .vol_panel6 .row_list img,
    .wraprow .row_list img,
    .ranklist .row_list img,
    .navimg img,
    .update_cover img {
        width: 88px !important;
        height: 118px !important;
        object-fit: cover !important;
    }

    .read_con,
    .shu_unit,
    .list_cover,
    .bar_link6,
    .update_cover dl,
    .update_cover .pic3 {
        min-width: 0 !important;
    }

    .head,
    .main_box,
    .unit_mod9,
    .ft_wrap5 {
        display: block !important;
        grid-template-columns: none !important;
        width: 100% !important;
    }

    .head > *,
    .main_box > *,
    .unit_mod9 > *,
    .ft_wrap5 > * {
        width: 100% !important;
        margin-bottom: 10px !important;
        box-sizing: border-box !important;
    }
}

/* 导航条不保留 hover/focus/active 视觉印记 */
.colbox a:hover,
.colbox a:focus,
.colbox a:active,
.colbox a.num_item3,
.colbox .num_item3,
.img_wrap2 a:hover,
.img_wrap2 a:focus,
.img_wrap2 a:active,
.img_wrap2 a.num_item3,
.img_wrap2 .num_item3,
.card_con2 nav a:hover,
.card_con2 nav a:focus,
.card_con2 nav a:active,
.card_con2 nav a.num_item3,
.bd4 nav a:hover,
.bd4 nav a:focus,
.bd4 nav a:active,
.bd4 nav a.num_item3 {
    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) {
  .cat_line9 .list_cover p,
  .item_meta .list_cover p {
    height: 130px;
    line-height: 26px;
  }
}

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

  .bd4 {
    height: 68px;
  }

  .colbox,
  .modcover {
    height: 38px;
  }

  .colbox a,
  .modcover a {
    line-height: 38px;
  }

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

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

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

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

  .card_con2 .bd4,
  .bd4 {
    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;
  }

  .card_con2 .main_mod2,
  .card_con2 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;
  }

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

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

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

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

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

  .card_con2 .box_col3,
  .bd4 .box_col3 {
    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;
  }

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

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

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

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

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

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

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

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

  .block .bd_grid {
    display: contents !important;
  }

  .block .bd_grid 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;
  }

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

  .block .mod_sec9 p {
    height: 25px !important;
    line-height: 25px !important;
  }

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

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

  .block .page_inner.hd_list {
    max-height: none !important;
  }

  .block .name_hd4 {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
  }

  .side4 .cover_unit2 {
    grid-template-columns: 1fr !important;
  }

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

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

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

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

  .cat_row .top_main > .sec2 {
    margin: 0 0 14px !important;
    padding: 14px 10px 16px !important;
    background: #fff !important;
  }

  .cat_row .top_main > .sec2 .grid_mod {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 14px !important;
  }

  .cat_row .top_main > .sec2 .grid_mod 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) {
  .tool_list7 .story_bd9 li {
    height: 35px;
    min-height: 35px;
    line-height: 35px;
  }

  .tool_list7 .bar_cover5 li,
  .tool_list7 .bar_cover5 li.cate_bd3 {
    height: 30px;
    min-height: 30px;
    line-height: 30px;
  }

  /* 数据不足49条时，左右条数相同，统一使用35px行高。 */
  .tool_list7.mainwrap .bar_cover5 li,
  .tool_list7.mainwrap .bar_cover5 li.cate_bd3 {
    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. */
.tool_list7 { align-items: stretch; }
.tool_list7 .tool,
.tool_list7 .sort_bar { min-width: 0; }
.tool_list7 .sort_bar { display: flex; flex-direction: column; }
.tool_list7 .sort_bar .bar_cover5 { flex: 0 0 auto; }
.tool_list7 .time_grid {
  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;
}
.tool_list7 .time_grid > a,
.tool_list7 .time_grid > span,
.tool_list7 .time_grid > select {
  width: 100%;
  height: 36px;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
.tool_list7 .time_grid > a,
.tool_list7 .time_grid > span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.tool_list7 .time_grid > select {
  border: 1px solid #b9d7e3;
  background: #fff;
  padding: 0 10px;
}
.tool_list7 .text {
  margin: auto 0 0;
  padding: 12px 10px 10px;
  border-top: 1px solid #cbdde3;
  box-sizing: border-box;
}
.tool_list7 .text a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 36px;
  background: #4badd3;
  color: #fff;
  box-sizing: border-box;
}
@media (max-width: 1023px) {
  .tool_list7 .time_grid {
    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) {
  .cat_row.box_panel,
  .cat_row.pic_row,
  .cat_row.unit_mod {
    width: 100% !important;
    max-width: none !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    box-sizing: border-box !important;
  }

  .cat_row.box_panel > .top_main,
  .cat_row.pic_row > .top_main,
  .cat_row.unit_mod > .top_main {
    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;
  }

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

  .cat_row.panel_grid > .top_main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .cat_row.panel_grid .title_line {
    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;
  }

  .cat_row.panel_grid .bd_col5 {
    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;
  }

  .cat_row.panel_grid .ft,
  .cat_row.panel_grid .name_cell {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}
