:root {
  color-scheme: dark;
  --bg: #040411;
  --cyan: #5ef8ff;
  --magenta: #ff4ff3;
  --violet: #8a52ff;
  --gold: #ffd36a;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  position: fixed;
  inset: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background:
    radial-gradient(circle at 50% 18%, rgba(98, 32, 168, 0.38), transparent 34%),
    radial-gradient(circle at 82% 54%, rgba(0, 211, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #07051b 0%, #02020a 100%);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

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

#game-shell {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #03030d;
}

#game {
  position: absolute;
  display: block;
  image-rendering: auto;
  outline: none;
}

#loading {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 14px 18px;
  border: 1px solid rgba(94, 248, 255, 0.35);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(3, 3, 18, 0.84);
  box-shadow: 0 0 28px rgba(94, 248, 255, 0.22);
  font-size: 14px;
  letter-spacing: 0;
}

#loading.is-hidden {
  display: none;
}
