.cubus-game{--cubus-cyan:#56e0cf;--cubus-gold:#ffd166}.cubus-game [hidden]{display:none!important}.cubus-game .toolbar{align-items:center}.cubus-game .toolbar select{min-width:190px}.cubus-level{display:flex;align-items:center}.game-page .game-shell.cubus-game .toolbar{width:min(100%,860px)}.game-page .game-shell.cubus-game .cubus-status{grid-template-columns:repeat(3,minmax(0,1fr));width:min(100%,860px);margin:12px auto 0}.cubus-board{box-sizing:border-box;width:min(100%,800px);margin:18px auto 0;padding:clamp(14px,3vw,26px);border:1px solid #5b708d;border-radius:22px;background:radial-gradient(ellipse at 50% 0,#24436a88,transparent 55%),linear-gradient(145deg,#17253a,#101827 58%,#231d3e);box-shadow:0 10px #0a1323,0 18px 40px #02081766;color:#f7fbff}.cubus-status-copy{min-height:24px;margin:0 0 8px;color:#d6e5f7;text-align:center;font-weight:750}.cubus-view{margin:0 auto 12px;width:min(100%,460px);touch-action:none;user-select:none;cursor:grab}.cubus-view:active{cursor:grabbing}.cubus-view canvas{display:block;width:100%;height:clamp(300px,100vw,420px);min-height:250px;max-height:420px;border-radius:18px;background:radial-gradient(ellipse at 50% 45%,#203450,#121d2f 67%,#101827);touch-action:none}.cubus-view figcaption{margin-top:32px;color:#aebed4;text-align:center;font-size:12px}.cubus-game button:focus-visible{outline:3px solid #ffd166;outline-offset:3px}.cubus-actions{display:grid;justify-items:center;gap:7px;margin:15px auto 0}.cubus-start{border:1px solid #83e8d7!important;border-radius:12px!important;background:linear-gradient(110deg,#159b9c,#3174c9 58%,#7954ca)!important;color:#fff!important;box-shadow:0 5px #18385a,0 9px 20px #02081766!important;font-weight:850}.cubus-result{margin:0;color:#a7f3d0;text-align:center;font-weight:800}.cubus-game[data-demo=true] .cubus-board{margin-top:0;padding:12px;border-radius:16px}.cubus-game[data-demo=true] .cubus-view canvas{min-height:215px;max-height:275px}@media(max-width:560px){.game-page .game-shell.cubus-game:not([data-demo=true]) .toolbar{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:7px}.game-page .game-shell.cubus-game .toolbar select{grid-column:1/-1;width:100%;max-width:none;min-width:0}.game-page .game-shell.cubus-game .toolbar>button:not(#submit){width:100%;max-width:none;min-width:0}.game-page .game-shell.cubus-game .toolbar>[data-cubus-reset]{grid-column:1}.game-page .game-shell.cubus-game .toolbar>.game-sound-toggle{grid-column:2}.game-page .game-shell.cubus-game .toolbar>.stats-button{grid-column:1/-1;justify-self:center;width:min(100%,220px)}.cubus-board{padding:13px;border-radius:17px}.cubus-view canvas{min-height:225px}}.cubus-demo[data-astro-cid-dxlwifuy]{margin:32px 0;padding:0 0 20px}.cubus-demo-toggle[data-astro-cid-dxlwifuy]{display:block;width:fit-content;max-width:100%;margin:20px auto 0;padding:10px 16px;border:1px solid #46617f;border-radius:8px;background:#142137;color:#f7fbff;font:inherit;font-weight:700;text-align:center;cursor:pointer}.cubus-demo-toggle[data-astro-cid-dxlwifuy]:hover{border-color:#56e0cf;background:#1a2b43}.cubus-demo-toggle[data-astro-cid-dxlwifuy]:focus-visible{outline:3px solid #ffd166;outline-offset:3px}.cubus-demo[data-astro-cid-dxlwifuy] [data-astro-cid-dxlwifuy][data-cubus-demo-content]>h2[data-astro-cid-dxlwifuy]{text-align:center}.cubus-demo-stage[data-astro-cid-dxlwifuy]{width:min(100%,620px);margin:16px auto 0;padding:16px;border:1px solid #334c68;border-radius:16px;background:linear-gradient(145deg,#0e1b2d,#121b2c 62%,#1a1b37);box-shadow:0 14px 34px #02081755}.cubus-demo-canvas[data-astro-cid-dxlwifuy]{display:block;width:min(100%,480px);height:clamp(240px,58vw,360px);max-height:360px;margin:0 auto;border-radius:12px;background:radial-gradient(ellipse at 50% 45%,#203450,#121d2f 67%,#101827)}.cubus-demo-caption[data-astro-cid-dxlwifuy]{display:grid;gap:5px;min-height:56px;margin-top:8px;text-align:center}.cubus-demo-caption[data-astro-cid-dxlwifuy] span[data-astro-cid-dxlwifuy]{color:#8ca8c5;font-size:.78rem;font-weight:750}.cubus-demo-caption[data-astro-cid-dxlwifuy] strong[data-astro-cid-dxlwifuy]{color:#edf8ff;font-size:.98rem}.cubus-demo-progress[data-astro-cid-dxlwifuy]{display:flex;justify-content:center;gap:8px;margin-top:8px}.cubus-demo-progress[data-astro-cid-dxlwifuy] span[data-astro-cid-dxlwifuy]{width:8px;height:8px;border-radius:50%;background:#51657c;transition:background .3s,transform .3s}.cubus-demo-progress[data-astro-cid-dxlwifuy] span[data-astro-cid-dxlwifuy].is-active{transform:scale(1.25);background:#56e0cf;box-shadow:0 0 10px #56e0cf88}.cubus-demo-progress[data-astro-cid-dxlwifuy] span[data-astro-cid-dxlwifuy].is-done{background:#a7f3d0}@media(max-width:560px){.cubus-demo-stage[data-astro-cid-dxlwifuy]{padding:10px}.cubus-demo-caption[data-astro-cid-dxlwifuy] strong[data-astro-cid-dxlwifuy]{font-size:.9rem}}
