.sc-photo-dialog{box-sizing:border-box;width:min(1100px,calc(100% - 32px));max-width:none;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:20px;border:1px solid #54756a;border-radius:16px;background:#142e28;color:#fff;box-shadow:0 20px 80px #0008;font:17px/1.5 Arial,sans-serif;overflow:auto}.sc-photo-dialog::backdrop{background:rgba(10,23,20,.88)}.sc-photo-dialog:not([open]){display:none}.sc-photo-dialog [hidden]{display:none!important}.sc-photo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.sc-photo-dialog .sc-photo-count{margin:0;color:#fff;font:700 17px/1.5 Arial,sans-serif}.sc-photo-dialog button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 18px;border:1px solid #d9e2b3;border-radius:8px;background:#faf6e9;color:#142e28;font:700 16px/1.4 Arial,sans-serif;text-decoration:none;cursor:pointer;letter-spacing:normal;text-transform:none;box-shadow:none}.sc-photo-dialog button:hover{background:#d9e2b3;color:#142e28}.sc-photo-dialog button:focus-visible{outline:3px solid #fff;outline-offset:4px}.sc-photo-stage{height:min(65vh,650px);height:min(65dvh,650px);display:flex;align-items:center;justify-content:center;min-height:100px;background:#0d211c;border-radius:8px;touch-action:pan-y pinch-zoom}.sc-photo-dialog .sc-photo-large{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;border-radius:0;margin:0}.sc-photo-navigation{display:flex;justify-content:space-between;gap:12px;margin-top:16px}.sc-photo-dialog .sc-photo-error{color:#fff;background:#57351e;border-radius:8px;padding:12px;margin:12px 0 0;font:16px/1.5 Arial,sans-serif}.sc-detail-gallery a[aria-haspopup=dialog],.sca-photos a[aria-haspopup=dialog]{cursor:zoom-in}@media(max-width:600px){.sc-photo-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);padding:12px;border-radius:12px}.sc-photo-dialog button{padding:10px 12px;font-size:15px}.sc-photo-stage{height:calc(100vh - 185px);height:calc(100dvh - 185px);max-height:650px}.sc-photo-toolbar{gap:8px}.sc-photo-dialog .sc-photo-count{font-size:16px}}

.sc-photo-zoom{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:0 0 12px}.sc-photo-zoom [data-zoom-value]{min-width:60px;text-align:center;color:#fff;font:700 16px Arial,sans-serif}.sc-photo-zoom button:disabled{opacity:.5;cursor:default}.sc-photo-dialog .sc-photo-stage{display:block;overflow:auto;overscroll-behavior:contain;height:min(58vh,580px);height:min(58dvh,580px)}.sc-photo-canvas{display:grid;place-items:center;min-width:100%;min-height:100%}.sc-photo-dialog .sc-photo-large{max-width:none;max-height:none;cursor:zoom-in;user-select:none;-webkit-user-drag:none}.sc-photo-stage.is-zoomed{cursor:grab;touch-action:pan-x pan-y pinch-zoom}.sc-photo-stage.is-zoomed:active{cursor:grabbing}.sc-photo-stage.is-zoomed .sc-photo-large{cursor:inherit}@media(max-width:600px){.sc-photo-dialog .sc-photo-stage{height:calc(100dvh - 250px);max-height:580px}.sc-photo-zoom{gap:8px}.sc-photo-zoom button{min-width:44px;padding:9px 12px}.sc-photo-zoom [data-zoom-reset]{font-size:14px}}
