.image-gallery{width:min(650px,calc(100% - 42px));margin:4px 0 12px 42px;min-width:0}.image-gallery.own{margin-left:auto;margin-right:0}.gallery-heading{font-size:12px;color:var(--chat-meta,#69747c);margin-bottom:5px;overflow-wrap:anywhere}.gallery-bubble{padding:8px!important;max-width:none!important;width:100%;box-sizing:border-box;overflow:hidden}.gallery-answer{padding:4px 4px 8px}.gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;overflow:hidden;border-radius:10px}.gallery-grid[data-count="1"]{grid-template-columns:1fr}.gallery-grid[data-count="3"]>.gallery-cell:first-child{grid-column:span 2}.gallery-grid[data-count="3"]>.gallery-cell:first-child .attachment-image{aspect-ratio:2/1}.gallery-cell{position:relative;min-width:0;overflow:hidden}.gallery-cell>.message{display:block;max-width:none!important;width:100%;margin:0!important;padding:0}.gallery-cell .message-body{width:100%;min-width:0;max-width:none!important}.gallery-image-content{padding:0!important;background:none!important;border-radius:0!important;min-width:0}.gallery-cell .attachment-row{min-width:0;display:block}.gallery-cell .attachment-photo{display:block;width:100%;padding:0;background:transparent;border:0;min-width:0}.gallery-cell .attachment-photo>.attachment-image{display:flex;width:100%;height:auto;aspect-ratio:1;max-width:none;max-height:none;overflow:hidden;border-radius:0;align-items:center;justify-content:center}.gallery-cell .attachment-photo>.attachment-image img{width:100%;height:100%;max-height:none;object-fit:cover}.gallery-cell .attachment-details{display:none}.gallery-cell .attachment-download{position:absolute;right:5px;top:5px;background:var(--chat-incoming,#eef1f4);border-radius:50%;opacity:0;transition:opacity .15s}.gallery-cell .message-actions{position:absolute;left:5px;top:5px;min-height:0;margin:0;opacity:0;background:var(--chat-incoming,#eef1f4);border-radius:10px}.gallery-cell .message-actions>button:not(.message-menu){display:none}.gallery-cell:hover .attachment-download,.gallery-cell:focus-within .attachment-download,.gallery-cell:hover .message-actions,.gallery-cell:focus-within .message-actions{opacity:1}.gallery-more{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;background:rgb(0 0 0 / 50%);color:#fff;font-size:24px;font-weight:650}.gallery-more:focus-visible{outline:3px solid var(--theme-link,#015f8f);outline-offset:-3px}.gallery-collapse{border:0;background:none;color:var(--theme-link,#015f8f);font:inherit;font-size:13px;padding:8px 0;min-height:36px}.gallery-foot{padding:0 4px}.gallery-time{text-align:right;color:var(--chat-meta,#69747c);font-size:12px;padding:5px 4px 0}@media(hover:none){.gallery-cell .attachment-download{opacity:.85}}@media(max-width:420px){.image-gallery{width:calc(100% - 10px);margin-left:10px}}
