.pogo-game{max-width:1120px;margin:2rem auto;padding:clamp(14px,3vw,28px);border:1px solid #a7cabb2b;border-radius:22px;--world:#62e8c5}
.pogo-heading h2{font-size:clamp(2.2rem,6vw,4.6rem);letter-spacing:-.045em;margin:.4rem 0}.pogo-heading p{max-width:620px;color:#b6cfc5;font-size:.95rem;line-height:1.6}
.pogo-stage{width:100%;margin:18px auto 0}.pogo-stage canvas{display:block;width:100%;height:auto;aspect-ratio:auto;touch-action:none;user-select:none;-webkit-user-select:none}.pogo-stage .runner-screen{min-height:0}
.pogo-game .runner-overlay{padding:clamp(12px,3vw,28px);gap:10px}.pogo-game .runner-overlay h3{font-size:clamp(1.5rem,4vw,2.6rem);line-height:1.1;margin:0}.pogo-game .runner-overlay p{font-size:.86rem;line-height:1.55;max-width:440px;margin:0}.pogo-game .runner-overlay .eyebrow{font-size:9px}
.pogo-overlay-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;max-width:100%}.pogo-game .pogo-change-keys{background:#b8e1cd12;border:1px solid #b8e1cd66;color:#e1efe6}.pogo-game .pogo-change-keys:focus-visible{outline:3px solid #f3dd9f;outline-offset:2px}
.pogo-pads{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:'move actions' 'move skills';grid-template-rows:56px 44px;gap:8px 20px;padding:10px;flex:0 0 auto;border-top:1px solid #b8d2bb26;background:#0a1b23;touch-action:none;user-select:none;-webkit-user-select:none}
.pogo-movement{grid-area:move;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:56px 44px;gap:8px}.pogo-primary-actions{grid-area:actions;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pogo-skill-actions{grid-area:skills;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pogo-pads button{min-width:44px;min-height:44px;padding:7px 4px;border:1px solid #a7cabb50;border-radius:12px;color:#e0eee2;background:#c7e5ce0b;font:600 12px/1.2 'DM Sans',sans-serif;touch-action:none;cursor:pointer}.pogo-primary-actions button,.pogo-movement [data-pogo-input=left],.pogo-movement [data-pogo-input=right]{min-height:56px}.pogo-movement [data-pogo-input=left],.pogo-movement [data-pogo-input=right]{font-size:25px}.pogo-primary-actions [data-pogo-input=jump]{background:#1b304a;border-color:#7cadd6;color:#e1f0ff}.pogo-primary-actions [data-pogo-input=attack]{background:#27432a;border-color:#9fce8f;color:#edffdb}.pogo-pads button:active,.pogo-pads button[aria-pressed=true]{background:#b9e1bb2b;border-color:#d4edbb}.pogo-pads button:disabled{opacity:.4;cursor:default}.pogo-pads [hidden],.pogo-combat[hidden],.pogo-announcement[hidden]{display:none!important}.pogo-pads button:focus-visible,.pogo-stage canvas:focus-visible{outline:3px solid #e9dd9c;outline-offset:-3px}
.pogo-movement [data-pogo-input=down]{display:none}.pogo-movement [data-pogo-input=duck]{grid-column:1/-1}
/* The canvas announces skills above the rider. Keep the spoken announcement
   and detailed meters available without moving the player's thumb targets. */
@media(pointer:coarse){.pogo-game :is(.pogo-announcement,.pogo-combat):not([hidden]){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}}
.pogo-game:is(:fullscreen,.game-fullscreen) .solo-character-picker{display:none!important}
.pogo-game .runner-controls:empty{display:none}
@media(orientation:landscape) and (max-height:500px) and (min-width:620px){.pogo-pads{grid-template-columns:minmax(168px,1fr) 120px minmax(112px,1fr);grid-template-areas:'move skills actions';grid-template-rows:56px}.pogo-movement{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:56px}.pogo-movement [data-pogo-input=duck]{grid-column:auto}.pogo-movement [data-pogo-input=down]{display:none}.pogo-skill-actions button{font-size:10px}}
.pogo-status{min-height:2.8em;font-size:.84rem;line-height:1.5;color:#c4dacc;text-align:center}.pogo-footer{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font:11px/1.5 ui-monospace,monospace;color:#aac7ba}.pogo-footer a{margin-left:auto}.pogo-help{color:#94b4a8;font-size:.78rem;line-height:1.6;margin:16px 0 0}
.pogo-game:is(:fullscreen,.game-fullscreen){box-sizing:border-box;width:100%;max-width:none;height:100dvh;margin:0;border:0;border-radius:0;overflow:hidden;display:flex;flex-direction:column;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))}
.pogo-game.game-fullscreen{position:fixed;inset:0;z-index:10000}.pogo-game:is(:fullscreen,.game-fullscreen) :is(.pogo-heading,.runner-account,.arcade-rank-guide,.pogo-status,.pogo-footer,.pogo-help,.community-scores){display:none!important}.pogo-game:is(:fullscreen,.game-fullscreen) .pogo-stage{margin:0;flex:1;min-height:0;display:flex;flex-direction:column}.pogo-game:is(:fullscreen,.game-fullscreen) .game-frame{width:100%;height:100%;min-height:0;display:flex;flex-direction:column}.pogo-game:is(:fullscreen,.game-fullscreen) .runner-screen{flex:1;min-height:0}.pogo-game:is(:fullscreen,.game-fullscreen) canvas{height:100%;width:100%}
@media(max-width:600px){.pogo-game{margin:1rem 7px;padding:10px}.pogo-heading p{font-size:.85rem}.pogo-pads{gap:8px 12px;padding:8px}.pogo-pads button{font-size:11px}.pogo-status{font-size:.77rem}.pogo-help{font-size:.72rem}}
@media(orientation:landscape) and (max-height:500px){.pogo-game .runner-overlay{padding:9px 16px;gap:6px;justify-content:center;overflow:auto}.pogo-game .runner-overlay .eyebrow{display:none}.pogo-game .runner-overlay h3{font-size:21px}.pogo-game .runner-overlay p{font-size:11px;line-height:1.35;max-width:480px}.pogo-game .runner-overlay .pill{min-height:44px;padding:6px 16px;font-size:11px}.pogo-game:is(:fullscreen,.game-fullscreen) .pogo-pads{padding:4px max(8px,env(safe-area-inset-right)) 4px max(8px,env(safe-area-inset-left))}}
@media(prefers-reduced-motion:reduce){.pogo-game *{animation:none!important;transition:none!important}}

.pogo-input-settings{border-top:1px solid #9bb9ad40;margin-top:16px;padding-top:12px}.pogo-input-settings h3{font-size:1rem}.pogo-input-settings p{font-size:.8rem;line-height:1.5}.pogo-binding-grid{display:grid;grid-template-columns:1fr minmax(78px,110px);align-items:center;gap:8px}.pogo-binding-grid label{font-size:.85rem}.pogo-binding-grid button,.pogo-input-settings>button{min-height:42px;border:1px solid #9dbfa960;border-radius:8px;color:#e3efe6;background:#c4e4ce15;padding:8px;cursor:pointer}.pogo-binding-grid button[aria-pressed=true]{outline:2px solid #f3dd9f}.pogo-binding-grid button:focus-visible{outline:3px solid #f3dd9f;outline-offset:2px}

.pogo-combat{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:30px;flex:0 0 auto;padding:5px 10px;background:#0a1920;color:#b9d4cd;font:10px/1.3 ui-monospace,monospace;order:3}.pogo-combat label{display:flex;align-items:center;gap:8px}.pogo-combat progress{width:clamp(45px,12vw,130px);height:8px;accent-color:#74dfbd}.pogo-combat progress[data-ready=true]{accent-color:#ffe094}.pogo-pads [data-ready=true]{border-color:#ffe094;color:#ffe094;background:#e2bc4522}
.pogo-announcement{flex:0 0 auto;padding:9px 14px;border-top:1px solid #e9d58d70;background:#1d3028;color:#fff0b9;text-align:center;font:600 12px/1.45 'DM Sans',sans-serif;order:4;box-sizing:border-box}.pogo-game .game-frame{position:relative}.pogo-game .runner-screen{order:1}.pogo-pads{order:2}.pogo-game #pogo-unlocks{max-width:100%;font-size:9px}
@media(max-width:600px){.pogo-combat{font-size:9px;padding:5px 7px;gap:5px}.pogo-combat label{gap:4px}.pogo-announcement{font-size:10px;padding:6px 8px}}
@media(orientation:landscape) and (max-height:500px){.pogo-combat{min-height:22px;padding:3px 8px}.pogo-announcement{font-size:10px;padding:3px 8px}}
@media(max-width:420px){.pogo-combat{flex-wrap:wrap}.pogo-combat label{margin-left:auto}}
@media(max-width:600px){.pogo-game .game-statusbar{display:grid!important;grid-template-columns:auto 1fr auto;grid-template-rows:20px 16px 16px;gap:2px 8px}.pogo-game .game-statusbar>span:first-child{grid-column:1;grid-row:1;max-width:100%}.pogo-game #pogo-lives{grid-column:2;grid-row:1;text-align:center}.pogo-game .arcade-current-rank{grid-column:3;grid-row:1}.pogo-game #pogo-course{grid-column:1/-1;grid-row:2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pogo-game #pogo-unlocks{grid-column:1/-1;grid-row:3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pogo-game .game-statusbar .game-pace{display:none}}
.pogo-game .runner-overlay{background:#0b1b1af5;color:#edf5ef}.pogo-game .runner-overlay p{color:#d6e4dd}
