/* v0.9.48 — only the explicitly requested corrections. */

/* Password eye: identical geometry and appearance in every pointer state. */
.password-input-wrap .password-visibility-toggle,
.password-input-wrap .password-visibility-toggle:hover,
.password-input-wrap .password-visibility-toggle:focus,
.password-input-wrap .password-visibility-toggle:focus-visible,
.password-input-wrap .password-visibility-toggle:active {
  position: absolute !important;
  top: 50% !important;
  right: 8px !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 8px !important;
  transform: translateY(-50%) !important;
  scale: 1 !important;
  background: #17263a !important;
  border: 0 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  animation: none !important;
  transition: none !important;
}
.password-input-wrap .password-visibility-toggle svg,
.password-input-wrap .password-visibility-toggle:hover svg,
.password-input-wrap .password-visibility-toggle:active svg {
  width: 21px !important;
  height: 21px !important;
  transform: none !important;
  animation: none !important;
  filter: none !important;
}

/* Multiplayer Blackjack ready countdown: centered on the felt/table. */
body.multiplayer-live #multiplayerApp .multi-felt { position: relative !important; }
body.multiplayer-live #multiplayerApp .multi-ready-countdown {
  position: absolute !important;
  z-index: 145 !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  pointer-events: none !important;
}

/* Poker: every action belongs to one stable lower action bar. */
#pokerApp #pokerActionControls.poker-action-controls-v048:not(.hidden) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  gap: 8px !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  padding: 8px !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}
#pokerApp .poker-action-head-v048 {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px !important;
  align-items: center !important;
  min-width: 0 !important;
}
#pokerApp .poker-action-head-v048 .poker-call-alert:not(.hidden) {
  grid-column: 1 / -1 !important;
}
#pokerApp .poker-action-bar-v048 {
  display: grid !important;
  grid-template-columns: minmax(84px, .8fr) minmax(94px, 1fr) minmax(250px, 2.2fr) minmax(90px, .9fr) !important;
  gap: 8px !important;
  align-items: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
}
#pokerApp .poker-action-bar-v048 > .action-btn,
#pokerApp .poker-action-bar-v048 .poker-raise-control-v046 {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 76px !important;
  min-height: 76px !important;
  max-height: 76px !important;
  margin: 0 !important;
  transform: none !important;
}
#pokerApp .poker-action-bar-v048 .poker-raise-control-v046 {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: 18px 18px 34px !important;
  gap: 2px !important;
  padding: 2px 6px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
#pokerApp .poker-action-bar-v048 .poker-raise-control-v046 > label,
#pokerApp .poker-action-bar-v048 .poker-raise-range-v046,
#pokerApp .poker-action-bar-v048 .poker-raise-buttons-v046 {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}
#pokerApp .poker-action-bar-v048 .poker-raise-buttons-v046 {
  display: grid !important;
  grid-template-columns: 36px minmax(96px, 1fr) 36px !important;
  gap: 5px !important;
  align-items: stretch !important;
}
#pokerApp .poker-action-bar-v048 .poker-raise-buttons-v046 button {
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  margin: 0 !important;
  padding: 0 5px !important;
  transform: none !important;
}

/* Multiplayer roulette uses the exact single-player table. Foreign stakes are gray. */
#rouletteApp .roulette-other-bet-chip {
  position: absolute !important;
  z-index: 14 !important;
  right: 3px !important;
  bottom: 3px !important;
  display: grid !important;
  place-items: center !important;
  min-width: 25px !important;
  height: 25px !important;
  padding: 0 5px !important;
  border: 2px solid #1a1f27 !important;
  border-radius: 999px !important;
  background: radial-gradient(circle at 35% 28%, #f0f1f3 0 14%, #a7abb2 15% 52%, #696e76 53% 100%) !important;
  color: #11161d !important;
  box-shadow: 1px 2px 0 rgba(0,0,0,.55) !important;
  font-size: .56rem !important;
  font-weight: 1000 !important;
  line-height: 1 !important;
  pointer-events: none !important;
  filter: grayscale(1) !important;
}
#rouletteApp .roulette-cell { position: relative !important; }

/* Poker tournament dialog. */
.poker-tournament-overlay {
  position: fixed;
  inset: 0;
  z-index: 4400;
  display: grid;
  place-items: center;
  padding: 20px;
}
.poker-tournament-overlay.hidden { display: none !important; }
.poker-tournament-panel {
  position: relative;
  z-index: 2;
  width: min(520px, calc(100vw - 32px));
  padding: 24px;
}
.poker-tournament-actions { display: grid; gap: 12px; margin-top: 18px; }
.poker-tournament-actions form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.poker-tournament-actions input { width: 100%; min-width: 0; text-transform: uppercase; }
#pokerApp.is-tournament #pokerModeLabel { color: #8bd7ff; }
#pokerApp.is-tournament .poker-table-brand small::after { content: " · TOURNAMENT · 1,000 START"; }
#pokerApp .poker-tournament-eliminated { color: #ff9aa5 !important; }

@media (max-width: 760px) {
  #pokerApp .poker-action-bar-v048 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  #pokerApp .poker-action-bar-v048 .poker-raise-control-v046 {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
  }
  #pokerApp .poker-action-bar-v048 .poker-allin { grid-column: 2 !important; grid-row: 1 !important; }
  #pokerApp .poker-action-bar-v048 #pokerCheckCallButton { grid-column: 1 !important; grid-row: 3 !important; }
  #pokerApp .poker-action-bar-v048 .poker-fold { grid-column: 1 !important; grid-row: 1 !important; }
  #pokerApp .poker-action-bar-v048 > .action-btn,
  #pokerApp .poker-action-bar-v048 .poker-raise-control-v046 { height: 68px !important; min-height: 68px !important; max-height: 68px !important; }
  .poker-tournament-actions form { grid-template-columns: 1fr; }
}
