/* Eco's Sorting Station: bins, falling item and the drop buttons (frame in ../game.css). */
.board__bin { transform: translate(-50%, -100%); transition: transform .15s ease; }
.board__bin.is-hit { transform: translate(-50%, -100%) scale(1.08, .94); }
.board__item { transform: translate(-50%, -50%) rotate(var(--spin, 0deg)); will-change: left, top; }
/* a lane's well: the board above that bin's opening, so an item sliding in is hidden by the bin's front */
.board__well { position: absolute; left: 0; top: 0; width: 100%; overflow: hidden; pointer-events: none; }

/* The three drop buttons double as the bins' labels, one under each lane */
.game__bins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; width: var(--board-w); }
.game__bin {
  font: 400 1.25rem/1 var(--comic); letter-spacing: .05em; color: var(--ink);
  border: var(--outline); border-radius: 12px; min-height: 48px; padding: 8px 4px;
  box-shadow: 3px 4px 0 var(--ink); cursor: pointer; transition: transform .1s ease, box-shadow .1s ease;
}
.game__bin:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.game__bin--compost { background: #e7cfb4; }
.game__bin--recycle { background: #bcdcf8; }
.game__bin--fix { background: var(--sun); }
.game__bin.is-aimed { transform: translateY(-4px); box-shadow: 3px 8px 0 var(--ink); outline: 3px solid #fff; outline-offset: -7px; }
.game__bin:disabled { opacity: .5; cursor: default; }


@media (prefers-reduced-motion: reduce) {
  .board__bin, .game__bin { transition: none; }
}

