.dice-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; min-height: 84px; }
.die { width: 76px; height: 76px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); }
.die circle { fill: currentColor; }
.die.is-one circle { fill: var(--accent-red); }
.die.is-rolling { animation: tumble 520ms var(--ease); }
@keyframes tumble {
  0% { transform: rotate(0) translateY(0); opacity: 0.6; }
  40% { transform: rotate(200deg) translateY(-14px); }
  100% { transform: rotate(360deg) translateY(0); opacity: 1; }
}
.coin { perspective: 600px; }
.coin-face {
  width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface); font-size: 2.6rem; font-weight: 700;
  box-shadow: inset 0 0 0 8px var(--paper), inset 0 0 0 9px var(--line);
}
.coin-face.is-tails { color: var(--accent-blue); }
.coin-face:not(.is-tails) { color: var(--accent-red); }
.coin-face.is-flipping { animation: flip 900ms var(--ease); }
@keyframes flip {
  0% { transform: rotateY(0) translateY(0); }
  50% { transform: rotateY(900deg) translateY(-40px); }
  100% { transform: rotateY(1800deg) translateY(0); }
}
