body {
  font-family: sans-serif;
  text-align: center;
  background: #f7f3e9;
  margin: 0;
  padding: 0;
}

.machine {
  max-width: 600px;
  margin: 32px auto;
  padding: 16px;
  background: #fff8dc;
  border-radius: 5px;
}

.dials {
  display: flex;
  justify-content: space-around;
  margin: 16px 0;
}

.dial {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 33%;
}

.knob-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
}

.knob {
  width: 100%;
  height: 100%;
  border: 4px solid #333;
  border-radius: 50%;
  background: #5b4b3b;
  transition: transform 0.2s ease;
  cursor: grab;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.tick-marks {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.tick {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 10px;
  background: #ccc;
  transform-origin: center 0px;
}

.readout {
  margin-top: 0.5em;
  font-weight: bold;
  user-select: none;
  -webkit-user-select: none;
}

.label {
  margin-top: 0.25em;
  font-size: 0.9em;
  color: #444;
  user-select: none;
  -webkit-user-select: none;
}

#share-text {
  display: none;
  white-space: pre-line; /* so line breaks in text work */
  margin-top: 1em;
  font-family: monospace;
}

