/* Sandbox: inspect a paired photograph without separating the archive group. */
.gift-lightbox [hidden]{display:none!important}
.gift-toolbar{height:auto;min-height:44px;gap:8px}
.gift-back{margin-right:auto;min-height:44px;padding:8px 12px;border:0;background:transparent;color:#26313b;font:600 14px/1.3 'Segoe UI',Arial,sans-serif;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.gift-inspect{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:44px;min-height:44px;width:100%;max-height:calc(76dvh - 100px);padding:2px;border:0;border-radius:4px;background:transparent;color:#26313b;cursor:zoom-in}
.gift-inspect img{display:block;width:100%;height:auto;min-height:0;max-height:calc(76dvh - 132px);object-fit:contain;flex:1 1 auto}
.gift-inspect span{flex:0 0 auto;font:600 12px/1.4 'Segoe UI',Arial,sans-serif;text-decoration:underline;text-underline-offset:3px;padding:3px}
.gift-inspect:hover,.gift-back:hover{background:rgba(38,49,59,.07)}
.gift-lightbox.is-inspecting .gift-prev,.gift-lightbox.is-inspecting .gift-next{display:none}
.gift-detail{grid-column:1/-1;min-width:0;min-height:0;text-align:center;padding:0 8px;touch-action:pan-x pan-y pinch-zoom}
.gift-detail img{display:block;width:100%;height:auto;max-height:calc(76dvh - 125px);object-fit:contain}
.gift-detail p{font:14px/1.4 'Segoe UI',Arial,sans-serif;margin:8px 0 0;color:#26313b}
@media(max-width:600px){
 .gift-inspect{height:100%;max-height:100%}
 .gift-slide .gift-inspect img{height:auto;max-height:calc(100% - 29px)}
 .gift-inspect span{font-size:11px}
 .gift-detail img{max-height:calc(72dvh - 140px)}
}
