/* Bounded current native layout adjustment. Friends' stage is the single top
   safe-area owner, including when networking renders a header before Friends.
   Margin keeps the existing full-width app/appearance background behind the
   status bar and the scroll viewport entirely below it. */
@media(max-width:767px){
 .desktop-content-stage:has([data-friends-tab]),
 .desktop-content-stage:has(.sg-networking-nav a[href="/friends"][aria-current="page"]){margin-top:env(safe-area-inset-top,0px);padding-top:0!important}
 /* Existing panel44px =34px grid +4px top/bottom +2px border.
    New49.5px =+12.5%.
    Symmetric6.75px padding centers the unchanged34px cells and52px orb. */
 [data-bottom-nav]>nav:has(>[data-unified-dock]){padding-top:6.75px!important;padding-bottom:6.75px!important}
}
@media(min-width:768px){
 /* Existing desktop minimum78px ->87.75px (+12.5%), same icons/actions. */
 [data-desktop-dock]>[data-unified-dock]{min-height:87.75px}
}
/* Friends already reserves96px. Reserve the added panel extent plus bottom
   safe area without altering unrelated calendar/chat/overlay layouts. */
.desktop-content-stage>[class~="max-w-2xl"]:has([data-friends-tab]),
.desktop-content-stage>.networking-native-wrapper>.networking-native-slot>[class~="max-w-2xl"]:has([data-friends-tab]){padding-bottom:calc(6rem + 10px + env(safe-area-inset-bottom,0px))}
