/* Content-sized bubbles; retain the existing date, author and reaction logic. */
html[data-look] #messages .message:not(.join-notice){width:fit-content!important;min-width:0!important;max-width:min(88%,560px)!important;margin-top:8px!important;margin-bottom:2px!important;padding:5px 9px!important;border-radius:11px;box-sizing:border-box}
html[data-look] #messages .message.message-group80:not(.join-notice){margin-top:2px!important;margin-bottom:2px!important}
html[data-look] #messages .message:not(.join-notice) .body{line-height:1.42;overflow-wrap:anywhere;max-width:62ch}
html[data-look] #messages .message:has(video,.image-preview){width:min(88%,360px)!important}
html[data-look] #messages .message :is(video,.image-preview img){max-width:100%;border-radius:8px;object-fit:contain}
html[data-look] #messages .message video{max-height:360px}
html[data-look] #messages .message:not(.join-notice) .reply-quote{border:0;border-left:2px solid var(--d-accent);white-space:normal;background:color-mix(in srgb,var(--d-accent) 5%,transparent);padding:4px 7px!important;margin-block:2px 5px!important;border-radius:3px}
html[data-look] #messages .reply-quote:not(.quote-open93) span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow:hidden}
html[data-look] #messages .reply-quote.quote-open93 span{display:block;-webkit-line-clamp:unset;max-height:none;white-space:normal}
html[data-look] #messages .quote-expand93{font-size:11px;font-weight:400;padding:2px 4px;min-height:28px;background:transparent;color:var(--d-muted);box-shadow:none}
html #rooms .room-item{min-width:0;min-height:60px;padding:7px 8px!important;gap:10px;border:0!important;box-shadow:none!important;border-radius:10px;background:transparent}
html #rooms .room-item.active{background:var(--d-active)}
html #rooms .room-avatar{width:38px;height:38px;min-width:38px;flex:0 0 38px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:color-mix(in srgb,var(--d-ink) 5%,transparent);font-size:22px}
html #rooms .room-avatar img{width:100%;height:100%;object-fit:cover}
html #rooms .room-title{font-size:13px;font-weight:500;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html #rooms .room-preview{font-size:12px;font-weight:400;line-height:1.35;color:var(--d-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html #rooms .room-unread93 .room-title{font-weight:650;color:var(--d-ink)}
html #rooms :is(.room-time,.room-last-time,.room-last-date){font-size:10px;font-weight:400;color:var(--d-muted)}
html #rooms :is(.chat-pin-marker,.room-muted66){opacity:.6}
html #messages .message-avatar{width:28px;height:28px;border-radius:50%;overflow:hidden}
@media(min-width:901px){html[data-look] #messages .message:not(.join-notice){max-width:min(72%,560px)!important}html[data-look] #messages .message:has(video,.image-preview){width:min(72%,400px)!important}}
@media(pointer:coarse){html[data-look] #messages .quote-expand93{min-height:36px}html #rooms .room-item{min-height:64px}}
