/* Phase 126xt: story shelf cleanup, profile-feed width parity, and mobile profile header scroll polish */
body:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-storySuggestCard{
  background: var(--sv122-shelf-bg) !important;
  border: 1.5px solid var(--sv-border) !important;
  box-shadow: none !important;
}

body.sv-dark .sv-storyCreateBottom,
body:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-storyCreateBottom{
  background: var(--sv122-shelf-bg) !important;
  border: 1.5px solid var(--sv-border) !important;
  box-shadow: none !important;
}

body.author:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-main,
body.author:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-main > .sv-shell,
body.author:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profileShell,
body.author:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profileCardV2,
body.author:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profileCardV2 #sv-feed.sv-feed,
body.sv-page-about-me:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-main,
body.sv-page-about-me:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-main > .sv-shell,
body.sv-page-about-me:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) #sv-feed.sv-feed{
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
  overflow-x: clip !important;
}

body.author:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profileCardV2 #sv-feed.sv-feed,
body.sv-page-about-me:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) #sv-feed.sv-feed{
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.author:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profileCardV2 #sv-feed.sv-feed > .sv-card,
body.author:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profileCardV2 #sv-feed.sv-feed > .sv-shelf,
body.author:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profileCardV2 #sv-feed.sv-feed > .sv-stories,
body.author:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profileCardV2 #sv-feed.sv-feed > .sv-homeTabs,
body.author:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profileCardV2 #sv-feed.sv-feed > .sv-profileTabs,
body.author:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profileCardV2 #sv-feed.sv-feed > .sv-profTabs,
body.sv-page-about-me:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) #sv-feed.sv-feed > .sv-card,
body.sv-page-about-me:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) #sv-feed.sv-feed > .sv-shelf,
body.sv-page-about-me:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) #sv-feed.sv-feed > .sv-stories,
body.sv-page-about-me:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) #sv-feed.sv-feed > .sv-homeTabs,
body.sv-page-about-me:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) #sv-feed.sv-feed > .sv-profileTabs,
body.sv-page-about-me:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) #sv-feed.sv-feed > .sv-profTabs{
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

@media (max-width: 560px){
  html.sv-pwa-mobileApp body.author:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-top,
  html.sv-pwa-mobileApp body.sv-page-about-me:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-top,
  body.author:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-top,
  body.sv-page-about-me:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-top{
    position: sticky !important;
    top: 0 !important;
    z-index: 40 !important;
  }

  html.sv-pwa-mobileApp body.author:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profileTabs,
  html.sv-pwa-mobileApp body.author:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profTabs,
  html.sv-pwa-mobileApp body.sv-page-about-me:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profileTabs,
  html.sv-pwa-mobileApp body.sv-page-about-me:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profTabs,
  body.author:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profileTabs,
  body.author:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profTabs,
  body.sv-page-about-me:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profileTabs,
  body.sv-page-about-me:not(.sv-auth-page):not(.sv-authPage):not(.sv-reelsPage) .sv-profTabs{
    position: sticky !important;
    top: 54px !important;
    z-index: 21 !important;
    margin-top: 0 !important;
    background: var(--sv-card) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}
