/* ── Scrollbar oculta ── */
.scrollbar-none::-webkit-scrollbar { display: none; }
.scrollbar-none { scrollbar-width: none; }

/* ── Botão hamburguer ── */
.pbmenu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0.75rem;
  border-radius: 0.5rem;
  color: var(--color-text-muted);
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  background: transparent;
  border: none;
}
.pbmenu:hover { background: rgba(255,255,255,0.06); color: #fff; }
.pbmenu svg  { width: 1.25rem; height: 1.25rem; }

/* ── Badge LIVE / AO VIVO ── */
.bb-badge--live {
  animation: bb-live-pulse 2s ease-in-out infinite;
}
@keyframes bb-live-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.55; }
}

/* ── Sidebar: estados ────────────────────────────────────── */

/* No modo colapsado (desktop), esconde tudo menos os ícones */
#sidebar[data-expanded="0"] .nav-label,
#sidebar[data-expanded="0"] .sidebar-full {
  display: none !important;
}

/* No modo colapsado, centraliza os itens de navegação */
#sidebar[data-expanded="0"] .nav-item {
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

/* No modo colapsado, o nav principal fica centralizado */
#sidebar[data-expanded="0"] #bbSidebarScroll {
  padding-left: 0;
  padding-right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* No modo colapsado, os grupos de espaçamento ficam full width */
#sidebar[data-expanded="0"] #bbSidebarScroll > div,
#sidebar[data-expanded="0"] .section-group {
  width: 100%;
}

/* No modo colapsado, os acordeões ficam sempre visíveis (só ícones) */
#sidebar[data-expanded="0"] .section-content {
  display: block !important;
}

/* No modo colapsado, esconde o botão toggle das seções */
#sidebar[data-expanded="0"] .section-toggle {
  display: none;
}

/* Ícone de nav: tamanho maior */
.nav-icon {
  min-width: 22px;
  width: 22px;
  height: 22px;
}

/* Item de nav no modo colapsado: altura generosa e centralizado */
#sidebar[data-expanded="0"] .nav-item {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  margin: 0 auto;
  width: 44px;
}

/* Sidebar: overflow escondido para não mostrar texto cortado */
#sidebar {
  overflow: hidden;
}

/* ── x-collapse (Alpine transition helper) ── */

/* ── Cabeçalho colapsado: centraliza hamburguer, esconde logo ── */
#sidebar[data-expanded="0"] .sidebar-logo {
  display: none;
}

#sidebar[data-expanded="0"] .sidebar-header {
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
}

#sidebar[data-expanded="0"] .pbmenu {
  margin: 0;
}

/* ── Espaçamento entre ícones no modo colapsado ── */
#sidebar[data-expanded="0"] .space-y-0\.5 > * + *,
#sidebar[data-expanded="0"] .space-y-6 > * + * {
  margin-top: 4px;
}

/* ── Border-bottom do bloco de tabs oculto no colapsado ── */
#sidebar[data-expanded="0"] .sidebar-full.border-b {
  display: none !important;
}

/* ══════════════════════════════════════════════════
   NEON — Efeitos de brilho inspirados no estilo
   de plataformas de cassino online
   ══════════════════════════════════════════════════ */

/* ── Sidebar: neon suave interno esquerdo ── */
#sidebar {
  border-right: 1px solid var(--color-border);
  border-left: none;
  box-shadow: inset 3px 0 20px var(--glass-bar-tint);
}

/* ── Header: linha neon embaixo ── */
#main-header {
  border-bottom: 1px solid rgba(1, 93, 242, 0.18);
  box-shadow: 0 1px 20px rgba(1, 93, 242, 0.07);
}

/* ── Item ativo da nav: glow no ícone ── */
.nav-item[aria-current="page"] .nav-icon,
.nav-item[aria-current="page"] svg {
  filter: drop-shadow(0 0 6px var(--color-primary-glow));
}

/* ── Botão Cassino ativo: glow ── */
.tab-active {
  box-shadow: 0 0 12px var(--color-primary-glow-sm),
              inset 0 1px 0 rgba(255,255,255,0.15);
}

/* ── Botão Cadastrar: glow ── */
.btn-primary {
  box-shadow: 0 0 14px var(--color-primary-glow-sm),
              0 2px 8px rgba(1, 93, 242, 0.4);
}

/* ── Hover em itens da nav: micro glow no ícone ── */
.nav-item:hover .nav-icon,
.nav-item:hover svg {
  filter: drop-shadow(0 0 4px rgba(1, 93, 242, 0.4));
  transition: filter 0.2s;
}

/* ── Barrinhas de seção: glow neon ── */
.neon-bar {
  box-shadow: 0 0 8px var(--color-primary-glow),
              0 0 16px var(--color-primary-glow-sm);
}
.pbmenu:hover {
  box-shadow: 0 0 10px rgba(1, 93, 242, 0.25);
}

/* ── Badge LIVE: glow vermelho (mantém o estilo original) ── */
.bb-badge--live {
  box-shadow: 0 0 6px rgba(248, 113, 113, 0.4);
}

/* ══════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════ */

.site-footer {
  margin: 2rem 0.75rem 1.5rem;
}

@media (min-width: 768px) {
  .site-footer { margin: 2.5rem 1rem 1.5rem; }
}

.footer-inner {
  border-radius: 1rem;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  padding: 1.375rem 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .footer-inner { padding: 1.75rem; }
}

/* Topo */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-logo img {
  display: block;
  height: auto;
  width: 120px;
}

@media (min-width: 768px) {
  .footer-logo img { width: 150px; }
}

/* Redes sociais */
.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social :is(a,span) {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--color-text-muted);
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}

.footer-social a:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* Grid */
.footer-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.25rem;
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: minmax(0,1fr) minmax(300px,580px);
    gap: 3rem;
  }
}

/* Links */
.footer-inner h4 {
  margin: 0 0 0.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links :is(a,span) {
  display: block;
  padding: 0.375rem 0;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: #fff; }

/* Apps */
.footer-apps {
  display: grid;
  gap: 0.625rem;
}

@media (min-width: 768px) {
  .footer-apps { grid-template-columns: 1fr 1fr; }
}

.footer-app {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 72px;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.04);
}

.footer-app svg {
  width: 28px;
  height: 28px;
  color: #fff;
  flex-shrink: 0;
}

.footer-app b {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
}

.footer-app small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.6875rem;
}

.footer-pwa {
  grid-column: 1 / -1;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.04);
  font-size: 0.75rem;
}

.footer-pwa b {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #fff;
}

.footer-pwa p {
  margin: 0 0 0.5rem;
}

.footer-pwa p:last-child { margin: 0; }

/* Legal */
.footer-legal {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.75rem;
}

.footer-legal p {
  margin: 0 0 0.75rem;
}

/* Rodapé inferior */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  font-size: 0.75rem;
}

.footer-18 {
  font-weight: 800;
  font-size: 0.9375rem;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 2px 9px;
  line-height: 1.2;
}

/* ── Footer badges ── */
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
}

.footer-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 1rem;
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
}

.footer-badge img {
  display: block;
  height: 24px;
  width: auto;
}

/* Badge 18+ em HTML puro */
.footer-badge--18 {
  padding: 0 0.75rem;
}

.footer-badge--18 span {
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 2px 10px;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════════════
   MODAL — LOGIN
   ══════════════════════════════════════════════════ */

/* Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.75rem 0.75rem 1rem;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.modal-overlay[hidden] {
  display: none !important;
}

.modal-overlay.is-open {
  opacity: 1;
}

/* Card */
.modal-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--color-surface-2);
  border: none;
  border-radius: 1.25rem;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.22s ease, opacity 0.22s ease;
  opacity: 0;
}

.modal-overlay.is-open .modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Botão fechar */
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s;
}

.modal-close:hover { background: rgba(0, 0, 0, 0.7); }
.modal-close svg { width: 1rem; height: 1rem; }

/* Banner imagem */
.modal-banner {
  width: 100%;
  border-radius: 1.25rem 1.25rem 0 0;
  overflow: hidden;
  line-height: 0;
}

.modal-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Corpo */
.modal-body {
  padding: 1rem 1.25rem 1.5rem;
}

.modal-subtitle {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

/* Form */
.modal-form { display: flex; flex-direction: column; gap: 1rem; }

.modal-field { display: flex; flex-direction: column; gap: 0.5rem; }

.modal-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.modal-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.modal-input-icon {
  position: absolute;
  left: 0.875rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.modal-input {
  width: 100%;
  height: 3.5rem;
  padding-left: 3rem;
  padding-right: 1rem;
  border-radius: 0.875rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.modal-input--pw { padding-right: 3rem; }

.modal-input::placeholder { color: rgba(139, 143, 168, 0.5); }

.modal-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(1, 93, 242, 0.15);
}

/* Toggle senha */
.modal-pw-toggle {
  position: absolute;
  right: 0.5rem;
  padding: 0.5rem;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

.modal-pw-toggle:hover { color: #fff; }

/* Esqueci */
.modal-forgot {
  display: flex;
  justify-content: flex-end;
}

.modal-forgot a {
  font-size: 0.875rem;
  color: var(--color-primary);
  text-decoration: none;
}

.modal-forgot a:hover { text-decoration: underline; }

/* Botão submit */
.modal-submit {
  width: 100%;
  height: 3.75rem;
  border-radius: 1rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(1, 93, 242, 0.35);
  transition: filter 0.15s, box-shadow 0.15s;
  margin-top: 0.25rem;
}

.modal-submit:hover { filter: brightness(1.1); }
.modal-submit:active { filter: brightness(0.95); }
.modal-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* Links rodapé */
.modal-footer-link {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-top: 0.875rem;
}

.modal-footer-link:first-of-type { margin-top: 1.5rem; }

.modal-footer-link a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}

.modal-footer-link a:hover { text-decoration: underline; }

/* ── Modal register: extras ── */
.modal-title {
  font-size: 1.75rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.375rem;
}

.modal-switch-link {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}
.modal-switch-link:hover { text-decoration: underline; }

.modal-hint {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* Prefixo +55 no celular */
.modal-input-icon--phone {
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.modal-phone-prefix {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.modal-input--phone {
  padding-left: 5rem;
}

/* Barra de força da senha */
.pw-strength {
  margin-top: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pw-strength.hidden { display: none; }

.pw-strength-bars {
  display: flex;
  gap: 0.25rem;
  flex: 1;
}

.pw-bar {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  transition: background 0.25s;
}

/* Nível 1 — fraca: vermelho */
.pw-bar.active-weak   { background: #ef4444; }
/* Nível 2 — média: laranja */
.pw-bar.active-fair   { background: #f97316; }
/* Nível 3 — boa: amarelo */
.pw-bar.active-good   { background: #eab308; }
/* Nível 4 — forte: verde */
.pw-bar.active-strong { background: #22c55e; }

.pw-strength-label {
  font-size: 0.6875rem;
  font-weight: 700;
  white-space: nowrap;
  min-width: 5rem;
  text-align: right;
}

/* Termos */
.modal-terms {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.modal-terms a {
  color: inherit;
  text-decoration: underline;
}

.modal-terms a:hover { color: #fff; }

/* Submit com ícone (registro) */
.modal-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* ══════════════════════════════════════════════════
   BOTTOM NAV — mobile
   ══════════════════════════════════════════════════ */

.bottom-nav {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}

/* Item padrão */
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 0.5rem;
  gap: 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav-item:active { background: rgba(255,255,255,0.05); }
.bottom-nav-item:hover  { color: #fff; }

.bottom-nav-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.bottom-nav-emoji {
  display: block;
  font-size: 1.375rem;
  line-height: 1;
  filter: grayscale(1) brightness(1.25) opacity(0.55);
  transition: filter 0.18s;
}

.bottom-nav-item:hover .bottom-nav-emoji {
  filter: none;
}

/* Botão depositar (central, elevado) */
.bottom-nav-deposit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 0.375rem;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav-orb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  margin-top: -2.25rem;
  margin-bottom: 0.125rem;
  outline: 4px solid var(--color-surface);
  background: linear-gradient(
    135deg,
    color-mix(in oklab, var(--color-primary) 70%, #fff),
    var(--color-primary),
    color-mix(in oklab, var(--color-primary) 65%, #000)
  );
  transition: transform 0.15s;
  box-shadow: 0 4px 20px rgba(1, 93, 242, 0.45);
}

.bottom-nav-deposit:active .bottom-nav-orb { transform: scale(0.94); }

.bottom-nav-orb svg {
  width: 2rem;
  height: 2rem;
  color: #fff;
}

.bottom-nav-deposit-label {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

/* Compensa a altura do bottom nav no conteúdo */
@media (max-width: 1023px) {
  #main-content {
    padding-bottom: calc(4rem + env(safe-area-inset-bottom));
  }
}

/* ══════════════════════════════════════════════════
   BANNER CAROUSEL
   ══════════════════════════════════════════════════ */

.banner-section {
  position: relative;
  padding: 0.75rem 1rem 0;
}

@media (min-width: 1024px) {
  .banner-section { padding: 1rem 1.5rem 0; }
}

.banner-track-wrap {
  border-radius: 0.875rem;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .banner-track-wrap { border-radius: 1rem; }
}

.banner-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.banner-slide {
  flex: 0 0 100%;
  display: block;
  line-height: 0;
  aspect-ratio: 3/2;
}

@media (min-width: 640px) {
  .banner-slide { aspect-ratio: 16/5; }
}

.banner-slide img,
.banner-slide picture {
  width: 100%;
  height: 100%;
  display: block;
}

.banner-slide picture img {
  object-fit: cover;
}

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 0.625rem;
}

.banner-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: width 0.25s, background 0.25s;
  padding: 0;
}

.banner-dot.active {
  width: 1.25rem;
  background: var(--color-primary);
}

/* ══════════════════════════════════════════════════
   SEARCH
   ══════════════════════════════════════════════════ */

.search-section {
  padding: 1rem 1rem 0;
}

@media (min-width: 1024px) {
  .search-section { padding: 1rem 1.5rem 0; }
}

.search-wrap {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 3rem;
  padding-left: 3rem;
  padding-right: 1rem;
  border-radius: 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: #fff;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.search-input::placeholder { color: var(--color-text-muted); }

.search-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(1, 93, 242, 0.15);
}

/* ══════════════════════════════════════════════════
   SEÇÕES DE JOGOS — header
   ══════════════════════════════════════════════════ */

.games-section,
.providers-section {
  padding: 1.5rem 1rem 0;
}

@media (min-width: 1024px) {
  .games-section,
  .providers-section { padding: 2rem 1.5rem 0; }
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  margin: 0;
}

@media (min-width: 1024px) {
  .section-title { font-size: 1.0625rem; }
}

.section-accent {
  display: inline-block;
  width: 5px;
  height: 1.05em;
  border-radius: 9999px;
  background: var(--color-primary);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--color-primary-glow-sm);
}

.section-icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  width: 100%;
  margin-top: -0.25rem;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  margin-left: 0.25rem;
}

.live-dot span:first-child {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #22c55e;
  opacity: 0.7;
  animation: ping 1.5s ease-in-out infinite;
}

.live-dot span:last-child {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #22c55e;
}

@keyframes ping {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(2); opacity: 0; }
}

.section-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.scroll-btn {
  display: none;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

@media (min-width: 1024px) {
  .scroll-btn { display: flex; }
}

.scroll-btn:hover { background: rgba(255,255,255,0.05); color: #fff; }
.scroll-btn svg { width: 1rem; height: 1rem; }

.ver-todos-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(1, 93, 242, 0.45);
  color: var(--color-primary);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.15s;
}

@media (min-width: 1024px) {
  .ver-todos-btn { font-size: 0.75rem; padding: 0.375rem 0.875rem; }
}

.ver-todos-btn:hover { background: rgba(1, 93, 242, 0.1); }
.ver-todos-btn svg { width: 0.75rem; height: 0.75rem; }

/* ══════════════════════════════════════════════════
   GAME CARDS — track horizontal
   ══════════════════════════════════════════════════ */

.games-track {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-bottom: 1rem;
}

@media (min-width: 1024px) {
  .games-track { gap: 0.75rem; }
}

.games-track::-webkit-scrollbar { display: none; }

.game-card {
  flex: 0 0 calc(33.333% - 0.35rem);
  min-width: 0;
  position: relative;
  isolation: isolate;
  padding-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .game-card { flex: 0 0 calc(25% - 0.4rem); }
}

@media (min-width: 768px) {
  .game-card { flex: 0 0 calc(20% - 0.4rem); }
}

@media (min-width: 1024px) {
  .game-card {
    flex: 0 0 calc(16.666% - 0.625rem);
    transition: transform 0.15s;
  }
  .game-card:hover { transform: translateY(-2px); }
}

.game-thumb {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, #3f3f46, #27272a);
  border: 1px solid rgba(255,255,255,0.05);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s;
}

@media (min-width: 1024px) {
  .game-thumb { border-radius: 0.75rem; }
  .game-card:hover .game-thumb { border-color: rgba(1, 93, 242, 0.5); }
}

.game-placeholder {
  font-size: 0.625rem;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  text-align: center;
  padding: 0.5rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .game-placeholder { font-size: 0.75rem; }
}

.game-badge {
  position: absolute;
  top: 0.375rem;
  right: 0.375rem;
  z-index: 10;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.5625rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  background: #f59e0b;
  color: #1c1917;
}

@media (min-width: 1024px) {
  .game-badge { top: 0.5rem; right: 0.5rem; font-size: 0.625rem; padding: 0.1875rem 0.5rem; }
}

.game-badge--live {
  background: #ef4444;
  color: #fff;
}

/* Info "Pagou hoje" */
.game-info {
  position: absolute;
  left: 0.25rem;
  right: 0.25rem;
  bottom: 0;
  z-index: 10;
  border-radius: 0.5rem;
  background: rgba(0,0,0,0.95);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.375rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .game-info { left: 0.375rem; right: 0.375rem; padding: 0.5rem 0.625rem; gap: 0.625rem; }
}

.game-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--color-primary-dim);
  color: var(--color-primary);
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .game-info-icon { width: 1.5rem; height: 1.5rem; }
}

.game-info-icon svg {
  width: 0.625rem;
  height: 0.625rem;
}

@media (min-width: 1024px) {
  .game-info-icon svg { width: 0.75rem; height: 0.75rem; }
}

.game-info-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  justify-content: center;
}

.game-paid-label {
  font-size: 0.5625rem;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .game-paid-label { font-size: 0.6875rem; }
}

.game-paid-val {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #f4f4f5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 1024px) {
  .game-paid-val { font-size: 0.875rem; }
}

/* ══════════════════════════════════════════════════
   MAIORES GANHOS — track
   ══════════════════════════════════════════════════ */

.wins-track {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}

.wins-track::-webkit-scrollbar { display: none; }

.win-card {
  flex: 0 0 10rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  text-decoration: none;
  transition: background 0.15s;
  min-width: 0;
}

.win-card:hover { background: var(--color-surface-2); }

.win-thumb {
  flex-shrink: 0;
  width: 3rem;
  aspect-ratio: 3/4;
  border-radius: 0.375rem;
  overflow: hidden;
  background: linear-gradient(135deg, #3f3f46, #27272a);
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-placeholder-sm {
  font-size: 0.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 0.25rem;
  line-height: 1.2;
}

.win-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.win-name {
  font-size: 0.8125rem;
  font-weight: 900;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.win-game {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.win-val {
  font-size: 0.625rem;
  white-space: nowrap;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}

/* ══════════════════════════════════════════════════
   PROVEDORES
   ══════════════════════════════════════════════════ */

.providers-track {
  display: flex;
  gap: 0.625rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-bottom: 1rem;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 18px, #000 calc(100% - 18px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 18px, #000 calc(100% - 18px), transparent);
}

.providers-track::-webkit-scrollbar { display: none; }

.provider-card {
  flex: 0 0 7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.875rem 0.75rem;
  border-radius: 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

@media (min-width: 640px) {
  .provider-card { flex: 0 0 7.5rem; }
}

.provider-card:hover {
  border-color: rgba(1, 93, 242, 0.55);
  background: color-mix(in oklab, var(--color-primary) 8%, var(--color-surface));
}

.provider-logo-wrap {
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.provider-logo-wrap img {
  max-height: 2.25rem;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}

.provider-text {
  font-size: 0.8125rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.85);
  text-align: center;
  line-height: 1.2;
}

.provider-count {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
}

/* ══════════════════════════════════════════════════
   POPUP — INSTALAR APP
   ══════════════════════════════════════════════════ */

.install-popup {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0.75rem 1rem;
  opacity: 0;
  transition: opacity 0.2s;
}

@media (min-width: 480px) {
  .install-popup { align-items: center; padding: 1rem; }
}

.install-popup[hidden] { display: none !important; }
.install-popup.is-open { opacity: 1; }

.install-popup-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 1.25rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.install-popup.is-open .install-popup-card { transform: translateY(0); }

.install-popup-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.install-popup-close:hover { background: rgba(255,255,255,0.15); color: #fff; }
.install-popup-close svg { width: 0.875rem; height: 0.875rem; }

.install-popup-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-right: 2rem;
}

.install-popup-logo {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.install-popup-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.install-popup-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin: 0.125rem 0 0;
}

.install-popup-steps {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.install-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--color-surface);
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.install-step strong { color: #fff; }

.install-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--color-primary-dim);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.install-popup-btn-secondary {
  width: 100%;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.install-popup-btn-secondary:hover { background: rgba(255,255,255,0.1); color: #fff; }

.install-popup-btn-primary {
  width: 100%;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.875rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(1, 93, 242, 0.35);
  transition: filter 0.15s;
}

.install-popup-btn-primary:hover { filter: brightness(1.1); }

/* Conta autenticada: saldo real e atalhos no header. */
.account-header{display:flex;align-items:center;gap:13px;margin-left:auto;font-size:14px}
.account-wallet{display:flex;align-items:stretch;border:1px solid #303033;border-radius:9px;overflow:hidden;height:40px}
.account-balance{display:flex;flex-direction:column;justify-content:center;padding:0 13px;background:#222225;min-width:78px}
.account-balance>span{font-size:10px;color:#a1a1aa;line-height:12px;font-weight:600}
.account-balance strong{font-size:15px;white-space:nowrap;line-height:19px}
.account-deposit{display:flex;align-items:center;gap:8px;padding:0 14px;background:#7c4dff;color:#101018;font-weight:700;white-space:nowrap}
.account-deposit-label{font-family:inherit;font-size:14px;font-weight:700;line-height:20px}
.account-deposit:hover{background:#9068ff}
.account-withdraw{height:40px;padding:0 13px;background:#222225;border:1px solid #303033;border-radius:9px;color:white;font-weight:700}
.account-withdraw:disabled{cursor:not-allowed}
.account-icon{display:flex;color:#7c4dff;padding:7px}
.account-games{font-size:23px;line-height:1;padding:4px}
.account-menu{position:relative}
.account-menu>summary{list-style:none;cursor:pointer}
.account-menu>summary::-webkit-details-marker{display:none}
.account-avatar{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:9px;background:linear-gradient(135deg,#7c4dff,#291148);color:#101018;font-weight:700}
.account-dropdown{position:absolute;right:0;top:calc(100% + 14px);width:230px;padding:16px;background:#222225;border:1px solid #39393e;border-radius:10px;box-shadow:0 12px 30px #0008;z-index:30;color:white}
.account-dropdown strong{display:block;overflow-wrap:anywhere;margin-bottom:12px}
.account-dropdown button{padding:8px 16px;border:1px solid #555;border-radius:7px;color:white}
.account-header a:focus-visible,.account-header summary:focus-visible{outline:2px solid #b39aff;outline-offset:3px}
@media(max-width:600px){
 #main-header:has(.account-header)>div{height:auto;min-height:64px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}
 .account-header{gap:8px}
 .account-balance{padding:0 8px;min-width:65px}
 .account-deposit{padding:0 10px;gap:5px}
 .account-withdraw{padding:0 10px}
 .account-games{font-size:20px}
}
@media(max-width:380px){.account-header{gap:5px;font-size:12px}.account-avatar{width:34px}.account-icon{padding:3px}.account-deposit{padding:0 7px}.account-balance strong{font-size:13px}}

/* Header adaptado ao backend CHINA. */
.account-header{gap:12px}
.account-wallet,.account-balance,.account-withdraw{background:var(--color-surface-2);border-color:var(--color-border)}
.account-balance{border:0;color:var(--color-text);text-align:left;cursor:pointer;align-items:flex-start}
.account-balance:hover{filter:brightness(1.15)}
.account-balance>span{color:var(--color-text-muted);letter-spacing:.04em}
.account-deposit{background:var(--color-primary);font-family:inherit;font-size:14px;font-weight:700;gap:6px;padding:0 12px}
.account-deposit:hover{background:var(--color-primary);opacity:.9}
.account-icon{color:var(--color-primary)}
.account-avatar{background:linear-gradient(135deg,var(--color-primary),var(--color-primary-dim))}
.account-dropdown{background:var(--color-surface);border-color:var(--color-border)}
.account-profile{padding:0;overflow:hidden}
.account-profile-info{padding:14px 16px;border-bottom:1px solid var(--color-border)}
.account-profile-info strong{margin:0 0 5px}
.account-profile-info>span{display:block;font-size:12px;color:var(--color-text-muted);overflow-wrap:anywhere}
.account-profile>a,.account-profile>button,.account-profile form>button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:11px 16px;text-align:left;font-size:14px;color:var(--color-text);border:0;border-radius:0;background:none}
.account-profile>a:hover,.account-profile form>button:hover{background:var(--color-surface-2)}
.account-profile button:disabled{color:var(--color-text-muted);cursor:not-allowed}
.account-profile small{font-size:10px}
.account-profile form{border-top:1px solid var(--color-border)}
.account-profile form>.account-logout{color:#fca5a5}
@media(max-width:1023px){.account-withdraw{display:none}}
@media(max-width:639px){.account-deposit-label{display:none}.account-header{gap:6px}.account-deposit{padding:0 10px}}
@media(max-width:420px){.header-mobile-logo img{max-width:85px}.account-header{gap:3px}.account-icon{padding:3px}.account-games{padding:2px}.account-balance{min-width:64px}}

/* Avatar com halo azul moderado e menu da conta. */
.account-avatar{border:1px solid #74aaff;box-shadow:0 0 0 1px rgba(1,93,242,.25),0 0 11px rgba(1,93,242,.48),inset 0 0 8px rgba(1,93,242,.18);transition:box-shadow .2s}
.account-avatar:hover,.account-menu[open]>.account-avatar{box-shadow:0 0 0 1px rgba(1,93,242,.35),0 0 15px rgba(1,93,242,.6),inset 0 0 8px rgba(1,93,242,.22)}
.account-profile{width:224px;background:#222;border:1px solid #303030;border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.4);top:calc(100% + 10px)}
.account-profile-info{padding:14px 16px 12px;border-color:#333}
.account-profile-info strong{font-size:14px;line-height:20px;margin:0;font-weight:700}
.account-profile-info>span{font-size:12px;line-height:18px;color:#9ca3af}
.account-profile>a,.account-profile>button,.account-profile form>button{justify-content:flex-start;gap:12px;min-height:44px;padding:12px 16px;font-weight:600;font-size:14px;color:#f4f4f5}
.account-menu-icon{flex-shrink:0;color:#9ca3af}
.account-profile>a:hover,.account-profile form>button:hover{background:#2d2d2d}
.account-profile>.account-promotions{border-top:1px solid #333;margin-top:4px;padding-top:14px;padding-bottom:14px}
.account-profile button:disabled{color:#d4d4d8}
.account-profile form{border-color:#333}
.account-profile form>.account-logout,.account-logout .account-menu-icon{color:#ff9393}

.account-avatar{color:#fff}

/* Mobile account bar: logo, notifications, wallet, rewards and profile. */
@media(max-width:1023px){
 #main-header:has(.account-header)>div{height:56px;min-height:56px;flex-wrap:nowrap;gap:8px;padding:0 12px}
 #main-header:has(.account-header) #mobile-menu-btn{display:none}
 #main-header:has(.account-header) .header-mobile-logo{flex-shrink:1;min-width:0}
 #main-header:has(.account-header) .header-mobile-logo img{width:112px;max-width:100%;height:32px;object-fit:contain}
 #main-header .account-header{gap:8px;flex-shrink:0;margin-left:auto}
 #main-header .account-withdraw{display:none!important}
 #main-header .account-icon,#main-header .account-games{display:flex;align-items:center;justify-content:center;width:32px;height:40px;padding:0}
 #main-header .account-icon svg{width:23px;height:23px}
 #main-header .account-wallet{height:40px;border-radius:8px}
 #main-header .account-balance{min-width:68px;padding:0 9px}
 #main-header .account-balance>span{font-size:9px;line-height:11px}
 #main-header .account-balance strong{font-size:13px;line-height:17px}
 #main-header .account-deposit{width:42px;justify-content:center;padding:0}
 #main-header .account-deposit svg{width:20px;height:20px}
 #main-header .account-deposit-label{display:none}
 #main-header .account-avatar{width:36px;height:36px;border:1px solid #74aaff;box-shadow:0 0 0 1px rgba(1,93,242,.25),0 0 11px rgba(1,93,242,.48),inset 0 0 8px rgba(1,93,242,.18);border-radius:8px;font-size:14px}
 #main-header .account-avatar:hover,#main-header .account-menu[open]>.account-avatar{box-shadow:0 0 0 1px rgba(1,93,242,.35),0 0 15px rgba(1,93,242,.6),inset 0 0 8px rgba(1,93,242,.22)}
}
@media(max-width:359px){
 #main-header:has(.account-header)>div{gap:4px;padding:0 8px}
 #main-header .account-header{gap:4px}
 #main-header:has(.account-header) .header-mobile-logo img{width:85px}
 #main-header .account-icon,#main-header .account-games{width:28px}
 #main-header .account-deposit{width:36px}
}

/* Official game covers from the synchronized provider catalog. */
.game-thumb .home-game-cover,.win-thumb .home-game-cover{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}.win-thumb{position:relative}.home-game-cover[hidden]{display:none!important}

.game-search-submit{border:0;border-radius:10px;background:#015df2;color:#fff;padding:10px 16px;font-weight:700;cursor:pointer;flex-shrink:0}.search-wrap .search-input{flex:1;min-width:0;width:auto}.game-card[role=button],.slot-cover[role=button]{cursor:pointer}.game-card[role=button]:focus-visible,.slot-cover[role=button]:focus-visible{outline:2px solid #015df2;outline-offset:3px}.game-pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:24px}.game-pagination a{padding:9px 15px;border-radius:10px;background:#015df2;color:white}.catalog-feedback{font-size:13px;color:#9ca3af;margin-bottom:14px}.site-footer span{cursor:default}

.search-wrap{display:flex;align-items:center;gap:10px}.search-wrap .game-search-submit{height:48px}

/* Mobile uses the menu in the bottom navigation. */
@media (max-width: 1023px) {
  #main-header #mobile-menu-btn { display: none !important; }
}

.search-section{position:relative;z-index:15}
.home-search-suggestions{position:absolute;top:100%;left:1rem;right:1rem;margin-top:8px;padding:16px;background:#10121c;border:1px solid #28334d;border-radius:14px;box-shadow:0 18px 50px #000b;max-height:65vh;overflow:auto}
.home-search-suggestions[hidden]{display:none}
.home-search-status{color:#a9b3c8;font-size:13px;margin:0 0 12px}
.home-search-results{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.home-search-results .home-search-game{width:100%;min-width:0;display:flex;align-items:center;gap:10px;border:1px solid #252b3a;border-radius:10px;background:#171b27;color:#fff;padding:8px;cursor:pointer;text-align:left}
.home-search-game img{width:48px;height:64px;object-fit:cover;border-radius:6px;flex-shrink:0}
.home-search-game span{font-size:13px;overflow-wrap:anywhere}
.home-search-all{display:block;margin-top:14px;color:#5095ff;font-size:14px}
@media(min-width:1024px){.home-search-suggestions{left:1.5rem;right:1.5rem}}
@media(max-width:700px){.home-search-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.home-search-results{grid-template-columns:1fr}}

.account-notifications{position:relative}.notice-count{position:absolute;top:-4px;right:-7px;min-width:17px;padding:2px 4px;border-radius:12px;background:#ef4444;color:#fff;font-size:10px;text-align:center;pointer-events:none}.notice-count[hidden]{display:none}.account-notifications .notices-dropdown{width:min(340px,calc(100vw - 24px));max-height:60vh;overflow-y:auto}.notices-list article{padding:12px 0;border-bottom:1px solid #303545}.notices-list article:last-child{border-bottom:0}.notices-list strong{margin:0 0 6px;font-size:14px}.notices-list p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.5}.notices-list time{display:block;font-size:11px;color:#9299ad;margin-top:6px}.notices-feedback{font-size:13px;color:#9299ad}

@media(max-width:600px){.account-notifications .notices-dropdown{position:fixed;top:68px;right:12px;width:calc(100vw - 24px)}}

.account-notifications .notices-dropdown{overflow:visible;max-height:none;padding:0;border-radius:14px;box-shadow:0 16px 45px #0009}
.notices-dropdown::before{content:'';position:absolute;right:12px;top:-7px;width:12px;height:12px;transform:rotate(45deg);background:var(--color-surface);border-top:1px solid var(--color-border);border-left:1px solid var(--color-border)}
.notices-heading{padding:15px 16px;border-bottom:1px solid var(--color-border);font-size:14px;font-weight:800}
.notices-scroll{padding:0 16px;max-height:52vh;overflow-y:auto;overscroll-behavior:contain}
.notices-scroll .notices-feedback{padding:16px 0}
.account-notifications[open] .notices-dropdown{animation:notice-drop .18s ease-out}
@keyframes notice-drop{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.account-notifications[open] .notices-dropdown{animation:none}}
@media(max-width:600px){.notices-dropdown::before{display:none}}

@media(max-width:1023px){
  #sidebar:not([data-mobile-open="1"]){transform:translateX(-100%) !important;pointer-events:none}
  #sidebar[data-mobile-open="1"]{transform:translateX(0) !important;pointer-events:auto}
}

.profile-notifications{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px}.profile-notifications .profile-help{margin:6px 0 0;font-size:13px}.profile-push-toggle{flex:0 0 48px;width:48px;height:28px;border:1px solid #50555d;border-radius:99px;background:#343840;padding:3px;cursor:pointer;transition:background .2s}.profile-push-toggle span{display:block;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .2s}.profile-push-toggle[aria-checked="true"]{background:#015df2;border-color:#015df2}.profile-push-toggle[aria-checked="true"] span{transform:translateX(20px)}.profile-push-toggle:focus-visible{outline:2px solid #74aaff;outline-offset:4px}.profile-push-toggle:disabled{opacity:.55;cursor:wait}@media(prefers-reduced-motion:reduce){.profile-push-toggle,.profile-push-toggle span{transition:none}}

/* Mobile background and translucent bottom navigation. */
@media (max-width:1023px){
  body{background:#0a0a0a !important;}
  .bottom-nav{background:rgba(12,12,18,.92);border-top:1px solid rgba(255,255,255,.09);box-shadow:0 -6px 24px rgba(0,0,0,.22);}
  @supports ((backdrop-filter:blur(18px)) or (-webkit-backdrop-filter:blur(18px))){
    .bottom-nav{background:rgba(12,12,18,.68);-webkit-backdrop-filter:blur(18px) saturate(140%);backdrop-filter:blur(18px) saturate(140%);}
  }
}

@media(max-width:1023px){
  #main-content,#main-area,#home-view{background:transparent !important;}
  #main-content{position:relative;z-index:1;}
  body::before{content:'';position:fixed;inset:0;z-index:0;pointer-events:none;background:
    radial-gradient(75% 60% at 50% 38%,color-mix(in oklab,#0a0a0a 90%,#fff 10%),transparent 70%),
    radial-gradient(120% 90% at 50% 120%,color-mix(in oklab,#0a0a0a 88%,#000 12%),transparent 60%);}
  body::after{content:'';position:fixed;inset:0;z-index:0;pointer-events:none;opacity:.03;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");}
}

@media(max-width:1023px){#bb-enable-push,#bb-push-hint{display:none !important;}}

/* Keep editable text at 16px to prevent iOS focus zoom. */
@media(max-width:1023px){
  body input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
  body textarea,body select,body [contenteditable="true"]{font-size:16px !important;}
}

/* Desktop page scrollbar: dark track and rounded gray thumb. */
@media(min-width:1024px){
  html{scrollbar-color:#444 #0a0a0a;scrollbar-width:thin;}
  html::-webkit-scrollbar,body::-webkit-scrollbar{width:10px;}
  html::-webkit-scrollbar-track,body::-webkit-scrollbar-track{background:#0a0a0a;}
  html::-webkit-scrollbar-thumb,body::-webkit-scrollbar-thumb{background:#444;border-radius:999px;border:1px solid #0a0a0a;}
  html::-webkit-scrollbar-thumb:hover,body::-webkit-scrollbar-thumb:hover{background:#5b5b5b;}
  html::-webkit-scrollbar-button,body::-webkit-scrollbar-button{display:none;width:0;height:0;}
  html::-webkit-scrollbar-corner,body::-webkit-scrollbar-corner{background:#0a0a0a;}
}

/* Welcome offer */
.bdgq{position:fixed;inset:0;margin:auto;width:calc(100% - 32px);max-width:540px;max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;padding:40px 32px 30px;border:1px solid #343539;border-radius:18px;background:#18191b;color:#fff;text-align:center;font-family:inherit;box-shadow:0 24px 80px #0008}
.bdgq::backdrop{background:rgba(0,0,0,.78)}
.bdgq-x{position:absolute;top:14px;right:18px;padding:0;border:0;background:transparent;color:#96999f;font-size:30px;line-height:1;cursor:pointer}
.bdgq-k{display:inline-block;padding:7px 14px;border-radius:999px;background:rgba(1,93,242,.18);color:#6ba6ff;font-size:12px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase}
.bdgq h3{margin:18px 0 12px;font-size:32px;font-weight:800;line-height:1.2}
.bdgq p{margin:0 0 26px;color:#c3c4c8;font-size:18px;line-height:1.5}
.bdgq p b{color:#fff;font-weight:700}
.bdgq-go{display:block;width:100%;padding:18px 12px;border:0;border-radius:10px;background:#015df2;color:#fff;font-size:18px;font-weight:800;text-transform:uppercase;cursor:pointer}
.bdgq-go:hover{background:#287aff}
.bdgq-no{display:inline-block;margin-top:18px;padding:4px 8px;border:0;background:transparent;color:#96999f;font-size:15px;text-decoration:underline;cursor:pointer}
.bdgq button:focus-visible{outline:2px solid #6ba6ff;outline-offset:4px}
@media(max-width:480px){.bdgq{padding:30px 22px 24px;border-radius:14px}.bdgq h3{font-size:26px}.bdgq p{font-size:16px}.bdgq-go{padding:16px 12px;font-size:16px}.bdgq-k{font-size:10px;letter-spacing:1.2px}}
/* Sports coming soon */
.sports-page{display:grid;place-items:center;min-height:calc(100svh - 80px);padding:56px 24px 100px}
.sports-coming{width:100%;max-width:720px;text-align:center;padding:60px 32px;border:1px solid rgba(58,126,255,.2);border-radius:24px;background:radial-gradient(ellipse at 50% 0,rgba(1,93,242,.16),transparent 65%),#101218;box-shadow:0 24px 80px #0003}
.sports-ball{display:grid;place-items:center;width:96px;height:96px;margin:0 auto 28px;border-radius:28px;border:1px solid #015df255;background:#015df21a;color:#4a95ff;box-shadow:0 0 48px #015df21a}
.sports-ball svg{width:54px;height:54px}
.sports-label{display:block;color:#6ba6ff;font-size:12px;font-weight:800;letter-spacing:3px}
.sports-coming h1{margin:14px 0 20px;font-size:clamp(44px,7vw,76px);font-weight:800;line-height:1.1;letter-spacing:-2px;color:#fff}
.sports-coming h1 span{color:#015df2}
.sports-coming p{margin:0 auto 32px;max-width:480px;color:#a4adbd;font-size:16px;line-height:1.8}
.sports-home{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:16px 26px;border-radius:12px;background:#015df2;color:#fff;font-size:15px;font-weight:700;transition:background .2s;box-shadow:0 8px 28px #015df233}
.sports-home svg{width:20px;height:20px}
.sports-home:hover{background:#287aff}
.sports-home:focus-visible{outline:2px solid #6ba6ff;outline-offset:5px}
.bottom-nav-item.sports-nav-active{color:#4a95ff}
@media(max-width:639px){.sports-page{padding:36px 16px 88px;min-height:calc(100svh - 64px)}.sports-coming{padding:42px 20px;border-radius:20px}.sports-coming p{font-size:14px}.sports-ball{width:80px;height:80px}.sports-ball svg{width:46px;height:46px}}
