
/* ===== WorkBuddy mobile-v8 · 自包含，不依赖任何主题变量 ===== */
html body img{max-width:100%!important;height:auto!important}

/* 艺术字封面组件（与 PC 完全同款） */
html body .wb-art{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;overflow:hidden;background:linear-gradient(140deg,var(--wb-c1,#14213d),var(--wb-c2,#457b9d));color:#fff;isolation:isolate;box-sizing:border-box}
html body .wb-art-mini{width:100%;height:120px;min-height:0;aspect-ratio:auto;border-radius:8px}
html body .wb-art-hero{width:100%;height:100%;min-height:400px}
html body .wb-art-poster{width:100%;aspect-ratio:3/4}
html body .wb-art-glow{position:absolute;width:150%;height:150%;left:-25%;top:-60%;background:radial-gradient(circle at 50% 40%,rgba(255,255,255,.22),transparent 58%);z-index:-1}
html body .wb-art:before{content:"";position:absolute;inset:8px;border:1px solid rgba(217,178,106,.55);pointer-events:none}
html body .wb-art:after{content:"";position:absolute;inset:12px;border:1px solid rgba(255,255,255,.12);pointer-events:none}
html body .wb-art-label{font-size:9px;letter-spacing:5px;color:#f0d9a8;margin-bottom:8px;padding-left:5px}
html body .wb-art-title{font-family:"STKaiti","KaiTi","Kaiti SC","Songti SC","Noto Serif SC",serif;font-weight:700;font-size:17px;line-height:1.25;letter-spacing:.08em;padding:0 8px;max-width:94%;text-shadow:0 3px 16px rgba(0,0,0,.4);word-break:break-all;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
html body .wb-art-hero .wb-art-title{font-size:clamp(30px,8vw,52px);-webkit-line-clamp:3;padding:0 20px}
html body .wb-art-rule{width:36px;height:1px;background:#d9b26a;margin:10px 0 6px}
html body .wb-art-sub{font-size:9px;letter-spacing:2px;color:rgba(255,255,255,.7)}
html body .wb-art-badge{position:absolute;left:12px;top:12px;background:rgba(12,17,32,.7);border:1px solid #d9b26a;color:#f0d9a8;padding:2px 10px;font-size:11px;letter-spacing:1px;z-index:3}
html body .wb-art-img{display:none!important}

@media(max-width:768px){
  html,html body{margin:0!important;padding:0!important;width:100%!important;max-width:100%!important;overflow-x:hidden!important;-webkit-text-size-adjust:100%!important}
  html body *{box-sizing:border-box!important}
  html body div,html body section,html body ul,html body ol,html body table,html body form{max-width:100%!important}
  html body .w1000,html body .w700,html body .w750,html body .w1200,html body .wrap,
  html body .box_border,html body #box_head,html body #topbox,html body #navbox,
  html body #foot_box,html body #box_foot,html body #inner_nav,html body #bread,
  html body .w1000.clearfix,html body #box_head .w1000{
    width:100%!important;max-width:100%!important;float:none!important;
    margin-left:0!important;margin-right:0!important;
    padding-left:12px!important;padding-right:12px!important
  }
  /* 导航横向滚动，不挤压换行 */
  html body #navbox ul.nav,html body .tv_nav .owl-carousel,html body .mz-nav{
    display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;gap:6px!important;padding:6px 12px!important
  }
  html body #navbox ul.nav li,html body .tv_nav .item{flex:0 0 auto!important;float:none!important}
  /* 详情主图取消浮动 */
  html body #v-poster,html body .v-poster,html body .imgbox{
    float:none!important;width:100%!important;max-width:220px!important;
    margin:0 auto 14px!important;height:auto!important
  }
  /* 分集剧情 / 播放集数：自动换行 */
  html body .list_num,html body #v-summary .list_num,html body #inner_nav dd ul{
    display:flex!important;flex-wrap:wrap!important;gap:6px!important;padding:10px 0!important
  }
  html body .list_num a,html body #inner_nav dd ul li a{
    flex:0 0 auto!important;min-width:44px!important;margin:0!important;font-size:13px!important
  }
  /* 卡片栅格：手机 2 列 */
  html body #recommend ul,html body .mz-trio,html body .mz-cols,html body #tv_box{
    grid-template-columns:repeat(2,minmax(0,1fr))!important
  }
  html body .mz-hero,html body .mz-row,html body #v-summary,html body .box_border{
    grid-template-columns:1fr!important
  }
  html body #tv_rangking li{font-size:13px!important;line-height:1.6!important}
  html body table{display:block!important;width:100%!important;overflow-x:auto!important}
  /* 顶部注入的乱码专题条：视觉隐藏，DOM 内链一条不删 */
  html body #wbzt-bar{display:none!important}
  html body .wb-art-mini{height:110px!important}
  html body .wb-art-hero{min-height:240px!important}
  html body .wb-art-title{font-size:16px!important}
  html body .wb-art-hero .wb-art-title{font-size:30px!important}
  html body .content,html body #hutia,html body .ysindex_jqjj{font-size:14px!important;line-height:1.9!important;word-break:break-word!important}
}
@media(max-width:400px){
  html body #recommend ul,html body #tv_box{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body .list_num a{min-width:40px!important;font-size:12px!important;padding:6px!important}
}
