#stage{user-select:none;-webkit-user-select:none}.handheld{display:none;background:linear-gradient(145deg,#e9e6d8,#d8d6c5);border-top:1px solid #bcb9a5;padding:13px 17px 12px;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.handheld button{touch-action:none;-webkit-touch-callout:none}.handheld-heading{display:flex;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:1.1px;color:#656451}.handheld-heading>span{display:flex;align-items:center;gap:6px}.handheld-heading i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#799568;box-shadow:0 0 5px #84996a}.handheld-heading b{font-size:9px;color:var(--green);letter-spacing:.3px;font-variant-numeric:tabular-nums}.handheld-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0 8px;max-width:620px;margin-left:auto;margin-right:auto}.dpad{width:132px;height:132px;display:grid;grid-template-columns:repeat(3,44px);grid-template-rows:repeat(3,44px);filter:drop-shadow(0 4px 0 #9d9d91)}.dpad button,.dpad-center{display:grid;place-items:center;background:#41463e;color:#a6ab98;font-size:13px;border:1px solid #333a32}.dpad button{width:44px;height:44px}.dpad button.held{background:#29352b;color:#f4e6aa;transform:translateY(2px)}.dpad-up{grid-column:2;grid-row:1;border-radius:6px 6px 0 0}.dpad-left{grid-column:1;grid-row:2;border-radius:6px 0 0 6px}.dpad-center{grid-column:2;grid-row:2;border:0!important;color:#323b33!important;font-size:21px;box-shadow:inset 0 2px 4px #1c271c55}.dpad-right{grid-column:3;grid-row:2;border-radius:0 6px 6px 0}.dpad-down{grid-column:2;grid-row:3;border-radius:0 0 6px 6px}.handheld-middle{text-align:center;min-width:66px;color:#727262}.handheld-middle>span{font-size:7px;letter-spacing:.5px;line-height:1.8}.system-buttons{display:flex;justify-content:center;gap:12px;margin-top:17px}.system-buttons button{font-size:6px;letter-spacing:.6px;background:transparent;padding:0;min-width:30px;min-height:40px}.system-buttons i{display:block;width:29px;height:10px;border-radius:7px;background:#7e8274;box-shadow:0 3px 0 #b1b3a2;margin:0 auto 8px;transform:rotate(-14deg)}.speaker-grille{display:flex;gap:4px;justify-content:center;margin-top:8px;transform:rotate(-14deg)}.speaker-grille i{width:4px;height:15px;background:#b3b5a5;border-radius:2px}.ab-buttons{display:flex;gap:11px;align-items:center;min-width:105px;transform:rotate(-15deg)}.ab-buttons button{background:transparent;padding:0;display:flex;flex-direction:column;gap:9px;align-items:center;transform:rotate(15deg)}.ab-buttons button>span{width:47px;height:47px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#a45053,#803341);border:2px solid #742e39;box-shadow:0 4px 0 #b2a69c,inset 0 2px 2px #f89a7944;color:#f2d5c9;font-weight:bold;font-size:20px}.ab-buttons button:disabled{opacity:.45}.ab-buttons small{font-size:6px;letter-spacing:.7px;color:#606657;font-weight:bold}.handheld-note{text-align:center;font-size:7px;color:#7c7b67;letter-spacing:.2px}.keyboard-controls>small{display:block;font-size:7px;line-height:1.7;color:#87917b;margin-top:9px}.game-shell:fullscreen{display:flex;flex-direction:column;justify-content:space-between;width:100vw;height:100svh;border:0;border-radius:0;background:#e6e7d8}.game-shell:fullscreen .hud,.game-shell:fullscreen .game-bottom{flex-shrink:0}.game-shell:fullscreen .canvas-wrap{width:min(100vw,calc((100svh - 131px)*16/9));aspect-ratio:16/9;margin:auto;flex-shrink:0}
@media(pointer:coarse),(max-width:860px){.handheld{display:block}.game-shell:fullscreen .canvas-wrap{width:min(100vw,calc((100svh - 332px)*16/9))}}
@media(max-width:540px){.handheld{padding:12px}.handheld-controls{gap:6px}.handheld-heading{font-size:6px}.handheld-heading b{font-size:8px}.handheld-middle{min-width:54px}.system-buttons{gap:6px}.ab-buttons{min-width:96px;gap:8px}.ab-buttons button>span{height:44px;width:44px}.handheld-note{font-size:6px}.speaker-grille{display:none}.intro-copy h2{font-size:31px;line-height:1.03}.intro-copy p{margin-bottom:9px}.intro-copy>small{margin-top:7px}.intro-copy>small.creator-credit{font-size:7px;letter-spacing:0;line-height:1.3;margin-top:5px}}
@media(max-height:560px) and (orientation:landscape) and (max-width:1000px){.app{padding:0 10px}.topbar{height:38px}.heading{display:none}.game-layout{display:block;margin-top:8px}.sidebar{display:none}.game-shell{display:grid;grid-template-columns:minmax(0,1fr) 236px;grid-template-rows:43px auto 44px;border-radius:10px}.hud{grid-column:1;grid-row:1;height:43px}.canvas-wrap{grid-column:1;grid-row:2;aspect-ratio:16/9;width:min(100%,calc((100svh - 141px)*16/9));margin:0 auto}.game-bottom{grid-column:1;grid-row:3;height:44px}.handheld{grid-column:2;grid-row:1/4;padding:13px 10px;border-top:0;border-left:1px solid #bcb9a5;display:flex;flex-direction:column;justify-content:center}.handheld-controls{display:grid;grid-template-columns:132px 76px;gap:7px;margin:15px auto 7px}.ab-buttons{min-width:0;display:flex;flex-direction:column;gap:9px;transform:rotate(-12deg)}.ab-buttons button{gap:5px;transform:rotate(12deg)}.ab-buttons button>span{height:43px;width:43px;font-size:17px}.handheld-middle{grid-column:1/-1;grid-row:2;display:flex;justify-content:space-between;align-items:center;margin-top:10px}.handheld-middle>span{font-size:6px;text-align:left}.system-buttons{margin:0;gap:20px}.speaker-grille{display:none}.handheld-note{font-size:6px;line-height:1.8}.levels-section{padding-top:18px}.intro-copy h2{font-size:32px}.intro-copy p{font-size:9px}.intro-kicker{font-size:5px;margin-bottom:10px}.intro-copy .primary{min-width:135px;padding:9px;font-size:9px}.intro-copy>small{font-size:5px;margin-top:10px}.intro-copy>small.creator-credit{font-size:6px}.hero-tag{font-size:5px;padding:5px 7px}.hero-tag b{font-size:7px}.game-shell:fullscreen{display:grid;grid-template-columns:minmax(0,1fr) 236px;grid-template-rows:43px auto 44px}.game-shell:fullscreen .canvas-wrap{width:min(100%,calc((100svh - 87px)*16/9));margin:auto}.status{font-size:8px}}
