*{margin:0;padding:0;box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
:root{--bg:#0A0D1A;--bg-soft:#0D1122;--card:#121A33;--card-2:#1A2448;
 --line:rgba(139,152,220,.15);--line-2:rgba(139,152,220,.30);
 --txt:#EAEEFC;--txt-2:#A9B3D9;--txt-3:#68729E;
 --pri:#7C6BFF;--pri-2:#33E0C4;--hot:#FF7090;--gold:#FFC44D;
 --grad:linear-gradient(120deg,#7C6BFF,#33E0C4);
 --shadow:0 10px 30px rgba(3,6,24,.5);
 --r:18px;}
html[data-theme=light]{--bg:#F4F5FB;--bg-soft:#EEF0F8;--card:#FFFFFF;--card-2:#F3F4FD;
 --line:rgba(30,40,90,.10);--line-2:rgba(30,40,90,.22);
 --txt:#1B2244;--txt-2:#49537E;--txt-3:#8A93B8;
 --shadow:0 10px 28px rgba(30,40,90,.10);}
body{font-family:"MiSans","HarmonyOS Sans SC","PingFang SC","Microsoft YaHei UI","Microsoft YaHei",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
 background:var(--bg);color:var(--txt);font-size:14px;line-height:1.7;
 -webkit-font-smoothing:antialiased;transition:background .3s,color .3s}
a{color:inherit;text-decoration:none;transition:color .2s}
a:hover{color:var(--pri)}
ul{list-style:none}
ol{list-style:none}
button{font-family:inherit;border:0;background:none;color:inherit;cursor:pointer;font-size:inherit}
img{max-width:100%;display:block}
.wrap{max-width:1200px;margin:0 auto;padding:0 20px}
.skip{position:absolute;left:-9999px}
.skip:focus{left:12px;top:12px;z-index:99;background:var(--pri);color:#fff;padding:8px 14px;border-radius:8px}
/* 顶条 */ .topbar{border-bottom:1px solid var(--line);background:var(--bg-soft);font-size:12px;color:var(--txt-2)}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;height:38px;gap:12px}
.topbar b{color:var(--pri-2);font-weight:600}
.topbar .tb-r{display:flex;gap:16px;flex-shrink:0}
.topbar .tb-r a{color:var(--txt-3)}
.topbar .tb-r a:hover{color:var(--pri)}
/* 品牌区 */ .masthead .wrap{display:flex;align-items:center;gap:26px;padding:20px 20px 16px}
.logo{display:flex;align-items:center;gap:12px;flex-shrink:0}
.logo-mark{width:44px;height:44px;border-radius:14px;background:var(--grad);display:grid;place-items:center;box-shadow:0 8px 20px rgba(124,107,255,.35)}
.logo-mark svg{width:24px;height:24px}
.logo .t1{font-size:22px;font-weight:800;letter-spacing:1px;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;display:block;line-height:1.2}
.logo .t2{font-size:10.5px;color:var(--txt-3);letter-spacing:3px;margin-top:2px;display:block}
.searchbox{flex:1;max-width:540px}
.searchbox form{display:flex}
.searchbox input{flex:1;height:44px;border:1px solid var(--line-2);background:var(--card);border-radius:12px 0 0 12px;padding:0 16px;color:var(--txt);font-size:14px;outline:none;transition:border .2s;min-width:0}
.searchbox input:focus{border-color:var(--pri)}
.searchbox input::placeholder{color:var(--txt-3)}
.searchbox button{height:44px;padding:0 26px;border-radius:0 12px 12px 0;background:var(--grad);color:#fff;font-weight:600;letter-spacing:2px;flex-shrink:0}
.hotwords{display:flex;gap:10px;margin-top:8px;font-size:12px;color:var(--txt-3);flex-wrap:wrap}
.hotwords span{color:var(--txt-3)}
.hotwords a:hover{color:var(--pri-2)}
.mh-right{margin-left:auto;display:flex;align-items:center;gap:12px;flex-shrink:0}
.theme-btn{width:44px;height:44px;border-radius:12px;border:1px solid var(--line-2);display:grid;place-items:center;font-size:17px;background:var(--card);transition:border-color .2s}
.theme-btn:hover{border-color:var(--pri)}
/* 导航 */ .navwrap{position:sticky;top:0;z-index:50;background:var(--bg);background:color-mix(in srgb,var(--bg) 80%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--line);transition:box-shadow .25s}
.navwrap.scrolled{box-shadow:0 12px 30px rgba(3,6,24,.35)}
.nav{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;padding:0 8px;height:52px;align-items:center}
.nav::-webkit-scrollbar{display:none}
.nav a{padding:6px 16px;border-radius:99px;font-size:14.5px;color:var(--txt-2);white-space:nowrap;transition:.2s}
.nav a:hover{color:var(--txt);background:var(--card-2)}
.nav a.on{color:#fff;background:var(--grad);font-weight:600;box-shadow:0 6px 16px rgba(124,107,255,.30)}
/* 主内容与区块 */ main.wrap{padding:26px 20px 20px}
.sec{margin-bottom:36px}
.sec-h{display:flex;align-items:baseline;gap:14px;margin-bottom:16px}
.sec-h .tt{font-size:20px;font-weight:800;letter-spacing:.5px;position:relative;padding-left:14px}
.sec-h .tt::before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:4px;border-radius:4px;background:var(--grad)}
.sec-h .sub{font-size:12px;color:var(--txt-3)}
.sec-h .more{margin-left:auto;font-size:13px;color:var(--txt-2)}
.sec-h .more:hover{color:var(--pri-2)}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r)}
/* 封面（横排版式，区别墨海竖排书脊） */ .cv{position:relative;aspect-ratio:5/7;border-radius:12px;background:linear-gradient(160deg,var(--c1),var(--c2));overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;padding:12px;transition:transform .25s,box-shadow .25s}
.cv::before{content:"";position:absolute;inset:0;background:radial-gradient(130% 90% at 18% -10%,rgba(255,255,255,.25),transparent 55%),linear-gradient(200deg,transparent 45%,rgba(0,0,0,.30))}
.cv::after{content:attr(data-cat);position:absolute;top:10px;left:10px;font-size:10px;letter-spacing:2px;padding:3px 9px;border-radius:99px;background:rgba(255,255,255,.16);color:#fff;backdrop-filter:blur(6px)}
.cv .cv-n{position:relative;color:#fff;font-weight:800;font-size:14px;line-height:1.4;text-shadow:0 2px 10px rgba(0,0,0,.4)}
.cv .cv-a{position:relative;color:rgba(255,255,255,.72);font-size:11px;margin-top:4px}
.cv-xs{padding:8px}
.cv-xs .cv-n{font-size:11px}
.cv-xs .cv-a{font-size:9.5px;margin-top:2px}
.cv-xs::after{top:6px;left:6px;font-size:8.5px;padding:2px 6px;letter-spacing:1px}
.cv-lg{padding:16px}
.cv-lg .cv-n{font-size:19px}
.cv-lg .cv-a{font-size:12px}
/* Hero */ .hero{display:grid;grid-template-columns:1.7fr 1fr;gap:18px;margin-bottom:36px}
.feature{position:relative;border-radius:22px;background:var(--card);border:1px solid var(--line);overflow:hidden;padding:28px;display:flex;gap:28px;box-shadow:var(--shadow)}
.feature::before{content:"";position:absolute;right:-80px;top:-120px;width:340px;height:340px;background:radial-gradient(closest-side,rgba(124,107,255,.25),transparent);pointer-events:none}
.feature::after{content:"";position:absolute;left:-60px;bottom:-150px;width:300px;height:300px;background:radial-gradient(closest-side,rgba(51,224,196,.14),transparent);pointer-events:none}
.f-cover{width:180px;flex-shrink:0}
.f-info{min-width:0;position:relative;z-index:2}
.site-h1{font-size:13px;font-weight:500;color:var(--txt-3);letter-spacing:1px;margin:0 0 10px}
.site-h1 b{color:var(--pri-2);font-weight:600}
.feature h2{font-size:28px;font-weight:800;letter-spacing:1px;line-height:1.3}
.f-meta{font-size:12.5px;color:var(--txt-2);margin:10px 0 12px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.f-meta i{font-style:normal;opacity:.5}
.f-desc{font-size:13.5px;color:var(--txt-2);line-height:1.95;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.f-stats{display:flex;gap:30px;margin:18px 0 20px}
.f-stats b{display:block;font-size:20px;font-weight:800;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;font-variant-numeric:tabular-nums}
.f-stats span{font-size:11.5px;color:var(--txt-3)}
.f-btns{display:flex;gap:12px;flex-wrap:wrap}
.btn-grad{display:inline-flex;align-items:center;gap:8px;padding:12px 28px;border-radius:12px;background:var(--grad);color:#fff;font-weight:600;font-size:14.5px;box-shadow:0 10px 24px rgba(124,107,255,.35);transition:transform .2s,box-shadow .2s}
.btn-grad:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(124,107,255,.45);color:#fff}
.btn-ghost{display:inline-flex;align-items:center;gap:8px;padding:12px 24px;border-radius:12px;border:1px solid var(--line-2);color:var(--txt);font-size:14.5px;background:var(--card-2);transition:.2s}
.btn-ghost:hover{border-color:var(--pri);color:var(--pri)}
/* 48h趋势 */ .trend{border-radius:22px;background:var(--card);border:1px solid var(--line);padding:20px;display:flex;flex-direction:column;min-width:0}
.trend-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}
.trend-h .tt{font-size:16px;font-weight:800}
.live-dot{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--hot)}
.live-dot i{width:7px;height:7px;border-radius:50%;background:var(--hot);animation:pulse 1.6s infinite}
0%{box-shadow:0 0 0 0 rgba(255,112,144,.5)}
100%{box-shadow:0 0 0 0 rgba(255,112,144,.5)}
50%{box-shadow:0 0 0 6px rgba(255,112,144,0)}
.trend ol{flex:1}
.trend li{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px dashed var(--line)}
.trend li:last-child{border-bottom:0}
.t-rank{width:22px;height:22px;border-radius:7px;background:var(--card-2);display:grid;place-items:center;font-size:12px;font-weight:700;color:var(--txt-3);flex-shrink:0}
.trend li:nth-child(1) .t-rank{background:linear-gradient(135deg,#FFC44D,#FF8A3D);color:#fff}
.trend li:nth-child(2) .t-rank{background:linear-gradient(135deg,#B8C4E8,#8E9CD0);color:#1B2244}
.trend li:nth-child(3) .t-rank{background:linear-gradient(135deg,#E8A878,#C97848);color:#fff}
.t-info{min-width:0;flex:1}
.t-info a{display:block;font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.t-info span{font-size:11px;color:var(--txt-3)}
.t-up{font-size:12px;font-weight:700;color:var(--hot);font-variant-numeric:tabular-nums;flex-shrink:0}
/* 分类快捷 */ .catgrid{display:grid;grid-template-columns:repeat(8,1fr);gap:12px}
.catcard{display:flex;flex-direction:column;align-items:center;gap:8px;padding:18px 8px 14px;border-radius:16px;background:var(--card);border:1px solid var(--line);transition:transform .2s,border-color .2s}
.catcard:hover{transform:translateY(-3px);border-color:var(--pri)}
.catcard .cc-ico{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;font-size:20px;font-weight:800;color:#fff;background:linear-gradient(135deg,var(--c1),var(--c2))}
.catcard .cc-t{font-size:13px;font-weight:600}
.catcard .cc-n{font-size:11px;color:var(--txt-3)}
/* 热榜tabs */ .tabs{display:flex;gap:6px;padding:14px 18px 0;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tabs button{padding:10px 18px;font-size:14px;color:var(--txt-2);border-radius:10px 10px 0 0;position:relative;white-space:nowrap}
.tabs button:hover{color:var(--txt)}
.tabs button.on{color:var(--txt);font-weight:700}
.tabs button.on::after{content:"";position:absolute;left:14px;right:14px;bottom:-1px;height:3px;border-radius:3px;background:var(--grad)}
.rk{display:none;padding:6px 18px 12px}
.rk.on{display:block}
.rk-row{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px dashed var(--line)}
.rk-row:last-child{border-bottom:0}
.rk-no{width:26px;font-size:17px;font-weight:800;font-style:italic;color:var(--txt-3);font-variant-numeric:tabular-nums;flex-shrink:0}
.rk-row:nth-child(-n+3) .rk-no{background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.rk-info{flex:1;min-width:0}
.rk-info a{font-weight:600;font-size:14px}
.rk-info span{display:block;font-size:11.5px;color:var(--txt-3);margin-top:2px}
.rk-heat{width:170px;flex-shrink:0}
.rk-hv{font-size:11.5px;color:var(--txt-3);font-variant-numeric:tabular-nums;display:flex;justify-content:space-between}
.rk-hv b{color:var(--pri-2);font-weight:700}
.heat-bar{height:5px;border-radius:5px;background:var(--card-2);overflow:hidden;margin-top:5px}
.heat-bar i{display:block;height:100%;border-radius:5px;background:var(--grad)}
/* 精品推荐（悬浮浮层） */ .picks{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.pick{position:relative}
.pick:hover .cv{transform:translateY(-5px);box-shadow:0 16px 32px rgba(3,6,24,.4)}
.pick .p-t{margin-top:10px;font-size:14px;font-weight:700;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pick .p-a{text-align:center;font-size:11.5px;color:var(--txt-3);margin-top:3px}
.p-ol{position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,13,26,.15),rgba(10,13,26,.92));opacity:0;transition:.25s;border-radius:12px;display:flex;flex-direction:column;justify-content:flex-end;padding:12px;color:#EAF0FF;font-size:11.5px;line-height:1.65}
.pick:hover .p-ol{opacity:1}
.p-ol .p-goto{margin-top:8px;text-align:center;padding:7px 0;border-radius:8px;background:var(--grad);color:#fff;font-weight:600;font-size:12px}
/* 新书snap轨道 */ .snaphead{display:flex;align-items:baseline;gap:14px;margin-bottom:16px}
.snap-ctl{margin-left:auto;display:flex;gap:8px}
.snap-ctl button{width:34px;height:34px;border-radius:10px;border:1px solid var(--line-2);display:grid;place-items:center;color:var(--txt-2);background:var(--card)}
.snap-ctl button:hover{border-color:var(--pri);color:var(--pri)}
.snaprow{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 10px;scrollbar-width:none}
.snaprow::-webkit-scrollbar{display:none}
.snap{scroll-snap-align:start;display:flex;gap:12px;padding:12px;border-radius:16px;background:var(--card);border:1px solid var(--line);width:256px;flex-shrink:0;transition:border-color .2s}
.snap:hover{border-color:var(--pri)}
.snap .sc{width:78px;flex-shrink:0}
.snap .si{min-width:0;flex:1;display:flex;flex-direction:column}
.snap .si a{font-weight:700;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.snap .si .s-meta{font-size:11px;color:var(--txt-3);margin:3px 0 6px}
.snap .si .s-desc{font-size:11.5px;color:var(--txt-2);line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.snap .si .s-date{margin-top:auto;font-size:10.5px;color:var(--txt-3);font-variant-numeric:tabular-nums}
/* 分类精选行卡 */ .rowlist{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.rowcard{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:20px;min-width:0;overflow:hidden}
.rowcard .rc-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.rowcard .rc-h b{font-size:16px;font-weight:800}
.rowcard .rc-h a{font-size:12px;color:var(--txt-3)}
.brow{display:flex;align-items:center;gap:12px;padding:9px 0;border-bottom:1px dashed var(--line)}
.brow:last-child{border-bottom:0}
.brow .no{font-size:12px;font-weight:700;color:var(--txt-3);font-variant-numeric:tabular-nums;width:20px;flex-shrink:0}
.brow a{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13.5px;font-weight:500}
.brow .au{font-size:11.5px;color:var(--txt-3);flex-shrink:0}
.st{font-size:10.5px;padding:2px 9px;border-radius:99px;flex-shrink:0}
.st.free{background:rgba(51,224,196,.14);color:var(--pri-2)}
.st.done{background:rgba(255,196,77,.14);color:var(--gold)}
/* 作家CTA */ .author-cta{position:relative;border-radius:22px;padding:32px 38px;background:linear-gradient(120deg,rgba(124,107,255,.20),rgba(51,224,196,.14));border:1px solid rgba(124,107,255,.30);display:flex;align-items:center;gap:26px;overflow:hidden}
.author-cta::before{content:"✍";position:absolute;right:26px;bottom:-22px;font-size:110px;opacity:.12;pointer-events:none}
.author-cta h3{font-size:22px;font-weight:800;letter-spacing:1px}
.author-cta p{font-size:13px;color:var(--txt-2);margin-top:8px}
.ac-stats{display:flex;gap:26px;margin-top:14px}
.ac-stats b{font-size:18px;font-weight:800;color:var(--pri-2);font-variant-numeric:tabular-nums}
.ac-stats span{font-size:11.5px;color:var(--txt-3);margin-left:5px}
/* 页脚 */ .footer{border-top:1px solid var(--line);background:var(--bg-soft);margin-top:24px;padding:34px 0 26px}
.f-cols{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:24px;margin-bottom:22px}
.f-col h4{font-size:13px;color:var(--txt-2);margin-bottom:12px;letter-spacing:1px;font-weight:700}
.f-col a{display:block;font-size:12.5px;color:var(--txt-3);padding:4px 0}
.f-col a:hover{color:var(--pri-2)}
.f-brand p{font-size:12.5px;color:var(--txt-3);line-height:1.9;max-width:360px}
.f-bot{border-top:1px solid var(--line);padding-top:18px;font-size:12px;color:var(--txt-3);display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}
/* 面包屑/筛选/分页 */ .crumb{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--txt-3);padding:14px 0 6px;flex-wrap:wrap}
.crumb a:hover{color:var(--pri)}
.crumb i{font-style:normal;opacity:.45}
.filters{display:flex;flex-direction:column;gap:12px;background:var(--card);border:1px solid var(--line);border-radius:18px;padding:18px 20px;margin-bottom:18px}
.f-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.f-row .lab{font-size:12px;color:var(--txt-3);width:44px;flex-shrink:0}
.chip{padding:5px 14px;border-radius:99px;font-size:12.5px;color:var(--txt-2);background:var(--card-2);border:1px solid transparent;transition:.2s;display:inline-block}
.chip:hover{color:var(--txt);border-color:var(--line-2)}
.chip.on{background:var(--grad);color:#fff;font-weight:600;border-color:transparent}
.pager{display:flex;gap:8px;justify-content:center;padding:18px 0 4px;flex-wrap:wrap}
.pager a{min-width:38px;height:38px;display:grid;place-items:center;border-radius:10px;font-size:13.5px;background:var(--card);border:1px solid var(--line);color:var(--txt-2);padding:0 10px}
.pager span{min-width:38px;height:38px;display:grid;place-items:center;border-radius:10px;font-size:13.5px;background:var(--card);border:1px solid var(--line);color:var(--txt-2);padding:0 10px}
.pager .cur{background:var(--grad);color:#fff;border-color:transparent;font-weight:700}
.pager a:hover{border-color:var(--pri);color:var(--pri)}
.pager .dis{opacity:.4;pointer-events:none}
/* toast / 回顶 */ #toast{position:fixed;left:50%;bottom:44px;transform:translate(-50%,16px);background:var(--card);border:1px solid var(--line-2);color:var(--txt);padding:11px 22px;border-radius:99px;font-size:13px;box-shadow:var(--shadow);opacity:0;visibility:hidden;transition:.3s;z-index:99;white-space:nowrap}
#toast.on{opacity:1;visibility:visible;transform:translate(-50%,0)}
.backtop{position:fixed;right:26px;bottom:30px;width:46px;height:46px;border-radius:14px;background:var(--grad);color:#fff;display:grid;place-items:center;font-size:16px;box-shadow:0 12px 26px rgba(124,107,255,.4);opacity:0;visibility:hidden;transition:.3s;z-index:90;border:0}
.backtop.on{opacity:1;visibility:visible}
.backtop:hover{color:#fff;transform:translateY(-3px)}
/* rc-row-base 宽屏基础网格：书名 | 章节 | 摘要 | 作者 | 日期 */
.rc-row{
  display:grid;
  grid-template-columns:160px 180px minmax(0,1fr) auto auto;
  grid-template-areas:"bk ch txt au dt";
  gap:14px;
  align-items:center;
  padding:11px 14px;
  border-bottom:1px dashed var(--line);
  font-size:13px;
}
.rc-row:last-child{border-bottom:0}
.rc-bk{grid-area:bk;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.rc-ch{grid-area:ch;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.rc-txt{grid-area:txt;color:var(--txt-3);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.rc-au{grid-area:au;color:var(--txt-3);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right;min-width:0}
.rc-dt{grid-area:dt;color:var(--txt-3);font-size:11.5px;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}

@media(max-width:900px){.hero{grid-template-columns:1fr}}
.catgrid{grid-template-columns:repeat(4,1fr)}
.picks{grid-template-columns:repeat(3,1fr)}
.rowlist{grid-template-columns:1fr}
.author-cta{flex-direction:column;align-items:flex-start;padding:26px 22px}
.topbar .tb-r a:nth-child(n+2){display:none}
.masthead .wrap{flex-wrap:wrap;gap:14px;padding:16px 12px}
.f-cover .cv{font-size:11px}
.f-btns .btn-grad{padding:10px 20px;font-size:13.5px}
.f-btns .btn-ghost{padding:10px 20px;font-size:13.5px}
.trend{padding:16px}
.chapters{grid-template-columns:1fr!important}
.b-hero{display:grid!important;grid-template-columns:auto 1fr;padding:20px 16px;gap:14px}
.b-hero .b-cover{grid-column:1;grid-row:1/span 4;width:92px}
.b-hero .b-info{display:contents}
.b-hero h1{grid-column:2;grid-row:1;font-size:21px!important}
.b-hero .b-meta{grid-column:2;grid-row:2;font-size:11.5px}
.b-hero .b-chips{grid-column:2;grid-row:3}
.b-hero .b-stats{grid-column:1/-1;grid-row:5;margin:14px 0 0}
.b-hero .intro{grid-column:1/-1}
.res{display:grid!important;grid-template-columns:auto 1fr;padding:16px;gap:12px}
.res .rc{width:82px;grid-row:1/span 3}
.res .ri{min-width:0}
.recent{padding:2px 10px 8px}
.rg-h{display:flex;align-items:center;gap:10px;padding:15px 14px 9px;font-size:14px;font-weight:800}
.rg-dot{width:10px;height:10px;border-radius:4px;background:var(--c);flex-shrink:0}
.rg-n{font-size:11px;color:var(--txt-3);font-weight:500}
.rg-h a{margin-left:auto;font-size:12px;color:var(--txt-3);font-weight:500}
.rg-h a:hover{color:var(--pri-2)}
.rc-row{display:grid;grid-template-columns:210px 190px 1fr 76px 92px;grid-template-areas:"bk ch txt au dt";gap:12px;align-items:center;padding:11px 14px;border-bottom:1px dashed var(--line);font-size:13px}
.rc-row:last-child{border-bottom:0}
.rc-bk{grid-area:bk;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rc-bk a:hover{color:var(--pri)}
.rc-ch{grid-area:ch;color:var(--pri-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rc-ch a{color:inherit}
.rc-ch a:hover{text-decoration:underline}
.rc-txt{grid-area:txt;color:var(--txt-3);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rc-au{grid-area:au;color:var(--txt-3);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}
.rc-dt{grid-area:dt;color:var(--txt-3);font-size:11.5px;font-variant-numeric:tabular-nums;text-align:right}
.rkgrid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
.rkcard .rk{padding:4px 16px 8px}
.rkcard .rk-heat{width:128px}
.catlay{display:grid;grid-template-columns:1fr 300px;gap:18px;align-items:start}
.bl{display:grid;grid-template-columns:64px 1fr auto;gap:16px;padding:18px;border-radius:18px;background:var(--card);border:1px solid var(--line);margin-bottom:14px;transition:border-color .2s}
.bl:hover{border-color:var(--pri)}
.bl-c{width:64px}
.bl h3{font-size:16px;font-weight:700}
.bl h3 a:hover{color:var(--pri)}
.bl-m{font-size:11.5px;color:var(--txt-3);margin:4px 0 8px}
.bl-d{font-size:12.5px;color:var(--txt-2);line-height:1.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bl-b{display:flex;flex-direction:column;gap:10px;justify-content:center}
.bl-b a{padding:9px 18px;font-size:13px;white-space:nowrap}
.side{display:flex;flex-direction:column;gap:18px}
.tags{display:flex;flex-wrap:wrap;gap:8px}
.pods{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:22px}
.pod{display:flex;gap:16px;padding:22px;border-radius:20px;background:var(--card);border:1px solid var(--line);position:relative;overflow:hidden}
.p1{background:linear-gradient(150deg,rgba(255,196,77,.12),var(--card));border-color:rgba(255,196,77,.4)}
.p2{background:linear-gradient(150deg,rgba(184,196,232,.10),var(--card))}
.p3{background:linear-gradient(150deg,rgba(232,168,120,.10),var(--card))}
.pod-rank{position:absolute;right:14px;top:10px;font-size:13px;font-weight:800;font-style:italic;color:var(--txt-3);letter-spacing:1px}
.pod-cv{width:110px;flex-shrink:0;display:block}
.pod-info{min-width:0;flex:1;display:flex;flex-direction:column}
.pod-info h2{font-size:18px;font-weight:800}
.pod-m{font-size:11.5px;color:var(--txt-3);margin:6px 0 12px}
.pod-info .btn-grad{margin-top:auto;align-self:flex-start;padding:9px 22px;font-size:13px}
.rktable{width:100%;border-collapse:collapse}
.rktable th{text-align:left;font-size:12px;color:var(--txt-3);font-weight:600;padding:12px 8px;border-bottom:1px solid var(--line);letter-spacing:1px}
.rktable td{padding:14px 8px;border-bottom:1px dashed var(--line);font-size:13.5px;vertical-align:middle}
.rktable a{font-weight:600}
.tr-sub{display:block;font-size:11px;color:var(--txt-3);margin-top:2px}
.tr-num{font-variant-numeric:tabular-nums;font-weight:700;color:var(--pri-2)}
.tr-up{color:var(--hot);font-weight:700;font-variant-numeric:tabular-nums}
.rktable .heat-bar{width:130px}
.rktable th:nth-child(5){display:none}
.rktable td:nth-child(5){display:none}
.res:hover{border-color:var(--pri)}
.res h3{font-size:16px;font-weight:700}
.res-m{font-size:11.5px;color:var(--txt-3);margin:4px 0 8px}
.res-d{font-size:12.5px;color:var(--txt-2);line-height:1.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.res-b{display:flex;align-items:center;flex-shrink:0}
.res-b a{padding:10px 22px;font-size:13px}
mark{background:none;color:var(--pri-2);font-weight:700}
.related{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.sh-empty{text-align:center;padding:70px 20px}
.sh-empty .se-ico{font-size:44px;margin-bottom:14px}
.sh-empty h2{font-size:18px;font-weight:800;margin-bottom:8px}
.sh-empty p{font-size:13px;color:var(--txt-3);margin-bottom:22px}
.sh-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.prose{max-width:820px}
.prose h2{font-size:18px;font-weight:800;margin:26px 0 10px;position:relative;padding-left:12px}
.prose h2::before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:4px;border-radius:4px;background:var(--grad)}
.prose p{font-size:14px;color:var(--txt-2);line-height:2;margin-bottom:12px}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0}
.stats div{padding:18px;border-radius:16px;background:var(--card);border:1px solid var(--line);text-align:center}
.stats b{display:block;font-size:22px;font-weight:800;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.stats span{font-size:11.5px;color:var(--txt-3)}
.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px}
.bf{padding:22px;border-radius:18px;background:var(--card);border:1px solid var(--line);transition:transform .2s,border-color .2s}
.bf:hover{transform:translateY(-3px);border-color:var(--pri)}
.bf .bf-ico{font-size:26px;margin-bottom:10px}
.bf h3{font-size:15px;font-weight:800;margin-bottom:6px}
.bf p{font-size:12px;color:var(--txt-2);line-height:1.8}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-bottom:26px;counter-reset:st}
.step{position:relative;padding:18px 18px 18px 54px;background:var(--card);border:1px solid var(--line);border-radius:4px}
.step::before{counter-increment:st;content:counter(st);position:absolute;left:16px;top:14px;width:26px;height:26px;border-radius:9px;background:var(--grad);color:#fff;display:grid;place-items:center;font-weight:800;font-size:13px}
.step h4{font-size:13.5px;font-weight:700;margin-bottom:4px}
.step p{font-size:11.5px;color:var(--txt-3);line-height:1.7}
.faq{margin-bottom:26px}
.faq details{background:var(--card);border:1px solid var(--line);border-radius:14px;margin-bottom:10px;overflow:hidden}
.faq summary{padding:15px 20px;font-size:14px;font-weight:600;cursor:pointer;list-style:none;display:flex;justify-content:space-between}
.faq summary::after{content:"+";color:var(--pri);font-size:17px}
.faq details[open] summary::after{content:"–"}
.faq details p{padding:0 20px 16px;font-size:13px;color:var(--txt-2);line-height:1.9}
.aform{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:26px}
.aform label{font-size:12.5px;color:var(--txt-2);display:block;margin-bottom:6px}
.aform input{width:100%;padding:11px 14px;border-radius:12px;border:1px solid var(--line-2);background:var(--card-2);color:var(--txt);font-size:13.5px;font-family:inherit;outline:none}
.aform textarea{width:100%;padding:11px 14px;border-radius:12px;border:1px solid var(--line-2);background:var(--card-2);color:var(--txt);font-size:13.5px;font-family:inherit;outline:none}
.aform select{width:100%;padding:11px 14px;border-radius:12px;border:1px solid var(--line-2);background:var(--card-2);color:var(--txt);font-size:13.5px;font-family:inherit;outline:none}
.aform input:focus{border-color:var(--pri)}
.aform textarea:focus{border-color:var(--pri)}
.aform .full{grid-column:1/-1}
.b-hero::before{content:"";position:absolute;right:-90px;top:-130px;width:360px;height:360px;background:radial-gradient(closest-side,rgba(61,78,140,.35),transparent)}
.b-cover{width:210px;flex-shrink:0}
.b-info{min-width:0;position:relative;z-index:2;flex:1}
.b-meta{font-size:12.5px;color:var(--txt-2);margin:10px 0 14px}
.b-meta a{color:var(--pri-2)}
.b-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.b-stats{display:flex;gap:28px;margin:14px 0 18px;flex-wrap:wrap}
.b-stats b{display:block;font-size:20px;font-weight:800;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;font-variant-numeric:tabular-nums}
.b-stats span{font-size:11.5px;color:var(--txt-3)}
.intro{font-size:13.5px;color:var(--txt-2);line-height:2}
.intro b{color:var(--pri-2)}
.chapters a{display:flex;justify-content:space-between;padding:10px 2px;border-bottom:1px dashed var(--line);font-size:13.5px;color:var(--txt-2)}
.chapters a:hover{color:var(--pri)}
.chapters a.new{color:var(--pri-2)}
.chapters a i{font-style:normal;font-size:11.5px;color:var(--txt-3);font-variant-numeric:tabular-nums}
.dir-h{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px}
.dir-h b{font-size:16px;font-weight:800}
.dir-h a{font-size:12px;color:var(--txt-3)}
.r-bar{position:fixed;top:0;left:0;height:3px;background:var(--grad);width:0;z-index:99;transition:width .1s linear}
.r-head{position:sticky;top:0;background:var(--bg);background:color-mix(in srgb,var(--bg) 85%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--line);z-index:40}
.r-head .wrap{display:flex;align-items:center;gap:14px;height:54px}
.r-back{font-size:13px;color:var(--txt-2);flex-shrink:0}
.r-back:hover{color:var(--pri)}
.r-title{font-size:13.5px;font-weight:600;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.r-ctl{padding:7px 14px;border-radius:10px;border:1px solid var(--line-2);font-size:12.5px;color:var(--txt-2);background:var(--card);flex-shrink:0}
.r-ctl:hover{border-color:var(--pri);color:var(--pri)}
.reader{max-width:840px;margin:0 auto;padding:0 18px}
.r-panel{font-size:var(--r-fs,17px);line-height:2.15;padding:36px 10px 30px;border-radius:16px;margin-top:14px;transition:background .3s,color .3s}
.r-panel[data-rbg=paper]{background:#F7F1E3;color:#4A4233;padding:36px 26px}
.r-panel[data-rbg=green]{background:#CDE8CF;color:#2E4A33;padding:36px 26px}
.r-panel[data-rbg=dark]{background:transparent;color:var(--txt)}
.r-panel h1{font-size:1.45em;margin-bottom:1.6em;text-align:center;font-weight:800}
.r-panel p{margin:0 0 1.5em;text-indent:2em}
.r-foot{font-size:.8em;color:var(--txt-3);text-align:center;margin-top:2em}
.r-nav{display:flex;justify-content:space-between;gap:12px;padding:18px 0 70px}
.r-nav a{flex:1;text-align:center;padding:13px 10px;border-radius:12px;border:1px solid var(--line-2);background:var(--card);font-size:14px}
.r-nav a:hover{border-color:var(--pri);color:var(--pri)}
.r-nav .btn-grad{border:0}
.r-set{position:fixed;right:16px;bottom:24px;z-index:60;display:flex;flex-direction:column;gap:10px;align-items:flex-end}
.set-panel{background:var(--card);border:1px solid var(--line-2);border-radius:16px;padding:16px;width:216px;box-shadow:var(--shadow)}
.set-panel h4{font-size:12px;color:var(--txt-3);margin:10px 0 8px;font-weight:600}
.set-panel h4:first-child{margin-top:0}
.fs-ctl{display:flex;gap:8px}
.fs-ctl button{flex:1;padding:9px 0;border-radius:10px;border:1px solid var(--line-2);background:var(--card-2);font-size:14px}
.bg-opt{display:flex;gap:8px}
.bg-opt button{flex:1;height:38px;border-radius:10px;border:2px solid var(--line);font-size:11px}
.bg-opt button.cur{border-color:var(--pri)}
.bg-opt .o-dark{background:#0A0D1A;color:#EAEEFC}
.bg-opt .o-paper{background:#F7F1E3;color:#4A4233}
.bg-opt .o-green{background:#CDE8CF;color:#2E4A33}
.set-toggle{width:46px;height:46px;border-radius:14px;background:var(--grad);color:#fff;display:grid;place-items:center;font-size:16px;box-shadow:0 12px 26px rgba(124,107,255,.4);margin-left:auto}
.drawer{position:fixed;top:0;right:-330px;width:320px;height:100%;background:var(--card);border-left:1px solid var(--line);z-index:100;transition:right .3s;overflow-y:auto;padding:18px}
.drawer.on{right:0}
.drawer h3{font-size:15px;font-weight:800;margin-bottom:4px}
.drawer .d-sub{font-size:11.5px;color:var(--txt-3);margin-bottom:12px}
.drawer ol li a{display:flex;justify-content:space-between;padding:10px 4px;border-bottom:1px dashed var(--line);font-size:13px;color:var(--txt-2)}
.drawer ol li a:hover{color:var(--pri-2)}
.drawer ol li a.cur{color:var(--pri-2)}
.drawer ol li a i{font-style:normal;font-size:11px;color:var(--txt-3)}
.mask{position:fixed;inset:0;background:rgba(4,6,16,.55);z-index:99;opacity:0;visibility:hidden;transition:.3s}
.mask.on{opacity:1;visibility:visible}
.r-minifoot{text-align:center;font-size:11.5px;color:var(--txt-3);padding:0 0 34px}
.r-minifoot a{color:var(--txt-2)}


/* ══════════════════════════════════════════════════════════
   登录 / 注册（原设计没有，按现有风格补）
   ----------------------------------------------------------
   用 .btn-grad 的同款渐变和 .theme-btn 的同款圆角比例，
   保证和「加入书架」「▶ 从第一章免费读」是一套语言。
   ══════════════════════════════════════════════════════════ */
.auth-btns{display:flex;align-items:center;gap:8px;flex-shrink:0}
.auth-btns a,.auth-btns button{
  padding:8px 18px;border-radius:99px;font-size:13.5px;font-weight:600;
  white-space:nowrap;transition:.2s;line-height:1.5;cursor:pointer;
  border:1px solid transparent;font-family:inherit;
}
.auth-login{color:var(--txt-2);border-color:var(--line-2);background:transparent}
.auth-login:hover{color:var(--txt);border-color:var(--pri);background:var(--card-2)}
.auth-reg{color:#fff;background:var(--grad);box-shadow:0 6px 16px rgba(124,107,255,.32)}
.auth-reg:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(124,107,255,.45)}

/* 已登录：昵称 + 退出 */
.auth-user{display:flex;align-items:center;gap:8px}
.auth-name{
  font-size:13.5px;font-weight:600;color:var(--txt);
  max-width:96px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.auth-out{font-size:12.5px;color:var(--txt-3);padding:6px 12px;border-radius:99px;border:1px solid var(--line)}
.auth-out:hover{color:var(--hot);border-color:var(--hot)}

@media(max-width:960px){.auth-btns .auth-login{display:none}}
@media(max-width:720px){.auth-btns{gap:6px}.auth-btns a,.auth-btns button{padding:7px 14px;font-size:13px}}

/* ══════════════════════════════════════════════════════════
   真实封面（原设计用纯 CSS 渐变封面）
   ----------------------------------------------------------
   有封面图就用 <img>，没有才回落到 .cv 渐变占位。
   ══════════════════════════════════════════════════════════ */
.cv-img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
.cv.has-img{background:none;overflow:hidden}

/* ══════════════════════════════════════════════════════════
   补充：原设计缺的页面级组件
   ══════════════════════════════════════════════════════════ */
/* 登录 / 注册独立页 */
.authwrap{min-height:calc(100vh - 232px);display:grid;place-items:center;padding:56px 20px;position:relative}
.authwrap::before{
  content:'';position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(680px 340px at 50% 0%,rgba(124,107,255,.20),transparent 70%);
}
.authcard{
  position:relative;width:100%;max-width:420px;background:var(--card);
  border:1px solid var(--line);border-radius:var(--r);padding:38px 34px 32px;
  box-shadow:var(--shadow);
}
.authcard h1{font-size:23px;font-weight:800;margin-bottom:6px;letter-spacing:.5px}
.authcard .sub{font-size:13px;color:var(--txt-3);margin-bottom:26px}
.authcard label{display:block;font-size:13px;color:var(--txt-2);margin-bottom:7px}
.authcard .inp{
  width:100%;height:46px;padding:0 15px;border-radius:12px;
  border:1px solid var(--line-2);background:var(--bg-soft);color:var(--txt);
  font-size:14.5px;font-family:inherit;transition:.2s;margin-bottom:17px;
}
.authcard .inp:focus{outline:none;border-color:var(--pri);box-shadow:0 0 0 3px rgba(124,107,255,.16)}
.authcard .submit{
  width:100%;height:48px;border-radius:12px;border:0;background:var(--grad);
  color:#fff;font-size:15px;font-weight:700;cursor:pointer;transition:.2s;
  box-shadow:0 8px 22px rgba(124,107,255,.34);font-family:inherit;
}
.authcard .submit:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(124,107,255,.46)}
.authcard .alt{margin-top:20px;text-align:center;font-size:13.5px;color:var(--txt-3)}
.authcard .alt a{color:var(--pri);font-weight:600}
.authcard .err{
  background:rgba(255,112,144,.12);border:1px solid rgba(255,112,144,.35);
  color:var(--hot);font-size:13px;padding:11px 14px;border-radius:10px;margin-bottom:18px;
}
.authcard .ok{
  background:rgba(51,224,196,.12);border:1px solid rgba(51,224,196,.35);
  color:var(--pri-2);font-size:13px;padding:11px 14px;border-radius:10px;margin-bottom:18px;
}
.authcard .chk{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--txt-2);margin-bottom:20px}
.authcard .chk input{width:16px;height:16px;accent-color:var(--pri)}

/* 分页 */
.pager{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;padding:34px 0 10px}
.pager a,.pager span{
  min-width:40px;height:40px;padding:0 13px;border-radius:11px;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:13.5px;border:1px solid var(--line);color:var(--txt-2);transition:.2s;
}
.pager a:hover{border-color:var(--pri);color:var(--txt);background:var(--card-2)}
.pager .cur{background:var(--grad);color:#fff;border-color:transparent;font-weight:700}
.pager .dis{opacity:.4;pointer-events:none}

/* 空状态 */
.empty{text-align:center;padding:72px 20px;color:var(--txt-3)}
.empty b{display:block;font-size:16px;color:var(--txt-2);margin-bottom:8px}
.empty p{font-size:13.5px;line-height:1.9}

/* 章节正文 */
.read-body{font-size:17px;line-height:2.15;color:var(--txt);letter-spacing:.2px}
.read-body p{margin-bottom:1.05em;text-indent:2em}

/* 章节列表网格 */
.chap-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:9px;padding:4px 0}
.chap-grid a{
  padding:9px 13px;border-radius:10px;background:var(--card-2);
  font-size:13.5px;color:var(--txt-2);transition:.18s;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.chap-grid a:hover{background:var(--pri);color:#fff}
.chap-grid a.cur{background:var(--grad);color:#fff;font-weight:600}


/* ══════════════════════════════════════════════════════════
   搜索框与 Logo 对齐（用户反馈：搜索框不能高于 logo）
   ----------------------------------------------------------
   原来 .searchbox 是 flex:1 的单列，输入框 44px + 热词一行 ≈ 64px，
   比 logo（44px）高，视觉上顶出一条。这里：
     · 输入框压到 44px（= logo 高度）
     · 热词缩小字号、收紧行高
     · 整个 searchbox 垂直居中于 masthead
   ══════════════════════════════════════════════════════════ */
.masthead .wrap{align-items:center}
.searchbox{flex:1;max-width:520px;align-self:center;display:flex;flex-direction:column;gap:5px}
.searchbox input{height:44px}
.searchbox .hotwords{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;
  font-size:11px;line-height:1.25;color:var(--txt-3);margin:0}
.searchbox .hotwords span{color:var(--txt-3);margin-right:2px}
.searchbox .hotwords a{color:var(--txt-3);font-size:11px;white-space:nowrap}
.searchbox .hotwords a:hover{color:var(--pri)}

/* 移动端：热词收起，避免挤占首屏 */
@media(max-width:860px){
  .searchbox .hotwords{display:none}
  .masthead .wrap{gap:12px}
}

/* ══════════════════════════════════════════════════════════
   推荐阅读轮播（用户反馈：左侧只有一本 → 需 3-5 本轮播）
   ══════════════════════════════════════════════════════════ */
.feature.hc{padding:0;position:relative;display:grid}
/* 所有片恒占同一网格：容器高度取最高一片，切换不改变布局尺寸 */
.hc-slide{grid-area:1/1;display:flex;padding:28px;gap:28px;align-items:flex-start;
  visibility:hidden;opacity:0;pointer-events:none;
  transition:opacity .35s ease, visibility 0s linear .35s}
.hc-slide.on{visibility:visible;opacity:1;pointer-events:auto;transition:opacity .35s ease}
.hc-kicker{font-size:15px;font-weight:600;margin:0 0 4px}
.hc-kicker b{color:var(--pri)}
.hc-dots{position:absolute;left:28px;bottom:14px;display:flex;gap:7px;z-index:2}
.hc-dot{width:8px;height:8px;border-radius:99px;border:0;padding:0;cursor:pointer;
  background:var(--line-2);transition:.25s}
.hc-dot.on{width:22px;background:var(--grad)}
.hc-dot:hover{background:var(--pri)}

/* ══════════════════════════════════════════════════════════
   精品推荐：一行 5 个、两行共 10 个，图片压小
   ══════════════════════════════════════════════════════════ */
.picks{grid-template-columns:repeat(5,1fr);gap:16px 14px}
.pick .cv{aspect-ratio:3/4;border-radius:12px}
.pick .cv-n{font-size:12px;padding:8px}
.pick .cv-a{font-size:10px}
.pick-t{display:block;margin-top:7px;font-size:12.5px;color:var(--txt-2);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.p-ol{padding:12px}
.p-n{display:block;font-size:13px;color:#fff;font-weight:700;margin-bottom:3px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.p-a{display:block;font-size:11px;color:rgba(255,255,255,.7);margin-bottom:8px}
.p-goto{display:inline-block;padding:5px 12px;border-radius:99px;background:var(--grad);
  color:#fff;font-size:11.5px;font-weight:600}

/* ══════════════════════════════════════════════════════════
   频道精选：两列 + 每列第一本带缩略图
   ══════════════════════════════════════════════════════════ */
.rowlist{grid-template-columns:1fr 1fr;gap:18px}
.brow-lead{align-items:center;padding:10px 0;gap:11px}
.bl-cover{width:52px;flex-shrink:0;display:block}
.bl-cover .cv{aspect-ratio:3/4;border-radius:8px}
.bl-cover .cv-n{font-size:9px;padding:4px;line-height:1.2}
.bl-cover .cv-a{display:none}
.bl-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.bl-info > a{font-size:13.5px;font-weight:600;color:var(--txt);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bl-info > a:hover{color:var(--pri)}
.bl-sub{font-size:11.5px;color:var(--txt-3);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

@media(max-width:1100px){.picks{grid-template-columns:repeat(4,1fr)}}
@media(max-width:900px){
  .picks{grid-template-columns:repeat(3,1fr)}
  .rowlist{grid-template-columns:1fr}
  .hc-slide{flex-direction:column;padding:20px}
  .hc-dots{left:20px;bottom:10px}
}
@media(max-width:600px){.picks{grid-template-columns:repeat(2,1fr)}}

/* ══════════════════════════════════════════════════════════
   顶部推荐阅读文字链（对齐 moge2 的信息密度）
   ══════════════════════════════════════════════════════════ */
.rec-read{max-width:1180px;margin:0 auto;padding:11px 20px;font-size:12.5px;
  line-height:1.9;color:var(--txt-3);border-bottom:1px solid var(--line);
  display:flex;flex-wrap:wrap;align-items:center;gap:2px 0}
.rec-read-label{font-weight:700;color:var(--txt-2);margin-right:6px;flex-shrink:0}
.rec-read a{color:var(--txt-3);margin:0 9px 0 0;white-space:nowrap}
.rec-read a:hover{color:var(--pri)}
.rec-read a::after{content:'·';margin-left:9px;color:var(--line-2)}
.rec-read a:last-child::after{content:''}

/* 公告条 */
.ann-bar{max-width:1180px;margin:0 auto;padding:8px 20px;display:flex;flex-wrap:wrap;
  gap:8px 18px;font-size:12.5px;color:var(--gold);
  background:rgba(255,196,77,.08);border-bottom:1px solid rgba(255,196,77,.18)}
.ann-i{display:inline-flex;align-items:center;gap:6px}
.ann-i::before{content:'◆';font-size:8px;opacity:.7}

/* ══════════════════════════════════════════════════════════
   详情页：简介块 + 相关推荐（一行 6 个，两行 12 个）
   ══════════════════════════════════════════════════════════ */
.bk-intro{margin:16px 0 4px;padding:16px 18px;background:var(--card-2);
  border-radius:14px;border-left:3px solid var(--pri)}
.bk-intro-h{font-size:13px;font-weight:700;color:var(--txt-2);margin:0 0 9px}
.bk-intro p{font-size:14px;line-height:2;color:var(--txt-2);margin:0;
  max-height:11em;overflow:hidden;position:relative}

.relgrid{display:grid;grid-template-columns:repeat(6,1fr);gap:20px 16px}
.rel{display:block;min-width:0}
.rel .cv{aspect-ratio:3/4;border-radius:12px;transition:.22s}
.rel:hover .cv{transform:translateY(-3px);box-shadow:0 14px 30px rgba(3,6,24,.55)}
.rel-n{display:block;margin-top:9px;font-size:13px;color:var(--txt);font-weight:600;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rel:hover .rel-n{color:var(--pri)}
.rel-a{display:block;margin-top:3px;font-size:11.5px;color:var(--txt-3);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

@media(max-width:1100px){.relgrid{grid-template-columns:repeat(5,1fr)}}
@media(max-width:900px){.relgrid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:640px){.relgrid{grid-template-columns:repeat(3,1fr);gap:16px 12px}}

/* ══════════════════════════════════════════════════════════
   联系我们（星阑专版：深色卡片 + 渐变图标）
   ══════════════════════════════════════════════════════════ */
.ctgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.ctcard{display:flex;flex-direction:column;gap:8px;padding:24px 22px;
  background:var(--card);border:1px solid var(--line);border-radius:20px;transition:.22s}
.ctcard:hover{border-color:var(--pri);transform:translateY(-2px);
  box-shadow:0 16px 36px rgba(3,6,24,.5)}
.ct-ico{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;
  font-size:19px;font-weight:800;color:#fff;margin-bottom:4px;
  background:linear-gradient(135deg,var(--c1),var(--c2));
  box-shadow:0 8px 20px rgba(124,107,255,.3)}
.ctcard b{font-size:15px;color:var(--txt)}
.ct-mail{font-size:13.5px;color:var(--pri);font-weight:600;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ct-desc{font-size:12.5px;color:var(--txt-3);line-height:1.7}

.ct-note{padding:24px 26px;border-radius:18px;
  background:linear-gradient(120deg,rgba(124,107,255,.14),rgba(51,224,196,.08));
  border:1px solid rgba(124,107,255,.25)}
.ct-note b{display:block;font-size:14px;color:var(--txt);margin-bottom:7px}
.ct-note a{font-size:19px;font-weight:800;color:var(--pri);letter-spacing:.3px}
.ct-note p{margin-top:11px;font-size:13px;line-height:1.9;color:var(--txt-3)}

.ct-ol{margin:0;padding-left:20px}
.ct-ol li{font-size:13.5px;line-height:2.1;color:var(--txt-2)}
.ct-ol li b{color:var(--txt)}

.ct-feed{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:11px}
.ct-fi{padding:13px 17px;border-radius:12px;background:var(--card-2);
  font-size:13px;color:var(--txt-2);display:flex;align-items:center;gap:9px}
.ct-fi::before{content:'✓';color:var(--pri-2);font-weight:800;font-size:13px}

@media(max-width:900px){.ctgrid{grid-template-columns:1fr}}

/* zhisu-patch */
.crumbs{padding:14px 0;font-size:13px;color:var(--txt-3)}.crumbs a{color:var(--txt-3)}.crumbs a:hover{color:var(--pri)}.crumbs b{color:var(--txt-2)}.f-links a{color:var(--txt-3);margin:0 8px;display:inline-block}.f-links a:hover{color:var(--pri)}

.js-shelf{cursor:pointer}.shelf-del{background:none;border:1px solid var(--line);border-radius:6px;padding:5px 12px;font-size:12.5px;color:var(--hot);cursor:pointer}.shelf-del:hover{background:rgba(255,112,144,.12);border-color:var(--hot)}

/* zl-latest 最新章节列表（统一给 6 套模板） */
.zl-chlist{display:grid;grid-template-columns:1fr 1fr;gap:0 28px;margin-top:10px}
.zl-chlist li{display:flex;align-items:baseline;gap:9px;padding:8px 0;border-bottom:1px dashed rgba(0,0,0,.10);min-width:0}
.zl-chlist .zl-t{flex:0 0 auto;max-width:56%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.zl-chlist .zl-ex{flex:1;min-width:0;font-size:12px;opacity:.62;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.zl-latest{margin:30px 0 22px}
@media(max-width:760px){.zl-chlist{grid-template-columns:1fr}}

/* detail-cover-fix 详情页封面锁定 3:4，避免图片原始比例把容器撑大 */
.d-cover .cov, .bd-cv, .bd-cover .cov, .d-cover .cov-xl{
  position:relative;aspect-ratio:3/4;overflow:hidden;border-radius:8px;background:var(--card-2,#eee)}
.d-cover .cov img, .bd-cv img, .bd-cover .cov img, .d-cover .cov-xl img,
.cov-img, .cov>img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}

/* catalog-2col 作品目录两列 */
.chap-list{grid-template-columns:1fr 1fr !important}
.chlist-full{grid-template-columns:1fr 1fr !important}

/* chan4-fix 频道精选四列 */
.rowlist{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:16px}
.rowlist .brow-lead .cover,.rowlist .rc-cv{width:56px;height:78px}
.rowlist .rc-h b{font-size:13.5px}
.rowlist .brow{font-size:12px;gap:8px}
@media(max-width:980px){.rowlist{grid-template-columns:repeat(3,minmax(0,1fr)) !important}}
@media(max-width:720px){.rowlist{grid-template-columns:repeat(2,minmax(0,1fr)) !important}}
@media(max-width:560px){.rowlist{grid-template-columns:1fr !important}}

/* zl-pager 章节翻页 */
.zl-pager{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center;
  padding:20px 0;margin-top:18px;border-top:1px solid rgba(0,0,0,.07)}
.zl-pg{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:36px;
  padding:0 13px;border:1px solid rgba(0,0,0,.12);border-radius:8px;font-size:13.5px;
  color:inherit;text-decoration:none;transition:.18s}
.zl-pg:hover{border-color:currentColor;opacity:.82}
.zl-pg.on{background:#0f766e !important;color:#ffffff !important;border-color:transparent !important;font-weight:700}
.zl-pg-info{font-size:12.5px;opacity:.55;margin-left:6px}
@media(max-width:560px){.zl-pg{min-width:34px;height:33px;padding:0 10px;font-size:12.5px}}

.appdl{max-width:720px;margin:0 auto;padding:26px 24px;border-radius:16px;
  background:rgba(0,0,0,.035);border:1px solid rgba(0,0,0,.09)}
.appdl-hd b{display:block;font-size:20px;font-weight:800;margin-bottom:6px}
.appdl-hd span{display:block;font-size:13px;opacity:.66;line-height:1.7}
.appdl-btns{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0 16px}
.appdl-btn{display:inline-flex;align-items:center;justify-content:center;min-width:172px;
  padding:13px 26px;border-radius:999px;font-size:14.5px;font-weight:700;
  border:1px solid rgba(0,0,0,.16);color:inherit;text-decoration:none;transition:.2s}
.appdl-btn.is-main{background:linear-gradient(135deg,#f0b429,#d98c11);border-color:transparent;color:#2a1a05}
.appdl-btn:hover{transform:translateY(-2px);opacity:.94}
.appdl-steps{margin:0 0 14px;padding-left:20px;font-size:13.5px;line-height:2;opacity:.82}
.appdl-note{font-size:12.5px;opacity:.56;line-height:1.75;margin:0}
@media(max-width:560px){
  .appdl{padding:20px 16px}
  .appdl-btn{flex:1;min-width:0;padding:12px 16px;font-size:13.5px}
}

/* xinglan inline-style extract */
.xinglan-s1{padding:14px 0;font-size:13px;color:var(--txt-3)}
.xinglan-s2{color:var(--txt-3)}
.xinglan-s3{color:var(--txt-2)}
.xinglan-s4{margin:20px 0 30px}
.xinglan-s5{padding:26px 30px;line-height:2.1;font-size:14px;color:var(--txt-2)}
.xinglan-s6{color:var(--pri)}
.xinglan-s7{margin-bottom:20px}
.xinglan-s8{padding:34px 38px}
.xinglan-s9{font-size:15px;line-height:2;color:var(--txt-2);margin-bottom:20px}
.xinglan-s10{display:flex;gap:12px;flex-wrap:wrap}
.xinglan-s11{padding:14px 0 20px}
.xinglan-s12{background:none;border:0;color:var(--hot);cursor:pointer;font-size:13px;font-family:inherit}
.xinglan-s15{padding:22px 26px;margin-bottom:24px}
.xinglan-s16{display:flex;gap:10px;flex-wrap:wrap}
.xinglan-s17{flex:1;min-width:220px;height:46px;padding:0 16px;border-radius:12px;border:1px solid var(--line-2);background:var(--bg-soft);color:var(--txt);font-size:14.5px;font-family:inherit}
.xinglan-s18{padding:0 28px;height:46px;border:0;cursor:pointer;font-family:inherit}
.xinglan-s19{margin-bottom:26px}
.xinglan-s20{color:var(--pri);font-weight:600}
.xinglan-s21{font-weight:600;color:var(--pri)}
.xinglan-s22{padding:22px 26px;margin-bottom:16px}
.xinglan-s23{font-size:15px;font-weight:700;margin-bottom:14px;color:var(--txt-2)}
.xinglan-s24{padding:34px 40px 40px;margin-bottom:22px}
.xinglan-s25{font-size:24px;font-weight:800;text-align:center;margin-bottom:8px}
.xinglan-s26{text-align:center;font-size:12.5px;color:var(--txt-3);margin-bottom:28px}
.xinglan-s27{text-align:center;color:var(--txt-3);padding:40px 0}
.xinglan-s28{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-bottom:30px}
.xinglan-s29{opacity:.4;pointer-events:none}
.xinglan-s34{margin-bottom:22px}
.xinglan-s35{--c1:#7C6BFF;--c2:#33E0C4}
.xinglan-s36{--c1:#FF7090;--c2:#FFC44D}
.xinglan-s37{--c1:#33E0C4;--c2:#5AC8FA}
.xinglan-s38{padding:26px 30px}
.xinglan-s39{font-size:14px;line-height:2;color:var(--txt-2);margin-bottom:16px}
.xinglan-s40{font-size:14px;line-height:2;color:var(--txt-2);margin-top:16px}
.xinglan-s41{grid-template-columns:repeat(auto-fill,minmax(340px,1fr))}
.xinglan-s42{padding:16px 20px 10px}
.xinglan-s44{margin-top:34px}
.xinglan-s45{padding:20px 24px;display:flex;flex-wrap:wrap;gap:9px}
.xinglan-s47{grid-template-columns:1fr 1fr;gap:18px}
.xinglan-s48{padding:10px 0 2px;text-align:right}

/* xinglan inline-style pass3 */
.xinglan-u1{color:var(--pri)}
.xinglan-u3{color:var(--txt-3)}
.xinglan-u5{padding:6px 14px;border-radius:99px;background:var(--card-2);font-size:13px;color:var(--txt-2)}
.xinglan-u6{font-size:12.5px;color:var(--pri)}

/* xinglan layout+page style */
.xinglan-l1{color:var(--txt-3);margin:0 8px;display:inline-block}
.xinglan-l2{font-weight:700;color:var(--txt-2);margin-right:6px}
.xinglan-l3{padding:14px 0;border-top:1px solid var(--line);font-size:12.5px;line-height:2;color:var(--txt-3)}
.xinglan-l4{display:inline}

/* 通用翻页 pager（6 套模板共用） */
.zlp-l1{height:32px;padding:0 14px;border:1px solid #0f766e;border-radius:6px; background:#0f766e;color:#fff;font-size:13px;cursor:pointer}
.zlp-l2{width:62px;height:32px;padding:0 8px;border:1px solid #e3ebe8;border-radius:6px; font-size:13px;text-align:center;background:#fff}
.zlp-l3{display:flex;align-items:center;justify-content:center;gap:6px;margin-bottom:6px;font-size:12.5px;color:#8ea3a0}
.zlp-l4{margin-left:12px;font-size:12.5px;color:#8ea3a0}
.zlp-l9{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:2px;margin:26px 0 8px}

/* rec-read-fix 推荐阅读单行 + 跑马灯 */
.rec-read{display:flex;flex-wrap:nowrap;align-items:center;overflow:hidden;
  max-width:1180px;margin:0 auto;padding:11px 20px;font-size:12.5px;
  line-height:1.9;color:var(--txt-3);border-bottom:1px solid var(--line)}
.rec-read-label{font-weight:700;color:var(--txt-2);margin-right:8px;flex-shrink:0}
.rec-read-track{display:flex;flex-wrap:nowrap;align-items:center;white-space:nowrap;
  min-width:0;animation:zl-marquee 46s linear infinite;will-change:transform}
.rec-read:hover .rec-read-track{animation-play-state:paused}
.rec-read-track a{color:var(--txt-3);margin:0 18px 0 0;white-space:nowrap;flex-shrink:0}
.rec-read-track a:hover{color:var(--pri)}
.rec-read-track a::after{content:'·';margin-left:18px;color:var(--line-2)}
@keyframes zl-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.rec-read-track{animation:none}}.cv{display:block}

/* zl-one 最新章节只显示一条 */
.zl-latest{margin-bottom:22px}
.zl-hd{display:flex;align-items:center;gap:10px;padding-bottom:10px;
  border-bottom:2px solid currentColor;margin-bottom:12px}
.zl-hd b{font-size:15px;font-weight:800}
.zl-hd span{font-size:12px;opacity:.6;margin-left:auto}
.zl-one{display:flex;align-items:baseline;gap:12px;padding:11px 14px;
  border-radius:10px;background:rgba(0,0,0,.035);text-decoration:none;
  color:inherit;transition:.18s;min-width:0}
.zl-one:hover{background:rgba(0,0,0,.07)}
.zl-one-t{flex:0 0 auto;max-width:46%;font-weight:700;font-size:14px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.zl-one-ex{flex:1;min-width:0;font-size:12.5px;opacity:.62;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:640px){
  .zl-one{flex-direction:column;gap:4px;align-items:flex-start}
  .zl-one-t,.zl-one-ex{max-width:100%}
}

/* detail-cover-v2 xinglan 详情页封面约束 */
.cv-lg{display:block;width:100%;max-width:232px;aspect-ratio:3/4;height:auto;
  overflow:hidden;border-radius:14px;position:relative}
.cv-lg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}

/* rc-row-v2 最新更新改为两行：书名+章节 / 作者·日期+摘要 */
.rc-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  grid-template-areas:"bk ch ch" "txt au dt";
  grid-template-rows:auto auto;
  column-gap:14px;
  row-gap:5px;
  align-items:baseline;
  padding:12px 16px;
  border-bottom:1px dashed var(--line);
  font-size:13px;
}
.rc-bk{grid-area:bk;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rc-ch{grid-area:ch;color:var(--pri-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12.5px}
.rc-au{grid-area:au;color:var(--txt-3);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}
.rc-dt{grid-area:dt;color:var(--txt-3);font-size:12px;white-space:nowrap}
.rc-txt{grid-area:txt;color:var(--txt-3);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
@media(max-width:640px){
  .rc-row{
    grid-template-columns:1fr;
    grid-template-areas:"bk" "ch" "au" "dt" "txt";
    row-gap:3px;
  }
  .rc-txt{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
}

/* zl-rec-addr 章节页尾部的无弹窗推荐地址 */
.zl-rec-addr{margin:22px 0 6px;padding:11px 14px;border-radius:8px;
  background:rgba(0,0,0,.035);font-size:12.5px;line-height:1.7;
  color:#6b7280;word-break:break-all;text-align:center}

/* bl-cover-v2 频道精选封面固定尺寸（原来被 .brow a{flex:1} 拉伸，大小不一） */
.brow .bl-cover{flex:0 0 auto;width:72px;min-width:72px;display:block}
.bl-cover .cv{width:72px;aspect-ratio:3/4;height:auto;display:block;border-radius:8px;overflow:hidden;position:relative}
.bl-cover .cv img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.brow .bl-info{flex:1;min-width:0}
.brow .bl-info a{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
.brow .bl-sub{display:block;margin-top:3px;font-size:11.5px;color:var(--txt-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:560px){
  .brow .bl-cover{width:58px;min-width:58px}
  .bl-cover .cv{width:58px}
}


/* rec-read-marquee-v2 跑马灯：固定视口 + 内部移动层
   原来 track 自己带 overflow:hidden 且直接 translateX(-50%)，
   移动到左侧时会压住「推荐阅读：」标签。现在套一层 .rec-read-view 做裁剪，
   track 只在自己的框里移动，文字从右侧循环进入。 */
.rec-read{gap:0}
.rec-read-label{position:relative;z-index:2;background:var(--card,#fff);padding-right:4px}
.rec-read-view{flex:1 1 auto;min-width:0;overflow:hidden;position:relative}
.rec-read-track{display:flex;flex-wrap:nowrap;align-items:center;white-space:nowrap;
  width:max-content;animation:zl-marquee 46s linear infinite;will-change:transform}
.rec-read:hover .rec-read-track{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.rec-read-track{animation:none}}

/* upd-cat 最近更新里的分类徽标 */
.upd-cat{display:inline-block;flex:0 0 auto;margin-right:6px;padding:1px 6px;
  border-radius:4px;font-size:11px;font-weight:600;line-height:1.6;
  color:var(--pri,#2563eb);background:rgba(37,99,235,.09);
  vertical-align:middle;white-space:nowrap}
a:hover .upd-cat{background:rgba(37,99,235,.16)}
@media(max-width:560px){.upd-cat{font-size:10px;padding:0 5px}}

/* shelf-btn-contrast 加入书架按钮：不依赖 --ink 变量，保证可读 */
.d-actions .btn-ghost,
.actions .btn-ghost,
.btn.ghost,
.btn-shelf{
  background:#ffffff !important;
  color:#0f766e !important;
  border:1px solid #0f766e !important;
  font-weight:700;
  text-decoration:none;
}
.d-actions .btn-ghost:hover,
.actions .btn-ghost:hover,
.btn.ghost:hover,
.btn-shelf:hover{
  background:#0f766e !important;
  color:#ffffff !important;
}
/* dingdian 的纯文字链接式加入书架 */
.binfo-red{
  background:#c0392b !important;
  color:#ffffff !important;
  padding:5px 14px;border-radius:6px;
}
.binfo-red:hover{background:#e74c3c !important;color:#fff !important}

/* pager-merge 顶部合并分页：页码 + 下一页 + 第X/Y页 */
.pager .pg-next{
  min-width:auto;padding:0 18px;
  background:var(--grad);color:#fff;border-color:transparent;font-weight:600;
}
.pager .pg-next:hover{color:#fff;opacity:.88;border-color:transparent}
.pager .pg-info{
  background:none;border:0;min-width:auto;padding:0 6px;
  color:var(--txt-3);font-size:12.5px;
}
@media(max-width:560px){
  .pager .pg-next{padding:0 12px;font-size:13px}
  .pager .pg-info{width:100%;text-align:center;padding:4px 0 0}
}

/* ==== tpl-palette 8 色静态调色板（替代无法编译的 Blade 变量） ==== */
.tpl-p0{--cbg:#3a4a5c;--cink:#efe7d2;--abg:#3a4a5c;--c1:#6E5BFF;--c2:#10152A;--h1:#3a4a5c;--h2:#10152A;--cg:#3a4a5c;--p1a:#3a4a5c;--p1b:#232c38}
.tpl-p1{--cbg:#4a3a2f;--cink:#eee2c8;--abg:#4a3a2f;--c1:#33E0C4;--c2:#10152A;--h1:#4a3a2f;--h2:#10152A;--cg:#4a3a2f;--p1a:#4a3a2f;--p1b:#2a1f18}
.tpl-p2{--cbg:#3a2f4a;--cink:#e6ddf0;--abg:#3a2f4a;--c1:#FF7090;--c2:#10152A;--h1:#3a2f4a;--h2:#10152A;--cg:#3a2f4a;--p1a:#3a2f4a;--p1b:#221a2e}
.tpl-p3{--cbg:#31424e;--cink:#e3ecf0;--abg:#31424e;--c1:#FFC44D;--c2:#10152A;--h1:#31424e;--h2:#10152A;--cg:#31424e;--p1a:#31424e;--p1b:#1c2830}
.tpl-p4{--cbg:#5c2e35;--cink:#f2e2d8;--abg:#5c2e35;--c1:#E8A878;--c2:#10152A;--h1:#5c2e35;--h2:#10152A;--cg:#5c2e35;--p1a:#5c2e35;--p1b:#3a1b20}
.tpl-p5{--cbg:#57624f;--cink:#f0ead6;--abg:#57624f;--c1:#8FD9A8;--c2:#10152A;--h1:#57624f;--h2:#10152A;--cg:#57624f;--p1a:#57624f;--p1b:#333b2d}
.tpl-p6{--cbg:#443650;--cink:#e8dff0;--abg:#443650;--c1:#B07CFF;--c2:#10152A;--h1:#443650;--h2:#10152A;--cg:#443650;--p1a:#443650;--p1b:#2a2033}
.tpl-p7{--cbg:#2f3a4a;--cink:#efe7d2;--abg:#2f3a4a;--c1:#5BA8FF;--c2:#10152A;--h1:#2f3a4a;--h2:#10152A;--cg:#2f3a4a;--p1a:#2f3a4a;--p1b:#1b232e}

/* hero-fit 左右对齐 + 榜单作者字数同行 */
/* 1) 右侧榜单：作者·类型·字数 与标题同一行 */
.rk-info{
  display:flex !important;
  align-items:baseline !important;
  flex-wrap:wrap !important;
  gap:4px 8px !important;
  min-width:0
}
.rk-info a{
  font-weight:600 !important;
  font-size:14px !important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:58%
}
.rk-info span{
  display:inline !important;
  font-size:11.5px !important;
  color:var(--txt-3) !important;
  margin-top:0 !important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:40%
}

/* 2) 左侧轮播：整体高度压到与右侧榜单齐平 */
.feature{
  padding:20px !important;
  gap:20px !important
}
.hc-slide{
  padding:20px !important;
  gap:20px !important;
  align-items:center !important
}
.f-cover{
  width:150px !important;
  flex-shrink:0 !important
}
.f-cover .cv{
  width:150px !important;
  height:200px !important;
  aspect-ratio:auto !important
}
.f-info h2,.feature h2{
  font-size:23px !important;
  line-height:1.3 !important;
  margin:0 0 6px !important
}
.f-meta{font-size:12px !important;margin-bottom:6px !important}
.f-desc{
  font-size:12.5px !important;
  line-height:1.75 !important;
  -webkit-line-clamp:2 !important;
  margin:6px 0 0 !important
}
.f-stats{
  gap:22px !important;
  margin:10px 0 12px !important
}
.f-stats b{font-size:17px !important}
.f-stats span{font-size:11px !important}
.f-info .btn,.f-info a.btn{
  padding:9px 18px !important;
  font-size:13px !important
}
.hc-dots{left:20px !important;bottom:10px !important}

/* 3) 让两侧容器等高，底部自然对齐 */
.hero{align-items:stretch !important}
.hero > .feature,.hero > .rank-panel,.hero > aside{height:100% !important}
@media(max-width:900px){
  .f-cover{width:120px !important}
  .f-cover .cv{width:120px !important;height:160px !important}
}

/* chan4-force 频道精选桌面强制四列 */
.rowlist{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:14px !important}
.rowlist > *{min-width:0 !important}
.rowlist .rc-h b{font-size:13px !important}
.rowlist .brow{font-size:11.5px !important}
.rowlist .brow-lead .cover,.rowlist .rc-cv{width:50px !important;height:70px !important}
.rowlist .rc-no{font-size:11px !important}
@media(min-width:981px){.rowlist{grid-template-columns:repeat(4,minmax(0,1fr)) !important}}
@media(min-width:721px) and (max-width:980px){.rowlist{grid-template-columns:repeat(3,minmax(0,1fr)) !important}}
@media(max-width:720px){.rowlist{grid-template-columns:repeat(2,minmax(0,1fr)) !important}}
@media(max-width:480px){.rowlist{grid-template-columns:1fr !important}}
/* upd-oneline 最近更新统一单行：分类 书名·章节 摘要 作者 时间 */
.recent .rc-row{display:flex !important;align-items:center !important;gap:10px !important;
  padding:10px 16px !important;border-bottom:1px solid var(--line) !important;min-width:0 !important}
.recent .rc-row:last-child{border-bottom:0 !important}
.recent .rc-row:hover{background:rgba(31,111,224,.03) !important}
.recent .rc-row .upd-cat{flex:0 0 auto !important;display:inline-block !important;padding:1px 7px !important;
  border-radius:5px !important;font-size:11px !important;line-height:1.6 !important;
  color:#2563eb !important;background:rgba(37,99,235,.12) !important;white-space:nowrap !important;
  max-width:76px !important;overflow:hidden !important;text-overflow:ellipsis !important}

.recent .rc-row .rc-bk{flex:0 1 auto !important;display:flex !important;align-items:center !important;gap:8px !important;min-width:0 !important;max-width:230px !important}
.recent .rc-row .rc-bk > a:not(.upd-cat){font-family:var(--serif) !important;font-weight:700 !important;font-size:14px !important;color:var(--ink) !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important}
.recent .rc-row .rc-ch{flex:0 1 auto !important;max-width:220px !important;min-width:0 !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;font-size:13px !important}
.recent .rc-row .rc-ch::before{content:"·";margin-right:6px;color:#9aa}
.recent .rc-row .rc-ch a{color:var(--pri,#0f766e) !important}
.recent .rc-row .rc-txt{flex:1 1 auto !important;min-width:0 !important;font-size:12px !important;color:#9aa !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;display:block !important}
.recent .rc-row .rc-au{flex:0 0 auto !important;font-size:12px !important;color:#9aa !important;white-space:nowrap !important;max-width:110px !important;overflow:hidden !important;text-overflow:ellipsis !important}
.recent .rc-row .rc-dt{flex:0 0 auto !important;font-size:12px !important;color:#9aa !important;white-space:nowrap !important;min-width:44px !important;text-align:right !important}


/* trend-oneline 48小时飙升：作者字数与标题同行、整体压缩 */
.trend{padding:16px !important}
.trend > .trend-h,.trend > div:first-child{margin-bottom:8px !important}
.trend li{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  padding:8px 0 !important;
  border-bottom:1px dashed var(--line) !important;
  min-width:0 !important;
}
.trend li:last-child{border-bottom:0 !important}

/* 名次徽标缩小 */
.trend .t-rank{
  width:20px !important;height:20px !important;border-radius:6px !important;
  font-size:11px !important;flex:0 0 auto !important
}

/* 标题 + 作者字数 同一行 */
.trend .t-info{
  flex:1 1 auto !important;
  min-width:0 !important;
  display:flex !important;
  align-items:baseline !important;
  gap:8px !important
}
.trend .t-info > a{
  display:inline !important;
  flex:0 1 auto !important;
  min-width:0 !important;
  font-size:13px !important;
  font-weight:600 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  max-width:56%
}
.trend .t-info > span{
  display:inline !important;
  flex:0 1 auto !important;
  min-width:0 !important;
  font-size:11px !important;
  color:var(--txt-3,#9aa) !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  max-width:42%
}

/* 百分比固定右侧 */
.trend .t-up{
  flex:0 0 auto !important;
  font-size:12px !important;
  font-weight:700 !important;
  min-width:42px !important;
  text-align:right !important
}

@media(max-width:900px){
  .trend li{padding:7px 0 !important;gap:8px !important}
  .trend .t-info > a{max-width:52% !important}
  .trend .t-info > span{max-width:46% !important}
}
/* fcover-bigger 轮播封面再放大一档 */
.f-cover{width:178px !important;flex-shrink:0 !important}
.f-cover .cv{width:178px !important;height:236px !important;aspect-ratio:auto !important;border-radius:12px !important}
.feature{padding:22px !important;gap:22px !important}
.hc-slide{padding:22px !important;gap:22px !important;align-items:center !important}
@media(max-width:1100px){
.f-cover{width:158px !important}
.f-cover .cv{width:158px !important;height:210px !important}
}
@media(max-width:760px){
.f-cover{width:132px !important}
.f-cover .cv{width:132px !important;height:176px !important}
}
/* trend-fill 48小时飙升均分行高，撑满容器不增高 */
.trend{display:flex !important;flex-direction:column !important;height:100% !important;padding:18px !important;box-sizing:border-box !important}
.trend > ol{flex:1 1 auto !important;display:flex !important;flex-direction:column !important;justify-content:space-between !important;margin:0 !important;padding:0 !important;min-height:0 !important;list-style:none !important}
.trend > ol > li{flex:1 1 auto !important;display:flex !important;align-items:center !important;gap:12px !important;padding:0 !important;min-height:0 !important;border-bottom:1px dashed var(--line,#eef2f0) !important}
.trend > ol > li:last-child{border-bottom:0 !important}
.trend > ol > li .t-rank{width:21px !important;height:21px !important;border-radius:6px !important;font-size:11.5px !important;flex:0 0 auto !important;display:grid !important;place-items:center !important}
.trend > ol > li .t-info{flex:1 1 auto !important;min-width:0 !important;display:flex !important;align-items:baseline !important;gap:8px !important}
.trend > ol > li .t-info > a{display:inline !important;flex:0 1 auto !important;min-width:0 !important;font-size:13.5px !important;font-weight:600 !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;max-width:56% !important}
.trend > ol > li .t-info > span{display:inline !important;flex:0 1 auto !important;min-width:0 !important;font-size:11.5px !important;color:var(--txt-3,#9aa) !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;max-width:42% !important}
.trend > ol > li .t-up{flex:0 0 auto !important;font-size:12.5px !important;font-weight:700 !important;min-width:44px !important;text-align:right !important}
.trend > .trend-h,.trend > div:first-child{flex:0 0 auto !important;margin-bottom:10px !important}
@media(max-width:900px){
.trend{padding:14px !important}
.trend > ol > li{gap:9px !important}
.trend > ol > li .t-info > a{max-width:52% !important}
.trend > ol > li .t-info > span{max-width:46% !important}
}
/* hero-mobile2 移动端轮播：封面左侧，显式行列定位 */
@media(max-width:900px){
.feature{padding:0 !important;border-radius:16px !important}
.hc-slide{
  display:grid !important;
  grid-template-columns:104px minmax(0,1fr) !important;
  column-gap:14px !important;
  row-gap:0 !important;
  padding:16px 16px 40px !important;
  align-items:start !important;
}
.f-cover{grid-column:1 !important;grid-row:1 / span 3 !important;
  width:104px !important;flex:none !important;align-self:start !important;margin:0 !important}
.f-cover .cv{width:104px !important;height:139px !important;aspect-ratio:auto !important;border-radius:9px !important}
.f-info{display:contents !important}

.hc-slide .site-h1,.hc-slide .hc-kicker{
  grid-column:2 !important;grid-row:1 !important;
  margin:0 !important;font-size:12px !important;line-height:1.5 !important;
  text-align:left !important
}
.hc-slide .f-info h2,.hc-slide h2{
  grid-column:2 !important;grid-row:2 !important;
  margin:3px 0 0 !important;font-size:19px !important;line-height:1.3 !important;
  text-align:left !important;white-space:nowrap !important;
  overflow:hidden !important;text-overflow:ellipsis !important
}
.hc-slide .f-meta{
  grid-column:2 !important;grid-row:3 !important;
  margin:5px 0 0 !important;font-size:11.5px !important;line-height:1.5 !important;
  text-align:left !important;white-space:nowrap !important;
  overflow:hidden !important;text-overflow:ellipsis !important
}

.hc-slide .f-desc{
  grid-column:1 / -1 !important;grid-row:4 !important;
  margin:12px 0 0 !important;font-size:12.5px !important;line-height:1.75 !important;
  text-align:left !important;display:-webkit-box !important;
  -webkit-line-clamp:2 !important;-webkit-box-orient:vertical !important;
  overflow:hidden !important;max-height:none !important;min-height:0 !important
}
.hc-slide .f-stats{
  grid-column:1 / -1 !important;grid-row:5 !important;
  display:flex !important;justify-content:flex-start !important;
  gap:26px !important;margin:12px 0 0 !important;text-align:left !important
}
.hc-slide .f-stats b{font-size:16px !important;line-height:1.2 !important}
.hc-slide .f-stats span{font-size:10.5px !important}

.hc-slide .f-btns,.hc-slide .btn-grad,.hc-slide a.btn{
  grid-column:1 / -1 !important;grid-row:6 !important;
  margin:12px 0 0 !important
}
.hc-slide .f-btns{
  display:flex !important;flex-wrap:wrap !important;gap:10px !important
}
.hc-slide .f-btns > a,.hc-slide .btn-grad{
  flex:1 1 auto !important;min-width:0 !important;
  padding:10px 14px !important;font-size:13px !important;
  justify-content:center !important;text-align:center !important;margin:0 !important
}
.hc-dots{left:0 !important;right:0 !important;bottom:12px !important;
  justify-content:center !important;display:flex !important;gap:7px !important}
}
@media(max-width:420px){
.hc-slide{grid-template-columns:90px minmax(0,1fr) !important;padding:14px 14px 38px !important;column-gap:12px !important}
.f-cover{width:90px !important}
.f-cover .cv{width:90px !important;height:120px !important}
.hc-slide .f-info h2,.hc-slide h2{font-size:17px !important}
.hc-slide .f-stats{gap:20px !important}
.hc-slide .f-btns{gap:8px !important}
}

/* 轮播片序号：跟随主题句，弱化显示 */
.hc-idx{opacity:.55;font-weight:400}
