.story-doors{display:flex;align-items:flex-end;gap:22px;margin:38px 18px 24px 0;padding-right:14px;isolation:isolate}.story-demo-door{position:relative;flex:none;width:88px;height:106px;perspective:850px;transform:rotate(-5deg);z-index:3}.story-demo-door:nth-child(2){width:110px;height:132px;transform:rotate(3deg);z-index:2}.story-demo-door:nth-child(3){transform:rotate(-2deg);z-index:1}.story-demo-photo,.story-demo-cover{position:absolute;inset:0;width:100%;height:100%;padding:0;border-radius:45px 45px 5px 5px;cursor:pointer}.story-demo-photo{display:block;overflow:hidden;border:1px solid #9fb29f;background:#dce4d4;box-shadow:5px 5px 0 #dce4d4}.story-demo-photo img{display:block;width:100%;height:100%;object-fit:cover}.story-demo-photo:disabled{opacity:1;cursor:default}.story-demo-cover{border:1px dashed #fff9;background:#a8b9a6;color:#fff;font:italic 29px Georgia,serif;transform-origin:right center;transform-style:preserve-3d;transition:transform .65s ease-in-out;box-shadow:5px 5px 0 #dce4d4;z-index:1}.story-demo-door:nth-child(2) .story-demo-cover{background:var(--teal)}.story-demo-door:nth-child(3) .story-demo-cover{background:#c58f65}.story-demo-cover>span{display:block;backface-visibility:hidden;transform:translateZ(1px)}.story-demo-cover::after{content:'';position:absolute;inset:0;border-radius:inherit;background:linear-gradient(135deg,#bac9b1,#eef2e9);border:1px solid #9aaa91;backface-visibility:hidden;transform:rotateY(180deg)}.story-demo-door.open .story-demo-cover{transform:rotateY(100deg);box-shadow:none;pointer-events:none}.story-demo-number{position:absolute;bottom:7px;left:7px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fff;color:var(--ink);font:italic 15px Georgia,serif;box-shadow:0 1px 7px #0003}.story-demo-cover:focus-visible,.story-demo-photo:focus-visible{outline:3px solid #b76b40;outline-offset:5px}.login-story .story-demo-help{max-width:360px;font-size:12px;line-height:1.6;color:var(--muted);margin:0}
@media(max-width:780px){.story-doors{margin:28px 0 22px;gap:24px}.story-demo-door{width:76px;height:94px}.story-demo-door:nth-child(2){width:92px;height:112px}.login-story .story-demo-help{font-size:11px;margin-bottom:12px}}
@media(max-width:360px){.story-doors{gap:18px}.story-demo-door{width:66px;height:84px}.story-demo-door:nth-child(2){width:80px;height:100px}}
@media(prefers-reduced-motion:reduce){.story-demo-cover{transition:none}}

.story-full-demo { margin-top: 6px; gap: 12px; }
