.pm-photo-grid.pmgr-albums{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;width:100%!important;transform:none!important;overflow:visible!important}
.pmgr-albums .pmgr-album{display:flex!important;flex-direction:column;min-width:0;width:100%!important;padding:0!important;margin:0!important;border:0!important;border-radius:14px!important;overflow:hidden;background:var(--pm-card,#fff)!important;color:var(--pm-text,#222)!important;text-align:left;cursor:pointer;box-shadow:0 3px 16px #0001;font:inherit;line-height:1.4}
.pmgr-album>img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:4/3;object-fit:cover;border-radius:0!important;transition:filter .2s}.pmgr-album:hover>img{filter:brightness(.9)}.pmgr-info{display:flex;flex-direction:column;gap:6px;padding:14px 16px}.pmgr-name{font-size:17px;font-weight:650;overflow-wrap:anywhere}.pmgr-count{font-size:14px;opacity:.7}.pmgr-pages{display:flex;align-items:center;justify-content:center;gap:22px;margin:24px 0 10px}.pmgr-pages button{background:#bd2030;color:white;border:0;border-radius:10px;padding:10px 22px;cursor:pointer;font-size:22px}.pmgr-pages button:disabled{opacity:.35;cursor:default}.pmgr-status{text-align:center;font-size:14px;opacity:.75}
[data-photo-filter][aria-pressed="true"]{background:#bd2030!important;color:#fff!important}[data-photo-filter][aria-pressed="false"]{background:#fff!important;color:#252b30!important}
.pmgr-modal-open{overflow:hidden!important}.pmgr-album-dialog{box-sizing:border-box;border:0;border-radius:16px;background:#111318;color:white;padding:18px;width:min(1200px,96vw);max-width:96vw;height:min(900px,94dvh);max-height:94dvh;overflow:hidden}.pmgr-album-dialog::backdrop{background:#000d}.pmgr-album-dialog[open]{display:flex;flex-direction:column;gap:12px}.pmgr-album-dialog header{display:flex;align-items:center;justify-content:space-between;gap:14px;flex:none}.pmgr-album-dialog h2{margin:0;color:inherit;font-size:20px;max-height:3em;overflow:auto}.pmgr-album-dialog button{border:0;background:#ffffff20;color:white;border-radius:8px;cursor:pointer;min-width:44px;min-height:44px}.pmgr-close{font-size:30px;flex:none}.pmgr-stage{display:flex;align-items:center;gap:10px;flex:1;min-height:0}.pmgr-stage figure{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;height:100%;min-width:0;min-height:0;margin:0;gap:8px}.pmgr-stage figure>img{display:block;max-width:100%;max-height:calc(100% - 30px);object-fit:contain;width:auto;height:auto;min-height:0}.pmgr-stage figcaption{font-size:14px;flex:none}.pmgr-prev,.pmgr-next{font-size:32px;flex:none}.pmgr-stage button:disabled{opacity:.25}.pmgr-thumbs{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding:5px;flex:none;min-height:70px}.pmgr-thumbs button{flex:0 0 78px;padding:2px!important;border:2px solid transparent!important}.pmgr-thumbs button[aria-current="true"]{border-color:#ef3545!important}.pmgr-thumbs img{display:block;width:70px;height:54px;object-fit:cover;border-radius:4px}.pmgr-album:focus-visible,.pmgr-pages button:focus-visible,.pmgr-album-dialog button:focus-visible{outline:3px solid #3fafff;outline-offset:2px}
@media(max-width:700px){.pm-photo-grid.pmgr-albums{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.pmgr-info{padding:10px}.pmgr-name{font-size:15px}.pmgr-count{font-size:12px}.pmgr-album-dialog{padding:10px;width:98vw;max-width:98vw;height:94dvh}.pmgr-album-dialog h2{font-size:17px}.pmgr-stage{gap:3px}.pmgr-stage button{min-width:32px}.pmgr-thumbs{gap:4px}}
