/* V231 — Friends card alignment, favorite star, and natural touch scrolling. */
#friendsView #friendList .friend-item{position:relative!important;grid-template-columns:minmax(0,1fr)!important;touch-action:pan-y!important}
#friendsView #friendList .friend-info{position:static!important;min-height:0!important;padding-right:90px!important;display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important}
#friendsView #friendList .friend-stats-button{position:absolute!important;top:10px!important;right:12px!important;order:unset!important;min-width:76px!important;padding:7px 9px!important}
#friendsView #friendList .friend-favorite-star{position:absolute!important;left:11px!important;top:43px!important;color:#f3c966!important;font-size:1.05rem!important;line-height:1!important}
#friendsView #friendList .friend-item:has(.friend-favorite-star) .friend-actions{margin-top:11px!important}
#friendsView #friendList [data-manage-friend]{font-size:.87rem!important}
#friendsView #friendList [data-manage-friend]::after{content:none!important;display:none!important}
/* Remove nested scroll traps: swiping a card scrolls the page, not a thin right-hand rail. */
#friendsView #friendList,#friendsView #requestList,#friendsView #sharedList,#friendsView #friendEventsList{max-height:none!important;height:auto!important;overflow:visible!important;overscroll-behavior-y:auto!important;touch-action:pan-y!important}
#friendsView .friends-shell>.friends-card:nth-child(2){overflow:visible!important}
#friendsView .friend-pane,#friendsView .friend-item,#friendsView .friend-info,#friendsView .friend-actions{touch-action:pan-y!important}

/* V232: Favorite star top-right, Stats moved to Manage popup. */
#friendsView #friendList .friend-favorite-star{left:auto!important;right:12px!important;top:10px!important;font-size:1.2rem!important;line-height:1.2!important}
#friendsView #friendList .friend-info{padding-right:30px!important}
#friendsView #friendList .friend-item:has(.friend-favorite-star) .friend-actions{margin-top:0!important}
#friendManageActions button{width:100%;text-align:center}
