:root {
  color-scheme: light;
  font-family: Inter, ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  background: #171d29;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

body {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 20%, #364257 0, #171d29 58%, #0d1119 100%);
}

#game-shell {
  position: relative;
  height: 100dvh;
  max-height: 932px;
  aspect-ratio: 430 / 932;
  max-width: 100vw;
  overflow: hidden;
  background: #f2eadb;
  box-shadow: 0 0 70px rgb(0 0 0 / 42%);
}

#game {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

button {
  position: absolute;
  left: 50%;
  bottom: max(42px, env(safe-area-inset-bottom));
  translate: -50% 0;
  min-width: 270px;
  min-height: 62px;
  padding: 0 28px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: transparent;
  box-shadow: none;
  font: 900 18px/1 Inter, ui-rounded, system-ui, sans-serif;
  letter-spacing: 0.06em;
  cursor: pointer;
  opacity: 0;
}

button:active {
  translate: -50% 0;
}

button[hidden] {
  display: none;
}

@media (min-aspect-ratio: 430 / 932) {
  #game-shell {
    height: 100dvh;
    width: auto;
  }
}

@media (max-aspect-ratio: 430 / 932) {
  #game-shell {
    width: 100vw;
    height: auto;
  }
}
