html #messages .desktop47-message{margin-bottom:calc(5px + var(--reaction-extra,0px))!important}
html #messages .desktop47-message .reactions:not(:empty){position:absolute;top:calc(100% + 3px);left:0;margin:0;padding:0;width:max-content;max-width:min(70vw,340px);display:flex;flex-wrap:wrap;gap:3px;z-index:2;background:transparent}
html #messages .desktop47-message.own .reactions:not(:empty){left:auto;right:0}
html #messages .desktop47-message .reactions button{display:inline-flex;align-items:center;gap:4px;padding:2px 6px;min-height:24px;line-height:1;border:1px solid var(--d-line);border-radius:12px;background:var(--d-surface);color:var(--d-ink);box-shadow:none}
html #messages .desktop47-message .reactions button.mine{background:var(--d-active);border-color:color-mix(in srgb,var(--d-accent) 45%,var(--d-line))}
html .reaction-symbol{font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;font-size:15px;line-height:1.2}html .reaction-count{font-size:10px;font-weight:600;font-variant-numeric:tabular-nums}
html #messages .desktop47-message .reply-quote{display:flex;flex-direction:column;gap:1px;padding:3px 6px;margin:2px 0 3px;border:0;border-left:2px solid var(--d-accent);border-radius:4px;min-height:0;max-width:100%;text-align:left;background:color-mix(in srgb,var(--d-accent) 6%,transparent)}
html #messages .desktop47-message .reply-quote strong{font-size:10px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--d-accent)}
html #messages .desktop47-message .reply-quote span{font-size:12px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
html #roomMembers .member-row{min-height:42px;padding:5px 0;gap:6px}
html #roomMembers .person-label{min-width:0;gap:8px;flex:1}
html #roomMembers .person-label>.avatar{width:30px;height:30px;flex-shrink:0}
html .member-person-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.member-person-copy .person-text{font-size:12px;line-height:1.25;overflow-wrap:anywhere}
html .member-activity{font-size:10px;line-height:1.25;color:var(--d-muted)}html .member-activity[data-online=true]{color:var(--d-accent)}
html .member-mandate{display:grid;place-items:center;background:transparent;color:var(--d-accent);min-height:32px;width:32px;padding:5px;border:0}
html .member-mandate svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
html #roomMembers>.member-row>button{font-size:11px;min-height:30px;padding:5px 8px}
html .avatar img.default-portrait{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.desktop-sidebar-actions{display:none}
@media(min-width:901px){
 html #messages .desktop47-message{padding:4px 8px;border-radius:10px;max-width:min(72%,600px)}
 html #messages .desktop47-message .body{font-size:15px;line-height:1.35}
 html #messages .desktop47-message .message-footer{min-height:18px;height:auto;gap:3px;margin:0;align-items:center;justify-content:flex-end}
 html #messages .desktop47-message .message-reply-shortcut{width:22px;height:20px;min-height:20px;padding:2px!important;opacity:.6}
 html #messages .desktop47-message .read-receipt{min-height:20px;line-height:1.1;padding:1px 3px;font-size:11px}
 html .sidebar[data-compact45] .polish-heading>span{display:none!important}
 html .sidebar[data-compact45] .compact-general-menu{display:none!important}
 html .desktop-sidebar-actions{display:flex;gap:4px;align-items:center;min-width:0;flex:1}
 html .desktop-sidebar-actions #contactsButton{display:flex;gap:6px;align-items:center;min-width:0;margin:0;padding:4px 2px;width:auto;background:transparent;color:var(--d-ink);border:0;font-size:12px;min-height:32px;text-transform:none;letter-spacing:normal}
 html .desktop-sidebar-actions #contactsButton span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 html .desktop-sidebar-actions #joinRoom{display:flex;align-items:center;justify-content:center;margin-left:auto;width:30px;min-width:30px;min-height:32px;padding:5px;font-size:0;background:transparent;color:var(--d-muted);border:0}
 html .desktop-sidebar-actions #joinRoom svg{width:18px;height:18px}
}
