/* Inline editors resize in place; they never pull the page's scroll anchor. */
html:has(.composer-tool-open),html.composer-scroll-held,
body:has(.composer-tool-open){overflow-anchor:none}
html.composer-scroll-held{min-height:var(--composer-scroll-floor)!important}
body #socialDialog.composer-inline .modal-card{
 animation:none!important;transition:none!important
}

/* Give attachment labels real horizontal padding, including Img/GIF. */
body[data-home-layout] .composer .composer-action-row>button:is(#attachImage,#addPoll,#addChart,#shareTrade,#addTrade)>span{
 display:block;white-space:nowrap
}
@media(max-width:540px){
 body[data-home-layout] .composer .composer-tools.composer-action-row{
  flex-wrap:nowrap!important;gap:6px!important
 }
 body[data-home-layout] .composer .composer-action-row>button:is(#attachImage,#addPoll,#addChart,#shareTrade,#addTrade){
  width:52px!important;min-width:52px!important;height:52px!important;
  padding:4px 2px!important;font-family:inherit!important;flex:0 0 52px!important;overflow:hidden
 }
 body[data-home-layout] .composer .composer-action-row>#postBtn{
  height:44px!important;min-height:44px!important;margin-left:auto!important;flex:0 0 auto!important
 }
}
