/* ==========================================================================
   Snack Drop
   ========================================================================== */

.stage {
  background: #0a1f12;
}

/* The crate is the cursor while playing — but the pointer must stay visible
   over the start and game-over overlay. */
.stage canvas {
  cursor: none;
}

.stage.hit {
  animation: stage-hit 0.45s ease;
}

@keyframes stage-hit {
  0%,
  100% {
    box-shadow: var(--shadow-lg);
  }
  30% {
    box-shadow:
      0 0 0 4px var(--lose),
      var(--shadow-lg);
  }
}

/* Double-points window */
.stage.charged {
  border-color: var(--frimax-amber);
  box-shadow:
    0 0 32px rgba(245, 166, 35, 0.45),
    var(--shadow-lg);
}


/* -------------------------------------------------------------- legend --- */

.legend {
  max-width: 440px;
  margin: 26px auto 0;
  padding: 18px 20px;
}

.legend h3 {
  font-size: 1rem;
  color: var(--frimax-amber);
  margin-bottom: 12px;
}

.legend ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.legend li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.legend b {
  color: var(--text);
}

.legend canvas {
  flex: 0 0 auto;
  margin-top: 1px;
}
