/* Five story worlds, made from generated atmosphere plates and isolated props. */
.story-scene{position:absolute;inset:0;isolation:isolate;overflow:hidden;container-type:size;perspective:1100px;pointer-events:none;--st-size:min(430px,91cqw,58cqh);--st-center:56%;--st-light:#f8dfac;--st-world-mask:#111c38}
.st-world,.st-scrim{position:absolute;inset:0;pointer-events:none}
.st-world{z-index:0;background-size:cover;background-position:50% 50%;opacity:.88;transform:scale(1.05);will-change:transform,opacity}
.st-scrim{z-index:1;background:linear-gradient(180deg,var(--stage-bg) 0%,color-mix(in srgb,var(--stage-bg) 84%,transparent) 20%,transparent 40%,transparent 67%,color-mix(in srgb,var(--stage-bg) 84%,transparent) 89%,var(--stage-bg));opacity:.9}
.story-scene .art-crop{position:absolute;left:50%;top:50%;display:block;transform:translate(-50%,-50%);background-repeat:no-repeat}
.st-part{position:absolute;left:50%;top:var(--st-center);width:var(--st-size);height:var(--st-size);transform:translate(-50%,-50%);pointer-events:none;transform-style:preserve-3d;will-change:transform,opacity;filter:drop-shadow(0 18px 18px #0003)}
.st-main{z-index:8;background:none;border:0;padding:0;cursor:pointer;pointer-events:auto;outline-offset:4px;border-radius:40%;backface-visibility:hidden}
.st-main:disabled{cursor:default;pointer-events:none}.st-main:focus-visible{outline:2px solid var(--stage-accent)}
.st-ticket-trigger{border:0;padding:0;background:none;cursor:pointer;pointer-events:auto;outline-offset:3px;border-radius:18px}.st-ticket-trigger:focus-visible{outline:2px solid var(--stage-accent)}.st-ticket-trigger:disabled{pointer-events:none;cursor:default}
.st-main>.art-crop{animation:st-hover 6s ease-in-out infinite}
.st-body,.st-lid,.st-extra-a,.st-extra-b,.st-decor{opacity:0;z-index:4}
/* Keep the original work above moving props; hollow frames remain visible outside its bounds. */
.st-portrait{position:absolute;z-index:11;left:50%;top:var(--st-center);width:min(320px,76cqw);height:min(424px,55cqh);margin:0;padding:10px;background:#faf4e6;box-sizing:border-box;box-shadow:0 18px 70px #0005,0 1px 0 #ffffff50;opacity:0;transform:translate(-50%,-50%);transform-style:preserve-3d;backface-visibility:hidden;will-change:transform,opacity,clip-path}
.st-portrait img{display:block;width:100%;height:calc(100% - 21px);object-fit:contain;object-position:center;user-select:none;-webkit-user-drag:none}
.st-portrait figcaption{height:21px;display:flex;align-items:flex-end;justify-content:center;font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:12px;color:#33404a;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st-phase{position:absolute;z-index:10;left:24px;right:24px;bottom:16.5%;margin:0;text-align:center;font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:12px;line-height:1.5;color:var(--stage-ink);text-shadow:0 1px 18px var(--stage-bg);opacity:.85}
.st-flash{position:absolute;z-index:5;left:50%;top:var(--st-center);width:min(650px,130cqw);height:min(650px,85cqh);transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(ellipse,#fff9e9d9 0%,color-mix(in srgb,var(--st-light) 65%,transparent) 25%,transparent 67%);opacity:0;pointer-events:none;will-change:transform,opacity}
.st-tunnel{position:absolute;z-index:3;left:50%;top:var(--st-center);width:min(560px,120cqw);height:min(560px,78cqh);transform:translate(-50%,-50%);border-radius:50%;background:repeating-radial-gradient(ellipse,transparent 0 38px,#eacb982c 39px 41px,transparent 43px 79px);opacity:0;will-change:transform,opacity}
.st-exhaust{position:absolute;z-index:3;left:50%;top:66%;width:70px;height:200px;transform:translate(-50%,-50%);transform-origin:50% 0;background:radial-gradient(ellipse at 50% 0,#fff9de 0%,#ffd494a3 25%,#efb47835 45%,transparent 68%);filter:blur(5px);opacity:0;will-change:transform,opacity}
.st-orbit{position:absolute;left:50%;top:var(--st-center);z-index:2;width:min(470px,110cqw);height:min(470px,67cqh);border:1px solid #f1d8ae30;border-radius:50%;transform:translate(-50%,-50%) rotateX(68deg) rotate(-22deg);opacity:0}
.st-rays,.st-bubbles{position:absolute;inset:0;z-index:3;pointer-events:none}.st-ray{position:absolute;left:50%;top:55%;width:1px;height:45px;transform-origin:50% 0;background:linear-gradient(transparent,#eee7d9);opacity:0;will-change:transform,opacity}
.st-bubble{position:absolute;display:block;border:1px solid #d4f4ee75;background:#e8fff20c;box-shadow:inset 1px 1px 3px #fff5;border-radius:50%;opacity:0;will-change:transform,opacity}
.st-ticket-stamp{position:absolute;z-index:9;left:50%;top:50%;padding:8px 12px;border:2px solid #8c3c43;border-radius:3px;color:#8c3c43;font:700 10px Arial,Helvetica,sans-serif;letter-spacing:2px;transform:translate(-50%,-50%) rotate(-14deg);opacity:0;pointer-events:none}
.story-scene.is-playing .st-main>.art-crop,.story-scene.is-revealed .st-main>.art-crop{animation:none}
.story-scene.is-revealed .st-part,.story-scene.is-revealed .st-portrait,.story-scene.is-revealed .st-flash,.story-scene.is-revealed .st-tunnel,.story-scene.is-revealed .st-exhaust,.story-scene.is-revealed .st-orbit,.story-scene.is-revealed .st-phase,.story-scene.is-revealed .st-ticket-stamp,.story-scene.is-revealed .st-rays,.story-scene.is-revealed .st-bubbles{visibility:hidden!important;pointer-events:none!important}
.story-scene.is-revealed .st-world{opacity:.45;transform:scale(1.05);will-change:auto}.story-scene.is-revealed .st-scrim{opacity:.92}

.st-cosmos{--st-light:#f5d5ac}.st-cosmos .st-main{width:calc(var(--st-size)*.78);height:calc(var(--st-size)*.92);transform:translate(-50%,-50%) rotate(7deg) scale(.8)}
.st-cosmos .st-body{width:calc(var(--st-size)*1.3);height:calc(var(--st-size)*1.3)}.st-cosmos .st-lid{width:calc(var(--st-size)*1.35);height:calc(var(--st-size)*1.35)}.st-cosmos .st-orbit{opacity:.5}
.st-cosmos .st-portrait{border:1px solid #d4b784;padding:8px;background:#f6ead6}.st-cosmos .st-decor{width:calc(var(--st-size)*.5);height:calc(var(--st-size)*.5)}

.st-tarot{--st-size:min(370px,86cqw,53cqh);--st-light:#ddc198}.st-tarot .st-main{transform:translate(-50%,-50%) scale(.83)}
.st-tarot .st-extra-a{z-index:6;opacity:.85;transform:translate(-93%,-43%) rotate(-17deg) scale(.75)}.st-tarot .st-extra-b{z-index:6;opacity:.85;transform:translate(-7%,-43%) rotate(17deg) scale(.75)}
.st-tarot .st-body{z-index:8;width:calc(var(--st-size)*1.22);height:calc(var(--st-size)*1.22);filter:drop-shadow(0 0 13px #e6c99740)}.st-tarot .st-portrait{background:#f8efd9;border:1px solid #ba945f;padding:11px;width:min(288px,69cqw);height:min(420px,54cqh)}.st-tarot .st-portrait figcaption{font-family:Arial,Helvetica,sans-serif;font-size:8px;letter-spacing:3px;font-style:normal;font-weight:600;color:#6d5436}
.st-tarot .st-main,.st-tarot .st-extra-a,.st-tarot .st-extra-b{filter:drop-shadow(0 20px 17px #0d081d66)}

.st-earthcore{--st-light:#edac64}.st-earthcore .st-world{background-position:50% 65%}.st-earthcore .st-main{transform:translate(-50%,-50%) scale(.88);filter:drop-shadow(0 0 17px #efa34a22) drop-shadow(0 20px 14px #0006)}.st-earthcore .st-extra-a,.st-earthcore .st-extra-b{z-index:9}.st-earthcore .st-body,.st-earthcore .st-lid{z-index:8;width:calc(var(--st-size)*1.1);height:calc(var(--st-size)*1.1)}.st-earthcore .st-portrait{background:#f4e7cf;border:1px solid #c99e5c}.st-earthcore .st-decor{z-index:8;width:calc(var(--st-size)*.62);height:calc(var(--st-size)*.62)}

.st-ocean{--st-light:#afefdf}.st-ocean .st-main{width:calc(var(--st-size)*.76);height:var(--st-size);transform:translate(-50%,-50%) rotate(-10deg) scale(.82);filter:drop-shadow(0 16px 22px #03293280)}
.st-ocean .st-lid{opacity:.7;z-index:6;transform:translate(-113%,-80%) scale(.45);filter:drop-shadow(0 0 12px #9ffff148)}.st-ocean .st-body{width:calc(var(--st-size)*1.12);height:calc(var(--st-size)*1.12)}.st-ocean .st-decor,.st-ocean .st-extra-a{width:calc(var(--st-size)*.7);height:calc(var(--st-size)*.7)}.st-ocean .st-portrait{background:#faf0df;border:1px solid #dacaa5;transform-origin:50% 100%}.st-ocean .st-scrim{background:linear-gradient(180deg,var(--stage-bg),color-mix(in srgb,var(--stage-bg) 80%,transparent) 22%,transparent 39%,transparent 67%,var(--stage-bg))}

.st-dreamtrain{--st-light:#f3ddba}.st-dreamtrain .st-main{width:calc(var(--st-size)*1.24);height:var(--st-size);top:62%;opacity:.7;transform:translate(-125%,-5%) scale(.65);filter:drop-shadow(0 18px 16px #291d3b30)}
.st-dreamtrain .st-lid{z-index:7;opacity:1;transform:translate(-50%,-63%) rotate(-9deg) scale(.64);filter:drop-shadow(0 16px 18px #4c2d3930)}.st-dreamtrain .st-body{z-index:8;height:calc(var(--st-size)*1.28);width:calc(var(--st-size)*1.28)}.st-dreamtrain .st-extra-a,.st-dreamtrain .st-extra-b,.st-dreamtrain .st-decor{filter:none}.st-dreamtrain .st-portrait{background:#f4e9d3;border:1px solid #a98551}.st-dreamtrain .st-scrim{background:linear-gradient(180deg,var(--stage-bg),color-mix(in srgb,var(--stage-bg) 75%,transparent) 23%,transparent 40%,transparent 68%,var(--stage-bg))}

@keyframes st-hover{0%,100%{transform:translate(-50%,-50%) rotate(-1deg)}50%{transform:translate(-50%,-52%) rotate(1deg)}}
@media(max-width:760px){.story-scene{--st-size:min(394px,92cqw,56cqh);--st-center:56%}.st-portrait{width:min(290px,76cqw);height:min(396px,54cqh)}.st-tarot{--st-size:min(340px,83cqw,51cqh)}.st-tarot .st-portrait{width:min(270px,70cqw);height:min(389px,53cqh)}.st-phase{font-size:11px;bottom:17%}.st-ticket-stamp{font-size:8px;padding:7px 9px}}
.phone-mode .story-scene{--st-size:min(394px,92cqw,56cqh)}.phone-mode .st-tarot{--st-size:min(340px,83cqw,51cqh)}.phone-mode .st-portrait{width:min(292px,76cqw);height:min(396px,54cqh)}.phone-mode .st-tarot .st-portrait{width:min(270px,70cqw);height:min(389px,53cqh)}
@media(prefers-reduced-motion:reduce){.st-main>.art-crop{animation:none!important}.st-part,.st-world,.st-portrait,.st-flash,.st-tunnel,.st-exhaust,.st-ray,.st-bubble{will-change:auto}}
