:root{--ink:#f2f6ff;--muted:#a5b2d0;--bg:#101a35;--panel:#192641;--line:#ffffff17;--lime:#d6ff64;--blue:#72d9ff;--red:#ff8794;--green:#acfb73;--radius:24px;color-scheme:dark;font-family:'Trebuchet MS',Arial,sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);min-height:100dvh}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;border:0;cursor:pointer;transition:transform .15s,background .15s}button:hover:not(:disabled){transform:translateY(-2px)}button:active:not(:disabled){transform:translateY(1px)}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,#game-canvas:focus-visible{outline:3px solid var(--lime);outline-offset:4px}button[hidden],[hidden]{display:none!important}button,a{touch-action:manipulation}.stars{position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 72% 45%,#31426540,transparent 40%),radial-gradient(1px 1px at 12% 18%,#ffffff99 50%,transparent 100%),radial-gradient(2px 2px at 42% 33%,#ffffff55 50%,transparent 100%),radial-gradient(1px 1px at 85% 16%,#ffffffbb 50%,transparent 100%),radial-gradient(1px 1px at 15% 80%,#ffffff88 50%,transparent 100%);background-size:auto,233px 211px,417px 293px,331px 389px,509px 271px}
.topbar{height:88px;max-width:1380px;padding:0 52px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.wordmark{color:var(--ink);text-decoration:none;letter-spacing:1px;font-size:17px;font-weight:900;white-space:nowrap}.wordmark>span:not(.orbit){color:var(--lime)}.wordmark small{font-size:9px;letter-spacing:2px;margin-left:14px;color:var(--muted);vertical-align:middle}.orbit{color:var(--lime);font-size:26px;margin-right:10px}.top-actions{display:flex;align-items:center;gap:10px}.connection{font-size:11px;color:var(--muted);margin-right:12px}.connection.ready{color:var(--green)}.icon-button{border:1px solid var(--line);background:#ffffff08;min-width:44px;height:44px;border-radius:13px;font-size:22px}.quiet{padding:10px 16px;background:var(--lime);color:var(--bg);border-radius:12px;font-weight:bold}.screen{max-width:1240px;margin:0 auto;padding:44px 40px}.home-screen{display:grid;grid-template-columns:1fr 1fr;min-height:calc(100dvh - 88px);align-items:center;gap:20px 60px;padding-top:45px;padding-bottom:20px}.eyebrow{font-size:11px;font-weight:bold;letter-spacing:2.2px;color:var(--lime);margin:0 0 22px}.home-icon{width:142px;height:142px;object-fit:cover;border-radius:28px;display:block;margin:-4px 0 22px;box-shadow:0 18px 42px #0007}.game-logo{width:310px;max-width:80%;display:block;margin:-8px 0 12px;filter:drop-shadow(0 12px 16px #060d2433)}.game-title{font-size:clamp(48px,6vw,78px);line-height:.95;margin:-8px 0 18px;color:var(--lime);font-weight:900;text-transform:uppercase;text-shadow:0 10px 26px #060d2466}h1,h2,p{margin-top:0}h1{font-size:clamp(28px,3vw,42px);line-height:1.13;letter-spacing:-1.6px;margin-bottom:19px}.intro{max-width:410px;color:var(--muted);font-size:16px;line-height:1.75;margin-bottom:26px}.hero-actions{display:flex;gap:12px;align-items:center}.primary{background:var(--lime);color:#17251a;border-radius:15px;padding:17px 26px;font-weight:900;font-size:17px;box-shadow:0 4px 0 #8dab39;min-height:54px}.primary span{margin-left:25px}.secondary{border:1px solid #ffffff26;background:#ffffff06;padding:15px 20px;border-radius:14px;font-size:14px;font-weight:bold}.home-meta{display:flex;gap:29px;color:var(--muted);font-size:11px;margin-top:32px}.home-meta span{display:flex;gap:8px;align-items:baseline}.home-meta b{font-size:22px;color:var(--ink)}.hero-art{height:500px;position:relative;display:flex;align-items:center;justify-content:center}.planet{width:90%;max-height:380px;object-fit:contain;position:relative;filter:drop-shadow(0 25px 40px #0005);transform:rotate(-10deg)}.planet-halo{width:420px;height:420px;border:1px solid #bcd6ff20;position:absolute;border-radius:50%;box-shadow:0 0 0 48px #8fadf006,0 0 0 96px #8fadf003}.alien-sticker{position:absolute;bottom:2px;right:-12px;transform:rotate(12deg)}.alien-sticker img{width:180px;filter:drop-shadow(0 10px 0 #080d2360)}.mission-tag{position:absolute;top:36px;left:4px;transform:rotate(-6deg);border:1px solid #ffffff25;background:#233454;padding:13px 18px;border-radius:10px;font-size:10px;letter-spacing:1px;font-weight:bold;box-shadow:0 8px 30px #0003}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--lime);margin-right:8px}.orbit-note{position:absolute;bottom:36px;left:5px;font-size:9px;letter-spacing:2px;color:var(--muted)}.home-footer{grid-column:1/-1;display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:22px;color:var(--muted);font-size:11px;align-self:end}.text-button{background:none;color:var(--muted);padding:0;font-size:12px}
.section-heading,.level-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.section-heading .eyebrow{margin-bottom:12px}.section-heading h1{font-size:32px}.worlds{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin:20px 0 34px}.world-card{padding:15px 16px;text-align:left;position:relative;border:1px solid var(--line);border-radius:20px;background:linear-gradient(150deg,#263651,#17223c);overflow:hidden}.world-card.selected{border-color:var(--lime);box-shadow:0 0 0 1px var(--lime)}.world-card.locked{filter:saturate(.45);background:linear-gradient(150deg,#202a3c,#151c2e)}.world-card img{height:130px;width:100%;object-fit:contain;filter:drop-shadow(0 6px 10px #0004)}.world-card .lock-badge{display:none;position:absolute;inset:45px 0 auto;margin:auto;width:70px;height:70px;object-fit:contain;z-index:2;filter:drop-shadow(0 8px 15px #0008)}.world-card.locked .lock-badge{display:block}.world-card.locked>img:not(.lock-badge){opacity:.35}.world-card .world-number{position:absolute;top:15px;left:15px;font-size:10px;color:var(--muted);letter-spacing:1px}.world-card strong{display:block;font-size:15px;margin:9px 0 5px}.world-card small{color:var(--muted);font-size:11px}.level-heading{margin-bottom:18px}.level-heading .eyebrow{margin-bottom:7px}.level-heading h2{font-size:23px;margin:0}.level-heading>span{font-size:12px;color:var(--muted)}.levels{display:grid;grid-template-columns:repeat(9,1fr);gap:10px}.level-button{background:#1c2a46;border:1px solid var(--line);border-radius:16px;padding:17px 6px 12px;min-height:89px;position:relative;overflow:hidden}.level-button strong{font-size:23px;display:block}.level-button span{display:block;font-size:10px;color:#62708c;margin-top:8px}.level-button .medal{color:var(--lime)}.level-button.current{background:#d6ff6415;border-color:#d6ff6466}.level-lock{display:none;width:32px;height:32px;object-fit:contain;margin:2px auto 1px;filter:drop-shadow(0 4px 8px #0008)}.level-button.locked{background:#11192b;color:#70809d}.level-button.locked .level-lock{display:block}.level-button.locked strong{opacity:.35}.special-modes{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:28px}.mode-card{display:flex;align-items:center;text-align:left;padding:20px;border-radius:18px;background:#ffffff05;border:1px solid var(--line);gap:16px}.mode-card.locked{filter:saturate(.55);background:#11192b}.mode-card>span{font-size:35px;color:var(--lime)}.mode-lock{width:42px;height:42px;object-fit:contain;display:block;filter:drop-shadow(0 4px 9px #0008)}.mode-card strong,.mode-card small{display:block}.mode-card small{font-size:12px;line-height:1.5;color:var(--muted);margin-top:6px}.mode-card>b{margin-left:auto;color:var(--muted)}
.game-screen{padding:16px 24px 12px;max-width:1100px}.hud{display:flex;align-items:center;gap:18px;padding:0 2px 14px}.hud small{display:block;color:var(--muted);font-size:9px;letter-spacing:1.1px;margin-bottom:5px}.hud-level strong{color:#ff8293;font-size:18px;letter-spacing:3px}.hud-score{margin-left:auto}.hud-score strong{font-size:24px;font-variant-numeric:tabular-nums}.hud-progress{width:140px}.hud-progress small{text-align:right}progress{width:100%;height:6px;border:0;border-radius:8px;background:#ffffff19;display:block}progress::-webkit-progress-bar{background:#ffffff19;border-radius:8px}progress::-webkit-progress-value{background:var(--lime);border-radius:8px}progress::-moz-progress-bar{background:var(--lime)}.play-area{position:relative;width:100%;max-width:calc((100dvh - 225px)*1.3333);margin:auto;aspect-ratio:4/3;border-radius:19px;overflow:hidden;box-shadow:0 16px 60px #0005;background:#192641}#game-canvas{width:100%;height:100%;touch-action:none;outline-offset:-4px!important}canvas{display:block;touch-action:none}.game-bottom{display:flex;justify-content:space-between;gap:16px;padding-top:14px;font-size:11px;color:var(--muted)}#combo{color:var(--lime)}.loading{position:absolute;inset:0;background:#15223af2;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;z-index:2}.orientation-guard{position:fixed;inset:0;z-index:15;display:grid;place-items:center;padding:24px;background:#101a35f2;backdrop-filter:blur(10px);text-align:center}.orientation-guard>div{width:min(390px,100%);display:grid;justify-items:center;gap:12px}.orientation-guard h2{font-size:30px;margin:0}.orientation-guard p{color:var(--muted);margin:0 0 8px}.phone-turn{display:grid;place-items:center;width:76px;height:76px;border:2px solid #d6ff6480;border-radius:22px;color:var(--lime);font-size:46px;transform:rotate(-18deg)}.spinner{width:34px;height:34px;border:3px solid #ffffff20;border-top-color:var(--lime);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}dialog{border:1px solid #ffffff23;border-radius:26px;background:#192641;color:var(--ink);padding:0;width:min(520px,calc(100vw - 32px));max-height:90dvh;box-shadow:0 30px 100px #0009}dialog::backdrop{background:#070c1bba;backdrop-filter:blur(8px)}.modal-inner{padding:35px}.modal-inner h2{font-size:30px;letter-spacing:-1px;margin-bottom:12px}.modal-inner p{line-height:1.7;color:var(--muted);font-size:14px}.modal-inner .eyebrow{color:var(--lime);font-size:10px}.modal-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.modal-actions button{flex:1;white-space:nowrap}.help-steps{display:grid;gap:14px;margin:22px 0}.help-step{display:flex;gap:14px;align-items:center}.help-step b{display:grid;place-items:center;flex:none;width:33px;height:33px;border-radius:10px;background:#d6ff6415;color:var(--lime)}.help-step p{margin:0;font-size:13px}.key{font-family:monospace;color:var(--ink);background:#ffffff10;padding:2px 5px;border-radius:4px}.credits-version{color:var(--lime)!important;font-weight:bold}.social-links{display:flex;gap:10px;margin-top:18px}.social-links a{display:flex;align-items:center;gap:9px;padding:10px 13px;border:1px solid #ffffff25;border-radius:12px;color:var(--ink);text-decoration:none;background:#ffffff08;font-size:12px;font-weight:bold}.social-links img{width:30px;height:30px;object-fit:contain}.result-score{font-size:52px;color:var(--lime);font-weight:900;margin:15px 0 4px}.result-medal{height:105px;float:right;margin:4px 0 10px 15px}.result-stats{display:flex;gap:24px;font-size:12px;color:var(--muted)}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,16px);padding:13px 20px;background:#e2ff9b;color:#182320;border-radius:13px;box-shadow:0 7px 25px #0004;font-size:13px;opacity:0;pointer-events:none;z-index:20;transition:opacity .2s,transform .2s;max-width:90vw;text-align:center}#toast.visible{opacity:1;transform:translate(-50%,0)}body.playing .topbar{height:62px}body.playing .play-area{max-width:calc((100dvh - 193px)*1.3333)}body.playing .wordmark small{display:none}
@media(min-width:1450px){.home-screen{padding-top:70px}.game-logo{width:350px}.hero-art{height:560px}}
@media(max-width:800px){.topbar{padding:0 22px;height:70px}.wordmark small,.connection{display:none}.screen{padding:30px 22px}.home-screen{gap:20px;min-height:calc(100dvh - 70px)}.hero-art{height:350px}.planet-halo{width:250px;height:250px}.alien-sticker img{width:125px}.mission-tag{top:24px;font-size:8px;left:-10px;padding:10px}.orbit-note{display:none}.home-icon{width:118px;height:118px}.game-logo{width:250px}.game-title{font-size:52px}.eyebrow{font-size:9px;letter-spacing:1.5px}.intro{font-size:14px}.home-meta{gap:18px}.home-meta b{font-size:18px}.worlds{gap:10px}.world-card{padding:12px}.world-card img{height:95px}.world-card .lock-badge{width:58px;height:58px;top:34px}.world-card strong{font-size:12px}.world-card small{font-size:10px}.levels{grid-template-columns:repeat(5,1fr)}.game-screen{padding:12px}.hud{gap:10px}.hud-progress{width:100px}.game-bottom{font-size:10px}.section-heading h1{font-size:26px}}
@media(max-width:560px){.topbar{padding:0 16px;gap:6px;height:65px}.wordmark{font-size:13px;letter-spacing:.6px}.orbit{font-size:20px;margin-right:6px}.top-actions{gap:6px}.icon-button{min-width:38px;height:38px;font-size:19px}.quiet{padding:9px;font-size:11px}.home-screen{display:flex;flex-direction:column;align-items:stretch;padding:26px 24px 20px;gap:20px;min-height:calc(100dvh - 65px)}.hero-copy{z-index:1}.home-icon{width:104px;height:104px;margin:0 auto 16px}.game-logo{width:235px;margin:0 auto 12px}.game-title{text-align:center;font-size:42px;margin:0 auto 14px}.hero-copy>.eyebrow{text-align:center;font-size:8px;margin-bottom:12px}.hero-copy h1{text-align:center;font-size:29px}.intro{text-align:center;max-width:370px;margin:0 auto 23px}.hero-actions{justify-content:center}.hero-actions .primary{font-size:15px}.hero-art{display:none}.home-meta{justify-content:center;margin-top:30px;gap:24px}.home-footer{margin-top:auto;font-size:10px;gap:16px;padding-top:19px}.text-button{font-size:10px}.screen.selection-screen{padding:26px 18px}.section-heading{align-items:flex-start}.section-heading h1{font-size:25px;max-width:240px}.section-heading .secondary{padding:11px 13px}.worlds{grid-template-columns:repeat(2,1fr);margin-top:8px;margin-bottom:24px}.world-card img{height:95px}.world-card strong{font-size:14px}.levels{grid-template-columns:repeat(3,1fr)}.level-button{min-height:73px;padding:10px}.special-modes{grid-template-columns:1fr;gap:10px}.mode-card{padding:15px}.hud{gap:9px}.hud-level small{font-size:8px}.hud-level strong{font-size:12px;letter-spacing:1px}.hud-score strong{font-size:20px}.hud-progress{width:50px}.game-screen{padding:10px 8px}.game-bottom{padding:12px 6px;flex-direction:column;gap:6px}.play-area{border-radius:10px}.modal-inner{padding:27px}.modal-inner h2{font-size:27px}.social-links{flex-direction:column}.result-score{font-size:44px}body.playing .topbar{height:54px}}
@media(max-height:550px) and (orientation:landscape){body.playing .topbar{display:none}.game-screen{padding:5px 10px}.hud{position:absolute;top:12px;left:10px;width:125px;flex-wrap:wrap;padding:8px;background:#192641;border-radius:14px}.hud-score{margin-left:0}.hud-progress{width:100%}.hud-level{order:5}.play-area,body.playing .play-area{max-width:calc((100dvh - 12px)*1.3333)}.game-screen{max-width:none;padding-left:145px}.game-bottom{display:none}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.home-screen{grid-template-columns:minmax(0,760px);justify-content:center;gap:22px}.hero-copy{max-width:760px}.home-icon{width:clamp(86px,16vw,142px);height:auto;aspect-ratio:1/1;max-width:34vw}.world-card.locked,.mode-card.locked{filter:none;background:linear-gradient(150deg,#202a3c,#121a2c)}.world-card .lock-badge{width:82px;height:82px;padding:13px;border-radius:50%;background:#0d1830d9;box-shadow:0 10px 28px #0008,0 0 0 1px #d6ff6445;filter:drop-shadow(0 10px 15px #000a)}.world-card.locked .lock-badge{display:block}.world-card.locked>img:not(.lock-badge){opacity:.26}.level-button.locked{background:#11192b;border-color:#d6ff6438;color:#9aa9c7}.level-button.locked .level-lock{width:42px;height:42px;margin:0 auto 3px;opacity:1;filter:drop-shadow(0 6px 10px #000b)}.level-button.locked strong{opacity:.22}.mode-card.locked .mode-lock{background:#0d1830d9;border-radius:50%;padding:9px;box-shadow:0 0 0 1px #d6ff6445}@media(max-width:800px){.home-screen{grid-template-columns:minmax(0,680px)}.home-icon{width:clamp(82px,18vw,118px);height:auto}}@media(max-width:560px){.home-icon{width:clamp(76px,28vw,104px);height:auto;max-width:30vw}.home-screen{align-items:center}.hero-copy{width:100%;max-width:410px}}
.game-title-graphic{display:block;width:min(760px,100%);height:auto;margin:-4px 0 20px;filter:drop-shadow(0 16px 28px #060d2480)}@media(max-width:800px){.game-title-graphic{width:min(640px,100%);margin:0 0 18px}}@media(max-width:560px){.game-title-graphic{width:100%;max-width:430px;margin:0 auto 16px}.hero-copy>.eyebrow{margin-bottom:8px}}
.sprite-button{appearance:none;border:0;background:transparent;padding:0;line-height:0;display:inline-grid;place-items:center;filter:drop-shadow(0 12px 18px #0009);transform-origin:center;z-index:2}.sprite-button img{display:block;width:100%;height:auto;pointer-events:none}.sprite-button:hover:not(:disabled){transform:translateY(-2px) scale(1.03)}.sprite-button:active:not(:disabled){transform:translateY(1px) scale(.98)}body.home{overflow:hidden}body.home .topbar{display:none}body.home #app{min-height:100dvh}.home-screen{max-width:none;width:100%;min-height:100dvh;padding:clamp(12px,2.2vh,28px) clamp(14px,3vw,48px);position:relative;overflow:hidden;display:grid;place-items:center;background:radial-gradient(circle at 22% 12%,#ff7b1a44 0 7%,transparent 20%),radial-gradient(circle at 68% 42%,#a600ff52 0 18%,transparent 42%),radial-gradient(circle at 50% 72%,#043584 0 20%,transparent 46%),linear-gradient(#030711,#080d28 48%,#02040d)}.home-screen::after{content:"";position:absolute;inset:0;background:radial-gradient(1px 1px at 9% 21%,#fff,transparent),radial-gradient(2px 2px at 21% 8%,#9bf,transparent),radial-gradient(1px 1px at 43% 19%,#fff,transparent),radial-gradient(2px 2px at 73% 15%,#ffd28a,transparent),radial-gradient(1px 1px at 91% 28%,#fff,transparent),radial-gradient(2px 2px at 58% 64%,#c7f,transparent),radial-gradient(1px 1px at 18% 76%,#fff,transparent);background-size:360px 520px;opacity:.9}.home-stage{position:relative;z-index:1;width:min(96vw,860px);min-height:calc(100dvh - 48px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;justify-items:center;align-items:center}.home-stage .game-title-graphic{width:min(92vw,760px);margin:0 auto;filter:drop-shadow(0 12px 22px #09051b)}.home-aliens-art{width:min(82vw,620px);max-height:52dvh;object-fit:cover;border-radius:34%;align-self:end;filter:drop-shadow(0 0 28px #00a9ff80);opacity:.98}.play-button{width:min(64vw,420px);margin-top:clamp(-24px,-4vh,-8px);align-self:start}.home-orbit-actions{position:absolute;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));display:flex;gap:clamp(8px,2vw,18px);z-index:4}.home-sound-button{width:clamp(70px,15vw,118px)}.home-info-button{position:absolute;left:max(12px,env(safe-area-inset-left));bottom:max(14px,env(safe-area-inset-bottom));width:clamp(92px,25vw,160px)}.home-share-button{position:absolute;right:max(12px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));width:clamp(118px,30vw,190px)}body:not(.home) .topbar #install{font-size:0;width:74px;height:66px;background:url('./assets/images/ui/btn-install.7aebf82f72bd.webp') center/contain no-repeat;box-shadow:none;border:0}body:not(.home) .topbar #sound{font-size:0;border:0;background-color:transparent;box-shadow:none;width:66px;height:62px;background-position:center;background-size:contain;background-repeat:no-repeat}body:not(.home) .topbar #sound[aria-pressed="true"]{background-image:url('./assets/images/ui/btn-sound.9f4580a0b38d.webp')}body:not(.home) .topbar #sound[aria-pressed="false"]{background-image:url('./assets/images/ui/btn-sound-off.52b34e45e334.webp')}#pause{font-size:0;border:0;background:url('./assets/images/ui/btn-pause.3706a0f9fc57.webp') center/contain no-repeat;width:96px;min-width:96px;height:54px}.unlock-toggle{display:flex;gap:12px;align-items:flex-start;margin:18px 0;padding:14px;border:1px solid #d6ff6440;border-radius:16px;background:#d6ff6412}.unlock-toggle input{width:22px;height:22px;margin-top:2px;accent-color:#d6ff64}.unlock-toggle span{display:grid;gap:4px}.unlock-toggle small{color:var(--muted);line-height:1.4}@media(orientation:landscape){.home-screen{padding:12px 28px}.home-stage{width:min(74vw,920px);min-height:100dvh;grid-template-rows:auto 1fr auto}.home-stage .game-title-graphic{width:min(54vw,720px)}.home-aliens-art{width:min(45vw,560px);max-height:58dvh}.play-button{width:min(34vw,380px);margin-top:-22px}.home-sound-button{width:clamp(72px,8vw,118px)}.home-info-button{width:clamp(95px,13vw,160px)}.home-share-button{width:clamp(130px,15vw,195px)}}@media(max-width:560px) and (orientation:portrait){.home-screen{padding-bottom:112px}.home-stage{min-height:calc(100dvh - 120px);align-content:start;padding-top:8vh}.home-stage .game-title-graphic{width:94vw}.home-aliens-art{width:92vw;max-height:44dvh}.play-button{width:min(72vw,360px);margin-top:-14px}.home-sound-button{width:76px}.home-info-button{width:110px}.home-share-button{width:142px}}@media(max-height:560px) and (orientation:landscape){.home-stage .game-title-graphic{width:min(44vw,560px)}.home-aliens-art{width:min(36vw,420px);max-height:52dvh}.play-button{width:min(28vw,300px)}.home-info-button{width:110px}.home-share-button{width:142px}}
@media(orientation:landscape){.home-stage{width:min(68vw,780px);min-height:calc(100dvh - 24px);grid-template-rows:auto minmax(0,1fr) auto}.home-stage .game-title-graphic{width:min(42vw,560px);max-height:23dvh;object-fit:contain}.home-aliens-art{width:min(34vw,430px);max-height:38dvh}.play-button{width:min(24vw,300px);margin-top:-10px}.home-orbit-actions{gap:8px}.home-sound-button{width:clamp(68px,7.5vw,100px)}}

/* Wareloides home menu correction v1.0.5 */
body.home{width:100%;height:100dvh;min-height:100dvh;overflow:hidden!important;background:#030711!important}
body.home header.topbar{display:none!important;visibility:hidden!important;height:0!important;overflow:hidden!important}
body.home #app{width:100vw;height:100dvh;min-height:100dvh;overflow:hidden!important;margin:0!important;padding:0!important}
body.home .stars{display:none!important}
#home.home-screen{box-sizing:border-box;max-width:none!important;width:100vw!important;height:100dvh!important;min-height:100dvh!important;margin:0!important;padding:0!important;position:fixed!important;inset:0!important;overflow:hidden!important;display:block!important;background:#030711 url('./assets/images/brand/home-menu-art.642fd8eb1aa0.webp') center/auto 100dvh no-repeat!important}
#home.home-screen::after{display:none!important}
#home .home-stage{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;display:block!important;pointer-events:none!important;z-index:2!important}
#home .game-title-graphic,#home .home-aliens-art,#home .sprite-button img{opacity:0!important;visibility:hidden!important}
#home .sprite-button{position:absolute!important;background:transparent!important;border:0!important;box-shadow:none!important;filter:none!important;padding:0!important;margin:0!important;z-index:5!important;pointer-events:auto!important;border-radius:999px!important;min-width:0!important;min-height:0!important;outline-offset:4px!important}
#home .sprite-button:hover:not(:disabled){transform:none!important}
#home .sprite-button:active:not(:disabled){transform:scale(.98)!important}
#home .home-orbit-actions{position:absolute!important;top:max(2.2dvh,env(safe-area-inset-top))!important;right:max(6vw,env(safe-area-inset-right))!important;width:min(25vw,210px)!important;height:min(9dvh,82px)!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:min(2vw,14px)!important;z-index:6!important}
#home .home-sound-button{position:relative!important;width:100%!important;height:100%!important}
#home #play.play-button{left:50%!important;bottom:16.7dvh!important;transform:translateX(-50%)!important;width:min(63vw,460px)!important;height:min(12.5dvh,116px)!important}
#home #credits.home-info-button{left:max(4.6vw,env(safe-area-inset-left))!important;bottom:max(4.6dvh,env(safe-area-inset-bottom))!important;width:min(23vw,160px)!important;height:min(9.5dvh,88px)!important}
#home #share.home-share-button{right:max(4.6vw,env(safe-area-inset-right))!important;bottom:max(4.6dvh,env(safe-area-inset-bottom))!important;width:min(25vw,180px)!important;height:min(9.5dvh,88px)!important}
body:not(.home) .topbar #install{font-size:0;width:74px;height:66px;background:url('./assets/images/ui/btn-install.7aebf82f72bd.webp') center/contain no-repeat;box-shadow:none;border:0}
body:not(.home) .topbar #sound{font-size:0;border:0;background-color:transparent;box-shadow:none;width:66px;height:62px;background-position:center;background-size:contain;background-repeat:no-repeat}
body:not(.home) .topbar #sound[aria-pressed="true"]{background-image:url('./assets/images/ui/btn-sound.9f4580a0b38d.webp')}
body:not(.home) .topbar #sound[aria-pressed="false"]{background-image:url('./assets/images/ui/btn-sound-off.52b34e45e334.webp')}

#pause{font-size:0;border:0;background:url('./assets/images/ui/btn-pause.3706a0f9fc57.webp') center/contain no-repeat;width:96px;min-width:96px;height:54px}
@media(orientation:landscape){
  #home.home-screen{background:radial-gradient(circle at 18% 17%,#ff8c1540 0 7%,transparent 24%),radial-gradient(circle at 74% 38%,#a300ff45 0 16%,transparent 42%),radial-gradient(circle at 50% 82%,#075ac2 0 18%,transparent 46%),linear-gradient(#02040c,#070b24 58%,#02040c)!important}
  #home .game-title-graphic,#home .home-aliens-art,#home .sprite-button img{opacity:1!important;visibility:visible!important}
  #home .home-stage{pointer-events:none!important}
  #home .game-title-graphic{position:absolute!important;left:50%!important;top:4dvh!important;transform:translateX(-50%)!important;width:min(50vw,680px)!important;max-height:25dvh!important;object-fit:contain!important;margin:0!important;filter:drop-shadow(0 11px 22px #09051b)!important}
  #home .home-aliens-art{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(44vw,560px)!important;height:min(46dvh,430px)!important;max-height:none!important;object-fit:cover!important;border-radius:35%!important;clip-path:ellipse(49% 45% at 50% 54%)!important;filter:drop-shadow(0 0 28px #00a9ff80)!important}
  #home #play.play-button{bottom:5dvh!important;width:min(31vw,390px)!important;height:auto!important}
  #home #credits.home-info-button{left:max(3vw,env(safe-area-inset-left))!important;bottom:max(4dvh,env(safe-area-inset-bottom))!important;width:min(13vw,150px)!important;height:auto!important}
  #home #share.home-share-button{right:max(3vw,env(safe-area-inset-right))!important;bottom:max(4dvh,env(safe-area-inset-bottom))!important;width:min(16vw,185px)!important;height:auto!important}
  #home .home-orbit-actions{top:max(3dvh,env(safe-area-inset-top))!important;right:max(4vw,env(safe-area-inset-right))!important;width:min(18vw,220px)!important;height:auto!important;display:flex!important;gap:min(1.4vw,16px)!important}
  #home .home-sound-button{width:min(8vw,98px)!important;height:auto!important}
}
@media(max-width:560px) and (orientation:portrait){
  #home.home-screen{background-position:center center!important}
  #home .home-orbit-actions{right:max(5vw,env(safe-area-inset-right))!important;top:max(2dvh,env(safe-area-inset-top))!important;width:min(31vw,146px)!important;height:min(8.6dvh,74px)!important}
  #home #play.play-button{bottom:17.8dvh!important;width:66vw!important;height:12dvh!important}
  #home #credits.home-info-button{width:23vw!important;height:8.8dvh!important;bottom:max(4.4dvh,env(safe-area-inset-bottom))!important;left:max(4vw,env(safe-area-inset-left))!important}
  #home #share.home-share-button{width:27vw!important;height:8.8dvh!important;bottom:max(4.4dvh,env(safe-area-inset-bottom))!important;right:max(4vw,env(safe-area-inset-right))!important}
}
@media(max-height:560px) and (orientation:landscape){
  #home .game-title-graphic{top:3dvh!important;width:min(45vw,540px)!important;max-height:21dvh!important}
  #home .home-aliens-art{top:50%!important;width:min(35vw,420px)!important;height:min(43dvh,300px)!important}
  #home #play.play-button{width:min(25vw,300px)!important;bottom:4dvh!important}
  #home .home-sound-button{width:min(7vw,76px)!important}
}



#home.home-screen[hidden]{display:none!important;visibility:hidden!important;pointer-events:none!important}


body:not(.home) #home.home-screen{display:none!important;visibility:hidden!important;pointer-events:none!important}

/* Wareloides gameplay and selection correction v1.0.6 */

body.playing header.topbar{display:none!important}


.selection-home-button{width:clamp(74px,10vw,116px);filter:drop-shadow(0 10px 16px #0008)}
.selection-screen .section-heading{align-items:flex-start}.selection-screen .section-heading .secondary{display:none!important}
.mode-card{min-height:142px;padding:12px 16px;background:linear-gradient(145deg,#172641,#0f1930);overflow:hidden;position:relative}.mode-card .mode-art{display:block;flex:0 0 clamp(88px,13vw,130px);width:clamp(88px,13vw,130px);height:clamp(88px,13vw,130px);position:relative}.mode-card .mode-art>img:not(.mode-lock){width:100%;height:100%;object-fit:contain;display:block;filter:drop-shadow(0 8px 12px #0008)}.mode-card.locked .mode-art>img:not(.mode-lock){opacity:.5;filter:saturate(.65) brightness(.72)}.mode-card .mode-lock{position:absolute;inset:10%;width:80%;height:80%;object-fit:contain;opacity:1!important;filter:none!important;background:transparent!important;box-shadow:none!important;padding:0!important;border-radius:0!important}.mode-card>span:not(.mode-art){font-size:0}.mode-card>b{font-size:24px}.world-card.locked{filter:none!important}.world-card .lock-badge{display:none;position:absolute;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(82%,245px)!important;height:auto!important;object-fit:contain!important;z-index:4!important;opacity:1!important;filter:none!important;background:transparent!important;box-shadow:none!important;padding:0!important;border-radius:0!important;image-rendering:auto}.world-card.locked .lock-badge{display:block!important}.world-card.locked>img:not(.lock-badge){opacity:.55!important;filter:saturate(.72) brightness(.72)!important}.world-card.locked strong,.world-card.locked small,.world-card.locked .world-number{position:relative;z-index:5;text-shadow:0 2px 5px #000}.level-button.locked{filter:none!important;overflow:hidden;background:#11192b!important}.level-button .level-lock{display:none;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(100%,92px)!important;height:auto!important;z-index:2;opacity:1!important;filter:none!important;margin:0!important;image-rendering:auto}.level-button.locked .level-lock{display:block!important}.level-button.locked strong{opacity:.34;position:relative;z-index:3;text-shadow:0 2px 4px #000}.level-button.locked span{position:relative;z-index:3;color:#dbe5ff;text-shadow:0 2px 4px #000}.game-screen{max-width:none!important;width:100vw!important;min-height:100dvh!important;height:100dvh!important;padding:clamp(6px,1.2vh,12px) clamp(8px,1.4vw,18px) clamp(8px,1.5vh,14px)!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto;gap:clamp(5px,1vh,10px);overflow:hidden}.game-screen[hidden]{display:none!important}.game-hud{position:relative;z-index:10;display:grid!important;grid-template-columns:auto auto minmax(96px,1fr) auto auto auto auto;align-items:center;gap:clamp(5px,1vw,12px);padding:0!important}.hud-sprite{filter:drop-shadow(0 7px 9px #0009);line-height:0}.hud-sprite img{display:block;width:100%;height:auto}.hud-pause{width:clamp(72px,10vw,118px)}.hud-speed{width:clamp(58px,7vw,86px)}.hud-pill{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:6px 10px;border-radius:13px;background:#14213ad9;border:1px solid #ffffff1f;box-shadow:0 6px 12px #0005;color:#fff;text-shadow:0 2px 3px #000}.hud-pill small{font-size:clamp(8px,1.1vw,11px);letter-spacing:.08em;color:#d6ff64;margin:0}.hud-pill strong{font-size:clamp(18px,2.2vw,29px);font-weight:900;line-height:1}.hud-life img{width:clamp(34px,4vw,52px);height:auto}.hud-progress{min-width:clamp(112px,18vw,230px)}.hud-progress img{width:clamp(30px,4vw,54px)}.hud-progress progress{position:absolute;inline-size:1px;block-size:1px;opacity:0;pointer-events:none}.hud-score{min-width:clamp(78px,10vw,134px);flex-direction:column;gap:0}.hud-level{min-width:0;justify-content:flex-start}.play-area,body.playing .play-area{width:min(100%,calc((100dvh - clamp(80px,12vh,116px))*1.3333))!important;max-width:min(100%,calc((100dvh - clamp(80px,12vh,116px))*1.3333))!important;max-height:calc(100dvh - clamp(82px,13vh,122px))!important;margin:0 auto!important;aspect-ratio:4/3;border-radius:clamp(8px,1.5vw,18px);box-shadow:0 14px 46px #0007}.game-bottom{padding:0 4px!important;min-height:18px}.pause-actions{display:flex;align-items:center;justify-content:center;gap:clamp(10px,2vw,18px);margin-top:18px}.pause-action{width:clamp(92px,26vw,160px);filter:drop-shadow(0 10px 16px #0008)}.pause-action img{width:100%;height:auto;display:block}@media(max-width:760px){.game-screen{grid-template-rows:auto auto 1fr}.game-hud{grid-template-columns:auto auto 1fr;grid-template-areas:'pause life progress' 'level score speed';gap:6px}.hud-pause{grid-area:pause}.hud-life{grid-area:life}.hud-level{grid-area:level}.hud-progress{grid-area:progress}.hud-speed{grid-area:speed;justify-self:end}.hud-score{grid-area:score}.hud-pill{min-height:38px;padding:4px 8px}.play-area,body.playing .play-area{width:min(100%,calc((100dvh - 150px)*1.3333))!important;max-width:100%!important;max-height:min(62dvh,calc(100vw*.75))!important}.game-bottom{font-size:10px}}@media(max-height:560px) and (orientation:landscape){.game-screen{padding:4px 8px!important;grid-template-rows:auto minmax(0,1fr);gap:4px}.game-bottom{display:none!important}.game-hud{grid-template-columns:auto auto minmax(100px,1fr) auto auto auto auto}.hud-pause{width:76px}.hud-speed,.hud-pill{min-height:36px;padding:3px 8px}.play-area,body.playing .play-area{max-height:calc(100dvh - 52px)!important;width:min(100vw,calc((100dvh - 52px)*1.3333))!important;max-width:min(100vw,calc((100dvh - 52px)*1.3333))!important}}


.world-card:disabled,.level-button:disabled,.mode-card:disabled{opacity:1!important}
.world-card.locked .lock-badge,.level-button.locked .level-lock,.mode-card.locked .mode-lock{opacity:1!important;filter:none!important}


button.world-card:disabled,button.level-button:disabled,button.mode-card:disabled,button.world-card[disabled],button.level-button[disabled],button.mode-card[disabled]{opacity:1!important}

.fullscreen-button{display:inline-grid;place-items:center;width:clamp(38px,4.5vw,50px);height:clamp(38px,4.5vw,50px);padding:0;border:1px solid #ffffff28;border-radius:13px;background:#14213ad9;color:#f6f8ff;font-size:clamp(24px,3vw,34px);line-height:1;box-shadow:0 6px 12px #0005;text-shadow:0 2px 4px #0008}
.fullscreen-button:hover:not(:disabled){background:#24395d;transform:translateY(-2px)}
.fullscreen-button.is-active{color:var(--lime);border-color:#d6ff6480}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){.game-hud{grid-template-columns:auto auto minmax(0,1fr) auto;grid-template-areas:'pause sound life progress' 'level score speed fullscreen'}.hud-sound{grid-area:sound}.fullscreen-button{grid-area:fullscreen;justify-self:end}}
@media(max-height:560px) and (orientation:landscape){.game-hud{grid-template-columns:auto auto minmax(100px,1fr) auto auto auto auto auto}.fullscreen-button{width:36px;height:36px;font-size:24px}}



/* Wareloides 1.0.11 menu, HUD, pause, and game-over pass */
.topbar{height:86px;padding:0 clamp(14px,2vw,28px);display:grid;grid-template-columns:minmax(72px,1fr) auto minmax(120px,1fr);align-items:center;border-bottom:1px solid #ffffff16;background:#101a35f2;backdrop-filter:blur(12px)}
.topbar-home{justify-self:start;width:clamp(58px,7vw,78px)}
.topbar .wordmark{justify-self:center;display:grid;place-items:center;min-width:0}
.topbar-logo{display:block;width:clamp(172px,22vw,290px);height:auto;filter:drop-shadow(0 8px 14px #0008)}
.top-actions{justify-self:end;display:flex;align-items:center;gap:10px}
body.home .topbar{display:none}
body.playing .topbar{display:none!important}
.selection-screen{max-width:1200px;padding:46px clamp(18px,3vw,34px) 30px}
.selection-screen .section-heading{margin-bottom:28px}
.selection-screen .section-heading h1{font-size:clamp(30px,4vw,42px);letter-spacing:-1.4px}
.selection-screen .eyebrow{color:var(--lime);font-weight:900;letter-spacing:.22em}
.worlds{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0 0 42px}
.world-card{min-height:278px;padding:22px 20px;border-radius:24px;background:linear-gradient(150deg,#21314d,#141f36);display:grid;grid-template-rows:auto minmax(140px,1fr) auto auto;align-content:start}
.world-card .world-number{top:22px;left:20px;color:#c4d3ef}
.world-card .world-thumb,.world-card>img:not(.lock-badge){height:150px;margin:10px 0 2px}
.world-card strong{font-size:17px;color:#f6f8ff;margin:8px 0 5px}
.world-card small{font-size:12px;color:#c2cce2}
.world-card.selected{border-color:var(--lime);box-shadow:0 0 0 2px #d6ff64,0 16px 40px #0005}
.world-card.locked .lock-badge{width:min(86%,248px)!important;top:48%!important}
.level-heading{margin:0 0 20px}
.level-heading h2{font-size:clamp(24px,3vw,31px)}
.levels{grid-template-columns:repeat(9,minmax(72px,1fr));gap:12px}
.level-button{min-height:104px;border-radius:16px;background:#1c2a45;border-color:#d6ff6436}
.level-button strong{font-size:28px}
.level-button span{font-weight:900;letter-spacing:.03em}
.level-button.locked .level-lock{width:min(105%,104px)!important}
.special-modes{gap:20px;margin-top:34px}
.mode-card{min-height:166px;border-radius:24px;padding:16px 22px;background:linear-gradient(145deg,#172641,#101a31);border-color:#ffffff21}
.mode-card .mode-art{flex-basis:148px;width:148px;height:130px}
.mode-card strong{font-size:20px;color:#f7f9ff}
.mode-card small{font-size:14px;max-width:360px;color:#c6d0e6}
.mode-card>b{font-size:28px;color:#dce6ff}
.game-screen{background:#091126!important}
.game-hud{background:#101a35;border-bottom:1px solid #162546;margin:calc(-1 * clamp(6px,1.2vh,12px)) calc(-1 * clamp(8px,1.4vw,18px)) 0!important;padding:clamp(5px,1vh,10px) clamp(8px,1.5vw,16px)!important;grid-template-columns:auto auto minmax(150px,1fr) minmax(150px,190px) auto auto auto!important}
.hud-pause{width:clamp(64px,7vw,86px)}
.hud-pause img{border-radius:14px}
.hud-pill{background:#14213adf;border-color:#30405f}
.play-area,body.playing .play-area{border-radius:14px!important}
.game-bottom{display:none!important}
dialog{background:#172541;border-color:#31415f}
dialog::backdrop{background:#061022bf;backdrop-filter:blur(8px)}
.modal-inner{padding:0}
.pause-card{padding:42px clamp(28px,5vw,48px) 38px;background:#192844;border-radius:26px}
.pause-card h2{font-size:clamp(30px,4vw,42px);margin:18px 0 10px}
.pause-card p{font-size:16px;color:#c4cde1}
.pause-actions{gap:16px;margin-top:24px;justify-content:center;flex-wrap:nowrap}
.pause-action{width:clamp(116px,21vw,175px)}
.pause-continue{width:clamp(124px,22vw,180px)}
.gameover-card{position:relative;box-sizing:border-box;width:100%;padding:16px clamp(12px,4vw,24px);margin:0 auto;text-align:center;background:#192844;border-radius:24px;display:grid;justify-items:center;gap:12px;min-width:0}
.gameover-card .gameover-art{display:block;box-sizing:border-box;width:100%;max-width:420px;height:min(42dvh,340px);max-height:calc(96dvh - 160px);object-fit:contain;margin:0;filter:drop-shadow(0 8px 12px #0007)}
.gameover-stats{display:inline-flex;gap:10px;align-items:baseline;margin:0;padding:8px 16px;border-radius:14px;background:#101a35;border:1px solid #ffffff1f;color:#fff}
.gameover-stats strong{font-size:26px;color:var(--lime)}
.gameover-stats span{font-size:11px;letter-spacing:.18em;color:#cfd8ee}
.gameover-actions{display:flex;justify-content:center;gap:clamp(12px,5vw,34px);align-items:center}
.gameover-action{width:clamp(44px,16dvh,110px);height:clamp(44px,16dvh,110px);max-width:35vw;min-width:0;flex-shrink:1}
.gameover-action img{display:block;width:100%;height:100%;object-fit:contain}
#modal:has(.gameover-card){width:min(520px,calc(100vw - 24px));max-height:96dvh;overflow-x:hidden;overflow-y:auto}
@media(max-width:900px){.topbar{height:76px}.connection{display:none}.worlds{grid-template-columns:repeat(2,minmax(0,1fr))}.levels{grid-template-columns:repeat(5,minmax(70px,1fr))}.special-modes{grid-template-columns:1fr}.game-hud{grid-template-columns:auto auto 1fr auto!important;grid-template-areas:'pause life progress full' 'level score speed speed'!important}}
@media(max-width:560px){.topbar{height:68px;grid-template-columns:68px 1fr 112px;padding:0 10px}.topbar-home{width:58px}.topbar-logo{width:180px}body:not(.home) .topbar #install{width:56px;height:52px}body:not(.home) .topbar #sound{width:52px;height:50px}.selection-screen{padding:28px 16px}.selection-screen .section-heading h1{font-size:30px}.worlds{grid-template-columns:1fr;gap:14px}.world-card{min-height:226px;grid-template-rows:auto 116px auto auto}.world-card .world-thumb,.world-card>img:not(.lock-badge){height:120px}.levels{grid-template-columns:repeat(3,minmax(0,1fr))}.mode-card{min-height:132px;padding:12px 14px}.mode-card .mode-art{flex-basis:108px;width:108px;height:104px}.mode-card strong{font-size:17px}.mode-card small{font-size:12px}.pause-actions,.gameover-actions{gap:10px}.pause-action{width:30vw}.gameover-art{margin-top:-42px;max-height:34dvh}.gameover-card{padding-bottom:20px}}
@media(max-height:560px) and (orientation:landscape){.game-hud{padding:4px 8px!important;grid-template-columns:auto auto minmax(110px,1fr) minmax(128px,178px) auto auto auto!important}.hud-pause{width:58px}.play-area,body.playing .play-area{max-height:calc(100dvh - 64px)!important;width:min(100vw,calc((100dvh - 64px)*1.3333))!important;max-width:min(100vw,calc((100dvh - 64px)*1.3333))!important}}

/* Restore padding for standard dialogs while keeping custom cards edge-to-edge. */
.modal-inner{padding:35px}
.modal-inner:has(.pause-card),.modal-inner:has(.gameover-card){padding:0}
@media(max-width:560px){.modal-inner{padding:27px}.modal-inner:has(.pause-card),.modal-inner:has(.gameover-card){padding:0}}


/* Dialog padding control: normal dialogs keep readable gutters; graphic cards own their spacing. */
#modal .modal-inner{padding:35px!important}
#modal.card-modal .modal-inner{padding:0!important}
@media(max-width:560px){#modal .modal-inner{padding:27px!important}#modal.card-modal .modal-inner{padding:0!important}}

/* Wareloides 1.0.11 gameplay HUD, carousel, pause, win, and ad banner pass */

.selection-screen{overflow:hidden}
.worlds{display:flex!important;grid-template-columns:none!important;gap:clamp(14px,2vw,24px)!important;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:clamp(18px,3vw,34px);padding:4px clamp(18px,3vw,34px) 18px;margin-inline:calc(-1 * clamp(18px,3vw,34px));-webkit-overflow-scrolling:touch}
.worlds::-webkit-scrollbar{height:10px}.worlds::-webkit-scrollbar-track{background:#ffffff0b;border-radius:999px}.worlds::-webkit-scrollbar-thumb{background:#d6ff6488;border-radius:999px}
.world-card{flex:0 0 clamp(260px,30vw,350px);scroll-snap-align:center}
.game-screen{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto;align-items:start;justify-items:center;gap:clamp(8px,1.2vh,14px);padding:clamp(8px,1.2vh,14px) clamp(10px,1.6vw,20px) clamp(10px,1.4vh,16px)!important;max-width:none!important;width:100vw!important;min-height:100dvh!important;overflow:hidden;background:#091126!important}
.game-hud{width:min(100%,1120px);display:grid!important;grid-template-columns:repeat(6,max-content)!important;grid-template-areas:'pause life progress speed score level'!important;align-items:center;justify-content:center;justify-items:center;gap:clamp(8px,1.2vw,16px)!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important}
.hud-pause{grid-area:pause;width:clamp(58px,6.2vw,76px)!important;min-width:0!important;height:auto!important;background:none!important}
.hud-life{grid-area:life}.hud-progress{grid-area:progress;min-width:clamp(132px,18vw,210px);width:auto!important}.hud-speed{grid-area:speed;width:clamp(58px,6.2vw,76px)!important;min-width:0!important}.hud-score{grid-area:score;margin:0!important;min-width:clamp(110px,12vw,150px)}.hud-level{grid-area:level;min-width:clamp(132px,14vw,180px)}
.hud-pill{min-height:clamp(46px,5.2vw,64px);padding:7px 14px;display:flex!important;align-items:center;justify-content:center;text-align:center;gap:9px;border-radius:17px;background:#14213ade;border-color:#334562;box-shadow:0 8px 16px #0006}.hud-pill small{width:100%;text-align:center;margin:0;color:var(--lime);font-size:clamp(8px,1vw,12px);line-height:1.2}.hud-pill strong{text-align:center;line-height:1}.hud-progress img,.hud-life img{flex:none}.hud-level small{white-space:normal}.hud-score{flex-direction:column}.hud-score small{letter-spacing:.16em}.hud-sprite{align-self:center;justify-self:center}.hud-sprite img{width:100%;height:100%;object-fit:contain}.play-area,body.playing .play-area{width:min(100%,calc((100dvh - 176px)*1.3333))!important;max-width:min(100%,calc((100dvh - 176px)*1.3333))!important;max-height:calc(100dvh - 176px)!important;margin:0 auto!important;border-radius:16px!important}
.game-bottom{display:none!important}
.pause-card{padding:clamp(28px,5vw,44px)!important;text-align:center}.pause-card h2{margin:0 0 clamp(20px,4vw,30px)!important;font-size:clamp(31px,5vw,46px);line-height:1.05}.pause-card p,.pause-card .eyebrow{display:none!important}.pause-actions{display:flex!important;align-items:center;justify-content:center;gap:clamp(10px,2.2vw,20px)!important;margin:0!important;flex-wrap:nowrap}.pause-action{width:clamp(92px,18vw,142px)!important;height:clamp(92px,18vw,142px)!important;display:grid!important;place-items:center}.pause-action img{width:100%!important;height:100%!important;object-fit:contain!important}
.result-card{position:relative;padding:clamp(28px,5vw,42px);background:#192844;border-radius:24px;text-align:left}.result-card .eyebrow{margin-bottom:22px;text-transform:uppercase}.result-card .result-medal{height:clamp(76px,16vw,120px);float:right;margin:0 0 10px 18px}.result-actions{display:flex;align-items:center;gap:18px;margin-top:26px}.result-next{flex:1;min-width:160px}
@media(max-width:760px){.game-screen{grid-template-rows:auto auto auto;justify-content:center;overflow:auto}.game-hud{grid-template-columns:repeat(3,max-content)!important;grid-template-areas:'pause life progress' 'score level speed'!important;gap:8px 10px!important}.hud-pause,.hud-speed{width:64px!important}.hud-progress{min-width:min(42vw,172px)}.hud-level{min-width:min(42vw,172px)}.hud-score{min-width:120px}.hud-pill{min-height:50px;padding:6px 10px}.play-area,body.playing .play-area{max-width:calc(100vw - 20px)!important;width:calc(100vw - 20px)!important;max-height:calc((100vw - 20px)*.75)!important}.pause-action{width:clamp(86px,27vw,118px)!important;height:clamp(86px,27vw,118px)!important}.result-actions{gap:10px}.result-next{min-width:0}.world-card{flex-basis:min(82vw,330px)}}
@media(max-width:420px){.game-hud{grid-template-columns:repeat(2,max-content)!important;grid-template-areas:'pause life' 'progress speed' 'score level'!important}.hud-progress,.hud-level{min-width:150px}.pause-card{padding:28px 18px!important}.pause-actions{gap:6px!important}.pause-action{width:29vw!important;height:29vw!important}.result-card{padding:26px 18px}.result-actions{flex-direction:column}.result-next{width:100%}}
@media(max-height:560px) and (orientation:landscape){.game-screen{overflow:hidden;grid-template-rows:auto minmax(0,1fr) auto;padding:6px 10px!important}.game-hud{grid-template-columns:repeat(6,max-content)!important;grid-template-areas:'pause life progress speed score level'!important}.hud-pause,.hud-speed{width:58px!important}.hud-pill{min-height:42px}.play-area,body.playing .play-area{max-height:calc(100dvh - 108px)!important;width:min(100%,calc((100dvh - 108px)*1.3333))!important;max-width:min(100%,calc((100dvh - 108px)*1.3333))!important}}

/* Wareloides 1.0.11 HUD, mission cards, pause, and result refinements */
.world-card em{display:block;margin:3px 0 7px;color:#c8d2e9;font-style:normal;font-size:clamp(11px,1vw,13px);line-height:1.35;min-height:2.7em}
#world-description{margin:6px 0 0;color:#b9c5df;font-size:clamp(13px,1.4vw,16px);line-height:1.45;max-width:620px}
.game-hud{grid-template-columns:repeat(7,max-content)!important;grid-template-areas:'pause sound life progress speed score level'!important}
.hud-sound{grid-area:sound;width:clamp(58px,6.2vw,76px)!important;min-width:0!important}
.hud-sound img{width:100%;height:100%;object-fit:contain}
.pause-continue{width:clamp(101px,19.8vw,156px)!important;height:clamp(101px,19.8vw,156px)!important}
.result-menu{flex:1;min-width:160px;background:linear-gradient(180deg,#52c9ff,#1b7ee8)!important;color:#04162a!important;border-color:#82ddff!important;box-shadow:inset 0 -6px 0 #0c559e,0 10px 18px #0005;text-shadow:none!important}
.result-menu:hover{filter:brightness(1.06)}
@media(max-width:900px){.game-hud{grid-template-columns:repeat(4,max-content)!important;grid-template-areas:'pause sound life progress' 'score level speed speed'!important}}
@media(max-width:760px){.game-hud{grid-template-columns:repeat(3,max-content)!important;grid-template-areas:'pause sound life' 'progress speed score' 'level level level'!important}.hud-sound{width:64px!important}.pause-continue{width:clamp(95px,29.7vw,130px)!important;height:clamp(95px,29.7vw,130px)!important}.world-card em{min-height:auto}.result-menu{min-width:0}}
@media(max-width:420px){.game-hud{grid-template-columns:repeat(2,max-content)!important;grid-template-areas:'pause sound' 'life progress' 'speed score' 'level level'!important}.hud-sound{width:64px!important}.pause-continue{width:31.9vw!important;height:31.9vw!important}.result-menu{width:100%}}
@media(max-height:560px) and (orientation:landscape){.game-hud{grid-template-columns:repeat(7,max-content)!important;grid-template-areas:'pause sound life progress speed score level'!important}.hud-sound{width:58px!important}.pause-continue{width:64px!important;height:64px!important}}

/* Compact world cards and consistent result actions. */
.world-card{grid-template-rows:150px auto auto auto;min-height:0;align-content:start;row-gap:4px}.world-card .world-thumb{align-self:center}.world-card strong{margin:4px 0 0}.world-card em{margin:0;min-height:2.7em}.world-card small{margin-top:4px}.result-actions .result-next,.result-actions .result-menu{font-size:clamp(16px,2vw,20px);font-weight:800;line-height:1.2;padding:20px 16px;text-align:center}.result-actions .result-menu{color:#fff!important}@media(max-width:560px){.world-card{grid-template-rows:120px auto auto auto}}
/* Public content remains readable to crawlers and sits outside the game area. */
.site-content{max-width:1200px;margin:0 auto;padding:76px clamp(22px,5vw,64px) 42px;border-top:1px solid var(--line)}.content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(28px,6vw,88px)}.site-content h2{font-size:clamp(22px,2.4vw,32px);letter-spacing:-.7px;margin:0 0 12px}.site-content p{max-width:62ch;color:var(--muted);font-size:15px;line-height:1.75}.content-grid article h2:not(:first-of-type){margin-top:34px}.content-panel{margin-top:38px;padding:28px 30px;border:1px solid var(--line);border-radius:18px;background:#ffffff05}.site-links,.site-footer nav{display:flex;flex-wrap:wrap;gap:16px}.site-links a,.site-footer a,.legal-content a{color:var(--lime);text-decoration:none}.site-links a:hover,.site-footer a:hover,.legal-content a:hover{text-decoration:underline}.site-footer{max-width:1200px;margin:0 auto;padding:22px clamp(22px,5vw,64px) 34px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:12px}.legal-page{min-height:100dvh}.legal-content{max-width:820px;margin:0 auto;padding:clamp(42px,8vw,90px) 24px 70px}.legal-content h1{font-size:clamp(36px,6vw,64px);margin-bottom:26px}.legal-content h2{font-size:24px;margin:36px 0 10px}.legal-content p{color:var(--muted);font-size:16px;line-height:1.8}.legal-content .eyebrow{margin-bottom:18px}
@media(max-width:700px){.content-grid{grid-template-columns:1fr}.site-content{padding-top:52px}.site-footer{flex-direction:column}.content-panel{padding:22px}}

/* 1.0.20: keep the landscape home artwork rectangular and compact the world carousel. */
@media(orientation:landscape){
  #home.screen.home-screen{background:url("./assets/images/brand/main-screen-landscape-background-texture.png") center/cover no-repeat!important}
  #home .home-art-frame{display:contents}
  #home .home-aliens-art{width:min(38vw,500px)!important;height:auto!important;max-height:46dvh!important;aspect-ratio:auto;object-fit:contain!important;border-radius:0!important;clip-path:none!important}
}
.selection-screen .worlds{margin-bottom:22px!important;padding-bottom:8px!important}
.selection-screen .world-card{grid-template-rows:clamp(120px,12vw,150px) auto auto auto;min-height:0!important;row-gap:2px!important;padding-bottom:14px!important}
.selection-screen .world-card em{margin-top:0!important;min-height:2.35em}
@media(max-width:760px){.selection-screen .worlds{margin-bottom:16px!important}.selection-screen .world-card{padding-bottom:12px!important}.selection-screen .world-card em{min-height:auto}}

/* 1.0.21: social icons, landscape hero composition, news panel, and install prompt. */
.social-links{display:flex;justify-content:center;align-items:center;gap:18px;flex-wrap:wrap}
.social-links a{padding:0;border:0;background:transparent;box-shadow:none}
.social-links a:hover{transform:translateY(-2px)}
.social-links img{width:clamp(48px,11vw,66px);height:clamp(48px,11vw,66px)}
.whats-new-teaser{width:100%;display:grid;grid-template-columns:108px 1fr auto;align-items:center;gap:18px;margin:-8px 0 24px;padding:12px 18px;border:1px solid #ffffff20;border-radius:20px;background:linear-gradient(105deg,#213552,#17233c);color:var(--ink);text-align:left;cursor:pointer}
.whats-new-teaser img{width:108px;height:78px;object-fit:contain;object-position:center}
.whats-new-teaser span{display:grid;gap:4px}.whats-new-teaser small{color:var(--lime);font-size:10px;letter-spacing:.18em;font-weight:900}.whats-new-teaser strong{font-size:24px}.whats-new-teaser em{font-style:normal;color:var(--muted);font-size:13px}.whats-new-teaser b{font-size:28px;color:var(--lime)}
.news-paper{padding:clamp(24px,5vw,42px);background:linear-gradient(145deg,#213454,#17243d);border-radius:24px}.news-paper h2{font-size:clamp(30px,5vw,44px);margin:6px 0}.news-paper h3{font-size:20px;margin:18px 0 8px}.news-paper p{line-height:1.65}.news-paper-art{display:block;width:min(100%,360px);height:150px;object-fit:contain;margin:0 auto 10px}.news-date{font-size:11px!important;color:var(--lime)!important;letter-spacing:.12em;text-transform:uppercase}.news-intro{color:#c8d2e9}.news-entries{display:grid;gap:12px;margin-top:20px}.news-entry{padding:12px 14px;border-left:3px solid var(--lime);background:#ffffff08}.news-entry h3{font-size:16px;margin:3px 0 4px}.news-entry p{margin:0;color:#c8d2e9;font-size:13px}.news-entry .news-entry-meta{color:var(--lime);font-size:10px;letter-spacing:.1em;text-transform:uppercase}.news-social-note{padding-top:12px;color:var(--muted);font-size:12px}
.game-install-banner{width:min(100%,1120px);display:flex;align-items:center;justify-content:center;gap:16px;padding:8px 14px;border:1px solid #d6ff6440;border-radius:14px;background:#d6ff6412;color:#d8e2f5;font-size:12px}.game-install-banner strong{color:var(--lime)}.game-install-banner button{padding:8px 13px;font-size:11px}
.world-card{grid-template-rows:clamp(120px,12vw,150px) auto minmax(2.6em,auto) auto!important;row-gap:4px!important}.world-card .world-thumb,.world-card>img:not(.lock-badge){align-self:center;margin:0!important}.world-card strong{margin:0!important}.world-card em{display:block;min-height:2.6em;margin:0!important;line-height:1.35;color:#c2cce2;font-size:12px}.world-card small{align-self:end}
@media(orientation:landscape){
  #home .home-stage{width:min(86vw,1080px);min-height:100dvh;display:block;position:relative}
  #home .game-title-graphic{position:absolute;top:clamp(10px,4vh,42px);left:50%;transform:translateX(-50%);width:min(42vw,560px);max-height:23dvh;object-fit:contain}
  #home .home-art-frame{display:block;position:absolute;left:50%;bottom:-2vh;transform:translateX(-50%);width:min(48vw,560px);height:min(84dvh,720px);z-index:1}
  #home .home-aliens-art{display:block;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;border-radius:0!important;clip-path:none!important}
  #home .play-button{position:absolute;left:50%;bottom:clamp(8px,8vh,76px);transform:translateX(-50%);width:min(26vw,330px);margin:0;z-index:2}
  #home .play-button:hover:not(:disabled){transform:translateX(-50%) translateY(-2px) scale(1.03)}
}
@media(max-width:760px){.whats-new-teaser{grid-template-columns:78px 1fr auto;margin-top:0}.whats-new-teaser img{width:78px;height:65px}.whats-new-teaser strong{font-size:19px}.whats-new-teaser em{font-size:11px}.game-install-banner{font-size:11px;gap:8px}.game-install-banner button{font-size:10px;padding:7px 9px}}
@media(max-width:560px){.social-links{gap:14px}.social-links img{width:56px;height:56px}.world-card{grid-template-rows:120px auto minmax(2.8em,auto) auto!important}.world-card em{font-size:11px}.game-install-banner{justify-content:space-between}}

/* Keep world artwork inside its grid row so it can never overlap the title or description. */
.selection-screen .world-card{overflow:hidden!important;grid-template-rows:minmax(120px,clamp(120px,12vw,150px)) auto minmax(2.6em,auto) auto!important}
.selection-screen .world-card .world-thumb,.selection-screen .world-card>img:not(.lock-badge){width:100%!important;height:100%!important;max-height:100%!important;min-height:0!important;object-fit:contain!important;align-self:stretch!important;margin:0!important}
.selection-screen .world-card .lock-badge{max-height:none!important}
#home #play.play-button img,#home #share.home-share-button img{filter:drop-shadow(0 0 1px #000) drop-shadow(0 0 2px #000) drop-shadow(0 1px 2px #000)}
.selection-screen .world-card.locked .lock-badge{inset:auto!important;width:min(100%,clamp(120px,12vw,150px))!important;height:min(100%,clamp(120px,12vw,150px))!important;top:clamp(20px,2vw,26px)!important;left:50%!important;right:auto!important;transform:translateX(-50%) translateY(0)!important;margin:0!important;object-fit:contain!important}
.selection-screen .world-card.locked .world-number{position:absolute!important;top:22px!important;left:20px!important;z-index:5!important}

.language-toggle{position:absolute;left:clamp(78px,9vw,118px);z-index:4;align-self:center;border:1px solid rgba(190,255,66,.55);border-radius:999px;background:rgba(18,34,62,.86);color:#d5ff5a;font:700 clamp(.58rem,1.1vw,.8rem)/1.1 inherit;letter-spacing:.04em;padding:.55rem .75rem;white-space:nowrap;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.18)} .language-toggle:hover,.language-toggle:focus-visible{background:#d5ff5a;color:#101a35;outline:none}

.game-install-banner{background:transparent!important;border-color:#d6ff6466!important;color:#d8e2f5!important;box-shadow:none!important}.game-install-banner strong{color:#d6ff64!important}.game-install-banner button{background:#e53935!important;color:#fff!important;border:2px solid #ff6b66!important;font-weight:900!important;box-shadow:0 3px 0 #9e211e!important}
/* Keep every gameplay control in an explicit HUD cell. */
.game-hud{grid-template-columns:repeat(8,max-content)!important;grid-template-areas:'pause sound life progress speed score level fullscreen'!important}
.fullscreen-button{grid-area:fullscreen;justify-self:center}
@media(max-width:1100px){.game-hud{grid-template-columns:repeat(4,max-content)!important;grid-template-areas:'pause sound life progress' 'score level speed fullscreen'!important}}
@media(max-width:560px){.game-hud{grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%;grid-template-areas:'pause sound fullscreen' 'life progress speed' 'score level level'!important}.game-hud .hud-pill{min-width:0!important;max-width:100%}.game-hud .hud-progress{gap:4px}.game-hud .hud-progress strong{font-size:18px}.game-hud .hud-level{width:100%}}
html:fullscreen{background:var(--bg)}

/* Shared fullscreen artwork. */
.fullscreen-art,.fullscreen-art:hover:not(:disabled){width:64px;height:64px;min-width:44px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;text-shadow:none}
.fullscreen-art img{width:100%;height:100%;object-fit:contain}
#home #home-fullscreen{position:relative!important;width:100%!important;height:100%!important}
@media(orientation:landscape){#home #home-fullscreen{width:clamp(44px,7vw,76px)!important;height:clamp(44px,7vw,76px)!important}}
@media(max-width:560px){.selection-fullscreen-button{width:48px;height:48px}.game-hud .fullscreen-art{width:54px;height:54px}}
