/* ================= WB STAR INDEX V1 (2026-12-03) 明星库首页差异化 ================= */
/* 统一约束：彻底去掉浮动/外链图片造成的错位 */
html body.wb-on .wb-star-index #box_stars{display:grid!important;grid-template-columns:minmax(0,1fr) 250px!important;gap:18px!important;width:100%!important;padding-top:0!important;align-items:start!important}
html body.wb-on .wb-star-index #list_stars{display:grid!important;gap:16px!important;width:100%!important;margin:0!important;padding:0!important;float:none!important}
html body.wb-on .wb-star-index #list_stars > *{float:none!important;width:auto!important;min-width:0!important;margin:0!important}
html body.wb-on .wb-star-index #right_stars{width:100%!important;float:none!important}
html body.wb-on .wb-star-index #list_stars .wb-art-img{display:none!important}
html body.wb-on .wb-star-index .wa-portrait > a{display:block;width:100%;height:100%}
html body.wb-on .wb-star-index .wa-portrait .wb-art{width:100%!important;border-radius:0!important}
html body.wb-on .wb-star-index .wa-facts li{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
html body.wb-on .wb-star-index .wa-name a{text-decoration:none!important}
html body.wb-on .wb-star-index .wa-links a{text-decoration:none!important}
html body.wb-on .wb-star-index .wb-star-empty{grid-column:1/-1;padding:40px;text-align:center;color:#64748b;background:#fff;border-radius:12px}

/* ---- linshuhaos 紫金卷宗馆 ---- */
html body.wb-on .wb-star-index.wb-style-linshuhaos{--si-1:#7c3aed;--si-2:#a21caf;--si-ink:#2b1b3d;--si-soft:#f6f0fb;--si-line:#e6d8f5}
html body.wb-on .wb-star-index.wb-style-linshuhaos .wa-head{background:linear-gradient(115deg,#4c1d95,#7c3aed 55%,#db2777)!important;border:1px solid #ddd0f3!important;border-radius:8px!important;box-shadow:0 10px 30px rgba(76,29,149,.16)!important}
html body.wb-on .wb-star-index.wb-style-linshuhaos .wa-head-title span{color:#fde68a!important}
html body.wb-on .wb-star-index.wb-style-linshuhaos #list_stars{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html body.wb-on .wb-star-index.wb-style-linshuhaos #list_stars .wa-card{border:1px solid var(--si-line)!important;border-left:4px solid var(--si-2)!important;border-radius:6px!important;background:linear-gradient(180deg,#fffdfd,#faf6ff)!important;box-shadow:0 3px 14px rgba(76,29,149,.08)!important}
html body.wb-on .wb-star-index.wb-style-linshuhaos .wa-portrait{height:170px!important;flex-basis:170px!important}
html body.wb-on .wb-star-index.wb-style-linshuhaos .wa-portrait .wb-art{height:170px!important;min-height:170px!important;max-height:170px!important}
html body.wb-on .wb-star-index.wb-style-linshuhaos .wa-name{font-family:"STXingkai","KaiTi",serif!important;font-size:20px!important;color:#4c1d95!important}
html body.wb-on .wb-star-index.wb-style-linshuhaos .wa-role{color:#a21caf!important}
html body.wb-on .wb-star-index.wb-style-linshuhaos .wa-facts i{background:#f3e8ff!important;color:#7c3aed!important}
html body.wb-on .wb-star-index.wb-style-linshuhaos .wa-work{background:#f3e8ff!important;color:#6b21a8!important}
html body.wb-on .wb-star-index.wb-style-linshuhaos .wa-links a:first-child{background:#7c3aed!important;border-color:#7c3aed!important}
html body.wb-on .wb-star-index.wb-style-linshuhaos #right_stars{border-top:4px solid #a21caf!important}
html body.wb-on .wb-star-index.wb-style-linshuhaos #right_stars .title_stars{border-left-color:#a21caf!important}

/* ---- ygspider 琥珀档案局 ---- */
html body.wb-on .wb-star-index.wb-style-ygspider{--si-1:#b45309;--si-2:#78350f;--si-ink:#292524;--si-soft:#faf5eb;--si-line:#e7d9c3}
html body.wb-on .wb-star-index.wb-style-ygspider .wa-head{background:linear-gradient(110deg,#d97706,#92400e 60%,#78350f)!important;border:1px solid #d6c3a5!important;border-bottom:4px solid #fbbf24!important;border-radius:3px!important}
html body.wb-on .wb-star-index.wb-style-ygspider .wa-head-title{font-family:"Noto Serif SC","SimSun",serif!important}
html body.wb-on .wb-star-index.wb-style-ygspider .wa-head-title span{color:#fde68a!important}
html body.wb-on .wb-star-index.wb-style-ygspider #list_stars{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html body.wb-on .wb-star-index.wb-style-ygspider #list_stars .wa-card{border:1px solid var(--si-line)!important;border-left:5px solid #b45309!important;border-radius:2px!important;background:#fffdf8!important;box-shadow:inset 0 0 0 1px #fff!important}
html body.wb-on .wb-star-index.wb-style-ygspider .wa-portrait{height:158px!important;flex-basis:158px!important}
html body.wb-on .wb-star-index.wb-style-ygspider .wa-portrait .wb-art{height:158px!important;min-height:158px!important;max-height:158px!important}
html body.wb-on .wb-star-index.wb-style-ygspider .wa-name{font-family:"Noto Serif SC","SimSun",serif!important;font-size:19px!important;color:#78350f!important}
html body.wb-on .wb-star-index.wb-style-ygspider .wa-role{color:#b45309!important}
html body.wb-on .wb-star-index.wb-style-ygspider .wa-facts i{background:#fef3c7!important;color:#92400e!important}
html body.wb-on .wb-star-index.wb-style-ygspider .wa-works{border-top:1px dashed #d6c3a5!important}
html body.wb-on .wb-star-index.wb-style-ygspider .wa-work{background:#fef3c7!important;color:#92400e!important;border-radius:3px!important}
html body.wb-on .wb-star-index.wb-style-ygspider .wa-links a:first-child{background:#b45309!important;border-color:#b45309!important}
html body.wb-on .wb-star-index.wb-style-ygspider #right_stars{border-top:4px solid #b45309!important;border-radius:2px!important}
html body.wb-on .wb-star-index.wb-style-ygspider #right_stars .title_stars{border-left-color:#b45309!important}

/* ---- weide345 天蓝索引台 ---- */
html body.wb-on .wb-star-index.wb-style-weide345{--si-1:#0284c7;--si-2:#0369a1;--si-ink:#0c4a6e;--si-soft:#f0f9ff;--si-line:#cbe6f7}
html body.wb-on .wb-star-index.wb-style-weide345 .wa-head{background:linear-gradient(105deg,#0ea5e9,#0369a1 55%,#1e3a8a)!important;border-radius:4px!important;box-shadow:0 8px 24px rgba(3,105,161,.16)!important}
html body.wb-on .wb-star-index.wb-style-weide345 .wa-head-title span{color:#bae6fd!important}
html body.wb-on .wb-star-index.wb-style-weide345 #list_stars{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
html body.wb-on .wb-star-index.wb-style-weide345 #list_stars .wa-card{border:1px solid var(--si-line)!important;border-radius:10px!important;background:#fff!important;box-shadow:0 2px 0 #e0f2fe!important}
html body.wb-on .wb-star-index.wb-style-weide345 .wa-portrait{height:140px!important;flex-basis:140px!important}
html body.wb-on .wb-star-index.wb-style-weide345 .wa-portrait .wb-art{height:140px!important;min-height:140px!important;max-height:140px!important}
html body.wb-on .wb-star-index.wb-style-weide345 .wa-name{font-size:16px!important;color:#0c4a6e!important}
html body.wb-on .wb-star-index.wb-style-weide345 .wa-role{color:#0284c7!important}
html body.wb-on .wb-star-index.wb-style-weide345 .wa-facts{grid-template-columns:1fr 1fr!important;gap:3px 5px!important}
html body.wb-on .wb-star-index.wb-style-weide345 .wa-facts li{font-size:11.5px!important}
html body.wb-on .wb-star-index.wb-style-weide345 .wa-facts i{background:#e0f2fe!important;color:#0369a1!important}
html body.wb-on .wb-star-index.wb-style-weide345 .wa-work{background:#e0f2fe!important;color:#075985!important}
html body.wb-on .wb-star-index.wb-style-weide345 .wa-links a:first-child{background:#0284c7!important;border-color:#0284c7!important}
html body.wb-on .wb-star-index.wb-style-weide345 #right_stars{border-top:4px solid #0284c7!important}
html body.wb-on .wb-star-index.wb-style-weide345 #right_stars .title_stars{border-left-color:#0284c7!important}

/* ---- xaxybw 青绿数据台 ---- */
html body.wb-on .wb-star-index.wb-style-xaxybw{--si-1:#0f766e;--si-2:#b45309;--si-ink:#064e3b;--si-soft:#edf8f5;--si-line:#cce9e3}
html body.wb-on .wb-star-index.wb-style-xaxybw .wa-head{background:linear-gradient(115deg,#0f766e,#065f46)!important;border-bottom:4px solid #f59e0b!important;border-radius:10px!important}
html body.wb-on .wb-star-index.wb-style-xaxybw .wa-head-title span{color:#fcd34d!important}
html body.wb-on .wb-star-index.wb-style-xaxybw #list_stars{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html body.wb-on .wb-star-index.wb-style-xaxybw #list_stars .wa-card{border:1px solid var(--si-line)!important;border-radius:12px!important;background:#fff!important;box-shadow:0 3px 0 #d1fae5!important}
html body.wb-on .wb-star-index.wb-style-xaxybw .wa-portrait{height:150px!important;flex-basis:150px!important}
html body.wb-on .wb-star-index.wb-style-xaxybw .wa-portrait .wb-art{height:150px!important;min-height:150px!important;max-height:150px!important}
html body.wb-on .wb-star-index.wb-style-xaxybw .wa-name{font-size:18px!important;color:#064e3b!important}
html body.wb-on .wb-star-index.wb-style-xaxybw .wa-role{color:#b45309!important}
html body.wb-on .wb-star-index.wb-style-xaxybw .wa-facts li{background:#f0fdfa!important;border-radius:4px!important;padding:1px 4px!important}
html body.wb-on .wb-star-index.wb-style-xaxybw .wa-facts i{background:#ccfbf1!important;color:#0f766e!important}
html body.wb-on .wb-star-index.wb-style-xaxybw .wa-work{background:#ccfbf1!important;color:#115e59!important}
html body.wb-on .wb-star-index.wb-style-xaxybw .wa-links a:first-child{background:#0f766e!important;border-color:#0f766e!important}
html body.wb-on .wb-star-index.wb-style-xaxybw #right_stars{border-top:4px solid #b45309!important}
html body.wb-on .wb-star-index.wb-style-xaxybw #right_stars .title_stars{border-left-color:#b45309!important}

/* 响应式：与各站专属规则保持同等特异性，避免被 3/4 列覆盖 */
@media (max-width:1000px){
  html body.wb-on .wb-star-index.wb-style-linshuhaos #box_stars,
  html body.wb-on .wb-star-index.wb-style-ygspider #box_stars,
  html body.wb-on .wb-star-index.wb-style-weide345 #box_stars,
  html body.wb-on .wb-star-index.wb-style-xaxybw #box_stars{grid-template-columns:1fr!important}
  html body.wb-on .wb-star-index.wb-style-linshuhaos #right_stars,
  html body.wb-on .wb-star-index.wb-style-ygspider #right_stars,
  html body.wb-on .wb-star-index.wb-style-weide345 #right_stars,
  html body.wb-on .wb-star-index.wb-style-xaxybw #right_stars{display:none!important}
  html body.wb-on .wb-star-index.wb-style-linshuhaos #list_stars,
  html body.wb-on .wb-star-index.wb-style-ygspider #list_stars,
  html body.wb-on .wb-star-index.wb-style-weide345 #list_stars,
  html body.wb-on .wb-star-index.wb-style-xaxybw #list_stars{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:600px){
  html body.wb-on .wb-star-index.wb-style-linshuhaos #list_stars,
  html body.wb-on .wb-star-index.wb-style-ygspider #list_stars,
  html body.wb-on .wb-star-index.wb-style-weide345 #list_stars,
  html body.wb-on .wb-star-index.wb-style-xaxybw #list_stars{grid-template-columns:1fr!important}
  html body.wb-on .wb-star-index.wb-style-linshuhaos .wa-portrait,
  html body.wb-on .wb-star-index.wb-style-ygspider .wa-portrait,
  html body.wb-on .wb-star-index.wb-style-weide345 .wa-portrait,
  html body.wb-on .wb-star-index.wb-style-xaxybw .wa-portrait,
  html body.wb-on .wb-star-index.wb-style-linshuhaos .wa-portrait .wb-art,
  html body.wb-on .wb-star-index.wb-style-ygspider .wa-portrait .wb-art,
  html body.wb-on .wb-star-index.wb-style-weide345 .wa-portrait .wb-art,
  html body.wb-on .wb-star-index.wb-style-xaxybw .wa-portrait .wb-art{height:150px!important;min-height:150px!important;max-height:150px!important;flex-basis:150px!important}
  /* 顶部工具条在手机端折行，避免“返回主站”被裁掉 */
  html body.wb-on .wb-topbar ul{display:flex!important;flex-wrap:wrap!important;width:100%!important}
  html body.wb-on .wb-topbar li{float:none!important}
}
