.resource-icon{object-fit:contain;vertical-align:middle;pointer-events:none;flex-shrink:0;width:1.6em;height:1.6em;display:inline-block}.coin-value{color:#ffc237;text-shadow:0 2px #8d410f,0 0 18px #ffbd3433}.current-level-button .level-value,.level-value{color:#d5a9ff;-webkit-text-fill-color:transparent;text-shadow:none;filter:drop-shadow(0 2px #4d246d)drop-shadow(0 0 6px #be78ff33);background:linear-gradient(#fff5ff 5%,#ebceff 25%,#ce98ff 55%,#a86ee8 85%);-webkit-background-clip:text;background-clip:text;line-height:1}.stats b,.coin-total,.landscape-score{justify-content:center;align-items:center;gap:.2em;display:inline-flex}.stats .resource-icon{width:24px;height:24px}.attempts-counter .resource-icon{width:44px;height:44px}.reward-button .resource-icon{width:30px;height:30px}.coin-total .resource-icon{width:76px;height:76px}.landscape-score .resource-icon{width:1.8em;height:1.8em}.sidebar-actions .attempts-counter strong,.life-value{color:#ff3434;-webkit-text-fill-color:transparent;text-shadow:none;filter:drop-shadow(0 2px #490b20)drop-shadow(0 0 7px #ff242455);background:linear-gradient(#ffe0d6 5%,#ff7564 22%,#ff2424 48%,#c40920 75%,#790d26);-webkit-background-clip:text;background-clip:text;line-height:1}.sidebar-actions .attempts-counter:disabled{opacity:1;cursor:default}.sidebar-actions button.attempts-counter,.sidebar-utility-row>button{background:#2c264b;border-radius:11px}.sidebar-actions .attempts-counter:not(:disabled):hover,.sidebar-utility-row>button:not(:disabled):hover{background:#393054}.sidebar-actions .attempts-counter:focus-visible{outline-offset:2px;outline:3px solid #fff0a4}.sidebar-actions .attempts-counter{position:relative}.sidebar-life-play{object-fit:contain;pointer-events:none;width:40px;height:40px;position:absolute;top:-18px;right:-8px;transform:rotate(10deg)}.attempts-counter:not(:disabled):hover .sidebar-life-play{filter:brightness(1.15)}.attempts-counter:disabled img.sidebar-life-play{opacity:.42}.sidebar-actions .attempts-counter[aria-busy=true]{opacity:.65;cursor:progress}@media (forced-colors:active){.current-level-button .level-value,.level-value,.sidebar-actions .attempts-counter strong,.life-value{-webkit-text-fill-color:currentColor;filter:none;background:0 0}}.piggy-coin-layer{pointer-events:none;z-index:8;position:absolute;top:0;bottom:0;left:0;right:0}.piggy-flying-coin,.piggy-coin-pile{place-items:center;display:grid;position:absolute;transform:translate(-50%,-50%)}.piggy-flying-coin img{object-fit:contain;width:34%;height:34%}.piggy-coin-pile>img{object-fit:contain;filter:drop-shadow(0 2px 3px #40240066);width:88%;height:88%}.piggy-coin-pile .landscape-score{white-space:nowrap}.piggy-coin-pile.is-top-row .landscape-score{top:calc(50% + 40px)}@media (prefers-reduced-motion:reduce){.piggy-flying-coin{display:none}.piggy-coin-pile.is-flying>img{opacity:1!important}.piggy-coin-pile .landscape-score{transform:none!important}}.game-viewport{--game-scale:1;justify-content:center;align-items:center;width:100%;min-width:0;height:100%;min-height:0;display:flex;overflow:clip}.game-stage{width:calc(1012px * var(--game-scale));height:calc(700px * var(--game-scale));flex:none}.game-viewport .game-layout{width:1012px;height:700px;transform:scale(var(--game-scale));transform-origin:0 0;grid-template-rows:700px;grid-template-columns:700px 300px;justify-self:start;gap:12px}.game-viewport .board-shell{width:700px;height:700px;padding-bottom:0}.game-viewport .board{width:700px;height:700px}.game-viewport .game-sidebar{align-self:start;height:700px}.game-viewport .cell[data-row-edge=bottom] .selected-item-actions{top:auto;bottom:calc(100% + 3px)}.start-screen{isolation:isolate;color:#fff6db;background:radial-gradient(at 50% 42%,#673354,#1c102f 75%);width:100%;height:100dvh;position:relative;overflow:hidden}.start-screen__art{z-index:-1;position:absolute;top:0;bottom:0;left:0;right:0}.start-screen__art img{object-fit:cover;object-position:55% 45%;width:100%;height:100%}.start-screen__art:after{content:"";background:linear-gradient(#180b2b20,#0000 35% 65%,#190c2ce8),linear-gradient(115deg,#1d0c3599,#0000 38%);position:absolute;top:0;bottom:0;left:0;right:0}.start-screen__brand{top:max(5dvh, env(safe-area-inset-top));left:max(4.5vw, env(safe-area-inset-left));position:absolute;transform:rotate(-5deg)}.start-screen h1{letter-spacing:-.055em;text-transform:uppercase;filter:drop-shadow(0 6px #391236)drop-shadow(0 10px 12px #15082499);margin:0;font-size:clamp(44px,min(7vw,11dvh),106px);font-weight:1000;line-height:.95;display:grid}.start-screen h1 span{color:#ffcd4f;-webkit-text-fill-color:transparent;background:linear-gradient(#fff9bd 8%,#ffdf6a 38%,#ffae26 70%,#fb7820);-webkit-background-clip:text;background-clip:text}.start-screen h1 span:last-child{padding-left:.1em}.start-screen__action{--start-button-size:78px;--start-controls-width:min(100%, calc(clamp(230px, 24vw, 320px) + var(--start-button-size) + 12px));bottom:max(5dvh, calc(env(safe-area-inset-bottom) + 16px));text-align:center;justify-items:center;gap:18px;padding:0 24px;display:grid;position:absolute;left:0;right:0}.start-screen__action p{text-wrap:balance;text-shadow:0 2px 5px #180b2b,0 0 20px #180b2b;max-width:640px;margin:0;font-size:clamp(16px,1.7vw,23px);font-weight:750;line-height:1.4}.start-screen__buttons{height:var(--start-button-size);grid-template-columns:var(--start-button-size) minmax(0, 1fr);width:var(--start-controls-width);gap:12px;display:grid}.start-screen__button{width:100%;min-width:0;height:var(--start-button-size);color:#4a2035;letter-spacing:.015em;text-shadow:0 1px #ffe9a8;background:linear-gradient(#ffe17a 0%,#ffb43b 45%,#f8811c 100%);border:3px solid #ffef9c;border-radius:24px;justify-content:center;align-items:center;gap:13px;padding:12px;font-size:34px;font-weight:1000;animation:3.6s ease-in-out infinite start-heartbeat;display:flex;position:relative;box-shadow:inset 0 3px #fff7b7,inset 0 -3px #d7651c,0 7px #903c28,0 11px #3a1836,0 14px 40px #fa8b2745}.start-screen__button:focus-visible{outline-offset:9px;outline:4px solid #9cf9ff}.start-screen__button:not(:disabled):hover{filter:brightness(1.1)}.start-screen__button:not(:disabled):active{animation:none;transform:translateY(4px)scale(.98)}.start-screen__button:disabled{opacity:.75;animation:none}.start-screen__sound{box-shadow:none;text-shadow:none;background:#2c264b;border-color:#0000;padding:7px;animation:none}.start-screen__sound:not(:disabled):hover{filter:none;background:#393054}.start-screen__sound:not(:disabled):hover .utility-tooltip{visibility:visible}.start-screen__sound:not(:disabled):focus-visible .utility-tooltip{visibility:visible}.start-screen.is-paused *{animation-play-state:paused!important}.start-screen__loading{width:var(--start-controls-width);height:var(--start-button-size);box-sizing:border-box;text-align:center;background:#1c102fee;border-radius:18px;grid-template-columns:minmax(0,1fr) auto;align-content:center;align-items:center;gap:6px 10px;padding:8px 16px;display:grid;box-shadow:0 4px 20px #12082166}.start-screen__loading-label{text-align:left;font-size:14px;line-height:18px}.start-screen__progress{background:#120d23;border:2px solid #8e6e8d;border-radius:10px;grid-column:1/-1;height:14px;overflow:hidden}.start-screen__progress-fill{background:linear-gradient(90deg,#ee8d28,#ffe184);border-radius:8px;height:100%}.start-screen__percent{font-variant-numeric:tabular-nums;font-size:14px}.start-screen__retry{color:#321427;background:#ffce5b;border:2px solid #ffe184;border-radius:12px;min-height:44px;padding:8px 12px;font-weight:800}@keyframes start-heartbeat{0%,18%,34%,to{transform:scale(1)}10%{transform:scale(1.035)}26%{transform:scale(1.02)}}@media (max-aspect-ratio:4/5){.start-screen{background:#1c102f}.start-screen__art{top:18%;bottom:18%;left:0;right:0}.start-screen__art img{object-position:60% 45%}.start-screen__art:after{background:linear-gradient(#1c102f,#0000 18% 72%,#1c102f)}.start-screen__brand{top:max(4dvh, calc(env(safe-area-inset-top) + 12px));text-align:center;left:0;right:0}.start-screen h1{font-size:clamp(38px,min(13vw,7.5dvh),76px)}.start-screen__action{--start-button-size:72px;--start-controls-width:min(100%, 364px);bottom:max(6dvh, calc(env(safe-area-inset-bottom) + 18px));gap:20px}.start-screen__action p{max-width:310px;font-size:17px}.start-screen__button{font-size:clamp(26px,8vw,34px)}}@media (max-height:480px) and (min-aspect-ratio:4/5){.start-screen__brand{top:6%}.start-screen h1{font-size:clamp(32px,10dvh,48px)}.start-screen__action{--start-button-size:64px;--start-controls-width:min(100%, 286px);bottom:max(6dvh, calc(env(safe-area-inset-bottom) + 12px));gap:8px}.start-screen__action p{font-size:14px}.start-screen__button{border-radius:18px;font-size:26px}}@media (prefers-reduced-motion:reduce){.start-screen *,.start-screen :before,.start-screen :after{transition:none!important;animation:none!important}}.sidebar-actions .life-gain{z-index:6;pointer-events:none;letter-spacing:normal;align-items:center;gap:5px;width:max-content;animation:2.2s ease-out both lifeGainFloat;display:inline-flex;position:absolute;bottom:calc(100% + 4px);left:50%}.sidebar-actions .life-gain strong{font-size:28px}.sidebar-actions .life-gain .resource-icon{filter:drop-shadow(0 2px 3px #211433);width:36px;height:36px}.is-paused .life-gain{animation-play-state:paused}@keyframes lifeGainFloat{0%{opacity:0;transform:translate(-50%,8px)scale(.65)}15%{opacity:1;transform:translate(-50%,-6px)scale(1.12)}28%{opacity:1;transform:translate(-50%,-12px)scale(1)}65%{opacity:1}to{opacity:0;transform:translate(-50%,-66px)scale(.94)}}@keyframes lifeGainFade{0%,80%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){.sidebar-actions .life-gain{animation-name:lifeGainFade;transform:translate(-50%)}}.rewarded-ad-badge{pointer-events:none}.rewarded-ad-badge.rewarded-ad-countdown{color:#fff0a4;letter-spacing:normal;font-variant-numeric:tabular-nums;background:#573199;border-radius:12px;place-items:center;padding:0;font-size:20px;font-weight:900;line-height:1;display:grid;transform:none;box-shadow:inset 0 1px #ffffff38,0 2px 5px #0004}.outcome-prompt .outcome-retry{color:#fff;box-shadow:none;letter-spacing:.03em;background:linear-gradient(135deg,#8a69b8,#66518f);flex:0 0 50px;justify-content:center;align-items:center;gap:8px;padding:0;font-weight:900;display:flex;position:relative}.outcome-retry>img{object-fit:contain;pointer-events:none;flex-shrink:0;width:38px;height:38px;display:block}.outcome-retry:not(:disabled):active,.outcome-map:not(:disabled):active{transform:scale(.98)}.failure-actions{gap:12px;display:flex}.failure-actions>.outcome-retry--prominent{flex:1;min-width:0;padding:0 10px}.outcome-prompt .outcome-map{background:linear-gradient(135deg,#29465a,#203341);flex:0 0 58px;place-items:center;padding:0;display:grid;position:relative;box-shadow:inset 0 1px #ffffff12}.outcome-map>.resource-icon{width:38px;height:38px}.outcome-map:not(:disabled):hover{background:#34566b}.outcome-map .utility-tooltip{left:auto;right:0}.outcome-retry .utility-tooltip{text-shadow:none}.outcome-retry:not(:disabled):hover .utility-tooltip,.outcome-map:not(:disabled):hover .utility-tooltip{visibility:visible}.outcome-retry:not(:disabled):focus-visible .utility-tooltip{visibility:visible}.outcome-map:not(:disabled):focus-visible .utility-tooltip{visibility:visible}.success-rewards{justify-items:center;gap:6px;margin-bottom:10px;display:grid}.reward-continue-slot{gap:8px;width:100%;min-height:58px;display:flex}.reward-continue-slot>.primary{flex:1;min-width:0}.reward-continue-slot>.victory-double{color:#fff8d9;text-shadow:0 2px 2px #77194d;background:linear-gradient(125deg,#b72bf4 0%,#ed3ba7 55%,#ff6b72 100%);border:0;flex:0 0 22%;justify-content:center;align-items:center;gap:4px;display:flex;position:relative;box-shadow:inset 0 2px #fff5,0 4px #742164,0 6px 22px #ed3ba777}.reward-continue-slot>.victory-double:not(:disabled):hover{filter:brightness(1.12)}.victory-video-badge{object-fit:contain;width:38px;height:38px;position:absolute;top:-16px;right:-8px;transform:rotate(10deg)}.victory-ad-error{margin:0 0 6px;font-size:13px}.victory-message{text-wrap:balance}.victory-coins{font-variant-numeric:tabular-nums;line-height:1.1}.victory-coin-value{text-align:right;transform-origin:100%;display:inline-block}.rewards-counting .victory-coins .resource-icon{animation:.55s ease-in-out infinite alternate rewardCoinShine}.rewards-settled .victory-coins{animation:.4s ease-out both rewardTotalPop}.rewards-doubled.rewards-settled .victory-coins{animation:none}.victory-life{visibility:hidden;justify-content:center;align-items:center;gap:5px;min-height:48px;display:flex}.victory-life strong{font-size:30px;font-weight:1000}.victory-life .resource-icon{width:48px;height:48px}.victory-life.is-revealed{visibility:visible;animation:.65s cubic-bezier(.2,.8,.3,1) both rewardLifePop}.rewards-doubled .victory-life.is-revealed{animation:none}.is-paused .success-rewards,.is-paused .success-rewards *{animation-play-state:paused!important}@keyframes rewardCoinShine{0%{filter:drop-shadow(0 0 2px #ffbf3244);transform:rotate(-5deg)scale(.96)}to{filter:drop-shadow(0 0 10px #ffbf3288);transform:rotate(5deg)scale(1.04)}}@keyframes rewardTotalPop{0%,to{transform:scale(1)}45%{transform:scale(1.07)}}@keyframes rewardLifePop{0%{opacity:0;transform:translateY(12px)scale(.6)}60%{opacity:1;transform:translateY(-3px)scale(1.15)}to{opacity:1;transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:reduce){.success-rewards,.success-rewards *{animation:none!important}}.outcome-prompt.success{width:min(92vw,540px)}.victory-double>.resource-icon{flex-shrink:0;width:24px;height:24px}.reward-continue-slot .utility-tooltip{text-shadow:none}.victory-double .utility-tooltip{left:auto;right:0}.reward-continue-slot>button:not(:disabled):hover .utility-tooltip{visibility:visible}.reward-continue-slot>button:not(:disabled):focus-visible .utility-tooltip{visibility:visible}.reward-continue-slot>.outcome-retry,.reward-continue-slot>.outcome-map{flex-basis:46px}.reward-continue-slot .outcome-map .utility-tooltip{left:-54px;right:auto}@media (max-width:400px){.reward-continue-slot{gap:6px}.reward-continue-slot>.outcome-retry,.reward-continue-slot>.outcome-map{flex-basis:44px}.reward-continue-slot>.primary{padding-inline-start:4px;padding-inline-end:4px;font-size:12px}.reward-continue-slot>.victory-double{flex-basis:58px}.victory-double>.resource-icon{width:20px;height:20px}}.first-level-intro{--intro-monster-height:clamp(90px, 20dvh, 172px);width:min(440px,100vw - 32px);max-height:calc(100dvh - 32px);padding:calc(var(--intro-monster-height) * .92) 0 0;color:#f8f5ff;background:0 0;border:0;overflow-y:auto}.first-level-intro::backdrop{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#080612b8}.first-level-intro__monster{height:var(--intro-monster-height);object-fit:contain;pointer-events:none;width:auto;max-width:90%;position:absolute;top:0;left:50%;transform:translate(-50%)}.first-level-intro__content{padding:24px;position:relative}.first-level-intro header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.first-level-intro__target{place-items:center;margin:20px 0;display:grid}.first-level-intro__target .item-renderer{width:140px;height:140px}.first-level-intro p{color:#c4badb;text-align:center;text-wrap:balance;margin:0 0 24px;font-size:16px;line-height:1.5}.first-level-intro__start{width:100%;min-height:50px}.first-level-intro__start:focus-visible{outline-offset:3px;outline:3px solid #fff0a4}@media (max-width:400px){.first-level-intro__content{padding:18px}}.player-statistics{--statistics-monster-height:clamp(90px, 20dvh, 172px);width:min(440px,100vw - 32px);max-height:calc(100dvh - 32px);padding:calc(var(--statistics-monster-height) * .84) 0 0;color:#f8f5ff;background:0 0;border:0}.player-statistics::backdrop{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#080612b8}.player-statistics__monster{height:var(--statistics-monster-height);object-fit:contain;z-index:1;pointer-events:none;width:auto;max-width:90%;position:absolute;top:0;left:50%;transform:translate(-50%)}.player-statistics__content{padding:24px;position:relative}.player-statistics--with-ranking{width:min(880px,100vw - 32px)}.player-statistics__columns{grid-template-columns:minmax(0,1fr);gap:24px;display:grid}.player-statistics--with-ranking .player-statistics__columns{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.statistics-leaderboard{border-left:1px solid #ffffff16;min-width:0;padding-left:24px}.statistics-leaderboard__empty{color:#c4badb;line-height:1.5}.statistics-leaderboard__scroll{scrollbar-width:thin;scrollbar-color:#675080 transparent;border-radius:12px;max-height:380px;overflow:auto}.statistics-leaderboard__scroll:focus-visible{outline-offset:3px;outline:2px solid #e2c5ff}.statistics-leaderboard table{border-collapse:collapse;font-variant-numeric:tabular-nums;table-layout:fixed;width:100%;font-size:13px}.statistics-leaderboard th,.statistics-leaderboard td{text-align:left;border-bottom:1px solid #ffffff0b;padding:11px 7px}.statistics-leaderboard thead th{z-index:1;color:#bfb2d4;background:#2c2447;font-size:11px;font-weight:600;position:sticky;top:0}.statistics-leaderboard th:first-child{width:54px}.statistics-leaderboard th:last-child{width:112px}.statistics-leaderboard td:last-child,.statistics-leaderboard th:last-child{text-align:right}.statistics-leaderboard td:last-child{overflow-wrap:anywhere;font-weight:900}.statistics-leaderboard__identity{align-items:center;gap:5px;min-width:0;display:flex}.statistics-leaderboard__avatar{object-fit:cover;border-radius:50%;flex-shrink:0;width:28px;height:28px}.statistics-leaderboard__coins{justify-content:flex-end;align-items:center;gap:4px;display:flex}.statistics-leaderboard__coins .coin-value{min-width:0}.player-statistics .statistics-leaderboard__coins .resource-icon{flex-shrink:0;width:24px;height:24px}.statistics-leaderboard__identity bdi{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.statistics-leaderboard__rank{color:#bfb2d4}.statistics-leaderboard__rank.is-podium{color:#ffd66a;font-weight:900}.statistics-leaderboard__self{background:#a971f324}.statistics-leaderboard__you{color:#e7cdff;background:#c399f22b;border-radius:5px;flex-shrink:0;padding:2px 4px;font-size:10px}@media (max-width:700px){.player-statistics--with-ranking{width:min(440px,100vw - 32px)}.player-statistics--with-ranking .player-statistics__columns{grid-template-columns:minmax(0,1fr)}.statistics-leaderboard{border-top:1px solid #ffffff16;border-left:0;padding:20px 0 0}}.player-statistics header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.player-statistics__add-life:focus-visible{outline-offset:3px;outline:3px solid #fff0a4}.player-statistics__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;display:grid}.player-statistics__grid>div{text-align:center;background:#ffffff07;border-radius:16px;min-width:0;padding:16px 10px}.player-statistics dt{color:#c4badb;text-wrap:balance;font-size:13px;line-height:1.35}.player-statistics dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;flex-wrap:wrap;justify-content:center;align-items:center;gap:5px;margin:8px 0 0;font-size:28px;font-weight:900;display:flex}.player-statistics dd small{color:#b5aacd;font-size:16px;font-weight:600}.player-statistics .resource-icon{width:36px;height:36px}.player-statistics__coins{grid-column:1/-1}.player-statistics__completed,.player-statistics__destroyed{flex-direction:column;display:flex}.player-statistics__completed dt,.player-statistics__destroyed dt{flex:1}.player-statistics__completed dd,.player-statistics__destroyed dd{min-height:44px}.player-statistics__destroyed .resource-icon{width:44px;height:44px}.player-statistics__collection-button{max-width:100%;min-height:44px;color:inherit;font:inherit;background:0 0;border:0;border-radius:12px;flex-wrap:wrap;justify-content:center;align-items:center;gap:5px;padding:0 4px;display:inline-flex}.player-statistics__destroyed{position:relative}.player-statistics__collection-button:after{content:"";border-radius:16px;position:absolute;top:0;bottom:0;left:0;right:0}.player-statistics__collection-button:hover:after{background:#ffffff05}.player-statistics__collection-button:focus-visible{outline:0}.player-statistics__collection-button:focus-visible:after{outline-offset:3px;outline:3px solid #fff0a4}.player-statistics__coins dd,.player-statistics__best dd{color:#ffcf62}.player-statistics__coins dd{font-size:42px}.player-statistics__coins .resource-icon{width:52px;height:52px}.player-statistics__lives dd{flex-wrap:nowrap}.player-statistics__lives{position:relative}.player-statistics__add-life{color:#fff;background:0 0;border-radius:16px;width:100%;height:100%;padding:0;position:absolute;top:0;bottom:0;left:0;right:0}.player-statistics__add-life .rewarded-ad-badge{object-fit:contain;width:48px;height:48px;position:absolute;top:-18px;right:-12px}.player-statistics__add-life img{display:block;transform:rotate(10deg)}.player-statistics__add-life:not(:disabled):hover{background:#ffffff05}.player-statistics__add-life:not(:disabled):hover img{filter:brightness(1.15)}.player-statistics__add-life:disabled{opacity:1}.player-statistics__add-life:disabled img{opacity:.42}.player-statistics__life-tooltip,.sidebar-actions .sidebar-life-tooltip,.utility-tooltip{z-index:5;color:#eee9ff;letter-spacing:normal;text-align:left;visibility:hidden;pointer-events:none;background:#171329;border:1px solid #ffffff24;border-radius:12px;width:230px;max-width:calc(100vw - 76px);padding:10px 12px;font-size:12px;font-weight:500;line-height:1.4;position:absolute;bottom:calc(100% + 10px);left:0}.sidebar-utility-row>button{position:relative}.sidebar-utility-row>button:last-child .utility-tooltip{left:auto;right:0}.sidebar-utility-row>button:not(:disabled):hover .utility-tooltip{visibility:visible}.sidebar-utility-row>button:not(:disabled):focus-visible .utility-tooltip{visibility:visible}.attempts-counter:not(:disabled):hover .sidebar-life-tooltip{visibility:visible}.attempts-counter:not(:disabled):focus-visible .sidebar-life-tooltip{visibility:visible}.player-statistics__lives:hover .player-statistics__life-tooltip,.player-statistics__lives:focus-within .player-statistics__life-tooltip{visibility:visible}@media (max-width:400px){.player-statistics__content{padding:18px}.player-statistics__grid{gap:8px}.player-statistics dd{font-size:24px}.player-statistics__coins dd{font-size:36px}}.destroyed-value{color:#6ce8d6;-webkit-text-fill-color:transparent;text-shadow:none;filter:drop-shadow(0 2px #14534e)drop-shadow(0 0 6px #5be0cd33);background:linear-gradient(#edfff9 5%,#b0ffe6 25%,#5be0cd 55%,#22a99f 85%);-webkit-background-clip:text;background-clip:text;line-height:1}.player-statistics__destroyed .utility-tooltip{left:auto;right:0}.player-statistics__collection-button:hover .utility-tooltip{visibility:visible}.player-statistics__collection-button:focus-visible .utility-tooltip{visibility:visible}@media (forced-colors:active){.destroyed-value{-webkit-text-fill-color:currentColor;filter:none;background:0 0}}.item-collection{--collection-monster-height:min(clamp(110px, 24dvh, 220px), calc((100vw - 48px) * .6));width:min(680px,100vw - 32px);max-height:calc(100dvh - 32px);padding:calc(var(--collection-monster-height) * 397 / 426) 0 0;color:#f8f5ff;background:0 0;border:0;overflow:hidden}.item-collection[open]{flex-direction:column;display:flex}.item-collection::backdrop{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#080612b8}.item-collection__monster{height:var(--collection-monster-height);object-fit:contain;z-index:1;pointer-events:none;width:auto;max-width:90%;position:absolute;top:0;left:50%;transform:translate(-50%)}.item-collection__content{flex-direction:column;min-height:0;padding:24px;display:flex;position:relative}.item-collection__header{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.item-collection__scroll{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#675080 transparent;border-radius:16px;min-height:0;margin-inline-start:-12px;margin-inline-end:-12px;overflow:auto}.item-collection__scroll:focus-visible{outline-offset:3px;outline:2px solid #e2c5ff}.item-collection__grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0;padding:12px;list-style:none;display:grid}.item-collection__cell{text-align:center;background:#ffffff07;border:1px solid #ffffff0d;border-radius:16px;flex-direction:column;align-items:center;gap:6px;min-width:0;padding:16px 6px 10px;display:flex;position:relative}.item-collection__cell:not(.item-collection__cell--unknown):not([data-target-hp]):hover{background:#ffffff0d}.item-collection__cell[data-target-hp="1"]{--target-accent:28 211 171;--target-tint:.38;--target-glow:22px;--target-strength:.12}.item-collection__cell[data-target-hp="2"]{--target-accent:45 135 255;--target-tint:.44;--target-glow:28px;--target-strength:.18}.item-collection__cell[data-target-hp="3"]{--target-accent:176 77 255;--target-tint:.5;--target-glow:34px;--target-strength:.24}.item-collection__cell[data-target-hp="4"]{--target-accent:255 105 28;--target-tint:.56;--target-glow:40px;--target-strength:.3}.item-collection__cell[data-target-hp="5"]{--target-accent:255 208 38;--target-tint:.64;--target-glow:46px;--target-strength:.36}.item-collection__cell[data-target-hp]{border-color:rgb(var(--target-accent) / .85);background:linear-gradient(155deg, rgb(var(--target-accent) / var(--target-tint)), rgb(var(--target-accent) / .14) 85%), #221d39;box-shadow:inset 0 0 var(--target-glow) rgb(var(--target-accent) / var(--target-strength))}.item-collection__cell[data-target-hp]:hover{border-color:rgb(var(--target-accent));box-shadow:inset 0 0 var(--target-glow) rgb(var(--target-accent) / calc(var(--target-strength) + .08))}.item-collection__cell:focus-visible{outline-offset:-2px;outline:2px solid #e2c5ff}.item-collection__image{object-fit:contain;width:64px;max-width:100%;height:64px}.item-collection__name{color:#e5ddef;overflow-wrap:anywhere;text-wrap:balance;flex:1;font-size:11px;line-height:1.35}.item-collection__badge{color:#fff;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;background:#ff3b30;border-radius:999px;place-items:center;min-width:24px;max-width:calc(100% - 12px);min-height:24px;padding:3px 7px;font-size:12px;font-weight:700;line-height:18px;display:grid;position:absolute;top:-6px;right:-6px;box-shadow:0 2px 5px #0004}.item-collection__cell--unknown{background:#ffffff03;border-style:dashed;justify-content:center;min-height:135px}.item-collection__question{color:#9c88b5;font-size:48px;font-weight:700}.item-collection__hidden-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}@media (max-width:560px){.item-collection__content{padding:18px}.item-collection__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.item-collection__image{width:56px;height:56px}}@media (max-width:359px){.item-collection__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.procedural-victory-sun{aspect-ratio:1;pointer-events:none;width:clamp(150px,22vw,270px);height:auto;position:absolute;top:clamp(8px,2vh,28px);left:clamp(8px,5vw,80px)}@media (max-width:760px){.procedural-victory-sun{width:clamp(110px,30vw,170px);top:4px;left:4px}}.outcome-fx.outcome-fx-failed{background:radial-gradient(at 50% 45%,#17132535,#14121bdd 100%)}.defeat-web{opacity:.7;width:clamp(155px,28vw,420px);animation:1.1s ease-out both defeatWebAppear;position:absolute;top:0}.defeat-web-left{left:0}.defeat-web-right{opacity:.5;width:clamp(120px,22vw,330px);animation-delay:.25s;right:0;transform:scaleX(-1)}.defeat-dust{left:var(--dust-x);top:var(--dust-y);width:clamp(38px, 8vw, var(--dust-size));opacity:0;animation:defeatDustDrift var(--dust-duration) var(--dust-delay) ease-in-out infinite both;position:absolute}.defeat-spider-drop{--spider-size:clamp(90px, 12vw, 160px);width:var(--spider-size);height:clamp(100px,25dvh,240px);animation:1.8s .35s both defeatSpiderDescend;position:absolute;top:0;right:max(18px,50% - 390px)}.defeat-spider-swing{transform-origin:50% 0;width:100%;height:100%;animation:4.8s ease-in-out 2.15s infinite defeatSpiderSway;position:relative}.defeat-spider-silk{background:#ded5bc;width:2px;height:calc(100% + 100vh);position:absolute;top:-100vh;left:50%;transform:translate(-50%);box-shadow:0 0 3px #eee3c740}.defeat-spider{left:0;top:calc(100% - var(--spider-size) * .17);filter:drop-shadow(0 5px 5px #0008);width:100%;position:absolute}.outcome-fx-failed[data-paused=true] *,.outcome-fx-failed[data-paused=true] :before,.outcome-fx-failed[data-paused=true] :after{animation-play-state:paused!important}@keyframes defeatWebAppear{0%{opacity:0}}@keyframes defeatDustDrift{0%{opacity:0;transform:translate(-30%,45px)rotate(-18deg)}18%,65%{opacity:.5}to{opacity:0;transform:translate(calc(-30% + var(--dust-drift)), -95px) rotate(48deg)}}@keyframes defeatSpiderDescend{0%{transform:translateY(calc(-100% - var(--spider-size)));animation-timing-function:cubic-bezier(.35,0,.55,1)}72%{animation-timing-function:ease-out;transform:translateY(12px)}86%{animation-timing-function:ease-in-out;transform:translateY(-5px)}to{transform:translateY(0)}}@keyframes defeatSpiderSway{0%,to{transform:rotate(0)}25%{transform:rotate(3deg)}75%{transform:rotate(-3deg)}}@media (max-width:600px){.defeat-spider-drop{--spider-size:86px;height:clamp(75px,17dvh,145px);right:12px}}@media (prefers-reduced-motion:reduce){.outcome-fx-failed *{animation:none!important}.defeat-dust{opacity:.22}}:root{color:#f8f5ff;font-synthesis:none;--accent:#ff7a18;--pink:#ff3d81;--panel:#262043eb;--panel-border-width:1px;--panel-border-color:#ffffff24;--panel-radius:24px;background:#0f0d1e radial-gradient(circle at 50% -10%,#433377 0,#17142c 44%,#0f0d1e 100%) no-repeat;font-family:Inter,ui-rounded,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}body,body *{-webkit-user-select:none;user-select:none}.cell[data-target-kind][data-row-edge=top] .toilet-health{top:2px}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}button,select{font:inherit}button{color:inherit;cursor:pointer;border:0}button:disabled{opacity:.42;cursor:default}.app{height:100vh;height:100dvh;padding:max(5px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(5px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));background-color:#100e20;background-image:var(--gameplay-background-wide);background-position:50%;background-repeat:no-repeat;background-size:cover;grid-template-rows:minmax(0,1fr);margin:0 auto;display:grid;position:relative}@media (max-aspect-ratio:1012/700){.app{background-image:var(--gameplay-background-tall)}}.stats{color:#ada6c9;text-transform:uppercase;justify-content:space-between;align-items:center;gap:8px;font-size:9px;display:flex}.stats span{text-align:center;display:grid}.stats b{color:#fff;font-size:1.15em}.game-layout{grid-template-columns:minmax(0,1fr) 300px;justify-self:center;gap:clamp(12px,1.6vw,24px);width:min(100%,100dvh + 314px);min-width:0;min-height:0;display:grid}.board-shell{place-items:center;min-width:0;min-height:0;display:grid}.phase-simulating .board{z-index:50}.board{aspect-ratio:1;border:var(--panel-border-width) solid var(--panel-border-color);border-radius:var(--panel-radius);touch-action:none;isolation:isolate;background:#26213d;max-width:100%;height:100%;max-height:100%;display:grid;position:relative;overflow:visible;box-shadow:inset 0 0 30px #0004}.cell{min-width:0;min-height:0;color:inherit;cursor:default;background:var(--board-cell-fill);border-bottom:1px solid #ffffff0c;border-right:1px solid #ffffff0c;place-items:center;padding:0;display:grid;position:relative;overflow:visible}.cell:nth-child(24n+1),.cell:nth-child(24n+3),.cell:nth-child(24n+5),.cell:nth-child(24n+7),.cell:nth-child(24n+9),.cell:nth-child(24n+11),.cell:nth-child(24n+14),.cell:nth-child(24n+16),.cell:nth-child(24n+18),.cell:nth-child(24n+20),.cell:nth-child(24n+22),.cell:nth-child(24n+24){background:linear-gradient(145deg,#342e4e,#29233f)}.cell small{color:#fff7;z-index:5;font-size:7px;position:absolute;top:1px;left:2px}.item-renderer{-webkit-user-select:none;user-select:none;filter:drop-shadow(0 3px 2px #0008);transform-origin:50%;place-items:center;width:44px;height:44px;font-size:clamp(16px,5.7vmin,34px);line-height:1;transition:transform .16s,filter .16s;display:inline-grid}.item-renderer img{object-fit:contain;pointer-events:none;width:100%;height:100%}.item-rocket{font-size:clamp(17px,5.4vmin,33px)}.item-oilSlick.is-fallback{color:#ffb321;background:radial-gradient(at 38% 30%,#ffdc5c 0 7%,#8b4b0c 20%,#241509 58%,#090706 74%);border:2px solid #f48a16;border-radius:50%;width:82%;height:46%;font-size:0;box-shadow:inset 0 2px 5px #ffd765aa,0 3px 7px #0009}.item-deflector.is-fallback{clip-path:polygon(0 10%,66% 10%,100% 50%,66% 90%,0 90%,22% 50%);color:#fff2a1;background:linear-gradient(135deg,#f4f7ff 5%,#7785a9 34%,#252c4c 55%,#ffd347 58%,#f08c13 78%,#7a2d0b);border-radius:8px;width:76%;height:70%;font-size:clamp(14px,4vmin,24px);box-shadow:inset 0 0 0 2px #fff9,0 4px 8px #000a,0 0 8px #ffbb38aa}.item-gasCanister.is-fallback{color:#fff2ad;background:radial-gradient(circle at 35% 20%,#fff7c2 0 5%,#0000 6%),linear-gradient(90deg,#6d120d,#ef3e18 23%,#ff9c1b 48%,#c32613 72%,#5a1012);border:3px solid #aeb9d3;border-radius:22% 22% 30% 30%;width:68%;height:92%;font-size:clamp(13px,4vmin,22px);position:relative;box-shadow:inset 0 0 0 2px #3b4563,inset 0 -10px #67140f,0 4px 8px #000a}.item-gasCanister.is-fallback:before{content:"";background:#c8d2ea;border-radius:5px 5px 0 0;width:46%;height:12%;position:absolute;top:-9%;box-shadow:inset 0 0 0 2px #46506d}.item-oilSlick.state-burning{filter:drop-shadow(0 0 8px #ff7a16);animation:.42s ease-in-out infinite alternate oilPulse}.item-deflector.state-active{animation:.18s ease-out both deflectorPing}.item-gasCanister.state-armed{filter:drop-shadow(0 0 10px #ff7417);animation:.12s ease-in-out infinite alternate dangerPulse}.placed-object,.static-object{z-index:2;touch-action:none;place-items:center;display:grid;position:absolute;top:0;bottom:0;left:0;right:0}.placed-object>.item-renderer,.static-object>.item-renderer{width:112%;height:112%}.placed-object{cursor:grab}.placed-object:hover{z-index:50}.placed-object:active{cursor:grabbing}.toilet-health{z-index:9;pointer-events:none;background:#21130de6;border:1px solid #2a160d;border-radius:4px;gap:1px;width:90%;min-width:24px;height:7px;padding:1px;display:flex;position:absolute;top:-7px;left:50%;transform:translate(-50%);box-shadow:0 2px 5px #000a,inset 0 1px #ffffff20}.toilet-health i{background:#4a3329;border-radius:2px;flex:1;min-width:2px;box-shadow:inset 0 1px 1px #0008}.toilet-health i.filled{background:linear-gradient(#d8944d,#7b3f20);box-shadow:inset 0 1px #ffd49b,0 0 3px #a85c2a99}.rotate-hint{z-index:60;color:#ffd58a;opacity:0;pointer-events:none;background:#2a2046ed;border:1px solid #ffd58a;border-radius:50%;place-items:center;width:21px;height:21px;font-size:16px;font-weight:1000;line-height:1;transition:opacity .14s,transform .18s;display:grid;position:absolute;top:-7px;right:-7px;transform:scale(.7)rotate(-35deg);box-shadow:0 3px 9px #000b,0 0 8px #ff9a3d77}.placed-object:hover .rotate-hint{opacity:1;transform:scale(1)rotate(0)}.game-sidebar{border:var(--panel-border-width) solid var(--panel-border-color);border-radius:var(--panel-radius);background:linear-gradient(155deg,#30294feb,#19152df0);grid-template-rows:auto minmax(0,1fr) auto;align-content:stretch;gap:12px;min-height:0;padding:14px;display:grid;box-shadow:inset 0 1px #ffffff0d}.sidebar-controls{border-bottom:1px solid #ffffff14;gap:10px;padding-bottom:10px;display:grid}.sidebar-tools{grid-template-columns:repeat(2,1fr);gap:7px;display:grid}.sidebar-tools button{background:#2c264b;border-radius:11px;min-height:38px;font-size:18px}.inventory{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:12px 8px;min-height:0;display:grid;overflow:visible}.inventory-item{min-width:0;min-height:90px;box-shadow:none;touch-action:none;cursor:grab;background:0 0;border:0;border-radius:12px;outline:0;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:4px 2px;display:flex;position:relative}.inventory-item:active{cursor:grabbing}.inventory-item:not(:disabled):hover .item-renderer{filter:drop-shadow(0 7px 6px #000b)drop-shadow(0 0 8px #ff9a3d66);transform:translateY(-3px)scale(1.08)}.inventory-item:focus-visible .item-renderer{filter:drop-shadow(0 7px 6px #000b)drop-shadow(0 0 8px #ff9a3d66);transform:translateY(-3px)scale(1.08)}.inventory-art{place-items:center;display:grid;position:relative}.inventory-item .item-renderer{width:58px;height:58px;font-size:32px}.inventory-art>b{color:#fff5dc;background:#171327e8;border-radius:10px;min-width:24px;padding:2px 5px;font-size:11px;line-height:1.2;position:absolute;bottom:-2px;right:-11px;box-shadow:0 2px 6px #0008}.inventory-name{color:#eee8ff;text-align:center;text-wrap:balance;max-width:100%;font-size:11px;line-height:1.1}.item-tooltip{z-index:1000;color:#cfc8e5;text-align:left;opacity:0;visibility:hidden;pointer-events:none;background:#171329f5;border:1px solid #ffffff24;border-radius:13px;gap:6px;width:230px;padding:12px;font-size:12px;line-height:1.35;transition:opacity .14s,transform .14s,visibility .14s;display:grid;position:absolute;top:50%;right:calc(100% + 12px);transform:translate(8px,-50%);box-shadow:0 14px 35px #000c}.item-tooltip:after{content:"";border:7px solid #0000;border-left-color:#171329f5;position:absolute;top:50%;left:100%;transform:translateY(-50%)}.item-tooltip strong{color:#fff;font-size:14px}.item-tooltip-stats{flex-wrap:wrap;gap:5px;display:flex}.item-tooltip-stats b{color:#ffd79a;background:#30284c;border-radius:7px;padding:3px 6px;font-size:10px}.inventory-item:hover .item-tooltip,.placed-object:hover .item-tooltip{opacity:1;visibility:visible;transform:translateY(-50%)}.inventory-item:focus-visible .item-tooltip{opacity:1;visibility:visible;transform:translateY(-50%)}.placed-object .item-tooltip-compact{width:205px;top:auto;bottom:calc(100% + 7px);left:50%;right:auto;transform:translate(-50%,7px)}.placed-object .item-tooltip-compact:after{border:6px solid #0000;border-top-color:#171329f5;top:100%;left:50%;transform:translate(-50%)}.placed-object:hover .item-tooltip-compact{transform:translate(-50%)}.inventory-item[data-unavailable]{opacity:.34;filter:grayscale(.85)saturate(.35);cursor:not-allowed}.inventory-item[data-unavailable] .inventory-art>b{color:#ffb4b4;background:#4c2630}.inventory-item[data-unavailable] .item-renderer{filter:drop-shadow(0 2px 2px #0008);transform:scale(.9)}.inventory-item-selected{background:#5b437a80;box-shadow:inset 0 0 0 2px #68eaff,0 0 14px #42d9ff55}.sidebar-actions{gap:7px;padding-top:10px;display:grid}.attempts-counter{color:#ada6c9;letter-spacing:.1em;background:#1713298c;border-radius:13px;justify-content:center;align-items:center;gap:10px;min-height:54px;font-size:10px;font-weight:900;display:flex}.attempts-counter strong{color:#fff3b2;text-shadow:0 0 14px #ff9d3070;font-size:34px;line-height:1}.ignite-button,.primary,.reward-button{letter-spacing:.05em;text-shadow:0 2px 2px #b62d00;background:linear-gradient(100deg,#ff5b24,#ff9b17);border-radius:14px;min-height:46px;font-weight:1000;box-shadow:0 7px 18px #ff57184d}.ignite-button:not(:disabled):active,.primary:active,.reward-button:not(:disabled):active{transform:scale(.98)}.reward-button{text-shadow:0 2px 2px #411070;background:linear-gradient(100deg,#7854d9,#b849ca);padding:6px 10px;font-size:11px;box-shadow:0 7px 18px #6f41c14d}.reset-button,.undo-button{color:#d8d1eb;background:#302a4d;border-radius:11px;min-height:38px;font-size:12px;font-weight:800}.attempts-free{background:linear-gradient(135deg,#164b42,#173349)}.attempts-free strong{color:#8effd8}.cell.preview-area:after,.cell.preview-route:after,.cell.preview-obstacle:after,.cell.preview-source:after,.cell.preview-target:after{content:"";z-index:1;pointer-events:none;border-radius:8px;position:absolute;top:4%;bottom:4%;left:4%;right:4%}.cell.preview-area:after,.preview-swatch.area:after{background:#ff9d2436;box-shadow:inset 0 0 0 2px #ffbd5977}.cell.preview-route:after,.preview-swatch.route:after{background:linear-gradient(90deg,#0000,#66eaff66,#0000);box-shadow:inset 0 0 0 2px #63eaff88}.cell.preview-obstacle:after{background:#ff313f55;box-shadow:inset 0 0 0 3px #ff6a74}.cell.preview-source:after{box-shadow:inset 0 0 0 3px #fff16e,0 0 12px #ffe43a}.cell.preview-target:after{box-shadow:inset 0 0 0 3px #62ff9d,0 0 12px #4dff90}.screen-message{z-index:220;pointer-events:none;place-items:center;padding:24px;animation:2.8s both screenMessage;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.screen-message p{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff8e8;text-align:center;text-wrap:balance;text-shadow:0 2px 7px #000b;background:linear-gradient(145deg,#2f2855df,#151126e8);border:1px solid #ffffff26;border-radius:18px;max-width:min(82vw,560px);margin:0;padding:clamp(14px,2.4vw,22px) clamp(20px,4vw,38px);font-size:clamp(18px,3vw,30px);font-weight:1000;line-height:1.15;box-shadow:0 16px 46px #05030da8,inset 0 1px #ffffff1c}.drag-ghost{z-index:100;pointer-events:none;filter:drop-shadow(0 7px 8px #0009);position:fixed;transform:translate(-50%,-50%)scale(1.25)}.drag-ghost .item-renderer{width:64px;height:64px;font-size:38px}.state-smoldering img,.state-igniting img,.state-burning img,.state-armed img,.state-charging img,.state-active img,.state-critical img{animation:.2s ease-in-out infinite alternate dangerPulse}.event-haystack_burn .item-haystack img{animation:.16s ease-in-out infinite alternate dangerPulse}.haystack-glow{z-index:8;filter:blur(4px);background:radial-gradient(circle,#fff7a8,#ff9b1890 35%,#0000 72%);border-radius:50%;width:78%;height:78%;animation:.52s both flash;position:absolute}.blast-fire{z-index:9;pointer-events:none;filter:drop-shadow(0 0 10px #ff5b17);background:radial-gradient(circle,#fff8a9dd 0 12%,#ff7918a8 28%,#ef2e1655 52%,#0000 72%);border-radius:22%;place-items:center;animation:.72s ease-out both blastCell;display:grid;position:absolute;top:-8%;bottom:-8%;left:-8%;right:-8%}.blast-fire>.item-renderer{width:112%;height:112%}.blast-fire-big{background:radial-gradient(circle,#fff 0 9%,#fff374e8 15%,#ff6b13c9 35%,#d91d2588 56%,#0000 76%)}.blast-fire-barrel{background:radial-gradient(circle,#fff7a8 0 11%,#ff9b18e6 27%,#e83c1799 50%,#0000 76%)}.blast-fire-rocket{transform:rotate(-18deg)}.explosion-visual{z-index:20;pointer-events:none;filter:drop-shadow(0 0 20px #ffec75);place-items:center;display:grid;position:absolute;top:-110%;bottom:-110%;left:-110%;right:-110%}.explosion-visual>.item-renderer{width:100%;height:100%;animation:.95s cubic-bezier(.12,.76,.18,1) both assetExplode;position:absolute}.explosion-visual>.final-explosion-state{animation:.85s cubic-bezier(.12,.76,.18,1) .3s both assetFinal}.generic-explosion{font-size:clamp(34px,10vmin,68px);animation:.75s cubic-bezier(.12,.76,.18,1) both explode}.explosion-big,.explosion-barrel{top:-145%;bottom:-145%;left:-145%;right:-145%}.explosion-small{top:-85%;bottom:-85%;left:-85%;right:-85%}.flame-step,.cross-step,.ice-step{z-index:12;font-size:clamp(20px,7vmin,42px);animation:.7s both flame}.flame-step{filter:drop-shadow(0 0 8px #ff6b16);place-items:center;display:grid;position:absolute;top:-10%;bottom:-10%;left:-10%;right:-10%}.flame-step .item-renderer{width:112%;height:112%}.cross-step{filter:drop-shadow(0 0 9px #ffda45)}.ice-step{filter:drop-shadow(0 0 9px #55dfff)}.oil-flame,.deflect-flash{z-index:16;pointer-events:none;position:absolute}.oil-flame{filter:drop-shadow(0 0 9px #ff5d0a);place-items:center;font-size:clamp(25px,8vmin,48px);animation:.72s ease-out both oilIgnite;display:grid;top:-25%;bottom:-25%;left:-25%;right:-25%}.deflect-flash{color:#fff;text-shadow:0 0 7px #ff6b00;background:radial-gradient(circle,#fff 0 7%,#ffd735dd 18%,#ff7c1666 38%,#0000 64%);border-radius:50%;place-items:center;font-size:clamp(28px,9vmin,52px);font-weight:1000;animation:.45s ease-out both deflectorPing;display:grid;top:-45%;bottom:-45%;left:-45%;right:-45%}.moving-overlay{z-index:18;transition:left .14s linear,top .14s linear;position:absolute;transform:translate(-50%,-50%)}.moving-overlay .item-renderer{width:72px;height:72px;position:relative}.moving-bouncer{animation:.18s infinite alternate bounceMove}.moving-toiletBrush{filter:drop-shadow(0 0 8px #5de8ff)drop-shadow(0 5px 4px #32115088);animation:.19s ease-in-out infinite alternate brushRocket}.moving-toiletBrush:after{content:"💨";z-index:-1;opacity:.8;font-size:24px;position:absolute;bottom:45%;right:50%;transform:translate(12px,18px)}.brush-eject-overlay{animation:none}.brush-eject-overlay:after{display:none}.brush-eject-overlay .item-renderer{animation:.85s cubic-bezier(.12,.76,.18,1) both brushEject}@keyframes brushRocket{0%{margin-top:-3px}to{margin-top:3px}}@keyframes brushEject{0%{opacity:1;scale:.8}70%{opacity:1;scale:1.45}to{opacity:0;scale:2}}@media (prefers-reduced-motion:reduce){.moving-toiletBrush,.brush-eject-overlay .item-renderer{animation:none}}.shit-storm-origin{z-index:500;pointer-events:none;width:1px;height:1px;position:absolute;top:50%;left:50%}.shit-storm-origin:before{content:"";background:#fff;border-radius:50%;width:20vmin;height:20vmin;animation:1.05s ease-out both finalFlash;position:absolute;top:0;left:0;transform:translate(-50%,-50%);box-shadow:0 0 12vmin 7vmin #ff7a19,0 0 30vmin 13vmin #ff332780}.shit-particle{z-index:510;filter:drop-shadow(0 5px 4px #0009);animation:shitFly 1.35s cubic-bezier(.12,.58,.3,1) var(--poop-delay) both;font-size:clamp(20px,5vmin,42px);position:absolute;top:0;left:0}.shit-particle-1{font-size:clamp(15px,4vmin,33px)}.shit-particle-2{font-size:clamp(24px,6vmin,48px)}.shit-particle-3{filter:blur(.5px)drop-shadow(0 5px 5px #0009)}.toilet-debris{z-index:520;width:clamp(76px,18vmin,132px);height:clamp(76px,18vmin,132px);animation:1.35s cubic-bezier(.15,.7,.3,1) both toiletLaunch;position:absolute}.toilet-final-flash{z-index:519;font-size:clamp(70px,20vmin,150px);animation:1.05s both explode;position:absolute;transform:translate(-50%,-50%)}.event-destroy .item-toilet{animation:.55s ease-in both toiletFly}.event-destroy .item-bonusPoop,.event-destroy .item-toiletPaper{animation:.3s reverse both explode}.modal-backdrop{z-index:200;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#080612b8;place-items:center;padding:20px;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.outcome-prompt-layer{z-index:210;place-items:center;padding:20px;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.outcome-prompt{text-align:center;width:min(92vw,440px);padding:clamp(22px,4vw,34px)}.outcome-prompt h2{margin:4px 0 20px}.outcome-prompt p{color:#d7d0e9;line-height:1.4}.outcome-prompt button{border-radius:14px;width:100%;min-height:50px;margin-top:8px}.outcome-prompt button:focus-visible{outline-offset:3px;outline:3px solid #fff0a4}.mascot-portrait{object-fit:contain;filter:drop-shadow(0 8px 8px #0008);width:118px;height:118px}.result-title{color:#7df4ff;letter-spacing:.08em;font-size:18px;display:block}.score-number{color:#ffc237;font-size:52px;font-weight:1000}.result-stats{color:#c0b8dc;justify-content:center;gap:24px;margin:8px 0 18px;display:flex}.share-button{color:#bdf7ff;background:#42356a;font-weight:900}.level-map-backdrop{z-index:270;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:radial-gradient(circle at 50% 15%,#543775cc,#100c21f2 72%);padding:clamp(8px,2vw,24px)}.level-map{isolation:isolate;background:radial-gradient(circle at 50% 48%,#56427a 0,#292147 42%,#17132f 100%);border:2px solid #ffffff2b;border-radius:clamp(22px,3vw,38px);grid-template-rows:auto minmax(0,1fr);width:min(1060px,96vw);height:min(90dvh,790px);min-height:540px;display:grid;position:relative;overflow:hidden;box-shadow:0 32px 100px #000d,inset 0 1px #ffffff27,inset 0 -30px 80px #09071980}.level-map-header,.level-route{z-index:2;position:relative}.phase-success .level-map:before{content:"";z-index:0;aspect-ratio:1;background:radial-gradient(circle at 38% 36%,#fff,#fff8ae 15%,#ffd331 46%,#ff8a18 72%);border-radius:50%;width:min(78vw,760px);animation:1.4s ease-in-out infinite alternate sunShimmer;position:absolute;top:-48%;left:50%;transform:translate(-50%);box-shadow:0 0 55px #fff1a8,0 0 130px #ffb32b,0 0 230px #ff6a1680}.phase-success .level-map:after{content:"";z-index:1;aspect-ratio:1;background:repeating-conic-gradient(from 4deg, #ffe66f99 0 3deg, transparent 3deg 14deg);border-radius:50%;width:min(102vw,990px);animation:28s linear infinite sunSpin;position:absolute;top:-48%;left:50%;transform:translate(-50%);-webkit-mask-image:radial-gradient(circle,#0000 0 30%,#000 46%,#0000 72%);mask-image:radial-gradient(circle,#0000 0 30%,#000 46%,#0000 72%)}.level-map-header{background:linear-gradient(#ffffff0d,#0000);border-bottom:1px solid #ffffff15;justify-content:space-between;align-items:center;min-height:72px;padding:14px clamp(16px,3vw,34px);display:flex}.level-map-header>div{align-items:center;gap:12px;display:flex}.level-map-header span{filter:drop-shadow(0 4px 5px #0008);font-size:34px}.level-map-header h2{letter-spacing:-.04em;margin:0;font-size:clamp(22px,3vw,38px)}.level-map-close{background:#ffffff12;border-radius:50%;width:46px;height:46px;font-size:28px;box-shadow:inset 0 1px #ffffff1f}.level-map-close:hover{background:#ffffff20}.level-route{min-height:0;margin:4px clamp(8px,2vw,26px) 12px}.level-route-lines{width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0;overflow:visible}.level-route-lines path{fill:none;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}.level-route-shadow{stroke:#080611c7;stroke-width:9px}.level-route-path{stroke:#ff9e27;stroke-width:6px;filter:drop-shadow(0 0 7px #ff741888)}.level-route-dashes{stroke:#ffe493;stroke-width:1.8px;stroke-dasharray:2 5;animation:8s linear infinite routeMarch}.level-node{left:var(--level-x);top:var(--level-y);background:0 0;flex-direction:column;align-items:center;gap:5px;width:27%;min-width:0;padding:0;display:flex;position:absolute;overflow:visible;transform:translate(-50%,-50%)}.level-node-orb{color:#fff;background:linear-gradient(145deg,#766e89,#403a51);border:4px solid #867d9b;border-radius:50%;place-items:center;width:clamp(44px,6.4vmin,62px);height:clamp(44px,6.4vmin,62px);font-size:clamp(16px,2.6vmin,24px);font-weight:1000;transition:transform .18s,filter .18s;display:grid;position:relative;box-shadow:0 7px #211b31,0 10px 20px #0008,inset 0 3px #ffffff48}.level-node-copy{text-align:center;text-wrap:balance;background:#120e25d9;border-radius:9px;justify-content:center;align-items:center;gap:6px;max-width:100%;min-height:25px;padding:3px 7px;font-size:clamp(8px,1.2vmin,11px);line-height:1.12;display:flex;box-shadow:0 3px 10px #0008}.level-node-copy b{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.level-node-copy small{color:#ffd986;background:#ffffff13;border-radius:5px;padding:2px 4px;font-weight:900}.level-node-completed .level-node-orb{background:linear-gradient(145deg,#49c985,#14734c);border-color:#6fe4a0;box-shadow:0 7px #0b3d29,0 0 18px #52df9270,inset 0 3px #d3ffe6a8}.level-node-available .level-node-orb{background:linear-gradient(145deg,#ffb52d,#ed5c24);border-color:#ffd473;box-shadow:0 7px #8d2d16,0 0 19px #ff8a2b80,inset 0 3px #fff4bfa8}.level-node-locked{opacity:.64}.level-node-locked .level-node-copy{color:#8f879f}.level-node-current .level-node-orb:after{content:"";border:3px solid #8ae9ff;border-radius:50%;animation:1.5s ease-in-out infinite currentLevelPulse;position:absolute;top:-10px;bottom:-10px;left:-10px;right:-10px;box-shadow:0 0 15px #47d9ff}.level-node:not(:disabled):hover .level-node-orb{filter:brightness(1.15);transform:translateY(-5px)scale(1.08)}.level-new-badge{z-index:4;letter-spacing:.08em;background:linear-gradient(90deg,#ff3d81,#ff9828);border-radius:999px;padding:4px 9px;font-size:10px;font-weight:1000;animation:.7s ease-in-out infinite alternate newBadgeBounce;position:absolute;top:-24px;box-shadow:0 4px 12px #0009,0 0 18px #ff6c3a}.level-node-new .level-node-orb{animation:1.25s ease-in-out infinite newLevelUnlock}.outcome-fx{z-index:190;pointer-events:none;position:fixed;top:0;bottom:0;left:0;right:0;overflow:hidden}.outcome-fx-success{background:radial-gradient(circle at 50% 0,#fff9aa45,#0000 58%);animation:.7s both outcomeFadeIn}.victory-glitter{position:absolute;top:0;bottom:0;left:0;right:0}.victory-glitter i{left:var(--glitter-x);top:var(--glitter-y);color:#fff6aa;text-shadow:0 0 12px #fff,0 0 24px #ffb522;animation:glitterTwinkle .7s calc(var(--glitter-index) * 60ms) ease-in-out infinite alternate;font-size:clamp(12px,2.5vw,28px);position:absolute}.pause-overlay{z-index:300;letter-spacing:.12em;background:#080611c4;place-items:center;font-size:30px;font-weight:1000;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.debug-panel{z-index:150;background:#151226e8;border:1px solid #ffffff25;border-radius:8px;padding:6px;font-size:11px;position:fixed;bottom:8px;left:8px}.debug-content{gap:5px;padding-top:5px;display:grid}.debug-content button,.debug-content select{color:#fff;background:#393251;border:0;border-radius:4px;margin-right:3px;padding:3px 6px}@keyframes dangerPulse{0%{filter:brightness(.96)drop-shadow(0 0 1px #ff7b18);transform:scale(.97)}to{filter:brightness(1.18)drop-shadow(0 0 7px #ff7b18);transform:scale(1.04)}}@keyframes assetExplode{0%{opacity:0;transform:scale(.2)rotate(-8deg)}20%{opacity:1}68%{opacity:1;transform:scale(1.05)rotate(4deg)}to{opacity:0;transform:scale(1.38)rotate(9deg)}}@keyframes assetFinal{0%{opacity:0;transform:scale(.15)}20%{opacity:1}70%{opacity:1}to{opacity:0;transform:scale(1.35)rotate(8deg)}}@keyframes flash{0%{opacity:1;transform:scale(.5)}to{opacity:0;transform:scale(2.4)}}@keyframes blastCell{0%{opacity:0;transform:scale(.2)rotate(-12deg)}28%{opacity:1;transform:scale(1.18)rotate(7deg)}70%{opacity:.88}to{opacity:0;transform:scale(1.55)rotate(-5deg)}}@keyframes explode{0%{opacity:1;transform:scale(.18)rotate(-10deg)}55%{opacity:1;transform:scale(1.48)rotate(7deg)}to{opacity:0;transform:scale(2.05)rotate(13deg)}}@keyframes flame{0%{opacity:0;transform:scale(.25)translateY(8px)}40%{opacity:1;transform:scale(1.42)translateY(-2px)}to{opacity:0;transform:scale(.8)translateY(-10px)}}@keyframes rocketTrail{to{opacity:.65;transform:translateY(-50%)scaleX(1.5)}}@keyframes finalFlash{0%{opacity:1;transform:translate(-50%,-50%)scale(.1)}55%{opacity:.95}to{opacity:0;transform:translate(-50%,-50%)scale(5)}}@keyframes shitFly{0%{opacity:0;transform:translate(-50%,-50%)scale(.2)rotate(0)}12%{opacity:1}to{opacity:1;transform:translate(calc(-50% + var(--poop-x)), calc(-50% + var(--poop-y))) scale(1.2) rotate(var(--poop-spin))}}@keyframes toiletLaunch{0%{opacity:1;transform:translate(-50%,-50%)scale(.5)rotate(0)}to{opacity:0;transform:translate(18vw,-65vh)scale(1.8)rotate(540deg)}}@keyframes shakeSmall{25%{transform:translate(2px,-2px)}50%{transform:translate(-3px,1px)}75%{transform:translate(2px,2px)}}@keyframes shakeBig{20%{transform:translate(7px,-4px)}40%{transform:translate(-6px,5px)}60%{transform:translate(6px,3px)}80%{transform:translate(-4px,-3px)}}.shake-small{animation:.22s shakeSmall}.shake-big{animation:.35s shakeBig}@keyframes bounceMove{to{transform:translate(-50%,-65%)scale(1.12)}}@keyframes oilPulse{to{filter:brightness(1.35)drop-shadow(0 0 10px #ff6a0b);transform:scale(1.08,.92)}}@keyframes oilIgnite{0%{opacity:0;transform:scale(.2)translateY(20%)}35%{opacity:1;transform:scale(1.25)translateY(-8%)}to{opacity:0;transform:scale(.8)translateY(-28%)}}@keyframes deflectorPing{0%{opacity:0;transform:scale(.35)rotate(-35deg)}45%{opacity:1;transform:scale(1.3)rotate(8deg)}to{opacity:0;transform:scale(1.8)rotate(18deg)}}.level-map{outline:none;grid-template-rows:auto auto minmax(0,1fr)}.level-map:focus-visible{box-shadow:0 0 0 3px #8ae9ff,0 32px 100px #000d,inset 0 1px #ffffff27}.level-map-chapter-nav{z-index:3;background:#0e0b20a8;border-bottom:1px solid #ffffff12;grid-template-columns:52px minmax(0,1fr) 52px;align-items:center;gap:12px;min-height:62px;padding:7px clamp(13px,3vw,34px);display:grid;position:relative}.chapter-arrow{color:#fff6ca;background:linear-gradient(145deg,#7555a4,#35284f);border:1px solid #ffffff28;border-radius:50%;width:46px;height:46px;font-size:35px;line-height:1;box-shadow:0 5px #171023,0 7px 14px #0007}.chapter-arrow:not(:disabled):hover{filter:brightness(1.22);transform:translateY(-2px)}.chapter-arrow:focus-visible{outline-offset:2px;outline:3px solid #7ce8ff}.chapter-arrow:disabled{opacity:.2;cursor:default}.chapter-indicator{text-align:center;place-items:center;gap:2px;min-width:0;display:grid}.chapter-indicator b{color:#fff2bd;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:clamp(13px,2vw,18px);line-height:1.1;overflow:hidden}.chapter-indicator span{color:#c8bbdf;letter-spacing:.18em;font-size:11px;font-weight:900}.chapter-indicator i{gap:6px;margin-top:2px;display:flex}.chapter-indicator em{background:#ffffff2d;border-radius:99px;width:18px;height:4px;transition:width .25s,background .25s}.chapter-indicator em.active{background:linear-gradient(90deg,#ff8a26,#ffe172);width:32px;box-shadow:0 0 8px #ff9d35}.level-route{animation:.32s cubic-bezier(.2,.8,.25,1) both chapterSlideIn}.level-route:before,.level-route:after{content:"";z-index:1;background:#ffe68b;border-radius:50%;width:14px;height:14px;position:absolute;box-shadow:0 0 0 5px #ff8a26,0 0 18px #ff7a18}.level-route:before{bottom:6%;left:-6px}.level-route:after{top:5%;right:-6px}.level-map-swipe-hint{z-index:5;color:#aea3c4;white-space:nowrap;pointer-events:none;font-size:8px;display:none;position:absolute;bottom:1px;left:50%;transform:translate(-50%)}@keyframes chapterSlideIn{0%{opacity:.15;transform:translate(3%)}to{opacity:1;transform:translate(0)}}@keyframes routeMarch{to{stroke-dashoffset:-70px}}@keyframes currentLevelPulse{0%,to{opacity:.35;transform:scale(.88)}50%{opacity:1;transform:scale(1.08)}}@keyframes newBadgeBounce{to{filter:brightness(1.2);transform:translateY(-5px)scale(1.05)}}@keyframes newLevelUnlock{0%,to{filter:brightness();transform:scale(1)}45%{filter:brightness(1.45)drop-shadow(0 0 14px #fff1a4);transform:scale(1.18)rotate(-4deg)}65%{transform:scale(1.08)rotate(3deg)}}@keyframes outcomeFadeIn{0%{opacity:0}to{opacity:1}}@keyframes screenMessage{0%{opacity:0;transform:translateY(12px)scale(.97)}12%,68%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(-8px)scale(.99)}}@keyframes sunShimmer{0%{filter:saturate(.95);transform:scale(.97)}to{filter:saturate(1.25)brightness(1.08);transform:scale(1.04)}}@keyframes sunSpin{to{transform:rotate(360deg)}}@keyframes glitterTwinkle{0%{opacity:.15;transform:scale(.45)rotate(0)}to{opacity:1;transform:scale(1.25)rotate(45deg)}}.world-map{grid-template-rows:auto auto auto minmax(0,1fr) auto}.world-story{z-index:2;color:#cfc5e7;text-align:center;max-width:800px;margin:10px auto 2px;padding:0 20px;font-size:13px;line-height:1.35}.world-heading{justify-content:center;align-items:center;gap:12px;min-width:0;display:flex}.world-heading>.item-renderer{width:54px;height:54px}.world-heading>span{text-align:left;min-width:0;display:grid}.world-heading small{color:#ffcc63;font-weight:1000}.world-heading b{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(15px,2.2vw,23px);overflow:hidden}.world-heading em{color:#bdb3d4;font-size:11px;font-style:normal}.world-levels{z-index:2;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:clamp(10px,2vw,24px);min-height:0;padding:clamp(12px,3vw,36px);animation:.32s both chapterSlideIn;display:grid}.world-level-card{background:linear-gradient(150deg,#4b3c70,#241c42);border:1px solid #fff2;border-radius:22px;align-content:center;place-items:center;gap:9px;min-width:0;padding:18px 12px;display:grid;position:relative;box-shadow:0 12px 24px #08051188,inset 0 1px #ffffff1c}.world-level-card>strong{color:#ffdc78;filter:drop-shadow(0 5px 3px #0007);font-size:clamp(42px,7vw,82px);line-height:1}.world-level-card>b{text-align:center;font-size:clamp(13px,2vw,20px)}.world-level-card>small{color:#bfb6d4;text-align:center;min-height:36px;font-size:10px;line-height:1.25;overflow:hidden}.world-level-card.completed{background:linear-gradient(150deg,#296151,#202f3d)}.world-level-card.current{box-shadow:0 0 0 3px #72eaff,0 12px 30px #26cfff55}.world-level-card:not(:disabled):hover{filter:brightness(1.12);transform:translateY(-4px)}.world-level-step{color:#fff0b3;background:#17132b;border-radius:50%;place-items:center;width:28px;height:28px;font-weight:1000;display:grid;position:absolute;top:10px;left:12px}.world-dots{z-index:3;justify-content:center;gap:6px;padding:8px 14px 14px;display:flex}.world-dots i{background:#ffffff30;border-radius:50%;width:8px;height:8px}.world-dots i.active{background:#ffbd45;border-radius:8px;width:25px;box-shadow:0 0 10px #ff9e24}@media (max-width:760px){.world-levels,.chapter-levels{grid-template-columns:repeat(2,minmax(0,1fr))}.level-map-backdrop{padding:5px}.level-map{border-radius:22px;width:100%;height:min(96dvh,820px);min-height:510px}.level-map-header{min-height:58px;padding:8px 12px}.level-map-header span{font-size:25px}.level-map-header h2{font-size:22px}.level-map-close{width:38px;height:38px}.world-story{margin:6px 0 0;font-size:10px}.world-heading{gap:5px}.world-heading>.item-renderer{width:38px;height:38px}.world-heading b{font-size:13px}.world-heading em{font-size:9px}.world-levels{grid-template-columns:1fr;gap:6px;padding:8px}.world-level-card{border-radius:14px;grid-template-rows:auto auto;grid-template-columns:52px minmax(0,1fr);justify-items:start;gap:2px 8px;min-height:88px;padding:8px 10px 8px 54px}.world-level-card>strong{grid-row:1/3;font-size:38px}.world-level-card>b{text-align:left;font-size:12px}.world-level-card>small{text-align:left;min-height:0;max-height:29px;font-size:9px}.world-level-step{top:50%;left:8px;transform:translateY(-50%)}.world-dots{padding:4px 8px 10px}.outcome-prompt-layer{padding:12px}.level-map-chapter-nav{grid-template-columns:38px minmax(0,1fr) 38px;gap:5px;min-height:50px;padding:4px 8px}.chapter-arrow{width:34px;height:34px;font-size:27px;box-shadow:0 3px #171023,0 5px 9px #0007}.chapter-indicator b{font-size:12px}.chapter-indicator span{font-size:9px}.chapter-indicator em{height:3px}.level-map-swipe-hint{display:block}.level-route:before,.level-route:after{width:9px;height:9px;box-shadow:0 0 0 3px #ff8a26,0 0 12px #ff7a18}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:80ms!important}.screen-message,.shake-small,.shake-big{animation:none}.final-explosion-state,.shit-particle:nth-child(n+9){display:none}}.chapter-levels{grid-template-columns:repeat(5,minmax(0,1fr))}.generic-flame{font-size:clamp(20px,6vmin,48px);line-height:1}.item-campfire.state-destroyed{animation:.8s ease-out both lighterShatter}@keyframes lighterShatter{0%{filter:brightness(2)drop-shadow(0 0 7px #ffb323);opacity:1;transform:scale(.65)}25%{filter:brightness(1.5)drop-shadow(0 0 4px #ff6719);opacity:1;transform:scale(1)}65%{filter:brightness(.65);opacity:.65;transform:scale(1.06)}to{filter:brightness(.4);opacity:0;transform:scale(1.1)}}.cell,.preview-swatch{--board-cell-fill:linear-gradient(145deg, #302a49, #28223e)}.save-warning{z-index:1000;top:max(12px, env(safe-area-inset-top));color:#fff0cd;text-align:center;pointer-events:none;background:#322041;border:1px solid #ffca70;border-radius:12px;width:min(560px,100% - 24px);padding:10px 16px;font-size:14px;position:fixed;left:50%;transform:translate(-50%)}.tooltip-portal{z-index:10000;opacity:1;visibility:visible;filter:none;pointer-events:none;background:#171329;width:min(260px,100vw - 16px);max-height:calc(100dvh - 16px);transition:none;display:grid;position:fixed;top:8px;left:8px;overflow-y:auto;transform:none}.tooltip-portal:after{display:none}.inventory-item[data-unavailable]{opacity:1;filter:none}.inventory-item[data-unavailable] .inventory-art,.inventory-item[data-unavailable] .inventory-name{opacity:.34;filter:grayscale(.85)saturate(.35)}.object-selected{outline-offset:-3px;border-radius:8px;outline:3px solid #75e5ed}.selected-item-actions{z-index:30;align-items:center;gap:4px;width:max-content;display:flex;position:absolute;top:calc(100% + 3px);left:50%;transform:translate(-50%)}.selected-item-actions[data-edge=left]{left:0;transform:none}.selected-item-actions[data-edge=right]{left:auto;right:0;transform:none}.selected-item-actions button{color:#fff;background:#7652c9;border:0;place-items:center;min-width:30px;height:30px;padding:0;line-height:1;display:grid;box-shadow:0 3px 8px #100c24aa}.selected-item-actions button:focus-visible{outline-offset:2px;outline:3px solid #fff}.rotate-item{border-radius:50%;width:30px}.selected-item-actions .confirm-item{color:#211936;background:#ffc85a;border-radius:10px;min-width:34px;padding:0 5px;font-size:12px;font-weight:900}.inventory-section{flex-direction:column;gap:10px;min-height:0;display:flex;overflow-y:auto}.inventory-section .inventory{flex-shrink:0}.preview-help{color:#eee9ff;background:#211936;border-radius:10px;padding:8px 46px 8px 10px;font-size:12px;position:relative}.preview-help button{color:#fff;background:#41355a;border-radius:50%;width:28px;height:28px;position:absolute;top:8px;right:10px}.preview-copy{gap:5px;display:grid}.preview-legend{align-items:center;gap:8px;font-size:11px;display:flex}.preview-swatch{background:var(--board-cell-fill);border-radius:3px;flex:0 0 20px;width:20px;height:20px;display:inline-block;position:relative}.preview-swatch:after{content:"";border-radius:inherit;position:absolute;top:0;bottom:0;left:0;right:0}.board-shell{padding-bottom:38px;position:relative}.board{--board-radius:var(--panel-radius);--board-border:var(--panel-border-width);--cell-corner-radius:calc(var(--board-radius) - var(--board-border));border-radius:var(--board-radius);border-width:var(--board-border);isolation:isolate}.cell[data-row-edge=top][data-column-edge=left]{border-top-left-radius:var(--cell-corner-radius)}.cell[data-row-edge=top][data-column-edge=right]{border-top-right-radius:var(--cell-corner-radius)}.cell[data-row-edge=bottom][data-column-edge=left]{border-bottom-left-radius:var(--cell-corner-radius)}.cell[data-row-edge=bottom][data-column-edge=right]{border-bottom-right-radius:var(--cell-corner-radius)}.control-icon{pointer-events:none;flex-shrink:0;width:24px;height:24px;display:block}.sidebar-controls{grid-template-columns:minmax(0,1fr);align-items:center;gap:6px}.sidebar-controls .stats{gap:6px;min-width:0;font-size:11px}.sidebar-controls .stats>span{min-width:0}.sidebar-controls .stats b{white-space:nowrap;font-variant-numeric:tabular-nums;min-height:24px}.sidebar-controls .current-level-button b{font-size:22px}.sidebar-controls .current-level-button .resource-icon{width:34px;height:34px}.sidebar-controls .stats .hud-total{background:0 0;border-radius:8px;flex:none;justify-content:center;align-items:center;min-height:44px;margin-left:auto;padding:4px 10px;display:flex}.sidebar-controls .hud-total:focus-visible{outline-offset:3px;outline:3px solid #fff0a4}.sidebar-controls .hud-total:not(:disabled):hover{background:#ffffff07}.sidebar-controls .hud-total:disabled{opacity:1}.sidebar-controls .hud-total b{color:#ffcf62;font-size:26px;font-weight:900;line-height:1.1}.sidebar-controls .hud-total .resource-icon{width:34px;height:34px}.current-level-button{min-height:44px;color:inherit;text-transform:inherit;background:#30294a;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;gap:4px;padding:3px 6px;display:flex}.current-level-button:not(:disabled):hover{background:#433660}.current-level-button:focus-visible{outline-offset:2px;outline:3px solid #fff0a4}.sidebar-tools button:focus-visible{outline-offset:2px;outline:3px solid #fff0a4}.sidebar-tools.sidebar-utility-row{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sidebar-utility-row>button{grid-area:auto;width:100%;height:44px;min-height:44px}.guide-close,.preview-help button,.rotate-item,.sidebar-tools button,.campaign-pages button{place-items:center;padding:0;line-height:1;display:grid}.guide-close .control-icon,.preview-help .control-icon,.rotate-item .control-icon{width:20px;height:20px}.reset-button-art,.sound-button-art{object-fit:contain;pointer-events:none;width:44px;height:44px;display:block}.cell:focus-visible{outline-offset:-3px;outline:3px solid #75e5ed}.placed-object:focus-visible{outline-offset:-3px;outline:3px solid #75e5ed}.cell .static-object,.cell .placed-object{z-index:3}.item-renderer img{object-fit:contain;animation:none!important}.cell-fx{border-radius:inherit;pointer-events:none;z-index:1;position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.cell-fx img{object-fit:contain;width:100%;height:100%}.fx-big{background:radial-gradient(circle,#ffcc4a88,#0000 70%)}.fx-mine img{filter:saturate(.65)}.fx-gas{background:radial-gradient(circle,#fa9b2055,#0000 70%)}.fx-cluster img{filter:saturate(1.35)}.fx-freeze{background:radial-gradient(circle,#4de7ff55,#0000 70%)}.debris-fx{z-index:12;pointer-events:none;position:absolute;top:-8%;bottom:-8%;left:-8%;right:-8%}.debris-fx .item-renderer{width:100%;height:100%}.landscape-score{z-index:16;color:#ffdc73;white-space:nowrap;text-shadow:0 2px 3px #211433;pointer-events:none;font-size:clamp(11px,1.4vw,19px);font-weight:900;position:absolute;top:-12%}.burning-overlay{z-index:4;pointer-events:none;opacity:.9;position:absolute;top:-12%;bottom:12%;left:6%;right:6%}.burning-overlay img{object-fit:contain;width:100%;height:100%}.flight-layer{pointer-events:none;z-index:8;position:absolute;top:0;bottom:0;left:0;right:0}.flight-sprite{position:absolute;transform:translate(-50%,-50%)}.flight-body,.brush-spiral-offset,.brush-spiral-spin{width:100%;height:100%;display:block;position:relative}.brush-spiral-offset{transform:translate(var(--spiral-x), var(--spiral-y))}.brush-spiral-spin{transform:rotate(var(--brush-spin));filter:drop-shadow(0 0 5px #ffc645)}.flight-sprite .item-renderer{z-index:2;width:100%;height:100%;position:relative}.flight-trail{object-fit:contain;width:160%;height:100%;transform:rotate(var(--flight-angle)) translateX(-38%);opacity:.7;position:absolute;top:0;left:-30%}.flight-drone{filter:drop-shadow(0 3px 3px #29ced775)}.drill-vibration{z-index:2;place-items:center;width:100%;height:100%;display:grid;position:relative}.burst-particles{z-index:14;pointer-events:none;position:absolute;top:-35%;bottom:-35%;left:-35%;right:-35%}.burst-particles img{object-fit:contain;width:45%;height:45%;position:absolute;top:28%;left:28%}.ignite-button img{object-fit:contain;vertical-align:middle;width:1.65em;height:1.65em}.outcome-prompt{margin-top:145px;padding-top:105px;position:relative;overflow:visible}.outcome-prompt .mascot-portrait{object-fit:contain;filter:drop-shadow(0 9px 5px #25103333);width:260px;max-width:88%;height:225px;margin:0;position:absolute;top:-135px;left:50%;transform:translate(-50%)}.outcome-prompt.success .mascot-portrait{width:320px;height:220px;top:-130px}.outcome-prompt.success{padding-top:100px}.result-total-label{margin:8px 0 0!important}.victory-glitter i{background:#ffc53a;border-radius:2px;width:7px;height:11px}.campaign-backdrop{z-index:220;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#080612b8;place-items:center;padding:16px;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.campaign-frame{--monster-height:clamp(80px, 16dvh, 142px);width:min(620px,100%);padding-top:calc(var(--monster-height) * .82);position:relative}.campaign-monster{height:var(--monster-height);object-fit:contain;transform-origin:50% 82%;z-index:2;pointer-events:none;filter:drop-shadow(0 5px 3px #21133940);width:auto;max-width:75%;animation:5s ease-in-out infinite map-monster-breathe;position:absolute;top:-7px;left:50%;transform:translate(-50%)}.campaign-map{max-height:calc(100dvh - var(--monster-height) - 20px);overscroll-behavior:contain;padding:20px 24px 16px;position:relative;overflow-y:auto}.campaign-map header{justify-content:space-between;align-items:center;gap:12px;display:flex}.campaign-map h2{align-items:center;gap:8px;min-width:0;display:flex}.campaign-title-text{text-wrap:balance;min-width:0}.route-check{z-index:2;filter:drop-shadow(0 2px 2px #132f2580);width:28px;height:28px;position:absolute;bottom:-5px;right:-12px}.campaign-route{grid-template-rows:repeat(5,minmax(74px,1fr));grid-template-columns:1fr 1fr;gap:0 24px;height:clamp(390px,53dvh,500px);margin:12px 0;animation:.3s ease-out map-page-in;display:grid;position:relative}.route-path{pointer-events:none;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.route-path path{stroke:#9276a6;stroke-width:1.3px;stroke-dasharray:1.3 1.5;fill:none;stroke-linecap:round;animation:12s linear infinite map-path-flow}.route-stop{cursor:pointer;color:inherit;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:0 4px;display:flex;position:relative}.route-node{color:#48275e;isolation:isolate;background:linear-gradient(145deg,#fffdf7,#e5d6ee);border:3px solid #ac8dbc;border-radius:19px;flex-shrink:0;place-items:center;width:clamp(44px,6.6dvh,58px);height:clamp(44px,6.6dvh,58px);font-size:25px;font-weight:900;display:grid;position:relative;box-shadow:0 4px #a484b5}.route-number{z-index:1;position:relative}.route-stop b{text-align:center;background:#352547e8;border-radius:6px;max-width:100%;padding:1px 5px;font-size:12px;line-height:1.15;position:relative}.route-stop.complete .route-node{color:#17583a;background:linear-gradient(145deg,#c2ffe0,#69d7a2);border-color:#368968;box-shadow:0 4px #277753,inset 0 2px #e5fff1}.route-stop.current .route-node{outline-offset:5px;outline:2px solid #8e68a5}.route-stop.frontier .route-node{color:#6d410b;background:linear-gradient(145deg,#fff6b5,#ffd052);border-color:#c78a20;box-shadow:0 4px #af711a,inset 0 2px #fffad5,0 0 18px #ffd452cc,0 0 38px #ffaa3488}.route-stop.frontier .route-node:before{content:"";z-index:-1;pointer-events:none;background:radial-gradient(#ffe58ac9 10%,#ffbe4566 42%,#ffd45200 72%);border-radius:50%;animation:2.8s ease-in-out infinite map-node-glow;position:absolute;top:-23px;bottom:-23px;left:-23px;right:-23px;box-shadow:0 0 30px #ffc83388}.route-stop:disabled{opacity:1;cursor:default}.route-stop.locked{color:#c5b2d4}.route-stop.locked .route-number{color:#6b527d}.route-stop.locked .route-node{background:linear-gradient(145deg,#eee5f2,#d9cbe1);border-color:#bba7c8;box-shadow:0 4px #b8a3c6}.route-lock{color:#ad91c3;filter:drop-shadow(0 2px 1px #59366a66);z-index:2;width:22px;height:27px;position:absolute;bottom:-3px;right:-12px}.route-stop.celebrating .route-node{animation:.9s ease-out both map-complete}.route-stop.unlocking .route-node{animation:1.4s ease-out both map-unlock-node}.unlocking .route-lock{color:#ffc748;animation:.8s ease-in .5s forwards map-lock-vanish}.unlocking .lock-shackle{transform-origin:8px 17px;animation:.5s ease-out forwards map-lock-open}.route-sparks{pointer-events:none;position:absolute;top:0;bottom:0;left:0;right:0}.route-sparks i{opacity:0;background:#ffd04e;border:1px solid #fff9d6;border-radius:2px;width:6px;height:6px;animation:.85s ease-out both map-spark;position:absolute;top:calc(50% - 3px);left:calc(50% - 3px)}.celebrating .route-sparks i{background:#59d497}.unlocking .route-sparks i{animation-delay:.35s}.campaign-pages{color:#d8bee9;justify-content:space-between;align-items:center;gap:15px;font-size:14px;font-weight:700;display:flex}.campaign-map button:focus-visible{outline-offset:3px;outline:3px solid #fff0a4}.campaign-map:focus{outline:none}.campaign-backdrop[data-paused] *,.campaign-backdrop[data-paused] :before{animation-play-state:paused!important}@keyframes map-monster-breathe{50%{transform:translate(-50%)scaleY(1.015)}}@keyframes map-node-glow{50%{opacity:.7;transform:scale(.88)}}@keyframes map-page-in{0%{transform:translateY(8px)}}@keyframes map-path-flow{to{stroke-dashoffset:-28px}}@keyframes map-complete{0%{background:#ffda67;border-color:#c78a20;transform:scale(1)}35%{background:#b9ffe0;transform:scale(1.18);box-shadow:0 4px #277753,0 0 0 14px #78e5aa55,0 0 35px #7deeb9}to{transform:scale(1)}}@keyframes map-unlock-node{0%,20%{background:#e6dbee;border-color:#bba7c8}50%{transform:scale(1.13);box-shadow:0 4px #af711a,0 0 0 12px #ffe59c99,0 0 40px #ffd452}to{transform:scale(1)}}@keyframes map-lock-open{to{transform:translateY(-2px)rotate(-32deg)}}@keyframes map-lock-vanish{to{opacity:0;filter:blur(4px);transform:translateY(-28px)scale(1.5)}}@keyframes map-spark{0%{opacity:0;transform:translateY(-18px)scale(.2)}20%{opacity:1}to{opacity:0;transform:translateY(-65px)scale(.3)}}@media (max-width:600px){.campaign-backdrop{padding:12px}.campaign-map{max-height:calc(100dvh - var(--monster-height) - 12px);padding:18px 14px 14px}.campaign-route{column-gap:16px}.outcome-prompt{margin-top:100px;padding-top:85px}.outcome-prompt .mascot-portrait{height:195px;top:-120px}}@media (prefers-reduced-motion:reduce){.campaign-backdrop *,.campaign-backdrop :before{transition:none!important;animation:none!important}.route-sparks,.flight-trail,.burst-particles,.victory-glitter{display:none}.debris-fx,.drill-vibration,.brush-spiral-offset,.brush-spiral-spin{transform:none!important}.cell-fx{opacity:.5!important}}.guide-layer{z-index:180;pointer-events:none;position:fixed;top:0;bottom:0;left:0;right:0}.guide-arrow{filter:drop-shadow(0 3px 2px #2d164d);width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0;overflow:visible}.guide-arrow path{fill:#211936;stroke:#ffda52;stroke-width:2px;stroke-linejoin:round}.guide-target{border:3px solid #ffda52;border-radius:10px;position:absolute;box-shadow:0 0 0 4px #211936aa,0 0 22px #ffda5290}.guide-copy{color:#fff8df;pointer-events:auto;background:0 0;border:2px solid #0000;border-radius:16px;width:min(290px,100vw - 16px);padding:16px 40px 16px 16px;position:absolute}.guide-copy p{margin:0;font-size:14px;line-height:1.45}.guide-close{background:#493660;border-radius:50%;width:30px;height:30px;font-size:22px;position:absolute;top:6px;right:6px}.guide-next{color:#211936;background:#ffda52;border-radius:10px;min-height:40px;margin-top:12px;padding:8px 18px;font-weight:800}.sidebar-actions>button,.sidebar-actions>.attempts-counter{border-radius:12px;grid-area:auto;justify-content:center;align-items:center;gap:8px;width:100%;height:50px;min-height:50px;margin:0;padding:5px 10px;line-height:1.15;display:flex}.guide-replay-button{color:#19233b;background:linear-gradient(135deg,#8ff6ed,#37cedf);border:2px solid #b8fff5;font-size:14px;font-weight:800;box-shadow:0 0 16px #37cedf40}.guide-replay-button:not(:disabled):hover{background:linear-gradient(135deg,#b8fff5,#63e3ed)}.guide-replay-button:focus-visible{outline-offset:3px;outline:3px solid #fff3b2}.action-pulse:not(:disabled){animation:3.6s ease-in-out infinite actionInvite}.is-paused .action-pulse{animation-play-state:paused}@keyframes actionInvite{0%,16%,32%,to{filter:brightness();transform:scale(1);box-shadow:0 0 #ffcf5800}9%{filter:brightness(1.1);transform:scale(1.035);box-shadow:0 0 0 4px #ffcf5826,0 0 18px #ffcf5830}24%{filter:brightness(1.07);transform:scale(1.025);box-shadow:0 0 0 3px #ffcf5820,0 0 12px #ffcf5826}}.action-pulse:not(:disabled):active{animation:none;transform:scale(.98)}.pause-label{justify-content:center;align-items:center;gap:12px;display:flex}.pause-label .control-icon{flex-shrink:0;width:36px;height:36px}@media (prefers-reduced-motion:reduce){.action-pulse:not(:disabled){animation:none}}.popup-surface{border:var(--panel-border-width) solid var(--panel-border-color);border-radius:var(--panel-radius);color:#f8f5ff;background:linear-gradient(145deg,#332b55,#17122b)}.popup-icon-button{color:#f8f5ff;background:#493660;border:0;border-radius:50%;flex:0 0 40px;place-items:center;width:40px;height:40px;padding:0;line-height:1;display:grid}.popup-icon-button .control-icon{width:24px;height:24px}.popup-icon-button:not(:disabled):hover{background:#604778}.popup-icon-button:not(:disabled):active{background:#3d2d51}.popup-icon-button:disabled{opacity:.42;cursor:default}.popup-icon-button:focus-visible{outline-offset:3px;outline:3px solid #fff0a4}.popup-title{color:#f8f5ff;letter-spacing:normal;text-shadow:none;text-transform:none;text-wrap:balance;margin:0;font-size:24px;font-weight:700;line-height:1.2}
