.recovered-gallery{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:12px 0}.recovered-gallery .photo-open{display:block;overflow:hidden;aspect-ratio:4/3;background:#eee}.recovered-gallery img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s}.recovered-gallery a:hover img{transform:scale(1.04)}.photo-open{cursor:zoom-in}.wc_element_image .photo-open{display:block}.photo-dialog{position:fixed;inset:0;box-sizing:border-box;width:min(1400px,96vw);height:94dvh;max-width:96vw;max-height:94dvh;margin:auto;border:0;border-radius:3px;background:#171717;color:white;padding:0;overflow:hidden;font-family:Arial,sans-serif}.photo-dialog::backdrop{background:rgba(0,0,0,.88)}.photo-dialog[open]{display:flex;flex-direction:column}.photo-toolbar{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;flex-shrink:0}.photo-count{font-size:14px;color:#ddd}.photo-dialog button{background:transparent;border:1px solid #888;color:white;border-radius:3px;font-size:32px;line-height:1;width:46px;height:46px;cursor:pointer}.photo-dialog button:hover{background:#444}.photo-dialog button:focus-visible{outline:3px solid white;outline-offset:3px}.photo-dialog button[hidden]{display:none}.photo-stage{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:0 64px}.photo-stage img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.photo-prev,.photo-next{position:absolute;top:calc(50% - 23px);z-index:1}.photo-prev{left:10px}.photo-next{right:10px}.photo-caption{flex-shrink:0;padding:14px 20px;text-align:center;max-height:20vh;overflow:auto}.photo-caption strong{font-size:16px;line-height:1.4}.photo-caption p{font-size:14px;line-height:1.5;margin:5px 0;color:#ddd}.photo-status{font-size:13px;color:#ddd}@media(max-width:700px){.recovered-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.photo-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.photo-stage{padding:0}.photo-prev,.photo-next{background:#0009!important;bottom:12px;top:auto}.photo-caption{padding:12px 15px 18px}.photo-dialog button{min-height:44px;min-width:44px}}
