* { 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%; }
.coverWrap, .colCover, .cate7, .wrapCell, .gridUnit { max-width: 980px; margin: 0 auto; }

.descGrid { height: 30px; background: #f7f7f7; border-bottom: 1px solid #ddd; color: #777; font-size: 12px; }
.colCover { display: flex; gap: 24px; align-items: center; height: 30px; }
.metaInfo { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.metaInfo:hover { color: #0871bd; text-decoration: underline; }
.info9 { background: #2f8ed8; }
.cate7 { height: 76px; display: flex; align-items: center; gap: 28px; }
.shu7 { width: 170px; font-size: 34px; line-height: 1; font-weight: 700; }
.shu7 a { color: #fff; letter-spacing: 0; }
.shu7 a:hover { color: inherit; text-decoration: none; }
.update { flex: 1; display: flex; max-width: 470px; }
.navWrap5 { flex: 1; height: 38px; padding: 0 12px; border: 0; outline: 0; font-size: 14px; }
.text8 { width: 78px; height: 38px; border: 0; background: #f5a623; color: #fff; font-size: 15px; cursor: pointer; }
.hdrow { margin-left: auto; display: flex; gap: 10px; }
.hdrow a { color: #fff; padding: 5px 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 2px; }

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

.navPanel { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 12px; }
.ftList, .story6, .headmain, .rank9, .bd5, .sort, .rankInner { background: #fff; border: 1px solid #ddd; }
.ftList { display: grid; grid-template-columns: 1fr 1fr; padding: 12px; gap: 12px; }
.descCol2 { display: flex; min-height: 132px; overflow: hidden; }
.descCol2 .num6 { width: 88px; flex: 0 0 88px; margin-right: 12px; }
.descCol2 .num6 img { width: 88px; height: 120px; object-fit: cover; border: 1px solid #ddd; }
.descCol2 dt { height: 28px; line-height: 28px; overflow: hidden; font-weight: 700; }
.descCol2 dt span { float: right; max-width: 72px; color: #888; font-size: 12px; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.descCol2 dd { color: #555; height: 88px; overflow: hidden; font-size: 13px; }
.descCol2 dd a { color: #555; }
.cols, .headmain h2, .bd5 h2, .sort h2 { height: 38px; line-height: 38px; padding: 0 12px; border-bottom: 1px solid #ddd; background: #f9f9f9; color: #287dc2; font-size: 16px; }
.page, .name4, .newLine5, .nav7unit, .sideLine { list-style: none; }
.page li, .newLine5 li, .sideLine li { display: flex; height: 35px; line-height: 35px; padding: 0 12px; border-bottom: 1px dashed #e5e5e5; overflow: hidden; }
.img, .homeInner8 { width: 86px; color: #888; flex: 0 0 86px; }
.shuLine, .picBox { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cellGrid { width: 220px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nameWrap9, .authorLine { width: 88px; color: #777; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.headSec2 { width: 70px; color: #888; text-align: right; }

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

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

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

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

@media (max-width: 768px) {
    .coverWrap, .colCover, .cate7, .wrapCell, .gridUnit { width: 100%; max-width: none; }
    .descGrid { display: none; }
    .info9 { padding: 10px; }
    .cate7 { height: auto; display: block; }
    .shu7 { width: auto; margin-bottom: 10px; font-size: 28px; text-align: center; }
    .update { max-width: none; }
    .hdrow { display: none; }
    .wrapCell { display: none; }
    .gridUnit { display: flex; overflow-x: auto; background: #287dc2; }
    .gridUnit a { color: #fff; line-height: 38px; padding: 0 14px; white-space: nowrap; }
    .sec { padding: 8px; }
    .navPanel, .menuInfo { display: block; }
    .ftList { grid-template-columns: 1fr; margin-bottom: 10px; }
    .story6, .headmain { margin-bottom: 10px; }
    .img, .cellGrid, .nameWrap9, .homeInner8, .authorLine, .headSec2 { display: none; }
    .name4 { columns: 1; }
    .rank9 { display: block; text-align: center; }
    .rank9 .bd { margin: 0 auto 12px; }
    .wrapFt h1 { height: auto; line-height: 1.4; font-size: 24px; }
    .homeLine { justify-content: center; }
    .nav7unit { grid-template-columns: 1fr; }
    .bdCon { padding: 0 12px 18px; }
    .headBlock8 h1 { font-size: 22px; }
    .unit3 { font-size: 18px; line-height: 1.95; padding: 14px 0; }
    .colName { display: block; font-size: 18px; margin-bottom: 12px; padding-bottom: 8px; line-height: 1.45; }
    .boxPanel { gap: 8px; }
    .boxPanel a, .boxPanel span { min-width: 0; flex: 1; }
}

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

/* Screenshot-style desktop home layout */
body { background: #e6f8fb; color: #555; font-size: 14px; }
a { color: #4d6da8; }
.coverWrap, .colCover, .cate7, .wrapCell, .gridUnit { max-width: 1160px; }
.descGrid { background: #d9eef3; border-bottom: 1px solid #b8dce7; }
.colCover { color: #6d8f9e; }
.info9 { background: #e6f8fb; }
.cate7 { height: 82px; gap: 24px; }
.shu7 { width: 150px; font-size: 36px; font-family: Georgia, "Microsoft YaHei", serif; text-shadow: 2px 2px 0 #c3e3f1; }
.shu7 a { color: #0871bd; }
.update { max-width: 480px; margin-left: auto; }
.navWrap5 { height: 36px; border: 1px solid #9bc7df; background: #fff; }
.text8 { height: 36px; background: #ddd; color: #222; }
.hdrow { display: none; }
.wrapCell { height: 44px; background: #79c2e3; padding: 0 10px; }
.wrapCell a { line-height: 44px; padding: 0 11px; border-right: 0; color: #fff; font-weight: 700; }
.wrapCell a:hover { background: #5eb1d8; }
.sec { padding: 12px 0 24px; }

.mod { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 22px; padding: 14px; margin-bottom: 22px; border: 3px solid #b9dff1; background: #fffdf6; }
.pageCon { display: grid; grid-template-columns: 126px 1fr; gap: 12px; min-height: 176px; }
.colCell img { width: 126px; height: 170px; object-fit: cover; border: 1px solid #abc6d4; padding: 3px; background: #fff; }
.hotList9 h2 { height: 28px; line-height: 28px; font-size: 15px; border-bottom: 1px dotted #c7d8e3; overflow: hidden; }
.hotList9 h2 a { color: #5b6fad; font-weight: 700; }
.hotList9 h2 span { float: right; color: #aaa; font-weight: 400; }
.hotList9 p { padding-top: 8px; color: #555; line-height: 1.85; height: 132px; overflow: hidden; text-indent: 2em; }
.descArea { display: grid; grid-template-columns: 1fr 335px; gap: 14px; align-items: start; }
.sideImg4, .site5 { border: 3px solid #86c9e8; background: #eef6f6; }
.sideImg4 h2, .site5 h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd3e9; color: #456; font-size: 16px; }
.rankCon, .tagItem { list-style: none; padding: 8px 12px; }
.rankCon 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; }
.rankCon .item5 { color: #555; }
.rankCon .rankGrid, .rankCon .titlePanel, .rankCon .homeBlock { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rankCon .homeBlock, .rankCon .link8 { color: #aaa; text-align: right; }
.tagItem li { display: grid; grid-template-columns: 78px 1fr 58px; gap: 6px; height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; overflow: hidden; }
.tagItem span { color: #555; }
.tagItem a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tagItem em { color: #666; font-style: normal; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.toolBox { display: grid; grid-template-columns: 190px 1fr 190px; gap: 18px; padding: 14px 12px; }
.toolBox a, .toolBox select { height: 40px; border: 0; background: #4eadd0; color: #fff; text-align: center; border-radius: 3px; font-weight: 700; }
.toolBox a { line-height: 40px; }
.toolBox select { background: #fff; color: #222; border: 1px solid #d8e2e4; padding: 0 12px; }
.nameFt { 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; }
    .coverWrap, .colCover, .cate7, .wrapCell, .gridUnit { width: 100%; max-width: none; }
    .descGrid { display: none; }
    .info9 { padding: 10px; background: #dff5fb; }
    .cate7 { display: block; height: auto; }
    .shu7 { width: auto; font-size: 30px; text-align: left; margin: 0 0 10px; padding-right: 58px; }
    .update { max-width: none; display: flex; margin-left: 0; }
    .navWrap5 { height: 38px; font-size: 14px; }
    .text8 { width: 72px; height: 38px; }
    .wrapCell { display: none; }
    .gridUnit { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); overflow: hidden; height: 40px; background: #79c2e3; padding: 0; }
    .gridUnit a { min-width: 0; color: #fff; line-height: 40px; padding: 0 2px; text-align: center; font-weight: 700; white-space: nowrap; }
    .cate7 .gridUnit { margin-bottom: 8px; }
    .sec { padding: 8px; }
    .mod { display: block; padding: 8px; margin-bottom: 10px; border-width: 2px; }
    .pageCon { display: grid; grid-template-columns: 82px 1fr; gap: 10px; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #d8e2e4; }
    .pageCon:last-child { border-bottom: 0; }
    .colCell img { width: 82px; height: 110px; padding: 2px; }
    .hotList9 h2 { height: 24px; line-height: 24px; font-size: 15px; }
    .hotList9 h2 span { display: none; }
    .hotList9 p { height: 78px; line-height: 1.7; padding-top: 5px; text-indent: 0; }
    .descArea { display: block; }
    .unitName { display: flex; flex-direction: column; }
    .unitName .site5 { order: 1; }
    .unitName .sideImg4 { order: 2; }
    .sideImg4, .site5 { border-width: 2px; margin-bottom: 10px; }
    .sideImg4 h2, .site5 h2 { height: 34px; line-height: 34px; font-size: 15px; }
    .rankCon, .tagItem { padding: 4px 8px; }
    .rankCon 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; }
    .rankCon .homeBlock, .rankCon .link8 { display: none; }
    .rankCon .item5 { display: block; width: auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #555; }
    .rankCon .rankGrid { font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .rankCon .titlePanel { color: #777; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .tagItem li { grid-template-columns: minmax(0, 1fr) 88px; height: 34px; line-height: 34px; }
    .tagItem span { display: none; }
    .toolBox { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .toolBox select { grid-column: 1 / -1; order: -1; }
    .nameFt { padding: 14px 8px; line-height: 1.7; }
}

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

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

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

.gridBox { position: fixed; right: 18px; bottom: 26px; z-index: 50; display: grid; gap: 8px; }
.gridBox 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); }
.gridBox button:hover { background: #4eadd0; }
body.ftCell { background: #1e1e1e; color: #aaa; }
body.ftCell a { color: #9eb8e8; }
body.ftCell .descGrid,
body.ftCell .info9,
body.ftCell .nameFt { background: #252525; border-color: #3a3a3a; color: #888; }
body.ftCell .wrapCell,
body.ftCell .gridUnit { background: #333; }
body.ftCell .wrapCell a:hover,
body.ftCell .gridUnit a:hover { background: #444; }
body.ftCell .mod,
body.ftCell .titleBd,
body.ftCell .new,
body.ftCell .rankBd,
body.ftCell .cont6,
body.ftCell .desc5,
body.ftCell .rank9,
body.ftCell .bd5,
body.ftCell .sort,
body.ftCell .rankInner,
body.ftCell .sideImg4,
body.ftCell .site5,
body.ftCell .siteMeta8,
body.ftCell .readArea { background: #2a2a2a; border-color: #444; }
body.ftCell .bdCon { background: #202020; border-color: #444; }
body.ftCell .unit3 { color: #b8b8b8; }
body.ftCell .cols,
body.ftCell .headmain h2,
body.ftCell .bd5 h2,
body.ftCell .sort h2,
body.ftCell .sideImg4 h2,
body.ftCell .site5 h2,
body.ftCell .siteMeta8 h2,
body.ftCell .cont6 h1,
body.ftCell .rankInner h1,
body.ftCell .catText h2,
body.ftCell .desc5 h1 { background: #333; color: #ccc; border-color: #444; }
body.ftCell .hotList9 p,
body.ftCell .sortLink4 p,
body.ftCell .descText2 p,
body.ftCell .shuInfo p,
body.ftCell .bd5 p,
body.ftCell .wrapFt p,
body.ftCell .ft .panelBar7 { color: #aaa; }
body.ftCell .area th { background: #333; color: #ccc; }
body.ftCell .area th,
body.ftCell .area td,
body.ftCell .rankCon li,
body.ftCell .tagItem li,
body.ftCell .siteMeta8 li,
body.ftCell .dateinfo li { border-color: #444; }
body.ftCell .navWrap5,
body.ftCell .tag9 input,
body.ftCell .toolBox select { background: #222; color: #ddd; border-color: #555; }
@media (max-width: 768px) {
    .gridBox { right: 10px; bottom: 14px; }
    .gridBox button { width: 48px; height: 32px; font-size: 13px; }
}

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

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

.boxLink { border: 3px solid #86c9e8; background: #eef6f6; margin-bottom: 22px; }
.boxLink .story { height: 34px; line-height: 34px; padding: 0 12px; color: #456; border-bottom: 1px solid #b9dff1; background: #dcecef; }
.head7 { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 14px 28px 18px; }
.card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    min-height: 200px;
    box-sizing: border-box;
    background: rgba(0,0,0,.04);
    padding: 12px;
    overflow: hidden;
}
.card img {
    display: block;
    width: 100%;
    height: 176px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}
.homeitem h1 { font-size: 30px; line-height: 44px; color: #333; }
.colBd { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-bottom: 1px dashed #86aebd; padding-bottom: 6px; margin-bottom: 8px; }
.colBd p { height: 28px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #444; }
.colBd .cover { color: #b54800; font-weight: 700; grid-column: 1 / -1; }
.titleMod { grid-column: 2; line-height: 1.8; color: #444; }
.unitWrap6 { display: none; }
.updateCon { display: none; }
.pageMain { border: 3px solid #4eadd0; background: #eef6f6; margin-bottom: 30px; }
.pageMain h2 { height: 38px; line-height: 38px; text-align: center; background: #9fb6bd; color: #333; font-size: 16px; border-bottom: 1px solid #9fc9db; }
.pageMain .nav7unit { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 12px; list-style: none; }
.pageMain .nav7unit li { height: 40px; line-height: 40px; border-bottom: 1px dashed #9fb6bd; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-right: 16px; }
.pageMain .nav7unit.descWrap li { font-weight: 700; }
.secItem2 { display: grid; grid-template-columns: 250px 1fr 250px; gap: 18px; padding: 16px 12px; }
.secItem2 a, .secItem2 span, .secItem2 button, .secItem2 select { height: 40px; line-height: 40px; border: 0; text-align: center; border-radius: 3px; }
.secItem2 a, .secItem2 span, .secItem2 button { background: #1e6f8a; color: #fff; cursor: pointer; font: inherit; }
.secItem2 button:disabled { cursor: default; opacity: .65; }
.secItem2 select { background: #fff; border: 1px solid #ddd; padding: 0 12px; text-align: left; }
.home { background: #eee; padding: 18px 14px; margin-bottom: 20px; }
.home h2 { text-align: center; color: #777; font-size: 16px; margin-bottom: 14px; font-weight: 400; }
.read { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 45px; }
.read a { display: block; height: 38px; line-height: 38px; text-align: center; background: #e3e3e3; color: #333; border-radius: 3px; }
@media (max-width: 768px) {
    .boxLink, .pageMain { border-width: 2px; margin-bottom: 12px; }
    .boxLink .story { height: auto; line-height: 1.5; padding: 8px; }
    .head7 { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 10px; align-items: start; }
    .card { width: 96px; min-height: 126px; padding: 4px; background: rgba(255,255,255,.45); }
    .card img { width: 100%; height: 118px; object-fit: contain; object-position: center; }
    .homeitem { min-width: 0; }
    .homeitem h1 { font-size: 18px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .colBd { display: block; border-bottom: 0; padding-bottom: 0; margin-bottom: 6px; }
    .colBd p { height: 26px; line-height: 26px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .unitWrap6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; grid-column: 1 / -1; margin: 2px 0 8px; }
    .metaGrid { 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; }
    .metaGrid:hover { color: #fff; text-decoration: none; opacity: .92; }
    .metaGrid.picCol { background: #f0305a; }
    .metaGrid.infoCol { background: #f1a51e; }
    .metaGrid.rowName { background: #5b8cc3; }
    .titleMod { grid-column: 1 / -1; max-height: 118px; overflow: hidden; line-height: 1.85; color: #444; }
    .titleMod.gridHd3 { max-height: none; }
    .updateCon { 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; }
    .pageMain .nav7unit { grid-template-columns: 1fr; padding: 0 8px; }
    .pageMain .nav7unit li { height: 36px; line-height: 36px; padding-right: 0; }
    .secItem2 { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 8px; }
    .secItem2 select { grid-column: 1 / -1; order: -1; }
    .read { grid-template-columns: 1fr; gap: 8px; }
}

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

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

@media (max-width: 768px) {
    html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
    .coverWrap, .sec, .info9, .cate7, .bdCon, .boxLink, .pageMain { max-width: 100%; overflow-x: hidden; }
    .update { width: 100%; max-width: 100%; }
    .navWrap5 { min-width: 0; }
    .text8 { flex: 0 0 68px; width: 68px; }
    .gridUnit { max-width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
    .bdCon { padding-left: 10px; padding-right: 10px; }
    .story { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .headBlock8 h1 { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
    .headBlock8 p { white-space: normal; overflow-wrap: anywhere; }
    .unit3 { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .unit3 p { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
    .gridBox { right: 8px; }
}

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

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

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

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

body.ftCell .shu7 a { color: #b8d7ef; text-shadow: 1px 1px 0 #1a3c55; }
body.ftCell .bdCon { background: #242424; }
body.ftCell .headBlock8 h1 { color: #ddd; }
body.ftCell .headBlock8 p,
body.ftCell .story { color: #aaa; }
body.ftCell .unit3 { color: #d2d2d2; }
body.ftCell .unit3 p { color: #d2d2d2; }
body.ftCell.bookHd .bdCon,
body.ftCell.tagCol8 .bdCon,
body.ftCell.imgBox .bdCon { background: #242424; }
@media (max-width: 768px) {
    .panelFt { grid-template-columns: auto 28px 28px 28px 1fr 42px; }
    body.ftCell .panelFt { background: #2b2b2b; border-color: #555; }
}

:root { --reader-bg-custom: #E9FAFF; }
.bdCon { background: var(--reader-bg-custom, #f6f1e7); }
body:not(.ftCell) .bdCon { background: var(--reader-bg-custom, #E9FAFF); }
body:not(.ftCell) .unit3 { color: #333; }

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

@media (max-width: 768px) {
    .bdCon > .story,
    .bdCon > .headBlock8 { display: none; }
    .bdCon { padding-top: 0; }
}

/* 关灯只作用于章节正文，头部、搜索、工具栏和翻页保持原样。 */
body.ftCell { background: #e6f8fb; color: #555; }
body.ftCell a { color: #4d6da8; }
body.ftCell .descGrid { background: #d9eef3; border-color: #b8dce7; color: #6d8f9e; }
body.ftCell .info9,
body.ftCell .nameFt { background: #e6f8fb; border-color: #72c4e8; color: #555; }
body.ftCell .wrapCell,
body.ftCell .gridUnit { background: #79c2e3; }
body.ftCell .wrapCell a,
body.ftCell .gridUnit a { color: #fff; }
body.ftCell .navWrap5,
body.ftCell .tag9 input,
body.ftCell .toolBox select { background: #fff; color: #333; border-color: #9bc7df; }
body.ftCell .bdCon,
body.ftCell.bookHd .bdCon,
body.ftCell.tagCol8 .bdCon,
body.ftCell.imgBox .bdCon { background: #2f3437; border-color: #444; }
body.ftCell .headBlock8 h1 { color: #ddd; }
body.ftCell .headBlock8 p,
body.ftCell .story { color: #aaa; }
body.ftCell .boxPanel a,
body.ftCell .boxPanel span { background: #363b3f; border-color: #555; color: #c8c8c8; }
body.ftCell .panelFt { background: #2f3437; border-color: #555; }
body.ftCell .panelFt span,
body.ftCell .panelFt label { color: #c8c8c8; }
body.ftCell .panelFt select,
body.ftCell .panelFt button { background: #363b3f; border-color: #6b747b; color: #c8d7e8; }
body.ftCell .unit3 { background: transparent; color: #aaa; }
body.ftCell .colName { border-color: #555; color: #bbb; }
body.ftCell .unit3 p { color: #aaa; }
body.ftCell .shu7 a { color: #0871bd; text-shadow: 2px 2px 0 #c3e3f1; }
body.ftCell .authorMain { color: #0871bd; border-color: #79c2e3; background: rgba(255,255,255,.55); }
body.ftCell .authorMain:hover { color: #0871bd; background: rgba(255,255,255,.8); }
body.ftCell .navcon { background: #eee; }
body.ftCell .navcon h2 { color: #777; }
body.ftCell .gridPanel4 a { background: #e3e3e3; color: #333; }
.coverArea { text-align: center; padding: 54px 20px 62px; border: 3px solid #86c9e8; background: #fffdf6; }
.coverArea h1 { margin-bottom: 12px; color: #287dc2; font-size: 30px; font-weight: 700; }
.coverArea p { margin: 8px 0; color: #555; }
.grid { display: inline-block; min-width: 110px; height: 34px; margin-top: 12px; line-height: 34px; background: #4eadd0; color: #fff; border-radius: 3px; }
.grid:hover { color: #fff; text-decoration: none; background: #287dc2; }
@media (max-width: 768px) {
    body.ftCell .info9 { background: #dff5fb; }
    .coverArea { padding: 42px 12px 48px; border-width: 2px; }
    .coverArea h1 { font-size: 24px; }
}

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

/* Home update/new panels alignment fix */
.unitName .sideImg4,
.unitName .site5 { align-self: start; }
.unitName .rankCon,
.unitName .tagItem { padding: 8px 10px; font-size: 13px; }
.unitName .rankCon li,
.unitName .tagItem li { height: 31px; line-height: 31px; border-bottom: 1px solid #d8e2e4; }
.unitName .rankCon li { grid-template-columns: 92px 188px minmax(0, 1fr) 78px 42px; gap: 7px; }
.unitName .tagItem li { grid-template-columns: 82px minmax(0, 1fr) 62px; gap: 7px; }
.unitName .rankCon .item5,
.unitName .rankCon .rankGrid,
.unitName .rankCon .titlePanel,
.unitName .rankCon .homeBlock,
.unitName .rankCon .link8,
.unitName .tagItem span,
.unitName .tagItem a,
.unitName .tagItem em { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 768px) {
    .unitName .rankCon,
    .unitName .tagItem { padding: 4px 8px; font-size: 14px; }
    .unitName .rankCon li,
    .unitName .tagItem li { height: 34px; line-height: 34px; }
    .unitName .rankCon li { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
    .unitName .tagItem li { grid-template-columns: minmax(0, 1fr) 88px; gap: 6px; }
}

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

/* static rank page, bqg style */
.rankBd.barInner4 {
  display: block;
  border: 2px solid #8ed1ef;
  background: #fffdf6;
  padding: 12px;
}
.barInner4 .read5 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  margin: 0 0 10px;
  min-height: 28px;
}
.barInner4 .read5 h2 {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  color: #444;
  font-weight: 700;
}
.barInner4 .read5 strong {
  grid-column: 2 / 3;
  text-align: center;
  font-size: 18px;
  line-height: 28px;
  color: #444;
}
.barInner4 .catList {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 12px;
}
.barInner4 .infoFt4 {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  min-height: 156px;
  overflow: hidden;
}
.barInner4 .descMeta img {
  width: 110px;
  height: 148px;
  object-fit: cover;
  border: 1px solid #b7d2dd;
  background: #fff;
}
.barInner4 .infoGrid {
  min-width: 0;
}
.barInner4 .infoFt4 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;
}
.barInner4 .infoFt4 h3 a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.barInner4 .infoFt4 h3 span,
.barInner4 .infoFt4 h3 em {
  color: #999;
  font-weight: 400;
  font-style: normal;
  white-space: nowrap;
}
.barInner4 .colUnit6 {
  margin: 4px 0;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
}
.barInner4 .colUnit6 a {
  display: inline;
}
.barInner4 .wrapcover {
  margin: 6px 0 0;
  color: #333;
  font-size: 13px;
  line-height: 23px;
  max-height: 92px;
  overflow: hidden;
}
@media (max-width: 720px) {
  .rankBd.barInner4 {
    padding: 8px;
  }
  .barInner4 .read5 {
    display: flex;
    justify-content: space-between;
  }
  .barInner4 .read5 h2 {
    font-size: 20px;
  }
  .barInner4 .read5 strong {
    font-size: 16px;
  }
  .barInner4 .catList {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .barInner4 .infoFt4 {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 116px;
  }
  .barInner4 .descMeta img {
    width: 86px;
    height: 116px;
  }
  .barInner4 .wrapcover {
    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; }
.coverWrap, .colCover, .cate7, .imgInfo { width: 980px; max-width: 980px; margin: 0 auto; }
.info9 { background: #e6f8fb; }
.cate7 { height: 86px; display: flex; align-items: center; gap: 28px; }
.shu7 { width: 180px; font-size: 34px; line-height: 1; font-family: Georgia, "Microsoft YaHei", serif; font-weight: 700; }
.shu7 a { color: #0871bd; text-shadow: 2px 3px 3px rgba(0, 90, 150, .28); }
.shu7 a:hover { text-decoration: none; color: #0871bd; }
.update { margin-left: auto; flex: 0 0 470px; display: flex; height: 38px; border: 1px solid #9bd5ee; background: #fff; }
.navWrap5 { flex: 1; height: 36px; padding: 0 12px; border: 0; font-size: 14px; outline: 0; }
.text8 { width: 78px; height: 36px; border: 0; background: #ddd; color: #222; cursor: pointer; }
.wrapCell { width: 980px; max-width: 980px; height: 42px; margin: 0 auto; background: #74c0df; display: block; overflow: hidden; }
.imgInfo { display: flex; height: 42px; width: 980px; }
.wrapCell a { display: block; color: #fff; font-weight: 700; line-height: 42px; padding: 0 12px; white-space: nowrap; }
.wrapCell a:hover, .wrapCell a.navLine { background: #57acd2; color: #fff; text-decoration: none; }
.sec { padding: 12px 0 20px; }

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

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

.authorFt { display: grid; grid-template-columns: 1fr 300px; gap: 12px; margin-bottom: 12px; }
.unitBar4, .bdname, .infoMod { border: 3px solid #9bd5ee; background: #eefafa; }
.unitBar4 h2, .bdname h2 { height: 36px; line-height: 36px; padding: 0 12px; background: #9bd5ee; font-size: 16px; color: #333; }
.newLine5 li, .secText2 li, .sideLine li { display: grid; align-items: center; min-height: 30px; line-height: 30px; border-bottom: 1px solid #d1e3e8; overflow: hidden; }
.newLine5 li { grid-template-columns: 88px minmax(120px,1.15fr) minmax(180px,1.45fr) 90px 50px; column-gap: 8px; padding: 0 10px; }
.secText2 li { grid-template-columns: 76px minmax(0, 1fr) 76px; column-gap: 0; padding: 0 10px; }
.secText2 li.tool3 { grid-template-columns: 76px minmax(0, 1fr); }
.sideLine li { grid-template-columns: 90px minmax(220px,1fr) minmax(240px,1.2fr) 120px 78px; column-gap: 8px; padding: 0 12px; }
.newLine5 a, .secText2 a, .sideLine a, .time6, .metaCover7, .volInfo2, .chaBd7, .secText2 em { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.time6 { color: #555; }
.metaCover7, .volInfo2, .chaBd7, .secText2 em { color: #777; font-style: normal; text-align: right; }
.infoMod { padding-bottom: 8px; }
.infoMod h2 { height: 42px; line-height: 42px; padding: 0 12px; background: #fff; border-bottom: 1px solid #ddd; color: #0871bd; font-size: 18px; }
.nav7 { display: grid; grid-template-columns: 160px minmax(160px, 1fr) 160px; gap: 12px; padding: 12px 10px 10px; background: #eefafa; }
.nav7 button, .nav7 select { width: 100%; height: 36px; border-radius: 2px; font: inherit; }
.nav7 button { border: 0; background: #4badd3; color: #fff; cursor: pointer; }
.nav7 button:disabled { opacity: .55; cursor: default; }
.nav7 select { border: 1px solid #b9d7e3; background: #fff; padding: 0 10px; }
.updateBar9 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 5px; width: 100%; padding: 10px 6px; box-sizing: border-box; }
.updateBar9 button, .updateBar9 select { min-width: 0; padding-left: 3px; padding-right: 3px; font-size: 13px; }
.picLine > [hidden] { display: none !important; }
.cate { margin: 0; padding: 28px 20px; background: #fff; border: 1px solid #ddd; }
.cate h2 { margin: 0 0 8px; font-size: 22px; color: #555; }
.cate p, .side6 { color: #555; }

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

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

@media (max-width: 1023px) {
  .coverWrap, .colCover, .cate7, .wrapCell, .imgInfo { width: auto; max-width: none; }
  .descGrid { display: block; }
  .colCover { padding: 0 10px; justify-content: center; }
  .info9 { padding: 10px; }
  .cate7 { height: auto; display: block; }
  .shu7 { width: auto; margin-bottom: 8px; font-size: 28px; }
  .update { width: 100%; max-width: none; margin: 0; flex-basis: auto; }
  .wrapCell { margin: 0 10px; height: 38px; overflow-x: auto; }
  .imgInfo { display: flex; height: 38px; min-width: max-content; }
  .wrapCell a { line-height: 38px; padding: 0 12px; }
  .sec { padding: 8px 10px 16px; }
  .areasec { display: block; padding: 8px; }
  .areasec .ftText { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .areasec .bd, .areasec .bd img { width: 86px; }
  .areasec .bd img { height: 116px; }
  .rowBar { display: block; }
  .titleCell8 { min-height: 0; border-right: 0; }
  .authorFt { display: flex; flex-direction: column; }
  .bdname { order: 1; }
  .unitBar4 { order: 2; }
  .newLine5 li { grid-template-columns: 1fr 1fr; gap: 0 10px; min-height: 28px; line-height: 28px; }
  .newLine5 .time6, .newLine5 .metaCover7, .newLine5 .chaBd7 { display: none; }
  .secText2 li { grid-template-columns: 1fr 72px; min-height: 28px; line-height: 28px; }
  .secText2 li span { display: none; }
  .sideLine li { grid-template-columns: 1fr 72px; min-height: 30px; line-height: 30px; }
  .sideLine .time6, .sideLine .volInfo { display: none; }
  .sideLine .metaCover7, .sideLine .volInfo2 { text-align: right; }
  .infoMod h2 { height: 36px; line-height: 36px; font-size: 16px; }
  .nav7 { grid-template-columns: 1fr 1.25fr 1fr; gap: 8px; padding: 10px 8px; }
  .updateBar9 { grid-template-columns: 1fr 1.25fr 1fr; }
  .cardGrid6 { display: block; }
  .nameInner { grid-template-columns: 86px 1fr; min-height: 116px; padding: 8px 0; border-bottom: 1px solid #ddd; }
  .headBd4 img { width: 86px; height: 116px; }
}

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

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

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

  .rowList .ftText:last-child {
    border-bottom: 0;
  }

  .rowList .bd,
  .rowList .bd img {
    width: 82px;
  }

  .rowList .bd img {
    height: 110px;
    object-fit: cover;
  }

  .rowList .modCell {
    min-width: 0;
  }

  .rowList .modCell 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;
  }

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

  .rowList .modCell 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;
  }

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

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

  .cat .unitBar4,
  .cat .bdname {
    width: 100%;
    margin: 0 0 10px;
    border: 2px solid #8fd1ed;
    box-sizing: border-box;
  }

  .cat .unitBar4 h2,
  .cat .bdname h2 {
    padding: 8px 10px;
    font-size: 14px;
    line-height: 20px;
  }

  .cat .newLine5 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;
  }

  .cat .newLine5 .time6,
  .cat .newLine5 .update5,
  .cat .newLine5 .volInfo {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
  }

  .cat .newLine5 .time6 {
    display: none;
  }

  .cat .newLine5 .metaCover7,
  .cat .newLine5 .chaBd7 {
    display: none;
  }

  .cat .secText2 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;
  }

  .cat .secText2 li.tool3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .cat .secText2 li > span {
    display: none;
  }

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

/* desktop bqg scale restore */
@media (min-width: 1024px) {
  .coverWrap,
  .colCover,
  .cate7,
  .imgInfo {
    width: 1024px;
    max-width: 1024px;
  }

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

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

  .areasec .bd,
  .areasec .bd img {
    width: 120px;
  }

  .areasec .bd img {
    height: 160px;
  }

  .areasec .modCell h3,
  .rowBar .modCell h3 {
    font-size: 15px;
    line-height: 23px;
  }

  .areasec .modCell p,
  .rowBar .modCell p {
    font-size: 14px;
    line-height: 24px;
  }

  .titleCell8 {
    padding: 10px 12px;
  }

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

  .titleCell8 .bd,
  .titleCell8 .bd img {
    width: 92px;
  }

  .titleCell8 .bd img {
    height: 124px;
  }

  .listCell7 li,
  .secText2 li,
  .newLine5 li {
    font-size: 14px;
    min-height: 24px;
    line-height: 24px;
  }

  .unitBar4 h2,
  .bdname h2,
  .titleCell8 h2 {
    font-size: 16px;
  }
}

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

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

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

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

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

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

  .cateBar .areasec .ftText:nth-child(n+5) {
    display: none;
  }

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

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

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

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

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

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

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

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

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

  .cateBar .areasec {
    display: block;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
  }

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

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

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

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

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

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

/* 2026-07-12: force desktop nav/header width to 1024px */
@media (min-width: 1024px) {
  .colCover,
  .cate7,
  .imgInfo,
  .coverWrap {
    width: 1024px !important;
    max-width: 1024px !important;
    box-sizing: border-box;
  }

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

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

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

.wrapCell a:hover,
.gridUnit a:hover,
.imgInfo 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) {
  .colCover,
  .cate7,
  .imgInfo,
  .coverWrap,
  .wrapCell,
  .gridUnit {
    width: 1024px !important;
    max-width: 1024px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .wrapCell,
  .gridUnit {
    overflow: hidden !important;
  }
}

@media (max-width: 1023px) {
  .colCover,
  .cate7,
  .imgInfo,
  .coverWrap,
  .wrapCell,
  .gridUnit {
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .coverWrap,
  .cate7,
  .colCover {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

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

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

/* nav-hover-disabled: 导航条不保留 hover / focus / active 印记 */
.info9 nav a:hover,
.info9 nav a:focus,
.info9 nav a.navLine,
.info9 nav .navLine,
.cate7 nav a:hover,
.cate7 nav a:focus,
.cate7 nav a.navLine,
.cate7 nav .navLine,
.wrapCell a:hover,
.wrapCell a:focus,
.wrapCell a.navLine,
.wrapCell .navLine,
.gridUnit a:hover,
.gridUnit a:focus,
.gridUnit a.navLine,
.gridUnit .navLine {
    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) {
    .colCover,
    .info9 .cate7,
    .cate7,
    .coverWrap,
    .sec,
    .homegrid,
    .cardList5,
    .colImg,
    .wrapCell,
    .gridUnit {
        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;
    }

    .descGrid,
    .info9,
    .sec,
    .nameFt,
    .colCover,
    .info9 .cate7,
    .cate7,
    .coverWrap,
    .colImg,
    .homegrid,
    .cardList5,
    .dateLine9,
    .wrapCell,
    .gridUnit {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .colCover,
    .info9 .cate7,
    .cate7,
    .coverWrap,
    .homegrid,
    .cardList5,
    .sec {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

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

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

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

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

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

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

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

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

    .rankBd,
    .time4,
    .cellArea,
    .head,
    .newgrid,
    .infoMod .descBd8,
    .sideLine,
    .descBd8,
    .cell,
    .footwrap,
    .cardMod,
    .boxLink {
        display: block !important;
        grid-template-columns: none !important;
        columns: auto !important;
        width: 100% !important;
    }

    .timeCell,
    .itemBlock2,
    .descBd8 .grid6,
    .sideLine .grid6,
    .cell .grid6,
    .footwrap .grid6,
    .cardMod .grid6,
    .bookmeta,
    .descCol2 {
        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;
    }

    .timeCell img,
    .itemBlock2 img,
    .headBd4 img,
    .descBd8 .grid6 img,
    .sideLine .grid6 img,
    .cell .grid6 img,
    .footwrap .grid6 img,
    .cardMod .grid6 img,
    .bookmeta img,
    .descCol2 img {
        width: 88px !important;
        height: 118px !important;
        object-fit: cover !important;
    }

    .shuInfo,
    .modRow7,
    .modCell,
    .wrapFt,
    .descCol2 dl,
    .descCol2 .foot {
        min-width: 0 !important;
    }

    .updateInner,
    .contInfo6,
    .navPanel,
    .authorImg {
        display: block !important;
        grid-template-columns: none !important;
        width: 100% !important;
    }

    .updateInner > *,
    .contInfo6 > *,
    .navPanel > *,
    .authorImg > * {
        width: 100% !important;
        margin-bottom: 10px !important;
        box-sizing: border-box !important;
    }
}

/* 导航条不保留 hover/focus/active 视觉印记 */
.wrapCell a:hover,
.wrapCell a:focus,
.wrapCell a:active,
.wrapCell a.navLine,
.wrapCell .navLine,
.gridUnit a:hover,
.gridUnit a:focus,
.gridUnit a:active,
.gridUnit a.navLine,
.gridUnit .navLine,
.info9 nav a:hover,
.info9 nav a:focus,
.info9 nav a:active,
.info9 nav a.navLine,
.cate7 nav a:hover,
.cate7 nav a:focus,
.cate7 nav a:active,
.cate7 nav a.navLine {
    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) {
  .cateBar .modCell p,
  .rowList .modCell p {
    height: 130px;
    line-height: 26px;
  }
}

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

  .cate7 {
    height: 68px;
  }

  .wrapCell,
  .imgInfo {
    height: 38px;
  }

  .wrapCell a,
  .imgInfo a {
    line-height: 38px;
  }

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

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

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

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

  .info9 .cate7,
  .cate7 {
    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;
  }

  .info9 .shu7,
  .info9 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;
  }

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

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

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

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

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

  .info9 .update,
  .cate7 .update {
    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;
  }

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

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

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

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

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

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

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

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

  .head7 .homeitem {
    display: contents !important;
  }

  .head7 .homeitem 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;
  }

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

  .head7 .colBd p {
    height: 25px !important;
    line-height: 25px !important;
  }

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

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

  .head7 .titleMod.gridHd3 {
    max-height: none !important;
  }

  .head7 .updateCon {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
  }

  .pageMain .nav7unit {
    grid-template-columns: 1fr !important;
  }

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

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

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

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

  .sec .coverWrap > .home {
    margin: 0 0 14px !important;
    padding: 14px 10px 16px !important;
    background: #fff !important;
  }

  .sec .coverWrap > .home .read {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 14px !important;
  }

  .sec .coverWrap > .home .read 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) {
  .cat .newLine5 li {
    height: 35px;
    min-height: 35px;
    line-height: 35px;
  }

  .cat .secText2 li,
  .cat .secText2 li.tool3 {
    height: 30px;
    min-height: 30px;
    line-height: 30px;
  }

  /* 数据不足49条时，左右条数相同，统一使用35px行高。 */
  .cat.card2 .secText2 li,
  .cat.card2 .secText2 li.tool3 {
    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. */
.cat { align-items: stretch; }
.cat .unitBar4,
.cat .bdname { min-width: 0; }
.cat .bdname { display: flex; flex-direction: column; }
.cat .bdname .secText2 { flex: 0 0 auto; }
.cat .homeRow {
  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;
}
.cat .homeRow > a,
.cat .homeRow > span,
.cat .homeRow > select {
  width: 100%;
  height: 36px;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
.cat .homeRow > a,
.cat .homeRow > span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat .homeRow > select {
  border: 1px solid #b9d7e3;
  background: #fff;
  padding: 0 10px;
}
.cat .footmeta {
  margin: auto 0 0;
  padding: 12px 10px 10px;
  border-top: 1px solid #cbdde3;
  box-sizing: border-box;
}
.cat .footmeta 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) {
  .cat .homeRow {
    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) {
  .sec.col,
  .sec.boxInfo5,
  .sec.descarea {
    width: 100% !important;
    max-width: none !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    box-sizing: border-box !important;
  }

  .sec.col > .coverWrap,
  .sec.boxInfo5 > .coverWrap,
  .sec.descarea > .coverWrap {
    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;
  }

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

  .sec.colMain7 > .coverWrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .sec.colMain7 .bdCon {
    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;
  }

  .sec.colMain7 .unit3 {
    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;
  }

  .sec.colMain7 .panelFt,
  .sec.colMain7 .boxPanel {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}
