#fpsSocialMenu #sfDmPanel[hidden],#fpsSocialMenu #socialContent[hidden]{display:none!important}
#sfDmPanel{margin-top:12px;display:grid;gap:12px;color:#edf2ff}
#sfDmPanel .dm-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#sfDmPanel .dm-head strong{font-size:19px;flex:1;overflow-wrap:anywhere}
#sfDmPanel .dm-note{font-size:12px;color:#a8b6d4;line-height:1.5;margin:0}
#sfDmPanel .dm-history{height:min(42vh,380px);min-height:140px;overflow:auto;background:#090d1c;border:1px solid #343d65;border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:10px;box-sizing:border-box;overscroll-behavior:contain}
#sfDmPanel .dm-row{display:flex;flex-direction:column;align-items:flex-start;gap:4px;flex:none}
#sfDmPanel .dm-row.mine{align-items:flex-end}
#sfDmPanel .dm-bubble{background:#222940;padding:10px 14px;border-radius:12px;max-width:85%;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.45;box-sizing:border-box}
#sfDmPanel .mine .dm-bubble{background:#40348a;border:1px solid #6458be}
#sfDmPanel .dm-meta{display:flex;align-items:center;gap:8px;color:#a0acc6;font-size:10px}
#sfDmPanel .dm-meta button{font-size:10px;padding:3px 6px!important}
#sfDmPanel .dm-form{display:flex;gap:8px;align-items:stretch}
#sfDmPanel textarea{flex:1;min-width:0;background:#0d1225;color:#fff;border:1px solid #53618b;border-radius:8px;padding:10px;font:inherit;resize:vertical;min-height:42px;max-height:120px;box-sizing:border-box}
#sfDmPanel .dm-error{color:#ff9db0;min-height:16px;font-size:12px}
#sfDmPanel .dm-count{font-size:11px;color:#a0acc6;text-align:right}
#sfDmPanel button:disabled{opacity:.5;cursor:default}

/* A direct conversation opened from a player menu. */
#fpsSocialMenu.direct-message .social-header,#fpsSocialMenu.direct-message #socialStatus{display:none!important}
#fpsSocialMenu.direct-message .social-dialog{width:min(620px,100%)}
