/* Account tools live in one settings window, instead of permanent sidebar rows. */
.account-settings-list {display:grid; gap:10px; margin-top:16px;}
.account-settings-list button {width:100%; text-align:left; padding:12px 14px;}
.account-tools {display:none;}
#native-invites-button {display:none;}
.contact-status {display:none;}
html[data-ui-density=compact] .contact {min-height:44px; padding:6px 8px; gap:8px;}
html[data-ui-density=compact] .contact .avatar {width:28px; height:28px; font-size:12px;}
html[data-ui-density=compact] .contact-main {display:flex; align-items:center;}
html[data-ui-density=compact] .contact-uin,
html[data-ui-density=compact] .contact-meta {display:none;}
html[data-ui-density=compact] .contact-name {flex:1; min-width:0;}
html[data-ui-density=compact] .contact-status {display:flex; align-items:center; gap:5px; font-size:11px; color:var(--muted); white-space:nowrap; max-width:42%; overflow:hidden; text-overflow:ellipsis;}
html[data-ui-density=compact] .contact-status .dot {flex-shrink:0;}
@media(max-width:760px), (max-width:1000px) and (max-height:500px) {
  .client-layout {position:relative; overflow:hidden;}
  .chat-panel {background:var(--panel);}
  #client-panel.gesture-back .sidebar {display:flex; position:absolute; inset:0; width:100%; z-index:0;}
  #client-panel.gesture-back .chat-panel {position:relative; z-index:1; box-shadow:-6px 0 22px #0003;}
  .gesture-dragging {transition:none!important; user-select:none;}
  .gesture-settling {transition:transform .16s ease-out;}
  .gesture-hint {font-size:12px; color:var(--muted); margin:8px 0;}
}
@media(prefers-reduced-motion:reduce) {.gesture-settling {transition:none;}}
