html, body {
  margin: 0;
  padding: 0;
}

canvas {
  display: block;
}

.back-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 11;
  color: #b46cff;
  font-size: 32px;
  line-height: 1;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: none;
}

.controls {
  position: fixed;
  top: 18px;
  left: 64px;
  z-index: 10;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: Arial, sans-serif;
  max-width: calc(100vw - 80px);
}

.controls button {
  border: 1px solid #111;
  padding: 6px 10px;
  background: #fff;
  color: #111;
  font: inherit;
}

.control-break {
  flex-basis: 100%;
  height: 0;
}

.controls button[data-sketch-action] {
  min-width: 32px;
}

.controls .keyboard-hint {
  border-color: #b46cff;
  background: #f0e2ff;
  color: #b46cff;
  padding: 5px 8px;
  font-size: 0.8em;
  text-decoration: line-through;
}

.controls button:disabled {
  opacity: 0.45;
}

.controls span {
  color: #111;
  font-size: 12px;
}
