.lathe-rig {
  position: relative;
}

.lathe-rig__beam {
  width: min(180px, 80%);
  height: 12px;
  border: 1px solid rgba(197, 248, 42, 0.38);
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--amber), var(--teal), var(--lime))
    left / var(--tool-score, 0%) 100% no-repeat,
    rgba(255, 255, 255, 0.08);
}

.lathe-rig__chuck,
.lathe-rig__crank {
  width: 58px;
  aspect-ratio: 1;
  border: 2px solid var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(78, 205, 196, 0.24);
}

.lathe-rig__crank {
  animation: lathe-crank 1.6s linear infinite;
}

@keyframes lathe-crank {
  to { rotate: 360deg; }
}
