:root{--font:"Fredoka Variable", "Fredoka", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;--ink:#1f4e79;--ink-soft:#3d6f99;--sky-top:#8fd6ff;--sky-bottom:#e4f7ff;--gold:#ffd23f;--gold-dark:#c98400;--outline:0 2px 0 var(--ink), 0 -2px 0 var(--ink), 2px 0 0 var(--ink), -2px 0 0 var(--ink), 2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink);--outline-thin:0 1px 0 var(--ink), 0 -1px 0 var(--ink), 1px 0 0 var(--ink), -1px 0 0 var(--ink), 0 2px 2px #0000004d}html,body{background:var(--sky-top);height:100%;font-family:var(--font);touch-action:manipulation;touch-action:pan-x pan-y;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;margin:0;overflow:hidden}[hidden]{display:none!important}canvas{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;display:block}.btn{--top:#6fd36a;--bottom:#36a83a;--edge:#22792a;background:linear-gradient(var(--top), var(--bottom));min-width:110px;box-shadow:0 5px 0 var(--edge), 0 9px 14px #001e3c47;color:#fff;font:600 20px/1 var(--font);letter-spacing:.3px;text-shadow:0 2px #00000038;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;border:3px solid #fff;border-radius:999px;justify-content:center;align-items:center;gap:6px;padding:12px 24px 13px;transition:translate 80ms,box-shadow 80ms;display:inline-flex;position:relative}.btn:before{content:"";pointer-events:none;background:linear-gradient(#fff9,#ffffff0d);border-radius:999px;height:38%;position:absolute;top:3px;left:14%;right:14%}.btn:active:not(:disabled){box-shadow:0 1px 0 var(--edge), 0 3px 6px #001e3c40;translate:0 4px}.btn:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.btn-blue{--top:#5cc4ff;--bottom:#2a8fe0;--edge:#1d65a8}.btn-orange{--top:#ffc04d;--bottom:#ff8a1f;--edge:#c75f08}.btn-red{--top:#ff8a80;--bottom:#e8504a;--edge:#a8312d}.btn:disabled{--top:#cfd8e0;--bottom:#a9b6c2;--edge:#84919c;cursor:default}.btn-small{min-width:0;box-shadow:0 4px 0 var(--edge), 0 6px 10px #001e3c40;border-width:2px;padding:8px 16px 9px;font-size:16px}.btn-small:active:not(:disabled){translate:0 3px}.star{width:1em;height:1em;overflow:visible}.star path{stroke-width:2.2px;stroke-linejoin:round}.star.on path{fill:var(--gold);stroke:var(--gold-dark)}.star.off path{fill:#1f4e7929;stroke:#1f4e7959}.coin{flex:none;width:1.1em;height:1.1em}.coin-face{fill:var(--gold);stroke:var(--gold-dark);stroke-width:2px}.coin-rim{fill:none;stroke:#e6a100;stroke-width:1.5px}.coin-star{fill:#e6a100}.lock-shackle{fill:none;stroke:#fff;stroke-width:2.6px;stroke-linecap:round}.lock-body{fill:#fff}.lock-hole{fill:#93a2ae}.icon .i-bub{fill:#dcf6ffd9;stroke:#fff;stroke-width:2.5px}.icon .i-shine,.icon .i-dot{fill:#fff}.icon .i-line{fill:none;stroke:#fff;stroke-width:3px;stroke-linecap:round}.icon .i-wall{fill:#ffcf8a;stroke:#fff;stroke-width:2px}.icon .i-blob{fill:#8a6a48;stroke:#fff;stroke-width:2.5px}.icon .i-goo{fill:#b8f07a;stroke:#fff;stroke-width:1.5px}.btn-icon{width:40px;height:40px;padding:0}.exit-icon{width:24px;height:24px;overflow:visible}.exit-door,.exit-arrow{fill:none;stroke:#fff;stroke-width:2.6px;stroke-linecap:round;stroke-linejoin:round}.gear{width:24px;height:24px}.gear-tooth{fill:#fff}.gear-ring{fill:none;stroke:#fff;stroke-width:3.6px}.install-icon{width:20px;height:20px}.install-arrow,.install-tray{fill:none;stroke:#fff;stroke-width:2.6px;stroke-linecap:round;stroke-linejoin:round}.landing-links{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:10px;display:flex}.lore-button{text-decoration:none}.install-step{text-align:left;align-items:center;gap:8px;width:100%;font-size:16px;font-weight:600;display:flex}.install-step b{background:var(--ink);color:#fff;border-radius:50%;flex:none;place-items:center;width:26px;height:26px;font-size:14px;display:inline-grid}.share-icon{flex:none;width:22px;height:22px}.share-box,.share-arrow{fill:none;stroke:#2a8fe0;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round}.pause-icon{width:24px;height:24px}.pause-bar{fill:none;stroke:#fff;stroke-width:3.6px;stroke-linecap:round}.broom{vertical-align:-3px;width:18px;height:18px;margin-right:3px;overflow:visible}.broom-handle{fill:none;stroke:#a0642a;stroke-width:2.6px;stroke-linecap:round}.broom-bristles{fill:#ffd25a;stroke:#9a6a10;stroke-width:1.2px;stroke-linejoin:round}.broom-band{fill:none;stroke:#e2453c;stroke-width:2.2px;stroke-linecap:round}.broom-lines{fill:none;stroke:#b8860b;stroke-width:1px;stroke-linecap:round}.stage-buttons{top:calc(8px + env(safe-area-inset-top));left:calc(8px + env(safe-area-inset-left));flex-direction:column;align-items:flex-start;gap:10px;display:flex;position:fixed}.tool-button{right:calc(18px + env(safe-area-inset-right));bottom:calc(118px + env(safe-area-inset-bottom));cursor:pointer;touch-action:none;-webkit-tap-highlight-color:transparent;background:#1f4e79c7;border:3px solid #fff;border-radius:50%;width:64px;height:64px;padding:0;position:fixed;box-shadow:0 4px #00000040}.tool-face{position:absolute;inset:8px}.tool-face svg{width:100%;height:100%}.tool-name{color:#fff;white-space:nowrap;background:#1f4e79c7;border-radius:999px;margin-top:4px;padding:1px 8px;font-size:12px;font-weight:600;position:absolute;top:100%;left:50%;transform:translate(-50%)}.tool-button:active{transform:translateY(3px);box-shadow:0 1px #00000040}.clean-row{top:calc(8px + env(safe-area-inset-top));pointer-events:none;-webkit-user-select:none;user-select:none;align-items:center;gap:6px;width:min(284px,100vw - 172px);display:flex;position:fixed;left:50%;transform:translate(-50%)}.clean{box-sizing:border-box;background:#1f4e798c;border:3px solid #fff;border-radius:999px;flex:1;min-width:0;height:28px;position:relative;overflow:hidden;box-shadow:0 3px #1f4e7959,0 5px 10px #00000026}.monsters{box-sizing:border-box;color:#fff;height:28px;font:700 15px/1 var(--font);text-shadow:var(--outline-thin);background:#1f4e798c;border:3px solid #fff;border-radius:999px;flex:none;align-items:center;gap:2px;padding:0 9px 0 3px;display:flex;box-shadow:0 3px #1f4e7959,0 5px 10px #00000026}.monsters.none{background:#3cc070d9}.monsters-left{margin-left:3px;font-size:12px}.monster-face{width:20px;height:20px}.mf-body{fill:#8a6a48;stroke:#fff;stroke-width:1.6px}.mf-eye{fill:#fff}.mf-pupil{fill:#2a1e14}.mf-line{fill:none;stroke:#2a1e14;stroke-width:1.5px;stroke-linecap:round}.clean-fill{background:linear-gradient(#8ef0a8,#3cc070);width:0;transition:width .3s;position:absolute;top:0;bottom:0;left:0}.clean-text{color:#fff;font:600 14px/22px var(--font);text-align:center;text-overflow:ellipsis;white-space:nowrap;text-shadow:var(--outline-thin);padding:0 8px;position:relative;overflow:hidden}.bonus-hud{top:calc(8px + env(safe-area-inset-top));pointer-events:none;-webkit-user-select:none;user-select:none;color:#fff;font-family:var(--font);white-space:nowrap;align-items:center;gap:8px;display:flex;position:fixed;left:50%;transform:translate(-50%)}.bonus-title,.bonus-left,.bonus-next{box-sizing:border-box;height:30px;text-shadow:var(--outline-thin);background:#1f4e7999;border:3px solid #fff;border-radius:999px;align-items:center;gap:5px;padding:0 10px;font-size:15px;font-weight:700;display:flex}.bonus-title{color:var(--ink);text-shadow:none;background:linear-gradient(#ffe27a,#ffb52e)}.bubble-icon{width:20px;height:20px}.bubble-icon .i-bub{fill:#dcf6ffd9;stroke:#fff;stroke-width:2.5px}.bubble-icon .i-shine{fill:#fff}.bonus-next span{font-size:12px;font-weight:600}.bonus-swatch{border:2px solid #fff;border-radius:50%;width:18px;height:18px;box-shadow:inset -3px -3px #0000002e}.rubble-hud{top:calc(8px + env(safe-area-inset-top));pointer-events:none;-webkit-user-select:none;user-select:none;color:#fff;width:min(300px,100vw - 120px);font-family:var(--font);white-space:nowrap;flex-direction:column;align-items:center;gap:4px;display:flex;position:fixed;left:50%;transform:translate(-50%)}.rubble-hud[hidden]{display:none}.rubble-time{box-sizing:border-box;min-width:64px;height:26px;color:var(--ink);font:700 15px/20px var(--font);text-align:center;background:linear-gradient(#ffe27a,#ffb52e);border:3px solid #fff;border-radius:999px;padding:0 10px;display:inline-block}.rubble-bar{box-sizing:border-box;background:linear-gradient(#9a6a3e,#5a3a1e);border:3px solid #fff;border-radius:999px;width:100%;height:28px;position:relative;overflow:hidden;box-shadow:0 3px #1f4e7959,0 5px 10px #00000026}.rubble-mine{background:linear-gradient(#8ef0a8,#3cc070);width:50%;transition:width .3s;position:absolute;top:0;bottom:0;left:0}.rubble-you,.rubble-them{height:22px;font:700 14px/22px var(--font);text-shadow:var(--outline-thin);align-items:center;gap:3px;display:flex;position:absolute;top:0}.rubble-you{left:10px}.rubble-them{right:4px}.rubble-them .icon{width:20px;height:20px}.rubble-mud{font:600 12px/1 var(--font);text-shadow:var(--outline-thin);align-items:center;gap:6px;display:flex}.rubble-mud[hidden]{display:none}.rubble-mud .mud-bar{position:static}.rubble-faces{color:var(--ink);font:700 16px/1 var(--font);justify-content:center;align-items:center;gap:10px;display:flex}.rubble-faces .icon{background:linear-gradient(#fff6dc,#ffd98a);border-radius:50%;width:56px;height:56px;padding:4px;box-shadow:inset 0 -4px #0000001f}.xp{top:calc(42px + env(safe-area-inset-top));text-align:center;pointer-events:none;-webkit-user-select:none;user-select:none;max-width:calc(100% - 172px);position:fixed;left:50%;transform:translate(-50%)}.xp-bar{box-sizing:border-box;background:#1f4e7980;border:2px solid #fff;border-radius:999px;width:150px;max-width:100%;height:12px;margin:0 auto;overflow:hidden;box-shadow:0 2px #1f4e794d}.xp-fill{background:linear-gradient(#ffe27a,#ffb52e);border-radius:999px;width:0;height:100%;transition:width .3s}.xp-row{width:150px;max-width:100%;margin:0 auto;position:relative}.mud-bar{box-sizing:border-box;background:#1f4e7980;border:2px solid #fff;border-radius:999px;width:52px;height:12px;position:absolute;top:0;left:calc(100% + 6px);overflow:hidden;box-shadow:0 2px #1f4e794d}.mud-bar[hidden]{display:none}.mud-fill{background:linear-gradient(#9a6a3e,#5a3a1e);border-radius:999px;width:0;height:100%;transition:width .3s}.pick{box-sizing:border-box;background:#1f4e7999;border:2px solid #fff;border-radius:999px;align-items:center;gap:1px;height:26px;padding:0 2px;display:inline-flex;box-shadow:0 2px #1f4e794d}.pick .icon{width:20px;height:20px}.pick b{color:#fff;font:700 11px/1 var(--font);text-shadow:var(--outline-thin);padding-right:5px}.xp-text{color:#fff;font:600 15px/1.3 var(--font);text-shadow:var(--outline-thin);margin-top:3px}.pick-name{color:#fff;font:600 12px/1 var(--font);text-shadow:var(--outline-thin);padding:0 4px 0 2px}.pick-name+b{padding-left:0}.pause-room{font-size:20px;font-weight:700}.pause-stats{font-size:16px}.pause-stars{flex-direction:column;align-items:center;gap:4px;display:flex}.pause-total{font-size:34px;display:inline-flex}.pause-total .star-count{color:var(--ink);text-shadow:none}.pause-rooms{color:var(--ink-soft);flex-wrap:wrap;justify-content:center;gap:4px 10px;font-size:13px;font-weight:600;display:flex}.pause-rooms span{color:#e0a000;white-space:nowrap}.pause-picks{flex-wrap:wrap;justify-content:center;gap:5px;display:flex}.pause-none{opacity:.6;font-size:14px;font-weight:500}.pause-buttons{flex-direction:column;align-items:stretch;gap:10px;width:min(220px,100%);margin-top:6px;display:flex}.btn-icon-text{justify-content:center;align-items:center;gap:8px;display:inline-flex}.fade{background:linear-gradient(var(--sky-top), var(--sky-bottom));opacity:0;pointer-events:none;transition-property:opacity;position:fixed;inset:0}.fade.on{opacity:1}.finish{bottom:calc(26px + env(safe-area-inset-bottom));flex-direction:column;gap:3px;width:max-content;min-width:170px;margin:0 auto;padding:14px 34px 15px;font-size:24px;animation:1.2s ease-in-out infinite pulse;position:fixed;left:0;right:0}.finish-sub{letter-spacing:.2px;opacity:.95;font-size:13px;font-weight:500}.overlay{box-sizing:border-box;color:#fff;font-family:var(--font);text-align:center;-webkit-user-select:none;user-select:none;background:radial-gradient(circle at 50% 40%,#285a8c59,#0f28469e);flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:16px;display:flex;position:fixed;inset:0}.panel{box-sizing:border-box;width:min(340px,100vw - 32px);color:var(--ink);background:linear-gradient(#fff,#dff2ff);border:4px solid #fff;border-radius:28px;flex-direction:column;align-items:center;gap:10px;padding:22px 20px 24px;animation:.35s cubic-bezier(.2,1.4,.4,1) both pop-in;display:flex;box-shadow:0 6px #1f4e7959,0 16px 40px #00143259}.panel.grey{color:#555;background:linear-gradient(#f4f4f4,#cdcdcd)}.overlay-title{color:#fff;text-shadow:var(--outline), 0 5px 0 var(--ink), 0 8px 12px #00000040;font-size:32px;font-weight:700;line-height:1.1}.panel.grey .overlay-title{text-shadow:0 2px #666,0 -2px #666,2px 0 #666,-2px 0 #666,2px 2px #666,-2px 2px #666,2px -2px #666,-2px -2px #666,0 5px #666}.overlay-title.big{color:var(--gold);font-size:46px;animation:.4s cubic-bezier(.2,1.6,.4,1) both pop-in}.overlay-line{font-size:18px;font-weight:500}.overlay-soon{color:var(--ink);font-weight:700}.overlay-coins{color:#b87400;align-items:center;gap:6px;font-size:22px;font-weight:700;display:flex}.overlay-hint{color:var(--ink-soft);background:#1f4e791a;border-radius:999px;margin-top:6px;padding:8px 16px;font-size:14px;font-weight:600;animation:1.6s ease-in-out infinite pulse}.panel.grey .overlay-hint{color:#555;background:#00000014}.overlay-buttons{gap:14px;margin-top:10px;display:flex}.overlay.settings{z-index:2;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;justify-content:flex-start;overflow-y:auto}.overlay.settings .panel{flex:none;margin:auto 0}.setting{box-sizing:border-box;background:#1f4e7914;border-radius:18px;justify-content:space-between;align-items:center;gap:16px;width:100%;padding:12px 16px;display:flex}.setting-name{font-size:20px;font-weight:600}.setting-note{opacity:.7;font-size:13px;font-weight:500}.setting-pop{flex-direction:column;align-items:stretch;gap:10px}.pop-choices{grid-template-columns:1fr 1fr;gap:8px;display:grid}.pop-choice{color:var(--ink);font-family:var(--font);cursor:pointer;-webkit-tap-highlight-color:transparent;background:#fff;border:3px solid #fff;border-radius:14px;padding:9px 8px;font-size:15px;font-weight:600;box-shadow:0 3px #1f4e7940}.pop-choice.on{color:#fff;background:#4cc455}.pop-choice:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.settings-version{opacity:.5;margin-top:2px;font-size:12px;font-weight:500}.switch{box-sizing:border-box;width:84px;height:40px;font-family:var(--font);cursor:pointer;-webkit-tap-highlight-color:transparent;background:#a9b6c2;border:3px solid #fff;border-radius:999px;padding:0;transition:background .2s;position:relative;box-shadow:inset 0 3px 6px #0003,0 3px #1f4e7940}.switch.on{background:#4cc455}.switch:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.switch-knob{background:#fff;border-radius:50%;width:28px;height:28px;transition:left .2s;position:absolute;top:3px;left:3px;box-shadow:0 2px 4px #00000040}.switch.on .switch-knob{left:calc(100% - 31px)}.switch-text{color:#fff;align-items:center;font-size:14px;font-weight:700;display:flex;position:absolute;top:0;bottom:0;right:10px}.switch.on .switch-text{left:12px;right:auto}.overlay-stars{align-items:flex-end;gap:4px;margin:4px 0 6px;font-size:54px;display:flex}.overlay-stars .star{animation:.45s cubic-bezier(.2,1.6,.4,1) both star-pop}.overlay-stars .star:first-child{animation-delay:.25s}.overlay-stars .star:nth-child(2){font-size:70px;animation-delay:.45s;translate:0 -10px}.overlay-stars .star:nth-child(3){animation-delay:.65s}.overlay-stars .star.on{filter:drop-shadow(0 3px #c9840073)}.total{align-items:center;gap:.15em}.star-count{color:#fff;text-shadow:var(--outline-thin);font-size:.72em;font-weight:700;line-height:1}.star-count small{opacity:.9;font-size:.6em}.overlay-stars.total .star-count{color:var(--ink);text-shadow:none}.upgrade-cards{flex-wrap:wrap;justify-content:center;gap:14px;max-width:640px;display:flex}.upgrade{color:#fff;width:180px;font-family:var(--font);cursor:pointer;-webkit-tap-highlight-color:transparent;background:linear-gradient(#5cc4ff,#2a86d6);border:4px solid #fff;border-radius:24px;flex-direction:column;align-items:center;gap:6px;padding:14px 12px 16px;transition:translate 80ms,box-shadow 80ms;animation:.4s cubic-bezier(.2,1.4,.4,1) both pop-in;display:flex;box-shadow:0 6px #1d65a8,0 12px 22px #00143259}.upgrade:nth-child(2){animation-delay:80ms}.upgrade:nth-child(3){animation-delay:.16s}.upgrade:active{translate:0 4px;box-shadow:0 2px #1d65a8,0 5px 10px #0014324d}.upgrade .icon{width:64px;height:64px}.upgrade-name{text-shadow:0 2px #0003;font-size:19px;font-weight:700}.upgrade-text{font-size:13px;font-weight:500;line-height:1.3}@media (width<=480px){.upgrade{text-align:left;grid-template-columns:52px 1fr;align-items:center;gap:2px 12px;width:min(320px,100vw - 32px);display:grid}.upgrade .icon{grid-row:span 2;width:52px;height:52px}}.landing{z-index:1;font-family:var(--font);text-align:center;-webkit-user-select:none;user-select:none;flex-direction:column;display:flex;position:fixed;inset:0}.landing-top{z-index:3;padding:calc(14px + env(safe-area-inset-top)) 16px 6px;flex:none;position:relative}.landing-title{color:#fff;letter-spacing:.01em;white-space:pre;width:max-content;text-shadow:0 3px 0 var(--ink), 0 -3px 0 var(--ink), 3px 0 0 var(--ink), -3px 0 0 var(--ink), 2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink), 3px 1px 0 var(--ink), -3px 1px 0 var(--ink), 3px -1px 0 var(--ink), -3px -1px 0 var(--ink), 1px 3px 0 var(--ink), -1px 3px 0 var(--ink), 0 7px 0 var(--ink), 0 11px 14px #0028504d;font-size:40px;font-weight:700;line-height:1.1;position:relative;rotate:-2deg}.landing-title span{display:inline-block}.landing-title span:nth-child(odd){translate:0 -2px;rotate:-4deg}.landing-title span:nth-child(2n){translate:0 2px;rotate:4deg}.landing-title:after{content:"";width:16px;height:16px;box-shadow:0 0 0 2px var(--ink), -12px 18px 0 -3px #aae1ffe6, -12px 18px 0 -1px var(--ink);background:radial-gradient(circle at 32% 30%,#fff 0 18%,#aae1ff8c 20% 100%);border:2px solid #fff;border-radius:50%;position:absolute;top:-6px;right:-26px}.landing-bar{justify-content:center;align-items:center;gap:12px;margin-top:12px;display:flex}.landing-coins{color:#fff;font-variant-numeric:tabular-nums;background:#1f4e7999;border:3px solid #fff;border-radius:999px;align-items:center;gap:6px;min-width:60px;padding:4px 14px 4px 4px;font-size:20px;font-weight:600;display:inline-flex;box-shadow:0 3px #1f4e7959}.landing-coins .coin{width:28px;height:28px}.landing-stages,.landing-shop,.landing-cast,.landing-daily,.landing-rubble,.landing-coop{overscroll-behavior:contain;min-height:0;padding:0 16px calc(24px + env(safe-area-inset-bottom));flex:1;overflow-y:auto}.landing-sub{width:fit-content;color:var(--ink);background:#fffc;border-radius:999px;margin:4px auto 10px;padding:5px 14px;font-size:15px;font-weight:600}.rubble-lobby{flex-direction:column;align-items:center;gap:12px;max-width:340px;margin:8px auto 0;display:flex}.rubble-choices,.rubble-wait,.coop-choices,.coop-wait{flex-direction:column;align-items:stretch;gap:12px;width:100%;display:flex}.rubble-choices[hidden],.rubble-wait[hidden],.rubble-room[hidden],.rubble-note[hidden],.coop-choices[hidden],.coop-wait[hidden],.coop-room[hidden],.coop-note[hidden],.coop-stages[hidden]{display:none}.rubble-join,.coop-join{gap:8px;display:flex}.coop-stages{grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:10px;display:grid}.coop-stages .btn{min-width:0;padding-left:0;padding-right:0;font-size:22px}.rubble-code,.coop-code{box-sizing:border-box;min-width:0;height:48px;color:var(--ink);font:700 22px/1 var(--font);letter-spacing:.2em;text-align:center;text-transform:uppercase;background:#ffffffeb;border:3px solid #fff;border-radius:14px;flex:1;padding:0 12px}.rubble-status,.rubble-note,.coop-status,.coop-note{color:#fff;font:600 15px/1.3 var(--font);text-align:center;background:#1f4e79bf;border-radius:14px;padding:8px 14px}.rubble-room,.coop-room{flex-direction:column;align-items:stretch;gap:10px;display:flex}.rubble-room-code,.coop-room-code{color:var(--ink);font:700 44px/1 var(--font);letter-spacing:.25em;text-align:center;-webkit-user-select:all;user-select:all;background:linear-gradient(#ffe27a,#ffb52e);border:3px solid #fff;border-radius:18px;padding:10px 0}.landing-back{margin:4px 0 8px}.landing-stages{flex-direction:column;padding:0;display:flex;position:relative}.landing-map{flex:none;width:100%;position:sticky;top:0;overflow:hidden}.landing-map>.landing-sub{z-index:3;position:relative}.map-run{flex:none}.landing-version{left:0;right:0;bottom:calc(6px + env(safe-area-inset-bottom));z-index:3;color:#fff;opacity:.85;text-shadow:0 1px 2px #0f2846b3;pointer-events:none;font-size:12px;font-weight:600;position:absolute}.landing-version .privacy-link,.landing-version .terms-link{color:inherit;pointer-events:auto;padding:6px 2px}.stage{--node:78px;z-index:1;box-sizing:border-box;width:var(--node);height:var(--node);margin:calc(var(--node) / -2) 0 0 calc(var(--node) / -2);color:#fff;font-family:var(--font);cursor:pointer;will-change:transform;-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;padding:0;display:flex;position:absolute;top:0;left:0;overflow:visible}.stage:active{translate:0 3px}.stage-level{text-shadow:var(--outline), 0 3px 0 var(--ink);font-size:32px;font-weight:700;line-height:1}.stage.current{z-index:2}.stage.locked{cursor:default}.stage.locked:active{translate:none}.stage.locked .lock{width:30px;height:30px}.stage.locked .stage-level{min-width:26px;height:26px;text-shadow:none;background:#93a2ae;border:2px solid #fff;border-radius:999px;font-size:15px;line-height:22px;position:absolute;bottom:8px;right:8px}.stage-soon{width:100%;color:var(--ink);text-align:center;font-size:14px;font-weight:700;line-height:1.05}.stage-stars{pointer-events:none;font-size:22px;display:flex;position:absolute;top:calc(100% - 4px);left:50%;translate:-50%}.stage-stars .star:nth-child(2){translate:0 5px}.stage-stars .star.off path{fill:#ffffffd9;stroke:#1f4e7966}.stage-info{color:var(--ink);white-space:nowrap;text-align:left;background:#ffffffe0;border-radius:12px;padding:5px 10px;position:absolute;top:50%;translate:0 -50%;box-shadow:0 2px #1f4e7933}.stage-info.right{left:calc(100% + 12px)}.stage-info.left{text-align:right;right:calc(100% + 12px)}.stage.locked .stage-info{opacity:.7}.stage-area{font-size:15px;font-weight:600}.stage-best{opacity:.75;font-size:12px;font-weight:500}.stage-info.area{align-items:center;gap:6px;padding:4px 10px 4px 4px;display:flex}.stage-info.area.left{flex-direction:row-reverse;padding:4px 4px 4px 10px}.stage-info.area .stage-best{font-size:13px}.stage-info.icon-only{box-shadow:none;background:0 0;padding:0}.area-icon{filter:drop-shadow(0 2px #1f4e7940);flex:none;width:26px;height:26px}.area-icon circle:first-child{stroke:#fff;stroke-width:2px}.area-mark{fill:none;stroke:#fff;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.shop-items{flex-direction:column;gap:14px;max-width:420px;margin:4px auto 22px;display:flex}.shop-item{color:var(--ink);text-align:left;background:linear-gradient(#fff,#e2f4ff);border:4px solid #fff;border-radius:22px;grid-template-columns:auto 1fr;align-items:center;gap:10px 12px;padding:12px 14px 14px;display:grid;box-shadow:0 5px #1f4e7940,0 10px 20px #001e3c26}.shop-item>.icon{background:linear-gradient(#7fd0ff,#3a9fe6);border-radius:50%;width:56px;height:56px;padding:4px;box-shadow:inset 0 -4px #0000001f}.shop-body{min-width:0}.shop-name{font-size:19px;font-weight:700}.shop-text{opacity:.8;font-size:13px;font-weight:500}.shop-level{background:#1f4e791a;border-radius:999px;margin-top:5px;padding:2px 9px;font-size:13px;font-weight:600;display:inline-block}.shop-buy{grid-column:2;justify-self:start}.daily-bar{background:#1f4e7926;border:2px solid #fff;border-radius:999px;height:10px;margin-top:6px;overflow:hidden}.daily-fill{background:linear-gradient(#7ee06a,#2fb34f);border-radius:999px;height:100%}.daily-item.collected{opacity:.6}.daily-button{position:relative}.daily-dot{background:#ff4d4d;border:2px solid #fff;border-radius:50%;width:13px;height:13px;position:absolute;top:-3px;right:-3px}.daily-dot[hidden]{display:none}.shop-buy .coin{width:18px;height:18px}.cleaner-button .icon{width:34px;height:34px}.cleaner-item>.icon{background:linear-gradient(#fff6dc,#ffd98a)}.trait{font-size:13px;font-weight:600}.trait.good{color:#1e9b4f}.trait.bad{color:#c8433d}.trait.exclusive{color:#2f6fc0}.cleaner-playing{color:#1e7a43;background:#2ecc7133}.shop-actions{flex-wrap:wrap;gap:8px;display:flex}.trial-over>.icon{background:linear-gradient(#fff6dc,#ffd98a);border-radius:50%;width:72px;height:72px;padding:5px;box-shadow:inset 0 -4px #0000001f}.trial-over .btn .coin{width:18px;height:18px}.banner{width:max-content;max-width:calc(100% - 32px);font-family:var(--font);text-align:center;pointer-events:none;-webkit-user-select:none;user-select:none;opacity:0;transition:opacity .6s;position:fixed;top:20%;left:50%;transform:translate(-50%)}.banner.show{opacity:1;animation:.5s cubic-bezier(.2,1.5,.4,1) both banner-pop}.banner-title{color:#fff;text-shadow:var(--outline), 0 5px 0 var(--ink), 0 8px 12px #00000040;font-size:34px;font-weight:700;line-height:1.1}.banner-tip{color:#fff;background:#1f4e79b8;border:3px solid #fff;border-radius:18px;max-width:360px;margin-top:12px;padding:8px 16px;font-size:15px;font-weight:500;line-height:1.3;display:inline-block}.speech-bubble{box-sizing:border-box;border:3px solid var(--ink);width:max-content;max-width:min(260px,100vw - 32px);color:var(--ink);font-family:var(--font);text-align:center;pointer-events:none;-webkit-user-select:none;user-select:none;transform-origin:50% 100%;background:#fff;border-radius:18px;padding:8px 14px 9px;font-size:17px;font-weight:600;line-height:1.25;position:fixed;top:50%;left:50%;translate:-50% calc(-100% - 12px)}.speech-bubble:after{content:"";box-sizing:border-box;border-right:3px solid var(--ink);border-bottom:3px solid var(--ink);background:#fff;width:16px;height:16px;position:absolute;bottom:-11px;left:50%;transform:translate(-50%)rotate(45deg)}.speech-bubble.animal{border-color:#6b4a2b;border-radius:14px;max-width:min(200px,100vw - 32px);padding:5px 11px 6px;font-size:14px}.speech-bubble.animal:after{border-color:#6b4a2b;width:13px;height:13px;bottom:-9px}.speech-bubble.animal:before{content:"";width:9px;height:calc(13px + var(--reach,0px));clip-path:polygon(0 0,100% 0,50% 100%);background:#6b4a2b;position:absolute;top:100%;left:50%;translate:-50%}.speech-bubble.pop{animation:.3s cubic-bezier(.2,1.5,.4,1) both speech-pop}@keyframes speech-pop{0%{opacity:0;scale:.3}to{opacity:1;scale:1}}.coach{top:calc(80px + env(safe-area-inset-top));box-sizing:border-box;color:#fff;width:max-content;max-width:min(420px,100vw - 32px);font-family:var(--font);text-align:center;-webkit-user-select:none;user-select:none;pointer-events:none;background:#1f4e79db;border:3px solid #fff;border-radius:16px;padding:7px 14px 9px;font-size:15px;font-weight:500;line-height:1.3;position:fixed;left:50%;translate:-50%;box-shadow:0 4px 10px #0003}.coach.tip{pointer-events:auto}.coach.landing{top:auto;bottom:calc(28px + env(safe-area-inset-bottom));z-index:2}.coach-label{color:var(--gold);letter-spacing:.04em;text-transform:uppercase;margin-bottom:2px;font-size:12px;font-weight:700}.coach-close{margin-top:8px}.coach.pop{animation:.3s cubic-bezier(.2,1.5,.4,1) both speech-pop}.floaters{pointer-events:none;position:fixed;inset:0;overflow:hidden}.floater{color:#fff;width:max-content;font-family:var(--font);text-shadow:var(--outline);animation:float-up var(--float-time,1.1s) ease-out both;font-size:18px;font-weight:700;position:absolute;translate:-50% -50%}.floater.burst{color:var(--gold);letter-spacing:.02em;font-size:24px}.floater.xp{color:#fff6c9;font-size:16px}.floater.combo{color:#ffb347;font-size:21px}.confetti{pointer-events:none;position:fixed;inset:0;overflow:hidden}.confetti-piece{opacity:.95;width:9px;height:14px;animation:confetti-fall var(--fall-time,1.8s) linear var(--fall-delay,0s) both;border-radius:2px;position:absolute;top:-16px}@keyframes confetti-fall{0%{transform:translate(0)rotate(0)}to{transform:translate(var(--drift,0px), calc(100vh + 32px)) rotate(var(--spin,540deg))}}@keyframes float-up{0%{opacity:0;transform:translateY(0)scale(.6)}15%{opacity:1;transform:translateY(-6px)scale(1.1)}70%{opacity:1}to{transform:translateY(var(--float-rise,-56px)) scale(1);opacity:0}}.upgrade-note{background:#1f4e79b8;border:3px solid #fff;border-radius:16px;max-width:min(420px,100vw - 32px);padding:6px 14px;font-size:15px;font-weight:500;line-height:1.3}.stick{box-sizing:border-box;pointer-events:none;background:radial-gradient(circle,#ffffff0f,#ffffff38);border:3px solid #ffffffbf;border-radius:50%;display:none;position:fixed;box-shadow:0 0 0 2px #1f4e7926}.stick-knob{background:radial-gradient(circle at 35% 30%,#fff,#dcf4ffe6 45%,#96d2f5d9);border-radius:50%;width:50px;height:50px;margin:-25px 0 0 -25px;position:absolute;top:50%;left:50%;box-shadow:0 3px 6px #0003}@keyframes pop-in{0%{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}@keyframes star-pop{0%{transform:scale(0)rotate(-40deg)}to{transform:scale(1)rotate(0)}}@keyframes banner-pop{0%{transform:translate(-50%)scale(.5)}to{transform:translate(-50%)scale(1)}}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.06)}}@media (prefers-reduced-motion:reduce){.finish,.overlay-hint,.coach.pop{animation:none}.floater{animation-name:float-fade}.confetti{display:none}}@keyframes float-fade{0%,70%{opacity:1}to{opacity:0}}.debug-meter{top:calc(6px + env(safe-area-inset-top));right:calc(6px + env(safe-area-inset-right));z-index:4;color:#fff;white-space:pre;pointer-events:none;background:#0009;border-radius:6px;padding:4px 6px;font:11px/1.35 ui-monospace,monospace;position:fixed}.dev-tab{right:env(safe-area-inset-right);z-index:4;color:#fff;font:600 12px var(--font);writing-mode:vertical-rl;cursor:pointer;background:#1f4e79bf;border:0;border-radius:8px 0 0 8px;padding:10px 6px;position:fixed;top:50%;transform:translateY(-50%)}.dev-panel{z-index:4;box-sizing:border-box;width:min(380px,100vw);padding:calc(8px + env(safe-area-inset-top)) calc(10px + env(safe-area-inset-right)) 16px 10px;color:var(--ink);font:13px var(--font);background:#fffffff5;position:fixed;top:0;bottom:0;right:0;overflow-y:auto;box-shadow:-4px 0 16px #00000040}.dev-panel[hidden],.dev-tab[hidden],.dev-copied[hidden]{display:none}.dev-top{background:#fff;align-items:center;gap:6px;padding:6px 0;display:flex;position:sticky;top:-8px}.dev-title{font-size:16px;font-weight:700}.dev-count{opacity:.7;flex:1}.dev-btn{background:var(--ink);color:#fff;font:600 13px var(--font);cursor:pointer;border:0;border-radius:6px;padding:6px 10px}.dev-btn-red{background:#c0392b}.dev-copied textarea{box-sizing:border-box;width:100%;font:12px ui-monospace,monospace}.dev-note{opacity:.7;margin:4px 0 8px;font-size:12px}.dev-group{margin:12px 0 4px;font-size:14px;font-weight:700}.dev-row{border-radius:6px;padding:4px 6px}.dev-row.changed{background:#fff3c4}.dev-row-head{justify-content:space-between;gap:6px;display:flex}.dev-name{overflow-wrap:anywhere;font-family:ui-monospace,monospace;font-size:12px}.dev-when{opacity:.7;flex:none;font-size:11px}.dev-when-room,.dev-when-stage{color:#a35a00;opacity:1}.dev-row-controls{align-items:center;gap:6px;display:flex}.dev-row-controls input[type=range]{flex:1;min-width:0}.dev-row-controls input[type=number]{width:68px;font:13px var(--font)}.dev-switch{font:13px var(--font);flex:1;align-items:center;gap:6px;display:flex}.dev-switch input{width:18px;height:18px}.dev-restore{visibility:hidden;color:var(--ink);cursor:pointer;background:0 0;border:0;font-size:16px}.dev-row.changed .dev-restore{visibility:visible}.dev-base{opacity:.6;font-size:11px}
