:root{font-family:Nunito,Arial Rounded MT Bold,Arial,sans-serif;color:#123f31;background:#dce9d5;font-synthesis:none;--ink: #123f31;--muted: #5d7567;--cream: #fffbed;--green: #2c8646;--safe-top: max(env(safe-area-inset-top, 0px), var(--tg-content-safe-area-inset-top, 0px));--safe-bottom: max(env(safe-area-inset-bottom, 0px), var(--tg-content-safe-area-inset-bottom, 0px))}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible{outline:3px solid #e1a62b;outline-offset:3px}button:disabled{cursor:default}img{max-width:100%;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}h1,h2,p{margin:0}#game{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;visibility:hidden}#ui{position:fixed;top:0;bottom:0;left:50%;translate:-50% 0;width:100%;max-width:480px;height:100vh;height:100dvh;overflow:hidden;background:var(--cream);box-shadow:0 0 80px #20482c24}.screen{position:relative;width:100%;height:100%;padding-top:var(--safe-top);padding-bottom:var(--safe-bottom);overflow:hidden}.ui-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:50px;padding:11px 20px;border:0;border-radius:20px;font-size:20px;font-weight:800;line-height:1.25;transition:background-color .12s,box-shadow .12s}.ui-button.primary{color:#fff;background:linear-gradient(120deg,#439855,#237844);box-shadow:inset 0 1px #ffffff35,0 5px 12px #3b6d2922}.ui-button.primary:active{background:#1b6638;box-shadow:inset 0 2px 3px #17442144}.ui-button.secondary{border:2px solid #287b47;background:#fffdf5}.ui-button.secondary:active{background:#e5efdb}.ui-button.text-button{min-height:44px;padding:8px;background:transparent;text-decoration:underline;text-underline-offset:4px;font-size:16px}.ui-button.text-button:active{background:#e7eedb}.eyebrow{color:#748b75;font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:800}.brand-mark{display:inline-block;position:relative;width:32px;height:35px;flex:0 0 32px;font-size:0}.brand-mark:before,.brand-mark:after{content:"";position:absolute;width:14px;height:27px;border-radius:15px 0;background:#71a740;rotate:13deg;right:0;top:0}.brand-mark:after{right:17px;top:9px;width:10px;height:22px;background:#398246;rotate:-59deg}.welcome-screen{display:flex;flex-direction:column;isolation:isolate;background:#fffbed}.welcome-city{position:absolute;z-index:-2;top:0;right:0;bottom:17%;left:0;background:url(/assets/ui/city-clean.webp) center 53% / cover no-repeat}.welcome-city:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(#d7f1ff88,#e7f5ed14 43%,#fffbed00 70%,#fffbed)}.welcome-heading{position:relative;text-align:center;padding:clamp(29px,7dvh,62px) 16px 0}.welcome-logo{display:inline-block;color:#175739;font-size:clamp(58px,16.5vw,82px);line-height:.95;letter-spacing:-.055em;font-weight:900;text-shadow:0 2px 0 #f6ffe3ab}.welcome-heading p{margin-top:16px;font-size:clamp(16px,4.6vw,21px);line-height:1.3;font-weight:800}.welcome-leaves{position:absolute;top:19px;left:calc(50% - 30px);width:43px;height:30px}.welcome-leaves i{position:absolute;width:17px;height:29px;border-radius:18px 0;background:#78ab38;rotate:21deg;right:1px;top:-3px}.welcome-leaves i+i{right:20px;top:8px;width:12px;height:21px;background:#3f893c;rotate:-63deg}.welcome-art{position:relative;display:flex;align-items:end;justify-content:center;flex:1;min-height:105px;padding:8px 10px 0;overflow:hidden}.welcome-bin-row{display:grid;grid-template-columns:repeat(3,1fr);align-items:end;gap:3px;width:100%;margin-bottom:3px;filter:drop-shadow(0 10px 11px #3b4d2933)}.welcome-bin-row img{width:100%;height:clamp(135px,25dvh,215px);object-fit:contain;object-position:center bottom}.floating-item{position:absolute;width:72px;height:90px;object-fit:contain;opacity:.97;filter:drop-shadow(0 6px 4px #345c2b22)}.floating-item.bottle{left:11%;bottom:min(27dvh,224px);rotate:-24deg}.floating-item.newspaper{right:9%;bottom:min(27dvh,224px);rotate:15deg}.welcome-actions{position:relative;padding:12px 24px max(24px,4dvh);background:linear-gradient(#fffbed55,#fffbed 32%);text-align:center}.welcome-actions .ui-button{min-height:61px;border-radius:28px;font-size:29px}.welcome-actions p{margin-top:13px;font-size:15px;color:#3e644e}.levels-screen{overflow-y:auto;overscroll-behavior:contain;background:#edf3d8}.levels-hero{min-height:125px;padding:19px 20px;background:linear-gradient(#e5f4f139,#e5f4f100 60%,#edf3d8),url(/assets/ui/city-clean.webp) center 39% / cover}.menu-brand{display:inline-flex;align-items:center;gap:8px;font-size:20px;font-weight:900;padding:4px 13px 4px 9px;border-radius:22px;background:#ffffedc9}.levels-content{position:relative;padding:0 16px 16px}.levels-content>.eyebrow{text-align:center;font-size:10px;margin-top:4px}.levels-content>h1{text-align:center;font-weight:900;letter-spacing:-.04em;font-size:clamp(27px,7.7vw,35px);line-height:1.2;margin:5px 0 18px}.level-cards{display:grid;gap:14px}.level-card{padding:16px;border-radius:25px;background:#fffbee;box-shadow:0 6px 20px #637b3520;border:1px solid #ffffffa8}.level-card h2{font-size:clamp(25px,6.9vw,31px);letter-spacing:-.035em;font-weight:900;line-height:1.15;margin-top:4px}.level-card-2 h2{font-size:clamp(23px,6.2vw,29px)}.level-details{margin-top:6px;font-size:15px;color:#536b58}.level-details span{padding:0 3px}.level-bin-art{display:grid;grid-template-columns:repeat(3,1fr);align-items:end;justify-items:center;gap:5px;margin:12px 4px 8px}.level-bin-art img{width:100%;height:99px;object-fit:contain}.level-card-2 .level-bin-art{grid-template-columns:repeat(4,1fr);gap:1px 5px;margin-top:10px}.level-card-2 .level-bin-art img{height:60px}.level-card .ui-button{min-height:46px;font-size:20px;border-radius:18px}.levels-footer{text-align:center;font-size:13px;line-height:1.45;color:#536b58;padding:19px 0 5px}.result-screen{overflow-y:auto;overscroll-behavior:contain;background:#fffbef}.result-city{width:100%;height:clamp(138px,28dvh,235px);background-position:center 40%;background-size:cover;position:relative}.result-city:after{content:"";position:absolute;top:60%;right:0;bottom:-1px;left:0;background:linear-gradient(transparent,#fffbef)}.result-content{position:relative;text-align:center;padding:0 22px 12px;margin-top:-5px}.result-level{display:inline-block;border-radius:20px;background:#eaf0d6;padding:7px 16px;font-size:14px;line-height:1.3;font-weight:800}.result-content h1{font-size:clamp(25px,7.4vw,34px);letter-spacing:-.04em;font-weight:900;line-height:1.15;margin:13px 0 2px}.result-score{display:flex;justify-content:center;align-items:baseline;gap:9px;font-size:32px;line-height:1.15;font-weight:900;color:#2f8643}.result-score strong{font-size:69px;font-weight:900;letter-spacing:-.055em}.result-stats{display:flex;justify-content:center;align-items:center;border-radius:18px;background:#ecf2dc;padding:12px 7px;margin-top:11px;font-size:15px;line-height:1.2}.result-stats>span{display:flex;justify-content:center;align-items:center;gap:4px;flex:1;white-space:nowrap}.result-stats>span+span{border-left:1px solid #c3d4a8}.result-stats b{color:#2f8643;font-size:20px}.result-stats>span+span b{color:#d34f3c}.stat-icon{display:inline-grid;place-items:center;width:24px;height:24px;margin-right:3px;border-radius:50%;font-style:normal;color:#fff;font-weight:900;font-size:19px}.stat-icon.correct{background:#4a954b}.stat-icon.mistakes{background:#df6146}.result-encouragement{display:flex;align-items:center;text-align:left;gap:12px;margin:10px 0 14px;padding:12px 15px;background:#eef2dc;border-radius:18px;font-size:14px;line-height:1.35}.result-actions{display:grid;gap:9px}.result-actions .ui-button{min-height:49px}.result-actions .text-button{margin-top:0}@media (min-height: 760px){.levels-hero{min-height:153px}.level-card{padding:20px}.level-bin-art img{height:112px}.level-card-2 .level-bin-art img{height:68px}.result-content{padding-top:8px}.result-content h1{margin-top:20px}.result-score strong{font-size:83px}.result-stats{padding:16px 8px;margin-top:16px}.result-encouragement{padding:18px;margin:13px 0 18px;font-size:16px}.result-actions{gap:12px}.result-actions .ui-button{min-height:56px}}@media (max-height: 759px){.result-city{height:max(100px,calc(24dvh - var(--safe-top) - var(--safe-bottom)))}.result-content{padding:0 18px 8px}.result-level{padding:5px 14px;font-size:13px}.result-content h1{margin:8px 0 1px;font-size:27px}.result-score{font-size:28px}.result-score strong{font-size:56px}.result-stats{margin-top:7px;padding:9px 5px;font-size:14px}.result-stats b{font-size:18px}.stat-icon{width:22px;height:22px;font-size:17px}.result-encouragement{justify-content:center;gap:8px;margin:7px 0;padding:0;background:transparent;font-size:12px}.result-encouragement .brand-mark{width:24px;height:28px;flex-basis:24px}.result-encouragement .brand-mark:before{width:11px;height:22px}.result-encouragement .brand-mark:after{right:14px;top:7px;width:8px;height:17px}.result-actions{gap:8px}.result-actions .ui-button{min-height:46px;padding:9px 16px;font-size:19px}.result-actions .text-button{min-height:38px;font-size:15px}}@media (max-height: 600px){.welcome-heading{padding-top:30px}.welcome-heading p{margin-top:12px}.welcome-leaves{top:4px}.welcome-actions{padding:10px 22px 18px}.welcome-actions .ui-button{min-height:54px;font-size:26px}.welcome-actions p{margin-top:10px;font-size:13px}.result-content{padding:0 16px 6px}.result-content h1{margin-top:6px;font-size:24px}.result-score strong{font-size:46px}.result-score{font-size:26px}.result-level{padding:4px 13px;font-size:12px}.result-stats{margin-top:5px;padding:6px 5px;font-size:13px}.stat-icon{width:20px;height:20px;font-size:16px}.result-encouragement{margin:6px 0}.result-encouragement .brand-mark{height:24px}.result-actions{gap:6px}.result-actions .ui-button{min-height:44px;padding:9px 16px;font-size:18px}.result-actions .text-button{min-height:36px;padding:7px;font-size:15px}}.screen.game-screen{--game-ink: #123f32;--game-cream: #fffdf2;display:flex;flex-direction:column;padding:max(8px,var(--safe-top, env(safe-area-inset-top, 0px))) 10px max(10px,var(--safe-bottom, env(safe-area-inset-bottom, 0px)));color:var(--game-ink);background:linear-gradient(#fff8df18,#fff8df18),url(/assets/ui/city-dirty.webp) center / cover;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;isolation:isolate;container-name:game;container-type:size}.game-screen[data-city-state=mid]{background-image:linear-gradient(#fff8df18,#fff8df18),url(/assets/ui/city-mid.webp)}.game-screen[data-city-state=clean]{background-image:linear-gradient(#fff8df18,#fff8df18),url(/assets/ui/city-clean.webp)}.game-hud{flex:0 0 auto;padding:8px;background:#fffdf2f5;border:1px solid #fff;border-radius:22px;box-shadow:0 3px 12px #173e3212}.game-hud-row{display:flex;align-items:center;gap:5px}.game-back{width:34px;height:44px;flex:0 0 34px;padding:0 0 5px;border:0;border-radius:50%;color:var(--game-ink);background:#e8efdf;font:38px/1 sans-serif;cursor:pointer}.game-level{font-size:14px;font-weight:800;white-space:nowrap}.game-timer{margin-left:auto;padding:11px 9px;border-radius:17px;background:#ffda68;font-size:18px;white-space:nowrap;font-variant-numeric:tabular-nums}.game-score{padding:12px 7px;border-radius:17px;background:#e8eddb;font-size:15px;white-space:nowrap;font-variant-numeric:tabular-nums}.game-time-low .game-timer{color:#8c2d20;background:#ffcab0}.game-progress{display:flex;gap:6px;align-items:center;padding:6px 3px 1px}.game-progress>span:first-child{font-size:23px;line-height:1;color:#469b42}.game-progress progress{width:0;flex:1;height:9px;overflow:hidden;border:none;border-radius:20px;background:#d8e1cf;accent-color:#50a346}.game-progress progress::-webkit-progress-bar{background:#d8e1cf;border-radius:20px}.game-progress progress::-webkit-progress-value{background:#50a346;border-radius:20px;transition:width .25s ease}.game-progress progress::-moz-progress-bar{background:#50a346;border-radius:20px}.game-progress-label{font-size:11px;white-space:nowrap}.game-playfield{display:flex;flex:1 1 0;min-height:140px;flex-direction:column;align-items:center;padding-top:12px}.game-item-label{position:relative;z-index:1;flex:0 0 auto;margin:0;max-width:100%;border-radius:15px;padding:9px 15px;background:#fffdf2f2;box-shadow:0 2px 8px #243f2412;color:var(--game-ink);text-align:center;font-size:clamp(16px,4.7vw,21px);line-height:1.15;font-weight:800}.game-item-label:empty{visibility:hidden}.game-item-stage{display:flex;align-items:center;justify-content:center;flex:1 1 0;width:100%;min-height:0;position:relative}.game-item{position:absolute;height:min(100%,210px);width:190px;max-width:62%;object-fit:contain;filter:drop-shadow(0 8px 5px #19372227);cursor:grab;touch-action:none;-webkit-user-drag:none;will-change:transform}.game-item.is-dragging{z-index:20;cursor:grabbing;filter:drop-shadow(0 12px 8px #19372245)}.game-item.is-returning{transition:transform .22s cubic-bezier(.2,.8,.3,1.1)}.game-feedback{display:flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:34px;margin:4px 0 8px;padding:6px 13px;max-width:100%;border:1px solid #fff;border-radius:20px;background:#fffdf2f5;color:var(--game-ink);text-align:center;font-size:13px;line-height:1.15;font-weight:700}.game-feedback[data-tone=correct]{color:#256829;background:#effadb}.game-feedback[data-tone=incorrect]{color:#8a381e;background:#fff2de}.game-bins{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;flex:0 0 auto;width:100%;padding:0}.game-bin{--bin-color: #d9a51a;grid-column:span 2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:96px;height:112px;position:relative;border:2px solid var(--bin-color);border-radius:18px;background:#fffdf3f5;box-shadow:0 3px 5px #1e41251a;transition:background-color .12s,box-shadow .12s,border-color .12s}.game-bin img{display:block;width:72px;height:75px;object-fit:contain;pointer-events:none}.game-bin span{min-height:27px;display:flex;align-items:center;justify-content:center;padding:0 3px;text-align:center;font-size:13px;font-weight:800;line-height:1.03;white-space:pre-line;pointer-events:none}.game-bin-film{--bin-color: #eb8727}.game-bin-glass{--bin-color: #55a65a}.game-bin-paper{--bin-color: #3d9bd5}.game-bin-cardboard{--bin-color: #a87441}.game-bin-metal{--bin-color: #7895a5}.game-bin-battery{--bin-color: #9160ae}.game-bin-residual{--bin-color: #7a7c75}.game-bin.is-target{background:#fff3bd;border-color:#194c35;box-shadow:0 0 0 3px #ffffffcf,inset 0 0 0 2px #648e45}.game-bin.is-correct{background:#d5f1bc;border-color:#34893d}.game-bin.is-incorrect{background:#ffe2cc;border-color:#bd593b}.game-level-2 .game-bin:nth-child(7){grid-column:2 / span 2}.game-level-2 .game-bin{height:clamp(96px,15.2dvh,120px)}.game-level-2 .game-bin img{height:clamp(55px,9.5dvh,78px);width:70px}.game-level-1 .game-bin{height:clamp(124px,22dvh,170px)}.game-level-1 .game-bin img{width:88px;height:clamp(87px,16dvh,125px)}.game-level-1 .game-bin span{font-size:15px}.game-preparation{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:max(16px,var(--safe-top, env(safe-area-inset-top, 0px))) 16px max(16px,var(--safe-bottom, env(safe-area-inset-bottom, 0px)));background:linear-gradient(#fff8dd0d,#f8f2dcbc),url(/assets/ui/city-clean.webp) center / cover}.game-preparation-art{display:grid;flex:1 1 0;min-height:60px;max-height:200px;place-items:center}.game-preparation-art span{display:grid;place-items:center;width:84px;height:84px;font-size:56px;color:#3d8545;background:#fffdf1e8;border:3px solid #fff;border-radius:50%;box-shadow:0 6px 20px #234a3922}.game-preparation-card{width:100%;padding:24px 21px 13px;border:1px solid #fff;border-radius:28px;background:#fffdf3f7;box-shadow:0 8px 24px #243e2b22;text-align:center}.game-eyebrow{margin:0 0 10px;font-size:10px;letter-spacing:1px;font-weight:800;color:#5b7959}.game-preparation-card h1{margin:0 0 5px;font-size:32px;line-height:1.05}.game-preparation-card h2{margin:0 0 17px;font-size:19px;color:#597752}.game-preparation-description{margin:0 auto 17px;max-width:320px;font-size:16px;line-height:1.4}.game-rule-chips{display:flex;gap:7px;justify-content:center}.game-rule-chips span{padding:8px 12px;border-radius:18px;background:#e8edda;font-size:13px;font-weight:700}.game-rule-chips span:first-child{background:#ffe395}.game-preparation-scoring{margin:16px 0 19px;font-size:12px;line-height:1.7;color:#62755b}.game-preparation-scoring b{font-size:15px;color:var(--game-ink)}.game-preparation-card .ui-button{width:100%}.game-preparation-card .text-button{margin-top:5px;font-size:14px}@media (max-width: 335px){.game-screen{padding-left:10px;padding-right:10px}.game-hud{padding:6px;border-radius:19px}.game-hud-row{gap:4px}.game-back{width:31px;flex-basis:31px}.game-level{font-size:12px}.game-timer{font-size:16px;padding:11px 7px}.game-score{font-size:13px;padding:12px 7px}.game-progress-label{font-size:10px}.game-bins{gap:6px}.game-bin span{font-size:12px}}@media (max-height: 650px){.game-level-2 .game-hud{padding:3px 5px;border-radius:17px}.game-level-2 .game-progress{padding:1px 2px 0}.game-level-2 .game-progress>span:first-child{font-size:16px}.game-level-2 .game-playfield{padding-top:5px;min-height:0}.game-level-2 .game-item-label{padding:6px 9px;font-size:16px}.game-level-2 .game-feedback{font-size:12px;padding:4px 8px;min-height:28px;margin:2px 0 6px}.game-level-2 .game-bin{height:96px;border-radius:15px}.game-level-2 .game-bin img{height:57px}.game-preparation{justify-content:center}.game-preparation-art{display:none}.game-preparation-card{padding:16px 17px 8px}.game-preparation-card .game-eyebrow{font-size:9px;margin-bottom:7px}.game-preparation-card h1{font-size:29px;margin-bottom:3px}.game-preparation-card h2{font-size:18px;margin-bottom:10px}.game-preparation-description{font-size:13px;line-height:1.35;margin-bottom:10px}.game-rule-chips span{padding:6px 10px}.game-preparation-scoring{margin:10px 0;line-height:1.45}}@container game (max-height: 480px){.game-hud{padding:3px 5px;border-radius:15px}.game-progress{display:none}.game-playfield{min-height:0;padding-top:4px}.game-item-label{padding:4px 8px;font-size:14px;line-height:1.1}.game-feedback{min-height:24px;padding:4px 6px;margin:2px 0 4px;font-size:11px;line-height:1.1}.game-level-2 .game-item-label{padding:4px 8px;font-size:14px}.game-level-2 .game-feedback{min-height:24px;padding:4px 6px;margin:2px 0 4px;font-size:11px}}@media (prefers-reduced-motion: reduce){.game-screen *,.game-screen progress::-webkit-progress-value{transition:none!important}}
