.shrine-entrance{z-index:1100;color:#fff2df;background:#080707;outline:0;place-items:center;font-family:MaruBuri,Batang,serif;display:grid;position:fixed;inset:0;overflow:hidden}.shrine-stage{isolation:isolate;width:100%;max-width:760px;height:100%;background:#18100e;height:100dvh;position:relative;overflow:hidden;box-shadow:0 0 110px #000}.shrine-stage :is(a,button){-webkit-tap-highlight-color:transparent;touch-action:manipulation}.shrine-stage button{cursor:pointer}.shrine-stage :is(a,button):focus-visible{outline-offset:4px;outline:2px solid #f6d3a1}.shrine-replay:focus-visible{outline-offset:4px;outline:2px solid #f6d3a1}.shrine-room,.shrine-depth,.shrine-host,.shrine-doorway,.shrine-vignette{pointer-events:none;-webkit-user-select:none;user-select:none;position:absolute}.shrine-room{filter:brightness(.7);background:#291c16 url(/images/immersion-v2/shrine-room.webp) 50% 48%/cover no-repeat;transition:transform 1.6s cubic-bezier(.22,.75,.26,1),filter 1.4s;inset:0;transform:scale(1)}.shrine-depth{background:linear-gradient(#110b0952,#0000 32% 60%,#0e090c);inset:0}.shrine-host{aspect-ratio:1;z-index:3;opacity:1;filter:drop-shadow(0 12px 18px #0006);width:94%;max-width:580px;transition:opacity .35s,transform .7s cubic-bezier(.2,.7,.2,1);bottom:26%;left:50%;transform:translate(-50%)}.shrine-host-sprite{transform-origin:50% 90%;background-image:url(/images/immersion-v2/upwang-poses.webp);background-position:0 0;background-repeat:no-repeat;background-size:200% 200%;width:100%;height:100%}.shrine-host[data-pose=glasses] .shrine-host-sprite{background-position:0 0;animation:.6s ease-out both shrine-eye-contact}.shrine-host[data-pose=invite] .shrine-host-sprite{background-position:100% 0}.shrine-host[data-pose=ledger] .shrine-host-sprite{background-position:0 100%;animation:.55s ease-out both shrine-ledger-turn}.shrine-host[data-pose=beckon] .shrine-host-sprite{background-position:100% 100%;animation:.65s cubic-bezier(.2,.7,.2,1) both shrine-welcome}.shrine-host>img{object-fit:contain;border-radius:30%;width:100%;height:100%}.shrine-vignette{z-index:4;background:linear-gradient(#050403b0 0,#0000 20% 43%,#0d080bc4 73%,#0d080b 100%);inset:0}.shrine-doorway{perspective:1200px;z-index:2;filter:drop-shadow(0 0 15px #000b);transition:opacity .45s .9s;inset:-2%}.shrine-door{-webkit-backface-visibility:hidden;backface-visibility:hidden;will-change:transform;background:linear-gradient(90deg,#37201c,#100b0a 7%,#2a1916 12%,#211511 88%,#0d0807 94%,#513029);border:6px solid #211410;width:50%;transition:transform 1.3s cubic-bezier(.24,.6,.18,1);position:absolute;top:0;bottom:0;overflow:hidden}.shrine-door-left{transform-origin:0;left:0}.shrine-door-right{transform-origin:100%;right:0}.shrine-lattice{background:repeating-linear-gradient(0deg,#0000 0 43px,#27150f 44px,#4e3021 47px,#160b07 51px),repeating-linear-gradient(90deg,#0000 0 37px,#27150f 38px,#543626 41px,#170c07 45px),radial-gradient(#ae815159,#6d493926 70%,#281b16);border:9px ridge #3b231c;position:absolute;inset:10% 10% 27%;box-shadow:inset 0 0 45px #170b09}.shrine-handle{border:4px solid #977244;border-radius:50%;width:27px;height:38px;position:absolute;top:53%;box-shadow:0 3px 9px #0009}.shrine-door-left .shrine-handle{right:10px}.shrine-door-right .shrine-handle{left:10px}.shrine-door-plaque{color:#dec5a0;writing-mode:vertical-rl;background:#1c1411;border:1px solid #7c5941;padding:10px 13px;font:40px/1.2 Yeongwol,serif;transition:opacity .2s;position:absolute;top:12%;left:50%;transform:translate(-50%);box-shadow:0 3px 18px #0008}.shrine-toolbar{inset:max(14px,env(safe-area-inset-top)) 18px auto;z-index:6;justify-content:space-between;align-items:center;display:flex;position:absolute}.shrine-toolbar>a,.shrine-toolbar>button{color:#f9e8d1;background:#100c0aa3;border:1px solid #eed2b32a;border-radius:50%;place-items:center;width:44px;height:44px;display:grid}.shrine-toolbar>span{letter-spacing:.08em;text-shadow:0 2px 12px #000;font:28px/1 Yeongwol,serif}.shrine-skip{right:20px;top:calc(max(14px,env(safe-area-inset-top)) + 55px);z-index:6;color:#efdfca;background:#170e0cd6;border:1px solid #efd7b24f;border-radius:20px;align-items:center;gap:7px;padding:9px 12px;font-size:12px;display:flex;position:absolute}.shrine-threshold{inset:auto 26px max(28px,env(safe-area-inset-bottom));z-index:5;text-align:center;transition:opacity .25s,transform .5s;position:absolute}.shrine-eyebrow{color:#dfb68b;letter-spacing:.08em;font-size:12px}.shrine-threshold h1{text-shadow:0 3px 20px #000;margin:12px 0;font:clamp(35px,8vw,48px)/1.25 Yeongwol,serif}.shrine-threshold p{color:#f1dfca;margin:0 0 22px;font-size:14px;line-height:1.8}.shrine-threshold small{color:#c6b5a1;margin-top:13px;font-size:11px;line-height:1.6;display:block}.shrine-primary{color:#fff6e9;background:#a34333;border:1px solid #df8e68;border-radius:5px;justify-content:center;align-items:center;gap:12px;width:100%;min-height:54px;padding:15px 17px;font:600 16px/1.55 MaruBuri,Batang,serif;transition:background .2s,border-color .2s;display:flex;box-shadow:0 5px 20px #0c060960}.shrine-primary:hover:not(:disabled){background:#b6533e;border-color:#ffbc87}.shrine-primary:disabled{cursor:progress;opacity:.7}.shrine-primary>svg{flex:none}.shrine-secondary{color:#e8d6bd;background:#211711e8;border:1px solid #b5967266;border-radius:5px;width:100%;min-height:46px;padding:10px 14px;font-size:14px;line-height:1.6}.shrine-secondary:hover{background:#36251b}.shrine-conversation{z-index:5;padding:22px 26px max(25px,env(safe-area-inset-bottom));background:linear-gradient(#0000,#110b0bf2 15%,#110b0b);animation:.4s ease-out shrine-dialogue;position:absolute;bottom:0;left:0;right:0}.shrine-speech{padding:0 2px 19px;position:relative}.shrine-speaker{color:#f2bf85;letter-spacing:.05em;background:linear-gradient(90deg,#4b2f23,#0000);border-left:2px solid #d67c53;margin-bottom:9px;padding:3px 10px;font-size:13px;display:inline-block}.shrine-speech h1{color:#fff4e2;letter-spacing:-.02em;word-break:keep-all;margin:0 0 10px;font:clamp(28px,6.6vw,38px)/1.35 Yeongwol,serif}.shrine-speech p{color:#e3d4c6;word-break:keep-all;overflow-wrap:anywhere;max-width:540px;margin:0;font-size:15px;line-height:1.8}.shrine-choices{flex-direction:column;gap:9px;display:flex}.shrine-replay{color:#d4bc9d;cursor:pointer;background:#141110;border:0;border-top:1px solid #493b2c;justify-content:center;align-items:center;gap:9px;width:100%;padding:24px;font-size:13px;display:flex}.shrine-entrance:not([data-scene=door]) .shrine-door-left{transform:rotateY(-106deg)}.shrine-entrance:not([data-scene=door]) .shrine-door-right{transform:rotateY(106deg)}.shrine-entrance:not([data-scene=door]) .shrine-door-plaque{opacity:0}.shrine-entrance:not([data-scene=door]) .shrine-room{filter:brightness(.95);transform:scale(1.17)}.shrine-entrance:not([data-scene=door]) .shrine-doorway{opacity:0}.shrine-entrance[data-scene=opening] .shrine-host{opacity:0;transform:translate(-50%,-7%)scale(.82)}.shrine-entrance[data-scene=opening] .shrine-threshold{opacity:0;transform:translateY(20px)}.shrine-entrance[data-scene=explanation] .shrine-room{transform:scale(1.2)translateY(-1%)}@keyframes shrine-eye-contact{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:none}}@keyframes shrine-welcome{0%{opacity:0;transform:translate(25px)scale(.95)}to{opacity:1;transform:none}}@keyframes shrine-ledger-turn{0%{opacity:.3;transform:translateY(8px)rotate(-1deg)}to{opacity:1;transform:none}}@keyframes shrine-dialogue{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@media (min-width:800px){.shrine-stage{border-inline:1px solid #a7895b28}.shrine-host{width:76%;max-width:520px;bottom:25%}.shrine-conversation{padding-inline:48px}.shrine-threshold{left:48px;right:48px}.shrine-speech h1{font-size:37px}}@media (max-height:740px){.shrine-host{width:80%;max-width:430px;bottom:30%}.shrine-speech h1{margin-bottom:7px;font-size:27px}.shrine-speech p{font-size:14px;line-height:1.65}.shrine-conversation{padding:14px 22px max(18px,env(safe-area-inset-bottom))}.shrine-speech{padding-bottom:13px}.shrine-primary{min-height:48px;padding:11px 14px}.shrine-secondary{min-height:42px;padding:8px 12px}.shrine-choices{gap:7px}.shrine-threshold{bottom:22px}.shrine-threshold h1{font-size:35px}.shrine-threshold p{margin-bottom:17px}}@media (max-height:540px){.shrine-stage{height:100%;min-height:0;overflow-y:auto}.shrine-conversation,.shrine-threshold{margin-top:235px;position:relative;inset:auto}.shrine-threshold{padding:20px}.shrine-host{width:300px;top:15px;bottom:auto}.shrine-room,.shrine-depth,.shrine-vignette,.shrine-doorway{max-width:none;min-height:680px;position:absolute;inset:0}.shrine-room{width:100%;height:100%}.shrine-entrance:not([data-scene=door]) .shrine-room{transform:scale(1.05)}}@media (prefers-reduced-motion:reduce){.shrine-entrance *,.shrine-entrance :before,.shrine-entrance :after{transition:none!important;animation:none!important}.shrine-entrance:not([data-scene=door]) .shrine-doorway{display:none}}
