* { 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%; }
.cell_grid5, .cover_name, .top_box, .text_meta9, .bar_wrap6 { max-width: 980px; margin: 0 auto; }

.bookbox { height: 30px; background: #f7f7f7; border-bottom: 1px solid #ddd; color: #777; font-size: 12px; }
.cover_name { display: flex; gap: 24px; align-items: center; height: 30px; }
.tag3 { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.tag3:hover { color: #0871bd; text-decoration: underline; }
.date_grid { background: #2f8ed8; }
.top_box { height: 76px; display: flex; align-items: center; gap: 28px; }
.read_meta { width: 170px; font-size: 34px; line-height: 1; font-weight: 700; }
.read_meta a { color: #fff; letter-spacing: 0; }
.read_meta a:hover { color: inherit; text-decoration: none; }
.row4 { flex: 1; display: flex; max-width: 470px; }
.sec_box { flex: 1; height: 38px; padding: 0 12px; border: 0; outline: 0; font-size: 14px; }
.cell_img { width: 78px; height: 38px; border: 0; background: #f5a623; color: #fff; font-size: 15px; cursor: pointer; }
.desc_unit { margin-left: auto; display: flex; gap: 10px; }
.desc_unit a { color: #fff; padding: 5px 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 2px; }

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

.wen7 { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 12px; }
.shu_item, .coverblock, .story_list, .nav5, .top_col, .box_area7, .read_con { background: #fff; border: 1px solid #ddd; }
.shu_item { display: grid; grid-template-columns: 1fr 1fr; padding: 12px; gap: 12px; }
.tool_wrap9 { display: flex; min-height: 132px; overflow: hidden; }
.tool_wrap9 .sort_ft { width: 88px; flex: 0 0 88px; margin-right: 12px; }
.tool_wrap9 .sort_ft img { width: 88px; height: 120px; object-fit: cover; border: 1px solid #ddd; }
.tool_wrap9 dt { height: 28px; line-height: 28px; overflow: hidden; font-weight: 700; }
.tool_wrap9 dt span { float: right; max-width: 72px; color: #888; font-size: 12px; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tool_wrap9 dd { color: #555; height: 88px; overflow: hidden; font-size: 13px; }
.tool_wrap9 dd a { color: #555; }
.col9, .story_list h2, .top_col h2, .box_area7 h2 { height: 38px; line-height: 38px; padding: 0 12px; border-bottom: 1px solid #ddd; background: #f9f9f9; color: #287dc2; font-size: 16px; }
.area_sec, .rank, .tag_row3, .head_mod9, .meta_area { list-style: none; }
.area_sec li, .tag_row3 li, .meta_area li { display: flex; height: 35px; line-height: 35px; padding: 0 12px; border-bottom: 1px dashed #e5e5e5; overflow: hidden; }
.cate_name2, .wen_area { width: 86px; color: #888; flex: 0 0 86px; }
.book_line9, .metaarea { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.namemod { width: 220px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.novel_inner6, .cont_con { width: 88px; color: #777; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.row_main6 { width: 70px; color: #888; text-align: right; }

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

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

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

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

@media (max-width: 768px) {
    .cell_grid5, .cover_name, .top_box, .text_meta9, .bar_wrap6 { width: 100%; max-width: none; }
    .bookbox { display: none; }
    .date_grid { padding: 10px; }
    .top_box { height: auto; display: block; }
    .read_meta { width: auto; margin-bottom: 10px; font-size: 28px; text-align: center; }
    .row4 { max-width: none; }
    .desc_unit { display: none; }
    .text_meta9 { display: none; }
    .bar_wrap6 { display: flex; overflow-x: auto; background: #287dc2; }
    .bar_wrap6 a { color: #fff; line-height: 38px; padding: 0 14px; white-space: nowrap; }
    .vol_bar { padding: 8px; }
    .wen7, .site7 { display: block; }
    .shu_item { grid-template-columns: 1fr; margin-bottom: 10px; }
    .coverblock, .story_list { margin-bottom: 10px; }
    .cate_name2, .namemod, .novel_inner6, .wen_area, .cont_con, .row_main6 { display: none; }
    .rank { columns: 1; }
    .nav5 { display: block; text-align: center; }
    .nav5 .bd_mod { margin: 0 auto 12px; }
    .row_inner2 h1 { height: auto; line-height: 1.4; font-size: 24px; }
    .block_col { justify-content: center; }
    .head_mod9 { grid-template-columns: 1fr; }
    .num5 { padding: 0 12px 18px; }
    .cat_text3 h1 { font-size: 22px; }
    .blockbd { font-size: 18px; line-height: 1.95; padding: 14px 0; }
    .read { display: block; font-size: 18px; margin-bottom: 12px; padding-bottom: 8px; line-height: 1.45; }
    .text_name { gap: 8px; }
    .text_name a, .text_name span { min-width: 0; flex: 1; }
}

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

/* Screenshot-style desktop home layout */
body { background: #e6f8fb; color: #555; font-size: 14px; }
a { color: #4d6da8; }
.cell_grid5, .cover_name, .top_box, .text_meta9, .bar_wrap6 { max-width: 1160px; }
.bookbox { background: #d9eef3; border-bottom: 1px solid #b8dce7; }
.cover_name { color: #6d8f9e; }
.date_grid { background: #e6f8fb; }
.top_box { height: 82px; gap: 24px; }
.read_meta { width: 150px; font-size: 36px; font-family: Georgia, "Microsoft YaHei", serif; text-shadow: 2px 2px 0 #c3e3f1; }
.read_meta a { color: #0871bd; }
.row4 { max-width: 480px; margin-left: auto; }
.sec_box { height: 36px; border: 1px solid #9bc7df; background: #fff; }
.cell_img { height: 36px; background: #ddd; color: #222; }
.desc_unit { display: none; }
.text_meta9 { height: 44px; background: #79c2e3; padding: 0 10px; }
.text_meta9 a { line-height: 44px; padding: 0 11px; border-right: 0; color: #fff; font-weight: 700; }
.text_meta9 a:hover { background: #5eb1d8; }
.vol_bar { padding: 12px 0 24px; }

.unit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 22px; padding: 14px; margin-bottom: 22px; border: 3px solid #b9dff1; background: #fffdf6; }
.cat_sec { display: grid; grid-template-columns: 126px 1fr; gap: 12px; min-height: 176px; }
.desc_img img { width: 126px; height: 170px; object-fit: cover; border: 1px solid #abc6d4; padding: 3px; background: #fff; }
.side h2 { height: 28px; line-height: 28px; font-size: 15px; border-bottom: 1px dotted #c7d8e3; overflow: hidden; }
.side h2 a { color: #5b6fad; font-weight: 700; }
.side h2 span { float: right; color: #aaa; font-weight: 400; }
.side p { padding-top: 8px; color: #555; line-height: 1.85; height: 132px; overflow: hidden; text-indent: 2em; }
.date_area { display: grid; grid-template-columns: 1fr 335px; gap: 14px; align-items: start; }
.vol_col, .author_sec { border: 3px solid #86c9e8; background: #eef6f6; }
.vol_col h2, .author_sec h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd3e9; color: #456; font-size: 16px; }
.bd, .cell_list { list-style: none; padding: 8px 12px; }
.bd 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; }
.bd .unitcover { color: #555; }
.bd .nav_item, .bd .link_name7, .bd .cat_panel { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bd .cat_panel, .bd .mod5 { color: #aaa; text-align: right; }
.cell_list li { display: grid; grid-template-columns: 78px 1fr 58px; gap: 6px; height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; overflow: hidden; }
.cell_list span { color: #555; }
.cell_list a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cell_list em { color: #666; font-style: normal; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.update_box { display: grid; grid-template-columns: 190px 1fr 190px; gap: 18px; padding: 14px 12px; }
.update_box a, .update_box select { height: 40px; border: 0; background: #4eadd0; color: #fff; text-align: center; border-radius: 3px; font-weight: 700; }
.update_box a { line-height: 40px; }
.update_box select { background: #fff; color: #222; border: 1px solid #d8e2e4; padding: 0 12px; }
.text_bar5 { 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; }
    .cell_grid5, .cover_name, .top_box, .text_meta9, .bar_wrap6 { width: 100%; max-width: none; }
    .bookbox { display: none; }
    .date_grid { padding: 10px; background: #dff5fb; }
    .top_box { display: block; height: auto; }
    .read_meta { width: auto; font-size: 30px; text-align: left; margin: 0 0 10px; padding-right: 58px; }
    .row4 { max-width: none; display: flex; margin-left: 0; }
    .sec_box { height: 38px; font-size: 14px; }
    .cell_img { width: 72px; height: 38px; }
    .text_meta9 { display: none; }
    .bar_wrap6 { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); overflow: hidden; height: 40px; background: #79c2e3; padding: 0; }
    .bar_wrap6 a { min-width: 0; color: #fff; line-height: 40px; padding: 0 2px; text-align: center; font-weight: 700; white-space: nowrap; }
    .top_box .bar_wrap6 { margin-bottom: 8px; }
    .vol_bar { padding: 8px; }
    .unit { display: block; padding: 8px; margin-bottom: 10px; border-width: 2px; }
    .cat_sec { display: grid; grid-template-columns: 82px 1fr; gap: 10px; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #d8e2e4; }
    .cat_sec:last-child { border-bottom: 0; }
    .desc_img img { width: 82px; height: 110px; padding: 2px; }
    .side h2 { height: 24px; line-height: 24px; font-size: 15px; }
    .side h2 span { display: none; }
    .side p { height: 78px; line-height: 1.7; padding-top: 5px; text-indent: 0; }
    .date_area { display: block; }
    .col4 { display: flex; flex-direction: column; }
    .col4 .author_sec { order: 1; }
    .col4 .vol_col { order: 2; }
    .vol_col, .author_sec { border-width: 2px; margin-bottom: 10px; }
    .vol_col h2, .author_sec h2 { height: 34px; line-height: 34px; font-size: 15px; }
    .bd, .cell_list { padding: 4px 8px; }
    .bd 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; }
    .bd .cat_panel, .bd .mod5 { display: none; }
    .bd .unitcover { display: block; width: auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #555; }
    .bd .nav_item { font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .bd .link_name7 { color: #777; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .cell_list li { grid-template-columns: minmax(0, 1fr) 88px; height: 34px; line-height: 34px; }
    .cell_list span { display: none; }
    .update_box { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .update_box select { grid-column: 1 / -1; order: -1; }
    .text_bar5 { padding: 14px 8px; line-height: 1.7; }
}

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

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

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

.story_panel { position: fixed; right: 18px; bottom: 26px; z-index: 50; display: grid; gap: 8px; }
.story_panel 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); }
.story_panel button:hover { background: #4eadd0; }
body.mod_line4 { background: #1e1e1e; color: #aaa; }
body.mod_line4 a { color: #9eb8e8; }
body.mod_line4 .bookbox,
body.mod_line4 .date_grid,
body.mod_line4 .text_bar5 { background: #252525; border-color: #3a3a3a; color: #888; }
body.mod_line4 .text_meta9,
body.mod_line4 .bar_wrap6 { background: #333; }
body.mod_line4 .text_meta9 a:hover,
body.mod_line4 .bar_wrap6 a:hover { background: #444; }
body.mod_line4 .unit,
body.mod_line4 .area,
body.mod_line4 .cha_inner2,
body.mod_line4 .tag_area3,
body.mod_line4 .bar_name,
body.mod_line4 .cover_block,
body.mod_line4 .nav5,
body.mod_line4 .top_col,
body.mod_line4 .box_area7,
body.mod_line4 .read_con,
body.mod_line4 .vol_col,
body.mod_line4 .author_sec,
body.mod_line4 .hd_info2,
body.mod_line4 .cha_list6 { background: #2a2a2a; border-color: #444; }
body.mod_line4 .num5 { background: #202020; border-color: #444; }
body.mod_line4 .blockbd { color: #b8b8b8; }
body.mod_line4 .col9,
body.mod_line4 .story_list h2,
body.mod_line4 .top_col h2,
body.mod_line4 .box_area7 h2,
body.mod_line4 .vol_col h2,
body.mod_line4 .author_sec h2,
body.mod_line4 .hd_info2 h2,
body.mod_line4 .bar_name h1,
body.mod_line4 .read_con h1,
body.mod_line4 .panel_line h2,
body.mod_line4 .cover_block h1 { background: #333; color: #ccc; border-color: #444; }
body.mod_line4 .side p,
body.mod_line4 .box_info9 p,
body.mod_line4 .bd_item p,
body.mod_line4 .ft_bd p,
body.mod_line4 .top_col p,
body.mod_line4 .row_inner2 p,
body.mod_line4 .home_line .itempanel { color: #aaa; }
body.mod_line4 .time_unit th { background: #333; color: #ccc; }
body.mod_line4 .time_unit th,
body.mod_line4 .time_unit td,
body.mod_line4 .bd li,
body.mod_line4 .cell_list li,
body.mod_line4 .hd_info2 li,
body.mod_line4 .bar_bd li { border-color: #444; }
body.mod_line4 .sec_box,
body.mod_line4 .tool input,
body.mod_line4 .update_box select { background: #222; color: #ddd; border-color: #555; }
@media (max-width: 768px) {
    .story_panel { right: 10px; bottom: 14px; }
    .story_panel button { width: 48px; height: 32px; font-size: 13px; }
}

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

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

.sec_line3 { border: 3px solid #86c9e8; background: #eef6f6; margin-bottom: 22px; }
.sec_line3 .home_con { height: 34px; line-height: 34px; padding: 0 12px; color: #456; border-bottom: 1px solid #b9dff1; background: #dcecef; }
.col_line { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 14px 28px 18px; }
.text_col5 {
    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;
}
.text_col5 img {
    display: block;
    width: 100%;
    height: 176px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}
.img_sec h1 { font-size: 30px; line-height: 44px; color: #333; }
.rowcover { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-bottom: 1px dashed #86aebd; padding-bottom: 6px; margin-bottom: 8px; }
.rowcover p { height: 28px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #444; }
.rowcover .cont_text { color: #b54800; font-weight: 700; grid-column: 1 / -1; }
.box_area { grid-column: 2; line-height: 1.8; color: #444; }
.menu_col4 { display: none; }
.unit_hd5 { display: none; }
.title_box4 { border: 3px solid #4eadd0; background: #eef6f6; margin-bottom: 30px; }
.title_box4 h2 { height: 38px; line-height: 38px; text-align: center; background: #9fb6bd; color: #333; font-size: 16px; border-bottom: 1px solid #9fc9db; }
.title_box4 .head_mod9 { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 12px; list-style: none; }
.title_box4 .head_mod9 li { height: 40px; line-height: 40px; border-bottom: 1px dashed #9fb6bd; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-right: 16px; }
.title_box4 .head_mod9.cha_mod li { font-weight: 700; }
.col { display: grid; grid-template-columns: 250px 1fr 250px; gap: 18px; padding: 16px 12px; }
.col a, .col span, .col button, .col select { height: 40px; line-height: 40px; border: 0; text-align: center; border-radius: 3px; }
.col a, .col span, .col button { background: #1e6f8a; color: #fff; cursor: pointer; font: inherit; }
.col button:disabled { cursor: default; opacity: .65; }
.col select { background: #fff; border: 1px solid #ddd; padding: 0 12px; text-align: left; }
.cont { background: #eee; padding: 18px 14px; margin-bottom: 20px; }
.cont h2 { text-align: center; color: #777; font-size: 16px; margin-bottom: 14px; font-weight: 400; }
.page { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 45px; }
.page a { display: block; height: 38px; line-height: 38px; text-align: center; background: #e3e3e3; color: #333; border-radius: 3px; }
@media (max-width: 768px) {
    .sec_line3, .title_box4 { border-width: 2px; margin-bottom: 12px; }
    .sec_line3 .home_con { height: auto; line-height: 1.5; padding: 8px; }
    .col_line { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 10px; align-items: start; }
    .text_col5 { width: 96px; min-height: 126px; padding: 4px; background: rgba(255,255,255,.45); }
    .text_col5 img { width: 100%; height: 118px; object-fit: contain; object-position: center; }
    .img_sec { min-width: 0; }
    .img_sec h1 { font-size: 18px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .rowcover { display: block; border-bottom: 0; padding-bottom: 0; margin-bottom: 6px; }
    .rowcover p { height: 26px; line-height: 26px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .menu_col4 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; grid-column: 1 / -1; margin: 2px 0 8px; }
    .row_list { 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_list:hover { color: #fff; text-decoration: none; opacity: .92; }
    .row_list.sec_list { background: #f0305a; }
    .row_list.new3 { background: #f1a51e; }
    .row_list.wrap_bd { background: #5b8cc3; }
    .box_area { grid-column: 1 / -1; max-height: 118px; overflow: hidden; line-height: 1.85; color: #444; }
    .box_area.ft_block { max-height: none; }
    .unit_hd5 { 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; }
    .title_box4 .head_mod9 { grid-template-columns: 1fr; padding: 0 8px; }
    .title_box4 .head_mod9 li { height: 36px; line-height: 36px; padding-right: 0; }
    .col { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .col select { grid-column: 1 / -1; order: -1; }
    .page { grid-template-columns: 1fr; gap: 8px; }
}

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

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

@media (max-width: 768px) {
    html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
    .cell_grid5, .vol_bar, .date_grid, .top_box, .num5, .sec_line3, .title_box4 { max-width: 100%; overflow-x: hidden; }
    .row4 { width: 100%; max-width: 100%; }
    .sec_box { min-width: 0; }
    .cell_img { flex: 0 0 68px; width: 68px; }
    .bar_wrap6 { max-width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
    .num5 { padding-left: 10px; padding-right: 10px; }
    .home_con { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .cat_text3 h1 { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
    .cat_text3 p { white-space: normal; overflow-wrap: anywhere; }
    .blockbd { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .blockbd p { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .story_panel { right: 8px; }
}

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

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

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

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

body.mod_line4 .read_meta a { color: #b8d7ef; text-shadow: 1px 1px 0 #1a3c55; }
body.mod_line4 .num5 { background: #242424; }
body.mod_line4 .cat_text3 h1 { color: #ddd; }
body.mod_line4 .cat_text3 p,
body.mod_line4 .home_con { color: #aaa; }
body.mod_line4 .blockbd { color: #d2d2d2; }
body.mod_line4 .blockbd p { color: #d2d2d2; }
body.mod_line4.sec_unit .num5,
body.mod_line4.date_info .num5,
body.mod_line4.time6 .num5 { background: #242424; }
@media (max-width: 768px) {
    .date_cell { grid-template-columns: auto 28px 28px 28px 1fr 42px; }
    body.mod_line4 .date_cell { background: #2b2b2b; border-color: #555; }
}

:root { --reader-bg-custom: #E9FAFF; }
.num5 { background: var(--reader-bg-custom, #f6f1e7); }
body:not(.mod_line4) .num5 { background: var(--reader-bg-custom, #E9FAFF); }
body:not(.mod_line4) .blockbd { color: #333; }

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

@media (max-width: 768px) {
    .num5 > .home_con,
    .num5 > .cat_text3 { display: none; }
    .num5 { padding-top: 0; }
}

/* 关灯只作用于章节正文，头部、搜索、工具栏和翻页保持原样。 */
body.mod_line4 { background: #e6f8fb; color: #555; }
body.mod_line4 a { color: #4d6da8; }
body.mod_line4 .bookbox { background: #d9eef3; border-color: #b8dce7; color: #6d8f9e; }
body.mod_line4 .date_grid,
body.mod_line4 .text_bar5 { background: #e6f8fb; border-color: #72c4e8; color: #555; }
body.mod_line4 .text_meta9,
body.mod_line4 .bar_wrap6 { background: #79c2e3; }
body.mod_line4 .text_meta9 a,
body.mod_line4 .bar_wrap6 a { color: #fff; }
body.mod_line4 .sec_box,
body.mod_line4 .tool input,
body.mod_line4 .update_box select { background: #fff; color: #333; border-color: #9bc7df; }
body.mod_line4 .num5,
body.mod_line4.sec_unit .num5,
body.mod_line4.date_info .num5,
body.mod_line4.time6 .num5 { background: #2f3437; border-color: #444; }
body.mod_line4 .cat_text3 h1 { color: #ddd; }
body.mod_line4 .cat_text3 p,
body.mod_line4 .home_con { color: #aaa; }
body.mod_line4 .text_name a,
body.mod_line4 .text_name span { background: #363b3f; border-color: #555; color: #c8c8c8; }
body.mod_line4 .date_cell { background: #2f3437; border-color: #555; }
body.mod_line4 .date_cell span,
body.mod_line4 .date_cell label { color: #c8c8c8; }
body.mod_line4 .date_cell select,
body.mod_line4 .date_cell button { background: #363b3f; border-color: #6b747b; color: #c8d7e8; }
body.mod_line4 .blockbd { background: transparent; color: #aaa; }
body.mod_line4 .read { border-color: #555; color: #bbb; }
body.mod_line4 .blockbd p { color: #aaa; }
body.mod_line4 .read_meta a { color: #0871bd; text-shadow: 2px 2px 0 #c3e3f1; }
body.mod_line4 .author_main6 { color: #0871bd; border-color: #79c2e3; background: rgba(255,255,255,.55); }
body.mod_line4 .author_main6:hover { color: #0871bd; background: rgba(255,255,255,.8); }
body.mod_line4 .title_item9 { background: #eee; }
body.mod_line4 .title_item9 h2 { color: #777; }
body.mod_line4 .cate a { background: #e3e3e3; color: #333; }
.main_row { text-align: center; padding: 54px 20px 62px; border: 3px solid #86c9e8; background: #fffdf6; }
.main_row h1 { margin-bottom: 12px; color: #287dc2; font-size: 30px; font-weight: 700; }
.main_row p { margin: 8px 0; color: #555; }
.num2 { display: inline-block; min-width: 110px; height: 34px; margin-top: 12px; line-height: 34px; background: #4eadd0; color: #fff; border-radius: 3px; }
.num2:hover { color: #fff; text-decoration: none; background: #287dc2; }
@media (max-width: 768px) {
    body.mod_line4 .date_grid { background: #dff5fb; }
    .main_row { padding: 42px 12px 48px; border-width: 2px; }
    .main_row h1 { font-size: 24px; }
}

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

/* Home update/new panels alignment fix */
.col4 .vol_col,
.col4 .author_sec { align-self: start; }
.col4 .bd,
.col4 .cell_list { padding: 8px 10px; font-size: 13px; }
.col4 .bd li,
.col4 .cell_list li { height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; }
.col4 .bd li { grid-template-columns: 92px 188px minmax(0, 1fr) 78px 42px; gap: 7px; }
.col4 .cell_list li { grid-template-columns: 82px minmax(0, 1fr) 62px; gap: 7px; }
.col4 .bd .unitcover,
.col4 .bd .nav_item,
.col4 .bd .link_name7,
.col4 .bd .cat_panel,
.col4 .bd .mod5,
.col4 .cell_list span,
.col4 .cell_list a,
.col4 .cell_list em { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 768px) {
    .col4 .bd,
    .col4 .cell_list { padding: 4px 8px; font-size: 14px; }
    .col4 .bd li,
    .col4 .cell_list li { height: 34px; line-height: 34px; }
    .col4 .bd li { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
    .col4 .cell_list li { grid-template-columns: minmax(0, 1fr) 88px; gap: 6px; }
}

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

/* static rank page, bqg style */
.tag_area3.row_wrap9 {
  display: block;
  border: 2px solid #8ed1ef;
  background: #fffdf6;
  padding: 12px;
}
.row_wrap9 .list4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  margin: 0 0 10px;
  min-height: 28px;
}
.row_wrap9 .list4 h2 {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  color: #444;
  font-weight: 700;
}
.row_wrap9 .list4 strong {
  grid-column: 2 / 3;
  text-align: center;
  font-size: 18px;
  line-height: 28px;
  color: #444;
}
.row_wrap9 .row_mod {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 12px;
}
.row_wrap9 .sitecell {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  min-height: 156px;
  overflow: hidden;
}
.row_wrap9 .sortcol img {
  width: 110px;
  height: 148px;
  object-fit: cover;
  border: 1px solid #b7d2dd;
  background: #fff;
}
.row_wrap9 .author_mod8 {
  min-width: 0;
}
.row_wrap9 .sitecell 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;
}
.row_wrap9 .sitecell h3 a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.row_wrap9 .sitecell h3 span,
.row_wrap9 .sitecell h3 em {
  color: #999;
  font-weight: 400;
  font-style: normal;
  white-space: nowrap;
}
.row_wrap9 .cat8 {
  margin: 4px 0;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
}
.row_wrap9 .cat8 a {
  display: inline;
}
.row_wrap9 .cat_link {
  margin: 6px 0 0;
  color: #333;
  font-size: 13px;
  line-height: 23px;
  max-height: 92px;
  overflow: hidden;
}
@media (max-width: 720px) {
  .tag_area3.row_wrap9 {
    padding: 8px;
  }
  .row_wrap9 .list4 {
    display: flex;
    justify-content: space-between;
  }
  .row_wrap9 .list4 h2 {
    font-size: 20px;
  }
  .row_wrap9 .list4 strong {
    font-size: 16px;
  }
  .row_wrap9 .row_mod {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .row_wrap9 .sitecell {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 116px;
  }
  .row_wrap9 .sortcol img {
    width: 86px;
    height: 116px;
  }
  .row_wrap9 .cat_link {
    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; }
.cell_grid5, .cover_name, .top_box, .update_area { width: 980px; max-width: 980px; margin: 0 auto; }
.date_grid { background: #e6f8fb; }
.top_box { height: 86px; display: flex; align-items: center; gap: 28px; }
.read_meta { width: 180px; font-size: 34px; line-height: 1; font-family: Georgia, "Microsoft YaHei", serif; font-weight: 700; }
.read_meta a { color: #0871bd; text-shadow: 2px 3px 3px rgba(0, 90, 150, .28); }
.read_meta a:hover { text-decoration: none; color: #0871bd; }
.row4 { margin-left: auto; flex: 0 0 470px; display: flex; height: 38px; border: 1px solid #9bd5ee; background: #fff; }
.sec_box { flex: 1; height: 36px; padding: 0 12px; border: 0; font-size: 14px; outline: 0; }
.cell_img { width: 78px; height: 36px; border: 0; background: #ddd; color: #222; cursor: pointer; }
.text_meta9 { width: 980px; max-width: 980px; height: 42px; margin: 0 auto; background: #74c0df; display: block; overflow: hidden; }
.update_area { display: flex; height: 42px; width: 980px; }
.text_meta9 a { display: block; color: #fff; font-weight: 700; line-height: 42px; padding: 0 12px; white-space: nowrap; }
.text_meta9 a:hover, .text_meta9 a.cover { background: #57acd2; color: #fff; text-decoration: none; }
.vol_bar { padding: 12px 0 20px; }

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

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

.bar5 { display: grid; grid-template-columns: 1fr 300px; gap: 12px; margin-bottom: 12px; }
.list_hd2, .main_list4, .info_con { border: 3px solid #9bd5ee; background: #eefafa; }
.list_hd2 h2, .main_list4 h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd5ee; font-size: 16px; color: #333; }
.tag_row3 li, .home_bar li, .meta_area li { display: grid; align-items: center; min-height: 30px; line-height: 30px; border-bottom: 1px solid #d1e3e8; overflow: hidden; }
.tag_row3 li { grid-template-columns: 88px minmax(120px,1.15fr) minmax(180px,1.45fr) 90px 50px; column-gap: 8px; padding: 0 10px; }
.home_bar li { grid-template-columns: 76px minmax(0, 1fr) 76px; column-gap: 0; padding: 0 10px; }
.home_bar li.story_sec { grid-template-columns: 76px minmax(0, 1fr); }
.meta_area li { grid-template-columns: 90px minmax(220px,1fr) minmax(240px,1.2fr) 120px 78px; column-gap: 8px; padding: 0 12px; }
.tag_row3 a, .home_bar a, .meta_area a, .block_grid, .date2, .link_area, .picmain, .home_bar em { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.block_grid { color: #555; }
.date2, .link_area, .picmain, .home_bar em { color: #777; font-style: normal; text-align: right; }
.info_con { padding-bottom: 8px; }
.info_con h2 { height: 42px; line-height: 42px; padding: 0 12px; background: #fff; border-bottom: 1px solid #ddd; color: #0871bd; font-size: 18px; }
.namemain { display: grid; grid-template-columns: 160px minmax(160px, 1fr) 160px; gap: 12px; padding: 12px 10px 10px; background: #eefafa; }
.namemain button, .namemain select { width: 100%; height: 36px; border-radius: 2px; font: inherit; }
.namemain button { border: 0; background: #4badd3; color: #fff; cursor: pointer; }
.namemain button:disabled { opacity: .55; cursor: default; }
.namemain select { border: 1px solid #b9d7e3; background: #fff; padding: 0 10px; }
.top_ft { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 5px; width: 100%; padding: 10px 6px; box-sizing: border-box; }
.top_ft button, .top_ft select { min-width: 0; padding-left: 3px; padding-right: 3px; font-size: 13px; }
.block > [hidden] { display: none !important; }
.novel_unit { margin: 0; padding: 28px 20px; background: #fff; border: 1px solid #ddd; }
.novel_unit h2 { margin: 0 0 8px; font-size: 22px; color: #555; }
.novel_unit p, .rank_cell { color: #555; }

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

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

@media (max-width: 1023px) {
  .cell_grid5, .cover_name, .top_box, .text_meta9, .update_area { width: auto; max-width: none; }
  .bookbox { display: block; }
  .cover_name { padding: 0 10px; justify-content: center; }
  .date_grid { padding: 10px; }
  .top_box { height: auto; display: block; }
  .read_meta { width: auto; margin-bottom: 8px; font-size: 28px; }
  .row4 { width: 100%; max-width: none; margin: 0; flex-basis: auto; }
  .text_meta9 { margin: 0 10px; height: 38px; overflow-x: auto; }
  .update_area { display: flex; height: 38px; min-width: max-content; }
  .text_meta9 a { line-height: 38px; padding: 0 12px; }
  .vol_bar { padding: 8px 10px 16px; }
  .date8 { display: block; padding: 8px; }
  .date8 .novel_line { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .date8 .bd_mod, .date8 .bd_mod img { width: 86px; }
  .date8 .bd_mod img { height: 116px; }
  .panel5 { display: block; }
  .new_info5 { min-height: 0; border-right: 0; }
  .bar5 { display: flex; flex-direction: column; }
  .main_list4 { order: 1; }
  .list_hd2 { order: 2; }
  .tag_row3 li { grid-template-columns: 1fr 1fr; gap: 0 10px; min-height: 28px; line-height: 28px; }
  .tag_row3 .block_grid, .tag_row3 .date2, .tag_row3 .picmain { display: none; }
  .home_bar li { grid-template-columns: 1fr 72px; min-height: 28px; line-height: 28px; }
  .home_bar li span { display: none; }
  .meta_area li { grid-template-columns: 1fr 72px; min-height: 30px; line-height: 30px; }
  .meta_area .block_grid, .meta_area .bookmod { display: none; }
  .meta_area .date2, .meta_area .link_area { text-align: right; }
  .info_con h2 { height: 36px; line-height: 36px; font-size: 16px; }
  .namemain { grid-template-columns: 1fr 1.25fr 1fr; gap: 8px; padding: 10px 8px; }
  .top_ft { grid-template-columns: 1fr 1.25fr 1fr; }
  .card_list { display: block; }
  .wrap_ft5 { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .cover_ft4 img { width: 86px; height: 116px; }
}

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

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

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

  .area_ft .novel_line:last-child {
    border-bottom: 0;
  }

  .area_ft .bd_mod,
  .area_ft .bd_mod img {
    width: 82px;
  }

  .area_ft .bd_mod img {
    height: 110px;
    object-fit: cover;
  }

  .area_ft .img7 {
    min-width: 0;
  }

  .area_ft .img7 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;
  }

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

  .area_ft .img7 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;
  }

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

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

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

  .name .list_hd2 h2,
  .name .main_list4 h2 {
    padding: 8px 10px;
    font-size: 14px;
    line-height: 20px;
  }

  .name .tag_row3 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;
  }

  .name .tag_row3 .block_grid,
  .name .tag_row3 .title_img,
  .name .tag_row3 .bookmod {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
  }

  .name .tag_row3 .block_grid {
    display: none;
  }

  .name .tag_row3 .date2,
  .name .tag_row3 .picmain {
    display: none;
  }

  .name .home_bar 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;
  }

  .name .home_bar li.story_sec {
    grid-template-columns: minmax(0, 1fr);
  }

  .name .home_bar li > span {
    display: none;
  }

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

/* desktop bqg scale restore */
@media (min-width: 1024px) {
  .cell_grid5,
  .cover_name,
  .top_box,
  .update_area {
    width: 1024px;
    max-width: 1024px;
  }

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

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

  .date8 .bd_mod,
  .date8 .bd_mod img {
    width: 120px;
  }

  .date8 .bd_mod img {
    height: 160px;
  }

  .date8 .img7 h3,
  .panel5 .img7 h3 {
    font-size: 15px;
    line-height: 23px;
  }

  .date8 .img7 p,
  .panel5 .img7 p {
    font-size: 14px;
    line-height: 24px;
  }

  .new_info5 {
    padding: 10px 12px;
  }

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

  .new_info5 .bd_mod,
  .new_info5 .bd_mod img {
    width: 92px;
  }

  .new_info5 .bd_mod img {
    height: 124px;
  }

  .sort_cell li,
  .home_bar li,
  .tag_row3 li {
    font-size: 14px;
    min-height: 24px;
    line-height: 24px;
  }

  .list_hd2 h2,
  .main_list4 h2,
  .new_info5 h2 {
    font-size: 16px;
  }
}

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

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

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

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

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

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

  .hd_mod2 .date8 .novel_line:nth-child(n+5) {
    display: none;
  }

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

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

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

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

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

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

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

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

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

  .hd_mod2 .date8 {
    display: block;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
  }

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

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

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

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

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

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

/* 2026-07-12: force desktop nav/header width to 1024px */
@media (min-width: 1024px) {
  .cover_name,
  .top_box,
  .update_area,
  .cell_grid5 {
    width: 1024px !important;
    max-width: 1024px !important;
    box-sizing: border-box;
  }

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

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

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

.text_meta9 a:hover,
.bar_wrap6 a:hover,
.update_area 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) {
  .cover_name,
  .top_box,
  .update_area,
  .cell_grid5,
  .text_meta9,
  .bar_wrap6 {
    width: 1024px !important;
    max-width: 1024px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .text_meta9,
  .bar_wrap6 {
    overflow: hidden !important;
  }
}

@media (max-width: 1023px) {
  .cover_name,
  .top_box,
  .update_area,
  .cell_grid5,
  .text_meta9,
  .bar_wrap6 {
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .cell_grid5,
  .top_box,
  .cover_name {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

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

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

/* nav-hover-disabled: 导航条不保留 hover / focus / active 印记 */
.date_grid nav a:hover,
.date_grid nav a:focus,
.date_grid nav a.cover,
.date_grid nav .cover,
.top_box nav a:hover,
.top_box nav a:focus,
.top_box nav a.cover,
.top_box nav .cover,
.text_meta9 a:hover,
.text_meta9 a:focus,
.text_meta9 a.cover,
.text_meta9 .cover,
.bar_wrap6 a:hover,
.bar_wrap6 a:focus,
.bar_wrap6 a.cover,
.bar_wrap6 .cover {
    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) {
    .cover_name,
    .date_grid .top_box,
    .top_box,
    .cell_grid5,
    .vol_bar,
    .novel,
    .rank9,
    .ft_mod4,
    .text_meta9,
    .bar_wrap6 {
        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;
    }

    .bookbox,
    .date_grid,
    .vol_bar,
    .text_bar5,
    .cover_name,
    .date_grid .top_box,
    .top_box,
    .cell_grid5,
    .ft_mod4,
    .novel,
    .rank9,
    .book_block,
    .text_meta9,
    .bar_wrap6 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .cover_name,
    .date_grid .top_box,
    .top_box,
    .cell_grid5,
    .novel,
    .rank9,
    .vol_bar {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

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

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

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

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

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

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

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

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

    .tag_area3,
    .date2hd,
    .box_item9,
    .vol_name9,
    .item_bd,
    .info_con .title_link,
    .meta_area,
    .title_link,
    .story,
    .novel_info4,
    .cat_text,
    .sec_line3 {
        display: block !important;
        grid-template-columns: none !important;
        columns: auto !important;
        width: 100% !important;
    }

    .sort_row9,
    .cell_inner9,
    .title_link .grid,
    .meta_area .grid,
    .story .grid,
    .novel_info4 .grid,
    .cat_text .grid,
    .menu_list6,
    .tool_wrap9 {
        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;
    }

    .sort_row9 img,
    .cell_inner9 img,
    .cover_ft4 img,
    .title_link .grid img,
    .meta_area .grid img,
    .story .grid img,
    .novel_info4 .grid img,
    .cat_text .grid img,
    .menu_list6 img,
    .tool_wrap9 img {
        width: 88px !important;
        height: 118px !important;
        object-fit: cover !important;
    }

    .ft_bd,
    .unit_row2,
    .img7,
    .row_inner2,
    .tool_wrap9 dl,
    .tool_wrap9 .rank_bd {
        min-width: 0 !important;
    }

    .update,
    .home2,
    .wen7,
    .sort_inner {
        display: block !important;
        grid-template-columns: none !important;
        width: 100% !important;
    }

    .update > *,
    .home2 > *,
    .wen7 > *,
    .sort_inner > * {
        width: 100% !important;
        margin-bottom: 10px !important;
        box-sizing: border-box !important;
    }
}

/* 导航条不保留 hover/focus/active 视觉印记 */
.text_meta9 a:hover,
.text_meta9 a:focus,
.text_meta9 a:active,
.text_meta9 a.cover,
.text_meta9 .cover,
.bar_wrap6 a:hover,
.bar_wrap6 a:focus,
.bar_wrap6 a:active,
.bar_wrap6 a.cover,
.bar_wrap6 .cover,
.date_grid nav a:hover,
.date_grid nav a:focus,
.date_grid nav a:active,
.date_grid nav a.cover,
.top_box nav a:hover,
.top_box nav a:focus,
.top_box nav a:active,
.top_box nav a.cover {
    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) {
  .hd_mod2 .img7 p,
  .area_ft .img7 p {
    height: 130px;
    line-height: 26px;
  }
}

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

  .top_box {
    height: 68px;
  }

  .text_meta9,
  .update_area {
    height: 38px;
  }

  .text_meta9 a,
  .update_area a {
    line-height: 38px;
  }

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

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

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

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

  .date_grid .top_box,
  .top_box {
    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;
  }

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

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

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

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

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

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

  .date_grid .row4,
  .top_box .row4 {
    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;
  }

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

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

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

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

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

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

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

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

  .col_line .img_sec {
    display: contents !important;
  }

  .col_line .img_sec 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;
  }

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

  .col_line .rowcover p {
    height: 25px !important;
    line-height: 25px !important;
  }

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

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

  .col_line .box_area.ft_block {
    max-height: none !important;
  }

  .col_line .unit_hd5 {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
  }

  .title_box4 .head_mod9 {
    grid-template-columns: 1fr !important;
  }

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

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

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

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

  .vol_bar .cell_grid5 > .cont {
    margin: 0 0 14px !important;
    padding: 14px 10px 16px !important;
    background: #fff !important;
  }

  .vol_bar .cell_grid5 > .cont .page {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 14px !important;
  }

  .vol_bar .cell_grid5 > .cont .page 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) {
  .name .tag_row3 li {
    height: 35px;
    min-height: 35px;
    line-height: 35px;
  }

  .name .home_bar li,
  .name .home_bar li.story_sec {
    height: 30px;
    min-height: 30px;
    line-height: 30px;
  }

  /* 数据不足49条时，左右条数相同，统一使用35px行高。 */
  .name.nav_cell .home_bar li,
  .name.nav_cell .home_bar li.story_sec {
    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. */
.name { align-items: stretch; }
.name .list_hd2,
.name .main_list4 { min-width: 0; }
.name .main_list4 { display: flex; flex-direction: column; }
.name .main_list4 .home_bar { flex: 0 0 auto; }
.name .list_main {
  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;
}
.name .list_main > a,
.name .list_main > span,
.name .list_main > select {
  width: 100%;
  height: 36px;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
.name .list_main > a,
.name .list_main > span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.name .list_main > select {
  border: 1px solid #b9d7e3;
  background: #fff;
  padding: 0 10px;
}
.name .list_inner {
  margin: auto 0 0;
  padding: 12px 10px 10px;
  border-top: 1px solid #cbdde3;
  box-sizing: border-box;
}
.name .list_inner 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) {
  .name .list_main {
    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) {
  .vol_bar.text,
  .vol_bar.vol_box,
  .vol_bar.unit_sec {
    width: 100% !important;
    max-width: none !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    box-sizing: border-box !important;
  }

  .vol_bar.text > .cell_grid5,
  .vol_bar.vol_box > .cell_grid5,
  .vol_bar.unit_sec > .cell_grid5 {
    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;
  }

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

  .vol_bar.mod_sec > .cell_grid5 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .vol_bar.mod_sec .num5 {
    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;
  }

  .vol_bar.mod_sec .blockbd {
    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;
  }

  .vol_bar.mod_sec .date_cell,
  .vol_bar.mod_sec .text_name {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}
