.tx-quick-bet-row {
  display: grid;
  grid-template-columns: 34px repeat(6, minmax(0, 1fr));
  grid-template-rows: 36px;
  align-items: center;
  justify-items: center;
  gap: 0;
  min-height: 44px;
  width: 100%;
  padding: 4px 6px;
  box-sizing: border-box;
  border-top: 1px solid rgba(122, 151, 184, .18);
  background: rgba(247, 250, 255, .96);
}
.tx-quick-bet-row button { font: inherit; -webkit-tap-highlight-color: transparent; }
.tx-quick-bet-row button:disabled { cursor: not-allowed; opacity: .56; }
.tx-game-keyboard > .tx-quick-bet-row {
  flex: 0 0 auto;
  width: 100%;
  border-top: 0;
  border-bottom: 1px solid rgba(122, 151, 184, .18);
}
.tx-quick-bet-edit,
.tx-quick-bet-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  transition: transform .12s ease, filter .12s ease;
}
.tx-quick-bet-edit:active,
.tx-quick-bet-chip:active { transform: scale(.94); }
.tx-quick-bet-edit:focus-visible,
.tx-quick-bet-chip:focus-visible { outline: 2px solid #1677ff; outline-offset: 2px; }
.tx-quick-bet-edit {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  color: #6f86a3;
  background: #edf3fb;
  box-shadow: inset 0 -2px 0 rgba(122, 143, 169, .22), inset 0 0 0 1px rgba(112, 139, 171, .08);
}
.tx-quick-bet-row .tx-quick-bet-chip,
.tx-game-keyboard .tx-quick-bet-row .tx-quick-bet-chip {
  width: 34px;
  height: 34px;
  border: 4px solid transparent;
  border-radius: 50%;
  color: #1687d4;
  background:
    radial-gradient(circle at 42% 36%, #fff 0 47%, #e8f7ff 49% 63%, #fff 65% 100%) padding-box,
    repeating-conic-gradient(from -11.25deg, #168fd2 0 22.5deg, #fff 22.5deg 45deg) border-box;
  box-shadow: inset 0 0 0 2px #fff, 0 2px 3px rgba(30, 113, 167, .22);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.tx-quick-bet-chip:hover { filter: brightness(1.04); }
.tx-quick-bet-editor,
.tx-quick-bet-editor.van-overlay {
  position: fixed;
  z-index: 10020;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-sizing: border-box;
  background: rgba(21, 31, 46, .48);
}
.tx-quick-bet-dialog {
  width: min(420px, 100%);
  padding: 18px;
  box-sizing: border-box;
  border-radius: 16px;
  color: #1f2937;
  background: #fff;
  box-shadow: 0 18px 50px rgba(20, 39, 64, .24);
}
.tx-quick-bet-dialog__header { display: flex; align-items: center; justify-content: space-between; }
.tx-quick-bet-dialog__header h3 { margin: 0; font-size: 18px; }
.tx-quick-bet-dialog__close {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #68778a;
  background: #f1f5f9;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.tx-quick-bet-dialog__hint { margin: 8px 0 16px; color: #7a8798; font-size: 13px; }
.tx-quick-bet-dialog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.tx-quick-bet-dialog__field { display: grid; gap: 6px; min-width: 0; color: #526173; font-size: 12px; }
.tx-quick-bet-dialog__field span { white-space: nowrap; }
.tx-quick-bet-dialog__field input {
  width: 100%;
  height: 42px;
  min-width: 0;
  padding: 0 8px;
  box-sizing: border-box;
  border: 1px solid #d6dfeb;
  border-radius: 9px;
  outline: 0;
  color: #172033;
  background: #fff;
  font: inherit;
  font-size: 16px;
}
.tx-quick-bet-dialog__field input:focus { border-color: #1687d4; box-shadow: 0 0 0 3px rgba(22, 135, 212, .12); }
.tx-quick-bet-dialog__error { min-height: 18px; margin: 8px 0 0; color: #e5484d; font-size: 12px; }
.tx-quick-bet-dialog__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.tx-quick-bet-dialog__actions button { min-width: 72px; height: 38px; padding: 0 13px; border-radius: 8px; cursor: pointer; font: inherit; }
.tx-quick-bet-dialog__secondary { border: 1px solid #d6dfeb; color: #526173; background: #fff; }
.tx-quick-bet-dialog__primary { border: 1px solid #1687d4; color: #fff; background: #1687d4; }
.tx-room-bill-card .tx-room-own-line,
.tx-room-bill-card .tx-room-own-line .tx-room-bill-name,
.tx-room-bill-card .tx-room-own-line .tx-room-bill-value {
  color: #111 !important;
  font-weight: 700 !important;
}
@media (max-width: 360px) {
  .tx-quick-bet-row { grid-template-columns: 32px repeat(6, minmax(0, 1fr)); padding-inline: 3px; }
  .tx-quick-bet-row .tx-quick-bet-chip,
  .tx-game-keyboard .tx-quick-bet-row .tx-quick-bet-chip { width: 32px; height: 32px; border-width: 4px; font-size: 10px; }
  .tx-quick-bet-edit { width: 28px; height: 28px; }
  .tx-quick-bet-dialog { padding: 16px 12px; }
  .tx-quick-bet-dialog__grid { gap: 5px; }
  .tx-quick-bet-dialog__field { font-size: 11px; }
  .tx-quick-bet-dialog__field input { padding-inline: 6px; font-size: 15px; }
}
@media (prefers-color-scheme: dark) {
  .nightMode .tx-quick-bet-row,
  .tx-quick-bet-row.nightMode { background: #202a37; border-top-color: rgba(255,255,255,.08); }
}
