* { 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%; }
.date_main3, .card_bar, .cont_con, .author_text, .num_block { max-width: 980px; margin: 0 auto; }

.book_img { height: 30px; background: #f7f7f7; border-bottom: 1px solid #ddd; color: #777; font-size: 12px; }
.card_bar { display: flex; gap: 24px; align-items: center; height: 30px; }
.main_panel { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.main_panel:hover { color: #0871bd; text-decoration: underline; }
.new_hd { background: #2f8ed8; }
.cont_con { height: 76px; display: flex; align-items: center; gap: 28px; }
.cover_grid { width: 170px; font-size: 34px; line-height: 1; font-weight: 700; }
.cover_grid a { color: #fff; letter-spacing: 0; }
.cover_grid a:hover { color: inherit; text-decoration: none; }
.name_box { flex: 1; display: flex; max-width: 470px; }
.book_block3 { flex: 1; height: 38px; padding: 0 12px; border: 0; outline: 0; font-size: 14px; }
.head_row4 { width: 78px; height: 38px; border: 0; background: #f5a623; color: #fff; font-size: 15px; cursor: pointer; }
.update_info { margin-left: auto; display: flex; gap: 10px; }
.update_info a { color: #fff; padding: 5px 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 2px; }

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

.list_img { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 12px; }
.home_unit, .cell_name9, .rank_blockitem, .home_con6, .itemlist, .text_bar2, .sort_meta { background: #fff; border: 1px solid #ddd; }
.home_unit { display: grid; grid-template-columns: 1fr 1fr; padding: 12px; gap: 12px; }
.mod_main { display: flex; min-height: 132px; overflow: hidden; }
.mod_main .page_link { width: 88px; flex: 0 0 88px; margin-right: 12px; }
.mod_main .page_link img { width: 88px; height: 120px; object-fit: cover; border: 1px solid #ddd; }
.mod_main dt { height: 28px; line-height: 28px; overflow: hidden; font-weight: 700; }
.mod_main dt span { float: right; max-width: 72px; color: #888; font-size: 12px; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mod_main dd { color: #555; height: 88px; overflow: hidden; font-size: 13px; }
.mod_main dd a { color: #555; }
.vol, .rank_blockitem h2, .itemlist h2, .text_bar2 h2 { height: 38px; line-height: 38px; padding: 0 12px; border-bottom: 1px solid #ddd; background: #f9f9f9; color: #287dc2; font-size: 16px; }
.book_mod4, .ft, .tool_link4, .block7, .cell_unit { list-style: none; }
.book_mod4 li, .tool_link4 li, .cell_unit li { display: flex; height: 35px; line-height: 35px; padding: 0 12px; border-bottom: 1px dashed #e5e5e5; overflow: hidden; }
.list_meta6, .menu { width: 86px; color: #888; flex: 0 0 86px; }
.hd_box5, .head5 { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.vol9 { width: 220px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.title4, .wen_list { width: 88px; color: #777; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.book_item { width: 70px; color: #888; text-align: right; }

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

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

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

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

@media (max-width: 768px) {
    .date_main3, .card_bar, .cont_con, .author_text, .num_block { width: 100%; max-width: none; }
    .book_img { display: none; }
    .new_hd { padding: 10px; }
    .cont_con { height: auto; display: block; }
    .cover_grid { width: auto; margin-bottom: 10px; font-size: 28px; text-align: center; }
    .name_box { max-width: none; }
    .update_info { display: none; }
    .author_text { display: none; }
    .num_block { display: flex; overflow-x: auto; background: #287dc2; }
    .num_block a { color: #fff; line-height: 38px; padding: 0 14px; white-space: nowrap; }
    .item_box { padding: 8px; }
    .list_img, .link_meta { display: block; }
    .home_unit { grid-template-columns: 1fr; margin-bottom: 10px; }
    .cell_name9, .rank_blockitem { margin-bottom: 10px; }
    .list_meta6, .vol9, .title4, .menu, .wen_list, .book_item { display: none; }
    .ft { columns: 1; }
    .home_con6 { display: block; text-align: center; }
    .home_con6 .wraprow { margin: 0 auto 12px; }
    .novel h1 { height: auto; line-height: 1.4; font-size: 24px; }
    .site { justify-content: center; }
    .block7 { grid-template-columns: 1fr; }
    .readname { padding: 0 12px 18px; }
    .time_info4 h1 { font-size: 22px; }
    .story { font-size: 18px; line-height: 1.95; padding: 14px 0; }
    .cat_main { display: block; font-size: 18px; margin-bottom: 12px; padding-bottom: 8px; line-height: 1.45; }
    .pic4 { gap: 8px; }
    .pic4 a, .pic4 span { min-width: 0; flex: 1; }
}

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

/* Screenshot-style desktop home layout */
body { background: #e6f8fb; color: #555; font-size: 14px; }
a { color: #4d6da8; }
.date_main3, .card_bar, .cont_con, .author_text, .num_block { max-width: 1160px; }
.book_img { background: #d9eef3; border-bottom: 1px solid #b8dce7; }
.card_bar { color: #6d8f9e; }
.new_hd { background: #e6f8fb; }
.cont_con { height: 82px; gap: 24px; }
.cover_grid { width: 150px; font-size: 36px; font-family: Georgia, "Microsoft YaHei", serif; text-shadow: 2px 2px 0 #c3e3f1; }
.cover_grid a { color: #0871bd; }
.name_box { max-width: 480px; margin-left: auto; }
.book_block3 { height: 36px; border: 1px solid #9bc7df; background: #fff; }
.head_row4 { height: 36px; background: #ddd; color: #222; }
.update_info { display: none; }
.author_text { height: 44px; background: #79c2e3; padding: 0 10px; }
.author_text a { line-height: 44px; padding: 0 11px; border-right: 0; color: #fff; font-weight: 700; }
.author_text a:hover { background: #5eb1d8; }
.item_box { padding: 12px 0 24px; }

.nav8 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 22px; padding: 14px; margin-bottom: 22px; border: 3px solid #b9dff1; background: #fffdf6; }
.row_bar { display: grid; grid-template-columns: 126px 1fr; gap: 12px; min-height: 176px; }
.site_col9 img { width: 126px; height: 170px; object-fit: cover; border: 1px solid #abc6d4; padding: 3px; background: #fff; }
.cont_bar9 h2 { height: 28px; line-height: 28px; font-size: 15px; border-bottom: 1px dotted #c7d8e3; overflow: hidden; }
.cont_bar9 h2 a { color: #5b6fad; font-weight: 700; }
.cont_bar9 h2 span { float: right; color: #aaa; font-weight: 400; }
.cont_bar9 p { padding-top: 8px; color: #555; line-height: 1.85; height: 132px; overflow: hidden; text-indent: 2em; }
.page_info { display: grid; grid-template-columns: 1fr 335px; gap: 14px; align-items: start; }
.bd_area, .novelmeta { border: 3px solid #86c9e8; background: #eef6f6; }
.bd_area h2, .novelmeta h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd3e9; color: #456; font-size: 16px; }
.navmain, .date_inner { list-style: none; padding: 8px 12px; }
.navmain 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; }
.navmain .hd_row2 { color: #555; }
.navmain .title_list, .navmain .cont_bd2, .navmain .box2 { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.navmain .box2, .navmain .rank6 { color: #aaa; text-align: right; }
.date_inner li { display: grid; grid-template-columns: 78px 1fr 58px; gap: 6px; height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; overflow: hidden; }
.date_inner span { color: #555; }
.date_inner a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.date_inner em { color: #666; font-style: normal; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rank_box { display: grid; grid-template-columns: 190px 1fr 190px; gap: 18px; padding: 14px 12px; }
.rank_box a, .rank_box select { height: 40px; border: 0; background: #4eadd0; color: #fff; text-align: center; border-radius: 3px; font-weight: 700; }
.rank_box a { line-height: 40px; }
.rank_box select { background: #fff; color: #222; border: 1px solid #d8e2e4; padding: 0 12px; }
.site7 { 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; }
    .date_main3, .card_bar, .cont_con, .author_text, .num_block { width: 100%; max-width: none; }
    .book_img { display: none; }
    .new_hd { padding: 10px; background: #dff5fb; }
    .cont_con { display: block; height: auto; }
    .cover_grid { width: auto; font-size: 30px; text-align: left; margin: 0 0 10px; padding-right: 58px; }
    .name_box { max-width: none; display: flex; margin-left: 0; }
    .book_block3 { height: 38px; font-size: 14px; }
    .head_row4 { width: 72px; height: 38px; }
    .author_text { display: none; }
    .num_block { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); overflow: hidden; height: 40px; background: #79c2e3; padding: 0; }
    .num_block a { min-width: 0; color: #fff; line-height: 40px; padding: 0 2px; text-align: center; font-weight: 700; white-space: nowrap; }
    .cont_con .num_block { margin-bottom: 8px; }
    .item_box { padding: 8px; }
    .nav8 { display: block; padding: 8px; margin-bottom: 10px; border-width: 2px; }
    .row_bar { display: grid; grid-template-columns: 82px 1fr; gap: 10px; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #d8e2e4; }
    .row_bar:last-child { border-bottom: 0; }
    .site_col9 img { width: 82px; height: 110px; padding: 2px; }
    .cont_bar9 h2 { height: 24px; line-height: 24px; font-size: 15px; }
    .cont_bar9 h2 span { display: none; }
    .cont_bar9 p { height: 78px; line-height: 1.7; padding-top: 5px; text-indent: 0; }
    .page_info { display: block; }
    .rank_wrap { display: flex; flex-direction: column; }
    .rank_wrap .novelmeta { order: 1; }
    .rank_wrap .bd_area { order: 2; }
    .bd_area, .novelmeta { border-width: 2px; margin-bottom: 10px; }
    .bd_area h2, .novelmeta h2 { height: 34px; line-height: 34px; font-size: 15px; }
    .navmain, .date_inner { padding: 4px 8px; }
    .navmain 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; }
    .navmain .box2, .navmain .rank6 { display: none; }
    .navmain .hd_row2 { display: block; width: auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #555; }
    .navmain .title_list { font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .navmain .cont_bd2 { color: #777; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .date_inner li { grid-template-columns: minmax(0, 1fr) 88px; height: 34px; line-height: 34px; }
    .date_inner span { display: none; }
    .rank_box { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .rank_box select { grid-column: 1 / -1; order: -1; }
    .site7 { padding: 14px 8px; line-height: 1.7; }
}

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

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

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

.head_cover { position: fixed; right: 18px; bottom: 26px; z-index: 50; display: grid; gap: 8px; }
.head_cover button { width: 54px; height: 34px; border: 1px solid #5eb1d8; background: #79c2e3; color: #fff; border-radius: 3px; cursor: pointer; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.head_cover button:hover { background: #4eadd0; }
body.unit_panel { background: #1e1e1e; color: #aaa; }
body.unit_panel a { color: #9eb8e8; }
body.unit_panel .book_img,
body.unit_panel .new_hd,
body.unit_panel .site7 { background: #252525; border-color: #3a3a3a; color: #888; }
body.unit_panel .author_text,
body.unit_panel .num_block { background: #333; }
body.unit_panel .author_text a:hover,
body.unit_panel .num_block a:hover { background: #444; }
body.unit_panel .nav8,
body.unit_panel .side_mod9,
body.unit_panel .mod9,
body.unit_panel .hot,
body.unit_panel .update9,
body.unit_panel .cellinfo,
body.unit_panel .home_con6,
body.unit_panel .itemlist,
body.unit_panel .text_bar2,
body.unit_panel .sort_meta,
body.unit_panel .bd_area,
body.unit_panel .novelmeta,
body.unit_panel .row_ft,
body.unit_panel .ftarea { background: #2a2a2a; border-color: #444; }
body.unit_panel .readname { background: #202020; border-color: #444; }
body.unit_panel .story { color: #b8b8b8; }
body.unit_panel .vol,
body.unit_panel .rank_blockitem h2,
body.unit_panel .itemlist h2,
body.unit_panel .text_bar2 h2,
body.unit_panel .bd_area h2,
body.unit_panel .novelmeta h2,
body.unit_panel .row_ft h2,
body.unit_panel .update9 h1,
body.unit_panel .sort_meta h1,
body.unit_panel .head_text3 h2,
body.unit_panel .cellinfo h1 { background: #333; color: #ccc; border-color: #444; }
body.unit_panel .cont_bar9 p,
body.unit_panel .list_cell p,
body.unit_panel .infocol p,
body.unit_panel .read_name6 p,
body.unit_panel .itemlist p,
body.unit_panel .novel p,
body.unit_panel .story_meta .link_panel9 { color: #aaa; }
body.unit_panel .item_area8 th { background: #333; color: #ccc; }
body.unit_panel .item_area8 th,
body.unit_panel .item_area8 td,
body.unit_panel .navmain li,
body.unit_panel .date_inner li,
body.unit_panel .row_ft li,
body.unit_panel .new_box li { border-color: #444; }
body.unit_panel .book_block3,
body.unit_panel .sort_grid input,
body.unit_panel .rank_box select { background: #222; color: #ddd; border-color: #555; }
@media (max-width: 768px) {
    .head_cover { right: 10px; bottom: 14px; }
    .head_cover button { width: 48px; height: 32px; font-size: 13px; }
}

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

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

.sort { border: 3px solid #86c9e8; background: #eef6f6; margin-bottom: 22px; }
.sort .mod { height: 34px; line-height: 34px; padding: 0 12px; color: #456; border-bottom: 1px solid #b9dff1; background: #dcecef; }
.col7 { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 14px 28px 18px; }
.cate {
    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;
}
.cate img {
    display: block;
    width: 100%;
    height: 176px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}
.unit5 h1 { font-size: 30px; line-height: 44px; color: #333; }
.cell_textimg { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-bottom: 1px dashed #86aebd; padding-bottom: 6px; margin-bottom: 8px; }
.cell_textimg p { height: 28px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #444; }
.cell_textimg .time_meta { color: #b54800; font-weight: 700; grid-column: 1 / -1; }
.rank_con { grid-column: 2; line-height: 1.8; color: #444; }
.navgrid { display: none; }
.link_main3 { display: none; }
.time { border: 3px solid #4eadd0; background: #eef6f6; margin-bottom: 30px; }
.time h2 { height: 38px; line-height: 38px; text-align: center; background: #9fb6bd; color: #333; font-size: 16px; border-bottom: 1px solid #9fc9db; }
.time .block7 { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 12px; list-style: none; }
.time .block7 li { height: 40px; line-height: 40px; border-bottom: 1px dashed #9fb6bd; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-right: 16px; }
.time .block7.menu_col li { font-weight: 700; }
.story_main { display: grid; grid-template-columns: 250px 1fr 250px; gap: 18px; padding: 16px 12px; }
.story_main a, .story_main span, .story_main button, .story_main select { height: 40px; line-height: 40px; border: 0; text-align: center; border-radius: 3px; }
.story_main a, .story_main span, .story_main button { background: #1e6f8a; color: #fff; cursor: pointer; font: inherit; }
.story_main button:disabled { cursor: default; opacity: .65; }
.story_main select { background: #fff; border: 1px solid #ddd; padding: 0 12px; text-align: left; }
.foot { background: #eee; padding: 18px 14px; margin-bottom: 20px; }
.foot h2 { text-align: center; color: #777; font-size: 16px; margin-bottom: 14px; font-weight: 400; }
.read { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 45px; }
.read a { display: block; height: 38px; line-height: 38px; text-align: center; background: #e3e3e3; color: #333; border-radius: 3px; }
@media (max-width: 768px) {
    .sort, .time { border-width: 2px; margin-bottom: 12px; }
    .sort .mod { height: auto; line-height: 1.5; padding: 8px; }
    .col7 { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 10px; align-items: start; }
    .cate { width: 96px; min-height: 126px; padding: 4px; background: rgba(255,255,255,.45); }
    .cate img { width: 100%; height: 118px; object-fit: contain; object-position: center; }
    .unit5 { min-width: 0; }
    .unit5 h1 { font-size: 18px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .cell_textimg { display: block; border-bottom: 0; padding-bottom: 0; margin-bottom: 6px; }
    .cell_textimg p { height: 26px; line-height: 26px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .navgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; grid-column: 1 / -1; margin: 2px 0 8px; }
    .row_bd { display: block; height: 32px; line-height: 32px; border: 0; border-radius: 4px; color: #fff; text-align: center; font-weight: 700; font-size: 14px; cursor: pointer; }
    .row_bd:hover { color: #fff; text-decoration: none; opacity: .92; }
    .row_bd.tag2 { background: #f0305a; }
    .row_bd.nav_bar6 { background: #f1a51e; }
    .row_bd.bd_grid9 { background: #5b8cc3; }
    .rank_con { grid-column: 1 / -1; max-height: 118px; overflow: hidden; line-height: 1.85; color: #444; }
    .rank_con.list_con4 { max-height: none; }
    .link_main3 { 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; }
    .time .block7 { grid-template-columns: 1fr; padding: 0 8px; }
    .time .block7 li { height: 36px; line-height: 36px; padding-right: 0; }
    .story_main { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .story_main select { grid-column: 1 / -1; order: -1; }
    .read { grid-template-columns: 1fr; gap: 8px; }
}

.head_cover a { width: 54px; height: 34px; line-height: 34px; border: 1px solid #5eb1d8; background: #79c2e3; color: #fff; border-radius: 3px; cursor: pointer; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.12); text-align: center; }
.head_cover a:hover { background: #4eadd0; color: #fff; text-decoration: none; }
@media (max-width: 768px) {
    .pic4 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .pic4 a, .pic4 span { width: 100%; }
    .head_cover a { width: 48px; height: 32px; line-height: 32px; font-size: 13px; }
}

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

@media (max-width: 768px) {
    html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
    .date_main3, .item_box, .new_hd, .cont_con, .readname, .sort, .time { max-width: 100%; overflow-x: hidden; }
    .name_box { width: 100%; max-width: 100%; }
    .book_block3 { min-width: 0; }
    .head_row4 { flex: 0 0 68px; width: 68px; }
    .num_block { max-width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
    .readname { padding-left: 10px; padding-right: 10px; }
    .mod { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .time_info4 h1 { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
    .time_info4 p { white-space: normal; overflow-wrap: anywhere; }
    .story { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .story p { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .head_cover { right: 8px; }
}

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

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

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

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

body.unit_panel .cover_grid a { color: #b8d7ef; text-shadow: 1px 1px 0 #1a3c55; }
body.unit_panel .readname { background: #242424; }
body.unit_panel .time_info4 h1 { color: #ddd; }
body.unit_panel .time_info4 p,
body.unit_panel .mod { color: #aaa; }
body.unit_panel .story { color: #d2d2d2; }
body.unit_panel .story p { color: #d2d2d2; }
body.unit_panel.cell_main .readname,
body.unit_panel.date_unit .readname,
body.unit_panel.numgrid .readname { background: #242424; }
@media (max-width: 768px) {
    .img_link { grid-template-columns: auto 28px 28px 28px 1fr 42px; }
    body.unit_panel .img_link { background: #2b2b2b; border-color: #555; }
}

:root { --reader-bg-custom: #E9FAFF; }
.readname { background: var(--reader-bg-custom, #f6f1e7); }
body:not(.unit_panel) .readname { background: var(--reader-bg-custom, #E9FAFF); }
body:not(.unit_panel) .story { color: #333; }

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

@media (max-width: 768px) {
    .readname > .mod,
    .readname > .time_info4 { display: none; }
    .readname { padding-top: 0; }
}

/* 关灯只作用于章节正文，头部、搜索、工具栏和翻页保持原样。 */
body.unit_panel { background: #e6f8fb; color: #555; }
body.unit_panel a { color: #4d6da8; }
body.unit_panel .book_img { background: #d9eef3; border-color: #b8dce7; color: #6d8f9e; }
body.unit_panel .new_hd,
body.unit_panel .site7 { background: #e6f8fb; border-color: #72c4e8; color: #555; }
body.unit_panel .author_text,
body.unit_panel .num_block { background: #79c2e3; }
body.unit_panel .author_text a,
body.unit_panel .num_block a { color: #fff; }
body.unit_panel .book_block3,
body.unit_panel .sort_grid input,
body.unit_panel .rank_box select { background: #fff; color: #333; border-color: #9bc7df; }
body.unit_panel .readname,
body.unit_panel.cell_main .readname,
body.unit_panel.date_unit .readname,
body.unit_panel.numgrid .readname { background: #2f3437; border-color: #444; }
body.unit_panel .time_info4 h1 { color: #ddd; }
body.unit_panel .time_info4 p,
body.unit_panel .mod { color: #aaa; }
body.unit_panel .pic4 a,
body.unit_panel .pic4 span { background: #363b3f; border-color: #555; color: #c8c8c8; }
body.unit_panel .img_link { background: #2f3437; border-color: #555; }
body.unit_panel .img_link span,
body.unit_panel .img_link label { color: #c8c8c8; }
body.unit_panel .img_link select,
body.unit_panel .img_link button { background: #363b3f; border-color: #6b747b; color: #c8d7e8; }
body.unit_panel .story { background: transparent; color: #aaa; }
body.unit_panel .cat_main { border-color: #555; color: #bbb; }
body.unit_panel .story p { color: #aaa; }
body.unit_panel .cover_grid a { color: #0871bd; text-shadow: 2px 2px 0 #c3e3f1; }
body.unit_panel .new_bd { color: #0871bd; border-color: #79c2e3; background: rgba(255,255,255,.55); }
body.unit_panel .new_bd:hover { color: #0871bd; background: rgba(255,255,255,.8); }
body.unit_panel .rank_block { background: #eee; }
body.unit_panel .rank_block h2 { color: #777; }
body.unit_panel .top_mod a { background: #e3e3e3; color: #333; }
.unit3 { text-align: center; padding: 54px 20px 62px; border: 3px solid #86c9e8; background: #fffdf6; }
.unit3 h1 { margin-bottom: 12px; color: #287dc2; font-size: 30px; font-weight: 700; }
.unit3 p { margin: 8px 0; color: #555; }
.metamain { display: inline-block; min-width: 110px; height: 34px; margin-top: 12px; line-height: 34px; background: #4eadd0; color: #fff; border-radius: 3px; }
.metamain:hover { color: #fff; text-decoration: none; background: #287dc2; }
@media (max-width: 768px) {
    body.unit_panel .new_hd { background: #dff5fb; }
    .unit3 { padding: 42px 12px 48px; border-width: 2px; }
    .unit3 h1 { font-size: 24px; }
}

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

/* Home update/new panels alignment fix */
.rank_wrap .bd_area,
.rank_wrap .novelmeta { align-self: start; }
.rank_wrap .navmain,
.rank_wrap .date_inner { padding: 8px 10px; font-size: 13px; }
.rank_wrap .navmain li,
.rank_wrap .date_inner li { height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; }
.rank_wrap .navmain li { grid-template-columns: 92px 188px minmax(0, 1fr) 78px 42px; gap: 7px; }
.rank_wrap .date_inner li { grid-template-columns: 82px minmax(0, 1fr) 62px; gap: 7px; }
.rank_wrap .navmain .hd_row2,
.rank_wrap .navmain .title_list,
.rank_wrap .navmain .cont_bd2,
.rank_wrap .navmain .box2,
.rank_wrap .navmain .rank6,
.rank_wrap .date_inner span,
.rank_wrap .date_inner a,
.rank_wrap .date_inner em { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 768px) {
    .rank_wrap .navmain,
    .rank_wrap .date_inner { padding: 4px 8px; font-size: 14px; }
    .rank_wrap .navmain li,
    .rank_wrap .date_inner li { height: 34px; line-height: 34px; }
    .rank_wrap .navmain li { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
    .rank_wrap .date_inner li { grid-template-columns: minmax(0, 1fr) 88px; gap: 6px; }
}

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

/* static rank page, bqg style */
.hot.author6 {
  display: block;
  border: 2px solid #8ed1ef;
  background: #fffdf6;
  padding: 12px;
}
.author6 .sortunit {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  margin: 0 0 10px;
  min-height: 28px;
}
.author6 .sortunit h2 {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  color: #444;
  font-weight: 700;
}
.author6 .sortunit strong {
  grid-column: 2 / 3;
  text-align: center;
  font-size: 18px;
  line-height: 28px;
  color: #444;
}
.author6 .vol_box {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 12px;
}
.author6 .unit_info {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  min-height: 156px;
  overflow: hidden;
}
.author6 .row_img img {
  width: 110px;
  height: 148px;
  object-fit: cover;
  border: 1px solid #b7d2dd;
  background: #fff;
}
.author6 .main_hd4 {
  min-width: 0;
}
.author6 .unit_info 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;
}
.author6 .unit_info h3 a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.author6 .unit_info h3 span,
.author6 .unit_info h3 em {
  color: #999;
  font-weight: 400;
  font-style: normal;
  white-space: nowrap;
}
.author6 .link_img7 {
  margin: 4px 0;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
}
.author6 .link_img7 a {
  display: inline;
}
.author6 .list_hd4 {
  margin: 6px 0 0;
  color: #333;
  font-size: 13px;
  line-height: 23px;
  max-height: 92px;
  overflow: hidden;
}
@media (max-width: 720px) {
  .hot.author6 {
    padding: 8px;
  }
  .author6 .sortunit {
    display: flex;
    justify-content: space-between;
  }
  .author6 .sortunit h2 {
    font-size: 20px;
  }
  .author6 .sortunit strong {
    font-size: 16px;
  }
  .author6 .vol_box {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .author6 .unit_info {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 116px;
  }
  .author6 .row_img img {
    width: 86px;
    height: 116px;
  }
  .author6 .list_hd4 {
    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; }
.date_main3, .card_bar, .cont_con, .row_con2 { width: 980px; max-width: 980px; margin: 0 auto; }
.new_hd { background: #e6f8fb; }
.cont_con { height: 86px; display: flex; align-items: center; gap: 28px; }
.cover_grid { width: 180px; font-size: 34px; line-height: 1; font-family: Georgia, "Microsoft YaHei", serif; font-weight: 700; }
.cover_grid a { color: #0871bd; text-shadow: 2px 3px 3px rgba(0, 90, 150, .28); }
.cover_grid a:hover { text-decoration: none; color: #0871bd; }
.name_box { margin-left: auto; flex: 0 0 470px; display: flex; height: 38px; border: 1px solid #9bd5ee; background: #fff; }
.book_block3 { flex: 1; height: 36px; padding: 0 12px; border: 0; font-size: 14px; outline: 0; }
.head_row4 { width: 78px; height: 36px; border: 0; background: #ddd; color: #222; cursor: pointer; }
.author_text { width: 980px; max-width: 980px; height: 42px; margin: 0 auto; background: #74c0df; display: block; overflow: hidden; }
.row_con2 { display: flex; height: 42px; width: 980px; }
.author_text a { display: block; color: #fff; font-weight: 700; line-height: 42px; padding: 0 12px; white-space: nowrap; }
.author_text a:hover, .author_text a.tag { background: #57acd2; color: #fff; text-decoration: none; }
.item_box { padding: 12px 0 20px; }

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

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

.home_col { display: grid; grid-template-columns: 1fr 300px; gap: 12px; margin-bottom: 12px; }
.cell_text, .shu_wrap, .cont6 { border: 3px solid #9bd5ee; background: #eefafa; }
.cell_text h2, .shu_wrap h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd5ee; font-size: 16px; color: #333; }
.tool_link4 li, .pic_block li, .cell_unit li { display: grid; align-items: center; min-height: 30px; line-height: 30px; border-bottom: 1px solid #d1e3e8; overflow: hidden; }
.tool_link4 li { grid-template-columns: 88px minmax(120px,1.15fr) minmax(180px,1.45fr) 90px 50px; column-gap: 8px; padding: 0 10px; }
.pic_block li { grid-template-columns: 76px minmax(0, 1fr) 76px; column-gap: 0; padding: 0 10px; }
.pic_block li.head_bar5 { grid-template-columns: 76px minmax(0, 1fr); }
.cell_unit li { grid-template-columns: 90px minmax(220px,1fr) minmax(240px,1.2fr) 120px 78px; column-gap: 8px; padding: 0 12px; }
.tool_link4 a, .pic_block a, .cell_unit a, .num, .info_cover, .home, .row_mod, .pic_block em { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.num { color: #555; }
.info_cover, .home, .row_mod, .pic_block em { color: #777; font-style: normal; text-align: right; }
.cont6 { padding-bottom: 8px; }
.cont6 h2 { height: 42px; line-height: 42px; padding: 0 12px; background: #fff; border-bottom: 1px solid #ddd; color: #0871bd; font-size: 18px; }
.hd_unit { display: grid; grid-template-columns: 160px minmax(160px, 1fr) 160px; gap: 12px; padding: 12px 10px 10px; background: #eefafa; }
.hd_unit button, .hd_unit select { width: 100%; height: 36px; border-radius: 2px; font: inherit; }
.hd_unit button { border: 0; background: #4badd3; color: #fff; cursor: pointer; }
.hd_unit button:disabled { opacity: .55; cursor: default; }
.hd_unit select { border: 1px solid #b9d7e3; background: #fff; padding: 0 10px; }
.main_area { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 5px; width: 100%; padding: 10px 6px; box-sizing: border-box; }
.main_area button, .main_area select { min-width: 0; padding-left: 3px; padding-right: 3px; font-size: 13px; }
.sec_col > [hidden] { display: none !important; }
.cat { margin: 0; padding: 28px 20px; background: #fff; border: 1px solid #ddd; }
.cat h2 { margin: 0 0 8px; font-size: 22px; color: #555; }
.cat p, .mod_cover { color: #555; }

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

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

@media (max-width: 1023px) {
  .date_main3, .card_bar, .cont_con, .author_text, .row_con2 { width: auto; max-width: none; }
  .book_img { display: block; }
  .card_bar { padding: 0 10px; justify-content: center; }
  .new_hd { padding: 10px; }
  .cont_con { height: auto; display: block; }
  .cover_grid { width: auto; margin-bottom: 8px; font-size: 28px; }
  .name_box { width: 100%; max-width: none; margin: 0; flex-basis: auto; }
  .author_text { margin: 0 10px; height: 38px; overflow-x: auto; }
  .row_con2 { display: flex; height: 38px; min-width: max-content; }
  .author_text a { line-height: 38px; padding: 0 12px; }
  .item_box { padding: 8px 10px 16px; }
  .hot_sec { display: block; padding: 8px; }
  .hot_sec .desc_row { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .hot_sec .wraprow, .hot_sec .wraprow img { width: 86px; }
  .hot_sec .wraprow img { height: 116px; }
  .pic { display: block; }
  .bar { min-height: 0; border-right: 0; }
  .home_col { display: flex; flex-direction: column; }
  .shu_wrap { order: 1; }
  .cell_text { order: 2; }
  .tool_link4 li { grid-template-columns: 1fr 1fr; gap: 0 10px; min-height: 28px; line-height: 28px; }
  .tool_link4 .num, .tool_link4 .info_cover, .tool_link4 .row_mod { display: none; }
  .pic_block li { grid-template-columns: 1fr 72px; min-height: 28px; line-height: 28px; }
  .pic_block li span { display: none; }
  .cell_unit li { grid-template-columns: 1fr 72px; min-height: 30px; line-height: 30px; }
  .cell_unit .num, .cell_unit .num_bd6 { display: none; }
  .cell_unit .info_cover, .cell_unit .home { text-align: right; }
  .cont6 h2 { height: 36px; line-height: 36px; font-size: 16px; }
  .hd_unit { grid-template-columns: 1fr 1.25fr 1fr; gap: 8px; padding: 10px 8px; }
  .main_area { grid-template-columns: 1fr 1.25fr 1fr; }
  .cover_unit9 { display: block; }
  .shu_link2 { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .link_hd5 img { width: 86px; height: 116px; }
}

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

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

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

  .area2 .desc_row:last-child {
    border-bottom: 0;
  }

  .area2 .wraprow,
  .area2 .wraprow img {
    width: 82px;
  }

  .area2 .wraprow img {
    height: 110px;
    object-fit: cover;
  }

  .area2 .menu_row8 {
    min-width: 0;
  }

  .area2 .menu_row8 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;
  }

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

  .area2 .menu_row8 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;
  }

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

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

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

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

  .box .tool_link4 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;
  }

  .box .tool_link4 .num,
  .box .tool_link4 .sitegrid,
  .box .tool_link4 .num_bd6 {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
  }

  .box .tool_link4 .num {
    display: none;
  }

  .box .tool_link4 .info_cover,
  .box .tool_link4 .row_mod {
    display: none;
  }

  .box .pic_block 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;
  }

  .box .pic_block li.head_bar5 {
    grid-template-columns: minmax(0, 1fr);
  }

  .box .pic_block li > span {
    display: none;
  }

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

/* desktop bqg scale restore */
@media (min-width: 1024px) {
  .date_main3,
  .card_bar,
  .cont_con,
  .row_con2 {
    width: 1024px;
    max-width: 1024px;
  }

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

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

  .hot_sec .wraprow,
  .hot_sec .wraprow img {
    width: 120px;
  }

  .hot_sec .wraprow img {
    height: 160px;
  }

  .hot_sec .menu_row8 h3,
  .pic .menu_row8 h3 {
    font-size: 15px;
    line-height: 23px;
  }

  .hot_sec .menu_row8 p,
  .pic .menu_row8 p {
    font-size: 14px;
    line-height: 24px;
  }

  .bar {
    padding: 10px 12px;
  }

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

  .bar .wraprow,
  .bar .wraprow img {
    width: 92px;
  }

  .bar .wraprow img {
    height: 124px;
  }

  .img li,
  .pic_block li,
  .tool_link4 li {
    font-size: 14px;
    min-height: 24px;
    line-height: 24px;
  }

  .cell_text h2,
  .shu_wrap h2,
  .bar h2 {
    font-size: 16px;
  }
}

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

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

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

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

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

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

  .update_row .hot_sec .desc_row:nth-child(n+5) {
    display: none;
  }

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

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

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

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

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

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

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

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

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

  .update_row .hot_sec {
    display: block;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
  }

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

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

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

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

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

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

/* 2026-07-12: force desktop nav/header width to 1024px */
@media (min-width: 1024px) {
  .card_bar,
  .cont_con,
  .row_con2,
  .date_main3 {
    width: 1024px !important;
    max-width: 1024px !important;
    box-sizing: border-box;
  }

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

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

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

.author_text a:hover,
.num_block a:hover,
.row_con2 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) {
  .card_bar,
  .cont_con,
  .row_con2,
  .date_main3,
  .author_text,
  .num_block {
    width: 1024px !important;
    max-width: 1024px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .author_text,
  .num_block {
    overflow: hidden !important;
  }
}

@media (max-width: 1023px) {
  .card_bar,
  .cont_con,
  .row_con2,
  .date_main3,
  .author_text,
  .num_block {
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .date_main3,
  .cont_con,
  .card_bar {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

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

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

/* nav-hover-disabled: 导航条不保留 hover / focus / active 印记 */
.new_hd nav a:hover,
.new_hd nav a:focus,
.new_hd nav a.tag,
.new_hd nav .tag,
.cont_con nav a:hover,
.cont_con nav a:focus,
.cont_con nav a.tag,
.cont_con nav .tag,
.author_text a:hover,
.author_text a:focus,
.author_text a.tag,
.author_text .tag,
.num_block a:hover,
.num_block a:focus,
.num_block a.tag,
.num_block .tag {
    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) {
    .card_bar,
    .new_hd .cont_con,
    .cont_con,
    .date_main3,
    .item_box,
    .time_block3,
    .area_ft9,
    .sort_sec,
    .author_text,
    .num_block {
        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;
    }

    .book_img,
    .new_hd,
    .item_box,
    .site7,
    .card_bar,
    .new_hd .cont_con,
    .cont_con,
    .date_main3,
    .sort_sec,
    .time_block3,
    .area_ft9,
    .cont_name6,
    .author_text,
    .num_block {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .card_bar,
    .new_hd .cont_con,
    .cont_con,
    .date_main3,
    .time_block3,
    .area_ft9,
    .item_box {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

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

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

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

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

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

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

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

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

    .hot,
    .rank,
    .block_meta9,
    .hot_list,
    .story_list,
    .cont6 .main_bar,
    .cell_unit,
    .main_bar,
    .meta_cell,
    .grid,
    .story_mainmod,
    .sort {
        display: block !important;
        grid-template-columns: none !important;
        columns: auto !important;
        width: 100% !important;
    }

    .wen_grid,
    .cell_wrap,
    .main_bar .img_text,
    .cell_unit .img_text,
    .meta_cell .img_text,
    .grid .img_text,
    .story_mainmod .img_text,
    .tagunit,
    .mod_main {
        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;
    }

    .wen_grid img,
    .cell_wrap img,
    .link_hd5 img,
    .main_bar .img_text img,
    .cell_unit .img_text img,
    .meta_cell .img_text img,
    .grid .img_text img,
    .story_mainmod .img_text img,
    .tagunit img,
    .mod_main img {
        width: 88px !important;
        height: 118px !important;
        object-fit: cover !important;
    }

    .read_name6,
    .bd,
    .menu_row8,
    .novel,
    .mod_main dl,
    .mod_main .title_block {
        min-width: 0 !important;
    }

    .sec_cover,
    .wen_wrap2,
    .list_img,
    .site_inner {
        display: block !important;
        grid-template-columns: none !important;
        width: 100% !important;
    }

    .sec_cover > *,
    .wen_wrap2 > *,
    .list_img > *,
    .site_inner > * {
        width: 100% !important;
        margin-bottom: 10px !important;
        box-sizing: border-box !important;
    }
}

/* 导航条不保留 hover/focus/active 视觉印记 */
.author_text a:hover,
.author_text a:focus,
.author_text a:active,
.author_text a.tag,
.author_text .tag,
.num_block a:hover,
.num_block a:focus,
.num_block a:active,
.num_block a.tag,
.num_block .tag,
.new_hd nav a:hover,
.new_hd nav a:focus,
.new_hd nav a:active,
.new_hd nav a.tag,
.cont_con nav a:hover,
.cont_con nav a:focus,
.cont_con nav a:active,
.cont_con nav a.tag {
    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) {
  .update_row .menu_row8 p,
  .area2 .menu_row8 p {
    height: 130px;
    line-height: 26px;
  }
}

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

  .cont_con {
    height: 68px;
  }

  .author_text,
  .row_con2 {
    height: 38px;
  }

  .author_text a,
  .row_con2 a {
    line-height: 38px;
  }

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

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

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

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

  .new_hd .cont_con,
  .cont_con {
    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;
  }

  .new_hd .cover_grid,
  .new_hd 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;
  }

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

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

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

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

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

  .new_hd .name_box,
  .cont_con .name_box {
    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;
  }

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

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

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

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

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

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

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

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

  .col7 .unit5 {
    display: contents !important;
  }

  .col7 .unit5 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;
  }

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

  .col7 .cell_textimg p {
    height: 25px !important;
    line-height: 25px !important;
  }

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

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

  .col7 .rank_con.list_con4 {
    max-height: none !important;
  }

  .col7 .link_main3 {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
  }

  .time .block7 {
    grid-template-columns: 1fr !important;
  }

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

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

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

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

  .item_box .date_main3 > .foot {
    margin: 0 0 14px !important;
    padding: 14px 10px 16px !important;
    background: #fff !important;
  }

  .item_box .date_main3 > .foot .read {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 14px !important;
  }

  .item_box .date_main3 > .foot .read 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) {
  .box .tool_link4 li {
    height: 35px;
    min-height: 35px;
    line-height: 35px;
  }

  .box .pic_block li,
  .box .pic_block li.head_bar5 {
    height: 30px;
    min-height: 30px;
    line-height: 30px;
  }

  /* 数据不足49条时，左右条数相同，统一使用35px行高。 */
  .box.desc_text2 .pic_block li,
  .box.desc_text2 .pic_block li.head_bar5 {
    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. */
.box { align-items: stretch; }
.box .cell_text,
.box .shu_wrap { min-width: 0; }
.box .shu_wrap { display: flex; flex-direction: column; }
.box .shu_wrap .pic_block { flex: 0 0 auto; }
.box .page_row {
  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;
}
.box .page_row > a,
.box .page_row > span,
.box .page_row > select {
  width: 100%;
  height: 36px;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
.box .page_row > a,
.box .page_row > span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.box .page_row > select {
  border: 1px solid #b9d7e3;
  background: #fff;
  padding: 0 10px;
}
.box .hd_mod {
  margin: auto 0 0;
  padding: 12px 10px 10px;
  border-top: 1px solid #cbdde3;
  box-sizing: border-box;
}
.box .hd_mod 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) {
  .box .page_row {
    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) {
  .item_box.tool_main3,
  .item_box.hd_con,
  .item_box.link_grid5 {
    width: 100% !important;
    max-width: none !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    box-sizing: border-box !important;
  }

  .item_box.tool_main3 > .date_main3,
  .item_box.hd_con > .date_main3,
  .item_box.link_grid5 > .date_main3 {
    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;
  }

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

  .item_box.bd_block > .date_main3 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .item_box.bd_block .readname {
    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;
  }

  .item_box.bd_block .story {
    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;
  }

  .item_box.bd_block .img_link,
  .item_box.bd_block .pic4 {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}
