.sps{display:block;width:100%;min-width:0;max-width:432px;margin-inline:auto;color:#004638}
.sps[hidden]{display:none}
.sps-viewer{position:relative;min-width:0;overflow:hidden;border:1px solid #e0e5df;border-radius:16px;background:#f6f6f2}
.sps-track{display:flex;width:100%;aspect-ratio:4 / 5;height:auto;min-height:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;touch-action:pan-x pan-y;scrollbar-width:none;direction:ltr}
.sps-track::-webkit-scrollbar{display:none}
.sps-slide{position:relative;flex:0 0 100%;width:100%;height:100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;display:flex;align-items:center;justify-content:center}
.sps-photo{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#fff;cursor:zoom-in}
.sps-track .sps-photo img,.sps-track .sps-video{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:cover;object-position:center}
.sps .sps-photo picture{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.sps-enlarge{position:absolute;right:14px;bottom:14px;background:rgba(0,70,56,.88);color:#fff;padding:7px 12px;border-radius:999px;font:500 12px/1.4 var(--font-ui,Arial,sans-serif);pointer-events:none}
.sps .sps-arrow{position:absolute;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid rgba(255,255,255,.7);border-radius:50%;background:#004638;color:#fff;box-shadow:0 2px 10px #0002;cursor:pointer;font:400 24px/1 Arial,sans-serif;z-index:1}
.sps-arrow--prev{left:12px}.sps-arrow--next{right:12px}
.sps .sps-arrow:disabled{opacity:.4;cursor:default}
.sps .sps-arrow[hidden]{display:none}
.sps-details{display:flex;align-items:baseline;justify-content:space-between;gap:18px;padding:14px 2px 0;min-width:0}
.sps .sps-caption{font-size:14px;line-height:1.55;color:#52645b;margin:0;min-width:0;overflow-wrap:anywhere}
.sps-count{flex-shrink:0;color:#004638;font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}
.sps :is(button,a,[tabindex]):focus-visible{outline:3px solid #b39459;outline-offset:4px}
.sps .sps-track:focus-visible{outline-offset:-4px}
.sps-dialog{position:fixed;inset:0;margin:auto;padding:0;border:0;border-radius:16px;width:min(1180px,calc(100vw - 32px));height:min(940px,calc(100dvh - 32px));max-width:none;max-height:none;background:#f8f8f4;color:#004638;box-shadow:0 20px 80px #0006}
.sps-dialog::backdrop{background:rgba(9,23,18,.9)}
.sps-dialog-panel{box-sizing:border-box;height:100%;display:flex;flex-direction:column;gap:12px;padding:18px 22px}
.sps-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.sps .sps-dialog-header h2{margin:0;font-size:20px;line-height:1.3}
.sps .sps-dialog button{min-width:44px;min-height:44px;border:1px solid #bdc9c0;border-radius:999px;background:#fff;color:#004638;padding:8px 16px;font:500 14px/1.4 var(--font-ui,Arial,sans-serif);cursor:pointer}
.sps .sps-dialog button:disabled{opacity:.4;cursor:default}
.sps-dialog-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center}
.sps-dialog-stage :is(img,video){display:block;width:100%;height:100%;object-fit:contain;max-width:100%;max-height:100%}
.sps .sps-dialog-caption{margin:0;text-align:center;font-size:14px;line-height:1.4}
.sps-dialog-nav{display:flex;align-items:center;justify-content:center;gap:22px}
.sps-dialog-nav span{min-width:64px;text-align:center;font-size:14px;font-variant-numeric:tabular-nums}
@media(min-width:901px){.sps{max-width:min(432px,calc(80svh - 224px))}}
@media(max-width:900px){.sps-details{gap:12px;padding-top:12px}.sps .sps-caption{font-size:13px}.sps .sps-arrow{width:42px;height:42px}.sps-arrow--prev{left:9px}.sps-arrow--next{right:9px}}
@media(max-width:500px){.sps-dialog{width:calc(100vw - 16px);height:calc(100dvh - 20px);border-radius:12px}.sps-dialog-panel{padding:12px;gap:10px}.sps .sps-dialog-header h2{font-size:18px}.sps .sps-dialog-caption{font-size:12px}.sps-enlarge{right:10px;bottom:10px;font-size:11px}}
