.dashboard .hub-primary .faction-showcase{
  --faction-accent:#d2b45d;
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"header" "ranking";
  gap:0;margin-top:20px;padding:0;min-height:0;overflow:hidden;position:relative;
  border:1px solid #3a3428;border-radius:13px;
  background:radial-gradient(ellipse at 88% 9%,#d1ae5010,transparent 33%),linear-gradient(145deg,#101113,#08090a 68%);
  box-shadow:0 18px 52px #0007,inset 0 1px #ffffff08;
}
.dashboard .hub-primary .faction-showcase::before{display:none!important}
.dashboard .faction-deck-header{grid-area:header;display:grid;grid-template-columns:minmax(0,1fr) 190px;align-items:center;gap:26px;padding:25px 30px 24px;border-bottom:1px solid #d1b25725;background:linear-gradient(90deg,#ffffff02,transparent 58%)}
.dashboard .faction-intro{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;padding:0;text-align:left}
.dashboard .faction-badge{display:inline-flex;align-items:center;gap:8px;padding:5px 9px;border:1px solid #bfa3544a;border-radius:4px;background:#bfa3540c;color:#d8bd6b!important;font-size:9px;font-weight:800;letter-spacing:1.5px}
.dashboard .faction-badge::before{content:"";width:5px;height:5px;border-radius:50%;background:#d7b95b;box-shadow:0 0 9px #d7b95b}
.dashboard .hub-primary .faction-intro h2{margin:13px 0 8px!important;font-size:clamp(29px,3.5vw,42px)!important;line-height:1;letter-spacing:-1.4px!important;font-weight:900;text-transform:none}
.dashboard .hub-primary .faction-intro h2 span{color:#d8b95b!important}
.dashboard .faction-intro p{max-width:520px;margin:0!important;color:#a4a4a2!important;font-size:13px;line-height:1.65}
.dashboard .faction-preview-note{margin-top:11px;color:#777875!important;font-size:9px;letter-spacing:.8px}
.dashboard .faction-deck-mark{position:relative;isolation:isolate;display:grid;justify-items:center;align-content:center;gap:2px;min-height:128px;overflow:hidden;border:1px solid #b99b4530;border-radius:9px;background:linear-gradient(145deg,#17150f,#0b0c0d 68%);box-shadow:inset 0 1px #ffffff08}
.dashboard .deck-mark-caption{z-index:1;color:#92845a;font-size:8px;font-weight:800;letter-spacing:1.7px}
.dashboard .faction-home-count{z-index:1;color:#e2c66f;font-size:48px;font-weight:950;line-height:1;letter-spacing:-2px;text-shadow:0 0 22px #d1ad5940}
.dashboard .deck-mark-status{z-index:1;display:flex;align-items:center;gap:6px;color:#85847d;font-size:8px;letter-spacing:1px}
.dashboard .deck-mark-status i{width:5px;height:5px;border-radius:50%;background:#c6a74e;box-shadow:0 0 8px #d9b958}
.dashboard .deck-mark-orbit{position:absolute;z-index:-1;width:94px;height:94px;border:1px solid #c9a94d18;border-radius:50%;box-shadow:0 0 0 12px #c9a94d08,0 0 0 25px #c9a94d05;animation:faction-mark-pulse 5.5s ease-in-out infinite}
.dashboard .hub-primary .faction-topfive{grid-area:ranking;display:grid;grid-template-columns:minmax(0,1fr);gap:13px;min-width:0;margin:0;padding:18px 30px 20px;border:0}
.dashboard .topfive-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:0;color:#dfdbcf;font-size:10px;font-weight:850;letter-spacing:1.3px}
.dashboard .topfive-heading small{color:#77776f;font-size:8px;font-weight:700;letter-spacing:1.1px}
.dashboard .faction-topfive ol{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:11px!important;margin:0!important;padding:0;list-style:none}
.dashboard .faction-topfive li{min-width:0;margin:0;padding:0;animation:faction-card-enter .48s cubic-bezier(.2,.7,.2,1) both}
.dashboard .faction-topfive li:nth-child(2){animation-delay:.07s}.dashboard .faction-topfive li:nth-child(3){animation-delay:.14s}
.dashboard .faction-topfive .topfive-row{--row-color:#bba04f;position:relative;isolation:isolate;display:grid;grid-template-columns:36px minmax(0,1fr) 54px;grid-template-rows:auto auto;align-items:center;gap:5px 11px;width:100%;min-height:92px;padding:14px 14px 13px;overflow:hidden;border:1px solid #ffffff12;border-radius:8px;background:linear-gradient(145deg,#141517,#0b0c0e 75%);color:#ebe9e2;text-align:left;transition:transform .2s,border-color .2s,background .2s,box-shadow .2s}
.dashboard .faction-topfive .topfive-row::before{content:"";position:absolute;z-index:-1;right:-22px;top:-30px;width:88px;height:88px;border-radius:50%;background:color-mix(in srgb,var(--row-color) 18%,transparent);filter:blur(20px);opacity:.55;transition:opacity .2s}
.dashboard .faction-topfive .topfive-row::after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:1px;background:linear-gradient(90deg,transparent,var(--row-color),transparent);opacity:.65}
.dashboard .faction-topfive .topfive-row:hover,.dashboard .faction-topfive .topfive-row.is-active{transform:translateY(-2px);border-color:color-mix(in srgb,var(--row-color) 60%,#3b3c3e);background:linear-gradient(145deg,color-mix(in srgb,var(--row-color) 10%,#141517),#0b0c0e 76%);box-shadow:0 9px 22px #0006,inset 0 1px #ffffff0c}
.dashboard .faction-topfive .topfive-row.is-active::before{opacity:.9}
.dashboard .faction-topfive .topfive-row .rank{grid-column:1;grid-row:1/3;display:grid;place-items:center;width:31px;height:31px;border:1px solid color-mix(in srgb,var(--row-color) 36%,#353535);border-radius:8px;background:color-mix(in srgb,var(--row-color) 10%,#101113);color:#dfc46c;font-size:12px;font-weight:900;font-variant-numeric:tabular-nums}
.dashboard .faction-topfive li:nth-child(2) .rank{color:#c2c7cb}.dashboard .faction-topfive li:nth-child(3) .rank{color:#d19a70}
.dashboard .faction-topfive .topfive-row .board-armband{grid-column:3;grid-row:1/3;justify-self:center;width:43px;height:50px;object-fit:contain;filter:drop-shadow(0 4px 8px #0009);transition:transform .25s}
.dashboard .faction-topfive .topfive-row.is-active .board-armband{transform:rotate(-5deg) scale(1.06)}
.dashboard .faction-topfive .topfive-row strong{grid-column:2;grid-row:1;min-width:0;overflow:hidden;font-size:12px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}
.dashboard .faction-topfive .crew-card-stats{grid-column:2;grid-row:2;display:flex;align-items:center;gap:9px;color:#8f908d;font-size:8px;font-weight:750;letter-spacing:.7px;white-space:nowrap}
.dashboard .faction-topfive .crew-card-stats .members{padding-left:9px;border-left:1px solid #ffffff1b;color:#a39e90}
.dashboard .faction-roster-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:26px}
.dashboard .faction-topfive .all-factions-link{display:inline-flex;align-items:center;gap:7px;margin:0;color:#b8a46c;font-size:10px;font-weight:750;letter-spacing:.3px;transition:color .18s,gap .18s}
.dashboard .faction-topfive .all-factions-link:hover{gap:11px;color:#e5ca79}
.dashboard .faction-topfive .rotation-control{justify-self:end;margin:0;padding:5px 0;border:0;background:none;color:#74746f;font:inherit;font-size:9px;letter-spacing:.3px;cursor:pointer}
.dashboard .faction-topfive .rotation-control:hover{color:#d0bb79}
.dashboard .faction-topfive .topfive-row:focus-visible{outline:2px solid color-mix(in srgb,var(--row-color) 75%,white);outline-offset:3px}
@keyframes faction-card-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes faction-mark-pulse{0%,100%{transform:scale(.96);opacity:.65}50%{transform:scale(1.04);opacity:1}}
@media(max-width:720px){
 .dashboard .faction-deck-header{grid-template-columns:minmax(0,1fr) 132px;gap:14px;padding:20px}
 .dashboard .faction-deck-mark{min-height:112px}
 .dashboard .faction-home-count{font-size:42px}
 .dashboard .hub-primary .faction-topfive{padding:16px 20px 18px}
 .dashboard .faction-topfive ol{gap:8px!important}
 .dashboard .faction-topfive .topfive-row{grid-template-columns:29px minmax(0,1fr) 42px;gap:5px 7px;min-height:82px;padding:11px 9px}
 .dashboard .faction-topfive .topfive-row .rank{width:26px;height:26px;font-size:10px}
 .dashboard .faction-topfive .topfive-row .board-armband{width:37px;height:43px}
 .dashboard .faction-topfive .topfive-row strong{font-size:10px}
 .dashboard .faction-topfive .crew-card-stats{gap:5px;font-size:7px;letter-spacing:.35px}
 .dashboard .faction-topfive .crew-card-stats .members{padding-left:5px}
}
@media(max-width:520px){
 .dashboard .faction-deck-header{grid-template-columns:minmax(0,1fr);gap:14px;padding:18px}
 .dashboard .faction-deck-mark{grid-template-columns:auto 1fr auto;justify-items:start;align-items:center;min-height:0;padding:9px 12px;gap:10px;border-radius:6px}
 .dashboard .deck-mark-caption{font-size:7px}.dashboard .faction-home-count{font-size:22px;letter-spacing:0}.dashboard .deck-mark-status{justify-self:end;font-size:7px}
 .dashboard .deck-mark-orbit{left:36px;width:48px;height:48px}
 .dashboard .hub-primary .faction-topfive{padding:15px 16px 17px}
 .dashboard .topfive-heading{font-size:9px}.dashboard .topfive-heading small{font-size:7px}
 .dashboard .faction-topfive ol{grid-template-columns:minmax(0,1fr)!important;gap:7px!important}
 .dashboard .faction-topfive .topfive-row{grid-template-columns:35px minmax(0,1fr) 46px;min-height:66px;padding:9px 11px;gap:4px 9px}
 .dashboard .faction-topfive .topfive-row .rank{width:30px;height:30px;font-size:11px}
 .dashboard .faction-topfive .topfive-row .board-armband{width:40px;height:45px}
 .dashboard .faction-topfive .topfive-row strong{font-size:11px}
 .dashboard .faction-topfive .crew-card-stats{font-size:8px}
}
@media(prefers-reduced-motion:reduce){
 .dashboard .faction-deck-orbit,.dashboard .faction-topfive li{animation:none!important}
 .dashboard .faction-topfive .topfive-row,.dashboard .faction-topfive .board-armband,.dashboard .faction-topfive .all-factions-link{transition:none}
}
