/* ============================================================
   WorkBuddy V13 · 全新首页设计系统（独立命名空间 wbh-）
   与旧 theme-v8 / common.css / index.css 的类名零交叉，
   不依赖任何旧布局规则，彻底重建而非打补丁。
   只改视觉：不动 TDK / canonical / JSON-LD / itemprop /
   内链 / URL / 统计 / 备案 / 数据库 / vhost。
   ============================================================ */
html body{
  --wbh-bg:#0e1219; --wbh-surf:#171d28; --wbh-surf2:#1f2735;
  --wbh-line:#2b3546; --wbh-ink:#e9eef6; --wbh-mut:#98a4b7;
  --wbh-acc:#d9b26a; --wbh-acc2:#f2d79c;
  background:var(--wbh-bg)!important;color:var(--wbh-ink)!important;
}
html body .wbh-page{
  max-width:1200px;width:auto;margin:0 auto;padding:0 20px;
  clear:both;float:none;position:relative;
}

/* ---------- 1) 焦点轮播 ---------- */
html body .wbh-hero{
  position:relative;width:100%;height:360px;margin:18px 0 24px;
  border-radius:16px;overflow:hidden;
  border:1px solid var(--wbh-line);
  box-shadow:0 18px 48px rgba(0,0,0,.45);background:var(--wbh-surf);
}
html body .wbh-hero-slide{
  position:absolute;inset:0;opacity:0;transition:opacity .7s ease;
  background-size:cover;background-position:center;
}
html body .wbh-hero-slide.active{opacity:1}
html body .wbh-hero-slide::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(10,14,20,.92) 0%,rgba(10,14,20,.55) 42%,rgba(10,14,20,.05) 100%);
}
html body .wbh-hero-cap{
  position:absolute;left:48px;bottom:52px;z-index:2;max-width:62%;
}
html body .wbh-hero-cap .kicker{
  display:inline-block;padding:5px 14px;margin:0 0 16px;
  font:600 12px/1.4 "PingFang SC","Microsoft YaHei",Arial,sans-serif;
  color:#141922;background:linear-gradient(135deg,var(--wbh-acc2),var(--wbh-acc));
  border-radius:20px;letter-spacing:2px;
}
html body .wbh-hero-cap h2{
  margin:0 0 14px;font-size:38px;line-height:1.25;font-weight:800;
  color:#fff;text-shadow:0 3px 18px rgba(0,0,0,.6);
}
html body .wbh-hero-cap h2 a{color:#fff!important;text-decoration:none!important;background:transparent!important}
html body .wbh-hero-cap p{margin:0 0 20px;font-size:14px;color:rgba(255,255,255,.8);line-height:1.7}
html body .wbh-hero-cap .wbh-hero-cta{
  display:inline-block;padding:10px 24px;border-radius:24px;
  font-size:13px;font-weight:700;color:#141922;text-decoration:none;
  background:linear-gradient(135deg,var(--wbh-acc2),var(--wbh-acc));
}
html body .wbh-hero-dots{
  position:absolute;right:32px;bottom:26px;z-index:3;
  display:flex;gap:8px;
}
html body .wbh-hero-dots a{
  width:24px;height:5px;border-radius:3px;background:rgba(255,255,255,.35);
  border:0;padding:0;margin:0;cursor:pointer;transition:all .3s;
}
html body .wbh-hero-dots a.active{width:40px;background:var(--wbh-acc)}

/* ---------- 2) 两栏布局 ---------- */
html body .wbh-layout{
  display:grid;grid-template-columns:minmax(0,1fr) 290px;
  gap:24px;align-items:start;clear:both;float:none;
}
html body .wbh-main,html body .wbh-side{min-width:0}

/* ---------- 3) 通用面板 ---------- */
html body .wbh-panel{
  background:var(--wbh-surf)!important;border:1px solid var(--wbh-line)!important;
  border-radius:14px!important;padding:18px 20px 20px!important;
  margin:0 0 24px!important;clear:both!important;float:none!important;
  box-shadow:0 8px 28px rgba(0,0,0,.20)!important;
}
html body .wbh-panel-hd{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:10px;margin:0 0 16px;padding:0 0 12px;
  border-bottom:1px solid var(--wbh-line);
}
html body .wbh-panel-hd h3{
  display:flex;align-items:center;gap:10px;
  margin:0;padding:0;font-size:18px;font-weight:800;color:var(--wbh-ink);
}
html body .wbh-panel-hd h3::before{
  content:"";width:4px;height:20px;border-radius:2px;
  background:linear-gradient(180deg,var(--wbh-acc2),var(--wbh-acc));
}
html body .wbh-panel-hd .wbh-panel-more{
  font-size:12px;color:var(--wbh-mut);text-decoration:none;
  border:1px solid var(--wbh-line);border-radius:14px;padding:4px 12px;
  background:var(--wbh-surf2);transition:all .25s;
}
html body .wbh-panel-hd .wbh-panel-more:hover{color:var(--wbh-acc2);border-color:var(--wbh-acc)}

/* ---------- 4) tab 胶囊 ---------- */
html body .wbh-tabs{
  display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px;padding:0;list-style:none;
}
html body .wbh-tabs li{list-style:none;float:none;margin:0;padding:0}
html body .wbh-tabs li a{
  display:inline-block;padding:5px 13px;border-radius:16px;
  font:12px/1.4 "PingFang SC","Microsoft YaHei",Arial,sans-serif;
  color:var(--wbh-mut);background:var(--wbh-surf2);
  border:1px solid var(--wbh-line);text-decoration:none;white-space:nowrap;
  transition:all .25s;
}
html body .wbh-tabs li a:hover{color:var(--wbh-acc2);border-color:var(--wbh-acc)}
html body .wbh-tabs li a.on{
  color:#141922;font-weight:700;border-color:var(--wbh-acc);
  background:linear-gradient(135deg,var(--wbh-acc2),var(--wbh-acc));
}
html body .wbh-tabpane{display:none}
html body .wbh-tabpane.on{display:block}

/* ---------- 5) 4 列艺术字卡片 ---------- */
html body .wbh-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;padding:0;margin:0;list-style:none;
}
html body .wbh-grid > li{list-style:none;float:none;min-width:0;margin:0;padding:0}
html body .wbh-card{display:block;text-decoration:none}
html body .wbh-card-cover{
  position:relative;width:100%;height:170px;border-radius:10px;overflow:hidden;
  background:var(--wbh-surf2);border:1px solid var(--wbh-line);
  transition:transform .25s,box-shadow .25s;
}
html body .wbh-card:hover .wbh-card-cover{
  transform:translateY(-3px);box-shadow:0 10px 26px rgba(0,0,0,.4);
  border-color:var(--wbh-acc);
}
html body .wbh-card-cover .wb-art{
  width:100%!important;height:100%!important;min-height:0!important;
  aspect-ratio:auto!important;display:flex!important;
}
html body .wbh-card-cover img{width:100%;height:100%;object-fit:cover}
html body .wbh-card-cover .wbh-badge{
  position:absolute;right:8px;bottom:8px;z-index:2;
  padding:3px 9px;border-radius:12px;font-size:10px;
  color:#141922;background:rgba(242,215,156,.92);font-weight:700;
}
html body .wbh-card h4{
  margin:9px 0 3px;padding:0;font-size:13px;font-weight:600;
  color:var(--wbh-ink);line-height:1.45;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
html body .wbh-card h4 a{color:var(--wbh-ink)!important;text-decoration:none!important;background:transparent!important}
html body .wbh-card:hover h4 a{color:var(--wbh-acc2)!important}
html body .wbh-card p{
  margin:0;padding:0;font-size:11px;color:var(--wbh-mut);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
html body .wbh-card p a{color:var(--wbh-mut)!important;text-decoration:none!important}
html body .wbh-card p a:hover{color:var(--wbh-acc)!important}

/* ---------- 6) 右栏榜单 / 标签 ---------- */
html body .wbh-rank{list-style:none;padding:0;margin:0}
html body .wbh-rank li{
  display:flex;align-items:center;gap:10px;list-style:none;
  padding:8px 0;margin:0;border-bottom:1px dashed var(--wbh-line);
}
html body .wbh-rank li:last-child{border-bottom:0}
html body .wbh-rank .no{
  flex:0 0 22px;width:22px;height:22px;display:inline-flex;
  align-items:center;justify-content:center;border-radius:6px;
  background:var(--wbh-surf2);color:var(--wbh-mut);font-size:11px;font-weight:700;
}
html body .wbh-rank li:nth-child(-n+3) .no{background:var(--wbh-acc);color:#141922}
html body .wbh-rank a{
  flex:1;min-width:0;font-size:12px;color:var(--wbh-ink);text-decoration:none;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
html body .wbh-rank a:hover{color:var(--wbh-acc2)}
html body .wbh-tags{display:flex;flex-wrap:wrap;gap:7px;padding:0;margin:0}
html body .wbh-tags a{
  display:inline-block;padding:4px 11px;border-radius:13px;
  font-size:11px;color:var(--wbh-mut);text-decoration:none;
  background:var(--wbh-surf2);border:1px solid var(--wbh-line);
  white-space:nowrap;transition:all .25s;
}
html body .wbh-tags a:hover{color:var(--wbh-acc2);border-color:var(--wbh-acc)}

/* ---------- 7) 明星卡 / 资讯 ---------- */
html body .wbh-stars{
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr));
  gap:14px;padding:0;margin:0;list-style:none;
}
html body .wbh-stars > li{list-style:none;float:none;min-width:0;margin:0;padding:0;text-align:center}
html body .wbh-star-cover{
  width:100%;height:120px;border-radius:10px;overflow:hidden;
  background:var(--wbh-surf2);border:1px solid var(--wbh-line);
}
html body .wbh-star-cover .wb-art{
  width:100%!important;height:100%!important;min-height:0!important;
  aspect-ratio:auto!important;display:flex!important;
}
html body .wbh-stars h5{
  margin:8px 0 0;font-size:12px;font-weight:600;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
html body .wbh-stars h5 a{color:var(--wbh-ink)!important;text-decoration:none!important}
html body .wbh-stars h5 a:hover{color:var(--wbh-acc2)!important}
html body .wbh-stars p{margin:2px 0 0;font-size:10px;color:var(--wbh-mut);line-height:1.5}
html body .wbh-inline-links{display:flex;flex-wrap:wrap;gap:7px;padding:0;margin:0}
html body .wbh-inline-links a{
  display:inline-block;padding:4px 11px;border-radius:13px;font-size:11px;
  color:var(--wbh-mut);text-decoration:none;background:var(--wbh-surf2);
  border:1px solid var(--wbh-line);max-width:200px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
html body .wbh-inline-links a:hover{color:var(--wbh-acc2);border-color:var(--wbh-acc)}

/* ---------- 8) 手机端 ---------- */
@media(max-width:900px){
  html body .wbh-layout{grid-template-columns:minmax(0,1fr);gap:18px}
  html body .wbh-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  html body .wbh-stars{grid-template-columns:repeat(4,minmax(0,1fr))}
  html body .wbh-hero{height:280px}
  html body .wbh-hero-cap{left:24px;bottom:32px;max-width:78%}
  html body .wbh-hero-cap h2{font-size:26px}
}
@media(max-width:600px){
  html body .wbh-page{padding:0 12px}
  html body .wbh-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  html body .wbh-card-cover{height:140px}
  html body .wbh-stars{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  html body .wbh-star-cover{height:100px}
  html body .wbh-hero{height:220px;margin:12px 0 18px}
  html body .wbh-hero-cap{left:18px;bottom:24px;max-width:88%}
  html body .wbh-hero-cap h2{font-size:20px;margin-bottom:8px}
  html body .wbh-hero-cap p{display:none}
  html body .wbh-hero-dots{right:16px;bottom:14px}
  html body .wbh-panel{padding:14px 12px 16px!important;margin-bottom:18px!important}
  html body .wbh-panel-hd h3{font-size:16px}
}
