.photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.photo-grid.photo-top{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.photo-grid img{display:block;width:100%;aspect-ratio:1;object-fit:cover}.photo-top img{aspect-ratio:4/3}.photo-tile{display:block;overflow:hidden}.photo-tile:hover img{opacity:.85}.photo-top.photo-animate .photo-tile{opacity:0;transform:translateX(-24px)}.photo-top.photo-animate.photo-visible .photo-tile{animation:photo-enter .55s ease-out both;animation-delay:calc(var(--i)*110ms)}@keyframes photo-enter{to{opacity:1;transform:none}}.photo-dialog{background:#111;color:white;border:0;max-width:96vw;width:96vw;max-height:95vh;padding:35px 45px;text-align:center}.photo-dialog::backdrop{background:#000d}.photo-dialog img{max-width:100%;max-height:80vh;object-fit:contain}.photo-dialog button{position:absolute;background:#222;color:white;border:0;font-size:28px;cursor:pointer}.photo-dialog [data-close]{top:0;right:0}.photo-dialog [data-prev]{left:0;top:50%}.photo-dialog [data-next]{right:0;top:50%}.photo-admin-grid>div{cursor:grab}.photo-admin-grid label{font-size:12px}.photo-admin-grid input[type=checkbox]{width:auto}@media(max-width:700px){.photo-grid,.photo-grid.photo-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}@media(prefers-reduced-motion:reduce){.photo-top.photo-animate .photo-tile{opacity:1;transform:none;animation:none!important}}
