* { 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%; }
.block_list, .bar_text, .vol_name, .info_bd9, .ft { max-width: 980px; margin: 0 auto; }

.catepanel { height: 30px; background: #f7f7f7; border-bottom: 1px solid #ddd; color: #777; font-size: 12px; }
.bar_text { display: flex; gap: 24px; align-items: center; height: 30px; }
.time_meta { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.time_meta:hover { color: #0871bd; text-decoration: underline; }
.side_link { background: #2f8ed8; }
.vol_name { height: 76px; display: flex; align-items: center; gap: 28px; }
.grid { width: 170px; font-size: 34px; line-height: 1; font-weight: 700; }
.grid a { color: #fff; letter-spacing: 0; }
.grid a:hover { color: inherit; text-decoration: none; }
.barrow { flex: 1; display: flex; max-width: 470px; }
.nav_main { flex: 1; height: 38px; padding: 0 12px; border: 0; outline: 0; font-size: 14px; }
.img_info { width: 78px; height: 38px; border: 0; background: #f5a623; color: #fff; font-size: 15px; cursor: pointer; }
.date_mod9 { margin-left: auto; display: flex; gap: 10px; }
.date_mod9 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; }
.ft { display: none; }
.cateimg { padding: 12px 0 20px; }

.col_name { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 12px; }
.sec3, .update_bd8, .site_wrap9, .img_row, .read_ft, .main_hd3, .tool { background: #fff; border: 1px solid #ddd; }
.sec3 { display: grid; grid-template-columns: 1fr 1fr; padding: 12px; gap: 12px; }
.text { display: flex; min-height: 132px; overflow: hidden; }
.text .time_mod3 { width: 88px; flex: 0 0 88px; margin-right: 12px; }
.text .time_mod3 img { width: 88px; height: 120px; object-fit: cover; border: 1px solid #ddd; }
.text dt { height: 28px; line-height: 28px; overflow: hidden; font-weight: 700; }
.text dt span { float: right; max-width: 72px; color: #888; font-size: 12px; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.text dd { color: #555; height: 88px; overflow: hidden; font-size: 13px; }
.text dd a { color: #555; }
.cellmeta, .site_wrap9 h2, .read_ft h2, .main_hd3 h2 { height: 38px; line-height: 38px; padding: 0 12px; border-bottom: 1px solid #ddd; background: #f9f9f9; color: #287dc2; font-size: 16px; }
.cell_collink, .page_meta, .rank_bd3, .toolbox, .bd_sec { list-style: none; }
.cell_collink li, .rank_bd3 li, .bd_sec li { display: flex; height: 35px; line-height: 35px; padding: 0 12px; border-bottom: 1px dashed #e5e5e5; overflow: hidden; }
.tool_cell, .pic { width: 86px; color: #888; flex: 0 0 86px; }
.read_col, .cell_list3 { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.update { width: 220px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.wen5grid, .pic4 { width: 88px; color: #777; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hot_col7 { width: 70px; color: #888; text-align: right; }

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

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

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

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

@media (max-width: 768px) {
    .block_list, .bar_text, .vol_name, .info_bd9, .ft { width: 100%; max-width: none; }
    .catepanel { display: none; }
    .side_link { padding: 10px; }
    .vol_name { height: auto; display: block; }
    .grid { width: auto; margin-bottom: 10px; font-size: 28px; text-align: center; }
    .barrow { max-width: none; }
    .date_mod9 { display: none; }
    .info_bd9 { display: none; }
    .ft { display: flex; overflow-x: auto; background: #287dc2; }
    .ft a { color: #fff; line-height: 38px; padding: 0 14px; white-space: nowrap; }
    .cateimg { padding: 8px; }
    .col_name, .read_con7 { display: block; }
    .sec3 { grid-template-columns: 1fr; margin-bottom: 10px; }
    .update_bd8, .site_wrap9 { margin-bottom: 10px; }
    .tool_cell, .update, .wen5grid, .pic, .pic4, .hot_col7 { display: none; }
    .page_meta { columns: 1; }
    .img_row { display: block; text-align: center; }
    .img_row .cont_area9 { margin: 0 auto 12px; }
    .wen_info9 h1 { height: auto; line-height: 1.4; font-size: 24px; }
    .meta_inner { justify-content: center; }
    .toolbox { grid-template-columns: 1fr; }
    .ftlink { padding: 0 12px 18px; }
    .ranks h1 { font-size: 22px; }
    .site_panel { font-size: 18px; line-height: 1.95; padding: 14px 0; }
    .side_inner3 { display: block; font-size: 18px; margin-bottom: 12px; padding-bottom: 8px; line-height: 1.45; }
    .time7 { gap: 8px; }
    .time7 a, .time7 span { min-width: 0; flex: 1; }
}

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

/* Screenshot-style desktop home layout */
body { background: #e6f8fb; color: #555; font-size: 14px; }
a { color: #4d6da8; }
.block_list, .bar_text, .vol_name, .info_bd9, .ft { max-width: 1160px; }
.catepanel { background: #d9eef3; border-bottom: 1px solid #b8dce7; }
.bar_text { color: #6d8f9e; }
.side_link { background: #e6f8fb; }
.vol_name { height: 82px; gap: 24px; }
.grid { width: 150px; font-size: 36px; font-family: Georgia, "Microsoft YaHei", serif; text-shadow: 2px 2px 0 #c3e3f1; }
.grid a { color: #0871bd; }
.barrow { max-width: 480px; margin-left: auto; }
.nav_main { height: 36px; border: 1px solid #9bc7df; background: #fff; }
.img_info { height: 36px; background: #ddd; color: #222; }
.date_mod9 { 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; }
.cateimg { padding: 12px 0 24px; }

.text_ft { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 22px; padding: 14px; margin-bottom: 22px; border: 3px solid #b9dff1; background: #fffdf6; }
.foot9 { display: grid; grid-template-columns: 126px 1fr; gap: 12px; min-height: 176px; }
.rank_line8 img { width: 126px; height: 170px; object-fit: cover; border: 1px solid #abc6d4; padding: 3px; background: #fff; }
.itembar h2 { height: 28px; line-height: 28px; font-size: 15px; border-bottom: 1px dotted #c7d8e3; overflow: hidden; }
.itembar h2 a { color: #5b6fad; font-weight: 700; }
.itembar h2 span { float: right; color: #aaa; font-weight: 400; }
.itembar p { padding-top: 8px; color: #555; line-height: 1.85; height: 132px; overflow: hidden; text-indent: 2em; }
.sec { display: grid; grid-template-columns: 1fr 335px; gap: 14px; align-items: start; }
.author_meta9, .mod { border: 3px solid #86c9e8; background: #eef6f6; }
.author_meta9 h2, .mod h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd3e9; color: #456; font-size: 16px; }
.row_inner, .link_area { list-style: none; padding: 8px 12px; }
.row_inner 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; }
.row_inner .desc_cover { color: #555; }
.row_inner .book3, .row_inner .hot_main, .row_inner .menu7 { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.row_inner .menu7, .row_inner .list_inner { color: #aaa; text-align: right; }
.link_area li { display: grid; grid-template-columns: 78px 1fr 58px; gap: 6px; height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; overflow: hidden; }
.link_area span { color: #555; }
.link_area a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.link_area em { color: #666; font-style: normal; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.book8 { display: grid; grid-template-columns: 190px 1fr 190px; gap: 18px; padding: 14px 12px; }
.book8 a, .book8 select { height: 40px; border: 0; background: #4eadd0; color: #fff; text-align: center; border-radius: 3px; font-weight: 700; }
.book8 a { line-height: 40px; }
.book8 select { background: #fff; color: #222; border: 1px solid #d8e2e4; padding: 0 12px; }
.cont_mod2 { 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; }
    .block_list, .bar_text, .vol_name, .info_bd9, .ft { width: 100%; max-width: none; }
    .catepanel { display: none; }
    .side_link { padding: 10px; background: #dff5fb; }
    .vol_name { display: block; height: auto; }
    .grid { width: auto; font-size: 30px; text-align: left; margin: 0 0 10px; padding-right: 58px; }
    .barrow { max-width: none; display: flex; margin-left: 0; }
    .nav_main { height: 38px; font-size: 14px; }
    .img_info { width: 72px; height: 38px; }
    .info_bd9 { display: none; }
    .ft { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); overflow: hidden; height: 40px; background: #79c2e3; padding: 0; }
    .ft a { min-width: 0; color: #fff; line-height: 40px; padding: 0 2px; text-align: center; font-weight: 700; white-space: nowrap; }
    .vol_name .ft { margin-bottom: 8px; }
    .cateimg { padding: 8px; }
    .text_ft { display: block; padding: 8px; margin-bottom: 10px; border-width: 2px; }
    .foot9 { display: grid; grid-template-columns: 82px 1fr; gap: 10px; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #d8e2e4; }
    .foot9:last-child { border-bottom: 0; }
    .rank_line8 img { width: 82px; height: 110px; padding: 2px; }
    .itembar h2 { height: 24px; line-height: 24px; font-size: 15px; }
    .itembar h2 span { display: none; }
    .itembar p { height: 78px; line-height: 1.7; padding-top: 5px; text-indent: 0; }
    .sec { display: block; }
    .foot_item { display: flex; flex-direction: column; }
    .foot_item .mod { order: 1; }
    .foot_item .author_meta9 { order: 2; }
    .author_meta9, .mod { border-width: 2px; margin-bottom: 10px; }
    .author_meta9 h2, .mod h2 { height: 34px; line-height: 34px; font-size: 15px; }
    .row_inner, .link_area { padding: 4px 8px; }
    .row_inner 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; }
    .row_inner .menu7, .row_inner .list_inner { display: none; }
    .row_inner .desc_cover { display: block; width: auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #555; }
    .row_inner .book3 { font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .row_inner .hot_main { color: #777; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .link_area li { grid-template-columns: minmax(0, 1fr) 88px; height: 34px; line-height: 34px; }
    .link_area span { display: none; }
    .book8 { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .book8 select { grid-column: 1 / -1; order: -1; }
    .cont_mod2 { padding: 14px 8px; line-height: 1.7; }
}

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

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

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

.block7 { position: fixed; right: 18px; bottom: 26px; z-index: 50; display: grid; gap: 8px; }
.block7 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); }
.block7 button:hover { background: #4eadd0; }
body.cover { background: #1e1e1e; color: #aaa; }
body.cover a { color: #9eb8e8; }
body.cover .catepanel,
body.cover .side_link,
body.cover .cont_mod2 { background: #252525; border-color: #3a3a3a; color: #888; }
body.cover .info_bd9,
body.cover .ft { background: #333; }
body.cover .info_bd9 a:hover,
body.cover .ft a:hover { background: #444; }
body.cover .text_ft,
body.cover .time_main,
body.cover .mod_line3,
body.cover .panel_cover,
body.cover .list_link4,
body.cover .nav_hd,
body.cover .img_row,
body.cover .read_ft,
body.cover .main_hd3,
body.cover .tool,
body.cover .author_meta9,
body.cover .mod,
body.cover .wrapblock,
body.cover .row { background: #2a2a2a; border-color: #444; }
body.cover .ftlink { background: #202020; border-color: #444; }
body.cover .site_panel { color: #b8b8b8; }
body.cover .cellmeta,
body.cover .site_wrap9 h2,
body.cover .read_ft h2,
body.cover .main_hd3 h2,
body.cover .author_meta9 h2,
body.cover .mod h2,
body.cover .wrapblock h2,
body.cover .list_link4 h1,
body.cover .tool h1,
body.cover .novel_con h2,
body.cover .nav_hd h1 { background: #333; color: #ccc; border-color: #444; }
body.cover .itembar p,
body.cover .ft_mod7 p,
body.cover .name_text p,
body.cover .page_grid6 p,
body.cover .read_ft p,
body.cover .wen_info9 p,
body.cover .hot .author_row { color: #aaa; }
body.cover .desc_bar6 th { background: #333; color: #ccc; }
body.cover .desc_bar6 th,
body.cover .desc_bar6 td,
body.cover .row_inner li,
body.cover .link_area li,
body.cover .wrapblock li,
body.cover .hd_col9 li { border-color: #444; }
body.cover .nav_main,
body.cover .vol input,
body.cover .book8 select { background: #222; color: #ddd; border-color: #555; }
@media (max-width: 768px) {
    .block7 { right: 10px; bottom: 14px; }
    .block7 button { width: 48px; height: 32px; font-size: 13px; }
}

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

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

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

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

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

@media (max-width: 768px) {
    html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
    .block_list, .cateimg, .side_link, .vol_name, .ftlink, .img_box2, .wrap_main5 { max-width: 100%; overflow-x: hidden; }
    .barrow { width: 100%; max-width: 100%; }
    .nav_main { min-width: 0; }
    .img_info { flex: 0 0 68px; width: 68px; }
    .ft { max-width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
    .ftlink { padding-left: 10px; padding-right: 10px; }
    .top6 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .ranks h1 { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
    .ranks p { white-space: normal; overflow-wrap: anywhere; }
    .site_panel { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .site_panel p { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .block7 { right: 8px; }
}

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

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

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

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

body.cover .grid a { color: #b8d7ef; text-shadow: 1px 1px 0 #1a3c55; }
body.cover .ftlink { background: #242424; }
body.cover .ranks h1 { color: #ddd; }
body.cover .ranks p,
body.cover .top6 { color: #aaa; }
body.cover .site_panel { color: #d2d2d2; }
body.cover .site_panel p { color: #d2d2d2; }
body.cover.rowsec .ftlink,
body.cover.sort_cover .ftlink,
body.cover.chaitem .ftlink { background: #242424; }
@media (max-width: 768px) {
    .num_area6 { grid-template-columns: auto 28px 28px 28px 1fr 42px; }
    body.cover .num_area6 { background: #2b2b2b; border-color: #555; }
}

:root { --reader-bg-custom: #E9FAFF; }
.ftlink { background: var(--reader-bg-custom, #f6f1e7); }
body:not(.cover) .ftlink { background: var(--reader-bg-custom, #E9FAFF); }
body:not(.cover) .site_panel { color: #333; }

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

@media (max-width: 768px) {
    .ftlink > .top6,
    .ftlink > .ranks { display: none; }
    .ftlink { padding-top: 0; }
}

/* 关灯只作用于章节正文，头部、搜索、工具栏和翻页保持原样。 */
body.cover { background: #e6f8fb; color: #555; }
body.cover a { color: #4d6da8; }
body.cover .catepanel { background: #d9eef3; border-color: #b8dce7; color: #6d8f9e; }
body.cover .side_link,
body.cover .cont_mod2 { background: #e6f8fb; border-color: #72c4e8; color: #555; }
body.cover .info_bd9,
body.cover .ft { background: #79c2e3; }
body.cover .info_bd9 a,
body.cover .ft a { color: #fff; }
body.cover .nav_main,
body.cover .vol input,
body.cover .book8 select { background: #fff; color: #333; border-color: #9bc7df; }
body.cover .ftlink,
body.cover.rowsec .ftlink,
body.cover.sort_cover .ftlink,
body.cover.chaitem .ftlink { background: #2f3437; border-color: #444; }
body.cover .ranks h1 { color: #ddd; }
body.cover .ranks p,
body.cover .top6 { color: #aaa; }
body.cover .time7 a,
body.cover .time7 span { background: #363b3f; border-color: #555; color: #c8c8c8; }
body.cover .num_area6 { background: #2f3437; border-color: #555; }
body.cover .num_area6 span,
body.cover .num_area6 label { color: #c8c8c8; }
body.cover .num_area6 select,
body.cover .num_area6 button { background: #363b3f; border-color: #6b747b; color: #c8d7e8; }
body.cover .site_panel { background: transparent; color: #aaa; }
body.cover .side_inner3 { border-color: #555; color: #bbb; }
body.cover .site_panel p { color: #aaa; }
body.cover .grid a { color: #0871bd; text-shadow: 2px 2px 0 #c3e3f1; }
body.cover .info9 { color: #0871bd; border-color: #79c2e3; background: rgba(255,255,255,.55); }
body.cover .info9:hover { color: #0871bd; background: rgba(255,255,255,.8); }
body.cover .tag_bar9 { background: #eee; }
body.cover .tag_bar9 h2 { color: #777; }
body.cover .rank a { background: #e3e3e3; color: #333; }
.date_unit7 { text-align: center; padding: 54px 20px 62px; border: 3px solid #86c9e8; background: #fffdf6; }
.date_unit7 h1 { margin-bottom: 12px; color: #287dc2; font-size: 30px; font-weight: 700; }
.date_unit7 p { margin: 8px 0; color: #555; }
.hd_unit { display: inline-block; min-width: 110px; height: 34px; margin-top: 12px; line-height: 34px; background: #4eadd0; color: #fff; border-radius: 3px; }
.hd_unit:hover { color: #fff; text-decoration: none; background: #287dc2; }
@media (max-width: 768px) {
    body.cover .side_link { background: #dff5fb; }
    .date_unit7 { padding: 42px 12px 48px; border-width: 2px; }
    .date_unit7 h1 { font-size: 24px; }
}

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

/* Home update/new panels alignment fix */
.foot_item .author_meta9,
.foot_item .mod { align-self: start; }
.foot_item .row_inner,
.foot_item .link_area { padding: 8px 10px; font-size: 13px; }
.foot_item .row_inner li,
.foot_item .link_area li { height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; }
.foot_item .row_inner li { grid-template-columns: 92px 188px minmax(0, 1fr) 78px 42px; gap: 7px; }
.foot_item .link_area li { grid-template-columns: 82px minmax(0, 1fr) 62px; gap: 7px; }
.foot_item .row_inner .desc_cover,
.foot_item .row_inner .book3,
.foot_item .row_inner .hot_main,
.foot_item .row_inner .menu7,
.foot_item .row_inner .list_inner,
.foot_item .link_area span,
.foot_item .link_area a,
.foot_item .link_area em { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 768px) {
    .foot_item .row_inner,
    .foot_item .link_area { padding: 4px 8px; font-size: 14px; }
    .foot_item .row_inner li,
    .foot_item .link_area li { height: 34px; line-height: 34px; }
    .foot_item .row_inner li { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
    .foot_item .link_area li { grid-template-columns: minmax(0, 1fr) 88px; gap: 6px; }
}

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

/* static rank page, bqg style */
.panel_cover.boxhd {
  display: block;
  border: 2px solid #8ed1ef;
  background: #fffdf6;
  padding: 12px;
}
.boxhd .toolname {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  margin: 0 0 10px;
  min-height: 28px;
}
.boxhd .toolname h2 {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  color: #444;
  font-weight: 700;
}
.boxhd .toolname strong {
  grid-column: 2 / 3;
  text-align: center;
  font-size: 18px;
  line-height: 28px;
  color: #444;
}
.boxhd .site_panelname {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 12px;
}
.boxhd .area4 {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  min-height: 156px;
  overflow: hidden;
}
.boxhd .nav7 img {
  width: 110px;
  height: 148px;
  object-fit: cover;
  border: 1px solid #b7d2dd;
  background: #fff;
}
.boxhd .wen_link8 {
  min-width: 0;
}
.boxhd .area4 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;
}
.boxhd .area4 h3 a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.boxhd .area4 h3 span,
.boxhd .area4 h3 em {
  color: #999;
  font-weight: 400;
  font-style: normal;
  white-space: nowrap;
}
.boxhd .pic_box {
  margin: 4px 0;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
}
.boxhd .pic_box a {
  display: inline;
}
.boxhd .title_bar {
  margin: 6px 0 0;
  color: #333;
  font-size: 13px;
  line-height: 23px;
  max-height: 92px;
  overflow: hidden;
}
@media (max-width: 720px) {
  .panel_cover.boxhd {
    padding: 8px;
  }
  .boxhd .toolname {
    display: flex;
    justify-content: space-between;
  }
  .boxhd .toolname h2 {
    font-size: 20px;
  }
  .boxhd .toolname strong {
    font-size: 16px;
  }
  .boxhd .site_panelname {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .boxhd .area4 {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 116px;
  }
  .boxhd .nav7 img {
    width: 86px;
    height: 116px;
  }
  .boxhd .title_bar {
    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; }
.block_list, .bar_text, .vol_name, .link { width: 980px; max-width: 980px; margin: 0 auto; }
.side_link { background: #e6f8fb; }
.vol_name { height: 86px; display: flex; align-items: center; gap: 28px; }
.grid { width: 180px; font-size: 34px; line-height: 1; font-family: Georgia, "Microsoft YaHei", serif; font-weight: 700; }
.grid a { color: #0871bd; text-shadow: 2px 3px 3px rgba(0, 90, 150, .28); }
.grid a:hover { text-decoration: none; color: #0871bd; }
.barrow { margin-left: auto; flex: 0 0 470px; display: flex; height: 38px; border: 1px solid #9bd5ee; background: #fff; }
.nav_main { flex: 1; height: 36px; padding: 0 12px; border: 0; font-size: 14px; outline: 0; }
.img_info { 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; }
.link { 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.bar_link9 { background: #57acd2; color: #fff; text-decoration: none; }
.cateimg { padding: 12px 0 20px; }

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

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

.novel_link9 { display: grid; grid-template-columns: 1fr 300px; gap: 12px; margin-bottom: 12px; }
.nav_mod, .story_bar, .home_bd4 { border: 3px solid #9bd5ee; background: #eefafa; }
.nav_mod h2, .story_bar h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd5ee; font-size: 16px; color: #333; }
.rank_bd3 li, .block_panel li, .bd_sec li { display: grid; align-items: center; min-height: 30px; line-height: 30px; border-bottom: 1px solid #d1e3e8; overflow: hidden; }
.rank_bd3 li { grid-template-columns: 88px minmax(120px,1.15fr) minmax(180px,1.45fr) 90px 50px; column-gap: 8px; padding: 0 10px; }
.block_panel li { grid-template-columns: 76px minmax(0, 1fr) 76px; column-gap: 0; padding: 0 10px; }
.block_panel li.itembd { grid-template-columns: 76px minmax(0, 1fr); }
.bd_sec li { grid-template-columns: 90px minmax(220px,1fr) minmax(240px,1.2fr) 120px 78px; column-gap: 8px; padding: 0 12px; }
.rank_bd3 a, .block_panel a, .bd_sec a, .book_line4, .cell, .unit3, .wrap_bd, .block_panel em { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.book_line4 { color: #555; }
.cell, .unit3, .wrap_bd, .block_panel em { color: #777; font-style: normal; text-align: right; }
.home_bd4 { padding-bottom: 8px; }
.home_bd4 h2 { height: 42px; line-height: 42px; padding: 0 12px; background: #fff; border-bottom: 1px solid #ddd; color: #0871bd; font-size: 18px; }
.area_info { display: grid; grid-template-columns: 160px minmax(160px, 1fr) 160px; gap: 12px; padding: 12px 10px 10px; background: #eefafa; }
.area_info button, .area_info select { width: 100%; height: 36px; border-radius: 2px; font: inherit; }
.area_info button { border: 0; background: #4badd3; color: #fff; cursor: pointer; }
.area_info button:disabled { opacity: .55; cursor: default; }
.area_info select { border: 1px solid #b9d7e3; background: #fff; padding: 0 10px; }
.side_list { 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_list button, .side_list select { min-width: 0; padding-left: 3px; padding-right: 3px; font-size: 13px; }
.title_area > [hidden] { display: none !important; }
.unit { margin: 0; padding: 28px 20px; background: #fff; border: 1px solid #ddd; }
.unit h2 { margin: 0 0 8px; font-size: 22px; color: #555; }
.unit p, .cover_cell2 { color: #555; }

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

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

@media (max-width: 1023px) {
  .block_list, .bar_text, .vol_name, .info_bd9, .link { width: auto; max-width: none; }
  .catepanel { display: block; }
  .bar_text { padding: 0 10px; justify-content: center; }
  .side_link { padding: 10px; }
  .vol_name { height: auto; display: block; }
  .grid { width: auto; margin-bottom: 8px; font-size: 28px; }
  .barrow { width: 100%; max-width: none; margin: 0; flex-basis: auto; }
  .info_bd9 { margin: 0 10px; height: 38px; overflow-x: auto; }
  .link { display: flex; height: 38px; min-width: max-content; }
  .info_bd9 a { line-height: 38px; padding: 0 12px; }
  .cateimg { padding: 8px 10px 16px; }
  .area9 { display: block; padding: 8px; }
  .area9 .card_sec7 { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .area9 .cont_area9, .area9 .cont_area9 img { width: 86px; }
  .area9 .cont_area9 img { height: 116px; }
  .info_bar { display: block; }
  .link_bar9 { min-height: 0; border-right: 0; }
  .novel_link9 { display: flex; flex-direction: column; }
  .story_bar { order: 1; }
  .nav_mod { order: 2; }
  .rank_bd3 li { grid-template-columns: 1fr 1fr; gap: 0 10px; min-height: 28px; line-height: 28px; }
  .rank_bd3 .book_line4, .rank_bd3 .cell, .rank_bd3 .wrap_bd { display: none; }
  .block_panel li { grid-template-columns: 1fr 72px; min-height: 28px; line-height: 28px; }
  .block_panel li span { display: none; }
  .bd_sec li { grid-template-columns: 1fr 72px; min-height: 30px; line-height: 30px; }
  .bd_sec .book_line4, .bd_sec .nav_area { display: none; }
  .bd_sec .cell, .bd_sec .unit3 { text-align: right; }
  .home_bd4 h2 { height: 36px; line-height: 36px; font-size: 16px; }
  .area_info { grid-template-columns: 1fr 1.25fr 1fr; gap: 8px; padding: 10px 8px; }
  .side_list { grid-template-columns: 1fr 1.25fr 1fr; }
  .meta_con2 { display: block; }
  .date_cell { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .book_row9 img { width: 86px; height: 116px; }
}

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

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

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

  .tag_main8 .card_sec7:last-child {
    border-bottom: 0;
  }

  .tag_main8 .cont_area9,
  .tag_main8 .cont_area9 img {
    width: 82px;
  }

  .tag_main8 .cont_area9 img {
    height: 110px;
    object-fit: cover;
  }

  .tag_main8 .desc_name7 {
    min-width: 0;
  }

  .tag_main8 .desc_name7 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;
  }

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

  .tag_main8 .desc_name7 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;
  }

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

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

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

  .cont .nav_mod h2,
  .cont .story_bar h2 {
    padding: 8px 10px;
    font-size: 14px;
    line-height: 20px;
  }

  .cont .rank_bd3 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;
  }

  .cont .rank_bd3 .book_line4,
  .cont .rank_bd3 .cell_col,
  .cont .rank_bd3 .nav_area {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
  }

  .cont .rank_bd3 .book_line4 {
    display: none;
  }

  .cont .rank_bd3 .cell,
  .cont .rank_bd3 .wrap_bd {
    display: none;
  }

  .cont .block_panel 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;
  }

  .cont .block_panel li.itembd {
    grid-template-columns: minmax(0, 1fr);
  }

  .cont .block_panel li > span {
    display: none;
  }

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

/* desktop bqg scale restore */
@media (min-width: 1024px) {
  .block_list,
  .bar_text,
  .vol_name,
  .link {
    width: 1024px;
    max-width: 1024px;
  }

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

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

  .area9 .cont_area9,
  .area9 .cont_area9 img {
    width: 120px;
  }

  .area9 .cont_area9 img {
    height: 160px;
  }

  .area9 .desc_name7 h3,
  .info_bar .desc_name7 h3 {
    font-size: 15px;
    line-height: 23px;
  }

  .area9 .desc_name7 p,
  .info_bar .desc_name7 p {
    font-size: 14px;
    line-height: 24px;
  }

  .link_bar9 {
    padding: 10px 12px;
  }

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

  .link_bar9 .cont_area9,
  .link_bar9 .cont_area9 img {
    width: 92px;
  }

  .link_bar9 .cont_area9 img {
    height: 124px;
  }

  .catetext li,
  .block_panel li,
  .rank_bd3 li {
    font-size: 14px;
    min-height: 24px;
    line-height: 24px;
  }

  .nav_mod h2,
  .story_bar h2,
  .link_bar9 h2 {
    font-size: 16px;
  }
}

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

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

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

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

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

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

  .new .area9 .card_sec7:nth-child(n+5) {
    display: none;
  }

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

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

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

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

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

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

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

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

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

  .new .area9 {
    display: block;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
  }

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

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

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

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

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

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

/* 2026-07-12: force desktop nav/header width to 1024px */
@media (min-width: 1024px) {
  .bar_text,
  .vol_name,
  .link,
  .block_list {
    width: 1024px !important;
    max-width: 1024px !important;
    box-sizing: border-box;
  }

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

  .link {
    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.bar_link9,
.info_bd9 a[aria-current="page"],
.ft a.bar_link9,
.ft a[aria-current="page"],
.link a.bar_link9,
.link a[aria-current="page"] {
  background: transparent !important;
  color: #fff !important;
  text-decoration: none !important;
}

.info_bd9 a:hover,
.ft a:hover,
.link 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) {
  .bar_text,
  .vol_name,
  .link,
  .block_list,
  .info_bd9,
  .ft {
    width: 1024px !important;
    max-width: 1024px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

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

@media (max-width: 1023px) {
  .bar_text,
  .vol_name,
  .link,
  .block_list,
  .info_bd9,
  .ft {
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .block_list,
  .vol_name,
  .bar_text {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

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

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

/* nav-hover-disabled: 导航条不保留 hover / focus / active 印记 */
.side_link nav a:hover,
.side_link nav a:focus,
.side_link nav a.bar_link9,
.side_link nav .bar_link9,
.vol_name nav a:hover,
.vol_name nav a:focus,
.vol_name nav a.bar_link9,
.vol_name nav .bar_link9,
.info_bd9 a:hover,
.info_bd9 a:focus,
.info_bd9 a.bar_link9,
.info_bd9 .bar_link9,
.ft a:hover,
.ft a:focus,
.ft a.bar_link9,
.ft .bar_link9 {
    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) {
    .bar_text,
    .side_link .vol_name,
    .vol_name,
    .block_list,
    .cateimg,
    .grid_area,
    .area_grid,
    .foot,
    .info_bd9,
    .ft {
        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;
    }

    .catepanel,
    .side_link,
    .cateimg,
    .cont_mod2,
    .bar_text,
    .side_link .vol_name,
    .vol_name,
    .block_list,
    .foot,
    .grid_area,
    .area_grid,
    .bar_grid,
    .info_bd9,
    .ft {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .bar_text,
    .side_link .vol_name,
    .vol_name,
    .block_list,
    .grid_area,
    .area_grid,
    .cateimg {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

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

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

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

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

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

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

    .info_bd9,
    .ft {
        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,
    .ft a {
        flex: 0 0 auto !important;
        padding: 0 12px !important;
        text-align: center !important;
    }

    .panel_cover,
    .top_box,
    .time,
    .site,
    .picbox,
    .home_bd4 .desc_main,
    .bd_sec,
    .desc_main,
    .menu5,
    .navgrid,
    .list_bar,
    .img_box2 {
        display: block !important;
        grid-template-columns: none !important;
        columns: auto !important;
        width: 100% !important;
    }

    .nav_name,
    .meta5,
    .desc_main .cate,
    .bd_sec .cate,
    .menu5 .cate,
    .navgrid .cate,
    .list_bar .cate,
    .box,
    .text {
        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;
    }

    .nav_name img,
    .meta5 img,
    .book_row9 img,
    .desc_main .cate img,
    .bd_sec .cate img,
    .menu5 .cate img,
    .navgrid .cate img,
    .list_bar .cate img,
    .box img,
    .text img {
        width: 88px !important;
        height: 118px !important;
        object-fit: cover !important;
    }

    .page_grid6,
    .shu_row8,
    .desc_name7,
    .wen_info9,
    .text dl,
    .text .card_area3 {
        min-width: 0 !important;
    }

    .bar,
    .story,
    .col_name,
    .cha {
        display: block !important;
        grid-template-columns: none !important;
        width: 100% !important;
    }

    .bar > *,
    .story > *,
    .col_name > *,
    .cha > * {
        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.bar_link9,
.info_bd9 .bar_link9,
.ft a:hover,
.ft a:focus,
.ft a:active,
.ft a.bar_link9,
.ft .bar_link9,
.side_link nav a:hover,
.side_link nav a:focus,
.side_link nav a:active,
.side_link nav a.bar_link9,
.vol_name nav a:hover,
.vol_name nav a:focus,
.vol_name nav a:active,
.vol_name nav a.bar_link9 {
    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) {
  .new .desc_name7 p,
  .tag_main8 .desc_name7 p {
    height: 130px;
    line-height: 26px;
  }
}

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

  .vol_name {
    height: 68px;
  }

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

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

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

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

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

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

  .side_link .vol_name,
  .vol_name {
    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_link .grid,
  .side_link 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_link .grid a {
    color: #0871bd !important;
    text-shadow: 2px 3px 3px rgba(0, 90, 150, .28) !important;
  }

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

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

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

  .card_cover 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_link .barrow,
  .vol_name .barrow {
    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_link .barrow .nav_main,
  .side_link .barrow input[type="text"] {
    height: 34px !important;
    border: 1px solid #8dcde7 !important;
    border-right: 0 !important;
  }

  .side_link .barrow .img_info,
  .side_link .barrow 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;
  }

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

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

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

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

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

  .modcell .page2 {
    display: contents !important;
  }

  .modcell .page2 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;
  }

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

  .modcell .read_block p {
    height: 25px !important;
    line-height: 25px !important;
  }

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

  .modcell .card_area {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    width: 100% !important;
    max-height: 112px !important;
    padding-top: 2px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .modcell .card_area.wen_unit9 {
    max-height: none !important;
  }

  .modcell .meta_text {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
  }

  .wrap_main5 .toolbox {
    grid-template-columns: 1fr !important;
  }

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

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

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

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

  .cateimg .block_list > .update_bar {
    margin: 0 0 14px !important;
    padding: 14px 10px 16px !important;
    background: #fff !important;
  }

  .cateimg .block_list > .update_bar .list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 14px !important;
  }

  .cateimg .block_list > .update_bar .list 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) {
  .cont .rank_bd3 li {
    height: 35px;
    min-height: 35px;
    line-height: 35px;
  }

  .cont .block_panel li,
  .cont .block_panel li.itembd {
    height: 30px;
    min-height: 30px;
    line-height: 30px;
  }

  /* 数据不足49条时，左右条数相同，统一使用35px行高。 */
  .cont.meta_main8 .block_panel li,
  .cont.meta_main8 .block_panel li.itembd {
    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. */
.cont { align-items: stretch; }
.cont .nav_mod,
.cont .story_bar { min-width: 0; }
.cont .story_bar { display: flex; flex-direction: column; }
.cont .story_bar .block_panel { flex: 0 0 auto; }
.cont .foot7 {
  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;
}
.cont .foot7 > a,
.cont .foot7 > span,
.cont .foot7 > select {
  width: 100%;
  height: 36px;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
.cont .foot7 > a,
.cont .foot7 > span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cont .foot7 > select {
  border: 1px solid #b9d7e3;
  background: #fff;
  padding: 0 10px;
}
.cont .sort_list5 {
  margin: auto 0 0;
  padding: 12px 10px 10px;
  border-top: 1px solid #cbdde3;
  box-sizing: border-box;
}
.cont .sort_list5 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) {
  .cont .foot7 {
    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) {
  .cateimg.page_img,
  .cateimg.top_mod6,
  .cateimg.wen_img {
    width: 100% !important;
    max-width: none !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    box-sizing: border-box !important;
  }

  .cateimg.page_img > .block_list,
  .cateimg.top_mod6 > .block_list,
  .cateimg.wen_img > .block_list {
    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;
  }

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

  .cateimg.newlist > .block_list {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .cateimg.newlist .ftlink {
    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;
  }

  .cateimg.newlist .site_panel {
    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;
  }

  .cateimg.newlist .num_area6,
  .cateimg.newlist .time7 {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}
