[data-screen="play"] { padding: 0; justify-content: flex-start; }

.legend {
  position: absolute;
  top: 130px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 700;
  white-space: nowrap;
}
.legend-items { display: flex; gap: 4px; }
.legend-items svg { width: 30px; height: 36px; display: block; }

.belt-wrap {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: var(--item);
  transform: translateY(-40%);
  --item: min(24vh, 26vw, 200px);
}
.belt {
  position: absolute;
  left: -40px;
  right: -40px;
  bottom: -26px;
  height: 52px;
  border-radius: 26px;
  background:
    repeating-linear-gradient(90deg, #1E293B 0 26px, #273449 26px 52px);
  border: 1px solid var(--glow);
  box-shadow: inset 0 6px 0 rgba(255, 255, 255, .05), 0 0 30px rgba(56, 189, 248, .25), 0 18px 30px rgba(0, 0, 0, .4);
}
.lane { position: absolute; inset: 0; }

.item {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--item);
  height: var(--item);
  touch-action: none;
  will-change: transform;
}
.item svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .5)); pointer-events: none; }
.item.caught { transition: transform .45s cubic-bezier(.5, -0.3, .7, .4), opacity .45s; opacity: 0; }
.item.wrong { animation: wrong .4s; }
@keyframes wrong { 50% { filter: drop-shadow(0 0 18px var(--bad)) grayscale(1); } }

.float {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 34px;
  pointer-events: none;
  animation: float-up .8s ease-out forwards;
  z-index: 5;
}
.float.plus { color: var(--ok); }
.float.minus { color: var(--bad); }
@keyframes float-up { to { transform: translateY(-70px); opacity: 0; } }

.basket {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(22vmin, 170px);
}
.basket svg { width: 100%; display: block; }
.basket span {
  position: absolute;
  top: -10px;
  right: -10px;
  min-width: 48px;
  height: 48px;
  border-radius: 24px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}
.basket.bump { animation: bump .25s; }
@keyframes bump { 50% { transform: scale(1.12) rotate(-4deg); } }
