/* Content-sized bubbles. Load after the existing appearance styles. */
html #messages .message{width:fit-content;min-width:0;max-width:min(78%,640px);padding:6px 10px;margin-bottom:7px;border-radius:12px}
html #messages .message.has-avatar{padding-left:10px;margin-left:32px;max-width:min(calc(100% - 40px),640px)}
html #messages .message.own{margin-left:auto;max-width:min(78%,640px)}
html #messages .message .message-avatar{left:-32px;top:5px;width:26px;height:26px;font-size:16px}
html #messages .message.own .message-avatar{display:none}
html #messages .message>.meta{margin-bottom:2px;padding-right:28px;min-height:16px;line-height:1.35;font-size:10px;overflow-wrap:anywhere}
html #messages .message>.message-more{top:1px;right:1px;width:30px;height:30px;padding:6px}
html #messages .message .body{line-height:1.4}
html #messages .message .message-footer{min-height:0;margin-top:2px;gap:5px}
html #messages .message .message-footer:empty,html #messages .message .reactions:empty{display:none}
html #messages .message .read-receipt{padding:1px 2px;line-height:1.3}
html #messages .message .reactions:not(:empty){margin-top:4px;gap:4px}
html #messages .message .reactions button{padding:2px 7px}
html #messages .message .reply-quote{margin:3px 0;padding:5px 8px}
html #messages .message>a{margin-top:4px;overflow-wrap:anywhere}
html #messages .message audio{margin:4px 0;max-width:100%}
@media(max-width:720px){
  html #messages{padding:10px 9px}
  html #messages .message{max-width:90%;padding:6px 9px;margin-bottom:6px}
  html #messages .message.has-avatar{padding-left:9px;max-width:calc(100% - 34px)}
  html #messages .message.own{max-width:90%;margin-left:auto}
  html #messages .message .body{font-size:15px;line-height:1.4}
  html #messages .message>.message-more{width:32px;height:32px}
  html #messages .message>.meta{padding-right:27px}
}
