:root {
  --bg: #0b0f18;
  --bg-2: #121826;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f2f5fa;
  --muted: #8b97ab;

  --gold: #f5c451;
  --gold-2: #d99b25;
  --green: #3ecf8e;
  --red: #ef4f56;

  --felt: #10714c;
  --felt-2: #064430;
  --felt-3: #032b1e;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(80% 55% at 50% -10%, rgba(245, 196, 81, 0.16), transparent 70%),
    radial-gradient(70% 50% at 10% 100%, rgba(62, 207, 142, 0.1), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  pointer-events: none;
  z-index: -1;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

#app {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: env(safe-area-inset-top) env(safe-area-inset-right)
    env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.view {
  flex: 1;
  display: flex;
  flex-direction: column;
  animation: viewIn 0.32s ease both;
}

@keyframes viewIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* ---------------- Top bar ---------------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
}

.topbar-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.topbar-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 12px 8px 6px;
  border-radius: 12px;
  transition: color 0.15s, background 0.15s;
}

.back-btn:active {
  color: var(--text);
  background: var(--surface);
}

.balance {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  color: #2a1d02;
  background: linear-gradient(140deg, #ffe08a, var(--gold) 45%, var(--gold-2));
  box-shadow: 0 6px 18px rgba(217, 155, 37, 0.32);
  white-space: nowrap;
  transition: transform 0.25s;
}

.balance.bump {
  animation: bump 0.45s ease;
}

@keyframes bump {
  40% {
    transform: scale(1.12);
  }
}

.balance-coin {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #fff6d5, #e6a92a 62%, #a9731a);
  box-shadow: inset 0 -1px 2px rgba(0, 0, 0, 0.28);
  flex: none;
}

/* ---------------- Hub ---------------- */

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
  padding: 4px 18px 28px;
}

.tile {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 18px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 128px;
  text-align: left;
  transition: transform 0.16s ease, border-color 0.2s;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tile-glow, transparent);
  opacity: 0.5;
  pointer-events: none;
}

.tile > * {
  position: relative;
  z-index: 1;
}

.tile.featured {
  grid-column: span 2;
  min-height: 108px;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  border-color: rgba(245, 196, 81, 0.4);
}

.tile.live:active {
  transform: scale(0.97);
}

.tile.soon {
  opacity: 0.42;
}

.tile-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 25px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border);
  flex: none;
}

.tile.featured .tile-icon {
  width: 60px;
  height: 60px;
  font-size: 32px;
  border-radius: 18px;
}

.tile-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tile-name {
  font-size: 16px;
  font-weight: 700;
}

.tile.featured .tile-name {
  font-size: 19px;
}

.tile-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.35;
}

.tile-badge {
  position: absolute;
  top: 11px;
  right: 11px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  color: var(--muted);
  z-index: 1;
}

.tile-play {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  color: #2a1d02;
  background: linear-gradient(140deg, #ffe08a, var(--gold));
  padding: 10px 18px;
  border-radius: 999px;
  flex: none;
}

/* ---------------- Blackjack table ---------------- */

.table {
  flex: 1;
  position: relative;
  margin: 0 12px;
  border-radius: 26px;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 340px;
  background:
    radial-gradient(90% 68% at 50% 42%, var(--felt) 0%, var(--felt-2) 58%, var(--felt-3) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.table::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  pointer-events: none;
}

.seat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  position: relative;
  z-index: 1;
}

.seat-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.seat-total:empty {
  display: none;
}

.seat-total {
  min-width: 30px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.seat-total.bust {
  background: rgba(239, 79, 86, 0.85);
  border-color: transparent;
}

.seat-total.blackjack {
  background: linear-gradient(140deg, #ffe08a, var(--gold-2));
  color: #2a1d02;
  border-color: transparent;
}

/* Cards fan out with a slight overlap, kept small enough that every
   card's rank corner and most of its pips stay readable. */
.hand {
  display: flex;
  justify-content: center;
  min-height: 100px;
  padding-left: 16px;
}

.hand .crd-wrap {
  margin-left: -16px;
}

.table-center {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 34px;
}

.stake-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4px);
}

.stake-chip.doubled {
  background: linear-gradient(140deg, rgba(245, 196, 81, 0.9), rgba(217, 155, 37, 0.9));
  color: #2a1d02;
  border-color: transparent;
}

.outcome {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 12px 22px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  animation: outcomeIn 0.42s cubic-bezier(0.2, 1.2, 0.4, 1) both;
}

@keyframes outcomeIn {
  from {
    opacity: 0;
    transform: scale(0.86) translateY(8px);
  }
}

.outcome-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.outcome-amount {
  font-size: 13.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.outcome.win {
  border-color: rgba(245, 196, 81, 0.55);
  box-shadow: 0 0 26px rgba(245, 196, 81, 0.3);
}

.outcome.win .outcome-title {
  background: linear-gradient(120deg, #ffe9a8, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.outcome.win .outcome-amount {
  color: var(--gold);
}

.outcome.lose .outcome-title {
  color: var(--red);
}

.outcome.push .outcome-title {
  color: var(--muted);
}

/* ---------------- Controls ---------------- */

.controls {
  padding: 14px 14px calc(16px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.error {
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--red);
  min-height: 18px;
}

.bet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.bet-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.bet-value {
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.bet-clear {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--surface-2);
}

.bet-clear:active {
  color: var(--text);
}

.chips {
  display: flex;
  gap: 9px;
  justify-content: space-between;
}

.chip {
  flex: 1;
  aspect-ratio: 1;
  max-height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  position: relative;
  background: var(--chip-bg, #444);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.3);
  transition: transform 0.14s;
}

.chip::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.5);
}

.chip:active {
  transform: scale(0.9) translateY(2px);
}

.chip:disabled {
  opacity: 0.35;
  transform: none;
}

.chip-100 {
  --chip-bg: radial-gradient(circle at 34% 28%, #7f8ea3, #46536b);
}
.chip-500 {
  --chip-bg: radial-gradient(circle at 34% 28%, #5cc98f, #1c7a4d);
}
.chip-1000 {
  --chip-bg: radial-gradient(circle at 34% 28%, #5aa9f0, #1c5fa8);
}
.chip-5000 {
  --chip-bg: radial-gradient(circle at 34% 28%, #d67ce8, #7e2c96);
}
.chip-max {
  --chip-bg: radial-gradient(circle at 34% 28%, #ffe08a, #d99b25);
  color: #2a1d02;
}

.actions {
  display: flex;
  gap: 10px;
}

.btn {
  flex: 1;
  padding: 16px 12px;
  border-radius: 16px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  transition: transform 0.13s, opacity 0.15s;
}

.btn:active:not(:disabled) {
  transform: scale(0.97);
}

.btn:disabled {
  opacity: 0.34;
}

.btn-primary {
  background: linear-gradient(140deg, #ffe08a, var(--gold) 48%, var(--gold-2));
  color: #2a1d02;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(217, 155, 37, 0.34);
}

.btn-hit {
  background: linear-gradient(140deg, #4ad393, #1f9c63);
  color: #04281a;
  border-color: transparent;
}

.btn-stand {
  background: linear-gradient(140deg, #ff7b80, #d33a41);
  color: #300709;
  border-color: transparent;
}

/* ---------------- Shared table ---------------- */

.phase-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 12px 10px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.phase-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.phase-timer {
  min-width: 26px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}

.phase-timer:empty {
  display: none;
}

.table-multi {
  gap: 10px;
  padding: 16px 12px;
}

.others {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 34vh;
  overflow-y: auto;
}

.others-empty {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  padding: 12px 0;
}

.player {
  padding: 9px 12px;
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: border-color 0.2s, background 0.2s;
}

.player.active {
  border-color: rgba(245, 196, 81, 0.75);
  background: rgba(245, 196, 81, 0.12);
  box-shadow: 0 0 18px rgba(245, 196, 81, 0.22);
}

.player-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.player-name {
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-stake {
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
  flex: none;
}

.player-stake.muted {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 600;
}

.player-outcome {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 999px;
  flex: none;
}

.player-outcome.win {
  background: rgba(245, 196, 81, 0.9);
  color: #2a1d02;
}

.player-outcome.lose {
  background: rgba(239, 79, 86, 0.85);
  color: #fff;
}

.player-outcome.push {
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.85);
}

.player-outcome:empty {
  display: none;
}

.mini-hand {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
}

.mini-hand:empty {
  display: none;
}

.mini-card {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 5px;
  background: #f4f6fa;
  color: #17202e;
}

.mini-card.red {
  color: #d3323c;
}

.mini-total {
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.mini-total.bust {
  background: rgba(239, 79, 86, 0.9);
}

.panel-note {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 18px 12px;
}

/* ---------------- Card ---------------- */

.crd-wrap {
  width: 72px;
  height: 100px;
  perspective: 800px;
  flex: none;
}

.crd-dealing {
  animation: deal 0.42s cubic-bezier(0.2, 0.9, 0.3, 1) both;
}

@keyframes deal {
  from {
    opacity: 0;
    transform: translate(58px, -84px) rotate(16deg) scale(0.86);
  }
}

.crd {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.52s cubic-bezier(0.4, 0.15, 0.2, 1);
}

.crd.flipped {
  transform: rotateY(180deg);
}

.crd-face {
  position: absolute;
  inset: 0;
  border-radius: 9px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.crd-front {
  background: linear-gradient(160deg, #ffffff, #eef1f6);
  color: #17202e;
  border: 1px solid rgba(0, 0, 0, 0.16);
}

.crd-front.red {
  color: #d3323c;
}

.crd-front svg {
  fill: currentColor;
  display: block;
}

.crd-corner {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  gap: 1px;
}

.crd-corner-tl {
  top: 5px;
  left: 5px;
}

.crd-corner-br {
  bottom: 5px;
  right: 5px;
  transform: rotate(180deg);
}

.crd-rank {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.crd-corner-suit {
  width: 10px;
  height: 10px;
}

.crd-center {
  position: absolute;
  inset: 6px 17px;
}

.crd-center-pips .crd-pip {
  position: absolute;
  transform: translate(-50%, -50%);
}

.crd-center-pips .crd-pip-flipped {
  transform: translate(-50%, -50%) rotate(180deg);
}

.crd-pip-suit {
  width: 13px;
  height: 13px;
}

.crd-center-ace,
.crd-center-court {
  display: grid;
  place-items: center;
}

.crd-ace-suit {
  width: 36px;
  height: 36px;
}

.crd-center-court {
  gap: 0;
}

.crd-court-letter {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.crd-court-suit {
  width: 15px;
  height: 15px;
  margin-top: 3px;
}

.crd-back {
  transform: rotateY(180deg);
  background: linear-gradient(150deg, #1e3a63, #122442);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 5px;
}

.crd-back-art {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  border: 1px solid rgba(245, 196, 81, 0.35);
  background-image:
    repeating-linear-gradient(45deg, rgba(245, 196, 81, 0.18) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(-45deg, rgba(245, 196, 81, 0.18) 0 2px, transparent 2px 6px),
    radial-gradient(circle at 50% 50%, rgba(245, 196, 81, 0.3) 0 8px, transparent 9px);
}

/* ---------------- Loading / empty ---------------- */

.loader {
  flex: 1;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
  gap: 10px;
}

.spinner {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--gold);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-height: 680px) {
  .crd-wrap {
    width: 63px;
    height: 88px;
  }
  .hand {
    min-height: 88px;
  }
  .chip {
    max-height: 54px;
  }
  .table {
    min-height: 280px;
  }
}

/* ---------------- Mines ---------------- */

.mines-stats {
  display: flex;
  gap: 8px;
  margin: 0 14px 12px;
}

.mines-hint {
  flex: 1;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  padding: 11px 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 9px 6px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.stat-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-value {
  font-size: 16px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.stat-value.gold {
  color: var(--gold);
}

.mines-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 0 14px;
}

.cell {
  aspect-ratio: 1;
  padding: 0;
  border: none;
  background: none;
  perspective: 620px;
  transition: opacity 0.2s;
}

.cell.dim {
  opacity: 0.3;
}

.cell-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.4, 0.15, 0.2, 1);
}

.cell:not(:disabled):active .cell-inner {
  transform: scale(0.93);
}

.cell-inner.revealed {
  transform: rotateY(180deg);
}

.cell-face {
  position: absolute;
  inset: 0;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 23px;
  line-height: 1;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cell-closed {
  background: linear-gradient(160deg, #26334a, #1a2334);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.cell-open {
  transform: rotateY(180deg);
  background: linear-gradient(160deg, #1f8a5c, #10603d);
  border: 1px solid rgba(62, 207, 142, 0.55);
}

.cell-open.is-mine {
  background: linear-gradient(160deg, #d8474e, #9c2229);
  border-color: rgba(239, 79, 86, 0.6);
}

.mines-outcome {
  display: flex;
  justify-content: center;
  padding: 14px 16px 0;
  min-height: 24px;
}

.mines-outcome:empty {
  padding: 0;
}

/* ---------------- Bandit ---------------- */

.reels {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 18px 14px 6px;
}

.reel {
  flex: 1;
  max-width: 66px;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 30px;
  background: linear-gradient(160deg, #26334a, #1a2334);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.reel.shown {
  background: linear-gradient(160deg, #2f3d58, #202b40);
  border-color: rgba(245, 196, 81, 0.35);
  animation: reelDrop 0.32s cubic-bezier(0.2, 1.2, 0.4, 1);
}

@keyframes reelDrop {
  from {
    transform: translateY(-16px) scale(0.86);
    opacity: 0.4;
  }
}

.paytable {
  margin: 8px 14px 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.paytable-head {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 8px;
}

.paytable-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
}

.pt-symbol {
  font-size: 18px;
}

.pt-values {
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.78);
}
