* { 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%; }
.item_meta, .read_area, .tool_ft, .info_bd9, .cover_mod { max-width: 980px; margin: 0 auto; }

.main_link3 { height: 30px; background: #f7f7f7; border-bottom: 1px solid #ddd; color: #777; font-size: 12px; }
.read_area { display: flex; gap: 24px; align-items: center; height: 30px; }
.new_list7 { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.new_list7:hover { color: #0871bd; text-decoration: underline; }
.side_grid { background: #2f8ed8; }
.tool_ft { height: 76px; display: flex; align-items: center; gap: 28px; }
.authoritem { width: 170px; font-size: 34px; line-height: 1; font-weight: 700; }
.authoritem a { color: #fff; letter-spacing: 0; }
.authoritem a:hover { color: inherit; text-decoration: none; }
.hot_inner3 { flex: 1; display: flex; max-width: 470px; }
.datelist { flex: 1; height: 38px; padding: 0 12px; border: 0; outline: 0; font-size: 14px; }
.card { width: 78px; height: 38px; border: 0; background: #f5a623; color: #fff; font-size: 15px; cursor: pointer; }
.wen_line2 { margin-left: auto; display: flex; gap: 10px; }
.wen_line2 a { color: #fff; padding: 5px 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 2px; }

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

.hot_grid { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 12px; }
.site7, .link_hd6, .item_block, .desc_ft5, .book_mod2, .metaline, .top_ft { background: #fff; border: 1px solid #ddd; }
.site7 { display: grid; grid-template-columns: 1fr 1fr; padding: 12px; gap: 12px; }
.update_col { display: flex; min-height: 132px; overflow: hidden; }
.update_col .name_row6 { width: 88px; flex: 0 0 88px; margin-right: 12px; }
.update_col .name_row6 img { width: 88px; height: 120px; object-fit: cover; border: 1px solid #ddd; }
.update_col dt { height: 28px; line-height: 28px; overflow: hidden; font-weight: 700; }
.update_col dt span { float: right; max-width: 72px; color: #888; font-size: 12px; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.update_col dd { color: #555; height: 88px; overflow: hidden; font-size: 13px; }
.update_col dd a { color: #555; }
.site_info9, .item_block h2, .book_mod2 h2, .metaline h2 { height: 38px; line-height: 38px; padding: 0 12px; border-bottom: 1px solid #ddd; background: #f9f9f9; color: #287dc2; font-size: 16px; }
.timeitem, .tool, .imginner, .tool9, .cover_name6 { list-style: none; }
.timeitem li, .imginner li, .cover_name6 li { display: flex; height: 35px; line-height: 35px; padding: 0 12px; border-bottom: 1px dashed #e5e5e5; overflow: hidden; }
.new_grid5, .book_cell5 { width: 86px; color: #888; flex: 0 0 86px; }
.bd, .cardline { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.meta9 { width: 220px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mainwrap, .wen_text { width: 88px; color: #777; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.author_bar { width: 70px; color: #888; text-align: right; }

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

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

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

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

@media (max-width: 768px) {
    .item_meta, .read_area, .tool_ft, .info_bd9, .cover_mod { width: 100%; max-width: none; }
    .main_link3 { display: none; }
    .side_grid { padding: 10px; }
    .tool_ft { height: auto; display: block; }
    .authoritem { width: auto; margin-bottom: 10px; font-size: 28px; text-align: center; }
    .hot_inner3 { max-width: none; }
    .wen_line2 { display: none; }
    .info_bd9 { display: none; }
    .cover_mod { display: flex; overflow-x: auto; background: #287dc2; }
    .cover_mod a { color: #fff; line-height: 38px; padding: 0 14px; white-space: nowrap; }
    .author_wrap { padding: 8px; }
    .hot_grid, .row_con { display: block; }
    .site7 { grid-template-columns: 1fr; margin-bottom: 10px; }
    .link_hd6, .item_block { margin-bottom: 10px; }
    .new_grid5, .meta9, .mainwrap, .book_cell5, .wen_text, .author_bar { display: none; }
    .tool { columns: 1; }
    .desc_ft5 { display: block; text-align: center; }
    .desc_ft5 .foot4 { margin: 0 auto 12px; }
    .novel_wrap h1 { height: auto; line-height: 1.4; font-size: 24px; }
    .grid_unit { justify-content: center; }
    .tool9 { grid-template-columns: 1fr; }
    .date_bar { padding: 0 12px 18px; }
    .unitcover h1 { font-size: 22px; }
    .desc_cover { font-size: 18px; line-height: 1.95; padding: 14px 0; }
    .area6 { display: block; font-size: 18px; margin-bottom: 12px; padding-bottom: 8px; line-height: 1.45; }
    .grid_inner { gap: 8px; }
    .grid_inner a, .grid_inner span { min-width: 0; flex: 1; }
}

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

/* Screenshot-style desktop home layout */
body { background: #e6f8fb; color: #555; font-size: 14px; }
a { color: #4d6da8; }
.item_meta, .read_area, .tool_ft, .info_bd9, .cover_mod { max-width: 1160px; }
.main_link3 { background: #d9eef3; border-bottom: 1px solid #b8dce7; }
.read_area { color: #6d8f9e; }
.side_grid { background: #e6f8fb; }
.tool_ft { height: 82px; gap: 24px; }
.authoritem { width: 150px; font-size: 36px; font-family: Georgia, "Microsoft YaHei", serif; text-shadow: 2px 2px 0 #c3e3f1; }
.authoritem a { color: #0871bd; }
.hot_inner3 { max-width: 480px; margin-left: auto; }
.datelist { height: 36px; border: 1px solid #9bc7df; background: #fff; }
.card { height: 36px; background: #ddd; color: #222; }
.wen_line2 { display: none; }
.info_bd9 { height: 44px; background: #79c2e3; padding: 0 10px; }
.info_bd9 a { line-height: 44px; padding: 0 11px; border-right: 0; color: #fff; font-weight: 700; }
.info_bd9 a:hover { background: #5eb1d8; }
.author_wrap { padding: 12px 0 24px; }

.sec_grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 22px; padding: 14px; margin-bottom: 22px; border: 3px solid #b9dff1; background: #fffdf6; }
.read_text { display: grid; grid-template-columns: 126px 1fr; gap: 12px; min-height: 176px; }
.author_item img { width: 126px; height: 170px; object-fit: cover; border: 1px solid #abc6d4; padding: 3px; background: #fff; }
.cover h2 { height: 28px; line-height: 28px; font-size: 15px; border-bottom: 1px dotted #c7d8e3; overflow: hidden; }
.cover h2 a { color: #5b6fad; font-weight: 700; }
.cover h2 span { float: right; color: #aaa; font-weight: 400; }
.cover p { padding-top: 8px; color: #555; line-height: 1.85; height: 132px; overflow: hidden; text-indent: 2em; }
.top_inner { display: grid; grid-template-columns: 1fr 335px; gap: 14px; align-items: start; }
.authormeta, .cell_sec { border: 3px solid #86c9e8; background: #eef6f6; }
.authormeta h2, .cell_sec h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd3e9; color: #456; font-size: 16px; }
.book_name, .update { list-style: none; padding: 8px 12px; }
.book_name 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; }
.book_name .bdbox { color: #555; }
.book_name .title_meta, .book_name .info_img, .book_name .read_panel { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.book_name .read_panel, .book_name .cell_row { color: #aaa; text-align: right; }
.update li { display: grid; grid-template-columns: 78px 1fr 58px; gap: 6px; height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; overflow: hidden; }
.update span { color: #555; }
.update a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.update em { color: #666; font-style: normal; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.itemlink { display: grid; grid-template-columns: 190px 1fr 190px; gap: 18px; padding: 14px 12px; }
.itemlink a, .itemlink select { height: 40px; border: 0; background: #4eadd0; color: #fff; text-align: center; border-radius: 3px; font-weight: 700; }
.itemlink a { line-height: 40px; }
.itemlink select { background: #fff; color: #222; border: 1px solid #d8e2e4; padding: 0 12px; }
.list_block4 { 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; }
    .item_meta, .read_area, .tool_ft, .info_bd9, .cover_mod { width: 100%; max-width: none; }
    .main_link3 { display: none; }
    .side_grid { padding: 10px; background: #dff5fb; }
    .tool_ft { display: block; height: auto; }
    .authoritem { width: auto; font-size: 30px; text-align: left; margin: 0 0 10px; padding-right: 58px; }
    .hot_inner3 { max-width: none; display: flex; margin-left: 0; }
    .datelist { height: 38px; font-size: 14px; }
    .card { width: 72px; height: 38px; }
    .info_bd9 { display: none; }
    .cover_mod { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); overflow: hidden; height: 40px; background: #79c2e3; padding: 0; }
    .cover_mod a { min-width: 0; color: #fff; line-height: 40px; padding: 0 2px; text-align: center; font-weight: 700; white-space: nowrap; }
    .tool_ft .cover_mod { margin-bottom: 8px; }
    .author_wrap { padding: 8px; }
    .sec_grid { display: block; padding: 8px; margin-bottom: 10px; border-width: 2px; }
    .read_text { display: grid; grid-template-columns: 82px 1fr; gap: 10px; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #d8e2e4; }
    .read_text:last-child { border-bottom: 0; }
    .author_item img { width: 82px; height: 110px; padding: 2px; }
    .cover h2 { height: 24px; line-height: 24px; font-size: 15px; }
    .cover h2 span { display: none; }
    .cover p { height: 78px; line-height: 1.7; padding-top: 5px; text-indent: 0; }
    .top_inner { display: block; }
    .img8 { display: flex; flex-direction: column; }
    .img8 .cell_sec { order: 1; }
    .img8 .authormeta { order: 2; }
    .authormeta, .cell_sec { border-width: 2px; margin-bottom: 10px; }
    .authormeta h2, .cell_sec h2 { height: 34px; line-height: 34px; font-size: 15px; }
    .book_name, .update { padding: 4px 8px; }
    .book_name 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; }
    .book_name .read_panel, .book_name .cell_row { display: none; }
    .book_name .bdbox { display: block; width: auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #555; }
    .book_name .title_meta { font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .book_name .info_img { color: #777; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .update li { grid-template-columns: minmax(0, 1fr) 88px; height: 34px; line-height: 34px; }
    .update span { display: none; }
    .itemlink { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .itemlink select { grid-column: 1 / -1; order: -1; }
    .list_block4 { padding: 14px 8px; line-height: 1.7; }
}

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

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

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

.bd3 { position: fixed; right: 18px; bottom: 26px; z-index: 50; display: grid; gap: 8px; }
.bd3 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); }
.bd3 button:hover { background: #4eadd0; }
body.shu { background: #1e1e1e; color: #aaa; }
body.shu a { color: #9eb8e8; }
body.shu .main_link3,
body.shu .side_grid,
body.shu .list_block4 { background: #252525; border-color: #3a3a3a; color: #888; }
body.shu .info_bd9,
body.shu .cover_mod { background: #333; }
body.shu .info_bd9 a:hover,
body.shu .cover_mod a:hover { background: #444; }
body.shu .sec_grid,
body.shu .cont_row,
body.shu .col,
body.shu .card_grid2,
body.shu .panel_hd,
body.shu .novel_cover,
body.shu .desc_ft5,
body.shu .book_mod2,
body.shu .metaline,
body.shu .top_ft,
body.shu .authormeta,
body.shu .cell_sec,
body.shu .img,
body.shu .pic_name8 { background: #2a2a2a; border-color: #444; }
body.shu .date_bar { background: #202020; border-color: #444; }
body.shu .desc_cover { color: #b8b8b8; }
body.shu .site_info9,
body.shu .item_block h2,
body.shu .book_mod2 h2,
body.shu .metaline h2,
body.shu .authormeta h2,
body.shu .cell_sec h2,
body.shu .img h2,
body.shu .panel_hd h1,
body.shu .top_ft h1,
body.shu .wrapsec h2,
body.shu .novel_cover h1 { background: #333; color: #ccc; border-color: #444; }
body.shu .cover p,
body.shu .sec_cell p,
body.shu .panel3 p,
body.shu .cont p,
body.shu .book_mod2 p,
body.shu .novel_wrap p,
body.shu .block_img3 .bd8 { color: #aaa; }
body.shu .update_bd th { background: #333; color: #ccc; }
body.shu .update_bd th,
body.shu .update_bd td,
body.shu .book_name li,
body.shu .update li,
body.shu .img li,
body.shu .grid_con li { border-color: #444; }
body.shu .datelist,
body.shu .vol_cell9 input,
body.shu .itemlink select { background: #222; color: #ddd; border-color: #555; }
@media (max-width: 768px) {
    .bd3 { right: 10px; bottom: 14px; }
    .bd3 button { width: 48px; height: 32px; font-size: 13px; }
}

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

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

.link4 { border: 3px solid #86c9e8; background: #eef6f6; margin-bottom: 22px; }
.link4 .vol_img { height: 34px; line-height: 34px; padding: 0 12px; color: #456; border-bottom: 1px solid #b9dff1; background: #dcecef; }
.text { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 14px 28px 18px; }
.new_box {
    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;
}
.new_box img {
    display: block;
    width: 100%;
    height: 176px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}
.read_cell3 h1 { font-size: 30px; line-height: 44px; color: #333; }
.bar { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-bottom: 1px dashed #86aebd; padding-bottom: 6px; margin-bottom: 8px; }
.bar p { height: 28px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #444; }
.bar .pic_text { color: #b54800; font-weight: 700; grid-column: 1 / -1; }
.tag { grid-column: 2; line-height: 1.8; color: #444; }
.menu_main4 { display: none; }
.side_item2 { display: none; }
.novel_main { border: 3px solid #4eadd0; background: #eef6f6; margin-bottom: 30px; }
.novel_main h2 { height: 38px; line-height: 38px; text-align: center; background: #9fb6bd; color: #333; font-size: 16px; border-bottom: 1px solid #9fc9db; }
.novel_main .tool9 { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 12px; list-style: none; }
.novel_main .tool9 li { height: 40px; line-height: 40px; border-bottom: 1px dashed #9fb6bd; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-right: 16px; }
.novel_main .tool9.book_con li { font-weight: 700; }
.cha_cell { display: grid; grid-template-columns: 250px 1fr 250px; gap: 18px; padding: 16px 12px; }
.cha_cell a, .cha_cell span, .cha_cell button, .cha_cell select { height: 40px; line-height: 40px; border: 0; text-align: center; border-radius: 3px; }
.cha_cell a, .cha_cell span, .cha_cell button { background: #1e6f8a; color: #fff; cursor: pointer; font: inherit; }
.cha_cell button:disabled { cursor: default; opacity: .65; }
.cha_cell select { background: #fff; border: 1px solid #ddd; padding: 0 12px; text-align: left; }
.top_bd { background: #eee; padding: 18px 14px; margin-bottom: 20px; }
.top_bd h2 { text-align: center; color: #777; font-size: 16px; margin-bottom: 14px; font-weight: 400; }
.box_img { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 45px; }
.box_img a { display: block; height: 38px; line-height: 38px; text-align: center; background: #e3e3e3; color: #333; border-radius: 3px; }
@media (max-width: 768px) {
    .link4, .novel_main { border-width: 2px; margin-bottom: 12px; }
    .link4 .vol_img { height: auto; line-height: 1.5; padding: 8px; }
    .text { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 10px; align-items: start; }
    .new_box { width: 96px; min-height: 126px; padding: 4px; background: rgba(255,255,255,.45); }
    .new_box img { width: 100%; height: 118px; object-fit: contain; object-position: center; }
    .read_cell3 { min-width: 0; }
    .read_cell3 h1 { font-size: 18px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .bar { display: block; border-bottom: 0; padding-bottom: 0; margin-bottom: 6px; }
    .bar p { height: 26px; line-height: 26px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .menu_main4 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; grid-column: 1 / -1; margin: 2px 0 8px; }
    .nav_name { 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; }
    .nav_name:hover { color: #fff; text-decoration: none; opacity: .92; }
    .nav_name.pic_hd { background: #f0305a; }
    .nav_name.bookgrid { background: #f1a51e; }
    .nav_name.page_row { background: #5b8cc3; }
    .tag { grid-column: 1 / -1; max-height: 118px; overflow: hidden; line-height: 1.85; color: #444; }
    .tag.colcell { max-height: none; }
    .side_item2 { 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; }
    .novel_main .tool9 { grid-template-columns: 1fr; padding: 0 8px; }
    .novel_main .tool9 li { height: 36px; line-height: 36px; padding-right: 0; }
    .cha_cell { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .cha_cell select { grid-column: 1 / -1; order: -1; }
    .box_img { grid-template-columns: 1fr; gap: 8px; }
}

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

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

@media (max-width: 768px) {
    html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
    .item_meta, .author_wrap, .side_grid, .tool_ft, .date_bar, .link4, .novel_main { max-width: 100%; overflow-x: hidden; }
    .hot_inner3 { width: 100%; max-width: 100%; }
    .datelist { min-width: 0; }
    .card { flex: 0 0 68px; width: 68px; }
    .cover_mod { max-width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
    .date_bar { padding-left: 10px; padding-right: 10px; }
    .vol_img { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .unitcover h1 { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
    .unitcover p { white-space: normal; overflow-wrap: anywhere; }
    .desc_cover { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .desc_cover p { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .bd3 { right: 8px; }
}

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

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

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

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

body.shu .authoritem a { color: #b8d7ef; text-shadow: 1px 1px 0 #1a3c55; }
body.shu .date_bar { background: #242424; }
body.shu .unitcover h1 { color: #ddd; }
body.shu .unitcover p,
body.shu .vol_img { color: #aaa; }
body.shu .desc_cover { color: #d2d2d2; }
body.shu .desc_cover p { color: #d2d2d2; }
body.shu.foot_main .date_bar,
body.shu.title_unit6 .date_bar,
body.shu.read_main8 .date_bar { background: #242424; }
@media (max-width: 768px) {
    .cell_item { grid-template-columns: auto 28px 28px 28px 1fr 42px; }
    body.shu .cell_item { background: #2b2b2b; border-color: #555; }
}

:root { --reader-bg-custom: #E9FAFF; }
.date_bar { background: var(--reader-bg-custom, #f6f1e7); }
body:not(.shu) .date_bar { background: var(--reader-bg-custom, #E9FAFF); }
body:not(.shu) .desc_cover { color: #333; }

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

@media (max-width: 768px) {
    .date_bar > .vol_img,
    .date_bar > .unitcover { display: none; }
    .date_bar { padding-top: 0; }
}

/* 关灯只作用于章节正文，头部、搜索、工具栏和翻页保持原样。 */
body.shu { background: #e6f8fb; color: #555; }
body.shu a { color: #4d6da8; }
body.shu .main_link3 { background: #d9eef3; border-color: #b8dce7; color: #6d8f9e; }
body.shu .side_grid,
body.shu .list_block4 { background: #e6f8fb; border-color: #72c4e8; color: #555; }
body.shu .info_bd9,
body.shu .cover_mod { background: #79c2e3; }
body.shu .info_bd9 a,
body.shu .cover_mod a { color: #fff; }
body.shu .datelist,
body.shu .vol_cell9 input,
body.shu .itemlink select { background: #fff; color: #333; border-color: #9bc7df; }
body.shu .date_bar,
body.shu.foot_main .date_bar,
body.shu.title_unit6 .date_bar,
body.shu.read_main8 .date_bar { background: #2f3437; border-color: #444; }
body.shu .unitcover h1 { color: #ddd; }
body.shu .unitcover p,
body.shu .vol_img { color: #aaa; }
body.shu .grid_inner a,
body.shu .grid_inner span { background: #363b3f; border-color: #555; color: #c8c8c8; }
body.shu .cell_item { background: #2f3437; border-color: #555; }
body.shu .cell_item span,
body.shu .cell_item label { color: #c8c8c8; }
body.shu .cell_item select,
body.shu .cell_item button { background: #363b3f; border-color: #6b747b; color: #c8d7e8; }
body.shu .desc_cover { background: transparent; color: #aaa; }
body.shu .area6 { border-color: #555; color: #bbb; }
body.shu .desc_cover p { color: #aaa; }
body.shu .authoritem a { color: #0871bd; text-shadow: 2px 2px 0 #c3e3f1; }
body.shu .book_item { color: #0871bd; border-color: #79c2e3; background: rgba(255,255,255,.55); }
body.shu .book_item:hover { color: #0871bd; background: rgba(255,255,255,.8); }
body.shu .time { background: #eee; }
body.shu .time h2 { color: #777; }
body.shu .pic_meta a { background: #e3e3e3; color: #333; }
.mod_img { text-align: center; padding: 54px 20px 62px; border: 3px solid #86c9e8; background: #fffdf6; }
.mod_img h1 { margin-bottom: 12px; color: #287dc2; font-size: 30px; font-weight: 700; }
.mod_img p { margin: 8px 0; color: #555; }
.name_cell6 { display: inline-block; min-width: 110px; height: 34px; margin-top: 12px; line-height: 34px; background: #4eadd0; color: #fff; border-radius: 3px; }
.name_cell6:hover { color: #fff; text-decoration: none; background: #287dc2; }
@media (max-width: 768px) {
    body.shu .side_grid { background: #dff5fb; }
    .mod_img { padding: 42px 12px 48px; border-width: 2px; }
    .mod_img h1 { font-size: 24px; }
}

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

/* Home update/new panels alignment fix */
.img8 .authormeta,
.img8 .cell_sec { align-self: start; }
.img8 .book_name,
.img8 .update { padding: 8px 10px; font-size: 13px; }
.img8 .book_name li,
.img8 .update li { height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; }
.img8 .book_name li { grid-template-columns: 92px 188px minmax(0, 1fr) 78px 42px; gap: 7px; }
.img8 .update li { grid-template-columns: 82px minmax(0, 1fr) 62px; gap: 7px; }
.img8 .book_name .bdbox,
.img8 .book_name .title_meta,
.img8 .book_name .info_img,
.img8 .book_name .read_panel,
.img8 .book_name .cell_row,
.img8 .update span,
.img8 .update a,
.img8 .update em { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 768px) {
    .img8 .book_name,
    .img8 .update { padding: 4px 8px; font-size: 14px; }
    .img8 .book_name li,
    .img8 .update li { height: 34px; line-height: 34px; }
    .img8 .book_name li { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
    .img8 .update li { grid-template-columns: minmax(0, 1fr) 88px; gap: 6px; }
}

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

/* static rank page, bqg style */
.card_grid2.card6 {
  display: block;
  border: 2px solid #8ed1ef;
  background: #fffdf6;
  padding: 12px;
}
.card6 .title {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  margin: 0 0 10px;
  min-height: 28px;
}
.card6 .title h2 {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  color: #444;
  font-weight: 700;
}
.card6 .title strong {
  grid-column: 2 / 3;
  text-align: center;
  font-size: 18px;
  line-height: 28px;
  color: #444;
}
.card6 .name_img {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 12px;
}
.card6 .book_conmeta {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  min-height: 156px;
  overflow: hidden;
}
.card6 .list_inner img {
  width: 110px;
  height: 148px;
  object-fit: cover;
  border: 1px solid #b7d2dd;
  background: #fff;
}
.card6 .cell_col {
  min-width: 0;
}
.card6 .book_conmeta 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;
}
.card6 .book_conmeta h3 a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card6 .book_conmeta h3 span,
.card6 .book_conmeta h3 em {
  color: #999;
  font-weight: 400;
  font-style: normal;
  white-space: nowrap;
}
.card6 .text9 {
  margin: 4px 0;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
}
.card6 .text9 a {
  display: inline;
}
.card6 .hd_info6 {
  margin: 6px 0 0;
  color: #333;
  font-size: 13px;
  line-height: 23px;
  max-height: 92px;
  overflow: hidden;
}
@media (max-width: 720px) {
  .card_grid2.card6 {
    padding: 8px;
  }
  .card6 .title {
    display: flex;
    justify-content: space-between;
  }
  .card6 .title h2 {
    font-size: 20px;
  }
  .card6 .title strong {
    font-size: 16px;
  }
  .card6 .name_img {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .card6 .book_conmeta {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 116px;
  }
  .card6 .list_inner img {
    width: 86px;
    height: 116px;
  }
  .card6 .hd_info6 {
    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; }
.item_meta, .read_area, .tool_ft, .main_cover { width: 980px; max-width: 980px; margin: 0 auto; }
.side_grid { background: #e6f8fb; }
.tool_ft { height: 86px; display: flex; align-items: center; gap: 28px; }
.authoritem { width: 180px; font-size: 34px; line-height: 1; font-family: Georgia, "Microsoft YaHei", serif; font-weight: 700; }
.authoritem a { color: #0871bd; text-shadow: 2px 3px 3px rgba(0, 90, 150, .28); }
.authoritem a:hover { text-decoration: none; color: #0871bd; }
.hot_inner3 { margin-left: auto; flex: 0 0 470px; display: flex; height: 38px; border: 1px solid #9bd5ee; background: #fff; }
.datelist { flex: 1; height: 36px; padding: 0 12px; border: 0; font-size: 14px; outline: 0; }
.card { width: 78px; height: 36px; border: 0; background: #ddd; color: #222; cursor: pointer; }
.info_bd9 { width: 980px; max-width: 980px; height: 42px; margin: 0 auto; background: #74c0df; display: block; overflow: hidden; }
.main_cover { display: flex; height: 42px; width: 980px; }
.info_bd9 a { display: block; color: #fff; font-weight: 700; line-height: 42px; padding: 0 12px; white-space: nowrap; }
.info_bd9 a:hover, .info_bd9 a.img3 { background: #57acd2; color: #fff; text-decoration: none; }
.author_wrap { padding: 12px 0 20px; }

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

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

.list_grid { display: grid; grid-template-columns: 1fr 300px; gap: 12px; margin-bottom: 12px; }
.foot_name, .toolname, .wen_block { border: 3px solid #9bd5ee; background: #eefafa; }
.foot_name h2, .toolname h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd5ee; font-size: 16px; color: #333; }
.imginner li, .main_link li, .cover_name6 li { display: grid; align-items: center; min-height: 30px; line-height: 30px; border-bottom: 1px solid #d1e3e8; overflow: hidden; }
.imginner li { grid-template-columns: 88px minmax(120px,1.15fr) minmax(180px,1.45fr) 90px 50px; column-gap: 8px; padding: 0 10px; }
.main_link li { grid-template-columns: 76px minmax(0, 1fr) 76px; column-gap: 0; padding: 0 10px; }
.main_link li.bd_meta { grid-template-columns: 76px minmax(0, 1fr); }
.cover_name6 li { grid-template-columns: 90px minmax(220px,1fr) minmax(240px,1.2fr) 120px 78px; column-gap: 8px; padding: 0 12px; }
.imginner a, .main_link a, .cover_name6 a, .hot7, .main_box, .tool_line4, .titlecon, .main_link em { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hot7 { color: #555; }
.main_box, .tool_line4, .titlecon, .main_link em { color: #777; font-style: normal; text-align: right; }
.wen_block { padding-bottom: 8px; }
.wen_block h2 { height: 42px; line-height: 42px; padding: 0 12px; background: #fff; border-bottom: 1px solid #ddd; color: #0871bd; font-size: 18px; }
.pic_ft5 { display: grid; grid-template-columns: 160px minmax(160px, 1fr) 160px; gap: 12px; padding: 12px 10px 10px; background: #eefafa; }
.pic_ft5 button, .pic_ft5 select { width: 100%; height: 36px; border-radius: 2px; font: inherit; }
.pic_ft5 button { border: 0; background: #4badd3; color: #fff; cursor: pointer; }
.pic_ft5 button:disabled { opacity: .55; cursor: default; }
.pic_ft5 select { border: 1px solid #b9d7e3; background: #fff; padding: 0 10px; }
.side { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 5px; width: 100%; padding: 10px 6px; box-sizing: border-box; }
.side button, .side select { min-width: 0; padding-left: 3px; padding-right: 3px; font-size: 13px; }
.info_con > [hidden] { display: none !important; }
.hd { margin: 0; padding: 28px 20px; background: #fff; border: 1px solid #ddd; }
.hd h2 { margin: 0 0 8px; font-size: 22px; color: #555; }
.hd p, .mod_row { color: #555; }

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

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

@media (max-width: 1023px) {
  .item_meta, .read_area, .tool_ft, .info_bd9, .main_cover { width: auto; max-width: none; }
  .main_link3 { display: block; }
  .read_area { padding: 0 10px; justify-content: center; }
  .side_grid { padding: 10px; }
  .tool_ft { height: auto; display: block; }
  .authoritem { width: auto; margin-bottom: 8px; font-size: 28px; }
  .hot_inner3 { width: 100%; max-width: none; margin: 0; flex-basis: auto; }
  .info_bd9 { margin: 0 10px; height: 38px; overflow-x: auto; }
  .main_cover { display: flex; height: 38px; min-width: max-content; }
  .info_bd9 a { line-height: 38px; padding: 0 12px; }
  .author_wrap { padding: 8px 10px 16px; }
  .list_box2 { display: block; padding: 8px; }
  .list_box2 .bd_ft { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .list_box2 .foot4, .list_box2 .foot4 img { width: 86px; }
  .list_box2 .foot4 img { height: 116px; }
  .itempanel { display: block; }
  .hot_ft8 { min-height: 0; border-right: 0; }
  .list_grid { display: flex; flex-direction: column; }
  .toolname { order: 1; }
  .foot_name { order: 2; }
  .imginner li { grid-template-columns: 1fr 1fr; gap: 0 10px; min-height: 28px; line-height: 28px; }
  .imginner .hot7, .imginner .main_box, .imginner .titlecon { display: none; }
  .main_link li { grid-template-columns: 1fr 72px; min-height: 28px; line-height: 28px; }
  .main_link li span { display: none; }
  .cover_name6 li { grid-template-columns: 1fr 72px; min-height: 30px; line-height: 30px; }
  .cover_name6 .hot7, .cover_name6 .menu_item { display: none; }
  .cover_name6 .main_box, .cover_name6 .tool_line4 { text-align: right; }
  .wen_block h2 { height: 36px; line-height: 36px; font-size: 16px; }
  .pic_ft5 { grid-template-columns: 1fr 1.25fr 1fr; gap: 8px; padding: 10px 8px; }
  .side { grid-template-columns: 1fr 1.25fr 1fr; }
  .menu_list { display: block; }
  .row { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .title_unit5 img { width: 86px; height: 116px; }
}

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

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

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

  .time_info9 .bd_ft:last-child {
    border-bottom: 0;
  }

  .time_info9 .foot4,
  .time_info9 .foot4 img {
    width: 82px;
  }

  .time_info9 .foot4 img {
    height: 110px;
    object-fit: cover;
  }

  .time_info9 .area {
    min-width: 0;
  }

  .time_info9 .area 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;
  }

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

  .time_info9 .area 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;
  }

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

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

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

  .foot .foot_name h2,
  .foot .toolname h2 {
    padding: 8px 10px;
    font-size: 14px;
    line-height: 20px;
  }

  .foot .imginner 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;
  }

  .foot .imginner .hot7,
  .foot .imginner .foot_col4,
  .foot .imginner .menu_item {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
  }

  .foot .imginner .hot7 {
    display: none;
  }

  .foot .imginner .main_box,
  .foot .imginner .titlecon {
    display: none;
  }

  .foot .main_link 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;
  }

  .foot .main_link li.bd_meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .foot .main_link li > span {
    display: none;
  }

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

/* desktop bqg scale restore */
@media (min-width: 1024px) {
  .item_meta,
  .read_area,
  .tool_ft,
  .main_cover {
    width: 1024px;
    max-width: 1024px;
  }

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

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

  .list_box2 .foot4,
  .list_box2 .foot4 img {
    width: 120px;
  }

  .list_box2 .foot4 img {
    height: 160px;
  }

  .list_box2 .area h3,
  .itempanel .area h3 {
    font-size: 15px;
    line-height: 23px;
  }

  .list_box2 .area p,
  .itempanel .area p {
    font-size: 14px;
    line-height: 24px;
  }

  .hot_ft8 {
    padding: 10px 12px;
  }

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

  .hot_ft8 .foot4,
  .hot_ft8 .foot4 img {
    width: 92px;
  }

  .hot_ft8 .foot4 img {
    height: 124px;
  }

  .read_mod li,
  .main_link li,
  .imginner li {
    font-size: 14px;
    min-height: 24px;
    line-height: 24px;
  }

  .foot_name h2,
  .toolname h2,
  .hot_ft8 h2 {
    font-size: 16px;
  }
}

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

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

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

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

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

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

  .toolbd .list_box2 .bd_ft:nth-child(n+5) {
    display: none;
  }

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

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

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

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

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

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

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

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

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

  .toolbd .list_box2 {
    display: block;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
  }

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

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

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

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

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

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

/* 2026-07-12: force desktop nav/header width to 1024px */
@media (min-width: 1024px) {
  .read_area,
  .tool_ft,
  .main_cover,
  .item_meta {
    width: 1024px !important;
    max-width: 1024px !important;
    box-sizing: border-box;
  }

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

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

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

.info_bd9 a:hover,
.cover_mod a:hover,
.main_cover 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) {
  .read_area,
  .tool_ft,
  .main_cover,
  .item_meta,
  .info_bd9,
  .cover_mod {
    width: 1024px !important;
    max-width: 1024px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .info_bd9,
  .cover_mod {
    overflow: hidden !important;
  }
}

@media (max-width: 1023px) {
  .read_area,
  .tool_ft,
  .main_cover,
  .item_meta,
  .info_bd9,
  .cover_mod {
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .item_meta,
  .tool_ft,
  .read_area {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

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

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

/* nav-hover-disabled: 导航条不保留 hover / focus / active 印记 */
.side_grid nav a:hover,
.side_grid nav a:focus,
.side_grid nav a.img3,
.side_grid nav .img3,
.tool_ft nav a:hover,
.tool_ft nav a:focus,
.tool_ft nav a.img3,
.tool_ft nav .img3,
.info_bd9 a:hover,
.info_bd9 a:focus,
.info_bd9 a.img3,
.info_bd9 .img3,
.cover_mod a:hover,
.cover_mod a:focus,
.cover_mod a.img3,
.cover_mod .img3 {
    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) {
    .read_area,
    .side_grid .tool_ft,
    .tool_ft,
    .item_meta,
    .author_wrap,
    .cover_img7,
    .item_con6,
    .page_unit8,
    .info_bd9,
    .cover_mod {
        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;
    }

    .main_link3,
    .side_grid,
    .author_wrap,
    .list_block4,
    .read_area,
    .side_grid .tool_ft,
    .tool_ft,
    .item_meta,
    .page_unit8,
    .cover_img7,
    .item_con6,
    .area_link,
    .info_bd9,
    .cover_mod {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .read_area,
    .side_grid .tool_ft,
    .tool_ft,
    .item_meta,
    .cover_img7,
    .item_con6,
    .author_wrap {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

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

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

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

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

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

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

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

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

    .card_grid2,
    .bd3bd,
    .nav_block,
    .itemsec,
    .pic,
    .wen_block .head_box,
    .cover_name6,
    .head_box,
    .block_img,
    .site_mod,
    .wrap_mod2,
    .link4 {
        display: block !important;
        grid-template-columns: none !important;
        columns: auto !important;
        width: 100% !important;
    }

    .cont_grid5,
    .cont_wrap2,
    .head_box .shu_line7,
    .cover_name6 .shu_line7,
    .block_img .shu_line7,
    .site_mod .shu_line7,
    .wrap_mod2 .shu_line7,
    .grid,
    .update_col {
        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;
    }

    .cont_grid5 img,
    .cont_wrap2 img,
    .title_unit5 img,
    .head_box .shu_line7 img,
    .cover_name6 .shu_line7 img,
    .block_img .shu_line7 img,
    .site_mod .shu_line7 img,
    .wrap_mod2 .shu_line7 img,
    .grid img,
    .update_col img {
        width: 88px !important;
        height: 118px !important;
        object-fit: cover !important;
    }

    .cont,
    .bar_hd,
    .area,
    .novel_wrap,
    .update_col dl,
    .update_col .tag_line5 {
        min-width: 0 !important;
    }

    .area_sec3,
    .time_mod2,
    .hot_grid,
    .home_list {
        display: block !important;
        grid-template-columns: none !important;
        width: 100% !important;
    }

    .area_sec3 > *,
    .time_mod2 > *,
    .hot_grid > *,
    .home_list > * {
        width: 100% !important;
        margin-bottom: 10px !important;
        box-sizing: border-box !important;
    }
}

/* 导航条不保留 hover/focus/active 视觉印记 */
.info_bd9 a:hover,
.info_bd9 a:focus,
.info_bd9 a:active,
.info_bd9 a.img3,
.info_bd9 .img3,
.cover_mod a:hover,
.cover_mod a:focus,
.cover_mod a:active,
.cover_mod a.img3,
.cover_mod .img3,
.side_grid nav a:hover,
.side_grid nav a:focus,
.side_grid nav a:active,
.side_grid nav a.img3,
.tool_ft nav a:hover,
.tool_ft nav a:focus,
.tool_ft nav a:active,
.tool_ft nav a.img3 {
    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) {
  .toolbd .area p,
  .time_info9 .area p {
    height: 130px;
    line-height: 26px;
  }
}

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

  .tool_ft {
    height: 68px;
  }

  .info_bd9,
  .main_cover {
    height: 38px;
  }

  .info_bd9 a,
  .main_cover a {
    line-height: 38px;
  }

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

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

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

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

  .side_grid .tool_ft,
  .tool_ft {
    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;
  }

  .side_grid .authoritem,
  .side_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;
  }

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

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

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

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

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

  .side_grid .hot_inner3,
  .tool_ft .hot_inner3 {
    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;
  }

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

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

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

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

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

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

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

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

  .text .read_cell3 {
    display: contents !important;
  }

  .text .read_cell3 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;
  }

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

  .text .bar p {
    height: 25px !important;
    line-height: 25px !important;
  }

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

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

  .text .tag.colcell {
    max-height: none !important;
  }

  .text .side_item2 {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
  }

  .novel_main .tool9 {
    grid-template-columns: 1fr !important;
  }

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

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

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

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

  .author_wrap .item_meta > .top_bd {
    margin: 0 0 14px !important;
    padding: 14px 10px 16px !important;
    background: #fff !important;
  }

  .author_wrap .item_meta > .top_bd .box_img {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 14px !important;
  }

  .author_wrap .item_meta > .top_bd .box_img 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) {
  .foot .imginner li {
    height: 35px;
    min-height: 35px;
    line-height: 35px;
  }

  .foot .main_link li,
  .foot .main_link li.bd_meta {
    height: 30px;
    min-height: 30px;
    line-height: 30px;
  }

  /* 数据不足49条时，左右条数相同，统一使用35px行高。 */
  .foot.cover2 .main_link li,
  .foot.cover2 .main_link li.bd_meta {
    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. */
.foot { align-items: stretch; }
.foot .foot_name,
.foot .toolname { min-width: 0; }
.foot .toolname { display: flex; flex-direction: column; }
.foot .toolname .main_link { flex: 0 0 auto; }
.foot .sec_list {
  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;
}
.foot .sec_list > a,
.foot .sec_list > span,
.foot .sec_list > select {
  width: 100%;
  height: 36px;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
.foot .sec_list > a,
.foot .sec_list > span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.foot .sec_list > select {
  border: 1px solid #b9d7e3;
  background: #fff;
  padding: 0 10px;
}
.foot .tool_bar6 {
  margin: auto 0 0;
  padding: 12px 10px 10px;
  border-top: 1px solid #cbdde3;
  box-sizing: border-box;
}
.foot .tool_bar6 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) {
  .foot .sec_list {
    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) {
  .author_wrap.img_info,
  .author_wrap.name_item,
  .author_wrap.rank_col6 {
    width: 100% !important;
    max-width: none !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    box-sizing: border-box !important;
  }

  .author_wrap.img_info > .item_meta,
  .author_wrap.name_item > .item_meta,
  .author_wrap.rank_col6 > .item_meta {
    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;
  }

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

  .author_wrap.top_panel > .item_meta {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .author_wrap.top_panel .date_bar {
    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;
  }

  .author_wrap.top_panel .desc_cover {
    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;
  }

  .author_wrap.top_panel .cell_item,
  .author_wrap.top_panel .grid_inner {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}
