/* Personal chat (chat.js): the speech bubble in the top bar, the list of chats, one chat. */
#chat-btn{ position: relative; }
#chat-btn svg{ width: 25px; height: 25px; }
#chat-badge{ position: absolute; top: 0; right: -2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #ff3b5c; color: #fff; font-size: 10.5px; font-weight: 700; line-height: 17px; text-align: center; }
#chat-badge[hidden]{ display: none; }

.dm-note{ margin: 10px 0 0; text-align: center; font-size: 14px; color: var(--ub-ink3, #8b8b93); }
.dm-av{ flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 18px; font-weight: 700; }
.dm-row .ub-main i{ display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-row.unread .ub-main b, .dm-row.unread .ub-main i{ font-weight: 700; color: var(--ub-ink, #111); }
.dm-side{ flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; margin-left: 8px; }
.dm-side i{ font-style: normal; font-size: 12.5px; color: var(--ub-ink3, #8b8b93); }
.dm-side b{ min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #0a57f5; color: #fff; font-size: 11.5px; line-height: 20px; text-align: center; }

.dm-head{ display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.dm-head .dm-av{ width: 40px; height: 40px; font-size: 16px; }
.dm-head b{ flex: 1; font-size: 19px; }
.dm-more{ flex: none; width: 40px; height: 40px; border: none; border-radius: 50%; background: none; color: inherit; display: grid; place-items: center; cursor: pointer; }
.dm-more svg{ width: 22px; height: 22px; }
.dm-acts{ display: flex; gap: 8px; margin-bottom: 12px; }
.dm-acts[hidden]{ display: none; }
/* A whole screen of chat, not the small box a ride or an item gets. */
.dm-screen .cab-msgs{ max-height: none; height: calc(100dvh - 270px); min-height: 240px; }
.dm-about{ display: block; margin-bottom: 4px; padding-bottom: 4px; border-bottom: 1px solid rgba(128,128,128,.3); font-size: 12px; opacity: .75; }
