.stage-console[data-wager-custom] {
  translate: var(--wager-x, 0%) var(--wager-y, 0px);
}

.stage-console[data-wager-custom] .wager-panel {
  zoom: var(--wager-scale, 1);
}

.stage-console[data-wager-custom] .wager-panel[data-wager-font] :is(label, input, button) {
  font-family: var(--wager-font);
}

.stage-console[data-wager-custom] .wager-panel[data-wager-weight] :is(label, input, button, #bet-play, #phone-bet-play) {
  font-weight: var(--wager-weight);
}

.stage-console[data-wager-custom] .bet-control {
  background-color: var(--wager-panel, var(--game-control-bg, #09192b));
  color: var(--wager-ink, var(--text-primary, #f7fbff));
}

.stage-console[data-wager-custom] .bet-presets button {
  background-color: var(--wager-preset, var(--surface-2, #183451));
  color: var(--wager-ink, var(--text-primary, #f7fbff));
}

.stage-console[data-wager-custom] .bet-presets button:hover:not(:disabled) {
  background-color: color-mix(in srgb, var(--wager-preset, var(--surface-hover, #234a70)) 85%, white);
}

.stage-console[data-wager-custom] .bet-control > label {
  color: var(--wager-ink, var(--text-secondary, #b7c9d9));
  max-width: min(20vw, 12ch);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stage-console[data-wager-custom] .bet-control > input {
  color: var(--wager-ink, var(--text-primary, #f7fbff));
  font-variant-numeric: var(--wager-numeric, tabular-nums);
}

.stage-console[data-wager-custom] :is(#bet-play, #phone-bet-play, [data-wager-submit]) {
  background-color: var(--wager-action, var(--game-action-bg, #57a5ff));
  color: var(--wager-actionink, var(--game-action-text, #071426));
  border-color: var(--wager-border, var(--wager-action, var(--game-action-bg, #57a5ff)));
  min-width: 0;
}

.stage-console[data-wager-custom] :is(#bet-play, #phone-bet-play, [data-wager-submit]):hover:not(:disabled) {
  background-color: color-mix(in srgb, var(--wager-action, var(--game-action-bg, #57a5ff)) 82%, white);
}

.stage-console[data-wager-custom] :is(.bet-control, .bet-presets button) {
  border-color: var(--wager-border, var(--game-control-border, #335a78));
}

.stage-console[data-wager-custom][data-wager-outline] :is(.bet-control, .bet-presets button, #bet-play, #phone-bet-play, [data-wager-submit]) {
  border-style: solid;
  border-width: var(--wager-outline);
}

.stage-console[data-wager-custom][data-wager-radius] :is(.bet-control, .bet-presets button, #bet-play, #phone-bet-play, [data-wager-submit]) {
  border-radius: var(--wager-radius);
}

.stage-console[data-wager-custom] .bet-presets button {
  max-width: 10ch;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stage-console[data-wager-custom] [data-wager-submit] > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stage-console[data-wager-action-width] .wager-panel > :is([data-wager-submit], .wager-actions, #bet-play, #phone-bet-play) {
  width: min(100%, var(--wager-action-width));
  box-sizing: border-box;
}

.stage-console[data-wager-action-width] .wager-panel > :is(#bet-play, .wager-actions, [data-wager-submit]) {
  flex-shrink: 1;
}

.phone-preview .stage-console[data-wager-action-width] .wager-panel > :is(#phone-bet-play, .wager-actions, [data-wager-submit]) {
  flex-shrink: 0;
}

.stage-console[data-wager-amount-width] .bet-control > input[type="number"] {
  flex: 0 1 var(--wager-amount-width);
  width: var(--wager-amount-width);
  max-width: var(--wager-amount-width);
  min-width: 0;
}

.stage-console [data-wager-arrow-hidden] {
  justify-content: center;
  text-align: center;
  gap: 0;
}

.stage-console [data-wager-arrow-hidden] > svg {
  display: none;
}

.stage-console [data-wager-arrow-hidden].round-active::after {
  position: absolute;
  right: 8px;
}

.stage-console .wager-actions {
  display: grid;
  flex: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 128px;
  gap: 8px;
}

.stage-console .wager-choice {
  min-width: 0;
  height: 50px;
  padding: 0;
  border-radius: 25px;
  border-color: var(--game-action-bg, #57a5ff);
  color: var(--game-action-text, #071426);
  background-color: var(--game-action-bg, #57a5ff);
  font-size: 16px;
  font-weight: 650;
}

.stage-console .wager-choice:hover:not(:disabled) {
  background-color: color-mix(in srgb, var(--game-action-bg, #57a5ff) 82%, white);
}

.stage-console .wager-choice:disabled {
  opacity: .65;
}

.phone-preview .stage-console .wager-actions {
  width: 100%;
}

.phone-preview .stage-console .wager-choice {
  height: 52px;
  border-radius: 18px;
}

.stage-console .wager-label-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
