/* Phase 132xt: keep top profile content inset and trim feed-page bottom gap without touching reels */
body.author:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profileCardV2 > .sv-profHeroRow,
body.author:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profileCardV2 > .sv-profInfo,
body.sv-page-about-me:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profileCardV2 > .sv-profHeroRow,
body.sv-page-about-me:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profileCardV2 > .sv-profInfo{
  width: calc(100% - 24px) !important;
  max-width: none !important;
  margin-left: 12px !important;
  margin-right: 12px !important;
  box-sizing: border-box !important;
}

body.author:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profileCardV2 > .sv-profHeroRow,
body.sv-page-about-me:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profileCardV2 > .sv-profHeroRow{
  gap: 12px !important;
}

body.author:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profileCardV2 > .sv-profInfo,
body.sv-page-about-me:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profileCardV2 > .sv-profInfo{
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (max-width: 980px){
  body.logged-in:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage){
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.logged-in:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-feed,
  body.logged-in:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) #sv-feed.sv-feed{
    padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px)) !important;
    margin-bottom: 0 !important;
  }

  body.logged-in:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-feed > :last-child,
  body.logged-in:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) #sv-feed.sv-feed > :last-child{
    margin-bottom: 0 !important;
  }

  body.logged-in:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-bottomPageSpin{
    padding: 4px 0 calc(4px + env(safe-area-inset-bottom, 0px)) !important;
    min-height: 0 !important;
  }
}
