.hb-shell{position:relative;width:100%;height:100%;min-height:0;background:#030108;overflow:hidden}
.hb-stage{position:absolute;top:0;left:50%;width:1440px;height:816px;transform-origin:top center;background:#030108;overflow:hidden;box-shadow:0 0 0 1px #45145f,0 0 42px #000}
.hb-stage canvas{display:block;width:1440px;height:816px;image-rendering:pixelated;touch-action:none;cursor:crosshair;outline:none}
.hb-scan{position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,rgba(0,0,0,.14) 0 1px,transparent 1px 3px);mix-blend-mode:multiply;z-index:2}
.hb-overlay{position:absolute;inset:0;z-index:5;display:grid;place-items:center;background:radial-gradient(circle at 50% 40%,rgba(40,6,50,.45),rgba(3,1,8,.84));text-align:center}
.hb-overlay[hidden]{display:none}
.hb-menu{width:min(980px,90%);padding:26px 34px;border:2px solid #b25bd2;background:rgba(10,4,22,.93);box-shadow:10px 10px 0 #ff6fb5}
.hb-menu small{color:#ffd93a;font:900 14px "Courier New",monospace;letter-spacing:.1em}
.hb-menu h1{margin:10px 0 6px;color:#5ee7ff;font:900 92px/1 "Courier New",monospace;letter-spacing:.02em;text-shadow:5px 5px 0 #14227a}
.hb-menu h1 span{color:#ff6fb5;text-shadow:5px 5px 0 #7c0f52}
.hb-menu p{color:#d6cbe8;font:17px/1.5 "Courier New",monospace;margin:8px auto;max-width:820px}
.hb-menu .hb-note{color:#9488ad;font-size:14px}
.hb-menu .hb-best{color:#ffd93a;font-weight:900;letter-spacing:.12em}
.hb-menu ul{list-style:none;margin:14px auto;padding:0;text-align:left;width:fit-content;max-width:880px;color:#d6cbe8;font:15px/1.75 "Courier New",monospace}
.hb-menu li b{display:inline-block;min-width:78px;color:#ffd93a}
.hb-modes{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0 8px}
.hb-modes button{display:flex;flex-direction:column;gap:8px;align-items:flex-start;text-align:left;padding:14px;min-height:150px}
.hb-modes b{font-size:20px;color:inherit}
.hb-modes span{font:13px/1.4 "Courier New",monospace;color:#d6cbe8;letter-spacing:0}
.hb-modes em{margin-top:auto;font:900 12px "Courier New",monospace;font-style:normal;color:#ffd93a}
.hb-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:10px;margin:18px auto;max-width:640px}
.hb-grid button{padding:14px 0;font-size:20px}
.hb-row{display:flex;gap:12px;justify-content:center;margin-top:14px}
.hb-overlay button,.hb-controls button,.hb-touch button{cursor:pointer;padding:12px 20px;border:2px solid #5ee7ff;background:#0b2a33;color:#5ee7ff;font:900 16px "Courier New",monospace;letter-spacing:.06em}
.hb-overlay button:hover:not(:disabled),.hb-overlay button:focus-visible,.hb-controls button:hover{background:#5ee7ff;color:#05040a}
.hb-overlay button:hover:not(:disabled) span{color:#05040a}
.hb-overlay button:disabled{opacity:.3;cursor:not-allowed}
.hb-controls{position:absolute;z-index:6;right:30px;bottom:30px;display:flex;gap:8px}
.hb-controls button{padding:8px 12px;font-size:14px;background:rgba(5,4,18,.85)}
.hb-controls button.active{border-color:#ff6fb5;color:#ff6fb5}
.hb-touch{position:absolute;z-index:6;right:30px;bottom:96px}
.hb-touch[hidden]{display:none}
.hb-touch button{width:150px;height:150px;border-radius:50%;font-size:22px;background:rgba(11,42,51,.7);touch-action:none;user-select:none}
.hb-banner{position:absolute;z-index:4;left:50%;top:190px;transform:translateX(-50%);text-align:center;pointer-events:none;white-space:nowrap}
.hb-banner[hidden]{display:none}
.hb-banner b{display:block;color:#ffd93a;font:900 46px "Courier New",monospace;letter-spacing:.06em;text-shadow:4px 4px #7c0f52}
.hb-banner span{display:block;margin-top:6px;color:#5ee7ff;font:900 18px "Courier New",monospace;letter-spacing:.12em;text-shadow:2px 2px #05040a}
.hb-banner.on{animation:hb-pop 2.2s both}
@keyframes hb-pop{0%{opacity:0;transform:translate(-50%,18px) scale(.8)}12%,78%{opacity:1;transform:translate(-50%,0) scale(1)}100%{opacity:0;transform:translate(-50%,-16px)}}
body.hb-playing .workspace{padding:0;overflow:hidden}
@media(prefers-reduced-motion:reduce){.hb-banner.on{animation:none}}
