.mirad-photo-album{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;width:min(340px,70vw);max-width:100%;border-radius:12px;overflow:hidden;margin-top:8px;}
.mirad-photo-tile{position:relative;min-width:0;height:126px;overflow:hidden;background:#0c0e18;}
.mirad-photo-album[data-count="3"] .mirad-photo-tile:first-child{grid-row:span 2;height:255px;}
.mirad-photo-album[data-count="5"] .mirad-photo-tile:first-child{grid-column:span 2;height:172px;}
.mirad-photo-album .mirad-photo-tile>div,.mirad-photo-album .mirad-photo-tile img{height:100%!important;width:100%!important;min-height:0!important;max-height:none!important;object-fit:cover;border-radius:0!important;min-width:0!important;}
.mirad-photo-open{position:absolute;inset:0;border:0;background:transparent;cursor:zoom-in;z-index:2;}
.mirad-photo-open:focus-visible{outline:2px solid #f43f5e;outline-offset:-3px;}
.mirad-photo-viewer{position:fixed;inset:0;z-index:3500;background:rgba(5,6,10,.97);display:flex;flex-direction:column;color:#f4f4f5;overscroll-behavior:contain;}
.mirad-photo-viewer header{display:flex;align-items:center;gap:12px;padding:14px 18px;font-size:13px;}.mirad-photo-filename{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mirad-photo-count{white-space:nowrap;color:#a1a1aa}
.mirad-photo-viewer header button,.mirad-photo-stage>button{flex:none;min-width:44px;min-height:44px;display:grid;place-items:center;border:0;background:#ffffff12;border-radius:50%;font-size:30px;color:white;cursor:pointer;}.mirad-photo-stage>button:disabled{opacity:.2;cursor:default;}
.mirad-photo-stage{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;padding:8px;gap:8px;touch-action:pan-y pinch-zoom;}
.mirad-photo-large{flex:1;min-width:0;height:100%;display:grid;place-items:center;overflow:hidden}.mirad-photo-large>div{max-height:100%;max-width:100%}.mirad-photo-large img{max-height:calc(100dvh - 190px)!important;width:auto!important;max-width:100%!important;height:auto!important;object-fit:contain!important;min-height:0!important;}
.mirad-photo-thumbs{display:flex;justify-content:center;gap:6px;overflow-x:auto;padding:8px 12px 18px;flex:none;}.mirad-photo-thumbs button{width:48px;height:48px;flex:none;overflow:hidden;border-radius:7px;padding:0;border:2px solid transparent;background:#171928;opacity:.65;}.mirad-photo-thumbs button[aria-pressed=true]{border-color:#f43f5e;opacity:1;}.mirad-photo-thumbs button img,.mirad-photo-thumbs button>div{width:100%!important;height:100%!important;min-height:0!important;object-fit:cover;}
@media(max-width:640px){.mirad-photo-tile{height:100px}.mirad-photo-album[data-count="3"] .mirad-photo-tile:first-child{height:203px}.mirad-photo-album[data-count="5"] .mirad-photo-tile:first-child{height:134px}.mirad-photo-stage>button{min-width:35px;min-height:35px;font-size:26px}}

