/* ==========================================================================
   BET-PRO - EXPERIÊNCIA DE DESIGN INSPIRADA NA BETANO & CASAS DE ELITE
   Padrão: Mobile-First, Ergonomia de Odds, Navegação por Esportes & Bet Slip Pro
   ========================================================================== */

:root {
  --bpro-bg: #0b0f19;
  --bpro-surface: #121826;
  --bpro-surface-hover: #172033;
  --bpro-border: rgba(255, 255, 255, 0.08);
  --bpro-border-active: #00e599;
  
  --bpro-odd-bg: #1a2236;
  --bpro-odd-hover: #222d47;
  --bpro-odd-selected: #00e599;
  --bpro-odd-text-selected: #032014;
  
  --bpro-accent: #00e599;
  --bpro-accent-glow: rgba(0, 229, 153, 0.4);
  --bpro-live-red: #ef4444;
  --bpro-live-glow: rgba(239, 68, 68, 0.35);
  
  --bpro-gold: #f59e0b;
  --bpro-text-main: #f8fafc;
  --bpro-text-muted: #94a3b8;
  --bpro-text-dim: #64748b;
  
  --bpro-radius-sm: 6px;
  --bpro-radius-md: 10px;
  --bpro-radius-lg: 14px;
}

/* ================= 1. BARRA SUPERIOR DE MODALIDADES ESPORTIVAS ================= */
.sports-category-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.65rem 0.25rem 0.75rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 0.5rem;
}
.sports-category-bar::-webkit-scrollbar {
  display: none;
}

.sport-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  background: var(--bpro-surface);
  border: 1px solid var(--bpro-border);
  border-radius: 20px;
  color: var(--bpro-text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}
.sport-cat-chip:hover {
  background: var(--bpro-surface-hover);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}
.sport-cat-chip.active {
  background: linear-gradient(135deg, rgba(0, 229, 153, 0.15), rgba(0, 229, 153, 0.05));
  border-color: var(--bpro-accent);
  color: #fff;
  box-shadow: 0 0 14px var(--bpro-accent-glow);
}
.sport-cat-chip.chip-live-badge {
  border-color: rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}
.sport-cat-chip.chip-live-badge.active {
  background: rgba(239, 68, 68, 0.2);
  border-color: var(--bpro-live-red);
  color: #fff;
  box-shadow: 0 0 14px var(--bpro-live-glow);
}

.sport-icon-circle {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sport-count-pill {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--bpro-text-muted);
}
.sport-cat-chip.active .sport-count-pill {
  background: var(--bpro-accent);
  color: #000;
}

/* ================= 2. CARDS DE PARTIDAS ESTILO BETANO ================= */
.betano-match-card {
  background: var(--bpro-surface);
  border: 1px solid var(--bpro-border);
  border-radius: var(--bpro-radius-lg);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  position: relative;
}
.betano-match-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.betano-match-card.is-live {
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.15);
}

/* Header do Card */
.bmc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.bmc-league-box {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--bpro-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bmc-time-badge {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--bpro-text-dim);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}
.bmc-time-badge.live-indicator {
  color: #f87171;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 1px 7px;
  border-radius: 12px;
}
.bmc-time-badge.finished-indicator {
  color: #e2e8f0;
  background: rgba(100, 116, 139, 0.25);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 2px 8px;
  border-radius: 8px;
  letter-spacing: 0.02em;
  box-shadow: 0 0 10px rgba(148, 163, 184, 0.15);
}
.betano-match-card.is-collapsing {
  opacity: 0 !important;
  transform: scale(0.96) translateY(-8px) !important;
  max-height: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden !important;
  border-width: 0 !important;
  transition: opacity 0.75s ease, transform 0.75s ease, max-height 0.75s cubic-bezier(0.4, 0, 0.2, 1), margin 0.75s ease, padding 0.75s ease, border-width 0.75s ease !important;
}
.bmc-more-markets-link {
  font-size: 0.74rem;
  font-weight: 800;
  color: #38bdf8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
  transition: color 150ms ease;
}
.bmc-more-markets-link:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

/* Corpo do Card: Times alinhados verticalmente (marca registrada Betano) */
.bmc-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .bmc-body {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.bmc-teams-stack {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  cursor: pointer;
}
.bmc-team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}
.bmc-team-info {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  overflow: hidden;
}
.bmc-team-crest {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
  flex-shrink: 0;
}
.bmc-team-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--bpro-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bmc-live-score {
  font-size: 0.95rem;
  font-weight: 900;
  color: #fff;
  font-family: monospace;
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
  min-width: 22px;
  text-align: center;
}

/* Grade de Odds 1X2 */
.bmc-odds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  min-width: 240px;
}
.bmc-odd-btn {
  background: var(--bpro-odd-bg);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--bpro-radius-md);
  padding: 0.45rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  min-height: 48px;
  position: relative;
  overflow: hidden;
}
.bmc-odd-btn:hover {
  background: var(--bpro-odd-hover);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}
.bmc-odd-btn:active {
  transform: scale(0.97);
}
.bmc-odd-btn.selected {
  background: var(--bpro-odd-selected) !important;
  border-color: #00ffaa !important;
  box-shadow: 0 0 16px var(--bpro-accent-glow) !important;
}
.bmc-odd-btn.selected .bmc-odd-label {
  color: var(--bpro-odd-text-selected) !important;
  font-weight: 800;
}
.bmc-odd-btn.selected .bmc-odd-val {
  color: var(--bpro-odd-text-selected) !important;
  font-weight: 900;
}

.bmc-odd-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--bpro-text-dim);
  text-transform: uppercase;
}
.bmc-odd-val {
  font-size: 0.95rem;
  font-weight: 900;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

/* Efeito de Flash na alteração de Odd */
.bmc-odd-btn.flash-up,
.odd-pill.flash-up {
  border-color: #22c55e !important;
  animation: bmcFlashUp 2.8s ease-out forwards;
}
.bmc-odd-btn.flash-down,
.odd-pill.flash-down {
  border-color: #ef4444 !important;
  animation: bmcFlashDown 2.8s ease-out forwards;
}
.bmc-odd-btn.odd-suspended,
.odd-pill.odd-suspended {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
  background: rgba(239, 68, 68, 0.15) !important;
}

@keyframes bmcFlashUp {
  0% { background: rgba(34, 197, 94, 0.4); }
  100% { background: var(--bpro-odd-bg, rgba(255,255,255,0.05)); }
}
@keyframes bmcFlashDown {
  0% { background: rgba(239, 68, 68, 0.4); }
  100% { background: var(--bpro-odd-bg, rgba(255,255,255,0.05)); }
}

/* ================= 3. CUPOM DE APOSTAS INTELIGENTE (BET SLIP) ================= */
.betano-slip-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Abas Simples / Múltipla */
.slip-type-tabs {
  display: flex;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--bpro-border);
  border-radius: var(--bpro-radius-md);
  padding: 3px;
  gap: 3px;
}
.slip-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--bpro-text-muted);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.5rem;
  border-radius: var(--bpro-radius-sm);
  cursor: pointer;
  transition: all 160ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.slip-tab-btn:hover {
  color: #fff;
}
.slip-tab-btn.active {
  background: var(--bpro-surface-hover);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Chips de Valores Rápidos (+R$ 5, +R$ 10, +R$ 20...) */
.quick-stake-chips {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.3rem;
  margin-top: 0.4rem;
}
.quick-stake-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bpro-border);
  color: var(--bpro-text-muted);
  border-radius: 6px;
  padding: 0.35rem 0;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  transition: all 140ms ease;
}
.quick-stake-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.quick-stake-chip:active {
  transform: scale(0.95);
}

/* Card de Resumo de Ganhos (Retorno Potencial em Destaque) */
.slip-summary-card {
  background: rgba(0, 229, 153, 0.06);
  border: 1px solid rgba(0, 229, 153, 0.25);
  border-radius: var(--bpro-radius-md);
  padding: 0.75rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.slip-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}
.slip-summary-row.total-return {
  padding-top: 0.35rem;
  border-top: 1px dashed rgba(0, 229, 153, 0.2);
  margin-top: 0.2rem;
}
.slip-return-val {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--bpro-accent);
  font-family: monospace;
}

/* Toggle Auto-Aceitar Odds */
.auto-accept-odds-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  color: var(--bpro-text-muted);
  cursor: pointer;
  user-select: none;
  padding: 0.2rem 0;
}
.auto-accept-odds-wrap input[type="checkbox"] {
  accent-color: var(--bpro-accent);
  cursor: pointer;
  width: 14px;
  height: 14px;
}

/* Botão de Finalizar Aposta Estilo Betano */
.btn-place-bet-betano {
  width: 100%;
  background: linear-gradient(135deg, #00e599, #00b377);
  border: none;
  border-radius: var(--bpro-radius-md);
  padding: 0.85rem 1rem;
  color: #032014;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 18px var(--bpro-accent-glow);
  transition: all 180ms ease;
}
.btn-place-bet-betano:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 229, 153, 0.55);
}
.btn-place-bet-betano:active {
  transform: translateY(0);
}
.btn-place-bet-betano:disabled {
  background: #334155;
  color: #64748b;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* ================= 4. PÁGINA DE DETALHES DO JOGO (BETANO MATCH VIEW) ================= */
.match-detail-page {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-bottom: 2rem;
}

/* Sub-Header com Botão Voltar e Tag da Liga */
.detail-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bpro-border);
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  padding: 0.55rem 0.95rem;
  border-radius: var(--bpro-radius-md);
  transition: all 160ms ease;
  align-self: flex-start;
}
.detail-nav-back:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38bdf8;
  color: #fff;
  transform: translateX(-2px);
}

/* Card Principal do Confronto / Estádio */
.detail-header-card {
  background: radial-gradient(circle at 50% 0%, #1e293b 0%, #0b0f19 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--bpro-radius-lg);
  padding: 1.15rem 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}
.detail-header-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bpro-accent), transparent);
}

.detail-teams-duel {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  margin: 0.85rem 0 0.4rem;
}

.detail-team-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
.detail-team-shield {
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: transform 180ms ease;
}
.detail-team-shield:hover {
  transform: scale(1.06);
}
.detail-team-shield img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.detail-team-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--bpro-text-main);
  line-height: 1.25;
  max-width: 120px;
  word-break: break-word;
}

/* Placar Central ou Horário */
.detail-duel-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.detail-live-score-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 0.35rem 0.85rem;
  border-radius: 10px;
}
.detail-score-digits {
  font-size: 1.55rem;
  font-weight: 900;
  color: #fff;
  font-family: monospace;
  letter-spacing: 2px;
}
.detail-live-minute-badge {
  font-size: 0.72rem;
  font-weight: 900;
  color: #f87171;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.detail-vs-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--bpro-text-muted);
}

/* ================= 5. RADAR DA PARTIDA & ESTATÍSTICAS (BETANO RADAR) ================= */
.betano-radar-widget {
  background: var(--bpro-surface);
  border: 1px solid var(--bpro-border);
  border-radius: var(--bpro-radius-lg);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.radar-top-status {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.5rem;
}
.radar-status-live {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
}
.radar-phase-pill {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #38bdf8;
}
.radar-event-headline {
  font-size: 0.84rem;
  font-weight: 800;
  color: #fff;
}

/* Campo Virtual (Mini-Pitch) */
.radar-pitch-container {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.radar-pitch-field {
  position: relative;
  height: 90px;
  background: linear-gradient(180deg, #0e2a1b 0%, #061c11 100%);
  border: 2px solid rgba(0, 229, 153, 0.3);
  border-radius: 8px;
  display: flex;
  overflow: hidden;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6);
}
.pitch-half {
  flex: 1;
  position: relative;
}
.pitch-center-line {
  width: 2px;
  background: rgba(0, 229, 153, 0.3);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pitch-center-circle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 229, 153, 0.3);
  border-radius: 50%;
  position: absolute;
}
.pitch-penalty-area {
  position: absolute;
  top: 15px;
  bottom: 15px;
  width: 28px;
  border: 1px solid rgba(0, 229, 153, 0.25);
}
.pitch-penalty-area.area-left { left: 0; border-left: none; }
.pitch-penalty-area.area-right { right: 0; border-right: none; }

.pitch-action-indicator {
  position: absolute;
  top: 50%;
  left: 60%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(0, 0, 0, 0.65);
  padding: 3px 8px;
  border-radius: 12px;
  border: 1px solid var(--bpro-accent);
  box-shadow: 0 0 12px var(--bpro-accent-glow);
  font-size: 0.75rem;
  animation: pitchPulse 1.8s infinite ease-in-out;
}
@keyframes pitchPulse {
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.08); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

.pitch-prematch-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 15, 25, 0.65);
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  padding: 0.5rem;
}

.pitch-teams-tag-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--bpro-text-dim);
}
.pitch-team-tag.home { color: var(--bpro-accent); }
.pitch-team-tag.away { color: #38bdf8; }

/* Barras Comparativas de Estatísticas */
.radar-stats-comparison {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.2rem;
}
.r-stat-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.r-stat-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 800;
}
.r-title {
  color: var(--bpro-text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}
.r-val-home { color: var(--bpro-accent); }
.r-val-away { color: #38bdf8; }

.r-stat-bar-track {
  display: flex;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  gap: 2px;
}
.r-stat-bar-fill.home {
  background: var(--bpro-accent);
  transition: width 300ms ease;
}
.r-stat-bar-fill.away {
  background: #38bdf8;
  transition: width 300ms ease;
}

.r-stat-pills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-top: 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.r-pill-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bpro-border);
  border-radius: 6px;
  padding: 0.35rem 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}
.r-pill-icon { font-size: 0.85rem; }
.r-pill-val { font-size: 0.78rem; font-weight: 900; color: #fff; }
.r-pill-txt { font-size: 0.65rem; color: var(--bpro-text-dim); text-transform: uppercase; }

/* ================= 6. ABAS DE MERCADOS & CARDS EXPANSÍVEIS ================= */
.detail-market-tabs {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  position: sticky;
  top: 0;
  z-index: 15;
  background: var(--bpro-bg);
}
.detail-market-tabs::-webkit-scrollbar { display: none; }

.detail-tab-chip {
  white-space: nowrap;
  background: var(--bpro-surface);
  border: 1px solid var(--bpro-border);
  color: var(--bpro-text-muted);
  padding: 0.45rem 0.85rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 160ms ease;
  user-select: none;
}
.detail-tab-chip:hover {
  background: var(--bpro-surface-hover);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}
.detail-tab-chip.active {
  background: var(--bpro-accent);
  color: #032014;
  border-color: var(--bpro-accent);
  box-shadow: 0 0 12px var(--bpro-accent-glow);
  font-weight: 900;
}

/* Cards de Mercado */
.market-section-card {
  background: var(--bpro-surface);
  border: 1px solid var(--bpro-border);
  border-radius: var(--bpro-radius-md);
  padding: 0.85rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}
.market-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  font-weight: 900;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.45rem;
}

/* Linhas de Odds dentro do detalhe do jogo */
.odds-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}
.odds-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
}
.odds-row-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
}

/* Botões Odd-Pill atualizados com padrão Betano */
.odd-pill {
  background: var(--bpro-odd-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--bpro-radius-md);
  padding: 0.55rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 48px;
  position: relative;
  overflow: hidden;
}
.odd-pill:hover {
  background: var(--bpro-odd-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
.odd-pill:active {
  transform: scale(0.97);
}
.odd-pill.selected {
  background: var(--bpro-accent) !important;
  border-color: #00ffaa !important;
  box-shadow: 0 0 16px var(--bpro-accent-glow) !important;
}
.odd-pill.selected .op-label {
  color: #032014 !important;
  font-weight: 800;
}
.odd-pill.selected .op-value {
  color: #032014 !important;
  font-weight: 900;
}

.op-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bpro-text-muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.op-value {
  font-size: 0.95rem;
  font-weight: 900;
  color: #fff;
  font-family: monospace;
}

/* ================= CARD DE JOGO COMPACTO NO CELULAR (2026-10-15) ================= */
/* Times à esquerda, cotações à direita (padrão das casas grandes): ~40% menos altura,
   cabem 5–6 jogos por tela em vez de 3. */
@media (max-width: 767px) {
  #matches-feed { gap: 0.6rem !important; }
  .betano-match-card {
    padding: 0.65rem 0.75rem 0.75rem;
    gap: 0.55rem;
    border-radius: 12px;
    box-shadow: none;
  }
  .bmc-header { padding-bottom: 0.4rem; gap: 0.4rem; }
  .bmc-league-box { font-size: 0.7rem; gap: 0.3rem; }
  .bmc-time-badge { font-size: 0.7rem; }
  .bmc-more-markets-link { font-size: 0.7rem; }

  .bmc-body {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.6rem;
  }
  .bmc-body > .bmc-status-strip { grid-column: 1 / -1; }
  .bmc-teams-stack { gap: 0.4rem; min-width: 0; }
  .bmc-team-row { gap: 0.4rem; }
  .bmc-team-info { gap: 0.45rem; min-width: 0; }
  .bmc-team-crest { width: 20px; height: 20px; }
  .bmc-team-name { font-size: 0.86rem; }

  .bmc-odds-grid {
    min-width: 0;
    grid-template-columns: repeat(3, 56px);
    gap: 0.3rem;
  }
  .bmc-odd-btn {
    min-width: 56px;
    min-height: 46px;
    padding: 0.3rem 0.2rem;
    border-radius: 8px;
  }
  .bmc-odd-label {
    font-size: 0.6rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .bmc-odd-val, .bmc-odd-btn .op-value { font-size: 0.88rem; }

  /* Barra de ligas mais baixa */
  .sports-category-bar { padding: 0.5rem 0.1rem 0.55rem; margin-bottom: 0.25rem; gap: 0.4rem; }
  .sport-cat-chip { padding: 0.42rem 0.75rem; font-size: 0.78rem; }
}

/* ================= MELHORIAS DO APP DO JOGADOR (2026-10-17) ================= */
/* Prioridade celular: dedo acerta o botão, nome do time inteiro, vermelho só para AO VIVO. */

/* 1. Separador por dia na lista de jogos */
.bmc-day-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.2rem 0.1rem;
  font-size: 0.82rem;
  font-weight: 900;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.bmc-day-header small {
  font-size: 0.7rem;
  font-weight: 700;
  color: #8b9ab3;
  text-transform: none;
  letter-spacing: 0;
}
#matches-feed > .bmc-day-header:first-child { padding-top: 0.15rem; }

/* 2. Horário: hoje em verde (não é ao vivo); começa em menos de 1h em âmbar */
.bmc-time-badge { color: #8b9ab3; }
.bmc-time-badge.bmc-today { color: #34d399; }
.bmc-time-badge.bmc-soon {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 1px 7px;
  border-radius: 12px;
}

/* 3. "+ Mercados" vira um botão de verdade (antes tinha 16px de altura) */
.bmc-more-markets-link {
  min-height: 30px;
  padding: 0 0.6rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  white-space: nowrap;
}
.bmc-more-markets-link:hover { text-decoration: none; }
.bmc-more-markets-link:active { background: rgba(56, 189, 248, 0.22); }

/* 4. Nome do time inteiro: quebra em até 2 linhas em vez de cortar com "..." */
.bmc-team-name {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.15;
  word-break: break-word;
}

/* 5. Busca: botão de limpar */
.search-clear-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
  font-size: 0.8rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
#quick-search-input { padding-right: 2.6rem; }
#quick-search-input::-webkit-search-cancel-button { display: none; -webkit-appearance: none; }

/* 6. Cupom: Limpar e Fechar com área de toque de dedo; valor escolhido aceso */
.btn-sheet-clear {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 999px;
  min-height: 34px;
  padding: 0 0.75rem;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.slip-sheet .sheet-header h2 { white-space: nowrap; font-size: 1.05rem; }
.btn-close-sheet-lg {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem !important;
}
.quick-chips-row { gap: 0.4rem; }
.qc-btn {
  min-height: 40px;
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: 10px;
}
.qc-btn.qc-active {
  background: rgba(0, 229, 153, 0.16);
  border-color: #00e599;
  color: #fff;
}

/* 7. Cupom: nome do jogo inteiro (até 2 linhas) */
.ds-item-match {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.25;
}

/* 8. Página do jogo: opção da cotação sem corte ("1 (Erzurumspor FK)") */
#match-detail-content .op-label {
  white-space: normal;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 1.2;
  overflow: hidden;
}

/* 9. Barra de campeonatos fica presa no topo ao rolar (abaixo do cabeçalho). Só no celular:
      no PC os campeonatos já ficam na barra lateral fixa. */
@media (max-width: 767px) {
  .sports-category-bar.leagues-scroll-bar {
    position: sticky;
    top: var(--bb-header-h, 0px);
    z-index: 40;
    background: #0b1120;
    margin-left: -0.85rem;
    margin-right: -0.85rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    box-shadow: 0 6px 12px -8px rgba(0, 0, 0, 0.7);
  }
}

/* 10. PC: cupom lateral não espreme em notebook de 1024–1279px */
.slip-header-desktop { gap: 0.5rem; }
.slip-header-desktop > div { min-width: 0; }
.slip-header-desktop .btn-clear-slip {
  flex-shrink: 0;
  min-height: 28px;
  padding: 0 0.6rem;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}
.desktop-slip-item .d-item-match {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.25;
}
.desktop-slip-panel .qc-btn { min-height: 34px; font-size: 0.76rem; padding: 0.3rem 0.1rem; min-width: 0; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .app-container.app-layout-desktop { grid-template-columns: 180px minmax(0, 1fr) 290px; gap: 0.7rem; }
  .slip-header-desktop > div > span:nth-child(2) { font-size: 0.92rem !important; white-space: nowrap; }
  .slip-header-desktop > div > span:first-child { display: none; }
}

/* Celular: chips de campeonato e botões com no mínimo ~36px de altura */
@media (max-width: 767px) {
  /* Boas-vindas: o quadro "Como funciona" repete os 4 passos; some no celular para o botão aparecer sem rolar */
  .launch-popup-card .lp-how-card { display: none; }
  .sport-cat-chip { min-height: 36px; }
  .bmc-team-name { font-size: 0.84rem; }
  .bmc-more-markets-link { min-height: 28px; padding: 0 0.5rem; }
}

