:root {
  --bg: #1b1f3b;
  --bg2: #2a2f55;
  --fg: #f5f5f5;
  --accent: #ffcc4d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: radial-gradient(circle at top, var(--bg2), var(--bg));
  color: var(--fg);
  font-family: "Segoe UI", system-ui, sans-serif;
}

h1 {
  margin: 0;
  font-size: 1.8rem;
  letter-spacing: 1px;
}

canvas {
  background: #aee3ff;
  border: 4px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  max-width: 95vw;
  height: auto;
}

.ohjeet {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.85;
  text-align: center;
}

kbd {
  background: var(--bg2);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  padding: 1px 6px;
  font-family: inherit;
  font-size: 0.85em;
}
