.neonGame{--neon:#79dbe8;--glow:121,219,232;color:#f8f1e7;background:linear-gradient(#effbf6 0 102px,#15101b 102px,#0d0a12 100%);min-height:100vh;padding:12px 0 118px}.neonGame.neon-bomb{--neon:#ffb15e;--glow:255,177,94}.neonGame.neon-memory{--neon:#bea0f0;--glow:190,160,240}.neonGame>header{background:#f5fff9;border-radius:8px;margin-bottom:12px;padding-inline:10px;box-shadow:0 8px 24px #00000012}.neonContent{width:min(1160px,100% - 30px);margin:0 auto}.neonNav{gap:8px;padding:8px 0 12px;display:flex;overflow-x:auto}.neonNav a{color:#c8bbc9;text-align:center;background:#211926;border:1px solid #ffffff20;border-radius:8px;flex:1;min-width:118px;padding:11px 14px;font-size:13px;font-weight:750;text-decoration:none}.neonNav a[aria-current=page]{border-color:rgba(var(--glow),.68);color:#160f19;background:var(--neon);box-shadow:0 0 22px rgba(var(--glow),.22)}.neonShell{background:linear-gradient(145deg,#17111d,#100c14);border:1px solid #ffffff18;border-radius:8px;grid-template-columns:minmax(0,1fr) 300px;display:grid;overflow:hidden;box-shadow:0 22px 70px #0008}.neonPlay{text-align:center;min-width:0;padding:25px}.neonEyebrow{color:var(--neon);margin:0 0 8px;font-size:9px;font-weight:800}.neonPlay h1{color:#fffaf3;margin:0;font-size:34px}.neonTag{color:#b9adbd;margin:8px 0 16px;font-size:12px}.neonHud{max-width:510px;color:var(--neon);border-block:1px solid #ffffff12;justify-content:space-between;gap:10px;margin:0 auto 14px;padding:11px 5px;font-size:11px;display:flex}.neonArena{place-items:center;width:100%;max-width:510px;height:310px;margin:auto;display:grid}.neonCoreStage{isolation:isolate;place-items:center;width:286px;height:286px;display:grid;position:relative}.neonOrbit{border:1px dashed #ffb15e55;border-radius:50%;width:242px;height:242px;animation:24s linear infinite neonSpin;position:absolute}.neonOrbit:before{content:"";background:#ffb15e;border-radius:50%;width:8px;height:8px;position:absolute;top:-4px;left:50%;box-shadow:0 0 16px #ffb15e}.neonOrbit.outer{border-style:solid;border-color:#ffb15e22;width:282px;height:282px;animation-direction:reverse}.neonCore{z-index:2;color:#fff6de;cursor:pointer;background:radial-gradient(circle at 32% 23%,#fff4d4,#ffb15e 27%,#ac4b1c 63%,#3d2018 89%);border:1px solid #fff7;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:175px;height:175px;display:flex;box-shadow:inset -10px -10px 18px #250b0a77,inset 6px 7px 18px #fff5,0 18px 30px #0007,0 0 48px #ffb15e25}.neonCore:active{transform:scale(.94)}.neonCore:disabled{cursor:default}.neonCore small{color:#35190a;background:#fff9;border-radius:999px;padding:3px 10px;font-size:9px;font-weight:900}.neon-bomb[data-phase=input] .neonCore{animation:1.4s ease-in-out infinite neonPulse}.neon-bomb[data-phase=result] .neonCore{animation:.8s both neonShatter}.neonBattery{background:#51211066;border:2px solid #fff0cebb;border-radius:8px;width:105px;height:30px;padding:4px;display:block;position:relative;box-shadow:inset 0 2px 5px #34100966,0 1px #ffe0a855}.neonBattery:after{content:"";background:#ffe9beb0;border-radius:0 3px 3px 0;width:5px;height:10px;position:absolute;top:8px;right:-7px}.neonBattery i{transform-origin:0;opacity:.3;background:linear-gradient(90deg,#ff963e,#fff4be);border-radius:3px;width:100%;height:100%;display:block;transform:scaleX(.06);box-shadow:0 0 12px #ffd477}.neonBattery i.charging{animation:.75s ease-out both neonCharge}.neonBurst{pointer-events:none;position:absolute;inset:0}.neonBurst i{clip-path:polygon(10% 0,95% 18%,67% 100%,0 65%);background:linear-gradient(135deg,#fff2c7,#ffad55,#84310f);width:23px;height:29px;margin:-14px -11px;animation:1.1s ease-out both neonShard;position:absolute;top:50%;left:50%}.neonBurst b{border:3px solid #ffce8b;border-radius:50%;animation:1s both neonWave;position:absolute;inset:10%}.neonBoardTools{justify-content:space-between;align-items:center;gap:8px;max-width:510px;margin:0 auto 8px;display:flex}.neonBoardTools small{color:#b9abc7;font-size:10px}.neonBoardTools button{color:#e9dcfa;cursor:pointer;background:#30213e;border:1px solid #bea0f055;border-radius:8px;min-width:104px;min-height:40px;font-weight:750}.neonBoardTools button[aria-pressed=true]{color:#24142e;background:#bea0f0}.neonMatrix{aspect-ratio:1;outline-offset:-8px;background:#160e1d;border:2px solid #bea0f044;border-radius:28px;outline:1px dashed #bea0f025;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;width:290px;max-width:100%;padding:14px;display:grid;box-shadow:inset 0 0 38px #0007}.neonKey{color:#d6cadf;cursor:pointer;background:radial-gradient(at 35% 15%,#69597688,#0000 70%),linear-gradient(150deg,#392c43,#1a1220);border:1px solid #bea0f02b;border-radius:17px;font-size:21px;font-weight:800;position:relative;box-shadow:inset 0 2px 2px #fff2,0 8px 9px #0004}.neonKey i{background:#bea0f066;border-radius:50%;width:4px;height:4px;margin:6px auto 0;display:block}.neonKey.lit{color:#2d1644;background:linear-gradient(140deg,#f1e5ff,#b28ce8);transform:scale(.96);box-shadow:0 0 28px #bea0f088}.neonKey:disabled{cursor:default;opacity:1}.neonPads{background:#120c17;border:2px solid #ffffff12;border-radius:26px;grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;height:100%;padding:13px;display:grid}.neonPads.count-2{grid-template-rows:1fr}.neonPads button{color:#afa2b7;touch-action:none;-webkit-user-select:none;user-select:none;background:#211827;border:1px solid #43314a;border-radius:14px;flex-direction:column;justify-content:space-between;align-items:center;min-width:0;padding:11px;display:flex}.padLabel{justify-content:space-between;align-self:stretch;font-size:10px;display:flex}.padLabel small{font-size:9px}.neonPadCore{border:1px solid #785e8466;border-radius:50%;place-items:center;width:58px;height:58px;font-size:12px;display:grid;box-shadow:0 0 0 10px #ffffff04,0 0 0 17px #ffffff03}.neon-reaction[data-phase=signal] .neonPads button,.neon-reaction[data-phase=result] .neonPads .winner{color:#e6fcff;background:#18333a;border-color:#79dbe8}.neon-reaction[data-phase=signal] .neonPadCore,.neon-reaction[data-phase=result] .winner .neonPadCore{color:#10262b;background:#79dbe8;box-shadow:0 0 28px #79dbe877}.neon-reaction[data-phase=result] .neonPads .missed{color:#ffd8df;background:#40151f;border-color:#ff526d;box-shadow:inset 0 0 24px #ff30451a}.neon-reaction[data-phase=result] .missed .neonPadCore{color:#fff1f4;background:#bc2440;border-color:#ff768d;box-shadow:0 0 22px #ff36534d}.neon-reaction[data-phase=foul] .fouled{color:#ffe1dc;background:#41201e;border-color:#ff765f}.neon-reaction[data-phase=foul] .fouled .neonPadCore{color:#fff;background:#d84b3e;box-shadow:0 0 24px #ff604a55}.neonStatus{text-align:left;background:#211827;border:1px solid #ffffff15;border-radius:8px;max-width:510px;min-height:72px;margin:15px auto 12px;padding:13px 16px}.neonStatus small{color:var(--neon);margin-bottom:5px;font-size:9px;display:block}.neonStatus strong{color:#fffaf3;font-size:14px}.neonPrimary{color:#150c19;background:linear-gradient(120deg,#fff6,var(--neon)),var(--neon);cursor:pointer;border:1px solid #fff7;border-radius:8px;width:100%;max-width:510px;min-height:50px;font-size:15px;font-weight:850;box-shadow:0 7px #0004}.neonPrimary:disabled{opacity:.55;cursor:default}.neonUnder{color:#a89cad;justify-content:space-between;align-items:center;max-width:510px;margin:8px auto 0;font-size:10px;display:flex}.neonUnder button{color:#d9ccde;cursor:pointer;background:0 0;border:0;min-height:40px;padding:9px}.neonSide{background:#110d16;border-left:1px solid #ffffff12;padding:25px 22px}.neonSide h2{color:#fff8ef;justify-content:space-between;margin:0 0 13px;font-size:13px;display:flex}.neonSide h2 small{color:var(--neon);font-size:9px}.neonPlayerSelect{grid-template-columns:repeat(4,1fr);gap:5px;margin-bottom:28px;display:grid}.neonPlayerSelect button{color:#d6cbd9;background:#211925;border:1px solid #ffffff1c;border-radius:7px;min-height:42px}.neonPlayerSelect button[aria-pressed=true]{color:#17111d;background:var(--neon)}.neonPlayerSelect button:disabled{opacity:.5}.neonSide ol{color:#c3b7c8;margin:0 0 28px;padding-left:22px;font-size:11px;line-height:1.8}.neonSide li{padding:8px 0 8px 4px}.neonSide li::marker{color:var(--neon)}.neonLog{color:#c6bacb;min-height:82px;font-size:11px}.neonLog p{border-bottom:1px solid #ffffff10;margin:0;padding:9px 0}.neonNote{color:#948899;margin-top:20px;font-size:10px;line-height:1.8}.neonError{color:#ffdcd6;background:#411c20;border-left:3px solid #ff6c5e;margin:12px 0;padding:10px 13px;font-size:12px}.neonAudioDock{z-index:40;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#15111bea;border:1px solid #ffffff2c;border-radius:8px;align-items:center;gap:7px;padding:7px;display:flex;position:fixed;bottom:16px;right:16px;box-shadow:0 12px 35px #0008}.neonAudioDock>div{grid-template-columns:repeat(2,minmax(0,1fr));min-width:230px}.neonAudioDock>button{color:#f5e9f4;cursor:pointer;background:#2a2030;border:1px solid #ffffff20;border-radius:8px;min-height:44px;padding:8px 12px;font-weight:800}.neonGame button:focus-visible,.neonGame a:focus-visible{outline:3px solid var(--neon);outline-offset:3px}@keyframes neonSpin{to{transform:rotate(360deg)}}@keyframes neonPulse{50%{filter:brightness(1.15);transform:scale(1.025)}}@keyframes neonCharge{0%{opacity:.55;transform:scaleX(.03)}65%,82%{opacity:1;transform:scaleX(1)}to{opacity:.3;transform:scaleX(.06)}}@keyframes neonShatter{0%{opacity:1;transform:scale(1)}20%{filter:brightness(2);transform:scale(1.1)}to{opacity:0;transform:scale(.2)}}@keyframes neonShard{0%{opacity:1;transform:scale(.5)}to{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--spin)) scale(.2)}}@keyframes neonWave{0%{opacity:1;transform:scale(.4)}to{opacity:0;transform:scale(1.5)}}@media (max-width:850px){.neonShell{grid-template-columns:1fr}.neonSide{border-top:1px solid #ffffff12;border-left:0}.neonArena{height:335px}.neonMatrix{width:310px}.neonPlay{padding:22px 16px}}@media (max-width:520px){.neonGame{background:linear-gradient(#effbf6 0 90px,#15101b 90px,#0d0a12 100%);padding-top:7px;padding-bottom:105px}.neonContent{width:calc(100% - 18px)}.neonNav{padding:3px 0 8px;overflow:visible}.neonNav a{place-items:center;min-width:0;min-height:42px;padding:7px 3px;font-size:10px;line-height:1.35;display:grid}.neonPlay{padding:16px 10px}.neonEyebrow{font-size:8px}.neonPlay h1{font-size:28px}.neonTag{margin:6px 0 11px;font-size:10px}.neonHud{margin-bottom:9px;padding:9px 3px;font-size:9px}.neonArena{height:270px}.neonCoreStage{width:250px;height:250px}.neonOrbit{width:210px;height:210px}.neonOrbit.outer{width:246px;height:246px}.neonCore{width:154px;height:154px}.neonBattery{width:92px;height:27px}.neonBoardTools{margin-bottom:5px}.neonBoardTools small{font-size:9px}.neonBoardTools button{min-width:92px;min-height:38px;font-size:11px}.neonMatrix{border-radius:22px;gap:8px;width:265px;padding:11px}.neonKey{border-radius:13px;font-size:18px}.neonPads{border-radius:20px;gap:7px;padding:8px}.neonPads button{padding:8px}.neonPadCore{width:42px;height:42px}.neonStatus{min-height:65px;margin:11px auto 10px;padding:11px 13px}.neonStatus strong{font-size:12px}.neonPrimary{min-height:46px;font-size:13px}.neonSide{padding:21px 16px}.neonAudioDock{justify-content:center;bottom:8px;left:8px;right:8px}.neonAudioDock>div{flex:1;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))!important}.neonAudioDock>button{padding:7px 9px;font-size:11px}}@media (prefers-reduced-motion:reduce){.neonGame *,.neonGame :before,.neonGame :after{transition:none!important;animation:none!important}.neon-bomb[data-phase=result] .neonCore{opacity:.18}.neonBurst{display:none}}
