﻿/* ============================================================
   BETCOPA — Design System v3

   Estrutura:
     §1  Tokens dark (padrão)
     §2  Tokens light (overrides)
     §3  Escopos sempre-escuros: .header e .drawer__panel
     §4  Reset & base
     §5  Header
     §6  Mobile drawer
     §7  Botões
     §8  Alertas
     §9  Views & hero
     §10 Badges
     §11 Game cards
     §12 Panels & apostas
     §13 Ranking
     §14 Auth & formulários
     §15 Modais
     §16 Admin
     §17 Responsivo
   ============================================================ */


/* ============================================================
   §1  TOKENS — dark theme (padrão)
   ============================================================ */
:root {

  /* Superfícies */
  --bg:        #060C18;
  --surface:   #0D1626;
  --surface-2: #152032;
  --surface-3: #1C2B40;

  /* Bordas */
  --border:        rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.13);

  /* ── Verdes da marca (apenas 2 existem) ──────────────────────
     --verde-primary   → cor viva, usada em TODO lugar com verde
     --verde-secondary → sombra 3D dos botões, SOMENTE box-shadow
  ──────────────────────────────────────────────────────────── */
  --verde-primary:   #59ff15;
  --verde-secondary: #00c853;

  /* Aliases usados pelo restante do CSS */
  --primary:      var(--verde-primary);
  --primary-dark: var(--verde-secondary);
  --primary-glow: rgba(89,255,21,0.24);
  --gold:         #FFB800;
  --gold-glow:    rgba(255,184,0,0.22);
  --danger:       #FF3355;
  --danger-glow:  rgba(255,51,85,0.22);
  --info:         #4D9EFF;

  /* Energia / urgência */
  --energy:      #FF6B35;
  --energy-dark: #E55A27;
  --energy-glow: rgba(255,107,53,0.24);

  /* Texto */
  --text:       #EFF3FF;
  --text-muted: #6B7E9E;
  --text-dim:   #8FA3C0;

  /* Tints semânticos — badges, pills, estados ativos */
  --tint-primary: rgba(89,255,21,0.12);
  --tint-danger:  rgba(255,51,85,0.12);
  --tint-info:    rgba(77,158,255,0.12);
  --tint-gold:    rgba(255,184,0,0.14);

  /* Inputs */
  --input-bg:     var(--surface-2);
  --input-border: var(--border);

  /* Tints de resultado de aposta */
  --win-text:         var(--primary);
  --win-tint-bg:      var(--tint-primary);
  --tint-win-border:  rgba(89,255,21,0.30);
  --tint-win-bg:      rgba(89,255,21,0.04);
  --tint-loss-border: rgba(255,51,85,0.25);
  --tint-loss-bg:     rgba(255,51,85,0.04);

  /* Tints de alerta */
  --alert-success-bg:     rgba(89,255,21,0.10);
  --alert-success-border: rgba(89,255,21,0.22);
  --alert-danger-bg:      rgba(255,51,85,0.10);
  --alert-danger-border:  rgba(255,51,85,0.22);
  --alert-info-bg:        rgba(77,158,255,0.10);
  --alert-info-border:    rgba(77,158,255,0.22);

  /* Sombras */
  --shadow-card:       0 1px 2px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.14);
  --shadow-card-hover: 0 4px 20px rgba(0,0,0,0.28);
  --shadow-modal:      0 20px 80px rgba(0,0,0,0.55);
  --shadow-sidebar:    none;

  /* Contextos específicos */
  --ranking-winner-bg:     linear-gradient(135deg,#191000 0%,#221700 100%);
  --ranking-winner-border: rgba(255,184,0,0.24);
  --ranking-winner-shadow: 0 0 60px rgba(255,184,0,0.07);
  --modal-backdrop:        rgba(4,8,18,0.82);
  --score-shadow:          0 0 24px rgba(77,158,255,0.45);
  --ambient-glow:          rgba(89,255,21,0.08);

  /* Raios */
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
}


/* ============================================================
   §2  TOKENS — light theme (overrides)
   ============================================================ */
.theme-light {

  /* Superfícies — fundo mais rico, não lavado */
  --bg:        #e5e9f2;
  --surface:   #ffffff;
  --surface-2: #f2f5fb;
  --surface-3: #e8ecf5;

  /* Bordas — levemente mais definidas */
  --border:        rgba(15,23,42,0.10);
  --border-strong: rgba(15,23,42,0.20);

  /* Verdes da marca — mesmos tokens do tema escuro */
  --verde-primary:   #59ff15;
  --verde-secondary: #00c853;
  --primary:      var(--verde-primary);
  --primary-dark: var(--verde-secondary);
  --primary-glow: rgba(89,255,21,0.25);
  --gold:         #f59e0b;
  --gold-glow:    rgba(245,158,11,0.28);
  --danger:       #dc2626;
  --danger-glow:  rgba(220,38,38,0.22);
  --info:         #2563eb;

  /* Texto — contraste forte, hierarquia clara */
  --text:       #0b1120;
  --text-muted: #475569;
  --text-dim:   #94a3b8;

  /* Tints semânticos */
  --tint-primary: rgba(89,255,21,0.13);
  --tint-danger:  rgba(220,38,38,0.13);
  --tint-info:    rgba(37,99,235,0.13);
  --tint-gold:    rgba(245,158,11,0.14);

  /* Tints de resultado */
  --win-text:         #16a34a;
  --win-tint-bg:      rgba(22,163,74,.12);
  --tint-win-border:  rgba(5,150,105,0.32);
  --tint-win-bg:      rgba(5,150,105,0.07);
  --tint-loss-border: rgba(220,38,38,0.28);
  --tint-loss-bg:     rgba(220,38,38,0.06);

  /* Tints de alerta */
  --alert-success-bg:     rgba(5,150,105,0.11);
  --alert-success-border: rgba(5,150,105,0.25);
  --alert-danger-bg:      rgba(220,38,38,0.11);
  --alert-danger-border:  rgba(220,38,38,0.22);
  --alert-info-bg:        rgba(37,99,235,0.11);
  --alert-info-border:    rgba(37,99,235,0.22);

  /* Sombras light — limpas e sutis */
  --shadow-card:       0 1px 3px rgba(15,23,42,0.07), 0 2px 8px rgba(15,23,42,0.06);
  --shadow-card-hover: 0 4px 16px rgba(15,23,42,0.12), 0 1px 4px rgba(15,23,42,0.07);
  --shadow-modal:      0 12px 50px rgba(15,23,42,0.20);
  --shadow-sidebar:    2px 0 20px rgba(15,23,42,0.08);

  /* Contextos específicos */
  --ranking-winner-bg:     linear-gradient(135deg,#fffbeb 0%,#fef3c7 100%);
  --ranking-winner-border: rgba(245,158,11,0.30);
  --ranking-winner-shadow: 0 4px 24px rgba(245,158,11,0.12);
  --modal-backdrop:        rgba(15,23,42,0.60);
  --score-shadow:          none;
  --ambient-glow:          rgba(5,150,105,0.06);

  /* Inputs mais visíveis no tema claro */
  --input-bg:     #ffffff;
  --input-border: rgba(15,23,42,0.28);
}


/* ============================================================
   §3  ESCOPOS SEMPRE-ESCUROS
   .header e .drawer__panel mantêm tokens dark em ambos os temas.
   Declarar variáveis diretamente no elemento garante que filhos
   herdem os valores dark, independente do tema do body.
   ============================================================ */
.header,
.drawer__panel {
  --bg:          #060C18;
  --surface:     #0D1626;
  --surface-2:   #152032;
  --surface-3:   #1C2B40;
  --border:        rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.13);
  --primary:      var(--verde-primary);
  --primary-dark: var(--verde-secondary);
  --primary-glow: rgba(89,255,21,0.24);
  --text:       #EFF3FF;
  --text-muted: #6B7E9E;
  --text-dim:   #8FA3C0;
  --tint-primary: rgba(89,255,21,0.12);
  --win-text:    var(--verde-primary);
  --win-tint-bg: rgba(89,255,21,0.12);
}


/* ============================================================
   §3b  LIGHT THEME — overrides de componente
   ============================================================ */

/* ── Game cards light — limpos e sutis ───────────────────── */
.theme-light .game-card {
  box-shadow: 0 1px 3px rgba(15,23,42,.07), 0 2px 8px rgba(15,23,42,.05);
  border-color: rgba(15,23,42,.08);
  background: #ffffff;
}
.theme-light .game-card:hover {
  box-shadow: 0 4px 16px rgba(15,23,42,.1), 0 1px 4px rgba(15,23,42,.06);
}
.theme-light .game-card--live {
  box-shadow: 0 0 0 1.5px rgba(220,38,38,.18), 0 4px 16px rgba(220,38,38,.08);
}

/* ── Times — texto forte ──────────────────────────────────── */
.theme-light .game-card__name { color: #0b1120; }

/* ── Multiplier (10×) — só texto, sem caixinha ───────────── */
.theme-light .gc-meta__odd {
  color: var(--primary);
  background: transparent;
  border: none;
  padding: 0;
}

/* btn--primary global cobre dark e light — sem override necessário */
.theme-light .btn-show-more {
  background: var(--primary);
  color: #001a0d;
  box-shadow: 0 4px 0 0 var(--primary-dark), inset 0 1px 0 rgba(255,255,255,.22);
}
.theme-light .btn-show-more:hover {
  color: #001a0d;
  box-shadow: 0 6px 0 0 var(--primary-dark), inset 0 1px 0 rgba(255,255,255,.22);
}

/* ── Section headers (HOJE, AMANHÃ) ──────────────────────── */
.theme-light .games-section__title { color: #0b1120; font-weight: 800; }
.theme-light .games-section__count { background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--border); }

/* ── League tabs ──────────────────────────────────────────── */
.theme-light .league-tab {
  background: #fff;
  border-color: rgba(15,23,42,.12);
  box-shadow: 0 2px 0 0 rgba(15,23,42,.12);
  color: var(--text-muted);
}
.theme-light .league-tab--active {
  background: var(--primary);
  color: #0b1120;
  border-color: rgba(0,0,0,.15);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.25), inset 0 1px 0 rgba(0,0,0,.12);
}

/* ── Barra "Próximo Jogo" — light card elegante ──────────── */
.theme-light .ngb {
  background: #fff;
  border: 1px solid rgba(245,158,11,.28);
  border-left: 3px solid var(--gold);
  box-shadow: 0 2px 12px rgba(15,23,42,.10);
  animation: none;
}
.theme-light .ngb__dot {
  background: var(--gold);
  box-shadow: 0 0 6px rgba(245,158,11,.5), 0 0 12px rgba(245,158,11,.25);
}
.theme-light .ngb__label {
  text-shadow: none;
}
.theme-light .ngb__teams { color: #0b1120; text-shadow: none; }
.theme-light .ngb__timer-label { color: rgba(15,23,42,.45); }
.theme-light .ngb__timer-cd b {
  background: #150400;
  border-color: rgba(255,109,0,.3);
  color: #ff6d00;
  text-shadow: 0 0 6px rgba(255,109,0,.6);
  box-shadow: inset 0 1px 4px rgba(0,0,0,.6), 0 0 4px rgba(255,109,0,.22);
}
.theme-light .ngb__timer-cd i { color: rgba(255,109,0,.65); }
.theme-light .ngb__btn {
  animation: none;
  box-shadow: 0 3px 0 0 #c97d00, inset 0 1px 0 rgba(255,255,255,.22);
}
.theme-light .ngb__btn:hover {
  box-shadow: 0 5px 0 0 #c97d00, inset 0 1px 0 rgba(255,255,255,.22);
}

/* ── Ticker de atividade ──────────────────────────────────── */
.theme-light #activityTicker {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary) 50%, var(--primary) 100%);
  border: none;
}
.theme-light .activity-ticker__label { color: rgba(255,255,255,.85); }
.theme-light .activity-ticker__track { color: rgba(255,255,255,.92); }

/* ============================================================
   §4  RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* overflow-x no html + body previne scroll horizontal E mantém
   position:fixed relativo ao viewport (não ao body) */
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: 86px; /* header fixo: 60px nav + 26px ticker */
}

button, input, select { font: inherit; }
button, a, input, select, textarea, label { touch-action: manipulation; }

body::before {
  content: '';
  position: fixed;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse, var(--ambient-glow) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: min(1180px, 100% - 2rem);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.text--green  { color: var(--primary); }
.text--gold   { color: var(--gold); }
.text--danger { color: var(--danger); }
.text--muted  { color: var(--text-muted); font-size: .9rem; }
.text--dim    { color: var(--text-dim); }
.hidden       { display: none !important; }


/* ============================================================
   §5  HEADER
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(8,12,24,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 1px 0 rgba(89,255,21,.08), 0 4px 24px rgba(0,0,0,.4);
}

/* ── Bonus bar (visitantes) ──────────────────────────────── */
.bonus-bar {
  background: linear-gradient(90deg, rgba(89,255,21,.13) 0%, rgba(89,255,21,.07) 100%);
  border-bottom: 1px solid rgba(89,255,21,.22);
  padding: .45rem 0;
}
.bonus-bar__inner {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
}
.bonus-bar__icon { color: var(--primary); font-size: 1rem; flex-shrink: 0; }
.bonus-bar__text { flex: 1; min-width: 0; font-size: .83rem; color: #d4ffc0; }
.bonus-bar__text strong { color: #fff; }
.bonus-bar__btn  { flex-shrink: 0; font-size: .78rem; padding: .3rem .75rem; }
.bonus-bar__close {
  flex-shrink: 0; border: none; background: none; cursor: pointer;
  color: var(--text-muted); font-size: .8rem; padding: 2px 5px;
  border-radius: 50%; transition: background .15s;
}
.bonus-bar__close:hover { background: rgba(255,255,255,.1); }
.theme-light .bonus-bar__icon  { color: var(--primary); }
.theme-light .bonus-bar__text  { color: rgba(255,255,255,.88); }
.theme-light .bonus-bar__text strong { color: #fff; }
.theme-light .bonus-bar__close { color: rgba(255,255,255,.6); }
.theme-light .bonus-bar__close:hover { background: rgba(255,255,255,.12); }
@media (max-width: 480px) {
  .bonus-bar__text { font-size: .78rem; }
  .bonus-bar__btn  { padding: .28rem .6rem; font-size: .74rem; }
}

/* ── Gate view (form de login dentro do bce-hero) ─────────── */
.gate-login-form {
  display: flex; flex-direction: column; gap: 1rem;
  margin-top: 1.4rem;
  text-align: left;
}
.gate-login-form form {
  display: flex; flex-direction: column; gap: 1rem;
}
.gate-magic__input {
  width: 100%; box-sizing: border-box;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: .6rem;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
}
.gate-magic__input:focus { outline: none; border-color: var(--primary); }
.gate-magic__btn { width: 100%; justify-content: center; gap: .4rem; }
.gate-magic__sub {
  text-align: center; font-size: .83rem;
  color: var(--text-muted); margin: .1rem 0 0;
}

/* ── Ticker bar ──────────────────────────────────────────── */
.ticker-bar {
  display: flex; align-items: center;
  height: 26px; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.04);
  background: rgba(0,0,0,.3);
}
.ticker-bar__tag {
  flex-shrink: 0;
  background: transparent;
  color: var(--primary);
  border-right: 1px solid rgba(89,255,21,.2);
  font-size: .6rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 0 .9rem; height: 100%;
  display: flex; align-items: center; gap: .35rem;
}
.ticker-bar__tag i { font-size: .65rem; }
.ticker-bar__track { flex: 1; overflow: hidden; }
.ticker-bar__inner {
  display: inline-flex; align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 55s linear infinite;
}
.ticker-bar__inner:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  font-size: .68rem; color: rgba(255,255,255,.55);
  padding: 0 1.4rem; white-space: nowrap;
  display: inline-flex; align-items: center; gap: .35rem;
}
.ticker-item--live {
  color: var(--primary); font-weight: 700;
}
.ticker-item--live .ticker-live-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #f87171;
  animation: pulse-dot 1.2s ease-in-out infinite;
}
.ticker-item--result { display: inline-flex; align-items: center; gap: .35rem; }
.ticker-score { color: rgba(255,255,255,.7); font-weight: 700; font-size: .72rem; padding: 0 .1rem; }
.ticker-draw { font-size: .62rem; color: #ffffff; }
.ticker-sep { color: rgba(255,255,255,.1); font-size: .5rem; padding: 0 .2rem; }

.header__inner {
  display: flex;
  align-items: stretch;
  height: 60px;
  gap: 0;
}

/* ── Legado (mantido para não quebrar referências) ──────── */
.header__inner--split { display: flex; align-items: stretch; }
.header__left, .header__center, .header__right { display: flex; align-items: center; }
.header__center { justify-content: center; }
.header__right  { justify-content: flex-end; gap: .75rem; }

.header__user { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
#btnNavLogin {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,.3) !important;
  color: rgba(255,255,255,.85) !important;
}
#btnNavLogin:hover {
  background: rgba(255,255,255,.1) !important;
  color: #fff !important;
}

/* ── Ações lado direito ─────────────────────────────────── */
.header__actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
  padding-left: 1rem;
}

/* ── Logo ───────────────────────────────────────────────── */
.logo {
  font-size: 1.35rem; font-weight: 900;
  color: var(--text); text-decoration: none;
  letter-spacing: -.03em; flex-shrink: 0;
  display: flex; align-items: center; gap: .4rem;
  padding-right: 1.75rem;
}
.logo .logo__icon {
  width: 28px; height: 28px;
  background: var(--primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: #000;
  flex-shrink: 0;
}
.logo span { color: var(--primary); }

/* ── Nav ────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: stretch;
  flex: 1;
  justify-content: center;
  gap: 0;
}

.nav__btn {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: rgba(255,255,255,.5);
  padding: 0 1rem;
  height: 100%;
  cursor: pointer;
  font-size: .82rem; font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: color .15s, border-color .2s;
}
.nav__btn i { font-size: .75em; }
.nav__btn:hover {
  color: rgba(255,255,255,.85);
  border-bottom-color: rgba(89,255,21,.35);
}
.nav__btn--active {
  color: #fff !important;
  border-bottom-color: var(--primary) !important;
}
.nav__btn--active i { color: var(--primary); }

.btn--icon {
  width: 42px; height: 42px;
  justify-content: center;
  padding: 0;
}

.mobile-toggle {
  display: flex;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: var(--text);
  width: 42px; height: 42px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.mobile-toggle i { font-size: 1.25rem; }

/* Botão de tema no header — só aparece no mobile */
.header__theme-btn {
  display: none;
  appearance: none; -webkit-appearance: none;
  border: 0; background: transparent;
  color: var(--text);
  width: 42px; height: 42px; padding: 0;
  cursor: pointer; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.header__theme-btn i { font-size: 1.15rem; }

/* Botão de tema — visível em todos os tamanhos */
.header__theme-mobile {
  display: flex;
  appearance: none; -webkit-appearance: none;
  border: 0; background: transparent;
  color: var(--text);
  width: 36px; height: 36px; padding: 0;
  cursor: pointer; align-items: center; justify-content: center;
  flex-shrink: 0; border-radius: 8px;
  transition: background .15s;
}
.header__theme-mobile:hover { background: var(--surface-2); }
.header__theme-mobile i { font-size: 1.1rem; }

/* ── User chip avatar (reused in dropdown trigger + info block) ── */
.user-chip__avatar {
  width: 28px; height: 28px;
  background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .72rem; color: #000;
  flex-shrink: 0;
}
.user-chip__avatar--lg { width: 40px; height: 40px; font-size: .9rem; }

/* ── User dropdown ────────────────────────────────────────────── */
.udrop { position: relative; }

.udrop__trigger {
  display: flex; align-items: center; gap: .5rem;
  padding: .3rem .65rem .3rem .35rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.udrop__trigger:hover,
.udrop--open .udrop__trigger {
  background: var(--surface-3);
  border-color: var(--border-strong);
}
.udrop__name    { font-size: .84rem; font-weight: 600; color: var(--text); }
.udrop__trigger-info {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0;
}
.udrop__trigger-balance {
  font-size: .68rem; font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.udrop__chevron { font-size: .68rem; color: var(--text-muted); transition: transform .2s ease; }
.udrop--open .udrop__chevron { transform: rotate(180deg); }

/* Dropdown panel */
.udrop__menu {
  position: absolute;
  top: calc(100% + .55rem);
  right: 0;
  min-width: 230px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0,0,0,.45);
  padding: .4rem;
  opacity: 0;
  transform: translateY(-8px) scale(.97);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 300;
}
.udrop--open .udrop__menu { opacity: 1; transform: none; pointer-events: auto; }

/* Info block (avatar + name + balance) */
.udrop__info { display: flex; align-items: center; gap: .75rem; padding: .6rem .65rem .7rem; }
.udrop__info-text { min-width: 0; }
.udrop__fullname {
  font-size: .88rem; font-weight: 700; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.udrop__balance-row { display: flex; align-items: center; gap: .35rem; margin-top: .15rem; }
.udrop__balance-label { font-size: .7rem; color: var(--text-muted); }
.udrop__balance { font-size: .78rem; font-weight: 700; color: var(--primary); }
.udrop__deposit-btn { padding: .2rem .55rem !important; font-size: .7rem !important; border-radius: 20px !important; line-height: 1.4; }

/* Divider */
.udrop__sep { height: 1px; background: var(--border); margin: .3rem 0; }

/* Menu items */
.udrop__item {
  display: flex; align-items: center; gap: .65rem;
  width: 100%; padding: .58rem .65rem;
  border: none; background: none;
  border-radius: var(--radius-sm);
  color: var(--text-dim); font-size: .85rem; font-weight: 500;
  cursor: pointer; text-align: left;
  transition: background .12s, color .12s;
}
.udrop__item:hover { background: rgba(255,255,255,.09); color: var(--text); }
.udrop__item i { width: 1rem; text-align: center; font-size: .8rem; opacity: .75; }
.udrop__item--danger { color: var(--danger); }
.udrop__item--danger:hover { background: var(--tint-danger); color: var(--danger); }
.udrop__item--referral { color: #FF9800; font-weight: 600; }
.udrop__item--referral:hover { background: rgba(255,152,0,.1); color: #FFC107; }


/* ============================================================
   §6  MOBILE DRAWER
   ============================================================ */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}

.drawer--open { display: block; }

body.drawer-open { overflow: hidden; }

/* Trava scroll para modais e drawer (funciona no iOS via position:fixed) */
body.scroll-locked {
  position: fixed;
  width: 100%;
  overflow-y: scroll; /* mantém a largura da scrollbar para evitar layout shift */
}

.drawer__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
}

.drawer__panel {
  position: absolute;
  top: 0; left: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: #091020;
  border-right: 1px solid rgba(89,255,21,.12);
  padding: 1.1rem 1.1rem 1.1rem;
  display: flex; flex-direction: column; gap: .8rem;
  transform: translateX(-100%);
  animation: slideIn 0.25s forwards ease;
  /* green accent top border */
  border-top: 2px solid var(--primary);
}

@keyframes slideIn {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}

.drawer__top {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  position: relative;
}

.drawer__logo {
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.1rem;
  position: absolute; left: 50%; transform: translateX(-50%);
}

.drawer__close {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.6);
  width: 30px; height: 30px;
  border-radius: 8px;
  font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  margin-left: auto; flex-shrink: 0;
  transition: background .15s, color .15s;
}
.drawer__close:hover {
  background: rgba(255,255,255,.13);
  color: #fff;
}

/* Scrollable body that fills remaining height */
.drawer__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  gap: .1rem;
}
.drawer__footer {
  flex-shrink: 0;
}

/* ── User info block ─────────────────────────────────────────── */
.dr-user {
  display: flex; align-items: center; gap: .85rem;
  padding: .4rem 0 .8rem;
}
.dr-user__info { min-width: 0; }
.dr-user__name {
  font-size: .95rem; font-weight: 700; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dr-user__balance-row { display: flex; align-items: center; gap: .4rem; margin-top: .15rem; }
.dr-user__balance-label { font-size: .72rem; color: var(--text-muted); }
.dr-user__balance { font-size: .88rem; font-weight: 700; color: var(--primary); }
.dr-user__actions { display: flex; gap: .4rem; margin-top: .4rem; }
.dr-action-btn {
  flex: 1;
  padding: .25rem .5rem;
  font-size: .72rem;
  font-weight: 700;
  border-radius: 20px;
  line-height: 1.4;
  border: none;
  background: var(--primary);
  color: #000;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  transition: filter .15s;
}
.dr-action-btn:hover { filter: brightness(1.1); }

/* ── Separador ───────────────────────────────────────────────── */
.dr-sep { height: 1px; background: rgba(255,255,255,.07); margin: .45rem 0; }

.dr-auth-btns {
  display: flex; align-items: center; gap: .5rem; padding: .5rem 1rem .1rem;
}
.dr-auth-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .36rem .75rem;
  font-size: .73rem; font-weight: 700;
  border-radius: 7px; cursor: pointer;
  white-space: nowrap; border: none;
  transition: filter .15s;
}
.dr-auth-btn--primary {
  background: var(--primary); color: #001a0d; font-weight: 800; border: none;
  box-shadow: 0 4px 0 0 var(--primary-dark), inset 0 1px 0 rgba(255,255,255,.22);
  transform: translateY(0);
  transition: transform .12s cubic-bezier(.34,1.56,.64,1), box-shadow .12s, filter .12s;
}
.dr-auth-btn--primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 0 var(--primary-dark), inset 0 1px 0 rgba(255,255,255,.22);
}
.dr-auth-btn--primary:active {
  filter: brightness(.96);
  transform: translateY(4px);
  box-shadow: 0 0 0 0 var(--primary-dark);
}
.dr-auth-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  transition: background .15s, border-color .15s;
}
.dr-auth-btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); }

/* ── Section label ───────────────────────────────────────────── */
.dr-section-label {
  font-size: .6rem; font-weight: 800; letter-spacing: .14em;
  color: rgba(255,255,255,.28); text-transform: uppercase;
  padding: .2rem .5rem .05rem; margin: 0;
  display: flex; align-items: center; gap: .5rem;
}
.dr-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.1);
}

/* ── Section group ───────────────────────────────────────────── */
.dr-section { display: flex; flex-direction: column; gap: .06rem; }
.dr-section--row { flex-direction: row; gap: .4rem; }
.dr-section--row .dr-item { flex: 1; justify-content: center; }
.dr-item--mode { justify-content: center; }

/* ── Nav item ────────────────────────────────────────────────── */
.dr-item {
  display: flex; align-items: center; gap: .75rem;
  width: 100%; padding: .65rem .85rem;
  border: none; background: none;
  border-radius: 10px;
  color: rgba(255,255,255,.7); font-size: .88rem; font-weight: 600;
  cursor: pointer; text-align: left;
  transition: background .13s, color .13s, transform .1s;
}
.dr-item:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
  transform: translateX(2px);
}
.dr-item:active { transform: translateX(1px); }
.dr-item i, .dr-item .theme-icon {
  width: 1.15rem; text-align: center; font-size: .82rem;
  color: var(--primary); opacity: .9; flex-shrink: 0;
}
.dr-item--danger { color: rgba(255,71,87,.8); }
.dr-item--danger:hover { background: rgba(255,71,87,.1); color: var(--danger); }

/* drawer herda btn--primary global */
.drawer .btn--primary { padding: .72rem 1rem !important; animation: none !important; }
.drawer .btn--primary::after { display: none !important; }

.drawer .btn--ghost {
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  color: rgba(255,255,255,.7) !important;
  padding: .72rem 1rem !important;
  box-shadow: 0 3px 0 0 rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.08) !important;
  transform: translateY(0);
  transition: transform .12s cubic-bezier(.34,1.56,.64,1), box-shadow .12s !important;
}
.drawer .btn--ghost:hover {
  background: rgba(255,255,255,.14) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 0 0 rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.1) !important;
}
.drawer .btn--ghost:active {
  transform: translateY(3px) !important;
  box-shadow: 0 0px 0 0 rgba(0,0,0,.3) !important;
}

/* Botão Modo no drawer: vidro neutro */
.drawer .btn-theme-toggle.dr-item {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.75);
}
.drawer .btn-theme-toggle.dr-item:hover {
  background: rgba(255,255,255,.13);
  color: #fff;
  border-color: rgba(255,255,255,.2);
}
.dr-item--referral {
  color: #FF9800;
  background: rgba(255,152,0,.06);
  border: 1px solid rgba(255,152,0,.2);
  border-radius: 8px;
  font-weight: 600;
}
.dr-item--referral:hover { background: rgba(255,152,0,.14); color: #FFC107; }

/* ── Drawer: widget próximo jogo ─────────────────────────────── */
.dr-next-game {
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.22);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: .7rem .8rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  box-shadow: 0 0 18px rgba(245,158,11,.08);
}
.dr-next-game__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.dr-next-game__label {
  font-size: .6rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: .28rem;
}
.dr-next-game__cd {
  font-family: 'Barlow Condensed', var(--font-base);
  font-size: 1.05rem; font-weight: 900;
  color: var(--gold); letter-spacing: .03em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 10px rgba(245,158,11,.4);
}
.dr-next-game__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.dr-next-game__teams {
  font-family: 'Barlow Condensed', var(--font-base);
  font-size: .88rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  flex: 1; min-width: 0;
}
.dr-next-game__btn {
  background: var(--primary);
  color: #001a0d; font-size: .72rem; font-weight: 800;
  border: none; border-radius: 6px;
  padding: .35rem .65rem;
  cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; gap: .28rem;
  box-shadow: 0 3px 0 0 var(--primary-dark), inset 0 1px 0 rgba(255,255,255,.22);
  transform: translateY(0);
  transition: transform .12s cubic-bezier(.34,1.56,.64,1), box-shadow .12s, filter .1s;
}
.dr-next-game__btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 4px 0 0 var(--primary-dark), inset 0 1px 0 rgba(255,255,255,.22);
}
.dr-next-game__btn:active {
  transform: translateY(3px);
  box-shadow: 0 0px 0 0 var(--primary-dark);
}

/* ── Drawer: hero banner (guest) ─────────────────────────────── */
.dr-hero {
  background: linear-gradient(155deg, rgba(0,40,22,.9) 0%, rgba(9,16,32,.8) 55%, rgba(89,255,21,.07) 100%);
  border: 1px solid rgba(89,255,21,.22);
  border-radius: 14px;
  padding: 1.1rem 1rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.dr-hero::after {
  content: '🏆';
  position: absolute;
  right: -6px; top: -4px;
  font-size: 4.8rem; opacity: .07;
  pointer-events: none; line-height: 1;
}
.dr-hero__eyebrow {
  display: inline-flex; align-items: center; gap: .38rem;
  font-size: .62rem; font-weight: 800; letter-spacing: .12em;
  color: var(--primary); text-transform: uppercase;
  margin-bottom: .5rem;
}
.dr-hero__dot {
  width: 5px; height: 5px; flex-shrink: 0;
  background: var(--primary); border-radius: 50%;
  box-shadow: 0 0 6px var(--primary-glow);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
.dr-hero__headline {
  font-family: 'Barlow Condensed', var(--font-base);
  font-size: 1.38rem; font-weight: 900; line-height: 1.1;
  text-transform: uppercase; color: #fff;
  margin: 0 0 .38rem; letter-spacing: .01em;
}
.dr-hero__sub {
  font-size: .7rem; color: rgba(255,255,255,.38);
  margin: 0 0 .85rem; line-height: 1.4;
}
.dr-hero__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  width: 100%; background: var(--primary); color: #001a0d;
  border: none; border-radius: 9px;
  padding: .52rem 1rem; font-size: .82rem; font-weight: 800;
  cursor: pointer; letter-spacing: .01em;
  box-shadow: 0 4px 0 0 var(--primary-dark), inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .12s cubic-bezier(.34,1.56,.64,1), box-shadow .12s, filter .12s;
}
.dr-hero__cta:hover {
  filter: brightness(1.08); transform: translateY(-2px);
  box-shadow: 0 6px 0 0 var(--primary-dark), inset 0 1px 0 rgba(255,255,255,.22);
}
.dr-hero__cta:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 0 var(--primary-dark);
}

/* ── Drawer: badge de contagem no item de nav ────────────────── */
.dr-badge {
  margin-left: auto;
  background: rgba(89,255,21,.15);
  color: var(--primary);
  font-size: .6rem; font-weight: 700;
  padding: .1rem .38rem;
  border-radius: 6px;
  line-height: 1.5;
}

/* ── Drawer: bloco CTA guest ─────────────────────────────────── */
.dr-cta-block {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: .1rem 0;
}
.dr-cta-block__title {
  font-size: .73rem; color: var(--text-muted);
  text-align: center; margin: 0 0 .15rem; line-height: 1.3;
}

/* ── Drawer: mini estatísticas (strip horizontal) ────────────── */
.dr-stats-strip {
  display: flex;
  gap: .32rem;
}
.dr-stat-chip {
  flex: 1;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 9px;
  padding: .55rem .3rem .45rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  transition: background .15s;
}
.dr-stat-chip:hover { background: rgba(255,255,255,.08); }
.dr-stat-chip__val {
  font-family: 'Barlow Condensed', var(--font-base);
  font-size: 1.18rem; font-weight: 900; color: #fff; line-height: 1;
}
.dr-stat-chip__lbl {
  font-size: .52rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: rgba(255,255,255,.32);
}
.dr-stat-chip--gold .dr-stat-chip__val { color: var(--gold); }
.dr-stat-chip--danger .dr-stat-chip__val { color: var(--danger); }
.dr-stat-chip--primary .dr-stat-chip__val { color: var(--primary); }

/* Legacy stats grid (logged-in drawer) */
.dr-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
}
.dr-stat {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: .65rem .5rem;
  text-align: center;
}
.dr-stat__val {
  display: block;
  font-family: 'Barlow Condensed', var(--font-base);
  font-size: 1.35rem; font-weight: 900;
  color: var(--primary); letter-spacing: .02em; line-height: 1;
}
.dr-stat__lbl {
  display: block;
  font-size: .58rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .07em;
  margin-top: .18rem;
}
.dr-badge-bonus {
  margin-left: auto;
  background: #FF9800;
  color: #000;
  font-size: .65rem;
  font-weight: 700;
  padding: .15rem .45rem;
  border-radius: 20px;
  letter-spacing: .03em;
}

.dr-badge-pwa {
  margin-left: auto;
  background: var(--tint-primary);
  color: var(--primary);
  border: 1px solid rgba(89,255,21,.3);
  font-size: .62rem;
  font-weight: 800;
  padding: .12rem .45rem;
  border-radius: 20px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Pushes tema section to the bottom */
.dr-bottom { margin-top: auto; padding-top: .25rem; }


/* ============================================================
   §7  BOTÕES
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border: 0; border-radius: var(--radius-sm);
  padding: .75rem 1.25rem;
  font-size: .92rem; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap; user-select: none;
}
.btn:disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }

/* ── Botão primário — verde 3D universal (dark + light) ──── */
.btn--primary {
  background: var(--primary);
  color: #001a0d; font-weight: 800;
  border: none; letter-spacing: .02em;
  box-shadow: 0 4px 0 0 var(--primary-dark), inset 0 1px 0 rgba(255,255,255,.22);
  transform: translateY(0);
  transition: transform .12s cubic-bezier(.34,1.56,.64,1), box-shadow .12s, filter .12s;
}
.btn--primary:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 0 var(--primary-dark), inset 0 1px 0 rgba(255,255,255,.22);
  color: #001a0d;
}
.btn--primary:active:not(:disabled) {
  filter: brightness(.96);
  transform: translateY(4px);
  box-shadow: 0 0 0 0 var(--primary-dark);
}

.btn--ghost {
  background: var(--surface-2); color: var(--text-dim);
  border: 1px solid var(--border);
}
.btn--ghost:hover { color: var(--text); border-color: var(--border-strong); }

.btn--danger { background: var(--danger); color: #fff; box-shadow: 0 0 18px var(--danger-glow); }
.btn--danger:hover { opacity: .88; }
.btn--gold   { background: var(--gold); color: #000; font-weight: 800; box-shadow: 0 0 22px var(--gold-glow); }
.btn--secondary {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
}
.btn--secondary:hover { background: var(--surface-3); color: var(--text); }

.btn--full  { width: 100%; }
.btn--large { padding: .95rem 1.4rem; font-size: 1rem; border-radius: var(--radius); }

/* Pulse no CTA principal do fluxo de aposta */
.btn--pulse {
  animation: btn-pulse 2.2s ease-in-out infinite;
}
.btn--pulse:hover,
.btn--pulse:active,
.btn--pulse:disabled {
  animation: none;
}
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 4px 0 0 var(--primary-dark), 0 0 0 0 rgba(89,255,21,0); }
  50%       { box-shadow: 0 4px 0 0 var(--primary-dark), 0 0 0 8px rgba(89,255,21,.18); }
}
.btn--sm    { padding: .4rem .8rem; font-size: .82rem; }
.btn--lg    { padding: .8rem 1.75rem; font-size: 1rem; }

/* btn--bet é alias de btn--primary — sem propriedades duplicadas */
.btn--bet { font-size: .95rem; }

/* btn--primary já cobre auth/hero/modal — sem duplicação */


/* ============================================================
   §8  ALERTAS
   ============================================================ */


.alert {
  padding: .85rem 1.1rem; border-radius: var(--radius-sm);
  font-size: .88rem; font-weight: 500; margin-bottom: .4rem;
  animation: slideDown .2s ease;
}
.alert--success {
  background: var(--alert-success-bg);
  color: var(--primary);
  border: 1px solid var(--alert-success-border);
}
.alert--danger {
  background: var(--alert-danger-bg);
  color: var(--danger);
  border: 1px solid var(--alert-danger-border);
}
.alert--info {
  background: var(--alert-info-bg);
  color: var(--info);
  border: 1px solid var(--alert-info-border);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}


/* ============================================================
   §9  VIEWS & HERO
   ============================================================ */
.view { padding: 2rem 0 5rem; }

/* ── view-jogos: flex column para reordenar seções via order ── */
#view-jogos {
  display: flex;
  flex-direction: column;
  padding-top: 0;
}
#liveSectionWrap              { order: 1; padding-top: .35rem; }
#matchBannerWrap              { order: 2; margin-top: 1.25rem; }
#activityTicker               { order: 3; }
#leagueTabs                   { order: 4; margin-top: .85rem; }
#gamesSkeletons               { order: 5; }
#gamesGrid                    { order: 6; margin-top: .95rem; }
#gamesEmpty                   { order: 6; }
#copaHero                     { order: 8; margin-top: 1.5rem; }
#referralBanner               { order: 9; }

/* Banner: fundo sangra até a borda da viewport, conteúdo centralizado */
#view-jogos .match-banner-wrap {
  margin-left:  calc(-1 * (100vw - 100%) / 2);
  margin-right: calc(-1 * (100vw - 100%) / 2);
}
#view-jogos .match-banner {
  width: 100%;
  max-width: 100%;
}

/* Desktop: limita o conteúdo interno ao mesmo max-width do container */
@media (min-width: 900px) {
  #view-jogos .match-banner {
    max-width: 1180px;
    margin: 0 auto;
  }
}

.view-hero {
  text-align: center;
  padding: 2.5rem 1rem 3rem;
}
.view-hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900; line-height: 1.1;
  margin-bottom: .85rem;
}
.view-hero__sub { color: var(--text-dim); font-size: 1.05rem; }
.view-hero__sub strong { color: var(--text); }

.section-header {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.25rem;
}
.section-header h2 { font-size: 1.4rem; font-weight: 800; }

.empty-state {
  text-align: center; color: var(--text-muted);
  padding: 3rem 1rem; font-size: .95rem;
}


/* ============================================================
   §10 BADGES
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .28rem .7rem; border-radius: 999px;
  font-size: .73rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.badge--open      { background: var(--win-tint-bg);  color: var(--win-text); }
.badge--today     { background: rgba(245,184,0,.15); color: #c99000; }
.badge--closed    { background: var(--tint-danger);  color: var(--danger); }
.badge--confirmed { background: var(--win-tint-bg);  color: var(--win-text); }
.badge--final     { background: var(--surface-3);    color: var(--text-muted); }
.badge--far       { background: rgba(100,116,139,.15); color: var(--text-dim); }
.badge--live {
  background: var(--danger);
  color: #fff;
  font-weight: 800;
  letter-spacing: .06em;
  box-shadow: 0 2px 14px var(--danger-glow);
  animation: liveGlow 2s ease-in-out infinite;
}
/* Dot piscando dentro do badge */
.badge--live i {
  font-size: .5em;
  display: inline-flex;
  animation: liveDot 1s ease-in-out infinite;
}
.badge--soon      { background: #f59e0b22; color: #f59e0b; }
.badge--closing   { background: #f59e0b22; color: #f59e0b; animation: badge-closing-pulse .9s ease-in-out infinite alternate; }
@keyframes badge-closing-pulse {
  from { background: #f59e0b22; color: #f59e0b; }
  to   { background: #f59e0b44; color: #d97706; }
}
.badge--cancelled { background: var(--surface-2); color: var(--text-dim); }

/* pulseBadge: mantido para .nav-live-dot */
@keyframes pulseBadge {
  0%,100% { box-shadow: 0 0 0 0 var(--danger-glow); }
  50%      { box-shadow: 0 0 0 5px transparent; }
}
/* Dot piscando — recording indicator */
@keyframes liveDot {
  0%, 100% { opacity: 1;  transform: scale(1); }
  50%      { opacity: .2; transform: scale(.6); }
}
/* Badge breathing glow */
@keyframes liveGlow {
  0%, 100% { box-shadow: 0 2px 14px var(--danger-glow); }
  50%      { box-shadow: 0 2px 28px rgba(255,71,87,.65), 0 0 0 3px rgba(255,71,87,.14); }
}


/* ============================================================
   §11 GAME SECTIONS
   ============================================================ */

.games-container {
  display: flex; flex-direction: column;
}

.games-section { margin-bottom: 2.5rem; }
.games-section:last-child { margin-bottom: 0; }

.games-section__header {
  display: flex; align-items: center; gap: .65rem;
  margin-bottom: 1rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--border);
}
.games-section__title {
  margin: 0;
  font-size: .9rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-dim);
  display: flex; align-items: center; gap: .45rem;
}
.games-section__count {
  font-size: .72rem; font-weight: 700;
  background: var(--surface-2); color: var(--text-muted);
  border-radius: 999px; padding: .15rem .55rem;
  line-height: 1.6; margin-left: auto;
}
.games-section--live .games-section__title     { color: var(--danger); }
.games-section--live .games-section__count     { background: rgba(255,71,87,.12); color: var(--danger); }

.dot-live {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 6px rgba(239,68,68,.8);
  animation: dot-pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes dot-pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.5); opacity: .5; }
}
.games-section--upcoming .games-section__title { color: var(--text-muted); }
.games-section--upcoming .games-section__count { background: var(--surface-2); color: var(--text-muted); }
.games-section--finished .games-section__title { color: var(--text-muted); }


/* ============================================================
   §11b GAME CARDS
   ============================================================ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .games-grid                                    { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .games-section--today .games-grid              { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* Cards em 4 colunas — layout compacto */
  .games-grid .game-card                        { padding: .75rem .85rem .7rem; gap: .6rem; }
  .games-grid .game-card__emblem                { width: 46px; height: 34px; }
  .games-grid .game-card__emblem img            { width: 46px !important; height: 34px !important; }
  .games-grid .game-card__name                  { font-size: .78rem; letter-spacing: .04em; }
  .games-grid .game-card__matchup               { gap: .15rem; }
  .games-grid .game-card__team                  { gap: .25rem; }
  .games-grid .gc-league                        { display: none; } /* oculta nome da liga p/ poupar espaço */
  .games-grid .game-card__foot                  { gap: .35rem; }
  .games-grid .gc-meta                          { font-size: .78rem; }
  .games-grid .btn--bet                         { padding: .52rem .6rem; font-size: .8rem; }

  /* Seções AO VIVO / DAQUI A POUCO / HOJE — tamanho normal (3 colunas) */
  .games-section--live .games-grid,
  .games-section--soon .games-grid,
  .games-section--today .games-grid              { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .games-section--live .game-card,
  .games-section--soon .game-card,
  .games-section--today .game-card              { padding: 1.1rem 1.15rem .9rem; gap: .8rem; }

  .games-section--live .game-card__emblem,
  .games-section--soon .game-card__emblem,
  .games-section--today .game-card__emblem      { width: 62px; height: 46px; }

  .games-section--live .game-card__emblem img,
  .games-section--soon .game-card__emblem img,
  .games-section--today .game-card__emblem img  { width: 62px !important; height: 46px !important; }

  .games-section--live .game-card__name,
  .games-section--soon .game-card__name,
  .games-section--today .game-card__name        { font-size: .98rem; letter-spacing: .06em; }

  .games-section--live .game-card__matchup,
  .games-section--soon .game-card__matchup,
  .games-section--today .game-card__matchup     { gap: .4rem; }

  .games-section--live .game-card__team,
  .games-section--soon .game-card__team,
  .games-section--today .game-card__team        { gap: .35rem; }

  .games-section--live .gc-league,
  .games-section--soon .gc-league,
  .games-section--today .gc-league              { display: flex; }
}

/* ─ Base -------------------------------------------------------- */
.game-card {
  --accent: var(--border-strong);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 12px;
  padding: 1rem 1.1rem .85rem;
  display: flex; flex-direction: column; gap: .7rem;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.game-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

/* ─ Status modifiers — sistema de cores por seção ------------ */
.game-card--open   { --accent: rgba(100,116,139,.45); }
.game-card--soon   { --accent: #ff6d00; animation: pulseCardSoon 2.2s ease-in-out infinite; }
.game-card--live   {
  --accent: var(--danger);
  animation: pulseCardLive 2.2s ease-in-out infinite;
}
.game-card--final  { --accent: #9ca3af; }          /* prata */
.game-card--closed { --accent: #92400e; opacity: .72; } /* marrom */

/* Acento por seção (sobrepõe open genérico) */
.games-section--today    .game-card--open { --accent: #f5b800; } /* amarelo */
.games-section--tomorrow .game-card--open { --accent: var(--primary); } /* verde */
.games-section--upcoming .game-card--open,
.games-section--week     .game-card--open,
.games-section--beyond   .game-card--open { --accent: var(--info); }   /* azul */
.game-card--closed:hover { transform: none; }

@keyframes pulseCardLive {
  0%,100% { box-shadow: 0 0 0 0   rgba(255,71,87,.12); }
  50%     { box-shadow: 0 0 0 6px rgba(255,71,87,.22); }
}
@keyframes pulseCardSoon {
  0%,100% { box-shadow: 0 0 0 0   rgba(255,109,0,.12); }
  50%     { box-shadow: 0 0 0 6px rgba(255,109,0,.25); }
}

/* ─ "Palpites encerrados" — badge vermelho bloqueado ───────── */
.game-card--live  .btn--ghost[disabled],
.game-card--live  .btn--ghost:disabled,
.game-card--final .btn--ghost[disabled],
.game-card--final .btn--ghost:disabled {
  background: rgba(220,38,38,.12) !important;
  border: 1px solid rgba(220,38,38,.32) !important;
  color: #ff4757 !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
}
.game-card--live  .btn--ghost[disabled] i,
.game-card--live  .btn--ghost:disabled i,
.game-card--final .btn--ghost[disabled] i,
.game-card--final .btn--ghost:disabled i {
  color: #ff4757 !important;
}

/* ─ Head: badge + liga + data --------------------------------- */
.game-card__head {
  display: flex; justify-content: space-between; align-items: center; gap: .3rem;
}
.gc-league {
  flex: 1;
  text-align: center;
  font-size: .52rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 .25rem;
}
.gc-league i { color: var(--gold); font-size: .48rem; }
.gc-head-right {
  display: flex; align-items: center; gap: .25rem; flex-shrink: 0;
}
.gc-share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: .72rem;
  padding: .18rem .28rem; border-radius: 4px;
  transition: color .15s, background .15s; flex-shrink: 0;
}
.gc-share-btn:hover { color: var(--primary); background: rgba(89,255,21,.1); }
.game-card__date {
  font-size: .7rem; font-weight: 500;
  color: var(--text-muted); white-space: nowrap;
}
.game-card__date--live {
  font-size: .68rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .05em;
  color: #fff;
  background: rgba(230,57,70,.55);
  border: 1px solid rgba(230,57,70,.7);
  border-radius: 4px;
  padding: .15rem .45rem;
  font-family: ui-monospace, 'Courier New', monospace;
}
.theme-light .game-card__date--live {
  color: #fff;
  background: #dc2626;
  border-color: #b91c1c;
}

/* ─ Matchup row ---------------------------------------------- */
.game-card__matchup {
  display: flex; align-items: center;
  justify-content: space-between; gap: .4rem;
}
.game-card__team {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column;
  align-items: center; gap: .35rem; text-align: center;
}
.game-card__emblem {
  width: 58px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .2s;
}
/* Todas as imagens — logos e bandeiras — mesmo tamanho */
.game-card__emblem img {
  width: 58px !important;
  height: 42px !important;
  object-fit: contain;
  border-radius: 3px;
  display: block;
}
.game-card:hover .game-card__emblem { transform: scale(1.06); }
.game-card__name {
  font-family: 'Barlow Condensed', var(--font-base);
  font-size: .98rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--text);
  max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ─ Centro (mid) entre as duas bandeiras --------------------- */
.game-card__mid {
  flex-shrink: 0; width: 88px;
  display: flex; flex-direction: column;
  align-items: center; gap: .28rem;
}

/* × separador */
.gc-vs {
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700;
  color: rgba(220,38,38,.7);
  flex-shrink: 0;
  line-height: 1;
}

/* Countdown */
.gc-countdown {
  display: flex; flex-direction: column; align-items: center; gap: .08rem;
  background: transparent;
  padding: 0;
  min-width: 64px;
}
.gc-countdown__label {
  font-size: .5rem; font-weight: 700;
  color: var(--text-muted); letter-spacing: .1em;
  text-transform: uppercase;
}
.gc-countdown__time {
  font-size: .9rem; font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  letter-spacing: .04em; white-space: nowrap;
}
.gc-countdown__time--expired { color: var(--text-muted); }

/* Placar */
.gc-score {
  display: flex; flex-direction: column; align-items: center; gap: .08rem;
}
.gc-score__label {
  font-size: .56rem; font-weight: 700;
  color: var(--text-muted); letter-spacing: .1em;
  text-transform: uppercase;
}
.gc-score__val {
  font-size: 1.35rem; font-weight: 900;
  letter-spacing: .06em; line-height: 1;
}
.gc-score--final .gc-score__val {
  color: var(--info);
  text-shadow: var(--score-shadow);
}
.gc-score--live  .gc-score__val { color: var(--danger); }
.gc-score__dot { font-size: .5em; color: var(--danger); line-height: 1; }

/* Traço encerrado sem placar */
.gc-dash { font-size: 1rem; color: var(--text-muted); }

/* Placar grande na coluna CTA (mobile only) */
.gc-final-cta {
  display: none; /* oculto no desktop — desktop usa gc-score no mid */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .1rem;
}
.gc-final-cta__score {
  font-family: 'Barlow Condensed', var(--font-base);
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--info);
  letter-spacing: .02em;
  line-height: 1;
  text-shadow: 0 0 18px rgba(61,142,255,.3);
}
.gc-final-cta__label {
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.gc-final-cta .btn { font-size: .58rem !important; padding: .25rem .4rem !important; }

/* ─ Rodapé --------------------------------------------------- */
.game-card__foot {
  display: flex; flex-direction: column; gap: .45rem;
}
.gc-meta {
  display: flex; align-items: center;
  justify-content: center; gap: .45rem;
}
.gc-meta__odd {
  font-size: .9rem; font-weight: 900;
  color: var(--primary);
  background: var(--tint-primary);
  border-radius: var(--radius-sm);
  padding: .18rem .5rem;
  line-height: 1.3;
}
.gc-meta__odd small { font-size: .68em; }
.gc-meta__price { font-size: .7rem; color: var(--text-muted); }

/* ─ Logos de time dentro do emblem circular ------------------ */
.team-logo {
  width: 46px; height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.4));
  transition: transform .2s;
}
.team-logo--flag {
  width: 54px; height: 38px;
  border-radius: 3px; object-fit: cover;
  flex-shrink: 0;
}
.team-flag-emoji    { font-size: 2.4rem; line-height: 1; }
.team-flag-fallback { font-size: 2.4rem; line-height: 1; }

.bet-team__flag .team-logo       { width: 52px; height: 52px; }
.bet-team__flag .team-flag-emoji { font-size: 2.6rem; }


/* ============================================================
   §12 PANELS & APOSTAS
   ============================================================ */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-card);
}
.panel__title { font-size: 1rem; font-weight: 700; margin-bottom: 1.1rem; }

.bets-list { display: flex; flex-direction: column; gap: .85rem; }

/* ── Bets empty state CTA ─────────────────────────────────── */
.bets-cta-empty { display: flex; flex-direction: column; gap: 1.2rem; padding: .5rem 0 1.5rem; }

.bce-hero {
  text-align: center;
  padding: 2rem 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.bce-hero__icon {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: .6rem;
  animation: pulse 2s infinite;
}
.bce-hero__title { font-size: 1.25rem; font-weight: 800; margin: 0 0 .4rem; }
.bce-hero__sub   { color: var(--text-muted); font-size: .9rem; margin: 0; }
.bce-hero__sub strong { color: var(--primary); }

.bce-games { display: flex; flex-direction: column; gap: .55rem; }
.bce-games__label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin: 0 0 .2rem; }

.bce-game {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  cursor: pointer;
  transition: border-color .15s;
}
.bce-game:hover { border-color: var(--primary); }

.bce-game__teams {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .9rem;
  flex-wrap: wrap;
}
.bce-game__team  { display: flex; align-items: center; gap: .35rem; }
.bce-game__vs    { color: var(--text-muted); font-size: .8rem; }

.bce-game__meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}
.bce-game__time { font-size: .78rem; color: var(--text-muted); flex: 1; }
.bce-game__odd  {
  display: inline-flex;
  align-items: baseline;
  gap: .2rem;
  font-size: .82rem; font-weight: 800;
  color: var(--primary);
  background: rgba(89,255,21,.12);
  border: 1px solid rgba(89,255,21,.25);
  border-radius: 6px;
  padding: .1rem .5rem;
}
.bce-game__odd small {
  font-size: .65rem;
  font-weight: 700;
  opacity: .6;
  text-transform: lowercase;
}
.theme-light .bce-game__odd {
  color: #1a6e00;
  background: rgba(0,120,0,.10);
  border-color: rgba(0,120,0,.28);
}
.theme-light .bce-game__odd small { opacity: .7; }
.bce-game__btn  { margin-left: auto; }
.bce-all-btn    { margin-top: .3rem; }

/* urgency countdown badge inside empty-bets CTA */
.bce-cd {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 700;
  padding: .18rem .5rem;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: .02em;
}
.bce-cd--live     { background: #fee2e2; color: #b91c1c; animation: pulse-red .9s infinite alternate; }
.bce-cd--urgent   { background: #fee2e2; color: #dc2626; }
.bce-cd--soon     { background: #fef3c7; color: #b45309; }
.bce-cd--today    { background: #dcfce7; color: #15803d; }
.bce-cd--tomorrow { background: #dbeafe; color: #1d4ed8; }
.bce-cd--far      { background: var(--border); color: var(--text-muted); }

@keyframes pulse-red {
  from { opacity: 1; }
  to   { opacity: .55; }
}

.bet-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  box-shadow: var(--shadow-card);
}
.bet-card--win  { border-color: var(--tint-win-border);  background: var(--tint-win-bg); }
.bet-card--loss { border-color: var(--tint-loss-border); background: var(--tint-loss-bg); }

/* Linha 1: times + badge de status */
.bet-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.bet-card__teams {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  flex-wrap: wrap;
}
.bet-card__teams strong { font-weight: 700; }
.bet-card__vs { color: var(--text-muted); font-size: .8rem; font-weight: 600; }
.bet-flag { width: 1.4rem; height: 1rem; border-radius: 2px; object-fit: cover; flex-shrink: 0; }

/* Linha 2: palpite */
.bet-card__palpite { color: var(--text-muted); font-size: .82rem; display: flex; align-items: center; gap: .35rem; }
.bet-card__palpite i { opacity: .55; font-size: .78rem; }
.bet-card__palpite .score--win  { color: var(--win-text); font-weight: 700; }
.bet-card__palpite .score--lose { color: var(--danger);  font-weight: 700; }
.bet-card__palpite .score--draw { color: var(--text);    font-weight: 700; }

/* Linha 3: footer com stats + ação */
.bet-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.bet-card__meta  { display: flex; gap: 1.1rem; }
.bet-card__col   { text-align: center; }
.bet-card__col-label { font-size: .65rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: .15rem; }
.bet-card__col-val   { font-size: .92rem; font-weight: 700; }
.bet-card__col-val--win  { color: var(--win-text); }
.bet-card__col-val--loss { color: var(--danger); }
.bet-card__actions { display: flex; gap: .4rem; align-items: center; margin-left: auto; }


/* ============================================================
   §13 RANKING / HALL DA FAMA
   ============================================================ */

/* ── Pódio ───────────────────────────────────────────────── */
.ranking-podium {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 0; margin-bottom: 1.5rem;
}
.podium-step {
  display: flex; flex-direction: column; align-items: center;
  flex: 1; max-width: 260px; padding: 1.5rem .85rem 1.25rem;
  border: 1px solid var(--border); border-bottom: 0;
  position: relative; gap: .28rem;
  transition: transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s;
}
.podium-step:hover { transform: translateY(-5px); }
.podium-step--2 {
  border-radius: var(--radius-lg) 0 0 0;
  background: linear-gradient(180deg, rgba(192,192,192,.06) 0%, var(--surface) 55%);
  border-color: rgba(192,192,192,.18); min-height: 140px; order: 1;
}
.podium-step--1 {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(180deg, rgba(255,215,0,.13) 0%, var(--surface) 55%);
  border-color: rgba(255,215,0,.28); min-height: 180px; order: 2; z-index: 2;
  box-shadow: 0 -6px 30px rgba(255,215,0,.10), inset 0 1px 0 rgba(255,215,0,.18);
  padding-top: 2rem;
}
.podium-step--3 {
  border-radius: 0 var(--radius-lg) 0 0;
  background: linear-gradient(180deg, rgba(205,127,50,.06) 0%, var(--surface) 55%);
  border-color: rgba(205,127,50,.18); min-height: 118px; order: 3;
}

.podium-step__crown { font-size: 1.9rem; line-height: 1; }
.podium-step--1 .podium-step__crown { font-size: 2.5rem; }

.podium-step__avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface-2); border: 2px solid transparent;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; font-weight: 900;
}
.podium-step--1 .podium-step__avatar {
  width: 56px; height: 56px; font-size: 1.4rem;
  background: rgba(255,215,0,.1);
  box-shadow: 0 0 0 4px rgba(255,215,0,.12);
}

.podium-step__name {
  font-size: .82rem; font-weight: 700; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.podium-step__game {
  display: flex; align-items: center; justify-content: center;
  gap: .3rem; flex-wrap: wrap;
  font-size: .68rem; color: var(--text-muted); text-align: center;
}
.podium-step__score {
  font-size: .75rem; font-weight: 800; letter-spacing: .04em;
  color: var(--primary);
}
.podium-step__val { font-size: 1rem; font-weight: 900; color: var(--text-muted); }
.podium-step--1 .podium-step__val { color: #FFD700; font-size: 1.15rem; }
.podium-step--2 .podium-step__val { color: #C0C0C0; }
.podium-step--3 .podium-step__val { color: #CD7F32; }

/* ── Grid ────────────────────────────────────────────────── */
.hf-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
@media (max-width: 768px) { .hf-grid { grid-template-columns: 1fr; } }

/* ── Section card ────────────────────────────────────────── */
.hf-section {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.hf-section__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.2rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.hf-section__title {
  font-size: .82rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .07em; display: flex; align-items: center; gap: .5rem;
}
.hf-section__badge {
  font-size: .72rem; font-weight: 800;
  background: rgba(89,255,21,.14); color: var(--primary);
  border-radius: 999px; padding: .18rem .65rem;
}
.hf-empty { padding: 1.5rem; text-align: center; }

/* ── Winner rows ─────────────────────────────────────────── */
.hf-row {
  display: flex; align-items: center; gap: .8rem;
  padding: .75rem 1.1rem .75rem 1rem;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid transparent;
  transition: background .15s;
  position: relative;
}
.hf-row:last-child { border-bottom: 0; }
.hf-row:hover { background: var(--surface-2); }

/* Top 3 — bordas e fundos diferenciados */
.hf-row:nth-child(1) {
  border-left-color: #FFD700;
  background: linear-gradient(to right, rgba(255,215,0,.06) 0%, transparent 55%);
}
.hf-row:nth-child(2) {
  border-left-color: #C0C0C0;
  background: linear-gradient(to right, rgba(192,192,192,.05) 0%, transparent 55%);
}
.hf-row:nth-child(3) {
  border-left-color: #CD7F32;
  background: linear-gradient(to right, rgba(205,127,50,.05) 0%, transparent 55%);
}

.hf-row__pos {
  font-size: 1.15rem; width: 1.6rem; flex-shrink: 0; text-align: center; line-height: 1;
}
.hf-row__num {
  font-size: .72rem; font-weight: 800; color: var(--text-dim);
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 6px; width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
}

.hf-row__avatar {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%;
  background: var(--surface-3); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem; font-weight: 900; color: var(--text-muted);
  font-family: 'Barlow Condensed', var(--font-base);
}
.hf-row:nth-child(1) .hf-row__avatar { border-color: #FFD700; color: #FFD700; background: rgba(255,215,0,.08); }
.hf-row:nth-child(2) .hf-row__avatar { border-color: #C0C0C0; color: #C0C0C0; background: rgba(192,192,192,.07); }
.hf-row:nth-child(3) .hf-row__avatar { border-color: #CD7F32; color: #CD7F32; background: rgba(205,127,50,.08); }

.hf-row__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .14rem; }
.hf-row__name { font-size: .86rem; font-weight: 700; color: var(--text); }
.hf-row__game {
  font-size: .7rem; color: var(--text-muted);
  display: flex; align-items: center; gap: .28rem; flex-wrap: wrap;
}
.hf-row__score {
  color: var(--verde-secondary); font-weight: 800;
  background: rgba(0,200,83,.1); border-radius: 4px;
  padding: .05rem .3rem; font-size: .68rem;
}
.hf-row__sep   { color: var(--text-dim); opacity: .5; }
.hf-flag { width: 16px; height: 11px; object-fit: contain; border-radius: 2px; vertical-align: middle; }

.hf-row__amount {
  font-size: .92rem; font-weight: 900;
  color: var(--verde-secondary);
  white-space: nowrap; flex-shrink: 0;
  font-family: 'Barlow Condensed', var(--font-base);
  letter-spacing: .01em;
}
.hf-row:nth-child(1) .hf-row__amount { color: #FFD700; font-size: 1rem; }
.hf-row:nth-child(2) .hf-row__amount { color: #C0C0C0; }
.hf-row:nth-child(3) .hf-row__amount { color: #CD7F32; }

/* ── Near-miss rows ──────────────────────────────────────── */
.near-row {
  display: flex; align-items: flex-start; gap: .85rem;
  padding: .85rem 1.2rem;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.near-row:last-child { border-bottom: 0; }
.near-row:hover { background: var(--surface-2); }

.near-row__pos {
  width: 1.6rem; flex-shrink: 0; padding-top: .2rem;
  font-size: .76rem; font-weight: 800; color: var(--text-dim); text-align: center;
}
.near-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .28rem; }
.near-row__top { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.near-row__name { font-size: .87rem; font-weight: 700; flex: 1; }
.near-row__badge {
  font-size: .68rem; font-weight: 800; white-space: nowrap;
  padding: .15rem .6rem; border-radius: 999px;
  background: rgba(245,158,11,.14); color: #f59e0b;
  border: 1px solid rgba(245,158,11,.22);
}
.near-row__badge--far {
  background: rgba(239,68,68,.12); color: var(--danger);
  border-color: rgba(239,68,68,.22);
}
.near-row__game {
  font-size: .73rem; color: var(--text-muted);
  display: flex; align-items: center; gap: .3rem; flex-wrap: wrap;
}
.near-row__detail { font-size: .73rem; color: var(--text-dim); }
.near-row__real  { color: var(--primary) !important; }
.near-row__guess { color: var(--danger)  !important; }
.near-row__sep   { color: var(--text-dim); margin: 0 .25rem; }

/* ── Light mode ──────────────────────────────────────────── */
.theme-light .hf-section { background: var(--surface); }
.theme-light .hf-section__header { background: var(--surface-2); }
.theme-light .hf-row:hover,
.theme-light .near-row:hover { background: var(--surface-2); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 540px) {
  .podium-step__game  { display: none; }
  .podium-step__score { display: none; }
  .hf-row, .near-row  { padding: .75rem 1rem; gap: .65rem; }
  .podium-step { padding: 1.1rem .6rem 1rem; }
  .podium-step--1 { padding-top: 1.5rem; }
}


/* ============================================================
   §14 AUTH & FORMULÁRIOS
   ============================================================ */
.auth-container {
  max-width: 420px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.auth-tabs {
  display: flex; background: var(--surface-2);
  border-radius: var(--radius-sm); padding: .22rem; margin-bottom: 1.5rem; gap: .22rem;
}
.auth-tab {
  flex: 1; border: 0; background: transparent;
  color: var(--text-muted); padding: .6rem;
  border-radius: 8px; cursor: pointer; font-weight: 600; font-size: .9rem;
  transition: all .2s;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
}
.auth-tab--active {
  background: var(--primary);
  color: #001a0d;
  font-weight: 800;
  box-shadow: 0 3px 0 0 var(--primary-dark), 0 2px 10px rgba(89,255,21,.28);
}

.btn-link {
  background: none; border: none; padding: 0;
  color: var(--primary); cursor: pointer; font-size: .875rem;
  text-decoration: underline; text-underline-offset: 2px;
}
.btn-link:hover { opacity: .8; }
.theme-light .btn-link { color: var(--text); }

/* ── Badge de bônus dentro do form de cadastro ── */
.auth-bonus-badge {
  display: flex; align-items: center; gap: .55rem;
  background: rgba(89,255,21,.1); border: 1px solid rgba(89,255,21,.25);
  border-radius: .6rem; padding: .6rem .9rem; margin-bottom: 1.1rem;
  font-size: .85rem; font-weight: 600; color: var(--primary);
}
.auth-bonus-badge i { font-size: 1rem; flex-shrink: 0; }

/* ── Hint sob o botão de magic link ── */
.auth-magic-hint {
  text-align: center; font-size: .75rem;
  color: var(--text-muted); margin: .5rem 0 0;
}

/* ── Divisor "ou" entre formulário e botão Google ── */
.auth-divider {
  display: flex; align-items: center; gap: .75rem;
  margin: 1.1rem 0 .9rem;
  color: var(--text-muted); font-size: .8rem;
}
.auth-divider::before,
.auth-divider::after {
  content: ''; flex: 1;
  height: 1px; background: var(--border);
}

/* ── Wrapper centraliza o botão Google renderizado pelo GSI ── */
.google-signin-wrap {
  display: flex; justify-content: center;
  min-height: 44px;
}

.form-group { margin-bottom: .9rem; }
.form-group label {
  display: block; font-size: .82rem; color: var(--text-dim);
  margin-bottom: .4rem; font-weight: 500;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }

input[type=text],
input[type=email],
input[type=password],
input[type=number],
input[type=datetime-local],
input[type=date],
input[type=search],
select {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: .75rem .95rem;
  font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
  -webkit-appearance: none;
}
input[type=date]::-webkit-calendar-picker-indicator {
  filter: invert(0.5);
  cursor: pointer;
}
input:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
input::placeholder { color: var(--text-muted); }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='%236B7280'%3E%3Cpath d='M5 6 0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.2rem;
  cursor: pointer;
}


/* ============================================================
   §15 MODAIS
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.modal__backdrop {
  position: absolute; inset: 0;
  background: var(--modal-backdrop);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.modal__box {
  position: relative; z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 2rem;
  width: min(500px, 100%);
  max-height: 92vh; overflow-y: auto; overflow-x: hidden;
  animation: modalIn .25s cubic-bezier(.34,1.56,.64,1);
  box-shadow: var(--shadow-modal);
}
.modal__box--sm        { width: min(380px, 100%); }
.modal__box--resultado { text-align: center; width: min(420px, 100%); }

@keyframes modalIn {
  from { opacity: 0; transform: scale(.91) translateY(22px); }
  to   { opacity: 1; transform: none; }
}

.modal__close {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-muted); width: 30px; height: 30px;
  border-radius: 50%; cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: color .15s, border-color .15s;
}
.modal__close:hover { color: var(--text); border-color: var(--border-strong); }

.modal__header { text-align: center; margin-bottom: 1.4rem; }
.modal__icon   { font-size: 2.2rem; display: block; margin-bottom: .4rem; }
.modal__header h3 { font-size: 1.25rem; font-weight: 800; }

/* Modal de palpite */
.bet-matchup {
  display: flex; align-items: center; justify-content: center;
  gap: 1.25rem; margin-bottom: 1.4rem;
}
.bet-team { display: flex; flex-direction: column; align-items: center; gap: .3rem; flex: 1; text-align: center; }
.bet-team__flag { font-size: 2.6rem; }
.bet-team__name { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); }
.bet-vs { font-size: .75rem; font-weight: 900; color: var(--text-muted); letter-spacing: .12em; }

.score-picker {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-bottom: .85rem;
}
.score-counter { display: flex; align-items: center; gap: .65rem; }
.score-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text); font-size: .85rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s, color .15s;
  flex-shrink: 0;
}
.score-btn:hover { background: var(--primary); color: #000; border-color: var(--primary); }
.score-value {
  font-size: 2.4rem; font-weight: 900; width: 2.4rem;
  text-align: center; font-variant-numeric: tabular-nums;
}
.score-sep { font-size: 1.4rem; font-weight: 900; color: var(--text-muted); }

.bet-preview-score {
  text-align: center; font-size: .88rem; color: var(--text-muted);
  background: var(--surface-2); border-radius: var(--radius-sm);
  padding: .55rem; margin-bottom: 1.25rem; font-weight: 600;
}

.multiplier-section {
  background: var(--surface-2); border-radius: var(--radius);
  padding: 1.1rem 1.25rem; margin-bottom: 1.1rem;
}
.multiplier-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: .7rem; font-size: .88rem; font-weight: 600;
}
.multiplier-value { color: var(--primary); font-size: 1.35rem; font-weight: 900; }

.multiplier-slider {
  width: 100%; height: 5px;
  -webkit-appearance: none; appearance: none;
  background: var(--surface-3); border-radius: 999px;
  outline: none; cursor: pointer; margin-bottom: .45rem;
}
.multiplier-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  background: var(--primary); border-radius: 50%;
  box-shadow: 0 0 0 4px var(--primary-glow);
  cursor: pointer; transition: transform .15s;
}
.multiplier-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.multiplier-slider::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--primary); border-radius: 50%; border: 0;
  box-shadow: 0 0 0 4px var(--primary-glow); cursor: pointer;
}
.multiplier-labels {
  display: flex; justify-content: space-between;
  font-size: .73rem; color: var(--text-muted);
}

.bet-summary {
  background: var(--surface-2); border-radius: var(--radius);
  padding: .9rem 1.1rem; margin-bottom: 1.1rem;
  display: flex; flex-direction: column; gap: .55rem;
}
.bet-summary__row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .88rem;
}
.bet-summary__row--win { font-weight: 700; }
.bet-summary__amount   { font-weight: 700; }
.bet-summary__win      { color: var(--primary); font-size: 1.1rem; font-weight: 900; }

/* ── Referral modal ──────────────────────────────────────── */
.ref-box {
  padding: 0; overflow: hidden; max-width: 400px; text-align: center;
}
.ref__hero {
  padding: 2rem 1.75rem 1.25rem;
  background: linear-gradient(160deg, #071a0b 0%, #04081a 100%);
}
.ref__icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(89,255,21,.15); border: 1px solid rgba(89,255,21,.25);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .9rem;
  font-size: 1.6rem; color: var(--primary);
}
.ref__title {
  font-size: 1.5rem; font-weight: 900; line-height: 1.25;
  margin-bottom: .5rem; color: #fff;
}
.ref__sub { font-size: .85rem; color: rgba(255,255,255,.6); line-height: 1.5; }
.ref__sub strong { color: var(--primary); }
.ref__reward {
  display: flex; flex-direction: column; align-items: center; gap: .15rem;
  padding: 1rem 1.75rem .75rem;
  background: rgba(89,255,21,.07);
  border-bottom: 1px solid rgba(89,255,21,.15);
}
.ref__reward-amount {
  font-size: 2.2rem; font-weight: 900; color: var(--primary);
  line-height: 1; letter-spacing: -.02em;
}
.ref__reward-label { font-size: .75rem; color: var(--text-muted); font-weight: 600; }
.ref__stats {
  display: flex; align-items: center; justify-content: center; gap: 0;
  padding: .85rem 1.75rem; border-bottom: 1px solid var(--border);
}
.ref__stat { display: flex; flex-direction: column; align-items: center; gap: .1rem; flex: 1; }
.ref__stat strong { font-size: 1.25rem; font-weight: 900; color: var(--text); }
.ref__stat span { font-size: .7rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }
.ref__stat-divider { width: 1px; height: 36px; background: var(--border); }
.ref__progress-wrap {
  padding: .75rem 1.75rem;
  border-bottom: 1px solid var(--border);
}
.ref__progress-bar {
  height: 6px; background: var(--border); border-radius: 3px;
  overflow: hidden; margin-bottom: .35rem;
}
.ref__progress-fill {
  height: 100%; background: var(--primary); border-radius: 3px;
  width: 0%; transition: width .6s cubic-bezier(.4,0,.2,1);
}
.ref__progress-label { font-size: .7rem; color: var(--text-muted); font-weight: 600; }
.ref__link-wrap { padding: .85rem 1.75rem; border-bottom: 1px solid var(--border); text-align: left; }
.ref__link-label { font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--text-muted); display: block; margin-bottom: .35rem; }
.ref__link-row {
  display: flex; align-items: center;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden;
}
.ref__link-url {
  flex: 1; padding: .5rem .75rem; font-size: .78rem;
  color: var(--primary); font-family: monospace; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.ref__copy-btn {
  flex-shrink: 0; padding: .5rem .75rem;
  background: none; border: none; border-left: 1px solid var(--border);
  color: var(--text-muted); cursor: pointer; font-size: .9rem;
  transition: color .15s, background .15s;
}
.ref__copy-btn:hover { color: var(--primary); background: var(--surface-3); }
.ref__actions { padding: 1rem 1.75rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.ref__btn-whatsapp {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  width: 100%; padding: .85rem;
  background: #25D366; color: #fff; border: none;
  border-radius: var(--radius-sm); font-size: .95rem; font-weight: 800;
  cursor: pointer; transition: opacity .15s;
}
.ref__btn-whatsapp:hover { opacity: .88; }
.ref__actions-row { display: flex; gap: .5rem; }
.ref__btn-secondary {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .65rem; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text-muted); font-size: .82rem; font-weight: 600;
  cursor: pointer; transition: color .15s, border-color .15s;
}
.ref__btn-secondary:hover { color: var(--text); border-color: var(--text-muted); }

/* ── Pending bet countdown bar (auth page) ───────────────── */
.pending-bet-bar {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1rem; margin-bottom: 1.25rem;
  background: rgba(255,160,0,.1);
  border: 1px solid rgba(255,160,0,.3);
  border-radius: var(--radius-sm);
  font-size: .85rem; font-weight: 600; color: #FFA000;
}
.pending-bet-bar i { animation: pulse-dot 1.5s ease-in-out infinite; }
.pending-bet-bar strong { font-variant-numeric: tabular-nums; margin-left: .2rem; }

/* ── Pre-login prize preview ─────────────────────────────── */
.pl-box {
  text-align: center;
  padding: 2rem 1.75rem 1.75rem;
  max-width: 360px;
}
.pl__trophy {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(0,200,83,.12);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.1rem;
  font-size: 1.75rem; color: var(--verde-secondary);
}
.pl__title {
  font-size: 1.3rem; font-weight: 800; line-height: 1.3;
  margin-bottom: 1.25rem; color: var(--text);
}
.pl__game {
  display: flex; align-items: center; justify-content: center;
  gap: .75rem; padding: .8rem 1rem;
  background: var(--surface-2); border-radius: var(--radius-sm);
  margin-bottom: .85rem;
}
.pl__flag { display: flex; align-items: center; }
.pl__flag img { width: 32px; height: auto; border-radius: 3px; }
.pl__game-center {
  display: flex; flex-direction: column; align-items: center; gap: .15rem;
}
.pl__team-name { font-size: .72rem; font-weight: 700; color: var(--text-dim); }
.pl__score {
  font-size: 1.15rem; font-weight: 900;
  color: var(--verde-secondary); letter-spacing: .06em;
}
.pl__prize-box {
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
  padding: .85rem 1.25rem; margin-bottom: 1rem;
  background: rgba(89,255,21,.08);
  border: 1px solid rgba(89,255,21,.25); border-radius: var(--radius-sm);
}
.pl__prize-label { font-size: .78rem; color: var(--text-muted); font-weight: 600; }
.pl__prize-amount {
  font-size: 1.9rem; font-weight: 900; color: var(--verde-secondary);
  line-height: 1; letter-spacing: -.01em;
}
.pl__note {
  font-size: .78rem; color: var(--text-muted); line-height: 1.5;
  margin-bottom: 1.25rem;
}
.pl__btn-row {
  display: flex; gap: .6rem; margin-top: .25rem;
}
.pl__btn-row .btn { flex: 1; justify-content: center; }

/* ── Email form dentro do modal pré-login ── */
.pl__email-form { margin-top: .25rem; }
.pl__email-wrap {
  display: flex; flex-direction: column; gap: .5rem;
}
.pl__email-input {
  width: 100%;
  padding: .65rem .85rem;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  font-size: .9rem; outline: none; transition: border-color .15s;
  box-sizing: border-box;
}
.pl__email-input:focus { border-color: var(--primary); }
.pl__email-btn { width: 100%; justify-content: center; gap: .35rem; }
.pl__login-link {
  text-align: center; margin-top: .75rem;
  font-size: .78rem; color: var(--text-muted);
}
.pl__divider {
  display: flex; align-items: center; gap: .5rem;
  margin: .5rem 0; color: var(--text-muted); font-size: .75rem;
}
.pl__divider::before, .pl__divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.pl__btn-primary {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  position: relative; overflow: hidden;
  width: 100%; padding: .85rem; margin-bottom: .6rem;
  background: linear-gradient(110deg, var(--primary) 0%, var(--primary) 50%, var(--primary) 100%);
  background-size: 200% 100%;
  color: #003d1a; border: none; border-radius: var(--radius-sm);
  font-size: .95rem; font-weight: 800; cursor: pointer; letter-spacing: .02em;
  box-shadow: 0 0 22px rgba(89,255,21,.40), 0 2px 10px rgba(0,0,0,.18);
  animation: bet-gradient 3s ease infinite;
}
.pl__btn-primary::after {
  content: ''; position: absolute; top: 0; left: -70%;
  width: 45%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-18deg);
  animation: bet-shine 2.8s ease-in-out infinite;
}
.pl__btn-primary:hover {
  box-shadow: 0 0 38px rgba(89,255,21,.65), 0 4px 18px rgba(0,0,0,.22);
  transform: translateY(-2px);
  color: #001a0d;
}
.pl__btn-ghost {
  width: 100%; padding: .65rem;
  background: none; border: 1px solid var(--border);
  color: var(--text-muted); border-radius: var(--radius-sm);
  font-size: .85rem; font-weight: 600; cursor: pointer;
  transition: color .15s, border-color .15s;
}
.pl__btn-ghost:hover { color: var(--text); border-color: var(--text-muted); }

/* ── Bet flow step header ────────────────────────────────── */
.flow-header {
  display: flex; align-items: center;
  padding: .65rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.flow-steps {
  flex: 1; display: flex; align-items: center;
}
.flow-step {
  display: flex; align-items: center; gap: .35rem;
  flex-shrink: 0;
}
.flow-step__line {
  flex: 1; height: 1.5px; min-width: .5rem;
  background: var(--border); margin: 0 .35rem;
  transition: background .3s;
}
.flow-step__line--done { background: var(--primary); }
.flow-step__badge {
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .62rem; font-weight: 800; flex-shrink: 0;
  border: 1.5px solid var(--border);
  color: var(--text-muted); background: transparent;
  transition: all .25s;
}
.flow-step__name {
  font-size: .72rem; font-weight: 600;
  color: var(--text-muted); white-space: nowrap;
  transition: color .25s;
}
.flow-step--active .flow-step__badge {
  background: var(--primary); border-color: var(--primary); color: #000;
}
.flow-step--active .flow-step__name { color: var(--text); font-weight: 700; }
.flow-step--done .flow-step__badge { border-color: var(--primary); color: var(--primary); }
.flow-step--done .flow-step__name { color: var(--text-muted); }
.flow-close {
  flex-shrink: 0; margin-left: .75rem;
  width: 26px; height: 26px; border-radius: 50%;
  background: transparent; border: 1px solid var(--border);
  color: var(--text-muted); font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color .15s, border-color .15s;
}
.flow-close:hover { color: var(--text); border-color: var(--text-muted); }
@media (max-width: 480px) {
  .flow-step:not(.flow-step--active):not(.flow-step--done) .flow-step__name { display: none; }
}

/* ── Bet Modal redesign (.bm) ────────────────────────────── */
.bm { padding: 1.5rem 1.5rem 1.75rem; overflow: hidden; }
.bm > .flow-header {
  margin: -1.5rem -1.5rem 1.25rem;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* Liga / data */
.bm__meta {
  display: flex; flex-direction: column; align-items: center; gap: .25rem;
  font-size: .74rem; color: var(--text-muted); margin-bottom: 1.4rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.bm__meta-row1 { display: flex; align-items: center; gap: .4rem; }
.bm__meta-row2 {
  display: flex; align-items: center; gap: .3rem;
  font-size: .78rem; font-weight: 700; color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.bm__meta-row2--soon { color: #FFA500; }
.bm__meta-row2--live { color: var(--danger); }
.bm__meta-icon  { color: var(--text-muted); font-size: .72rem; }
.bm__meta-league { font-weight: 700; color: var(--text-dim); }
.bm__meta-sep   { opacity: .4; }

/* ── Urgency countdown (jogos do dia) ───────────────────────── */
.bm-urgency {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: .55rem .85rem;
  background: rgba(255,109,0,.1);
  border: 1px solid rgba(255,109,0,.35);
  border-radius: var(--radius-sm);
  margin: 0 0 .75rem;
}
.bm-urgency--critical {
  background: rgba(239,68,68,.1);
  border-color: rgba(239,68,68,.4);
  animation: bmUrgencyPulse 1.4s ease-in-out infinite;
}
@keyframes bmUrgencyPulse {
  0%,100% { background: rgba(239,68,68,.08); }
  50%     { background: rgba(239,68,68,.18); }
}
.bm-urgency__label {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: #f59e0b;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: .25rem;
}
.bm-urgency--critical .bm-urgency__label { color: #f87171; }
.bm-urgency__clock {
  display: flex;
  align-items: center;
  gap: .2rem;
}
.bm-urgency__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .04rem;
  min-width: 2.1rem;
  background: rgba(0,0,0,.3);
  border-radius: 6px;
  padding: .22rem .35rem;
}
.bm-urgency__unit span {
  font-family: 'Barlow Condensed', monospace;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.bm-urgency--critical .bm-urgency__unit span { color: #fca5a5; }
.bm-urgency__unit small {
  font-size: .48rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
}
.bm-urgency__colon {
  font-size: 1.1rem;
  font-weight: 800;
  color: rgba(255,255,255,.3);
  line-height: 1;
  padding-bottom: .7rem;
}

/* ── Urgency countdown — tema claro ─────────────────────────── */
.theme-light .bm-urgency {
  background: rgba(255,109,0,.08);
  border-color: rgba(255,109,0,.45);
}
.theme-light .bm-urgency--critical {
  background: rgba(220,38,38,.08);
  border-color: rgba(220,38,38,.45);
}
.theme-light .bm-urgency__label        { color: #c2410c; }
.theme-light .bm-urgency--critical .bm-urgency__label { color: #dc2626; }
.theme-light .bm-urgency__unit {
  background: rgba(0,0,0,.07);
  border: 1px solid rgba(0,0,0,.1);
}
.theme-light .bm-urgency__unit span    { color: #1e293b; }
.theme-light .bm-urgency--critical .bm-urgency__unit span { color: #dc2626; }
.theme-light .bm-urgency__unit small   { color: rgba(0,0,0,.4); }
.theme-light .bm-urgency__colon        { color: rgba(0,0,0,.25); }

.bm__meta-date  { font-variant-numeric: tabular-nums; }

/* Times */
.bm__matchup {
  display: flex; align-items: center; justify-content: center;
  gap: .5rem; margin-bottom: 1rem; width: 100%;
}
.bm__team {
  display: flex; flex-direction: column; align-items: center;
  gap: .35rem; flex: 1; min-width: 0; text-align: center;
}
.bm__team .bet-team__flag {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.bm__team .bet-team__flag .team-logo {
  width: 44px; height: 44px; object-fit: contain;
}
.bm__team .bet-team__flag .team-flag-emoji { font-size: 2.2rem; line-height: 1; }
.bm__team-name {
  font-size: .75rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-dim);
  max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bm__vs {
  font-size: 5rem; font-weight: 900;
  color: var(--danger); padding: 0 .25rem;
  align-self: flex-start; margin-top: .6rem;
  text-shadow: 0 0 18px rgba(255,51,85,.35);
}

/* Scoreboard */
.bm__scoreboard {
  display: flex; align-items: center; justify-content: center;
  gap: .75rem; margin-bottom: .9rem;
}
@keyframes bm-shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-6px); }
  40%      { transform: translateX(6px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}
.bm__scoreboard--shake { animation: bm-shake .55s ease; }
.bm__score-group { display: flex; align-items: center; gap: .5rem; }
.bm__score-box {
  width: 3.2rem; height: 3.2rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2);
  border: 1.5px solid rgba(89,255,21,.3);
  border-radius: var(--radius);
  box-shadow: 0 0 12px rgba(89,255,21,.08) inset;
}
.bm__score-box .score-value {
  font-size: 2rem; line-height: 1; width: 2.6rem;
  transition: color .15s;
}
.bm__score-box input.score-value {
  background: none; border: none; outline: none;
  text-align: center; color: inherit;
  font-weight: 900; font-family: inherit;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield; appearance: textfield;
  padding: 0;
}
.bm__score-box input.score-value::-webkit-outer-spin-button,
.bm__score-box input.score-value::-webkit-inner-spin-button { -webkit-appearance: none; }
.bm__score-box input.score-value::placeholder { color: var(--danger); opacity: 1; }
.bm__score-box .score-value--empty {
  color: var(--danger); font-size: 1.6rem; font-weight: 900;
}
.bm__score-x {
  font-size: 1.1rem; font-weight: 900; color: var(--text-muted);
}

/* Preview */
.bm__preview {
  text-align: center; font-size: .82rem; font-weight: 600;
  color: var(--primary);
  background: rgba(89,255,21,.07); border: 1px solid rgba(89,255,21,.18);
  border-radius: 999px; padding: .38rem 1rem;
  margin: 0 auto .5rem; max-width: fit-content;
  display: block; margin-bottom: 1.25rem;
}

/* Multiplicador */
/* Stake slider */
.bm__stake {
  background: var(--surface-2); border-radius: var(--radius);
  padding: 1rem 1.1rem; margin-bottom: 1rem;
}
.bm__stake-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: .65rem;
}
.bm__stake-label { font-size: .85rem; font-weight: 600; }
.bm__stake-val   {
  font-size: 1.45rem; font-weight: 900; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.bm__stake-foot {
  display: flex; justify-content: space-between;
  margin-top: .5rem; font-size: .7rem; color: var(--text-muted);
}
.stake-slider {
  width: 100%; height: 5px;
  -webkit-appearance: none; appearance: none;
  background: var(--surface-3); border-radius: 999px;
  outline: none; cursor: pointer; margin-bottom: .45rem;
}
.stake-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  background: var(--primary); border-radius: 50%;
  box-shadow: 0 0 0 4px var(--primary-glow);
  cursor: pointer; transition: transform .15s;
}
.stake-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.stake-slider::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--primary); border-radius: 50%; border: 0;
  box-shadow: 0 0 0 4px var(--primary-glow); cursor: pointer;
}

/* Odd badge no resumo */
.bm__summary-odd-label { font-size: .8rem; color: var(--text-muted); }
.bm__mult-badge {
  font-size: 1rem; font-weight: 900; color: var(--primary);
  background: rgba(89,255,21,.1); border: 1px solid rgba(89,255,21,.25);
  border-radius: 999px; padding: .15rem .7rem;
  font-variant-numeric: tabular-nums;
}

/* Resumo */
.bm__summary {
  border-radius: var(--radius); overflow: hidden;
  margin-bottom: 1.1rem;
}
.bm__summary-pay {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; color: var(--text-muted);
  padding: .55rem .9rem;
  background: var(--surface-2); border: 1px solid var(--border);
  border-bottom: none; border-radius: var(--radius) var(--radius) 0 0;
}
.bm__summary-prize {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  padding: .75rem 1rem .6rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius) var(--radius);
}
.bm__prize-label {
  font-size: .88rem; font-weight: 700; color: var(--text-muted);
  display: flex; align-items: center; gap: .4rem;
}
.bm__prize-label i { color: var(--text-muted); }
.bm__prize-amount  {
  font-size: 1.55rem; font-weight: 900; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.bm__prize-hint {
  font-size: .75rem; color: var(--text-muted);
  text-align: center; margin: .5rem 0 .25rem; line-height: 1.5;
}

/* Ticket (legacy — mantido para compatibilidade) */
.ticket__header {
  display: flex; align-items: center; gap: .9rem;
  padding-bottom: 1.1rem; border-bottom: 1px solid var(--border);
  margin-bottom: 1.1rem;
}
.ticket__icon  { font-size: 2.4rem; }
.ticket__title { font-weight: 800; font-size: 1.05rem; margin-bottom: .15rem; }
.ticket__id    { color: var(--text-muted); font-size: .82rem; font-family: 'Courier New', monospace; }
.ticket__divider         { border: 0; border-top: 1px solid var(--border); margin: .9rem 0; }
.ticket__divider--dashed { border-style: dashed; margin-bottom: 1.1rem; }
.ticket__row   { display: flex; justify-content: space-between; align-items: center; padding: .35rem 0; }
.ticket__label { font-size: .82rem; color: var(--text-muted); }
.ticket__val   { font-weight: 700; font-size: .92rem; }
.ticket__val--win { color: var(--primary); font-size: 1.05rem; }

/* ── Ticket modal redesign (.tk) ─────────────────────────── */
.tk { padding: 0; overflow: hidden; }

.tk__header {
  padding: 1.4rem 1.5rem 1.2rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.tk__header-top {
  display: flex; justify-content: center; align-items: center;
  margin-bottom: .6rem;
}
.tk__label {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-muted);
}
.tk__label i { color: var(--primary); margin-right: .25rem; }
.tk__game {
  font-size: 1.2rem; font-weight: 800;
  margin-bottom: .3rem; color: var(--text);
}
.tk__meta {
  display: flex; align-items: center; justify-content: center; gap: .35rem;
  font-size: .74rem; color: var(--text-muted);
}
.tk__meta-sep { opacity: .35; }

/* Status banner */
.tk__status {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .65rem 1.5rem;
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  border-top: 1px solid; border-bottom: 1px solid;
}
.tk__status--preview  { background: rgba(255,255,255,.04); border-color: var(--border);          color: var(--text-muted); }
.tk__status--pendente { background: rgba(255,179,0,.1);    border-color: rgba(255,179,0,.3);      color: #ffb300; }
.tk__status--pago     { background: rgba(33,150,243,.1);   border-color: rgba(33,150,243,.3);     color: #42a5f5; }
.tk__status--confirmado { background: rgba(89,255,21,.1);   border-color: rgba(89,255,21,.3);       color: var(--primary); }
.tk__status--ganhou   { background: rgba(255,215,0,.1);    border-color: rgba(255,215,0,.35);     color: #ffd700; }
.tk__status--perdido  { background: rgba(244,67,54,.1);    border-color: rgba(244,67,54,.3);      color: #ef5350; }

.tk__body {
  padding: .25rem 1.5rem;
}
.tk__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .65rem 0; border-bottom: 1px solid var(--border);
}
.tk__row:last-child { border-bottom: none; }
.tk__row-label         { font-size: .82rem; color: var(--text-muted); }
.tk__row-val           { font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; }
.tk__row-val--muted    { font-weight: 500; color: var(--text-muted); font-size: .85rem; }

/* Prêmio: neutro — valor alto já comunica destaque */
.tk__row--prize .tk__row-val {
  color: var(--text);
  font-size: 1rem;
}

/* Barra de valor do palpite — neutro, sem verde */
.tk__stake-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: .85rem 1.5rem;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tk__stake-bar-label {
  font-size: .8rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .04em;
}
.tk__stake-bar-amount {
  font-size: 1.5rem; font-weight: 900; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.tk__row--muted { opacity: .7; }

/* Separador estilo ticket físico */
.tk__perf {
  position: relative; height: 1px;
  background: repeating-linear-gradient(
    to right, transparent 0, transparent 5px,
    var(--border) 5px, var(--border) 11px
  );
  margin: 0 -0px;
}
.tk__perf::before, .tk__perf::after {
  content: ''; position: absolute;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg, #0d0f1a);
  border: 1px solid var(--border);
  top: -9px;
}
.tk__perf::before { left:  -9px; }
.tk__perf::after  { right: -9px; }

.tk__footer { padding: 1.25rem 1.5rem 1.5rem; }
.tk__pay-section { border-top: 1px solid var(--border); }
.tk__pay-section .pay-opts__section-label { padding: .9rem 1.5rem .4rem; }
.tk__pay-section .pay-opts__methods { padding: 0 1.5rem .75rem; }
.tk__pay-section .tk__footer { padding-top: 0; }

/* Matchup no ticket */
.tk__matchup {
  display: flex; align-items: center; justify-content: space-between;
  gap: .5rem; padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.tk__tm {
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  flex: 1; min-width: 0;
}
.tk__tm--rev { flex-direction: column; }
.tk__tm-flag {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.07); border-radius: 8px; overflow: hidden;
}
.tk__tm-flag img { width: 100%; height: 100%; object-fit: cover; }
.tk__tm-flag span { font-size: 1.8rem; line-height: 1; }
.tk__tm-name {
  font-size: .72rem; font-weight: 700; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-align: center; width: 100%;
}
.tk__score-box {
  display: flex; align-items: center; gap: .3rem; flex-shrink: 0; padding: 0 .35rem;
}
.tk__score-val {
  font-size: 2rem; font-weight: 900; color: var(--text);
  font-variant-numeric: tabular-nums; min-width: 1.2ch; text-align: center;
  line-height: 1;
}
.tk__score-sep { font-size: 1rem; color: var(--text-muted); font-weight: 300; }


/* Payment options modal */
.pay-opts { padding: 0; overflow: hidden; }
.pay-opts__header {
  padding: 1.3rem 1.5rem 1.1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.pay-opts__title {
  font-size: 1rem; font-weight: 800; margin: 0 0 .55rem;
  display: flex; align-items: center; gap: .4rem;
}
.pay-opts__title i { color: var(--primary); }
.pay-opts__amount-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem; color: var(--text-muted);
}
.pay-opts__amount-row strong {
  font-size: 1.15rem; font-weight: 900; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.pay-opts__section-label {
  padding: .9rem 1.5rem .3rem; margin: 0;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em;
  color: var(--text-muted);
}
.pay-opts__methods {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .6rem; padding: .4rem 1.5rem .9rem;
}
.pay-opt-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .25rem; padding: 1rem .75rem;
  background: var(--surface); border: 2px solid var(--border);
  border-radius: var(--radius); cursor: pointer;
  transition: border-color .15s, background .15s;
  color: var(--text);
}
.pay-opt-card__icon { font-size: 1.5rem; }
.pay-opt-card__name { font-size: .88rem; font-weight: 700; }
.pay-opt-card__sub  { font-size: .7rem; color: var(--text-muted); }
.pay-opt-card__logo { max-width: 100%; max-height: 2.4rem; object-fit: contain; }
#payOptExpay.pay-opt-card--active { background: transparent; }
.pay-opt-card { background: #f0f0f0; border-color: #ddd; color: #333; }
.pay-opt-card--active { border-color: var(--primary); background: #f0f0f0; }
.pay-opt-card__sub { color: #888; }
.pay-opt-card--active {
  border-color: var(--primary);
  background: rgba(89,255,21,.07);
}
.pay-opt-card--active .pay-opt-card__icon { color: var(--primary); }
.pay-opt-card--active .pay-opt-card__name { color: var(--primary); }
.pay-opt-card--soon { opacity: .35; cursor: not-allowed; }
.pay-opt-card:disabled { opacity: .35; cursor: not-allowed; }
.badge-admin { display:inline-block; font-size:.65rem; font-weight:700; padding:.1rem .4rem; border-radius:4px; background:rgba(245,158,11,.15); color:#f59e0b; border:1px solid rgba(245,158,11,.3); vertical-align:middle; margin-left:.3rem; }
.btn--warning { background:rgba(245,158,11,.15); color:#f59e0b; border:1px solid rgba(245,158,11,.3); }
.btn--warning:hover { background:rgba(245,158,11,.25); }
.pay-opts__footer { padding: 0 1.5rem 1.5rem; }

/* Modal de resultado */
.resultado-win__icon   { font-size: 5rem; margin-bottom: .75rem; display: block; }
.resultado-win__title  { font-size: 1.8rem; font-weight: 900; color: var(--primary); margin-bottom: .5rem; }
.resultado-win__amount {
  font-size: 2.8rem; font-weight: 900; color: var(--primary);
  text-shadow: 0 0 35px var(--primary-glow); margin-bottom: 1.6rem; display: block;
}
.resultado-win__info { color: var(--text-muted); font-size: .9rem; margin-bottom: 1.5rem; }
.resultado-win__btns { display: flex; flex-direction: column; gap: .65rem; }

.resultado-loss__icon  { font-size: 4rem; margin-bottom: .75rem; display: block; }
.resultado-loss__title { font-size: 1.5rem; font-weight: 900; margin-bottom: .5rem; }
.resultado-loss__sub   { color: var(--text-muted); margin-bottom: 1.25rem; font-size: .9rem; }
.resultado-loss__next  {
  background: var(--surface-2); border-radius: var(--radius);
  padding: 1rem 1.1rem; margin-bottom: 1.4rem; border: 1px solid var(--border);
}
.resultado-loss__next-label { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .35rem; }
.resultado-loss__next-game  { font-weight: 700; font-size: .95rem; }


/* ============================================================
   §16 ADMIN
   ============================================================ */
#view-admin { padding: 0; }

.admin-layout { display: flex; min-height: calc(100vh - 86px); background: var(--surface); }

.admin-sidebar {
  width: 220px; flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 1.5rem 1rem;
  position: sticky; top: 86px;
  overflow-y: auto;
  box-shadow: var(--shadow-sidebar);
}
.admin-sidebar__title {
  font-size: .8rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-muted); margin-bottom: 1rem; padding: 0 .5rem;
}

.admin-nav { display: flex; flex-direction: column; gap: .25rem; }
.admin-nav__btn {
  border: 0; background: transparent; color: var(--text-dim);
  padding: .65rem .85rem; border-radius: var(--radius-sm);
  cursor: pointer; font-size: .88rem; font-weight: 500;
  text-align: left; transition: all .15s; width: 100%;
  border-left: 3px solid transparent;
  padding-left: calc(.85rem - 3px);
}
.admin-nav__btn:hover  { background: var(--surface-2); color: var(--text); }
.admin-nav__btn--active { background: var(--tint-primary); color: var(--primary); font-weight: 700; border-left-color: var(--primary); }
.theme-light .admin-nav__btn--active { background: rgba(0,0,0,0.08); color: #1e293b; border-left-color: #1e293b; }

.admin-sidebar__footer {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-start;
}

.admin-content { flex: 1; padding: 2rem; min-width: 0; background: var(--bg); }
.admin-tab { display: flex; flex-direction: column; gap: 1.25rem; }
.admin-tab.hidden { display: none; }
.admin-tab__title { font-size: 1.4rem; font-weight: 800; margin-bottom: 1rem; }

/* Page header consistente para cada aba */
.admin-page-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}
.admin-page-header--actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.admin-page-header__title { font-size: 1.35rem; font-weight: 800; margin: 0 0 .25rem; }
.admin-page-header__sub   { font-size: .83rem; color: var(--text-muted); margin: 0; }

/* Toolbar de filtros (apostas, usuários) */
.admin-toolbar {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .7rem 1rem;
  margin-bottom: 1.25rem;
}
.admin-toolbar select,
.admin-toolbar input { flex: 1; min-width: 150px; max-width: 320px; margin-bottom: 0; }

.admin-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.admin-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.1rem; }

.users-subtabs { display: flex; gap: .5rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--border); padding-bottom: .75rem; }
.users-subtab {
  border: 0; background: transparent; color: var(--text-dim);
  padding: .5rem 1rem; border-radius: 6px 6px 0 0;
  cursor: pointer; font-size: .9rem; transition: background .15s, color .15s;
  display: flex; align-items: center; gap: .4rem;
}
.users-subtab:hover { background: var(--surface-2); color: var(--text); }
.users-subtab--active { background: var(--tint-primary); color: var(--primary); font-weight: 600; }
.theme-light .users-subtab--active { background: rgba(0,0,0,0.07); color: #1e293b; }
.users-subtab__count {
  background: var(--surface-3); color: var(--text-dim);
  font-size: .72rem; padding: .1rem .45rem; border-radius: 999px; font-weight: 600;
}
.users-subtab--active .users-subtab__count { background: var(--primary); color: #fff; }
.theme-light .users-subtab--active .users-subtab__count { background: #1e293b; color: #fff; }

.config-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.config-tab {
  border: 0;
  background: var(--surface-2); color: var(--text-dim);
  padding: .65rem 1rem; border-radius: 999px;
  cursor: pointer; transition: background .15s, color .15s;
}
.config-tab--active { background: var(--tint-primary); color: var(--primary); }

.config-panel { display: none; }
.config-panel--active { display: block; }

/* Dashboard */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 1rem;
}
.dash-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--border);
}
.dash-card--green  { border-top-color: var(--primary); }
.dash-card--gold   { border-top-color: var(--gold); }
.dash-card--danger { border-top-color: var(--danger); }
.dash-card--info   { border-top-color: var(--info); }
.dash-card__label { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .4rem; }
.dash-card__value { font-size: 1.6rem; font-weight: 900; }
.dash-card__value--green  { color: var(--primary); }
.dash-card__value--gold   { color: var(--gold); }
.dash-card__value--danger { color: var(--danger); }
.dash-card__value--info   { color: var(--info); }

/* Tabelas admin */
.admin-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.admin-table th {
  text-align: left; padding: .6rem .75rem;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .04em;
  color: var(--text-muted); border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.admin-table td {
  padding: .65rem .75rem; border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr:hover td { background: var(--surface-2); }

.admin-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; padding: .75rem 0 .25rem;
}

.bulk-result-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem; margin: .75rem 0 .25rem;
}
.bulk-score-row { display: flex; align-items: center; gap: .3rem; }
.bulk-score {
  width: 3.5rem; text-align: center; padding: .28rem .35rem;
  font-size: .85rem; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: .375rem;
  color: var(--text);
}
.bulk-score:disabled { opacity: .3; pointer-events: none; }
.bulk-score:not(:disabled):focus { outline: 2px solid var(--primary); outline-offset: 1px; }

/* Status pills */
.status-pill {
  display: inline-flex; align-items: center;
  padding: .2rem .6rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .03em;
}
.status-pill--pendente   { background: var(--tint-gold);    color: var(--gold); }
.status-pill--pago       { background: var(--tint-info);    color: var(--info); }
.status-pill--confirmado { background: var(--tint-info);    color: var(--info); }
.status-pill--ganhou     { background: var(--tint-primary); color: var(--primary); }
.status-pill--perdido    { background: var(--tint-danger);  color: var(--danger); }
.status-pill--ativo      { background: var(--tint-primary); color: var(--primary); }
.status-pill--bloqueado  { background: var(--tint-danger);  color: var(--danger); }


/* ── Painel import API (details nativo) ── */
details.admin-import-panel {
  margin-top: 1.25rem;
}
details.admin-import-panel summary {
  cursor: pointer;
  font-size: .9rem; font-weight: 700;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  user-select: none;
  padding-bottom: 0;
}
details.admin-import-panel summary::-webkit-details-marker { display: none; }
details.admin-import-panel summary::after {
  content: '▸';
  font-size: .8rem; color: var(--text-muted);
  transition: transform .2s;
  margin-left: .5rem; flex-shrink: 0;
}
details[open].admin-import-panel summary::after { transform: rotate(90deg); }
details[open].admin-import-panel summary { margin-bottom: .25rem; }
.admin-import-body { padding-top: .25rem; }
.admin-import-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: .75rem; }
.import-result-area:empty { display: none; }
.import-result-area { margin-top: .75rem; }

.import-progress { margin-top: .5rem; }
.import-progress__bar-wrap {
  height: 8px; border-radius: 999px;
  background: var(--surface-2); overflow: hidden;
}
.import-progress__bar {
  height: 100%; border-radius: 999px;
  background: var(--primary);
  transition: width .25s ease;
}
.import-progress__label {
  font-size: .8rem; color: var(--text-muted);
  margin: .4rem 0 0; text-align: center;
}

/* League preview panel */
.league-preview-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .85rem;
}
.league-preview-badges {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.league-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .8rem; padding: .25rem .55rem .25rem .7rem;
  border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text-muted);
  white-space: nowrap;
}
.league-badge--ok   { background: rgba(89,255,21,.1);  border-color: rgba(89,255,21,.25); color: var(--text); }
.league-badge--ok strong { color: var(--primary); }
.league-badge--zero { opacity: .6; }
.league-badge__fetch {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.4rem; height: 1.4rem; border-radius: 50%;
  border: none; background: transparent; cursor: pointer;
  color: inherit; opacity: .55; transition: opacity .15s, background .15s;
  padding: 0; flex-shrink: 0;
}
.league-badge__fetch:hover:not(:disabled) { opacity: 1; background: rgba(255,255,255,.1); }
.league-badge__fetch:disabled { cursor: wait; }
.league-preview-meta { font-size: .72rem; color: var(--text-muted); }
.admin-toolbar-panel {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  padding: .75rem 1rem;
}
.admin-toolbar-panel input,
.admin-toolbar-panel select { flex: 1; min-width: 130px; }


/* Header da lista de jogos */
.admin-list-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}

/* Barra de ação em massa */
.bulk-action-bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(255,71,87,.08);
  border: 1px solid rgba(255,71,87,.25);
  border-radius: var(--radius);
  padding: .55rem 1rem;
  margin-bottom: .75rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--danger);
  flex-wrap: wrap;
}
.bulk-action-bar .btn { font-size: .8rem; }

/* Paginação */
.admin-pagination { margin-top: .75rem; }
.admin-pagination__inner {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
}

/* ============================================================
   §17 RESPONSIVO
   ============================================================ */

@media (max-width: 900px) {
  .admin-layout  { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: static; border-right: 0; border-bottom: 1px solid var(--border); padding: .75rem; }
  .admin-nav     { flex-direction: row; flex-wrap: wrap; gap: .35rem; }
  .admin-nav__btn { width: auto; padding: .45rem .75rem; font-size: .82rem; }
  .admin-content  { padding: 1.25rem; }
  .admin-grid-2   { grid-template-columns: 1fr; }
  .admin-grid-3   { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav           { display: none; }
  .mobile-toggle { display: inline-flex; }
  .nav__btn      { padding: 0 .75rem; font-size: .82rem; }
  .games-grid    { grid-template-columns: 1fr; }
  /* ranking-grid removido — ver hf-grid */
  .form-row      { grid-template-columns: 1fr; }
  .bet-card__footer { flex-direction: column; align-items: flex-start; }
  .bet-card__actions { margin-left: 0; width: 100%; justify-content: flex-end; }
  .view-hero__title  { font-size: 1.75rem; }
  .dash-grid     { grid-template-columns: repeat(2, 1fr); }

  /* ── Header mobile: logo esquerda | auth | hamburger ── */

  /* Oculta o botão de tema original — agora usa o do header__actions */
  .header__theme-btn { display: none !important; }

  /* Exibe o botão de tema no mobile (dentro de header__actions) */
  .header__theme-mobile { display: flex !important; }

  /* Logo: fixo à esquerda, sem flex-grow */
  .header__inner .logo {
    flex: 0 0 auto;
    padding-right: 0;
    font-size: 1.1rem;
  }
  /* Espaçador que empurra ações para a direita */
  .header__inner .logo::after {
    content: none;
  }

  /* Ações alinhadas à direita */
  .header__actions {
    margin-left: auto;
    padding-left: .5rem;
    gap: .35rem;
  }

  /* header__user sempre visível no mobile */
  .header__user {
    display: flex !important;
    align-items: center;
    gap: .3rem;
  }

  /* Botão "Criar conta" no header — herda btn--primary, só ajusta tamanho */
  .header__register-btn {
    padding: .34rem .75rem !important;
    font-size: .73rem !important;
    border-radius: 7px !important;
    animation: none !important;
  }
  .header__register-btn i { font-size: .7rem !important; }
  @media (max-width: 370px) {
    .header__register-label { display: none; }
    .header__register-btn { padding: .36rem .55rem !important; }
  }

  /* Botão "Entrar" no header */
  .header__login-btn {
    padding: .34rem .72rem !important;
    font-size: .73rem !important;
    font-weight: 600 !important;
    border-radius: 7px !important;
    border: 1px solid rgba(255,255,255,.2) !important;
    background: transparent !important;
    color: rgba(255,255,255,.85) !important;
    box-shadow: none !important;
    transition: background .15s, border-color .15s !important;
  }
  .header__login-btn:hover  { background: rgba(255,255,255,.08) !important; border-color: rgba(255,255,255,.35) !important; }
  .header__login-btn:active { background: rgba(255,255,255,.04) !important; }

  /* Dropdown do usuário logado: reduz padding */
  .udrop__trigger {
    padding: .2rem .45rem .2rem .25rem !important;
  }
  .udrop__name { font-size: .78rem !important; }
  .udrop__trigger-balance { font-size: .62rem; }
}

@media (max-width: 480px) {
  .modal__box { padding: 1.4rem; }
  .modal__box.tk { padding: 0; }
  .score-value { font-size: 2rem; }
  .resultado-win__amount { font-size: 2.2rem; }
}

/* ── Font Awesome icon alignment ──────────────────────────── */
.btn i, h2 i, h3 i, .admin-sidebar__title i, .admin-nav__btn i, summary i {
  vertical-align: middle;
  font-size: .9em;
  line-height: 1;
}


/* ============================================================
   §18  COPA HERO — redesign mobile-first
   ============================================================ */

/* ── Wrapper ──────────────────────────────────── */
.copa-hero {
  position: relative;
  background:
    radial-gradient(ellipse 130% 70% at 50% -10%, rgba(89,255,21,.14) 0%, transparent 58%),
    radial-gradient(ellipse 70%  50% at 85%  95%, rgba(255,107,53,.09) 0%, transparent 55%),
    linear-gradient(170deg, #060C18 0%, #0A1420 60%, #07101A 100%);
  border-radius: var(--radius-xl);
  padding: 2rem 1.25rem 1.75rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(89,255,21,.13);
  box-shadow: 0 0 0 1px rgba(89,255,21,.04), 0 20px 60px rgba(0,0,0,.4);
}
.copa-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,
    transparent 5%,
    rgba(89,255,21,.5) 40%,
    rgba(255,107,53,.25) 65%,
    transparent 95%);
}

/* ── Canvas partículas ────────────────────────── */
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; opacity: .35;
}
.theme-light .hero-canvas { opacity: .12; }

/* ── Layout interno: coluna única (mobile-first) ─ */
.copa-hero__content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 1rem;
}

/* ── Barra superior: eyebrow + live pill ──────── */
.copa-hero__topbar {
  display: flex; align-items: center;
  justify-content: space-between; gap: .75rem;
  flex-wrap: wrap;
}

/* ── Eyebrow pill ─────────────────────────────── */
.copa-hero__eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--primary);
  background: rgba(89,255,21,.1); border: 1px solid rgba(89,255,21,.22);
  border-radius: 999px; padding: .26rem .8rem;
  margin-bottom: 10px;
}

/* ── Title — Barlow Condensed, impactante ─────── */
.copa-hero__title {
  font-family: 'Barlow Condensed', 'Inter', system-ui, sans-serif;
  font-size: clamp(2.8rem, 13vw, 5.2rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: #fff;
}
.copa-hero__title span { color: var(--primary); display: block; }

/* ── Subtítulo ────────────────────────────────── */
.copa-hero__sub {
  font-size: .9rem; color: rgba(255,255,255,.42);
  line-height: 1.6; max-width: 480px;
}

/* ── Bonus badge ──────────────────────────────── */
.hero-bonus {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  background: rgba(255,184,0,.08); border: 1px solid rgba(255,184,0,.22);
  border-radius: var(--radius); padding: .55rem .9rem;
  font-size: .84rem; color: rgba(255,255,255,.82);
  margin-bottom: 20px !important;
}
.hero-bonus i    { color: var(--gold); }
.hero-bonus strong { color: var(--gold); }

/* ── Ações: CTA ───────────────────────────────── */
.copa-hero__actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: .85rem;
}

/* CTA: largura total no mobile, glow reforçado */
.copa-hero__cta {
  width: 100%;
  font-size: 1.05rem; font-weight: 900;
  letter-spacing: .04em;
  padding: .9rem 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 0 0 var(--primary-dark), inset 0 1px 0 rgba(255,255,255,.22) !important;
}
.copa-hero__cta:hover  { transform: translateY(-2px) !important; box-shadow: 0 6px 0 0 var(--primary-dark), inset 0 1px 0 rgba(255,255,255,.22) !important; }
.copa-hero__cta:active { transform: translateY(4px) !important; box-shadow: 0 0 0 0 var(--primary-dark) !important; }

/* ── Stats: row igual no mobile ───────────────── */
.copa-hero__stats {
  display: flex; gap: .6rem;
}
.copa-hero__stat {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: center;
  gap: .18rem; text-align: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: .8rem .4rem;
  cursor: pointer;
  transition: background .18s, border-color .18s, transform .15s;
}
button.copa-hero__stat:hover {
  background: rgba(89,255,21,.07);
  border-color: rgba(89,255,21,.28);
  transform: translateY(-2px);
}
.copa-hero__stat-icon {
  font-size: .82rem; color: var(--primary); margin-bottom: .08rem;
}
.copa-hero__stat strong {
  font-size: 1.5rem; font-weight: 900; color: #fff;
  line-height: 1; font-variant-numeric: tabular-nums;
}
.copa-hero__stat span {
  font-size: .58rem; text-transform: uppercase;
  letter-spacing: .08em; color: rgba(255,255,255,.35);
}

/* ── Live pill ────────────────────────────────── */
.copa-hero__live-dot { animation: livePulse 1.4s ease-in-out infinite; }
.hero-live-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .38rem .85rem; border-radius: 2rem;
  background: rgba(255,51,85,.12); border: 1px solid rgba(255,51,85,.3);
  color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .02em;
  cursor: pointer; transition: background .18s, border-color .18s;
  white-space: nowrap;
}
.hero-live-pill i { font-size: .5rem; color: var(--danger); }
.hero-live-pill:hover { background: rgba(255,51,85,.2); border-color: rgba(255,51,85,.55); }
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .35; }
}

/* ── Urgency bar ──────────────────────────────── */
.hero-urgency {
  --uc: var(--energy);
  display: flex; align-items: center; gap: .7rem; flex-wrap: wrap;
  background: rgba(255,107,53,.08);
  border: 1px solid rgba(255,107,53,.25);
  border-left: 3px solid var(--uc);
  border-radius: var(--radius);
  padding: .6rem 1rem;
  font-size: .8rem;
  animation: urgencyIn .4s cubic-bezier(.22,1,.36,1);
}
@keyframes urgencyIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.hero-urgency--hot { --uc: #FF3355; border-color: rgba(255,51,85,.32); background: rgba(255,51,85,.08); }
.hero-urgency__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--uc); flex-shrink: 0;
  animation: pulse-dot 1s ease-in-out infinite;
}
.hero-urgency__info { display: flex; flex-direction: column; gap: .08rem; flex: 1; min-width: 0; }
.hero-urgency__label {
  font-size: .58rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--uc); opacity: .85;
}
.hero-urgency__teams {
  font-weight: 700; color: var(--text); font-size: .84rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-urgency__timer { display: flex; flex-direction: column; align-items: center; gap: .04rem; flex-shrink: 0; }
.hero-urgency__starts { font-size: .56rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.hero-urgency__countdown {
  font-size: .98rem; font-weight: 900; color: var(--uc);
  font-variant-numeric: tabular-nums; letter-spacing: .04em; line-height: 1;
}
.hero-urgency__btn {
  flex-shrink: 0;
  background: var(--uc); color: #fff; border: none;
  border-radius: var(--radius-sm); padding: .35rem .85rem;
  font-size: .75rem; font-weight: 800; cursor: pointer;
  transition: filter .15s, transform .15s; white-space: nowrap;
}
.hero-urgency__btn:hover { filter: brightness(1.12); transform: scale(1.04); }

/* ── Campo decorativo (só desktop) ───────────── */
.hero-field-deco { display: none; }

/* ── Desktop: duas colunas ────────────────────── */
@media (min-width: 680px) {
  .copa-hero { padding: 3rem 2.5rem; }
  .copa-hero__title { font-size: clamp(3rem, 5vw, 5.2rem); }
  .copa-hero__cta { width: auto; min-width: 240px; }
  .copa-hero__stats { justify-content: flex-start; }
}

/* ── Light mode ───────────────────────────────── */
.theme-light .copa-hero {
  background: #ffffff;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 4px 24px rgba(15,23,42,.09);
  border-radius: 14px;
  padding: 1.5rem 1.25rem 1.25rem;
}

/* ── Layout mobile: espaçamento generoso ─────── */
.theme-light .copa-hero__content   { gap: 1.25rem; }
.theme-light .copa-hero__topbar    { margin-bottom: .25rem; }
.theme-light .copa-hero__actions   {
  display: flex; flex-direction: column;
  gap: .85rem; align-items: stretch;
  margin-top: .5rem;
}

/* Título */
.theme-light .copa-hero__title {
  color: #060d1a; font-weight: 900;
  font-size: clamp(2.2rem, 10vw, 4.8rem);
  line-height: .95;
}
.theme-light .copa-hero__title span { color: var(--primary); }
.theme-light .copa-hero__sub {
  color: #64748b; font-size: .85rem; line-height: 1.55;
  margin-top: .1rem;
}

/* Eyebrow */
.theme-light .copa-hero__eyebrow {
  background: rgba(89,255,21,.12);
  border: 1px solid rgba(89,255,21,.32);
  color: var(--primary); font-weight: 800;
  margin-bottom: 10px;
}
.theme-light .copa-hero__eyebrow i { color: var(--primary); }

/* CTA — larg. total, 3D verde */
.theme-light .copa-hero__cta {
  color: #001a0d !important; font-weight: 800 !important;
  padding: .85rem 1.5rem !important;
  font-size: 1rem !important;
  box-shadow: 0 5px 0 0 var(--primary-dark), inset 0 1px 0 rgba(255,255,255,.25) !important;
  margin-bottom: 30px;
}
.theme-light .copa-hero__cta:hover  {
  transform: translateY(-2px) !important;
  box-shadow: 0 7px 0 0 var(--primary-dark), inset 0 1px 0 rgba(255,255,255,.25) !important;
  margin-bottom: 30px;
}
.theme-light .copa-hero__cta:active {
  transform: translateY(5px) !important;
  box-shadow: 0 0 0 0 var(--primary-dark) !important;
}

/* Linha divisória leve antes do "Ao Vivo" e bônus */
.theme-light .hero-live-pill {
  align-self: flex-start;
  background: rgba(220,38,38,.1);
  border-color: rgba(220,38,38,.3);
  color: #dc2626; font-weight: 700;
}

/* Bônus card — horizontal compacto */
.theme-light .hero-bonus {
  background: #fffbf0;
  border: 1px solid rgba(245,158,11,.28);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: .8rem 1rem;
  color: #78350f;
  gap: .6rem;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  box-shadow: none;
  margin-bottom: 20px !important;
}
.theme-light .hero-bonus strong { color: #92400e; font-weight: 800; }
.theme-light .hero-bonus .btn--primary {
  border-radius: 8px !important;
  padding: .46rem .95rem !important;
  font-size: .82rem !important;
  font-weight: 800 !important;
  color: #001a0d !important;
  white-space: nowrap;
  box-shadow: 0 3px 0 0 var(--primary-dark), inset 0 1px 0 rgba(255,255,255,.22) !important;
  transition: transform .12s, box-shadow .12s !important;
}
.theme-light .hero-bonus .btn--primary:hover  { transform: translateY(-2px) !important; box-shadow: 0 5px 0 0 var(--primary-dark), inset 0 1px 0 rgba(255,255,255,.22) !important; }
.theme-light .hero-bonus .btn--primary:active { transform: translateY(3px) !important; box-shadow: 0 0 0 0 var(--primary-dark) !important; }

/* Stats — 3 colunas horizontais */
.theme-light .copa-hero__stats { gap: .5rem; }
.theme-light .copa-hero__stat {
  background: #f1f5f9;
  border: 1px solid rgba(15,23,42,.09);
  box-shadow: none;
  padding: .65rem .4rem;
}
.theme-light .copa-hero__stat strong { color: #060d1a; font-size: 1.4rem; font-weight: 900; }
.theme-light .copa-hero__stat span   { color: #64748b; font-size: .6rem; font-weight: 700; letter-spacing: .05em; }
.theme-light .copa-hero__stat-icon   { background: rgba(89,255,21,.15) !important; color: var(--primary) !important; }

/* Canvas */
.theme-light .hero-canvas { opacity: .04; }


/* ============================================================
   §19  GAME FILTER TABS
   ============================================================ */
.games-toolbar  { margin-bottom: 1.4rem; }
.games-filters  { display: flex; flex-wrap: wrap; gap: .45rem; }
.games-filter {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  padding: .42rem .95rem;
  border-radius: 999px;
  font-size: .82rem; font-weight: 600;
  cursor: pointer; transition: all .15s;
  display: inline-flex; align-items: center; gap: .38rem;
  line-height: 1;
}
.games-filter:hover        { border-color: var(--border-strong); color: var(--text); }
.games-filter--active {
  background: linear-gradient(110deg, var(--primary) 0%, var(--primary) 100%);
  border-color: transparent; color: #003d1a; font-weight: 800;
  box-shadow: 0 0 14px rgba(89,255,21,.35);
}
.games-filter--active:hover { filter: brightness(1.07); }


/* ============================================================
   §20  SKELETON LOADER
   ============================================================ */
@keyframes skelPulse {
  0%, 100% { opacity: .45; }
  50%       { opacity: .9;  }
}
.game-card-skel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  display: flex; flex-direction: column; gap: .85rem;
  animation: skelPulse 1.7s ease-in-out infinite;
}
.skel { background: var(--surface-3); border-radius: var(--radius-sm); }
.skel--line         { height: 13px; border-radius: 999px; }
.skel--short        { width: 50%; }
.skel--medium       { width: 75%; }
.skel--emblem       { height: 90px; border-radius: var(--radius); }
.skel--btn          { height: 42px; border-radius: var(--radius-sm); }


/* ============================================================
   §21  VIEW ENTER ANIMATION
   ============================================================ */
.view--entering { animation: viewEnter .28s cubic-bezier(.22,1,.36,1) both; }
@keyframes viewEnter {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}


/* ============================================================
   §22  NAV LIVE DOT
   ============================================================ */
.nav-live-dot {
  display: inline-block; width: 7px; height: 7px;
  border-radius: 50%; background: var(--danger);
  margin-left: .35rem; vertical-align: middle;
  animation: pulseBadge 1.5s infinite;
}


/* §23 — removido, pódio migrado para §13 */


/* ============================================================
   §24  BET CARD — flags + status timeline
   ============================================================ */
.bet-card__game-flags {
  display: flex; align-items: center; gap: .45rem; margin-bottom: .3rem;
}
.bet-card__game-flags img { width: 1.25rem; height: auto; border-radius: 2px; }
.bet-card__game-flags .flag-sep { color: var(--text-muted); font-size: .75rem; font-weight: 700; }

.bet-status-steps {
  display: flex; align-items: center; gap: 0;
  margin-top: .6rem; font-size: .68rem;
  flex-wrap: nowrap; overflow-x: auto;
}
.bet-step {
  display: flex; flex-direction: column; align-items: center;
  gap: .2rem; color: var(--text-muted); flex-shrink: 0;
}
.bet-step--done   { color: var(--win-text); }
.bet-step--fail   { color: var(--danger); }
.bet-step--active { color: var(--text); }
.bet-step__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--border); flex-shrink: 0;
  transition: background .2s;
}
.bet-step__dot--check,
.bet-step__dot--fail {
  width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
}
.bet-step__dot--check { background: var(--win-text); }
.bet-step__dot--fail  { background: var(--danger); }
.bet-step__dot--check i,
.bet-step__dot--fail  i { font-size: .55rem; color: #fff; font-weight: 900; }
.bet-step--done   .bet-step__dot:not(.bet-step__dot--check) { background: var(--win-text); }
.bet-step--active .bet-step__dot { background: var(--text); box-shadow: 0 0 0 3px rgba(249,250,251,.12); }
.bet-step__label { font-weight: 600; white-space: nowrap; }
.bet-step__line {
  width: 22px; height: 2px; background: var(--border); flex-shrink: 0;
  align-self: flex-start; margin-top: 3px;
}
.bet-step__line--done { background: var(--win-text); }


/* ============================================================
   §25  CARD INNER COMPONENTS + UI REFRESH v4
   Styles for JS-generated inner classes of game cards and
   global polish improvements.
   ============================================================ */

/* ── Team name: allow 2-line wrap instead of hard truncation ── */
.game-card__name {
  white-space: normal;
  text-overflow: unset;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  line-height: 1.25;
  max-height: none;
}

/* ── Center column (VS + score or countdown) ───────────────── */
.game-card__mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .32rem;
  flex-shrink: 0;
  width: 90px;
}

/* ── Card footer (meta row + CTA button) ───────────────────── */
.game-card__foot {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-top: auto;
}

/* × (cascade) */
.gc-vs { font-size: 1rem; font-weight: 700; color: rgba(220,38,38,.7); user-select: none; }

/* ── Score block (live & final) ─────────────────────────────── */
.gc-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
}
.gc-score__label {
  font-size: .54rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
}
.gc-score__val {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1;
  white-space: nowrap;
}
.gc-score--live {
  background: linear-gradient(135deg, rgba(10,10,20,.92), rgba(5,5,15,.95));
  border: 1px solid rgba(230,57,70,.4);
  border-radius: 8px;
  padding: .45rem .8rem;
  gap: .25rem;
  box-shadow: 0 0 18px rgba(230,57,70,.12), inset 0 1px 0 rgba(255,255,255,.05);
  min-width: 110px;
}
.gc-score--live .gc-score__val { color: #fff; font-size: 1.6rem; text-shadow: 0 0 20px rgba(255,255,255,.25); }

/* Barra de período + relógio estilo TV */
.gc-tv-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
}
.gc-tv-bar__period {
  font-size: .6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--danger);
  line-height: 1;
}
.gc-tv-bar__clock {
  font-size: .72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
  color: #fff;
  line-height: 1;
  font-family: ui-monospace, 'Courier New', monospace;
}

.gc-score__label--live { display: none; }
.gc-score__label--live i { display: none; }
.gc-score--final .gc-score__val   { color: var(--info); text-shadow: var(--score-shadow); }
.gc-score__dot {
  font-size: .5rem;
  color: var(--danger);
}

/* ── Countdown block ─────────────────────────────────────────── */
.gc-countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .12rem;
}
.gc-countdown__label {
  font-size: .54rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
}
.gc-countdown__time {
  font-size: .88rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--primary);
  background: transparent;
  padding: 0;
  white-space: nowrap;
  line-height: 1.3;
  letter-spacing: .03em;
}
.game-card--today .gc-countdown__time { color: #f5b800; }
/* Amanhã — laranja urgência */
.games-section--tomorrow .gc-countdown__time { color: #f97316; }
/* Próximos/week/beyond — azul */
.games-section--upcoming .gc-countdown__time,
.games-section--week     .gc-countdown__time,
.games-section--beyond   .gc-countdown__time {
  color: var(--info);
}
/* Encerrados — marrom */
.game-card--closed .gc-countdown__time {
  color: #b45309;
}
/* Finalizados — prata */
.game-card--final .gc-score { color: #9ca3af; }

/* JS adds this class when countdown expires */
.gc-countdown__time.game-card__countdown-time--expired {
  color: var(--text-muted);
  background: var(--surface-2);
}

/* ── Dash (closed, no score) ──────────────────────────────── */
.gc-dash { font-size: 1.1rem; color: var(--text-muted); }

/* ── Meta row (multiplier × price) ──────────────────────────── */
.gc-meta { display: none; } /* removido — substituído por .gc-cta */

.gc-cta {
  margin: .35rem 0 0;
  text-align: center;
  font-size: .76rem;
  color: var(--text-dim);
  letter-spacing: .01em;
}
.gc-cta strong {
  font-family: 'Barlow Condensed', var(--font-base);
  font-size: 1.15em;
  font-weight: 900;
  letter-spacing: .02em;
  color: var(--gold);
  text-shadow: 0 0 10px rgba(255,184,0,.4);
}

/* ── Soon card: laranja — só borda superior ─────────────────── */
.game-card--soon { border-top-color: #ff6d00; border-top-width: 3px; }
.game-card--soon .gc-countdown__time {
  color: #ff6d00;
  background: rgba(255,109,0,.12);
}

/* ── Section headers: left accent bar ───────────────────────── */
.games-section__header {
  position: relative;
  padding-left: .9rem;
}
.games-section__header::before {
  content: '';
  position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 1em;
  border-radius: 999px;
  background: var(--text-muted);
  opacity: .4;
}
.games-section--live     .games-section__header::before { background: var(--danger);   opacity: 1; }
.games-section--upcoming .games-section__header::before { background: var(--text-dim); opacity: .5; }
.games-section--finished .games-section__header::before { background: var(--text-muted); opacity: .45; }


/* ── Card emblem: slightly larger ──────────────────────────── */
.game-card__emblem { width: 68px; height: 68px; }
.team-logo         { width: 58px; height: 58px; }
.team-logo--flag   { height: 54px; }
.team-flag-emoji   { font-size: 3.1rem; }

/* ── Matchup: tighten gap so mid column isn't squeezed ──────── */
.game-card__matchup { gap: .3rem; }

/* shimmer removido — visual limpo */

/* ── Auth container: more breathing room on large screens ────── */
@media (min-width: 540px) {
  .auth-container { padding: 2.5rem; }
}

/* ── Bet card: tighten label size on mobile ─────────────────── */
@media (max-width: 480px) {
  .gc-meta__price { display: none; }
}

/* ============================================================
   MATCH BANNER — tira compacta de próximos jogos
   Inspiração: featured games strip do Betano / bet365
   ============================================================ */

.match-banner-wrap {
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.match-banner {
  overflow: hidden;
}

/* Label acima da tira */
.mb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 1rem .25rem;
}
.mb-header__label {
  font-size: .6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .35rem;
}
.mb-header__label i { color: var(--primary); }
.mb-header__swipe {
  font-size: .58rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: .25rem;
}

/* Tira horizontal com scroll snap */
.mb-strip {
  display: flex;
  flex-direction: row;
  gap: .4rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 1rem .8rem;
}
.mb-strip::-webkit-scrollbar { display: none; }

/* Cada card do slide — mini version do game card */
.mb-slide {
  --slide-accent: var(--primary);
  flex: 0 0 162px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 2px solid var(--slide-accent);
  border-radius: 8px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  padding: .55rem .7rem .55rem .65rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: background .15s, box-shadow .15s, transform .15s;
  user-select: none;
}
.mb-slide:hover   { background: var(--surface-2); box-shadow: var(--shadow-card-hover); }
.mb-slide:active  { background: var(--surface-2); transform: scale(.97); }

/* Accent colors por ciclo */
.mb-slide--c1 { --slide-accent: #f59e0b; }
.mb-slide--c2 { --slide-accent: var(--danger); }
.mb-slide--c3 { --slide-accent: var(--info); }
.mb-slide--c4 { --slide-accent: #8b5cf6; }

/* Hora / data no topo do card */
.mb-slide__meta {
  font-size: .6rem;
  color: var(--text-dim);
  letter-spacing: .03em;
  font-variant-numeric: tabular-nums;
  margin-bottom: .38rem;
  display: flex;
  align-items: center;
  gap: .3rem;
}

/* Indicador de "encerra em breve" */
.mb-soon-dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 5px rgba(245,158,11,.65);
  animation: dot-pulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

/* Linha de time (bandeira + nome) */
.mb-slide__team {
  display: flex;
  align-items: center;
  gap: .42rem;
  padding: .2rem 0;
}
.mb-slide__team + .mb-slide__team {
  border-top: 1px solid var(--border);
}

/* Bandeira / logo pequeno */
.mb-flag { font-size: 1.1rem; line-height: 1; flex-shrink: 0; }
.mb-logo {
  width: 20px; height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.4));
}

/* Nome do time — Barlow Condensed para consistência com os cards */
.mb-name {
  font-family: 'Barlow Condensed', var(--font-base);
  font-size: .95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 108px;
}

/* Nav: oculto — swipe é suficiente */
.mb-nav   { display: none; }
.mb-arrow { display: none; }
.mb-dots  { display: none; }

/* Legacy — mantidos para não quebrar JS */
.mb-status, .mb-badge, .mb-badge--live, .mb-badge--soon,
.mb-league, .mb-vs, .mb-cta, .mb-pill, .mb-match,
.mb-team, .mb-center, .mb-score, .mb-clock, .mb-label,
.mb-countdown, .mb-cta-btn { display: contents; }


/* ============================================================
   §  TEMPORAL SECTIONS — color modifiers
   ============================================================ */

/* Títulos de seção — neutros em todas as seções (cor no card, não no header) */
.games-section--soon .games-section__header::before  { background: var(--gold); opacity: 1; }
.games-section--today .games-section__header::before { background: #f5b800; opacity: 1; }
.games-section--tomorrow .games-section__header::before { background: var(--primary); opacity: 1; }
.games-section--week .games-section__header::before  { background: var(--info); opacity: .8; }
.games-section--beyond .games-section__header::before { background: var(--info); opacity: .5; }
.games-section--upcoming .games-section__header::before { background: var(--info); opacity: .8; }

/* Cards de hoje — borda superior amarela */
.game-card--today.game-card--open {
  border-top-color: #f5b800;
  border-top-width: 3px;
}

/* Cards encerrados */
.game-card--closed { border-top-color: #92400e; opacity: .75; }

/* Cards finalizados */
.game-card--final { border-top-color: #9ca3af; }

/* ── "Ver mais" button ──────────────────────────────────────── */
.btn-show-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: 100%;
  margin-top: .9rem;
  padding: .68rem 1.25rem;
  background: var(--primary);
  border: 1px solid rgba(0,0,0,.14);
  border-top-color: rgba(0,0,0,.08);
  border-radius: var(--radius-sm);
  color: #001a0d;
  font-family: 'Barlow Condensed', var(--font-base);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 0 0 var(--primary-dark), inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .12s cubic-bezier(.34,1.56,.64,1), box-shadow .12s;
}
.btn-show-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 0 var(--primary-dark), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-show-more:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 0 var(--primary-dark);
}
.btn-show-more i {
  font-size: .78rem;
  transition: transform .2s;
}
.btn-show-more:hover i { transform: translateY(2px); }


/* ============================================================
   §FOOTER  v2
   ============================================================ */

/* ── Wrapper ─────────────────────────────────────────────── */
.site-footer {
  background: #080d1a;          /* um toque mais fundo que --bg */
  border-top: 1px solid var(--border);
  margin-top: 5rem;
  position: relative;
}

/* ① Linha topo com brilho do primary ────────────────────── */
.site-footer__topline {
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--primary) 30%,
    var(--gold) 55%,
    var(--primary) 80%,
    transparent 100%
  );
  opacity: .55;
}

/* ② Trust badges strip ──────────────────────────────────── */
.site-footer__trust {
  background: rgba(255,255,255,.022);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}
.site-footer__trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .6rem 1.6rem;
}

.ft-badge {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .45rem .9rem .45rem .6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: border-color .2s, transform .2s;
  cursor: default;
}
.ft-badge:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.ft-badge__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  flex-shrink: 0;
}
.ft-badge__text {
  display: flex;
  flex-direction: column;
  gap: .05rem;
}
.ft-badge__title {
  font-size: .72rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: .01em;
}
.ft-badge__sub {
  font-size: .63rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Badge color variants */
.ft-badge--ssl     .ft-badge__icon { background: rgba(89,255,21,.15);   color: var(--primary); }
.ft-badge--lgpd    .ft-badge__icon { background: rgba(61,142,255,.15);  color: var(--info); }
.ft-badge--verified.ft-badge__icon { background: rgba(89,255,21,.15);   color: var(--primary); }
.ft-badge--verified .ft-badge__icon{ background: rgba(89,255,21,.15);   color: var(--primary); }
.ft-badge--pix     .ft-badge__icon { background: rgba(50,188,173,.15);  color: #32BCAD; }
.ft-badge--18      .ft-badge__icon { background: rgba(255,71,87,.15);   color: var(--danger); }

/* ③ Corpo principal ─────────────────────────────────────── */
.site-footer__main {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 4rem;
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}

/* Coluna brand */
.site-footer__logo {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
}
.site-footer__logo span { color: var(--primary); }

.site-footer__tagline {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.35rem;
}

/* Prova social */
.site-footer__stats {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.35rem;
}
.ft-stat {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.ft-stat strong {
  font-size: .88rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
}
.ft-stat span {
  font-size: .64rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.ft-stat-sep {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}

/* Social icons */
.site-footer__social {
  display: flex;
  gap: .5rem;
}
.ft-social {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: .95rem;
  text-decoration: none;
  transition: border-color .18s, color .18s, background .18s, transform .2s;
}
.ft-social:hover { transform: translateY(-3px); }

.ft-social--instagram:hover { border-color: #E1306C; color: #E1306C; background: rgba(225,48,108,.1); }
.ft-social--twitter:hover   { border-color: #e7e7e7; color: #e7e7e7; background: rgba(231,231,231,.08); }
.ft-social--whatsapp:hover  { border-color: #25D366; color: #25D366; background: rgba(37,211,102,.1); }
.ft-social--telegram:hover  { border-color: #26A5E4; color: #26A5E4; background: rgba(38,165,228,.1); }
.ft-social--youtube:hover   { border-color: #FF0000; color: #FF0000; background: rgba(255,0,0,.1); }

/* ── Colunas de links ────────────────────────────────────── */
.site-footer__links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.site-footer__col h4 {
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-dim);
  margin-bottom: 1.1rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid var(--border);
}
.site-footer__col a {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: .55rem;
  cursor: pointer;
  transition: color .15s, transform .15s, gap .15s;
}
.site-footer__col a i {
  font-size: .72rem;
  opacity: .55;
  width: .85rem;
  text-align: center;
  flex-shrink: 0;
  transition: opacity .15s, color .15s;
}
.site-footer__col a:hover {
  color: var(--text);
  transform: translateX(4px);
  gap: .65rem;
}
.site-footer__col a:hover i {
  opacity: 1;
  color: var(--primary);
}

/* ④ Métodos de pagamento ────────────────────────────────── */
.site-footer__payments {
  border-bottom: 1px solid var(--border);
  padding: .9rem 0;
  background: rgba(255,255,255,.018);
}
.site-footer__payments-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
}
.ft-pay-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .4rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.ft-pay-label i { color: var(--primary); }

.ft-pay-methods {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.ft-pay-method {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .28rem .75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: .02em;
  white-space: nowrap;
}
.ft-pay-method i { font-size: .82rem; }
.ft-pay-method--pix i { color: #32BCAD; }

.ft-pay-note {
  font-size: .68rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-left: auto;
}
.ft-pay-note i { color: var(--primary); font-size: .7rem; }

/* ⑤ Faixa jogo responsável ──────────────────────────────── */
.site-footer__responsible {
  background: rgba(245,158,11,.04);
  border-bottom: 1px solid rgba(245,158,11,.14);
  padding: .95rem 0;
}
.site-footer__responsible-inner {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}
.ft-responsible__icon {
  width: 30px; height: 30px; min-width: 30px;
  background: rgba(245,158,11,.12);
  border: 1px solid rgba(245,158,11,.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #f59e0b;
  font-size: .8rem;
  flex-shrink: 0;
  margin-top: .05rem;
}
.ft-responsible__text {
  font-size: .75rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.ft-responsible__text strong { color: var(--text-dim); }

/* ⑥ Bottom bar ──────────────────────────────────────────── */
.site-footer__bottom {
  padding: 1.1rem 0;
}
.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
}

.site-footer__bottom-left {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.site-footer__copy {
  font-size: .74rem;
  font-weight: 600;
  color: var(--text-dim);
}
.site-footer__disclaimer {
  font-size: .66rem;
  color: var(--text-muted);
}

.site-footer__bottom-right {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

/* Inline legal links no bottom */
.site-footer__bottom-nav {
  display: flex;
  align-items: center;
  gap: .1rem;
}
.site-footer__bottom-nav a {
  font-size: .68rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: .2rem .55rem;
  border-radius: 4px;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.site-footer__bottom-nav a:hover { color: var(--text); background: var(--surface); }
.site-footer__bottom-nav a + a::before {
  content: '';
  display: inline-block;
  width: 1px; height: .7rem;
  background: var(--border);
  margin-right: .55rem;
  vertical-align: middle;
}

/* Mini-badges */
.site-footer__badges {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}
.ft-mini-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .62rem;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: .22rem .52rem;
  letter-spacing: .04em;
  white-space: nowrap;
}
.ft-mini-badge--ssl  { color: var(--primary); border-color: rgba(89,255,21,.25); }
.ft-mini-badge--pix  { color: #32BCAD;        border-color: rgba(50,188,173,.25); }
.ft-mini-badge--lgpd { color: var(--info);    border-color: rgba(61,142,255,.25); }
.ft-mini-badge--18   { color: var(--danger);  border-color: rgba(255,71,87,.25); }

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 2.5rem 0 0;
  }
  .site-footer__brand {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
  }
  .site-footer__tagline { max-width: none; }
  .site-footer__stats   { justify-content: center; }
  .site-footer__social  { justify-content: center; }

  .site-footer__links {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 1.75rem 0 2rem;
    border-bottom: 1px solid var(--border);
  }
  .site-footer__col { padding: .75rem; }
  .site-footer__col:nth-child(odd) { border-right: 1px solid var(--border); }
  .site-footer__col:nth-child(3),
  .site-footer__col:nth-child(4)   { border-top: 1px solid var(--border); }
}

@media (max-width: 640px) {
  .site-footer { margin-top: 3rem; }

  /* Trust badges: linha horizontal com scroll (mesmo layout do desktop) */
  .site-footer__trust-inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: flex-start;
    gap: .5rem;
    padding: 0 1rem;
  }
  .site-footer__trust-inner::-webkit-scrollbar { display: none; }
  .ft-badge { flex-shrink: 0; }
  .ft-badge__sub { font-size: .58rem; }

  /* Pagamentos: centralizar */
  .site-footer__payments-inner { flex-direction: column; align-items: center; text-align: center; }
  .ft-pay-note                 { margin-left: 0; text-align: center; }
  .ft-pay-methods              { justify-content: center; }

  /* Footer bottom: centralizar */
  .site-footer__bottom-inner {
    flex-direction: column;
    align-items: center;
    gap: .65rem;
    text-align: center;
  }
  .site-footer__bottom-left  { align-items: center; }
  .site-footer__bottom-right { flex-direction: column; align-items: center; gap: .65rem; }
  .site-footer__bottom-nav   { flex-wrap: wrap; justify-content: center; }
  .site-footer__bottom-nav a + a::before { display: none; }
}

@media (max-width: 768px) {
  /* Filtros de jogos: centralizar */
  .games-filters { justify-content: center; }
}

/* ── Logo de imagem (header / drawer / footer) ─────────────── */
.brand-logo-img {
  display: block;
  max-height: 34px;
  width: auto;
  object-fit: contain;
}
/* Header: alinha verticalmente ao centro do link */
.logo .brand-logo-img {
  max-height: 30px;
}
/* Drawer sidebar: um pouco maior */
.drawer__logo .brand-logo-img {
  max-height: 36px;
}
/* Footer */
.site-footer__logo .brand-logo-img {
  max-height: 36px;
  display: inline-block;
  vertical-align: middle;
}

/* Preview do logo no painel admin */
.brand-logo-preview {
  margin-top: .6rem;
  padding: .6rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  min-height: 52px;
}
.brand-logo-preview img {
  max-height: 44px;
  max-width: 220px;
  object-fit: contain;
}

/* Dica de texto abaixo de input */
.form-hint {
  display: block;
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: .3rem;
  line-height: 1.45;
}

/* ── Media Picker (seletor de logo estilo WordPress) ────────── */
.media-picker {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  overflow: hidden;
  transition: border-color .2s, background .2s;
}
.media-picker--drag {
  border-color: var(--primary);
  background: var(--tint-primary);
}
.media-picker--loading {
  opacity: .6;
  pointer-events: none;
}

/* Área vazia */
.media-picker__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: 2rem 1.5rem;
  color: var(--text-muted);
  text-align: center;
  cursor: default;
}
.media-picker__empty i {
  font-size: 2rem;
  color: var(--text-dim);
  margin-bottom: .25rem;
}
.media-picker__empty span {
  font-size: .88rem;
  font-weight: 600;
}
.media-picker__empty small {
  font-size: .72rem;
  color: var(--text-dim);
}

/* Preview da imagem */
.media-picker__preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: repeating-conic-gradient(var(--surface-3) 0% 25%, transparent 0% 50%) 0 0 / 16px 16px;
}
.media-picker__preview img {
  max-height: 80px;
  max-width: 240px;
  object-fit: contain;
  border-radius: 4px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.35));
}
.media-picker__remove {
  position: absolute;
  top: .5rem; right: .5rem;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,71,87,.85);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  transition: background .15s, transform .15s;
}
.media-picker__remove:hover {
  background: var(--danger);
  transform: scale(1.1);
}

/* Barra de ações */
.media-picker__actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.media-picker__select {
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  gap: .4rem;
  white-space: nowrap;
}
.media-picker__status {
  font-size: .78rem;
  color: var(--text-muted);
}
.media-picker__status--error {
  color: var(--danger);
}


/* ============================================================
   §26  MICROINTERAÇÕES — hover / active / focus
   ============================================================ */

/* ── 1. Easing global para todos os botões ─────────────────── */
.btn {
  transition:
    transform    .18s cubic-bezier(.34,1.56,.64,1),
    box-shadow   .18s ease,
    background   .15s ease,
    color        .15s ease,
    border-color .15s ease,
    opacity      .15s ease;
  will-change: transform;
}

/* Estado pressed (active) com spring reverso */
.btn:active:not(:disabled) {
  transform: scale(0.96) !important;
  transition-duration: .08s !important;
}

/* Focus-visible acessível: anel verde em tudo */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
/* Remover outline padrão do mouse (mantém no teclado) */
:focus:not(:focus-visible) { outline: none; }

/* btn--primary:hover já definido globalmente — regra removida */

/* ── 3. Botão danger ──────────────────────────────────────── */
.btn--danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--danger-glow);
  opacity: 1;
}

/* ── 4. Botão ghost ───────────────────────────────────────── */
.btn--ghost:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}

/* ── 5. Nav buttons — sem override necessário (border-bottom já no base) ── */
.nav__btn {
  position: relative;
}

/* ── 6. Game cards — lift + glow da cor accent ─────────────── */
.game-card {
  transition:
    transform  .22s cubic-bezier(.22,1,.36,1),
    box-shadow .22s ease,
    border-color .22s ease;
}
.game-card:hover:not(.game-card--closed) {
  transform: translateY(-5px);
  box-shadow:
    0 12px 40px rgba(0,0,0,.28),
    0 0 0 1px var(--accent);
}
/* Emblem cresce no hover */
.game-card:hover .game-card__emblem {
  transform: scale(1.1);
  border-color: var(--accent);
}
.game-card__emblem {
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), border-color .2s ease;
}

/* ── 7. Bet card — hover levanta ─────────────────────────── */
.bet-card {
  transition: transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s ease;
}
.bet-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

/* ── 8. Dash cards (admin) ──────────────────────────────── */
.dash-card {
  transition: transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s ease;
  cursor: default;
}
.dash-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,.2);
}

/* ── 9. Online presence ─────────────────────────────────── */
.online-dot {
  display: inline-block;
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  animation: online-pulse 2s ease-in-out infinite;
  vertical-align: middle;
  margin-right: .35rem;
}
@keyframes online-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .35; transform: scale(.7); }
}

/* Countdown badge */
.online-countdown-badge {
  font-size: .75rem;
  color: var(--text-muted);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: .22rem .65rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Dash card wide */
.dash-card--wide { grid-column: 1 / -1; }

/* Origin source badges (inline) */
.online-src {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .18rem .5rem;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  background: rgba(255,255,255,.07);
  color: var(--text-muted);
}
.online-src--google    { background: rgba(66,133,244,.15);  color: #4285f4; }
.online-src--facebook  { background: rgba(24,119,242,.15);  color: #1877f2; }
.online-src--instagram { background: rgba(225,48,108,.15);  color: #e1306c; }
.online-src--twitter   { background: rgba(29,161,242,.15);  color: #1da1f2; }
.online-src--whatsapp  { background: rgba(37,211,102,.15);  color: #25d366; }
.online-src--tiktok    { background: rgba(254,44,85,.15);   color: #fe2c55; }
.online-src--youtube   { background: rgba(255,0,0,.15);     color: #ff0000; }
.online-src--telegram  { background: rgba(0,136,204,.15);   color: #0088cc; }
.online-src--direto    { background: rgba(255,255,255,.07); color: var(--text-muted); }
.online-src--outro     { background: rgba(255,255,255,.07); color: var(--text-muted); }

/* Mini source badges (stats bar) */
.online-src-bar { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .4rem; }
.online-src-mini {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .18rem .5rem;
  border-radius: 99px;
  font-size: .72rem;
  background: rgba(255,255,255,.07);
  color: var(--text-muted);
}
.online-src-mini strong { font-weight: 700; }
.online-src-mini.online-src--google    { background: rgba(66,133,244,.15);  color: #4285f4; }
.online-src-mini.online-src--facebook  { background: rgba(24,119,242,.15);  color: #1877f2; }
.online-src-mini.online-src--instagram { background: rgba(225,48,108,.15);  color: #e1306c; }
.online-src-mini.online-src--twitter   { background: rgba(29,161,242,.15);  color: #1da1f2; }
.online-src-mini.online-src--whatsapp  { background: rgba(37,211,102,.15);  color: #25d366; }
.online-src-mini.online-src--tiktok    { background: rgba(254,44,85,.15);   color: #fe2c55; }
.online-src-mini.online-src--youtube   { background: rgba(255,0,0,.15);     color: #ff0000; }
.online-src-mini.online-src--telegram  { background: rgba(0,136,204,.15);   color: #0088cc; }

/* ── Session cards ──────────────────────────────────────── */
.online-sc {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--border);
}
.online-sc:last-child { border-bottom: none; }

/* Avatar */
.online-avatar {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .82rem;
  color: #0a0a0a;
  letter-spacing: .02em;
}
.online-sc--anon .online-avatar {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Body */
.online-sc__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .28rem;
}
.online-sc__row1 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem;
}
.online-sc__row2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .79rem;
  color: var(--text-muted);
}
.online-sc__name {
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.online-status-dot {
  display: inline-block; flex-shrink: 0;
  width: 9px; height: 9px; border-radius: 50%;
}
.online-status-dot--active  { background: #00c853; box-shadow: 0 0 0 3px rgba(89,255,21,.2); animation: dot-pulse 2s ease-in-out infinite; }
.online-status-dot--idle    { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.2); }
.online-status-dot--leaving { background: #e63946; box-shadow: 0 0 0 3px rgba(230,57,70,.2); }
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(89,255,21,.2); }
  50%       { box-shadow: 0 0 0 6px rgba(89,255,21,.0); }
}
.online-sc--anon .online-sc__name {
  font-weight: 400;
  color: var(--text-muted);
  font-style: italic;
}
.online-sc__email {
  font-size: .78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.online-sc__device {
  color: var(--text-muted);
  font-size: .85rem;
}
.online-sc__geo {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  white-space: nowrap;
}
.online-sc__ip {
  font-size: .72rem;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: .05rem .35rem;
  font-family: monospace;
  color: var(--text-muted);
}
.online-sc__page { white-space: nowrap; }
.online-sc__page i { font-size: .72rem; }
.online-sc__page--path { display: inline-flex; align-items: center; gap: .3rem; flex-wrap: wrap; white-space: normal; }
.online-sc__crumb { font-size: .75rem; }
.online-sc__crumb--prev { color: var(--text-muted); }
.online-sc__crumb--cur  { color: var(--text); font-weight: 600; }
.online-sc__ref {
  font-size: .75rem;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 100%;
  opacity: .75;
  transition: opacity .15s;
}
.online-sc__ref:hover { opacity: 1; color: var(--primary); }
.online-sc__ref i { font-size: .65rem; margin-right: .2rem; }

/* Times column */
.online-sc__times {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .2rem;
  padding-top: .1rem;
}
.online-sc__ago  { font-size: .78rem; color: var(--text-muted); white-space: nowrap; }
.online-sc__dur  { font-size: .72rem; color: var(--text-muted); white-space: nowrap; opacity: .65; }


/* ── 10. Analytics de tráfego ───────────────────────────── */

/* Filtro de período */
.an-period-bar {
  display: flex;
  gap: .4rem;
  margin: .75rem 0 1.25rem;
}
.an-period-btn {
  padding: .3rem .9rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: .82rem;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.an-period-btn:hover       { background: rgba(255,255,255,.06); color: var(--text); }
.an-period-btn--active     { background: var(--primary); color: #000; border-color: var(--primary); font-weight: 600; }

/* Stat cards */
.an-stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.an-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .85rem;
}
.an-stat-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.an-stat-card__val   { font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.an-stat-card__label { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; margin-top: .15rem; }

/* Sessions badge (IP grouped table) */
.ip-sess-badge {
  display: inline-flex; align-items: center;
  font-size: .68rem; font-weight: 500;
  background: rgba(99,102,241,.15); border: 1px solid rgba(99,102,241,.3);
  color: #a5b4fc; border-radius: 20px;
  padding: .1rem .52rem; white-space: nowrap; vertical-align: middle;
}

/* IP History modal */
.ip-hist-group { margin-bottom: 1.25rem; }
.ip-hist-group__title {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--text-muted); margin: 0 0 .6rem;
  display: flex; align-items: center; gap: .35rem;
  border-bottom: 1px solid var(--border); padding-bottom: .4rem;
}
.ip-hist-group__cnt {
  font-size: .72rem; background: var(--surface-3);
  border-radius: 20px; padding: .05rem .45rem;
  color: var(--text); font-weight: 600;
}
.ip-hist-row {
  padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex; flex-direction: column; gap: .3rem;
}
.ip-hist-row:last-child { border-bottom: none; }
.ip-hist-row__head {
  display: flex; align-items: center; flex-wrap: wrap; gap: .35rem;
  font-size: .78rem;
}
.ip-hist-row__nome { font-size: .82rem; }
.ip-hist-row__page { font-size: .74rem; color: var(--text-muted); }
.ip-hist-row__meta {
  display: flex; align-items: center; gap: .65rem;
  font-size: .72rem; color: var(--text-muted);
}
.ip-hist-row__date { color: var(--text); }


/* Journey path timeline */
.ip-evts-path {
  margin-top: .6rem;
  border-top: 1px dashed rgba(255,255,255,.08);
  padding-top: .5rem;
}
.ip-evts-path__hdr {
  font-size: .67rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-muted); margin-bottom: .5rem;
  display: flex; align-items: center; gap: .28rem;
}

/* Horizontal flow */
.evts-flow {
  display: flex; align-items: center;
  overflow-x: auto; padding-bottom: .4rem;
  gap: 0;
  scrollbar-width: thin;
}
.evts-flow::-webkit-scrollbar { height: 4px; }
.evts-flow::-webkit-scrollbar-track { background: transparent; }
.evts-flow::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.evts-flow__step {
  display: flex; flex-direction: column; align-items: center;
  gap: .3rem; flex-shrink: 0; width: 130px;
}
.evts-flow__icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: color-mix(in srgb, var(--ic, #888) 15%, transparent);
  border: 1.5px solid var(--ic, #888);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.evts-flow__icon i { font-size: .62rem; color: var(--ic, #888); }
.evts-flow__info {
  display: flex; flex-direction: column; align-items: center;
  gap: .1rem; text-align: center;
}
.evts-flow__label {
  font-size: .72rem; color: var(--text);
  text-align: center; word-break: break-word;
  line-height: 1.3;
}
.evts-flow__ts { font-size: .62rem; color: var(--text-muted); }
.evts-flow__count {
  position: absolute; top: -5px; right: -5px;
  font-size: .55rem; font-weight: 700; line-height: 1;
  background: var(--primary); color: #fff;
  border-radius: 8px; padding: .1rem .28rem;
  border: 1px solid var(--surface-2);
}

/* Arrow connector */
.evts-flow__arrow {
  display: flex; flex-direction: column; align-items: center;
  gap: .2rem; flex-shrink: 0; padding: 0 .35rem;
  color: var(--text-muted);
}
.evts-flow__arrow i { font-size: .55rem; opacity: .5; }
.evts-flow__delta {
  font-size: .6rem; color: var(--text-muted);
  background: var(--surface-3); border-radius: 8px;
  padding: .05rem .3rem; white-space: nowrap;
}


/* Mini bar charts */
.an-charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.an-chart-panel { padding: 1rem !important; }
.an-chart-panel--wide { }
.an-chart-title {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  margin: 0 0 .75rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.an-bar-row {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .45rem;
  font-size: .8rem;
}
.an-bar-label {
  min-width: 110px;
  max-width: 130px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
  font-size: .78rem;
}
.an-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,.06);
  border-radius: 99px;
  overflow: hidden;
}
.an-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 99px;
  transition: width .35s ease;
}
.an-bar-fill--src  { background: #6366f1; }
.an-bar-fill--page { background: var(--primary); }
.an-bar-val {
  min-width: 28px;
  text-align: right;
  font-size: .76rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* Table header */
.an-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1rem .6rem;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
  flex-wrap: wrap;
}
.an-pager-summary {
  font-size: .75rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.an-table-wrap { overflow-x: auto; }

/* Visits table */
.an-visits-table { width: 100%; }
.an-visits-table th { font-size: .72rem !important; }
.an-td-num       { width: 2.2rem; color: var(--text-muted); font-size: .78rem; text-align: center; }
.an-td-center    { text-align: center; }
.an-td-visitor   { min-width: 200px; }
.an-td-page      { min-width: 130px; font-size: .82rem; }
.an-td-source    { min-width: 160px; }
.an-td-time      { min-width: 140px; font-size: .78rem; white-space: nowrap; }
.an-td-action    { width: 2.5rem; text-align: center; }

/* Visitor cell */
.an-visitor-cell   { display: flex; align-items: flex-start; gap: .6rem; }
.an-visitor-avatar {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #000;
  font-weight: 700;
  font-size: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.an-visitor-avatar--anon { background: rgba(255,255,255,.08); color: var(--text-muted); }
.an-visitor-info   { display: flex; flex-direction: column; gap: .18rem; min-width: 0; }
.an-visitor-name   { font-weight: 600; font-size: .82rem; white-space: nowrap; }
.an-visitor-email  { font-size: .73rem; color: var(--text-muted); font-weight: 400; }
.an-visitor-geo    { font-size: .75rem; color: var(--text-muted); }

/* Browser badge */
.an-br-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .15rem .5rem;
  border-radius: 4px;
  font-size: .71rem;
  font-weight: 500;
  background: rgba(255,255,255,.07);
  color: var(--text-muted);
  white-space: nowrap;
}
.br--chrome  { background: rgba(26,115,232,.12); color: #4285f4; }
.br--firefox { background: rgba(255,113,57,.12);  color: #ff7139; }
.br--safari  { background: rgba(0,125,250,.12);   color: #007dfa; }
.br--edge    { background: rgba(0,120,212,.12);   color: #0078d4; }
.br--opera   { background: rgba(255,27,45,.12);   color: #ff1b2d; }
.br--samsung { background: rgba(20,40,160,.12);   color: #1428a0; }
.br--ie      { background: rgba(0,118,214,.12);   color: #0076d6; }
.br--other   { background: rgba(255,255,255,.07); color: var(--text-muted); }

/* Status badges */
.an-status {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .55rem;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
}
.an-status--new { background: rgba(89,255,21,.15); color: var(--primary); }
.an-status--ret { background: rgba(99,102,241,.15); color: #818cf8; }

/* Page views count */
.an-pageviews { font-weight: 700; font-size: .85rem; }

/* Page cell */
.an-page-cell strong { font-size: .82rem; display: block; }

/* Source cell */
.an-source-cell  { display: flex; flex-direction: column; gap: .3rem; }
.an-ref-wrap     { max-width: 220px; overflow: hidden; }
.an-ref-link {
  font-size: .71rem;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  opacity: .75;
  transition: opacity .15s, color .15s;
}
.an-ref-link:hover { opacity: 1; color: var(--primary); }
.an-ref-link i     { font-size: .62rem; }
.an-utm {
  font-size: .68rem;
  color: var(--text-muted);
  background: rgba(99,102,241,.10);
  border: 1px solid rgba(99,102,241,.22);
  border-radius: 4px;
  padding: .1rem .4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
.an-utm i { color: #6366f1; margin-right: .25rem; }

/* Time cell */
.an-dur { color: var(--text-muted); font-size: .72rem; margin-top: .15rem; }
.an-dur--time { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.an-dur-badge { display: inline-flex; align-items: center; gap: .25rem; font-size: .72rem; font-weight: 600; padding: .15rem .45rem; border-radius: 99px; }
.an-dur--short { background: rgba(239,68,68,.12);  color: #f87171; }
.an-dur--mid   { background: rgba(251,191,36,.12); color: #fbbf24; }
.an-dur--long  { background: rgba(89,255,21,.12); color: var(--primary); }

/* Eye / info button */
.an-eye-btn {
  background: none; border: none;
  color: var(--text-muted); cursor: pointer;
  font-size: .95rem; padding: .3rem .5rem;
  border-radius: 6px; transition: color .15s, background .15s;
}
.an-eye-btn:hover { color: var(--primary); background: rgba(89,255,21,.08); }
/* Timeline de eventos de sessão */
.se-timeline { display: flex; flex-direction: column; gap: 0; }
.se-item     { display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; column-gap: .75rem; }
.se-dot      { grid-row: 1; grid-column: 1; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .65rem; color: #fff; flex-shrink: 0; z-index: 1; }
.se-line     { grid-row: 2; grid-column: 1; width: 2px; min-height: 12px; background: var(--border); margin: 0 auto; }
.se-body     { grid-row: 1; grid-column: 2; display: flex; justify-content: space-between; align-items: flex-start; padding: .3rem 0 .6rem; gap: .5rem; }
.se-label    { font-size: .82rem; color: var(--text); line-height: 1.4; }
.se-time     { font-size: .7rem; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; margin-top: .1rem; }

/* Pager */
.an-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: 1rem;
  border-top: 1px solid var(--border);
}
.an-pager-info { font-size: .8rem; color: var(--text-muted); }

.an-empty { font-size: .82rem; padding: .5rem 0; }

/* ── 11. Score buttons — spring e glow ───────────────────── */
.score-btn {
  transition:
    background .15s ease,
    border-color .15s ease,
    color .15s ease,
    transform .2s cubic-bezier(.34,1.56,.64,1),
    box-shadow .15s ease;
}
.score-btn:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  transform: scale(1.12);
  box-shadow: 0 0 0 4px var(--primary-glow);
}
.score-btn:active {
  transform: scale(0.92) !important;
}

/* ── 10. Auth tabs ───────────────────────────────────────── */
.auth-tab {
  transition:
    background .22s cubic-bezier(.22,1,.36,1),
    color .15s ease;
  position: relative;
}

/* ── 11. Inputs & selects — hover suave antes do focus ───── */
input[type=text]:hover,
input[type=email]:hover,
input[type=password]:hover,
input[type=number]:hover,
input[type=datetime-local]:hover,
input[type=date]:hover,
input[type=search]:hover,
select:hover {
  border-color: var(--border-strong);
}
input:focus, select:focus {
  box-shadow: 0 0 0 3px var(--primary-glow);
  transform: none;
}

/* ── 12. Admin nav buttons ──────────────────────────────── */
.admin-nav__btn {
  transition:
    background .15s ease,
    color .15s ease,
    border-left-color .15s ease,
    transform .15s ease;
}
.admin-nav__btn:hover:not(.admin-nav__btn--active) {
  transform: translateX(3px);
}
.admin-nav__btn i {
  transition: transform .2s cubic-bezier(.34,1.56,.64,1);
}
.admin-nav__btn:hover i {
  transform: scale(1.2);
}

/* ── 13. Dropdown items ─────────────────────────────────── */
.udrop__item {
  transition:
    background .12s ease,
    color .12s ease,
    transform .15s ease;
}
.udrop__item:hover {
  transform: translateX(3px);
}
.udrop__item i {
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), opacity .15s;
}
.udrop__item:hover i { transform: scale(1.15); opacity: 1; }

/* ── 14. Drawer nav items ───────────────────────────────── */
.dr-item {
  transition:
    background .15s ease,
    color .15s ease,
    transform .15s ease,
    padding-left .15s ease;
}
.dr-item:hover {
  transform: translateX(4px);
}
.dr-item i {
  transition: transform .2s cubic-bezier(.34,1.56,.64,1);
}
.dr-item:hover i { transform: scale(1.18); }

/* ── 15. Filter pills — brilho no active ──────────────── */
.games-filter {
  transition:
    background .18s ease,
    color .18s ease,
    border-color .18s ease,
    transform .18s cubic-bezier(.34,1.56,.64,1),
    box-shadow .18s ease;
}
.games-filter:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.games-filter:active { transform: scale(0.95); }
.games-filter--active {
  box-shadow: 0 0 0 1px var(--primary), 0 4px 18px var(--primary-glow);
}

/* ── 16. Config tabs (admin) ────────────────────────────── */
.config-tab {
  transition:
    background .18s ease,
    color .18s ease,
    transform .18s cubic-bezier(.34,1.56,.64,1);
}
.config-tab:hover:not(.config-tab--active) {
  transform: translateY(-1px);
}
.config-tab:active { transform: scale(0.96); }

/* ── 16b. Config tabs + btn--ghost — tema claro ─────────── */
.theme-light .config-tab {
  background: #ffffff;
  color: var(--text-muted);
  border: 1px solid rgba(15,23,42,.20);
}
.theme-light .config-tab:hover:not(.config-tab--active) {
  background: var(--surface-2);
  color: var(--text);
  border-color: rgba(15,23,42,.32);
}
.theme-light .config-tab--active {
  background: var(--win-tint-bg);
  color: var(--win-text);
  border-color: transparent;
}
.theme-light .badge--far {
  background: rgba(100,116,139,.12);
  color: #475569;
  border: 1px solid rgba(100,116,139,.30);
}
.theme-light .btn--ghost {
  background: #ffffff;
  color: var(--text-muted);
  border-color: rgba(15,23,42,.22);
}
.theme-light .btn--ghost:hover {
  background: var(--surface-2);
  color: var(--text);
  border-color: rgba(15,23,42,.35);
}
.theme-light .btn--ghost:disabled {
  background: var(--surface-2);
  color: var(--text-dim);
  border-color: rgba(15,23,42,.12);
  opacity: .6;
}
.theme-light .game-card--live  .btn--ghost[disabled],
.theme-light .game-card--live  .btn--ghost:disabled,
.theme-light .game-card--final .btn--ghost[disabled],
.theme-light .game-card--final .btn--ghost:disabled {
  background: rgba(220,38,38,.10) !important;
  border: 1px solid rgba(220,38,38,.45) !important;
  color: #b91c1c !important;
  opacity: 1 !important;
}
.theme-light .game-card--live  .btn--ghost:disabled i,
.theme-light .game-card--final .btn--ghost:disabled i { color: #b91c1c !important; }

/* ── 17. Tabela admin — row highlight com deslize ────────── */
.admin-table tr {
  transition: background .12s ease;
}
.admin-table tr:hover td {
  background: var(--surface-2);
}
/* Ícone de ação dentro de célula escala no hover da linha */
.admin-table tr:hover .btn { opacity: 1; }

/* ── 18-19. Ranking — removido, estilos migrados para §13 ── */

/* ── 20. Modal close button ──────────────────────────────── */
.modal__close {
  transition:
    color .15s ease,
    border-color .15s ease,
    transform .2s cubic-bezier(.34,1.56,.64,1),
    background .15s ease;
}
.modal__close:hover {
  transform: rotate(90deg) scale(1.1);
  background: var(--surface-3);
  color: var(--text);
  border-color: var(--border-strong);
}

/* ── 21. Footer links — handled in §FOOTER section ──────── */

/* ── 22. Show-more button ────────────────────────────────── */
.btn-show-more {
  transition:
    background .15s ease,
    color .15s ease,
    border-color .15s ease,
    transform .18s cubic-bezier(.22,1,.36,1);
}
.btn-show-more:hover {
  transform: translateY(-1px);
}

/* ── 23. Badge live — consolidado em §10 (liveGlow + liveDot) ── */

/* ── 24. Drawer close button ─────────────────────────────── */
.drawer__close {
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), color .15s;
}
.drawer__close:hover {
  transform: rotate(90deg) scale(1.15);
  color: var(--danger);
}

/* ── 25. Multiplier slider thumb — escala no hover ────────── */
.multiplier-slider:hover::-webkit-slider-thumb {
  transform: scale(1.3);
  box-shadow: 0 0 0 6px var(--primary-glow);
}
.multiplier-slider:focus::-webkit-slider-thumb {
  transform: scale(1.2);
  box-shadow: 0 0 0 5px var(--primary-glow);
}

/* ── 26. Media picker drag state ─────────────────────────── */
.media-picker {
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.media-picker--drag {
  box-shadow: 0 0 0 3px var(--primary-glow), inset 0 0 40px rgba(89,255,21,.04);
}

/* ── 27. Udrop trigger — smooth open state ───────────────── */
.udrop__trigger {
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.udrop__trigger:hover { transform: none; }
.udrop__chevron {
  transition: transform .22s cubic-bezier(.22,1,.36,1);
}

/* ── 28. Arrow buttons do banner ─────────────────────────── */
.mb-arrow {
  transition: background .15s ease, color .15s ease, transform .18s cubic-bezier(.34,1.56,.64,1);
}
.mb-arrow:hover {
  transform: scale(1.1);
}
.mb-arrow:active { transform: scale(0.92); }

/* ── 29. Btn-icon no admin sidebar ──────────────────────── */
.btn--icon {
  transition:
    transform .2s cubic-bezier(.34,1.56,.64,1),
    background .15s ease,
    color .15s ease,
    border-color .15s ease;
}
.btn--icon:hover {
  transform: rotate(20deg) scale(1.08);
}
.btn--icon:active { transform: scale(0.88) !important; }

/* ── 30. Link do logo ─────────────────────────────────────── */
.logo, .drawer__logo {
  transition: opacity .15s ease, transform .2s cubic-bezier(.34,1.56,.64,1);
}
.logo:hover, .drawer__logo:hover {
  opacity: .85;
  transform: scale(1.03);
}

/* ════════════════════════════════════════════════════════════
   §31. URGENCY BADGE — "Encerra em breve"
   ════════════════════════════════════════════════════════════ */
.gc-urgency {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 700;
  color: #FF6B00;
  background: rgba(255,107,0,.12);
  border: 1px solid rgba(255,107,0,.25);
  border-radius: 6px;
  padding: .2rem .55rem;
  margin-bottom: .35rem;
  animation: pulse-urgency 1.8s ease-in-out infinite;
}
@keyframes pulse-urgency {
  0%, 100% { opacity: 1; }
  50%       { opacity: .6; }
}

/* ════════════════════════════════════════════════════════════
   §32. MODAL OVERLAY genérico (PIX + Saque)
   ════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.hidden { display: none !important; }

.modal-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  animation: modal-in .22s cubic-bezier(.34,1.56,.64,1);
  max-height: 90vh;
  overflow-y: auto;
}
@keyframes modal-in {
  from { transform: translateY(24px) scale(.97); opacity: 0; }
  to   { transform: translateY(0) scale(1);      opacity: 1; }
}
.modal-close {
  position: absolute;
  top: .85rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  transition: color .15s;
  z-index: 1;
}
.modal-close:hover { color: var(--text); }

/* ════════════════════════════════════════════════════════════
   §33. GUEST BET MODAL
   ════════════════════════════════════════════════════════════ */
.guest-bet-modal { padding: 1.75rem 1.5rem 1.5rem; }

.guest-bet-header { text-align: center; margin-bottom: 1.25rem; }
.guest-bet-header h3 { font-size: 1.2rem; font-weight: 800; margin: .4rem 0 .25rem; }
.guest-bet-header p  { font-size: .85rem; color: var(--text-muted); margin: 0; }

.guest-bet-matchup { margin-bottom: 1.25rem; }

.guest-bet-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .5rem;
}
.guest-bet-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  flex: 1;
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
}
.guest-bet-team .res-emblem {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}
.guest-bet-flag { font-size: 2rem; line-height: 1; }
.guest-bet-vs {
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0 .25rem;
  flex-shrink: 0;
}
.guest-bet-date {
  display: block;
  text-align: center;
  font-size: .78rem;
  color: var(--text-muted);
}

.guest-bet-sim { margin-bottom: 1.25rem; }
.guest-bet-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: .6rem;
  font-size: .88rem;
  color: var(--text-muted);
}
.guest-bet-max { color: var(--primary); font-size: 1.1rem; }
.guest-bet-mult-hint { font-size: .78rem; color: var(--text-muted); margin: .35rem 0 0; }

.guest-bet-ctas { display: flex; flex-direction: column; gap: .6rem; }

/* ════════════════════════════════════════════════════════════
   §34. PIX MODAL
   ════════════════════════════════════════════════════════════ */
.pix-modal { padding: 1.75rem 1.5rem 1.5rem; }

.pix-modal__header {
  text-align: center;
  margin-bottom: 1.25rem;
}
.pix-modal__icon {
  font-size: 2.2rem;
  color: #00BCFF;   /* azul-pix oficial */
  display: block;
  margin-bottom: .4rem;
}
.pix-modal__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 .2rem;
}
.pix-modal__subtitle {
  font-size: .8rem;
  color: var(--text-muted);
  margin: 0;
}

.pix-modal__body { display: flex; flex-direction: column; gap: .9rem; }

/* QR Code */
.pix-modal__qr-wrap {
  display: flex;
  justify-content: center;
}
.pix-modal__qr {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  border: 3px solid var(--border);
  background: #fff;
  object-fit: contain;
}

/* Chave copy row */
.pix-modal__key-row { display: flex; flex-direction: column; gap: .35rem; }
.pix-modal__key-label { font-size: .72rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.pix-modal__key-box {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .45rem .75rem;
}
.pix-modal__key-val {
  font-family: 'Courier New', monospace;
  font-size: .8rem;
  color: var(--text);
  flex: 1;
  word-break: break-all;
}
.pix-modal__key-copy {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: .9rem;
  padding: .1rem .25rem;
  flex-shrink: 0;
  transition: color .15s;
}
.pix-modal__key-copy:hover { color: var(--primary); }

/* Valor */
.pix-modal__amount-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface-3);
  border-radius: 8px;
  padding: .5rem .75rem;
}
.pix-modal__amount-label { font-size: .8rem; color: var(--text-muted); }
.pix-modal__amount       { font-size: 1.05rem; font-weight: 700; color: var(--primary); }

/* Timer */
.pix-timer {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: var(--text-muted);
  justify-content: center;
}
.pix-timer--urgent { color: #FF6B00; font-weight: 700; }
.pix-timer--expired{ color: var(--danger); font-weight: 700; }

/* Status polling dot */
.pix-status {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: var(--text-dim);
  justify-content: center;
}
.pix-status__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: .5; }
}

/* Footer */
.pix-modal__footer {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  align-items: center;
}
.pix-modal__hint {
  font-size: .75rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}

/* ════════════════════════════════════════════════════════════
   §34. SAQUE MODAL
   ════════════════════════════════════════════════════════════ */
.saque-modal { padding: 1.75rem 1.5rem 1.5rem; }

.saque-modal__header {
  text-align: center;
  margin-bottom: 1.25rem;
}
.saque-modal__icon {
  font-size: 2rem;
  color: var(--primary);
  display: block;
  margin-bottom: .4rem;
}
.saque-modal__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.saque-modal__form { display: flex; flex-direction: column; gap: .85rem; }

.saque-modal__saldo-info {
  background: var(--surface-3);
  border-radius: 8px;
  padding: .6rem .9rem;
  font-size: .85rem;
  color: var(--text-dim);
  text-align: center;
}
.saque-modal__saldo-info strong { color: var(--primary); }

.saque-modal__hint {
  font-size: .75rem;
  color: var(--text-muted);
  display: flex;
  gap: .4rem;
  align-items: flex-start;
  margin: 0;
}
.saque-modal__hint i { flex-shrink: 0; margin-top: .1rem; color: var(--info); }

/* input prefix wrapper (R$) */
.input-prefix-wrap {
  display: flex;
  align-items: center;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.input-prefix-wrap:focus-within { border-color: var(--primary); }
.input-prefix {
  padding: 0 .75rem;
  font-size: .85rem;
  color: var(--text-muted);
  background: rgba(255,255,255,.04);
  border-right: 1px solid var(--border);
  white-space: nowrap;
  line-height: 2.6rem;
}
.input-prefix-input {
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  flex: 1;
}
.input-prefix-input:focus { box-shadow: none !important; }

/* ════════════════════════════════════════════════════════════
   §37. VIEW RESULTADOS
   ════════════════════════════════════════════════════════════ */
/* ── Toolbar (busca + tabs de data) ───────────────────────── */
.res-toolbar {
  display: flex; flex-wrap: wrap; gap: .65rem;
  align-items: center; margin-bottom: 1.5rem;
}
.res-filters__search {
  display: flex; align-items: center; gap: .5rem;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .45rem .9rem;
  flex: 1; min-width: 200px; transition: border-color .2s;
}
.res-filters__search:focus-within { border-color: var(--primary); }
.res-filters__search i { color: var(--text-muted); font-size: .85rem; flex-shrink: 0; }
.res-filters__search input {
  border: none; background: transparent; outline: none;
  color: var(--text); font-size: .88rem; width: 100%;
}
.res-date-tabs { display: flex; gap: .35rem; }
.res-date-tab {
  padding: .4rem .9rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface-2);
  color: var(--text-muted); font-size: .8rem; font-weight: 600;
  cursor: pointer; transition: all .15s; white-space: nowrap;
}
.res-date-tab:hover { border-color: var(--primary); color: var(--primary); }
.res-date-tab--active {
  background: var(--primary); border-color: var(--primary); color: #000;
}

/* ── Grupo por data ────────────────────────────────────────── */
.res-group { margin-bottom: 2rem; }
.res-group__header {
  display: flex; justify-content: space-between; align-items: center;
  padding: .3rem 0 .7rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: .9rem;
}
.res-group__date {
  font-size: .8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-muted);
}
.res-group__count {
  font-size: .72rem; color: var(--text-muted); opacity: .6;
}
.res-group__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* ── Card de resultado ─────────────────────────────────────── */
.rc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.rc:hover {
  border-color: var(--border-strong);
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

/* Meta bar: liga + horário */
.rc__meta {
  display: flex; justify-content: space-between; align-items: center;
  padding: .35rem .8rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.rc__league {
  font-size: .62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 70%;
}
.rc__time {
  font-size: .65rem; font-weight: 600;
  color: var(--text-muted); flex-shrink: 0;
}

/* Linha principal: time | placar | time */
.rc__row {
  display: flex; align-items: center;
  padding: .8rem .85rem; gap: .6rem;
}
.rc__team {
  display: flex; align-items: center; gap: .45rem;
  flex: 1; min-width: 0;
}
.rc__team--away { flex-direction: row-reverse; }

.rc__team-name {
  font-size: .82rem; font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  min-width: 0; flex: 1;
  transition: color .15s;
}
.rc__team--home .rc__team-name { text-align: left; }
.rc__team--away .rc__team-name { text-align: right; }

.rc__team--win  .rc__team-name { color: var(--text); font-weight: 700; }
.rc__team--loss .rc__team-name { opacity: .45; }

/* Placar central */
.rc__scoreline {
  display: flex; align-items: center;
  gap: .35rem; flex-shrink: 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .3rem .7rem;
}
.rc__score {
  font-size: 1.35rem; font-weight: 900;
  font-variant-numeric: tabular-nums;
  min-width: 1.1ch; text-align: center;
  color: var(--text-muted);
  line-height: 1;
}
.rc__score--win  { color: var(--success); }
.rc__score--loss { color: var(--danger); opacity: .65; }
.rc__score--draw { color: var(--text); }
.rc__sep {
  font-size: .7rem; font-weight: 700;
  color: var(--text-muted); opacity: .5;
}

.rc__emblem { flex-shrink: 0; }
.rc__emblem-img  { width: 1.7rem; height: 1.7rem; object-fit: contain; display: block; }
.rc__emblem-flag { font-size: 1.4rem; line-height: 1; display: block; }

/* ── Manter res-flag/res-emblem usados em outros lugares ───── */
.res-flag   { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
.res-emblem { width: 1.6rem; height: 1.6rem; object-fit: contain; flex-shrink: 0; }
.res-live-dot {
  width: 6px; height: 6px; background: #ef4444; border-radius: 50%;
  animation: pulse-dot 1.2s ease-in-out infinite; flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}

@media (max-width: 1024px) {
  .res-group__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .res-group__list { grid-template-columns: 1fr; gap: .5rem; }
  .rc__row         { padding: .65rem .7rem; gap: .4rem; }
  .rc__score       { font-size: 1.15rem; }
  .rc__team-name   { font-size: .76rem; }
  .rc__emblem-img  { width: 1.4rem; height: 1.4rem; }
  .rc__emblem-flag { font-size: 1.2rem; }
  .res-date-tabs   { flex-wrap: wrap; }
}


/* ════════════════════════════════════════════════════════════
   §38. TABELA DE GRUPOS
   ════════════════════════════════════════════════════════════ */
.grupos-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .5rem;
}
.grupos-title {
  font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; gap: .5rem;
}
.grupos-cache-info {
  font-size: .72rem; color: var(--text-muted); margin-bottom: 1rem;
}
.grupos-legend {
  display: flex; gap: 1.2rem; margin-top: 1.5rem; flex-wrap: wrap;
}
.grupos-legend__item {
  font-size: .72rem; color: var(--text-muted);
  display: flex; align-items: center; gap: .4rem;
}
.grupos-legend__item::before {
  content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 2px;
}
.grupos-legend__item--q::before { background: var(--primary); }
.grupos-legend__item--p::before { background: #f59e0b; }

/* Grid de grupos */
.grupos-grid-wrap, #gruposGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* Card de grupo */
.gt {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.gt__header {
  padding: .5rem .9rem; font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .09em;
  background: rgba(255,255,255,.04); border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.gt__table {
  width: 100%; border-collapse: collapse; font-size: .8rem;
}
.gt__table thead tr {
  background: rgba(255,255,255,.02); border-bottom: 1px solid var(--border);
}
.gt__table th {
  padding: .35rem .5rem; font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-muted); text-align: center; white-space: nowrap;
  cursor: default;
}
.gt__th-team { text-align: left; }
.gt__table td { padding: .55rem .5rem; text-align: center; border-top: 1px solid rgba(255,255,255,.03); }
.gt__table tbody tr:hover { background: rgba(255,255,255,.03); }

/* Indicador de zona (borda esquerda colorida) */
.gt__row--qualified { border-left: 3px solid var(--primary); }
.gt__row--playoff   { border-left: 3px solid #f59e0b; }

.gt__pos { font-weight: 700; color: var(--text-muted); width: 1.5rem; }
.gt__team { text-align: left; min-width: 0; }
.gt__team-inner {
  display: flex; align-items: center; gap: .45rem;
  min-width: 0; overflow: hidden;
}
.gt__team-inner span {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-weight: 600; color: var(--text);
}
.gt__crest { width: 1.25rem; height: 1.25rem; object-fit: contain; flex-shrink: 0; }
.gt__crest-ph { width: 1.25rem; height: 1.25rem; background: rgba(255,255,255,.08); border-radius: 50%; flex-shrink: 0; display: inline-block; }
.gt__gd { color: var(--text-muted); font-size: .75rem; }
.gt__pts { font-weight: 900; color: var(--text); }

/* Responsive */
@media (max-width: 1100px) {
  #gruposGrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  #gruposGrid { grid-template-columns: 1fr; gap: .75rem; }
  .gt__table  { font-size: .74rem; }
  .gt__table th, .gt__table td { padding: .4rem .35rem; }
}

/* ════════════════════════════════════════════════════════════
   §39. PÁGINAS LEGAIS (Termos, Privacidade, Jogo Responsável)
   ════════════════════════════════════════════════════════════ */

/* ── Container principal ─────────────────────────────────── */
.legal-page {
  max-width: 820px;
  margin: 2.5rem auto 4rem;
  padding: 0 .5rem;
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.legal-breadcrumb {
  margin-bottom: 2rem;
}

/* ── Header ──────────────────────────────────────────────── */
.legal-header {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}
.legal-header--warning {
  background: linear-gradient(135deg, rgba(239,68,68,.06) 0%, rgba(251,146,60,.06) 100%);
  border-color: rgba(239,68,68,.18);
}

.legal-header__icon {
  width: 64px; height: 64px;
  background: var(--tint-primary);
  border: 1px solid var(--primary-glow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin: 0 auto 1.25rem;
}
.legal-header__icon--warning {
  background: rgba(239,68,68,.12);
  border-color: rgba(239,68,68,.25);
  color: #ef4444;
}

.legal-header h1 {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -.03em;
  margin: 0 0 .5rem;
  color: var(--text);
}
.legal-header p {
  font-size: .85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Body ────────────────────────────────────────────────── */
.legal-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ── Highlight banner ────────────────────────────────────── */
.legal-highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  background: var(--tint-info);
  border: 1px solid rgba(61,142,255,.22);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.legal-highlight > i {
  font-size: 1.25rem;
  color: var(--info);
  flex-shrink: 0;
  margin-top: .1rem;
}
.legal-highlight p { margin: .25rem 0 0; }

.legal-highlight--urgent {
  background: rgba(239,68,68,.08);
  border-color: rgba(239,68,68,.22);
}
.legal-highlight--urgent > i { color: #ef4444; }
.legal-highlight--urgent strong { color: var(--text); display: block; margin-bottom: .3rem; }
.legal-highlight--urgent p { color: var(--text-dim); margin: 0; }

/* ── Sections ────────────────────────────────────────────── */
.legal-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.legal-section h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .55rem;
}
.legal-section h2 i {
  color: var(--primary);
  font-size: .9em;
}

.legal-section h3 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-dim);
  margin: 1.25rem 0 .6rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.legal-section p {
  font-size: .9rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin: 0 0 .75rem;
}
.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
  padding-left: 1.35rem;
  margin: .5rem 0 .75rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.legal-section ul li {
  font-size: .9rem;
  color: var(--text-dim);
  line-height: 1.65;
}
.legal-section a {
  color: var(--primary);
  text-decoration: none;
}
.legal-section a:hover { text-decoration: underline; }

/* ── Contact card ────────────────────────────────────────── */
.legal-contact-card {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: .75rem;
  padding: 1rem 1.25rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.legal-contact-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .88rem;
  color: var(--text-dim);
}
.legal-contact-item i {
  color: var(--primary);
  width: 1rem;
  text-align: center;
  flex-shrink: 0;
}
.legal-contact-item a {
  color: var(--primary);
  text-decoration: none;
}
.legal-contact-item a:hover { text-decoration: underline; }

/* ── Tabela de dados ─────────────────────────────────────── */
.legal-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin: .75rem 0;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .84rem;
}
.legal-table th {
  background: var(--surface-2);
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .74rem;
  padding: .65rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.legal-table td {
  padding: .65rem 1rem;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
  vertical-align: top;
}
.legal-table tbody tr:last-child td { border-bottom: 0; }
.legal-table tbody tr:hover td { background: var(--surface-2); }

/* ── Direitos grid (LGPD) ───────────────────────────────── */
.legal-rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: .75rem;
  margin-top: .75rem;
}
.legal-right-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .85rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.legal-right-item > i {
  font-size: 1rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: .1rem;
}
.legal-right-item > div {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.legal-right-item strong {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
}
.legal-right-item span {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Warning grid (sinais de alerta) ────────────────────── */
.legal-warning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .6rem;
  margin-top: .75rem;
}
.legal-warning-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .7rem 1rem;
  background: rgba(251,191,36,.06);
  border: 1px solid rgba(251,191,36,.18);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  color: var(--text-dim);
  line-height: 1.4;
}
.legal-warning-item > i {
  color: #f59e0b;
  flex-shrink: 0;
  font-size: .85rem;
}

/* ── Tools grid (ferramentas de proteção) ───────────────── */
.legal-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: .75rem;
  margin-top: .75rem;
}
.legal-tool-card {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: 1.1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s, transform .2s;
}
.legal-tool-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.legal-tool-card__icon {
  width: 42px; height: 42px;
  min-width: 42px;
  background: var(--tint-primary);
  border: 1px solid var(--primary-glow);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
}
.legal-tool-card > div strong {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .3rem;
}
.legal-tool-card > div p {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ── Helplines ───────────────────────────────────────────── */
.legal-helplines {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-top: .75rem;
}
.legal-helpline {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .2s, transform .18s;
}
.legal-helpline:hover {
  border-color: var(--border-strong);
  transform: translateX(4px);
}
.legal-helpline__icon {
  width: 44px; height: 44px; min-width: 44px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.legal-helpline__info {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.legal-helpline__info strong {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
}
.legal-helpline__info span {
  font-size: .78rem;
  color: var(--text-muted);
}

/* ── Footer CTA ──────────────────────────────────────────── */
.legal-footer-cta {
  text-align: center;
  padding: 2rem;
  background: var(--tint-primary);
  border: 1px solid var(--primary-glow);
  border-radius: var(--radius-lg);
  margin-top: .5rem;
}
.legal-footer-cta p {
  font-size: .95rem;
  color: var(--text-dim);
  margin: 0 0 1rem;
}

/* ── btn-link footer variant ─────────────────────────────── */
.btn-link--footer {
  color: var(--text);
  text-decoration: underline;
  font-weight: 700;
  opacity: .85;
}
.btn-link--footer:hover { opacity: 1; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
  .legal-header h1   { font-size: 1.5rem; }
  .legal-section     { padding: 1.25rem; }
  .legal-rights-grid,
  .legal-warning-grid,
  .legal-tools-grid  { grid-template-columns: 1fr; }
  .legal-table th,
  .legal-table td    { padding: .5rem .75rem; }
}

/* ═══════════════════════════════════════════════════════════════
   §39. SHARE MODAL (bet + game)
   ═══════════════════════════════════════════════════════════════ */
/* ── Share modal — adapta ao tema claro/escuro ──────────────── */
.share-modal {
  width: 100%;
  max-width: 520px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 64px rgba(0,0,0,.25);
  border-radius: 18px;
}
/* Glow verde só no tema escuro */
:root:not([data-theme="light"]) .share-modal,
.theme-dark .share-modal {
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg) 100%);
  border-color: rgba(89,255,21,.22);
  box-shadow: 0 0 40px rgba(89,255,21,.06), 0 24px 64px rgba(0,0,0,.7);
}

.share-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem .9rem;
  border-bottom: 1px solid var(--border);
}

.share-modal__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: .5rem;
  letter-spacing: .02em;
}
.share-modal__title i { color: var(--primary); font-size: 1.05rem; }

.share-modal__body { padding: 1.1rem 1.25rem 1.25rem; }

.share-preview {
  background: var(--bg);
  border-radius: 12px;
  overflow: hidden;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 1px solid var(--border-strong);
  position: relative;
}
:root:not([data-theme="light"]) .share-preview,
.theme-dark .share-preview {
  border-color: rgba(89,255,21,.25);
  box-shadow: 0 0 18px rgba(89,255,21,.06) inset;
}
.share-preview canvas {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.share-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  color: var(--text-muted);
  font-size: .8rem;
  padding: 2rem 0;
}
.share-spinner i { font-size: 1.6rem; color: var(--primary); }

/* ── Botões de ação ───────────────────────────────────────── */
/* ── Botões de compartilhamento ──────────────────────────── */
.share-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
}

.share-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .6rem .75rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: .8rem;
  font-weight: 600;
  color: #fff;
  transition: filter .15s, transform .1s;
}
.share-btn i { font-size: .95rem; flex-shrink: 0; }
.share-btn:hover  { filter: brightness(1.1); }
.share-btn:active { transform: scale(.97); filter: brightness(.93); }

/* Cores oficiais — valem para ambos os modais (jogo e palpite) */
#btnGameShareWhatsApp, #btnShareWhatsApp { background: #25D366; }
#btnGameShareTelegram, #btnShareTelegram  { background: #229ED9; }
#btnGameShareFacebook, #btnShareFacebook  { background: #1877F2; }
#btnGameShareTwitter,  #btnShareTwitter   { background: #111;    }
.share-btn--native { background: var(--primary, #00C853); }
.share-btn--copy {
  background: var(--surface-2);
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
}
.share-btn--copy:hover { color: var(--text); filter: none; background: var(--surface-3); }

[data-theme="light"] #btnGameShareTwitter, [data-theme="light"] #btnShareTwitter,
.theme-light #btnGameShareTwitter,         .theme-light #btnShareTwitter { background: #1a1a1a; }

/* Mobile < 380px: 1 coluna */
@media (max-width: 380px) {
  .share-actions { grid-template-columns: 1fr; }
}

/* ── Botão fechar ──────────────────────────────────────────── */
.share-modal__close {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.share-modal__close:hover { background: var(--surface-3); color: var(--text); }

/* Mobile: empilha em coluna única abaixo de 380px */
@media (max-width: 380px) {
  .share-actions { grid-template-columns: 1fr; }
  .share-btn--copy { grid-column: 1; }
}

/* ── Game header: team name row + status badge side-by-side ── */
.bet-card__header .badge { flex-shrink: 0; white-space: nowrap; }

/* ── Share row — full-width bottom of card ────────────────── */
.bet-card__share {
  flex-basis: 100%;       /* força nova linha no flex-row do desktop */
  width: 100%;
  padding-top: .65rem;
  border-top: 1px solid var(--border);
  margin-top: .1rem;
}
.bet-card__share-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .55rem 1rem;
  border-radius: 8px;
  border: none;
  background: rgba(8,12,24,.85);
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: .01em;
  transition: background .15s, color .15s, transform .1s;
}
.bet-card__share-btn i { font-size: .9rem; opacity: .7; }
.bet-card__share-btn:hover { background: rgba(8,12,24,1); color: #fff; }
.bet-card__share-btn:active { transform: scale(.98); }


/* Verify-PIX hint inside bet card */
.bet-verify-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; }
.bet-verify-hint { font-size: .7rem; color: var(--text-muted); display: flex; align-items: center; gap: .3rem; white-space: nowrap; }

/* ═══════════════════════════════════════════════════════════════
   §40. TICKET / SUPORTE SYSTEM
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   PERFIL DO USUÁRIO  (mobile-first)
   ═══════════════════════════════════════════════════════════════ */
.perfil-page { padding: 1rem 0 5rem; }

/* ── Hero card ──────────────────────────────────────────────── */
.perfil-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  margin-bottom: .85rem;
}
.perfil-hero__left { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.perfil-hero__avatar {
  width: 2.8rem; height: 2.8rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.perfil-hero__info { min-width: 0; }
.perfil-hero__name { font-size: .95rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.perfil-hero__email { font-size: .72rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.perfil-hero__right { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; flex-shrink: 0; }
.perfil-hero__balance-label { font-size: .68rem; color: var(--text-muted); }
.perfil-hero__balance-val   { font-size: 1.2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.perfil-hero__btns          { display: flex; gap: .35rem; margin-top: .1rem; }
.perfil-hero__deposit-btn   { font-size: .72rem !important; padding: .28rem .6rem !important; flex: 1; }

/* ── Stats bar (faixa horizontal) ──────────────────────────── */
.perfil-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: .85rem;
  overflow: hidden;
}

.perfil-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  padding: .9rem .4rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
/* Sem borda direita na 3ª coluna */
.perfil-stat:nth-child(3n) { border-right: none; }
/* Sem borda inferior nos 2 últimos (linha 2 com 5 itens → itens 4 e 5) */
.perfil-stat:nth-child(n+4) { border-bottom: none; }

.perfil-stat__val {
  font-size: .85rem; font-weight: 800;
  line-height: 1; white-space: nowrap; color: var(--text);
}
.perfil-stat__val--win  { color: var(--success); }
.perfil-stat__val--ok   { color: var(--success); }
.perfil-stat__val--loss { color: var(--danger); }
.perfil-stat__lbl { font-size: .67rem; color: var(--text-muted); }

/* ── Two-column body ────────────────────────────────────────── */
.perfil-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
  align-items: start;
}
@media (max-width: 680px) { .perfil-body { grid-template-columns: 1fr; } }

.perfil-col { display: flex; flex-direction: column; gap: .85rem; }

.perfil-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
}
.perfil-card__title {
  font-size: .88rem; font-weight: 700;
  margin: 0 0 .9rem;
  display: flex; align-items: center; gap: .45rem;
}
.perfil-card__title i { color: var(--primary); }

/* PIX section */
.perfil-pix-section {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .75rem .85rem;
  margin: .75rem 0;
}
.perfil-pix-section__header {
  display: flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 700; color: var(--text-muted);
  margin-bottom: .65rem;
}
.perfil-field-row { display: flex; gap: .6rem; }
.perfil-field--sm  { flex: 0 0 38%; min-width: 0; }
.perfil-field--grow { flex: 1; min-width: 0; }

/* Form fields */
.perfil-field { display: flex; flex-direction: column; gap: .25rem; margin-bottom: .6rem; }
.perfil-field:last-of-type { margin-bottom: 0; }
.perfil-field__label { font-size: .72rem; font-weight: 600; color: var(--text-muted); }
.perfil-field__input,
.perfil-field__select {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: .5rem .7rem;
  font-size: .88rem;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .18s;
}
.perfil-field__input:focus,
.perfil-field__select:focus { outline: none; border-color: var(--primary); }
.perfil-field__input:disabled { opacity: .5; cursor: not-allowed; }

/* Feedback */
.perfil-msg {
  border-radius: var(--radius);
  padding: .5rem .85rem;
  font-size: .82rem;
  margin-bottom: .55rem;
}
.perfil-msg--ok  { background: color-mix(in srgb, var(--success) 12%, transparent); color: var(--success); border: 1px solid color-mix(in srgb, var(--success) 30%, transparent); }
.perfil-msg--err { background: color-mix(in srgb, var(--danger)  12%, transparent); color: var(--danger);  border: 1px solid color-mix(in srgb, var(--danger)  30%, transparent); }

/* Transaction list */
.perfil-trans-list { display: flex; flex-direction: column; gap: .4rem; }
.perfil-trans-item {
  display: flex; align-items: center; gap: .6rem;
  padding: .55rem .65rem;
  border-radius: var(--radius);
  background: var(--bg);
  font-size: .82rem;
}
.perfil-trans-item__icon {
  width: 1.8rem; height: 1.8rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; flex-shrink: 0;
}
.perfil-trans-item__icon--credito { background: color-mix(in srgb, var(--success) 15%, transparent); color: var(--success); }
.perfil-trans-item__icon--debito  { background: color-mix(in srgb, var(--danger)  15%, transparent); color: var(--danger); }
.perfil-trans-item__body { flex: 1; min-width: 0; }
.perfil-trans-item__desc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.perfil-trans-item__date { font-size: .68rem; color: var(--text-muted); }
.perfil-trans-item__val { font-weight: 700; white-space: nowrap; font-size: .82rem; }
.perfil-trans-item__val--credito { color: var(--success); }
.perfil-trans-item__val--debito  { color: var(--danger); }

.perfil-empty {
  padding: 1.5rem; text-align: center; color: var(--text-muted);
  display: flex; flex-direction: column; align-items: center; gap: .4rem; font-size: .85rem;
}
.perfil-empty i { font-size: 1.5rem; opacity: .35; }

/* Pagination */
.perfil-trans-pagination {
  display: flex; justify-content: center; gap: .4rem;
  margin-top: .75rem; flex-wrap: wrap;
}
.perfil-trans-pagination button {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius);
  padding: .28rem .65rem;
  font-size: .75rem; cursor: pointer;
}
.perfil-trans-pagination button.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.perfil-trans-pagination button:hover:not(.active) { background: var(--border); }

/* Saque item */
.perfil-saque-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: .65rem; padding: .55rem .65rem;
  border-radius: var(--radius); background: var(--bg); font-size: .82rem;
}
.perfil-saque-item__info { flex: 1; }
.perfil-saque-item__val  { font-weight: 700; }
.perfil-saque-item__date { font-size: .7rem; color: var(--text-muted); }
.perfil-saque-item__badge {
  font-size: .67rem; font-weight: 700;
  padding: .13rem .5rem; border-radius: 99px;
  text-transform: uppercase; letter-spacing: .03em; white-space: nowrap;
}
.perfil-saque-item__badge--pendente    { background: color-mix(in srgb, var(--warning) 15%, transparent); color: var(--warning); }
.perfil-saque-item__badge--aprovado    { background: color-mix(in srgb, var(--success) 15%, transparent); color: var(--success); }
.perfil-saque-item__badge--rejeitado   { background: color-mix(in srgb, var(--danger)  15%, transparent); color: var(--danger); }
.perfil-saque-item__badge--processando { background: color-mix(in srgb, var(--info)    15%, transparent); color: var(--info); }

/* ── Page header ─────────────────────────────────────────── */
.ticket-page { padding: 1.5rem 0 3rem; }
.ticket-page__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.ticket-page__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 .25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.ticket-page__title i { color: var(--primary); }
.ticket-page__sub { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* ── Two-panel split ─────────────────────────────────────── */
.ticket-split {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1rem;
  height: calc(100vh - 260px);
  min-height: 480px;
}
.ticket-split__list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.ticket-split__chat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── Ticket list items ───────────────────────────────────── */
.ticket-item {
  padding: .875rem 1rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .12s;
  flex-shrink: 0;
}
.ticket-item:hover       { background: var(--surface-alt); }
.ticket-item--active     { background: rgba(89,255,21,.07); border-left: 3px solid var(--primary); }
.ticket-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .3rem;
}
.ticket-item__subject {
  font-weight: 600;
  font-size: .875rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}
.ticket-item__meta {
  font-size: .75rem;
  color: var(--text-muted);
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.ticket-item__preview {
  font-size: .78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: .2rem;
}

/* ── Status pills ────────────────────────────────────────── */
.ticket-status {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .68rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 20px;
  letter-spacing: .04em;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticket-status--aberto          { background: rgba(89,255,21,.15);   color: var(--primary); }
.ticket-status--em_atendimento  { background: rgba(255,165,0,.15);  color: #FFA500; }
.ticket-status--fechado         { background: rgba(107,114,128,.15); color: #6B7280; }

/* ── Chat header ─────────────────────────────────────────── */
.ticket-chat-header {
  padding: .875rem 1.25rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.ticket-chat-header__subject {
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 .35rem;
  color: var(--text);
}
.ticket-chat-header__meta {
  font-size: .78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}

/* ── Chat messages area ──────────────────────────────────── */
.ticket-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  scroll-behavior: smooth;
}

/* ── Chat bubbles ────────────────────────────────────────── */
.chat-bubble {
  max-width: 72%;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.chat-bubble--user  { align-self: flex-end;   align-items: flex-end; }
.chat-bubble--admin { align-self: flex-start; align-items: flex-start; }

.chat-bubble__body {
  padding: .625rem .925rem;
  border-radius: 16px;
  font-size: .9rem;
  line-height: 1.55;
  word-break: break-word;
}
.chat-bubble--user .chat-bubble__body {
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-bubble--admin .chat-bubble__body {
  background: var(--surface-alt);
  color: var(--text);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border);
}
.chat-bubble__time {
  font-size: .68rem;
  color: var(--text-muted);
  padding: 0 .3rem;
}
.chat-bubble__author {
  font-size: .72rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: .1rem;
  display: flex;
  align-items: center;
  gap: .3rem;
}

/* ── Chat footer ─────────────────────────────────────────── */
.ticket-chat-footer {
  border-top: 1px solid var(--border);
  padding: .875rem 1rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.ticket-chat-input-wrap {
  display: flex;
  gap: .625rem;
  align-items: flex-end;
}
.ticket-chat-input {
  flex: 1;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: .625rem .875rem;
  font-size: .9rem;
  font-family: inherit;
  resize: none;
  line-height: 1.5;
  transition: border-color .15s;
}
.ticket-chat-input:focus { outline: none; border-color: var(--primary); }
.ticket-chat-send {
  padding: .625rem .925rem;
  flex-shrink: 0;
  align-self: flex-end;
}
.ticket-chat-actions {
  display: flex;
  gap: .5rem;
  align-items: center;
  flex-wrap: wrap;
}
.btn--active-status {
  background: rgba(89,255,21,.15);
  color: var(--primary);
  border-color: var(--primary);
}

/* ── Admin ticket filter ─────────────────────────────────── */
.ticket-filter-bar { display: flex; gap: .375rem; flex-wrap: wrap; }
.ticket-filter-btn {
  padding: .3rem .75rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: .78rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .12s, color .12s;
}
.ticket-filter-btn--active                             { background: var(--primary); color: #000; border-color: var(--primary); }
.ticket-filter-btn:hover:not(.ticket-filter-btn--active) { background: var(--surface-alt); color: var(--text); }

/* ── Sidebar badge ───────────────────────────────────────── */
.admin-nav__badge {
  background: var(--danger);
  color: #fff;
  border-radius: 20px;
  font-size: .68rem;
  font-weight: 700;
  padding: .1rem .45rem;
  margin-left: auto;
  min-width: 18px;
  text-align: center;
  line-height: 1.6;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .ticket-split {
    grid-template-columns: 1fr;
    height: auto;
  }
  .ticket-split__list { height: 280px; min-height: 280px; }
  .ticket-split__chat { height: 480px; min-height: 480px; }
}

/* ═══════════════════════════════════════════════════════════════
   §41. NOTIFICATION BELL + PWA INSTALL
   ═══════════════════════════════════════════════════════════════ */

/* ── Bell button ─────────────────────────────────────────── */
.notif-bell { position: relative; }

.notif-bell__btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.05rem;
  padding: .4rem .45rem;
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  transition: color .15s, background .15s;
}
.notif-bell__btn:hover { color: var(--text); background: var(--surface-alt); }

.notif-bell__badge {
  position: absolute;
  top: 1px;
  right: 1px;
  background: var(--danger);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  padding: .05rem .3rem;
  border-radius: 20px;
  min-width: 16px;
  text-align: center;
  line-height: 1.7;
  transform: translate(40%, -40%);
  pointer-events: none;
}

/* ── Notification panel ──────────────────────────────────── */
.notif-panel {
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  width: 340px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
  z-index: 300;
  display: flex;
  flex-direction: column;
  max-height: 480px;
  overflow: hidden;
}
.notif-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .875rem 1rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.notif-panel__title {
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.notif-panel__list {
  overflow-y: auto;
  flex: 1;
}

/* ── Notification items ──────────────────────────────────── */
.notif-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .12s;
  position: relative;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--surface-alt); }
.notif-item--unread { background: rgba(89,255,21,.05); }

.notif-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
  background: rgba(89,255,21,.15);
  color: var(--primary);
}
.notif-item__icon--bet_won         { background: rgba(255,215,0,.15);  color: #FFD700; }
.notif-item__icon--bet_lost        { background: rgba(255,71,87,.12);  color: #FF4757; }
.notif-item__icon--saque_aprovado  { background: rgba(89,255,21,.15);   color: var(--primary); }
.notif-item__icon--saque_rejeitado { background: rgba(255,71,87,.12);  color: #FF4757; }

.notif-item__body  { flex: 1; min-width: 0; }
.notif-item__title { font-weight: 600; font-size: .84rem; margin-bottom: .15rem; color: var(--text); }
.notif-item__text  {
  font-size: .78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: .15rem;
}
.notif-item__time  { font-size: .7rem; color: var(--text-muted); }

.notif-item__dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .3rem;
}

.notif-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
  font-size: .875rem;
  text-align: center;
}
.notif-empty i { font-size: 2rem; opacity: .2; }

/* Ícones por tipo — usuário */
.notif-item__icon--bonus_cadastro      { background: rgba(89,255,21,.15);   color: var(--primary); }
.notif-item__icon--nova_resposta_chat  { background: rgba(99,102,241,.15);  color: #818cf8; }
.notif-item__icon--deposito_aprovado   { background: rgba(89,255,21,.15);   color: var(--primary); }
.notif-item__icon--sistema             { background: rgba(100,116,139,.15); color: var(--text-muted); }
/* Ícones por tipo — admin */
.notif-item__icon--novo_usuario        { background: rgba(34,197,94,.15);   color: #22c55e; }
.notif-item__icon--novo_saque          { background: rgba(245,158,11,.15);  color: var(--gold); }
.notif-item__icon--novo_ticket         { background: rgba(99,102,241,.15);  color: #818cf8; }
.notif-item__icon--novo_deposito       { background: rgba(89,255,21,.15);   color: var(--primary); }

/* Grupo de data */
.notif-group-label {
  font-size: .62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-muted);
  padding: .55rem 1rem .25rem;
  border-top: 1px solid var(--border);
}
.notif-group-label:first-child { border-top: none; }

/* Bell shake */
@keyframes notifShake {
  0%,100% { transform: rotate(0); }
  15%      { transform: rotate(18deg); }
  30%      { transform: rotate(-16deg); }
  45%      { transform: rotate(12deg); }
  60%      { transform: rotate(-10deg); }
  75%      { transform: rotate(6deg); }
}
.notif-bell--shake { animation: notifShake .65s ease; }

/* ── PWA install button (cores fixas — independe do tema) ─── */
.btn-pwa-install {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .78rem;
  padding: .35rem .65rem;
  border-radius: 20px;
  border: 1px solid #59ff15 !important;
  color: #59ff15 !important;
  background: transparent !important;
}
.btn-pwa-install:hover { background: rgba(89,255,21,.12) !important; }
@media (max-width: 480px) {
  .btn-pwa-install__label { display: none; }
  .notif-panel { width: calc(100vw - 2rem); right: -4rem; }
}

/* ── Footer: App Install Banner ──────────────────────────── */
.ft-app-install {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(89,255,21,.04);
}
.ft-app-install__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}
.ft-app-install__left {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex: 1;
  min-width: 0;
}
.ft-app-install__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.ft-app-install__text {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
}
.ft-app-install__text strong { font-size: .95rem; font-weight: 800; }
.ft-app-install__text span   { font-size: .78rem; color: var(--text-muted); }
.ft-app-install__btn { flex-shrink: 0; gap: .4rem; }
.ft-app-install__ios-hint {
  width: 100%;
  font-size: .8rem;
  color: var(--text-muted);
  padding: .5rem .75rem;
  background: rgba(89,255,21,.06);
  border-radius: .5rem;
  border: 1px solid rgba(89,255,21,.15);
  line-height: 1.6;
}
@media (max-width: 540px) {
  .ft-app-install__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .75rem;
  }
  .ft-app-install__left { justify-content: center; }
  .ft-app-install__btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════
   §42. LEAGUE / COMPETITION TABS
   ═══════════════════════════════════════════════════════════════ */
.league-tabs {
  display: flex;
  gap: .28rem;
  align-items: center;
  overflow-x: auto;
  padding: .5rem 0;
  margin: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* sem border, sem fundo — apenas os pills flutuam */
}

/* Mobile: sticky mas sem a "barra" destacada */
@media (max-width: 768px) {
  .league-tabs:not(.hidden) {
    position: sticky;
    top: 86px;
    z-index: 40;
    background: var(--bg);
    margin: 0 -1rem;
    padding: .5rem 1rem;
  }
}
.league-tabs::-webkit-scrollbar { display: none; }

.league-tab {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
  padding: .38rem .82rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 0 0 var(--border);
  transition: color .13s, background .13s, box-shadow .1s, transform .1s, border-color .1s;
  user-select: none;
}
.league-tab:hover:not(.league-tab--active) {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border-strong);
}
.league-tab:active:not(.league-tab--active) {
  transform: translateY(2px);
  box-shadow: 0 0 0 0 var(--border);
}
.league-tab i { font-size: .7rem; opacity: .7; }
.league-tab--active i { opacity: 1; }

.league-tab--active {
  background: var(--primary);
  color: #001a0d;
  font-weight: 700;
  border-color: rgba(0,0,0,.2);
  border-top-color: rgba(0,0,0,.28);
  border-bottom-color: rgba(0,0,0,.08);
  /* Efeito afundado / pressed */
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,.3),
    inset 0 1px 0 rgba(0,0,0,.15);
  transform: translateY(1px);
}

.league-tab__count {
  font-size: .62rem;
  font-weight: 800;
  padding: .05rem .28rem;
  border-radius: 6px;
  background: rgba(0,0,0,.18);
  color: inherit;
  line-height: 1.5;
  min-width: 16px;
  text-align: center;
}
.league-tab:not(.league-tab--active) .league-tab__count {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.12);
}
.theme-light .league-tab:not(.league-tab--active) .league-tab__count {
  background: rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.1);
  color: var(--text);
}

/* ═══════════════════════════════════════════════════════════════
   §43. DEPOSIT MODAL
   ═══════════════════════════════════════════════════════════════ */
.deposit-modal { padding: 1.75rem 1.5rem 1.5rem; }
.deposit-modal__header { text-align: center; margin-bottom: 1.25rem; }
.deposit-modal__icon { font-size: 2rem; color: var(--primary); display: block; margin-bottom: .5rem; }
.deposit-modal__title { font-size: 1.2rem; font-weight: 700; margin: 0 0 .25rem; }
.deposit-modal__sub { font-size: .78rem; color: var(--text-muted); margin: 0; }
.deposit-modal__body { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 1.25rem; }
.deposit-modal__label { font-size: .8rem; font-weight: 600; color: var(--text-muted); }
.deposit-modal__input-wrap {
  display: flex; align-items: center;
  background: var(--surface-3); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s;
}
.deposit-modal__input-wrap:focus-within { border-color: var(--primary); }
.deposit-modal__currency {
  padding: 0 .75rem; font-size: .85rem; color: var(--text-muted);
  background: rgba(255,255,255,.04); border-right: 1px solid var(--border);
  white-space: nowrap; align-self: stretch; display: flex; align-items: center;
}
.deposit-modal__input {
  flex: 1; padding: .75rem; border: none; background: transparent;
  color: var(--text); font-size: 1rem; outline: none;
  -moz-appearance: textfield;
}
.deposit-modal__input::-webkit-outer-spin-button,
.deposit-modal__input::-webkit-inner-spin-button { -webkit-appearance: none; }
.deposit-modal__quick {
  display: flex; flex-wrap: wrap; gap: .4rem;
}
.dq-btn {
  flex: 1 1 auto; padding: .4rem .6rem; border-radius: 6px; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface-3);
  color: var(--text-muted); font-size: .78rem; font-weight: 600;
  transition: background .15s, border-color .15s, color .15s;
}
.dq-btn:hover, .dq-btn.dq-btn--active {
  border-color: var(--primary); color: var(--primary);
  background: rgba(89,255,21,.08);
}

/* ═══════════════════════════════════════════════════════════════
   §44. SWEETALERT2 — dark theme + positioning fix
   ═══════════════════════════════════════════════════════════════ */
.swal2-container {
  z-index: 99999 !important;
  /* Garante que cobre a tela inteira mesmo com overflow-x:hidden no body */
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
.swal2-popup {
  background: var(--surface-2, #1c1e33) !important;
  color: var(--text, #e2e8f0) !important;
  border: 1px solid var(--border, rgba(255,255,255,.1)) !important;
  border-radius: var(--radius-lg, 14px) !important;
  max-width: calc(100vw - 2rem) !important;
}
.swal2-title {
  color: var(--text, #e2e8f0) !important;
  font-size: 1.1rem !important;
}
.swal2-html-container {
  color: var(--text-muted, #94a3b8) !important;
}
.swal2-input,
.swal2-textarea {
  background: var(--surface-3, #252740) !important;
  color: var(--text, #e2e8f0) !important;
  border-color: var(--border, rgba(255,255,255,.12)) !important;
  border-radius: var(--radius, 8px) !important;
  box-shadow: none !important;
  font-size: 1rem !important;
}
.swal2-input:focus,
.swal2-textarea:focus {
  border-color: var(--primary, var(--primary)) !important;
  box-shadow: 0 0 0 3px var(--primary-glow, rgba(89,255,21,.2)) !important;
}
.swal2-input-label {
  color: var(--text-muted, #94a3b8) !important;
  font-size: .83rem !important;
}
.swal2-validation-message {
  background: transparent !important;
  color: var(--danger, #e74c3c) !important;
  border: none !important;
  font-size: .82rem !important;
}
.swal2-icon { border-color: var(--border, rgba(255,255,255,.15)) !important; }
.swal2-icon.swal2-warning { color: #f39c12 !important; border-color: #f39c12 !important; }
.swal2-icon.swal2-error   { color: var(--danger, #e74c3c) !important; border-color: var(--danger, #e74c3c) !important; }
.swal2-icon.swal2-success  { color: var(--primary, var(--primary)) !important; border-color: var(--primary, var(--primary)) !important; }
.swal2-icon.swal2-success .swal2-success-ring { border-color: var(--primary-glow, rgba(89,255,21,.3)) !important; }
.swal2-icon.swal2-success [class^=swal2-success-line] { background: var(--primary, var(--primary)) !important; }
.swal2-close { color: var(--text-muted, #94a3b8) !important; }
.swal2-close:hover { color: var(--text, #e2e8f0) !important; }

/* ════════════════════════════════════════════════════════════
   §MIGRATIONS — admin tab
   ════════════════════════════════════════════════════════════ */
.migration-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background .12s;
}
.migration-row:last-child { border-bottom: none; }
.migration-row:hover { background: var(--surface-2); }
.migration-row__num {
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-muted);
  width: 1.8rem;
  flex-shrink: 0;
}
.migration-row__file {
  flex: 1;
  font-size: .85rem;
  font-family: 'Courier New', monospace;
  color: var(--text);
  word-break: break-all;
}
.migration-row__status { flex-shrink: 0; }
.migration-row__action { flex-shrink: 0; }
.migration-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 700;
  padding: .22rem .6rem;
  border-radius: 20px;
}
.migration-badge--ok {
  background: rgba(89,255,21,.12);
  color: var(--primary);
  border: 1px solid rgba(89,255,21,.25);
}
.migration-badge--pending {
  background: rgba(255,152,0,.12);
  color: #FF9800;
  border: 1px solid rgba(255,152,0,.3);
}
@media (max-width: 600px) {
  .migration-row { flex-wrap: wrap; gap: .5rem; }
  .migration-row__file { width: 100%; order: 2; }
  .migration-row__num  { order: 1; }
  .migration-row__status { order: 3; }
  .migration-row__action { order: 4; margin-left: auto; }
}

/* ════════════════════════════════════════════════════════════
   §REFERRAL BANNER — banner inline na home
   ════════════════════════════════════════════════════════════ */
.referral-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.1rem 1.4rem;
  background: linear-gradient(135deg, rgba(255,152,0,.1) 0%, rgba(255,193,7,.06) 100%);
  border: 1px solid rgba(255,152,0,.3);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.referral-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at left center, rgba(255,152,0,.08) 0%, transparent 65%);
  pointer-events: none;
}
.referral-banner__icon {
  font-size: 2rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(255,152,0,.5));
}
.referral-banner__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.referral-banner__text strong {
  font-size: .95rem;
  font-weight: 700;
  color: #FFC107;
  line-height: 1.2;
}
.referral-banner__text span {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.3;
}
.btn--referral-banner {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem 1.1rem;
  background: #FF9800;
  color: #000;
  font-size: .82rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn--referral-banner:hover {
  background: #FFC107;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,152,0,.35);
}
.btn--referral-banner:active { transform: scale(.97); }
@media (max-width: 600px) {
  .referral-banner {
    flex-wrap: wrap;
    gap: .75rem;
  }
  .btn--referral-banner { width: 100%; justify-content: center; }
}
.theme-light .referral-banner {
  background: linear-gradient(135deg, rgba(255,152,0,.12) 0%, rgba(255,193,7,.07) 100%);
  border-color: rgba(200,100,0,.25);
}
.theme-light .referral-banner__text strong { color: #b45309; }
.theme-light .btn--referral-banner { background: #ea580c; color: #fff; }
.theme-light .btn--referral-banner:hover { background: #c2410c; box-shadow: 0 4px 16px rgba(234,88,12,.3); }

/* ════════════════════════════════════════════════════════════
   §ONLINE CARD — painel de visitantes em tempo real
   ════════════════════════════════════════════════════════════ */
.ol-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .75rem 1rem .75rem .85rem;
  margin-bottom: .45rem;
  display: flex; align-items: flex-start; gap: .75rem;
  transition: border-color .15s;
}
.ol-card:hover { border-color: var(--border-strong); }

/* Avatar col */
.ol-card__left { flex-shrink: 0; padding-top: .1rem; }
.ol-card__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; color: #fff;
  position: relative;
}
.ol-card__dot {
  position: absolute; bottom: -1px; right: -1px;
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--surface-2);
}
.ol-card__dot--active  { background: #00c853; box-shadow: 0 0 5px #00c853; animation: dot-pulse 1.5s ease-in-out infinite; }
.ol-card__dot--idle    { background: #ff9800; }
.ol-card__dot--leaving { background: #f44336; }

/* Body col — cresce */
.ol-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .28rem; }

/* Rows genéricos */
.ol-card__row { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; }

/* Linha 1 — identidade */
.ol-card__row--head { gap: .4rem; }
.ol-card__name   { font-size: .88rem; font-weight: 700; }
.ol-card__email  { font-size: .71rem; color: var(--text-muted); }
.ol-card__src    { font-size: .71rem; color: var(--text-muted);
                   display: inline-flex; align-items: center; gap: .18rem; }
.ol-card__device { font-size: .82rem; opacity: .45; }

/* Linha 2 — tech */
.ol-card__row--tech { gap: .3rem; }
.ol-card__tech {
  display: inline-flex; align-items: center; gap: .22rem;
  font-size: .7rem; color: var(--text-muted);
  background: var(--surface-3); border-radius: 4px;
  padding: .12rem .42rem; white-space: nowrap;
}
.ol-card__pill {
  display: inline-flex; align-items: center; gap: .2rem;
  font-size: .68rem; color: var(--text-muted);
  opacity: .7;
}

/* Linha 3 — geo */
.ol-card__geo {
  display: flex; align-items: center; gap: .3rem;
  font-size: .73rem; color: var(--text-muted);
  min-width: 0;
}
.ol-card__breadcrumb {
  display: flex; align-items: center; gap: .18rem;
  font-size: .73rem; flex-wrap: nowrap;
}
.ol-card__page-cur   { font-size: .73rem; color: var(--text-muted); }
.ol-card__crumb--prev { color: var(--text-muted); font-size: .71rem; }
.ol-card__crumb--cur  { color: var(--text); font-weight: 600; font-size: .73rem; }
.ol-card__crumb-sep   { font-size: .5rem; opacity: .35; }

/* Linha 4 — origin / referrer / UTM */
.ol-card__row--origin { gap: .5rem; flex-wrap: wrap; }
.ol-card__ref {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .71rem;
}
.ol-card__ref a { color: var(--primary); text-decoration: none; word-break: break-all; }
.ol-card__ref a:hover { text-decoration: underline; }
.ol-card__utm {
  font-size: .69rem;
  background: rgba(255,152,0,.1); border: 1px solid rgba(255,152,0,.22);
  color: #ff9800; border-radius: 4px; padding: .12rem .45rem;
  display: inline-flex; align-items: center; gap: .25rem;
}

/* Eventos recentes */
.ol-card__events {
  border-top: 1px solid var(--border);
  padding-top: .42rem; margin-top: .1rem;
}
.ol-card__events-title {
  font-size: .66rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-muted); margin-bottom: .3rem;
  display: flex; align-items: center; gap: .28rem;
}
.ol-card__evt {
  display: flex; align-items: baseline; gap: .38rem;
  font-size: .73rem; padding: .1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.ol-card__evt:last-child { border-bottom: none; }
.ol-card__evt-icon  { opacity: .4; font-size: .68rem; width: 11px; text-align: center; flex-shrink: 0; }
.ol-card__evt-label { flex: 1; color: var(--text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ol-card__evt-ago   { color: var(--text-muted); font-size: .68rem; flex-shrink: 0; }

/* Times col */
.ol-card__times {
  display: flex; flex-direction: column; align-items: flex-end;
  flex-shrink: 0; gap: .08rem; padding-top: .1rem; min-width: 92px;
}
.ol-card__ago { font-size: .8rem; font-weight: 600; white-space: nowrap; }
.ol-card__dur { font-size: .68rem; color: var(--text-muted); white-space: nowrap; }
.ol-card__times .ol-card__page-wrap { margin-top: .3rem; text-align: right; }
.ol-card__page-cur {
  font-size: .71rem; color: var(--text-muted);
  display: inline-flex; align-items: center; gap: .22rem; white-space: nowrap;
}

@media (max-width: 640px) {
  .ol-card__times { min-width: 72px; }
}

/* ════════════════════════════════════════════════════════════
   §NEXT GAME BAR — barra de urgência abaixo do header
   ════════════════════════════════════════════════════════════ */
@keyframes ngb-border-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(255,152,0,.2), 0 0 0 1px rgba(255,152,0,.1), inset 0 1px 0 rgba(255,152,0,.06); }
     50%    { box-shadow: 0 0 28px rgba(255,152,0,.55), 0 0 0 1px rgba(255,152,0,.28), inset 0 1px 0 rgba(255,152,0,.1); }
}
@keyframes ngb-cd-glow {
  from { text-shadow: 0 0 6px rgba(255,200,0,.65), 0 0 14px rgba(255,152,0,.35); }
  to   { text-shadow: 0 0 14px rgba(255,220,0,.98), 0 0 28px rgba(255,152,0,.65), 0 0 48px rgba(255,100,0,.25); }
}
@keyframes ngb-btn-aura {
  0%, 100% { box-shadow: 0 0 10px rgba(255,152,0,.45), 0 3px 0 0 #966000, inset 0 1px 0 rgba(255,255,255,.22); }
     50%    { box-shadow: 0 0 26px rgba(255,152,0,.85), 0 3px 0 0 #966000, inset 0 1px 0 rgba(255,255,255,.22), 0 0 48px rgba(255,100,0,.28); }
}

#nextGameBar { order: 0; }
#nextGameBar.hidden { display: none !important; }

.ngb {
  background: linear-gradient(135deg, #0e0c06 0%, #15120a 60%, #1a0f04 100%);
  border: 1px solid rgba(255,152,0,.38);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: .52rem .85rem .52rem .7rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-top: .35rem;
  overflow: hidden;
  animation: ngb-border-pulse 2.8s ease-in-out infinite;
  margin-top: 20px;
}
.ngb__dot {
  width: 9px; height: 9px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold), 0 0 14px rgba(255,200,0,.5);
  animation: dot-pulse 1.2s ease-in-out infinite;
}
.ngb__info {
  display: flex; flex-direction: column; gap: .06rem;
  flex: 1; min-width: 0;
}
.ngb__label {
  font-size: .56rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 0 8px rgba(255,200,0,.55);
  white-space: nowrap;
}
.ngb__teams {
  font-family: 'Barlow Condensed', var(--font-base);
  font-size: .92rem; font-weight: 700; text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,.25);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ngb__timer {
  display: flex; flex-direction: column; gap: .04rem;
  flex-shrink: 0; text-align: center;
}
.ngb__timer-label {
  font-size: .56rem; color: rgba(255,255,255,.38);
  text-transform: uppercase; letter-spacing: .06em;
  white-space: nowrap;
}
.ngb__timer-cd {
  display: inline-flex; align-items: center; gap: 2px;
  white-space: nowrap;
}
/* célula de dígito — painel de placar */
.ngb__timer-cd b {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 1.05rem; height: 1.45rem;
  font-family: 'Oswald', 'Barlow Condensed', monospace;
  font-size: .95rem; font-weight: 400; font-style: normal;
  font-variant-numeric: tabular-nums;
  color: #ff6d00;
  background: #100400;
  border: 1px solid rgba(255,109,0,.25);
  border-radius: 3px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.7), 0 0 4px rgba(255,109,0,.22);
  text-shadow: 0 0 6px rgba(255,109,0,.9), 0 0 2px rgba(255,140,0,.6);
  line-height: 1;
}
/* separador ":" */
.ngb__timer-cd i {
  font-style: normal; font-size: .9rem; font-weight: 900;
  color: rgba(255,109,0,.7);
  margin: 0 1px;
  line-height: 1;
  animation: ngb-colon-blink .9s step-end infinite;
  align-self: center;
}
@keyframes ngb-colon-blink {
  0%, 49% { opacity: 1; }
  50%,100% { opacity: .15; }
}
.ngb__btn {
  background: var(--gold); color: #1a0500;
  border: none; border-radius: 8px;
  padding: .42rem .88rem; font-size: .78rem; font-weight: 800;
  cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; gap: .3rem;
  animation: ngb-btn-aura 2.2s ease-in-out infinite;
  transition: transform .12s cubic-bezier(.34,1.56,.64,1);
}
.ngb__btn:hover {
  transform: translateY(-2px);
}
.ngb__btn:active {
  transform: translateY(3px);
  animation: none;
  box-shadow: 0 0 0 0 #966000;
}

/* ════════════════════════════════════════════════════════════
   §EMAIL CAPTURE MODAL — retenção step 2
   ════════════════════════════════════════════════════════════ */
.mlc-overlay {
  position: fixed; inset: 0; z-index: 3200;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
}
.mlc-overlay.hidden { display: none; }
.mlc-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem 1.25rem 0 0;
  padding: 2rem 1.5rem 2.5rem;
  width: 100%; max-width: 480px;
  text-align: center;
  transform: translateY(100%);
  transition: transform .32s cubic-bezier(.22,1,.36,1);
}
.mlc--in .mlc-card { transform: translateY(0); }
.mlc-close {
  position: absolute; top: .9rem; right: 1rem;
  background: none; border: none; font-size: 1.4rem;
  color: var(--text-muted); cursor: pointer; line-height: 1;
}
.mlc-icon  { font-size: 2.4rem; margin-bottom: .6rem; }
.mlc-title { font-size: 1.2rem; font-weight: 800; margin: 0 0 .4rem; }
.mlc-sub   { font-size: .9rem; color: var(--text-muted); margin: 0 0 1.2rem; }
.mlc-form  { display: flex; flex-direction: column; gap: .65rem; }
.mlc-input {
  width: 100%; padding: .75rem 1rem; border-radius: .6rem;
  border: 1.5px solid var(--border); background: var(--surface-2);
  color: var(--text); font-size: 1rem; outline: none;
  box-sizing: border-box;
}
.mlc-input:focus { border-color: var(--primary); }
.mlc-btn {
  padding: .8rem 1rem; border-radius: .6rem; border: none;
  background: var(--primary); color: #001a0d;
  font-size: 1rem; font-weight: 800; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: .4rem;
}
.mlc-btn:disabled { opacity: .6; cursor: default; }
.mlc-success { padding: 1rem 0; }
.mlc-success__icon { font-size: 2.5rem; }
.mlc-success__msg  { margin: .5rem 0 0; font-size: .95rem; }
.mlc-google  { width: 100%; display: flex; justify-content: center; margin-bottom: .1rem; }
.mlc-divider {
  display: flex; align-items: center; gap: .6rem;
  color: var(--text-muted); font-size: .8rem; margin: .5rem 0;
}
.mlc-divider::before,
.mlc-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.mlc-privacy { font-size: .75rem; color: var(--text-muted); margin: .8rem 0 0; }

/* ════════════════════════════════════════════════════════════
   §WELCOME BONUS MODAL — pós magic link
   ════════════════════════════════════════════════════════════ */
.wb-overlay {
  position: fixed; inset: 0; z-index: 3300;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(6px);
}
.wb-overlay.hidden { display: none; }
.wb-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  width: 100%; max-width: 400px;
  text-align: center;
  transform: scale(.85); opacity: 0;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .3s ease;
}
.wb--in .wb-card { transform: scale(1); opacity: 1; }
.wb-icon   { font-size: 3rem; margin-bottom: .5rem; }
.wb-title  { font-size: 1.5rem; font-weight: 900; margin: 0 0 .3rem; }
.wb-sub    { color: var(--text-muted); font-size: .9rem; margin: 0 0 .8rem; }
.wb-amount {
  font-size: 2.4rem; font-weight: 900;
  color: var(--primary); text-shadow: 0 0 20px var(--primary-glow);
  margin-bottom: 1.2rem;
}
.wb-cta-label { font-size: .82rem; color: var(--text-muted); margin: 0 0 .6rem; font-weight: 600; }
.wb-games { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.wb-game {
  display: flex; align-items: center; justify-content: space-between;
  gap: .5rem; background: var(--surface-2); border-radius: .5rem;
  padding: .5rem .75rem; cursor: pointer; border: 1px solid var(--border);
  transition: border-color .15s;
}
.wb-game:hover { border-color: var(--primary); }
.wb-game__teams { font-size: .82rem; font-weight: 600; display: flex; align-items: center; gap: .3rem; }
.wb-btn {
  width: 100%; padding: .8rem 1rem; border-radius: .6rem; border: none;
  background: var(--primary); color: #001a0d;
  font-size: 1rem; font-weight: 800; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
}

/* ════════════════════════════════════════════════════════════
   §EXIT INTENT MODAL — gatilho de saída
   ════════════════════════════════════════════════════════════ */
.exit-modal {
  position: fixed; inset: 0; z-index: 3100;
  display: flex; align-items: flex-end; justify-content: center;
}
.exit-modal.hidden { display: none; }

.exit-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.exit-modal__card {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, #0d1a30 0%, #060d1a 100%);
  border: 1px solid rgba(255,215,0,.15);
  border-radius: 24px 24px 0 0;
  padding: .6rem 1.5rem 2rem;
  width: min(480px, 100vw);
  text-align: center;
  box-shadow: 0 -8px 40px rgba(0,0,0,.6), 0 0 60px rgba(255,215,0,.06);
  transform: translateY(100%);
  opacity: 0;
  transition: transform .38s cubic-bezier(.32,1,.42,1), opacity .25s ease;
}
.exit-modal--in .exit-modal__card {
  transform: translateY(0);
  opacity: 1;
}

/* Handle de arrastar (visual) */
.exit-modal__card::before {
  content: ''; display: block;
  width: 40px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.18);
  margin: 0 auto .9rem;
}

.exit-modal__x {
  position: absolute; top: .85rem; right: .85rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.4); border-radius: 8px;
  width: 28px; height: 28px; font-size: .78rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .15s, color .15s;
}
.exit-modal__x:hover { color: #fff; background: rgba(255,255,255,.14); }

/* Badge topo */
.exit-modal__badge {
  display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(89,255,21,.1); border: 1px solid rgba(89,255,21,.2);
  border-radius: 20px; padding: .22rem .8rem;
  font-size: .62rem; font-weight: 800; letter-spacing: .1em;
  color: var(--primary); text-transform: uppercase;
  margin-bottom: .85rem;
}

/* Ícone troféu */
.exit-modal__icon {
  font-size: 2.6rem; color: #FFD700; display: block; line-height: 1;
  margin-bottom: .55rem;
  filter: drop-shadow(0 0 18px rgba(255,215,0,.65));
  animation: eim-trophy .8s cubic-bezier(.34,1.56,.64,1) .15s both;
}
@keyframes eim-trophy {
  from { transform: scale(0) rotate(-18deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* Headline */
.exit-modal__headline {
  font-family: 'Barlow Condensed', var(--font-base);
  font-size: 1.75rem; font-weight: 900; text-transform: uppercase;
  color: #fff; letter-spacing: .01em; line-height: 1.1;
  margin-bottom: .3rem;
}
.exit-modal__headline span { color: #FFD700; }

/* Sub */
.exit-modal__sub {
  font-size: .82rem; color: rgba(255,255,255,.42);
  line-height: 1.5; margin-bottom: 1.1rem;
}

/* Offer box */
.exit-modal__offer {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,215,0,.14);
  border-radius: 14px;
  padding: .95rem 1.1rem .75rem;
  margin-bottom: .8rem;
}
.exit-modal__offer-label {
  font-size: .72rem; color: rgba(255,255,255,.38); margin: 0 0 .18rem;
}
.exit-modal__offer-price {
  font-family: 'Barlow Condensed', var(--font-base);
  font-size: 1.75rem; font-weight: 900; color: #fff;
  margin: 0 0 .12rem; letter-spacing: .01em;
}
.exit-modal__offer-sep {
  font-size: .7rem; color: rgba(255,255,255,.3); margin: .18rem 0;
}
.exit-modal__prize {
  font-family: 'Barlow Condensed', var(--font-base);
  font-size: 3rem; font-weight: 900; color: #FFD700;
  letter-spacing: -.02em; line-height: 1; margin: 0;
  text-shadow: 0 0 28px rgba(255,215,0,.65), 0 0 55px rgba(255,215,0,.25);
  animation: eim-prize-glow 2.4s ease-in-out infinite;
}
@keyframes eim-prize-glow {
  0%, 100% { text-shadow: 0 0 20px rgba(255,215,0,.5), 0 0 40px rgba(255,215,0,.2); }
  50%       { text-shadow: 0 0 45px rgba(255,215,0,.9), 0 0 90px rgba(255,215,0,.4); }
}

/* Social proof */
.exit-modal__social {
  display: flex; align-items: center; justify-content: center;
  gap: .35rem; font-size: .73rem; color: rgba(255,255,255,.38);
  margin-bottom: .65rem;
}
.exit-modal__social-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: #00c853; box-shadow: 0 0 6px #00c853;
  animation: dot-pulse 1.5s ease-in-out infinite;
}

/* Timer */
.exit-modal__timer-wrap {
  display: flex; align-items: center; justify-content: center;
  gap: .4rem; margin-bottom: 1.1rem;
  background: rgba(255,112,67,.06);
  border: 1px solid rgba(255,112,67,.14);
  border-radius: 8px; padding: .42rem .85rem;
}
.exit-modal__timer-wrap i { color: rgba(255,112,67,.55); font-size: .72rem; }
.exit-modal__timer-label { font-size: .72rem; color: rgba(255,255,255,.35); }
.exit-modal__timer {
  font-family: 'Barlow Condensed', var(--font-base);
  font-size: 1.25rem; font-weight: 900;
  color: #ff7043; font-variant-numeric: tabular-nums;
  text-shadow: 0 0 12px rgba(255,112,67,.45);
  transition: color .3s;
}
.exit-modal__timer--urgent {
  color: #ff1744;
  text-shadow: 0 0 16px rgba(255,23,68,.65);
  animation: eim-blink .55s ease infinite alternate;
}
@keyframes eim-blink {
  from { opacity: 1; } to { opacity: .5; }
}

/* Exit modal: versão tema claro */
.theme-light .exit-modal__overlay {
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.theme-light .exit-modal__card {
  background: #ffffff;
  border-color: rgba(0,150,60,.15);
  box-shadow: 0 20px 60px rgba(0,0,0,.16), 0 2px 8px rgba(0,0,0,.08);
}
.theme-light .exit-modal__x {
  background: rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.12);
  color: rgba(0,0,0,.4);
}
.theme-light .exit-modal__x:hover { background: rgba(0,0,0,.12); color: #000; }

/* Badge "OFERTA EXCLUSIVA" */
.theme-light .exit-modal__badge {
  background: rgba(0,150,60,.1);
  border-color: rgba(0,150,60,.28);
  color: #006828;
}

/* Headline: texto escuro, destaque em âmbar escuro (legível em branco) */
.theme-light .exit-modal__headline { color: #0b1120; }
.theme-light .exit-modal__headline span { color: #b45309; }

/* Sub */
.theme-light .exit-modal__sub { color: rgba(0,0,0,.52); }

/* Caixa de oferta: fundo levemente acinzentado para o amarelo ter contraste */
.theme-light .exit-modal__offer {
  background: #f5f0e8;
  border-color: rgba(180,83,9,.2);
}
.theme-light .exit-modal__offer-label { color: rgba(0,0,0,.5); }
.theme-light .exit-modal__offer-price { color: #1a1a1a; }
.theme-light .exit-modal__offer-sep   { color: rgba(0,0,0,.35); }

/* Prêmio: âmbar escuro saturado — legível em fundo claro */
.theme-light .exit-modal__prize {
  color: #c27803;
  text-shadow: none;
  animation: none;
}

/* Social proof */
.theme-light .exit-modal__social { color: rgba(0,0,0,.48); }

/* Timer */
.theme-light .exit-modal__timer-wrap {
  background: rgba(255,112,67,.08);
  border-color: rgba(255,112,67,.25);
}
.theme-light .exit-modal__timer-label { color: rgba(0,0,0,.45); }

/* ════════════════════════════════════════════════════════════
   §35. GAME CARDS — MOBILE PREMIUM (≤ 767px)
   Layout inspirado em Betano/bet365: left-border accent,
   Barlow Condensed nos nomes, multiplicador dourado como
   elemento hero, mais jogos visíveis no viewport.
   ════════════════════════════════════════════════════════════ */

/* Odd pill e mob-countdown: ocultos no desktop */
.gc-odd-pill { display: none; }
.gc-mob-countdown { display: none; }

@media (max-width: 767px) {

  /* ─────────────────────────────────────────────────────────
     Grid: uma coluna, lista densa
  ───────────────────────────────────────────────────────── */
  .games-grid {
    grid-template-columns: 1fr;
    gap: .32rem;
  }

  /* ─────────────────────────────────────────────────────────
     Card: grid 2 colunas + borda esquerda de status
  ───────────────────────────────────────────────────────── */
  .game-card {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "head  head"
      "match cta";
    padding: .7rem 1rem .7rem .9rem;
    gap: .2rem .85rem;
    align-items: center;
    /* Troca borda-topo por borda-esquerda (padrão Betano) */
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    background: var(--surface);
    box-shadow: 0 1px 6px rgba(0,0,0,.22);
    flex-direction: unset;
  }
  .game-card:hover { transform: none; box-shadow: 0 2px 10px rgba(0,0,0,.32); }

  /* Gradient por status usando tokens de tema (funciona em light e dark) */
  .game-card--open   { background: linear-gradient(to right, var(--tint-primary) 0%, var(--surface) 45%); }
  .game-card--soon   { background: linear-gradient(to right, var(--tint-gold)    0%, var(--surface) 45%); }
  .game-card--live   { background: linear-gradient(to right, var(--tint-danger)  0%, var(--surface) 45%); }
  .game-card--final  { background: linear-gradient(to right, var(--tint-danger) 0%, var(--surface) 45%); border-left-color: var(--danger); }
  .game-card--closed { background: linear-gradient(to right, rgba(255,51,85,.07) 0%, var(--surface) 40%); border-left-color: rgba(255,51,85,.35); }

  /* Hoje: verde mais intenso + borda verde */
  .game-card--today.game-card--open {
    background: linear-gradient(to right, rgba(89,255,21,.22) 0%, var(--surface) 52%);
    border-left-color: var(--primary);
  }
  /* Amanhã: degradê azul para diferenciar de hoje */
  .games-section--tomorrow .game-card--open {
    background: linear-gradient(to right, var(--tint-info) 0%, var(--surface) 45%);
    border-left-color: var(--info);
  }
  /* Próximos (>7 dias) e dias da semana: âmbar — combina com badge "EM BREVE" */
  .games-section--beyond .game-card--open,
  .games-section--week   .game-card--open {
    background: linear-gradient(to right, var(--tint-gold) 0%, var(--surface) 45%);
    border-left-color: var(--gold);
  }

  /* Live: borda vermelha pulsando (substituí animação do card inteiro) */
  .game-card--live {
    animation: none;
    border-left-color: var(--danger);
    box-shadow: 0 1px 6px rgba(0,0,0,.22), -2px 0 12px rgba(255,51,85,.18);
  }
  .game-card--live:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,.32), -2px 0 18px rgba(255,51,85,.28);
  }

  /* ─────────────────────────────────────────────────────────
     Head: liga (esq) · data (dir) · badge inline
  ───────────────────────────────────────────────────────── */
  .game-card__head {
    grid-area: head;
    gap: .4rem;
  }

  /* Status badges sem contexto (cor da borda já comunica) */
  .game-card__head .badge--open,
  .game-card__head .badge--closed,
  .game-card__head .badge--final,
  .game-card__head .badge--cancelled,
  .game-card__head .badge--far { display: none; }

  /* AO VIVO e ENCERRA: mantém mas compacto */
  .game-card__head .badge--live,
  .game-card__head .badge--soon,
  .game-card__head .badge--closing {
    padding: .13rem .45rem;
    font-size: .58rem;
    letter-spacing: .06em;
  }

  .gc-league {
    font-size: .57rem;
    letter-spacing: .08em;
    text-align: left;
    padding: 0;
    flex: 1;
    color: var(--text-dim);
  }
  .gc-league i { font-size: .52rem; color: var(--text-dim); }
  .game-card__date { font-size: .6rem; color: var(--text-dim); }

  /* ─────────────────────────────────────────────────────────
     Matchup: times empilhados verticalmente
  ───────────────────────────────────────────────────────── */
  .game-card__matchup {
    grid-area: match;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    justify-content: center;
  }

  /* Cada time: bandeira + nome na horizontal */
  .game-card__team {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    gap: .52rem;
    text-align: left;
    width: 100%;
    min-width: 0;
    padding: .28rem 0;
  }

  /* Separador entre os times — usa token de tema para funcionar no light e dark */
  .game-card__matchup > .game-card__team + .game-card__team {
    border-top: 1px solid var(--border);
  }

  /* Emblem: quadrado com flag — compacto mas legível */
  .game-card__emblem {
    width: 42px;
    height: 30px;
    border-radius: 4px;
    border-width: 1px;
    background: transparent;
    flex-shrink: 0;
  }
  .game-card__emblem img {
    width: 42px !important;
    height: 30px !important;
    object-fit: contain;
    border-radius: 3px;
  }
  .game-card__emblem .team-logo            { width: 28px; height: 28px; }
  .game-card__emblem .team-logo--flag      { width: 42px; height: 30px; }
  .game-card__emblem .team-flag-emoji,
  .game-card__emblem .team-flag-fallback   { font-size: 1.22rem; line-height: 1; }

  /* Nome: Barlow Condensed — grande, atlético, uppercase */
  .game-card__name {
    font-family: 'Barlow Condensed', var(--font-base);
    font-size: 1.08rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 195px;
  }

  /* ─────────────────────────────────────────────────────────
     Mid: oculto por padrão; placar visível em live/final
  ───────────────────────────────────────────────────────── */
  .game-card__mid { display: none; }

  .game-card--live  .game-card__mid,
  .game-card--final .game-card__mid {
    display: flex;
    order: 3;
    width: 100%;
    padding: .28rem 0 .08rem;
    justify-content: flex-start;
    align-items: flex-start;
    gap: .4rem;
  }
  .game-card--live  .gc-vs,
  .game-card--final .gc-vs { display: none; }

  /* Placar grande na coluna direita (mobile) */
  .gc-final-cta { display: flex; }
  /* Oculta o placar no mid para não duplicar */
  .game-card--final .game-card__mid { display: none !important; }
  /* Live: caixa TV em linha horizontal */
  .game-card--live .gc-score--live {
    flex-direction: row;
    align-items: center;
    gap: .55rem;
    padding: .4rem .75rem;
    width: fit-content;
    min-width: 0;
  }
  .game-card--live .gc-tv-bar {
    flex-direction: column;
    align-items: center;
    gap: .1rem;
    flex-shrink: 0;
  }
  .game-card--live .gc-tv-bar__period { font-size: .55rem; }
  .game-card--live .gc-tv-bar__clock  { font-size: .68rem; }
  .game-card--live .gc-score__val {
    font-size: 1.35rem;
    white-space: nowrap;
  }

  .game-card--final .gc-score { flex-direction: row; align-items: center; gap: .4rem; }
  .game-card--live  .game-card__foot { align-self: end; }

  .game-card--final .gc-score__label {
    font-size: .62rem; font-weight: 700;
    letter-spacing: .06em; color: var(--text-muted);
  }
  .game-card--final .gc-score__val {
    font-size: 1.15rem; font-weight: 900; letter-spacing: .02em;
  }

  /* ─────────────────────────────────────────────────────────
     Foot (coluna direita): multiplicador dourado + botão
  ───────────────────────────────────────────────────────── */
  .game-card__foot {
    grid-area: cta;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .32rem;
    min-width: 72px;
  }

  /* Multiplicador: número dourado estilo "odd" — Betano vibes */
  .gc-odd-pill {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: .06rem;
    font-family: 'Barlow Condensed', var(--font-base);
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: -.02em;
    line-height: 1;
    text-shadow: 0 0 16px var(--gold-glow);
  }
  .gc-odd-pill small {
    font-size: .65rem;
    font-weight: 700;
    color: var(--gold);
    opacity: .55;
    letter-spacing: 0;
    line-height: 1;
  }

  /* Countdown mobile */
  .gc-mob-countdown {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .1rem;
    margin-bottom: .2rem;
  }
  .gc-mob-countdown .gc-countdown__label {
    font-size: .5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
  }
  .gc-mob-countdown .gc-countdown__time {
    font-size: .68rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: .05em;
    color: #ff6d00;
    background: rgba(255,109,0,.12);
    border: 1px solid rgba(255,109,0,.38);
    border-radius: 4px;
    padding: .15rem .45rem;
    font-family: ui-monospace, 'Courier New', monospace;
    text-shadow: none;
  }

  /* Botão compacto (anula btn--full) */
  .game-card .btn--full { width: auto; }
  .game-card__foot .btn {
    padding: .42rem .75rem;
    font-size: .78rem;
    font-weight: 800;
    border-radius: 7px;
    min-width: 74px;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    letter-spacing: .03em;
  }
  .game-card__foot .btn--bet {
    box-shadow: 0 3px 0 0 var(--primary-dark), inset 0 1px 0 rgba(255,255,255,.22);
  }
  .game-card__foot .btn--bet:active:not(:disabled) {
    transform: translateY(3px);
    box-shadow: 0 0px 0 0 var(--primary-dark);
  }
  .game-card__foot .btn i { font-size: .7rem; margin-right: .22rem; }
  .game-card__foot .btn--ghost {
    font-size: .7rem;
    padding: .38rem .6rem;
  }

  /* Card clicável como um todo — cursor pointer */
  .game-card:not([data-blocked]) { cursor: pointer; }

  /* Cards bloqueados: sem odd pill, botão compacto de status */
  .game-card[data-blocked] .gc-odd-pill { display: none; }
  .game-card[data-blocked] .game-card__foot .btn {
    font-size: .66rem;
    padding: .35rem .5rem;
    min-width: 70px;
    pointer-events: none;
  }

  /* Oculta verbosidade: gc-cta (texto longo) e gc-urgency */
  .gc-cta     { display: none; }
  .gc-urgency { display: none; }

  /* ─────────────────────────────────────────────────────────
     Section headers: mais compactos no mobile
  ───────────────────────────────────────────────────────── */
  .games-section__header {
    padding: .2rem 0 .55rem .85rem;
    margin-bottom: 0;
  }
  .games-section__title {
    font-size: .82rem;
    letter-spacing: .04em;
  }
  .games-section__count {
    font-size: .65rem;
    padding: .12rem .5rem;
  }
  .btn-show-more {
    font-size: .74rem;
    margin-top: .35rem;
    padding: .5rem;
  }
}

/* CTA button */
.exit-modal__cta {
  width: 100%;
  background: var(--primary);
  color: #001a0d; font-weight: 900; font-size: .92rem;
  border: none; border-radius: 10px;
  padding: .95rem 1.2rem;
  cursor: pointer; letter-spacing: .03em; text-transform: uppercase;
  margin-bottom: .75rem;
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  box-shadow: 0 4px 0 0 var(--primary-dark), inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .12s cubic-bezier(.34,1.56,.64,1), box-shadow .12s, filter .12s;
}
.exit-modal__cta:hover {
  filter: brightness(1.08); transform: translateY(-2px);
  box-shadow: 0 6px 0 0 var(--primary-dark), inset 0 1px 0 rgba(255,255,255,.22);
}
.exit-modal__cta:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 0 var(--primary-dark);
}

/* Dismiss link */
.exit-modal__dismiss {
  background: none; border: none;
  font-size: .7rem; color: rgba(255,255,255,.22);
  cursor: pointer; text-decoration: underline;
  text-underline-offset: 3px;
  padding: .25rem; line-height: 1;
  transition: color .15s;
  display: block; width: 100%;
}
.exit-modal__dismiss:hover { color: rgba(255,255,255,.45); }


/* ============================================================
   §BOTTOM NAV — barra de navegação mobile nativa
   ============================================================ */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 80;
  height: 54px;
  overflow: visible;
  background: rgba(13,18,25,.92);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-top: 1px solid rgba(255,255,255,.07);
  box-shadow:
    0 -1px 0 rgba(255,255,255,.04),
    0 -6px 28px rgba(0,0,0,.5),
    0 -2px 20px rgba(89,255,21,.14);
  padding: 0 .5rem;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  align-items: center;
  justify-content: space-around;
}

/* ── Item base ────────────────────────────────── */
.bottom-nav .nav__btn {
  flex: 1;
  height: 54px;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .18rem !important;
  padding: .3rem .2rem .3rem !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(255,255,255,.3) !important;
  font-size: .6rem !important;
  font-weight: 600 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color .18s;
}

/* Pill de destaque atrás do item ativo (estilo iOS/Android nativo) */
.bottom-nav .nav__btn::before,
.bottom-nav .nav__btn::after { display: none !important; }

.bottom-nav .nav__btn i {
  font-size: 1.32rem !important;
  color: inherit;
  display: block;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1);
}

.bottom-nav .nav__btn.nav__btn--active {
  color: var(--primary) !important;
}
.bottom-nav .nav__btn.nav__btn--active i {
  transform: scale(1.15);
}
.bottom-nav .nav__btn:active i { transform: scale(.88); }

/* ── Botão central: elevado acima da barra ────── */
.bottom-nav__cta-item {
  flex: 0 0 68px !important;
  height: 54px !important;
  padding: 0 !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  padding-bottom: 4px !important;
  color: var(--primary) !important;
}
.bottom-nav__cta-ring {
  width: 46px; height: 46px;
  min-width: 46px; min-height: 46px;
  flex-shrink: 0;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: absolute;
  top: -10px;
  left: 50%; transform: translateX(-50%);
  box-shadow:
    0 4px 0 0 var(--primary-dark),
    0 0 0 3px rgba(13,18,25,.92),
    0 6px 20px rgba(89,255,21,.45);
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s;
}
.bottom-nav__cta-ring i { color: #001a0d !important; font-size: 1.15rem !important; }
.bottom-nav__cta-label {
  font-size: .6rem !important;
  font-weight: 600 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 1;
}
.bottom-nav__cta-item:active .bottom-nav__cta-ring {
  transform: translateX(-50%) translateY(3px);
  box-shadow: 0 1px 0 0 var(--primary-dark), 0 0 0 3px rgba(13,18,25,.92), 0 2px 8px rgba(89,255,21,.25);
}
.bottom-nav__cta-item > i { display: none !important; }
.bottom-nav__cta-item::before { display: none !important; }
.bottom-nav__cta-item::after  { display: none !important; }

/* ── Light theme ──────────────────────────────── */
.theme-light .bottom-nav {
  background: rgba(248,250,252,.9);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-top: 1px solid rgba(15,23,42,.09);
  box-shadow:
    0 -1px 0 rgba(15,23,42,.06),
    0 -8px 30px rgba(15,23,42,.18),
    0 -18px 48px rgba(15,23,42,.08);
}
.theme-light .bottom-nav .nav__btn {
  color: rgba(15,23,42,.3) !important;
}
.theme-light .bottom-nav .nav__btn.nav__btn--active {
  color: var(--primary) !important;
}
.theme-light .bottom-nav__cta-ring {
  box-shadow:
    0 4px 0 0 var(--primary-dark),
    0 0 0 3px rgba(248,250,252,1),
    0 6px 18px rgba(89,255,21,.35);
}
.theme-light .bottom-nav__cta-item:active .bottom-nav__cta-ring {
  box-shadow: 0 1px 0 0 var(--primary-dark), 0 0 0 3px rgba(248,250,252,.9), 0 2px 6px rgba(89,255,21,.18);
}

/* ── Exibe no mobile ──────────────────────────── */
@media (max-width: 768px) {
  .bottom-nav { display: flex; }
  .view { padding-bottom: 0rem !important; }
  .site-footer { padding-bottom: env(safe-area-inset-bottom, 0px); }
}


/* ============================================================
   §WINNER TOAST — notificação flutuante de ganhadores
   ============================================================ */
.winner-toast-wrap {
  position: fixed;
  bottom: 80px; left: 1rem;
  z-index: 70;
  display: flex; flex-direction: column; gap: .5rem;
  pointer-events: none;
}
@media (min-width: 769px) {
  .winner-toast-wrap { bottom: 1.5rem; }
}

.winner-toast {
  display: flex; align-items: center; gap: .6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: .6rem .85rem;
  max-width: 260px;
  pointer-events: auto;
  box-shadow: var(--shadow-modal);
  transform: translateX(-120%);
  opacity: 0;
  transition: transform .4s cubic-bezier(.34,1.26,.64,1), opacity .35s ease;
}
.winner-toast--in {
  transform: translateX(0);
  opacity: 1;
}
.winner-toast__icon {
  font-size: 1.2rem; flex-shrink: 0; line-height: 1;
  color: var(--gold);
}
.winner-toast__body { min-width: 0; }
.winner-toast__name {
  font-size: .78rem; font-weight: 700; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.winner-toast__detail {
  font-size: .75rem; color: var(--gold); font-weight: 800;
  margin-top: .04rem;
}
.winner-toast__ago {
  font-size: .63rem; color: var(--text-muted); margin-top: .03rem;
}

/* ══════════════════════════════════════════════════════════════
   CHAT WIDGET DE SUPORTE
   ══════════════════════════════════════════════════════════════ */

.chat-widget { position: fixed; bottom: 5.5rem; right: 1.25rem; z-index: 1200; }
@media (min-width: 768px) { .chat-widget { bottom: 1.5rem; } }
body:has(.modal:not(.hidden)) .chat-widget { display: none; }

.chat-fab {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: #000; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(89,255,21,.35), 0 2px 10px rgba(0,0,0,.6);
  position: relative; transition: transform .2s, box-shadow .2s;
  outline: 2px solid rgba(0,0,0,.18);
}
.chat-fab:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(89,255,21,.5), 0 2px 10px rgba(0,0,0,.6); }
.chat-fab__icon  { font-size: 1.25rem; }
.chat-fab__close { font-size: 1.2rem; display: none; }
.chat-widget--open .chat-fab__icon  { display: none; }
.chat-widget--open .chat-fab__close { display: block; }
.chat-fab__badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; border-radius: 999px;
  background: var(--danger); color: #fff;
  font-size: .65rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px; border: 2px solid var(--bg);
}

.chat-panel {
  position: absolute; bottom: 64px; right: 0;
  width: 320px; max-height: 460px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 8px 40px rgba(0,0,0,.45);
  animation: chatSlideUp .22s ease;
}
@media (max-width: 360px) { .chat-panel { width: calc(100vw - 2rem); } }
@keyframes chatSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chat-panel__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .65rem 1rem;
  background: var(--surface-2); border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.chat-panel__title-wrap { display: flex; flex-direction: column; gap: .1rem; }
.chat-panel__title  { font-size: .85rem; font-weight: 700; display: flex; align-items: center; gap: .4rem; }
.chat-panel__status { font-size: .68rem; color:  var(--primary); display: flex; align-items: center; gap: .3rem; padding-left: .1rem; }
.chat-panel__close  {
  border: none; background: none; cursor: pointer;
  color: var(--text-muted); font-size: 1rem;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s; flex-shrink: 0;
}
.chat-panel__close:hover { background: rgba(255,255,255,.1); color: var(--text); }
.chat-online-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); animation: online-pulse 2s ease-in-out infinite; }
.theme-light .chat-panel__status { font-size: .68rem; color: #333; display: flex; align-items: center; gap: .3rem; padding-left: .1rem; }

.chat-panel__messages {
  flex: 1; overflow-y: auto; padding: .75rem;
  display: flex; flex-direction: column; gap: .5rem;
  scroll-behavior: smooth;
}
.chat-panel__messages::-webkit-scrollbar { width: 4px; }
.chat-panel__messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.chat-msg { display: flex; flex-direction: column; max-width: 85%; }
.chat-msg--system, .chat-msg--admin { align-self: flex-start; flex-direction: row; align-items: flex-end; gap: .45rem; max-width: 88%; }
.chat-msg--user { align-self: flex-end; }
.chat-msg__avatar {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #59ff15 0%, #00c853 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 800; color: #0a1a00;
  box-shadow: 0 2px 8px rgba(89,255,21,.35);
}
.chat-msg__body { display: flex; flex-direction: column; }
.chat-msg__name {
  font-size: .68rem; font-weight: 700;
  color: var(--primary); margin-bottom: .15rem;
  letter-spacing: .02em;
}
.chat-msg__bubble {
  padding: .5rem .7rem; border-radius: 14px;
  font-size: .8rem; line-height: 1.5; word-break: break-word;
}
.chat-msg--system .chat-msg__bubble { background: var(--surface-2); color: var(--text); border-bottom-left-radius: 4px; }
.chat-msg--admin  .chat-msg__bubble {
  background: rgba(89,255,21,.12); color: var(--text);
  border: 1px solid rgba(89,255,21,.2); border-bottom-left-radius: 4px;
}
.chat-msg--user .chat-msg__bubble { background: var(--primary); color: #000; font-weight: 500; border-bottom-right-radius: 4px; }
.chat-msg__bubble strong { font-weight: 700; }
.chat-msg__time { font-size: .6rem; color: var(--text-muted); margin-top: .2rem; padding: 0 .2rem; }
.chat-msg--user .chat-msg__time { text-align: right; }
.chat-msg__sender { font-size: .65rem; font-weight: 600; color: var(--primary); margin-bottom: .1rem; }

.chat-panel__footer {
  display: flex; align-items: flex-end; gap: .4rem;
  padding: .6rem .75rem; border-top: 1px solid var(--border);
  background: var(--surface); flex-shrink: 0;
}
.chat-panel__input {
  flex: 1; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text);
  padding: .45rem .65rem; font-size: .82rem; resize: none;
  font-family: inherit; line-height: 1.4; max-height: 80px; outline: none;
}
.chat-panel__input:focus { border-color: var(--primary); }
.chat-panel__send {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: #000; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; transition: transform .15s; flex-shrink: 0;
}
.chat-panel__send:hover { transform: scale(1.1); }

.theme-light .chat-panel { background: #fff; border-color: #e2e8f0; box-shadow: 0 8px 40px rgba(0,0,0,.15); }
.theme-light .chat-panel__header { background: #f8fafc; border-color: #e2e8f0; }
.theme-light .chat-panel__footer { background: #fff; border-color: #e2e8f0; }
.theme-light .chat-msg--system .chat-msg__bubble { background: #f1f5f9; color: #1e293b; }
.theme-light .chat-panel__input { background: #f1f5f9; border-color: #cbd5e1; color: #1e293b; }

/* ── Admin suporte sub-tabs ─────────────────────────────────── */
.suporte-tabs { display: flex; gap: .5rem; margin-bottom: 1rem; border-bottom: 1px solid var(--border); padding-bottom: .5rem; }
.suporte-tab {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem .85rem; border-radius: var(--radius-sm);
  font-size: .82rem; font-weight: 600; cursor: pointer;
  background: transparent; border: none; color: var(--text-muted); transition: background .15s, color .15s;
}
.suporte-tab:hover { background: var(--surface-2); color: var(--text); }
.suporte-tab--active { background: var(--surface-2); color: var(--text); }

/* ── Admin chat conversation list ───────────────────────────── */
.chat-conv-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1rem; cursor: pointer; border-bottom: 1px solid var(--border); transition: background .12s;
}
.chat-conv-item:hover, .chat-conv-item--active { background: var(--surface-2); }
.chat-conv-item__avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #000;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; flex-shrink: 0;
}
.chat-conv-item__info { flex: 1; min-width: 0; }
.chat-conv-item__name { font-size: .85rem; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-conv-item__preview { font-size: .72rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: .1rem; }
.chat-conv-item__meta { display: flex; flex-direction: column; align-items: flex-end; gap: .2rem; flex-shrink: 0; }
.chat-conv-item__time { font-size: .62rem; color: var(--text-muted); }
.chat-conv-item__unread {
  min-width: 18px; height: 18px; border-radius: 999px; background: var(--danger); color: #fff;
  font-size: .62rem; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.chat-conv-delete {
  display: none; border: none; background: none; cursor: pointer;
  color: var(--text-muted); font-size: .7rem; padding: 2px 4px; border-radius: 4px;
  transition: color .15s, background .15s;
}
.chat-conv-delete:hover { color: var(--danger); background: rgba(220,38,38,.12); }
.chat-conv-item:hover .chat-conv-delete { display: flex; }

.admin-visitor-info {
  margin-top: .3rem; font-size: .65rem; color: var(--text-muted);
  display: flex; flex-wrap: wrap; gap: .2rem .1rem; align-items: center;
}
.admin-visitor-info span { white-space: nowrap; }

/* Botão magic link dentro do chat */
.chat-magic-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--primary); color: #000;
  font-weight: 700; font-size: .8rem;
  padding: .45rem .9rem; border-radius: 20px;
  text-decoration: none; margin-top: .25rem;
  transition: filter .15s;
}
.chat-magic-btn:hover { filter: brightness(1.1); }

/* Mensagem enviada pelo admin no painel admin → lado direito */
.chat-msg--admin-sent { align-self: flex-end; display: flex; flex-direction: column; max-width: 75%; }
.chat-msg--admin-sent .chat-msg__bubble { background: var(--primary); color: #000; font-weight: 500; border-radius: 14px; border-bottom-right-radius: 4px; padding: .5rem .7rem; font-size: .85rem; line-height: 1.5; word-break: break-word; }
.chat-msg--admin-sent .chat-msg__time { font-size: .6rem; color: var(--text-muted); margin-top: .2rem; text-align: right; padding: 0 .2rem; }

/* Quick-reply buttons do bot */
.chat-quick-replies {
  display: flex; flex-wrap: wrap; gap: .4rem;
  padding: .3rem .3rem .3rem 2.4rem; /* alinha com as bolhas do bot */
}
.chat-qr-btn {
  background: transparent; border: 1px solid var(--primary);
  color: var(--primary); border-radius: 20px;
  padding: .32rem .85rem; font-size: .75rem; font-weight: 600;
  cursor: pointer; transition: background .15s, color .15s;
  white-space: nowrap;
}
.chat-qr-btn:hover { background: var(--primary); color: #000; }
.theme-light .chat-qr-btn { border-color: #16a34a; color: #16a34a; }
.theme-light .chat-qr-btn:hover { background: #16a34a; color: #fff; }

/* Typing indicator do bot */
.chat-typing-dots { display: flex; align-items: center; gap: 2px; min-width: 48px; }
.chat-typing-dots span {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; opacity: .4;
  animation: chatDot .9s infinite ease-in-out;
}
.chat-typing-dots span:nth-child(2) { animation-delay: .15s; }
.chat-typing-dots span:nth-child(3) { animation-delay: .30s; }
@keyframes chatDot { 0%,80%,100% { opacity:.2; transform:scale(.8); } 40% { opacity:1; transform:scale(1.2); } }
