/* V80: compact image-reference toolbar; preserve the existing PhotoSwipe gestures. */
.pswp--sbs-v83 .sbs-viewer-toolbar{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(720px,100%);margin:0 auto;padding:0 20px 8px;color:#f5f0e8;font:500 13px/1.5 system-ui,sans-serif}
.pswp--sbs-v83 .sbs-viewer-reference{min-width:0;overflow-wrap:anywhere;letter-spacing:.04em;font-variant-numeric:tabular-nums}
.pswp--sbs-v83 .sbs-viewer-quote{box-sizing:border-box;flex-shrink:0;min-height:44px;max-width:72%;padding:9px 16px;border:1px solid #c8ceba;border-radius:4px;color:#26352b;background:#f2f1e7;font:600 13px/1.5 system-ui,sans-serif;cursor:pointer}
.pswp--sbs-v83 .sbs-viewer-quote[hidden]{display:none}
.pswp--sbs-v83 .sbs-viewer-quote:focus-visible{outline:2px solid #fff;outline-offset:3px}
.pswp--sbs-v83 .sbs-filmstrip-button.is-active{border-color:#c6cdae;box-shadow:0 0 0 2px #c6cdae66}
.pswp--sbs-v83 .sbs-filmstrip{scrollbar-color:#a9b394 #ffffff14}
.pswp--sbs-v83 .sbs-filmstrip::-webkit-scrollbar-thumb{background:#a9b394}
html[data-ui-repair="78"] body:has(.pswp--sbs-v83) a.v78-line{display:none!important}
@media(hover:hover){.pswp--sbs-v83 .sbs-viewer-quote:hover{background:#e2e6d7}}
@media(max-width:759px){
 .pswp--sbs-v83 .sbs-viewer-toolbar{padding:0 14px 6px;gap:8px;font-size:12px}
 .pswp--sbs-v83 .sbs-viewer-quote{font-size:12px;padding:8px 12px}
 .pswp--sbs-v83 .sbs-viewer-hint{display:none}
}
@media(max-height:519px){
 .pswp--sbs-v83 .sbs-viewer-hint{display:none}
 .pswp--sbs-v83 .sbs-filmstrip-button{height:40px;flex-basis:62px;width:62px}
 .pswp--sbs-v83 .sbs-viewer-toolbar{padding-bottom:4px}
 .pswp--sbs-v83 .pswp__sbs-filmstrip{padding-top:4px;padding-bottom:max(6px,env(safe-area-inset-bottom))}
}

/* V83: these are clipped slide surfaces, never native scroll containers. */
.pswp--sbs-v83,.pswp--sbs-v83 .pswp__scroll-wrap{overflow:clip;overscroll-behavior:none}
.pswp--sbs-v83 .sbs-filmstrip{overscroll-behavior:contain}
