/* The canvas is 640 x 360 logical px, integer scaled and letterboxed. Nothing here is gameplay. */
:root { color-scheme: dark; }

html, body {
  margin: 0;
  height: 100%;
  background: #120E0B;
  color: #C4B49A;
  font: 12px/1.5 ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  overflow: hidden;
}

#stage {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

#game {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  background: #120E0B;
  cursor: crosshair;
}

#debug {
  position: fixed;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  overflow-y: auto;
  background: #1a1410;
  border-left: 1px solid #443A31;
  display: none;
  padding: 6px;
  box-sizing: border-box;
}
#debug.open { display: block; width: 260px; }

#debug fieldset {
  border: 1px solid #443A31;
  margin: 0 0 6px;
  padding: 4px 6px 6px;
}
#debug legend { color: #D2A24C; padding: 0 4px; }
#debug label { display: block; margin: 2px 0; }
#debug button, #debug select, #debug input[type="text"] {
  font: inherit;
  background: #241C16;
  color: #C4B49A;
  border: 1px solid #443A31;
  margin: 1px;
  padding: 1px 4px;
  cursor: pointer;
}
#debug button:hover { background: #443A31; }
#debug input[type="text"] { width: 100%; box-sizing: border-box; cursor: text; }
#debug p { margin: 2px 0; color: #6E6154; }
#debug .cues { max-height: 200px; overflow-y: auto; }
#debug .cues button { display: block; width: 100%; text-align: left; }
