* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #f4f4f4; color: #333; font: 14px/1.8 "Microsoft YaHei", "PingFang SC", Arial, sans-serif; }
a { color: #333; text-decoration: none; }
a:hover { color: #c00; text-decoration: underline; }
img { display: block; max-width: 100%; }
.item_name8, .top8, .side_col7, .page_con5, .head_mod { max-width: 980px; margin: 0 auto; }

.update_ft { height: 30px; background: #f7f7f7; border-bottom: 1px solid #ddd; color: #777; font-size: 12px; }
.top8 { display: flex; gap: 24px; align-items: center; height: 30px; }
.infocover { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.infocover:hover { color: #0871bd; text-decoration: underline; }
.hot3 { background: #2f8ed8; }
.side_col7 { height: 76px; display: flex; align-items: center; gap: 28px; }
.card_infoinner { width: 170px; font-size: 34px; line-height: 1; font-weight: 700; }
.card_infoinner a { color: #fff; letter-spacing: 0; }
.card_infoinner a:hover { color: inherit; text-decoration: none; }
.unit_panel { flex: 1; display: flex; max-width: 470px; }
.cover_line { flex: 1; height: 38px; padding: 0 12px; border: 0; outline: 0; font-size: 14px; }
.read_inner4 { width: 78px; height: 38px; border: 0; background: #f5a623; color: #fff; font-size: 15px; cursor: pointer; }
.book2 { margin-left: auto; display: flex; gap: 10px; }
.book2 a { color: #fff; padding: 5px 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 2px; }

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

.page_con7 { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 12px; }
.authorunit, .list_inner, .sort_cell, .update4, .bd_grid, .story_hd3, .bd_row9 { background: #fff; border: 1px solid #ddd; }
.authorunit { display: grid; grid-template-columns: 1fr 1fr; padding: 12px; gap: 12px; }
.cha_area { display: flex; min-height: 132px; overflow: hidden; }
.cha_area .num5 { width: 88px; flex: 0 0 88px; margin-right: 12px; }
.cha_area .num5 img { width: 88px; height: 120px; object-fit: cover; border: 1px solid #ddd; }
.cha_area dt { height: 28px; line-height: 28px; overflow: hidden; font-weight: 700; }
.cha_area dt span { float: right; max-width: 72px; color: #888; font-size: 12px; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cha_area dd { color: #555; height: 88px; overflow: hidden; font-size: 13px; }
.cha_area dd a { color: #555; }
.novel4line, .sort_cell h2, .bd_grid h2, .story_hd3 h2 { height: 38px; line-height: 38px; padding: 0 12px; border-bottom: 1px solid #ddd; background: #f9f9f9; color: #287dc2; font-size: 16px; }
.bdcol, .link_text, .author_cover, .col, .cate_panel { list-style: none; }
.bdcol li, .author_cover li, .cate_panel li { display: flex; height: 35px; line-height: 35px; padding: 0 12px; border-bottom: 1px dashed #e5e5e5; overflow: hidden; }
.cat_ft8, .read { width: 86px; color: #888; flex: 0 0 86px; }
.wencover, .cat { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.foot_inner5 { width: 220px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.box_sec9, .bd_cover3 { width: 88px; color: #777; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.list_box { width: 70px; color: #888; text-align: right; }

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

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

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

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

@media (max-width: 768px) {
    .item_name8, .top8, .side_col7, .page_con5, .head_mod { width: 100%; max-width: none; }
    .update_ft { display: none; }
    .hot3 { padding: 10px; }
    .side_col7 { height: auto; display: block; }
    .card_infoinner { width: auto; margin-bottom: 10px; font-size: 28px; text-align: center; }
    .unit_panel { max-width: none; }
    .book2 { display: none; }
    .page_con5 { display: none; }
    .head_mod { display: flex; overflow-x: auto; background: #287dc2; }
    .head_mod a { color: #fff; line-height: 38px; padding: 0 14px; white-space: nowrap; }
    .item_inner6 { padding: 8px; }
    .page_con7, .site_row { display: block; }
    .authorunit { grid-template-columns: 1fr; margin-bottom: 10px; }
    .list_inner, .sort_cell { margin-bottom: 10px; }
    .cat_ft8, .foot_inner5, .box_sec9, .read, .bd_cover3, .list_box { display: none; }
    .link_text { columns: 1; }
    .update4 { display: block; text-align: center; }
    .update4 .time_box { margin: 0 auto 12px; }
    .wraps h1 { height: auto; line-height: 1.4; font-size: 24px; }
    .name8 { justify-content: center; }
    .col { grid-template-columns: 1fr; }
    .site { padding: 0 12px 18px; }
    .card9 h1 { font-size: 22px; }
    .hot { font-size: 18px; line-height: 1.95; padding: 14px 0; }
    .name_ft { display: block; font-size: 18px; margin-bottom: 12px; padding-bottom: 8px; line-height: 1.45; }
    .head { gap: 8px; }
    .head a, .head span { min-width: 0; flex: 1; }
}

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

/* Screenshot-style desktop home layout */
body { background: #e6f8fb; color: #555; font-size: 14px; }
a { color: #4d6da8; }
.item_name8, .top8, .side_col7, .page_con5, .head_mod { max-width: 1160px; }
.update_ft { background: #d9eef3; border-bottom: 1px solid #b8dce7; }
.top8 { color: #6d8f9e; }
.hot3 { background: #e6f8fb; }
.side_col7 { height: 82px; gap: 24px; }
.card_infoinner { width: 150px; font-size: 36px; font-family: Georgia, "Microsoft YaHei", serif; text-shadow: 2px 2px 0 #c3e3f1; }
.card_infoinner a { color: #0871bd; }
.unit_panel { max-width: 480px; margin-left: auto; }
.cover_line { height: 36px; border: 1px solid #9bc7df; background: #fff; }
.read_inner4 { height: 36px; background: #ddd; color: #222; }
.book2 { display: none; }
.page_con5 { height: 44px; background: #79c2e3; padding: 0 10px; }
.page_con5 a { line-height: 44px; padding: 0 11px; border-right: 0; color: #fff; font-weight: 700; }
.page_con5 a:hover { background: #5eb1d8; }
.item_inner6 { padding: 12px 0 24px; }

.barlink { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 22px; padding: 14px; margin-bottom: 22px; border: 3px solid #b9dff1; background: #fffdf6; }
.unit { display: grid; grid-template-columns: 126px 1fr; gap: 12px; min-height: 176px; }
.top_name5 img { width: 126px; height: 170px; object-fit: cover; border: 1px solid #abc6d4; padding: 3px; background: #fff; }
.meta_area h2 { height: 28px; line-height: 28px; font-size: 15px; border-bottom: 1px dotted #c7d8e3; overflow: hidden; }
.meta_area h2 a { color: #5b6fad; font-weight: 700; }
.meta_area h2 span { float: right; color: #aaa; font-weight: 400; }
.meta_area p { padding-top: 8px; color: #555; line-height: 1.85; height: 132px; overflow: hidden; text-indent: 2em; }
.pic { display: grid; grid-template-columns: 1fr 335px; gap: 14px; align-items: start; }
.hd5, .pic_item { border: 3px solid #86c9e8; background: #eef6f6; }
.hd5 h2, .pic_item h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd3e9; color: #456; font-size: 16px; }
.cate_name7, .cate_coverinner { list-style: none; padding: 8px 12px; }
.cate_name7 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; }
.cate_name7 .cha { color: #555; }
.cate_name7 .head_grid, .cate_name7 .ft_cell4, .cate_name7 .date6 { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cate_name7 .date6, .cate_name7 .colhd { color: #aaa; text-align: right; }
.cate_coverinner li { display: grid; grid-template-columns: 78px 1fr 58px; gap: 6px; height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; overflow: hidden; }
.cate_coverinner span { color: #555; }
.cate_coverinner a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cate_coverinner em { color: #666; font-style: normal; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cell_line6 { display: grid; grid-template-columns: 190px 1fr 190px; gap: 18px; padding: 14px 12px; }
.cell_line6 a, .cell_line6 select { height: 40px; border: 0; background: #4eadd0; color: #fff; text-align: center; border-radius: 3px; font-weight: 700; }
.cell_line6 a { line-height: 40px; }
.cell_line6 select { background: #fff; color: #222; border: 1px solid #d8e2e4; padding: 0 12px; }
.book_name3 { background: #e6f8fb; border-top: 2px solid #72c4e8; color: #555; }

/* Desktop vs mobile are intentionally different. */
@media (max-width: 768px) {
    body { background: #e6f8fb; font-size: 14px; }
    .item_name8, .top8, .side_col7, .page_con5, .head_mod { width: 100%; max-width: none; }
    .update_ft { display: none; }
    .hot3 { padding: 10px; background: #dff5fb; }
    .side_col7 { display: block; height: auto; }
    .card_infoinner { width: auto; font-size: 30px; text-align: left; margin: 0 0 10px; padding-right: 58px; }
    .unit_panel { max-width: none; display: flex; margin-left: 0; }
    .cover_line { height: 38px; font-size: 14px; }
    .read_inner4 { width: 72px; height: 38px; }
    .page_con5 { display: none; }
    .head_mod { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); overflow: hidden; height: 40px; background: #79c2e3; padding: 0; }
    .head_mod a { min-width: 0; color: #fff; line-height: 40px; padding: 0 2px; text-align: center; font-weight: 700; white-space: nowrap; }
    .side_col7 .head_mod { margin-bottom: 8px; }
    .item_inner6 { padding: 8px; }
    .barlink { display: block; padding: 8px; margin-bottom: 10px; border-width: 2px; }
    .unit { display: grid; grid-template-columns: 82px 1fr; gap: 10px; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #d8e2e4; }
    .unit:last-child { border-bottom: 0; }
    .top_name5 img { width: 82px; height: 110px; padding: 2px; }
    .meta_area h2 { height: 24px; line-height: 24px; font-size: 15px; }
    .meta_area h2 span { display: none; }
    .meta_area p { height: 78px; line-height: 1.7; padding-top: 5px; text-indent: 0; }
    .pic { display: block; }
    .ft { display: flex; flex-direction: column; }
    .ft .pic_item { order: 1; }
    .ft .hd5 { order: 2; }
    .hd5, .pic_item { border-width: 2px; margin-bottom: 10px; }
    .hd5 h2, .pic_item h2 { height: 34px; line-height: 34px; font-size: 15px; }
    .cate_name7, .cate_coverinner { padding: 4px 8px; }
    .cate_name7 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; }
    .cate_name7 .date6, .cate_name7 .colhd { display: none; }
    .cate_name7 .cha { display: block; width: auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #555; }
    .cate_name7 .head_grid { font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .cate_name7 .ft_cell4 { color: #777; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .cate_coverinner li { grid-template-columns: minmax(0, 1fr) 88px; height: 34px; line-height: 34px; }
    .cate_coverinner span { display: none; }
    .cell_line6 { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .cell_line6 select { grid-column: 1 / -1; order: -1; }
    .book_name3 { padding: 14px 8px; line-height: 1.7; }
}

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

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

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

.info_line { position: fixed; right: 18px; bottom: 26px; z-index: 50; display: grid; gap: 8px; }
.info_line 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); }
.info_line button:hover { background: #4eadd0; }
body.col_hd { background: #1e1e1e; color: #aaa; }
body.col_hd a { color: #9eb8e8; }
body.col_hd .update_ft,
body.col_hd .hot3,
body.col_hd .book_name3 { background: #252525; border-color: #3a3a3a; color: #888; }
body.col_hd .page_con5,
body.col_hd .head_mod { background: #333; }
body.col_hd .page_con5 a:hover,
body.col_hd .head_mod a:hover { background: #444; }
body.col_hd .barlink,
body.col_hd .bd_con,
body.col_hd .text,
body.col_hd .tag_grid,
body.col_hd .main_grid,
body.col_hd .bar_hd,
body.col_hd .update4,
body.col_hd .bd_grid,
body.col_hd .story_hd3,
body.col_hd .bd_row9,
body.col_hd .hd5,
body.col_hd .pic_item,
body.col_hd .vol_text,
body.col_hd .box_col3 { background: #2a2a2a; border-color: #444; }
body.col_hd .site { background: #202020; border-color: #444; }
body.col_hd .hot { color: #b8b8b8; }
body.col_hd .novel4line,
body.col_hd .sort_cell h2,
body.col_hd .bd_grid h2,
body.col_hd .story_hd3 h2,
body.col_hd .hd5 h2,
body.col_hd .pic_item h2,
body.col_hd .vol_text h2,
body.col_hd .main_grid h1,
body.col_hd .bd_row9 h1,
body.col_hd .sec_main h2,
body.col_hd .bar_hd h1 { background: #333; color: #ccc; border-color: #444; }
body.col_hd .meta_area p,
body.col_hd .page_cell2 p,
body.col_hd .num_con p,
body.col_hd .bdunit p,
body.col_hd .bd_grid p,
body.col_hd .wraps p,
body.col_hd .pic_box9 .wrap_ft { color: #aaa; }
body.col_hd .title_main th { background: #333; color: #ccc; }
body.col_hd .title_main th,
body.col_hd .title_main td,
body.col_hd .cate_name7 li,
body.col_hd .cate_coverinner li,
body.col_hd .vol_text li,
body.col_hd .authormod li { border-color: #444; }
body.col_hd .cover_line,
body.col_hd .descinner input,
body.col_hd .cell_line6 select { background: #222; color: #ddd; border-color: #555; }
@media (max-width: 768px) {
    .info_line { right: 10px; bottom: 14px; }
    .info_line button { width: 48px; height: 32px; font-size: 13px; }
}

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

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

.wrap_hd5 { border: 3px solid #86c9e8; background: #eef6f6; margin-bottom: 22px; }
.wrap_hd5 .link_box8 { height: 34px; line-height: 34px; padding: 0 12px; color: #456; border-bottom: 1px solid #b9dff1; background: #dcecef; }
.bar_item { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 14px 28px 18px; }
.author_text {
    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;
}
.author_text img {
    display: block;
    width: 100%;
    height: 176px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}
.cont_bar5 h1 { font-size: 30px; line-height: 44px; color: #333; }
.list_info { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-bottom: 1px dashed #86aebd; padding-bottom: 6px; margin-bottom: 8px; }
.list_info p { height: 28px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #444; }
.list_info .top_mod { color: #b54800; font-weight: 700; grid-column: 1 / -1; }
.bar_boxft { grid-column: 2; line-height: 1.8; color: #444; }
.siderow { display: none; }
.head_ft9 { display: none; }
.card_info { border: 3px solid #4eadd0; background: #eef6f6; margin-bottom: 30px; }
.card_info h2 { height: 38px; line-height: 38px; text-align: center; background: #9fb6bd; color: #333; font-size: 16px; border-bottom: 1px solid #9fc9db; }
.card_info .col { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 12px; list-style: none; }
.card_info .col li { height: 40px; line-height: 40px; border-bottom: 1px dashed #9fb6bd; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-right: 16px; }
.card_info .col.ftcover li { font-weight: 700; }
.datetext { display: grid; grid-template-columns: 250px 1fr 250px; gap: 18px; padding: 16px 12px; }
.datetext a, .datetext span, .datetext button, .datetext select { height: 40px; line-height: 40px; border: 0; text-align: center; border-radius: 3px; }
.datetext a, .datetext span, .datetext button { background: #1e6f8a; color: #fff; cursor: pointer; font: inherit; }
.datetext button:disabled { cursor: default; opacity: .65; }
.datetext select { background: #fff; border: 1px solid #ddd; padding: 0 12px; text-align: left; }
.link { background: #eee; padding: 18px 14px; margin-bottom: 20px; }
.link h2 { text-align: center; color: #777; font-size: 16px; margin-bottom: 14px; font-weight: 400; }
.top_panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 45px; }
.top_panel a { display: block; height: 38px; line-height: 38px; text-align: center; background: #e3e3e3; color: #333; border-radius: 3px; }
@media (max-width: 768px) {
    .wrap_hd5, .card_info { border-width: 2px; margin-bottom: 12px; }
    .wrap_hd5 .link_box8 { height: auto; line-height: 1.5; padding: 8px; }
    .bar_item { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 10px; align-items: start; }
    .author_text { width: 96px; min-height: 126px; padding: 4px; background: rgba(255,255,255,.45); }
    .author_text img { width: 100%; height: 118px; object-fit: contain; object-position: center; }
    .cont_bar5 { min-width: 0; }
    .cont_bar5 h1 { font-size: 18px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .list_info { display: block; border-bottom: 0; padding-bottom: 0; margin-bottom: 6px; }
    .list_info p { height: 26px; line-height: 26px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .siderow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; grid-column: 1 / -1; margin: 2px 0 8px; }
    .sec_item { 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; }
    .sec_item:hover { color: #fff; text-decoration: none; opacity: .92; }
    .sec_item.ft_block7 { background: #f0305a; }
    .sec_item.cell_bar6 { background: #f1a51e; }
    .sec_item.novel4 { background: #5b8cc3; }
    .bar_boxft { grid-column: 1 / -1; max-height: 118px; overflow: hidden; line-height: 1.85; color: #444; }
    .bar_boxft.area_cover { max-height: none; }
    .head_ft9 { 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; }
    .card_info .col { grid-template-columns: 1fr; padding: 0 8px; }
    .card_info .col li { height: 36px; line-height: 36px; padding-right: 0; }
    .datetext { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .datetext select { grid-column: 1 / -1; order: -1; }
    .top_panel { grid-template-columns: 1fr; gap: 8px; }
}

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

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

@media (max-width: 768px) {
    html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
    .item_name8, .item_inner6, .hot3, .side_col7, .site, .wrap_hd5, .card_info { max-width: 100%; overflow-x: hidden; }
    .unit_panel { width: 100%; max-width: 100%; }
    .cover_line { min-width: 0; }
    .read_inner4 { flex: 0 0 68px; width: 68px; }
    .head_mod { max-width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
    .site { padding-left: 10px; padding-right: 10px; }
    .link_box8 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .card9 h1 { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
    .card9 p { white-space: normal; overflow-wrap: anywhere; }
    .hot { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .hot p { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .info_line { right: 8px; }
}

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

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

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

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

body.col_hd .card_infoinner a { color: #b8d7ef; text-shadow: 1px 1px 0 #1a3c55; }
body.col_hd .site { background: #242424; }
body.col_hd .card9 h1 { color: #ddd; }
body.col_hd .card9 p,
body.col_hd .link_box8 { color: #aaa; }
body.col_hd .hot { color: #d2d2d2; }
body.col_hd .hot p { color: #d2d2d2; }
body.col_hd.time2 .site,
body.col_hd.story_cover3 .site,
body.col_hd.name7 .site { background: #242424; }
@media (max-width: 768px) {
    .hd { grid-template-columns: auto 28px 28px 28px 1fr 42px; }
    body.col_hd .hd { background: #2b2b2b; border-color: #555; }
}

:root { --reader-bg-custom: #E9FAFF; }
.site { background: var(--reader-bg-custom, #f6f1e7); }
body:not(.col_hd) .site { background: var(--reader-bg-custom, #E9FAFF); }
body:not(.col_hd) .hot { color: #333; }

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

@media (max-width: 768px) {
    .site > .link_box8,
    .site > .card9 { display: none; }
    .site { padding-top: 0; }
}

/* 关灯只作用于章节正文，头部、搜索、工具栏和翻页保持原样。 */
body.col_hd { background: #e6f8fb; color: #555; }
body.col_hd a { color: #4d6da8; }
body.col_hd .update_ft { background: #d9eef3; border-color: #b8dce7; color: #6d8f9e; }
body.col_hd .hot3,
body.col_hd .book_name3 { background: #e6f8fb; border-color: #72c4e8; color: #555; }
body.col_hd .page_con5,
body.col_hd .head_mod { background: #79c2e3; }
body.col_hd .page_con5 a,
body.col_hd .head_mod a { color: #fff; }
body.col_hd .cover_line,
body.col_hd .descinner input,
body.col_hd .cell_line6 select { background: #fff; color: #333; border-color: #9bc7df; }
body.col_hd .site,
body.col_hd.time2 .site,
body.col_hd.story_cover3 .site,
body.col_hd.name7 .site { background: #2f3437; border-color: #444; }
body.col_hd .card9 h1 { color: #ddd; }
body.col_hd .card9 p,
body.col_hd .link_box8 { color: #aaa; }
body.col_hd .head a,
body.col_hd .head span { background: #363b3f; border-color: #555; color: #c8c8c8; }
body.col_hd .hd { background: #2f3437; border-color: #555; }
body.col_hd .hd span,
body.col_hd .hd label { color: #c8c8c8; }
body.col_hd .hd select,
body.col_hd .hd button { background: #363b3f; border-color: #6b747b; color: #c8d7e8; }
body.col_hd .hot { background: transparent; color: #aaa; }
body.col_hd .name_ft { border-color: #555; color: #bbb; }
body.col_hd .hot p { color: #aaa; }
body.col_hd .card_infoinner a { color: #0871bd; text-shadow: 2px 2px 0 #c3e3f1; }
body.col_hd .main_img9 { color: #0871bd; border-color: #79c2e3; background: rgba(255,255,255,.55); }
body.col_hd .main_img9:hover { color: #0871bd; background: rgba(255,255,255,.8); }
body.col_hd .bar { background: #eee; }
body.col_hd .bar h2 { color: #777; }
body.col_hd .sort_link8 a { background: #e3e3e3; color: #333; }
.bd { text-align: center; padding: 54px 20px 62px; border: 3px solid #86c9e8; background: #fffdf6; }
.bd h1 { margin-bottom: 12px; color: #287dc2; font-size: 30px; font-weight: 700; }
.bd p { margin: 8px 0; color: #555; }
.update { display: inline-block; min-width: 110px; height: 34px; margin-top: 12px; line-height: 34px; background: #4eadd0; color: #fff; border-radius: 3px; }
.update:hover { color: #fff; text-decoration: none; background: #287dc2; }
@media (max-width: 768px) {
    body.col_hd .hot3 { background: #dff5fb; }
    .bd { padding: 42px 12px 48px; border-width: 2px; }
    .bd h1 { font-size: 24px; }
}

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

/* Home update/new panels alignment fix */
.ft .hd5,
.ft .pic_item { align-self: start; }
.ft .cate_name7,
.ft .cate_coverinner { padding: 8px 10px; font-size: 13px; }
.ft .cate_name7 li,
.ft .cate_coverinner li { height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; }
.ft .cate_name7 li { grid-template-columns: 92px 188px minmax(0, 1fr) 78px 42px; gap: 7px; }
.ft .cate_coverinner li { grid-template-columns: 82px minmax(0, 1fr) 62px; gap: 7px; }
.ft .cate_name7 .cha,
.ft .cate_name7 .head_grid,
.ft .cate_name7 .ft_cell4,
.ft .cate_name7 .date6,
.ft .cate_name7 .colhd,
.ft .cate_coverinner span,
.ft .cate_coverinner a,
.ft .cate_coverinner em { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 768px) {
    .ft .cate_name7,
    .ft .cate_coverinner { padding: 4px 8px; font-size: 14px; }
    .ft .cate_name7 li,
    .ft .cate_coverinner li { height: 34px; line-height: 34px; }
    .ft .cate_name7 li { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
    .ft .cate_coverinner li { grid-template-columns: minmax(0, 1fr) 88px; gap: 6px; }
}

/* rank-static-layout */
.tag_grid.rank {
    display: block !important;
    border: 2px solid #86c7e7;
    background: #fffdf6;
    padding: 10px 12px;
    margin: 12px auto 0;
    box-sizing: border-box;
}
.tag_grid.rank .new3 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 18px;
}
.tag_grid.rank .home_unit5 {
    float: none !important;
    width: auto !important;
    min-height: 164px;
    margin: 0 !important;
    padding: 0 0 10px;
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 12px;
    border-bottom: 1px dotted #b9ccd2;
    box-sizing: border-box;
    overflow: hidden;
}
.tag_grid.rank .panel,
.tag_grid.rank .panel img {
    display: block;
    width: 116px;
    height: 154px;
}
.tag_grid.rank .panel img {
    object-fit: cover;
    border: 1px solid #b7cbd4;
    background: #f4f4f4;
    box-sizing: border-box;
}
.tag_grid.rank .bdunit {
    min-width: 0;
    overflow: hidden;
}
.tag_grid.rank .bdunit h2 {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 5px;
    padding: 0 0 4px;
    border-bottom: 1px dotted #b9ccd2;
    font-size: 15px;
    line-height: 22px;
    white-space: nowrap;
}
.tag_grid.rank .bdunit h2 a {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tag_grid.rank .title {
    margin-left: auto;
    max-width: 66px;
    color: #aaa;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tag_grid.rank .tag_name {
    margin: 0;
    color: #333;
    font-size: 13px;
    line-height: 24px;
    text-indent: 2em;
    max-height: 120px;
    overflow: hidden;
}
.tag_grid.rank .unit_bd9 {
    grid-column: 1 / -1;
    margin: 0;
    padding: 12px;
    color: #555;
}
@media (max-width: 720px) {
    .tag_grid.rank {
        padding: 8px;
    }
    .tag_grid.rank .new3 {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .tag_grid.rank .home_unit5 {
        min-height: 108px;
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 8px;
        padding: 8px 0;
    }
    .tag_grid.rank .panel,
    .tag_grid.rank .panel img {
        width: 76px;
        height: 100px;
    }
    .tag_grid.rank .bdunit h2 {
        font-size: 14px;
        line-height: 20px;
    }
    .tag_grid.rank .tag_name {
        font-size: 13px;
        line-height: 20px;
        max-height: 60px;
        text-indent: 0;
    }
}
/* /rank-static-layout */

/* static rank page, bqg style */
.tag_grid.wrap4 {
  display: block;
  border: 2px solid #8ed1ef;
  background: #fffdf6;
  padding: 12px;
}
.wrap4 .list_inner2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  margin: 0 0 10px;
  min-height: 28px;
}
.wrap4 .list_inner2 h2 {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  color: #444;
  font-weight: 700;
}
.wrap4 .list_inner2 strong {
  grid-column: 2 / 3;
  text-align: center;
  font-size: 18px;
  line-height: 28px;
  color: #444;
}
.wrap4 .shu_link3 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 12px;
}
.wrap4 .card_sec {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  min-height: 156px;
  overflow: hidden;
}
.wrap4 .panel_meta7 img {
  width: 110px;
  height: 148px;
  object-fit: cover;
  border: 1px solid #b7d2dd;
  background: #fff;
}
.wrap4 .cont_text {
  min-width: 0;
}
.wrap4 .card_sec 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;
}
.wrap4 .card_sec h3 a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wrap4 .card_sec h3 span,
.wrap4 .card_sec h3 em {
  color: #999;
  font-weight: 400;
  font-style: normal;
  white-space: nowrap;
}
.wrap4 .meta_info {
  margin: 4px 0;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
}
.wrap4 .meta_info a {
  display: inline;
}
.wrap4 .tag_name {
  margin: 6px 0 0;
  color: #333;
  font-size: 13px;
  line-height: 23px;
  max-height: 92px;
  overflow: hidden;
}
@media (max-width: 720px) {
  .tag_grid.wrap4 {
    padding: 8px;
  }
  .wrap4 .list_inner2 {
    display: flex;
    justify-content: space-between;
  }
  .wrap4 .list_inner2 h2 {
    font-size: 20px;
  }
  .wrap4 .list_inner2 strong {
    font-size: 16px;
  }
  .wrap4 .shu_link3 {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .wrap4 .card_sec {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 116px;
  }
  .wrap4 .panel_meta7 img {
    width: 86px;
    height: 116px;
  }
  .wrap4 .tag_name {
    max-height: 66px;
  }
}

/* static category layout fix */
body { background: #e6f8fb; color: #333; font: 14px/1.8 "Microsoft YaHei", "PingFang SC", Arial, sans-serif; }
a { color: #2d65ad; }
a:hover { color: #c00; text-decoration: underline; }
.item_name8, .top8, .side_col7, .time_name8 { width: 980px; max-width: 980px; margin: 0 auto; }
.hot3 { background: #e6f8fb; }
.side_col7 { height: 86px; display: flex; align-items: center; gap: 28px; }
.card_infoinner { width: 180px; font-size: 34px; line-height: 1; font-family: Georgia, "Microsoft YaHei", serif; font-weight: 700; }
.card_infoinner a { color: #0871bd; text-shadow: 2px 3px 3px rgba(0, 90, 150, .28); }
.card_infoinner a:hover { text-decoration: none; color: #0871bd; }
.unit_panel { margin-left: auto; flex: 0 0 470px; display: flex; height: 38px; border: 1px solid #9bd5ee; background: #fff; }
.cover_line { flex: 1; height: 36px; padding: 0 12px; border: 0; font-size: 14px; outline: 0; }
.read_inner4 { width: 78px; height: 36px; border: 0; background: #ddd; color: #222; cursor: pointer; }
.page_con5 { width: 980px; max-width: 980px; height: 42px; margin: 0 auto; background: #74c0df; display: block; overflow: hidden; }
.time_name8 { display: flex; height: 42px; width: 980px; }
.page_con5 a { display: block; color: #fff; font-weight: 700; line-height: 42px; padding: 0 12px; white-space: nowrap; }
.page_con5 a:hover, .page_con5 a.desc_sec7 { background: #57acd2; color: #fff; text-decoration: none; }
.item_inner6 { padding: 12px 0 20px; }

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

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

.site_text { display: grid; grid-template-columns: 1fr 300px; gap: 12px; margin-bottom: 12px; }
.cat_mod9, .bdinfo, .read_list9 { border: 3px solid #9bd5ee; background: #eefafa; }
.cat_mod9 h2, .bdinfo h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd5ee; font-size: 16px; color: #333; }
.author_cover li, .deschd li, .cate_panel li { display: grid; align-items: center; min-height: 30px; line-height: 30px; border-bottom: 1px solid #d1e3e8; overflow: hidden; }
.author_cover li { grid-template-columns: 88px minmax(120px,1.15fr) minmax(180px,1.45fr) 90px 50px; column-gap: 8px; padding: 0 10px; }
.deschd li { grid-template-columns: 76px minmax(0, 1fr) 76px; column-gap: 0; padding: 0 10px; }
.deschd li.vol_row { grid-template-columns: 76px minmax(0, 1fr); }
.cate_panel li { grid-template-columns: 90px minmax(220px,1fr) minmax(240px,1.2fr) 120px 78px; column-gap: 8px; padding: 0 12px; }
.author_cover a, .deschd a, .cate_panel a, .story9, .block, .link5, .cha9, .deschd em { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.story9 { color: #555; }
.block, .link5, .cha9, .deschd em { color: #777; font-style: normal; text-align: right; }
.read_list9 { padding-bottom: 8px; }
.read_list9 h2 { height: 42px; line-height: 42px; padding: 0 12px; background: #fff; border-bottom: 1px solid #ddd; color: #0871bd; font-size: 18px; }
.area2 { display: grid; grid-template-columns: 160px minmax(160px, 1fr) 160px; gap: 12px; padding: 12px 10px 10px; background: #eefafa; }
.area2 button, .area2 select { width: 100%; height: 36px; border-radius: 2px; font: inherit; }
.area2 button { border: 0; background: #4badd3; color: #fff; cursor: pointer; }
.area2 button:disabled { opacity: .55; cursor: default; }
.area2 select { border: 1px solid #b9d7e3; background: #fff; padding: 0 10px; }
.cover_wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 5px; width: 100%; padding: 10px 6px; box-sizing: border-box; }
.cover_wrap button, .cover_wrap select { min-width: 0; padding-left: 3px; padding-right: 3px; font-size: 13px; }
.home_cover6 > [hidden] { display: none !important; }
.num_block { margin: 0; padding: 28px 20px; background: #fff; border: 1px solid #ddd; }
.num_block h2 { margin: 0 0 8px; font-size: 22px; color: #555; }
.num_block p, .wrap_bd4 { color: #555; }

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

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

@media (max-width: 1023px) {
  .item_name8, .top8, .side_col7, .page_con5, .time_name8 { width: auto; max-width: none; }
  .update_ft { display: block; }
  .top8 { padding: 0 10px; justify-content: center; }
  .hot3 { padding: 10px; }
  .side_col7 { height: auto; display: block; }
  .card_infoinner { width: auto; margin-bottom: 8px; font-size: 28px; }
  .unit_panel { width: 100%; max-width: none; margin: 0; flex-basis: auto; }
  .page_con5 { margin: 0 10px; height: 38px; overflow-x: auto; }
  .time_name8 { display: flex; height: 38px; min-width: max-content; }
  .page_con5 a { line-height: 38px; padding: 0 12px; }
  .item_inner6 { padding: 8px 10px 16px; }
  .block_info { display: block; padding: 8px; }
  .block_info .novel_name3 { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .block_info .time_box, .block_info .time_box img { width: 86px; }
  .block_info .time_box img { height: 116px; }
  .home { display: block; }
  .cover_panel2 { min-height: 0; border-right: 0; }
  .site_text { display: flex; flex-direction: column; }
  .bdinfo { order: 1; }
  .cat_mod9 { order: 2; }
  .author_cover li { grid-template-columns: 1fr 1fr; gap: 0 10px; min-height: 28px; line-height: 28px; }
  .author_cover .story9, .author_cover .block, .author_cover .cha9 { display: none; }
  .deschd li { grid-template-columns: 1fr 72px; min-height: 28px; line-height: 28px; }
  .deschd li span { display: none; }
  .cate_panel li { grid-template-columns: 1fr 72px; min-height: 30px; line-height: 30px; }
  .cate_panel .story9, .cate_panel .bars { display: none; }
  .cate_panel .block, .cate_panel .link5 { text-align: right; }
  .read_list9 h2 { height: 36px; line-height: 36px; font-size: 16px; }
  .area2 { grid-template-columns: 1fr 1.25fr 1fr; gap: 8px; padding: 10px 8px; }
  .cover_wrap { grid-template-columns: 1fr 1.25fr 1fr; }
  .img { display: block; }
  .card { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .panel img { width: 86px; height: 116px; }
}

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

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

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

  .cate_cover .novel_name3:last-child {
    border-bottom: 0;
  }

  .cate_cover .time_box,
  .cate_cover .time_box img {
    width: 82px;
  }

  .cate_cover .time_box img {
    height: 110px;
    object-fit: cover;
  }

  .cate_cover .unit_ft {
    min-width: 0;
  }

  .cate_cover .unit_ft 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;
  }

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

  .cate_cover .unit_ft 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;
  }

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

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

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

  .wen .cat_mod9 h2,
  .wen .bdinfo h2 {
    padding: 8px 10px;
    font-size: 14px;
    line-height: 20px;
  }

  .wen .author_cover 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;
  }

  .wen .author_cover .story9,
  .wen .author_cover .desc_info8,
  .wen .author_cover .bars {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
  }

  .wen .author_cover .story9 {
    display: none;
  }

  .wen .author_cover .block,
  .wen .author_cover .cha9 {
    display: none;
  }

  .wen .deschd 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;
  }

  .wen .deschd li.vol_row {
    grid-template-columns: minmax(0, 1fr);
  }

  .wen .deschd li > span {
    display: none;
  }

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

/* desktop bqg scale restore */
@media (min-width: 1024px) {
  .item_name8,
  .top8,
  .side_col7,
  .time_name8 {
    width: 1024px;
    max-width: 1024px;
  }

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

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

  .block_info .time_box,
  .block_info .time_box img {
    width: 120px;
  }

  .block_info .time_box img {
    height: 160px;
  }

  .block_info .unit_ft h3,
  .home .unit_ft h3 {
    font-size: 15px;
    line-height: 23px;
  }

  .block_info .unit_ft p,
  .home .unit_ft p {
    font-size: 14px;
    line-height: 24px;
  }

  .cover_panel2 {
    padding: 10px 12px;
  }

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

  .cover_panel2 .time_box,
  .cover_panel2 .time_box img {
    width: 92px;
  }

  .cover_panel2 .time_box img {
    height: 124px;
  }

  .tag_cover li,
  .deschd li,
  .author_cover li {
    font-size: 14px;
    min-height: 24px;
    line-height: 24px;
  }

  .cat_mod9 h2,
  .bdinfo h2,
  .cover_panel2 h2 {
    font-size: 16px;
  }
}

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

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

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

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

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

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

  .newitem .block_info .novel_name3:nth-child(n+5) {
    display: none;
  }

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

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

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

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

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

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

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

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

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

  .newitem .block_info {
    display: block;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
  }

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

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

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

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

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

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

/* 2026-07-12: force desktop nav/header width to 1024px */
@media (min-width: 1024px) {
  .top8,
  .side_col7,
  .time_name8,
  .item_name8 {
    width: 1024px !important;
    max-width: 1024px !important;
    box-sizing: border-box;
  }

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

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

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

.page_con5 a:hover,
.head_mod a:hover,
.time_name8 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) {
  .top8,
  .side_col7,
  .time_name8,
  .item_name8,
  .page_con5,
  .head_mod {
    width: 1024px !important;
    max-width: 1024px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .page_con5,
  .head_mod {
    overflow: hidden !important;
  }
}

@media (max-width: 1023px) {
  .top8,
  .side_col7,
  .time_name8,
  .item_name8,
  .page_con5,
  .head_mod {
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .item_name8,
  .side_col7,
  .top8 {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

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

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

/* nav-hover-disabled: 导航条不保留 hover / focus / active 印记 */
.hot3 nav a:hover,
.hot3 nav a:focus,
.hot3 nav a.desc_sec7,
.hot3 nav .desc_sec7,
.side_col7 nav a:hover,
.side_col7 nav a:focus,
.side_col7 nav a.desc_sec7,
.side_col7 nav .desc_sec7,
.page_con5 a:hover,
.page_con5 a:focus,
.page_con5 a.desc_sec7,
.page_con5 .desc_sec7,
.head_mod a:hover,
.head_mod a:focus,
.head_mod a.desc_sec7,
.head_mod .desc_sec7 {
    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) {
    .top8,
    .hot3 .side_col7,
    .side_col7,
    .item_name8,
    .item_inner6,
    .box_link,
    .chabox,
    .desc_img,
    .page_con5,
    .head_mod {
        width: 1024px !important;
        max-width: 1024px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
}

/* 小于等于 1024：立即切到移动自适应，不再保留桌面定宽 */
@media (max-width: 1023px) {
    html,
    body {
        width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    body {
        margin: 0 !important;
    }

    .update_ft,
    .hot3,
    .item_inner6,
    .book_name3,
    .top8,
    .hot3 .side_col7,
    .side_col7,
    .item_name8,
    .desc_img,
    .box_link,
    .chabox,
    .bar_box,
    .page_con5,
    .head_mod {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .top8,
    .hot3 .side_col7,
    .side_col7,
    .item_name8,
    .box_link,
    .chabox,
    .item_inner6 {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

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

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

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

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

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

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

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

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

    .tag_grid,
    .hd_unit,
    .new3,
    .foot_list,
    .meta9,
    .read_list9 .side,
    .cate_panel,
    .side,
    .foot_con,
    .tool_text,
    .foot_block8,
    .wrap_hd5 {
        display: block !important;
        grid-template-columns: none !important;
        columns: auto !important;
        width: 100% !important;
    }

    .headcell,
    .tool_name,
    .side .wen_unit,
    .cate_panel .wen_unit,
    .foot_con .wen_unit,
    .tool_text .wen_unit,
    .foot_block8 .wen_unit,
    .sort_bar,
    .cha_area {
        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;
    }

    .headcell img,
    .tool_name img,
    .panel img,
    .side .wen_unit img,
    .cate_panel .wen_unit img,
    .foot_con .wen_unit img,
    .tool_text .wen_unit img,
    .foot_block8 .wen_unit img,
    .sort_bar img,
    .cha_area img {
        width: 88px !important;
        height: 118px !important;
        object-fit: cover !important;
    }

    .bdunit,
    .top_meta,
    .unit_ft,
    .wraps,
    .cha_area dl,
    .cha_area .cover_mod {
        min-width: 0 !important;
    }

    .page_grid,
    .story_list9,
    .page_con7,
    .new {
        display: block !important;
        grid-template-columns: none !important;
        width: 100% !important;
    }

    .page_grid > *,
    .story_list9 > *,
    .page_con7 > *,
    .new > * {
        width: 100% !important;
        margin-bottom: 10px !important;
        box-sizing: border-box !important;
    }
}

/* 导航条不保留 hover/focus/active 视觉印记 */
.page_con5 a:hover,
.page_con5 a:focus,
.page_con5 a:active,
.page_con5 a.desc_sec7,
.page_con5 .desc_sec7,
.head_mod a:hover,
.head_mod a:focus,
.head_mod a:active,
.head_mod a.desc_sec7,
.head_mod .desc_sec7,
.hot3 nav a:hover,
.hot3 nav a:focus,
.hot3 nav a:active,
.hot3 nav a.desc_sec7,
.side_col7 nav a:hover,
.side_col7 nav a:focus,
.side_col7 nav a:active,
.side_col7 nav a.desc_sec7 {
    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) {
  .newitem .unit_ft p,
  .cate_cover .unit_ft p {
    height: 130px;
    line-height: 26px;
  }
}

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

  .side_col7 {
    height: 68px;
  }

  .page_con5,
  .time_name8 {
    height: 38px;
  }

  .page_con5 a,
  .time_name8 a {
    line-height: 38px;
  }

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

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

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

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

  .hot3 .side_col7,
  .side_col7 {
    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;
  }

  .hot3 .card_infoinner,
  .hot3 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;
  }

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

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

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

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

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

  .hot3 .unit_panel,
  .side_col7 .unit_panel {
    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;
  }

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

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

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

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

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

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

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

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

  .bar_item .cont_bar5 {
    display: contents !important;
  }

  .bar_item .cont_bar5 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;
  }

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

  .bar_item .list_info p {
    height: 25px !important;
    line-height: 25px !important;
  }

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

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

  .bar_item .bar_boxft.area_cover {
    max-height: none !important;
  }

  .bar_item .head_ft9 {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
  }

  .card_info .col {
    grid-template-columns: 1fr !important;
  }

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

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

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

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

  .item_inner6 .item_name8 > .link {
    margin: 0 0 14px !important;
    padding: 14px 10px 16px !important;
    background: #fff !important;
  }

  .item_inner6 .item_name8 > .link .top_panel {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 14px !important;
  }

  .item_inner6 .item_name8 > .link .top_panel 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) {
  .wen .author_cover li {
    height: 35px;
    min-height: 35px;
    line-height: 35px;
  }

  .wen .deschd li,
  .wen .deschd li.vol_row {
    height: 30px;
    min-height: 30px;
    line-height: 30px;
  }

  /* 数据不足49条时，左右条数相同，统一使用35px行高。 */
  .wen.num_name .deschd li,
  .wen.num_name .deschd li.vol_row {
    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. */
.wen { align-items: stretch; }
.wen .cat_mod9,
.wen .bdinfo { min-width: 0; }
.wen .bdinfo { display: flex; flex-direction: column; }
.wen .bdinfo .deschd { flex: 0 0 auto; }
.wen .author_main5 {
  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;
}
.wen .author_main5 > a,
.wen .author_main5 > span,
.wen .author_main5 > select {
  width: 100%;
  height: 36px;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
.wen .author_main5 > a,
.wen .author_main5 > span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.wen .author_main5 > select {
  border: 1px solid #b9d7e3;
  background: #fff;
  padding: 0 10px;
}
.wen .shu_bd7 {
  margin: auto 0 0;
  padding: 12px 10px 10px;
  border-top: 1px solid #cbdde3;
  box-sizing: border-box;
}
.wen .shu_bd7 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) {
  .wen .author_main5 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 5px;
    padding: 10px 6px;
  }
}

/* Mobile reader width: avoid stacking page/container/reader side gutters. */
@media (max-width: 1023px) {
  .item_inner6.list_cover4,
  .item_inner6.cha_inner,
  .item_inner6.name_link3 {
    width: 100% !important;
    max-width: none !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    box-sizing: border-box !important;
  }

  .item_inner6.list_cover4 > .item_name8,
  .item_inner6.cha_inner > .item_name8,
  .item_inner6.name_link3 > .item_name8 {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

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

  .item_inner6.cont_ft > .item_name8 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .item_inner6.cont_ft .site {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: clamp(6px, 2vw, 16px) !important;
    padding-right: clamp(6px, 2vw, 16px) !important;
    box-sizing: border-box !important;
  }

  .item_inner6.cont_ft .hot {
    width: 100% !important;
    max-width: none !important;
    padding-left: clamp(2px, 1.2vw, 10px) !important;
    padding-right: clamp(2px, 1.2vw, 10px) !important;
    box-sizing: border-box !important;
  }

  .item_inner6.cont_ft .hd,
  .item_inner6.cont_ft .head {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}
