* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: #2b2f4a;
  color: #e8e6f0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

#wrap {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px;
}

canvas#game {
  background: #bfe3ff;               /* sky, in case the game hasn't painted yet */
  border: 4px solid #1b1e33;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  image-rendering: pixelated;         /* keeps the cute shapes crisp when scaled */
  max-width: 96vw;
  height: auto;                       /* scale down on small screens, keep aspect */
}

#hint {
  margin: 0;
  font-size: 14px;
  opacity: 0.85;
  text-align: center;
}

#hint b {
  color: #ffd76a;
  font-weight: 700;
}
