
/* V230 — compact mobile-friendly Friends layout, no behavior removed. */
#friendsView .friends-shell{gap:12px}
#friendsView .friends-card{padding:14px 15px!important;margin-bottom:10px!important}
#friendsView .friends-card:first-child h3{margin:0 0 9px!important}
#friendsView .friends-card:first-child .friends-sub{display:none}
#friendsView .friends-row{gap:7px}
#friendsView #friendSearchInput{min-width:0;flex:1}
#friendsView #friendSearchBtn{padding:9px 12px;min-width:auto}
#friendsView .friend-tabs{
 display:flex!important;flex-wrap:nowrap!important;gap:7px!important;
 overflow-x:auto;overscroll-behavior-x:contain;
 scrollbar-width:thin;-webkit-overflow-scrolling:touch;
 padding:0 0 9px!important;margin-bottom:8px!important;
}
#friendsView .friend-tabs>button{
 flex:0 0 auto!important;white-space:nowrap!important;
 padding:9px 12px!important;min-height:38px!important;
 font-size:.87rem!important;
}
#friendsView #friendList .friend-item,
#friendsView #tldV228StaffList .friend-item{
 display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
 align-items:center!important;gap:6px 10px!important;
 padding:10px 12px!important;margin-bottom:7px!important;
 min-height:0!important;
}
#friendsView #friendList .friend-info,
#friendsView #tldV228StaffList .friend-info{
 grid-column:1!important;grid-row:1!important;
 padding:0!important;min-height:0!important;
 display:flex!important;align-items:center!important;
 flex-wrap:wrap!important;gap:4px 6px!important;
}
#friendsView #friendList .friend-info strong{min-width:0;overflow-wrap:anywhere}
#friendsView #friendList .friend-meta{margin:0!important;font-size:.77rem}
#friendsView #friendList .friend-stats-button{
 position:static!important;order:10!important;
 padding:6px 9px!important;min-height:0!important;
 font-size:.8rem!important;
}
#friendsView #friendList .friend-actions,
#friendsView #tldV228StaffList .friend-actions{
 grid-column:1/-1!important;grid-row:2!important;
 display:flex!important;flex-wrap:nowrap!important;
 width:100%!important;gap:6px!important;margin:0!important;
}
#friendsView #friendList .friend-actions>button,
#friendsView #tldV228StaffList .friend-actions>button{
 flex:1 1 0!important;min-width:0!important;
 padding:8px 5px!important;min-height:36px!important;
 font-size:.87rem!important;
}
#friendsView #friendList [data-manage-friend]{font-size:0!important}
#friendsView #friendList [data-manage-friend]::after{content:"⋯";font-size:1.3rem;line-height:.6}
#friendsView #friendList [data-manage-friend][hidden]{display:none!important}
@media(min-width:650px){
 #friendsView .friend-tabs{flex-wrap:wrap!important}
}
