:root {
  color-scheme: dark;
  --bg: #050816;
  --frame: #111a2f;
  --line: #31415f;
  --text: #edf2ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.12), transparent 30%),
    linear-gradient(180deg, #050816 0%, #0b1222 100%);
  overflow: hidden;
  font-family: "Courier New", monospace;
}

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

.app-shell {
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
  padding: 12px;
}

.stage-frame {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(4, 8, 18, 0.9), rgba(8, 14, 28, 0.92));
  border: 4px solid var(--line);
  box-shadow:
    0 0 0 4px rgba(7, 12, 22, 0.92),
    0 18px 40px rgba(0, 0, 0, 0.4);
  image-rendering: pixelated;
}

canvas {
  display: block;
  width: 640px;
  height: 360px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  background: var(--bg);
}
