/* Danqvora V26.6 — strictly scoped Community UX refinements. */
.app #roomList .room-btn,
.app #privateList .room-btn { min-height:44px; touch-action:manipulation; }
.app #roomList .room-btn:focus-visible,
.app #privateList .room-btn:focus-visible,
.app #menuToggle:focus-visible { outline:2px solid #f4f4f4; outline-offset:2px; }
.app #roomList .room-btn[aria-pressed="true"],
.app #privateList .room-btn[aria-pressed="true"] { border-color:#707070; }
.app .main { min-width:0; min-height:0; }
.app .messages { overscroll-behavior-y:contain; }
@media(max-width:680px) {
  .app .sidebar { overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
  .app .chat-head { min-width:0; gap:8px; }
  .app .chat-head .head-title { min-width:0; }
  .app .chat-head .head-title h1 { overflow-wrap:anywhere; }
  .app .chat-head .head-title p { overflow-wrap:anywhere; }
  .app .chat-head .head-tools { flex-shrink:0; gap:5px; }
  .app .messages { -webkit-overflow-scrolling:touch; }
  .app .composer-wrap { padding-bottom:max(12px,env(safe-area-inset-bottom)); }
  .app #messageInput { font-size:16px; max-height:min(136px,25dvh); }
  .app .composer-bottom { gap:8px; }
  .app .composer-options button,.app .send-btn { min-width:38px; min-height:40px; }
  .app .message-actions .msg-act { min-height:34px; }
}
@media(max-width:400px) {
  .app .chat-head .header-symbol { width:32px; height:32px; }
  .app .chat-head .head-title h1 { font-size:16px; }
  .app .chat-head .head-tools { gap:3px; }
  .app .chat-head #dq263Connection { max-width:95px; overflow:hidden; text-overflow:ellipsis; }
  .app .composer-options { gap:3px; }
  .app .fine-print { flex-wrap:wrap; gap:5px; }
}
@media(prefers-reduced-motion:reduce) {
  .app .sidebar { transition:none!important; }
}
