/* The game mascot as a layered puppet, not a moving poster. */
.festival-hero .festival-mark img{animation:none!important;will-change:auto}
.festival-hero>.magic-atmosphere:after{animation:none!important;opacity:.3}
.festival-hero .festival-mark{grid-row:1/3;align-self:end;justify-self:center;width:min(100%,390px);margin:0;transform:none!important}
.festival-hero .festival-mark img{display:block;width:100%;height:auto}
.mascot-scene{grid-column:1;grid-row:3/8;position:relative;width:min(100%,350px);aspect-ratio:1;justify-self:center;align-self:start;isolation:isolate;margin:0 auto}
.mascot-trigger{display:block;position:relative;width:100%;height:100%;padding:0;border:0;background:none;cursor:pointer;touch-action:manipulation;border-radius:40%;-webkit-tap-highlight-color:transparent}
.mascot-trigger:focus-visible{outline:3px solid #123442;outline-offset:6px}.mascot-trigger:disabled{cursor:default}
.mascot-original{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.mascot-puppet{position:absolute;inset:0;opacity:0;pointer-events:none}
.mascot-ready .mascot-original{visibility:hidden}.mascot-ready .mascot-puppet{opacity:1}
.mascot-puppet img{position:absolute;display:block;max-width:none;object-fit:contain;pointer-events:none;user-select:none}
.mascot-head{position:absolute;z-index:4;transform-origin:50% 90%;transform:rotate(var(--look,0deg));transition:transform .4s cubic-bezier(.2,.7,.2,1)}
.mascot-head img{inset:0;width:100%;height:100%}.mascot-eyes-closed{visibility:hidden}
.mascot-body{z-index:2}.mascot-wing-left{z-index:1;transform-origin:85% 60%}.mascot-wing-right{z-index:1;transform-origin:15% 60%}
.mascot-head{left:17%;top:3%;width:65%;height:57%}.mascot-puppet .mascot-body{left:24%;top:53%;width:52%;height:45%}.mascot-puppet .mascot-wing-left{left:0;top:39%;width:40%;height:35%}.mascot-puppet .mascot-wing-right{left:60%;top:39%;width:40%;height:34%}.mascot-puppet .mascot-spark{left:86%;top:28%;width:13%;height:16%}
.festival-hero .festival-tagline{grid-row:1/3}.festival-hero .festival-date{grid-row:3}.festival-hero .festival-door{grid-row:4}.festival-hero .festival-tickets{grid-row:5}.festival-hero .festival-claim{grid-row:6}.festival-hero .festival-explore{grid-row:7}
.mascot-spark{z-index:5;opacity:0;transform:scale(.3);filter:drop-shadow(0 0 8px #fff1a0)}
.mascot-scene:after{content:'';position:absolute;z-index:-1;bottom:1%;left:26%;width:48%;height:5%;border-radius:50%;background:#07556325;filter:blur(7px)}
.greeting .mascot-wing-right{animation:mascot-wave 1.65s ease-in-out both}.greeting .mascot-wing-left{animation:mascot-small-wave 1.8s ease-in-out both}.greeting .mascot-head{animation:mascot-nod 2.3s ease-in-out both}.greeting .mascot-eyes-open{animation:mascot-open 2.3s step-end both}.greeting .mascot-eyes-closed{animation:mascot-blink 2.3s step-end both}.greeting .mascot-spark{animation:mascot-light 2.6s ease-out both}
@keyframes mascot-wave{0%,100%{transform:rotate(0)}25%{transform:rotate(-24deg)}42%{transform:rotate(-8deg)}60%{transform:rotate(-25deg)}80%{transform:rotate(-6deg)}}
@keyframes mascot-small-wave{0%,100%{transform:rotate(0)}35%{transform:rotate(7deg)}70%{transform:rotate(-3deg)}}
@keyframes mascot-nod{0%,100%{transform:rotate(0)}25%{transform:rotate(-5deg) translateY(2px)}60%{transform:rotate(4deg)}80%{transform:rotate(0)}}
@keyframes mascot-open{0%,40%,100%{visibility:visible}35%{visibility:hidden}}
@keyframes mascot-blink{0%,40%,100%{visibility:hidden}35%{visibility:visible}}
@keyframes mascot-light{0%,20%{opacity:0;transform:translateY(12px) scale(.2)}45%{opacity:1;transform:translateY(0) scale(1.2);filter:drop-shadow(0 0 18px #ffdf70)}65%{opacity:1;transform:translateY(-4px) scale(1)}100%{opacity:0;transform:translateY(-32px) scale(.5)}}
.mascot-still .mascot-puppet *{animation:none!important;transition:none!important;transform:none!important}.mascot-still .mascot-eyes-open{visibility:visible!important}.mascot-still .mascot-eyes-closed{visibility:hidden!important}
@media(max-width:760px){.festival-hero .festival-mark{width:min(66vw,270px);margin:0 auto}.mascot-scene{width:min(66vw,250px);margin:0 auto 8px}.festival-hero{padding-top:20px}}
@media(prefers-reduced-motion:reduce){.mascot-puppet *{animation:none!important;transition:none!important;transform:none!important}.mascot-eyes-open{visibility:visible!important}.mascot-eyes-closed{visibility:hidden!important}.mascot-spark{opacity:0!important}}
@media print{.mascot-puppet{display:none}.mascot-ready .mascot-original{visibility:visible}}
