/* Fotos y videos en chats (comunidad, grupo y privado): tamaño normal, completas y sin burbuja */
.chat-msg .attach-gallery{margin-top:.15rem;gap:.4rem;flex-direction:column;align-items:flex-start}
.chat-msg .attach-gallery .attach-image:not(.attach-video){
  width:auto;height:auto;max-width:min(20rem,72vw);border:0;border-radius:14px;background:transparent;display:block;overflow:hidden}
.chat-msg .attach-gallery .attach-image:not(.attach-video) img{
  width:auto;height:auto;max-width:min(20rem,72vw);max-height:26rem;object-fit:contain;border-radius:14px;display:block}
.chat-msg .attach-gallery .attach-image:not(.attach-video):hover img{transform:none}
.chat-msg .attach-gallery .attach-video{width:min(20rem,72vw);height:auto;max-height:26rem;border-radius:14px;border:0}
.chat-msg .attach-gallery .attach-video video{width:100%;height:auto;max-height:26rem;object-fit:contain;display:block}
.chat-msg .chat-msg-image{max-width:min(20rem,72vw);border-radius:14px}
.chat-msg .chat-msg-image img{width:auto;height:auto;max-width:100%;max-height:26rem;object-fit:contain}

/* Mensaje que es solo foto o video (sin texto, audio ni respuesta): se quita la burbuja */
.chat-msg .chat-msg-body:is(:has(.attach-image),:has(.chat-msg-image)):not(:has(.chat-msg-text)):not(:has(.z3t-audio)):not(:has(.reply-quote)):not(:has(.attach-file)),
.chat-msg .chat-msg-body[data-bubble-url]:is(:has(.attach-image),:has(.chat-msg-image)):not(:has(.chat-msg-text)):not(:has(.z3t-audio)):not(:has(.reply-quote)):not(:has(.attach-file)),
.chat-msg .chat-msg-body[data-bubble-color]:is(:has(.attach-image),:has(.chat-msg-image)):not(:has(.chat-msg-text)):not(:has(.z3t-audio)):not(:has(.reply-quote)):not(:has(.attach-file)),
.conversation-messages .chat-msg.mine .chat-msg-body:is(:has(.attach-image),:has(.chat-msg-image)):not(:has(.chat-msg-text)):not(:has(.z3t-audio)):not(:has(.reply-quote)):not(:has(.attach-file)){
  background:none!important;background-color:transparent!important;border:0!important;border-image:none!important;
  box-shadow:none!important;padding:0!important;min-width:0!important;min-height:0!important;align-items:flex-start}
