/* Danube Roulette — visual wheel */
.rl-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.rl-stage {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  max-width: 340px;
}

.rl-pointer {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 28px solid #c9a02e;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.rl-wheel-wrap {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 4px rgba(201, 160, 46, 0.35),
    inset 0 0 40px rgba(0, 0, 0, 0.45),
    0 8px 32px rgba(0, 0, 0, 0.5);
  background: radial-gradient(circle at 50% 50%, #2a2535 0%, #1a0a2e 55%, #0a0510 100%);
}

.rl-canvas {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.rl-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18%;
  height: 18%;
  border-radius: 50%;
  background: linear-gradient(145deg, #7b0e2a, #4a0818);
  border: 3px solid #c9a02e;
  z-index: 3;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.rl-result-banner {
  min-height: 3.2em;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--ivory);
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(42, 37, 53, 0.9);
  border: 1px solid rgba(201, 160, 46, 0.25);
  max-width: 420px;
}

.rl-result-banner strong {
  color: var(--gold);
  font-size: 1.25em;
}

.rl-bet-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
  margin-bottom: 16px;
}

.rl-bet-row label {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--silver);
  display: block;
  margin-bottom: 4px;
}

.rl-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rl-chip {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(201, 160, 46, 0.4);
  background: rgba(26, 10, 46, 0.8);
  color: var(--ivory);
  cursor: pointer;
}

.rl-chip:hover,
.rl-chip:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  outline: none;
}

.rl-chip.is-active {
  background: var(--gold);
  color: var(--velvet);
  border-color: var(--gold);
}

.rl-board-title {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 8px;
}

.rl-num-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  max-width: 420px;
}

@media (max-width: 400px) {
  .rl-num-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.rl-num {
  aspect-ratio: 1;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  color: var(--ivory);
  transition: transform 0.12s ease, box-shadow 0.2s ease;
}

.rl-num:hover {
  transform: scale(1.05);
  box-shadow: 0 0 0 2px rgba(201, 160, 46, 0.5);
}

.rl-num.is-pick {
  box-shadow: 0 0 0 3px #c9a02e;
  border-color: #c9a02e;
}

.rl-num--green {
  background: #007a4b;
}

.rl-num--red {
  background: #7b0e2a;
}

.rl-num--black {
  background: #1a1520;
}

.rl-spin-row {
  margin-top: 16px;
}

.rl-spin-row .btn {
  width: 100%;
  max-width: 320px;
}

.rl-spinning .btn {
  pointer-events: none;
  opacity: 0.65;
}
