:root {
  color-scheme: dark;
  background: #04060b;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  overflow: hidden;
  background: #04060b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.game-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  background:
    linear-gradient(180deg, #04060b 0%, #081015 48%, #04060b 100%);
}

#game {
  display: block;
  width: min(100vw, calc(100vh * 0.8));
  height: min(100vh, calc(100vw / 0.8));
  background: #04060b;
  outline: none;
  touch-action: none;
  box-shadow: 0 0 28px rgba(25, 216, 214, 0.18);
}

@media (max-aspect-ratio: 4 / 5) {
  #game {
    width: 100vw;
    height: 125vw;
  }
}
