:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 0%, #3b628b 0%, #16263c 58%, #0c1523 100%);
}

.game-shell {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 22px;
}

canvas {
  width: min(480px, calc(100vw - 32px));
  height: auto;
  display: block;
  border: 5px solid rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  touch-action: manipulation;
}

.hint {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}
