:root{color-scheme:dark;background:#11151d;color:#f7ede0;font:16px/1.5 system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}main{max-width:1000px;margin:auto;padding:18px}a{color:#ffbd83}header{display:flex;align-items:baseline;justify-content:space-between;gap:12px}h1{font-size:clamp(1.55rem,5vw,2.8rem);margin:12px 0}canvas{display:block;width:100%;height:auto;background:#202838;border:1px solid #41495c;border-radius:12px;touch-action:none}#hud{min-height:3em;color:#ffd6a9}#controls{display:flex;flex-wrap:wrap;gap:8px}button{font:inherit;color:inherit;background:#253044;border:1px solid #68758c;border-radius:8px;padding:9px 13px;min-height:44px;touch-action:none}button:active,button[aria-pressed=true]{background:#a64a25}details{margin:1rem 0;color:#dbcfc6}details summary{cursor:pointer}#reset{margin-left:auto}
