.dispatch-machine {
  position: relative;
  filter: none;
}

.dispatch-machine img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 5px 5px rgb(21 8 11 / 48%));
}

.dispatch-machine .press-bed,
.dispatch-machine canvas,
.dispatch-machine .press-control {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.dispatch-machine canvas {
  right: auto;
  bottom: auto;
  pointer-events: none;
}

.dispatch-machine.is-animated .press-poster {
  visibility: hidden;
}

.press-control {
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #ffedce;
}

.press-control:focus-visible {
  outline-offset: 1px;
}

.press-control span {
  position: absolute;
  top: 8%;
  left: 2%;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid #ad8262;
  border-radius: 50%;
  background: #261b1a;
  opacity: 0;
}

.press-control span::before {
  content: "";
  width: 7px;
  height: 8px;
  border-inline: 2px solid currentColor;
}

.press-control:hover span,
.press-control:focus-visible span,
.dispatch-machine.is-paused .press-control span {
  opacity: 1;
}

.dispatch-machine.is-paused .press-control span::before {
  width: 0;
  height: 0;
  margin-left: 2px;
  border: solid transparent;
  border-width: 4px 0 4px 6px;
  border-left-color: currentColor;
}

@media (max-width: 720px) {
  .dispatch-shelf .dispatch-machine {
    width: 92%;
  }
}

@media (hover: none) {
  .press-control span {
    opacity: .8;
  }
}
