* {
  box-sizing: border-box;
  margin: 0;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: #f4f2ee;
  color: #111118;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main {
  width: 100%;
  max-width: 380px;
  text-align: center;
}

h1 {
  margin-bottom: 16px;
  font-size: 28px;
}

canvas {
  display: block;
  width: 100%;
  aspect-ratio: 360 / 560;
  border-radius: 24px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  touch-action: none; /* no scrolling or zooming while playing */
  user-select: none;
}

.scores {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding: 0 4px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 13px;
  color: #5f5f73;
}

.hint {
  margin-top: 14px;
  font-size: 14px;
  color: #5f5f73;
}
