.preview-page{background:#f6f3e9}.sample-nav{position:fixed;inset:0 0 auto;z-index:15;display:flex;align-items:center;justify-content:space-between;height:48px;padding:0 max(16px,4vw);background:#f7f4ebf7;border-bottom:1px solid #c5caba;color:#3d493c;font-size:13px}.sample-nav a{font-weight:600;text-underline-offset:4px}.sample-scroll{height:calc(100dvh + 240svh)}.sample-stage{position:sticky;top:0;height:100vh;height:100dvh;overflow:hidden;isolation:isolate}.sample-art,.sample-shade,.sample-world{position:absolute;inset:0;pointer-events:none}.sample-art{inset:48px 0 0;background:#e7dbbe}.sample-world{isolation:isolate;overflow:hidden;opacity:var(--alpha,0);visibility:hidden}.sample-world.visible{visibility:visible}.sample-shade{background:linear-gradient(180deg,#fff9e809 10%,transparent 61%,#24261c69);pointer-events:none}.sample-text{position:absolute;z-index:6;top:var(--wide-text-y,28%);left:50%;transform:translate(-50%,-50%);width:min(82%,880px);text-align:center;pointer-events:none;color:#422d27;text-shadow:0 1px 8px #fff2d8a3,0 1px 22px #fff3d7a3}.sample-text .eyebrow,.sample-text h1{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.sample-text #sample-line{font:400 clamp(30px,min(4.2vw,6.3vh),65px)/1.08 var(--serif);letter-spacing:-.043em;text-wrap:balance}.sample-text em{color:#773f35;font-weight:400}.sample-text #sample-line[data-long]{font-size:clamp(28px,min(3.65vw,5.5vh),53px)}.sample-stage[data-night] .sample-text{color:#fff4e3;text-shadow:0 2px 13px #1d2634e6,0 1px 4px #172331}.sample-stage[data-night] .sample-text em{color:#ffdfbf}.sample-stage[data-night] .sample-shade{background:linear-gradient(180deg,#121e3670 0%,#1920395c 27%,transparent 59%,#25251b55)}.sample-stage:not([data-night]) .sample-shade{background:linear-gradient(180deg,#fff2d866 5%,#fff4df44 24%,transparent 52%,#24261c55 100%)}.sample-stage .sfy-music-floating{top:60px;right:max(4vw,16px)}.sample-controls{position:absolute;z-index:8;bottom:max(13px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:9px;padding:5px 7px;background:#faf7eedf;border:1px solid #d1d3bf;border-radius:5px;color:var(--ink);white-space:nowrap;box-shadow:0 5px 16px #252c2826}.sample-controls button,.note-switch{border:0;color:var(--ink);background:none;font-size:14px;min-height:38px;padding:6px 10px}.sample-controls button:disabled{opacity:.38;cursor:default}.sample-controls .button{min-height:38px;font-size:14px;padding:7px 11px}.sample-controls #sample-dots{display:flex;gap:3px}.sample-controls #sample-dots i{width:5px;height:5px;border-radius:50%;background:#b4b7a7}.sample-controls #sample-dots i.active{background:var(--rust)}.note-switch{font-size:13px;text-decoration:underline;text-underline-offset:4px}.sample-note{position:absolute;z-index:7;bottom:77px;right:4vw;width:min(290px,30%);background:#f8f4e9ed url("grain.png");border-left:3px solid #a7755e;padding:12px 15px;box-shadow:0 3px 13px #292a181e}.sample-note p:first-child{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--rust);margin-bottom:6px}.sample-note p:last-child{font:400 17px/1.35 var(--serif)}.sample-stage .sfy-scroll-hint{bottom:77px}
@media(max-width:700px){.sample-nav{height:43px}.sample-art{inset:43px 0 0}.sample-text{top:var(--phone-text-y,29%);left:50%;width:89%}.sample-text #sample-line{font-size:clamp(27px,7.8vw,39px);line-height:1.08}.sample-text #sample-line[data-long]{font-size:clamp(25px,6.5vw,34px)}.sample-stage .sfy-music-floating{top:45px;right:12px}.sample-note{width:auto;right:5%;left:5%;bottom:70px;padding:8px 11px}.sample-note p:first-child{margin:0 0 3px}.sample-note p:last-child{font-size:15px}.sample-stage .sfy-scroll-hint{bottom:78px}}
@media(max-height:510px) and (orientation:landscape){.sample-text{top:28%;width:min(73%,650px)}.sample-text #sample-line,.sample-text #sample-line[data-long]{font-size:clamp(22px,5.5vh,31px)}.sample-note{max-width:32%;bottom:14px;left:auto}.sample-note p:last-child{font-size:13px}.sample-stage .sfy-music-floating{top:48px}.sample-controls{bottom:7px}.sample-stage .sfy-scroll-hint{bottom:58px}}
.sample-nav #sample-location{font-size:12px;color:#52604e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.sample-nav{gap:12px}.sample-nav .note-switch{white-space:nowrap}.sample-note{bottom:75px}.sample-stage[data-night] .sample-note{color:var(--ink)}
@media(max-width:600px){.sample-nav #sample-location{display:none}.sample-nav{justify-content:space-between}.sample-note{bottom:69px}}

@media(max-width:480px){.sample-controls{gap:3px;max-width:98%}.sample-controls button{padding:5px 6px;font-size:12px}.sample-controls .button{font-size:12px;padding:6px 8px}.sample-controls #sample-dots{display:none}.sample-nav .note-switch,.sample-nav a{font-size:12px}.sample-nav{gap:6px}}
/* The terrain, people, feet, seats and all attached furnishings travel on one
   camera. Only the crossfade crosses worlds; a floor never slides under a foot. */
.sample-camera{position:absolute;inset:0;overflow:hidden;transform-origin:50% 84%;transform:translate3d(var(--camera-x,0px),0,0) scale(1.012)}
.sample-sheet,.sample-sheet>img{position:absolute;inset:0;display:block;width:100%;height:100%}
.sample-sheet>img{object-fit:cover;object-position:var(--wide-focus,50% 50%)}
.sample-piece{display:block;position:absolute;max-width:none;height:auto;transform:translate(-50%,-100%)}
.sample-piece[data-anchor="top-left"]{transform:none}
.sample-piece[data-anchor="top-right"]{transform:translateX(-100%)}
.sample-photo-button{position:absolute;z-index:7;top:60px;left:max(16px,4vw);min-height:36px;border:1px solid #aa9f83;border-radius:22px;background:#fbf6e9ee;color:#44382c;padding:6px 13px;font:600 13px/1.2 var(--sans);box-shadow:0 2px 8px #2b261a18}
.sample-photo-button[hidden]{display:none}
.sample-photo-dialog{box-sizing:border-box;width:min(90vw,690px);max-height:92dvh;margin:auto;overflow:auto;padding:clamp(15px,2.7vw,28px);color:#44382c;border:1px solid #ad9877;border-left:8px double #bda98a;background:#f1e7d0 url("grain.png");box-shadow:0 12px 50px #1b1a1660;text-align:center}
.sample-photo-dialog::backdrop{background:#29291fe0}
.sample-photo-mount{margin:0}
.sample-photo-corners{display:inline-block;position:relative;max-width:100%;padding:8px;background:#fff9eb;box-shadow:0 2px 5px #3b312833;line-height:0}
.sample-photo-corners::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,#897c61 0 49%,transparent 50%) left top,linear-gradient(225deg,#897c61 0 49%,transparent 50%) right top,linear-gradient(45deg,#897c61 0 49%,transparent 50%) left bottom,linear-gradient(315deg,#897c61 0 49%,transparent 50%) right bottom;background-size:19px 19px;background-repeat:no-repeat}
.sample-photo-corners img{display:block;width:auto;max-width:100%;height:auto;max-height:60dvh;object-fit:contain}
.sample-photo-mount figcaption{margin:10px 0;font:italic clamp(23px,3.8vw,33px)/1.1 var(--serif)}
.sample-photo-close{color:#4e463b;background:none;border:0;text-decoration:underline;text-underline-offset:4px;min-height:40px;padding:6px 12px;font:500 14px var(--sans)}
@media(max-aspect-ratio:1/1){.sample-sheet>img{object-position:var(--phone-focus,50% 50%)}}
@media(max-width:700px){.sample-photo-button{top:49px;left:12px;min-height:32px;font-size:12px}}
@media(max-height:510px) and (orientation:landscape){.sample-photo-button{top:49px;min-height:29px;font-size:12px}.sample-photo-dialog{max-height:96dvh}.sample-photo-corners img{max-height:46dvh}}
@media(prefers-reduced-motion:reduce){.sample-camera{transform:none}}

.sample-stage[data-daylight] .sample-shade{background:radial-gradient(ellipse 58% 28% at 50% var(--reading-light-y,var(--wide-text-y,21%)),#fff0d8b8 0%,#fff1db73 49%,transparent 100%),linear-gradient(180deg,#fff2d850 5%,transparent 54%,#24261c55 100%)}
@media(max-width:700px){.sample-stage[data-daylight] .sample-shade{--reading-light-y:var(--phone-text-y,21%);background-size:140% 100%,100% 100%;background-position:center}}

.full-preview{height:100dvh;overflow:hidden}.full-preview #story-experience{position:fixed;inset:48px 0 0;width:100%;height:calc(100dvh - 48px);border:0;background:#f8ead5;display:block}.full-preview .sample-nav>span{max-width:60%;text-align:right;font-size:12px}@media(max-width:640px){.full-preview .sample-nav>span{font-size:10px;line-height:1.3}}
.preview-nav-options{display:flex;align-items:center;gap:20px}.preview-nav-options button{border:1px solid #b8c0ad;border-radius:20px;background:#edf0e4;color:#4d5b42;padding:6px 12px;font:500 11px system-ui;cursor:pointer}.preview-nav-options button[aria-pressed=false]{background:transparent}.full-preview .preview-nav-options>span{font-size:11px}@media(max-width:640px){.preview-nav-options{gap:6px}.full-preview .preview-nav-options>span{display:none}.preview-nav-options button{font-size:10px;padding:6px 9px}}

.full-preview .preview-nav-options{min-width:0;flex-wrap:wrap;justify-content:flex-end;column-gap:16px;row-gap:2px}.full-preview .preview-nav-options .personalization-note{color:#52604e;font-size:11px;line-height:1.25;text-align:right}.full-preview .sample-nav .sample-exit{flex-shrink:0}
@media(max-width:640px){.full-preview .preview-nav-options .personalization-note{display:block;max-width:220px;font-size:10px}}
