/* Dice Roller — badge grid with a pop-in animation per die on roll */
.dice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 4px 0 22px;
  min-height: 60px;
}
.die {
  width: 56px;
  height: 56px;
  border: 3px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--paper-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: var(--shadow-btn-sm);
}
@keyframes die-pop {
  0% { transform: scale(0.4) rotate(-12deg); opacity: 0; }
  60% { transform: scale(1.15) rotate(6deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
.die--roll { animation: die-pop 0.35s ease both; }
