.bench {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Rabbit and name as one block that scales together. The padding keeps its
   shape (594 / 2530) also where aspect-ratio is missing. */
.lockup {
  position: relative;
  width: 100%;
  padding-top: 23.478%;
}

.lockup-print {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.lockup-layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.lockup-rabbit {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 20%;
  height: 100%;
}

.lockup-name {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 77%;
  height: auto;
}

.nozzle {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1.5%;
  height: auto;
  transform: translateX(-50%);
  fill: var(--orange);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.nozzle[data-filament="ink"] {
  fill: var(--ink);
}

/* Filament pushed out during a colour change: the old colour comes out first. */
.purge {
  position: absolute;
  width: 0.5%;
  height: 0;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(to bottom, var(--orange) 30%, var(--ink) 75%);
  pointer-events: none;
}

.is-printing .nozzle {
  opacity: 1;
}

.plate {
  height: 10px;
  border-radius: 3px;
  background: var(--plate);
}

.layer-count {
  margin: 0;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
