* { 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%; }
.shu-panel, .side-meta4, .wen-box, .homebar, .cha-list { max-width: 980px; margin: 0 auto; }

.wen-sec { height: 30px; background: #f7f7f7; border-bottom: 1px solid #ddd; color: #777; font-size: 12px; }
.side-meta4 { display: flex; gap: 24px; align-items: center; height: 30px; }
.img { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.img:hover { color: #0871bd; text-decoration: underline; }
.home3 { background: #2f8ed8; }
.wen-box { height: 76px; display: flex; align-items: center; gap: 28px; }
.tag-line { width: 170px; font-size: 34px; line-height: 1; font-weight: 700; }
.tag-line a { color: #fff; letter-spacing: 0; }
.tag-line a:hover { color: inherit; text-decoration: none; }
.bd-ft { flex: 1; display: flex; max-width: 470px; }
.update-link8 { flex: 1; height: 38px; padding: 0 12px; border: 0; outline: 0; font-size: 14px; }
.page-img { width: 78px; height: 38px; border: 0; background: #f5a623; color: #fff; font-size: 15px; cursor: pointer; }
.unit-sec { margin-left: auto; display: flex; gap: 10px; }
.unit-sec a { color: #fff; padding: 5px 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 2px; }

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

.cont-panel { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 12px; }
.panel-name, .num, .row-hd, .read-box9, .col-ft2, .bookcon, .num-cover { background: #fff; border: 1px solid #ddd; }
.panel-name { display: grid; grid-template-columns: 1fr 1fr; padding: 12px; gap: 12px; }
.desc-name { display: flex; min-height: 132px; overflow: hidden; }
.desc-name .panel-ft { width: 88px; flex: 0 0 88px; margin-right: 12px; }
.desc-name .panel-ft img { width: 88px; height: 120px; object-fit: cover; border: 1px solid #ddd; }
.desc-name dt { height: 28px; line-height: 28px; overflow: hidden; font-weight: 700; }
.desc-name dt span { float: right; max-width: 72px; color: #888; font-size: 12px; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.desc-name dd { color: #555; height: 88px; overflow: hidden; font-size: 13px; }
.desc-name dd a { color: #555; }
.bd-row2, .row-hd h2, .col-ft2 h2, .bookcon h2 { height: 38px; line-height: 38px; padding: 0 12px; border-bottom: 1px solid #ddd; background: #f9f9f9; color: #287dc2; font-size: 16px; }
.cont, .side-bar, .menu-name7, .desc-bd, .hot-item2 { list-style: none; }
.cont li, .menu-name7 li, .hot-item2 li { display: flex; height: 35px; line-height: 35px; padding: 0 12px; border-bottom: 1px dashed #e5e5e5; overflow: hidden; }
.sec-text, .row-unit { width: 86px; color: #888; flex: 0 0 86px; }
.cell-mod3, .img-con2 { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.menu { width: 220px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.row-grid, .block { width: 88px; color: #777; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.row { width: 70px; color: #888; text-align: right; }

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

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

.list-meta7 { background: #f6f1e7; border: 1px solid #d8cfbd; padding: 0 24px 26px; }
.cont-col { height: 38px; line-height: 38px; color: #777; border-bottom: 1px solid #e4dccd; font-size: 13px; }
.vol-unit { text-align: center; padding: 20px 0 10px; border-bottom: 1px dashed #d8cfbd; }
.vol-unit h1 { font-size: 26px; font-weight: 500; color: #222; }
.vol-unit p { color: #777; margin-top: 6px; }
.nav-hd { padding: 20px 8px; color: #222; font: 20px/2 "Microsoft YaHei", "PingFang SC", serif; }
.blocks { 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; }
.nav-hd p { text-indent: 2em; margin-bottom: 14px; text-align: justify; }
.ft-text { display: flex; justify-content: center; gap: 12px; padding: 18px 0 0; border-top: 1px dashed #d8cfbd; }
.ft-text.cha-unithd { padding: 14px 0; border-top: 0; border-bottom: 1px dashed #d8cfbd; }
.list-meta7 .ft-text.vol-cover { margin-bottom: 18px; }
.ft-text a, .ft-text span { min-width: 110px; height: 34px; line-height: 34px; text-align: center; background: #fff; border: 1px solid #d8cfbd; color: #555; }
.ft-text a:hover { background: #287dc2; color: #fff; text-decoration: none; border-color: #287dc2; }

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

@media (max-width: 768px) {
    .shu-panel, .side-meta4, .wen-box, .homebar, .cha-list { width: 100%; max-width: none; }
    .wen-sec { display: none; }
    .home3 { padding: 10px; }
    .wen-box { height: auto; display: block; }
    .tag-line { width: auto; margin-bottom: 10px; font-size: 28px; text-align: center; }
    .bd-ft { max-width: none; }
    .unit-sec { display: none; }
    .homebar { display: none; }
    .cha-list { display: flex; overflow-x: auto; background: #287dc2; }
    .cha-list a { color: #fff; line-height: 38px; padding: 0 14px; white-space: nowrap; }
    .author3sec { padding: 8px; }
    .cont-panel, .site-area { display: block; }
    .panel-name { grid-template-columns: 1fr; margin-bottom: 10px; }
    .num, .row-hd { margin-bottom: 10px; }
    .sec-text, .menu, .row-grid, .row-unit, .block, .row { display: none; }
    .side-bar { columns: 1; }
    .read-box9 { display: block; text-align: center; }
    .read-box9 .side-grid4 { margin: 0 auto 12px; }
    .wen-name2 h1 { height: auto; line-height: 1.4; font-size: 24px; }
    .home-box { justify-content: center; }
    .desc-bd { grid-template-columns: 1fr; }
    .list-meta7 { padding: 0 12px 18px; }
    .vol-unit h1 { font-size: 22px; }
    .nav-hd { font-size: 18px; line-height: 1.95; padding: 14px 0; }
    .blocks { display: block; font-size: 18px; margin-bottom: 12px; padding-bottom: 8px; line-height: 1.45; }
    .ft-text { gap: 8px; }
    .ft-text a, .ft-text span { min-width: 0; flex: 1; }
}

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

/* Screenshot-style desktop home layout */
body { background: #e6f8fb; color: #555; font-size: 14px; }
a { color: #4d6da8; }
.shu-panel, .side-meta4, .wen-box, .homebar, .cha-list { max-width: 1160px; }
.wen-sec { background: #d9eef3; border-bottom: 1px solid #b8dce7; }
.side-meta4 { color: #6d8f9e; }
.home3 { background: #e6f8fb; }
.wen-box { height: 82px; gap: 24px; }
.tag-line { width: 150px; font-size: 36px; font-family: Georgia, "Microsoft YaHei", serif; text-shadow: 2px 2px 0 #c3e3f1; }
.tag-line a { color: #0871bd; }
.bd-ft { max-width: 480px; margin-left: auto; }
.update-link8 { height: 36px; border: 1px solid #9bc7df; background: #fff; }
.page-img { height: 36px; background: #ddd; color: #222; }
.unit-sec { display: none; }
.homebar { height: 44px; background: #79c2e3; padding: 0 10px; }
.homebar a { line-height: 44px; padding: 0 11px; border-right: 0; color: #fff; font-weight: 700; }
.homebar a:hover { background: #5eb1d8; }
.author3sec { padding: 12px 0 24px; }

.col9 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 22px; padding: 14px; margin-bottom: 22px; border: 3px solid #b9dff1; background: #fffdf6; }
.item-hdname { display: grid; grid-template-columns: 126px 1fr; gap: 12px; min-height: 176px; }
.list-mod5 img { width: 126px; height: 170px; object-fit: cover; border: 1px solid #abc6d4; padding: 3px; background: #fff; }
.hd-cell h2 { height: 28px; line-height: 28px; font-size: 15px; border-bottom: 1px dotted #c7d8e3; overflow: hidden; }
.hd-cell h2 a { color: #5b6fad; font-weight: 700; }
.hd-cell h2 span { float: right; color: #aaa; font-weight: 400; }
.hd-cell p { padding-top: 8px; color: #555; line-height: 1.85; height: 132px; overflow: hidden; text-indent: 2em; }
.tag-item { display: grid; grid-template-columns: 1fr 335px; gap: 14px; align-items: start; }
.cat-col, .ft-bar { border: 3px solid #86c9e8; background: #eef6f6; }
.cat-col h2, .ft-bar h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd3e9; color: #456; font-size: 16px; }
.top4, .pic { list-style: none; padding: 8px 12px; }
.top4 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; }
.top4 .ft-panel7 { color: #555; }
.top4 .card-main, .top4 .grid, .top4 .site8 { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.top4 .site8, .top4 .main-line { color: #aaa; text-align: right; }
.pic li { display: grid; grid-template-columns: 78px 1fr 58px; gap: 6px; height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; overflow: hidden; }
.pic span { color: #555; }
.pic a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pic em { color: #666; font-style: normal; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.shu8 { display: grid; grid-template-columns: 190px 1fr 190px; gap: 18px; padding: 14px 12px; }
.shu8 a, .shu8 select { height: 40px; border: 0; background: #4eadd0; color: #fff; text-align: center; border-radius: 3px; font-weight: 700; }
.shu8 a { line-height: 40px; }
.shu8 select { background: #fff; color: #222; border: 1px solid #d8e2e4; padding: 0 12px; }
.hot-con { 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; }
    .shu-panel, .side-meta4, .wen-box, .homebar, .cha-list { width: 100%; max-width: none; }
    .wen-sec { display: none; }
    .home3 { padding: 10px; background: #dff5fb; }
    .wen-box { display: block; height: auto; }
    .tag-line { width: auto; font-size: 30px; text-align: left; margin: 0 0 10px; padding-right: 58px; }
    .bd-ft { max-width: none; display: flex; margin-left: 0; }
    .update-link8 { height: 38px; font-size: 14px; }
    .page-img { width: 72px; height: 38px; }
    .homebar { display: none; }
    .cha-list { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); overflow: hidden; height: 40px; background: #79c2e3; padding: 0; }
    .cha-list a { min-width: 0; color: #fff; line-height: 40px; padding: 0 2px; text-align: center; font-weight: 700; white-space: nowrap; }
    .wen-box .cha-list { margin-bottom: 8px; }
    .author3sec { padding: 8px; }
    .col9 { display: block; padding: 8px; margin-bottom: 10px; border-width: 2px; }
    .item-hdname { display: grid; grid-template-columns: 82px 1fr; gap: 10px; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #d8e2e4; }
    .item-hdname:last-child { border-bottom: 0; }
    .list-mod5 img { width: 82px; height: 110px; padding: 2px; }
    .hd-cell h2 { height: 24px; line-height: 24px; font-size: 15px; }
    .hd-cell h2 span { display: none; }
    .hd-cell p { height: 78px; line-height: 1.7; padding-top: 5px; text-indent: 0; }
    .tag-item { display: block; }
    .cover9 { display: flex; flex-direction: column; }
    .cover9 .ft-bar { order: 1; }
    .cover9 .cat-col { order: 2; }
    .cat-col, .ft-bar { border-width: 2px; margin-bottom: 10px; }
    .cat-col h2, .ft-bar h2 { height: 34px; line-height: 34px; font-size: 15px; }
    .top4, .pic { padding: 4px 8px; }
    .top4 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; }
    .top4 .site8, .top4 .main-line { display: none; }
    .top4 .ft-panel7 { display: block; width: auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #555; }
    .top4 .card-main { font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .top4 .grid { color: #777; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .pic li { grid-template-columns: minmax(0, 1fr) 88px; height: 34px; line-height: 34px; }
    .pic span { display: none; }
    .shu8 { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .shu8 select { grid-column: 1 / -1; order: -1; }
    .hot-con { padding: 14px 8px; line-height: 1.7; }
}

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

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

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

.img-meta { position: fixed; right: 18px; bottom: 26px; z-index: 50; display: grid; gap: 8px; }
.img-meta 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); }
.img-meta button:hover { background: #4eadd0; }
body.img-list { background: #1e1e1e; color: #aaa; }
body.img-list a { color: #9eb8e8; }
body.img-list .wen-sec,
body.img-list .home3,
body.img-list .hot-con { background: #252525; border-color: #3a3a3a; color: #888; }
body.img-list .homebar,
body.img-list .cha-list { background: #333; }
body.img-list .homebar a:hover,
body.img-list .cha-list a:hover { background: #444; }
body.img-list .col9,
body.img-list .cover3,
body.img-list .page-hd6,
body.img-list .mod-hd,
body.img-list .cate-panel3,
body.img-list .grid-text,
body.img-list .read-box9,
body.img-list .col-ft2,
body.img-list .bookcon,
body.img-list .num-cover,
body.img-list .cat-col,
body.img-list .ft-bar,
body.img-list .menu-main,
body.img-list .side-cell { background: #2a2a2a; border-color: #444; }
body.img-list .list-meta7 { background: #202020; border-color: #444; }
body.img-list .nav-hd { color: #b8b8b8; }
body.img-list .bd-row2,
body.img-list .row-hd h2,
body.img-list .col-ft2 h2,
body.img-list .bookcon h2,
body.img-list .cat-col h2,
body.img-list .ft-bar h2,
body.img-list .menu-main h2,
body.img-list .cate-panel3 h1,
body.img-list .num-cover h1,
body.img-list .site-grid7 h2,
body.img-list .grid-text h1 { background: #333; color: #ccc; border-color: #444; }
body.img-list .hd-cell p,
body.img-list .itemmod p,
body.img-list .update p,
body.img-list .box-area p,
body.img-list .col-ft2 p,
body.img-list .wen-name2 p,
body.img-list .read .wen-bar { color: #aaa; }
body.img-list .ft-grid th { background: #333; color: #ccc; }
body.img-list .ft-grid th,
body.img-list .ft-grid td,
body.img-list .top4 li,
body.img-list .pic li,
body.img-list .menu-main li,
body.img-list .story-grid li { border-color: #444; }
body.img-list .update-link8,
body.img-list .date-bar input,
body.img-list .shu8 select { background: #222; color: #ddd; border-color: #555; }
@media (max-width: 768px) {
    .img-meta { right: 10px; bottom: 14px; }
    .img-meta button { width: 48px; height: 32px; font-size: 13px; }
}

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

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

.foot-row { border: 3px solid #86c9e8; background: #eef6f6; margin-bottom: 22px; }
.foot-row .cont-col { height: 34px; line-height: 34px; padding: 0 12px; color: #456; border-bottom: 1px solid #b9dff1; background: #dcecef; }
.unit-item3 { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 14px 28px 18px; }
.img5 {
    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;
}
.img5 img {
    display: block;
    width: 100%;
    height: 176px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}
.nav-box h1 { font-size: 30px; line-height: 44px; color: #333; }
.text5 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-bottom: 1px dashed #86aebd; padding-bottom: 6px; margin-bottom: 8px; }
.text5 p { height: 28px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #444; }
.text5 .card { color: #b54800; font-weight: 700; grid-column: 1 / -1; }
.title-wrap { grid-column: 2; line-height: 1.8; color: #444; }
.ft-main { display: none; }
.block7 { display: none; }
.info-list { border: 3px solid #4eadd0; background: #eef6f6; margin-bottom: 30px; }
.info-list h2 { height: 38px; line-height: 38px; text-align: center; background: #9fb6bd; color: #333; font-size: 16px; border-bottom: 1px solid #9fc9db; }
.info-list .desc-bd { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 12px; list-style: none; }
.info-list .desc-bd li { height: 40px; line-height: 40px; border-bottom: 1px dashed #9fb6bd; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-right: 16px; }
.info-list .desc-bd.desc-wrap li { font-weight: 700; }
.author3 { display: grid; grid-template-columns: 250px 1fr 250px; gap: 18px; padding: 16px 12px; }
.author3 a, .author3 span, .author3 button, .author3 select { height: 40px; line-height: 40px; border: 0; text-align: center; border-radius: 3px; }
.author3 a, .author3 span, .author3 button { background: #1e6f8a; color: #fff; cursor: pointer; font: inherit; }
.author3 button:disabled { cursor: default; opacity: .65; }
.author3 select { background: #fff; border: 1px solid #ddd; padding: 0 12px; text-align: left; }
.info-cover { background: #eee; padding: 18px 14px; margin-bottom: 20px; }
.info-cover h2 { text-align: center; color: #777; font-size: 16px; margin-bottom: 14px; font-weight: 400; }
.side-panel3 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 45px; }
.side-panel3 a { display: block; height: 38px; line-height: 38px; text-align: center; background: #e3e3e3; color: #333; border-radius: 3px; }
@media (max-width: 768px) {
    .foot-row, .info-list { border-width: 2px; margin-bottom: 12px; }
    .foot-row .cont-col { height: auto; line-height: 1.5; padding: 8px; }
    .unit-item3 { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 10px; align-items: start; }
    .img5 { width: 96px; min-height: 126px; padding: 4px; background: rgba(255,255,255,.45); }
    .img5 img { width: 100%; height: 118px; object-fit: contain; object-position: center; }
    .nav-box { min-width: 0; }
    .nav-box h1 { font-size: 18px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .text5 { display: block; border-bottom: 0; padding-bottom: 0; margin-bottom: 6px; }
    .text5 p { height: 26px; line-height: 26px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .ft-main { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; grid-column: 1 / -1; margin: 2px 0 8px; }
    .home-area9 { 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; }
    .home-area9:hover { color: #fff; text-decoration: none; opacity: .92; }
    .home-area9.numbd { background: #f0305a; }
    .home-area9.main4 { background: #f1a51e; }
    .home-area9.vol-cover { background: #5b8cc3; }
    .title-wrap { grid-column: 1 / -1; max-height: 118px; overflow: hidden; line-height: 1.85; color: #444; }
    .title-wrap.time-name7 { max-height: none; }
    .block7 { 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; }
    .info-list .desc-bd { grid-template-columns: 1fr; padding: 0 8px; }
    .info-list .desc-bd li { height: 36px; line-height: 36px; padding-right: 0; }
    .author3 { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .author3 select { grid-column: 1 / -1; order: -1; }
    .side-panel3 { grid-template-columns: 1fr; gap: 8px; }
}

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

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

@media (max-width: 768px) {
    html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
    .shu-panel, .author3sec, .home3, .wen-box, .list-meta7, .foot-row, .info-list { max-width: 100%; overflow-x: hidden; }
    .bd-ft { width: 100%; max-width: 100%; }
    .update-link8 { min-width: 0; }
    .page-img { flex: 0 0 68px; width: 68px; }
    .cha-list { max-width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
    .list-meta7 { padding-left: 10px; padding-right: 10px; }
    .cont-col { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .vol-unit h1 { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
    .vol-unit p { white-space: normal; overflow-wrap: anywhere; }
    .nav-hd { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .nav-hd p { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .img-meta { right: 8px; }
}

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

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

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

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

body.img-list .tag-line a { color: #b8d7ef; text-shadow: 1px 1px 0 #1a3c55; }
body.img-list .list-meta7 { background: #242424; }
body.img-list .vol-unit h1 { color: #ddd; }
body.img-list .vol-unit p,
body.img-list .cont-col { color: #aaa; }
body.img-list .nav-hd { color: #d2d2d2; }
body.img-list .nav-hd p { color: #d2d2d2; }
body.img-list.row-con .list-meta7,
body.img-list.nav-bd2 .list-meta7,
body.img-list.panel .list-meta7 { background: #242424; }
@media (max-width: 768px) {
    .tool3 { grid-template-columns: auto 28px 28px 28px 1fr 42px; }
    body.img-list .tool3 { background: #2b2b2b; border-color: #555; }
}

:root { --reader-bg-custom: #E9FAFF; }
.list-meta7 { background: var(--reader-bg-custom, #f6f1e7); }
body:not(.img-list) .list-meta7 { background: var(--reader-bg-custom, #E9FAFF); }
body:not(.img-list) .nav-hd { color: #333; }

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

@media (max-width: 768px) {
    .list-meta7 > .cont-col,
    .list-meta7 > .vol-unit { display: none; }
    .list-meta7 { padding-top: 0; }
}

/* 关灯只作用于章节正文，头部、搜索、工具栏和翻页保持原样。 */
body.img-list { background: #e6f8fb; color: #555; }
body.img-list a { color: #4d6da8; }
body.img-list .wen-sec { background: #d9eef3; border-color: #b8dce7; color: #6d8f9e; }
body.img-list .home3,
body.img-list .hot-con { background: #e6f8fb; border-color: #72c4e8; color: #555; }
body.img-list .homebar,
body.img-list .cha-list { background: #79c2e3; }
body.img-list .homebar a,
body.img-list .cha-list a { color: #fff; }
body.img-list .update-link8,
body.img-list .date-bar input,
body.img-list .shu8 select { background: #fff; color: #333; border-color: #9bc7df; }
body.img-list .list-meta7,
body.img-list.row-con .list-meta7,
body.img-list.nav-bd2 .list-meta7,
body.img-list.panel .list-meta7 { background: #2f3437; border-color: #444; }
body.img-list .vol-unit h1 { color: #ddd; }
body.img-list .vol-unit p,
body.img-list .cont-col { color: #aaa; }
body.img-list .ft-text a,
body.img-list .ft-text span { background: #363b3f; border-color: #555; color: #c8c8c8; }
body.img-list .tool3 { background: #2f3437; border-color: #555; }
body.img-list .tool3 span,
body.img-list .tool3 label { color: #c8c8c8; }
body.img-list .tool3 select,
body.img-list .tool3 button { background: #363b3f; border-color: #6b747b; color: #c8d7e8; }
body.img-list .nav-hd { background: transparent; color: #aaa; }
body.img-list .blocks { border-color: #555; color: #bbb; }
body.img-list .nav-hd p { color: #aaa; }
body.img-list .tag-line a { color: #0871bd; text-shadow: 2px 2px 0 #c3e3f1; }
body.img-list .navcol { color: #0871bd; border-color: #79c2e3; background: rgba(255,255,255,.55); }
body.img-list .navcol:hover { color: #0871bd; background: rgba(255,255,255,.8); }
body.img-list .bd-grid { background: #eee; }
body.img-list .bd-grid h2 { color: #777; }
body.img-list .site a { background: #e3e3e3; color: #333; }
.pic-con { text-align: center; padding: 54px 20px 62px; border: 3px solid #86c9e8; background: #fffdf6; }
.pic-con h1 { margin-bottom: 12px; color: #287dc2; font-size: 30px; font-weight: 700; }
.pic-con p { margin: 8px 0; color: #555; }
.sec-panel { display: inline-block; min-width: 110px; height: 34px; margin-top: 12px; line-height: 34px; background: #4eadd0; color: #fff; border-radius: 3px; }
.sec-panel:hover { color: #fff; text-decoration: none; background: #287dc2; }
@media (max-width: 768px) {
    body.img-list .home3 { background: #dff5fb; }
    .pic-con { padding: 42px 12px 48px; border-width: 2px; }
    .pic-con h1 { font-size: 24px; }
}

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

/* Home update/new panels alignment fix */
.cover9 .cat-col,
.cover9 .ft-bar { align-self: start; }
.cover9 .top4,
.cover9 .pic { padding: 8px 10px; font-size: 13px; }
.cover9 .top4 li,
.cover9 .pic li { height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; }
.cover9 .top4 li { grid-template-columns: 92px 188px minmax(0, 1fr) 78px 42px; gap: 7px; }
.cover9 .pic li { grid-template-columns: 82px minmax(0, 1fr) 62px; gap: 7px; }
.cover9 .top4 .ft-panel7,
.cover9 .top4 .card-main,
.cover9 .top4 .grid,
.cover9 .top4 .site8,
.cover9 .top4 .main-line,
.cover9 .pic span,
.cover9 .pic a,
.cover9 .pic em { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 768px) {
    .cover9 .top4,
    .cover9 .pic { padding: 4px 8px; font-size: 14px; }
    .cover9 .top4 li,
    .cover9 .pic li { height: 34px; line-height: 34px; }
    .cover9 .top4 li { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
    .cover9 .pic li { grid-template-columns: minmax(0, 1fr) 88px; gap: 6px; }
}

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

/* static rank page, bqg style */
.mod-hd.nav-bar {
  display: block;
  border: 2px solid #8ed1ef;
  background: #fffdf6;
  padding: 12px;
}
.nav-bar .name-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  margin: 0 0 10px;
  min-height: 28px;
}
.nav-bar .name-grid h2 {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  color: #444;
  font-weight: 700;
}
.nav-bar .name-grid strong {
  grid-column: 2 / 3;
  text-align: center;
  font-size: 18px;
  line-height: 28px;
  color: #444;
}
.nav-bar .vol-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 12px;
}
.nav-bar .card-hd {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  min-height: 156px;
  overflow: hidden;
}
.nav-bar .vol-block img {
  width: 110px;
  height: 148px;
  object-fit: cover;
  border: 1px solid #b7d2dd;
  background: #fff;
}
.nav-bar .grid-main {
  min-width: 0;
}
.nav-bar .card-hd 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;
}
.nav-bar .card-hd h3 a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-bar .card-hd h3 span,
.nav-bar .card-hd h3 em {
  color: #999;
  font-weight: 400;
  font-style: normal;
  white-space: nowrap;
}
.nav-bar .piclist {
  margin: 4px 0;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
}
.nav-bar .piclist a {
  display: inline;
}
.nav-bar .hd-row {
  margin: 6px 0 0;
  color: #333;
  font-size: 13px;
  line-height: 23px;
  max-height: 92px;
  overflow: hidden;
}
@media (max-width: 720px) {
  .mod-hd.nav-bar {
    padding: 8px;
  }
  .nav-bar .name-grid {
    display: flex;
    justify-content: space-between;
  }
  .nav-bar .name-grid h2 {
    font-size: 20px;
  }
  .nav-bar .name-grid strong {
    font-size: 16px;
  }
  .nav-bar .vol-inner {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .nav-bar .card-hd {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 116px;
  }
  .nav-bar .vol-block img {
    width: 86px;
    height: 116px;
  }
  .nav-bar .hd-row {
    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; }
.shu-panel, .side-meta4, .wen-box, .hot-box { width: 980px; max-width: 980px; margin: 0 auto; }
.home3 { background: #e6f8fb; }
.wen-box { height: 86px; display: flex; align-items: center; gap: 28px; }
.tag-line { width: 180px; font-size: 34px; line-height: 1; font-family: Georgia, "Microsoft YaHei", serif; font-weight: 700; }
.tag-line a { color: #0871bd; text-shadow: 2px 3px 3px rgba(0, 90, 150, .28); }
.tag-line a:hover { text-decoration: none; color: #0871bd; }
.bd-ft { margin-left: auto; flex: 0 0 470px; display: flex; height: 38px; border: 1px solid #9bd5ee; background: #fff; }
.update-link8 { flex: 1; height: 36px; padding: 0 12px; border: 0; font-size: 14px; outline: 0; }
.page-img { width: 78px; height: 36px; border: 0; background: #ddd; color: #222; cursor: pointer; }
.homebar { width: 980px; max-width: 980px; height: 42px; margin: 0 auto; background: #74c0df; display: block; overflow: hidden; }
.hot-box { display: flex; height: 42px; width: 980px; }
.homebar a { display: block; color: #fff; font-weight: 700; line-height: 42px; padding: 0 12px; white-space: nowrap; }
.homebar a:hover, .homebar a.text-bar { background: #57acd2; color: #fff; text-decoration: none; }
.author3sec { padding: 12px 0 20px; }

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

.foot-area { display: grid; grid-template-columns: repeat(3, 1fr); border: 3px solid #9bd5ee; background: #fffdf5; margin-bottom: 12px; }
.img-cell6 { min-height: 275px; padding: 8px 12px; border-right: 1px dotted #9bd5ee; border-bottom: 1px solid #ddd; overflow: hidden; }
.img-cell6:nth-child(3n) { border-right: 0; }
.img-cell6 h2 { margin: 0 0 8px; height: 24px; line-height: 24px; border-bottom: 1px solid #cddbe0; font-size: 16px; color: #333; }
.img-cell6 .grid-hd9 { grid-template-columns: 86px 1fr; min-height: 116px; margin-bottom: 6px; }
.img-cell6 .side-grid4, .img-cell6 .side-grid4 img { width: 86px; }
.img-cell6 .side-grid4 img { height: 116px; }
.img-cell6 .hot-main8 h3 { font-size: 14px; height: 24px; line-height: 24px; }
.img-cell6 .hot-main8 p { height: 96px; font-size: 13px; line-height: 24px; }
.wen-area8, .rowsec, .menu-name7, .hot-item2 { list-style: none; margin: 0; padding: 0; }
.wen-area8 li { display: flex; align-items: center; height: 24px; line-height: 24px; border-top: 1px solid #ddd; overflow: hidden; }
.wen-area8 a { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.wen-area8 span { width: 74px; margin-left: 6px; color: #666; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.cont-cover7 { display: grid; grid-template-columns: 1fr 300px; gap: 12px; margin-bottom: 12px; }
.name-hd, .col-list, .bd { border: 3px solid #9bd5ee; background: #eefafa; }
.name-hd h2, .col-list h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd5ee; font-size: 16px; color: #333; }
.menu-name7 li, .rowsec li, .hot-item2 li { display: grid; align-items: center; min-height: 30px; line-height: 30px; border-bottom: 1px solid #d1e3e8; overflow: hidden; }
.menu-name7 li { grid-template-columns: 88px minmax(120px,1.15fr) minmax(180px,1.45fr) 90px 50px; column-gap: 8px; padding: 0 10px; }
.rowsec li { grid-template-columns: 76px minmax(0, 1fr) 76px; column-gap: 0; padding: 0 10px; }
.rowsec li.desc-cell { grid-template-columns: 76px minmax(0, 1fr); }
.hot-item2 li { grid-template-columns: 90px minmax(220px,1fr) minmax(240px,1.2fr) 120px 78px; column-gap: 8px; padding: 0 12px; }
.menu-name7 a, .rowsec a, .hot-item2 a, .menu-mod, .tool6, .row-wrap2, .wrap-text6, .rowsec em { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.menu-mod { color: #555; }
.tool6, .row-wrap2, .wrap-text6, .rowsec em { color: #777; font-style: normal; text-align: right; }
.bd { padding-bottom: 8px; }
.bd h2 { height: 42px; line-height: 42px; padding: 0 12px; background: #fff; border-bottom: 1px solid #ddd; color: #0871bd; font-size: 18px; }
.rank-bd { display: grid; grid-template-columns: 160px minmax(160px, 1fr) 160px; gap: 12px; padding: 12px 10px 10px; background: #eefafa; }
.rank-bd button, .rank-bd select { width: 100%; height: 36px; border-radius: 2px; font: inherit; }
.rank-bd button { border: 0; background: #4badd3; color: #fff; cursor: pointer; }
.rank-bd button:disabled { opacity: .55; cursor: default; }
.rank-bd select { border: 1px solid #b9d7e3; background: #fff; padding: 0 10px; }
.sec-link { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 5px; width: 100%; padding: 10px 6px; box-sizing: border-box; }
.sec-link button, .sec-link select { min-width: 0; padding-left: 3px; padding-right: 3px; font-size: 13px; }
.col-item5 > [hidden] { display: none !important; }
.home { margin: 0; padding: 28px 20px; background: #fff; border: 1px solid #ddd; }
.home h2 { margin: 0 0 8px; font-size: 22px; color: #555; }
.home p, .cover-link2 { color: #555; }

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

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

@media (max-width: 1023px) {
  .shu-panel, .side-meta4, .wen-box, .homebar, .hot-box { width: auto; max-width: none; }
  .wen-sec { display: block; }
  .side-meta4 { padding: 0 10px; justify-content: center; }
  .home3 { padding: 10px; }
  .wen-box { height: auto; display: block; }
  .tag-line { width: auto; margin-bottom: 8px; font-size: 28px; }
  .bd-ft { width: 100%; max-width: none; margin: 0; flex-basis: auto; }
  .homebar { margin: 0 10px; height: 38px; overflow-x: auto; }
  .hot-box { display: flex; height: 38px; min-width: max-content; }
  .homebar a { line-height: 38px; padding: 0 12px; }
  .author3sec { padding: 8px 10px 16px; }
  .nav-text { display: block; padding: 8px; }
  .nav-text .grid-hd9 { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .nav-text .side-grid4, .nav-text .side-grid4 img { width: 86px; }
  .nav-text .side-grid4 img { height: 116px; }
  .foot-area { display: block; }
  .img-cell6 { min-height: 0; border-right: 0; }
  .cont-cover7 { display: flex; flex-direction: column; }
  .col-list { order: 1; }
  .name-hd { order: 2; }
  .menu-name7 li { grid-template-columns: 1fr 1fr; gap: 0 10px; min-height: 28px; line-height: 28px; }
  .menu-name7 .menu-mod, .menu-name7 .tool6, .menu-name7 .wrap-text6 { display: none; }
  .rowsec li { grid-template-columns: 1fr 72px; min-height: 28px; line-height: 28px; }
  .rowsec li span { display: none; }
  .hot-item2 li { grid-template-columns: 1fr 72px; min-height: 30px; line-height: 30px; }
  .hot-item2 .menu-mod, .hot-item2 .panel-cover { display: none; }
  .hot-item2 .tool6, .hot-item2 .row-wrap2 { text-align: right; }
  .bd h2 { height: 36px; line-height: 36px; font-size: 16px; }
  .rank-bd { grid-template-columns: 1fr 1.25fr 1fr; gap: 8px; padding: 10px 8px; }
  .sec-link { grid-template-columns: 1fr 1.25fr 1fr; }
  .time-cell8 { display: block; }
  .side-cellcover { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .nav2 img { width: 86px; height: 116px; }
}

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

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

  .box-col .grid-hd9 {
    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;
  }

  .box-col .grid-hd9:last-child {
    border-bottom: 0;
  }

  .box-col .side-grid4,
  .box-col .side-grid4 img {
    width: 82px;
  }

  .box-col .side-grid4 img {
    height: 110px;
    object-fit: cover;
  }

  .box-col .hot-main8 {
    min-width: 0;
  }

  .box-col .hot-main8 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;
  }

  .box-col .hot-main8 h3 a {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .box-col .hot-main8 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;
  }

  .box-col .hot-main8 p {
    margin: 0;
    font-size: 13px;
    line-height: 22px;
    max-height: 66px;
    overflow: hidden;
  }

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

  .time-item .name-hd,
  .time-item .col-list {
    width: 100%;
    margin: 0 0 10px;
    border: 2px solid #8fd1ed;
    box-sizing: border-box;
  }

  .time-item .name-hd h2,
  .time-item .col-list h2 {
    padding: 8px 10px;
    font-size: 14px;
    line-height: 20px;
  }

  .time-item .menu-name7 li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 6px;
    align-items: center;
    min-height: 32px;
    padding: 0 8px;
    box-sizing: border-box;
  }

  .time-item .menu-name7 .menu-mod,
  .time-item .menu-name7 .cate,
  .time-item .menu-name7 .panel-cover {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
  }

  .time-item .menu-name7 .menu-mod {
    display: none;
  }

  .time-item .menu-name7 .tool6,
  .time-item .menu-name7 .wrap-text6 {
    display: none;
  }

  .time-item .rowsec li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 6px;
    align-items: center;
    min-height: 32px;
    padding: 0 8px;
    box-sizing: border-box;
  }

  .time-item .rowsec li.desc-cell {
    grid-template-columns: minmax(0, 1fr);
  }

  .time-item .rowsec li > span {
    display: none;
  }

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

/* desktop bqg scale restore */
@media (min-width: 1024px) {
  .shu-panel,
  .side-meta4,
  .wen-box,
  .hot-box {
    width: 1024px;
    max-width: 1024px;
  }

  .nav-text {
    gap: 14px 20px;
    padding: 10px 12px;
  }

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

  .nav-text .side-grid4,
  .nav-text .side-grid4 img {
    width: 120px;
  }

  .nav-text .side-grid4 img {
    height: 160px;
  }

  .nav-text .hot-main8 h3,
  .foot-area .hot-main8 h3 {
    font-size: 15px;
    line-height: 23px;
  }

  .nav-text .hot-main8 p,
  .foot-area .hot-main8 p {
    font-size: 14px;
    line-height: 24px;
  }

  .img-cell6 {
    padding: 10px 12px;
  }

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

  .img-cell6 .side-grid4,
  .img-cell6 .side-grid4 img {
    width: 92px;
  }

  .img-cell6 .side-grid4 img {
    height: 124px;
  }

  .wen-area8 li,
  .rowsec li,
  .menu-name7 li {
    font-size: 14px;
    min-height: 24px;
    line-height: 24px;
  }

  .name-hd h2,
  .col-list h2,
  .img-cell6 h2 {
    font-size: 16px;
  }
}

/* 2026-07-12: desktop home layout restore: 4 featured + classic sidebar */
@media (min-width: 1024px) {
  .shu-panel,
  .side-meta4,
  .wen-box,
  .hot-box {
    width: 1024px;
    max-width: 1024px;
    box-sizing: border-box;
  }

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

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

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

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

  .ft-bd9 .nav-text .grid-hd9 {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    min-height: 160px;
    gap: 14px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .ft-bd9 .nav-text .grid-hd9:nth-child(n+5) {
    display: none;
  }

  .ft-bd9 .side-grid4,
  .ft-bd9 .side-grid4 img {
    width: 120px;
    height: 160px;
    object-fit: cover;
  }

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

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

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

  .unit li {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 68px;
    gap: 6px;
    height: 28px;
    line-height: 28px;
    border-bottom: 1px solid #d3e1e4;
    overflow: hidden;
  }

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

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

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

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

  .ft-bd9 .nav-text {
    display: block;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
  }

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

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

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

  .unit li {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 58px;
    gap: 4px;
    height: 30px;
    line-height: 30px;
    border-bottom: 1px solid #d3e1e4;
    overflow: hidden;
  }

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

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

/* 2026-07-12: force desktop nav/header width to 1024px */
@media (min-width: 1024px) {
  .side-meta4,
  .wen-box,
  .hot-box,
  .shu-panel {
    width: 1024px !important;
    max-width: 1024px !important;
    box-sizing: border-box;
  }

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

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

/* 2026-07-12: remove current-menu selection mark, keep nav visually flat */
.homebar a.text-bar,
.homebar a[aria-current="page"],
.cha-list a.text-bar,
.cha-list a[aria-current="page"],
.hot-box a.text-bar,
.hot-box a[aria-current="page"] {
  background: transparent !important;
  color: #fff !important;
  text-decoration: none !important;
}

.homebar a:hover,
.cha-list a:hover,
.hot-box 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) {
  .side-meta4,
  .wen-box,
  .hot-box,
  .shu-panel,
  .homebar,
  .cha-list {
    width: 1024px !important;
    max-width: 1024px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .homebar,
  .cha-list {
    overflow: hidden !important;
  }
}

@media (max-width: 1023px) {
  .side-meta4,
  .wen-box,
  .hot-box,
  .shu-panel,
  .homebar,
  .cha-list {
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .shu-panel,
  .wen-box,
  .side-meta4 {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

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

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

/* nav-hover-disabled: 导航条不保留 hover / focus / active 印记 */
.home3 nav a:hover,
.home3 nav a:focus,
.home3 nav a.text-bar,
.home3 nav .text-bar,
.wen-box nav a:hover,
.wen-box nav a:focus,
.wen-box nav a.text-bar,
.wen-box nav .text-bar,
.homebar a:hover,
.homebar a:focus,
.homebar a.text-bar,
.homebar .text-bar,
.cha-list a:hover,
.cha-list a:focus,
.cha-list a.text-bar,
.cha-list .text-bar {
    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) {
    .side-meta4,
    .home3 .wen-box,
    .wen-box,
    .shu-panel,
    .author3sec,
    .site-main,
    .wrap-meta,
    .col-info,
    .homebar,
    .cha-list {
        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;
    }

    .wen-sec,
    .home3,
    .author3sec,
    .hot-con,
    .side-meta4,
    .home3 .wen-box,
    .wen-box,
    .shu-panel,
    .col-info,
    .site-main,
    .wrap-meta,
    .page-text,
    .homebar,
    .cha-list {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .side-meta4,
    .home3 .wen-box,
    .wen-box,
    .shu-panel,
    .site-main,
    .wrap-meta,
    .author3sec {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .home3 .wen-box,
    .wen-box {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .tag-line,
    .home3 h1,
    .home3 .tag-line {
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
        text-align: left !important;
    }

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

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

    .bd-ft .update-link8,
    .bd-ft input[type="text"] {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
    }

    .bd-ft .page-img,
    .bd-ft button,
    .bd-ft input[type="submit"] {
        flex: 0 0 82px !important;
        width: 82px !important;
    }

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

    .homebar a,
    .cha-list a {
        flex: 0 0 auto !important;
        padding: 0 12px !important;
        text-align: center !important;
    }

    .mod-hd,
    .hot,
    .time-bar,
    .name-col,
    .item-hd,
    .bd .img-main,
    .hot-item2,
    .img-main,
    .cont-hd,
    .shu-wrap,
    .tool-hd6,
    .foot-row {
        display: block !important;
        grid-template-columns: none !important;
        columns: auto !important;
        width: 100% !important;
    }

    .text-line3,
    .sec-wrap,
    .img-main .sec-unit7,
    .hot-item2 .sec-unit7,
    .cont-hd .sec-unit7,
    .shu-wrap .sec-unit7,
    .tool-hd6 .sec-unit7,
    .cha-unit,
    .desc-name {
        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;
    }

    .text-line3 img,
    .sec-wrap img,
    .nav2 img,
    .img-main .sec-unit7 img,
    .hot-item2 .sec-unit7 img,
    .cont-hd .sec-unit7 img,
    .shu-wrap .sec-unit7 img,
    .tool-hd6 .sec-unit7 img,
    .cha-unit img,
    .desc-name img {
        width: 88px !important;
        height: 118px !important;
        object-fit: cover !important;
    }

    .box-area,
    .side-panel,
    .hot-main8,
    .wen-name2,
    .desc-name dl,
    .desc-name .author-block {
        min-width: 0 !important;
    }

    .hd-meta,
    .wen-ft,
    .cont-panel,
    .pic-cover {
        display: block !important;
        grid-template-columns: none !important;
        width: 100% !important;
    }

    .hd-meta > *,
    .wen-ft > *,
    .cont-panel > *,
    .pic-cover > * {
        width: 100% !important;
        margin-bottom: 10px !important;
        box-sizing: border-box !important;
    }
}

/* 导航条不保留 hover/focus/active 视觉印记 */
.homebar a:hover,
.homebar a:focus,
.homebar a:active,
.homebar a.text-bar,
.homebar .text-bar,
.cha-list a:hover,
.cha-list a:focus,
.cha-list a:active,
.cha-list a.text-bar,
.cha-list .text-bar,
.home3 nav a:hover,
.home3 nav a:focus,
.home3 nav a:active,
.home3 nav a.text-bar,
.wen-box nav a:hover,
.wen-box nav a:focus,
.wen-box nav a:active,
.wen-box nav a.text-bar {
    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) {
  .ft-bd9 .hot-main8 p,
  .box-col .hot-main8 p {
    height: 130px;
    line-height: 26px;
  }
}

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

  .wen-box {
    height: 68px;
  }

  .homebar,
  .hot-box {
    height: 38px;
  }

  .homebar a,
  .hot-box a {
    line-height: 38px;
  }

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

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

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

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

  .home3 .wen-box,
  .wen-box {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 0 !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    background: #e6f8fb !important;
  }

  .home3 .tag-line,
  .home3 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;
  }

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

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

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

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

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

  .home3 .bd-ft,
  .wen-box .bd-ft {
    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;
  }

  .home3 .bd-ft .update-link8,
  .home3 .bd-ft input[type="text"] {
    height: 34px !important;
    border: 1px solid #8dcde7 !important;
    border-right: 0 !important;
  }

  .home3 .bd-ft .page-img,
  .home3 .bd-ft button {
    flex: 0 0 82px !important;
    width: 82px !important;
    height: 34px !important;
    border: 1px solid #8dcde7 !important;
    background: #ddd !important;
    color: #222 !important;
  }

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

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

  .ft-bd9 {
    margin-top: 0 !important;
  }

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

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

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

  .unit-item3 .nav-box {
    display: contents !important;
  }

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

  .unit-item3 .text5 {
    grid-column: 2 !important;
    grid-row: 2 !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .unit-item3 .text5 p {
    height: 25px !important;
    line-height: 25px !important;
  }

  .unit-item3 .ft-main {
    grid-column: 1 / -1 !important;
    grid-row: 5 !important;
    margin: 2px 0 0 !important;
  }

  .unit-item3 .title-wrap {
    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;
  }

  .unit-item3 .title-wrap.time-name7 {
    max-height: none !important;
  }

  .unit-item3 .block7 {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
  }

  .info-list .desc-bd {
    grid-template-columns: 1fr !important;
  }

  .list-meta7 .info-cover {
    margin: 14px 0 0 !important;
    padding: 14px 10px 16px !important;
    background: #fff !important;
  }

  .list-meta7 .info-cover h2 {
    margin-bottom: 12px !important;
    color: #888 !important;
    font-weight: 400 !important;
  }

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

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

  .author3sec .shu-panel > .info-cover {
    margin: 0 0 14px !important;
    padding: 14px 10px 16px !important;
    background: #fff !important;
  }

  .author3sec .shu-panel > .info-cover .side-panel3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 14px !important;
  }

  .author3sec .shu-panel > .info-cover .side-panel3 a {
    min-width: 0 !important;
    padding: 0 8px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }
}

/* 分类页桌面双栏等高：左侧 42×35px，右侧 49×30px。 */
@media (min-width: 1024px) {
  .time-item .menu-name7 li {
    height: 35px;
    min-height: 35px;
    line-height: 35px;
  }

  .time-item .rowsec li,
  .time-item .rowsec li.desc-cell {
    height: 30px;
    min-height: 30px;
    line-height: 30px;
  }

  /* 数据不足49条时，左右条数相同，统一使用35px行高。 */
  .time-item.bd-cell2 .rowsec li,
  .time-item.bd-cell2 .rowsec li.desc-cell {
    height: 35px;
    min-height: 35px;
    line-height: 35px;
  }
}

/* Category footer controls: keep the three paging controls on one row and
   pin the right-column entry to the bottom of the equally tall panel. */
.time-item { align-items: stretch; }
.time-item .name-hd,
.time-item .col-list { min-width: 0; }
.time-item .col-list { display: flex; flex-direction: column; }
.time-item .col-list .rowsec { flex: 0 0 auto; }
.time-item .box-bd {
  display: grid;
  grid-template-columns: minmax(90px, 160px) minmax(120px, 1fr) minmax(90px, 160px);
  gap: 10px;
  align-items: center;
  padding: 12px 10px 10px;
  box-sizing: border-box;
}
.time-item .box-bd > a,
.time-item .box-bd > span,
.time-item .box-bd > select {
  width: 100%;
  height: 36px;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
.time-item .box-bd > a,
.time-item .box-bd > span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.time-item .box-bd > select {
  border: 1px solid #b9d7e3;
  background: #fff;
  padding: 0 10px;
}
.time-item .side-col8 {
  margin: auto 0 0;
  padding: 12px 10px 10px;
  border-top: 1px solid #cbdde3;
  box-sizing: border-box;
}
.time-item .side-col8 a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 36px;
  background: #4badd3;
  color: #fff;
  box-sizing: border-box;
}
@media (max-width: 1023px) {
  .time-item .box-bd {
    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) {
  .author3sec.shu-list8,
  .author3sec.row-list7,
  .author3sec.bar {
    width: 100% !important;
    max-width: none !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    box-sizing: border-box !important;
  }

  .author3sec.shu-list8 > .shu-panel,
  .author3sec.row-list7 > .shu-panel,
  .author3sec.bar > .shu-panel {
    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;
  }

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

  .author3sec.rank-itembd > .shu-panel {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .author3sec.rank-itembd .list-meta7 {
    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;
  }

  .author3sec.rank-itembd .nav-hd {
    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;
  }

  .author3sec.rank-itembd .tool3,
  .author3sec.rank-itembd .ft-text {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}
