.sf-viewer{color:#eee9df;width:100%;outline-offset:6px}
.sf-viewer .sf-hero{background:#080808;scroll-margin-top:120px;outline-offset:6px}
.sf-viewer .sf-stage{width:100%;height:72vh;height:72svh;max-height:900px;min-height:280px;display:flex;align-items:center;justify-content:center;touch-action:pan-y}
.sf-viewer .sf-slide{margin:0;width:100%;height:100%;text-align:center}
.sf-viewer .sf-slide img{display:block;max-width:100%;width:auto;height:auto;max-height:100%;object-fit:contain;margin:auto}
.sf-viewer .sf-slide:not([hidden]){display:flex;align-items:center;justify-content:center}
.sf-viewer [hidden]{display:none!important}
.sf-viewer .sf-controls{display:flex;align-items:center;justify-content:center;gap:22px;padding:22px 12px;font:12px/1.5 Arial,sans-serif;letter-spacing:.14em}
.sf-viewer button{background:transparent!important;color:#d2b27c!important;border:1px solid #6a5940!important;border-radius:0!important;font:inherit;letter-spacing:.08em;min-width:44px;min-height:44px;padding:10px 16px;cursor:pointer}
.sf-viewer button:hover,.sf-viewer button:focus-visible{color:#fff7e5!important;border-color:#e0bf89!important;outline:2px solid #d2b27c;outline-offset:3px}
.sf-viewer button:disabled{opacity:.35;cursor:default}
.sf-viewer .sf-count{min-width:55px;text-align:center;color:#eee9df}
.sf-viewer .sf-lightbox{background:#080808;color:#eee9df;border:0;margin:0;padding:16px;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;box-sizing:border-box}
.sf-viewer .sf-lightbox[open]{display:flex;flex-direction:column;align-items:center;gap:12px}
.sf-viewer .sf-lightbox::backdrop{background:#080808}
.sf-viewer .sf-lightbox-stage{flex:1;min-height:0;width:100%;display:flex;align-items:center;justify-content:center;touch-action:pan-y}
.sf-viewer .sf-lightbox-stage img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.sf-viewer .sf-lightbox [data-sf=close]{align-self:flex-end}
.sf-viewer .sf-lightbox .sf-controls{padding:4px}
html.sf-lightbox-open{overflow:hidden}
.sf-viewer .sf-thumbnails{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;width:100%;max-width:960px;margin:32px auto 0}
.sf-viewer button.sf-thumbnail{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;aspect-ratio:4/3;box-sizing:border-box;padding:8px!important;overflow:hidden;background:#101010!important;border:1px solid #39342c!important}
.sf-viewer .sf-thumbnail img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.sf-viewer button.sf-thumbnail[aria-pressed=true]{border-color:#d2b27c!important;box-shadow:inset 0 0 0 1px #d2b27c}
.sf-viewer button.sf-thumbnail:hover{border-color:#a5895d!important}
.sf-viewer .sf-empty{display:flex;align-items:center;justify-content:center;min-height:220px;padding:40px 20px;background:#080808;border-block:1px solid #39342c;text-align:center}
.sf-viewer .sf-empty p{font-family:Georgia,serif;font-size:clamp(22px,3vw,32px);color:#d3c9b7;margin:0}
.sf-viewer .sf-nojs{font-size:14px;text-align:center;padding:16px}
@media(max-width:1024px){.sf-viewer .sf-thumbnails{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:720px}}
@media(max-width:767px){.sf-viewer .sf-stage{height:55vh;height:55svh;min-height:240px}.sf-viewer .sf-controls{gap:10px;flex-wrap:wrap;padding:16px 8px}.sf-viewer button{padding:10px 12px}.sf-viewer .sf-lightbox{padding:12px}.sf-viewer .sf-thumbnails{gap:12px;margin-top:22px}.sf-viewer button.sf-thumbnail{padding:5px!important}.sf-viewer .sf-hero{scroll-margin-top:92px}}
@media(prefers-reduced-motion:reduce){.sf-viewer,.sf-viewer *{scroll-behavior:auto!important}}
