>>107516493
If you like to keep posts and shorts and stuff on your homepage I use these filters (some taken form the OP):
youtube.com##ytd-rich-grid-renderer:style(--ytd-rich-grid-items-per-row: 4 !important;)
youtube.com##ytd-rich-shelf-renderer:style(--ytd-rich-grid-items-per-row: 4 !important;)
!youtube.com##ytd-rich-grid-renderer:style(--ytd-rich-grid-slim-items-per-row: 8 !important;)
youtube.com##ytd-rich-shelf-renderer[is-shorts]:style(--ytd-rich-grid-items-per-row: 7 !important;)
!set number of columns in the skeleton layout
www.youtube.com#$##home-page-skeleton #home-container-media {grid-template-columns: repeat(4, 1fr) !important;}
!fix youtube thumbnails misalignment
www.youtube.com##ytd-rich-item-renderer[rendered-from-rich-grid][is-in-first-column]:style(margin-left: calc(var(--ytd-rich-grid-item-margin)/2) !important;)
www.youtube.com##[is-in-first-column]:remove-attr(is-in-first-column)
www.youtube.com#$##primary > ytd-rich-grid-renderer > #contents {display: grid !important; grid-template-columns: repeat(var(--ytd-rich-grid-items-per-row), 1fr); grid-auto-flow: dense; width: calc(100% - 24px) !important; padding-right:24px !important;}
www.youtube.com#$##primary > ytd-rich-grid-renderer > #contents > ytd-rich-item-renderer { width: unset !important; }
www.youtube.com#$##primary > ytd-rich-grid-renderer > #contents > ytd-rich-section-renderer { grid-column: 1/calc(var(--ytd-rich-grid-items-per-row) + 1); }
www.youtube.com#$##primary > ytd-rich-grid-renderer > #contents > ytd-rich-section-renderer > #content {margin-right: unset !important;}
!remove ghost cards
www.youtube.com#$#.ghost-card {display: none !important;}
This will make sure each row is filled in rather than leaving spaces before each post/short section.