.belt {
  position: absolute;
  z-index: 6;
  height: 16px;
  border-radius: 3px;
  background: linear-gradient(#3e5a52 0 3px, #2c3f3a 3px 12px, #1f2d29 12px);
  box-shadow: 0 6px 10px -4px rgba(0, 0, 0, .5);
  pointer-events: none;
}
.belt__rollers {
  position: absolute;
  left: 3px;
  right: 3px;
  top: -4px;
  height: 7px;
  overflow: hidden;
  border-radius: 3px;
  background: #3a4448;
}
.belt__surface {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -16px;
  right: -16px;
  background: repeating-linear-gradient(90deg, #b3bec2 0 5px, #8a979b 5px 9px, #4a5458 9px 12px, #3a4448 12px 16px);
  animation: belt-run 1.2s linear infinite;
}
.belt--left .belt__surface { animation-direction: reverse; }
.belt-stopped .belt__surface, .belt-stopped .wheel { animation-play-state: paused; }

.shaft { position: absolute; z-index: 2; pointer-events: none; overflow: visible; }

.carts {
  position: absolute;
  z-index: 7;
  pointer-events: none;
}
.cart {
  position: absolute;
  left: 0;
  top: 0;
  will-change: transform;
}
.cart .gift { pointer-events: auto; }
.cart__platform {
  position: absolute;
  left: 50%;
  bottom: 2px;
  height: 9px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: linear-gradient(#6b8f84 0 2px, #4a6b62 2px 7px, #2c3f3a 7px);
  opacity: 0;
  transition: opacity .3s;
}
.cart__platform::before, .cart__platform::after {
  content: "";
  position: absolute;
  bottom: 8px;
  width: 2px;
  height: 420px;
  background: #3a3430;
}
.cart__platform::before { left: 4px; }
.cart__platform::after { right: 4px; }
.cart--lifted .cart__platform { opacity: 1; }
.cart--off-belt .gift { pointer-events: none; }

.cart__toy { position: absolute; display: none; pointer-events: none; background: center bottom / contain no-repeat; }
.cart--toy .cart__toy { display: block; }
.cart--toy .gift { visibility: hidden; }

.cart--toy-and-box .cart__toy { display: block; }
.dispenser__ropes {
  position: absolute;
  z-index: 8;
  height: 0;
  pointer-events: none;
  border-left: 2px solid #3a3430;
  border-right: 2px solid #3a3430;
}

.gift-works { position: absolute; pointer-events: none; overflow: visible; }
.gift-works-shield { position: absolute; z-index: 8; pointer-events: auto; }
.gift-works__flash {
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 245, 210, .95), rgba(255, 200, 110, 0));
  opacity: 0;
}
.gift-works__flash.is-on { animation: works-flash 1.1s ease-out; }
.gift-works__steam { width: 0; height: 0; }
.gift-works__steam i {
  position: absolute;
  left: -12px;
  top: -12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240, 244, 248, .9), rgba(240, 244, 248, 0));
  opacity: 0;
}
.gift-works__steam.is-on i { animation: works-steam 1.6s ease-out; }
.gift-works__steam.is-on i:nth-child(2) { animation-delay: .15s; }
.gift-works__steam.is-on i:nth-child(3) { animation-delay: .3s; }
