
/* ===== WorkBuddy visual fix (self-contained, no dependency on V7/V8 vars) ===== */
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(38px,5.5vw,68px);-webkit-line-clamp:3;padding:0 40px}
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}
/* component no longer emits <img>, belt-and-braces */
html body .wb-art-img{display:none!important}

/* "同类电视剧 / 精彩推荐" block */
html body #recommend ul{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;list-style:none!important;margin:12px 0 0!important;padding:0!important}
html body #recommend li{float:none!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;text-align:center!important}
html body #recommend li>a{display:block!important}
html body #recommend li .wb-art{height:120px!important;min-height:0!important;aspect-ratio:auto!important}
html body #recommend li p{margin:8px 0 0!important;font-size:13px!important;line-height:1.5!important;color:inherit!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

/* sidebar art boxes */
html body #tv_box{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;list-style:none!important;margin:0!important;padding:0!important}
html body #tv_box li{float:none!important;width:auto!important;margin:0!important;padding:0!important;text-align:center!important}
html body #tv_box li .wb-art{height:96px!important;min-height:0!important;aspect-ratio:auto!important}
html body #tv_box li p{margin:6px 0 0!important;font-size:12px!important;line-height:1.4!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html body #tv_box li p a{color:inherit!important}

/* ranking list: kill cramped black squares */
html body #tv_rangking{list-style:none!important;margin:0!important;padding:0!important}
html body #tv_rangking li{display:flex!important;align-items:center!important;gap:10px!important;padding:8px 0!important;border-bottom:1px dotted rgba(147,160,187,.25)!important;line-height:1.6!important}
html body #tv_rangking li span{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:20px!important;height:20px!important;flex:0 0 20px!important;background:rgba(217,178,106,.18)!important;color:#d9b26a!important;font:italic 13px Georgia,serif!important;border-radius:3px!important;overflow:visible!important}
html body #tv_rangking li span.on{background:#d9b26a!important;color:#1a1206!important}
html body #tv_rangking li a{flex:1!important;font-size:13px!important;line-height:1.5!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

/* generic list items that use art covers but have no V8 CSS */
html body .mz-listitem .wb-art,html body .mz-row .wb-art,html body .mz-trio .wb-art{height:100%!important;min-height:90px!important;aspect-ratio:auto!important;border-radius:6px!important}

@media(max-width:700px){
  html body #recommend ul{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body #tv_box{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

/* vhost sub_filter injects a GBK-mojibake zt bar; hide visually, keep links in DOM */
html body #wbzt-bar{display:none!important}
