textarea{resize:none!important;max-height:240px;overflow-y:auto}
.app-shell:has(#main.is-friends-page),.app-shell:has(#main.is-friends-page) .main-wrap{overflow:clip}
#social-dm-form{display:block;padding:12px 16px}
.social-compose-row{display:flex;align-items:flex-end;gap:9px}
#social-dm-form textarea{flex:1;min-width:0;min-height:40px;max-height:180px;height:40px;line-height:1.5;padding:9px 11px}
.social-compose-row>.btn{flex:none;min-height:40px}
.social-compose-help{display:block;margin-top:8px;font-size:10px;line-height:1.5;color:var(--ui-muted)}
#social-dm-form .form-error{font-size:12px;margin:8px 0 0}
#social-dm-form .form-error:empty{display:none}
#dm-pending-files:empty{display:none}
#dm-pending-files{margin-bottom:9px}
.social-message .channel-files{margin-top:10px;max-width:100%}
.social-message .channel-file{max-width:100%}
.social-message .channel-file-link{max-width:100%}
@media(max-width:650px){#social-dm-form{padding:10px}.social-compose-row{gap:6px}.social-compose-row>.btn{padding:8px 10px}.social-compose-help{font-size:9px}}
