:root{--game-accent:#c2410c;--game-stage-bg:#160b2b}
.circuit-page{overflow-x:hidden}
.circuit-stage{border-color:#3f2a64;box-shadow:0 22px 70px rgba(22,11,43,.24)}
.circuit-stage #gameCanvas{aspect-ratio:8/5!important;background:#160b2b!important}
.circuit-overlay{background:rgba(13,9,32,.6)}
.circuit-overlay>div{border-top:6px solid #ff8a5b}
.circuit-controls{width:min(100%,640px);margin:1rem auto 0;display:grid;grid-template-columns:3fr 2fr;gap:.6rem}
.circuit-controls__move{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}
.circuit-controls__punch{display:grid;grid-template-columns:1fr;gap:.5rem}
.circuit-controls button{min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.2rem;border:1px solid var(--game-shell-border);border-radius:16px;background:#fff;color:var(--game-shell-ink);padding:.5rem .6rem;font:800 .95rem/1.1 var(--game-shell-body);cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.circuit-controls button span{color:var(--game-shell-muted);font:700 .66rem/1 var(--game-shell-mono);text-transform:uppercase;letter-spacing:.06em}
.circuit-controls button:focus-visible{outline:3px solid var(--game-shell-red);outline-offset:3px}
.circuit-controls .circuit-block{grid-column:1/-1;border-color:#bfeee5}
.circuit-controls .circuit-block[aria-pressed="true"]{background:#1a1230;color:#fff}
.circuit-controls .circuit-block[aria-pressed="true"] span{color:#bfeee5}
.circuit-controls .circuit-hook{border-color:#ffc9b3}
.circuit-controls .circuit-jab{min-height:66px;background:#1a1230;border-color:#1a1230;color:#fff}
.circuit-controls .circuit-jab span{color:#ffd166}
.circuit-guide{width:min(100%,720px);margin:.9rem auto 0;padding:.2rem .9rem;border:1px solid var(--game-shell-border);border-radius:14px;background:#fff;color:var(--game-shell-muted);font-size:.86rem;line-height:1.5}
.circuit-guide summary{min-height:40px;padding:.6rem 0;color:var(--game-shell-ink);font-weight:800;cursor:pointer}
.circuit-guide ul{margin:0 0 .7rem;padding-left:1.1rem}
@media(max-width:520px){.circuit-controls{grid-template-columns:1fr 1fr}.circuit-controls__move{grid-template-columns:1fr 1fr}.circuit-hud{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
