yt-horizontal-list-renderer #scroll-container.yt-horizontal-list-renderer {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  touch-action: pan-x pan-y !important;
}

/* Pictures of posts past the shelf edge were never loaded; without the gallery icon a post reads as a text post. */
ytd-post-renderer ytd-backstage-image-renderer:has(yt-img-shadow.empty) #image-icon-container {
  display: none;
}
