* { 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%; }
.vol_ft, .area_name, .mod_row, .imgname, .panel_mod6 { max-width: 980px; margin: 0 auto; }

.text_cell { height: 30px; background: #f7f7f7; border-bottom: 1px solid #ddd; color: #777; font-size: 12px; }
.area_name { display: flex; gap: 24px; align-items: center; height: 30px; }
.sort8 { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.sort8:hover { color: #0871bd; text-decoration: underline; }
.sec4 { background: #2f8ed8; }
.mod_row { height: 76px; display: flex; align-items: center; gap: 28px; }
.book_bd { width: 170px; font-size: 34px; line-height: 1; font-weight: 700; }
.book_bd a { color: #fff; letter-spacing: 0; }
.book_bd a:hover { color: inherit; text-decoration: none; }
.shu_cell2 { flex: 1; display: flex; max-width: 470px; }
.cat_img8 { flex: 1; height: 38px; padding: 0 12px; border: 0; outline: 0; font-size: 14px; }
.site4 { width: 78px; height: 38px; border: 0; background: #f5a623; color: #fff; font-size: 15px; cursor: pointer; }
.block_img { margin-left: auto; display: flex; gap: 10px; }
.block_img a { color: #fff; padding: 5px 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 2px; }

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

.ft_col { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 12px; }
.tag, .meta_wrap, .item_ft9, .update, .title_grid9, .panel, .top_link { background: #fff; border: 1px solid #ddd; }
.tag { display: grid; grid-template-columns: 1fr 1fr; padding: 12px; gap: 12px; }
.cover { display: flex; min-height: 132px; overflow: hidden; }
.cover .hotbar { width: 88px; flex: 0 0 88px; margin-right: 12px; }
.cover .hotbar img { width: 88px; height: 120px; object-fit: cover; border: 1px solid #ddd; }
.cover dt { height: 28px; line-height: 28px; overflow: hidden; font-weight: 700; }
.cover dt span { float: right; max-width: 72px; color: #888; font-size: 12px; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cover dd { color: #555; height: 88px; overflow: hidden; font-size: 13px; }
.cover dd a { color: #555; }
.areacon, .item_ft9 h2, .title_grid9 h2, .panel h2 { height: 38px; line-height: 38px; padding: 0 12px; border-bottom: 1px solid #ddd; background: #f9f9f9; color: #287dc2; font-size: 16px; }
.col_wrap, .cate_main, .update_box, .row_name5, .row_cover9 { list-style: none; }
.col_wrap li, .update_box li, .row_cover9 li { display: flex; height: 35px; line-height: 35px; padding: 0 12px; border-bottom: 1px dashed #e5e5e5; overflow: hidden; }
.list_line8, .unit_link { width: 86px; color: #888; flex: 0 0 86px; }
.sec9, .side_sec7 { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.text_meta3 { width: 220px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ft_row7, .grid { width: 88px; color: #777; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.descsec { width: 70px; color: #888; text-align: right; }

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

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

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

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

@media (max-width: 768px) {
    .vol_ft, .area_name, .mod_row, .imgname, .panel_mod6 { width: 100%; max-width: none; }
    .text_cell { display: none; }
    .sec4 { padding: 10px; }
    .mod_row { height: auto; display: block; }
    .book_bd { width: auto; margin-bottom: 10px; font-size: 28px; text-align: center; }
    .shu_cell2 { max-width: none; }
    .block_img { display: none; }
    .imgname { display: none; }
    .panel_mod6 { display: flex; overflow-x: auto; background: #287dc2; }
    .panel_mod6 a { color: #fff; line-height: 38px; padding: 0 14px; white-space: nowrap; }
    .pic_mod7 { padding: 8px; }
    .ft_col, .unit_ft { display: block; }
    .tag { grid-template-columns: 1fr; margin-bottom: 10px; }
    .meta_wrap, .item_ft9 { margin-bottom: 10px; }
    .list_line8, .text_meta3, .ft_row7, .unit_link, .grid, .descsec { display: none; }
    .cate_main { columns: 1; }
    .update { display: block; text-align: center; }
    .update .col_main { margin: 0 auto 12px; }
    .grid_list h1 { height: auto; line-height: 1.4; font-size: 24px; }
    .panel_link { justify-content: center; }
    .row_name5 { grid-template-columns: 1fr; }
    .cat_sec { padding: 0 12px 18px; }
    .menu_row7 h1 { font-size: 22px; }
    .text_block9 { font-size: 18px; line-height: 1.95; padding: 14px 0; }
    .info_hd { display: block; font-size: 18px; margin-bottom: 12px; padding-bottom: 8px; line-height: 1.45; }
    .new6 { gap: 8px; }
    .new6 a, .new6 span { min-width: 0; flex: 1; }
}

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

/* Screenshot-style desktop home layout */
body { background: #e6f8fb; color: #555; font-size: 14px; }
a { color: #4d6da8; }
.vol_ft, .area_name, .mod_row, .imgname, .panel_mod6 { max-width: 1160px; }
.text_cell { background: #d9eef3; border-bottom: 1px solid #b8dce7; }
.area_name { color: #6d8f9e; }
.sec4 { background: #e6f8fb; }
.mod_row { height: 82px; gap: 24px; }
.book_bd { width: 150px; font-size: 36px; font-family: Georgia, "Microsoft YaHei", serif; text-shadow: 2px 2px 0 #c3e3f1; }
.book_bd a { color: #0871bd; }
.shu_cell2 { max-width: 480px; margin-left: auto; }
.cat_img8 { height: 36px; border: 1px solid #9bc7df; background: #fff; }
.site4 { height: 36px; background: #ddd; color: #222; }
.block_img { display: none; }
.imgname { height: 44px; background: #79c2e3; padding: 0 10px; }
.imgname a { line-height: 44px; padding: 0 11px; border-right: 0; color: #fff; font-weight: 700; }
.imgname a:hover { background: #5eb1d8; }
.pic_mod7 { padding: 12px 0 24px; }

.cat_area5 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 22px; padding: 14px; margin-bottom: 22px; border: 3px solid #b9dff1; background: #fffdf6; }
.sort_cover { display: grid; grid-template-columns: 126px 1fr; gap: 12px; min-height: 176px; }
.vol_col img { width: 126px; height: 170px; object-fit: cover; border: 1px solid #abc6d4; padding: 3px; background: #fff; }
.home_meta9 h2 { height: 28px; line-height: 28px; font-size: 15px; border-bottom: 1px dotted #c7d8e3; overflow: hidden; }
.home_meta9 h2 a { color: #5b6fad; font-weight: 700; }
.home_meta9 h2 span { float: right; color: #aaa; font-weight: 400; }
.home_meta9 p { padding-top: 8px; color: #555; line-height: 1.85; height: 132px; overflow: hidden; text-indent: 2em; }
.cell { display: grid; grid-template-columns: 1fr 335px; gap: 14px; align-items: start; }
.unit_item5, .cateunit { border: 3px solid #86c9e8; background: #eef6f6; }
.unit_item5 h2, .cateunit h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd3e9; color: #456; font-size: 16px; }
.cover4, .home5 { list-style: none; padding: 8px 12px; }
.cover4 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; }
.cover4 .wrap_hd { color: #555; }
.cover4 .wrap9, .cover4 .time_info, .cover4 .unit { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cover4 .unit, .cover4 .head_meta5 { color: #aaa; text-align: right; }
.home5 li { display: grid; grid-template-columns: 78px 1fr 58px; gap: 6px; height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; overflow: hidden; }
.home5 span { color: #555; }
.home5 a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.home5 em { color: #666; font-style: normal; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.top_mod6 { display: grid; grid-template-columns: 190px 1fr 190px; gap: 18px; padding: 14px 12px; }
.top_mod6 a, .top_mod6 select { height: 40px; border: 0; background: #4eadd0; color: #fff; text-align: center; border-radius: 3px; font-weight: 700; }
.top_mod6 a { line-height: 40px; }
.top_mod6 select { background: #fff; color: #222; border: 1px solid #d8e2e4; padding: 0 12px; }
.textinner { 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; }
    .vol_ft, .area_name, .mod_row, .imgname, .panel_mod6 { width: 100%; max-width: none; }
    .text_cell { display: none; }
    .sec4 { padding: 10px; background: #dff5fb; }
    .mod_row { display: block; height: auto; }
    .book_bd { width: auto; font-size: 30px; text-align: left; margin: 0 0 10px; padding-right: 58px; }
    .shu_cell2 { max-width: none; display: flex; margin-left: 0; }
    .cat_img8 { height: 38px; font-size: 14px; }
    .site4 { width: 72px; height: 38px; }
    .imgname { display: none; }
    .panel_mod6 { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); overflow: hidden; height: 40px; background: #79c2e3; padding: 0; }
    .panel_mod6 a { min-width: 0; color: #fff; line-height: 40px; padding: 0 2px; text-align: center; font-weight: 700; white-space: nowrap; }
    .mod_row .panel_mod6 { margin-bottom: 8px; }
    .pic_mod7 { padding: 8px; }
    .cat_area5 { display: block; padding: 8px; margin-bottom: 10px; border-width: 2px; }
    .sort_cover { display: grid; grid-template-columns: 82px 1fr; gap: 10px; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #d8e2e4; }
    .sort_cover:last-child { border-bottom: 0; }
    .vol_col img { width: 82px; height: 110px; padding: 2px; }
    .home_meta9 h2 { height: 24px; line-height: 24px; font-size: 15px; }
    .home_meta9 h2 span { display: none; }
    .home_meta9 p { height: 78px; line-height: 1.7; padding-top: 5px; text-indent: 0; }
    .cell { display: block; }
    .meta_grid4 { display: flex; flex-direction: column; }
    .meta_grid4 .cateunit { order: 1; }
    .meta_grid4 .unit_item5 { order: 2; }
    .unit_item5, .cateunit { border-width: 2px; margin-bottom: 10px; }
    .unit_item5 h2, .cateunit h2 { height: 34px; line-height: 34px; font-size: 15px; }
    .cover4, .home5 { padding: 4px 8px; }
    .cover4 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; }
    .cover4 .unit, .cover4 .head_meta5 { display: none; }
    .cover4 .wrap_hd { display: block; width: auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #555; }
    .cover4 .wrap9 { font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .cover4 .time_info { color: #777; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .home5 li { grid-template-columns: minmax(0, 1fr) 88px; height: 34px; line-height: 34px; }
    .home5 span { display: none; }
    .top_mod6 { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .top_mod6 select { grid-column: 1 / -1; order: -1; }
    .textinner { padding: 14px 8px; line-height: 1.7; }
}

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

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

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

.cell_grid { position: fixed; right: 18px; bottom: 26px; z-index: 50; display: grid; gap: 8px; }
.cell_grid 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); }
.cell_grid button:hover { background: #4eadd0; }
body.book2 { background: #1e1e1e; color: #aaa; }
body.book2 a { color: #9eb8e8; }
body.book2 .text_cell,
body.book2 .sec4,
body.book2 .textinner { background: #252525; border-color: #3a3a3a; color: #888; }
body.book2 .imgname,
body.book2 .panel_mod6 { background: #333; }
body.book2 .imgname a:hover,
body.book2 .panel_mod6 a:hover { background: #444; }
body.book2 .cat_area5,
body.book2 .cover_boxmeta,
body.book2 .page,
body.book2 .read_link,
body.book2 .card4,
body.book2 .wrap7,
body.book2 .update,
body.book2 .title_grid9,
body.book2 .panel,
body.book2 .top_link,
body.book2 .unit_item5,
body.book2 .cateunit,
body.book2 .nav_cover,
body.book2 .sort_row { background: #2a2a2a; border-color: #444; }
body.book2 .cat_sec { background: #202020; border-color: #444; }
body.book2 .text_block9 { color: #b8b8b8; }
body.book2 .areacon,
body.book2 .item_ft9 h2,
body.book2 .title_grid9 h2,
body.book2 .panel h2,
body.book2 .unit_item5 h2,
body.book2 .cateunit h2,
body.book2 .nav_cover h2,
body.book2 .card4 h1,
body.book2 .top_link h1,
body.book2 .meta_bd3 h2,
body.book2 .wrap7 h1 { background: #333; color: #ccc; border-color: #444; }
body.book2 .home_meta9 p,
body.book2 .ft_wrap2 p,
body.book2 .infobd p,
body.book2 .block_inner p,
body.book2 .title_grid9 p,
body.book2 .grid_list p,
body.book2 .site8 .block_panel { color: #aaa; }
body.book2 .cha th { background: #333; color: #ccc; }
body.book2 .cha th,
body.book2 .cha td,
body.book2 .cover4 li,
body.book2 .home5 li,
body.book2 .nav_cover li,
body.book2 .item_area6 li { border-color: #444; }
body.book2 .cat_img8,
body.book2 .sec_ft input,
body.book2 .top_mod6 select { background: #222; color: #ddd; border-color: #555; }
@media (max-width: 768px) {
    .cell_grid { right: 10px; bottom: 14px; }
    .cell_grid button { width: 48px; height: 32px; font-size: 13px; }
}

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

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

.mainft { border: 3px solid #86c9e8; background: #eef6f6; margin-bottom: 22px; }
.mainft .name_inner { height: 34px; line-height: 34px; padding: 0 12px; color: #456; border-bottom: 1px solid #b9dff1; background: #dcecef; }
.side_sec4 { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 14px 28px 18px; }
.col_list {
    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;
}
.col_list img {
    display: block;
    width: 100%;
    height: 176px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}
.wen_meta h1 { font-size: 30px; line-height: 44px; color: #333; }
.link_grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-bottom: 1px dashed #86aebd; padding-bottom: 6px; margin-bottom: 8px; }
.link_grid p { height: 28px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #444; }
.link_grid .cont_name { color: #b54800; font-weight: 700; grid-column: 1 / -1; }
.cha_img9 { grid-column: 2; line-height: 1.8; color: #444; }
.shu_box { display: none; }
.menu_block { display: none; }
.box_wrap { border: 3px solid #4eadd0; background: #eef6f6; margin-bottom: 30px; }
.box_wrap h2 { height: 38px; line-height: 38px; text-align: center; background: #9fb6bd; color: #333; font-size: 16px; border-bottom: 1px solid #9fc9db; }
.box_wrap .row_name5 { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 12px; list-style: none; }
.box_wrap .row_name5 li { height: 40px; line-height: 40px; border-bottom: 1px dashed #9fb6bd; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-right: 16px; }
.box_wrap .row_name5.top_ft li { font-weight: 700; }
.block { display: grid; grid-template-columns: 250px 1fr 250px; gap: 18px; padding: 16px 12px; }
.block a, .block span, .block button, .block select { height: 40px; line-height: 40px; border: 0; text-align: center; border-radius: 3px; }
.block a, .block span, .block button { background: #1e6f8a; color: #fff; cursor: pointer; font: inherit; }
.block button:disabled { cursor: default; opacity: .65; }
.block select { background: #fff; border: 1px solid #ddd; padding: 0 12px; text-align: left; }
.rank_text9 { background: #eee; padding: 18px 14px; margin-bottom: 20px; }
.rank_text9 h2 { text-align: center; color: #777; font-size: 16px; margin-bottom: 14px; font-weight: 400; }
.head_bar8 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 45px; }
.head_bar8 a { display: block; height: 38px; line-height: 38px; text-align: center; background: #e3e3e3; color: #333; border-radius: 3px; }
@media (max-width: 768px) {
    .mainft, .box_wrap { border-width: 2px; margin-bottom: 12px; }
    .mainft .name_inner { height: auto; line-height: 1.5; padding: 8px; }
    .side_sec4 { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 10px; align-items: start; }
    .col_list { width: 96px; min-height: 126px; padding: 4px; background: rgba(255,255,255,.45); }
    .col_list img { width: 100%; height: 118px; object-fit: contain; object-position: center; }
    .wen_meta { min-width: 0; }
    .wen_meta h1 { font-size: 18px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .link_grid { display: block; border-bottom: 0; padding-bottom: 0; margin-bottom: 6px; }
    .link_grid p { height: 26px; line-height: 26px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .shu_box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; grid-column: 1 / -1; margin: 2px 0 8px; }
    .novel_con { 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; }
    .novel_con:hover { color: #fff; text-decoration: none; opacity: .92; }
    .novel_con.panel_col { background: #f0305a; }
    .novel_con.shu { background: #f1a51e; }
    .novel_con.name_mod { background: #5b8cc3; }
    .cha_img9 { grid-column: 1 / -1; max-height: 118px; overflow: hidden; line-height: 1.85; color: #444; }
    .cha_img9.cate3 { max-height: none; }
    .menu_block { 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; }
    .box_wrap .row_name5 { grid-template-columns: 1fr; padding: 0 8px; }
    .box_wrap .row_name5 li { height: 36px; line-height: 36px; padding-right: 0; }
    .block { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .block select { grid-column: 1 / -1; order: -1; }
    .head_bar8 { grid-template-columns: 1fr; gap: 8px; }
}

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

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

@media (max-width: 768px) {
    html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
    .vol_ft, .pic_mod7, .sec4, .mod_row, .cat_sec, .mainft, .box_wrap { max-width: 100%; overflow-x: hidden; }
    .shu_cell2 { width: 100%; max-width: 100%; }
    .cat_img8 { min-width: 0; }
    .site4 { flex: 0 0 68px; width: 68px; }
    .panel_mod6 { max-width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
    .cat_sec { padding-left: 10px; padding-right: 10px; }
    .name_inner { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .menu_row7 h1 { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
    .menu_row7 p { white-space: normal; overflow-wrap: anywhere; }
    .text_block9 { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .text_block9 p { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .cell_grid { right: 8px; }
}

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

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

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

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

body.book2 .book_bd a { color: #b8d7ef; text-shadow: 1px 1px 0 #1a3c55; }
body.book2 .cat_sec { background: #242424; }
body.book2 .menu_row7 h1 { color: #ddd; }
body.book2 .menu_row7 p,
body.book2 .name_inner { color: #aaa; }
body.book2 .text_block9 { color: #d2d2d2; }
body.book2 .text_block9 p { color: #d2d2d2; }
body.book2.read_block .cat_sec,
body.book2.novel_col .cat_sec,
body.book2.home_grid .cat_sec { background: #242424; }
@media (max-width: 768px) {
    .menu6 { grid-template-columns: auto 28px 28px 28px 1fr 42px; }
    body.book2 .menu6 { background: #2b2b2b; border-color: #555; }
}

:root { --reader-bg-custom: #E9FAFF; }
.cat_sec { background: var(--reader-bg-custom, #f6f1e7); }
body:not(.book2) .cat_sec { background: var(--reader-bg-custom, #E9FAFF); }
body:not(.book2) .text_block9 { color: #333; }

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

@media (max-width: 768px) {
    .cat_sec > .name_inner,
    .cat_sec > .menu_row7 { display: none; }
    .cat_sec { padding-top: 0; }
}

/* 关灯只作用于章节正文，头部、搜索、工具栏和翻页保持原样。 */
body.book2 { background: #e6f8fb; color: #555; }
body.book2 a { color: #4d6da8; }
body.book2 .text_cell { background: #d9eef3; border-color: #b8dce7; color: #6d8f9e; }
body.book2 .sec4,
body.book2 .textinner { background: #e6f8fb; border-color: #72c4e8; color: #555; }
body.book2 .imgname,
body.book2 .panel_mod6 { background: #79c2e3; }
body.book2 .imgname a,
body.book2 .panel_mod6 a { color: #fff; }
body.book2 .cat_img8,
body.book2 .sec_ft input,
body.book2 .top_mod6 select { background: #fff; color: #333; border-color: #9bc7df; }
body.book2 .cat_sec,
body.book2.read_block .cat_sec,
body.book2.novel_col .cat_sec,
body.book2.home_grid .cat_sec { background: #2f3437; border-color: #444; }
body.book2 .menu_row7 h1 { color: #ddd; }
body.book2 .menu_row7 p,
body.book2 .name_inner { color: #aaa; }
body.book2 .new6 a,
body.book2 .new6 span { background: #363b3f; border-color: #555; color: #c8c8c8; }
body.book2 .menu6 { background: #2f3437; border-color: #555; }
body.book2 .menu6 span,
body.book2 .menu6 label { color: #c8c8c8; }
body.book2 .menu6 select,
body.book2 .menu6 button { background: #363b3f; border-color: #6b747b; color: #c8d7e8; }
body.book2 .text_block9 { background: transparent; color: #aaa; }
body.book2 .info_hd { border-color: #555; color: #bbb; }
body.book2 .text_block9 p { color: #aaa; }
body.book2 .book_bd a { color: #0871bd; text-shadow: 2px 2px 0 #c3e3f1; }
body.book2 .link_meta { color: #0871bd; border-color: #79c2e3; background: rgba(255,255,255,.55); }
body.book2 .link_meta:hover { color: #0871bd; background: rgba(255,255,255,.8); }
body.book2 .areaname { background: #eee; }
body.book2 .areaname h2 { color: #777; }
body.book2 .wen a { background: #e3e3e3; color: #333; }
.side_grid { text-align: center; padding: 54px 20px 62px; border: 3px solid #86c9e8; background: #fffdf6; }
.side_grid h1 { margin-bottom: 12px; color: #287dc2; font-size: 30px; font-weight: 700; }
.side_grid p { margin: 8px 0; color: #555; }
.bd_list5 { display: inline-block; min-width: 110px; height: 34px; margin-top: 12px; line-height: 34px; background: #4eadd0; color: #fff; border-radius: 3px; }
.bd_list5:hover { color: #fff; text-decoration: none; background: #287dc2; }
@media (max-width: 768px) {
    body.book2 .sec4 { background: #dff5fb; }
    .side_grid { padding: 42px 12px 48px; border-width: 2px; }
    .side_grid h1 { font-size: 24px; }
}

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

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

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

/* static rank page, bqg style */
.read_link.unit8 {
  display: block;
  border: 2px solid #8ed1ef;
  background: #fffdf6;
  padding: 12px;
}
.unit8 .cha_link {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  margin: 0 0 10px;
  min-height: 28px;
}
.unit8 .cha_link h2 {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  color: #444;
  font-weight: 700;
}
.unit8 .cha_link strong {
  grid-column: 2 / 3;
  text-align: center;
  font-size: 18px;
  line-height: 28px;
  color: #444;
}
.unit8 .cate_name {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 12px;
}
.unit8 .top_bar {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  min-height: 156px;
  overflow: hidden;
}
.unit8 .update_line6 img {
  width: 110px;
  height: 148px;
  object-fit: cover;
  border: 1px solid #b7d2dd;
  background: #fff;
}
.unit8 .barlink {
  min-width: 0;
}
.unit8 .top_bar 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;
}
.unit8 .top_bar h3 a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.unit8 .top_bar h3 span,
.unit8 .top_bar h3 em {
  color: #999;
  font-weight: 400;
  font-style: normal;
  white-space: nowrap;
}
.unit8 .main_block {
  margin: 4px 0;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
}
.unit8 .main_block a {
  display: inline;
}
.unit8 .card_list {
  margin: 6px 0 0;
  color: #333;
  font-size: 13px;
  line-height: 23px;
  max-height: 92px;
  overflow: hidden;
}
@media (max-width: 720px) {
  .read_link.unit8 {
    padding: 8px;
  }
  .unit8 .cha_link {
    display: flex;
    justify-content: space-between;
  }
  .unit8 .cha_link h2 {
    font-size: 20px;
  }
  .unit8 .cha_link strong {
    font-size: 16px;
  }
  .unit8 .cate_name {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .unit8 .top_bar {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 116px;
  }
  .unit8 .update_line6 img {
    width: 86px;
    height: 116px;
  }
  .unit8 .card_list {
    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; }
.vol_ft, .area_name, .mod_row, .weninner { width: 980px; max-width: 980px; margin: 0 auto; }
.sec4 { background: #e6f8fb; }
.mod_row { height: 86px; display: flex; align-items: center; gap: 28px; }
.book_bd { width: 180px; font-size: 34px; line-height: 1; font-family: Georgia, "Microsoft YaHei", serif; font-weight: 700; }
.book_bd a { color: #0871bd; text-shadow: 2px 3px 3px rgba(0, 90, 150, .28); }
.book_bd a:hover { text-decoration: none; color: #0871bd; }
.shu_cell2 { margin-left: auto; flex: 0 0 470px; display: flex; height: 38px; border: 1px solid #9bd5ee; background: #fff; }
.cat_img8 { flex: 1; height: 36px; padding: 0 12px; border: 0; font-size: 14px; outline: 0; }
.site4 { width: 78px; height: 36px; border: 0; background: #ddd; color: #222; cursor: pointer; }
.imgname { width: 980px; max-width: 980px; height: 42px; margin: 0 auto; background: #74c0df; display: block; overflow: hidden; }
.weninner { display: flex; height: 42px; width: 980px; }
.imgname a { display: block; color: #fff; font-weight: 700; line-height: 42px; padding: 0 12px; white-space: nowrap; }
.imgname a:hover, .imgname a.cate { background: #57acd2; color: #fff; text-decoration: none; }
.pic_mod7 { padding: 12px 0 20px; }

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

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

.cell_item { display: grid; grid-template-columns: 1fr 300px; gap: 12px; margin-bottom: 12px; }
.foot_hd4, .home_list, .cover_box { border: 3px solid #9bd5ee; background: #eefafa; }
.foot_hd4 h2, .home_list h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd5ee; font-size: 16px; color: #333; }
.update_box li, .catewrap li, .row_cover9 li { display: grid; align-items: center; min-height: 30px; line-height: 30px; border-bottom: 1px solid #d1e3e8; overflow: hidden; }
.update_box li { grid-template-columns: 88px minmax(120px,1.15fr) minmax(180px,1.45fr) 90px 50px; column-gap: 8px; padding: 0 10px; }
.catewrap li { grid-template-columns: 76px minmax(0, 1fr) 76px; column-gap: 0; padding: 0 10px; }
.catewrap li.book4 { grid-template-columns: 76px minmax(0, 1fr); }
.row_cover9 li { grid-template-columns: 90px minmax(220px,1fr) minmax(240px,1.2fr) 120px 78px; column-gap: 8px; padding: 0 12px; }
.update_box a, .catewrap a, .row_cover9 a, .navwrap, .bd_con, .book_meta, .home_cover8, .catewrap em { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.navwrap { color: #555; }
.bd_con, .book_meta, .home_cover8, .catewrap em { color: #777; font-style: normal; text-align: right; }
.cover_box { padding-bottom: 8px; }
.cover_box h2 { height: 42px; line-height: 42px; padding: 0 12px; background: #fff; border-bottom: 1px solid #ddd; color: #0871bd; font-size: 18px; }
.foot_row9 { display: grid; grid-template-columns: 160px minmax(160px, 1fr) 160px; gap: 12px; padding: 12px 10px 10px; background: #eefafa; }
.foot_row9 button, .foot_row9 select { width: 100%; height: 36px; border-radius: 2px; font: inherit; }
.foot_row9 button { border: 0; background: #4badd3; color: #fff; cursor: pointer; }
.foot_row9 button:disabled { opacity: .55; cursor: default; }
.foot_row9 select { border: 1px solid #b9d7e3; background: #fff; padding: 0 10px; }
.foot_main8 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 5px; width: 100%; padding: 10px 6px; box-sizing: border-box; }
.foot_main8 button, .foot_main8 select { min-width: 0; padding-left: 3px; padding-right: 3px; font-size: 13px; }
.title_meta > [hidden] { display: none !important; }
.mod_cover { margin: 0; padding: 28px 20px; background: #fff; border: 1px solid #ddd; }
.mod_cover h2 { margin: 0 0 8px; font-size: 22px; color: #555; }
.mod_cover p, .text { color: #555; }

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

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

@media (max-width: 1023px) {
  .vol_ft, .area_name, .mod_row, .imgname, .weninner { width: auto; max-width: none; }
  .text_cell { display: block; }
  .area_name { padding: 0 10px; justify-content: center; }
  .sec4 { padding: 10px; }
  .mod_row { height: auto; display: block; }
  .book_bd { width: auto; margin-bottom: 8px; font-size: 28px; }
  .shu_cell2 { width: 100%; max-width: none; margin: 0; flex-basis: auto; }
  .imgname { margin: 0 10px; height: 38px; overflow-x: auto; }
  .weninner { display: flex; height: 38px; min-width: max-content; }
  .imgname a { line-height: 38px; padding: 0 12px; }
  .pic_mod7 { padding: 8px 10px 16px; }
  .area_unit { display: block; padding: 8px; }
  .area_unit .tool_item { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .area_unit .col_main, .area_unit .col_main img { width: 86px; }
  .area_unit .col_main img { height: 116px; }
  .cont_info { display: block; }
  .desc_link { min-height: 0; border-right: 0; }
  .cell_item { display: flex; flex-direction: column; }
  .home_list { order: 1; }
  .foot_hd4 { order: 2; }
  .update_box li { grid-template-columns: 1fr 1fr; gap: 0 10px; min-height: 28px; line-height: 28px; }
  .update_box .navwrap, .update_box .bd_con, .update_box .home_cover8 { display: none; }
  .catewrap li { grid-template-columns: 1fr 72px; min-height: 28px; line-height: 28px; }
  .catewrap li span { display: none; }
  .row_cover9 li { grid-template-columns: 1fr 72px; min-height: 30px; line-height: 30px; }
  .row_cover9 .navwrap, .row_cover9 .hd { display: none; }
  .row_cover9 .bd_con, .row_cover9 .book_meta { text-align: right; }
  .cover_box h2 { height: 36px; line-height: 36px; font-size: 16px; }
  .foot_row9 { grid-template-columns: 1fr 1.25fr 1fr; gap: 8px; padding: 10px 8px; }
  .foot_main8 { grid-template-columns: 1fr 1.25fr 1fr; }
  .site_cover { display: block; }
  .topimg { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .sort3 img { width: 86px; height: 116px; }
}

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

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

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

  .cha_info .tool_item:last-child {
    border-bottom: 0;
  }

  .cha_info .col_main,
  .cha_info .col_main img {
    width: 82px;
  }

  .cha_info .col_main img {
    height: 110px;
    object-fit: cover;
  }

  .cha_info .num {
    min-width: 0;
  }

  .cha_info .num 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;
  }

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

  .cha_info .num 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;
  }

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

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

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

  .time .foot_hd4 h2,
  .time .home_list h2 {
    padding: 8px 10px;
    font-size: 14px;
    line-height: 20px;
  }

  .time .update_box 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;
  }

  .time .update_box .navwrap,
  .time .update_box .hot,
  .time .update_box .hd {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
  }

  .time .update_box .navwrap {
    display: none;
  }

  .time .update_box .bd_con,
  .time .update_box .home_cover8 {
    display: none;
  }

  .time .catewrap 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;
  }

  .time .catewrap li.book4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .time .catewrap li > span {
    display: none;
  }

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

/* desktop bqg scale restore */
@media (min-width: 1024px) {
  .vol_ft,
  .area_name,
  .mod_row,
  .weninner {
    width: 1024px;
    max-width: 1024px;
  }

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

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

  .area_unit .col_main,
  .area_unit .col_main img {
    width: 120px;
  }

  .area_unit .col_main img {
    height: 160px;
  }

  .area_unit .num h3,
  .cont_info .num h3 {
    font-size: 15px;
    line-height: 23px;
  }

  .area_unit .num p,
  .cont_info .num p {
    font-size: 14px;
    line-height: 24px;
  }

  .desc_link {
    padding: 10px 12px;
  }

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

  .desc_link .col_main,
  .desc_link .col_main img {
    width: 92px;
  }

  .desc_link .col_main img {
    height: 124px;
  }

  .rank_area li,
  .catewrap li,
  .update_box li {
    font-size: 14px;
    min-height: 24px;
    line-height: 24px;
  }

  .foot_hd4 h2,
  .home_list h2,
  .desc_link h2 {
    font-size: 16px;
  }
}

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

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

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

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

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

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

  .foot6 .area_unit .tool_item:nth-child(n+5) {
    display: none;
  }

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

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

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

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

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

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

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

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

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

  .foot6 .area_unit {
    display: block;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
  }

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

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

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

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

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

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

/* 2026-07-12: force desktop nav/header width to 1024px */
@media (min-width: 1024px) {
  .area_name,
  .mod_row,
  .weninner,
  .vol_ft {
    width: 1024px !important;
    max-width: 1024px !important;
    box-sizing: border-box;
  }

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

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

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

.imgname a:hover,
.panel_mod6 a:hover,
.weninner 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) {
  .area_name,
  .mod_row,
  .weninner,
  .vol_ft,
  .imgname,
  .panel_mod6 {
    width: 1024px !important;
    max-width: 1024px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .imgname,
  .panel_mod6 {
    overflow: hidden !important;
  }
}

@media (max-width: 1023px) {
  .area_name,
  .mod_row,
  .weninner,
  .vol_ft,
  .imgname,
  .panel_mod6 {
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .vol_ft,
  .mod_row,
  .area_name {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

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

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

/* nav-hover-disabled: 导航条不保留 hover / focus / active 印记 */
.sec4 nav a:hover,
.sec4 nav a:focus,
.sec4 nav a.cate,
.sec4 nav .cate,
.mod_row nav a:hover,
.mod_row nav a:focus,
.mod_row nav a.cate,
.mod_row nav .cate,
.imgname a:hover,
.imgname a:focus,
.imgname a.cate,
.imgname .cate,
.panel_mod6 a:hover,
.panel_mod6 a:focus,
.panel_mod6 a.cate,
.panel_mod6 .cate {
    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) {
    .area_name,
    .sec4 .mod_row,
    .mod_row,
    .vol_ft,
    .pic_mod7,
    .cha_ft9,
    .book_hd2,
    .novel_name6,
    .imgname,
    .panel_mod6 {
        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;
    }

    .text_cell,
    .sec4,
    .pic_mod7,
    .textinner,
    .area_name,
    .sec4 .mod_row,
    .mod_row,
    .vol_ft,
    .novel_name6,
    .cha_ft9,
    .book_hd2,
    .book_sec,
    .imgname,
    .panel_mod6 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .area_name,
    .sec4 .mod_row,
    .mod_row,
    .vol_ft,
    .cha_ft9,
    .book_hd2,
    .pic_mod7 {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

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

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

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

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

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

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

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

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

    .read_link,
    .mod,
    .nav_grid5,
    .toolgrid,
    .card_img,
    .cover_box .infobox,
    .row_cover9,
    .infobox,
    .update_meta8,
    .list,
    .top_line,
    .mainft {
        display: block !important;
        grid-template-columns: none !important;
        columns: auto !important;
        width: 100% !important;
    }

    .tool8s,
    .shu_bar,
    .infobox .itemrow,
    .row_cover9 .itemrow,
    .update_meta8 .itemrow,
    .list .itemrow,
    .top_line .itemrow,
    .cat_unit8,
    .cover {
        display: grid !important;
        grid-template-columns: 88px minmax(0, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
        min-height: 118px !important;
        margin: 0 0 12px !important;
        padding-bottom: 10px !important;
        border-bottom: 1px dotted #98c9d9 !important;
        box-sizing: border-box !important;
        break-inside: avoid !important;
    }

    .tool8s img,
    .shu_bar img,
    .sort3 img,
    .infobox .itemrow img,
    .row_cover9 .itemrow img,
    .update_meta8 .itemrow img,
    .list .itemrow img,
    .top_line .itemrow img,
    .cat_unit8 img,
    .cover img {
        width: 88px !important;
        height: 118px !important;
        object-fit: cover !important;
    }

    .block_inner,
    .cont_con6,
    .num,
    .grid_list,
    .cover dl,
    .cover .page_wrap {
        min-width: 0 !important;
    }

    .ft_unit6,
    .area,
    .ft_col,
    .tool3 {
        display: block !important;
        grid-template-columns: none !important;
        width: 100% !important;
    }

    .ft_unit6 > *,
    .area > *,
    .ft_col > *,
    .tool3 > * {
        width: 100% !important;
        margin-bottom: 10px !important;
        box-sizing: border-box !important;
    }
}

/* 导航条不保留 hover/focus/active 视觉印记 */
.imgname a:hover,
.imgname a:focus,
.imgname a:active,
.imgname a.cate,
.imgname .cate,
.panel_mod6 a:hover,
.panel_mod6 a:focus,
.panel_mod6 a:active,
.panel_mod6 a.cate,
.panel_mod6 .cate,
.sec4 nav a:hover,
.sec4 nav a:focus,
.sec4 nav a:active,
.sec4 nav a.cate,
.mod_row nav a:hover,
.mod_row nav a:focus,
.mod_row nav a:active,
.mod_row nav a.cate {
    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) {
  .foot6 .num p,
  .cha_info .num p {
    height: 130px;
    line-height: 26px;
  }
}

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

  .mod_row {
    height: 68px;
  }

  .imgname,
  .weninner {
    height: 38px;
  }

  .imgname a,
  .weninner a {
    line-height: 38px;
  }

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

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

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

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

  .sec4 .mod_row,
  .mod_row {
    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;
  }

  .sec4 .book_bd,
  .sec4 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;
  }

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

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

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

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

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

  .sec4 .shu_cell2,
  .mod_row .shu_cell2 {
    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;
  }

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

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

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

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

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

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

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

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

  .side_sec4 .wen_meta {
    display: contents !important;
  }

  .side_sec4 .wen_meta 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;
  }

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

  .side_sec4 .link_grid p {
    height: 25px !important;
    line-height: 25px !important;
  }

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

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

  .side_sec4 .cha_img9.cate3 {
    max-height: none !important;
  }

  .side_sec4 .menu_block {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
  }

  .box_wrap .row_name5 {
    grid-template-columns: 1fr !important;
  }

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

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

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

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

  .pic_mod7 .vol_ft > .rank_text9 {
    margin: 0 0 14px !important;
    padding: 14px 10px 16px !important;
    background: #fff !important;
  }

  .pic_mod7 .vol_ft > .rank_text9 .head_bar8 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 14px !important;
  }

  .pic_mod7 .vol_ft > .rank_text9 .head_bar8 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) {
  .time .update_box li {
    height: 35px;
    min-height: 35px;
    line-height: 35px;
  }

  .time .catewrap li,
  .time .catewrap li.book4 {
    height: 30px;
    min-height: 30px;
    line-height: 30px;
  }

  /* 数据不足49条时，左右条数相同，统一使用35px行高。 */
  .time.block_panel9 .catewrap li,
  .time.block_panel9 .catewrap li.book4 {
    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. */
.time { align-items: stretch; }
.time .foot_hd4,
.time .home_list { min-width: 0; }
.time .home_list { display: flex; flex-direction: column; }
.time .home_list .catewrap { flex: 0 0 auto; }
.time .grid_inner5 {
  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;
}
.time .grid_inner5 > a,
.time .grid_inner5 > span,
.time .grid_inner5 > select {
  width: 100%;
  height: 36px;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
.time .grid_inner5 > a,
.time .grid_inner5 > span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.time .grid_inner5 > select {
  border: 1px solid #b9d7e3;
  background: #fff;
  padding: 0 10px;
}
.time .cell_hd7 {
  margin: auto 0 0;
  padding: 12px 10px 10px;
  border-top: 1px solid #cbdde3;
  box-sizing: border-box;
}
.time .cell_hd7 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) {
  .time .grid_inner5 {
    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) {
  .pic_mod7.cont,
  .pic_mod7.new_item,
  .pic_mod7.cont3 {
    width: 100% !important;
    max-width: none !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    box-sizing: border-box !important;
  }

  .pic_mod7.cont > .vol_ft,
  .pic_mod7.new_item > .vol_ft,
  .pic_mod7.cont3 > .vol_ft {
    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;
  }

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

  .pic_mod7.contlist > .vol_ft {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .pic_mod7.contlist .cat_sec {
    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;
  }

  .pic_mod7.contlist .text_block9 {
    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;
  }

  .pic_mod7.contlist .menu6,
  .pic_mod7.contlist .new6 {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}
