/* Motion only: the existing paper, color and card system remains authoritative. */
.polish-replay {
  position: absolute;
  right: 5%;
  bottom: 6.6%;
  z-index: 12;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  padding: .35cqw .7cqw;
  font-size: max(11px, .8cqw);
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 2px 2px 0 var(--ink);
}
.polish-click-pulse {
  position: absolute;
  z-index: 5;
  width: max(16px, 1.5cqw);
  height: max(16px, 1.5cqw);
  border: 3px solid var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--ink);
  pointer-events: none;
}
.slice-nozzle, .slice-stack-layer {
  transform-box: view-box;
  transform-origin: 0 0;
}
.slice-first-path { transform-box: fill-box; }
#boolean-finale.slide.active .boolean-input,
#boolean-finale.slide.active .boolean-finale { animation: none; }
#layer-height .sphere-slice { transition: none; }
@media (max-width: 760px) {
  .polish-replay {
    right: 5%;
    bottom: 7cqw;
    min-height: 36px;
    padding: 6px 10px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .polish-click-pulse { display: none; }
  .slice-nozzle { opacity: 0; }
  .polish-replay { transition: none; }
}
