:root{color:#f4f8ff;font-synthesis:none;text-rendering:optimizelegibility;background:#101d2b;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}body{background:#101d2b}button,input,select{font:inherit}.host-shell{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:1rem;width:min(100%,92rem);min-height:100vh;margin-inline:auto;padding:clamp(1rem,3vw,2.5rem);display:grid}.host-shell--empty{flex-direction:column;justify-content:center;align-items:center;display:flex}.host-shell--empty>h1,.host-shell--empty>button{text-align:center;width:min(100%,34rem)}.host-shell>h1{color:#f4f8ff;letter-spacing:-.04em;grid-column:1/-1;margin:0 0 .25rem;font-size:clamp(1.6rem,3vw,2.25rem)}.host-shell h2{margin:0 0 .75rem;font-size:clamp(1.35rem,2vw,1.7rem)}.host-shell p{line-height:1.5}.host-card{background:#192d41;border:1px solid #39536b;border-radius:1rem;min-width:0;margin:0;padding:clamp(1rem,2vw,1.5rem);box-shadow:0 .3rem 1.2rem #192e440d}.host-join-card{align-content:start;justify-items:start;gap:.35rem;display:grid}.host-join-card p{color:#b7c9da;margin:0 0 .25rem}.host-join-card output{color:#a6f3d4;letter-spacing:.1em;line-height:1.1;display:block;font-size:clamp(2.6rem,7vw,4rem)!important}.host-join-card [role=img]{background:#fff;border:1px solid #39536b;border-radius:.75rem;place-items:center;padding:.7rem;display:grid}.host-run-card>p{margin:.5rem 0}.host-run-card label{margin-block:1rem .4rem;font-weight:650;display:block}.host-run-card select{color:#f4f8ff;background:#192d41;border:1px solid #7591aa;border-radius:.65rem;width:100%;min-height:3rem;padding:.55rem .75rem}.host-shell button{color:#fff;cursor:pointer;background:#246bb9;border:1px solid #225ea8;border-radius:.65rem;min-height:3.5rem;padding:.8rem 1.3rem;font-weight:700}.host-shell button:hover:not(:disabled){background:#195795}.host-shell button:active:not(:disabled){background:#124579}.host-shell button:disabled{color:#b7c9da;cursor:not-allowed;background:#dce3e9;border-color:#9aa8b6}.host-shell button:focus-visible,.host-shell select:focus-visible{outline-offset:3px;outline:3px solid #2878d0}.host-run-status{background:#243a50;border-left:4px solid #68798a;border-radius:.35rem;padding:.75rem .9rem;font-weight:700}.host-run-card>button+button{margin-left:.6rem}.host-players-card ul{gap:.65rem;margin:0;padding:0;list-style:none;display:grid}.host-player-row{background:#142539;border:1px solid #39536b;border-radius:.7rem;flex-wrap:wrap;align-items:center;gap:.45rem;min-width:0;padding:.7rem .75rem;display:flex}.host-player-name{align-items:center;gap:.65rem;min-width:0;max-width:100%;margin-right:auto;font-weight:700;display:flex}.host-player-name>span:last-child{overflow-wrap:anywhere;min-width:0}.player-avatar{vertical-align:middle;flex:none;width:2.5rem;height:2.5rem;display:inline-flex}.player-avatar svg{width:100%;height:100%}.host-state-chip{border:1px solid #0000;border-radius:999px;align-items:center;min-height:1.7rem;padding:.16rem .55rem;font-size:1rem;font-weight:700;display:inline-flex}.host-state-chip--connected,.host-state-chip--ready{color:#145b43;background:#e7f5ef;border-color:#9dcdbd}.host-state-chip--disconnected,.host-state-chip--unready{color:#465667;background:#edf1f4;border-color:#d5dce3}.host-player-row small{color:#596a7b;overflow-wrap:anywhere;width:100%}.host-game-stage{background:#101d2b;border:1px solid #263c53;border-radius:1rem;grid-column:1/-1;min-width:0;overflow:hidden;box-shadow:0 .6rem 1.8rem #101d2b29}.host-game-stage canvas{max-width:100%;height:auto;display:block}.host-game-stage>svg{aspect-ratio:16/9;width:100%;height:auto;display:block}.host-game-stage .platformer-canvas-frame{aspect-ratio:16/9;width:100%;position:relative;overflow:hidden}.host-game-stage .platformer-canvas-frame canvas{width:100%;height:100%}.host-game-stage button:focus-visible{outline-offset:3px;outline:3px solid #72b8ff}@media (width<=48rem){.host-shell{grid-template-columns:minmax(0,1fr)}.host-shell>h1,.host-game-stage{grid-column:1}.host-run-card>button+button{margin:.65rem 0 0}}.host-shell [hidden]{display:none!important}.host-shell{font-size:clamp(1rem,1.35vw,1.35rem)}.host-shell button:focus,.host-shell select:focus,.host-level-selector:focus{outline-offset:5px;outline:5px solid #ffe086;box-shadow:0 0 0 9px #101d2b}.host-shell--playing{flex-direction:column;justify-content:center;width:100%;padding:clamp(1rem,1.5vw,1.5rem);display:flex}.host-shell--playing>h1{display:none}.host-shell:fullscreen{background:#101d2b;width:100%;height:100%;overflow-y:auto}.host-game-area{outline:none;grid-column:1/-1;width:100%}.host-game-actions{justify-content:flex-end;gap:1rem;margin-bottom:.8rem;display:flex}.host-game-actions button{background:#243a50;font-size:1rem}.host-game-stage{width:min(100%,177.778dvh - 32rem);margin-inline:auto}.host-game-stage[data-layout=wide]{width:100%}.platformer-toolbar{color:#f4f8ff;padding:.8rem 1rem}.platformer-status{margin-left:auto;font-size:1rem}.platformer-status:empty{display:none}.host-level-selector{text-align:center;background:#142539;border:2px solid #6d9bc3;border-radius:1rem;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:1.25rem;margin-block:1.5rem;padding:1rem;display:grid}.host-level-selector h3{margin:.5rem 0;font-size:clamp(1.65rem,2.5vw,2.5rem)}.host-level-selector p{color:#b7c9da;margin:0}.host-level-selector button{min-width:4rem;min-height:4rem;font-size:2rem}.host-primary-action{width:100%;font-size:1.5rem;background:#19785c!important}.host-primary-action:disabled{color:#b7c9da;background:#364a5c!important}.host-victory{text-align:center;border:3px solid #24d2a2;grid-column:1/-1;align-self:center;padding:clamp(2rem,6vw,5rem)}.host-victory h2{font-size:clamp(2.5rem,5vw,4rem)}.host-victory-actions{flex-wrap:wrap;justify-content:center;gap:1.5rem;margin-block:2rem;display:flex}.host-victory-actions button{min-width:10rem;font-size:1.5rem}.host-victory-actions button:first-child{background:#19785c}.host-victory,.platformer-victory-overlay{animation:.18s ease-out platformer-completion-in}@keyframes platformer-completion-in{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.host-victory,.platformer-victory-overlay{animation:none}}@media (width<=48rem){.host-level-selector{gap:.5rem;padding:.75rem}.host-game-stage{width:100%}}.host-qr-card svg{width:clamp(10rem,12vw,14rem);height:auto;display:block}@media (width>=64rem){.host-shell--room{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.host-run-card{grid-area:2/1/4}.host-qr-card,.host-players-card{grid-column:2}}.host-join-details{flex-wrap:wrap;align-items:center;gap:1.25rem;display:flex}.host-join-details .host-room-code{font-size:clamp(2rem,3vw,3rem)!important}
