/* ==========================================================================
   Lucky Dice Roll — builds on common.css tokens
   ========================================================================== */
body { padding-bottom: 220px; }

.board-wrap { max-width: 560px; margin: 0 auto; padding: 6px 14px 6px; text-align: center; }
.board-title { font-size: 11.5px; color: var(--muted); margin-bottom: 6px; }

.dice-stage { display: flex; justify-content: center; gap: 18px; margin: 22px 0 20px; }
.die {
  width: 74px; height: 74px; border-radius: 16px;
  background: linear-gradient(160deg, #fdfaf0, #e7dfc4);
  display: flex; align-items: center; justify-content: center;
  font-size: 52px; line-height: 1; color: #1a0d05;
  box-shadow: 0 8px 22px rgba(0,0,0,0.5);
}
.die.rolling { animation: diceShake 0.12s infinite; filter: blur(0.4px); }
@keyframes diceShake {
  0% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } 100% { transform: rotate(-6deg); }
}
.die.landed { animation: diceLand 0.3s ease; }
@keyframes diceLand { 0% { transform: scale(1.18); } 100% { transform: scale(1); } }

.bet-type-tabs {
  display: flex; gap: 8px; justify-content: center; margin-bottom: 14px;
}
.bet-type-tabs .tab {
  flex: 1; max-width: 160px;
  padding: 10px 8px; border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.3);
  background: rgba(255,255,255,0.03);
  color: var(--ivory); font-size: 12px; font-weight: 700;
}
.bet-type-tabs .tab.active {
  border-color: var(--gold-bright);
  background: rgba(212,175,55,0.18);
  color: var(--gold-bright);
}

.bet-value-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px;
  max-width: 460px; margin: 0 auto 8px;
}
.bet-value-grid.cols-2 { grid-template-columns: 1fr 1fr; max-width: 300px; }
.value-chip {
  padding: 12px 4px; border-radius: 10px;
  border: 1px solid rgba(212,175,55,0.3);
  background: rgba(255,255,255,0.03);
  color: var(--ivory); font-weight: 700; font-size: 13px;
}
.value-chip .odds { display: block; font-size: 9.5px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.value-chip.selected {
  border-color: var(--gold-bright);
  background: rgba(212,175,55,0.18);
  box-shadow: 0 0 0 1px rgba(212,175,55,0.4);
  color: var(--gold-bright);
}

.outcome-box {
  background: rgba(212,175,55,0.12); border: 1px solid rgba(212,175,55,0.3);
  font-size: 13px; font-weight: 700; text-align: center; padding: 10px 14px;
  border-radius: 10px; display: none; margin-top: 6px;
}

@media (max-width: 420px) {
  .die { width: 62px; height: 62px; font-size: 42px; }
  .bet-value-grid { grid-template-columns: repeat(4, 1fr); }
}
