*{box-sizing:border-box}:root{color-scheme:light}
html,body{margin:0;padding:0;width:100%;height:100%;overflow:hidden;background:#f7f7f7;color:#535353;
  font-family:monospace;font-weight:bold;touch-action:none;-webkit-user-select:none;user-select:none;
  -webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;overscroll-behavior:none}
canvas{display:block;position:fixed;left:0;top:0;width:100%;height:100%;touch-action:none;outline:none;
  image-rendering:-moz-crisp-edges;image-rendering:crisp-edges;image-rendering:pixelated;background:#f7f7f7}
#btns{position:fixed;left:max(6px,env(safe-area-inset-left));top:max(6px,env(safe-area-inset-top));z-index:2;display:flex;gap:6px}
button{font:inherit;color:#535353;background:#fff;border:3px solid #535353;min-height:36px;cursor:pointer;
  touch-action:manipulation;padding:0 10px;font-size:12px}
button:focus-visible{outline:3px dashed #535353;outline-offset:2px}
button:disabled{color:#aaa;border-color:#bbb}button:active{background:#e8e8e8}
