.remote-gallery.remote-pocket-media{aspect-ratio:auto;display:flex;flex-direction:column;align-self:stretch;background:#fff;min-height:0}
.remote-gallery-toggle{appearance:none;display:block;position:relative;width:100%;padding:16px 16px 46px;border:0;background:white;color:#0c0c12;font:inherit;cursor:pointer}
.remote-gallery .remote-gallery-toggle img{width:100%;height:clamp(350px,45vw,590px);object-fit:contain;display:block}
.remote-gallery-caption{position:absolute;bottom:16px;left:16px;right:72px;text-align:center;font-size:15px;line-height:1.4}
.remote-gallery-count{position:absolute;bottom:16px;right:20px;font-size:14px;color:#666}
.remote-gallery-hint{padding:8px 20px 20px;margin:0;text-align:center;font-size:14px;line-height:1.5;color:#62626b}
.remote-gallery .remote-pocket-legend{display:none;pointer-events:none}
.remote-gallery.is-pocket .remote-gallery-toggle{padding:16px 16px 46px}
.remote-gallery.is-pocket .remote-gallery-toggle img{object-fit:cover;object-position:78% center}
.remote-gallery.is-pocket .remote-pocket-legend{display:block;top:auto;bottom:116px;left:28px;width:auto;max-width:calc(100% - 56px);padding:12px 16px;border-radius:12px;background:rgba(255,255,255,.94)}
.remote-gallery.is-pocket .remote-pocket-legend strong{font-size:16px;margin-bottom:8px;letter-spacing:normal}
.remote-gallery.is-pocket .remote-pocket-legend span{font-size:13px;margin:5px 0}
.remote-gallery-toggle:focus-visible{outline:3px solid #1769aa;outline-offset:-4px;border-radius:20px}
@media(max-width:640px){.remote-gallery .remote-gallery-toggle img{height:420px;max-height:65vh}.remote-gallery.is-pocket .remote-pocket-legend{top:auto;bottom:130px;left:24px;max-width:calc(100% - 48px)}}
