/* Modal Mais Apostas — estilo página de jogo (tema escuro Betano) */
.mais-apostas-backdrop {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(0, 0, 0, 0.62);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

@media (min-width: 768px) {
  .mais-apostas-backdrop {
    align-items: center;
    padding: 20px;
  }
}

.mais-apostas-dialog {
  /* vars do tema dark do layout */
  --bg: #090915;
  --surface: #212536;
  --surface-2: #2d374d;
  --surface-3: #3b4863;
  --surface-4: #475674;
  --chosen: #3b4863;
  --hover: #282d40;
  --line: #2d374d;
  --odd-border: transparent;
  --text: #f5f7fa;
  --muted: #9aa7c4;
  --price: #a3d369;
  --live: #ff5a36;
  --shadow: #00000073;
  color-scheme: dark;

  background: var(--bg);
  color: var(--text);
  width: 100%;
  max-width: 760px;
  max-height: 94vh;
  overflow: auto;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 20px 50px var(--shadow);
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .mais-apostas-dialog {
    border-radius: 14px;
  }
}

.mais-apostas-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px 0;
  position: sticky;
  top: 0;
  z-index: 3;
  background: linear-gradient(180deg, var(--bg) 70%, transparent);
}

.mais-apostas-league {
  margin: 0;
  font: 12px/1.3 system-ui, sans-serif;
  color: var(--muted);
}

.mais-apostas-close {
  border: 0;
  background: var(--surface-2);
  color: var(--text);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  flex: none;
  display: grid;
  place-items: center;
}

.mais-apostas-dialog .scoreboard {
  margin: 8px 14px 10px;
}

.mais-apostas-dialog .market-bar {
  margin: 0 14px 8px;
  position: sticky;
  top: 44px;
  z-index: 2;
}

.mais-apostas-dialog .ca-banner {
  margin: 0 14px 10px;
}

.mais-apostas-body {
  padding: 0 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mais-apostas-dialog .market {
  background: var(--surface);
  border-radius: 10px;
  overflow: hidden;
}

.mais-apostas-dialog .market-head {
  color: var(--text);
}

.mais-apostas-empty {
  padding: 28px 12px;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border-radius: 10px;
}

.mais-apostas-dialog .odd-selected,
.mais-apostas-dialog .odd-selected:hover:not([aria-disabled="true"]) {
  background: var(--brand, #2563eb);
  border-color: var(--brand, #2563eb);
}

.mais-apostas-dialog .odd-selected .odd-label-text,
.mais-apostas-dialog .odd-selected .odd-price,
.mais-apostas-dialog .odd-selected .odd-roll-new {
  color: #fff !important;
}
