:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #e8edf2;
  background: #190002;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
  touch-action: none;
}

.debug-panel {
  position: fixed !important;
  z-index: 10;
  top: 10px;
  right: 10px;
  max-height: calc(100vh - 20px);
  overflow-y: auto;
}

@media (max-width: 540px) {
  .debug-panel {
    transform: scale(0.88);
    transform-origin: top right;
    max-height: calc(114vh - 20px);
  }
}
