:root {
  color-scheme: dark;
  --bg: #070b10;
  --panel: #111923;
  --text: #ecf6ff;
  --muted: #8ca5b8;
  --accent: #44d7ff;
  --danger: #ff4b57;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  background: radial-gradient(circle at 50% 0%, #182432 0, var(--bg) 52%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  display: grid;
  place-items: center;
  overflow: hidden;
}

.app-shell {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

#game {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #081018;
}

#game canvas {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: block;
  transform: translateX(-50%);
}

.dom-error {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 75, 87, 0.55);
  background: rgba(17, 25, 35, 0.94);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}
