html,body,#app{width:100%;height:100%;margin:0;overflow:hidden}body{color:#f5eee8;background:#101820;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}#game{touch-action:none;outline:none;width:100%;height:100%;display:block}#hud{pointer-events:none;text-shadow:0 2px 8px #000;position:fixed;inset:0}#top{align-items:flex-start;gap:25px;display:flex;position:absolute;top:17px;left:22px;right:22px}#logo{letter-spacing:.17em;color:#ff715e;white-space:nowrap;font-size:16px;font-weight:900}#logo small{letter-spacing:.36em;color:#fff;opacity:.7;margin-top:4px;font-size:9px;display:block}.meters{width:min(320px,37vw)}.meters label{letter-spacing:.14em;margin:0 0 3px;font-size:10px;font-weight:700;display:block}.meter{background:#1b232cb8;border:1px solid #eee6;height:10px;margin-bottom:8px;overflow:hidden}.meter i{background:#e54d45;width:100%;height:100%;transition:width .18s;display:block}.meter.health i{background:#84d68b}#timer{font-variant-numeric:tabular-nums;margin-left:auto;font-size:27px;font-weight:800}#crosshair{width:18px;height:18px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}#crosshair:before,#crosshair:after{content:"";background:#fff4e6;position:absolute;box-shadow:0 0 5px #000}#crosshair:before{width:2px;height:18px;left:8px}#crosshair:after{width:18px;height:2px;top:8px}#crosshair.hit:before,#crosshair.hit:after{background:#ff5c57}#weaponHud{text-align:right;width:min(350px,37vw);position:absolute;bottom:51px;right:23px}#weaponName{color:#ffd8ac;letter-spacing:.06em;font-size:19px;font-weight:850}#cooldown{background:#26333b;width:145px;height:5px;margin:8px 0 12px auto}#coolbar{background:#ffd8ac;width:100%;height:100%;display:block}#weaponList{flex-wrap:wrap;justify-content:end;gap:4px;display:flex}#weaponList span{white-space:nowrap;background:#16222cbd;border:1px solid #ffffff30;padding:5px 7px;font-size:9px}#weaponList .selected{background:#ae3e32;border-color:#ffa67a}#hint{opacity:.8;font-size:12px;position:absolute;bottom:18px;left:22px}#status{letter-spacing:.13em;color:#ffd8ac;font-size:12px;font-weight:800;position:absolute;bottom:48px;left:22px}#fps{opacity:.6;font-variant-numeric:tabular-nums;font-size:11px;position:absolute;top:86px;right:20px}#error{color:#ffd7cf;text-align:center;background:#170f14;place-items:center;padding:20px;display:none;position:fixed;inset:0}#error.show{display:grid}body.damage:after{content:"";pointer-events:none;position:fixed;inset:0;box-shadow:inset 0 0 100px #e8303170}@media (max-width:700px){#top{gap:10px;left:12px;right:12px}#logo{font-size:11px}.meters{width:36vw}#timer{font-size:17px}#weaponHud{width:54vw;bottom:49px;right:12px}#weaponName{font-size:14px}#hint{max-width:80%;font-size:10px;bottom:12px;left:12px}#status{font-size:10px;bottom:50px;left:12px}}#laserCharge{color:#a9deff;letter-spacing:.1em;width:145px;margin:0 0 10px auto;font-size:9px;font-weight:800;display:none}#laserCharge.charging{display:block}#laserCharge div{background:#142b42;border:1px solid #61bfff88;height:8px;margin-top:4px;overflow:hidden}#laserCharge i{background:#74caff;width:0;height:100%;display:block;box-shadow:0 0 12px #32a5ff}#arcOverlay{pointer-events:none;filter:drop-shadow(0 0 4px #2b9dff)drop-shadow(0 0 9px #176bff);width:100%;height:100%;position:fixed;inset:0;overflow:visible}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}body:not([data-screen=playing]) #hud,body:not([data-screen=playing]) #arcOverlay{visibility:hidden}#gate{z-index:10;box-sizing:border-box;text-align:center;cursor:pointer;background:radial-gradient(at 46% 42%,#192e3ed9,#071019ed 78%);place-items:center;padding:22px;display:grid;position:fixed;inset:0;overflow:auto}#gate.hidden{display:none}.gate-layout{grid-template-columns:minmax(0,850px) minmax(180px,270px);align-items:center;gap:14px;width:min(1160px,100%);margin:auto;display:grid}.gate-main{flex-direction:column;align-items:center;min-width:0;display:flex}.gate-artwork{object-fit:contain;filter:drop-shadow(0 14px 20px #0005);transform-origin:50% 55%;-webkit-user-select:none;user-select:none;width:100%;height:auto;max-height:calc(100dvh - 158px);display:block}#gate[data-state=loading] .gate-artwork,#gate[data-state=ready] .gate-artwork{animation:3.2s ease-in-out infinite sticker-breathe}.gate-controls img{filter:drop-shadow(0 8px 14px #0005);-webkit-user-select:none;user-select:none;width:100%;height:auto;display:block}#gateAction{z-index:1;color:#fff;text-shadow:0 2px 6px #0008;cursor:pointer;background:0 0;border:0;border-radius:8px;min-height:48px;margin:8px 0 0;padding:10px 24px;font:800 clamp(22px,3vw,32px)/1.2 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;transition:color .15s,background .15s;display:block;position:relative}#gateAction:focus-visible{outline-offset:4px;outline:3px solid #70d9ff}#gateAction:disabled{color:#dbe4eb;cursor:wait}#gateScore{letter-spacing:.08em;color:#ffd8ac;justify-content:center;align-items:baseline;gap:12px;margin:6px 0 8px;font-size:17px;font-weight:800;display:flex}#gateScore[hidden]{display:none}#koPoints{color:#fff;font-variant-numeric:tabular-nums;font-size:30px;line-height:1.1}#gateText{color:#cfdae2;min-height:20px;margin:5px 0 0;font-size:14px;line-height:1.4}#gate[data-state=win] .gate-layout,#gate[data-state=lose] .gate-layout{grid-template-columns:minmax(0,950px);justify-content:center}#gate[data-state=win] .gate-controls,#gate[data-state=lose] .gate-controls,#gate[data-state=win] #gateText,#gate[data-state=lose] #gateText{display:none}#gate[data-state=win] .gate-artwork,#gate[data-state=lose] .gate-artwork{max-height:calc(100dvh - 158px)}#error{z-index:20}@keyframes sticker-breathe{0%,to{transform:scale(.985)}50%{transform:scale(1.015)}}@media (max-width:700px) and (orientation:portrait){#gate{padding:14px}.gate-layout{grid-template-columns:minmax(0,1fr);gap:6px}.gate-artwork{max-height:52dvh}.gate-controls{justify-self:center;width:min(240px,55vw)}.gate-controls img{object-fit:contain;max-height:25dvh}#gateAction{margin-top:2px}#gateText{font-size:14px}#gate[data-state=win] .gate-artwork,#gate[data-state=lose] .gate-artwork{max-height:min(70dvh,100dvh - 158px)}}@media (max-height:500px) and (orientation:landscape){#gate{padding:10px 20px}.gate-layout{grid-template-columns:minmax(0,1fr) 170px;width:min(840px,100%)}.gate-artwork{max-height:calc(100dvh - 105px)}#gateAction{min-height:38px;margin:0;padding:5px 16px;font-size:22px}#gateText{margin:0;font-size:12px}.gate-controls img{object-fit:contain;max-height:220px}#gate[data-state=win] .gate-artwork,#gate[data-state=lose] .gate-artwork{max-height:calc(100dvh - 112px)}}@media (prefers-reduced-motion:reduce){#gate[data-state] .gate-artwork{animation:none}#gateAction{transition:none}}.game-section{margin-bottom:28px}.site-main{padding-bottom:28px}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ink:#101820;--panel:#172631;--line:#ffffff20;--muted:#a9bac5;--accent:#ff715e;--ice:#a6eaff}*{box-sizing:border-box}html{scroll-behavior:smooth;height:auto;min-height:100%;scroll-padding-top:16px;overflow:hidden auto}body{background:var(--ink);height:auto;min-height:100vh;overflow:visible}[hidden]{display:none!important}button,select,a{-webkit-tap-highlight-color:transparent}button,select{font:inherit}button,a,select{touch-action:manipulation}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid var(--ice);outline-offset:4px}button{cursor:pointer}a{color:inherit}h1,h2,h3,p{margin-top:0}.site-header,.site-main,.site-footer{width:min(1240px,100% - 48px);margin-inline:auto}.site-header{justify-content:space-between;align-items:center;gap:20px;min-height:80px;display:flex}.site-header a{padding-block:12px;font-size:15px;text-decoration:none}.site-brand{letter-spacing:.12em;color:var(--accent);font-weight:900}.site-brand span{color:#fff;letter-spacing:.06em}.site-header>a:last-child{color:var(--muted)}#app{border:1px solid var(--line);background:#0b141c;border-radius:18px;width:100%;height:clamp(470px,66vh,690px);margin:0;position:relative;overflow:hidden}#game{position:absolute;inset:0}#hud,#arcOverlay{position:absolute}#gate{cursor:default;background:radial-gradient(at 45% 35%,#213e51,#0b141c 78%);padding:18px;position:absolute;inset:0}.gate-layout{grid-template-columns:minmax(0,850px) minmax(180px,260px);gap:8px;width:100%}.gate-artwork{max-height:min(47vh,460px)}#gateAction{color:#101820;text-shadow:none;background:#ff715e;min-width:155px;font-size:26px}#gateAction:hover:not(:disabled){color:#101820;background:#ff927e}#gateAction:disabled{color:#cbd7de;background:#283e4d}#gateText{color:#c7d5df;min-height:20px;margin:10px 0 0;font-size:14px}#resultBrowse{color:var(--ice);text-underline-offset:4px;margin-top:10px;font-size:15px}.touch-guide{text-align:left;border-left:2px solid var(--accent);color:#d5e2e9;padding:20px;display:none}.touch-guide strong{letter-spacing:.1em;color:var(--ice);font-size:15px}.touch-guide p{margin:12px 0;font-size:15px;line-height:1.5}.touch-guide span{color:var(--muted);font-size:14px}.touch-device .touch-guide{display:block}.touch-device .mouse-guide{display:none}.game-caption{justify-content:space-between;align-items:center;gap:20px;padding:23px 4px 28px;display:flex}.game-caption h1{letter-spacing:-.03em;margin-bottom:6px;font-size:24px}.game-caption p{color:var(--muted);margin:0;font-size:16px;line-height:1.45}.game-tag{letter-spacing:.1em;color:var(--ice);white-space:nowrap;font-size:12px;font-weight:800}.more-games{border-top:1px solid var(--line);padding:28px 4px 32px;scroll-margin-top:16px}.section-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;display:flex}.eyebrow{letter-spacing:.16em;color:var(--accent);margin-bottom:8px;font-size:12px;font-weight:800}.section-heading h2{letter-spacing:-.03em;margin:0;font-size:26px}.section-heading>span{color:var(--muted);font-size:14px}.game-cards{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;display:grid}.game-card{border:1px solid var(--line);border-top:3px solid var(--accent);background:var(--panel);border-radius:10px;max-width:580px;min-height:170px;padding:26px;text-decoration:none;position:relative}.game-card h3{margin:17px 0 7px;font-size:22px}.game-card p{color:var(--muted);margin:0;font-size:16px;line-height:1.5}.card-status{color:var(--ice);text-transform:uppercase;letter-spacing:.1em;font-size:12px;font-weight:800;display:inline-block}.game-card img{aspect-ratio:16/9;object-fit:cover;width:100%}.how-to{border-top:1px solid var(--line);padding:28px 4px 36px}.how-to h2{font-size:22px}.how-columns{grid-template-columns:repeat(3,1fr);gap:30px;display:grid}.how-columns h3{color:#e3edf3;margin-bottom:8px;font-size:16px}.how-columns p{color:var(--muted);margin:0;font-size:16px;line-height:1.65}.site-footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;padding:24px 4px 32px;font-size:14px;display:flex}body.immersive{overflow:hidden}body.immersive #app{width:100%;height:100vh;z-index:50;border:0;border-radius:0;height:100dvh;position:fixed;inset:0}#app:-webkit-full-screen{border:0;border-radius:0;width:100%;height:100%}#app:fullscreen{border:0;border-radius:0;width:100%;height:100%}.play-button{z-index:12;right:max(16px,env(safe-area-inset-right));top:max(12px,env(safe-area-inset-top));color:#fff;background:#101820b8;border:1px solid #ffffff60;border-radius:9px;min-height:44px;padding:8px 16px;font-size:14px;font-weight:700;display:none;position:absolute}body[data-screen=playing] .play-button{display:block}#timer{padding-right:90px}#fps{top:74px}html.game-input-active,html.game-input-active body,html.game-input-active #app{touch-action:none;overscroll-behavior:none}html.game-input-active #app,html.game-input-active #app *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}#touchControls{pointer-events:none;z-index:11;-webkit-user-select:none;user-select:none;display:none;position:absolute;inset:0}.touch-device[data-screen=playing] #touchControls{display:block}#touchControls button,#aimPad{pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}#fireButton{right:max(22px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));color:#fff;letter-spacing:.06em;background:#c23c30e6;border:3px solid #ffe6d0;border-radius:50%;width:82px;height:82px;font-size:17px;font-weight:900;position:absolute;box-shadow:0 4px 18px #0006}#fireButton.held{background:#ff8062;transform:scale(.96)}.touch-weapons{right:max(16px,env(safe-area-inset-right));bottom:calc(114px + env(safe-area-inset-bottom));gap:8px;display:flex;position:absolute}.touch-weapons button{color:#fff;background:#101820c9;border:1px solid #ffffff70;border-radius:8px;min-width:58px;min-height:44px;font-size:13px;font-weight:800}#aimPad{left:max(24px,env(safe-area-inset-left));bottom:calc(26px + env(safe-area-inset-bottom));background:#0b192569;border:2px solid #ffffff50;border-radius:50%;width:132px;height:132px;position:absolute}#aimStick{pointer-events:none;background:#d7e5ed73;border:2px solid #ffffffa0;border-radius:50%;width:44px;height:44px;position:absolute;top:calc(50% - 22px);left:calc(50% - 22px)}#aimPad small{text-align:center;letter-spacing:.14em;color:#fff9;font-size:10px;font-weight:800;position:absolute;bottom:7px;left:0;right:0}.aim-hint{bottom:calc(24px + env(safe-area-inset-bottom));letter-spacing:.08em;color:#ffffffa0;text-shadow:0 1px 5px #000;white-space:nowrap;font-size:11px;position:absolute;left:50%;transform:translate(-50%)}.touch-device #top{top:max(12px,env(safe-area-inset-top));left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right));gap:18px}.touch-device #logo{display:none}.touch-device .meters{width:min(270px,38vw)}.touch-device #timer{font-size:23px}.touch-device #weaponHud{bottom:calc(169px + env(safe-area-inset-bottom));right:max(18px,env(safe-area-inset-right));width:230px}.touch-device #weaponName{font-size:14px}.touch-device #weaponList,.touch-device #hint{display:none}.touch-device #status{top:86px;bottom:auto;left:max(14px,env(safe-area-inset-left));max-width:50vw;font-size:10px}.touch-device #fps{display:none}.touch-device #cooldown{width:120px;margin:5px 0 0 auto}.touch-device #laserCharge{margin-bottom:6px}#pausePanel{z-index:20;background:#071019ed;place-items:center;padding:18px;display:grid;position:absolute;inset:0;overflow:auto}.pause-card{text-align:center;flex-direction:column;gap:12px;width:min(370px,100%);margin:auto;display:flex}.pause-card h2{margin:0;font-size:30px}.pause-card p{color:var(--muted);margin:0;font-size:15px;line-height:1.4}.pause-card .eyebrow{color:var(--accent);font-size:12px}.pause-card label{text-align:left;margin-top:6px;font-size:14px}.pause-card select{color:#fff;background:#1b303f;border:1px solid #ffffff50;border-radius:8px;min-height:46px;padding:11px 12px;font-size:16px}.primary-button,.secondary-button{border:1px solid #ffffff45;border-radius:8px;min-height:46px;padding:11px 20px;font-weight:750}.primary-button{background:var(--accent);border-color:var(--accent);color:#101820}.secondary-button{color:#fff;background:0 0}body[data-screen=result] #gate{padding:12px 16px}body[data-screen=result] #gate .gate-artwork{max-height:min(43vh,420px)}body[data-screen=result] #app{height:clamp(360px,63vh,600px)}body[data-screen=result] #gateAction{color:#fff;background:0 0;min-height:44px;padding:5px 20px;font-size:26px}body[data-screen=result] #gateAction:hover{color:var(--ice)}body[data-screen=result] .game-caption{padding-block:16px}#gateScore{margin:2px 0 5px;font-size:15px}#koPoints{font-size:27px}@media (max-width:700px){.site-header,.site-main,.site-footer{width:calc(100% - 28px)}.site-header{gap:12px;min-height:66px}.site-header .site-brand{letter-spacing:.07em;font-size:13px}.site-header>a:last-child{font-size:14px}.game-caption{align-items:flex-start;padding:20px 2px 24px}.game-caption h1{font-size:22px}.game-tag{display:none}.section-heading{align-items:flex-start}.section-heading h2{font-size:23px}.section-heading>span{text-align:right;max-width:90px;font-size:12px}.game-card{min-height:165px;padding:22px}.game-card h3{font-size:22px}.how-columns{grid-template-columns:1fr;gap:24px}.site-footer{gap:18px;font-size:12px}.site-footer span{text-align:right}}@media (max-width:700px) and (orientation:portrait){#app{border-radius:13px;height:530px;max-height:none}#gate{padding:14px}.gate-layout{grid-template-columns:1fr;gap:16px}.gate-artwork{max-height:270px}.gate-controls{width:100%;max-width:330px}.touch-guide{text-align:center;border-left:0;border-top:1px solid var(--line);padding:14px 0 0}.touch-guide strong{display:none}.touch-guide p{margin:0;font-size:14px;line-height:1.7;display:inline}.touch-guide p:after{content:" ";white-space:pre}.touch-guide span{margin-top:7px;font-size:13px;display:block}.gate-controls .mouse-guide{object-fit:contain;max-height:135px}#gateText{font-size:13px}#gateAction{font-size:25px}.touch-device #top{gap:10px}.touch-device .meters{width:42vw}.touch-device #timer{padding-right:76px;font-size:20px}.touch-device #weaponHud{width:200px}.touch-device #status{max-width:75vw}body[data-screen=result] #app{height:390px}body[data-screen=result] #gate .gate-artwork{max-height:250px}}@media (max-height:500px) and (orientation:landscape){.touch-device #weaponHud{bottom:calc(159px + env(safe-area-inset-bottom))}.touch-device #status{font-size:10px;top:70px}.touch-device #top{gap:10px}.touch-device .meter{height:7px;margin-bottom:5px}.touch-device .meters label{font-size:9px}.pause-card{text-align:left;grid-template-columns:1fr 1fr;gap:10px;width:min(470px,100%);display:grid}.pause-card>.eyebrow,.pause-card>h2,.pause-card>#pauseReason{grid-column:1/-1}.pause-card h2{font-size:24px}.pause-card label{grid-column:1;align-self:center}.pause-card select{grid-column:2}.pause-card #resumeButton{grid-column:1/-1}.pause-card>.eyebrow{display:none}#pausePanel{padding:14px max(25px,env(safe-area-inset-left))}.gate-artwork{max-height:320px}#gate[data-state=win] .gate-artwork,#gate[data-state=lose] .gate-artwork{max-height:200px}.gate-controls .mouse-guide{max-height:220px}.gate-layout{grid-template-columns:minmax(0,1fr) 200px}#gateText{font-size:14px}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{transition:none!important}}.sound-toggle{color:#d5e2e9;background:#172631;border:1px solid #ffffff50;border-radius:8px;min-height:44px;padding:8px 16px;font-size:14px}.gate-controls .sound-toggle{margin-top:12px}.audio-settings{align-items:center;gap:12px;margin:12px 0;display:flex}.audio-settings label{margin:0;font-size:14px}.audio-settings input{width:100px;min-width:60px;accent-color:var(--accent);touch-action:pan-x;flex:1}.audio-settings .sound-toggle{flex-shrink:0}.pause-card{max-height:calc(100dvh - 28px);overflow-y:auto}input:focus-visible{outline:3px solid var(--ice);outline-offset:4px}#startCountdown{z-index:13;pointer-events:none;background:radial-gradient(#10182060,#0000 60%);place-items:center;display:grid;position:absolute;inset:0}#countdownLabel{color:#fff1ba;text-shadow:0 5px #101820,0 0 32px #101820;font-size:clamp(90px,19vmin,180px);font-weight:900;line-height:1}#startCountdown.go #countdownLabel{color:#a6eaff}body[data-screen=countdown] .play-button{display:block}body[data-screen=paused] #startCountdown{display:none}
