img.hbcm-zoomable{cursor:zoom-in}img.hbcm-zoomable:focus-visible{outline:3px solid #9c7a52;outline-offset:4px}
#hbcm-photo-viewer{position:fixed;inset:0;margin:auto;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;box-sizing:border-box;border:0;padding:18px 24px;background:rgba(13,15,18,.97);color:#fff;overflow:hidden}
#hbcm-photo-viewer[open]{display:flex;flex-direction:column;gap:12px}#hbcm-photo-viewer::backdrop{background:#000b}
#hbcm-photo-viewer .hbcm-viewer-toolbar{display:flex;justify-content:space-between;align-items:center;flex:none;font:14px/1.5 sans-serif}
#hbcm-photo-viewer button{background:#ffffff18;border:1px solid #ffffff55;border-radius:8px;color:#fff;cursor:pointer;min-width:44px;min-height:44px;font:16px/1.3 sans-serif;padding:10px 16px}
#hbcm-photo-viewer button:focus-visible{outline:3px solid white;outline-offset:3px}
#hbcm-photo-viewer .hbcm-viewer-stage{display:flex;align-items:center;justify-content:center;gap:16px;flex:1;min-height:0;min-width:0}
#hbcm-photo-viewer .hbcm-viewer-image{display:block;width:auto!important;height:auto!important;min-width:0;max-width:calc(100% - 136px)!important;max-height:100%!important;object-fit:contain!important;border-radius:0!important;margin:0;box-shadow:none}
#hbcm-photo-viewer .hbcm-viewer-prev,#hbcm-photo-viewer .hbcm-viewer-next{flex:none;font-size:30px}
#hbcm-photo-viewer [hidden]{display:none!important}
#hbcm-photo-viewer .hbcm-viewer-caption{flex:none;text-align:center;max-width:900px;margin:0 auto;font:14px/1.6 sans-serif;color:#eee;max-height:15vh;overflow:auto;overflow-wrap:anywhere}
@media(max-width:600px){#hbcm-photo-viewer{padding:12px;gap:10px}#hbcm-photo-viewer .hbcm-viewer-stage{gap:6px;position:relative}#hbcm-photo-viewer .hbcm-viewer-image{max-width:100%!important}#hbcm-photo-viewer .hbcm-viewer-prev,#hbcm-photo-viewer .hbcm-viewer-next{position:absolute;bottom:5px;padding:6px 10px;background:#0009;z-index:1}#hbcm-photo-viewer .hbcm-viewer-prev{left:0}#hbcm-photo-viewer .hbcm-viewer-next{right:0}#hbcm-photo-viewer .hbcm-viewer-caption{font-size:12px}}
