/* ===== WorkBuddy round3 · 统一布局修复（只加样式，不动 DOM / 链接 / SEO） ===== */
:root{
  --wbf-surf:var(--surface,var(--surf,var(--d7surf,#141b2e)));
  --wbf-surf2:var(--surface2,var(--surf2,var(--d7surf2,#1a2338)));
  --wbf-ink:var(--ink,var(--d7ink,#eef1f7));
  --wbf-mut:var(--muted,var(--d7muted,#93a0bb));
  --wbf-line:var(--line,var(--d7line,#27324a));
  --wbf-acc:var(--gold,var(--acc,var(--d7gold,#d9b26a)));
  --wbf-acc2:var(--gold2,var(--acc2,var(--d7gold2,#f0d9a8)));
}
/* [1] 根/视口：消除负 margin、transform、固定定位造成的 head 被裁切 */
html,html body{margin:0!important;padding:0!important;position:static!important;
  transform:none!important;max-width:100%!important}
html body{overflow-x:hidden!important}
/* [2] 页头一律回到普通文档流 —— 这是「head 被 body 挡住一部分」的根因 */
html body #box_head,html body #topbox,html body #navbox,html body #nav_bottom,
html body header,html body .mz-head,html body .ds-head,html body .wb-head,
html body .v6-head,html body .navmenu,html body .page-header{
  position:relative!important;top:auto!important;left:auto!important;right:auto!important;
  bottom:auto!important;z-index:1!important;float:none!important;clear:both!important;
  margin:0!important;transform:none!important;overflow:visible!important;
  max-height:none!important;clip:auto!important
}
/* [3] vhost sub_filter 注入的乱码专题条：PC 也隐藏（DOM 里的内链一条不删） */
html body #wbzt-bar{display:none!important;height:0!important;max-height:0!important;
  min-height:0!important;overflow:hidden!important;padding:0!important;border:0!important;
  visibility:hidden!important}
/* [4] 未接入 V8 的旧模板页头重绘（明星页 / 综艺页 / 旧列表页） */
html body #box_head{background:var(--wbf-surf)!important;
  border-bottom:1px solid var(--wbf-line)!important;padding:0!important}
html body #box_head .w1000{max-width:1200px!important;width:auto!important;
  margin:0 auto!important;float:none!important;display:flex!important;
  align-items:center!important;flex-wrap:wrap!important;gap:18px!important;
  min-height:64px!important;padding:8px 20px!important}
html body #box_head .logo,html body #box_head .logo img{float:none!important;
  max-height:40px!important;width:auto!important}
html body #box_head .logo img{filter:brightness(0) invert(1)}
html body #box_head .nav_box,html body #box_head .nav_box ul{
  background:transparent!important;padding:0!important;margin:0!important;
  display:flex!important;align-items:center!important;flex-wrap:wrap!important;
  gap:2px!important;list-style:none!important;float:none!important}
html body #box_head .nav_box ul li{float:none!important;display:block!important;list-style:none!important}
html body #box_head .nav_box ul li a{display:inline-block!important;
  color:var(--wbf-mut)!important;background:transparent!important;border:0!important;
  border-bottom:2px solid transparent!important;
  font:14px/1.5 "PingFang SC","Microsoft YaHei",Arial,sans-serif!important;
  padding:9px 13px!important;text-decoration:none!important}
html body #box_head .nav_box ul li a:hover{color:var(--wbf-acc2)!important;
  border-bottom-color:var(--wbf-acc)!important}
/* [5] 面包屑 + 强内链（保持可见、不删任何 a） */
html body #bread{max-width:1200px!important;margin:0 auto!important;
  padding:14px 20px!important;background:transparent!important;border:0!important;
  color:var(--wbf-mut)!important;font-size:12px!important;width:auto!important}
html body #bread a{color:var(--wbf-acc)!important}
html body #inner_nav{display:block!important;visibility:visible!important;
  max-width:1200px!important;margin:0 auto 20px!important;padding:0 20px!important;
  width:auto!important;background:transparent!important}
html body #inner_nav dl{display:flex!important;align-items:center!important;gap:18px!important;
  margin:0!important;padding:14px 0!important;border-top:1px solid var(--wbf-line)!important;
  border-bottom:1px solid var(--wbf-line)!important}
html body #inner_nav dt.font{font:800 21px/1.3 "Songti SC","STSong",serif!important;
  color:var(--wbf-acc2)!important;white-space:nowrap!important}
html body #inner_nav dd{margin:0!important;flex:1!important}
html body #inner_nav dd ul{display:flex!important;flex-wrap:wrap!important;gap:6px!important;
  list-style:none!important;margin:0!important;padding:0!important}
html body #inner_nav dd ul li{float:none!important;list-style:none!important}
html body #inner_nav dd ul li a{display:inline-block!important;color:var(--wbf-mut)!important;
  background:var(--wbf-surf)!important;border:1px solid var(--wbf-line)!important;
  border-radius:20px!important;padding:5px 15px!important;
  font:13px/1.4 "PingFang SC","Microsoft YaHei",Arial,sans-serif!important}
html body #inner_nav dd ul li a:hover{color:var(--wbf-acc2)!important;border-color:var(--wbf-acc)!important}
/* [6] 容器 / 内容卡片 / 白色 tab 栏统一深色（明星页白块） */
html body .w1000,html body .w750,html body .w700{max-width:1200px!important;
  width:auto!important;margin-left:auto!important;margin-right:auto!important}
html body #content_hx,html body .box_border,html body .showbox,html body .cat_box,
html body .content,html body #v-summary,html body #v-list,html body #v-role,
html body #v-comment{background:var(--wbf-surf)!important;
  border:1px solid var(--wbf-line)!important;color:var(--wbf-ink)!important;border-radius:6px!important}
html body .title_links,html body .tab_list,html body .tab_list ul,html body .subnav,
html body .nav_tab,html body .xiezhen_nav,html body .pic_nav{
  background:var(--wbf-surf)!important;border-color:var(--wbf-line)!important;color:var(--wbf-ink)!important}
html body .title_links a,html body .tab_list a,html body .subnav a,html body .nav_tab a,
html body .xiezhen_nav a,html body .pic_nav a{color:var(--wbf-mut)!important;
  background:var(--wbf-surf2)!important;border:1px solid var(--wbf-line)!important;
  border-radius:6px!important;padding:6px 14px!important;text-decoration:none!important}
html body #content_hx a,html body .box_border a,html body .content a{color:var(--wbf-mut)!important}
html body h1,html body h2,html body h3,html body .v-title{color:var(--wbf-ink)!important}
/* [7] 页脚 */
html body #foot_box,html body #box_foot{background:var(--wbf-surf)!important;
  border-top:3px solid var(--wbf-acc)!important;color:var(--wbf-mut)!important;
  padding:22px 0!important;margin-top:30px!important;text-align:center!important}
html body #foot_box a,html body #box_foot a,html body #foot_box p,html body #box_foot p{
  color:var(--wbf-mut)!important}
/* [8] 破图由 wb-final.js 隐藏；组件里所有 wb-art-img 一律不显示 */
html body img{max-width:100%!important;height:auto!important}
html body .wb-art-img{display:none!important}
/* [9] 手机端 */
@media(max-width:768px){
  html body #box_head .w1000{padding:8px 12px!important;gap:10px!important}
  html body #box_head .nav_box ul{overflow-x:auto!important;flex-wrap:nowrap!important;
    -webkit-overflow-scrolling:touch!important}
  html body #inner_nav dl{flex-wrap:wrap!important}
  html body #content_hx,html body .box_border,html body .content{padding:16px!important}
}
