*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 50% 0,#172b58 0,#070c20 58%,#030711 100%);color:#eff2ff;font-family:system-ui,-apple-system,Segoe UI,sans-serif}.header{max-width:1010px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:16px 24px;gap:16px}.header a{color:#d7e3ff;text-decoration:none;font-weight:700}.brand{font-size:23px;letter-spacing:-.05em}.brand span{color:#ffe44d}main{max-width:1010px;padding:10px 20px 54px;margin:auto}.intro{text-align:center;margin:8px auto 21px}.intro p{font-size:12px;letter-spacing:.2em;color:#8daeff;font-weight:800;margin:0 0 9px}.intro h1{font-size:clamp(44px,7vw,76px);line-height:1.05;letter-spacing:-.06em;margin:0;color:#ffe43c;text-shadow:0 5px 0 #a9790d,0 14px 27px #020514}.intro .sub{color:#c3d0e9;margin-top:13px;font-size:16px}.game{display:grid;grid-template-columns:minmax(0,680px) minmax(220px,260px);gap:20px;align-items:start;justify-content:center}.stage{overflow:hidden;background:#02030d;border:2px solid #2445cf;border-radius:15px;box-shadow:0 20px 55px #020411aa,0 0 24px #284ee26b}.stage canvas{display:block;width:100%;height:auto;touch-action:none}.panel{border:1px solid #3c61ba;background:#101c3b;border-radius:16px;padding:19px;box-shadow:0 15px 34px #02030b7a}.stats{display:grid;grid-template-columns:1fr 1fr;gap:9px}.stats span{background:#07142d;border:1px solid #2e51a2;border-radius:9px;padding:10px;font-size:12px;color:#a8b9dc}.stats b{display:block;color:#ffe15e;font-size:22px;margin-top:3px;white-space:nowrap}.stats .hearts{color:#ff607e;font-size:18px;letter-spacing:2px}.panel h2{font-size:20px;margin:22px 0 7px}.panel p{color:#bcc8e2;line-height:1.55;font-size:14px}.status{min-height:42px;color:#ffe97b!important;font-weight:700}.actions{display:flex;gap:8px;margin:13px 0}.actions button,.stage .pad button{border:1px solid #9daeff76;color:#fff;border-radius:10px;font:700 15px system-ui;cursor:pointer}.actions button{padding:11px 15px;background:#254fca}.actions button:first-child{background:#ffe13e;color:#121d45}.actions button[hidden]{display:none}.stage .pad{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;max-width:240px;margin:10px auto}.stage .pad button{min-height:50px;background:linear-gradient(#3f62d6,#1d308b);box-shadow:inset 0 2px #b5caff55,0 4px #061025;font-size:22px;touch-action:manipulation}.stage .pad button:active,.actions button:active{transform:translateY(2px)}.stage .pad .up{grid-column:2}.stage .pad .left{grid-column:1;grid-row:2}.stage .pad .down{grid-column:2;grid-row:2}.stage .pad .right{grid-column:3;grid-row:2}.hint{font-size:12px!important;margin:13px 0 0}@media(max-width:850px){.game{grid-template-columns:minmax(0,680px)}.panel{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.stats,.panel h2,.status,.actions,.hint{grid-column:1/-1}.panel h2{margin:13px 0 4px}}@media(max-width:560px){.header{padding:14px}.header .brand{font-size:20px}main{padding:7px 8px 35px}.intro{margin-bottom:14px}.intro .sub{font-size:13px;margin-top:10px}.stage{border-radius:8px}.panel{padding:13px;grid-template-columns:1fr 1fr;gap:4px 12px}.stats{grid-template-columns:repeat(4,1fr);gap:5px}.stats span{font-size:10px;padding:6px}.stats b{font-size:16px}.stats .hearts{font-size:12px}.panel h2{margin:8px 0 0;font-size:17px}.panel p{font-size:12px;margin:3px 0}.status{min-height:21px}.actions{margin:6px 0}.stage .stage .pad{display:flex;max-width:none;margin:0;padding:8px;gap:7px}.stage .pad button{min-height:44px;flex:1;min-width:0}}
