:root{--bg:#070809;--bg-panel:#0b1410;--bg-thumb:#0e1d15;--border:#15301c;--border-tile:#2a4a32;--neon-green:#4dff88;--hot-pink:#ff3d7f;--cyan:#00e5ff;--amber:#ffd23f;--text:#eaffea;--text-dim:#86a08c;--text-dimmer:#6f8a76;--text-faint:#4a5e50;--on-green:#04140a;--on-pink:#1a0410;--cyan-border:#14424a}*{box-sizing:border-box;margin:0;padding:0}body{color:var(--text);background:#0a0b0d;justify-content:center;min-height:100vh;padding:40px 0;font-family:JetBrains Mono,monospace;display:flex}#root{justify-content:center;width:100%;display:flex}.frame{background:var(--bg);border-radius:4px;flex-direction:column;width:1280px;max-width:100%;min-height:100vh;display:flex;position:relative;overflow:hidden;box-shadow:0 12px 40px #00000080}.frame main{flex:1}@keyframes blink{0%,49%{opacity:1}50%,to{opacity:0}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.4}}@keyframes scan{0%{transform:translateY(0)}to{transform:translateY(4px)}}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:var(--bg)}::-webkit-scrollbar-thumb{background:var(--border-tile);border-radius:0}a{color:var(--neon-green);text-decoration:none}a:hover{text-shadow:0 0 8px #4dff8880}input:focus{box-shadow:0 0 8px #4dff884d;border-color:var(--neon-green)!important}.tile:hover{border-color:var(--neon-green)!important}:root{--neon-intensity:1;--neon-multiplier:calc(var(--neon-intensity) * 1)}:root[style*=--neon] .tile:hover{text-shadow:0 0 calc(8px * var(--neon-intensity)) #4dff8880!important}.page-enter{opacity:0;transform:translateY(4px)}.page-enter-active{opacity:1;transition:opacity .2s ease-out,transform .2s ease-out;transform:translateY(0)}.page-exit{opacity:1}.page-exit-active{opacity:0;transition:opacity .15s ease-in}.shortcut-overlay{z-index:10000;background:#000000d9;justify-content:center;align-items:center;animation:.15s ease-out fade-in;display:flex;position:fixed;inset:0}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@media (width<=1340px){.frame{border-radius:0}body{padding:0}}@media (width<=900px){.frame section[style*="grid-template-columns: 1fr 1.05fr"],.frame section[style*="grid-template-columns:1fr 1.05fr"]{grid-template-columns:1fr!important}.touch-controls-wrapper{width:100%!important;max-width:100vw!important;display:block!important}.game-container{height:100vh!important;max-height:100vh!important;min-height:unset!important;overflow:hidden!important}.game-container .game-area{overflow:hidden;flex:0 auto!important;min-height:0!important;max-height:45vh!important}.game-container canvas{object-fit:contain;max-width:calc(100vw - 32px);height:auto!important;max-height:42vh!important}.game-area{overflow:hidden;width:100%!important;max-width:100%!important}.game-area>div{overflow-x:auto;max-width:100%!important}.frame section div[style*="font-size: 58"]{font-size:36px!important}.game-toolbar{flex-wrap:wrap;gap:6px!important}.frame header{flex-wrap:wrap!important;gap:12px!important}.frame header>div{gap:14px!important}.frame div[style*="grid-template-columns: repeat(3"]{grid-template-columns:repeat(2,1fr)!important}.frame table{font-size:11px!important}.frame section button[style*="padding: 8px"]{padding:6px 10px!important;font-size:10px!important}.frame div[style*=minmax\(200px]{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important}.frame div[style*=minmax\(140px]{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))!important}}@media (width<=600px){.frame section div[style*="font-size: 58"]{font-size:28px!important}body{font-size:13px}.frame section{padding-left:16px!important;padding-right:16px!important}.game-container canvas{max-width:calc(100vw - 24px)}.frame div[style*="grid-template-columns: repeat(2"]{grid-template-columns:1fr!important}.game-toolbar button,.game-toolbar span{font-size:10px!important}.game-toolbar .toolbar-fav,.game-toolbar .toolbar-badge,.game-toolbar .toolbar-howto,.game-toolbar .toolbar-share,.game-toolbar .toolbar-ghost{display:none!important}.frame header{flex-wrap:wrap!important;gap:10px!important;padding:10px 14px!important}.frame header>div{flex-wrap:wrap!important;gap:10px!important}.frame header a,.frame header button{padding:3px 7px!important;font-size:10px!important}.frame header span{font-size:16px!important}.frame header>div>div:first-child>div{width:24px!important;height:24px!important}.frame header input[type=range],.frame header input[type=range]+span,.frame header input[type=range]~span,.frame header div[style*="gap: 6"]{display:none!important}.frame footer{padding:12px!important;font-size:9px!important}.frame div[style*="align-items: center; gap: 20"]{flex-wrap:wrap}}@media (width<=400px){html,body,.frame{overflow-x:hidden!important}.game-container .game-area{min-height:0!important;max-height:40vh!important;padding:8px!important}.game-container canvas{max-width:calc(100vw - 16px)!important;max-height:36vh!important}.frame section div[style*="padding: 54px 36px"],.frame section div[style*="padding: 36px"]{padding:16px 12px!important}.frame section div[style*="font-size: 58"]{font-size:22px!important}.frame section p[style*="max-width: 340"]{max-width:100%!important}.frame section div[style*="gap: 14"]{flex-wrap:wrap!important;gap:8px!important}.frame section div[style*="gap: 14"]>button{flex:auto!important;min-width:0!important;padding:10px 14px!important;font-size:11px!important}.frame section div[style*="gap: 30"]{flex-wrap:wrap!important;gap:14px!important;margin-top:24px!important}.frame section div[style*="height: 240"]{height:150px!important}.frame section div[style*="height: 240"]>div[style*="font-size: 72"]{font-size:48px!important}.frame section div[style*="padding: 20px 22px"]{flex-wrap:wrap!important;gap:8px!important;padding:12px!important}.frame section div[style*="padding: 20px 22px"]>div>div[style*="font-size: 24"]{font-size:18px!important}.frame section div[style*="padding: 20px 22px"]>button{padding:8px 14px!important;font-size:11px!important}.frame section#cabinet{padding:16px 12px!important}.frame section#cabinet input[type=text]{width:100%!important;min-width:0!important;max-width:100%!important}.frame section#cabinet div[style*="gap: 8"]>button{padding:4px 8px!important;font-size:10px!important}.frame section#cabinet>div[style*=minmax\(180px]{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))!important;gap:10px!important}.frame .tile-thumb{height:80px!important}.frame .tile>div:last-child{padding:10px!important}.frame .tile>div:last-child span[style*="font-size: 14"]{font-size:12px!important}}.touch-controls-wrapper{display:none!important}@media (hover:none) and (pointer:coarse){.touch-controls-wrapper{background:var(--bg);z-index:10;width:100%;max-width:100vw;bottom:0;overflow:hidden;display:block!important;position:sticky!important}.touch-controls{flex-wrap:wrap!important;justify-content:center!important;gap:4px!important;padding:8px!important}}@media (width<=768px){.touch-controls-wrapper{background:var(--bg);z-index:10;bottom:0;overflow:hidden;width:100%!important;max-width:100vw!important;display:block!important;position:sticky!important}.touch-controls{flex-wrap:wrap!important;justify-content:center!important;gap:4px!important;padding:8px!important}}@media (width<=400px){.touch-controls{gap:2px!important;padding:6px 4px!important}.touch-controls>div:first-child{transform-origin:0;transform:scale(.85)}.touch-controls>div:last-child{transform-origin:100%;transform:scale(.85)}.touch-controls button{padding:6px!important}}:-webkit-any(.game-container:fullscreen,.game-container:-webkit-full-screen){background:var(--bg);flex-direction:column;display:flex}:is(.game-container:fullscreen,.game-container:fullscreen){background:var(--bg);flex-direction:column;display:flex}:-webkit-any(.game-container:fullscreen canvas,.game-container:-webkit-full-screen canvas){max-width:100%;height:auto}:is(.game-container:fullscreen canvas,.game-container:fullscreen canvas){max-width:100%;height:auto}.pwa-install-prompt{background:var(--bg-panel);border:1px solid var(--border-tile);z-index:999;color:var(--text);letter-spacing:.08em;align-items:center;gap:12px;max-width:calc(100vw - 32px);padding:12px 20px;font-family:JetBrains Mono,monospace;font-size:12px;display:flex;position:fixed;bottom:20px;left:50%;transform:translate(-50%);box-shadow:0 8px 32px #00000080}@media (width<=768px){.pwa-install-prompt{bottom:calc(12px + env(safe-area-inset-bottom,0px));gap:8px;width:calc(100vw - 24px);max-width:none;padding:10px 14px;font-size:11px;left:12px;right:12px;transform:none}}.aths-hint{bottom:calc(80px + env(safe-area-inset-bottom,0px));z-index:998;color:var(--text);background:#070809f2;border:1px solid #4dff884d;border-radius:8px;align-items:center;gap:12px;width:340px;max-width:calc(100vw - 24px);padding:12px 16px;font-family:JetBrains Mono,monospace;animation:.3s ease-out fade-in;display:flex;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 4px 24px #0009}.aths-hint-icon{flex-shrink:0;font-size:24px}.aths-hint-text{flex:1;min-width:0}.aths-hint-title{letter-spacing:.12em;color:var(--neon-green);text-shadow:0 0 8px #4dff884d;font-size:11px;font-weight:700}.aths-hint-sub{color:var(--text-dim);letter-spacing:.04em;margin-top:4px;font-size:10px}.aths-hint-ios{display:inline}.aths-hint-android{display:none}.aths-hint-close{color:var(--text-dim);cursor:pointer;background:0 0;border:none;flex-shrink:0;padding:4px;font-family:inherit;font-size:14px}@media (width<=768px){.aths-hint{bottom:calc(70px + env(safe-area-inset-bottom,0px))}}.game-container{padding-top:env(safe-area-inset-top,0px)}.touch-controls-wrapper{padding-bottom:env(safe-area-inset-bottom,0px);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}.touch-controls{padding-left:calc(8px + env(safe-area-inset-left,0px))!important;padding-right:calc(8px + env(safe-area-inset-right,0px))!important;padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))!important}.game-toolbar{padding-top:calc(10px + env(safe-area-inset-top,0px))!important;padding-left:calc(24px + env(safe-area-inset-left,0px))!important;padding-right:calc(24px + env(safe-area-inset-right,0px))!important}@media (width<=600px){.toolbar-pause{padding:5px 10px!important;font-size:10px!important;display:flex!important}}.scroll-top-btn{background:var(--bg-panel);border:1px solid var(--border-tile);width:36px;height:36px;color:var(--neon-green);cursor:pointer;z-index:50;justify-content:center;align-items:center;font-size:18px;display:none;position:fixed;bottom:20px;right:20px}:root.crt-on:after{content:"";pointer-events:none;z-index:9999;background:repeating-linear-gradient(0deg,#00000014 0 1px,#0000 1px 3px);width:100%;height:100%;animation:.15s infinite alternate crt-flicker;position:fixed;top:0;left:0}:root.crt-on:before{content:"";pointer-events:none;z-index:9998;background:radial-gradient(#0000 50%,#00000040 100%);width:100%;height:100%;position:fixed;top:0;left:0;box-shadow:inset 0 0 120px #4dff8808}@keyframes crt-flicker{0%{opacity:.97}to{opacity:1}}:root.crt-on main{border-radius:12px;overflow:hidden;box-shadow:inset 0 0 60px #0000004d,0 0 2px #4dff8826}:root.crt-on h1,:root.crt-on h2,:root.crt-on .game-tile-title{text-shadow:-.5px 0 #ff3d7f26,.5px 0 #00e5ff26}:root.crt-on main{animation:.4s ease-out crt-on}@keyframes crt-on{0%{filter:brightness(10);transform:scaleY(.005)scaleX(.8)}40%{filter:brightness(5);transform:scaleY(.005)scaleX(1.2)}60%{filter:brightness(2);transform:scaleY(1)scaleX(1)}to{filter:brightness();transform:scaleY(1)scaleX(1)}}@keyframes toast-in{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}@keyframes toast-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(100%)}}@keyframes coin-drop{0%{opacity:0;transform:translateY(-60px)rotate(0)}30%{opacity:1;transform:translateY(0)rotate(180deg)}50%{transform:translateY(-15px)rotate(270deg)}70%{transform:translateY(0)rotate(360deg)}85%{transform:translateY(-5px)rotate(390deg)}to{opacity:0;transform:translateY(0)rotate(360deg)}}@keyframes coin-glow{0%{box-shadow:0 0 #ffd23f00}50%{box-shadow:0 0 40px #ffd23f99}to{box-shadow:0 0 #ffd23f00}}@keyframes glyphPulse{0%,to{opacity:.85;transform:scale(1)}50%{opacity:1;transform:scale(1.08)}}@keyframes pulse-glow{0%{text-shadow:0 0 8px #ffd7404d}to{text-shadow:0 0 24px #ffd740cc,0 0 40px #ffd74066}}@keyframes page-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}:focus-visible{outline:2px solid var(--neon-green);outline-offset:2px}.skip-link{background:var(--neon-green);color:var(--on-green);z-index:9999;letter-spacing:.1em;padding:8px 16px;font-family:JetBrains Mono,monospace;font-size:12px;font-weight:700;position:absolute;top:-40px;left:0}.skip-link:focus{top:0}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
