.crux-devconsole {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40vh;
  background: rgba(0, 0, 0, 0.86);
  border-top: 1px solid #c8a447;
  font-family: 'Courier New', monospace;
  color: #c8a447;
  font-size: 13px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6);
}
.crux-dev-log {
  flex: 1;
  overflow-y: auto;
  padding: 8px 12px;
  white-space: pre-wrap;
  word-break: break-word;
}
.crux-dev-line { line-height: 1.4; }
.crux-dev-line.kind-cmd { color: #ffffff; }
.crux-dev-line.kind-error { color: #ff5a5a; }
.crux-dev-prompt {
  display: flex;
  padding: 6px 12px;
  border-top: 1px solid #6a4d22;
  align-items: center;
  gap: 6px;
}
.crux-dev-prompt .prefix { color: #c8a447; }
.crux-dev-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font: inherit;
  caret-color: #c8a447;
}

/* Painel de coordenadas do GameDebug (comando show-coords): abaixo do bloco de andar do HUD. */
.crux-debug-coords {
  position: fixed;
  left: 14px;
  top: 104px;
  background: rgba(0, 0, 0, 0.72);
  border-left: 2px solid #c8a447;
  padding: 6px 10px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: #e8dcc0;
  line-height: 1.5;
  white-space: pre;
  pointer-events: none;
  z-index: 9000;
}
