/* A compact entry to faction-specific evidence without changing the dashboard layout. */
.home-faction-finder{position:relative;margin:0 0 35px;padding:22px 25px;border:1px solid #3e4b55;border-radius:9px;background:linear-gradient(135deg,#1b2630,#18232c)}
.home-faction-head{display:flex;justify-content:space-between;align-items:end;gap:18px}
.home-faction-head h2{margin:5px 0 0;font-size:22px;letter-spacing:-.035em}
.home-faction-head>p{max-width:410px;margin:0;color:#aebbc3;font-size:12px;line-height:1.65}
.home-faction-search{position:relative;max-width:530px;margin-top:19px}
.home-faction-search label{display:block;margin-bottom:7px;color:#eac88b;font-size:11px;font-weight:700}
.home-faction-search input{width:100%;min-height:46px;padding:0 14px;border:1px solid #667480;border-radius:6px;background:#101922;color:#f1f3f1;font-size:13px}
.home-faction-search input::placeholder{color:#82939e}
.home-faction-matches{position:absolute;z-index:12;top:100%;left:0;right:0;max-height:265px;overflow:auto;margin-top:5px;padding:5px;border:1px solid #667480;border-radius:7px;background:#1c2833;box-shadow:0 15px 26px #0009}
.home-faction-matches[hidden]{display:none}
.home-faction-matches button{display:block;width:100%;min-height:42px;padding:8px 12px;border:0;border-radius:4px;background:transparent;color:#edf0ee;text-align:left;font-weight:600}
.home-faction-matches button:hover,.home-faction-matches button:focus-visible{background:#344352;color:#f1cf94}
.home-faction-matches p{margin:8px 10px;color:#b7c3cc;font-size:12px}
.home-faction-result{margin-top:18px;padding-top:17px;border-top:1px solid #34414a}
.home-faction-result>p{margin:0;color:#aebbc3;font-size:12px}
.home-faction-selected{display:flex;justify-content:space-between;align-items:center;gap:14px}
.home-faction-selected h3{margin:3px 0;font-size:21px}
.home-faction-selected p{margin:0;color:#aebbc3;font-size:11px}
.home-faction-selected button,.home-faction-bottom button{min-height:44px;padding:9px 14px;border:1px solid #b79a66;border-radius:6px;background:#e8c278;color:#1a222a;font-weight:700;font-size:11px;white-space:nowrap}
.home-faction-selected button:hover,.home-faction-bottom button:hover{background:#f6d99d}
.home-faction-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}
.home-faction-facts>div{min-width:0;padding:13px 14px;border:1px solid #3d4a55;border-radius:6px;background:#16212b}
.home-faction-facts span{display:block;color:#b6c4cb;font-size:11px}
.home-faction-facts span small{color:#e6c484;font-size:10px}
.home-faction-facts strong{display:block;margin:5px 0;color:#f4d091;font-size:23px;line-height:1.25}
.home-faction-facts p{margin:0;color:#aab8c1;font-size:10px;line-height:1.65}
.home-faction-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:15px}
.home-faction-bottom p{margin:0;color:#bcc8ce;font-size:11px;line-height:1.6}
.home-faction-bottom b{color:#e9cf9b}
.home-faction-bottom>div{display:flex;gap:8px;flex:none}
.home-faction-bottom button{background:transparent;color:#e8c278}
.home-faction-bottom button:disabled{opacity:.5;cursor:not-allowed}
.home-faction-source{margin:14px 0 0;color:#81929e;font-size:10px;line-height:1.55}
.meta-chapter-section{margin-bottom:18px}
.meta-chapter-section>.meta-hint{margin:0 0 16px}
.meta-chapter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.meta-chapter-card{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0;min-height:104px;padding:13px;border:1px solid #40505c;border-radius:6px;background:#1b2833;color:#e8edf0;text-align:left}
.meta-chapter-card:hover{border-color:#d6b477;background:#26333d}
.meta-chapter-card strong{font-size:13px}
.meta-chapter-card span{color:#b8c6ce;font-size:10px;line-height:1.5}
.meta-chapter-card small{margin-top:auto;color:#edca8d;font-size:10px}
@media(max-width:760px){.home-faction-head{display:block}.home-faction-head>p{margin-top:8px}.home-faction-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.home-faction-facts>div:last-child{grid-column:1/-1}.home-faction-bottom{display:block}.home-faction-bottom>div{margin-top:12px}.meta-chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.home-faction-finder{padding:19px 17px}.home-faction-head h2{font-size:20px}.home-faction-selected{align-items:flex-start;flex-wrap:wrap}.home-faction-selected button{width:100%}.home-faction-facts{grid-template-columns:1fr}.home-faction-facts>div:last-child{grid-column:auto}.home-faction-bottom>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.home-faction-bottom button{white-space:normal}.meta-chapter-card{min-height:110px}}
