* {
  box-sizing: border-box;
}

:root {
  --kvibe-surface: #10121a;
  --kvibe-grid-dot: rgba(48, 52, 66, 0.4);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #e8eaf0;
  background-color: var(--kvibe-surface);
  background-image: radial-gradient(
    var(--kvibe-grid-dot) 1px,
    var(--kvibe-surface) 1px
  );
  background-size: 20px 20px;
}

.game-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px;
}

canvas#game {
  display: block;
  width: min(960px, 96vw);
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  background: #171a26;
  touch-action: none;
}

.hint {
  margin: 0;
  max-width: 960px;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  color: #9aa0b5;
}

.hint b {
  color: #ffd27a;
}
