:root{--ink:#233f32;--green:#205c40;--muted:#768074;--cream:#faf9f4;--line:#e5e8dc;--mint:#eff4e8;--gold:#f2cb63;--shadow:0 8px 24px #243d2d05;font-family:'Nunito',ui-rounded,'Arial Rounded MT Bold',system-ui,sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:wait}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #d09525;outline-offset:5px}button{color:inherit}svg{display:block}h1,h2,h3,p{margin:0}[hidden]{display:none!important}.skip-link{position:absolute;top:-100px;left:20px;background:white;z-index:100;padding:15px}.skip-link:focus{top:10px}.site-header{height:95px;padding:0 max(32px,calc((100vw - 1280px)/2));display:flex;align-items:center;justify-content:space-between;gap:30px;border-bottom:1px solid var(--line);background:#fffefa}.brand{display:inline-flex;align-items:center;gap:10px;font-size:33px;font-weight:900;letter-spacing:-1.5px}.brand-icon{width:42px;height:42px;background:var(--green);color:#f5f2dc;display:inline-flex;align-items:center;justify-content:center;border-radius:14px;font-size:40px;line-height:1;position:relative;font-family:Arial;transform:rotate(-7deg)}.brand-icon i{position:absolute;font-size:17px;font-style:normal;right:2px;top:3px;color:#d4e18e}.brand-dot{color:#7c9d40}.site-header nav{display:flex;gap:12px;margin-left:50px}.nav-link{display:flex;align-items:center;gap:8px;padding:10px 20px;border-radius:24px;font-size:14px;font-weight:800;color:#72796e}.nav-link span{font-size:18px}.nav-link.active{background:#eaf0df;color:var(--green)}.nav-link:hover{background:#f0f1e9}.island-tag{font-size:12px;font-weight:700;color:#707b69;display:flex;align-items:center;gap:8px}.island-tag>span{font-size:23px;color:#7f9a53}main{max-width:1280px;margin:auto;padding:0 0 64px}.intro{display:flex;position:relative;align-items:center;justify-content:space-between;padding:43px 0 35px}.eyebrow{font-size:10px;font-weight:900;letter-spacing:2px;display:flex;gap:8px;align-items:center;margin-bottom:12px;color:#6a8055}.eyebrow>span{height:7px;width:7px;border-radius:50%;background:#85a45e}.intro h1{font-size:58px;line-height:1.02;font-weight:900;letter-spacing:-2.8px;display:inline-block}.intro p{font-size:14px;line-height:1.7;display:inline-block;margin-left:43px;max-width:290px;color:#75816f;vertical-align:bottom;padding-bottom:7px}.word-highlight{color:#71934d;position:relative}.word-highlight svg{position:absolute;bottom:-8px;left:0;width:100%;height:13px;fill:none;stroke:#c5d493;stroke-width:5;stroke-linecap:round}.hero-note{display:flex;position:relative;align-items:center;gap:14px;transform:rotate(-5deg);margin-left:auto;margin-right:55px}.sun{width:64px}.hero-note>span{font-size:17px;font-weight:800;line-height:1.4;color:#859170}.note-arrow{position:absolute;width:74px;height:52px;right:-34px;bottom:-39px;fill:none;stroke:#a1af89;stroke-width:2;stroke-linecap:round}.intro-sticker{border:1px solid #d8dfb9;background:#f0f1dd;border-radius:50%;width:133px;height:133px;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(9deg);flex-shrink:0}.intro-sticker>span:first-child{font-size:27px}.intro-sticker strong{font-size:13px;line-height:1.2;text-align:center;margin:4px 0 8px}.intro-sticker>span:last-child{font-size:6px;font-weight:900;letter-spacing:1px}.play-layout{display:grid;grid-template-columns:minmax(0,1fr) 314px;gap:24px;align-items:start}.game-card{border:1px solid #dce3d4;border-radius:22px;overflow:hidden;background:#fff;box-shadow:var(--shadow)}.game-toolbar{height:48px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ecede5}.live-label{display:flex;align-items:center;gap:7px;font-size:9px;font-weight:900;letter-spacing:1.3px;color:#7b8772}.status-dot{background:#a5b591;height:6px;width:6px;border-radius:50%}.playing .status-dot{background:#379461;box-shadow:0 0 0 4px #ecf8ec}.icon-button{border:0;background:#f5f6f0;border-radius:9px;width:30px;height:30px;display:grid;place-items:center}.icon-button svg{width:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.scoreboard{display:flex;align-items:center;justify-content:space-around;padding:17px 18px 16px}.score-stat{display:flex;align-items:center;gap:11px}.score-stat+.score-stat{border-left:1px solid #e9ebe2;padding-left:36px}.stat-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#eff3e9;font-size:27px;color:#6f8c4a}.stat-icon.star{background:#fff7dc;color:#c39a31}.stat-icon.fire{background:#fff0e3;color:#c98948}.stat-label{display:block;font-size:8px;letter-spacing:1px;color:#87907d;font-weight:900}.score-stat strong{font-size:27px;font-weight:900;line-height:1.2;letter-spacing:-.6px}.score-stat small{font-size:11px;color:#9ba18f;letter-spacing:0;font-weight:700}.time-track{height:4px;background:#e5ebd9}.time-track>div{width:100%;height:100%;background:#94ad67;transition:width .1s linear,background .3s}.time-track.urgent>div{background:#d97863}.time-stat.urgent strong{color:#bc543e}.game-field{position:relative;height:475px;isolation:isolate;background-color:#f1f5e9;background-image:radial-gradient(#bccca933 .8px,transparent .8px);background-size:13px 13px;overflow:hidden}.game-field:before{content:'';position:absolute;bottom:-74px;left:-10%;height:240px;width:120%;border-radius:50% 50% 0 0;background:#e4eccf88;z-index:-1}.game-field:after{content:'';position:absolute;bottom:-130px;right:-10%;height:260px;width:75%;border-radius:50% 50% 0 0;background:#dce7be66;z-index:-1}.field-heading{text-align:center;padding-top:19px;position:relative;z-index:2}.mini-badge{font-size:7px;letter-spacing:1.1px;font-weight:900;color:#73855e;background:#e4ecd7;border-radius:20px;padding:5px 10px}.field-heading h2{font-size:24px;letter-spacing:-.6px;margin-top:9px;font-weight:900}.field-heading p{font-size:11px;color:#80906e;margin-top:2px}.field-cloud{position:absolute;width:74px;height:20px;border-radius:40px;background:#fff9;top:74px;left:11%}.field-cloud:before,.field-cloud:after{content:'';position:absolute;background:inherit;border-radius:50%;width:30px;height:30px;top:-15px;left:11px}.field-cloud:after{width:36px;height:36px;top:-20px;left:28px}.cloud-two{left:auto;right:10%;top:140px;transform:scale(.8)}.field-spark{position:absolute;color:#b1c38a;font-size:30px}.spark-one{left:22%;top:180px;transform:rotate(15deg)}.spark-two{right:24%;top:223px;font-size:21px}.waste-card{position:absolute;top:123px;left:50%;width:174px;min-height:140px;transform:translateX(-50%) rotate(-4deg);background:#fffefa;border:1px solid #e2e8d6;box-shadow:0 9px 0 #e1e8ce99,0 10px 25px #5365360c;border-radius:17px;display:flex;align-items:center;flex-direction:column;padding:10px 13px;z-index:5;user-select:none;touch-action:none;transition:box-shadow .15s}.playing .waste-card{cursor:grab}.waste-card:active{cursor:grabbing}.waste-emoji{font-size:59px;line-height:1.25;filter:drop-shadow(2px 4px 0 #e7e5d455)}.waste-card>strong{font-size:13px;text-align:center;font-weight:900;line-height:1.25;margin-top:3px;max-width:100%}.drag-label{color:#9b9e8b;font-size:8px;display:flex;align-items:center;gap:3px;margin-top:7px}.drag-label svg{width:11px;height:11px;stroke:currentColor;fill:none;stroke-width:2}.waste-card.dragging{z-index:50;box-shadow:0 20px 40px #20352420;transition:none;cursor:grabbing;pointer-events:none}.waste-card.tossing{animation:toss .45s ease-in both}.waste-card.new-item{animation:arrive .3s ease-out}.bins{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;position:absolute;bottom:89px;left:26px;right:26px}.bin{padding:0 2px 6px;background:transparent;border:2px solid transparent;border-radius:13px;min-width:0;display:flex;flex-direction:column;align-items:center;position:relative;transition:transform .18s,background .18s,border .18s;touch-action:manipulation}.bin:disabled{cursor:default}.bin:not(:disabled):hover,.bin.drop-target{background:#fff8;transform:translateY(-7px);border-color:#94ac6c}.bin.correct-bin{background:#dcecc7;border-color:#609749;transform:translateY(-6px)}.bin.wrong-bin{background:#f9e3d6;border-color:#c87f64;animation:shake .3s}.bin img{height:94px;width:95px;max-width:100%;object-fit:contain;mix-blend-mode:multiply;filter:drop-shadow(0 6px 3px #4c59351a);pointer-events:none}.bin strong{font-size:11px;font-weight:900;white-space:nowrap;margin-top:6px}.bin .bin-hint{font-size:8px;color:#8b957e;margin-top:1px}.bin kbd{position:absolute;top:5px;right:6px;font:700 8px 'Nunito',sans-serif;color:#8c977f;background:#fff9;width:15px;height:15px;border:1px solid #dbe4ce;border-radius:5px;display:grid;place-items:center}.bin.special-bin img{width:69px;height:77px;padding:7px 0}.game-field.expert{height:600px}.expert .bins{grid-template-columns:repeat(5,minmax(0,1fr));row-gap:10px;bottom:90px}.expert .bin:nth-child(6){grid-column:2}.expert .bin img{height:78px}.expert .special-bin img{height:59px;width:59px}.expert .bin-hint{font-size:7px}.playing .bins{bottom:28px}.playing.expert .bins{bottom:24px}.feedback{position:absolute;top:277px;left:12%;right:12%;text-align:center;font-size:11px;color:#65804d;line-height:1.4;z-index:4;min-height:35px}.feedback strong{font-size:13px}.feedback.error-feedback{color:#a56b4c}.playing .field-heading{padding-top:17px}.playing .waste-card{top:117px}.playing .field-heading p{font-size:10px}.idle-overlay{position:absolute;bottom:15px;left:0;right:0;display:flex;align-items:center;flex-direction:column;gap:7px}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:38px;border:0;border-radius:11px;background:var(--green);color:#fffefa;padding:13px 23px;font-size:14px;font-weight:900;box-shadow:0 4px 0 #123c29;transition:background .15s,transform .15s}.primary-button:hover{background:#2c704d;transform:translateY(-1px)}.primary-button:active{transform:translateY(2px);box-shadow:0 2px 0 #123c29}.primary-button>span{font-size:21px;line-height:1}.primary-button:disabled{opacity:.7}.idle-overlay>span{font-size:8px;color:#899575;font-weight:600}.game-bottom{display:flex;align-items:center;justify-content:space-between;padding:12px 19px;color:#97a08a;font-size:9px}.game-bottom>span:first-child{display:flex;gap:5px;align-items:center}.game-bottom>span:last-child{color:#79896b;font-weight:800}.keyboard-icon{font-size:18px;line-height:1;margin-right:2px}.game-sidebar{display:flex;flex-direction:column;gap:17px}.level-card,.rules-card{padding:23px;border-radius:19px;background:#fffefa;border:1px solid var(--line)}.section-kicker{font-size:8px;letter-spacing:1.4px;font-weight:900;color:#90a077}.level-card h2{font-size:20px;letter-spacing:-.5px;margin:6px 0 16px;font-weight:900}.level-options{display:flex;flex-direction:column;gap:10px}.level-option{width:100%;display:flex;align-items:center;gap:10px;background:#fffefa;border:1px solid #e6e7db;border-radius:12px;padding:13px 10px;text-align:left}.level-option.selected{background:#f1f5e8;border:1.5px solid #a3b780;padding:12.5px 9.5px}.level-option>span:nth-child(2){display:flex;flex-direction:column;gap:3px}.level-option strong{font-size:12px;font-weight:900}.level-option small{font-size:9px;color:#859074}.level-emoji{font-size:26px}.radio-dot{width:15px;height:15px;border:1px solid #d1d8c4;border-radius:50%;margin-left:auto;flex-shrink:0;position:relative}.selected .radio-dot{background:#72934f;border-color:#72934f}.selected .radio-dot:after{content:'✓';color:white;position:absolute;left:3px;top:0;font-size:10px;font-weight:900}.mode-description{font-size:10px;color:#8f9882;line-height:1.6;margin-top:14px}.rules-card{padding:21px;background:#f7f7ec}.rules-card h2{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:900;margin-bottom:15px}.rules-card h2>span{font-size:25px;color:#b6bf8e;line-height:1}.rule{display:flex;align-items:center;gap:9px;font-size:10px;margin:12px 0}.rule>strong{margin-left:auto;font-size:12px;white-space:nowrap}.rule>strong small{font-size:8px}.rule-icon{height:22px;width:22px;border-radius:7px;display:grid;place-items:center;font-size:14px;font-weight:800;flex-shrink:0}.correct-icon{color:#6d914c;background:#e5edd6}.streak-icon{color:#bf9747;background:#f5ebc9}.wrong-icon{color:#b3836c;background:#f2e6da}.kind-note{display:flex;gap:8px;border-top:1px dashed #dee1ca;margin-top:16px;padding-top:14px;align-items:center}.kind-note>span{font-size:19px}.kind-note p{font-size:10px;line-height:1.6;color:#91977e}.ranking-teaser{padding:15px 14px;display:flex;gap:11px;align-items:center;border:1px solid #ebe3ca;background:#fff7e3;border-radius:15px}.trophy-circle{height:37px;width:37px;background:#f7e9bf;border-radius:50%;display:grid;place-items:center;font-size:21px}.ranking-teaser>span:nth-child(2){display:flex;flex-direction:column;gap:4px}.ranking-teaser strong{font-size:11px;font-weight:900}.ranking-teaser small{font-size:9px;color:#a1926b}.ranking-teaser>span:last-child{margin-left:auto;color:#9d916a;font-size:19px}.learn-strip{display:flex;align-items:center;justify-content:space-between;margin:36px 0 18px}.learn-strip h2{font-size:21px;letter-spacing:-.6px;margin-top:5px;font-weight:900}.text-link{font-size:11px;font-weight:800;display:flex;align-items:center;gap:14px}.text-link span{font-size:20px}.fraction-preview{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.fraction-card{border:1px solid #e3e5d8;background:#fffefa;padding:13px 16px;border-radius:13px;display:flex;align-items:center;gap:13px;transition:transform .2s}.fraction-card:hover{transform:translateY(-3px)}.fraction-card img{width:41px;height:41px;object-fit:contain;border-radius:50%}.fraction-card strong{font-size:12px;font-weight:900;display:block}.fraction-card small{display:block;font-size:9px;color:#929a85;margin-top:2px}.fraction-card>span:last-child{font-size:15px;color:#a0a88c;margin-left:auto}.site-footer{max-width:1280px;margin:0 auto;padding:25px 0 33px;border-top:1px solid var(--line);display:flex;align-items:center;gap:25px}.footer-brand{font-size:22px;gap:7px;letter-spacing:-.9px}.footer-brand .brand-icon{width:29px;height:29px;border-radius:9px;font-size:29px}.footer-brand .brand-icon i{font-size:11px}.site-footer>span{font-size:10px;color:#8b9582}.site-footer>div{margin-left:auto;display:flex;align-items:center;gap:20px}.site-footer>div>span{font-size:7px;letter-spacing:1px;color:#9ba18d;font-weight:800}.institution{font-size:16px;letter-spacing:-1px;font-weight:900;color:#77836b}.institution.consell{font-size:8px;line-height:1.2;letter-spacing:0}.institution.consell b{font-size:13px}.content-view{padding:55px 0 20px;min-height:75vh}.content-view h1{font-size:59px;line-height:1.05;letter-spacing:-2px;font-weight:900}.green-text{color:#759650}.view-intro{margin-top:20px;font-size:15px;color:#7e8b74}.learning-note{background:#edf2df;border:1px solid #dce5cb;border-radius:15px;padding:20px 24px;margin:30px 0;display:flex;align-items:center;gap:18px}.learning-note>span{font-size:30px}.learning-note p{font-size:13px;line-height:1.6;max-width:850px}.learning-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.learning-card{border:1px solid var(--line);background:#fffefa;border-radius:18px;padding:23px;scroll-margin-top:20px}.learning-card img{height:86px;width:86px;object-fit:contain;margin-bottom:17px;border-radius:10px}.learning-card h2{font-size:18px;line-height:1.3;font-weight:900}.learning-card .destination{font-size:9px;font-weight:900;letter-spacing:.5px;color:#89977c;margin:5px 0 12px;text-transform:uppercase}.learning-card p{font-size:12px;color:#7f8a73;line-height:1.65}.example-list{margin-top:15px;padding-top:14px;border-top:1px dashed #e0e5d3;display:flex;flex-wrap:wrap;gap:5px}.example-list span{background:#f1f3e9;padding:4px 7px;border-radius:6px;font-size:9px}.source-card{padding:27px;background:#f0f2e7;border-radius:18px;margin-top:25px}.source-card h2{font-size:19px}.source-card p{font-size:12px;line-height:1.7;margin-top:10px;color:#7f8a73}.source-card .source-disclaimer{font-size:10px}#source-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:17px}#source-links a{padding:8px 12px;background:white;border:1px solid #e0e4d3;border-radius:8px;font-size:11px;font-weight:800}.ranking-controls{display:flex;gap:12px;margin:30px 0 20px}.filter-button{padding:11px 19px;border-radius:11px;border:1px solid #dce3d1;background:#fffefa;font-size:12px;font-weight:800}.filter-button.active{border-color:#8eaa6c;background:#e9f0dc}.ranking-card{border:1px solid var(--line);background:#fffefa;border-radius:20px;overflow:hidden}.ranking-empty{padding:60px 20px;display:flex;align-items:center;text-align:center;flex-direction:column}.ranking-empty>span{font-size:58px;margin-bottom:18px}.ranking-empty h2{font-size:25px;margin-bottom:8px}.ranking-empty p{font-size:13px;color:#829074;margin-bottom:23px}.ranking-table{width:100%;border-collapse:collapse;text-align:left}.ranking-table th{background:#f1f4e9;color:#8b977c;font-size:9px;letter-spacing:1px;text-transform:uppercase;padding:17px 24px}.ranking-table td{padding:18px 24px;border-top:1px solid #eef0e6;font-size:13px}.ranking-table td:first-child{width:70px;font-weight:900;color:#97a17f}.ranking-table td:nth-child(2){font-weight:900}.ranking-table td:last-child{font-size:17px;font-weight:900;text-align:right}.ranking-table th:last-child{text-align:right}.ranking-table tr:first-child td{background:#fcf9e9}.ranking-privacy{margin-top:20px;text-align:center;color:#909b81;font-size:11px}.ranking-privacy>span{margin-right:5px}.global-error{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:100;width:max-content;max-width:calc(100% - 30px);padding:16px 24px;background:#fff3dc;color:#8c552b;border:1px solid #dfc89c;border-radius:13px;box-shadow:0 5px 25px #0001;font-size:13px;text-align:center}.result-panel{position:absolute;inset:0;z-index:20;background:#f1f5e9f5;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px;backdrop-filter:blur(5px)}.result-panel .result-emoji{font-size:52px}.result-panel h2{font-size:27px;letter-spacing:-.7px;margin-top:8px;font-weight:900}.result-score{font-size:64px;letter-spacing:-3px;line-height:1.3;font-weight:900;color:#527f3e}.result-score small{font-size:16px;letter-spacing:0;font-weight:800}.result-summary{font-size:12px;color:#889777}.result-nickname{background:#fffefa;border:1px solid #dde6ce;border-radius:10px;padding:10px 20px;font-size:12px;margin:17px 0 12px}.result-nickname small{display:block;font-size:8px;color:#9ba58c;letter-spacing:1px}.result-actions{display:flex;gap:12px;margin-top:13px}.secondary-button{padding:12px 17px;border:1px solid #bac8a8;border-radius:11px;background:#fffefa;font-weight:800;font-size:12px}.result-panel .privacy-note{font-size:9px;color:#8e9a7e;max-width:320px;line-height:1.6;margin-top:13px}.result-panel .save-message{font-size:12px;color:#5b8044;line-height:1.5;margin-top:8px}.result-panel a{font-size:11px;text-decoration:underline}.result-panel .result-detail{margin-top:12px;font-size:11px;color:#7b8d65}.shake{animation:shake .3s}.screen-reader-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@keyframes toss{to{opacity:0;transform:translate(calc(-50% + var(--toss-x,0px)),var(--toss-y,140px)) rotate(20deg) scale(.25)}}@keyframes arrive{from{opacity:0;transform:translate(-50%,-12px) rotate(5deg)}to{opacity:1;transform:translateX(-50%) rotate(-4deg)}}@keyframes shake{25%{translate:-4px}75%{translate:4px}}
@media(min-width:1500px){main,.site-footer{max-width:1340px}.site-header{padding-inline:max(32px,calc((100vw - 1340px)/2))}.play-layout{grid-template-columns:minmax(0,1fr) 330px}.game-field{height:495px}.bins{left:43px;right:43px}.bin img{height:108px;width:108px}.waste-card{top:129px}.playing .waste-card{top:124px}.feedback{top:285px}.intro{padding-top:48px;padding-bottom:40px}.intro h1{font-size:64px}.intro p{font-size:15px}}
@media(max-width:1360px){main,.site-footer{margin-inline:40px}.intro-sticker{width:118px;height:118px}.hero-note{margin-right:40px}.intro p{margin-left:28px;font-size:13px}.intro h1{font-size:53px}.hero-note>span{font-size:14px}.sun{width:55px}.play-layout{grid-template-columns:minmax(0,1fr) 292px;gap:20px}.level-card,.rules-card{padding:20px}.score-stat+.score-stat{padding-left:22px}}
@media(max-width:1100px){.intro p{display:block;margin:15px 0 0;max-width:unset}.intro p br{display:none}.intro h1 br{display:none}.intro h1{font-size:48px}.intro-sticker{display:none}.hero-note{margin-right:35px}.intro{padding:32px 0}.play-layout{grid-template-columns:minmax(0,1fr) 270px;gap:18px}.level-card,.rules-card{padding:17px}.level-option{padding:12px 8px;gap:7px}.level-option.selected{padding:11.5px 7.5px}.level-option small{font-size:8px}.score-stat+.score-stat{padding-left:14px}.stat-icon{width:30px;height:30px;font-size:22px}.stat-label{font-size:7px}.score-stat{gap:7px}.score-stat strong{font-size:25px}.score-stat small{font-size:9px}.bins{left:12px;right:12px;gap:3px}.bin strong{font-size:10px}.bin kbd{right:0}.fraction-card{padding:12px 9px;gap:7px}.fraction-card img{width:32px;height:32px}.fraction-card strong{font-size:10px}.fraction-card small{font-size:8px}.fraction-card>span:last-child{display:none}.site-header nav{margin-left:0}.island-tag{font-size:10px}.nav-link{padding:9px 14px}.learning-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-note .sun{width:47px}.game-field{height:475px}.bin img{height:85px}.feedback{left:6%;right:6%;font-size:10px}.site-footer>span{font-size:9px}.site-footer>div{gap:12px}.site-footer>div>span{max-width:82px;line-height:1.6}}
@media(max-width:850px){main,.site-footer{margin-inline:24px}.site-header{padding:0 24px;height:79px}.island-tag{display:none}.brand{font-size:29px}.brand-icon{height:37px;width:37px;font-size:36px}.intro{padding:28px 0}.intro h1{font-size:43px}.hero-note{display:none}.intro p{font-size:13px;margin-top:12px}.intro p br{display:none}.play-layout{grid-template-columns:minmax(0,1fr)}.game-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ranking-teaser{grid-column:1 / -1}.level-card,.rules-card{padding:20px}.level-option{padding:13px}.level-option.selected{padding:12.5px}.level-option small{font-size:9px}.game-field{height:480px}.game-field.expert{height:580px}.bins{left:30px;right:30px;gap:14px;bottom:85px}.bin img{height:100px;width:106px}.bin strong{font-size:12px}.bin .bin-hint{font-size:9px}.bin kbd{right:4px}.playing .bins{bottom:24px}.expert .bins{row-gap:8px}.expert .bin img{height:80px}.expert .special-bin img{height:55px}.score-stat+.score-stat{padding-left:40px}.stat-icon{width:36px;height:36px}.stat-label{font-size:8px}.score-stat strong{font-size:27px}.score-stat small{font-size:11px}.score-stat{gap:10px}.fraction-preview{gap:8px}.fraction-card{flex-direction:column;text-align:center;padding:14px 7px}.fraction-card img{height:42px;width:42px}.fraction-card strong{font-size:11px}.fraction-card small{font-size:8px}.learn-strip h2{font-size:19px}.text-link{font-size:10px}.site-footer{flex-wrap:wrap;row-gap:22px}.site-footer>div{margin-left:auto}.site-footer>div>span{max-width:none}.content-view h1{font-size:48px}.learning-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ranking-table th,.ranking-table td{padding:17px}.game-field .feedback{font-size:11px;left:10%;right:10%}}
@media(max-width:540px){main{margin-inline:16px;padding-bottom:35px}.site-header{padding:0 16px;height:71px;gap:16px}.brand{font-size:26px;gap:7px}.brand-icon{width:32px;height:32px;font-size:31px;border-radius:11px}.brand-icon i{font-size:13px}.site-header nav{gap:3px}.nav-link{font-size:11px;padding:8px 10px;gap:5px}.nav-link span{display:none}.intro{padding:25px 0 22px}.eyebrow{font-size:8px;letter-spacing:1.8px;margin-bottom:11px}.intro h1{font-size:41px;letter-spacing:-1.8px}.intro h1 br{display:block}.intro p{font-size:12px;line-height:1.6;max-width:310px}.intro p br{display:block}.intro:after{content:'🌱';position:absolute;right:10px;top:48px;font-size:49px;transform:rotate(10deg);background:#eef1dd;border:1px solid #dfe5cb;border-radius:50%;width:84px;height:84px;display:grid;place-items:center}.game-card{border-radius:17px}.game-toolbar{height:40px;padding:0 15px}.live-label{font-size:7px;letter-spacing:1px}.icon-button{width:27px;height:27px}.scoreboard{padding:13px 8px;justify-content:space-evenly}.score-stat{gap:6px}.score-stat+.score-stat{padding-left:12px}.stat-icon{width:26px;height:29px;font-size:21px;border-radius:8px}.stat-label{font-size:6px;letter-spacing:.65px}.score-stat strong{font-size:22px}.score-stat small{font-size:8px}.streak-stat .stat-icon{display:none}.game-field{height:472px}.field-heading{padding-top:20px}.mini-badge{font-size:6px;letter-spacing:.8px}.field-heading h2{font-size:23px}.field-heading p{font-size:10px}.waste-card{top:122px;width:156px;min-height:133px}.waste-emoji{font-size:54px}.waste-card>strong{font-size:12px}.bins{left:7px;right:7px;gap:1px;bottom:91px}.bin{padding:0 1px 5px;border-radius:8px}.bin img{height:77px;max-width:100%}.bin strong{font-size:9px;white-space:normal;line-height:1.2;min-height:21px;display:flex;align-items:center;margin-top:3px;justify-content:center}.bin .bin-hint{font-size:7px}.bin kbd{display:none}.cloud-one{left:1%;transform:scale(.65)}.cloud-two{right:0;transform:scale(.6)}.spark-one{left:12%;top:200px}.spark-two{right:12%}.idle-overlay{bottom:20px}.primary-button{font-size:13px;padding:12px 23px;gap:25px}.idle-overlay>span{font-size:8px;margin-top:3px}.game-bottom{padding:10px 12px;font-size:8px}.game-bottom>span:first-child{font-size:0;gap:0}.game-bottom>span:first-child b,.keyboard-icon{display:none}.game-bottom>span:first-child:after{content:'Arrossega o toca per llançar';font-size:8px}.game-field .feedback{top:269px;left:6%;right:6%;font-size:10px}.playing .bins{bottom:22px}.game-field.expert{height:540px}.expert .bins{bottom:90px;row-gap:9px}.expert .bin img{height:65px}.expert .special-bin img{height:48px;width:48px;padding:3px}.expert .bin strong{min-height:15px;font-size:8px}.expert .bin-hint{font-size:6px}.playing.expert .bins{bottom:16px}.game-sidebar{display:flex;gap:14px}.level-card{padding:18px}.level-card h2{font-size:19px;margin:4px 0 12px}.level-options{flex-direction:row;gap:9px}.level-option{flex-wrap:wrap;padding:11px 9px;position:relative;align-items:flex-start;min-height:95px}.level-option.selected{padding:10.5px 8.5px}.level-option>.level-emoji{font-size:24px;line-height:1}.level-option>span:nth-child(2){width:100%;gap:4px}.level-option strong{font-size:11px}.level-option small{font-size:8px}.level-option .radio-dot{position:absolute;top:13px;right:10px}.mode-description{margin-top:10px;font-size:9px}.rules-card{padding:18px 20px}.rules-card h2{font-size:13px}.rule{font-size:11px}.rule strong{font-size:13px}.kind-note p{font-size:11px}.ranking-teaser strong{font-size:12px}.ranking-teaser small{font-size:10px}.learn-strip{margin-top:29px;align-items:flex-start;gap:10px}.learn-strip h2{font-size:17px;line-height:1.3;max-width:190px}.learn-strip .text-link{font-size:9px;max-width:110px;gap:4px;line-height:1.6;padding-top:16px}.fraction-preview{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.fraction-card{padding:10px 3px;gap:8px;border-radius:11px}.fraction-card img{width:36px;height:36px}.fraction-card strong{font-size:8px;line-height:1.25}.fraction-card small{display:none}.site-footer{margin-inline:16px;padding:22px 0 25px;gap:13px}.site-footer>span{font-size:8px}.site-footer>div{width:100%;justify-content:center;border-top:1px solid var(--line);padding-top:20px;gap:22px}.site-footer>div>span{font-size:6px}.footer-brand{font-size:21px}.footer-brand .brand-icon{width:27px;height:27px;font-size:25px}.content-view{padding-top:35px}.content-view h1{font-size:41px;letter-spacing:-1.8px}.view-intro{font-size:12px;line-height:1.6;margin-top:15px}.learning-note{margin:22px 0;padding:16px;gap:12px;align-items:flex-start}.learning-note p{font-size:11px}.learning-note>span{font-size:23px}.learning-grid{gap:11px}.learning-card{padding:16px 13px;border-radius:15px}.learning-card img{width:65px;height:65px;margin-bottom:12px}.learning-card h2{font-size:16px}.learning-card p{font-size:11px}.learning-card .destination{font-size:7px;line-height:1.6}.example-list span{font-size:8px}.source-card{padding:20px}.source-card h2{font-size:17px}.source-card p{font-size:11px}#source-links a{font-size:10px}.ranking-controls{gap:9px;margin-top:23px}.filter-button{font-size:11px;padding:10px 13px}.ranking-table th,.ranking-table td{padding:14px 10px}.ranking-table th{font-size:7px;letter-spacing:.5px}.ranking-table td{font-size:11px}.ranking-table th:nth-child(3),.ranking-table td:nth-child(3){display:none}.ranking-table td:first-child{width:35px}.ranking-table td:last-child{font-size:15px}.ranking-empty{padding:40px 20px}.ranking-empty h2{font-size:21px}.ranking-empty p{font-size:12px}.ranking-privacy{font-size:10px;line-height:1.6}.result-panel{padding:20px 14px}.result-panel h2{font-size:24px}.result-score{font-size:59px}.result-actions{gap:8px}.result-actions .primary-button{padding:11px 17px;font-size:12px}.secondary-button{padding:10px 13px;font-size:11px}.result-panel .result-emoji{font-size:43px}.result-nickname{margin:12px 0 7px}.result-panel .privacy-note{font-size:8px}}
.result-panel:has(details[open]){justify-content:flex-start;overflow-y:auto}.mistake-list{max-height:140px;overflow-y:auto;text-align:left;background:#fffefa;padding:10px 15px;border-radius:10px;margin-top:10px;line-height:1.6;max-width:420px}.mistake-list p+p{margin-top:12px}.result-detail summary{cursor:pointer;padding:5px}.bin:focus-visible{outline-offset:1px}
/* Keep the garden beside the waste so both remain visible while playing. */
.game-field{height:515px}
.game-field.expert{height:620px}
.game-field .feedback{top:292px}
.game-field .eco-garden{position:absolute;top:106px;left:calc(26% - 85px);width:170px;z-index:3}
.game-field .eco-garden .eco-plant{height:120px;width:100%}
.game-field .eco-kicker{display:block;font-size:7px;font-weight:900;letter-spacing:1.1px;color:#83946c}
.game-field .eco-vitality{display:flex;align-items:center;justify-content:center;gap:5px;margin:5px auto 0;width:110px}
.game-field .eco-garden .eco-meter{margin:0;width:85px;height:5px;flex:1}
.eco-garden #eco-meter-fill{display:block}
.game-field #eco-percentage{font-size:8px;font-weight:800;color:#81916b;min-width:24px}
.game-field .waste-card{left:62%}
.game-field .cloud-one{top:159px;left:4%;opacity:.55}
.game-field .spark-one{left:43%;top:202px}
.game-field .spark-two{right:9%;top:220px}
.result-panel .eco-result{width:96px;flex-shrink:0}
.result-panel .eco-result .eco-plant{height:85px;width:96px}
.result-panel .result-ecology{font-size:11px;color:#719058;margin-top:4px}
.result-panel{overflow-y:auto}
@media(max-width:1100px){.game-field .eco-garden{left:calc(25% - 75px);width:150px}.game-field .waste-card{left:68%}}
@media(max-width:850px){.game-field .eco-garden{left:calc(26% - 85px);width:170px}.game-field .waste-card{left:64%}}
@media(max-width:540px){
  .game-field{height:510px}
  .game-field.expert{height:600px}
  .game-field .eco-garden{top:121px;left:9px;width:130px}
  .game-field .eco-garden .eco-plant{height:101px}
  .game-field .eco-kicker{font-size:6px;letter-spacing:.7px}
  .game-field .eco-vitality{width:94px;margin-top:5px}
  .game-field #eco-percentage{font-size:7px;min-width:21px}
  .game-field .eco-garden .eco-meter{height:4px}
  .game-field .waste-card{left:72%;width:142px}
  .game-field .cloud-one{top:142px;left:-8%}
  .game-field .cloud-two{top:109px;right:-4%}
  .game-field .spark-one{display:none}
  .game-field .spark-two{right:1%;top:233px}
  .result-panel .eco-result{width:86px}
  .result-panel .eco-result .eco-plant{height:76px;width:86px}
  .result-panel .result-ecology{font-size:10px}
}
@media(max-width:360px){
  .site-header{gap:8px}
  .nav-link{padding-inline:7px}
  .game-field .eco-garden{left:4px;width:117px}
  .game-field .waste-card{left:74%;width:124px;padding-inline:10px}
  .game-field .waste-card>strong{font-size:11px}
  .game-field .drag-label{font-size:7px}
  .result-panel h2{font-size:21px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(prefers-reduced-motion:reduce){.waste-card.tossing{opacity:0}}
