/* Central de Reciclagem — mesa horizontal, geometria pixel art. */
.hub-tile.recycling{background:#263a47;border-color:#67c6da}.recycling .hub-art{background:#152b35;border-color:#67c6da;color:#b5eff5;box-shadow:inset 4px 4px #294b5a}.hub-games{gap:7px}.hub-tile{min-height:80px;padding:8px}.hub-tile strong{font-size:18px}#rec-levels{display:grid;gap:6px}#rec-levels .memory-level{background:#203943;border-color:#548796;min-height:55px;padding:7px}#rec-levels .memory-level strong{color:#b5eff5}#screen-recycling-menu,#screen-recycling-result{gap:9px}#rec-result{padding:14px;margin:auto 0;display:grid;gap:8px}#rec-result strong{font-size:30px;color:#86efac}#rec-result p{display:flex;align-items:center;gap:8px}#rec-result svg{width:32px;height:32px}
#screen-recycling-play{position:fixed!important;inset:0!important;z-index:60!important;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:6px;padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:#14241f;overflow:hidden;align-items:stretch;width:100%;height:100dvh;max-width:none;box-sizing:border-box}#screen-recycling-play.hidden{display:none!important}.rec-top{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:40px}.rec-top button{font-size:14px;padding:6px;min-height:40px}.rec-top strong{font-size:clamp(13px,2vw,20px);text-align:center;color:#f9db7d}#rec-table{display:grid;grid-template-rows:1fr minmax(66px,1fr) 1fr;gap:7px;min-height:0;width:min(100%,1100px);margin:auto;height:100%;padding:7px;background:repeating-linear-gradient(90deg,#2e4138 0 24px,#30463a 24px 48px);border:3px solid #0c1713;box-shadow:inset 4px 4px #496250;box-sizing:border-box}.rec-bins{display:flex;justify-content:space-around;align-items:center;gap:4px;min-height:0}.rec-bin{background:#172722;border:2px solid #567165;color:white;padding:3px 2px;flex:1;max-width:170px;min-width:0;min-height:0;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;line-height:1.02;font-weight:750;font-size:clamp(11px,2.3vw,17px);overflow-wrap:anywhere}.rec-bin small{font-size:clamp(9px,1.5vw,12px);color:#fde68a;min-height:1em}.rec-bin-art{display:block;position:relative;width:min(64%,55px);height:clamp(21px,7vh,56px);background:var(--bin);border:3px solid #0b1413;box-shadow:inset 5px 0 #ffffff28,inset -5px -4px #0005}.rec-bin-art:before{content:'';position:absolute;left:-6px;right:-6px;top:-4px;height:8px;background:var(--bin);border:2px solid #0b1413}.rec-bin-art i{position:absolute;inset:25% 25% 12%;border-left:3px solid #0003;border-right:3px solid #0003}.rec-bin:focus-visible{outline:3px solid #facc15}#rec-belt{position:relative;display:flex;align-items:center;justify-content:center;background:repeating-linear-gradient(90deg,#394750 0 20px,#1e2a30 20px 24px);border:4px solid #0b1418;box-shadow:inset 0 5px #75828a,inset 0 -5px #75828a;min-height:0;overflow:visible}#rec-direction{position:absolute;bottom:4px;color:#e0f2e9;font:bold 11px monospace;letter-spacing:2px}#rec-item{position:absolute;top:50%;margin-top:calc(-1 * clamp(24px,5vh,37px));margin-left:calc(-1 * clamp(24px,5vh,37px));width:clamp(48px,10vh,74px);height:clamp(48px,10vh,74px);border:2px solid #d2e8ce;background:#182b21;box-shadow:3px 3px #0a1410;touch-action:none;z-index:4;cursor:grab}#rec-item canvas{width:100%;height:100%;image-rendering:pixelated;pointer-events:none}#rec-item.dragging{pointer-events:none;z-index:10;opacity:.8}#rec-item.rec-no-touch{border-color:#facc15;cursor:default}#rec-name,#rec-tip{text-align:center;line-height:1.2;font-size:clamp(13px,2.3vw,18px)}#rec-name{font-weight:900;color:#f9db7d}#rec-tip{background:#22352d;border:1px solid #496758;padding:5px;min-height:34px;color:#e2e8f0}#rec-dialog{position:absolute;inset:0;z-index:20;background:#07100de8;display:grid;place-items:center;padding:10px}#rec-dialog[hidden]{display:none}#rec-dialog>.pixel-box{display:grid;gap:8px;width:min(95%,460px);padding:12px;background:#203c2c;border:2px solid #86efac;text-align:center;max-height:95%;overflow:auto}#rec-dialog h3{font-size:20px;color:#86efac}#rec-dialog p{font-size:15px;line-height:1.35}#rec-dialog button{min-height:40px}body[data-screen='recycling-play']{overflow:hidden}
@media(max-height:420px){#rec-table{gap:3px;padding:3px}#rec-tip{min-height:28px;padding:3px;font-size:12px}.rec-top button{min-height:30px;padding:3px}.rec-top{min-height:30px}.rec-bin-art{height:21px}.rec-bin{gap:2px}.rec-bin small{min-height:0}.rec-bin small:empty{display:none}#screen-recycling-play{gap:3px;padding:4px}.hub-games{grid-template-columns:repeat(3,minmax(0,1fr))}.hub-tile{grid-template-columns:1fr;min-height:70px;gap:3px}.hub-tile .hub-art{display:none}.hub-tile b{display:none}#rec-levels{grid-template-columns:1fr 1fr}}
#rec-belt{animation:rec-belt-move 1.1s linear infinite}#rec-belt[data-direction='left']{animation-direction:reverse}#rec-belt.rec-stopped{animation-play-state:paused}@keyframes rec-belt-move{from{background-position:0 0}to{background-position:24px 0}}@media(prefers-reduced-motion:reduce){#rec-belt{animation:none}}
