:root {
  color-scheme: dark;
  background: #010103;
}

* {
  box-sizing: border-box;
}

html,
body,
#game-shell {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: #010103;
}

body {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

#game-shell {
  position: relative;
  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);
}

#game-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#brainrot-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
}

#boot-status {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 2rem;
  color: #e9edf8;
  background: #010103;
  font: 600 0.95rem/1.4 system-ui, sans-serif;
  letter-spacing: 0.02em;
  text-align: center;
}

#boot-status[data-failed="true"] {
  color: #ffb4a9;
}
