.lmp-template .lmr-photos.lmr-photo-stack{display:block;position:relative;width:5.25rem;max-width:5.25rem;margin:.8rem 0 .35rem;flex-shrink:0}
.lmp-template .lmr-photo-stack.has-more:before,.lmp-template .lmr-photo-stack.has-more:after{content:'';position:absolute;inset:0;border:1px solid #617084;border-radius:.5rem;background:#1b2635;pointer-events:none}
.lmp-template .lmr-photo-stack.has-more:before{transform:rotate(7deg)}
.lmp-template .lmr-photo-stack.has-more:after{transform:rotate(3deg)}
.lmp-template .lmr-photo-stack>a{display:block;position:relative;z-index:1;width:100%;aspect-ratio:1;border-radius:.5rem;border:1px solid #738196;overflow:hidden;background:#101720;box-shadow:0 3px 10px #0003;text-decoration:none}
.lmp-template .lmr-photo-stack img{display:block;width:100%!important;height:100%!important;aspect-ratio:1;object-fit:cover}
.lmp-template .lmr-photo-extra{position:absolute;top:.3rem;right:.3rem;padding:.08rem .38rem;background:#de1027;color:white;border:1px solid #ff8090;border-radius:.35rem;font-size:.83rem;font-weight:700;line-height:1.35}
.lmp-template .lmr-photo-stack-caption{position:absolute;inset:auto 0 0;background:#080d16db;color:#fff;text-align:center;padding:.2rem .1rem;font-size:.74rem;font-weight:600;line-height:1.25}
.lmp-template .lmr-preview-list .lmr-photos.lmr-photo-stack{grid-column:2;grid-row:2/4;align-self:start;justify-self:end;margin:.25rem .35rem 0 .5rem;max-width:5.25rem}
.lmp-template .lmr-preview-list .lmr-review-text{align-self:start}
.lmr-photo-viewer{box-sizing:border-box;width:min(54rem,calc(100vw - 2rem));max-width:calc(100vw - 2rem);max-height:90dvh;padding:1rem;border:1px solid #46556b;border-radius:1rem;background:#101720;color:#f8f7f4;font-family:'Barlow Condensed',sans-serif;overflow:auto}
.lmr-photo-viewer::backdrop{background:#030609d9;backdrop-filter:blur(4px)}
.lmr-photo-viewer-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 .75rem}
.lmr-photo-viewer-head h2{margin:0;font-family:inherit;font-size:1.4rem;font-weight:700;line-height:1.2;color:inherit}
.lmr-photo-viewer button{font:inherit;color:inherit;border:1px solid #58687e;background:#1b2636;border-radius:.5rem;cursor:pointer;min-width:2.75rem;min-height:2.75rem;padding:.3rem .5rem;touch-action:manipulation}
.lmr-photo-viewer button:hover{background:#303e52;border-color:#acb8c9}
.lmr-photo-viewer button:focus-visible{outline:3px solid #ffc72b;outline-offset:3px}
.lmr-photo-viewer-head button{font-size:1.75rem;line-height:1}
.lmr-photo-viewer-stage{position:relative;display:grid;grid-template-columns:2.75rem minmax(0,1fr) 2.75rem;align-items:center;gap:.6rem;background:#080c13;border-radius:.65rem;padding:.6rem}
.lmr-photo-viewer .lmr-photo-viewer-image{display:block;max-width:100%;width:100%;height:min(60dvh,36rem)!important;max-height:60dvh!important;object-fit:contain;margin:0 auto}
.lmr-photo-viewer-stage button{font-size:1.5rem}
.lmr-photo-viewer-stage:has(button[hidden]){grid-template-columns:minmax(0,1fr)}
.lmr-photo-viewer-footer{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:1rem;margin:.8rem 0 0}
.lmr-photo-viewer-count{font-size:1rem;white-space:nowrap;font-weight:600}
.lmr-photo-viewer-thumbs{display:flex;gap:.5rem}
.lmr-photo-viewer-thumbs button{padding:.15rem;border:2px solid transparent;background:#273346}
.lmr-photo-viewer-thumbs button[aria-pressed=true]{border-color:#ff4358}
.lmr-photo-viewer-thumbs img{display:block;width:3.25rem;height:3.25rem!important;border-radius:.25rem;object-fit:cover}
.lmr-photo-viewer [hidden]{display:none!important}
@media(max-width:767px){.lmp-template .lmr-preview-list .lmr-photos.lmr-photo-stack{width:4.5rem;max-width:4.5rem;margin:.75rem .35rem .4rem 0;justify-self:start}.lmr-photo-viewer{width:calc(100vw - 1rem);max-width:calc(100vw - 1rem);padding:.75rem}.lmr-photo-viewer-stage{gap:.25rem;padding:.25rem;grid-template-columns:2.75rem minmax(0,1fr) 2.75rem}.lmr-photo-viewer .lmr-photo-viewer-image{height:55dvh!important;max-height:55dvh!important}.lmr-photo-viewer-thumbs img{width:2.75rem;height:2.75rem!important}}
