html[data-look] #messages .message.message-group80:not(.join-notice){margin-top:1px!important;margin-bottom:2px!important}
html #messages .message-group80>.message-avatar,html #messages .message-group80>.compact-message-heading{display:none!important}
.group-author80{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html #messages .message>a.attachment-card{gap:7px;margin:3px 0 2px;padding:5px 7px;min-height:44px;border-radius:7px;background:color-mix(in srgb,var(--d-accent) 5%,transparent)}
html .attachment-card-icon{width:27px;height:29px;border-radius:5px;font-size:11px;background:transparent}
html .attachment-card-info strong{font-size:12px;font-weight:500;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
html .attachment-card-info small{margin-top:1px;font-size:9px;line-height:1.2;color:var(--d-muted)}
html .attachment-card-download{font-size:17px;width:24px;min-width:24px;text-align:center;color:var(--d-muted)}
html #composeContext{display:flex;align-items:center;gap:6px;min-height:32px;padding:2px 7px!important;margin:0 8px 3px!important;border-left-width:2px;border-radius:3px;background:color-mix(in srgb,var(--d-accent) 7%,transparent)}
html #composeContext[hidden]{display:none!important}
html #composeContextText{flex:1;min-width:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px;line-height:1.3}
html #cancelContext{flex-shrink:0;width:36px;min-width:36px;min-height:36px;padding:0;font-size:20px;background:transparent;box-shadow:none;color:var(--d-muted)}
@media(max-width:900px){
 html .chat-header{gap:3px!important;padding:4px 5px!important;min-height:52px!important}
 html .chat-header .header-actions{gap:0!important}
 html .chat-header .header-actions .icon-button,html .chat-header #toggleSidebar{width:44px;min-width:44px;min-height:44px;padding:8px!important}
 html .chat-header .action-symbol{width:19px;height:19px}
 html .chat-heading{gap:5px;min-width:0;padding:2px 3px!important}
 html .chat-heading #roomTitle{font-size:14px;line-height:1.25}
 html #composeContext{margin:0 5px 2px!important;min-height:38px}
 html #cancelContext{width:44px;min-width:44px;min-height:44px}
 html.browser-keyboard-open #compose{padding-bottom:max(5px,env(safe-area-inset-bottom))!important}
}

/* Older grouping rules must not hide context at a reply boundary. */
html[data-look] #messages .message.group-follow:not(.message-group80){margin-top:4px!important}
html[data-look] #messages .message.group-follow:not(.message-group80):not(.own)>.message-avatar{display:grid!important;visibility:visible;pointer-events:auto}
html[data-look] #messages .message.group-follow:not(.message-group80):not(.own) .compact-message-heading>.meta{display:block!important}
html #composeContextText{display:flex;align-items:center;gap:5px}
html #composeContextText .design-quote-author{display:inline;flex:0 1 auto;max-width:35%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html #composeContextText .design-quote-author:after{content:':' }
html #composeContextText .design-quote-text{display:block;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
