/* 短文学手机版首页 2026 改版 - 纸墨文艺风（覆盖旧 skin 冲突） */
.m-home{
  --ink:#2e2a24;
  --ink2:#6c665c;
  --ink3:#a09889;
  --line:#e8e1d2;
  --paper:#f5f2e9;
  --card:#fffdf8;
  --brand:#559900;
  --brand-d:#3f7300;
  --bronze:#b0894e;
  background:var(--paper);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  -webkit-text-size-adjust:100%;
}
.m-home *{box-sizing:border-box;-webkit-tap-highlight-color:transparent;}
.m-home img{max-width:100%;}

/* ---------- 顶部 ---------- */
.m-home .mh-hd{
  position:sticky;top:0;z-index:60;
  display:flex;align-items:center;justify-content:space-between;
  height:52px;padding:0 14px;
  background:rgba(255,253,248,.94);
  backdrop-filter:saturate(150%) blur(8px);
  -webkit-backdrop-filter:saturate(150%) blur(8px);
  border-bottom:1px solid var(--line);
}
.m-home .mh-brand{
  display:flex;align-items:baseline;gap:6px;
  font-family:"Songti SC","Noto Serif SC",serif;
  font-size:20px;font-weight:700;letter-spacing:2px;
  color:var(--ink);text-decoration:none;
}
.m-home .mh-brand i{
  font-style:normal;font-size:9px;letter-spacing:1px;
  color:var(--ink3);font-family:-apple-system,sans-serif;font-weight:400;
  transform:translateY(-2px);
}
.m-home .mh-hd-r{display:flex;align-items:center;gap:10px;}
.m-home .mh-search{
  width:30px;height:30px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:var(--ink2);text-decoration:none;
  border:1px solid var(--line);background:#fff;
}
.m-home .mh-user{
  width:30px;height:30px;border-radius:50%;overflow:hidden;
  border:1px solid var(--line);background:#f2eee2 center/60% no-repeat;
  background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a09889'%3E%3Ccircle cx='12' cy='8.5' r='3.8'/%3E%3Cpath d='M12 14c-4 0-6.5 2.4-6.5 5.2h13C18.5 16.4 16 14 12 14z'/%3E%3C/svg%3E");
}
.m-home .mh-user img{width:100%!important;height:100%!important;border-radius:50%;object-fit:cover;}

/* ---------- 分类导航 ---------- */
.m-home .mh-nav{
  position:sticky;top:52px;z-index:55;
  display:flex!important;gap:8px;
  overflow-x:auto!important;overflow-y:hidden!important;
  padding:9px 14px;margin:0;
  background:rgba(255,253,248,.94)!important;
  backdrop-filter:saturate(150%) blur(8px);
  -webkit-backdrop-filter:saturate(150%) blur(8px);
  border:0!important;
  border-bottom:1px solid var(--line)!important;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.m-home .mh-nav::-webkit-scrollbar{display:none;}
.m-home .mh-nav a{
  flex:0 0 auto!important;display:block!important;
  width:auto!important;float:none!important;
  height:auto!important;line-height:1.5!important;
  text-align:center;
  padding:5px 13px!important;border-radius:999px;
  font-size:13px!important;white-space:nowrap;
  color:var(--ink2)!important;text-decoration:none;
  background:#f2eee2!important;
}
.m-home .mh-nav a.on,.m-home .mh-nav a:active{background:var(--brand);color:#fff;}

/* ---------- 主体 ---------- */
.m-home .mh-main{display:block;max-width:680px;margin:0 auto;padding:12px 14px 26px;}

/* 头条 */
.m-home .mh-hero{display:block;margin-bottom:14px;}
.m-home .article_02{
  display:block!important;width:100%!important;overflow:hidden!important;
  position:relative;
  background:var(--card);border:1px solid var(--line)!important;
  border-radius:14px;overflow:hidden;
  box-shadow:0 2px 12px rgba(60,48,30,.05);
}
.m-home .article_02 .pic{
  display:block!important;float:none!important;
  width:100%!important;border:0!important;overflow:hidden!important;
}
.m-home .article_02 .pic img{
  width:100%!important;height:170px!important;
  object-fit:cover!important;object-position:center 32%!important;
  display:block!important;
}
.m-home .article_02 aside{display:block!important;float:none!important;padding:12px 14px 14px!important;}
.m-home .mh-hero .article_02 aside{padding:13px 14px 15px!important;}
.m-home .article_02 h2{
  margin:0 0 6px!important;float:none!important;
  font-family:"Songti SC","Noto Serif SC",serif;
  font-size:17px;line-height:1.5;font-weight:600;letter-spacing:.4px;
}
.m-home .article_02 h2 a{color:var(--ink)!important;font-size:inherit!important;font-weight:inherit!important;text-decoration:none;}
.m-home .article_02 p{
  margin:0!important;padding:0!important;font-size:12px!important;line-height:1.75!important;color:var(--ink2)!important;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.m-home .article_02 p a{color:var(--brand)!important;text-decoration:none;}
.m-home .mh-hero .article_02 h2{
  font-size:18px!important;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}

/* 卡片区块 */
.m-home .mh-sec{
  display:block;
  background:var(--card);border:1px solid var(--line);border-radius:14px;
  padding:12px 14px 6px;margin-bottom:14px;
  box-shadow:0 2px 12px rgba(60,48,30,.04);
}
.m-home .mh-sec-hd{
  display:flex;align-items:center;justify-content:space-between;
  padding-bottom:8px;margin-bottom:2px;
  border-bottom:1px dashed var(--line);
}
.m-home .mh-sec-hd h2{
  margin:0;float:none;display:flex;align-items:center;gap:7px;
  font-family:"Songti SC","Noto Serif SC",serif;
  font-size:16px;font-weight:700;color:var(--ink);letter-spacing:1px;
}
.m-home .mh-sec-hd h2:before{
  content:"";width:3px;height:14px;border-radius:2px;background:var(--brand);display:block;
}
.m-home .mh-sec-hd a{font-size:12px;color:var(--ink3);text-decoration:none;}

/* 文章列表（覆盖旧版固定 34px 高与 float） */
.m-home .article_list{width:auto!important;margin:0!important;padding:0!important;list-style:none!important;overflow:visible!important;}
.m-home .article_list li{
  display:flex!important;align-items:center!important;gap:8px;
  height:auto!important;min-height:0;
  padding:11px 0!important;
  border-bottom:1px solid #f2ecdd!important;
  list-style:none!important;
}
.m-home .article_list li:last-child{border-bottom:0!important;}
.m-home .article_list li:before{
  content:"";flex:0 0 auto;width:4px;height:4px;border-radius:50%;
  background:#d6cdb8;display:block;
}
.m-home .article_list li a{height:auto!important;line-height:1.55!important;float:none!important;}
.m-home .article_list .t{
  flex:0 0 auto!important;order:2!important;display:inline-block!important;
  width:auto!important;height:auto!important;min-height:0!important;
  font-size:11px!important;line-height:1.4!important;color:var(--brand)!important;
  background:#f1f7e6!important;padding:2px 7px!important;border-radius:6px;
  text-decoration:none;white-space:nowrap;margin:0!important;overflow:visible!important;
}
.m-home .article_list .a{
  order:1;flex:1 1 auto;min-width:0;display:block!important;
  width:auto!important;height:auto!important;min-height:0!important;
  font-size:14px!important;line-height:1.55!important;color:var(--ink)!important;
  text-decoration:none!important;white-space:nowrap!important;
  overflow:hidden!important;text-overflow:ellipsis!important;
}
.m-home .article_list .a:active{color:var(--brand-d)!important;}

/* 横幅 */
.m-home .mh-banner{
  display:block;margin-bottom:14px;border-radius:14px;overflow:hidden;
  border:1px solid var(--line);box-shadow:0 2px 12px rgba(60,48,30,.05);
}
.m-home .mh-banner img{width:100%!important;height:auto!important;display:block;}

/* 选项卡（覆盖旧版 50% float + 背景图） */
.m-home .tab{margin:0!important;display:block;}
.m-home .tab dt{
  display:flex!important;gap:6px!important;
  height:auto!important;padding:10px 14px 0!important;
  background:none!important;border:0!important;
}
.m-home .tab dt > div{
  flex:1!important;float:none!important;
  width:auto!important;height:auto!important;line-height:1.5!important;
  text-indent:0!important;text-align:center;
  padding:7px 0!important;border-radius:9px;
  font-size:13px!important;font-weight:400!important;color:var(--ink2)!important;
  background:none!important;background-color:#f4f0e5!important;
}
.m-home .tab dt > div.on{background-color:var(--brand)!important;color:#fff!important;font-weight:600!important;}
.m-home .tab dd{
  display:none;
  padding:4px 14px 8px!important;margin:0!important;
}
.m-home .tab dd .article_02{margin:10px 0!important;border-radius:12px;}
.m-home .tab dd .article_02 .pic img{height:140px!important;object-position:center 35%!important;}
.m-home .tab dd .article_02 aside{padding:10px 12px!important;}
.m-home .tab dd .article_02 h2{font-size:15px!important;}
.m-home .tab dd .article_list li{padding:10px 0!important;}

/* 栏目推荐 */
.m-home .mh-lanmu{display:flex!important;flex-wrap:wrap;gap:8px;padding:10px 0 4px!important;width:auto!important;}
.m-home .mh-lanmu a{
  flex:0 0 auto;display:block;float:none!important;
  padding:6px 14px;border-radius:8px;
  font-size:13px;color:var(--ink2);text-decoration:none;
  background:#f4f0e5;border:1px solid transparent;
}
.m-home .mh-lanmu a:active{border-color:var(--brand);color:var(--brand);}

/* ---------- 页脚 ---------- */
.m-home .mh-ft{
  display:block;margin-top:6px;padding:18px 14px 28px;text-align:center;
  background:#efeade;border-top:1px solid var(--line);
}
.m-home .mh-ft-nav{
  display:flex;flex-wrap:wrap;justify-content:center;gap:6px 16px;
  margin-bottom:12px;
}
.m-home .mh-ft-nav a{font-size:13px;color:var(--ink2);text-decoration:none;}
.m-home .mh-ft-link{
  display:flex;flex-wrap:wrap;justify-content:center;gap:4px 12px;
  margin-bottom:10px;
}
.m-home .mh-ft-link a{font-size:12px;color:var(--ink3);text-decoration:none;}
.m-home .mh-ft-cp{font-size:11px;line-height:1.8;color:#aaa294;}
.m-home .mh-ft-cp a{color:#aaa294;text-decoration:none;}

@media (max-width:359px){
  .m-home .article_02 .pic img{height:150px!important;}
  .m-home .article_list .a{font-size:13.5px!important;}
}

/* ---------- 首页头条轮播 ---------- */
.m-home .mh-hero{position:relative;}
.m-home .mh-slider{
  background:var(--card);border:1px solid var(--line);border-radius:14px;
  overflow:hidden;box-shadow:0 2px 12px rgba(60,48,30,.05);
}
.m-home .mh-track{
  display:flex!important;transition:transform .45s cubic-bezier(.25,.8,.35,1);
  will-change:transform;
}
.m-home .mh-slide{flex:0 0 100%!important;min-width:0;display:block!important;}
.m-home .mh-slide .pic{display:block!important;width:100%!important;border:0!important;overflow:hidden;}
.m-home .mh-slide .pic img{
  width:100%!important;height:170px!important;
  object-fit:cover!important;object-position:center 32%!important;display:block!important;
}
.m-home .mh-slide aside{display:block!important;padding:13px 14px 15px!important;}
.m-home .mh-slide h2{
  margin:0 0 6px!important;
  font-family:"Songti SC","Noto Serif SC",serif;
  font-size:18px!important;line-height:1.5!important;font-weight:600!important;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.m-home .mh-slide h2 a{color:var(--ink)!important;text-decoration:none;}
.m-home .mh-slide p{
  margin:0!important;font-size:12px!important;line-height:1.75!important;color:var(--ink2)!important;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.m-home .mh-slide p a{color:var(--brand)!important;}
.m-home .mh-dots{
  display:flex!important;justify-content:center;gap:6px;padding:10px 0 12px;
}
.m-home .mh-dots b{
  width:6px;height:6px;border-radius:3px;background:#d8d0be;
  display:block;transition:all .25s;
}
.m-home .mh-dots b.on{width:16px;background:var(--brand);}

/* ---------- 轮播图：竖版书封按原比例完整显示 ---------- */
.m-home .mh-slide .pic{
  display:flex!important;align-items:center;justify-content:center;
  width:100%!important;height:196px!important;
  border:0!important;overflow:hidden;
  background:#f1ece0;
  box-shadow:inset 0 -1px 0 #e8e1d2;
}
.m-home .mh-slide .pic img{
  width:auto!important;height:100%!important;max-width:100%!important;
  object-fit:contain!important;object-position:center!important;
  display:block!important;border-radius:0!important;
}

/* 轮播图背景：同图高斯模糊填充 */
.m-home .mh-slide .pic{position:relative;}
.m-home .mh-slide .pic:before{
  content:"";position:absolute;left:-12px;right:-12px;top:-12px;bottom:-12px;
  background-image:var(--bg);background-size:cover;background-position:center;
  filter:blur(16px) saturate(1.15) brightness(1.02);
  opacity:.6;z-index:0;
}
.m-home .mh-slide .pic img{
  position:relative;z-index:1;
  box-shadow:0 4px 16px rgba(60,48,30,.2);border-radius:3px;
}
