:root{--bg:#09090b;--cabinet:#171318;--cabinet-deep:#0d0c0f;--red:#d1263d;--red-dark:#8e172a;--red-light:#ef4054;--cream:#f5eee5;--yellow:#f1d21a;--muted:#aaa1a3;--line:rgba(245,238,229,.16);--mono:"SFMono-Regular",Consolas,monospace;--display:Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;overflow-x:hidden;background:#09090b;color:var(--cream);font-family:Arial,Helvetica,sans-serif}body:before{content:"";position:fixed;inset:0;pointer-events:none;opacity:.12;background:repeating-linear-gradient(135deg,transparent 0 38px,rgba(255,255,255,.035) 39px 40px),linear-gradient(transparent 50%,rgba(255,255,255,.018) 50%);background-size:auto,100% 4px}.page{position:relative;width:min(100%,520px);padding:0 16px;margin:auto}.topbar{height:72px;width:calc(100% + 32px);margin-left:-16px;padding:0 14px;display:flex;align-items:center;background:var(--red)}.brand{display:flex;align-items:center}.brand img{width:180px;height:54px;object-fit:contain}.intro{padding:66px 0 34px}.eyebrow{margin:0 0 20px;color:var(--yellow);font:9px var(--mono);letter-spacing:.12em}.intro-line{margin:0;color:#b9b0ae;line-height:1.8;font-size:14px}.game{position:relative;margin:28px 0 60px;padding:35px 12px 158px;background:linear-gradient(155deg,#31282e 0%,var(--cabinet) 27%,#0b0a0c 100%);border:4px solid var(--red);border-radius:16px 16px 24px 24px;box-shadow:12px 14px 0 rgba(209,38,61,.28),inset 0 0 0 2px #070609}.game:before{content:"NEO EDO // ARCADE UNIT";position:absolute;top:11px;left:0;right:0;text-align:center;color:var(--yellow);font:10px var(--mono);letter-spacing:.18em}.game:after{content:"";position:absolute;top:26px;left:18px;right:18px;height:4px;background:var(--red-dark);box-shadow:0 1px 0 rgba(255,255,255,.08)}.game-head,.game-foot{display:flex;justify-content:space-between;align-items:center;color:var(--yellow);font:9px var(--mono);letter-spacing:.08em}.game-head{position:relative;margin:0;padding:12px 13px 10px;background:#050506;border:3px solid var(--red);border-bottom:0}.game-head strong{color:var(--red-light);font-size:17px;font-weight:400}.stage{position:relative;background:#030304;border:3px solid var(--red);box-shadow:inset 0 0 0 5px #080709,inset 0 0 36px rgba(209,38,61,.12)}.board{display:grid;grid-template-columns:repeat(var(--size),1fr);aspect-ratio:var(--ratio,1);gap:2px;background:#020203;padding:5px}.tile{border:0;padding:0;min-width:0;cursor:pointer;background-repeat:no-repeat;transition:filter .15s,outline .15s,transform .15s}.tile:hover{filter:brightness(1.2);transform:scale(.985);z-index:1}.tile.selected{outline:3px solid var(--yellow);outline-offset:-3px;filter:brightness(1.22);transform:scale(.97);box-shadow:0 0 18px rgba(241,210,26,.35)}.overlay{position:absolute;inset:8px;display:grid;place-items:center;align-content:center;gap:16px;text-align:center;background:rgba(5,5,6,.94);backdrop-filter:blur(4px)}.overlay.hidden{display:none}.overlay small{color:var(--red-light);font:9px var(--mono);letter-spacing:.14em}.overlay h2{font:clamp(2.2rem,12vw,4rem)/.84 var(--display);margin:0}.start-form{display:grid;gap:10px;width:min(100%,330px);margin:auto}.start-form input,.registration input{width:100%;padding:13px 11px;border:1px solid rgba(255,255,255,.35);background:#161416;color:#fff;font:11px var(--mono);outline:none}.start-form input:focus,.registration input:focus{border-color:var(--yellow);box-shadow:0 0 0 2px rgba(241,210,26,.12)}.start-form p{margin:0;color:var(--yellow);font:10px var(--mono)}.start{position:relative;overflow:hidden;border:1px solid var(--red);background:var(--red);color:#fff;padding:14px 16px;min-width:190px;font:10px var(--mono);letter-spacing:.1em;cursor:pointer;box-shadow:5px 5px 0 var(--yellow);transition:transform .18s,background .18s,box-shadow .18s}.start span{color:#fff;margin-left:16px}.start:hover{transform:translateY(-3px);background:var(--yellow);color:#08080a;box-shadow:5px 5px 0 var(--red)}.start:active{transform:translateY(0) scale(.98)}.start:disabled{opacity:.45;cursor:not-allowed}.game-foot{margin:0;padding:10px 13px 8px;color:#aaa1a3;background:#050506;border:3px solid var(--red);border-top:0}.game-controls{position:absolute;left:7px;right:7px;bottom:11px;height:124px;padding:16px 18px 13px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(165deg,#3a3035 0%,#221b21 50%,#130f13 100%);border:3px solid #080709;box-shadow:inset 0 2px 0 rgba(255,255,255,.08),0 5px 0 var(--red-dark);clip-path:polygon(4% 0,96% 0,100% 100%,0 100%)}.joystick{position:relative;width:88px;height:91px;flex:none}.joystick:after{content:"";position:absolute;left:10px;bottom:2px;width:68px;height:19px;border-radius:50%;background:#080709;border:3px solid #0d0c0f;box-shadow:0 -2px 0 var(--red-dark)}.joystick-stick{position:absolute;left:41px;bottom:15px;width:12px;height:50px;border-radius:8px;background:linear-gradient(90deg,#080709,#6c6266 48%,#161116);transform:rotate(8deg);transform-origin:bottom}.joystick-knob{position:absolute;left:21px;top:5px;width:49px;height:36px;border-radius:50% 48% 45% 48%;background:radial-gradient(circle at 32% 25%,#f0626c,#bc1e34 42%,#570b19 100%);border:3px solid #09080a;box-shadow:0 4px 0 #080709,0 0 12px rgba(209,38,61,.35)}.coin-slot{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:76px;color:#b9b0ae;font:8px var(--mono);letter-spacing:.08em}.coin-slot:after{content:"";width:34px;height:7px;border-radius:5px;background:#030304;border:2px solid #494044;box-shadow:inset 0 1px 2px #000}.coin-light{width:13px;height:13px;border-radius:50%;background:var(--yellow);box-shadow:0 0 18px var(--yellow);animation:coin-blink 1.8s steps(2,end) infinite}.arcade-buttons{display:flex;gap:12px;transform:rotate(-9deg);flex:none}.arcade-buttons button{width:58px;height:58px;border-radius:50%;border:4px solid #080709;background:radial-gradient(circle at 30% 22%,#f0626c,#c81e37 46%,#650c1a 100%);color:#fff;font:bold 17px var(--mono);box-shadow:0 5px 0 #080709,0 0 0 2px var(--red-dark);cursor:default}.arcade-buttons button:last-child{background:radial-gradient(circle at 30% 22%,#6a6468,#2c252a 48%,#0a090b 100%);color:var(--yellow);box-shadow:0 5px 0 #080709,0 0 0 2px #5a4d51}.leaderboard{margin:32px 0 70px;border-top:2px solid var(--red)}.leaderboard-head{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.14)}.leaderboard-head .eyebrow{margin:0}.leaderboard-head>span{color:#999;font:10px var(--mono)}.leaderboard-rows{display:grid}.leader-row{display:grid;grid-template-columns:42px 1fr 60px;gap:10px;padding:12px 4px;border-bottom:1px solid rgba(255,255,255,.08);font:11px var(--mono)}.leader-row span{color:var(--yellow)}.leader-row strong{font-weight:400;overflow:hidden;text-overflow:ellipsis}.leader-row b{color:var(--red-light);text-align:right}.registration{width:min(100%,330px);font:11px var(--mono);line-height:1.6;color:#d8d2c6}.registration p{margin:0 0 12px}.registration a{color:var(--yellow)}.registration form{display:grid;gap:9px}.registration button{width:100%}.anonymous{display:flex;align-items:center;gap:8px;color:#c8c0b5;font:10px var(--mono)}.anonymous input{accent-color:var(--red)}.entry-message{color:var(--yellow)!important;margin-top:14px!important}.result-copy{max-width:300px;margin:0;color:#c8c0b5;font:12px/1.6 var(--mono)}.result-copy strong{color:var(--yellow)}#timer.urgent{color:var(--red-light);animation:timer-pulse .55s ease-in-out infinite alternate}@keyframes coin-blink{50%{opacity:.35}}@keyframes timer-pulse{to{transform:scale(1.08);text-shadow:0 0 16px rgba(255,64,84,.75)}}
@media(max-width:370px){.page{padding:0 10px}.topbar{width:calc(100% + 20px);margin-left:-10px}.brand img{width:156px}.game{padding-left:8px;padding-right:8px}.game-controls{left:5px;right:5px;padding-left:10px;padding-right:10px}.joystick{transform:scale(.9);transform-origin:left center}.arcade-buttons{gap:6px;transform:rotate(-9deg) scale(.9)}.coin-slot{min-width:62px;font-size:7px}}
.direction-pad{position:relative;width:112px;height:94px;display:grid;grid-template-columns:repeat(3,32px);grid-template-rows:repeat(3,32px);gap:4px;flex:none}.direction-pad button{position:relative;width:32px;height:32px;padding:0;border:2px solid #080709;border-radius:4px;background:linear-gradient(145deg,#5c5156,#282126 65%,#100d11);box-shadow:0 3px 0 #080709,0 0 0 1px #68565c;color:var(--cream);cursor:default}.direction-pad button:after{position:absolute;inset:0;display:grid;place-items:center;color:var(--yellow);font:bold 18px Arial;line-height:1}.direction-up{grid-column:2;grid-row:1}.direction-left{grid-column:1;grid-row:2}.direction-right{grid-column:3;grid-row:2}.direction-down{grid-column:2;grid-row:3}.direction-up:after{content:"^"}.direction-left:after{content:"<"}.direction-right:after{content:">"}.direction-down:after{content:"v"}.direction-pad button:active{transform:translateY(2px);box-shadow:0 1px 0 #080709,0 0 0 1px #68565c}.arcade-buttons{margin-right:4px}
@media(max-width:370px){.direction-pad{transform:scale(.88);transform-origin:left center}.arcade-buttons{transform:rotate(-9deg) scale(.86);transform-origin:right center}}
.game{width:min(100%,390px);margin-left:auto;margin-right:auto;padding:54px 15px 214px;border:5px solid var(--red);border-radius:42px 42px 52px 52px;background:linear-gradient(135deg,#281e27 0%,#171218 48%,#0b0a0d 100%);box-shadow:0 18px 0 #560e1d,0 24px 34px rgba(0,0,0,.4),inset 0 0 0 3px #49303b}.game:before{content:"";top:22px;left:50%;right:auto;width:94px;height:8px;transform:translateX(-50%);border:2px solid #5e4555;border-radius:8px;background:#0c090d;box-shadow:inset 0 0 0 2px #221720}.game:after{top:43px;left:30px;right:30px;height:1px;background:rgba(241,210,26,.45);box-shadow:none}.game-head{padding:11px 13px 10px;border:4px solid #241724;border-bottom:0;background:#090b0d;color:#d4c5f4}.game-head strong{color:#f06a7b}.stage{border:5px solid #241724;border-radius:20px;background:#050708;box-shadow:0 0 0 2px #66516c,inset 0 0 0 7px #0d1115,inset 0 0 25px rgba(135,111,191,.22);overflow:hidden}.board{padding:8px;gap:3px;background:#06090b}.game-foot{padding:10px 13px 9px;border:4px solid #241724;border-top:0;background:#090b0d;color:#9f91ae}.overlay{inset:12px;border-radius:12px;background:rgba(5,8,10,.95)}.overlay small{color:#c6b3f2}.overlay h2{color:#f5eee5}.start{background:var(--red);box-shadow:4px 4px 0 #baa1ec}.game-controls{left:11px;right:11px;bottom:13px;height:174px;padding:18px 20px 50px;border:3px solid #4a3a4e;border-radius:26px 26px 34px 34px;background:linear-gradient(145deg,rgba(96,70,105,.7),rgba(27,20,31,.92));box-shadow:inset 0 2px 0 rgba(255,255,255,.12),inset 0 -5px 0 rgba(0,0,0,.28),0 5px 0 #5a1020;clip-path:none}.direction-pad{width:126px;height:100px;grid-template-columns:repeat(3,36px);grid-template-rows:repeat(3,36px);gap:4px}.direction-pad button{width:36px;height:36px;border:3px solid #2b2140;border-radius:7px;background:linear-gradient(145deg,#c9b8f5,#8770c6 58%,#55418c);box-shadow:0 4px 0 #302252,0 0 0 2px #a18cdd;color:#39295e}.direction-pad button:after{color:#43306d;font-size:21px;text-shadow:0 1px 0 #e5dcff}.arcade-buttons{gap:13px;margin-right:0;transform:rotate(-10deg)}.arcade-buttons button{width:61px;height:61px;border:4px solid #322549;background:radial-gradient(circle at 30% 22%,#eee6ff,#a99ae5 45%,#6756a9 100%);color:#43336f;font-size:18px;box-shadow:0 5px 0 #302252,0 0 0 2px #b6a2ed}.arcade-buttons button:last-child{background:radial-gradient(circle at 30% 22%,#eee6ff,#9587d3 48%,#5b4a99 100%);color:#43336f;box-shadow:0 5px 0 #302252,0 0 0 2px #b6a2ed}.console-nav{position:absolute;bottom:15px;left:0;right:0;display:flex;justify-content:center;gap:18px}.console-nav button{min-width:72px;height:25px;padding:0 10px;border:2px solid #302252;border-radius:14px;background:linear-gradient(#c8b8f1,#7662af);color:#302252;font:8px var(--mono);letter-spacing:.08em;box-shadow:0 3px 0 #211834}.console-nav button:active{transform:translateY(2px);box-shadow:0 1px 0 #211834}
@media(max-width:370px){.game{padding-left:10px;padding-right:10px}.game-controls{left:8px;right:8px;padding-left:12px;padding-right:12px}.direction-pad{transform:scale(.84);transform-origin:left center}.arcade-buttons{transform:rotate(-10deg) scale(.8);transform-origin:right center}.console-nav{gap:10px}.console-nav button{min-width:65px}}
.page{width:min(100%,430px);padding:0 12px}.topbar{width:min(100%,390px);margin:0 auto;height:62px;padding:0 18px;border-radius:0 0 22px 22px;box-shadow:0 5px 0 rgba(86,14,29,.8),inset 0 -2px 0 rgba(255,255,255,.08)}.brand img{width:162px;height:48px}.intro{padding:28px 10px 18px;text-align:center}.intro .eyebrow{margin-bottom:10px;font-size:8px}.intro-line{font-size:12px;line-height:1.55;color:#c2b9c1}.game{margin-top:16px;margin-bottom:52px}.game-head span,.game-foot span{font-size:8px}.stage{box-shadow:0 0 0 2px #66516c,0 0 18px rgba(104,77,120,.25),inset 0 0 0 7px #0d1115}.game-controls{height:180px;padding-left:22px;padding-right:22px}.direction-pad{gap:2px;width:116px;height:110px;grid-template-columns:repeat(3,36px);grid-template-rows:repeat(3,36px);align-content:center}.direction-pad button{width:36px;height:36px}.arcade-buttons{gap:12px}.arcade-buttons button{width:64px;height:64px}.console-nav button{font-size:7px}.leaderboard{margin-top:20px}
@media(max-width:370px){.page{padding:0 8px}.topbar{width:calc(100% - 4px)}.game{padding-left:9px;padding-right:9px}.game-controls{left:8px;right:8px;padding-left:13px;padding-right:13px}.direction-pad{transform:scale(.88);transform-origin:left center}.arcade-buttons{transform:rotate(-10deg) scale(.84);transform-origin:right center}}
.game-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:1fr 30px;column-gap:8px;align-items:center;justify-items:center;padding:12px 14px 46px;overflow:hidden}.direction-pad{width:96px;height:96px;display:grid;grid-template-columns:repeat(3,30px);grid-template-rows:repeat(3,30px);gap:3px;transform:none!important}.direction-pad button{width:30px;height:30px}.arcade-buttons{gap:8px;transform:none!important;margin:0;justify-self:center}.arcade-buttons button{width:52px;height:52px;font-size:15px}.console-nav{grid-column:1 / -1;grid-row:2;position:static;display:flex;gap:12px;align-self:end}.console-nav button{min-width:64px;height:23px}.direction-pad button:after{font-size:17px}
@media(max-width:370px){.game-controls{grid-template-columns:1fr 1fr;column-gap:2px;padding-left:7px;padding-right:7px}.direction-pad{width:88px;height:88px;grid-template-columns:repeat(3,27px);grid-template-rows:repeat(3,27px);gap:2px}.direction-pad button{width:27px;height:27px}.arcade-buttons{gap:5px}.arcade-buttons button{width:44px;height:44px;font-size:13px}.console-nav{gap:8px}.console-nav button{min-width:58px;font-size:7px}}
.direction-pad{width:108px;height:108px;grid-template-columns:repeat(3,34px);grid-template-rows:repeat(3,34px);gap:3px;align-content:center;justify-content:center}.direction-pad button{box-sizing:border-box;width:34px;height:34px;min-width:34px;min-height:34px;padding:0;font-size:0;display:grid;place-items:center}.direction-pad button:after{content:""!important;position:static;display:block;width:0;height:0;border-style:solid;filter:drop-shadow(0 1px 0 #eee6ff)}.direction-up:after{border-width:0 6px 9px;border-color:transparent transparent #43306d transparent}.direction-left:after{border-width:6px 9px 6px 0;border-color:transparent #43306d transparent transparent}.direction-right:after{border-width:6px 0 6px 9px;border-color:transparent transparent transparent #43306d}.direction-down:after{border-width:9px 6px 0;border-color:#43306d transparent transparent transparent}.arcade-buttons{position:relative;width:122px;height:116px;display:block;transform:none!important}.arcade-buttons button{position:absolute;width:58px;height:58px;min-width:58px;min-height:58px}.arcade-buttons button:first-child{top:0;right:0}.arcade-buttons button:last-child{left:0;bottom:0}.console-nav{z-index:2}
@media(max-width:370px){.direction-pad{width:94px;height:94px;grid-template-columns:repeat(3,29px);grid-template-rows:repeat(3,29px);gap:2px}.direction-pad button{width:29px;height:29px;min-width:29px;min-height:29px}.arcade-buttons{width:94px;height:92px}.arcade-buttons button{width:46px;height:46px;min-width:46px;min-height:46px}.direction-up:after,.direction-down:after{border-left-width:5px;border-right-width:5px}.direction-left:after,.direction-right:after{border-top-width:5px;border-bottom-width:5px}}
.direction-pad button{background:linear-gradient(145deg,#eee8ff 0%,#c7b9f2 48%,#9887d9 100%);border-color:#7061b8;box-shadow:0 4px 0 #514196,0 0 0 2px #bdb0ef,inset 0 1px 0 rgba(255,255,255,.9)}.direction-up:after{border-bottom-color:#4a398d}.direction-left:after{border-right-color:#4a398d}.direction-right:after{border-left-color:#4a398d}.direction-down:after{border-top-color:#4a398d}.arcade-buttons button,.arcade-buttons button:last-child{border-color:#7061b8;background:radial-gradient(circle at 30% 20%,#f5f0ff 0%,#c9bbf3 46%,#9280d3 100%);color:#4a398d;box-shadow:0 5px 0 #514196,0 0 0 2px #bdb0ef,inset 0 1px 0 rgba(255,255,255,.85)}.console-nav button{border-color:#7061b8;background:linear-gradient(#eee8ff,#a997df);color:#4a398d;box-shadow:0 3px 0 #514196}
.game-controls{column-gap:14px}.direction-pad{width:116px;height:116px;grid-template-columns:repeat(3,34px);grid-template-rows:repeat(3,34px);gap:5px}.arcade-buttons{width:136px;height:128px}.arcade-buttons button{width:58px;height:58px;min-width:58px;min-height:58px}
@media(max-width:370px){.game-controls{column-gap:7px}.direction-pad{width:100px;height:100px;grid-template-columns:repeat(3,29px);grid-template-rows:repeat(3,29px);gap:4px}.arcade-buttons{width:104px;height:100px}.arcade-buttons button{width:46px;height:46px;min-width:46px;min-height:46px}}
.game-controls{background:linear-gradient(145deg,#321a28 0%,#1c111a 48%,#0b090d 100%);border-color:#561d34;box-shadow:inset 0 2px 0 rgba(255,214,225,.08),inset 0 -6px 0 rgba(0,0,0,.36),0 5px 0 #751426}
.direction-pad button{background:linear-gradient(145deg,#9d314d 0%,#691b34 52%,#35101f 100%);border-color:#b94a62;box-shadow:0 4px 0 #2b0b17,0 0 0 2px #7d243d,inset 0 1px 0 rgba(255,205,215,.32)}.direction-up:after{border-bottom-color:#ffe8ed}.direction-left:after{border-right-color:#ffe8ed}.direction-right:after{border-left-color:#ffe8ed}.direction-down:after{border-top-color:#ffe8ed}.arcade-buttons button,.arcade-buttons button:last-child{border-color:#b94a62;background:radial-gradient(circle at 30% 20%,#e8798b 0%,#a52d4a 46%,#4a1027 100%);color:#fff0f3;box-shadow:0 5px 0 #2b0b17,0 0 0 2px #7d243d,inset 0 1px 0 rgba(255,220,225,.38)}.console-nav button{border-color:#a63c57;background:linear-gradient(#c54b65,#6f1d38);color:#fff0f3;box-shadow:0 3px 0 #2b0b17}
.direction-pad button{background:linear-gradient(145deg,#b5a8cf 0%,#887aa9 52%,#5b5075 100%);border-color:#74678f;box-shadow:0 4px 0 #302942,0 0 0 2px #9b8db9,inset 0 1px 0 rgba(255,255,255,.42)}.direction-up:after{border-bottom-color:#3d3454}.direction-left:after{border-right-color:#3d3454}.direction-right:after{border-left-color:#3d3454}.direction-down:after{border-top-color:#3d3454}.arcade-buttons button,.arcade-buttons button:last-child{border-color:#74678f;background:radial-gradient(circle at 30% 20%,#c7bddb 0%,#9587b5 46%,#605578 100%);color:#403653;box-shadow:0 5px 0 #302942,0 0 0 2px #9b8db9,inset 0 1px 0 rgba(255,255,255,.5)}.console-nav button{border-color:#74678f;background:linear-gradient(#b5a8cf,#74678f);color:#403653;box-shadow:0 3px 0 #302942}
.direction-pad button{background:rgba(20,15,25,.24);border-color:#b8a9d4;box-shadow:0 3px 0 #2e263b,0 0 0 1px rgba(184,169,212,.32),inset 0 0 0 1px rgba(255,255,255,.16)}.direction-pad button:active{background:rgba(184,169,212,.18);box-shadow:0 1px 0 #2e263b,0 0 0 1px rgba(184,169,212,.5)}.direction-up:after{border-bottom-color:#d9d0e8}.direction-left:after{border-right-color:#d9d0e8}.direction-right:after{border-left-color:#d9d0e8}.direction-down:after{border-top-color:#d9d0e8}.arcade-buttons button,.arcade-buttons button:last-child{background:rgba(20,15,25,.24);border-color:#b8a9d4;color:#d9d0e8;box-shadow:0 4px 0 #2e263b,0 0 0 1px rgba(184,169,212,.34),inset 0 0 0 1px rgba(255,255,255,.16)}.console-nav button{background:rgba(20,15,25,.3);border-color:#a899c3;color:#d9d0e8;box-shadow:0 2px 0 #2e263b}
.direction-pad button{background:rgba(25,8,14,.3);border-color:#c34a61;box-shadow:0 3px 0 #3b0d1b,0 0 0 1px rgba(195,74,97,.34),inset 0 0 0 1px rgba(255,180,193,.12)}.direction-pad button:active{background:rgba(195,74,97,.18);box-shadow:0 1px 0 #3b0d1b,0 0 0 1px rgba(239,112,133,.55)}.direction-up:after{border-bottom-color:#f2c2ca}.direction-left:after{border-right-color:#f2c2ca}.direction-right:after{border-left-color:#f2c2ca}.direction-down:after{border-top-color:#f2c2ca}.arcade-buttons button,.arcade-buttons button:last-child{background:rgba(25,8,14,.3);border-color:#c34a61;color:#f2c2ca;box-shadow:0 4px 0 #3b0d1b,0 0 0 1px rgba(195,74,97,.36),inset 0 0 0 1px rgba(255,180,193,.12)}.console-nav button{background:rgba(25,8,14,.34);border-color:#a93650;color:#f2c2ca;box-shadow:0 2px 0 #3b0d1b}
.direction-pad button{border-color:var(--red);box-shadow:0 3px 0 #3b0d1b,0 0 0 1px rgba(209,38,61,.4),inset 0 0 0 1px rgba(255,255,255,.1)}.direction-pad button:active{box-shadow:0 1px 0 #3b0d1b,0 0 0 1px rgba(209,38,61,.7)}.direction-up:after{border-bottom-color:var(--red)}.direction-left:after{border-right-color:var(--red)}.direction-right:after{border-left-color:var(--red)}.direction-down:after{border-top-color:var(--red)}.arcade-buttons button,.arcade-buttons button:last-child{border-color:var(--red);color:var(--red);box-shadow:0 4px 0 #3b0d1b,0 0 0 1px rgba(209,38,61,.42),inset 0 0 0 1px rgba(255,255,255,.1)}.console-nav button{border-color:var(--red);color:var(--red);box-shadow:0 2px 0 #3b0d1b}
.arcade-buttons{width:108px;height:96px}.arcade-buttons button:first-child{top:0;right:0}.arcade-buttons button:last-child{left:0;top:34px;bottom:auto}
.arcade-buttons{width:106px;height:101px}.arcade-buttons button{width:54px;height:54px;min-width:54px;min-height:54px}.arcade-buttons button:first-child{top:0;right:0}.arcade-buttons button:last-child{left:0;top:40px;bottom:auto}
@media(max-width:370px){.arcade-buttons{width:92px;height:82px}.arcade-buttons button:first-child{top:0;right:0}.arcade-buttons button:last-child{left:0;top:28px;bottom:auto}}
@media(max-width:370px){.arcade-buttons{width:90px;height:86px}.arcade-buttons button{width:43px;height:43px;min-width:43px;min-height:43px}.arcade-buttons button:first-child{top:0;right:0}.arcade-buttons button:last-child{left:0;top:33px;bottom:auto}}
.overlay:has(.registration),.overlay:has(.result-copy){align-content:start;justify-items:center;gap:12px;overflow-y:auto;overflow-x:hidden;padding-top:24px;padding-bottom:24px}.overlay:has(.registration) h2,.overlay:has(.result-copy) h2{font-size:clamp(1.35rem,7vw,2.35rem);line-height:.9;max-width:100%;width:100%;letter-spacing:0;overflow-wrap:anywhere;word-break:break-all}.overlay:has(.registration) .registration,.overlay:has(.result-copy) .result-copy{flex:none}
@media(max-width:370px){.overlay:has(.registration),.overlay:has(.result-copy){padding-top:18px;padding-bottom:18px;gap:10px}.overlay:has(.registration) h2,.overlay:has(.result-copy) h2{font-size:1.38rem}}
.overlay:has(.registration),.overlay:has(.result-copy){overflow:hidden;padding-top:12px;padding-bottom:10px;gap:8px}.overlay:has(.registration) h2,.overlay:has(.result-copy) h2{font-size:clamp(1.2rem,6.5vw,2.1rem);line-height:.88}.overlay:has(.registration) .registration p{margin-bottom:6px}.overlay:has(.registration) .registration form{gap:6px}.overlay:has(.registration) .registration input{padding-top:10px;padding-bottom:10px}.overlay:has(.registration) .anonymous{min-height:34px;padding-top:6px;padding-bottom:6px}.overlay:has(.registration) .registration button{padding-top:12px;padding-bottom:12px}
.anonymous input{width:42px;height:24px;flex-basis:42px;border-radius:14px}.anonymous input:after,.anonymous input:checked:after{width:16px;height:16px;left:3px;top:2px}.anonymous input:checked:after{left:21px}
@media(max-width:370px){.overlay:has(.registration),.overlay:has(.result-copy){padding-top:10px;padding-bottom:8px;gap:7px}.overlay:has(.registration) h2,.overlay:has(.result-copy) h2{font-size:1.22rem}.anonymous input{width:40px;height:23px;flex-basis:40px}.anonymous input:after,.anonymous input:checked:after{width:15px;height:15px}.anonymous input:checked:after{left:20px}}
.result-leaderboard{width:100%;max-width:300px;max-height:180px;overflow:auto;border-top:1px solid rgba(209,38,61,.6);border-bottom:1px solid rgba(209,38,61,.6);font:10px var(--mono)}.result-leaderboard .leader-row{grid-template-columns:34px 1fr 48px;gap:8px;padding:9px 3px}.result-leaderboard>p{margin:14px 0;color:#c8b9bd;text-align:center}.leader-loading{color:var(--red)!important;letter-spacing:.08em}
.score-screen{width:100%;max-width:320px;display:grid;justify-items:center;gap:10px;text-align:center}.score-screen .score-reveal{width:min(100%,260px);padding:14px 10px 18px}.score-screen .score-reveal strong{font-size:clamp(3.6rem,17vw,5.2rem)}.score-decision{width:100%;display:grid;justify-items:center;gap:7px}.score-decision h2{width:100%;margin:0;font-size:clamp(1.2rem,6.5vw,2.1rem);line-height:.9;overflow-wrap:anywhere;word-break:break-word}.score-decision .result-copy{font-size:11px;line-height:1.4;margin:0}.score-decision .start{margin-top:2px}
.overlay:has(.score-screen),.overlay:has(.registration),.overlay:has(.result-copy),.overlay:has(.result-leaderboard){inset:0;border-radius:15px;background:#05080a;z-index:5}
.overlay{inset:0;border-radius:15px;background:#05080a;z-index:5}
.game-head{gap:8px}.puzzle-preview{width:34px;height:34px;flex:0 0 34px;order:2;display:block;object-fit:contain;object-position:center;border:2px solid var(--red);border-radius:6px;background:#09090b;padding:2px;box-shadow:0 0 0 1px rgba(209,38,61,.35)}.game-head strong{order:3;margin-left:auto}.game:has(.score-screen) .game-controls,.game:has(.score-screen) .game-foot{visibility:visible}
.score-screen .score-decision h2{font-size:clamp(1.02rem,5.2vw,1.7rem);line-height:.9}.score-decision .start:disabled{opacity:.72;cursor:wait}
.leaderboard{display:none}
@media(max-width:370px){.puzzle-preview{width:29px;height:29px;flex-basis:29px}.game-head{gap:5px}}
.turnstile-slot{width:min(100%,300px);min-height:65px;margin:8px auto 2px;display:flex;justify-content:center;overflow:hidden}
.score-screen{gap:6px}.score-screen .score-reveal{width:min(100%,238px);padding:8px 8px 11px;gap:5px}.score-screen .score-reveal span,.score-screen .score-reveal b{font-size:7px}.score-screen .score-reveal strong{font-size:clamp(3rem,14vw,4.2rem)}.score-decision{gap:5px}.score-decision h2{font-size:clamp(1.05rem,5.2vw,1.7rem);line-height:.86}.score-decision .result-copy{font-size:9px;line-height:1.25}.score-decision .start{min-height:38px;padding:10px 14px;margin-top:0}
.direction-up:after{border-bottom-color:#fff}.direction-left:after{border-right-color:#fff}.direction-right:after{border-left-color:#fff}.direction-down:after{border-top-color:#fff}.arcade-buttons button,.arcade-buttons button:last-child{color:#fff}.console-nav button{color:#fff}
.anonymous input{appearance:none;width:16px;height:16px;flex:0 0 16px;margin:0;border:2px solid var(--red);border-radius:3px;background:transparent;display:grid;place-content:center;accent-color:var(--red)}.anonymous input:checked{background:var(--red)}.anonymous input:checked:after{content:"";width:7px;height:4px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) translateY(-1px)}.entry-message{min-height:18px;overflow-wrap:anywhere}
.anonymous{width:100%;min-height:38px;padding:8px 10px;border:1px solid rgba(209,38,61,.7);background:rgba(25,8,14,.28);justify-content:flex-start;cursor:pointer;color:#fff}.anonymous input{position:relative;width:36px;height:20px;flex:0 0 36px;border:1px solid var(--red);border-radius:12px;background:#120b10;display:block;place-content:normal}.anonymous input:after,.anonymous input:checked:after{content:"";position:absolute;left:3px;top:3px;width:12px;height:12px;border:0;border-radius:50%;background:#fff;transform:none;transition:left .18s ease}.anonymous input:checked{background:var(--red)}.anonymous input:checked:after{left:19px}
.score-reveal{position:relative;width:100%;max-width:260px;display:grid;justify-items:center;gap:8px;padding:20px 12px 25px;border:2px solid var(--red);background:rgba(20,8,13,.55);box-shadow:0 0 0 5px rgba(209,38,61,.08),inset 0 0 26px rgba(209,38,61,.12);overflow:hidden}.score-reveal span,.score-reveal b{color:#f2c2ca;font:9px var(--mono);letter-spacing:.18em}.score-reveal strong{color:#fff;font:clamp(4rem,20vw,6rem)/.85 var(--display);letter-spacing:.02em;text-shadow:5px 5px 0 var(--red);animation:score-pop .7s cubic-bezier(.2,.9,.25,1) both}.score-reveal i{position:absolute;left:-30%;right:-30%;top:50%;height:3px;background:#fff;opacity:.5;transform:rotate(-8deg);animation:score-scan .9s ease-out both}@keyframes score-pop{from{opacity:0;transform:scale(.65)}to{opacity:1;transform:scale(1)}}@keyframes score-scan{from{transform:translateY(90px) rotate(-8deg);opacity:0}45%{opacity:.8}to{transform:translateY(-90px) rotate(-8deg);opacity:0}}
.overlay{min-width:0;overflow:hidden;padding:18px 12px}.overlay>*{min-width:0;max-width:100%}.overlay h2{width:100%;font-size:clamp(1.55rem,9vw,3rem);line-height:.9;overflow-wrap:anywhere;word-break:break-word}.result-copy{width:100%;max-width:300px;overflow-wrap:anywhere}.registration{width:100%;max-width:330px;min-width:0}.registration form,.registration input{min-width:0;max-width:100%}.registration input{display:block}.registration button{min-width:0;max-width:100%;white-space:normal}
@media(max-width:370px){.overlay{padding-left:8px;padding-right:8px}.overlay h2{font-size:1.62rem}.registration{font-size:10px}.registration input{font-size:10px;padding:12px 9px}.registration button{padding-left:10px;padding-right:10px}}
