.social-section .view-title,.leaderboard-section .view-title{margin-bottom:22px}
.social-section .dash-card{padding:22px;min-width:0}
.social-notice{line-height:1.7}
.social-search-form{display:grid;gap:10px;margin-bottom:16px}
.social-search-form label{font-size:13px;color:#d6dae5;font-weight:750}
.social-inline{display:flex;gap:10px;flex-wrap:wrap}
.social-inline input{flex:1;min-width:190px;border-radius:10px;background:#1a1b25;border:1px solid #404151;color:white;padding:12px}
.social-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.social-panels .dash-card h3,.v11-role-stats h3{font-size:17px;margin:0}
.social-card-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}
.social-card-title span:not(.btn){font-size:12px;border-radius:30px;background:#3e2938;padding:4px 10px;color:#f5c2cc}
.social-list{display:grid;gap:8px;font-size:13px}
.social-entry{border:1px solid #323541;background:#1b1d27;border-radius:12px;padding:12px;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.social-person{display:flex;align-items:center;gap:10px;min-width:0}
.social-avatar{width:37px;height:37px;display:grid;place-items:center;border-radius:50%;background:#753c53;color:#fff;font-weight:800;flex-shrink:0}
.social-avatar.blue{background:#355788}.social-avatar.teal{background:#326e6d}.social-avatar.violet{background:#664781}.social-avatar.amber{background:#86633a}
.social-person-details{display:grid;gap:4px;min-width:0}
.social-person-details strong{overflow-wrap:anywhere;font-size:13px}
.social-person-details small{color:#9ca6b9;font-size:11px}
.social-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.social-actions .btn,.social-entry>.btn{font-size:11px;padding:9px 10px}
.social-empty{color:#9aa0af;font-size:12px;line-height:1.6;margin:0;padding:8px 0}
.social-mini-count{font-size:11px;border-radius:12px;background:#9d3c54;color:white;padding:2px 7px;margin-left:auto}
.social-filters{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0 12px}
.social-filter{padding:10px 16px;border:1px solid #3a3b4c;background:#232532;color:#d5d7e1;font-weight:750;font-size:12px;border-radius:10px;cursor:pointer}
.social-filter.active{background:#ae425e;color:#fff;border-color:#dc708e}
.social-caption{color:#a5a6b8;font-size:12px;margin-bottom:14px}
.v11-leaderboard-item{display:flex;gap:13px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.v11-rank{color:#e5afba;font-weight:800}.v11-rank-name{flex:1;min-width:90px}
.v11-role-stats{padding:16px 0;margin:18px 0;border-top:1px solid #323541;border-bottom:1px solid #323541}
#myRoleStats{display:grid;gap:8px;margin-top:14px}
.social-role-row{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:11px 12px;background:#1b1d27;border-radius:8px;font-size:12px}
.social-role-row span{color:#b7bfce}
.friend-invite-backdrop{position:fixed;inset:0;z-index:100;background:#000b;display:grid;place-items:center;padding:15px}
.friend-invite-backdrop.hidden{display:none}
.friend-invite-dialog{background:#161822;color:#f4f5f8;border:1px solid #434252;border-radius:18px;box-shadow:0 20px 80px #0009;padding:22px;width:min(100%,590px);max-height:84vh;overflow-y:auto}
.friend-invite-dialog h2{font-size:20px}.friend-invite-dialog p{font-size:12px;color:#a5abbb;line-height:1.6;margin-bottom:16px}
@media (max-width:850px){.social-panels{grid-template-columns:1fr}.social-section .dash-card{padding:16px}.social-entry{align-items:start}}
@media (max-width:480px){.social-inline input{width:100%;flex:auto}.social-inline button{width:100%}.social-actions{width:100%}.social-actions .btn{flex:1}.social-entry{flex-direction:column}.social-person{width:100%}.friend-invite-dialog{padding:15px}}
