/* Use one section gap instead of stacking margins from individual widgets. */
body[data-home-layout="compact"]{--home-section-gap:var(--page-section-gap,12px)}
body[data-home-layout="compact"] #page-home.active{display:flex;flex-direction:column;gap:var(--home-section-gap)}
body[data-home-layout="compact"] #page-home>*{margin-top:0!important;margin-bottom:0!important;min-width:0}
body[data-home-layout="compact"] #page-home :is(#sharedPost,#feedStatus):empty{display:none!important}
body[data-home-layout="compact"] #page-home #homeFeedHost #feed{gap:var(--home-section-gap)!important}
body[data-home-layout="compact"] #page-home #sharedPost{display:grid;gap:var(--home-section-gap)}
body[data-home-layout="compact"] #page-home #sharedPost>.post{margin:0!important}
@media(min-width:1100px){
 body[data-home-layout="compact"] :is(.sidebar,.rightbar) .desktop-panel{margin-bottom:var(--home-section-gap)}
 body[data-home-layout="compact"] :is(.sidebar,.rightbar) .desktop-panel:last-child{margin-bottom:0}
}
