.puppet-page{position:fixed;inset:0;z-index:1000;width:100vw;height:100vh;height:100svh;min-height:0;padding:0;overflow:hidden;background:#efe7d5}body:has(.puppet-page) .site-footer,body:has(.puppet-page) .site-header{display:none}.puppet-wrap{position:relative;width:100%;height:100%;overflow:hidden;background:#efe7d5}.puppet-logo{position:absolute;z-index:20;left:clamp(14px,2vw,30px);top:clamp(12px,2vh,24px);display:block;width:clamp(112px,14vw,178px);height:auto;filter:drop-shadow(0 1px 2px #fff9)}.puppet-logo img{display:block;width:100%;height:auto;object-fit:contain}.puppet-intro{display:none}.puppet-controls{position:absolute;z-index:20;top:clamp(12px,2vh,24px);display:flex;align-items:center;justify-content:flex-end;gap:12px;max-width:min(60vw,620px)}.puppet-start{border:1px solid #51483b;background:#fff9ebed;color:#3e3a31;padding:10px 15px;font-size:10px;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;box-shadow:0 2px 8px #40351e20;backdrop-filter:blur(5px)}.puppet-start:hover{background:#f4efdc}.puppet-start:disabled{opacity:.55;cursor:wait}.puppet-status{font-size:11px;color:#514b40;min-height:1em;text-align:right;text-shadow:0 1px 6px #fff;max-width:360px}.puppet-stage{position:absolute;inset:0;width:100%;height:100%;min-height:0;overflow:hidden;isolation:isolate;border:0;background:#f3e8d3;--companion-scale:.76}.puppet-sky{z-index:0;background:url(/art/puppet-sky-watercolor-v2.perf.webp) 50%/100% 100% no-repeat}.puppet-landscape,.puppet-sky{position:absolute;inset:0;pointer-events:none}.puppet-landscape{z-index:2;background:url(/art/puppet-landscape-watercolor-v2.perf.webp) 50%/100% 100% no-repeat}.puppet-colossus{position:absolute;z-index:1;left:50%;top:-13%;width:min(88vw,88svh,1000px);height:min(132svh,1320px);transform:translateX(-50%);transform-style:preserve-3d;opacity:.28;filter:blur(2px) saturate(.72);mix-blend-mode:multiply;pointer-events:none;transition:opacity .8s;overflow:hidden}.puppet-colossus-part{position:absolute;inset:0;background:url(/art/puppet-colossus-user-v1.perf.webp) top/100% 100% no-repeat;will-change:transform}.puppet-colossus-torso{z-index:1;transform-origin:50% 38.5%;mask:url(/art/puppet-colossus-torso-mask.svg) center/100% 100% no-repeat;-webkit-mask:url(/art/puppet-colossus-torso-mask.svg) center/100% 100% no-repeat}.puppet-colossus-head{z-index:2;transform-origin:50% 38.5%;mask:url(/art/puppet-colossus-head-mask.svg) center/100% 100% no-repeat;-webkit-mask:url(/art/puppet-colossus-head-mask.svg) center/100% 100% no-repeat}.puppet-colossus-hand{position:absolute;z-index:1;width:min(14.44vw,19.76vh,197.6px);aspect-ratio:4/5;opacity:.46;filter:blur(1px) saturate(.8);mix-blend-mode:multiply;pointer-events:none;will-change:left,top,transform}.puppet-colossus-hand-left{left:41%}.puppet-colossus-hand-left,.puppet-colossus-hand-right{top:36%;background:url(/art/puppet-colossus-palm-left-v1.perf.webp) 50%/contain no-repeat}.puppet-colossus-hand-right{left:59%;transform:translate(-50%,-48%) scaleX(-1)}.puppet-ground{width:100%;height:19%;background:url(/art/puppet-theatre-watercolor-v1.perf.webp) bottom/100% 520% no-repeat}.puppet-floor-collider,.puppet-ground{position:absolute;z-index:3;bottom:0;left:0}.puppet-floor-collider{right:0;top:81%;clip-path:polygon(0 12%,50% 0,100% 12%,100% 100%,0 100%);pointer-events:none}.puppet-proscenium{z-index:8;background:url(/art/puppet-proscenium-watercolor-v2.perf.webp) 50%/100% 100% no-repeat}.puppet-proscenium,.puppet-shadow{position:absolute;inset:0;pointer-events:none}.puppet-shadow{z-index:2;width:100%;height:100%;opacity:.6;clip-path:ellipse(18% 20% at calc(50% + var(--head-shadow-x,0px)) calc(19% + var(--head-shadow-y,0px)))}.puppet-strings{position:absolute;inset:0;z-index:4;width:100%;height:100%;overflow:visible;pointer-events:none;opacity:0;transition:opacity .3s}.puppet-stage[data-tracking=on] .puppet-strings{opacity:1}.puppet-strings line{stroke:#493d2fc7;stroke-width:1.25;vector-effect:non-scaling-stroke}.puppet-controller-art{position:absolute;z-index:6;width:clamp(176px,19vw,236px);height:clamp(172px,19vw,232px);pointer-events:none;transform:translate(-50%,-52%);transform-origin:center;transition:opacity .35s;filter:drop-shadow(0 2px 2px #4b352622)}.puppet-stage[data-tracking=on] .puppet-controller-art{opacity:.98}.puppet-controller-art img{width:100%;height:100%;object-fit:contain}.puppet-actors{position:absolute;z-index:5;inset:0;pointer-events:none}.puppet-actor{position:absolute;left:28%;top:58%;width:calc(160px*var(--companion-scale));height:calc(210px*var(--companion-scale));padding:0;border:0;background:none;transform:translate(-50%,-50%);transform-origin:50% 50%;will-change:left,top,transform;filter:drop-shadow(0 2px 2px #46382b22)}.puppet-actor:nth-child(2){left:72%;top:58%}.puppet-actor .companion-sizing{left:0;top:0;transform:scale(var(--companion-scale));transform-origin:0 0}.puppet-actor .companion-rig{transform:none!important}.puppet-actor .companion-head{transition:filter .2s}.puppet-actor .companion-mouth{display:block!important;opacity:1}.puppet-actor .companion-ankle,.puppet-actor .companion-arm,.puppet-actor .companion-elbow,.puppet-actor .companion-knee,.puppet-actor .companion-leg,.puppet-actor .companion-wrist{transition:none}.puppet-actor .companion-arm:has(.puppet-grip-asset){z-index:5}.puppet-grip-asset{position:absolute;z-index:6;display:block;pointer-events:none;background-repeat:no-repeat;background-position:50%;background-size:contain;filter:drop-shadow(0 1px 1px #34291d55)}.puppet-grip-sword{left:-48px;top:-62px;width:70px;height:136px;background-image:url(/art/puppet-grip-sword-v1.perf.webp);transform:rotate(-34deg);transform-origin:50% 82%}.puppet-grip-shield{left:0;top:-40px;width:76px;height:80px;background-image:url(/art/puppet-grip-shield-v1.perf.webp)}.puppet-grip-staff{left:-20px;top:-119px;width:66px;height:138px;background-image:url(/art/puppet-grip-staff-v1.perf.webp);transform:rotate(20deg);transform-origin:50% 84%}.puppet-effect{position:absolute;z-index:7;display:block;width:144px;height:132px;pointer-events:none;background-image:url(/art/puppet-effects-v1.perf.webp);background-repeat:no-repeat;background-size:200% 100%;animation:puppet-effect-flight var(--effect-duration,.7s) cubic-bezier(.2,.65,.5,1) forwards;filter:drop-shadow(0 2px 2px #43331e66)}.puppet-effect-fire{background-position:0 50%;width:152px;height:142px}.puppet-effect-slash{background-position:100% 50%;width:220px;height:156px;animation:puppet-slash var(--effect-duration,.42s) ease-out forwards}@keyframes puppet-effect-flight{0%{opacity:0;transform:translate(-50%,-50%) rotate(var(--effect-angle,0deg)) scale(.35)}12%{opacity:1}to{opacity:0;transform:translate(calc(-50% + var(--effect-distance,280px)),calc(-50% + var(--effect-vertical-distance,-165px))) rotate(var(--effect-angle,0deg)) scale(1.2)}}@keyframes puppet-slash{0%{opacity:0;transform:translate(-50%,-50%) rotate(-48deg) scale(.25)}22%{opacity:.95}to{opacity:0;transform:translate(calc(-50% + var(--effect-slash-distance,25px)),calc(-50% + var(--effect-vertical-distance,-75px))) rotate(18deg) scaleX(var(--effect-flip,1)) scale(1.2)}}.puppet-curtain{position:absolute;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;background:#713d3acc url(/art/puppet-curtain-closed-v1.perf.webp) 50%/100% 100% no-repeat;transition:transform 1.1s cubic-bezier(.72,0,.2,1),visibility 1.1s;box-shadow:inset 0 0 45px #381f2455}.puppet-curtain-title{padding:0;border:0;background:transparent;color:#fff4dc;font-family:var(--hand);font-size:clamp(48px,10vw,108px);text-shadow:0 2px 7px #442c2dcc;cursor:pointer;transition:transform .25s,color .25s}.puppet-curtain-title:hover{transform:scale(1.045);color:#fff9eb}.puppet-curtain-title:disabled{cursor:wait;opacity:.7}.puppet-stage[data-open=true] .puppet-curtain{transform:translateY(-102%);visibility:hidden;pointer-events:none}.puppet-video-source{position:fixed;width:1px;height:1px;left:-10px;top:-10px;opacity:0;pointer-events:none}.puppet-footer,.puppet-note{display:none}@media(max-width:700px){.puppet-controls{top:auto;bottom:14px;left:14px;right:14px;max-width:none;justify-content:center;flex-wrap:wrap}.puppet-status{text-align:center;max-width:80vw}.puppet-actor{--companion-scale:.64!important}.puppet-colossus{width:min(88svh,1000px);height:min(132svh,1320px);top:-8%;opacity:.24;filter:blur(1.5px) saturate(.7)}.puppet-shadow{clip-path:ellipse(52% 20% at calc(50% + var(--head-shadow-x,0px)) calc(20% + var(--head-shadow-y,0px)))}.puppet-colossus-hand{width:min(16.72vw,13.68vh,114px)}.puppet-controller-art{width:142px;height:148px}.puppet-grip-sword{width:50px;height:100px;left:-34px;top:-47px}.puppet-grip-shield{width:58px;height:60px;top:-30px}.puppet-grip-staff{width:48px;height:104px;left:-17px;top:-91px}.puppet-effect{width:110px;height:96px}.puppet-effect-fire{width:116px;height:108px}.puppet-effect-slash{width:160px;height:116px}.puppet-curtain{background-size:auto 100%;background-repeat:repeat-x}}@media(prefers-reduced-motion:reduce){.puppet-actor,.puppet-curtain,.puppet-effect{animation-duration:.01ms!important;transition-duration:.01ms!important}}.puppet-grip-asset{background-image:none!important;overflow:visible}.puppet-grip-asset img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;max-width:none}.puppet-controller-art{width:clamp(190px,24vw,280px);height:auto;aspect-ratio:1915/821;opacity:0;transform:translate(-50%,-50%);background-repeat:no-repeat;background-position:50%;background-size:contain;filter:drop-shadow(0 4px 4px #49372635);transition:opacity .25s}.puppet-controller-0,.puppet-controller-1{background-image:url(/art/puppet-controller-hand-right-v4.perf.webp)}.puppet-stage[data-tracking=on] .puppet-controller-art{opacity:1}.puppet-hand-art{position:absolute;z-index:7;left:-5px;top:-3px;width:34px;height:43px;display:block;transform-origin:50% 12%;pointer-events:none;filter:drop-shadow(0 1px 1px #25344124)}.puppet-hand-art img{display:block;width:100%;height:100%;object-fit:contain}.puppet-hand-mirrored{transform:scaleX(-1)}.puppet-actor .companion-wrist:has(.puppet-hand-art){overflow:visible}.puppet-strings path{fill:none;stroke:#493d2fe0;stroke-width:1.45;stroke-linecap:round;vector-effect:non-scaling-stroke}.puppet-strings line{stroke:#493d2fe0;stroke-width:1.45;stroke-dasharray:0}.puppet-grip-sword{--grip-angle:12deg;left:-11px;top:-84px;width:58px;height:122px;transform:rotate(12deg);transform-origin:38% 69%}.puppet-grip-shield{left:-39px;top:-47px;width:68px;height:62px;transform-origin:72% 75%}.puppet-grip-staff{--grip-angle:-24deg;left:-30px;top:-146px;width:82px;height:200px;transform:rotate(-24deg);transform-origin:50% 70%;filter:drop-shadow(0 0 2px #fff9) drop-shadow(0 0 4px #c5e0ab)}.puppet-grip-staff:after{content:"";position:absolute;z-index:4;left:calc(50% - 10px);top:-2px;width:20px;height:20px;border-radius:50%;background:radial-gradient(circle,#fff4b5 0 16%,#f5a838 31%,#cf7546 60%,transparent 73%);box-shadow:0 0 10px #ffd571aa}.puppet-actor[data-lateral=right] .puppet-grip-shield,.puppet-actor[data-lateral=right] .puppet-grip-staff,.puppet-actor[data-lateral=right] .puppet-grip-sword{transform:rotate(var(--grip-angle,0deg)) scaleX(-1)}.puppet-controls{left:auto;right:clamp(12px,2vw,28px);max-width:min(46vw,460px)}.puppet-status{padding:7px 10px;border-radius:20px;background:#fff8;font-size:12px;backdrop-filter:blur(5px)}.puppet-retry{border:1px solid #51483b;background:#fff9ebed;color:#3e3a31;padding:8px 12px;cursor:pointer}.puppet-curtain{inset:0;background:transparent;overflow:hidden;box-shadow:none;transition:none}.puppet-curtain-left,.puppet-curtain-right{position:absolute;top:0;bottom:0;width:50%;background-image:url(/art/puppet-curtain-closed-v1.perf.webp);background-repeat:no-repeat;background-size:200% 100%;transition:transform 1.2s cubic-bezier(.72,0,.2,1);box-shadow:inset 0 0 32px #381f2455}.puppet-curtain-left{left:0;background-position:0}.puppet-curtain-right{right:0;background-position:100%}.puppet-curtain-title{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);padding:6px 24px 14px;border-radius:40px;background:#58332d55}.puppet-curtain-title:hover{transform:translate(-50%,-50%) scale(1.045)}.puppet-stage[data-open=true] .puppet-curtain-left{transform:translateX(-102%)}.puppet-stage[data-open=true] .puppet-curtain-right{transform:translateX(102%)}.puppet-stage[data-open=true] .puppet-curtain-title{opacity:0;pointer-events:none}@media(max-width:700px){.puppet-controller-art{width:180px;height:auto;aspect-ratio:1915/821}.puppet-controller-1{background-size:contain;background-position:50%}.puppet-controls{top:12px;bottom:auto;left:130px;right:10px;justify-content:flex-end;max-width:calc(100% - 142px)}.puppet-status{max-width:65vw;font-size:10px}.puppet-grip-sword{width:46px;height:100px;left:-9px;top:-69px}.puppet-grip-shield{width:54px;height:50px;left:-31px;top:-38px}.puppet-grip-staff{width:64px;height:160px;left:-24px;top:-114px}}.puppet-actor[data-hp="2"]{filter:drop-shadow(0 2px 2px #46382b22) sepia(.13) saturate(1.22) hue-rotate(-14deg)}.puppet-actor[data-hp="1"]{filter:drop-shadow(0 2px 2px #46382b22) sepia(.22) saturate(1.42) hue-rotate(-17deg)}.puppet-actor[data-defeated=true]{filter:drop-shadow(0 3px 3px #46382b33) sepia(.25) saturate(1.3)}.puppet-lines{transition:opacity .45s ease}.questar-letters{display:flex;gap:.015em}.questar-letters>span{display:inline-block;opacity:.12;filter:blur(3px);transform:translateY(10px) rotate(-5deg);transition:opacity .7s,filter .7s,transform .7s cubic-bezier(.2,.8,.3,1)}.questar-letters>span[data-visible=true]{opacity:1;filter:blur(0);transform:translateY(0) rotate(0)}.puppet-curtain[data-loading=true] .questar-letters>span[data-visible=true]{animation:questar-breathe 2.4s ease-in-out infinite;animation-delay:calc(var(--letter-index)*.17s)}.puppet-curtain-title:disabled{opacity:1}.questar-loading{position:absolute;z-index:2;top:calc(50% + 95px);left:50%;transform:translateX(-50%);display:flex;gap:14px;color:#fff4dc}.questar-loading i{width:13px;height:16px;border-radius:63% 38% 57% 43%;background:#f7dfbc;box-shadow:inset 2px -2px 5px #a8636270,0 0 7px #fff4dc30;animation:questar-ink 1.8s ease-in-out infinite}.questar-loading i:nth-child(2){background:#b9d6cf;animation-delay:.22s}.questar-loading i:nth-child(3){background:#e8b5be;animation-delay:.44s}.questar-loading-message{position:absolute;z-index:2;top:65%;left:10%;right:10%;text-align:center;color:#fff4dc;font-family:var(--hand)}@keyframes questar-breathe{50%{transform:translateY(-3px) rotate(2deg)}}@keyframes questar-ink{50%{transform:translateY(-9px) rotate(14deg) scale(.85,1.1);opacity:.55}}@media(prefers-reduced-motion:reduce){.questar-letters>span,.questar-loading i{animation:none!important;transition:none!important}}.puppet-curtain .puppet-curtain-title{width:min(85vw,700px);height:auto;background:none;padding:0;border:0;transform:translate(-50%,-50%)}.puppet-curtain[data-loading=true] .quedrama-painted-sign i[data-lit=true]{animation:quedrama-letter-pulse 2.7s calc(var(--letter-index)*.23s) ease-in-out infinite}.puppet-curtain-title .quedrama-painted-sign{pointer-events:none}