/* 首页阵营区：与人物卡区保持一致的深色玻璃风格。 */
.home-faction-intro { color:var(--muted); font-size:14px; margin:-10px 0 20px; }
.home-faction-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.home-faction-card { display:flex; flex-direction:column; min-width:0; border:1px solid var(--line); border-radius:8px; overflow:hidden; color:inherit; text-decoration:none; background:linear-gradient(145deg,rgba(28,28,34,.68),rgba(10,10,13,.76)); backdrop-filter:blur(10px); transition:transform .22s ease, border-color .22s ease; }
.home-faction-card:hover { transform:translateY(-3px); border-color:rgba(239,115,123,.65); }
.home-faction-card:focus-visible { outline:2px solid #ef737b; outline-offset:3px; }
.home-faction-banner,.home-faction-thumb { position:relative; display:grid; place-items:center; overflow:hidden; background:radial-gradient(ellipse at top,rgba(143,31,42,.24),#141419 80%); }
.home-faction-banner { aspect-ratio:16/9; border-bottom:1px solid var(--line); }
.home-faction-banner img,.home-faction-thumb img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; background:#151519; }
.home-faction-placeholder { color:rgba(255,255,255,.35); font-size:13px; letter-spacing:.12em; text-align:center; }
.home-faction-body { display:flex; flex-direction:column; flex:1; padding:18px; gap:8px; min-width:0; }
.home-faction-tag { font-size:11px; font-weight:600; letter-spacing:.13em; color:#ef777e; overflow-wrap:anywhere; }
.home-faction-name { font-size:clamp(19px,2vw,24px); line-height:1.35; overflow-wrap:anywhere; }
.home-faction-desc { color:var(--muted); font-size:13px; line-height:1.6; overflow-wrap:anywhere; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:2.9em; }
.home-faction-members-head { display:flex; justify-content:space-between; gap:8px; padding-top:12px; margin-top:4px; border-top:1px solid var(--line); font-size:12px; color:var(--muted); }
.home-faction-roster { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; }
.home-faction-member { min-width:0; display:flex; flex-direction:column; gap:3px; }
.home-faction-thumb { aspect-ratio:3/4; border-radius:4px; border:1px solid var(--line); }
.home-faction-member-name,.home-faction-duty { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; }
.home-faction-duty { color:#ef777e; font-size:10px; }
.home-faction-note { color:var(--muted); font-size:11px; }
.home-faction-detail { margin-top:auto; padding-top:12px; color:#ef777e; font-size:12px; }
.home-faction-state { border:1px dashed var(--line); border-radius:8px; color:var(--muted); text-align:center; padding:24px 12px; font-size:14px; }
.home-faction-state[hidden] { display:none!important; }
.home-faction-foot { display:flex; flex-wrap:wrap; align-items:center; gap:14px; margin-top:16px; }
@media(max-width:1000px){ .home-faction-grid{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media(max-width:650px){ .home-faction-grid{grid-template-columns:minmax(0,1fr);} .home-faction-body{padding:14px;} }
@media(prefers-reduced-motion:reduce){.home-faction-card{transition:none;}.home-faction-card:hover{transform:none;}}
