#donut-container {
  position: relative;
  width: 220px;
  height: 220px;
  max-width: 60vw;
  max-height: 60vw;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-select: none;
  flex-shrink: 0;
  mask-image: radial-gradient(circle closest-side at center, transparent 0, transparent 17%, black 19%, black 100%);
  -webkit-mask-image: radial-gradient(circle closest-side at center, transparent 0, transparent 17%, black 19%, black 100%);
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}
#donut {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #f2b070;
  box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.25);
}
#frosting-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.sprinkle {
  position: absolute;
  width: 4px;
  height: 17px;
  border-radius: 2px;
  pointer-events: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.sprinkle.dot { width: 8px; height: 8px; border-radius: 50%; }
.sprinkle.pebble { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); }
.recipe-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
}
.control-group {
  width: 108px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.control-group span.label { font-size: 13px; font-weight: bold; }
.control-group .label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.clear-mini-btn {
  font-size: 12px;
  font-weight: bold;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  text-decoration: underline;
}
.clear-mini-btn:hover { text-decoration-style: wavy; }
button.option-btn {
  padding: 6px 12px;
  border: 2px solid var(--ink-light);
  border-radius: var(--wobble-sm-a);
  background-color: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  width: 100%;
  transition: background-color 0.15s, color 0.15s;
}
button.option-btn:nth-of-type(even) { border-radius: var(--wobble-sm-b); }
button.option-btn:hover { background-image: var(--hatch); }
button.option-btn.active {
  border-color: var(--ink);
  background-color: var(--ink);
  color: var(--paper);
  font-weight: bold;
}
@media (max-width: 700px) {
  .recipe-content {
    flex-direction: column;
    width: 100%;
    max-width: 260px;
    gap: 16px;
  }
  .control-group { width: 100%; }
}