:root{font-family:Trebuchet MS,Arial,sans-serif;color:#344b3b;background:#f4f0e4;font-synthesis:none;--cream: #f4f0e4;--ink: #344b3b;--sage: #618664;--line: #d5d7c5;--muted: #5d6b59;--gold: #c69a47;--shadow: 0 7px 20px #59664314}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,select,input{font:inherit}button{cursor:pointer;color:inherit;border:0;touch-action:manipulation}button:disabled{cursor:default}button:focus-visible,select:focus-visible,input:focus-visible,canvas:focus-visible{outline:3px solid #a05d42;outline-offset:5px}button{transition:transform .16s,background .16s}button:active:not(:disabled){transform:translateY(2px)}button:disabled{opacity:.57}[hidden]{display:none!important}#game,#world,#home,#hud,#labels,#floaters{position:absolute;inset:0}#world{width:100%;height:100%;display:block;touch-action:none;outline-offset:-4px}#labels,#floaters{pointer-events:none;overflow:hidden}#home,#hud{pointer-events:none}#home button,#hud button{pointer-events:auto}.snake-label{position:absolute;top:0;left:0;text-align:center;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:20px;padding:3px 8px;background:#fcfbf2e8;white-space:nowrap;font-size:9px;border:1px solid #d5d9c9;color:#68745f;box-shadow:0 2px 5px #344b3b0d}.snake-label b{color:#4e6851;font-size:11px}.snake-label.threat{color:#94604f;border-color:#d9b6a1}.snake-label.threat b{color:#9c5138}.snake-label.edible:before{content:"+";font-weight:700;color:#567848}.snake-label.you{background:#3f5c43;color:#e7ebd7;border:1px solid #354d3d}.snake-label.you b{color:#fff8d6}.snake-label.equal b{color:#a78a3e}.snake-label.spawn{background:#eef0e6ee;color:#6b7764;border-color:#c8cfba}.snake-label.spawn b{color:#6b7764}.snake-label small{font-size:8px;color:#6b7764}#toast{position:absolute;top:29%;left:50%;transform:translate(-50%);background:#344b3bf0;color:#fffbed;padding:13px 22px;box-shadow:var(--shadow);border-radius:24px;font-size:13px;max-width:85%;text-align:center;pointer-events:none}.floater{position:absolute;color:#5a7446;font-size:15px;font-weight:700;text-shadow:0 2px #fcf9e7;animation:float-up .85s ease-out forwards}.floater.large{font-size:22px}#save-status{position:absolute;left:50%;bottom:12px;transform:translate(-50%);font-size:10px;color:#8e5b3d;background:#f4f0e4df;border-radius:10px;padding:5px 12px}#joystick{position:absolute;width:90px;height:90px;border:1px solid #86977c80;background:#f4f0e43f;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}#joystick i{display:block;position:absolute;left:27px;top:27px;width:34px;height:34px;border-radius:50%;background:#67885d66;border:1px solid #56734f88}.loading{position:absolute;inset:0;background:#f4f0e4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;text-align:center;padding:28px;z-index:20}.loading-mark{font-family:Georgia,serif;font-style:italic;font-size:80px;color:#6c9067}.loading p{font-size:13px;color:#728069;margin:0;max-width:350px;line-height:1.8}#fatal .primary{max-width:250px;margin-top:16px}#fatal h2{font-family:Georgia,serif;font-weight:400;font-size:30px;margin:0}@keyframes float-up{to{transform:translateY(-55px);opacity:0}}.home-top,.home-bottom,.collection-button,.hud-top,.hud-bottom{position:absolute}.home-top,.wallet,.hud-top,.hud-bottom,.level-pill,.primary{display:flex;align-items:center}.home-top,.hud-top,.hud-bottom{justify-content:space-between}.hud-top{align-items:flex-start}.wallet{gap:10px;font-weight:800}.wallet .icon-button{margin-inline-start:8px}.icon-button svg{fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;width:24px;height:24px}.level-cluster{width:170px}.level-pill small{display:block;line-height:1.2}.level-pill .icon-button{margin-inline-start:auto}.level-pill b{font-weight:1000;line-height:1.2}.timer-cluster{text-align:center}.timer-cluster b{display:block;font-weight:900;font-variant-numeric:tabular-nums}.timer-cluster .eyebrow{display:block}.rank>small,.rank>b{display:block}.rank>b>span{font-size:11px}#leaders>span{display:flex;justify-content:space-between;gap:12px}.swatches{display:flex}.swatches i{display:block;width:22px;height:22px;border-radius:50%;margin-inline-start:-4px;background:#91cb65}.swatches i:nth-child(2){background:#ef993f}.swatches i:nth-child(3){background:#ac8bdd}.coin-icon{background:linear-gradient(#fff091,#ffc036);color:#a06a17;border:2px solid #fff3af;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;box-shadow:0 2px #b17e20}#dash{display:flex;flex-direction:column;align-items:center;justify-content:center;touch-action:none}#power-status{position:absolute;top:140px;left:4%;font-size:11px;font-weight:800;color:#486863}.result-score small{display:block;font-size:12px;letter-spacing:1px}.result-stats b{font-size:24px}.result-stats span{font-size:12px}.loading-mark{font-family:inherit;font-weight:1000}.upgrade{width:100%;max-width:none;text-align:center}.upgrade strong{margin:2px 0}.primary:hover:not(:disabled){filter:brightness(1.08)}dialog{overflow:auto}#panel-body{font-size:14px;line-height:1.6}.setting-row{border-bottom:1px solid #d8dfc4;padding:8px 0}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.pattern-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-block:8px 16px}.pattern-choice{display:flex;align-items:center;justify-content:center;gap:9px;padding:10px!important}.pattern-choice[aria-pressed=true]{outline:2px solid #728e51;background:#e5edd3}.pattern-swatch{display:inline-block;width:32px;height:25px;border-radius:9px;background-color:#92cb67}.pattern-0{background-image:radial-gradient(ellipse at 25% 30%,#578d49 0 19%,transparent 22%),radial-gradient(ellipse at 78% 72%,#6ca44f 0 23%,transparent 26%)}.pattern-1{background-image:radial-gradient(ellipse at 50% 0,transparent 52%,#648e48 55% 62%,transparent 65%);background-size:10px 11px}.pattern-2{background-image:repeating-linear-gradient(90deg,transparent 0 7px,#609647 8px 11px,transparent 12px 16px)}.pattern-3{background-image:repeating-linear-gradient(0deg,transparent 0 5px,#609647 6px 8px,transparent 9px 13px)}.debug-controls{margin-top:20px;text-align:start}.debug-controls fieldset{border:2px dashed #709258;border-radius:14px;padding:12px;min-width:0}.debug-controls legend{font-weight:800}.debug-controls p{font-size:13px;line-height:1.5}.debug-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:12px 0}.debug-stepper{display:flex;align-items:center;gap:6px;max-width:100%}.debug-stepper input{width:100px;min-width:0;min-height:44px;border:2px solid #709258;border-radius:8px;padding:6px;background:#fff;color:#244664;font:inherit}.debug-stepper button{min-width:44px;min-height:44px;border:2px solid #709258;border-radius:8px;background:#e5eecf;color:#244664;font-size:22px}.debug-controls :focus-visible{outline:3px solid #245f99;outline-offset:2px}#debug-toggle{position:absolute;z-index:30;bottom:max(16px,calc(env(safe-area-inset-bottom) + 8px));right:max(16px,calc(env(safe-area-inset-right) + 8px));width:44px;height:44px;background:#e5eecf;border:2px dashed #709258;border-radius:14px;pointer-events:auto}#debug-toggle:focus-visible{outline:3px solid #245f99;outline-offset:3px}.debug-controls fieldset+fieldset{margin-top:16px}.debug-row select{max-width:100%;min-height:44px;border:2px solid #709258;border-radius:8px;padding:6px 10px;background:#fff;color:#244664;font:inherit}:root{font-family:Trebuchet MS,Arial,sans-serif;--ink:#29485e;--muted:#527283;--cream:#fff9e4;--sage:#559a4a;color:var(--ink)}#home{background:linear-gradient(180deg,#b9e8ff55,transparent 30%,transparent 65%,#9dd78455)}.home-top{top:max(18px,env(safe-area-inset-top));left:5%;right:5%}.wordmark{font-size:25px;color:#fff;text-shadow:0 3px #478066,2px 0 #478066,-2px 0 #478066}.wallet{background:#fff6d9;border:3px solid white;border-radius:24px;box-shadow:0 5px #b09559;padding:4px 8px 4px 14px}.icon-button{background:linear-gradient(#87cefc,#4ca3e8);border:3px solid #e7f8ff;border-radius:16px;box-shadow:0 4px #3377ad;color:#fff;min-width:48px;min-height:48px}.home-copy{position:absolute;top:13%;left:50%;transform:translate(-50%);text-align:center;max-width:90%;width:420px}h1{font:1000 clamp(28px,5vh,52px)/.95 "Trebuchet MS",sans-serif;letter-spacing:-1px;text-transform:uppercase;color:#fff6a4;text-shadow:0 4px #52894c,3px 0 #52894c,-3px 0 #52894c;margin:0 0 12px;transform:rotate(-3deg)}h1 br{display:none}h1 em{font:inherit;color:#fff;margin-inline-start:8px}.home-copy>.eyebrow,.tagline,.upgrade-area>.eyebrow,.wordmark-dot{display:none}.best-chip{background:#fff8d7;border:2px solid #fff;border-radius:18px;padding:7px 14px;font-weight:800;box-shadow:0 3px #c5ac6f}.home-bottom{inset:auto 0 max(20px,env(safe-area-inset-bottom))!important;display:flex!important;flex-direction:column;align-items:center;gap:18px;padding:0 18px}.upgrade-area{width:min(360px,100%)}.upgrades{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.upgrade{min-width:0;padding:10px 8px;background:linear-gradient(#fefbf0,#e5eac4);border:3px solid #fff;border-radius:20px;box-shadow:0 5px #829a58;display:flex;flex-direction:column;align-items:center;gap:4px}.upgrade-top{width:100%;display:flex;justify-content:center;position:relative}.upgrade-top>span{font-size:31px;color:#e8a62c;text-shadow:0 2px #a77224}.upgrade-top small{position:absolute;right:0;top:0;font-size:10px}.upgrade strong{font-size:12px}.cost{font-weight:900;color:#9a671e;font-size:13px}.play-area{width:min(310px,85vw);text-align:center}.primary{background:linear-gradient(#a3e951,#60bc35);color:#fff;border:3px solid #e1ffad;border-radius:23px;box-shadow:0 7px #398334,0 10px 15px #356c2430;font-weight:1000;text-shadow:0 2px #398334;padding:17px 28px;min-height:58px;font-size:19px;justify-content:center;gap:20px}#play{width:100%;font-size:25px;letter-spacing:1px}#play>span:last-child{font-size:30px}.control-hint{margin:12px 0 0;font-size:11px;font-weight:700}.collection-button{inset:45% 5% auto auto!important;transform:none!important;display:grid;place-items:center;gap:5px;border:3px solid white;background:linear-gradient(#cbaaff,#9773d0);color:#fff;box-shadow:0 5px #6f4eac;border-radius:20px;padding:13px 9px;font-size:11px;font-weight:800;max-width:104px}.collection-button>span:last-child{display:none}.swatches{height:25px}.swatches i{border:2px solid white;box-shadow:0 2px #5c4988}.hud-top{top:max(14px,env(safe-area-inset-top));left:3%;right:3%;gap:12px}.level-pill{background:#fff9e9;border:3px solid white;box-shadow:0 4px #a4bc88;border-radius:22px;padding:7px 11px;gap:9px}.level-pill b{font-size:27px}.level-pill small{font-size:9px}.leaf-icon{color:#66b83c}.timer-cluster{background:#fff7db;border:2px solid white;border-radius:20px;padding:8px 13px;box-shadow:0 4px #c6b77d}.timer-cluster b{font-size:23px}.timer-cluster .eyebrow{font-size:10px;margin:0;letter-spacing:1px}.rank{background:#ffffffb8;border-radius:18px;padding:8px 12px}.rank>small{font-size:9px}.rank>b{font-size:23px}#leaders{font-size:10px}#dash{background:conic-gradient(#ffdc58 calc(var(--energy)*360deg),#668a9855 0);border:4px solid #fff7d2;box-shadow:0 6px #b58c32;border-radius:50%;width:80px;height:80px;color:#fff;text-shadow:0 3px #c3862b}#dash>span{font-size:39px}#dash small{font-size:9px}.dash-key{display:none}#minimap{background:#fff8;border:3px solid white;border-radius:50%;width:100px;height:100px}.hud-bottom{bottom:max(20px,env(safe-area-inset-bottom));left:4%;right:4%}#danger.direction{position:absolute;inset:auto;transform:translate(-50%,-50%);display:flex;align-items:center;gap:5px;background:#e65647;border:3px solid #fff;color:#fff;border-radius:18px;padding:7px 10px;box-shadow:0 4px #9f3a39;font-size:24px;pointer-events:none;animation:beacon 1s ease-in-out infinite}.direction i{font-size:17px;font-style:normal;display:block}.direction span{background:none!important;color:inherit!important;width:auto!important;height:auto!important}@keyframes beacon{50%{filter:brightness(1.2);scale:1.08}}.tutorial{position:absolute;left:50%;bottom:120px;top:auto;transform:translate(-50%);width:min(380px,85%);background:#fff9e9f5;border:3px solid white;border-radius:24px;box-shadow:0 6px #839e65;padding:15px 35px;text-align:center;display:flex;flex-direction:column;gap:9px;pointer-events:auto}.tutorial b{font-size:14px;line-height:1.4}.lesson-icon{font-size:38px;color:#db9e35}#skip-lesson{position:absolute;right:6px;top:4px;width:38px;height:38px;border-radius:50%;background:transparent;font-size:25px}.tutorial>span{color:#62a74b;font-size:13px;letter-spacing:6px}dialog#panel{background:#fff7df;border:5px solid white;border-radius:30px;box-shadow:0 10px #728c57,0 30px 80px #27464a66;padding:25px;width:min(440px,92vw);max-height:88dvh;color:var(--ink)}dialog::backdrop{background:#203c4f88;backdrop-filter:blur(5px)}.dialog-heading .eyebrow{display:none}h2{font-family:inherit;font-size:27px;line-height:1.15;font-weight:1000;letter-spacing:-.5px;margin:0 0 20px;text-align:center}.secondary{background:linear-gradient(#b9e1ff,#78b5e8);border:3px solid white;border-radius:17px;box-shadow:0 4px #5085b5;color:#244664;font-weight:800;padding:12px 17px;min-height:48px}#panel-actions{gap:12px;margin-top:20px;display:flex;flex-wrap:wrap;justify-content:center}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:53px;font-weight:800}.setting-row input[type=range]{width:47%;accent-color:#65ae43}.setting-row select{max-width:55%;min-height:42px;border:2px solid #c9d4a4;border-radius:12px;background:#fff;padding:6px}.setting-row input[type=checkbox]{width:27px;height:27px;accent-color:#68ae40}.skin-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.skin{border:3px solid white;border-radius:20px;background:#e5eecf;padding:15px 8px;min-height:110px;display:grid;place-items:center;gap:7px}.skin[aria-pressed=true]{border-color:#70b844;box-shadow:0 4px #589432}.skin i{width:45px;height:45px;border-radius:45% 45% 40% 40%;box-shadow:inset -6px -8px #0002,inset 3px 4px #fff7,0 4px #0002}.result-score{font:1000 55px/1.2 inherit;text-align:center}.result-stats{display:flex;justify-content:space-around;gap:10px}.result-stats>div{display:grid;text-align:center;gap:4px}.reward{text-align:center;font-size:30px;color:#c58a24;font-weight:1000;margin:20px}.result-note{text-align:center;font-size:13px;line-height:1.5}@media(max-width:600px){.home-copy{top:15%}.home-bottom{gap:15px}.collection-button{right:4%!important;top:40%!important}.rank{display:none}.hud-top{justify-content:space-between}.level-cluster{max-width:55%}.timer-cluster{position:static;transform:none;min-width:85px}.home-top{left:4%;right:4%}.wordmark{font-size:22px}#leaders{display:none}.home-copy h1{font-size:36px}}@media(max-height:560px)and (min-width:601px){.home-copy{left:22%;top:27%;max-width:35%;width:300px}.home-bottom{left:auto!important;right:4%!important;bottom:22px!important;width:270px;padding:0;gap:14px}.home-copy h1{font-size:34px}.collection-button{top:60%!important;left:8%!important;right:auto!important}.upgrade{padding:5px}.control-hint{display:none}.tutorial{bottom:25px;width:300px}.lesson-icon{display:none}}.dialog-heading h2{font-family:inherit;font-weight:1000;font-size:27px;letter-spacing:-.5px}.best-chip{display:inline-flex;align-items:center;gap:9px;max-width:100%;font-size:13px}.best-chip b{font-size:17px}.game-symbol{width:38px;height:38px;fill:#f5ae32;filter:drop-shadow(0 3px 0 #b77b27);overflow:visible}.upgrade:nth-child(1) .game-symbol{fill:#f17f4d;filter:drop-shadow(0 3px 0 #b65236)}.upgrade:nth-child(3) .game-symbol{fill:#e56371;filter:drop-shadow(0 3px 0 #a93a58)}@media(prefers-reduced-motion:reduce){.direction{animation:none!important}button{transition:none}}@media(max-width:600px)and (max-height:640px){.home-copy{top:16%}.home-copy h1{font-size:28px;margin-bottom:7px}.home-bottom{gap:11px}.upgrade{padding:6px 5px;gap:2px}.game-symbol{width:28px;height:28px}.upgrade strong{font-size:10px}.upgrade-top small{font-size:8px}.cost{font-size:11px}#play{font-size:22px;min-height:50px;padding:10px 25px}.control-hint{margin-top:9px}.collection-button{padding:8px 6px;max-width:85px;top:39%!important}.tutorial{bottom:105px;padding:10px 28px;gap:6px}.tutorial b{font-size:12px}.lesson-icon{font-size:28px}}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}#home{background:linear-gradient(180deg,#e9f3e41c,transparent 30%,transparent 65%,#729d6d20)}.home-top{left:max(26px,env(safe-area-inset-left));right:max(26px,env(safe-area-inset-right));top:max(22px,env(safe-area-inset-top))}.wordmark{color:#345c4a;font-size:26px;letter-spacing:-1px;text-shadow:none;font-weight:900}.brand-logo{display:block;width:210px;height:auto;object-fit:contain}.wordmark.brand-mark{width:48px;height:48px}.home-copy{top:12px!important}.home-copy h1{margin:0 0 2px}.home-copy .brand-logo{width:210px;height:82.5px}#loading .boot-logo{width:182px;height:71.5px;margin-bottom:24px}#fatal .brand-logo{width:210px;height:82.5px}#enter-loading{position:absolute;inset:0;z-index:8;touch-action:none;--entry-cover:0}#enter-loading[data-revealing=true]{pointer-events:none}.entry-meadow{position:absolute;inset:0;isolation:isolate;overflow:hidden;opacity:var(--entry-cover);background:#e9efd9;color:#3c6344;transition:opacity .4s ease}.entry-scenery{position:absolute;inset:-2%;background:var(--entry-landscape) center 60%/cover no-repeat;filter:blur(1px);opacity:.78;transform:scale(1.03)}.entry-light{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 35%,#fffbe7da,transparent 62%),linear-gradient(0deg,#e7edc9f5,transparent 48%,#f7f6e557)}.entry-branch{position:absolute;right:-3%;top:-7%;width:min(44vw,540px);height:auto;opacity:.8;pointer-events:none}.entry-flowers{position:absolute;right:-3%;bottom:-10%;width:min(49vw,620px);height:auto;pointer-events:none}.entry-title{position:absolute;inset:clamp(45px,20vh,190px) 24px auto;display:grid;justify-items:center;gap:14px;text-align:center}.entry-title img{width:clamp(210px,32vw,330px);height:auto;filter:drop-shadow(0 3px 9px #fff9d9)}#entry-stage{font-size:clamp(14px,1.8vw,17px);font-weight:800;color:#56734e;background:#fdfbe7bd;border:1px solid #fff9df;padding:7px 19px;border-radius:30px}.entry-journey{position:absolute;left:50%;bottom:max(17%,env(safe-area-inset-bottom));translate:-50% 0;width:min(340px,calc(100% - 64px));text-align:center}.entry-sprig{width:66px;height:32px;color:#6a8b50;margin-bottom:17px;rotate:-8deg}.entry-progress-label{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:11px;font-size:14px;font-weight:800;text-shadow:0 1px 4px #fffbe5}#entry-percent{font-variant-numeric:tabular-nums;color:#46623c}#entry-progress{appearance:none;display:block;inline-size:100%;block-size:15px;border:2px solid #fffce8;border-radius:20px;overflow:clip;background:#c6d2a5;box-shadow:0 2px #82966940}#entry-progress::-webkit-progress-bar{background:#c6d2a5}#entry-progress::-webkit-progress-value{border-radius:20px;background:linear-gradient(180deg,#99b76b,#668e4d);box-shadow:inset 0 2px #c4d998;transition:width .12s linear}#entry-progress::-moz-progress-bar{border-radius:20px;background:linear-gradient(180deg,#99b76b,#668e4d);box-shadow:inset 0 2px #c4d998}.entry-path{display:flex;justify-content:center;gap:15px;margin-top:17px;opacity:.6}.entry-path span{width:5px;height:8px;border-radius:80% 10%;background:#81945d;rotate:35deg}.entry-path span:nth-child(2n){translate:0 5px;rotate:85deg}.entry-pollen i{position:absolute;width:56px;height:25px;background:#91ad70;border-radius:100% 0;opacity:.35;rotate:-28deg;left:18%;top:26%;animation:entry-leaf 3.6s ease-in-out infinite alternate}.entry-pollen i:after{content:"";position:absolute;width:90%;height:1px;background:#e9efd1;rotate:-20deg;left:5%;top:50%}.entry-pollen i:nth-child(2){left:76%;top:67%;scale:.7;rotate:28deg;animation-delay:-1.2s}.entry-pollen i:nth-child(3){left:62%;top:18%;scale:.35;animation-delay:-2s}.entry-pollen i:nth-child(4){left:27%;top:78%;scale:.45;rotate:65deg;animation-delay:-.6s}.entry-pollen i:nth-child(5){left:85%;top:39%;scale:.28;animation-delay:-2.6s}@keyframes entry-leaf{to{translate:-18px 12px;rotate:3deg}}@media(max-width:600px){.entry-scenery{background-image:var(--entry-portrait)}.entry-flowers{width:85vw;bottom:-2%;right:-24%}.entry-branch{width:65vw;right:-14%;top:-3%}.entry-title{top:23%}.entry-journey{bottom:23%}}@media(max-height:500px){.entry-title{top:6%;gap:4px}.entry-title img{width:180px}.entry-journey{bottom:10%;width:min(320px,65vw)}.entry-sprig{display:none}.entry-flowers{width:32vw}}@media(prefers-reduced-motion:reduce){.entry-meadow{transition-duration:.15s}.entry-pollen i{animation:none}#entry-progress::-webkit-progress-value{transition:none}}.wallet{background:#f9fbe9dc;border:1px solid #fff9;box-shadow:0 3px 12px #395e4210;padding:4px 5px 4px 15px;gap:10px}.icon-button{background:#f8fbece8;color:#3b6151;border:1px solid #fff;box-shadow:0 3px 9px #31563d18;border-radius:50%;min-width:48px;min-height:48px}.home-copy{top:max(26px,env(safe-area-inset-top));width:auto;max-width:55%;left:50%;text-align:center}.home-copy h1{font-size:clamp(23px,3.4vh,36px);letter-spacing:-1px;transform:none;color:#355f4d;text-transform:none;text-shadow:none;margin:0 0 10px;font-weight:800}.home-copy h1 em{color:inherit}.best-chip{font-size:11px;gap:6px;background:#f8fae89e;border:1px solid #fff8;box-shadow:none;padding:5px 11px;color:#56735a}.best-chip>[data-i18n]{display:none}.best-chip b{font-size:13px}.home-bottom{bottom:max(26px,env(safe-area-inset-bottom))!important;gap:17px}.upgrade-area{width:min(290px,80vw)}.upgrade{padding:8px 7px;background:#f8fbeae6;border:1px solid #fff;box-shadow:0 3px #a8bd91;border-radius:18px;gap:2px}.upgrade strong{display:none}.upgrade-top{align-items:center;justify-content:flex-start;gap:7px}.upgrade-top small{position:static;font-size:10px;color:#5f765a}.upgrade .game-symbol{width:27px;height:29px;filter:none}.cost{font-size:11px;color:#8c793f}.play-area{width:auto}#play{width:82px;height:64px;min-height:0;padding:12px 22px;display:grid;place-items:center;letter-spacing:0;background:#638f55;border:2px solid #d6e7bc;border-radius:25px;box-shadow:0 5px #456d40;color:#fffbea;text-shadow:none}#play .game-symbol{width:34px;height:36px;filter:none;fill:currentColor}.collection-button{inset:43% max(26px,env(safe-area-inset-right)) auto auto!important;min-width:56px;min-height:56px;padding:10px;max-width:none;border:1px solid #fff;background:#f6faeae8;box-shadow:0 3px 10px #30513e20;border-radius:20px;color:#597d61}.collection-button .game-symbol{width:33px;height:35px;fill:currentColor;filter:none}.collection-button[aria-expanded=true]{visibility:hidden}.home-copy,.home-bottom,.home-top{transition:opacity .2s}.editing .home-copy,.editing .home-bottom{opacity:0;visibility:hidden}.editing .home-top{opacity:.55}#rotate-hint{position:absolute;inset:0;pointer-events:none;animation:orbit-hint 4.2s both}#rotate-hint .turn-cue{position:absolute;translate:-50% -50%;width:30px;height:30px;color:#54734d}#rotate-hint .game-symbol{width:100%;height:100%;fill:none;filter:none;--icon-ink:#54734d}#rotate-hint .turn-left{animation:turn-left 1.4s ease-in-out 3}#rotate-hint .turn-right{animation:turn-right 1.4s ease-in-out 3}@keyframes orbit-hint{0%,to{opacity:0}15%,75%{opacity:1}}@keyframes turn-left{50%{transform:translate(-3px)}}@keyframes turn-right{50%{transform:translate(3px)}}#wardrobe-drawer{position:absolute;z-index:5;right:max(14px,env(safe-area-inset-right));top:max(94px,env(safe-area-inset-top));bottom:max(20px,env(safe-area-inset-bottom));width:clamp(174px,24vw,290px);padding:16px;background:#f6faedf2;border:1px solid #fff;border-radius:28px;box-shadow:-8px 12px 36px #385c3917;animation:drawer-in .28s ease-out;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b3c49d transparent}@keyframes drawer-in{0%{opacity:0;transform:translate(50px)}to{opacity:1;transform:translate(0)}}#wardrobe-drawer>header{position:sticky;top:0;z-index:1;background:#f6faed;display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}#wardrobe-title{margin:0;line-height:1;color:#638255}#wardrobe-title .game-symbol{width:29px;height:32px;fill:currentColor;filter:none}.quiet-button{display:grid;place-items:center;width:44px;height:44px;min-width:44px;border:0;border-radius:50%;background:#e2ebd7;color:#54734e;box-shadow:none;padding:7px}.quiet-button .game-symbol{width:29px;height:29px;filter:none;fill:currentColor}#wardrobe-body .skin-list{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}#wardrobe-body .skin{min-height:68px;padding:10px;background:#e4eddc;border:2px solid transparent;border-radius:19px;box-shadow:none}#wardrobe-body .skin i{width:38px;height:38px}#wardrobe-body button[aria-pressed=true]{border-color:#547e4c;box-shadow:inset 0 0 0 2px #f8fbe9}.color-choice{display:flex;justify-content:space-between;align-items:center;margin:17px 0;padding:10px 12px;border-radius:16px;background:#e7eedc;color:#769660;gap:10px}.color-choice .game-symbol{width:25px;height:28px;filter:none;fill:currentColor}.color-choice input{width:55px;height:44px;border:0;padding:3px;background:transparent;cursor:pointer}#wardrobe-body .pattern-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border-top:1px solid #d3dfc7;padding-top:17px}#wardrobe-body .pattern-choice{display:grid;place-items:center;padding:7px!important;min-height:57px;background:#e4eddc;border:2px solid transparent;border-radius:15px;box-shadow:none}#wardrobe-body .pattern-swatch{width:100%;min-width:42px;height:38px;background-size:46px 46px;border-radius:10px}#camera-control{position:absolute;right:max(18px,env(safe-area-inset-right));top:43%;padding:9px;display:grid;place-items:center}#camera-control .game-symbol{fill:none;filter:none;width:28px;height:30px}dialog#panel.camera-panel{inset:0 max(16px,env(safe-area-inset-right)) 0 auto;margin:auto 0;width:84px;max-width:84px;padding:14px 10px;border:1px solid #fff;border-radius:28px;background:#f6faedf5;box-shadow:0 7px 25px #29472c22;overflow:visible;animation:drawer-in .2s ease-out}dialog#panel.camera-panel::backdrop{background:transparent;backdrop-filter:none}.camera-panel .dialog-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.camera-slider{display:flex;flex-direction:column;align-items:center;gap:15px;color:#55764f}.camera-slider>.game-symbol{width:28px;height:32px;fill:none;filter:none}.camera-slider output{font-size:13px;font-weight:800}.camera-slider input[type=range]{writing-mode:vertical-lr;direction:rtl;appearance:auto;width:32px;height:clamp(140px,32dvh,260px);accent-color:#648e52;touch-action:none}.camera-panel #panel-actions{margin-top:14px}.camera-panel .quiet-button{width:44px;height:44px}#loading{background:#f2f4e7;color:#507345;gap:10px}#loading p{font-size:12px;letter-spacing:.5px;margin:0}#boot-progress{width:180px;height:3px;overflow:hidden;border-radius:3px;background:#57744826;margin-top:7px}#boot-progress i{display:block;width:var(--loaded,0%);height:100%;border-radius:inherit;background:#729856}#load-percent{font-size:14px;font-variant-numeric:tabular-nums;font-weight:800;color:#507345}#hud.aftermath :is(#dash,#camera-control,#danger,#power-status,#pause){visibility:hidden;pointer-events:none}@media(max-width:600px){.home-copy{top:max(74px,9vh)!important}.home-copy .brand-logo{width:186px;height:73px}.wordmark.brand-mark{width:44px;height:44px}.home-top{left:18px;right:18px;top:max(18px,env(safe-area-inset-top))}.wordmark{font-size:23px}.home-copy{top:13%;max-width:90%}.home-copy h1{font-size:27px}.home-bottom{gap:15px}.collection-button{right:18px!important;top:42%!important}#wardrobe-drawer{width:clamp(146px,43vw,220px);right:max(10px,env(safe-area-inset-right));padding:12px;top:90px;bottom:max(16px,env(safe-area-inset-bottom));border-radius:23px}#wardrobe-drawer>header{margin-bottom:13px}#wardrobe-body .skin{min-height:59px;padding:7px}#wardrobe-body .skin i{width:33px;height:33px}.color-choice{padding:7px;margin:12px 0}#wardrobe-body .pattern-list{gap:6px;padding-top:12px}#wardrobe-body .pattern-choice{min-height:51px;padding:5px!important}#wardrobe-body .pattern-swatch{height:32px}.editing .home-top{visibility:hidden}}@media(max-height:560px)and (min-width:601px){.home-copy{top:25%!important}.home-copy .brand-logo{width:180px;height:71px}.entry-logo{width:130px}.home-copy{left:20%;top:30%;max-width:30%;width:auto}.home-copy h1{font-size:29px}.home-bottom{right:4%!important;width:240px;gap:15px}.upgrade-area{width:100%}.collection-button{left:24px!important;right:auto!important;top:65%!important}#wardrobe-drawer{top:20px;bottom:20px;width:220px}.editing .home-top{visibility:hidden}}@media(prefers-reduced-motion:reduce){#rotate-hint,#rotate-hint .game-symbol,#wardrobe-drawer,.camera-panel{animation:none!important}.home-copy,.home-bottom,.home-top{transition:none}#rotate-hint{opacity:.85}}@media(max-width:600px)and (max-height:700px){.home-copy{top:74px!important}.home-copy .brand-logo{width:164px;height:64.5px}.home-copy .best-chip{position:absolute;top:-44px;left:0}}.home-top{gap:12px}.header-brand{margin:0!important;transform:none!important;text-shadow:none!important;line-height:0;font-size:0;flex:none}.header-brand .brand-logo{width:clamp(122px,16vw,190px);height:auto}.header-actions{display:flex;align-items:center;gap:10px}.header-actions .best-chip{flex:none}.editing .home-top{visibility:hidden}.snake-label{padding:4px 9px;gap:5px;min-width:35px;background:#f8fbe8f5;border:2px solid #fff9df;color:#3d6042;border-radius:13px;box-shadow:0 2px 6px #354b3b26}.snake-label b{font-size:18px;line-height:1.1;font-weight:900;color:inherit}.snake-label:is(.you,.threat,.normal) b{color:inherit}.snake-label.you{background:#597d4f;color:#fff9df;border-color:#e8f2d4}.snake-label.threat{background:#b94e43;color:#fff9df;border-color:#ffdfb6}.snake-label.shielded{outline:1px dashed #ffffffb0;outline-offset:2px}.snake-label{font-variant-numeric:tabular-nums;transition:none}.snake-label.marked{border-color:#ffe59b;box-shadow:0 0 0 2px #a4773b}.snake-label.winding{background:#a94c30;color:#fff5d4;outline:3px solid #f4c362;outline-offset:3px}.snake-label.poisoned{background:#794993;border-color:#e4c1f0}#dash.recharging{filter:saturate(.25);border-style:dashed}#dash.poisoned{color:#794993}.snake-label .game-symbol{width:19px;height:19px;--icon-accent:#ffdd87;--icon-ink:#783e30}#leaders .game-symbol{width:14px;height:14px;--icon-accent:#efc77b}.game-symbol.icon-warning{--icon-accent:#ffdf8f;--icon-ink:#854c34}@media(max-width:600px){.header-actions{gap:6px}.header-actions .best-chip{padding:4px 7px;gap:3px}.header-brand .brand-logo{width:122px}.home-top{gap:6px}}@media(max-width:350px){.header-actions .best-chip{display:none}}.rank{min-width:160px}#leaders{display:grid;gap:4px;margin-top:6px}#leaders>.leader-row{display:flex;align-items:center;justify-content:flex-start;gap:5px;line-height:1.2}.roster-counts{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#587047;padding-bottom:6px;border-bottom:1px solid #58704724}.roster-counts>span{white-space:nowrap}.roster-counts b{font-size:12px;margin-inline-start:3px}.rank>#rank-value{font-size:17px;margin-top:5px}.leader-row>small{width:10px;font-size:9px;opacity:.65}.leader-color{width:9px;height:9px;flex:none;border:1px solid #fff9df;border-radius:50%;box-shadow:0 0 0 1px #45613930}.leader-name{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.leader-row>b{font-size:12px}.leader-you .leader-name{font-weight:900}@media(max-width:600px){.hud-top .rank{display:block;position:absolute;top:100px;right:0;min-width:0;width:126px;padding:7px 9px;border-radius:13px;background:#fff9e9e6}.rank>small,.rank>#rank-value{display:none}#leaders{display:grid;margin:0;font-size:10px}}:root{--ink:#284d40;--sage:#498268;--gold:#d5ad55}button{transition:transform .17s ease,filter .17s ease,box-shadow .17s ease}button:active:not(:disabled){transform:translateY(3px)}button:focus-visible{outline:3px solid #e9b850;outline-offset:5px}#home{background:radial-gradient(ellipse at 50% 56%,transparent 20%,#284c3c16 100%)}.wallet{border-color:#ffffe4;box-shadow:0 3px #9caf8c,0 8px 24px #304d3b12}.journey{position:absolute;top:max(28px,env(safe-area-inset-top));left:50%;translate:-50% 0;display:grid;justify-items:center;gap:10px;color:#355c47;pointer-events:none}.journey-name{display:flex;align-items:center;gap:8px;font-size:12px;letter-spacing:.4px}.journey-name b{font-size:13px}.journey-name small{border-inline-start:1px solid #61794b55;padding-inline-start:9px;font-size:11px}.journey-name>.game-symbol{width:22px;height:23px;filter:none;fill:#709253}.journey-route{display:flex;align-items:center;gap:17px;position:relative}.journey-route:before{content:"";position:absolute;inset:50% 4px auto;border-top:1px solid #78926066}.journey-route i{position:relative;display:grid;place-items:center;width:22px;height:22px;border:1px solid #fff9dc;border-radius:50%;background:#c2d2ab;color:#496543;font-size:9px;font-style:normal;box-shadow:0 2px #7e956a55}.journey-route i.current{width:28px;height:28px;background:#497359;color:#fff8d9;border:2px solid #fff6d6;box-shadow:0 0 0 3px #86a76a55}.journey-route .game-symbol{width:12px;height:14px;fill:currentColor;filter:none}.editing .journey{visibility:hidden}#play{width:112px;height:67px;background:linear-gradient(160deg,#78a65e,#3e7852);border:2px solid #e7efbd;box-shadow:0 5px #2e573e,0 9px 23px #2e573e26;border-radius:25px;color:#fff7d1}#play .game-symbol{width:37px;height:37px;filter:drop-shadow(0 2px 0 #2e573e66)}.upgrade{background:linear-gradient(150deg,#fffcebdc,#e6edcfeb);border-color:#fffce7;box-shadow:0 3px #9caf80,0 7px 15px #344f3410}.upgrade:disabled{opacity:.72}.upgrade:not(:disabled){border-color:#fff5c5;box-shadow:0 3px #8f9c61,0 0 18px #e9c36524}.upgrade .cost{color:#8c6a32}.collection-button{background:linear-gradient(150deg,#fcf7eb,#d8d4e9);border:2px solid #fffbe3;color:#71628b;box-shadow:0 3px #a59bad,0 8px 20px #4f3e5e18}.hud-top .level-pill{background:#fffbedee;border:2px solid #ffffed;box-shadow:0 3px #8aa47c,0 8px 22px #334f3b14;border-radius:23px}.timer-cluster{background:#fff9e8ef;border:2px solid #fffde9;box-shadow:0 3px #b6ae81;border-radius:19px;min-width:106px}.timer-cluster b{font-size:22px;color:#3e624b}.timer-cluster .eyebrow{color:#6c8058;font-weight:900}#stage-progress{height:4px;background:#8c9a6a38;border-radius:8px;overflow:hidden;margin-top:6px}#stage-progress i{display:block;height:100%;width:var(--clear,0%);background:#719b50;transition:width .4s ease;border-radius:inherit}.rank{background:#fffcebe3;border:1px solid #ffffe4;box-shadow:0 3px #9aaf8055;color:#3b5b47}#dash{border:3px solid #fff4c8;box-shadow:0 5px #a78035,0 9px 22px #3e5e4324}#minimap{border:2px solid #fffce3;box-shadow:0 3px #8fa47a55}dialog#panel:not(.camera-panel){background:linear-gradient(155deg,#fffbe9,#edf0dc);border:3px solid #fffce8;box-shadow:0 7px #80956c,0 25px 75px #223f4444;border-radius:29px}dialog::backdrop{background:#193d4566;backdrop-filter:blur(7px)}.secondary{background:linear-gradient(#e4edd8,#cadcc0);border:2px solid #fffdea;box-shadow:0 3px #8fa681;color:#385b45}.floater.large{color:#ffe39a;text-shadow:0 2px #6d6b38,1px 0 #6d6b38,-1px 0 #6d6b38}.floater.danger{color:#ff5a4a;text-shadow:0 2px #6e1d16,1px 0 #6e1d16,-1px 0 #6e1d16}@media(max-width:600px){.journey{top:max(112px,calc(env(safe-area-inset-top) + 95px));gap:8px}.journey-name{font-size:11px}.journey-name b{font-size:12px}.journey-route i{width:18px;height:18px}.journey-route i.current{width:24px;height:24px}.journey-route{gap:14px}.timer-cluster{min-width:102px}.header-brand .brand-logo{width:132px}.home-top{left:14px;right:14px}.home-bottom{gap:14px}}@media(max-height:560px)and (min-width:601px){.journey{left:50%;top:22px}.home-bottom{gap:12px}#play{height:57px}.journey-route{display:none}}@media(prefers-reduced-motion:reduce){button,#stage-progress i{transition:none}}#stage-condition{display:block;font-size:9px;line-height:1.3;color:#6d7b51;letter-spacing:.25px;margin-top:1px}#stage-condition{max-width:min(210px,45vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.journey-name{max-width:calc(100vw - 32px)}.journey-name small{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:600px){.journey-name small{max-width:180px}#stage-condition{max-width:140px}}#danger.direction{padding:5px 7px;border-width:2px;border-radius:15px;box-shadow:0 3px #8f684855;animation:none;gap:3px;background:#bd6052}.direction span>.game-symbol{width:24px;height:25px;filter:none}.direction i>.game-symbol{width:15px;height:16px;filter:none}.chain-result{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:19px;color:#7b6934;font-weight:900}.chain-result .game-symbol{width:23px;height:24px;filter:none}.chain-result>span{display:flex;align-items:center;gap:4px;margin-inline-start:12px}.leader-you{border-inline-start:3px solid var(--snake-color);border-radius:7px;background:#fffdebcf;padding-inline:5px}.leader-you .leader-name,.leader-you>b{font-weight:900;color:#294e3b}.platform-paused *,.platform-paused *:before,.platform-paused *:after{animation-play-state:paused!important}.screen-art.star-art{display:flex;align-items:flex-end;gap:4px;width:max-content;height:auto;background:none!important;box-shadow:none!important;border-radius:0}.star-art svg{width:44px;height:44px;fill:#e5e7d7;stroke:#c3c8b0;stroke-width:1.4;stroke-linejoin:round}.star-art svg:nth-of-type(2){width:58px;height:58px;margin-bottom:8px}.star-art svg.on{fill:#f6c945;stroke:#b8862a;animation:star-pop .42s cubic-bezier(.3,1.6,.5,1) calc(.25s + var(--i)*.18s) both}.star-art svg.new{filter:drop-shadow(0 0 6px #ffe08a)}@keyframes star-pop{0%{transform:scale(0) rotate(-25deg);opacity:0}to{transform:none;opacity:1}}@media(prefers-reduced-motion:reduce){.star-art svg.on{animation:none}}@media(max-height:650px){.star-art svg{width:30px;height:30px}.star-art svg:nth-of-type(2){width:40px;height:40px;margin-bottom:5px}}dialog#panel.result-panel .result-overview{margin:14px 0 12px;gap:8px}dialog#panel.result-panel .result-score{font-size:min(2.5rem,calc(9.5rem / var(--result-digits,2)))}dialog#panel.result-panel .result-score small{font-size:.55rem;margin-top:4px}dialog#panel.result-panel .result-reward{background:none;border:0;padding:4px}dialog#panel.result-panel .result-reward b{font-size:min(1.3rem,calc(7.5rem / var(--result-digits,3)))}dialog#panel[open].result-panel #panel-body{scrollbar-gutter:auto;scrollbar-width:none}dialog#panel[open].result-panel #panel-body::-webkit-scrollbar{display:none}dialog#panel.result-panel .result-shop{border-top:0;margin-top:2px}@media(max-height:460px)and (min-width:601px){dialog#panel.result-panel .result-score{font-size:min(2.1rem,calc(8rem / var(--result-digits,2)))}}.game-symbol{--icon-ink:#48664b;--icon-accent:#a8cb83;--icon-paper:#f7f9df;--icon-leaf:#86b66b;display:inline-block;vertical-align:middle;width:32px;height:32px;overflow:visible;flex:none}#game .game-symbol,dialog .game-symbol{filter:none;fill:none;stroke:none}.game-symbol :is(path,circle){stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;vector-effect:non-scaling-stroke}.game-symbol .icon-accent{fill:var(--icon-accent);stroke:var(--icon-ink)}.game-symbol .icon-surface{fill:var(--icon-paper);stroke:var(--icon-ink)}.game-symbol .icon-leaf{fill:var(--icon-leaf);stroke:var(--icon-ink)}.game-symbol .icon-line{fill:none;stroke:var(--icon-ink)}.game-symbol .icon-shine{fill:none;stroke:#fff9e9;stroke-width:2.2}.game-symbol .icon-detail{fill:none;stroke:var(--icon-ink);opacity:.4;stroke-width:1.1}.game-symbol .icon-eye{fill:var(--icon-ink);stroke:none}.game-symbol.icon-growth{--icon-accent:#edb17c}.game-symbol.icon-speed{--icon-accent:#ead18a}.game-symbol.icon-magnet{--icon-accent:#d9a5ab}.game-symbol.icon-camera{--icon-accent:#a3c1a0}.game-symbol.icon-coin{--icon-accent:#e8cd82;--icon-ink:#887044}.game-symbol.icon-color{--icon-accent:#b5a1ca}.game-symbol.icon-crown{--icon-accent:#e8cd82}.game-symbol.icon-orbit{--icon-ink:currentColor}.icon-button .game-symbol{width:28px;height:28px}#play .game-symbol{--icon-accent:#f0f6d7;--icon-ink:#426a3f;width:35px;height:35px}.coin-icon .game-symbol{width:28px;height:28px}.coin-icon{background:none!important;box-shadow:none!important}.best-chip .game-symbol{width:18px;height:18px}.leaf-icon .game-symbol{width:28px;height:28px}.cost{display:flex;align-items:center;justify-content:center;gap:3px}.cost .game-symbol{width:14px;height:14px}.cost .game-symbol :is(path,circle){stroke-width:1.1}#dash>span{display:grid;place-items:center}#dash .game-symbol{width:40px;height:40px;--icon-accent:#fff3bb;--icon-ink:#927442}.direction .game-symbol{width:28px;height:28px;--icon-ink:#6b5b3a}.direction i .game-symbol{width:19px;height:19px;--icon-ink:#fff9dd}.lesson-icon .game-symbol{width:38px;height:38px}.reward .game-symbol{width:28px;height:28px;margin-inline-end:7px}#skip-lesson .game-symbol{width:24px;height:24px}#rotate-hint .game-symbol{width:100%;height:100%}#power-status.power-meters{position:absolute;top:max(145px,calc(env(safe-area-inset-top) + 130px));left:max(12px,env(safe-area-inset-left));display:flex;flex-direction:column;gap:9px;pointer-events:none}#power-status[hidden],.power-meter[hidden]{display:none}.power-meter{position:relative;width:50px;height:50px;display:grid;place-items:center;border-radius:50%;background:#f8fae9ed;box-shadow:0 3px 10px #31462c1c;--meter-color:#78a575}.power-meter.power-magnet{--meter-color:#bb7a89}.power-meter.power-double{--meter-color:#aa87bb}.power-meter .game-symbol{width:28px;height:28px}.power-meter .icon-double{--icon-accent:#c5a5d5}.power-ring{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke-width:2.6;transform:rotate(-90deg)}.power-track{stroke:#48664b20}.power-remaining{stroke:var(--meter-color);stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:0}@font-face{font-family:Mochi;src:url(../fonts/nunito.woff2) format("woff2");font-weight:200 1000;font-display:swap}@font-face{font-family:MochiArabic;src:url(../fonts/arabic.woff2) format("woff2");font-weight:100 900;font-display:swap}@font-face{font-family:MochiJP;src:url(../fonts/japanese.woff2) format("woff2");font-weight:100 900;font-display:swap}@font-face{font-family:MochiSC;src:url(../fonts/chinese.woff2) format("woff2");font-weight:100 900;font-display:swap}@font-face{font-family:MochiKR;src:url(../fonts/korean.woff2) format("woff2");font-weight:100 900;font-display:swap}:root{font-family:Mochi,Trebuchet MS,sans-serif;--ink:#365744;--muted:#738268;color:var(--ink)}:root:lang(ar){font-family:MochiArabic,Mochi,sans-serif}:root:lang(ja){font-family:MochiJP,Mochi,sans-serif}:root:lang(zh){font-family:MochiSC,Mochi,sans-serif}:root:lang(ko){font-family:MochiKR,Mochi,sans-serif}button,select,input,h1,h2,h3,.result-score{font-family:inherit}button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #d4aa4e;outline-offset:4px}.upgrade-area{width:min(330px,86vw);max-width:100%}.upgrade{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:10px 5px;min-height:102px;border:2px solid #fffce5;background:#f7fae8;box-shadow:0 4px #9cb486;text-align:center}.upgrade:disabled{opacity:.8}.upgrade-top{display:flex;justify-content:center;align-items:center;gap:7px;width:100%}.upgrade-top small{display:grid;place-items:center;min-width:23px;min-height:23px;padding-inline:4px;border-radius:8px;background:#dce7c9;color:#42613f;font-size:.75rem;font-weight:900}.upgrade strong{display:block!important;margin:0;font-size:.78rem;line-height:1.15;font-weight:900}.upgrade .cost{display:flex;justify-content:center;align-items:center;gap:3px;width:100%;font-size:.72rem}.upgrade .cost .game-symbol{width:16px;height:17px}.upgrade .upgrade-top .game-symbol{width:27px;height:29px}.journey-name{gap:7px}.journey-name small:empty{display:none}.journey-route i{width:auto;min-width:29px;height:29px;padding-inline:6px;border-radius:20px;white-space:nowrap;font-size:.68rem;font-weight:800;line-height:1;font-variant-numeric:tabular-nums;flex-shrink:0}.journey-route{gap:8px}#wardrobe-drawer{position:absolute;inset:0 0 0 auto;width:clamp(210px,29vw,340px);height:100%;padding:0;border:0;border-inline-start:2px solid #fffbe9;border-radius:0;display:flex;flex-direction:column;background:#f2f6e8;overflow:hidden;box-shadow:-8px 0 40px #385c391c}#wardrobe-drawer>header{position:relative;top:auto;flex:none;min-height:80px;margin:0;padding:20px 18px 16px;background:#f2f6e8;border-bottom:1px solid #d7e1c7;z-index:2}#wardrobe-title{display:flex;align-items:center;gap:9px;font-size:1rem;font-weight:900;line-height:1.3}#wardrobe-title .game-symbol{width:24px;height:28px;flex:none}#wardrobe-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:8px 18px max(24px,env(safe-area-inset-bottom));scrollbar-width:thin;scrollbar-color:#aebf99 transparent}#wardrobe-body h3{font-size:.78rem;letter-spacing:.03em;font-weight:900;margin:18px 0 12px;color:#65805a;text-align:start}#wardrobe-body .skin-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}#wardrobe-body .skin{padding:7px 2px;min-height:49px;border-radius:13px;border:2px solid #fffbe9;background:#e4ecd8;box-shadow:none}#wardrobe-body .skin i{width:30px;height:30px}#wardrobe-body [aria-pressed=true]{border-color:#648650;box-shadow:0 0 0 2px #acc68d}#wardrobe-body .color-choice{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:7px 10px;margin:12px 0 24px;background:#e6eddc;border-radius:13px;font-size:.74rem;font-weight:800}#wardrobe-body .color-choice>.game-symbol{display:none}#wardrobe-body .color-choice input{width:43px;height:34px;flex:none}#wardrobe-body .pattern-list{grid-template-columns:repeat(2,minmax(0,1fr));border:0;padding:0;gap:10px}#wardrobe-body .pattern-choice{min-height:65px;background:#dfe9cf;border-radius:13px}#wardrobe-body .pattern-swatch{height:49px;background-size:70px 70px}dialog#panel:not(.camera-panel){padding:26px;width:min(440px,calc(100% - 28px));max-height:calc(100dvh - 28px);border:2px solid #fffce9;border-radius:28px;background:#f8f8e8;color:#365744;box-shadow:0 6px #90a078,0 20px 70px #233b4050;scrollbar-width:thin}dialog#panel:not(.camera-panel) .dialog-heading{padding:0;position:relative}dialog#panel:not(.camera-panel) #panel-title{font-size:clamp(1.3rem,1rem + 1vw,1.75rem);line-height:1.15;letter-spacing:-.035em;font-weight:900;margin:0 0 18px;text-wrap:balance}dialog#panel:not(.camera-panel) #panel-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:22px}dialog#panel:not(.camera-panel) #panel-actions button{display:flex;align-items:center;justify-content:center;min-height:47px;padding:10px 16px;border-radius:16px;font-weight:900;font-size:.95rem;line-height:1.25;white-space:normal}dialog#panel:not(.camera-panel) .primary{background:#658b50;border:2px solid #e4edc8;box-shadow:0 4px #42633d;color:#fffce7;text-shadow:none}dialog#panel:not(.camera-panel) .secondary{background:#e6edd9;border:2px solid #fdfde9;box-shadow:0 3px #a2b18a;color:#4c6747}.setting-row{min-height:53px;gap:12px;padding:8px 0;border-color:#d9e2ca;font-size:.85rem}.setting-row select{font-size:.8rem;background:#fffdf1;max-width:55%;border:1px solid #bdcda7}.setting-row input[type=range]{accent-color:#759858}.setting-row input[type=checkbox]{appearance:none;position:relative;flex:none;width:43px;height:25px;border:1px solid #b8c7a6;border-radius:20px;background:#d7dfc9;cursor:pointer}.setting-row input[type=checkbox]:before{content:"";position:absolute;top:3px;left:3px;width:17px;height:17px;background:#fffdf1;border-radius:50%;box-shadow:0 1px 3px #49603b33;transition:transform .15s}.setting-row input[type=checkbox]:checked{background:#76965a;border-color:#76965a}.setting-row input[type=checkbox]:checked:before{transform:translate(18px)}.setting-row input:disabled{opacity:.4}#relearn{display:block;width:100%;min-height:40px;margin-top:16px;font-size:.8rem;border-radius:13px}dialog#panel[data-screen=confirm]{text-align:center;padding-top:85px}.leave-art{position:absolute;top:20px;left:50%;translate:-50% 0;width:49px;height:49px;border-radius:18px;background:#e6edcd;display:grid;place-items:center;rotate:-9deg}.leave-art .game-symbol{width:29px;height:33px;filter:none}.leave-copy{font-size:.88rem;line-height:1.5;max-width:29ch;margin:0 auto;color:#748267}dialog#panel.result-panel{width:min(400px,calc(100% - 28px));max-width:400px;text-align:center;padding:25px;overflow:visible}.result-panel .dialog-heading{padding:0!important}.result-panel #panel-title{margin-bottom:7px!important}.result-panel #panel-body{display:block;font-size:.84rem;line-height:1.25}.result-panel .result-chapter{margin:0;color:#80906f;font-size:.75rem;font-weight:800}.result-overview{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:12px;margin:23px 0 20px}.result-panel .result-score{margin:0;font-size:clamp(2.6rem,6dvh,3.5rem);line-height:1;font-weight:900;letter-spacing:-.04em}.result-panel .result-score small{display:block;font-size:.6rem;line-height:1.3;letter-spacing:.07em;margin-top:6px;color:#80906f}.result-reward{display:grid;grid-template-columns:auto auto;justify-content:center;align-items:center;gap:3px 7px;padding:14px 8px;background:#efe3ae70;border:1px solid #e9dbaa;border-radius:20px;color:#937537}.result-reward>.game-symbol{width:25px;height:27px;filter:none}.result-reward b{font-size:1.45rem;font-weight:900;letter-spacing:-.02em}.result-reward small{grid-column:1/-1;font-size:.63rem;opacity:.8}.result-panel .result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:0;padding:13px 0;border-block:1px solid #d9e2ca}.result-panel .result-stats>div{display:grid;justify-items:center;gap:4px}.result-panel .result-stats .game-symbol{width:18px;height:18px;filter:none;opacity:.7}.result-panel .result-stats b{font-size:1.03rem;line-height:1.2}.result-panel .result-stats span{font-size:.65rem;color:#7a886b}.result-panel .chain-result{display:flex;align-items:center;justify-content:center;gap:7px;margin:12px 0 0;font-size:.72rem;color:#778565}.result-panel .chain-result>span{display:flex;align-items:center;gap:4px;margin-inline-start:7px;color:#9c803f}.result-panel .chain-result .game-symbol{width:15px;height:16px;filter:none}dialog#panel.result-panel #panel-actions{margin-top:19px;gap:7px}.result-panel #panel-actions .secondary{box-shadow:none!important;background:transparent!important;border-color:transparent!important;min-height:35px!important;font-size:.78rem!important;padding:6px!important}#fps-counter{position:absolute;z-index:12;top:max(12px,env(safe-area-inset-top));left:50%;translate:-50% 0;pointer-events:none;background:#f8fbe8db;color:#526b48;border:1px solid #fff7;border-radius:9px;padding:3px 8px;font-size:.63rem;font-weight:800;font-variant-numeric:tabular-nums}#stage-condition:empty{display:none}@media(max-width:600px){#wardrobe-drawer{width:clamp(180px,48vw,260px)}#wardrobe-drawer>header{padding:18px 12px 12px;min-height:76px}#wardrobe-title{font-size:.8rem;gap:5px}#wardrobe-title .game-symbol{width:20px;height:24px}#wardrobe-body{padding-inline:12px}#wardrobe-body .skin-list{grid-template-columns:repeat(3,minmax(0,1fr))}#wardrobe-body .skin i{width:27px;height:27px}.home-bottom{gap:14px}.upgrade{min-height:96px}.upgrade strong{font-size:.72rem}}@media(max-height:650px){dialog#panel.result-panel{padding:18px 22px}.result-overview{margin:15px 0}.result-panel .result-stats{padding:10px 0}.result-panel .chain-result{margin-top:9px}dialog#panel.result-panel #panel-actions{margin-top:13px}dialog#panel:not(.camera-panel) #panel-title{margin-bottom:12px}dialog#panel[data-screen=settings]{padding:17px 23px}.setting-row{min-height:43px;padding:4px 0}.setting-row select{min-height:34px}#relearn{margin-top:10px}dialog#panel[data-screen=settings] #panel-actions{margin-top:14px}}@media(max-height:460px)and (min-width:601px){dialog#panel.result-panel{width:min(580px,calc(100% - 28px));max-width:580px;padding:18px 24px}.result-panel #panel-body{display:grid;grid-template-columns:1fr 1fr;gap:8px 24px;align-items:center}.result-panel .result-chapter{grid-column:1/-1}.result-overview{grid-row:2/4;margin:3px 0;gap:10px}.result-panel .result-score{font-size:2.7rem}.result-reward{padding:12px 5px}.result-panel .result-stats{grid-row:2;padding:10px 0}.result-panel .chain-result{grid-column:2;grid-row:3;margin:0;flex-wrap:wrap;gap:4px}dialog#panel.result-panel #panel-actions{grid-template-columns:1fr 1fr;margin-top:14px;align-items:center}.result-panel #panel-actions .secondary{min-height:44px!important}dialog#panel[data-screen=settings]{width:600px}dialog#panel[data-screen=settings] #panel-body{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}#relearn{margin-top:7px}dialog#panel[data-screen=settings] #panel-actions{margin-top:12px}}@media(prefers-reduced-motion:reduce){.setting-row input[type=checkbox]:before{transition:none}}.app-version{display:block;margin-top:12px;text-align:center;color:#8b977c;font-size:.65rem;letter-spacing:.04em;font-weight:700;grid-column:1/-1}dialog:modal{overscroll-behavior:contain}dialog::backdrop{overflow:hidden;overscroll-behavior:contain}.header-actions{gap:9px}.wallet{min-height:43px;padding:5px 13px 5px 8px;gap:7px;border:1px solid #fff9dc;background:#f5f5e4;box-shadow:inset 0 1px #fffef2,0 3px #839b6d66;border-radius:23px}.wallet .coin-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#ead59a}.wallet .coin-icon .game-symbol{width:26px;height:26px}.wallet>b{font-variant-numeric:tabular-nums;font-size:1rem}#settings.icon-button{background:#f5f5e4;box-shadow:inset 0 1px #fffef2,0 3px #839b6d66;border:1px solid #fff9dc}.upgrade{border:1px solid #fff9dc;background:#f7f5df;box-shadow:inset 0 1px #fffef3,0 4px #9fae78,0 7px 13px #3d5b3124;border-radius:19px;gap:5px;transition:transform .16s,box-shadow .16s}.upgrade:disabled{opacity:1;background:#eeefdace}.upgrade-top>.game-symbol{padding:4px;box-sizing:content-box;border-radius:12px;background:#e4e8c6}.upgrade:nth-child(1) .upgrade-top>.game-symbol{background:#f1dfb9}.upgrade:nth-child(3) .upgrade-top>.game-symbol{background:#e9dcd1}.upgrade-top small{background:#e3e9ca;border:1px solid #d2ddba;color:#46613e;min-width:25px}.upgrade strong{font-weight:900;color:#3f5b3c;font-size:.78rem}.upgrade .cost{display:flex;align-items:center;justify-content:center;gap:3px;padding:2px 8px;min-width:58px;border-radius:8px;background:#e7e9cf;color:#758363;font-weight:800}.upgrade.can-buy .cost{background:#eee0aa;color:#806932}.upgrade .cost .game-symbol{width:15px;height:15px}.upgrade:not(:disabled):active{transform:translateY(3px);box-shadow:inset 0 1px #fffef3,0 1px #879b68}.upgrade.purchased{animation:upgrade-sprout .35s ease-out}#play{width:112px;height:64px;background:#678e50;border:2px solid #eef1c8;box-shadow:inset 0 2px #c6d79c66,0 5px #3d633f,0 10px 19px #294a3529;border-radius:25px}#play:active{transform:translateY(3px);box-shadow:0 2px #3d633f}.collection-button{border:2px solid #fff9dc;box-shadow:inset 0 1px #fffef2,0 4px #93a47a66;background:#f5f4e5}dialog#panel:not(.camera-panel){background:#f7f4e3;border:1px solid #fffce9;box-shadow:inset 0 2px #fffdf1,0 5px #a7ae86,0 22px 65px #243f3a45;border-radius:27px}dialog#panel:not(.camera-panel)::backdrop{background:#2c493e57;backdrop-filter:blur(7px)}dialog#panel[data-screen=settings] .dialog-heading{display:flex;align-items:center;gap:12px;margin-bottom:14px;text-align:start}dialog#panel[data-screen=settings] .screen-art{width:43px;height:43px;border-radius:15px;margin:0;flex:none;box-shadow:none}dialog#panel[data-screen=settings] .screen-art>.game-symbol{width:28px;height:30px}dialog#panel[data-screen=settings] #panel-title{margin:0!important;font-size:1.45rem}dialog#panel .eyebrow:empty{display:none}.setting-row{border-color:#dce0c8;min-height:54px}.setting-caption{display:flex;align-items:center;gap:10px;min-width:0}.setting-caption>.game-symbol{width:25px;height:28px;flex:none;opacity:.85}.setting-caption>span{line-height:1.25}.setting-row>select{border-radius:12px;padding:7px 9px;color:#3f5b3c}.setting-row>input[type=range]{max-width:46%;width:140px}.setting-row>input[type=checkbox]{box-shadow:inset 0 1px 3px #57744116}.setting-row>input[type=range]{appearance:none;height:26px;background:transparent;cursor:pointer}.setting-row>input[type=range]::-webkit-slider-runnable-track{height:6px;background:#d8dfc1;border-radius:8px;box-shadow:inset 0 1px #b8c5a3}.setting-row>input[type=range]::-webkit-slider-thumb{appearance:none;width:19px;height:19px;margin-top:-6px;border:2px solid #f7f4e3;border-radius:50%;background:#77945a;box-shadow:0 1px 2px #3c5d3438}.setting-row>input[type=range]::-moz-range-track{height:6px;background:#d8dfc1;border-radius:8px}.setting-row>input[type=range]::-moz-range-thumb{width:15px;height:15px;border:2px solid #f7f4e3;border-radius:50%;background:#77945a}dialog#panel[data-screen=pause]{text-align:center}.leave-art{background:#e8dfbc;color:#6e7952;rotate:-6deg}.leave-copy{color:#6f7c61}#wardrobe-drawer{background:#f6f3e3;border-color:#fff9dc}#wardrobe-drawer>header{background:#f6f3e3;border-bottom:1px solid #d9dfc4}#wardrobe-title{color:#4c6b43}#wardrobe-body h3{font-size:.74rem;color:#7a8962;letter-spacing:.04em}#wardrobe-body .skin{background:#e6e9ce;border-radius:15px}#wardrobe-body .pattern-choice{position:relative;border-radius:15px;background:#e6e9ce}#wardrobe-body .pattern-choice[aria-pressed=true]{background:#edf0d7}#wardrobe-body .pattern-swatch{border-radius:10px}.result-panel .chain-result{flex-wrap:wrap;gap:5px 9px;justify-content:center}.result-panel .result-stats>div{min-width:0}.result-panel .result-stats span{overflow-wrap:anywhere}.result-panel .result-overview>*{min-width:0}.result-panel .result-score{font-size:clamp(2rem,11vw,3.6rem);font-variant-numeric:tabular-nums}.result-panel .result-reward b{font-size:clamp(1.1rem,5vw,1.45rem)}@keyframes upgrade-sprout{0%{transform:scale(1)}45%{transform:scale(1.06) translateY(-3px)}to{transform:scale(1)}}.screen-art{position:relative;display:grid;place-items:center;width:58px;height:58px;margin:0 auto 14px;border-radius:22px;background:#e5ead4;color:#647f51;box-shadow:inset 0 1px #fffef3,0 3px #c9d3b8}.screen-art>.game-symbol{width:33px;height:37px}.result-won .screen-art{background:#f1d888;color:#657742;box-shadow:inset 0 1px #fff7c8,0 4px #c2a353;animation:reward-bloom .65s cubic-bezier(.2,.9,.3,1.2)}.screen-art>i{position:absolute;left:50%;top:50%;width:5px;height:9px;background:#c99b44;border-radius:2px;opacity:0;pointer-events:none;animation:reward-seed .95s var(--delay) ease-out both}.result-panel:not(.result-won) .screen-art{animation:leaf-settle .8s ease-out}.objective-description{font-size:1rem;line-height:1.65;margin:8px 0 20px;color:#587055;text-align:center;text-wrap:pretty}dialog#panel[data-screen=briefing]{text-align:center}dialog#panel[data-screen=briefing] .eyebrow{color:#8b986d}dialog#panel.result-panel{animation:result-arrive .35s ease-out}.result-panel .result-reward{animation:reward-reveal .65s .15s both ease-out}@keyframes reward-bloom{0%{transform:scale(.3) rotate(-18deg)}65%{transform:scale(1.12) rotate(5deg)}to{transform:scale(1) rotate(0)}}@keyframes reward-seed{0%{opacity:0;transform:translate(-50%,-50%) scale(.3)}20%{opacity:1}to{opacity:0;transform:translate(var(--x),var(--y)) rotate(var(--r)) scale(.6)}}@keyframes leaf-settle{0%{transform:translateY(-12px) rotate(-15deg);opacity:0}70%{transform:translateY(2px) rotate(3deg)}to{transform:translateY(0) rotate(0);opacity:1}}@keyframes result-arrive{0%{transform:translateY(12px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes reward-reveal{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media(max-height:650px){.screen-art{width:36px;height:36px;border-radius:13px;margin-bottom:7px}.screen-art>.game-symbol{width:23px;height:27px}.objective-description{font-size:.88rem;line-height:1.5}}@media(max-height:700px){dialog#panel[data-screen=settings]{padding:17px 22px}dialog#panel[data-screen=settings] .dialog-heading{margin-bottom:10px}dialog#panel[data-screen=settings] .setting-row{min-height:43px;padding-block:5px}dialog#panel[data-screen=settings] #relearn{margin-top:9px;min-height:35px}dialog#panel[data-screen=settings] .app-version{margin-top:9px}dialog#panel[data-screen=settings] #panel-actions{margin-top:14px}}@media(max-height:590px){dialog#panel[data-screen=settings] .setting-row{min-height:40px}dialog#panel[data-screen=settings] .screen-art{width:34px;height:34px}dialog#panel[data-screen=settings] #panel-actions button{min-height:43px}}@media(prefers-reduced-motion:reduce){.upgrade.purchased{animation:none}}@media(prefers-reduced-motion:reduce){.screen-art,.screen-art>i,dialog#panel.result-panel,.result-panel .result-reward{animation:none!important}.screen-art>i{display:none}}@media(max-width:600px)and (orientation:portrait){.home-top{left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));top:max(12px,env(safe-area-inset-top));gap:7px;max-width:calc(100% - 24px)}.header-brand .brand-logo{width:clamp(94px,28vw,126px);max-width:100%;height:auto}.header-actions{gap:5px;min-width:0;flex:1;justify-content:flex-end}.header-actions .best-chip{gap:3px;padding:4px 6px;font-size:.62rem;min-width:0}.header-actions .best-chip b{font-size:.69rem}.header-actions .best-chip .game-symbol{width:17px;height:19px}.wallet{padding:3px 3px 3px 8px;gap:4px;min-width:0;flex-shrink:1}.wallet>b{font-size:.78rem;min-width:0;white-space:nowrap}.wallet .coin-icon,.wallet .coin-icon .game-symbol{width:19px;height:21px}#settings.icon-button{width:39px;height:39px;min-width:39px;min-height:39px;padding:7px}.wallet .game-symbol{max-width:25px;max-height:27px}.journey{left:max(12px,env(safe-area-inset-left));right:auto;top:max(92px,calc(env(safe-area-inset-top) + 80px));translate:none;gap:9px;max-width:84px;justify-items:start;align-items:start}.journey-name{display:flex;flex-direction:column;align-items:flex-start;gap:4px;max-width:84px;letter-spacing:0}.journey-name b{font-size:.67rem;white-space:nowrap}.journey-name small{border:0;padding:0;max-width:80px;white-space:normal;font-size:.56rem;line-height:1.3}.journey-route{flex-direction:column;gap:7px;margin-inline-start:3px}.journey-route:before{inset:4px auto 4px 50%;border:0;border-left:1px solid #78926066}.journey-route i{min-width:27px;min-height:27px;font-size:.65rem}.journey-route i.current{width:27px;height:27px}.home-bottom{width:min(330px,calc(100% - 24px));max-width:calc(100% - 24px);bottom:max(16px,env(safe-area-inset-bottom))!important;gap:12px}.home-bottom .upgrade-area{width:100%}.upgrades{gap:8px}.upgrade{min-width:0;min-height:89px;padding:8px 4px}.upgrade strong{font-size:.71rem}.upgrade .cost{font-size:.68rem}#play{width:104px;height:62px}.collection-button{right:max(12px,env(safe-area-inset-right))!important;min-width:49px;min-height:49px;padding:8px}#fps-counter{top:max(65px,calc(env(safe-area-inset-top) + 56px));left:auto;right:12px;translate:none;font-size:.58rem}#wardrobe-drawer{inset:auto 0 0;width:100%;height:46dvh;min-height:238px;max-height:410px;border:0;border-top:2px solid #fffbe9;border-radius:26px 26px 0 0;box-shadow:0 -10px 35px #35563a1f;animation:wardrobe-up .25s ease-out}#wardrobe-drawer>header{min-height:58px;padding:10px 17px;flex:none}.editing .journey{visibility:hidden}#wardrobe-title{font-size:.94rem}#wardrobe-body{padding:0 16px max(20px,env(safe-area-inset-bottom))}#wardrobe-body h3{margin-top:14px;margin-bottom:9px}#wardrobe-body .skin-list{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}#wardrobe-body .skin{min-height:43px}#wardrobe-body .skin i{width:28px;height:28px}#wardrobe-body .pattern-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}#wardrobe-body .pattern-choice{min-height:58px}#wardrobe-body .pattern-swatch{height:42px}#wardrobe-body .color-choice{margin:11px 0 15px;padding:5px 10px}#wardrobe-body .color-choice input{height:29px}}@keyframes wardrobe-up{0%{opacity:0;transform:translateY(35px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){#wardrobe-drawer{animation:none!important}}.home-bottom{gap:15px}.upgrade-area{width:min(348px,calc(100vw - 28px));padding:8px;background:#f7f2dcef;border:1px solid #fff8d7;border-radius:27px;box-shadow:inset 0 1px #fffef3,0 4px #8d996eb3,0 12px 30px #344d342c}.upgrades{gap:0}.upgrade,.upgrade:disabled{position:relative;min-height:94px;padding:7px 6px;background:transparent;border:0;border-radius:19px;box-shadow:none;gap:5px;transform:translateY(0)}.upgrade:not(:disabled){border-color:transparent;box-shadow:none}.upgrade+.upgrade:before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:1px;background:linear-gradient(transparent,#b9c59d99,transparent)}.upgrade-top{justify-content:center;gap:6px}.upgrade .upgrade-top>.game-symbol{width:29px;height:31px;padding:3px;background:transparent;border-radius:0;filter:drop-shadow(0 2px 0 #fff8)}.upgrade:nth-child(n) .upgrade-top>.game-symbol{background:transparent}.upgrade-top small{min-width:21px;border:0;background:#dce6c3;color:#476539;font-size:.69rem;border-radius:7px;padding:3px}.upgrade strong{color:#36583d;font-size:.75rem!important}.upgrade .cost{min-width:0;width:auto;min-height:21px;padding:2px 9px;background:#e5e8cf;color:#788464;border-radius:9px;font-size:.69rem}.upgrade.can-buy .cost{background:#e8d6a1;color:#75602d}.upgrade.can-buy:hover{background:#fff9e180}.upgrade:not(:disabled):active{transform:translateY(2px);box-shadow:none;background:#e6e9cd}#play{width:132px;height:66px;border-radius:30px 30px 35px 35px;background:linear-gradient(170deg,#89a95c,#5f8547 70%);border:2px solid #f9f2c8;box-shadow:inset 0 2px #d7e5a970,inset 0 -3px #3c66354d,0 5px #385f38,0 12px 25px #304f393d;transform:translateY(0);transition:transform .15s,filter .15s}#play .game-symbol{width:37px;height:39px;filter:drop-shadow(0 2px #385e3459)}#play:active{transform:translateY(3px);box-shadow:inset 0 -2px #3c66354d,0 2px #385f38,0 7px 16px #304f3930}.collection-button{border-radius:23px 23px 26px 26px;background:#f7f2dcef;box-shadow:inset 0 1px #fffef3,0 4px #8d996e99,0 7px 18px #344d3420}.journey-name b{color:#37583f;text-shadow:0 1px #fff8df}.journey-route i{background:#ebeed3cf;border:1px solid #fff6d6;color:#587248;box-shadow:0 2px #8093683d}.journey-route i.current{background:#64864b;color:#fff9da;box-shadow:0 0 0 3px #eaf0cf99,0 3px #5a77455c}@media(max-width:600px)and (orientation:portrait){.home-bottom{width:min(330px,calc(100% - 28px));gap:12px}.home-bottom .upgrade-area{width:100%;padding:5px;border-radius:24px}.upgrades{gap:0}.upgrade,.upgrade:disabled{min-height:82px;padding:6px 3px;gap:3px}.upgrade strong{font-size:.69rem!important}.upgrade .upgrade-top>.game-symbol{width:26px;height:28px;padding:1px}.upgrade .cost{font-size:.64rem;padding:2px 7px}#play{width:126px;height:62px}.upgrade-top{gap:4px}}@media(max-height:560px)and (min-width:601px){.upgrade-area{padding:5px}.upgrade,.upgrade:disabled{min-height:82px;padding:5px 3px}#play{height:58px}}@media(prefers-reduced-motion:reduce){#play{transition:none}}.hud-top{gap:10px}.level-pill{border:1px solid #fffce0;background:#f6f3dfee;border-radius:22px;box-shadow:0 3px #8da77588;padding:6px 9px;gap:8px}.level-pill b{color:#365d40;font-size:26px}.level-pill small{color:#7a8e69;font-size:8px;letter-spacing:.02em}.level-pill #pause{min-width:40px;min-height:40px;width:40px;height:40px;background:#e3eacb;border:1px solid #fff9db;box-shadow:none;padding:8px;color:#5c7a46}.timer-cluster{background:#f6f3dfee;border:1px solid #fffce0;border-radius:19px;box-shadow:0 3px #8da77570;padding:8px 17px;max-width:230px}.timer-cluster .eyebrow{font-size:.62rem;color:#73875d;letter-spacing:0}.timer-cluster b{font-size:1.35rem;color:#3c6447;line-height:1.3}#stage-condition{font-size:.62rem;color:#738365;line-height:1.3;display:block;max-width:190px}#stage-progress{height:3px;margin-top:6px;border-radius:5px;background:#ccd8b3}#stage-progress i{background:#819c54;border-radius:5px}.rank{background:#f6f3dfdc;border:1px solid #fff9d9;padding:9px 12px;border-radius:17px;box-shadow:0 3px #8da77555}.roster-counts{font-size:.56rem;border-color:#9dae7b44}#leaders{gap:5px}.leader-you{background:#e5eccf;border-radius:6px;padding:2px 4px;margin-inline:-4px}.leader-row>b{color:#3f6548}.leader-row>.game-symbol{width:13px;height:14px}#dash{position:relative;isolation:isolate;width:78px;height:78px;border:2px solid #fff6d2;background:conic-gradient(#d4b45f calc(var(--energy)*360deg),#83966a66 0);box-shadow:0 4px #617b49,0 6px 16px #3e64382c;color:#fff8d4;text-shadow:none;gap:0}#dash:before{content:"";position:absolute;inset:5px;background:#749353;border:1px solid #dde7b455;border-radius:50%;z-index:-1}#dash .game-symbol{width:32px;height:36px;--icon-accent:#f9dda1;--icon-ink:#3b633d}#dash small{font-size:.52rem;font-weight:900;color:#f3f3d6}#dash.recharging:before{background:#8e9a7b}#dash.poisoned:before{background:#82668d}#minimap{background:#f3f1dcce;border:1px solid #fff9d9;box-shadow:0 3px #8da77570;width:92px;height:92px}#camera-control{background:#f6f3dfdb;border:1px solid #fff9dc;box-shadow:0 3px #8da77566;color:#577847;min-width:43px;min-height:43px}#chain-meter{position:absolute;left:50%;bottom:max(30px,env(safe-area-inset-bottom));translate:-50% 0;scale:1;display:grid;grid-template-columns:auto auto;align-items:baseline;column-gap:10px;min-width:105px;max-width:calc(100vw - 204px);padding:7px 13px 10px;background:#f5f0dbe8;border:1px solid #fff9db;border-radius:17px;box-shadow:0 3px #8da77570;color:#5c7845;pointer-events:none}#chain-title{font-size:.62rem;white-space:nowrap}#chain-count{font-size:1.12rem;line-height:1.25;font-variant-numeric:tabular-nums}#chain-meter>i{position:absolute;bottom:5px;left:12px;right:12px;height:3px;background:#d6dfbc;border-radius:5px;overflow:hidden}#chain-meter>i:before{content:"";display:block;height:100%;width:calc(var(--chain-time)*100%);background:#8fa560;border-radius:inherit;transition:width .1s linear}.chain-reward #chain-count{color:#8c7331}.chain-reward>i:before{background:#c7a751!important}@media(max-width:600px){.hud-top .level-cluster{width:143px}.level-pill{padding:5px 7px}.level-pill b{font-size:23px}.timer-cluster{max-width:139px;padding:7px 10px}.timer-cluster b{font-size:1.12rem}.hud-top .rank{width:119px;top:91px;right:0;background:#f6f3dfcf;padding:7px 8px}#stage-condition{font-size:.54rem}.hud-top{left:12px;right:12px;gap:8px}#dash{width:70px;height:70px}#minimap{width:76px;height:76px}#chain-meter{bottom:max(26px,env(safe-area-inset-bottom));max-width:calc(100vw - 182px);min-width:88px;padding-inline:10px;column-gap:6px}#chain-title{font-size:.55rem}#chain-count{font-size:.95rem}}@media(max-width:350px){.hud-top .level-cluster{width:130px}.timer-cluster{max-width:124px}#chain-meter{max-width:calc(100vw - 169px);min-width:82px}#chain-title{font-size:.5rem}}.hud-top .level-pill{border:1px solid #fffce0;background:#f6f3dfee;border-radius:22px;box-shadow:0 3px #8da77588}.home-bottom{margin-inline:auto}.home-bottom .upgrade-area{padding:0;background:none;border:0;box-shadow:none}.upgrades{gap:10px}.upgrade,.upgrade:disabled{border:1px solid #fff9dc;background:linear-gradient(155deg,#fffbea,#e5eacb);border-radius:21px;box-shadow:0 4px #8d9d75,0 8px 16px #344d341a;padding:10px 5px}.upgrade+.upgrade:before{display:none}.upgrade.can-buy{border-color:#ffe99b;animation:upgrade-ready 2.4s ease-in-out infinite}.upgrade.can-buy:nth-child(2){animation-delay:.2s}.upgrade.can-buy:nth-child(3){animation-delay:.4s}.upgrade.can-buy .upgrade-top small{background:#66884b;color:#fffce5}.upgrade.can-buy .cost{background:#f5d989;color:#644a20}.upgrade.can-buy:hover{background:#fff6d7}@keyframes upgrade-ready{0%,to{box-shadow:0 4px #9c945c,0 0 0 1px #f9df8a50,0 6px 16px #dfba5830}50%{box-shadow:0 4px #9c945c,0 0 0 3px #f9df8a90,0 6px 23px #efc75a80}}.camera-setting{flex-wrap:wrap;gap:10px}.camera-setting .setting-caption{flex:1 1 100%}.camera-setting input[type=range]{width:100%;max-width:none}.camera-setting output{font-variant-numeric:tabular-nums;white-space:nowrap;color:#52713e}.touch-boost-hint{font-size:.72rem;line-height:1.5;color:#64754d;margin:8px 0 14px}.hud-top{padding-inline-end:54px}.hud-top>#pause{position:absolute;inset-block-start:0;inset-inline-end:0;width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;background:#f6f3df;border:1px solid #fffce0;border-radius:16px;box-shadow:0 3px #8da77570}.result-shop{grid-column:1/-1;border-top:1px solid #ccd6b9;margin-top:15px;padding-top:12px}.result-shop-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px;font-size:.7rem}.result-shop-heading>span{display:flex;align-items:center;gap:4px;font-variant-numeric:tabular-nums}.result-shop-heading .game-symbol{width:19px;height:19px}.result-shop .upgrades{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.result-shop .upgrade{min-width:0;min-height:82px;padding:6px 3px;border-radius:16px}.result-shop .upgrade strong{font-size:.68rem;overflow-wrap:anywhere}.result-shop .upgrade .cost{font-size:.67rem}@media(max-height:460px)and (min-width:601px){dialog#panel.result-panel .dialog-heading{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:8px}dialog#panel.result-panel .dialog-heading .screen-art{margin:0;flex:none}dialog#panel.result-panel #panel-title{margin:0;font-size:1.3rem}.result-panel .result-shop{grid-column:2;grid-row:3;margin-top:0;padding-top:7px}.result-panel .result-shop-heading{font-size:.6rem;margin-bottom:5px}.result-panel .result-shop .upgrade{min-height:68px;padding:4px 2px;gap:2px}.result-panel .result-shop .upgrade .upgrade-top>.game-symbol{width:21px;height:21px}.result-panel .result-shop .upgrade strong,.result-panel .result-shop .upgrade .cost{font-size:.6rem}.result-panel .chain-result{grid-column:1/-1;grid-row:4}}@media(max-width:600px){.hud-top .level-cluster{width:102px;flex-shrink:0}.hud-top .timer-cluster{max-width:139px}.hud-top .rank{right:0}.hud-top{padding-inline-end:52px}}#joystick{transition:border-color .12s,background .12s;box-shadow:0 0 0 18px #f4f0e418}#joystick.boost-requested{border:2px solid #f8d774;background:#ebcc6333}#joystick.boost-active{box-shadow:0 0 0 18px #f4d87830,0 0 24px #ffe8a970}#joystick.boost-active i{background:#f4d47cbb;border-color:#fff2bd}#joystick.recharging{border-color:#9b9b92;box-shadow:0 0 0 18px #99999918}@media(max-width:600px)and (orientation:portrait){.home-bottom{left:0!important;right:0!important;padding-inline:0;width:min(348px,calc(100% - 32px))}.home-bottom .upgrade-area{padding:0}.upgrades{gap:10px}.upgrade,.upgrade:disabled{min-height:92px}}@media(prefers-reduced-motion:reduce){.upgrade.can-buy{animation:none;box-shadow:0 4px #9c945c,0 0 0 2px #f9df8a90}#joystick{transition:none}}.icon-button,.quiet-button,#skip-lesson{display:grid;place-items:center;line-height:1}#settings.icon-button,.hud-top>#pause,#skip-lesson{padding:0}.icon-button>.game-symbol{display:block;width:28px;height:28px;max-width:100%;max-height:100%}.quiet-button>.game-symbol,#skip-lesson>.game-symbol,.collection-button>.game-symbol{display:block}.hud-top .level-cluster{width:auto;flex:0 0 auto;max-width:none}.hud-top .level-pill{width:max-content;max-width:100%;padding-inline:12px}dialog#panel[open]:is([data-screen=settings],.result-panel){display:flex;flex-direction:column;overflow:hidden;max-height:calc(100dvh - 28px)}dialog#panel:is([data-screen=settings],.result-panel) .dialog-heading,dialog#panel:is([data-screen=settings],.result-panel) #panel-actions{flex:none}dialog#panel:is([data-screen=settings],.result-panel) #panel-body{min-height:0;overflow-y:auto;overflow-x:hidden;padding:4px;scrollbar-width:thin;overscroll-behavior:contain}.setting-caption{flex:1 1 auto;overflow-wrap:anywhere}.setting-row>select{min-width:0;flex-shrink:0}.settings-tools{display:grid;gap:9px;margin-top:12px;grid-column:1/-1}.settings-tools #relearn{margin:0}.danger-button{min-height:44px;padding:10px 14px;border:1px solid #c78c73;border-radius:13px;background:#f4e5d9;color:#8a4431;font-weight:800;line-height:1.35;white-space:normal;overflow-wrap:anywhere}dialog#panel #panel-actions .danger-button{background:#f4e5d9!important;color:#8a4431!important;border:1px solid #c78c73!important}dialog#panel[data-screen=reset]{text-align:center}#reset-warning{font-size:.9rem;line-height:1.65;overflow-wrap:anywhere;margin:6px 0}.result-panel .result-overview{min-width:0}.result-panel .result-score{overflow-wrap:anywhere}.result-panel .result-reward b,.result-panel .result-stats b{overflow-wrap:anywhere;max-width:100%}.setting-row.camera-setting{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 26px;gap:6px}.setting-row.camera-setting input[type=range]{width:100%;margin:0;max-width:none}dialog#panel[data-screen=settings] .camera-setting{min-height:max-content}.result-panel .result-score{font-size:min(clamp(2rem,11vw,3.6rem),calc(12rem / var(--result-digits,2)));white-space:nowrap;overflow-wrap:normal}.result-panel .result-reward{column-gap:4px}.result-panel .result-reward>.game-symbol{width:18px;height:20px}.result-panel .result-reward b{font-size:min(1.45rem,calc(8rem / var(--result-digits,3)));white-space:nowrap;overflow-wrap:normal}.upgrade .cost{min-width:0;max-width:100%;padding-inline:4px;gap:2px}button{-webkit-tap-highlight-color:transparent}@media(max-height:460px)and (min-width:601px){dialog#panel[data-screen=settings] #panel-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-auto-rows:max-content;align-content:start;gap:0 18px}dialog#panel[data-screen=settings] :is(.camera-setting,.touch-boost-hint,.settings-tools,.app-version){grid-column:1/-1}.settings-tools{grid-template-columns:1fr 1fr}.touch-boost-hint{margin-block:6px}.result-panel #panel-body{gap:6px 18px}.result-panel .result-stats{padding:6px 0}.result-panel .result-stats>div{gap:2px}.result-panel .result-stats .game-symbol{width:16px;height:16px}.result-panel .result-stats b{font-size:.9rem}.result-panel .result-stats span{font-size:.6rem}.result-panel .chain-result{margin:0}}@media(max-height:460px)and (orientation:landscape){dialog#panel[data-screen=reset]{width:min(600px,calc(100% - 28px));padding:18px 22px}dialog#panel[data-screen=reset] #panel-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}#reset-warning{font-size:.85rem;line-height:1.5}}#hud{--hud-left: calc(env(safe-area-inset-left,0px) + 14px) ;--hud-right: calc(env(safe-area-inset-right,0px) + 14px) ;--hud-top: calc(env(safe-area-inset-top,0px) + 14px) ;--hud-bottom: calc(env(safe-area-inset-bottom,0px) + 18px) }#hud .hud-top{top:var(--hud-top);left:var(--hud-left);right:var(--hud-right);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,180px) minmax(0,1fr);align-items:start;gap:10px;padding:0}#hud .level-cluster{grid-column:1;grid-row:1;width:100%;min-width:0;max-width:100%}#hud .level-pill{box-sizing:border-box;width:max-content;max-width:100%;min-width:0;min-height:44px;padding:6px 9px;gap:6px}#hud .level-pill>span:last-child{min-width:0}#hud .level-pill .leaf-icon{flex-shrink:0}#hud #level{display:block;font-size:clamp(16px,1rem + 1vw,24px);line-height:1.1;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}#hud .timer-cluster{grid-column:2;grid-row:1;justify-self:center;position:static;transform:none;box-sizing:border-box;min-width:0;max-width:100%;width:max-content;min-height:0;padding:8px 14px;border:0;border-radius:14px;background:#f6f3dfb8;box-shadow:none}#hud #stage-label{display:block;overflow-wrap:anywhere;font-size:clamp(11px,.6rem + .5vw,14px);font-weight:900;line-height:1.3}#hud #stage-condition{max-width:100%;overflow-wrap:anywhere}#hud #stage-condition:empty,#hud #enemy-count[hidden]{display:none}#hud .hud-top>#pause{position:static;grid-column:3;grid-row:1;justify-self:end;width:44px;height:44px}#hud #scoreboard{position:absolute;top:58px;right:0;width:min(176px,46%);pointer-events:none}#hud #scoreboard .rank{position:static;display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;margin:0;padding:0;background:none;border:0;border-radius:0;box-shadow:none;pointer-events:none;color:#fffdf1;text-shadow:0 1px 2px #1b342b,0 0 5px #1b342bcc}#hud #scoreboard .roster-counts{font-size:10px;color:inherit;gap:6px;justify-content:flex-end;flex-wrap:wrap}#hud #scoreboard .roster-counts b{font-size:11px}#hud #scoreboard #leaders{margin-top:7px;gap:5px}#hud #scoreboard #leaders .leader-row{padding:0;background:none;border-radius:0;font-size:11px;line-height:1.4}#hud #scoreboard .leader-row>b{color:inherit;font-size:12px}#hud #scoreboard .leader-name{color:inherit}#hud #scoreboard .leader-row small{font-size:10px;color:inherit}#hud #scoreboard .leader-you{font-weight:900;color:#fff0ae;border:0}#hud #scoreboard .leader-row .game-symbol{width:12px;height:12px;filter:drop-shadow(0 1px 1px #1b342b)}#hud #rank-value{display:none}#hud .roster-counts{display:flex;justify-content:space-between;gap:10px;border:0;padding:0;flex-wrap:wrap}#hud #leaders{display:grid;grid-template-columns:minmax(0,1fr);grid-auto-flow:row;gap:6px;margin-top:8px}#hud #leaders .leader-row{display:flex;min-width:0;margin:0;padding:2px;gap:5px}#hud .leader-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#hud .leader-row>b{margin-inline-start:auto;flex-shrink:0;font-size:12px;overflow-wrap:anywhere}#hud .hud-bottom{left:var(--hud-left);right:var(--hud-right);bottom:var(--hud-bottom)}#hud #power-status{top:calc(var(--hud-top) + 64px);left:var(--hud-left);max-width:calc(100% - var(--hud-left) - var(--hud-right) - 64px)}#hud #chain-meter{bottom:calc(var(--hud-bottom) + 8px);max-width:calc(100% - var(--hud-left) - var(--hud-right) - 184px)}#save-status{box-sizing:border-box;max-width:calc(100% - 28px);bottom:calc(env(safe-area-inset-bottom,0px) + 106px);text-align:center}dialog#panel.result-panel{box-sizing:border-box;height:fit-content;max-height:min(730px,calc(100dvh - 28px))}dialog#panel.result-panel #panel-body{flex:1;scrollbar-gutter:stable}.result-panel .result-shop .upgrade,.result-panel .result-shop .upgrade:disabled{box-sizing:border-box;height:100px;min-height:100px;max-height:100px;gap:2px;padding-block:5px}.result-panel .result-shop .upgrade strong{display:grid!important;align-items:center;height:2.6em;min-height:2.6em;line-height:1.3;margin:0}.result-panel .upgrade .cost{white-space:nowrap;font-variant-numeric:tabular-nums}.result-panel .upgrade.purchased{animation:none}@media(max-width:600px){#hud{--hud-left: calc(env(safe-area-inset-left,0px) + 10px) ;--hud-right: calc(env(safe-area-inset-right,0px) + 10px) }#hud .hud-top{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr);gap:8px}#hud .level-pill{gap:4px;padding:6px;min-height:44px}#hud .level-pill .leaf-icon{width:20px;height:24px}#hud .level-pill small{font-size:8px;overflow-wrap:anywhere}#hud .timer-cluster{padding:8px 10px;max-width:100%}#hud #chain-meter{min-width:70px;max-width:calc(100% - var(--hud-left) - var(--hud-right) - 160px)}#hud .tutorial{bottom:calc(var(--hud-bottom) + 95px);max-height:calc(100dvh - var(--hud-top) - var(--hud-bottom) - 180px);overflow-y:auto}}@media(max-height:500px)and (orientation:landscape){#hud{--hud-top: calc(env(safe-area-inset-top,0px) + 8px) ;--hud-bottom: calc(env(safe-area-inset-bottom,0px) + 10px) }#hud #minimap{width:66px;height:66px}#hud #dash{width:62px;height:62px}#hud .tutorial{bottom:calc(var(--hud-bottom) + 72px);max-height:calc(100dvh - 180px);overflow-y:auto}.result-panel .result-shop .upgrade,.result-panel .result-shop .upgrade:disabled{height:88px;min-height:88px;max-height:88px}}
