/* A quiet picture viewer: original ratios, touch-friendly controls, blush paper. */
.sfw-folio-gallery{min-width:0;width:100%}.sfw-folio-gallery__stage{display:grid;place-items:center;width:100%;height:min(58dvh,640px);overflow:hidden;background:#fff5f9;border:1px solid #d5bbc8;border-radius:8px;touch-action:pan-y;box-sizing:border-box}.sfw-folio-gallery__stage img{display:block;width:100%;height:100%;min-height:0;object-fit:contain;max-width:100%;max-height:100%}.sfw-folio-gallery__fallback{display:grid;place-content:center;min-height:120px;padding:24px;text-align:center;font:400 14px/1.7 var(--font-body,system-ui);color:#4f4f4f}.sfw-folio-gallery__controls{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:12px 0 6px}.sfw-folio-gallery .sfw-folio-gallery__count{margin:0;font:500 12px/1.6 var(--font-body,system-ui);color:#4a4a4a;font-variant-numeric:tabular-nums}.sfw-folio-gallery__arrows{display:flex;gap:7px}.sfw-folio-gallery .sfw-folio-gallery__arrows button{display:grid;place-content:center;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #282828;border-radius:50%;background:#fff;color:#282828;font-size:19px;box-shadow:none;cursor:pointer}.sfw-folio-gallery .sfw-folio-gallery__arrows button:hover{background:#f7bed5}.sfw-folio-gallery__thumbnails{position:relative;display:flex;gap:9px;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;padding:5px 3px 10px;scrollbar-width:thin;scrollbar-color:#c5789a transparent}.sfw-folio-gallery .sfw-folio-gallery__thumbnails button{flex:0 0 74px;width:74px;height:74px;padding:3px;border:1px solid #cdb5c1;border-radius:6px;background:#fff;box-shadow:none;overflow:hidden;cursor:pointer}.sfw-folio-gallery .sfw-folio-gallery__thumbnails button[aria-pressed=true]{border:2px solid #656565;background:#f7bed5;padding:2px;box-shadow:0 0 0 2px #fce4ed}.sfw-folio-gallery__thumbnails img{display:block;width:100%;height:100%;object-fit:cover;border-radius:2px}.sfw-folio-gallery button:focus-visible,.sfw-folio-gallery__stage:focus-visible{outline:3px solid #656565;outline-offset:3px}.sfw-folio-gallery [hidden]{display:none!important}.sfw-item-card[data-kind=world] .sfw-item-card__image-link,.sfw-item-card[data-kind=house] .sfw-item-card__image-link{aspect-ratio:8/5}.sfw-item-card[data-kind=world] .sfw-item-card__image-link img{object-position:center}.sfw-item-dialog.sfw-item-dialog--world{width:min(1280px,calc(100vw - 32px))}.sfw-item-dialog--world .sfw-item-dialog__body{grid-template-columns:minmax(0,1.8fr) minmax(250px,1fr)}
@media(max-width:680px){.sfw-folio-gallery__stage{height:min(51dvh,490px)}.sfw-folio-gallery .sfw-folio-gallery__thumbnails button{flex-basis:64px;width:64px;height:64px}.sfw-item-dialog--world .sfw-item-dialog__body{grid-template-columns:minmax(0,1fr)}}
@media(forced-colors:active){.sfw-folio-gallery .sfw-folio-gallery__thumbnails button[aria-pressed=true]{outline:2px solid Highlight;outline-offset:2px}}

/* A world is one continuous picture folio. Normal vertical scrolling stays native. */
.sfw-long-gallery{box-sizing:border-box;min-width:0;width:100%;max-width:100%}
.sfw-long-gallery__heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 20px;margin:0 0 20px;padding:0 0 17px;border-bottom:1px solid #d5bbc8}
.sfw-long-gallery__count{grid-column:1;margin:0;font:600 12px/1.6 var(--font-body,system-ui);color:#3c3c3c}
.sfw-long-gallery__hint{grid-column:1;margin:0;font:400 12px/1.7 var(--font-body,system-ui);color:#606060}
.sfw-long-gallery__jump{grid-column:2;grid-row:1/3;min-width:0;max-width:100%;min-height:44px;padding:9px 35px 9px 13px;border:1px solid #878787;border-radius:6px;background:#fff8fc;color:#363636;font:500 12px/1.5 var(--font-body,system-ui)}
.sfw-long-gallery__jump:focus-visible{outline:3px solid #656565;outline-offset:3px}
.sfw-long-gallery__pictures{display:grid;grid-template-columns:minmax(0,1fr);gap:25px;min-width:0;width:100%}
.sfw-long-gallery .sfw-long-gallery__picture{display:block;width:100%;max-width:none;min-width:0;margin:0;padding:0;scroll-margin-top:120px;background:#fff;border:1px solid #ba96aa;border-radius:7px;overflow:hidden}
.sfw-long-gallery .sfw-long-gallery__picture>img{display:block;width:100%;height:auto!important;max-width:100%;max-height:none!important;object-fit:contain;object-position:center;transform:none}
.sfw-long-gallery .sfw-long-gallery__picture>img:not([width]){aspect-ratio:auto 4/3}
.sfw-long-gallery__caption{margin:0;padding:13px 16px;border-top:1px solid #e3cad6;background:#fff8fc;color:#5b5b5b;font:400 11px/1.7 var(--font-body,system-ui);overflow-wrap:anywhere}
body .sfw-item-dialog.sfw-item-dialog--world .sfw-item-dialog__body{display:grid;grid-template-columns:minmax(0,1fr)}
body .sfw-item-dialog.sfw-item-dialog--world .sfw-item-gallery{min-width:0;width:100%;box-sizing:border-box}
body .sfw-item-dialog.sfw-item-dialog--world .sfw-item-detail-copy{max-width:76ch}
@media(max-width:680px){.sfw-long-gallery__heading{grid-template-columns:minmax(0,1fr);gap:7px;margin-bottom:16px}.sfw-long-gallery__jump{grid-column:1;grid-row:auto;width:100%;margin-top:5px}.sfw-long-gallery__pictures{gap:19px}.sfw-long-gallery__caption{padding:12px;font-size:10px}.sfw-long-gallery .sfw-long-gallery__picture{scroll-margin-top:135px}}
