:root{--accent:#566849}.game-intro h1{font-size:clamp(43px,5vw,64px)}.warehouse-stamp{display:inline-block;border:2px solid #af6147;color:#af6147;font:11px/1.15 ui-monospace,monospace;letter-spacing:.15em;transform:rotate(-7deg);padding:12px 13px;margin-top:25px}.warehouse-stamp b{font-size:15px;font-weight:500}.level-picker{gap:8px;flex-shrink:0;min-width:82px}.level-picker span:first-child{font:22px var(--serif)}.level-picker span:last-child{font-size:10px;color:var(--muted)}.warehouse-card{padding:18px;background:#e7e1d2;border:1px solid #c7c3b5;border-radius:3px;box-shadow:0 3px 0 #d5cfbf}.warehouse-label{display:flex;justify-content:space-between;gap:10px;padding:0 0 13px;color:#776e5d;font:10px/1.5 ui-monospace,monospace;letter-spacing:.07em}.warehouse-board{width:100%;display:grid;position:relative;grid-template-columns:repeat(var(--cols,7),1fr);border:1px solid #958e7f;background:#e0d6c4;user-select:none;touch-action:manipulation}.cell{aspect-ratio:1;position:relative;min-width:0;overflow:hidden;display:flex;align-items:center;justify-content:center;border-right:1px solid #d6ccba;border-bottom:1px solid #d6ccba;background:#f0e9da}.cell.wall{background:#8f9481;border-color:#777e69;box-shadow:inset 0 2px 0 #a1a58f,inset 0 -3px 0 #7e866f}.cell.wall::before{content:'';position:absolute;width:100%;height:50%;border-top:1px solid #a5a890;border-bottom:1px solid #7f846e;top:40%}.cell.wall::after{content:'';position:absolute;width:1px;height:45%;top:0;left:40%;background:#a6aa94;box-shadow:13px 28px #a6aa94}.cell.goal::before{content:'';position:absolute;inset:16%;border:2px dashed #a28a63;border-radius:50%}.cell.goal::after{content:'+';position:absolute;color:#a28a63;font:20px var(--serif)}.crate{position:absolute;inset:10%;z-index:2;border:2px solid #8a5e3d;border-radius:2px;background:#c99962;box-shadow:inset 0 0 0 2px #e0b880,0 3px 0 #89664855}.crate::before,.crate::after{content:'';position:absolute;left:10%;right:10%;height:3px;top:calc(50% - 1.5px);background:#a97648;transform:rotate(45deg);box-shadow:0 1px 0 #e3b97e}.crate::after{transform:rotate(-45deg)}.crate.stored{background:#879878;border-color:#4e6546;box-shadow:inset 0 0 0 2px #a7b899,0 3px 0 #5b6d4655}.crate.stored::before,.crate.stored::after{background:#58764d;box-shadow:0 1px 0 #b0c39d}.worker{position:absolute;inset:11%;z-index:3;border-radius:50%;background:#ebe0c6;box-shadow:0 2px 0 #786d4c3d}.worker::before{content:'';position:absolute;width:42%;height:38%;left:29%;top:8%;background:#e2b890;border-radius:50%;border-top:5px solid #535f70;box-shadow:0 1px 0 #b88e67}.worker::after{content:'';position:absolute;width:58%;height:37%;bottom:12%;left:21%;border-radius:45% 45% 20% 20%;background:#af6147;border:1px solid #954c38}.worker .eyes{position:absolute;top:33%;left:40%;width:2px;height:2px;border-radius:50%;background:#393833;box-shadow:6px 0 #393833;z-index:2}.warehouse-inventory{display:flex;justify-content:space-between;gap:8px;margin-top:14px;font-size:10px;color:#776e5d}.warehouse-inventory b{color:var(--ink);font-weight:550;font-variant-numeric:tabular-nums}.warehouse-inventory>span:first-child b{margin-left:6px}.status-line{margin:13px 0 10px;min-height:43px;display:flex;align-items:center}.status-line.warning{color:#a1543e}.warehouse-controls{display:flex;align-items:center;justify-content:space-between;padding:0 12px 0 0;gap:16px}.side-controls{display:flex;flex-direction:column;gap:8px;min-width:118px}.direction-pad{display:grid;grid-template-columns:repeat(3,48px);grid-template-rows:repeat(3,44px);gap:3px}.direction-pad button{border:1px solid #c6ccbc;background:#e4e8dc;font:24px var(--serif);border-radius:3px;min-width:44px;min-height:44px;box-shadow:0 2px 0 #bbc2ae}.direction-pad button:active{transform:translateY(2px);box-shadow:none;background:#d6ddcb}.direction-pad button[data-dir=up]{grid-area:1/2}.direction-pad button[data-dir=left]{grid-area:2/1}.direction-pad button[data-dir=right]{grid-area:2/3}.direction-pad button[data-dir=down]{grid-area:3/2}.direction-pad span{grid-area:2/2;place-self:center;font:8px ui-monospace,monospace;letter-spacing:.12em;color:#8b9180}.progress-note{display:flex;justify-content:space-between;margin-top:23px;padding-top:15px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);gap:12px}.completion{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 0;border-top:1px solid #a9b399;border-bottom:1px solid #a9b399;margin-bottom:18px}.completion h3{font-weight:500;letter-spacing:-.5px;font-size:19px;margin:6px 0}.completion p{font-size:11px;line-height:1.7;color:var(--muted);margin:0}.completion button{flex-shrink:0}.level-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:24px}.level-list button{display:flex;align-items:center;text-align:left;gap:10px;min-height:67px;padding:11px;border:1px solid var(--line);background:#f8f5ee}.level-list button.current{border-color:#657655;box-shadow:inset 0 0 0 1px #657655}.level-list .level-digit{font:23px var(--serif);color:#8b907e}.level-list .level-name{font-size:11px;line-height:1.5}.level-list small{display:block;font-size:9px;margin-top:4px;color:#607250}.level-list button.solved .level-digit{color:#4f6c43}.level-list button:hover{background:#e8eddf}.cell.bump{animation:bump .2s}.cell.player-cell{cursor:pointer}@keyframes bump{50%{filter:brightness(.87)}}
@media(max-width:700px){.game-intro h1{font-size:35px}.warehouse-card{padding:13px}.warehouse-label{font-size:9px;padding-bottom:10px}.warehouse-controls{padding-right:10px}.warehouse-inventory{font-size:9px;letter-spacing:-.15px}.warehouse-inventory>span:first-child b{margin-left:3px}.status-line{font-size:11px;min-height:36px;margin-bottom:6px}.progress-note{margin-top:18px}.warehouse-board{max-width:410px;margin:auto}.warehouse-card{max-width:440px;margin:auto}.game-intro .tagline br{display:none}.completion h3{font-size:16px}.completion .primary-button{padding:9px;font-size:11px}}
@media(max-width:360px){.warehouse-card{padding:10px}.game-intro h1{font-size:30px}.warehouse-inventory{font-size:8px}.warehouse-controls{padding:0;gap:8px}.direction-pad{grid-template-columns:repeat(3,44px)}.side-controls{min-width:110px}.progress-note{font-size:9px}.level-list{gap:6px}.level-list button{padding:9px 7px;gap:7px}.level-list .level-name{font-size:10px}.header-note{display:none}.completion{gap:10px}}
@media(max-height:550px) and (min-width:701px){.game-layout{padding-top:24px;grid-template-columns:minmax(200px,1fr) minmax(0,400px)}.game-intro .rules{margin-top:18px}.warehouse-stamp{display:none}.game-intro h1{font-size:45px}.warehouse-controls{justify-content:space-evenly}.warehouse-board{max-width:320px}.warehouse-card{max-width:352px;margin:auto}}
@media(max-height:700px) and (max-width:700px){.game-header{min-height:48px}.game-layout{padding-top:12px}.game-intro{margin-bottom:8px}.game-intro .eyebrow,.game-intro .tagline{display:none}.game-intro h1{font-size:27px;margin:0}.stage-bar{min-height:45px;margin-bottom:7px}.stage-bar h2{font-size:14px}.stage-bar p{font-size:10px}.warehouse-card{max-width:234px;padding:8px}.warehouse-label{font-size:8px;padding-bottom:6px}.warehouse-inventory{font-size:8px;letter-spacing:-.4px;margin-top:8px;gap:4px}.warehouse-inventory>span:first-child b{margin-left:0}.warehouse-board{max-width:216px}.status-line{min-height:25px;margin:8px 0 6px;font-size:10px}.direction-pad{grid-template-rows:repeat(2,44px)}.direction-pad button[data-dir=down]{grid-area:2/2}.direction-pad span{display:none}.warehouse-controls{justify-content:center;gap:27px;padding:0}.side-controls{gap:1px;min-width:106px}.progress-note{margin-top:13px;padding-top:10px}.completion{margin-bottom:12px;padding:12px 0}.worker .eyes{box-shadow:4px 0 #393833}.worker::before{border-top-width:4px}}
