body.new-game{color:#e3deed;font-family:'Segoe UI','Microsoft YaHei',sans-serif;display:flex;align-items:center;flex-direction:column;min-height:100vh}.new-header{text-align:center;padding:25px 16px 10px;max-width:740px}.new-header .eyebrow{font-size:9px;letter-spacing:3px;color:#8b819d;font-weight:600}.new-header h1{font-size:28px;margin:12px 0}.new-header p{line-height:1.9;font-size:12px;color:#9f95b1;margin:0}.new-panel{width:min(530px,calc(100vw - 28px));box-sizing:border-box;background:#1d1e2a;border:1px solid #ffffff0b;border-radius:20px;padding:24px;box-shadow:0 20px 70px #0002;margin:14px 0}.new-stats{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;font-size:12px;font-weight:400;color:#9e95b1;margin:0 0 13px}.new-stats b{color:#e5daef;font:600 20px 'Segoe UI',sans-serif;margin:0 4px}.new-button,.new-actions button{padding:11px 20px;background:#b6a1e6;color:#272034;border:1px solid #d8c6fa22;border-radius:9px;font-family:inherit;font-weight:600;font-size:12px;cursor:pointer}.new-actions button:hover{background:#c9b4fb}.new-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:17px 0 0}.new-actions button+button{background:#2b283a;color:#c2b4d8;border-color:#4c425f}.new-message{min-height:28px;text-align:center;color:#a99cbd;font-size:12px;line-height:1.8;margin:18px 0 10px}.new-board{display:grid;gap:5px;margin:16px auto;width:min(416px,100%);touch-action:none;background:#141923;padding:10px;border-radius:12px;box-sizing:border-box;border:1px solid #ffffff07}.new-board button{min-width:0;aspect-ratio:1;border:0;border-radius:5px;background:#29303c;color:#aba0bd;font-size:20px;cursor:pointer;padding:0}.new-board button.filled{background:linear-gradient(145deg,#b4d8ba,#7baa94);box-shadow:inset 0 3px 0 #e6f4ce44,inset 0 -4px 0 #284d3c44,0 2px 3px #0003}.new-board button.preview{background:#c1dec0}.piece-tray{display:flex;justify-content:center;align-items:center;gap:14px;min-height:94px}.piece{display:grid;gap:3px;padding:12px;border:1px solid transparent;background:#242534;border-radius:10px;cursor:pointer;min-width:63px;min-height:63px;justify-content:center;align-content:center}.piece.selected{border-color:#b5d1b2;background:#323c3d;box-shadow:0 0 0 3px #b5d1b20b}.piece i{width:16px;height:16px;border-radius:3px;box-shadow:inset 0 2px 0 #ffffff40}.number-tray{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:28px 0}.number-tray button{min-width:84px;min-height:110px;font-size:38px;font-weight:600;border:1px solid #eeddb955;border-radius:12px;background:linear-gradient(135deg,#efe4ce,#d7c5a6);color:#5c4f46;cursor:pointer;box-shadow:0 6px 0 #978675,0 12px 22px #0002}.number-tray button.selected{background:#c9b7e8;border-color:#e4d1ff;color:#4b3b69;box-shadow:0 6px 0 #78658f,0 0 0 4px #bba4df22;transform:translateY(-3px)}.ops{display:flex;justify-content:center;gap:11px}.ops button{width:52px;height:48px;border:1px solid #4d435e;background:#2b2839;border-radius:10px;font-size:24px;color:#b9a8ce;cursor:pointer}.ops button.active{background:#b5a2da;color:#30273e;border-color:#b5a2da}.laser-cell{position:relative;background:#252b3d!important}.laser-cell.beam{background:#384952!important;color:#f5d78c;box-shadow:inset 0 0 14px #f5d78c14}.laser-cell.target{background:#394d4b!important;color:#b1e4bf!important;font-size:30px!important;text-shadow:0 0 18px #a0ffb9}.laser-cell.wall{background:#475569!important}.runner-wrap{position:relative;border-radius:16px;overflow:hidden;margin:12px;box-shadow:0 24px 80px #0007;width:min(480px,calc(100vw - 24px));border:1px solid #b7d4bb22}.runner-wrap canvas{display:block;width:100%;max-width:none;border:0!important;border-radius:0!important}.runner-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:30px;text-align:center;background:linear-gradient(0deg,#0d2629e8,#123a3966);backdrop-filter:blur(2px)}.runner-overlay h2{font-size:27px;line-height:1.5;letter-spacing:1px;margin:12px 0;color:#faf1d2;text-shadow:0 3px 16px #092d2b}.runner-overlay p{line-height:2;font-size:12px;color:#d3e0d2}.runner-overlay .new-button{margin-top:10px;background:#e3c884;color:#3b4330;padding:14px 28px;font-size:14px}.runner-hud{position:absolute;top:16px;left:16px;right:16px;display:flex;align-items:center;justify-content:space-between;gap:8px;pointer-events:none;color:#f7e7be;font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}.runner-hud span:not(:empty){background:#183b36c9;border:1px solid #e1d5a422;border-radius:9px;padding:9px 13px;backdrop-filter:blur(8px)}.runner-hud #run-mode{font-size:10px;color:#c4e8c0}.runner-overlay[hidden]{display:none}.flow-cell{border-radius:5px!important;position:relative;font-size:16px!important}.flow-cell.path{box-shadow:inset 0 0 0 5px #15192599}.key-board{gap:2px;background:#131e26;padding:9px;border-radius:13px}.key-board button{font-size:16px;pointer-events:none;border-radius:3px;background:#273945}.key-board .wall{background:linear-gradient(150deg,#67877d,#405e59);box-shadow:inset 0 2px 0 #c6dbc144,inset 0 -2px 0 #1e393a}.key-board .player{background:#d8b778;color:#3d4b47;box-shadow:0 0 14px #e3c78e22}.new-game .touch-pad{margin-top:6px}body.runner-game .new-header{padding-top:21px;padding-bottom:4px}body.runner-game .new-header .eyebrow{color:#7f9d93}body.runner-game .new-header p{color:#99ada3}
@media(max-width:480px){.new-header{padding:20px 18px 8px}.new-header h1{font-size:23px}.new-header .eyebrow{font-size:8px;letter-spacing:2px}.new-header p{font-size:11px}.new-panel{padding:17px 14px;margin:12px 0}.new-board{gap:4px;padding:8px}.number-tray{gap:10px}.number-tray button{min-width:62px;min-height:85px;font-size:29px}.new-board button{font-size:18px}.new-actions button{padding:10px 14px;font-size:11px}.new-stats{font-size:11px;gap:12px}.new-message{font-size:11px}.runner-overlay{padding:20px}.runner-overlay h2{font-size:24px}.runner-overlay p{font-size:11px}.runner-hud{left:12px;right:12px;top:12px;font-size:14px}.runner-hud span:not(:empty){padding:7px 10px}.runner-wrap{margin-top:10px}.piece{padding:10px}.key-board{gap:1px}.key-board button{font-size:14px}}
