/* ==========================================================================
   MaximaBet - Base & Layout Styles (Desktop & Mobile Responsive - High Fidelity)
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  background-color: var(--bg-body, #0a0d14);
  color: var(--text-primary, #ffffff);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  outline: none;
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */

@keyframes fadeInCard {
  0% {
    opacity: 0;
    transform: translateY(6px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.winner-card-anim {
  animation: fadeInCard 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ==========================================================================
   FIXES FOR NEXT.JS DOM (OVERLAPS, NAVIGATION & TOP 10 RANK NUMBERS)
   ========================================================================== */

/* Fix: Esportes duplicate nav overlapping on home / casino */
.nav-swap-viewport {
  overflow: hidden !important;
  height: 56px !important;
  max-height: 56px !important;
  position: relative !important;
}

.nav-swap-track {
  display: flex !important;
  flex-direction: column !important;
}

/* On home / casino vertical, hide the second duplicate sports list */
body:not(.page-sports) [data-vertical="sports"],
body:not(.page-sports) .navigation-context-list[data-vertical="sports"] {
  display: none !important;
}

body.page-sports [data-vertical="casino"],
body.page-sports .navigation-context-list[data-vertical="casino"] {
  display: none !important;
}

/* Fix: Top 10 Brasil rank artwork & numbers behind card covers */
.top10-rank-container {
  position: relative;
  display: flex;
  align-items: center;
}

.top10-rank-number {
  position: absolute;
  left: -8px;
  bottom: 0;
  font-size: 84px;
  font-weight: 900;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.28);
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  z-index: 1;
  pointer-events: none;
  font-family: "Impact", "Arial Black", sans-serif;
}

/* Top 3 rank highlights */
.top10-rank-1 { -webkit-text-stroke: 2.5px #ffd700 !important; }
.top10-rank-2 { -webkit-text-stroke: 2.5px #e0e0e0 !important; }
.top10-rank-3 { -webkit-text-stroke: 2.5px #cd7f32 !important; }

/* Ensure Next.js rank SVGs do not distort covers */
svg[class*="number_"] {
  position: absolute !important;
  left: -12px !important;
  bottom: 0 !important;
  height: 85% !important;
  width: auto !important;
  z-index: 1 !important;
  pointer-events: none !important;
  opacity: 0.85 !important;
}

ul[class*="overflow-x-auto"] > li {
  position: relative !important;
  z-index: 2 !important;
}

/* ==========================================================================
   TOP TICKER / BARRA DE GANHOS AO VIVO
   ========================================================================== */

.top-ticker-bar {
  background: #080c14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  height: 32px;
  display: flex;
  align-items: center;
  font-size: 11px;
  overflow: hidden;
  padding: 0 16px;
  z-index: 1001;
}

.ticker-content {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 16px;
}

.ticker-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

.ticker-marquee-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 20px;
}

.ticker-marquee {
  display: flex;
  gap: 32px;
  animation: marqueeAnim 28s linear infinite;
  white-space: nowrap;
}

@keyframes marqueeAnim {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}

.ticker-item .win-val {
  color: #00e700;
  font-weight: 700;
}

.ticker-jackpot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================================
   HEADER / BARRA SUPERIOR
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 64px;
  background-color: var(--bg-header);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  backdrop-filter: blur(12px);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.sidebar-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  font-size: 16px;
  transition: var(--transition-fast);
}

.sidebar-toggle-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo img {
  height: 36px;
  max-width: 140px;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.12);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-search {
  position: relative;
  width: 200px;
}

.header-search input {
  width: 100%;
  height: 38px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0 14px 0 34px;
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
  transition: var(--transition-fast);
}

.header-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.25);
}

.header-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 13px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 13px;
  padding: 0 18px;
  height: 38px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  cursor: pointer;
}

.btn-header-login {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-header-login:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--text-secondary);
}

.btn-header-register {
  background-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.btn-header-register:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}


/* Maxima Bet - Components Styling (Period Winners, Matches, Providers) */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.winner-card, .match-card, .provider-card {
  background-color: #141a29 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: all 0.2s ease-in-out !important;
}

.winner-card:hover, .match-card:hover, .provider-card:hover {
  border-color: rgba(0, 255, 153, 0.5) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.odd-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}
.odd-btn:hover {
  background: rgba(0, 255, 153, 0.15);
  border-color: #00ff99;
}

.period-tab-btn.active {
  background-color: #00ff99 !important;
  color: #000000 !important;
  font-weight: 900 !important;
}


/* Touch and Momentum Scrolling */
.overflow-x-auto, .overflow-x-scroll, .scrollbar-hide, [data-embla-container] {
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-x pan-y !important;
  scroll-behavior: smooth;
}
.no-scrollbar::-webkit-scrollbar, .scrollbar-hide::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}


/* Touch Swipe and Snap */
.no-scrollbar::-webkit-scrollbar,
.scrollbar-hide::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.no-scrollbar, .scrollbar-hide {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
}

/* Partidas em destaque: cartão compacto e arrastável, mantendo as odds/API atuais. */
section:has(button[onclick*="handleOddClick"]) > div.relative.w-full > ul {
  display: flex !important;
  gap: 8px !important;
  padding: 0 8px 6px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory;
  touch-action: pan-y !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

section:has(button[onclick*="handleOddClick"]) > div.relative.w-full > ul::-webkit-scrollbar {
  display: none;
}

/* No celular o hero usa o scroll nativo nos dois eixos; no desktop o
   pointer-drag continua disponível pelo controlador. */
section.relative.m-auto.w-full.overflow-hidden > .overflow-x-auto {
  touch-action: pan-y !important;
  scroll-behavior: auto !important;
  cursor: grab;
}
section.relative.m-auto.w-full.overflow-hidden > .overflow-x-auto:active {
  cursor: grabbing;
}

section:has(button[onclick*="handleOddClick"]) > div.relative.w-full > ul > li {
  width: 310px !important;
  min-width: 310px !important;
  scroll-snap-align: start;
}

section:has(button[onclick*="handleOddClick"]) > div.relative.w-full > ul > li > div {
  width: 100% !important;
  min-height: 166px;
  margin: 4px 0 !important;
}

section:has(button[onclick*="handleOddClick"]) > div.relative.w-full > ul > li > div > div {
  min-height: 166px;
  justify-content: flex-end !important;
  gap: 0.35rem;
  border: 1px solid rgba(128, 70, 218, 0.72) !important;
  background-color: #26005b !important;
  background-image: linear-gradient(100deg, rgba(38, 0, 91, 0.98) 0%, rgba(55, 7, 111, 0.93) 58%, rgba(89, 29, 145, 0.58) 100%), url('/assets/images/sport.png') !important;
  background-position: center, right center !important;
  background-repeat: no-repeat !important;
  background-size: cover, auto 100% !important;
  box-shadow: 0 5px 16px rgba(18, 0, 45, 0.34) !important;
}

section:has(button[onclick*="handleOddClick"]) > div.relative.w-full > ul > li > div > div > div:first-child {
  color: #d7c8ec !important;
  border-bottom-color: rgba(224, 210, 247, 0.18) !important;
}

section:has(button[onclick*="handleOddClick"]) > div.relative.w-full > ul > li > div > div > div:first-child span:last-child {
  color: #d5c5ec !important;
}

section:has(button[onclick*="handleOddClick"]) > div.relative.w-full > ul > li > div > div > div:nth-child(2) {
  gap: 0.55rem !important;
  margin-bottom: 0.25rem !important;
}

section:has(button[onclick*="handleOddClick"]) > div.relative.w-full > ul > li > div > div > div:nth-child(2) > div {
  color: #fff !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
}

section:has(button[onclick*="handleOddClick"]) > div.relative.w-full > ul > li > div > div > div:nth-child(2) > div span:last-child {
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  padding: 0.1rem 0.45rem !important;
}

section:has(button[onclick*="handleOddClick"]) > div.relative.w-full > ul > li > div > div > div:last-child {
  gap: 0.45rem !important;
  padding-top: 0.35rem !important;
  border-top-color: rgba(224, 210, 247, 0.18) !important;
}

section:has(button[onclick*="handleOddClick"]) > div.relative.w-full > ul > li > div > div > div:last-child button {
  min-height: 38px;
  border: 1px solid rgba(157, 91, 239, 0.76) !important;
  border-radius: 0.42rem !important;
  background: rgba(91, 25, 170, 0.88) !important;
}

section:has(button[onclick*="handleOddClick"]) > div.relative.w-full > ul > li > div > div > div:last-child button span:first-child {
  color: #f0e9fb !important;
  font-weight: 800 !important;
}

section:has(button[onclick*="handleOddClick"]) > div.relative.w-full > ul > li > div > div > div:last-child button span:last-child {
  color: #ffe600 !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
}

/* Ações da conta no topo das páginas nativas. */
.vux-header-account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 2rem;
  padding: 0 0.55rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: .5rem;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.05);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.vux-header-account-link:hover,
.vux-header-account-link:focus-visible {
  color: #fff;
  border-color: rgba(0,255,153,.65);
  background: rgba(0,255,153,.12);
  outline: none;
}
.vux-header-withdraw-link { color: #ffe27a; }
.vux-header-avatar-menu { position: relative; }
.vux-header-account-actions > div:has(#userBalanceDisplay) { order: 2; }
.vux-header-account-actions > button[onclick*="openDepositModal"] { order: 1; }
.vux-header-account-actions > .vux-header-avatar-menu { order: 3; }
.vux-header-account-actions > a[href="/api/auth/logout"] { order: 4; }
.vux-header-avatar { display: inline-flex; align-items: center; justify-content: center; width: 2.15rem; height: 2.15rem; border: 1px solid rgba(0,255,153,.55); border-radius: 999px; background: rgba(0,255,153,.16); color: #00ff99; font-size: .8rem; font-weight: 900; cursor: pointer; }
.vux-header-avatar:hover, .vux-header-avatar:focus-visible { background: rgba(0,255,153,.28); outline: none; }
.vux-header-dropdown { display: none; position: absolute; top: calc(100% + .6rem); right: 0; z-index: 60; width: 14rem; padding: .45rem; border: 1px solid rgba(255,255,255,.14); border-radius: .9rem; background: #121826; box-shadow: 0 16px 36px rgba(0,0,0,.45); }
.vux-header-dropdown.is-open { display: block; }
.vux-header-dropdown-user { display: flex; flex-direction: column; gap: .12rem; padding: .6rem .65rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.vux-header-dropdown-user strong { overflow: hidden; color: #fff; font-size: .74rem; text-overflow: ellipsis; white-space: nowrap; }
.vux-header-dropdown-user span { color: rgba(255,255,255,.5); font-size: .64rem; }
.vux-header-dropdown a, .vux-header-dropdown button { display: flex; width: 100%; align-items: center; gap: .6rem; padding: .6rem .65rem; border: 0; border-radius: .55rem; background: transparent; color: rgba(255,255,255,.8); font-size: .72rem; font-weight: 750; text-align: left; cursor: pointer; }
.vux-header-dropdown a:hover, .vux-header-dropdown button:hover { background: rgba(255,255,255,.08); color: #fff; }
.vux-header-dropdown a span, .vux-header-dropdown button span { width: 1rem; color: #00ff99; text-align: center; }
.vux-header-dropdown a > .vux-menu-option-badge { display: inline-flex; width: auto; min-height: 18px; align-items: center; justify-content: center; margin-left: auto; padding: 0 .38rem; border-radius: 999px; background: #00e892; color: #19002e; font-size: .5rem; font-weight: 950; letter-spacing: .04em; line-height: 1; box-shadow: 0 0 0 2px rgba(0,232,146,.1); }
.vux-header-dropdown .vux-header-dropdown-logout { margin-top: .25rem; border-top: 1px solid rgba(255,255,255,.1); border-radius: 0 0 .55rem .55rem; color: #ff8b8b; }
.vux-header-dropdown .vux-header-dropdown-logout span { color: #ff8b8b; }
.vux-mobile-account-panel { display: none; }

/* Cabeçalho autenticado alinhado ao padrão nativo: depósito, saldo e conta. */
.vux-header-account-actions {
  min-height: 2rem;
  gap: .25rem !important;
  padding: 0 0.28rem 0 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, .15);
}
.vux-header-account-actions > div:has(#userBalanceDisplay) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 .35rem !important;
}
.vux-header-account-actions > div:has(#userBalanceDisplay) > span:first-child { display: none; }
.vux-header-account-actions > div:has(#userBalanceDisplay) #userBalanceDisplay {
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  white-space: nowrap;
}
.vux-header-account-actions > button[onclick*="openDepositModal"] {
  min-height: 2rem;
  padding-inline: .68rem !important;
  border-radius: .45rem;
  background: #00e892 !important;
  color: #06130d !important;
  box-shadow: none;
  letter-spacing: 0;
}
.vux-header-account-actions > button[onclick*="openDepositModal"]:hover,
.vux-header-account-actions > button[onclick*="openDepositModal"]:focus-visible {
  background: #00ff9d !important;
}
.vux-header-account-actions > button[onclick*="openDepositModal"] svg { display: none; }
.vux-header-avatar {
  width: 1.75rem;
  height: 1.75rem;
  border: 2px solid rgba(255,255,255,.95);
  background: transparent;
  color: #fff;
}
.vux-header-avatar:hover, .vux-header-avatar:focus-visible { background: rgba(255,255,255,.12); }
.vux-header-avatar-menu::after {
  content: '';
  position: absolute;
  top: -.02rem;
  right: -.02rem;
  width: .42rem;
  height: .42rem;
  border: 1px solid #8c00ff;
  border-radius: 999px;
  background: #ffe600;
  pointer-events: none;
}

/* Busca nativa */
.vux-native-search-box {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  margin: .5rem 0 1rem;
  border: 1px solid rgba(0,255,153,.2);
  border-radius: 1rem;
  background: linear-gradient(100deg, rgba(20,26,41,.98), rgba(20,26,41,.72));
}
.vux-native-eyebrow { color: #00ff99; font-size: .65rem; font-weight: 900; letter-spacing: .12em; }
.vux-native-search-box h1 { margin: .2rem 0 0; color: #fff; font-size: 1.25rem; font-weight: 900; }
.vux-native-search-field {
  display: flex;
  align-items: center;
  gap: .45rem;
  width: min(100%, 27rem);
  min-height: 2.75rem;
  padding: 0 .75rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: .75rem;
  background: #fff;
  color: #141a29;
}
.vux-native-search-field input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #141a29; font-size: .8rem; }
.vux-native-search-field button { border: 0; background: transparent; color: #6b7280; font-size: 1.2rem; cursor: pointer; }
.vux-native-search-count { margin: .25rem 0 0; color: rgba(255,255,255,.58); font-size: .72rem; font-weight: 700; }

/* Modal de busca nativo mobile. */
.vux-search-modal { display: none; }
@media (max-width: 767px) {
  body.vux-search-open { overflow: hidden; }
  .vux-search-modal.is-open { position: fixed; inset: 0 0 54px; z-index: 9000; display: flex; flex-direction: column; overflow: hidden; background: linear-gradient(155deg,#140020,#25003d); color: #fff; }
  .vux-search-modal-head { display: grid; grid-template-columns: minmax(0,1fr) 38px; align-items: center; gap: 8px; min-height: 58px; padding: 8px; border-bottom: 1px solid rgba(255,255,255,.1); background: #1b002e; }
  .vux-search-modal-head label { display: flex; height: 42px; align-items: center; gap: 7px; padding: 0 10px; border-radius: 8px; background: #fff; color: #111827; }
  .vux-search-modal-head input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #111827; font-size: 13px; }
  .vux-search-modal-head label button, .vux-search-modal-close { border: 0; background: transparent; cursor: pointer; }
  .vux-search-modal-head label button { color: #7c3aed; }
  .vux-search-modal-close { color: #fff; font-size: 27px; }
  .vux-search-modal-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 12px 8px 26px; }
  .vux-search-modal-scroll section + section { margin-top: 18px; }
  .vux-search-modal-scroll h2 { margin: 0 0 9px; font-size: 14px; font-weight: 900; }
  .vux-search-section-title { display: flex; align-items: center; justify-content: space-between; }
  .vux-search-result-count { color: rgba(255,255,255,.55); font-size: 10px; }
  .vux-search-quick-links { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
  .vux-search-quick-links::-webkit-scrollbar, .vux-search-providers::-webkit-scrollbar { display: none; }
  .vux-search-quick-links button { min-width: max-content; padding: 9px 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 8px; background: rgba(255,255,255,.07); color: #fff; font-size: 10px; font-weight: 850; }
  .vux-search-results { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
  .vux-search-results > a { min-width: 0; }
  .vux-search-results img { display: block; width: 100%; aspect-ratio: 3/4; border-radius: 7px; object-fit: cover; }
  .vux-search-results a.is-provider-logo img { padding: 15%; background: radial-gradient(circle at 50% 38%,rgba(137,44,218,.48),transparent 48%),linear-gradient(145deg,#210039,#4d007c); object-fit: contain; }
  .vux-search-results strong, .vux-search-results span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .vux-search-results strong { margin-top: 5px; font-size: 10px; }
  .vux-search-results span { color: rgba(255,255,255,.53); font-size: 8px; }
  .vux-search-providers { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .vux-search-providers button { width: 124px; min-width: 124px; padding: 6px; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; background: rgba(255,255,255,.06); color: #fff; text-align: left; }
  .vux-search-providers button span { display: block; overflow: hidden; height: 54px; border-radius: 6px; background: #2c074a; }
  .vux-search-providers img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
  .vux-search-providers strong { display: block; overflow: hidden; margin-top: 6px; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }

  .vux-header-dropdown.is-open { position: fixed; inset: 43px 8px auto auto; z-index: 9000; display: flex; width: min(202px,calc(100vw - 16px)); max-height: calc(100dvh - 105px); flex-direction: column; overflow-y: auto; padding: 7px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; background: #1e0031; box-shadow: 0 14px 32px rgba(0,0,0,.5); }
  .vux-header-dropdown > .vux-header-dropdown-user, .vux-mobile-account-panel { display: none; }
  .vux-header-dropdown > a, .vux-header-dropdown > button { min-height: 43px; padding: 9px 8px; border-bottom: 0; border-radius: 5px; color: #fff; font-size: 11px; }
  .vux-header-dropdown > a + a, .vux-header-dropdown > button + a, .vux-header-dropdown > a + button { margin-top: 1px; }
  .vux-header-dropdown > a span, .vux-header-dropdown > button span { width: 24px; color: #fff; font-size: 18px; }
}

/* Cards de partidas vindas da API nativa de futebol. */
.vux-api-match-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.vux-api-match-card { min-width: 0; padding: .85rem; border: 1px solid rgba(128,70,218,.72); border-radius: .9rem; background: linear-gradient(115deg, #26005b, #3b0876); box-shadow: 0 5px 16px rgba(18,0,45,.3); }
.vux-api-match-meta { display: flex; justify-content: space-between; gap: .5rem; padding-bottom: .55rem; border-bottom: 1px solid rgba(224,210,247,.18); color: #d5c5ec; font-size: .65rem; font-weight: 800; }
.vux-api-match-meta span, .vux-api-match-meta time { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vux-api-match-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .35rem; min-height: 3.6rem; color: #fff; font-size: .76rem; text-align: center; }
.vux-api-match-teams strong { overflow: hidden; text-overflow: ellipsis; }
.vux-api-match-teams span { color: #d6c6ed; font-size: .58rem; font-weight: 900; }
.vux-api-odds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
.vux-api-odd-btn { display: flex; min-height: 2.45rem; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(157,91,239,.76); border-radius: .45rem; background: rgba(91,25,170,.88); color: #f0e9fb; cursor: pointer; }
.vux-api-odd-btn:hover, .vux-api-odd-btn.is-selected { border-color: #00ff99; background: rgba(0,255,153,.18); }
.vux-api-odd-btn span { font-size: .62rem; font-weight: 800; }
.vux-api-odd-btn b { color: #ffe600; font-size: .78rem; }
.vux-betslip-heading, .vux-betslip-total { display: flex; justify-content: space-between; gap: .5rem; align-items: center; margin-bottom: .45rem; }
.vux-betslip-heading span, .vux-betslip-total span { color: rgba(255,255,255,.62); font-size: .7rem; }
.vux-betslip-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: .35rem; padding: .45rem 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .7rem; }
.vux-betslip-row div { display: flex; min-width: 0; flex-direction: column; }
.vux-betslip-row strong, .vux-betslip-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vux-betslip-row span { color: #00ff99; }
.vux-betslip-row button, .vux-betslip-clear { border: 0; background: transparent; color: #ff8a8a; cursor: pointer; }
.vux-betslip-total { margin-top: .55rem; color: #ffe600; font-size: .85rem; }
.vux-betslip-clear { width: 100%; padding-top: .45rem; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.65); font-size: .68rem; }

@media (max-width: 640px) {
  .vux-native-search-box { align-items: stretch; flex-direction: column; }
  .vux-native-search-field { width: 100%; }
  .vux-api-match-grid { display: flex; overflow-x: auto; padding-bottom: .25rem; scroll-snap-type: x mandatory; touch-action: pan-x pan-y; }
  .vux-api-match-card { flex: 0 0 min(86vw, 21rem); scroll-snap-align: start; }
  .vux-header-account-link { padding: 0 .4rem; }
}

section:has(button[onclick*="handleOddClick"]) > div.relative.w-full > div:first-child {
  margin-bottom: 0.3rem;
}

@media (max-width: 640px) {
  section:has(button[onclick*="handleOddClick"]) > div.relative.w-full > ul > li {
    width: min(86vw, 310px) !important;
    min-width: min(86vw, 310px) !important;
  }
}

/* Catálogo nativo sincronizado com o agregador GamesVIP. */
.vux-global-brand-logo { display: block; width: auto; height: 30px; max-width: 160px; object-fit: contain; }
body.vux-catalog-pending main section:has(a[aria-label^="Jogar "]),
body.vux-catalog-pending main section:has(img[alt="Pragmatic Play"]):has(img[alt="PG Soft"]),
body.vux-catalog-pending main nav:has(a[href="/promocoes"]):has(a[href="/cassino/slots/1332/top-10-brasil"]),
body.vux-catalog-pending main div[class*="grid"]:has(> a[href^="/jogo/"]) { display: none !important; }
.vux-native-quick-nav { display: flex; gap: .55rem; overflow-x: auto; padding: .15rem .5rem .35rem; scroll-snap-type: x proximity; scrollbar-width: none; }
.vux-native-quick-nav::-webkit-scrollbar { display: none; }
.vux-native-quick-nav a { display: flex; min-width: 64px; flex-direction: column; align-items: center; gap: .3rem; color: rgba(255,255,255,.88); text-decoration: none; scroll-snap-align: start; }
.vux-native-quick-nav a > span { display: block; width: 48px; height: 48px; overflow: hidden; border: 2px solid rgba(0,232,146,.34); border-radius: 999px; background: rgba(255,255,255,.08); }
.vux-native-quick-nav img { width: 100%; height: 100%; object-fit: cover; }
.vux-native-quick-nav strong { max-width: 68px; overflow: hidden; font-size: .6rem; font-weight: 800; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.vux-native-catalog { display: flex; flex-direction: column; gap: .9rem; }
.vux-native-game-section, .vux-native-provider-section { display: flex; min-width: 0; flex-direction: column; gap: .55rem; }
.vux-native-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 .1rem; }
.vux-native-section-heading h2 { margin: 0; color: #fff; font-size: .94rem; font-weight: 850; }
.vux-native-section-heading span { color: rgba(255,255,255,.56); font-size: .68rem; }
.vux-native-game-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(108px, 1fr); gap: .5rem; overflow-x: auto; padding: .1rem 0 .35rem; scroll-snap-type: x proximity; scrollbar-width: none; }
.vux-native-game-track::-webkit-scrollbar, .vux-native-provider-track::-webkit-scrollbar { display: none; }
.vux-native-game-card { display: flex; width: 116px; min-width: 116px; flex-direction: column; gap: .35rem; color: #fff; text-decoration: none; scroll-snap-align: start; transition: transform .18s ease; }
.vux-native-game-card:hover { transform: translateY(-3px); }
.vux-native-game-cover { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: .55rem; background: rgba(255,255,255,.07); }
.vux-native-game-cover img { width: 100%; height: 100%; object-fit: cover; }
.vux-native-game-cover.is-provider-logo img, .vux-provider-logo-cover { padding: 15%; background: radial-gradient(circle at 50% 38%,rgba(137,44,218,.48),transparent 48%),linear-gradient(145deg,#210039,#4d007c); object-fit: contain !important; }
.vux-native-game-cover i { position: absolute; right: .3rem; bottom: .3rem; max-width: calc(100% - .6rem); overflow: hidden; padding: .18rem .3rem; border-radius: .25rem; background: rgba(7,10,18,.8); color: #00e892; font-size: .48rem; font-style: normal; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.vux-native-game-card > strong { overflow: hidden; color: rgba(255,255,255,.9); font-size: .63rem; font-weight: 750; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.vux-native-provider-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: .5rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: none; }
.vux-native-provider-track > div, .vux-native-provider-track > a { display: flex; min-height: 112px; flex-direction: column; align-items: center; justify-content: center; gap: .32rem; padding: .55rem; border: 1px solid rgba(0,232,146,.2); border-radius: .65rem; background: linear-gradient(145deg, rgba(77,0,122,.9), rgba(30,7,56,.95)); color: inherit; text-align: center; text-decoration: none; scroll-snap-align: start; }
.vux-native-provider-logo { display: flex; width: 100%; height: 48px; align-items: center; justify-content: center; overflow: hidden; border-radius: .45rem; background: rgba(8,10,20,.34); }
.vux-native-provider-logo img { width: 88%; height: 80%; object-fit: contain; }
.vux-native-provider-logo.is-placeholder { color: rgba(255,255,255,.72); font-size: 1rem; font-weight: 950; letter-spacing: .08em; background: linear-gradient(135deg, rgba(0,232,146,.18), rgba(126,45,210,.28)); }
.vux-native-provider-track strong { color: #fff; font-size: .72rem; }
.vux-native-provider-track span { color: #00e892; font-size: .6rem; font-weight: 800; text-transform: uppercase; }
.vux-native-game-section.is-search-grid .vux-native-game-track { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); overflow: visible; }
.vux-native-game-card[hidden] { display: none !important; }
.vux-native-slot-filters { display:flex; gap:.45rem; overflow-x:auto; padding:.1rem 0 .25rem; scroll-snap-type:x proximity; scrollbar-width:none; }
.vux-native-slot-filters::-webkit-scrollbar { display:none; }
.vux-native-slot-filters a { display:inline-flex; min-height:34px; flex:0 0 auto; align-items:center; gap:.35rem; padding:0 .7rem; border:1px solid rgba(255,255,255,.14); border-radius:.5rem; background:rgba(255,255,255,.06); color:rgba(255,255,255,.78); font-size:.63rem; font-weight:850; text-decoration:none; scroll-snap-align:start; }
.vux-native-slot-filters a span { color:#00e892; font-size:.55rem; }
.vux-native-slot-filters a.is-active { border-color:#fff; background:#fff; color:#310052; }
.vux-native-slot-filters a.is-active span { color:#5b008f; }

/* Barra de categorias e filtro da rota de Slots. Os links nunca apontam para
   categorias removidas: filtram somente o catálogo e provedores do Vux. */
.vux-native-slots-toolbar { position: relative; display: flex; min-width: 0; flex-direction: column; gap: .55rem; }
.vux-native-slot-categories { display: flex; min-width: 0; gap: .45rem; overflow-x: auto; overscroll-behavior-x: contain; padding: .1rem 0 .3rem; scroll-snap-type: x proximity; scrollbar-width: none; touch-action: pan-x pan-y; }
.vux-native-slot-categories::-webkit-scrollbar { display: none; }
.vux-native-slot-categories a { display: inline-flex; min-height: 33px; flex: 0 0 auto; align-items: center; gap: .35rem; padding: 0 .68rem; border: 1px solid rgba(255,255,255,.12); border-radius: .45rem; background: rgba(255,255,255,.075); color: rgba(255,255,255,.86); font-size: .64rem; font-weight: 850; text-decoration: none; text-transform: uppercase; white-space: nowrap; scroll-snap-align: start; }
.vux-native-slot-categories a.is-active { border-color: #fff; background: #fff; color: #320055; }
.vux-native-slots-summary { position: relative; display: flex; min-height: 35px; align-items: center; justify-content: space-between; gap: .75rem; padding: 0 .1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.vux-native-slots-summary > strong { color: #fff; font-size: .76rem; font-weight: 900; text-transform: uppercase; }
.vux-native-provider-filter { display: inline-flex; min-height: 30px; align-items: center; gap: .33rem; padding: 0 .08rem; border: 0; background: transparent; color: #fff; font-size: .64rem; font-weight: 850; text-transform: uppercase; cursor: pointer; }
.vux-native-provider-filter > b { display: grid; min-width: 18px; height: 18px; place-items: center; border-radius: 50%; background: #00e892; color: #1f0040; font-size: .59rem; }
.vux-native-provider-menu { position: absolute; z-index: 30; top: calc(100% + .35rem); right: 0; display: grid; width: min(240px,calc(100vw - 28px)); gap: .1rem; padding: .38rem; border: 1px solid rgba(197,132,255,.54); border-radius: .65rem; background: #250047; box-shadow: 0 16px 36px rgba(8,0,21,.55); }
.vux-native-provider-menu[hidden] { display: none !important; }
.vux-native-provider-menu a { display: flex; min-height: 34px; align-items: center; justify-content: space-between; gap: .5rem; padding: 0 .58rem; border-radius: .42rem; color: rgba(255,255,255,.84); font-size: .68rem; font-weight: 760; text-decoration: none; }
.vux-native-provider-menu a:hover, .vux-native-provider-menu a.is-active { background: rgba(0,232,146,.18); color: #fff; }
.vux-native-provider-menu b { color: #00e892; font-size: .62rem; }

/* Faixa nativa de ganhadores: no mobile mantém o troféu fixo e os cartões
   deslizam lateralmente como na referência, sem misturar jogos fora da API. */
.vux-native-winners { display: grid; min-width: 0; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; gap: .35rem .45rem; padding: 0 .5rem; }
.vux-winners-period { display: flex; grid-column: 1 / -1; align-items: center; gap: .35rem; min-height: 30px; color: #fff; font-size: .64rem; font-weight: 850; }
.vux-winners-period > span { margin-right: .15rem; color: rgba(255,255,255,.78); }
.vux-period-label { display: inline-flex; align-items: center; gap: .22rem; }
.vux-period-label svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.vux-winners-period button { min-height: 28px; padding: 0 .65rem; border: 0; border-radius: .4rem; background: transparent; color: #fff; font: inherit; cursor: pointer; }
.vux-winners-period button.is-active { background: #fff; color: #210037; }
.vux-winners-title { display: flex; grid-column: 1; grid-row: 2; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; color: #fff; text-align: center; }
.vux-winners-title > svg { width: 25px; height: 25px; fill: none; stroke: #b9b4d0; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.vux-winners-title strong { font-size: .5rem; font-weight: 900; line-height: 1.05; text-transform: uppercase; }
.vux-winners-track { display: flex; min-width: 0; grid-column: 2; grid-row: 2; gap: .45rem; overflow-x: auto; padding-bottom: .2rem; scroll-snap-type: x proximity; scrollbar-width: none; }
.vux-winners-track::-webkit-scrollbar { display: none; }
.vux-winners-track > a { display: grid; width: 200px; min-width: 200px; min-height: 72px; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: .5rem; overflow: hidden; padding: .4rem; border: 1px solid rgba(177,103,255,.24); border-radius: .45rem; background: linear-gradient(135deg, rgba(78,15,143,.97), rgba(63,7,124,.93)); color: #fff; text-decoration: none; scroll-snap-align: start; }
.vux-winners-track img { width: 48px; height: 60px; border-radius: .3rem; object-fit: cover; }
.vux-winners-track a > span { display: flex; min-width: 0; flex-direction: column; gap: .12rem; }
.vux-winners-track b, .vux-winners-track em, .vux-winners-track strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vux-winners-track b { font-size: .64rem; }
.vux-winners-track em { color: rgba(255,255,255,.78); font-size: .62rem; font-style: normal; }
.vux-winners-track strong { color: #ffe900; font-size: .72rem; }
.vux-native-paid-section { display: flex !important; }

/* Ranking local entre as vitrines e os provedores, com arraste nativo no touch. */
.vux-native-top-ten { display: flex; min-width: 0; flex-direction: column; gap: .35rem; }
.vux-native-top-ten .vux-native-section-heading { align-items: center; }
.vux-native-top-ten .vux-native-section-heading h2 { display: inline-flex; align-items: center; gap: .28rem; }
.vux-native-top-ten .vux-native-section-heading h2 span { color: #e5e6ff; font-size: 1rem; }
.vux-native-top-ten .vux-native-section-heading a { color: rgba(255,255,255,.74); font-size: .68rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.vux-native-top-ten .vux-native-section-heading a b { color: rgba(255,255,255,.95); font-size: 1.1rem; line-height: 0; vertical-align: -1px; }
.vux-top-ten-track { display: flex; min-width: 0; gap: .38rem; overflow-x: auto; overscroll-behavior-x: contain; padding: .15rem 0 .45rem; scroll-snap-type: x proximity; scrollbar-width: none; touch-action: pan-x pan-y; }

/* Trilhos comandados pelo slider_controller: gesto horizontal manual com
   rolagem vertical da página preservada no touch. */
.vux-native-game-track,
.vux-native-provider-track,
.vux-native-quick-nav,
.vux-winners-track,
.vux-top-ten-track,
.vux-native-slot-categories,
.vux-api-featured-grid,
.vux-api-match-grid {
  touch-action: pan-y !important;
}
.vux-top-ten-track::-webkit-scrollbar { display: none; }
.vux-top-ten-card { position: relative; display: block; width: 112px; min-width: 112px; padding: .05rem 0 0 1.28rem; scroll-snap-align: start; }
.vux-top-ten-card > b { position: absolute; z-index: 1; top: .48rem; left: 0; color: rgba(255,255,255,.86); font-size: 4.05rem; font-weight: 950; letter-spacing: -.11em; line-height: 1; text-shadow: 0 2px 0 rgba(17,0,36,.9),0 0 8px rgba(255,255,255,.18); }
.vux-top-ten-card img { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: .42rem; object-fit: cover; box-shadow: 0 5px 13px rgba(8,0,22,.34); }

@media (min-width: 768px) {
  .vux-global-brand-logo { height: 32px; max-width: 165px; }
  .vux-native-game-track { grid-auto-columns: minmax(132px, 1fr); }
  .vux-native-game-card { width: 142px; min-width: 142px; }
  .vux-native-game-card > strong { font-size: .7rem; }
  .vux-native-winners { padding: 0; }
  .vux-winners-track > a { width: 220px; min-width: 220px; }
}

@media (max-width: 640px) {
  .vux-native-catalog { gap: .75rem; }
  .vux-native-game-track { grid-auto-columns: 108px; }
  .vux-native-game-section.is-search-grid .vux-native-game-track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
  .vux-native-game-section.is-search-grid .vux-native-game-card { width: 100%; min-width: 0; }
}

/* Esportes: paleta e componentes responsivos alinhados à experiência nativa. */
body.vux-sports-page { min-height: 100dvh; background: radial-gradient(circle at 50% 0,#3a0063 0,#210038 28rem,#160025 70%); color: #fff; }
.vux-sports-header { border-bottom: 1px solid rgba(255,255,255,.14); background: linear-gradient(90deg,#7c00ed,#9b00ff); box-shadow: 0 4px 18px rgba(24,0,42,.34); }
.vux-sports-header .vux-global-brand-logo { height: 27px; max-width: 112px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.22)); }
.vux-sports-header nav a { color: rgba(255,255,255,.82); }
.vux-sports-header nav a[href="/esportes"] { border-color: #fff; color: #fff; }
.vux-sports-deposit, .vux-sports-auth-button { display: inline-flex; min-height: 32px; align-items: center; justify-content: center; border-radius: 7px; font-size: 10px; font-weight: 900; text-transform: uppercase; cursor: pointer; }
.vux-sports-deposit { padding: 0 12px; border: 0; background: #00e99a; color: #071a13; }
.vux-sports-balance { color: #fff; font-size: 12px; font-weight: 900; white-space: nowrap; }
.vux-sports-auth-button { padding: 0 11px; border: 1px solid rgba(255,255,255,.76); color: #fff; background: transparent; }
.vux-sports-auth-button.is-register { border-color: #00e99a; background: #00e99a; color: #071a13; }
.vux-sports-main { width: 100%; }
.vux-sports-nav { overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; }
.vux-sports-nav::-webkit-scrollbar { display: none; }
.vux-sports-nav-btn { display: inline-flex; min-height: 38px; flex: 0 0 auto; align-items: center; padding: 0 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.76); font-size: 11px; font-weight: 850; text-transform: uppercase; scroll-snap-align: start; cursor: pointer; }
.vux-sports-nav-btn.is-active { border-color: #fff; background: #fff; color: #3c0069; box-shadow: 0 5px 14px rgba(0,0,0,.2); }
.vux-sports-promo { border: 1px solid rgba(196,136,255,.4); border-radius: 15px; background: radial-gradient(circle at 84% 0,rgba(0,233,154,.24),transparent 36%),linear-gradient(115deg,#4d0088,#2a004d); box-shadow: 0 10px 28px rgba(12,0,25,.24); }
.vux-sports-promo button { border-color: transparent !important; background: #00e99a !important; color: #061a12 !important; }
.vux-sports-section > div:first-child { padding: 0 3px; }
.vux-api-match-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.vux-api-featured-grid { display: flex; gap: 9px; overflow-x: auto; padding: 1px 2px 6px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; touch-action: pan-x pan-y; scrollbar-width: none; }
.vux-api-featured-grid::-webkit-scrollbar { display: none; }
.vux-api-featured-grid .vux-api-match-card { width: min(360px,42vw); min-width: min(360px,42vw); scroll-snap-align: start; }
.vux-api-match-card { position: relative; display: flex; min-width: 0; min-height: 164px; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 11px; border: 1px solid rgba(185,112,255,.42); border-radius: 10px; background: linear-gradient(145deg,#440078,#2a004d); box-shadow: 0 6px 17px rgba(8,0,19,.25); isolation: isolate; }
.vux-api-match-card::before { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg,rgba(47,0,83,.99) 0%,rgba(55,0,96,.93) 54%,rgba(26,0,47,.48)),var(--event-image) center/cover no-repeat; content: ""; }
.vux-api-match-card::after { position: absolute; z-index: -1; inset: auto 0 0; height: 55%; background: linear-gradient(transparent,rgba(39,0,69,.96)); content: ""; }
.vux-api-match-card:not(.has-native-image)::before { background: radial-gradient(circle at 87% 22%,rgba(0,233,154,.15),transparent 30%),linear-gradient(135deg,#4c0085,#2d0052); }
.vux-api-match-meta { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; padding: 0 0 8px; border: 0; color: rgba(255,255,255,.68); font-size: 10px; font-weight: 700; }
.vux-api-match-meta span { display: flex; min-width: 0; align-items: center; gap: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vux-api-match-meta img { width: 15px; height: 15px; flex: 0 0 auto; border-radius: 50%; object-fit: contain; }
.vux-api-match-meta time { flex: 0 0 auto; color: rgba(255,255,255,.72); }
.vux-api-match-teams { display: grid; min-height: 72px; grid-template-columns: minmax(0,1fr) 18px minmax(0,1fr); align-items: center; gap: 5px; color: #fff; text-align: center; }
.vux-api-match-teams > div { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 5px; }
.vux-api-match-teams img, .vux-api-match-teams i { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); color: #5a008c; font-size: 12px; font-style: normal; font-weight: 900; object-fit: contain; }
.vux-api-match-teams strong { width: 100%; overflow: hidden; color: #fff; font-size: 11px; font-weight: 850; line-height: 1.12; text-overflow: ellipsis; white-space: nowrap; }
.vux-api-match-teams em { color: rgba(255,255,255,.54); font-size: 12px; font-style: normal; font-weight: 800; }
.vux-api-odds { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin-top: 8px; }
.vux-api-odds:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.vux-api-odd-btn { display: flex; min-height: 36px; flex-direction: row; align-items: center; justify-content: space-between; gap: 3px; padding: 0 9px; border: 1px solid rgba(176,91,255,.66); border-radius: 6px; background: rgba(91,14,163,.93); color: #fff; cursor: pointer; transition: background .15s,border-color .15s,transform .15s; }
.vux-api-odd-btn:active { transform: scale(.97); }
.vux-api-odd-btn:hover, .vux-api-odd-btn.is-selected { border-color: #00e99a; background: #00b77b; }
.vux-api-odd-btn span { font-size: 10px; font-weight: 850; }
.vux-api-odd-btn b { color: #ffe900; font-size: 12px; font-weight: 950; }
.vux-api-odd-btn.is-selected b { color: #fff; }
.vux-sports-skeleton { min-height: 164px; border-radius: 10px; background: linear-gradient(100deg,rgba(255,255,255,.05) 25%,rgba(255,255,255,.12) 40%,rgba(255,255,255,.05) 55%) #3a0066; background-size: 300% 100%; animation: vux-sports-loading 1.2s infinite linear; }
@keyframes vux-sports-loading { to { background-position: -150% 0; } }
.vux-sports-empty { grid-column: 1/-1; display: flex; min-height: 118px; flex-direction: column; align-items: center; justify-content: center; padding: 18px; border: 1px dashed rgba(255,255,255,.18); border-radius: 10px; background: rgba(255,255,255,.05); text-align: center; }
.vux-sports-empty strong { font-size: 13px; }
.vux-sports-empty span { margin-top: 4px; color: rgba(255,255,255,.6); font-size: 10px; }

.vux-betslip-sheet { position: fixed; z-index: 80; right: 16px; bottom: 18px; width: min(390px,calc(100vw - 24px)); max-height: calc(100dvh - 92px); overflow: hidden; padding: 12px; border: 1px solid rgba(38,0,65,.12); border-radius: 12px; background: #fff; color: #22142b; box-shadow: 0 18px 50px rgba(9,0,18,.48); }
.vux-betslip-sheet.hidden { display: none !important; }
.vux-betslip-sheet > div:first-child { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.vux-betslip-title { font-size: 13px; font-weight: 900; }
.vux-betslip-close { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #f0e9f4; color: #4d3e55; font-size: 20px; cursor: pointer; }
#betslipContent { max-height: calc(100dvh - 210px); overflow-y: auto; overscroll-behavior: contain; }
.vux-betslip-heading, .vux-betslip-summary > div, .vux-betslip-summary label { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vux-betslip-heading { padding: 7px 0; border-top: 1px solid #eee7f1; border-bottom: 1px solid #eee7f1; }
.vux-betslip-heading strong { font-size: 12px; }
.vux-betslip-heading span { color: #74677c; font-size: 10px; }
.vux-betslip-selections { padding: 2px 0; }
.vux-betslip-row { display: grid; grid-template-columns: minmax(0,1fr) auto 25px; align-items: center; gap: 7px; padding: 9px 0; border-bottom: 1px solid #eee7f1; }
.vux-betslip-row > div { display: flex; min-width: 0; flex-direction: column; }
.vux-betslip-row span { overflow: hidden; color: #6500a7; font-size: 11px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.vux-betslip-row strong { overflow: hidden; margin-top: 2px; color: #23172a; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.vux-betslip-row small { margin-top: 2px; color: #8b7f91; font-size: 9px; }
.vux-betslip-row b { color: #6500a7; font-size: 12px; }
.vux-betslip-row button { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #f2ebf5; color: #77677f; font-size: 16px; cursor: pointer; }
.vux-betslip-summary { padding: 8px 0 3px; }
.vux-betslip-summary > div, .vux-betslip-summary label { min-height: 34px; color: #6f6474; font-size: 10px; }
.vux-betslip-summary strong { color: #22142b; font-size: 12px; }
.vux-betslip-stake { display: flex; width: 118px; height: 33px; align-items: center; overflow: hidden; border: 1px solid #d9cedf; border-radius: 6px; background: #fff; }
.vux-betslip-stake i { padding: 0 7px; color: #716576; font-size: 10px; font-style: normal; }
.vux-betslip-stake input { width: 100%; height: 100%; min-width: 0; border: 0; outline: 0; color: #22142b; font-size: 12px; font-weight: 800; text-align: right; padding-right: 7px; }
.vux-betslip-clear { width: 100%; padding: 7px 0; border: 0; background: transparent; color: #766a7a; font-size: 10px; cursor: pointer; }
.vux-betslip-submit { width: 100%; min-height: 42px; margin-top: 4px; border: 0; border-radius: 7px; background: #00e99a; color: #071a13; font-size: 12px; font-weight: 950; text-transform: uppercase; cursor: pointer; }

@media (max-width: 767px) {
  .vux-sports-header { height: 50px; min-height: 50px; }
  .vux-sports-header .vux-global-brand-logo { height: 25px; max-width: 102px; }
  .vux-sports-deposit { min-height: 31px; padding: 0 9px; font-size: 9px; }
  .vux-sports-balance { font-size: 10px; }
  .vux-sports-header .vux-header-avatar { width: 31px; height: 31px; }
  .vux-sports-main { padding-top: 5px; }
  .vux-sports-nav { margin: 0 -8px 9px; padding: 8px; }
  .vux-sports-nav-btn { min-height: 35px; padding: 0 11px; border-radius: 8px; font-size: 9px; }
  .vux-sports-promo { align-items: stretch; margin-bottom: 15px; padding: 12px; border-radius: 10px; }
  .vux-sports-promo h2 { font-size: 15px; line-height: 1.16; }
  .vux-sports-promo p { font-size: 9px; }
  .vux-sports-promo button { min-height: 36px; padding: 0 15px; }
  .vux-sports-section { margin-left: -8px; margin-right: -8px; }
  .vux-sports-section > div:first-child { padding: 0 10px; }
  .vux-api-featured-grid, .vux-api-match-grid { display: flex; gap: 8px; overflow-x: auto; padding: 0 8px 7px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; touch-action: pan-x pan-y; scrollbar-width: none; }
  .vux-api-match-grid::-webkit-scrollbar { display: none; }
  .vux-api-match-card, .vux-api-featured-grid .vux-api-match-card { width: min(86vw,328px); min-width: min(86vw,328px); min-height: 162px; scroll-snap-align: start; }
  .vux-api-match-card:not(.is-featured) { width: min(78vw,292px); min-width: min(78vw,292px); }
  .vux-api-match-teams strong { font-size: 10px; }
  .vux-sports-skeleton { width: min(78vw,292px); min-width: min(78vw,292px); }
  .vux-sports-empty { width: calc(100vw - 16px); min-width: calc(100vw - 16px); }
  .vux-betslip-sheet { right: 8px; bottom: calc(58px + env(safe-area-inset-bottom)); left: 8px; width: auto; max-height: calc(100dvh - 118px); border-radius: 12px 12px 9px 9px; }
  #betslipContent { max-height: calc(100dvh - 244px); }
}
