.story-refined .template-library{height:calc(100svh - 72px);aspect-ratio:auto;display:grid;place-items:center;scroll-margin-top:72px}
.story-refined #templates{scroll-margin-top:72px}
.story-ambient{position:absolute;inset:-35px;pointer-events:none;opacity:.7;filter:blur(28px)}
.story-ambient img{width:100%;height:100%;object-fit:cover;display:block}
.template-room{position:relative;width:min(100%,calc((100svh - 72px)*1.5));aspect-ratio:3/2;isolation:isolate;transform-origin:center}
.story-refined .template-wall .template-copy h2{font-size:clamp(13px,min(2.35vw,3.5svh),40px)}
@media(max-width:800px){
 .story-refined .template-library{height:auto;min-height:0;scroll-margin-top:62px}
 .story-refined #templates{scroll-margin-top:62px}
 .template-room{width:100%}
 .story-refined .template-wall .template-copy h2{font-size:clamp(12px,3.1vw,21px)}
}
