/* Neon Poker v0.93.8.3 — game statistics and ten-chip Roulette/Slots palettes. */
.home-game-level-group.slots-level-group {
  min-width: 0;
}

#slotsApp .slots-controls {
  align-items: center;
}

#slotsApp .slots-chip-palette {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 112px !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(46px, 1fr)) !important;
  grid-template-rows: repeat(2, 50px) !important;
  gap: 7px !important;
  align-items: center !important;
  align-content: center !important;
  justify-items: center !important;
  padding: 4px !important;
  overflow: visible !important;
}

#slotsApp .slots-chip-palette .chip {
  position: relative !important;
  inset: auto !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  translate: none !important;
  font-size: 10px !important;
  line-height: 1 !important;
}

#slotsApp .slots-chip-palette .slot-chip:nth-child(10n + 1) { background: linear-gradient(145deg, #17845e, #2dbd87) !important; }
#slotsApp .slots-chip-palette .slot-chip:nth-child(10n + 2) { background: linear-gradient(145deg, #155b9b, #2d91e2) !important; }
#slotsApp .slots-chip-palette .slot-chip:nth-child(10n + 3) { background: linear-gradient(145deg, #873140, #d35a70) !important; }
#slotsApp .slots-chip-palette .slot-chip:nth-child(10n + 4) { background: linear-gradient(145deg, #573290, #9360d8) !important; }
#slotsApp .slots-chip-palette .slot-chip:nth-child(10n + 5) { background: linear-gradient(145deg, #222b35, #465462) !important; }
#slotsApp .slots-chip-palette .slot-chip:nth-child(10n + 6) { background: linear-gradient(145deg, #8b5b14, #dda52c) !important; }
#slotsApp .slots-chip-palette .slot-chip:nth-child(10n + 7) { background: linear-gradient(145deg, #2a4165, #3d72ba) !important; }
#slotsApp .slots-chip-palette .slot-chip:nth-child(10n + 8) { background: linear-gradient(145deg, #5b225f, #a342ac) !important; }
#slotsApp .slots-chip-palette .slot-chip:nth-child(10n + 9) { background: linear-gradient(145deg, #111, #454545) !important; }
#slotsApp .slots-chip-palette .slot-chip:nth-child(10n + 10) { background: linear-gradient(145deg, #064f4b, #12b2a4) !important; }

#slotsApp .slots-chip-palette .chip.selected {
  outline: 2px solid var(--gold-2) !important;
  outline-offset: 2px !important;
  filter: brightness(1.18) !important;
}

@media (min-width: 1181px) {
  #slotsApp .slots-controls {
    grid-template-columns: minmax(135px, .8fr) 105px minmax(490px, 2.4fr) minmax(270px, 1.1fr) !important;
  }
}

@media (max-width: 760px) {
  #slotsApp .slots-chip-palette {
    grid-template-columns: repeat(5, minmax(40px, 1fr)) !important;
    grid-template-rows: repeat(2, 42px) !important;
    min-height: 96px !important;
    gap: 5px !important;
  }
  #slotsApp .slots-chip-palette .chip {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    border-width: 3px !important;
    font-size: 9px !important;
  }
}


/* Exactly ten Roulette chips in one horizontal row. */
#rouletteApp .roulette-chip-rack .roulette-chips {
  display: grid !important;
  grid-template-columns: repeat(10, minmax(42px, 1fr)) !important;
  grid-auto-flow: column !important;
  gap: 6px !important;
  width: 100% !important;
  min-width: 0 !important;
  align-items: center !important;
  justify-items: center !important;
  overflow: visible !important;
}
#rouletteApp .roulette-chip-rack .roulette-chips .chip {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  margin: 0 !important;
}
@media (max-width: 980px) {
  #rouletteApp .roulette-chip-rack .roulette-chips {
    grid-template-columns: repeat(10, minmax(34px, 1fr)) !important;
    gap: 3px !important;
  }
  #rouletteApp .roulette-chip-rack .roulette-chips .chip {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    font-size: 9px !important;
  }
}

/* ---------- Roulette and Blackjack statistics ---------- */
.blackjack-extended-stats,
.roulette-summary-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}
.blackjack-extended-stats > div,
.roulette-summary-stats > div {
  min-width: 0;
}
.blackjack-extended-stats strong,
.roulette-summary-stats strong {
  overflow-wrap: anywhere;
}
.blackjack-statistics-panel .blackjack-history-open {
  margin-top: 10px;
}
.multiplayer-blackjack-statistics {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.roulette-frequency-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0 8px;
}
.roulette-frequency-head span {
  font-weight: 800;
}
.roulette-frequency-head small {
  opacity: .68;
}
.roulette-frequency-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}
.roulette-frequency-cell {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 4px 2px;
  border-radius: 9px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px rgba(255,255,255,.08);
}
.roulette-frequency-cell.red { background: rgba(169,54,72,.82); }
.roulette-frequency-cell.black { background: rgba(17,24,32,.9); }
.roulette-frequency-cell.green { background: rgba(22,132,90,.88); }
.roulette-frequency-cell.hottest {
  outline: 2px solid var(--gold-2);
  outline-offset: 1px;
}
.roulette-frequency-cell strong {
  font-size: .8rem;
}
.roulette-frequency-cell span {
  font-size: .68rem;
  opacity: .82;
}
.roulette-frequency-list.empty .roulette-frequency-cell span {
  opacity: .42;
}

.blackjack-history-overlay {
  position: fixed;
  inset: 0;
  z-index: 16000;
}
.blackjack-history-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(760px, 94vw);
  height: 100%;
  padding: 24px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 14px;
  border-radius: 24px 0 0 24px;
  box-shadow: -20px 0 70px rgba(0,0,0,.46);
}
.blackjack-round-history {
  min-height: 0;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 12px;
  padding-right: 4px;
}
.blackjack-history-entry {
  border: 1px solid rgba(255,255,255,.12);
  border-left: 4px solid rgba(255,255,255,.28);
  border-radius: 16px;
  padding: 14px;
  background: rgba(4,12,17,.72);
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}
.blackjack-history-entry.win { border-left-color: var(--lime); }
.blackjack-history-entry.lose { border-left-color: #ff5b68; }
.blackjack-history-entry.push { border-left-color: var(--gold-2); }
.blackjack-history-entry > header,
.blackjack-history-dealer,
.blackjack-history-hand > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.blackjack-history-entry > header > div {
  display: grid;
  gap: 2px;
}
.blackjack-history-entry > header span,
.blackjack-history-entry footer,
.blackjack-history-hand small {
  font-size: .74rem;
  opacity: .68;
}
.blackjack-history-entry > header b {
  font-size: 1rem;
}
.blackjack-history-dealer {
  margin-top: 12px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.055);
}
.blackjack-history-hands {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.blackjack-history-hand {
  padding: 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.035);
}
.blackjack-history-hand > div:first-child span {
  font-size: .82rem;
  text-align: right;
}
.blackjack-history-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 7px 0;
}
.blackjack-history-card {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 40px;
  padding: 0 5px;
  border-radius: 7px;
  background: #f7f3e8;
  color: #15181b;
  border: 1px solid rgba(0,0,0,.28);
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(0,0,0,.24);
}
.blackjack-history-card.red { color: #b9263d; }
.blackjack-history-empty-cards { opacity: .55; }
.blackjack-history-entry footer {
  margin-top: 8px;
  text-align: right;
}
body.blackjack-history-open {
  overflow: hidden;
}
@media (max-width: 700px) {
  .blackjack-history-drawer {
    width: 100%;
    padding: 16px;
    border-radius: 0;
  }
  .blackjack-history-dealer,
  .blackjack-history-entry > header {
    align-items: flex-start;
  }
}

/* v0.93.8.3 — larger Slot chip labels and contextual game-stat drawers. */
#slotsApp .slots-chip-palette .chip {
  font-size: 13px !important;
  font-weight: 950 !important;
  letter-spacing: -.025em !important;
}

.topbar-v046 #gameStatisticsButton,
.topbar-v046 #blackjackHistoryHeaderButton {
  order: 8 !important;
  min-height: 38px !important;
  padding-inline: 13px !important;
  white-space: nowrap !important;
}
.topbar-v046 .header-game-tool.hidden {
  display: none !important;
}

.game-stats-overlay {
  z-index: 15950 !important;
}
.game-stats-drawer {
  width: min(590px, 100%) !important;
  overflow: hidden !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  gap: 16px !important;
  animation: neonGameStatsIn09383 .3s cubic-bezier(.2,.8,.2,1) both !important;
}
.game-stats-overlay.is-closing .game-stats-drawer {
  animation: neonGameStatsOut09383 .3s cubic-bezier(.4,0,.8,.22) both !important;
  pointer-events: none !important;
}
.game-stats-overlay .social-backdrop {
  transition: opacity .3s ease !important;
}
.game-stats-overlay.is-closing .social-backdrop {
  opacity: 0 !important;
}
.game-stats-scroll {
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}
.game-stats-pane {
  display: grid;
  align-content: start;
  gap: 14px;
}
.game-stats-pane.hidden {
  display: none !important;
}
.game-stats-pane .panel-heading h3 {
  margin: 0;
  font-size: 1.1rem;
}
.game-stats-pane .stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}
.game-stats-pane .stats-grid > div {
  min-width: 0;
  padding: 12px !important;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 13px;
  background: rgba(255,255,255,.045);
}
.game-stats-pane .stats-grid > div > span {
  display: block;
  margin-bottom: 5px;
}
.game-stats-pane .stats-grid > div > strong {
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}
.game-stats-pane .stats-grid .game-stats-wide {
  grid-column: 1 / -1;
}
body.game-stats-open {
  overflow: hidden;
}
@keyframes neonGameStatsIn09383 {
  from { transform: translateX(105%); }
  to { transform: translateX(0); }
}
@keyframes neonGameStatsOut09383 {
  from { transform: translateX(0); }
  to { transform: translateX(105%); }
}

@media (max-width: 760px) {
  #slotsApp .slots-chip-palette .chip {
    font-size: 11px !important;
  }
  .game-stats-drawer {
    width: 100% !important;
    padding: 18px !important;
    border-radius: 0 !important;
  }
}
