* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 0%, #2b1f4a, #0d0a1a 70%);
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #f1eaff;
}

.game-wrap {
  text-align: center;
}

h1 {
  margin: 0 0 10px;
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  text-shadow: 0 0 12px rgba(180, 120, 255, 0.6);
}

canvas {
  background: linear-gradient(to bottom, #3a2a66 0%, #1a1330 100%);
  border-radius: 14px;
  box-shadow: 0 0 0 3px rgba(180, 120, 255, 0.4), 0 10px 40px rgba(0,0,0,0.5);
  touch-action: manipulation;
  cursor: pointer;
}

.hint {
  margin-top: 10px;
  font-size: 0.85rem;
  opacity: 0.75;
}

kbd {
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.8rem;
}

.score {
  margin-top: 6px;
  font-size: 1.1rem;
  font-weight: 600;
}
