#boss-reward{z-index:20;text-align:center;color:#fff8d9;touch-action:none;position:absolute;inset:0;overflow:hidden}#game:not([data-reward-state=idle])[data-reward-state]>:is(.movement-ui,#boss-hud,#boss-tutorial,#tutorial),#game:not([data-reward-state=idle])[data-reward-state] :is(#health-gauge,#options-button){visibility:hidden}#game:not([data-reward-state=idle])[data-reward-state]>.top-hud{z-index:21}#boss-reward header{z-index:2;pointer-events:none;position:absolute;inset:18% .65rem auto}.reward-heading{width:100%;max-width:34rem;height:auto;font-family:var(--font-ui);fill:#fff8d9;stroke:#173e36;stroke-linejoin:round;paint-order:stroke fill;filter:drop-shadow(0 3px #083f43);margin:auto;font-weight:400;display:block;overflow:visible}.reward-heading-kicker{stroke-width:2px;letter-spacing:1px;font-size:23px}.reward-heading-title{stroke-width:4px;font-size:55px}#reward-chest{z-index:3;cursor:pointer;background:0 0;border:0;border-radius:2rem;position:absolute;inset:34% 10% 35%}#reward-chest:disabled{cursor:default}#reward-chest:focus-visible{outline:none}#boss-reward:has(#reward-chest:focus-visible) #reward-prompt{text-underline-offset:.25em;text-decoration:underline}.reward-message{z-index:2;pointer-events:none;text-shadow:0 .14rem #075a74,0 .2rem .5rem #00506c;border-radius:.8rem;width:max-content;max-width:calc(100% - 3rem);padding:.6rem 1.25rem;position:absolute;top:65%;left:50%;transform:translate(-50%)}#boss-reward:is([data-phase=opening],[data-phase=awarded]) .reward-message{background:#07546be8;border:.12rem solid #9fe8e9;box-shadow:0 .25rem #003d56,inset 0 .1rem #fff3}#reward-amount{color:#ffef7c;font-size:3.2rem;font-weight:400;line-height:1.1;display:block}#reward-amount:not(:empty):before{content:"";vertical-align:.05em;background:url(../assets/characters/coin.webp) 50%/contain no-repeat;width:2rem;height:2rem;margin-right:.4rem;display:inline-block}#reward-prompt{margin:.4rem 0 0;font-size:1rem}#boss-reward #reward-continue.home-action{bottom:max(6%, var(--safe-bottom));z-index:3;width:76%;height:4rem;min-height:4rem;padding-inline:.8rem;font-size:1.4rem;position:absolute;left:12%}@media (height<=600px){#boss-reward header{top:17%}.reward-message{padding:.4rem .8rem;top:64%}#reward-amount{font-size:2.4rem}#reward-amount:not(:empty):before{width:1.6rem;height:1.6rem}#reward-prompt{font-size:.85rem}#boss-reward #reward-continue.home-action{height:3.5rem;min-height:3.5rem}}.reward-rays{pointer-events:none;opacity:0;background:repeating-conic-gradient(#fff5b42b 0deg 12deg,#0000 12deg 30deg);position:absolute;inset:28% -30% 26%;-webkit-mask-image:radial-gradient(#000 10%,#0000 65%);mask-image:radial-gradient(#000 10%,#0000 65%)}#boss-reward:is([data-phase=opening],[data-phase=awarded]) .reward-rays{opacity:.7}@media (prefers-reduced-motion:no-preference){#boss-reward .reward-rays{animation:18s linear infinite reward-rays}#boss-reward[data-phase=entering] header{animation:.65s ease-out both reward-pop}#boss-reward[data-phase=ready] #reward-prompt{animation:1.2s ease-in-out infinite alternate reward-invite}#boss-reward[data-phase=opening] #reward-amount{animation:.65s cubic-bezier(.2,1.5,.4,1) .35s both reward-pop}#boss-reward[data-phase=awarded] #reward-continue{animation:.3s ease-out both reward-pop}}#boss-reward[data-paused=true] *{animation-play-state:paused!important}@keyframes reward-rays{to{transform:rotate(360deg)}}@keyframes reward-pop{0%{opacity:0;transform:translateY(1rem)scale(.65)}to{opacity:1;transform:none}}@keyframes reward-invite{to{transform:scale(1.06)}}@font-face{font-family:Kamikaze;src:url(../assets/fonts/Kamikaze.ttf)format("truetype");font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:Kaph;src:url(../assets/fonts/Kaph-Regular.woff2)format("woff2");font-style:normal;font-weight:400;font-display:swap}:root{--font-ui:"Kaph", system-ui, sans-serif;--font-title:"Kamikaze", system-ui, sans-serif;font-family:var(--font-ui);color:#263f32;font-synthesis:none;background:#cadbb8;font-weight:400}*{box-sizing:border-box}[hidden]{display:none!important}html,body,#game{width:100%;height:100%;margin:0;overflow:hidden}body{overscroll-behavior:none;--game-width:100vw}#game{isolation:isolate;--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);position:relative}#game>.game-scene-canvas{filter:var(--scene-filter,none)}#game:before{content:"";z-index:1;pointer-events:none;opacity:var(--scene-vignette,0);background:radial-gradient(#0000 45%,#000 100%);position:absolute;inset:0}#game[data-scene-texture=grain]:before{opacity:var(--scene-grain,0);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128' viewBox='0 0 128 128'%3E%3Cfilter id='grain' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='128' height='128' filter='url(%23grain)'/%3E%3C/svg%3E");background-size:128px 128px}#game[data-scene-texture=visor]:before{opacity:var(--scene-visor,0);background:url(../assets/ui/space-visor.svg) 50%/100% 100% no-repeat}#game[data-scene-texture=winter]:before{opacity:var(--scene-winter,0);background:url(../assets/ui/winter-frost.svg) 50%/100% 100% no-repeat}#game[data-scene-texture=tone]:before{background:radial-gradient(ellipse at center, transparent 55%, rgba(var(--scene-tone), var(--scene-glow,0)) 100%), radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, var(--scene-vignette,0)) 100%), linear-gradient(rgba(var(--scene-tone), var(--scene-tone-opacity,0)), rgba(var(--scene-tone), var(--scene-tone-opacity,0)));opacity:1}#game[data-scene-texture=pastel]:before{opacity:var(--scene-pastel,0);background:url(../assets/ui/pastel-corners.svg) 50%/100% 100% no-repeat}#game[data-scene-texture=speed]:before{opacity:var(--scene-speed,0);background:url(../assets/ui/movement-streaks.svg) 50%/100% 100% no-repeat}#game[data-scene-texture=digital]>.game-scene-canvas{filter:var(--scene-filter,none) contrast(calc(1 + var(--scene-digital,0) * .06))}#game[data-scene-texture=digital]:before{opacity:var(--scene-digital,0);background:repeating-linear-gradient(#0e20311a 0 1px,#0000 1px 4px),linear-gradient(#6698c12e,#6698c12e)}#game[data-scene-texture=rainbow]:before{opacity:var(--scene-rainbow,0);background:conic-gradient(#ff6486,#ffce58,#70ed9b,#5dcaff,#bc80ff,#ff6486);-webkit-mask-image:linear-gradient(90deg,#000,#0000 13% 87%,#000),linear-gradient(#000,#0000 9% 91%,#000);mask-image:linear-gradient(90deg,#000,#0000 13% 87%,#000),linear-gradient(#000,#0000 9% 91%,#000)}#game:after{content:"";z-index:1;pointer-events:none;opacity:0;background:radial-gradient(#0000 35%,#cd081e66 70%,#cd081ee6 100%);transition:opacity .3s ease-out;position:absolute;inset:0}#game[data-session-phase=playing]:after{opacity:var(--low-health-vignette,0)}@keyframes low-health-pulse{0%,to{opacity:calc(var(--low-health-vignette,0) * .65)}50%{opacity:var(--low-health-vignette,0)}}@media (prefers-reduced-motion:no-preference){#game[data-session-phase=playing]:after{animation:1.6s ease-in-out infinite low-health-pulse}#game[data-session-state=paused]:after{animation-play-state:paused}}@media (prefers-reduced-motion:reduce){#game:after{transition:none;animation:none}#game[data-session-phase=playing]:after{opacity:var(--low-health-vignette,0)}}:root{font-size:var(--ui-font-size,16px)}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}@media (width>=600px){.web-game body{--game-width:min(100vw, calc(100dvh * 6 / 13));background:#111b16}.web-game #game{width:var(--game-width);height:100dvh;margin-inline:auto}}#game,#game *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;text-transform:uppercase}#game img{-webkit-user-drag:none}canvas{touch-action:none;width:100%;height:100%;display:block}.top-hud{top:max(.75rem, env(safe-area-inset-top));left:max(1rem, env(safe-area-inset-left));right:max(1rem, env(safe-area-inset-right));z-index:2;pointer-events:none;align-items:center;column-gap:.5rem;display:grid;position:absolute}.coin-counter{color:#fff8e5;text-shadow:0 .1rem .08rem #082b35;pointer-events:none;background:linear-gradient(110deg,#083a43,#155768 75%,#126071);border:.12rem solid #417b7a;border-color:#75a49a #417b7a #073b43;border-radius:1.5rem;flex-direction:row;grid-area:1/1;align-self:start;align-items:center;gap:.35rem;min-width:0;height:max(2.85rem,44px);padding:.15rem .65rem .15rem .2rem;display:flex;box-shadow:0 .13rem .12rem #062d3d66,inset 0 .1rem .12rem #bde1c933,inset 0 -.12rem .2rem #012c3f77}.coin-counter .coin-icon{filter:drop-shadow(0 .1rem .08rem #061f2aaa);flex-basis:2.25rem;width:2.25rem;height:2.25rem}.coin-icon{flex:0 0 1.875rem;width:1.875rem;height:1.875rem;display:block}span.coin-icon{background:url(../assets/characters/coin.webp) 50%/contain no-repeat}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}#coin-count,.shop-balance{text-overflow:ellipsis;white-space:nowrap;text-align:left;font-variant-numeric:tabular-nums;min-width:0;max-width:100%;font-size:1.2rem;font-weight:400;line-height:1.1;display:block;overflow:hidden}button,input,select,textarea{font-family:inherit;font-weight:400}button{-webkit-tap-highlight-color:transparent;touch-action:manipulation;-webkit-user-select:none;user-select:none}.round-button{color:#fff3d6;cursor:pointer;place-items:center;display:grid}.options-button{pointer-events:auto;grid-area:1/3}.round-button{isolation:isolate;background:linear-gradient(140deg,#d99a4b,#b06a2e 62%,#8c481f);border:.16rem solid #b7793d;border-color:#f6c77e #b7793d #b7793d #e5a856;border-radius:50%;align-self:start;width:max(3.25rem,44px);height:max(3.25rem,44px);padding:0;transition:transform .12s,filter .12s;position:relative;box-shadow:0 .18rem #653a20,0 .27rem .22rem #10271955,inset 0 .1rem .08rem #ffe4ac88,inset 0 -.16rem .16rem #67351c88}.round-button:before{content:"";z-index:-1;pointer-events:none;border:.09rem solid #82481f66;border-top-color:#ffdb9788;border-radius:50%;position:absolute;inset:.18rem}.round-button:active:not(:disabled){background-image:linear-gradient(140deg,#c58539,#965322);transform:translateY(.12rem)}.round-button:focus-visible{outline-offset:.25rem;outline:.18rem solid #fff4cf}.round-button:disabled{filter:grayscale();opacity:.5;cursor:default}.options-button img{filter:drop-shadow(0 .1rem .06rem #67391f);width:2.3rem;height:2.3rem}@media (prefers-reduced-motion:reduce){.round-button{transition:none}}.movement-ui{bottom:max(1rem, env(safe-area-inset-bottom));z-index:2;width:min(21.25rem,100% - 2rem);position:absolute;left:50%;transform:translate(-50%)}#title-leaderboard{width:min(17rem,100%);margin:0 auto}.leaderboard-status{text-align:center;font:.75rem/1.35 var(--font-ui);margin:.375rem 0 0}#title-leaderboard .leaderboard-status{text-shadow:0 .0625rem .1875rem #eff5d9,0 0 .5rem #eff5d9}[data-leaderboard]:disabled{opacity:.6;cursor:default}#try-again,#play,.menu-button{isolation:isolate;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:.6875rem;justify-content:center;align-items:center;text-decoration:none;display:inline-flex;position:relative}.control-icon{fill:none;stroke:currentColor;stroke-width:3.5px;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 .0625rem .0625rem #743c28);width:1.875rem;height:1.875rem;display:block}.round-button .control-icon{stroke-width:3px;width:1.5625rem;height:1.5625rem}button:focus-visible{outline-offset:.1875rem;outline:.1875rem solid #fff6bb}#loading{padding:1.5rem 1.5rem max(2rem, env(safe-area-inset-bottom));color:#fff8dd;text-align:center;text-shadow:0 .125rem .5rem #102719,0 .0625rem .125rem #102719;z-index:5;background:#102719 url(../assets/branding/ung-fu-launch-v2-portrait.png) 50%/cover no-repeat;flex-direction:column;justify-content:flex-end;align-items:center;transition:opacity .5s;display:flex;position:absolute;inset:0}#loading.hidden{opacity:0;pointer-events:none}#loading p{letter-spacing:.0625rem;margin:.5rem 0 0;font-size:.8125rem}.loading-mark{font-family:var(--font-title);font-size:1.75rem}.loading-tip{font:1rem/1.4 var(--font-ui);max-width:18rem;margin:.5rem 0}#loading.error .loading-tip{display:none}#title-logo{z-index:2;white-space:nowrap;font:400 min(calc(var(--game-width) * .25), 12dvh)/1 var(--font-title);pointer-events:none;filter:drop-shadow(0 .06em .035em #18251b70);justify-content:center;gap:.18em;margin:0;display:flex;position:absolute;top:24%;left:50%;transform:translate(-50%,-50%)}.title-word{gap:.015em;display:inline-flex}.title-letter{isolation:isolate;color:#fff5dc;-webkit-text-stroke:.012em #eadcc1;paint-order:stroke fill;text-shadow:0 -.008em #fffdf1;transform:rotate(var(--title-tilt,0deg)) translateY(var(--title-lift,0em)) scaleY(1.18);display:inline-block;position:relative}.title-letter:before,.title-letter:after{content:attr(data-letter);pointer-events:none;-webkit-text-fill-color:currentColor;paint-order:stroke fill;position:absolute;inset:0}.title-letter:before{z-index:-2;color:#49301d;-webkit-text-stroke:.095em #33291d;text-shadow:0 .025em #38281a,0 .05em #38281a,0 .075em #281e15}.title-letter:after{z-index:-1;color:#a78251;-webkit-text-stroke:.055em #a78251;text-shadow:-.01em -.018em #ddc598,.012em .025em #735133}.title-word:first-child .title-letter:first-child{--title-tilt:-5deg;--title-lift:.02em}.title-word:first-child .title-letter:nth-child(2){--title-tilt:-2deg;--title-lift:-.025em}.title-word:first-child .title-letter:nth-child(3){--title-tilt:2deg}.title-word:last-child .title-letter:first-child{--title-tilt:3deg;--title-lift:-.015em}.title-word:last-child .title-letter:nth-child(2){--title-tilt:5deg;--title-lift:.025em}@media (height<=500px){#title-logo{top:max(22%, calc(var(--safe-top) + 5rem));font-size:min(calc(var(--game-width) * .22), 13dvh)}}#loading.error{padding:1.875rem}:is(#game-over,#options-menu){isolation:isolate;width:min(21.25rem, calc(var(--game-width) - 2rem));color:#502810;text-align:center;filter:drop-shadow(0 .75rem 1.25rem #12291866);background:0 0;border:0;max-height:calc(100dvh - 1.5rem);padding:2.75rem 2.625rem;overflow-y:auto}:is(#game-over,#options-menu)::backdrop{background:#17291e66}:is(#game-over,#options-menu){background:#ffdfb5;border:.3rem solid #e4c58c;border-color:#fff1c8 #e4c58c #ba8d53;border-radius:1rem;padding:2.45rem 2.325rem;box-shadow:0 0 0 .1rem #6d502c,0 .25rem #715031,inset 0 .15rem .15rem #fff9e6,inset 0 -.2rem .2rem #b8874544}:is(#game-over,#options-menu):before{content:"";z-index:-1;pointer-events:none;border:.1rem solid #9e702e55;border-color:#ffffff80 #9e702e55 #9e702e55 #fff6;border-radius:.6rem;position:absolute;inset:.2rem}:is(#game-over,#options-menu):after{content:none}.trap-symbol{width:4.5rem;height:4.5rem;margin:0 auto;display:block}#game-over[open]{transform-origin:50%;animation:.5s ease-out both results-panel-in}#game-over[open] .trap-symbol{animation:.25s ease-out .5s both results-item-in}#game-over[open] #game-over-title{animation:.25s ease-out .65s both results-item-in}#game-over[open] :is(#death-message,.score-total-wrap,#score-breakdown,#score-best,button,.leaderboard-status,.results-encouragement){animation:.2s ease-out .9s both results-item-in}@keyframes results-panel-in{0%{opacity:0;transform:scale(.92)}65%{opacity:1;transform:scale(1.015)}to{opacity:1;transform:none}}@keyframes results-item-in{0%{opacity:0;transform:translateY(.35rem)scale(.85)}70%{opacity:1;transform:translateY(0)scale(1.045)}to{opacity:1;transform:none}}@keyframes results-fade-in{0%{opacity:0}to{opacity:1}}#shop-home{width:min(17rem,100%);min-height:3rem;margin:.5rem auto 0;font-size:1rem;display:block}#title-leaderboard .menu-button{min-height:3rem;font-size:1rem}#character-shop{isolation:isolate;width:var(--game-width,100vw);max-width:100vw;height:100dvh;max-height:100dvh;padding:max(1rem, env(safe-area-inset-top)) max(.85rem, env(safe-area-inset-right)) max(.85rem, env(safe-area-inset-bottom)) max(.85rem, env(safe-area-inset-left));color:#502810;text-align:left;background:#ffdfb5;border:0;border-radius:0;margin:auto;position:fixed;inset:0;overflow:hidden}#character-shop[open]{flex-direction:column;display:flex}#character-shop[open]:not([data-reveal=true]):not([data-profile=true]){overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#a96536 transparent;display:block;overflow:hidden auto}#character-shop:not([data-reveal=true]) .shop-grid{overflow:visible}#character-shop::backdrop{background:#122318bb}.shop-header{text-align:center;flex:none;min-height:5.2rem;padding:3.35rem .3rem .5rem}.shop-header h2{font:2.15rem/1.1 var(--font-title);text-shadow:0 .08rem #fff7de;margin:0 0 .4rem}.shop-eyebrow{font:1.25rem/1.2 var(--font-title);margin:0}.shop-close{top:max(.75rem, env(safe-area-inset-top));right:max(1rem, env(safe-area-inset-right));z-index:5;position:absolute}.shop-wallet{top:max(.75rem, env(safe-area-inset-top));left:max(1rem, env(safe-area-inset-left));z-index:5;width:7.75rem;position:absolute}.shop-wallet img{object-fit:contain}.shop-balance{font-variant-numeric:tabular-nums;text-overflow:ellipsis;min-width:0;max-width:100%;font-size:1.1rem;line-height:1.1;overflow:hidden}.shop-grid{overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#a96536 transparent;flex:1;grid-template-columns:repeat(auto-fill,minmax(7rem,1fr));align-content:start;gap:.65rem .5rem;min-height:0;padding:.65rem .3rem .8rem;display:grid;overflow:auto}@media (width<=360px){.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.shop-card{text-align:center;background:#fff0ce;border:.18rem solid #b67540;border-radius:.65rem;flex-direction:column;min-width:0;padding:.25rem;display:flex;position:relative;box-shadow:inset 0 .18rem #fff9e5,0 .22rem #814521}.collection-family,.collection-milestones{grid-column:1/-1;min-width:0}.collection-family{border-bottom:.12rem solid #b67540;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.25rem;padding:.55rem .2rem .25rem;display:flex}.collection-family h3,.collection-milestones h3{font:.85rem/1.25 var(--font-ui);margin:0}.collection-family h3:before{content:"";vertical-align:middle;background:url(../assets/ui/skull.svg) 50%/contain no-repeat;width:1rem;height:1rem;margin-right:.35rem;display:inline-block}.collection-family span{font-size:.75rem}.collection-family[data-complete=true]{color:#075b38;background:#ddedbc;border-color:#138255;border-radius:.3rem}.collection-milestones{background:#fff0ce;border:1px solid #b6754044;border-radius:.4rem;padding:.5rem}.collection-milestone-markers{grid-template-columns:repeat(8,minmax(0,1fr));gap:.25rem;margin-top:.45rem;display:grid}.collection-milestone-markers span{text-align:center;border:1px solid #b67540;border-radius:.25rem;padding:.2rem 0;font-size:max(.7rem,10px);line-height:1.5}.collection-milestone-markers [data-awarded=true]{color:#075b38;background:#ddedbc;border-color:#138255}#character-shop[data-phase=celebrating] .shop-reveal{justify-content:center}#character-shop[data-phase=celebrating] .shop-eyebrow{color:#075b38;margin:auto 0 1rem}.collection-celebration-detail{color:#075b38;margin:.5rem 0 auto;font-size:1.5rem}.shop-portrait{border-radius:.4rem;display:block}.shop-portrait:focus-visible{outline-offset:-.15rem;outline:.15rem solid #138255}.shop-portrait img{aspect-ratio:4/5;object-fit:contain;width:100%;height:auto;display:block}.shop-profile{text-align:center;flex-direction:column;flex:1;align-items:center;gap:.8rem;min-height:0;padding:1rem .3rem .5rem;display:flex;position:relative}.profile-model{flex:1;width:100%;min-height:0;position:relative}.profile-image,.profile-model canvas{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.profile-model canvas{visibility:hidden}.profile-model[data-live=ready] canvas{visibility:visible}.profile-model[data-live=ready] .profile-image{visibility:hidden}.shop-profile h3{max-width:100%;font:2rem/1.15 var(--font-title);overflow-wrap:anywhere;flex:none;margin:0}.profile-flavour{max-width:34ch;font:.85rem/1.35 var(--font-ui);color:#70411d;overflow-wrap:anywhere;flex:none;margin:0}.profile-lock{z-index:1;pointer-events:none;width:1.5rem;height:1.8rem;position:absolute;top:.5rem;right:.5rem}.profile-back,.profile-buy{flex:none;width:100%;min-height:3rem}.profile-status{flex:none;margin:0;font-size:.8rem}.shop-card h3{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:0;padding:0;position:absolute;overflow:hidden}.shop-card button{width:100%;min-height:max(2.75rem,44px);font:max(.8rem, 11px)/1.1 var(--font-ui);margin-top:auto;padding:.3rem .15rem}.shop-card button:disabled{cursor:default}.shop-card[data-owned=true]{border-color:#138255;box-shadow:inset 0 .18rem #f2ffdc,0 .22rem #075b38}.shop-status{text-align:center;flex:none;min-height:2.25rem;margin:0;padding:.65rem .25rem .15rem;font-size:max(.8rem,12px);line-height:1.3}.shop-confetti{pointer-events:none;display:none;position:absolute;inset:0}.shop-card[data-celebrating=true]{animation:.85s ease-out shop-unlock}.shop-card[data-celebrating=true] .shop-confetti{display:block}.shop-confetti i{width:.35rem;height:.7rem;transform:rotate(calc(var(--i) * 36deg));background:#e6a315;animation:.8s ease-out both shop-spark;position:absolute;top:45%;left:50%}.shop-confetti i:nth-child(2n){background:#00a98c}.shop-confetti i:nth-child(3n){background:#e94657}@keyframes shop-unlock{35%{transform:scale(1.06);box-shadow:0 0 1.5rem #ffd65c}}@keyframes shop-spark{to{transform:rotate(calc(var(--i) * 36deg)) translateY(-5rem) rotate(180deg);opacity:0}}#character-shop[data-paused=true] *,#character-shop[data-paused=true] :before{animation-play-state:paused!important}@media (prefers-reduced-motion:reduce){.shop-card,.shop-confetti i{animation:none!important}}.shop-progress{color:#28623b;margin:0;font-size:max(.9rem,12px)}.shop-offer{text-align:center;flex:none;padding:.35rem .3rem .55rem}.shop-mystery.menu-button{width:100%;min-height:max(3.4rem,48px);font:1rem var(--font-ui);justify-content:space-between;align-items:center;gap:.5rem;padding:.65rem .85rem;display:flex}.shop-mystery:disabled{color:#fff0ce;cursor:default}.shop-price{align-items:center;gap:.3rem;display:flex}.shop-price img{object-fit:contain}.shop-offer-note{margin:.4rem 0 0;font-size:max(.75rem,11px);line-height:1.2}.shop-requirement{overflow-wrap:anywhere;min-height:2.5rem;margin:.1rem 0 .45rem;font-size:max(.7rem,11px);line-height:1.25}.shop-card[data-unlock=random] .shop-requirement{clip-path:inset(50%);width:1px;height:1px;min-height:0;position:absolute;overflow:hidden}.shop-card[data-owned=false][data-preview=false] .shop-portrait img{filter:brightness(0);opacity:.5}.shop-card[data-owned=false]:after{content:"";background:url(../assets/ui/lock.svg) 50%/contain no-repeat;width:.8rem;height:1rem;position:absolute;top:.45rem;right:.45rem}.shop-card[data-selected=true]{outline-offset:.06rem;background:#e4f1ca;border-color:#075b38;outline:.16rem solid #75bc48;box-shadow:inset 0 0 0 .16rem #f7ffdc,0 .22rem #075b38}.shop-card[data-selected=true] button{color:#fff5d9}#character-shop[data-reveal=true]{background:radial-gradient(at 50% 44%,#fff9dd 5%,#ffe4a0 48%,#ffcf83)}#character-shop[data-reveal=true] .shop-header{padding:0}.shop-reveal{overscroll-behavior:contain;text-align:center;flex-direction:column;flex:1;align-items:center;min-height:0;padding:.75rem .65rem .25rem;display:flex;overflow:hidden auto}.shop-reveal .shop-eyebrow{color:#65340f;margin:auto 0 .3rem;font-size:1.65rem}.reveal-art{isolation:isolate;flex:none;width:min(100%,22rem,43dvh);margin:.5rem auto;position:relative}.reveal-art:before{content:"";z-index:-1;background:repeating-conic-gradient(from 8deg,#f3ac3440 0deg 12deg,#0000 12deg 30deg);border-radius:50%;animation:24s linear infinite recruit-rays;position:absolute;inset:-10%;-webkit-mask-image:radial-gradient(circle,#000 20%,#0000 70%);mask-image:radial-gradient(circle,#000 20%,#0000 70%)}.reveal-portrait,.reveal-silhouette{width:100%;height:auto;display:block}.reveal-portrait{filter:drop-shadow(0 .4rem .3rem #66401944)}.reveal-silhouette{filter:brightness(0)}.shop-reveal h3{font:2.2rem/1.1 var(--font-title);overflow-wrap:anywhere;text-shadow:0 .1rem #fff9df;max-width:100%;margin:.35rem 0 1rem}.reveal-actions{width:min(100%,19rem);margin:auto auto 0}.shop-reveal .menu-button{width:100%;min-height:max(3.5rem,48px);font:1.15rem/1.2 var(--font-ui);flex-shrink:0;margin:.65rem auto;padding:.5rem .7rem;display:flex}.collection-retry.menu-button{min-height:max(2.75rem,44px);font-size:max(.95rem,13px)}.reveal-continue:disabled,.reveal-equip:disabled{opacity:.55;cursor:default}#character-shop[data-phase=revealing] .reveal-silhouette{animation:.22s ease-in-out infinite alternate mystery-wobble}#character-shop[data-phase=revealed] .reveal-portrait{animation:.45s ease-out both mystery-pop}#character-shop[data-phase=revealed] .shop-confetti{display:block}.shop-reveal .shop-confetti i{--angle:calc(var(--i) * 22.5deg);width:.45rem;height:.85rem;animation:1.2s ease-out both recruit-spark}#character-shop [hidden]{display:none!important}@keyframes recruit-rays{to{transform:rotate(360deg)}}@keyframes recruit-spark{0%{transform:rotate(var(--angle)) translateY(-2rem)}to{transform:rotate(var(--angle)) translateY(-11rem) rotate(180deg);opacity:0}}@keyframes mystery-wobble{0%{transform:rotate(-5deg)scale(.9)}to{transform:rotate(5deg)scale(.95)}}@keyframes mystery-pop{0%{opacity:0;transform:scale(.7)}65%{transform:scale(1.1)}to{opacity:1;transform:scale(1)}}@media (height<=600px){.shop-header{padding-top:3.35rem}.shop-header h2{font-size:1.65rem}.shop-reveal{padding-top:.25rem}.shop-reveal .shop-eyebrow{font-size:1.3rem}.reveal-art{width:min(85%,34dvh);margin:.2rem auto}.shop-reveal h3{margin-bottom:.4rem;font-size:1.65rem}}@media (prefers-reduced-motion:reduce){#character-shop *,#character-shop :before{animation:none!important}#character-shop .shop-confetti{display:none!important}}#game-over #run-score{margin:.75rem 0 .25rem;font-size:1.5625rem;font-weight:800}#game-over #new-record{color:#28623b;margin:.25rem 0 .625rem;font-weight:800}#score-breakdown{font:400 .75rem/1.5 var(--font-ui);text-align:left;gap:.3125rem;margin:.75rem 0;display:grid}#score-breakdown>div{border-bottom:.0625rem solid #50281022;justify-content:space-between;gap:.5rem;padding:.1875rem 0;display:flex}#score-breakdown dd{text-align:right;overflow-wrap:anywhere;margin:0}.score-total-wrap{position:relative}#game-over[data-tally-state=counting] #run-score{color:#8c431b;animation:.3s ease-in-out infinite alternate tally-count}#game-over[data-tally-state=done] #run-score{animation:.45s ease-out both tally-finish}#score-breakdown>div{isolation:isolate;background:#f8dfa2;border-radius:.3125rem;padding:.3125rem .375rem;transition:color .15s;position:relative}#score-breakdown>div:before{content:"";z-index:-1;border-radius:inherit;clip-path:inset(0 calc(100% - var(--tally-fill,0%)) 0 0);background:linear-gradient(#fff18a 0%,#ffcf32 48%,#ffb916 100%);position:absolute;inset:0;box-shadow:inset 0 .0625rem #fffbd1,inset 0 -.0625rem #d78b12}#score-breakdown>div[data-tally=counting],#score-breakdown>div[data-tally=done]{color:#58300d}#game-over #new-record{animation:.45s ease-out both tally-finish}#score-celebration{z-index:2;pointer-events:none;position:absolute;inset:0}#score-celebration span{opacity:0;width:.25rem;height:.5rem;animation:score-confetti 1.4s var(--confetti-delay,0s) linear both;background:#ffc400;border-radius:.0625rem;position:absolute;top:50%;left:50%}#score-celebration span:nth-child(4n+2){background:#f23874}#score-celebration span:nth-child(4n+3){background:#00a8df}#score-celebration span:nth-child(4n){background:#00a568}#score-celebration span:nth-child(3n){width:.375rem;height:.25rem}#score-celebration .record-confetti{display:none}#score-celebration[data-best=true] span{width:.375rem;height:.75rem;animation-name:record-confetti;animation-duration:2.4s}#score-celebration[data-best=true] span:nth-child(3n){width:.5rem;height:.375rem}#score-celebration[data-best=true] .record-confetti{left:var(--confetti-origin);display:block;top:100%}#game-over[data-tally-paused=true],#game-over[data-tally-paused=true] *{animation-play-state:paused!important}@keyframes tally-count{0%{transform:scale(1)}to{transform:scale(1.035)}}@keyframes tally-finish{0%{transform:scale(.9)}55%{transform:scale(1.13)}to{transform:scale(1)}}@keyframes score-confetti{0%{opacity:0;transform:translate(-50%,-50%)rotate(0)scale(.4)}8%{opacity:1}35%{opacity:1;transform:translate(calc(-50% + var(--confetti-x) * .7), calc(-50% + var(--confetti-rise))) rotate(calc(var(--confetti-spin) * .35)) scale(1)}70%{opacity:1;transform:translate(calc(-50% + var(--confetti-x)), -20%) rotate(calc(var(--confetti-spin) * .7)) scale(.9)}to{opacity:0;transform:translate(calc(-50% + var(--confetti-x) * 1.1), 5rem) rotate(var(--confetti-spin)) scale(.7)}}@keyframes record-confetti{0%{opacity:0;transform:translate(-50%,-50%)rotate(0)scale(.4)}8%{opacity:1}30%{opacity:1;transform:translate(calc(-50% + var(--confetti-x) * .7), calc(-50% + var(--confetti-rise) * 1.3)) rotate(calc(var(--confetti-spin) * .35)) scale(1)}65%{opacity:1;transform:translate(calc(-50% + var(--confetti-x)), 1rem) rotate(calc(var(--confetti-spin) * .7)) scale(.95)}to{opacity:0;transform:translate(calc(-50% + var(--confetti-x) * 1.1), 10rem) rotate(var(--confetti-spin)) scale(.8)}}@media (prefers-reduced-motion:reduce){#game-over[open]{animation:.15s ease-out both results-fade-in}#game-over[open] :is(.trap-symbol,#game-over-title,#death-message,.score-total-wrap,#score-breakdown,#score-best,button,.leaderboard-status,.results-encouragement),#game-over[data-tally-state] #run-score,#game-over #new-record,#score-celebration span{animation:none}#score-breakdown>div{transition:none}}#health-gauge{pointer-events:none;background:#062c39;border:.18rem solid #337e88;border-color:#91c4b2 #337e88 #174954;border-radius:.65rem;grid-area:1/2;min-width:0;height:2rem;position:relative;box-shadow:0 .12rem .15rem #061e2c66,inset 0 .1rem .15rem #001b2a}.health-track{background:linear-gradient(#032938,#073b49);border-radius:.32rem;position:absolute;inset:.12rem;overflow:hidden}.health-fill{border-radius:inherit;clip-path:inset(0 calc(100% - var(--health-fill,100%)) 0 0);background:linear-gradient(#ff8090,#ff3851 28%,#f42140 76%,#c70b2e);border:0;transition:clip-path .15s linear;position:absolute;inset:0;box-shadow:inset 0 .1rem #ffc3c4,inset 0 -.12rem #a9092c}#health-gauge[data-low=true] .health-fill{filter:brightness(.8)saturate(1.3)}@media (prefers-reduced-motion:reduce){.health-fill{transition:none}}#tutorial{z-index:3;text-align:center;pointer-events:none;color:#fff7de;text-shadow:0 .125rem .1875rem #183020;width:min(20rem,100% - 3rem);padding:1rem .75rem .25rem;position:absolute;top:22%;left:50%;transform:translate(-50%)}#tutorial h2{margin:.25rem 0 .5rem;font-size:2rem;font-weight:400;line-height:1.15}#tutorial p{font:400 1rem/1.4 var(--font-ui);margin:.25rem 0}#tutorial-icon{filter:drop-shadow(0 .125rem .1875rem #183020);--swipe-x:-3.5rem;--swipe-y:0rem;width:6rem;height:6rem;margin:0 auto .25rem;animation:1.65s ease-in-out infinite swipe-signal}#game[data-tutorial-focus=health] #health-gauge,#game[data-tutorial-focus=power] #power-button{outline-offset:.4rem;filter:drop-shadow(0 0 .6rem #ffe681);outline:.2rem solid #fff7de}#tutorial[data-direction=right] #tutorial-icon{--swipe-x:3.5rem}#tutorial[data-direction=back] #tutorial-icon{--swipe-x:0rem;--swipe-y:2.75rem}#tutorial[data-direction=power] #tutorial-icon{--swipe-x:0rem;--swipe-y:-2.75rem}#tutorial-skip{color:#fff7de;min-height:2.75rem;text-shadow:inherit;font:.75rem var(--font-ui);cursor:pointer;pointer-events:auto;background:0 0;border:0;padding:.5rem .875rem;text-decoration:underline}@keyframes swipe-signal{0%,12%{opacity:.65;transform:translate(calc(var(--swipe-x) * -.5), calc(var(--swipe-y) * -.5))}25%{opacity:1}65%{opacity:1;transform:translate(calc(var(--swipe-x) * .5), calc(var(--swipe-y) * .5))}85%,to{opacity:.65;transform:translate(calc(var(--swipe-x) * .5), calc(var(--swipe-y) * .5))}}@media (prefers-reduced-motion:reduce){#tutorial-icon{animation:none}}@media (height<=650px){#tutorial{top:18%}}#game-over h2{margin:.75rem 0;font-size:1.75rem;font-weight:400}#game-over p{font-family:var(--font-ui);margin:.75rem 0;font-size:.875rem;line-height:1.5}#try-again,.menu-button{width:100%;min-height:max(3.5rem,44px);font:400 1.125rem/1.2 var(--font-ui);margin-top:.7rem;padding:.55rem .75rem}#try-again:disabled{opacity:.5;cursor:default}#play{color:#fff3d6;width:min(17rem,100%);height:4.5rem;font:400 1.75rem/1.2 var(--font-ui);letter-spacing:.03125rem;margin:0 auto;padding:.5rem 2.5rem 1.125rem;display:block;box-shadow:0 0 0 .14rem #fff1b4,0 .3rem .5rem #10271966}#play:disabled{opacity:.7;cursor:default}#skin-picker{text-align:center;color:#fff3d6;text-shadow:0 .1rem .2rem #102719,0 0 .4rem #102719;touch-action:none;margin:0 auto .6rem}.skin-picker-heading{justify-content:center;align-items:center;gap:.5rem;display:flex}#skin-name{min-width:10rem;font-size:1.1rem}#skin-previous,#skin-next{flex:0 0 max(2.75rem,44px);align-self:center;width:max(2.75rem,44px);height:max(2.75rem,44px);font:2rem/1 system-ui,sans-serif}#skin-previous:disabled,#skin-next:disabled{opacity:.5;cursor:default}#skin-requirement{font:400 .85rem/1.3 var(--font-ui);margin:.1rem 0 .25rem}#options-menu{width:min(23.125rem, calc(var(--game-width) - 1.5rem));padding:2.075rem 1.7rem 1.95rem}.options-header{grid-template-columns:max(3.25rem,44px) 1fr max(3.25rem,44px);align-items:center;gap:.5rem;margin-bottom:1.5rem;display:grid}#options-title{font:400 1.5rem/1.2 var(--font-ui);margin:0}.volume-setting{text-align:left;margin:0 .5rem 1.375rem}.volume-setting label{justify-content:space-between;align-items:center;font-size:1.1875rem;display:flex}.volume-setting output{color:#fff5dc;min-width:4.1em;font:400 .875rem/1.4 var(--font-ui);font-variant-numeric:tabular-nums;text-align:center;background:linear-gradient(#174f43,#103d34);border:.1rem solid #5b8875;border-radius:.5rem;padding:.2rem .45rem;box-shadow:inset 0 .08rem #ffffff35,0 .1rem .12rem #50281025}.volume-setting p{font:400 .75rem/1.4 var(--font-ui);color:#754320;margin:0}.volume-setting input{--volume-track:linear-gradient(#ffffff24, transparent 45%, #00000025), linear-gradient(#20b47b, #008354) left / var(--volume,100%) 100% no-repeat, #10363c;--volume-thumb:radial-gradient(ellipse at 35% 18%, #fffbea99, transparent 60%), linear-gradient(#fff1c8, #dfb779);--volume-thumb-shadow:0 0 0 .1rem #76552f, 0 .16rem 0 #876036, 0 .22rem .2rem #50281040, inset 0 .12rem #fffbea, inset 0 -.12rem #c39050;appearance:none;cursor:pointer;touch-action:pan-y;background:0 0;border:0;border-radius:.5rem;width:100%;height:max(2.75rem,44px);margin:.3rem 0;padding:0;display:block}.volume-setting input::-webkit-slider-runnable-track{box-sizing:border-box;background:var(--volume-track);border:.15rem solid #dbb87c;border-radius:1rem;height:1.05rem;box-shadow:0 0 0 .08rem #76552f,0 .1rem #b48750,inset 0 .12rem .15rem #001f2b90}.volume-setting input::-moz-range-track{box-sizing:border-box;background:var(--volume-track);border:.15rem solid #dbb87c;border-radius:1rem;height:1.05rem;box-shadow:0 0 0 .08rem #76552f,0 .1rem #b48750,inset 0 .12rem .15rem #001f2b90}.volume-setting input::-webkit-slider-thumb{appearance:none;box-sizing:border-box;background:var(--volume-thumb);width:1.85rem;height:1.85rem;box-shadow:var(--volume-thumb-shadow);border:.18rem solid #e4c58c;border-color:#fff1c8 #e4c58c #ba8d53;border-radius:50%;margin-top:-.55rem}.volume-setting input::-moz-range-thumb{box-sizing:border-box;background:var(--volume-thumb);width:1.85rem;height:1.85rem;box-shadow:var(--volume-thumb-shadow);border:.18rem solid #e4c58c;border-color:#fff1c8 #e4c58c #ba8d53;border-radius:50%}.volume-setting input:active{--volume-thumb:linear-gradient(#efd49c, #d2a362)}.volume-setting input:focus-visible{outline-offset:.18rem;outline:.18rem solid #08754f}#options-back{margin-top:.625rem}#about-title{font:400 1.45rem/1.2 var(--font-ui);margin:0 0 1rem}#about-title:focus{outline:none}.about-brand{font:400 2rem/1.2 var(--font-title);margin:.6rem 0}#about-version,.about-copy,.about-details{text-transform:none;font:400 max(.9rem,14px)/1.5 system-ui,sans-serif}#about-help .about-copy,#about-help .about-copy *,#about-help .about-details,#about-help .about-details *{text-transform:none}#about-version{color:#075c40}.about-email{overflow-wrap:anywhere}.about-details{text-align:left;border-top:1px solid #b98b56;margin-top:1rem;padding-top:.5rem}.about-details summary{cursor:pointer;min-height:44px;padding:.65rem .15rem;font-weight:700}.about-details pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere}.about-details p{margin:.6rem 0 1rem}#about-status{color:#8b1c11}#power-button{isolation:isolate;color:#fff3d6;cursor:pointer;touch-action:none;background:0 0;border:0;flex-direction:column;align-items:stretch;width:100%;margin:.5625rem 0 0;padding:0 0 1rem;display:flex;position:relative}#power-button:disabled{cursor:default}#health-gauge:not([hidden]),#power-button:not([hidden]){transform-origin:50%;animation:.4s ease-out both hud-bar-in}#health-gauge{--bar-enter-y:-.4rem}#power-button{--bar-enter-y:.4rem}#game[data-hud-intro] :is(#health-gauge,#power-button){animation:none}#game[data-hud-intro=active] #home-controls{pointer-events:none;width:100%;position:absolute;bottom:0;left:0}#game[data-hud-intro=active] :is(#title-logo,#home-controls,#coin-counter,#options-button,#health-gauge,#power-button){will-change:transform, opacity}#game[data-hud-intro=active] :is(#play,#shop-home,#options-button):disabled{opacity:1;filter:none}#game[data-hud-intro=active] #options-button{transition:none}.hud-exit-cog{pointer-events:none;will-change:transform;transition:none;position:absolute;top:0;right:0}@keyframes hud-bar-in{0%{opacity:0;transform:translateY(var(--bar-enter-y)) scale(.92)}70%{opacity:1;transform:translateY(0)scale(1.025)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){#health-gauge:not([hidden]),#power-button:not([hidden]){animation:.15s ease-out both results-fade-in}}#power-gauge{background:#062e43;border:.18rem solid #3d95af;border-color:#86d5e6 #3d95af #24677d;border-radius:.65rem;height:2rem;margin-left:2.35rem;display:block;position:relative;box-shadow:0 .12rem #032334,0 .2rem .25rem #051e3044,inset 0 .1rem .18rem #001c2e}.power-track{background:linear-gradient(#032638,#073a52);border-radius:.32rem;position:absolute;inset:.12rem;overflow:hidden}.power-fill{border-radius:inherit;clip-path:inset(0 calc(100% - var(--power-fill,0%)) 0 0);background:linear-gradient(#49d1ff,#0da9f5 24%,#0798ee 72%,#047bc8);border:0;transition:clip-path .2s ease-out;position:absolute;inset:0;box-shadow:inset 0 .1rem #a3edff,inset 0 -.12rem #076cb8}.power-divisions{background:repeating-linear-gradient(to right, transparent 0, transparent calc(var(--power-segment-width,25%) - .16rem), #07598899 calc(var(--power-segment-width,25%) - .16rem), #07598899 calc(var(--power-segment-width,25%) - .07rem), #c4f1ff55 calc(var(--power-segment-width,25%) - .07rem), #c4f1ff55 var(--power-segment-width,25%));clip-path:inset(0 .16rem 0 0);pointer-events:none;position:absolute;inset:.18rem 0}.power-badge{z-index:1;pointer-events:none;background:linear-gradient(130deg,#197dab,#085075 70%,#043550);border:.16rem solid #216d91;border-color:#77c8e3 #216d91 #216d91 #4cb0d1;border-radius:50%;width:2.5rem;height:2.5rem;position:absolute;top:-.22rem;left:0;box-shadow:0 .12rem #03283f,inset 0 .08rem .1rem #b8eaff55,inset 0 -.12rem .14rem #012b4688}.power-badge:after{content:"";filter:drop-shadow(0 .08rem .04rem #01283f);background:url(../assets/ui/power-bolt.svg) 50%/contain no-repeat;position:absolute;inset:.26rem .48rem}#power-button:focus-visible{outline-offset:.3rem;border-radius:.65rem;outline:.16rem solid #fff5d9}#power-button:active:not(:disabled) #power-gauge{filter:brightness(1.12)}#power-button[data-ready=true] #power-gauge{filter:drop-shadow(0 0 .3125rem #96dbff)}#power-fire{z-index:-1;pointer-events:none;width:calc(100% + 1.5rem);height:4.375rem;position:absolute;top:-2.3125rem;left:-.75rem}@media (prefers-reduced-motion:reduce){.power-fill{transition:none}}.round-button{width:max(3.25rem,44px);height:max(3.25rem,44px)}.top-hud{grid-template-rows:max(3.25rem,44px);grid-template-columns:7.75rem minmax(0,1fr) max(3.25rem,44px)}.pause-icon{fill:#fff9e7;filter:drop-shadow(0 .1rem .04rem #003d32);width:2rem;height:2rem;display:none}#game[data-hud-layout=run] .top-hud{grid-template-rows:auto;grid-template-columns:max(3rem,44px) minmax(3rem,1fr) fit-content(55%);column-gap:.55rem}#game[data-hud-layout=run] #options-button{background:linear-gradient(135deg,#198768,#07634d 65%,#034e42);border-color:#fff2c7 #c8ddbe #6c9b80;border-radius:.7rem;grid-column:1;align-self:center;width:max(3rem,44px);height:max(3rem,44px);box-shadow:0 .15rem #163f32,0 .23rem .22rem #10271955,inset 0 .1rem .12rem #9be0b499,inset 0 -.15rem .16rem #00382f99}#game[data-hud-layout=run] #options-button:before{border-color:#c1edce88 #003b3655 #003b3655;border-radius:.38rem}#game[data-hud-layout=run] #options-button:active:not(:disabled){background-image:linear-gradient(135deg,#10765a,#034e42)}#game[data-hud-layout=run] #options-button>img{display:none}#game[data-hud-layout=run] .pause-icon{display:block}#game[data-hud-layout=run] #coin-counter{background:linear-gradient(135deg,#164838,#072f30 75%,#05262c);border-radius:.7rem;grid-column:3;place-self:center stretch;gap:.25rem;width:auto;max-width:100%;height:auto;min-height:2.7rem;padding:.25rem .45rem .25rem .2rem}#game[data-hud-layout=run] #coin-counter .coin-icon{flex-basis:1.75rem;width:1.75rem;height:1.75rem}#game[data-hud-layout=run] #coin-count{white-space:normal;overflow-wrap:anywhere;text-overflow:clip;font-size:1.1rem;overflow:visible}.options-header{grid-template-columns:max(3.25rem,44px) minmax(0,1fr) max(3.25rem,44px)}#tutorial-skip,#power-button,.volume-setting input{min-height:44px}.leaderboard-status,#score-breakdown,.volume-setting p,#tutorial-skip{font-size:max(.75rem,11px)}.movement-ui{max-width:calc(100% - max(1rem, var(--safe-left)) - max(1rem, var(--safe-right)))}:is(#game-over,#options-menu){top:var(--safe-top);bottom:var(--safe-bottom);max-width:calc(var(--game-width) - var(--safe-left) - var(--safe-right) - 1.5rem);max-height:calc(100dvh - var(--safe-top) - var(--safe-bottom) - 1.5rem);--dialog-padding-y:5.5rem;overflow:hidden}#options-menu{--dialog-padding-y:4.625rem}.dialog-content{max-height:calc(100dvh - var(--safe-top) - var(--safe-bottom) - 1.5rem - var(--dialog-padding-y));overscroll-behavior:contain;overflow-y:auto}#game-over .dialog-content{scrollbar-width:none;overflow-x:hidden}#game-over .dialog-content::-webkit-scrollbar{display:none}#boss-hud{z-index:3;top:calc(env(safe-area-inset-top,0px) + 5.5rem);bottom:calc(env(safe-area-inset-bottom,0px) + 2rem);text-align:center;pointer-events:none;color:#fff3d6;text-shadow:0 .125rem .2rem #191a20;position:absolute;left:12%;right:12%}#boss-hud h2{margin:0 0 .5rem;font-size:1.2rem}#boss-health{background:#2b2024;border:.2rem solid #542327;border-radius:.5rem;height:1rem;overflow:hidden;box-shadow:0 0 0 .1rem #fff0c6aa}#game:not([data-boss-state=idle])[data-boss-state] #health-gauge:after{content:"You";text-align:center;color:#fff6df;text-shadow:0 .1rem .2rem #102719;font-size:.7rem;position:absolute;top:calc(100% + .5rem);left:0;right:0}#boss-health span{height:100%;width:var(--boss-health,100%);background:#ec6645;transition:width 80ms linear;display:block}#game[data-boss-state=blocking] #boss-health{border-color:#4489ac}#game[data-boss-state=blocking] #boss-health span{background:#78c9ed}#boss-hint{width:110%;margin:0;font-size:1rem;position:absolute;bottom:0;left:-5%}#boss-tutorial{z-index:3;text-align:center;pointer-events:none;color:#fff7de;text-shadow:0 .125rem .25rem #183020,0 0 .4rem #183020;width:min(22rem,100% - 2rem);position:absolute;bottom:13%;left:50%;transform:translate(-50%)}#boss-tutorial h2{margin:.25rem 0;font-size:1.75rem;line-height:1.2}#boss-tutorial p{font:400 1.125rem/1.4 var(--font-ui);margin:.25rem 0}#boss-tutorial img{filter:drop-shadow(0 .125rem .1875rem #183020);--swipe-y:0rem;width:6rem;height:6rem;animation:1.65s ease-in-out infinite swipe-signal;display:inline-block}.boss-swipe-left{--swipe-x:-2rem}.boss-swipe-right{--swipe-x:2rem}@media (prefers-reduced-motion:reduce){#boss-tutorial img{animation:none}}#boss-slash{pointer-events:none;z-index:2;opacity:0;background:#fff7db;border-radius:100%;width:70%;height:.4rem;position:absolute;top:48%;left:50%;box-shadow:0 0 .8rem #ffc86a}#boss-damage{pointer-events:none;z-index:2;opacity:0;position:absolute;inset:0;box-shadow:inset 0 0 5rem 1rem #c52229}#game[data-boss-state=windup] #boss-hud h2{color:#ff9b70}@media (prefers-reduced-motion:reduce){#boss-health span{transition:none}}.top-hud .coin-counter{align-self:start}#play:after,#try-again:after,#shop-home:after{content:"";background:var(--action-icon) center / contain no-repeat;pointer-events:none;width:1.4rem;height:1.4rem;position:absolute;top:50%;left:.75rem;transform:translateY(-50%)}#play:after{border-top:.6rem solid #0000;border-bottom:.6rem solid #0000;border-left:.9rem solid #fff5d9;width:0;height:0;top:calc(50% - .85rem)}#play:disabled:after{opacity:.4}#try-again{--action-icon:url(../assets/ui/retry-icon.svg);min-height:4rem;padding-inline:2.5rem;font-size:1.4rem}#shop-home{--action-icon:url(../assets/ui/skull.svg);padding-inline:2.5rem}#game-over #score-best{color:#075b38;border-block:1px solid #b6754044;padding:.45rem .3rem}#game-over #death-message{max-width:24rem;margin-inline:auto}.results-actions{gap:.75rem;padding:.2rem .15rem .3rem;display:grid;position:relative}.results-secondary-actions{gap:inherit;grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));display:grid}#game-over .share-status{color:#70411d;margin:0}#game-over #rewarded-ad-status{z-index:8;color:#fff9e3;width:min(18rem,100% - .3rem);font:400 .8rem/1.35 var(--font-ui);text-align:center;text-shadow:0 .08rem #06251c;pointer-events:none;background:#173f35;border:.18rem solid #fff1c8;border-radius:.7rem;margin:0;padding:.7rem .85rem;animation:.18s ease-out both rewarded-ad-toast-in;position:absolute;top:0;left:50%;transform:translate(-50%,calc(-100% - .4rem));box-shadow:0 .2rem #0b291f,0 .45rem .8rem #10271977}@keyframes rewarded-ad-toast-in{0%{opacity:0;transform:translate(-50%,calc(.2rem - 100%))scale(.96)}to{opacity:1;transform:translate(-50%,calc(-100% - .4rem))scale(1)}}#game-over .results-actions button{min-height:4rem;margin:0;padding-inline:2.75rem;font-size:1rem}#game-over .results-actions button:after{width:1.6rem;height:1.6rem;left:.85rem}#game-over .results-actions .result-reward-action{text-align:left;grid-template-columns:minmax(1.8rem,2.35rem) minmax(0,1fr);gap:.4rem;padding-inline:.55rem;display:grid}.result-action-icon{width:clamp(1.5rem, calc(var(--results-unit) * 2.35), 2.35rem);height:clamp(1.5rem, calc(var(--results-unit) * 2.35), 2.35rem);object-fit:contain;display:block}.result-action-copy{place-items:center;min-width:0;line-height:1;display:grid}.result-action-value{white-space:nowrap;justify-content:center;align-items:center;gap:.22rem;font-size:1.1em;display:inline-flex}.result-action-value img{object-fit:contain;width:1.25em;height:1.25em}#game-over .results-actions .result-nav-action{gap:.35rem;padding-inline:.6rem}.result-nav-action img{object-fit:contain;flex:none;width:1.65rem;height:1.65rem}#game-over .results-encouragement{margin:.45rem 0 0;font-size:.75rem;line-height:1.55}#game[data-rewarded-ad-visible=true] #game-over .results-encouragement{display:none}#game-over{--results-unit:min(1rem, calc(var(--ui-available-height,100dvh) / 48));--dialog-padding-y:calc(var(--results-unit) * 2 + .6rem);width:min(25rem, calc(var(--game-width) - var(--safe-left) - var(--safe-right) - 1.5rem));padding:var(--results-unit) calc(var(--results-unit) * 1.25);max-height:calc(var(--ui-available-height,100dvh) - 1.5rem)}#game-over .dialog-content{max-height:calc(var(--ui-available-height,100dvh) - 1.5rem - var(--dialog-padding-y));padding:calc(var(--results-unit) * .25)}#game-over .trap-symbol{width:calc(var(--results-unit) * 3);height:calc(var(--results-unit) * 3)}#game-over h2{font-size:max(20px, calc(var(--results-unit) * 1.8));margin:calc(var(--results-unit) * .5) 0;line-height:1.1}#game-over p{font-size:max(11px, calc(var(--results-unit) * .85));margin-block:calc(var(--results-unit) * .4);line-height:1.3}#game-over #run-score{font-size:max(21px, calc(var(--results-unit) * 1.75));margin:calc(var(--results-unit) * .5) 0;line-height:1.15}#game-over #new-record{font-size:max(11px, calc(var(--results-unit) * .8));margin:calc(var(--results-unit) * .3) 0}#game-over #score-breakdown{font-size:max(11px, calc(var(--results-unit) * .75));gap:calc(var(--results-unit) * .3);margin:calc(var(--results-unit) * .6) 0;line-height:1.3}#game-over #score-breakdown>div{padding:calc(var(--results-unit) * .3) calc(var(--results-unit) * .4)}#game-over #score-best{padding:calc(var(--results-unit) * .4);margin:calc(var(--results-unit) * .6) 0}#game-over .results-actions{gap:calc(var(--results-unit) * .65);padding:calc(var(--results-unit) * .3)}#game-over .results-actions button{min-height:max(44px, calc(var(--results-unit) * 3.5));padding-block:calc(var(--results-unit) * .35);font-size:max(12px, var(--results-unit))}#game-over .results-actions #try-again{font-size:max(18px, calc(var(--results-unit) * 1.4))}#game-over .results-actions :is(.leaderboard-status,.results-encouragement){font-size:max(11px, calc(var(--results-unit) * .7));margin:0;line-height:1.3}#game[data-ui-height=compact] #game-over{--dialog-padding-y:calc(var(--results-unit) * 1.4 + .6rem);padding-block:calc(var(--results-unit) * .7)}#game[data-ui-height=compact] #game-over .results-heading{justify-content:center;align-items:center;gap:calc(var(--results-unit) * .6);display:flex}#game[data-ui-height=compact] #game-over .trap-symbol{width:calc(var(--results-unit) * 2.2);height:calc(var(--results-unit) * 2.2);flex:none;margin:0}#game[data-ui-height=compact] #game-over h2{margin:calc(var(--results-unit) * .2) 0}#game[data-ui-height=compact] #game-over #death-message{margin-block:calc(var(--results-unit) * .25)}#game[data-ui-height=compact] #game-over #run-score{margin-block:calc(var(--results-unit) * .3)}#game[data-ui-height=compact] #game-over #new-record{margin-block:calc(var(--results-unit) * .2)}#game[data-ui-height=compact] #game-over #score-breakdown{margin-block:calc(var(--results-unit) * .3);gap:calc(var(--results-unit) * .2)}#game[data-ui-height=compact] #game-over #score-breakdown>div{padding-block:calc(var(--results-unit) * .2)}#game[data-ui-height=compact] #game-over #score-best{margin-block:calc(var(--results-unit) * .3);padding-block:calc(var(--results-unit) * .25)}#game[data-ui-height=compact] #game-over .results-actions{gap:calc(var(--results-unit) * .55)}@media (height<=600px){#play{height:4rem}#shop-home,#title-leaderboard .menu-button{min-height:2.8rem;margin-top:.3rem}}:is(#play,#try-again,.menu-button){border:.3rem solid #e4c58c;background:var(--button-surface,linear-gradient(115deg, #15945b, #087246 65%, #065837));color:var(--button-ink,#fff9e3);text-shadow:var(--button-text-shadow,0 .12rem .06rem #073d29);box-shadow:0 0 0 .1rem #6d502c, 0 .25rem 0 #715031, 0 .4rem .45rem #10271966, inset 0 .15rem .15rem var(--button-highlight,#92e9b277), inset 0 -.2rem .2rem var(--button-shade,#003e3288);border-top-color:#fff1c8;border-bottom-color:#ba8d53;border-radius:.8rem;transition:transform .12s,filter .12s}.button-secondary{--button-surface:linear-gradient(115deg, #fff0cf, #f5dbac 70%, #edd0a0);--button-ink:#502810;--button-text-shadow:0 .06rem #fff7e0;--button-highlight:#fff9e6;--button-shade:#b8874544}#play.home-action,#reward-continue.home-action,#shop-home.home-action,#title-leaderboard .home-action{width:100%;min-height:3.65rem;font:400 1rem/1.15 var(--font-ui);justify-content:center;align-items:center;margin:.7rem auto 0;padding:.55rem 2.85rem;display:flex}#title-leaderboard{width:100%}#play.home-action,#reward-continue.home-action{--home-icon:url(../assets/ui/home-play.png);height:5.15rem;margin-top:0;padding-inline:3.4rem;font-size:2rem}#shop-home.home-action{--home-icon:url(../assets/ui/home-collection.png)}#shop-notification{z-index:2;color:#fff9e3;width:1.5rem;height:1.5rem;font:400 1rem/1 var(--font-ui);text-shadow:0 .08rem #7a0d1b;pointer-events:none;background:linear-gradient(#fa534b,#be152a);border:.15rem solid #fff0c6;border-radius:50%;place-items:center;display:grid;position:absolute;top:.25rem;right:.3rem;box-shadow:0 .12rem .16rem #50281077}#shop-notification[hidden]{display:none}#title-leaderboard .home-action{--home-icon:url(../assets/ui/trophy.svg)}:is(#play,#try-again,.menu-button):before{content:"";z-index:-1;pointer-events:none;filter:none;background:0 0;border:.1rem solid #9e702e55;border-color:#ffffff80 #9e702e55 #9e702e55 #fff6;border-image:;border-radius:.36rem;position:absolute;inset:.2rem}:is(#play,#try-again,.menu-button):not(.button-secondary):before{border-bottom-color:#003f3280;border-right-color:#003f3255}#play.home-action:after,#shop-home.home-action:after,#title-leaderboard .home-action:after{width:1.75rem;height:1.9rem;-webkit-mask:var(--home-icon) center / contain no-repeat;-webkit-mask:var(--home-icon) center / contain no-repeat;mask:var(--home-icon) center / contain no-repeat;background:currentColor;border:0;top:50%;left:.8rem;transform:translateY(-50%)}#play.home-action:after{width:1.9rem;height:2.2rem;left:1.35rem}:is(#play,#try-again,.menu-button):active:not(:disabled){filter:brightness(.94);transform:translateY(.16rem)}:is(#play,#try-again,.menu-button):focus-visible{outline-offset:.3rem;outline:.18rem solid #fffbea}:is(#play,#try-again,.menu-button):disabled{filter:saturate(.35);opacity:.7;cursor:default}.shop-card[data-owned=false] .menu-button:disabled,.shop-mystery:disabled{--button-surface:linear-gradient(115deg, #536b72, #304852 70%, #243942);--button-highlight:#b7ccd044;--button-shade:#102a3988}#shop-game-over:disabled{--button-surface:linear-gradient(115deg, #536b72, #304852 70%, #243942);--button-highlight:#b7ccd044;--button-shade:#102a3988;filter:none;opacity:1;cursor:default}#shop-game-over:disabled:after{filter:grayscale();opacity:.65}#character-shop .shop-card .menu-button{border-width:.18rem;border-radius:.5rem}#character-shop .shop-card .menu-button:before{border-radius:.2rem;inset:.12rem}#character-shop .shop-card .menu-button:disabled{opacity:1;filter:none}.shop-store-actions{justify-content:center;gap:.45rem;display:flex}.shop-store-actions .menu-button{flex:1;min-height:44px;padding:.5rem;font-size:max(.7rem,11px)}#tutorial-skip{border-radius:.5rem}#tutorial-skip:active:not(:disabled){background:#073d2944}#title-leaderboard .leaderboard-status:empty{display:none}#game:is([data-session-phase=title],[data-session-phase=starting]) .movement-ui{bottom:max(1rem, var(--safe-bottom))}#game:is([data-session-phase=title],[data-session-phase=starting]) #skin-name{overflow-wrap:anywhere;flex:1;min-width:0}#game:is([data-session-phase=title],[data-session-phase=starting])[data-ui-height=compact]{--home-unit:min(1rem, calc(var(--ui-available-height,100dvh) / 55))}#game:is([data-session-phase=title],[data-session-phase=starting])[data-ui-height=compact] :is(#play.home-action,#shop-home.home-action,#title-leaderboard .home-action){min-height:max(44px, calc(var(--home-unit) * 3.25));height:auto;margin-top:calc(var(--home-unit) * .55);padding-block:calc(var(--home-unit) * .35);font-size:max(12px, var(--home-unit))}#game:is([data-session-phase=title],[data-session-phase=starting])[data-ui-height=compact] #play.home-action{min-height:max(52px, calc(var(--home-unit) * 4.6));font-size:max(22px, calc(var(--home-unit) * 1.8));margin-top:0}#game:is([data-session-phase=title],[data-session-phase=starting])[data-ui-height=compact] #skin-picker{margin-bottom:calc(var(--home-unit) * .5)}#game:is([data-session-phase=title],[data-session-phase=starting])[data-ui-height=compact] #skin-name{font-size:max(12px, var(--home-unit));line-height:1.2}#game:is([data-session-phase=title],[data-session-phase=starting])[data-ui-height=compact] #skin-requirement{font-size:max(11px, calc(var(--home-unit) * .75))}#game:is([data-session-phase=title],[data-session-phase=starting])[data-ui-height=compact] #title-leaderboard .leaderboard-status{font-size:max(11px, calc(var(--home-unit) * .7));margin-top:calc(var(--home-unit) * .45);line-height:1.3}@media (height<=600px){#play.home-action{height:4rem;font-size:1.75rem}#shop-home.home-action,#title-leaderboard .home-action{min-height:3.15rem;margin-top:.55rem}}@media (prefers-reduced-motion:reduce){:is(#play,#try-again,.menu-button){transition:none}#game-over #rewarded-ad-status{animation:none}}
