/* ═══════════════════════════════════════════════════
   OddRadar.ai — Futebol & Copa do Mundo 2026
   Premium Dark Mobile UI — v5 Silicon Valley Edition
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  /* ── Paleta refinada ─────────────────────────────── */
  --bg:       #080c10;
  --bg2:      #0b1017;
  --card:     #0f1520;
  --card2:    #131c28;
  --border:   rgba(255,255,255,0.07);
  --border2:  rgba(255,255,255,0.12);

  --green:    #00e676;
  --green2:   #00c462;
  --green-dim: rgba(0,230,118,0.12);
  --cyan:     #18cfee;
  --cyan-dim: rgba(24,207,238,0.12);
  --yellow:   #f5c518;
  --yellow-dim: rgba(245,197,24,0.12);
  --red:      #ff4b6e;
  --red-dim:  rgba(255,75,110,0.12);
  --orange:   #ff8c42;
  --purple:   #9b8afb;
  --purple-dim: rgba(155,138,251,0.12);

  --text:     #eef2f7;
  --text2:    #a0aec0;
  --muted:    #4a6070;
  --muted2:   #2d4050;

  /* ── Tipografia premium ──────────────────────────── */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;

  /* ── Layout ──────────────────────────────────────── */
  --nav-h:    60px;
  --top-h:    56px;
  --radius-sm: 10px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
}

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

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::-webkit-scrollbar { width:0; height:0; }

/* ── APP SHELL ────────────────────────────────────── */
#app {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* ── TOPBAR ───────────────────────────────────────── */
.topbar {
  height: var(--top-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: rgba(8,12,16,0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  flex-shrink: 0;
  z-index: 50;
}

.topbar-logo { display: flex; align-items: center; gap: 9px; }

.logo-icon {
  width: 30px; height: 30px;
  background: var(--green);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}

.logo-icon svg { display: block; }

.logo-text {
  font-size: 17px; font-weight: 800; color: #fff;
  letter-spacing: -0.6px;
  font-feature-settings: 'cv01','cv03','cv04';
}
.logo-dot { color: var(--green); }

.copa-badge {
  background: rgba(245,197,24,0.1);
  color: var(--yellow);
  border: 1px solid rgba(245,197,24,0.25);
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.4px;
  white-space: nowrap;
  display: flex; align-items: center; gap: 4px;
}

.topbar-right { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  position: relative;
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  color: var(--text2);
  font-size: 14px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}
.icon-btn:active { background: rgba(255,255,255,0.08); }

.notif-dot {
  position: absolute; top: 7px; right: 7px;
  width: 6px; height: 6px;
  background: var(--green); border-radius: 50%;
  border: 1.5px solid var(--bg);
}

@keyframes pulse-dot {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

.avatar-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,230,118,0.4);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s;
  flex-shrink: 0;
}
.avatar-btn:active { border-color: var(--green); }

.avatar-wrap {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,230,118,0.4);
  overflow: hidden; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

.avatar-placeholder { font-size: 16px; }

/* ── PAGES ────────────────────────────────────────── */
.pages { flex: 1; overflow: hidden; position: relative; }

.page {
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
  transform: translateX(20px);
  transition: all 0.25s ease;
}

.page.active { opacity: 1; pointer-events: all; transform: translateX(0); }

.scroll-area {
  height: 100%;
  overflow-y: auto;
  padding: 16px 16px calc(var(--nav-h) + 16px + env(safe-area-inset-bottom, 0px));
}

/* ── WELCOME ──────────────────────────────────────── */
.welcome-row { margin-bottom: 14px; }

.welcome-sub { font-size: 18px; font-weight: 700; color: #fff; line-height: 1.3; }

.green-glow {
  color: var(--green);
  color: var(--green);
}

.welcome-hint {
  font-size: 12px; color: var(--muted); margin-top: 3px;
  display: flex; align-items: center; gap: 6px;
}

.pulse-dot {
  width: 7px; height: 7px;
  background: var(--green); border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

/* ── HERO CARD ────────────────────────────────────── */
.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(0,230,118,0.3) 50%, transparent 90%);
}

.copa-hero { border-color: rgba(0,230,118,0.15); }

.hero-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 85% 30%, rgba(0,230,118,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.5px; color: var(--text2);
  text-transform: uppercase; margin-bottom: 12px;
}

.hero-body {
  display: flex; align-items: center;
  justify-content: space-between; gap: 8px;
}

.hero-left { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }

.hero-num {
  font-size: 68px; font-weight: 800;
  color: var(--green); line-height: 1;
  letter-spacing: -4px; flex-shrink: 0; display: block;
  font-variant-numeric: tabular-nums;
}

.hero-title {
  font-size: 14px; font-weight: 600; color: var(--text);
  line-height: 1.3; margin-top: 2px;
  letter-spacing: -0.2px;
}

.hero-sub { font-size: 11px; color: var(--text2); margin-top: 4px; margin-bottom: 10px; font-weight: 400; }

/* hero layout */
.hero-top {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 12px; margin-bottom: 8px;
}
.hero-count-wrap {
  display: flex; align-items: center; gap: 10px;
}
.hero-label-col {
  display: flex; flex-direction: column; justify-content: center;
}

.btn-radar, .btn-hero {
  background: var(--green); color: #000;
  border: none; padding: 11px 16px;
  border-radius: var(--radius); font-weight: 700;
  font-size: 12px; letter-spacing: -0.1px;
  cursor: pointer; flex: 1;
  display: inline-flex; align-items: center;
  justify-content: center; gap: 6px;
  transition: opacity 0.15s, transform 0.15s;
}
.btn-hero.secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-radar:active, .btn-hero:active { transform: scale(0.97); opacity: 0.9; }

.hero-right { flex-shrink: 0; position: relative; display: flex; align-items: center; justify-content: center; }

/* ── STATS ROW ────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 8px; margin-bottom: 16px;
}

.stat-pill {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 8px;
  display: flex; flex-direction: column;
  align-items: center; gap: 4px; text-align: center;
}

.stat-icon { font-size: 14px; margin-bottom: 2px; }
.stat-val {
  font-size: 14px; font-weight: 700; line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: -0.2px;
}
.stat-lbl { font-size: 9px; color: var(--text2); font-weight: 500; letter-spacing: 0.1px; margin-top: 2px; }

.green  { color: var(--green); }
.cyan   { color: var(--cyan); }
.yellow { color: var(--yellow); }
.red    { color: var(--red); }
.orange { color: var(--orange); }
.purple { color: var(--purple); }

/* ── SECTION HEADER ──────────────────────────────── */
.section-header {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 10px;
}
.section-title {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.3px; color: var(--text2);
  text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
}
.section-action {
  font-size: 11px; font-weight: 600; color: var(--green);
  background: none; border: none; cursor: pointer;
  letter-spacing: 0.1px; display: flex; align-items: center; gap: 4px;
}

/* ── JOGOS SCROLL (COPA) ──────────────────────────── */
.jogos-scroll, .jogos-list {
  display: flex; gap: 10px;
  overflow-x: auto; padding-bottom: 4px;
  margin-bottom: 16px;
  scrollbar-width: none;
}
.jogos-scroll::-webkit-scrollbar, .jogos-list::-webkit-scrollbar { display: none; }

.jogo-mini-card {
  flex-shrink: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 14px;
  min-width: 160px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.jogo-mini-card:active { border-color: rgba(0,230,118,0.35); }

.jogo-mini-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--green-dim), transparent);
  pointer-events: none;
}

.jogo-fase {
  font-size: 8px; font-weight: 700;
  letter-spacing: 0.8px; color: var(--muted);
  text-transform: uppercase; margin-bottom: 6px;
}

.jogo-times-row {
  display: flex; align-items: center;
  justify-content: space-between; gap: 4px;
  margin-bottom: 8px;
}

.jogo-team {
  display: flex; flex-direction: column;
  align-items: center; gap: 2px; flex: 1;
}

.jogo-flag { font-size: 22px; line-height: 1; }
.jogo-team-name { font-size: 9px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 52px; }

.jogo-vs {
  font-size: 11px; font-weight: 900; color: var(--muted);
  flex-shrink: 0; padding: 0 4px;
}

.jogo-horario {
  font-size: 10px; font-weight: 700; color: var(--green);
  text-align: center; margin-bottom: 4px;
}

.jogo-odds-row {
  display: flex; gap: 4px;
}

.jogo-odd-btn {
  flex: 1; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px; padding: 3px 2px;
  text-align: center; cursor: pointer;
  transition: all 0.2s;
}

.jogo-odd-btn:active { background: var(--green-dim); border-color: rgba(0,230,118,0.3); }
.jogo-odd-lbl { font-size: 8px; color: var(--muted); display: block; text-align: center; margin-bottom: 1px; }
.jogo-odd-val { font-size: 11px; font-weight: 800; color: #fff; display: block; text-align: center; }

/* ── COPA LIST (PAGE FULL) ───────────────────────── */
.copa-list { display: flex; flex-direction: column; gap: 12px; }

.copa-jogo-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px;
  animation: fadeUp 0.3s ease both;
  position: relative; overflow: hidden;
}

.copa-jogo-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  opacity: 0.4;
}

.copa-jogo-header {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 14px;
}

.copa-fase-badge {
  font-size: 9px; font-weight: 700;
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid rgba(0,230,118,0.2);
  border-radius: 20px; padding: 3px 10px;
  letter-spacing: 0.5px;
}

.copa-status {
  font-size: 9px; font-weight: 700;
  color: var(--yellow);
  display: flex; align-items: center; gap: 4px;
}

.copa-teams-row {
  display: flex; align-items: center;
  justify-content: space-around; margin-bottom: 14px;
}

.copa-team {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px; flex: 1;
}

.copa-flag { font-size: 40px; line-height: 1; }
.copa-team-name { font-size: 13px; font-weight: 800; color: #fff; text-align: center; }
.copa-team-grupo { font-size: 9px; color: var(--muted); }

.copa-vs-area {
  display: flex; flex-direction: column;
  align-items: center; gap: 4px;
  flex-shrink: 0; padding: 0 8px;
}

.copa-vs-text { font-size: 18px; font-weight: 900; color: var(--muted); }
.copa-horario { font-size: 12px; font-weight: 800; color: var(--green); }
.copa-data { font-size: 10px; color: var(--muted); }

.copa-odds-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 6px; margin-bottom: 12px;
}

.copa-odd-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 8px;
  text-align: center; cursor: pointer;
  transition: all 0.2s;
}

.copa-odd-box:active, .copa-odd-box.selected {
  background: var(--green-dim);
  border-color: rgba(0,230,118,0.35);
}

.copa-odd-label { font-size: 9px; color: var(--muted); margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.copa-odd-val { font-size: 16px; font-weight: 900; color: #fff; }
.copa-odd-val.best { color: var(--green);  }

.copa-stadium {
  font-size: 9px; color: var(--muted);
  text-align: center; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: center; gap: 4px;
}

.btn-analise-copa {
  width: 100%;
  background: linear-gradient(135deg, var(--green-dim), rgba(0,229,255,0.1));
  border: 1px solid rgba(0,230,118,0.3);
  color: var(--green);
  font-size: 11px; font-weight: 800;
  padding: 10px;
  border-radius: 12px; cursor: pointer;
  display: flex; align-items: center;
  justify-content: center; gap: 8px;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

.btn-analise-copa:active { transform: scale(0.98); }

/* ── DUAL GRID ───────────────────────────────────── */
.dual-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 16px;
}

.perf-card, .thermo-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px; padding: 14px 12px;
}

.card-header-row {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 12px; gap: 4px;
}

.card-title {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.8px; color: var(--muted);
  text-transform: uppercase; margin-bottom: 8px;
}

.period-sel {
  font-size: 9px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--muted); border-radius: 6px;
  padding: 3px 5px; cursor: pointer; outline: none; flex-shrink: 0;
}

.donut-wrap {
  position: relative; width: 90px; height: 90px;
  margin: 0 auto 10px;
}
.donut-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.donut-pct { font-size: 15px; font-weight: 900; color: var(--green);  line-height: 1; }
.donut-lbl { font-size: 9px; color: var(--muted); font-weight: 600; }

.perf-counts { display: flex; justify-content: space-around; margin-bottom: 10px; }
.perf-win { font-size: 16px; font-weight: 900; color: var(--green); text-align: center; }
.perf-win small, .perf-loss small { display: block; font-size: 8px; font-weight: 600; color: var(--muted); margin-top: 2px; }
.perf-loss { font-size: 16px; font-weight: 900; color: #ff6b8a; text-align: center; }
.sparkline-wrap { margin-bottom: 6px; }
.perf-roi-lbl { font-size: 10px; font-weight: 700; color: var(--green); text-align: center; }

/* Termômetro */
.thermo-sub { font-size: 8px; font-weight: 700; letter-spacing: 0.8px; color: var(--muted); margin-bottom: 8px; }

.thermo-item {
  display: flex; align-items: center;
  gap: 4px; font-size: 9px; margin-bottom: 5px;
}

.team-name { color: var(--muted); flex-shrink: 0; width: 110px; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 600; }
.thermo-bar-wrap { flex: 1; height: 4px; background: rgba(255,255,255,0.05); border-radius: 99px; overflow: hidden; }
.thermo-bar { height: 100%; background: var(--green); border-radius: 99px; transition: width 0.8s ease; }
.thermo-bar.yellow { background: var(--yellow); }
.thermo-bar.red { background: var(--red); }
.thermo-num { font-size: 9px; font-weight: 700; flex-shrink: 0; min-width: 44px; text-align: right; }

.thermo-btn {
  width: 100%;
  background: var(--green-dim);
  border: 1px solid rgba(0,230,118,0.2);
  color: var(--green); font-size: 9px; font-weight: 700;
  padding: 7px; border-radius: 8px; cursor: pointer;
  display: flex; align-items: center;
  justify-content: center; gap: 5px; letter-spacing: 0.3px;
  margin-top: 8px;
}

/* ── RISK GRID ────────────────────────────────────── */
.risk-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 16px; }

.risk-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 12px 10px;
  text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 5px; cursor: pointer;
  transition: all 0.2s; position: relative;
}

.risk-card.active {
  border-color: rgba(0,230,118,0.4);
  background: var(--green-dim);
  
}

.risk-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--muted);
}

.risk-icon.active { background: var(--green-dim); border-color: var(--green); color: var(--green); }
.risk-icon.agg { color: var(--orange); }

.risk-name { font-size: 9px; font-weight: 800; letter-spacing: 0.5px; color: var(--text); }
.risk-atual { position: absolute; top: 6px; right: 6px; font-size: 7px; font-weight: 800; background: var(--green); color: #000; padding: 2px 5px; border-radius: 20px; letter-spacing: 0.5px; }
.risk-desc { font-size: 9px; color: var(--muted); line-height: 1.4; }
.risk-badge { font-size: 8px; font-weight: 700; padding: 3px 8px; border-radius: 20px; letter-spacing: 0.3px; }
.risk-badge.low  { background: rgba(0,229,255,0.1); color: var(--cyan); }
.risk-badge.mid  { background: var(--green-dim); color: var(--green); }
.risk-badge.high { background: rgba(255,68,102,0.1); color: var(--red); }

/* ── TRUST STRIP ─────────────────────────────────── */
.trust-strip {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 14px 16px;
  display: flex; justify-content: space-around;
  gap: 8px; margin-bottom: 8px;
}

.trust-item { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.trust-icon { font-size: 18px; color: var(--green); flex-shrink: 0; }
.trust-val { font-size: 11px; font-weight: 800; color: #fff; line-height: 1.2; }
.trust-lbl { font-size: 8px; color: var(--muted); font-weight: 600; letter-spacing: 0.3px; margin-top: 1px; }

/* ── BOTTOM NAV ──────────────────────────────────── */
.bottom-nav {
  height: var(--nav-h);
  background: rgba(8,12,16,0.97);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-around;
  flex-shrink: 0;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  padding: 0 8px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  position: relative;
}

.bnav-btn {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px; background: none; border: none;
  cursor: pointer; color: var(--muted);
  font-size: 10px; font-weight: 600; letter-spacing: -0.1px;
  transition: color 0.2s; padding: 6px 4px;
  position: relative; border-radius: 12px;
  min-height: 48px;
}

.bnav-btn i { font-size: 19px; transition: transform 0.2s; }

.bnav-btn.active { color: var(--green); }

/* Pill indicator acima do ícone ativo */
.bnav-btn.active::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 3px;
  background: var(--green);
  border-radius: 0 0 3px 3px;
  animation: bnavIn 0.25s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

@keyframes bnavIn {
  from { width: 0; opacity: 0; }
  to   { width: 20px; opacity: 1; }
}

.bnav-btn:active { background: rgba(255,255,255,0.05); }
.bnav-btn:active i { transform: scale(0.9); }

/* ── PAGE HEADER ─────────────────────────────────── */
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.page-title {
  font-size: 20px; font-weight: 700; color: var(--text);
  letter-spacing: -0.5px;
  font-feature-settings: 'cv01','cv03';
}
.page-title i { font-size: 17px; margin-right: 6px; color: var(--text2); }

.icon-btn-sm {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04); border-radius: 50%;
  color: var(--text2); font-size: 13px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.icon-btn-sm:active { background: rgba(255,255,255,0.08); }

/* ── CHIPS ────────────────────────────────────────── */
.chips-row { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 10px; scrollbar-width: none; -ms-overflow-style: none; }
.chips-row::-webkit-scrollbar { display: none; }

.chip {
  flex-shrink: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text2); font-size: 12px; font-weight: 500;
  padding: 6px 14px; border-radius: 20px; cursor: pointer;
  transition: all 0.15s;
  letter-spacing: -0.1px;
}
.chip.active {
  background: var(--green-dim);
  border-color: rgba(0,230,118,0.3);
  color: var(--green);
  font-weight: 600;
}
.chip:active { opacity: 0.75; }

/* ── CENTER STATE ─────────────────────────────────── */
.center-state {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; padding: 60px 20px;
  color: var(--muted); font-size: 13px;
}

.hidden { display: none !important; }

.spinner {
  width: 36px; height: 36px;
  border-radius: 50%; border: 3px solid transparent;
  border-top-color: var(--green);
  animation: spin 0.8s linear infinite;
}

.green-spinner  { border-top-color: var(--green);  border-right-color: rgba(0,230,118,0.2); }
.cyan-spinner   { border-top-color: var(--cyan);   border-right-color: rgba(0,229,255,0.2); }
.yellow-spinner { border-top-color: var(--yellow); border-right-color: rgba(255,215,0,0.2); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeUp { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
@keyframes slideIn { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:none; } }

/* ── PICKS LIST (OPORTUNIDADES) ───────────────────── */
.picks-list { display: flex; flex-direction: column; gap: 10px; }

/* .pick-card base → redefinido no bloco v2 abaixo */

.pick-top {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 10px; margin-bottom: 12px;
}

.pick-match-row {
  display: flex; align-items: center; gap: 7px; margin-bottom: 5px;
}

.pick-flags { display: flex; align-items: center; font-size: 16px; }
.pick-flags span:last-child { margin-left: -3px; }

.pick-liga {
  font-size: 10px; font-weight: 500; color: var(--text2);
  background: rgba(255,255,255,0.04); border-radius: var(--radius-sm);
  padding: 2px 7px; border: 1px solid var(--border);
  letter-spacing: 0.1px;
}
.pick-time { font-size: 10px; color: var(--text2); }

.pick-jogo {
  font-size: 15px; font-weight: 600; color: var(--text);
  line-height: 1.25; letter-spacing: -0.3px;
}
.pick-horario {
  font-size: 10px; color: var(--green); margin-top: 3px;
  font-weight: 500; letter-spacing: 0.1px;
}

.edge-pill {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700;
  padding: 5px 10px; border-radius: 20px; letter-spacing: -0.1px;
}

.edge-high { background: var(--green-dim);  color: var(--green);  border: 1px solid rgba(0,230,118,0.25); }
.edge-mid  { background: var(--yellow-dim); color: var(--yellow); border: 1px solid rgba(245,197,24,0.25); }
.edge-low  { background: rgba(255,255,255,0.04); color: var(--text2); border: 1px solid var(--border); }

/* Mercado row */
.pick-nums {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 6px; padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}

.pnum { text-align: center; }
.pnum-val {
  font-size: 13px; font-weight: 700; color: var(--text);
  font-variant-numeric: tabular-nums; letter-spacing: -0.2px;
}
.pnum-val.over   { color: var(--green); }
.pnum-val.under  { color: var(--red); }
.pnum-val.odd    { color: var(--cyan); }
.pnum-val.empate { color: var(--yellow); }
.pnum-val.sim    { color: var(--green); }
.pnum-lbl { font-size: 9px; color: var(--text2); margin-top: 2px; font-weight: 500; }

/* Quality Score Bar */
.qs-row {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
}

.qs-label { font-size: 9px; color: var(--muted); flex-shrink: 0; }
.qs-bar-wrap { flex: 1; height: 4px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; }
.qs-bar { height: 100%; border-radius: 99px; transition: width 0.8s ease; }
.qs-val { font-size: 10px; font-weight: 800; flex-shrink: 0; width: 30px; text-align: right; }

/* Pick Bottom */
.pick-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.pick-left-info { flex: 1; }

.conf-row { display: flex; flex-direction: column; gap: 4px; }
.conf-label-row { display: flex; justify-content: space-between; font-size: 10px; color: var(--text2); }
.conf-bar { height: 2px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; }
.conf-fill { height: 100%; border-radius: 99px; background: var(--green); transition: width 0.8s cubic-bezier(0.25,1,0.5,1); }

.regime-chip {
  font-size: 9px; font-weight: 600;
  padding: 3px 9px; border-radius: 20px;
  margin-top: 5px; display: inline-block;
  letter-spacing: 0.1px;
}

.btn-ver-analise {
  flex-shrink: 0;
  background: var(--card2);
  color: var(--text); font-size: 11px; font-weight: 600;
  padding: 8px 13px; border-radius: var(--radius-sm);
  border: 1px solid var(--border2); cursor: pointer;
  letter-spacing: -0.1px; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.btn-ver-analise:active { background: rgba(255,255,255,0.1); }

.pick-tese {
  margin-top: 10px; padding: 10px;
  background: rgba(0,230,118,0.03);
  border: 1px solid var(--green-dim);
  border-radius: 10px; font-size: 10px;
  color: var(--muted); line-height: 1.5;
}

/* Gate badges */
.gate-badges { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }

.gate-badge {
  font-size: 8px; font-weight: 700;
  padding: 3px 8px; border-radius: 20px; letter-spacing: 0.3px;
}
.gate-proceed { background: var(--green-dim); color: var(--green); border: 1px solid rgba(0,230,118,0.2); }
.gate-reduce  { background: rgba(255,215,0,0.1); color: var(--yellow); border: 1px solid rgba(255,215,0,0.2); }
.gate-veto    { background: rgba(255,68,102,0.1); color: var(--red); border: 1px solid rgba(255,68,102,0.2); }
.gate-blocked { background: rgba(255,68,102,0.1); color: var(--red); border: 1px solid rgba(255,68,102,0.2); }

/* ── REGIME CARD ─────────────────────────────────── */
.regime-card {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 14px;
  margin-bottom: 16px;
}

.regime-header {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 8px;
}

.regime-label { font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--muted); }

.regime-badge {
  font-size: 10px; font-weight: 800;
  padding: 4px 12px; border-radius: 20px;
  background: rgba(90,112,128,0.15);
  color: var(--muted); border: 1px solid var(--border);
}

.regime-desc { font-size: 11px; color: var(--muted); line-height: 1.5; }

.regime-metrics {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; margin-top: 10px;
}

.regime-metric {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 8px;
  text-align: center;
}

.regime-metric-val { font-size: 13px; font-weight: 800; }
.regime-metric-lbl { font-size: 8px; color: var(--muted); margin-top: 2px; }

/* ── AGENTS LIST ──────────────────────────────────── */
.agents-list { display: flex; flex-direction: column; gap: 12px; }

.agent-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px; padding: 16px;
  animation: fadeUp 0.3s ease both;
}

.agent-top {
  display: flex; align-items: center;
  gap: 14px; margin-bottom: 12px;
}

.agent-emoji-wrap {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
  position: relative;
}

.agent-info { flex: 1; min-width: 0; }
.agent-name { font-size: 14px; font-weight: 800; color: #fff; }
.agent-role { font-size: 10px; color: var(--muted); margin-top: 1px; }
.agent-peso {
  display: inline-block; margin-top: 4px;
  font-size: 9px; font-weight: 700;
  background: rgba(0,229,255,0.1); color: var(--cyan);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 20px; padding: 2px 8px;
}

.agent-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-bottom: 10px; }

.astat {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 8px; text-align: center;
}

.astat-val { font-size: 14px; font-weight: 800; color: #fff; }
.astat-lbl { font-size: 8px; color: var(--muted); margin-top: 2px; }

.agent-formula {
  font-size: 9px; color: var(--muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px; padding: 8px;
  font-family: 'Courier New', monospace;
  margin-bottom: 10px; line-height: 1.5;
}

.agent-picks { font-size: 9px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 6px; }

.recent-pick {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 11px;
}

.recent-pick:last-child { border-bottom: none; }
.rp-name { color: var(--muted); flex: 1; font-size: 10px; }
.rp-result { font-weight: 800; margin-left: 8px; }

/* ── HIST STATS ───────────────────────────────────── */
.hist-stats {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 8px; margin-bottom: 14px;
}

.hstat {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 6px; text-align: center;
}
.hstat-val {
  font-size: 15px; font-weight: 700; color: var(--text);
  font-variant-numeric: tabular-nums; letter-spacing: -0.3px;
}
.hstat-lbl { font-size: 9px; color: var(--text2); margin-top: 3px; font-weight: 500; }

/* ── HIST LIST ────────────────────────────────────── */
.hist-list { display: flex; flex-direction: column; gap: 8px; }

.hist-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 13px 14px;
  display: flex; align-items: center; gap: 12px;
  animation: fadeUp 0.25s cubic-bezier(0.25,1,0.5,1) both;
  position: relative; overflow: hidden;
}

/* barra lateral resultado */
.hist-card::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
}
.hist-card.result-green::before { background: var(--green); }
.hist-card.result-red::before   { background: var(--red); }
.hist-card.result-void::before  { background: var(--text2); }

.hist-result-icon {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0; font-weight: 700;
}

.hist-result-icon.green  { background: var(--green-dim);  color: var(--green); }
.hist-result-icon.red    { background: var(--red-dim);    color: var(--red); }
.hist-result-icon.yellow { background: var(--yellow-dim); color: var(--yellow); }

.hist-info { flex: 1; min-width: 0; }
.hist-player {
  font-size: 13px; font-weight: 600; color: var(--text);
  letter-spacing: -0.2px; line-height: 1.3;
}
.hist-sub { font-size: 10px; color: var(--text2); margin-top: 3px; font-weight: 400; }
.hist-qs { font-size: 9px; color: var(--text2); margin-top: 2px; }

.hist-right { text-align: right; flex-shrink: 0; }
.hist-lucro { font-size: 14px; font-weight: 800; }
.hist-date  { font-size: 9px; color: var(--muted); margin-top: 2px; }

/* ── CONTA ────────────────────────────────────────── */
.conta-hero { text-align: center; padding: 20px 0; }

.conta-avatar-wrap {
  width: 90px; height: 90px; border-radius: 50%;
  margin: 0 auto 12px;
  border: 3px solid var(--green);
  
  display: flex; align-items: center; justify-content: center;
  background: var(--green-dim);
}

.conta-avatar-emoji { font-size: 40px; }
.conta-name { font-size: 22px; font-weight: 800; color: #fff; }
.conta-badge { display: inline-block; margin-top: 4px; background: linear-gradient(135deg, var(--green), var(--cyan)); color: #000; font-size: 10px; font-weight: 900; padding: 2px 10px; border-radius: 20px; }
.conta-email { font-size: 12px; color: var(--muted); margin-top: 6px; }

.conta-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 16px; }
.cstat { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 12px 8px; text-align: center; }
.cstat-val { font-size: 16px; font-weight: 800; color: #fff; }
.cstat-lbl { font-size: 9px; color: var(--muted); margin-top: 3px; }

/* Bankroll card */
.bankroll-card {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 14px;
  margin-bottom: 16px;
}

.bankroll-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 10px; }
.bk-item { text-align: center; }
.bk-val { font-size: 14px; font-weight: 800; color: #fff; }
.bk-lbl { font-size: 8px; color: var(--muted); margin-top: 2px; }
.bk-bar-wrap { height: 4px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; margin-bottom: 8px; }
.bk-bar { height: 100%; background: linear-gradient(90deg, var(--green), var(--cyan)); border-radius: 99px; max-width: 100%; }
.bk-note { font-size: 9px; color: var(--muted); text-align: center; line-height: 1.5; }

.conta-menu { background: var(--card); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }

.menu-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px; color: var(--text);
  font-size: 14px; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: pointer; transition: background 0.15s;
}
.menu-item:last-child { border-bottom: none; }
.menu-item:active { background: rgba(255,255,255,0.03); }
.menu-item i:first-child { color: var(--green); width: 18px; }
.menu-item.red { color: var(--red); }
.menu-item.red i:first-child { color: var(--red); }
.ml-auto { margin-left: auto; opacity: 0.3; font-size: 12px; }

/* ── MODAL ANÁLISE ──────────────────────────────────── */
.modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex; align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.modal-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px 24px 0 0;
  width: 100%; max-width: 430px;
  max-height: 90dvh;
  overflow-y: auto;
  padding: 0;
  animation: slideIn 0.3s ease;
}

.modal-handle {
  width: 40px; height: 4px;
  background: var(--border);
  border-radius: 99px;
  margin: 12px auto 0;
}

.modal-header {
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  justify-content: space-between;
}

.modal-title { font-size: 16px; font-weight: 800; color: #fff; }

.modal-close {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 50%; cursor: pointer;
  color: var(--muted); font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}

.modal-content { display: block; }
.modal-body { padding: 16px 20px 32px; }

/* ── DUELO DOS TIMES (header da análise) ── */
.modal-duelo {
  background: linear-gradient(135deg, rgba(15,22,30,0.6), rgba(8,12,16,0.4));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px 16px;
  margin-bottom: 14px;
}
.modal-duelo-liga {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.3px;
  color: var(--muted); text-transform: uppercase;
  margin-bottom: 10px;
}
.modal-duelo-liga i { color: var(--yellow); font-size: 10px; }
.modal-duelo-hora { color: rgba(148,184,220,0.6); font-weight: 600; }
.modal-duelo-times {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.modal-duelo-time {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  min-width: 0;
}
.modal-duelo-flag {
  font-size: 36px; line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}
.modal-duelo-nome {
  font-size: 13px; font-weight: 800; color: #fff;
  text-align: center; line-height: 1.2;
  letter-spacing: -0.2px;
  max-width: 100%;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  word-break: break-word;
}
.modal-duelo-vs {
  flex: 0 0 auto;
  font-size: 20px; font-weight: 900;
  color: var(--green);
  letter-spacing: -1px;
  padding: 0 4px;
  opacity: 0.7;
}

/* Score Total */
.modal-score-hero {
  background: linear-gradient(135deg, var(--green-dim), rgba(0,229,255,0.06));
  border: 1px solid rgba(0,230,118,0.2);
  border-radius: 16px; padding: 16px;
  text-align: center; margin-bottom: 16px;
}

.modal-score-num {
  font-size: 56px; font-weight: 900;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1; letter-spacing: -2px;
}

.modal-score-lbl { font-size: 11px; color: var(--muted); margin-top: 4px; font-weight: 600; letter-spacing: 0.5px; }
.modal-aprovado { font-size: 13px; font-weight: 800; margin-top: 8px; padding: 6px 16px; border-radius: 20px; display: inline-block; }
.modal-aprovado.yes { background: var(--green-dim); color: var(--green); border: 1px solid rgba(0,230,118,0.3); }
.modal-aprovado.no  { background: rgba(255,68,102,0.15); color: var(--red); border: 1px solid rgba(255,68,102,0.3); }

/* Gates */
.modal-gates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }

.gate-box {
  border: 1px solid var(--border);
  border-radius: 12px; padding: 10px;
}

.gate-title { font-size: 8px; font-weight: 700; letter-spacing: 0.8px; color: var(--muted); margin-bottom: 4px; text-transform: uppercase; }
.gate-result { font-size: 12px; font-weight: 800; }
.gate-motivo { font-size: 9px; color: var(--muted); margin-top: 3px; line-height: 1.4; }

/* 6 Agentes breakdown */
.modal-agentes-title { font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--muted); margin-bottom: 10px; text-transform: uppercase; }

.agente-row {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 12px;
  margin-bottom: 8px;
}

.agente-row-top {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 6px;
}

.agente-row-nome { font-size: 11px; font-weight: 700; color: #fff; }
.agente-row-peso { font-size: 9px; color: var(--muted); }
.agente-row-score { font-size: 13px; font-weight: 800; }

.agente-bar-wrap { height: 3px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; margin-bottom: 5px; }
.agente-bar { height: 100%; border-radius: 99px; transition: width 0.8s ease; }

.agente-desc { font-size: 9px; color: var(--muted); line-height: 1.4; }

/* Sizing */
.modal-sizing {
  background: rgba(0,229,255,0.06);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 12px; padding: 14px;
  margin-bottom: 16px;
}

.sizing-title { font-size: 9px; font-weight: 700; letter-spacing: 0.8px; color: var(--cyan); margin-bottom: 10px; text-transform: uppercase; }

.sizing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.sizing-item { text-align: center; }
.sizing-val { font-size: 16px; font-weight: 900; color: var(--cyan); }
.sizing-lbl { font-size: 8px; color: var(--muted); margin-top: 2px; }

/* Tese */
.modal-tese {
  background: var(--green-dim);
  border: 1px solid var(--green-dim);
  border-radius: 12px; padding: 12px;
  font-size: 11px; color: var(--text);
  line-height: 1.6; margin-bottom: 16px;
}

/* Botão Apostar */
.btn-apostar-modal {
  width: 100%;
  background: linear-gradient(135deg, var(--green), #00cc52);
  color: #000; font-size: 14px; font-weight: 900;
  padding: 14px; border-radius: 14px; border: none;
  cursor: pointer; letter-spacing: 0.5px;
  box-shadow: 0 0 30px rgba(0,230,118,0.35);
  display: flex; align-items: center;
  justify-content: center; gap: 8px;
  transition: all 0.2s;
}
.btn-apostar-modal:active { transform: scale(0.98); }

.apostar-disclaimer {
  text-align: center; font-size: 9px; color: var(--muted);
  margin-top: 8px; line-height: 1.5;
}

/* ── LINK BTN ─────────────────────────────────────── */
.link-btn { background: none; border: none; color: var(--green); cursor: pointer; font-size: inherit; font-weight: 600; text-decoration: underline; }

/* ── SPIN ANIMATION ───────────────────────────────── */
.fa-spin { animation: spin 1s linear infinite; }

/* ── SAFE AREA ────────────────────────────────────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .bottom-nav {
    padding-bottom: calc(env(safe-area-inset-bottom) + 4px);
    height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  }
}

/* ─── BOTÃO BET365 ─────────────────────────────────── */
.btn-bet365 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  background: linear-gradient(135deg, #007F3D, #00a84f);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}
.btn-bet365:hover  { opacity: 0.88; transform: translateY(-1px); }
.btn-bet365:active { opacity: 0.75; transform: scale(0.97); }
.btn-bet365 i { font-size: 11px; }

/* ─── HEADER: TOPBAR-RIGHT, COPA-BADGE, AVATAR ───────────── */

/* copa-badge: pílula estilo da imagem de referência */
.copa-badge {
  background: var(--green-dim);
  border: 1px solid rgba(0,230,118,0.35);
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Botão de sino com dot de notificação */
.icon-btn { position: relative; }
.notif-dot {
  position: absolute;
  top: 5px; right: 6px;
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
}

/* Avatar bola de futebol */
.avatar-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green-dim);
  border: 1.5px solid rgba(0,230,118,0.35);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.avatar-btn:active { background: rgba(0,255,102,0.18); }

/* ─── RADAR PAGE HEADER (título acima do card) ────────────── */
.radar-page-header {
  padding: 16px 0 10px;
}
.radar-page-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.year-highlight { color: var(--green); }

.radar-page-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.live-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--green);
  animation: pulse 1.8s ease infinite;
}

/* ─── HERO CARD NOVO LAYOUT ───────────────────────────────── */
.hero-badge-row {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-badge-row i { color: var(--green); }

.hero-num-wrap { line-height: 1; margin-bottom: 4px; }

/* Botão "VER PICKS →" único */
.btn-ver-picks {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0,230,118,0.35);
  transition: all 0.2s;
  align-self: flex-start;
}
.btn-ver-picks:active { transform: scale(0.97); opacity: 0.9; }

/* Radar SVG no hero */
.hero-right { flex-shrink: 0; }
.radar-svg-wrap {
  position: relative;
  width: 110px; height: 110px;
}
.radar-svg { display: block; }
.radar-sweep {
  transform-origin: 60px 60px;
  animation: radarSpin 3s linear infinite;
}
@keyframes radarSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ─── CLASSES FALTANTES — AUDITORIA CSS ────────────────── */

/* topbar-right: lado direito do header */
.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* main-content: container principal da página */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

/* bk-row: linha da bankroll-card (o HTML usa bk-row, não bankroll-row) */
.bk-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.bk-row:last-child { border-bottom: none; }

/* bk-label: label da bankroll-card (o HTML usa bk-label, não bk-lbl) */
.bk-label {
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
}

/* risk-section: container da seção de perfil de risco */
.risk-section {
  margin-bottom: 16px;
}

/* risk-cards-row: grid de cards de perfil de risco */
.risk-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

/* chip-mercado: chips de filtro de mercado (herda de .chip, adiciona especificidade) */
.chip-mercado {
  /* herda estilos de .chip — apenas sobrescreve se necessário */
  font-size: 10px;
  padding: 5px 12px;
}

/* ═══════════════════════════════════════════════════════════════
   NOVOS ESTILOS — UX OVERHAUL 2025
═══════════════════════════════════════════════════════════════ */

/* ─── Skeleton Loaders ─────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
.skeleton-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  overflow: hidden;
}
.skeleton-line {
  border-radius: 6px;
  margin-bottom: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  display: block;
}

/* ─── Liga Chips Proeminentes ──────────────────────────────── */
#ops-liga-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 10px;
  margin-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#ops-liga-chips::-webkit-scrollbar { display: none; }

.liga-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 9px 13px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
  min-width: 58px;
}
.liga-chip:active { opacity: 0.75; }
.liga-chip.active {
  background: var(--green-dim);
  border-color: rgba(0,230,118,0.3);
}
.liga-chip-emoji { font-size: 17px; line-height: 1; }
.liga-chip-nome  { font-size: 9px; font-weight: 500; color: var(--text2); letter-spacing: 0.1px; text-align: center; }
.liga-chip.active .liga-chip-nome { color: var(--green); font-weight: 600; }
.liga-chip-cnt   { font-size: 11px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.liga-chip.active .liga-chip-cnt  { color: var(--green); }

/* ─── Sync Badge ───────────────────────────────────────────── */
#sync-badge {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 10px;
  margin-left: auto;
  white-space: nowrap;
}

/* ─── Pick Card — Nova hierarquia ──────────────────────────── */
.pick-top-pick {
  border: 1.5px solid rgba(255,215,0,0.35) !important;
  box-shadow: 0 0 20px rgba(255,215,0,0.08);
}
.top-pick-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 800;
  background: rgba(255,215,0,0.12);
  color: #ffd700;
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 20px;
  padding: 2px 8px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.pick-time-countdown {
  font-size: 10px;
  font-weight: 700;
  color: #00ff66;
  background: var(--green-dim);
  border: 1px solid rgba(0,230,118,0.2);
  border-radius: 10px;
  padding: 2px 7px;
  margin-left: 4px;
}

/* Nível 2: Bet row */
.pick-bet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
}
.pick-bet-main { flex: 1; min-width: 0; }
.pick-mercado-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.pick-side {
  font-size: 12px;
  font-weight: 800;
}
.pick-side.over    { color: #00ff66; }
.pick-side.under   { color: #ff4466; }
.pick-side.empate  { color: #ffd700; }
.pick-side.sim     { color: #22d3ee; }
.pick-odd-block    { text-align: right; flex-shrink: 0; }
.pick-odd-val {
  font-size: 22px;
  font-weight: 900;
  color: #ffd700;
  line-height: 1;
}
.pick-odd-casa {
  font-size: 9px;
  color: var(--muted);
  margin-top: 2px;
}

/* +EV row simplificado */
.pick-ev-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 10px;
}
.pick-ev-badge {
  font-size: 9px;
  font-weight: 800;
  color: #00ff66;
  background: var(--green-dim);
  border: 1px solid rgba(0,230,118,0.2);
  border-radius: 6px;
  padding: 1px 6px;
  letter-spacing: 0.5px;
}

/* Footer simplificado */
.pick-footer {
  margin-top: 4px;
}
.qs-mini-row {
  display: flex;
  align-items: center;
  gap: 4px;
}
.qs-mini-label {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.regime-chip-small {
  font-size: 8px;
  font-weight: 700;
  border: 1px solid;
  border-radius: 8px;
  padding: 1px 6px;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

/* ═══════════════════════════════════════════════════════════
   PICK CARD v2 — Design Silicon Valley (estilo referência)
   ═══════════════════════════════════════════════════════════ */

/* ── Base do card ── */
.pick-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  animation: fadeUp 0.28s cubic-bezier(0.25,1,0.5,1) both;
  transition: border-color 0.2s, transform 0.15s;
  cursor: pointer;
  position: relative;
}
.pick-card:active { transform: scale(0.99); background: var(--card2); }
.pick-card.pick-top-pick { border-color: rgba(255,215,0,0.4); }
.pick-card.pick-top-pick .pc-oport-badge { background: rgba(255,215,0,0.12); color: #ffd700; border-color: rgba(255,215,0,0.3); }
.pick-card.pick-top-pick .pc-oport-badge .pc-dot { background: #ffd700; }

/* ── Inner padding wrapper ── */
.pc-header       { padding: 14px 16px 0; }
.pc-jogo         { padding: 10px 16px 0; }

/* ── Badge top pick ── */
.pc-top-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.5px;
  border-radius: 20px; padding: 3px 10px;
  margin: 12px 0 0 16px;
}
.pc-top-badge.gold   { background: rgba(255,215,0,0.12); color: #ffd700; border: 1px solid rgba(255,215,0,0.3); }
.pc-top-badge.silver { background: rgba(192,192,192,0.1); color: #c0c0c0; border: 1px solid rgba(192,192,192,0.25); }
.pc-top-badge.bronze { background: rgba(205,127,50,0.1); color: #cd7f32; border: 1px solid rgba(205,127,50,0.25); }

/* ── Tier Badge (ELITE / SOLID — Mesa de Traders aprovou) ── */
.pc-tier-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.5px;
  border-radius: 20px; padding: 3px 10px;
  margin: 6px 0 0 16px;
}
.pc-tier-badge.pc-tier-elite {
  background: linear-gradient(135deg, rgba(34,211,238,0.15), rgba(0,230,118,0.15));
  color: #22d3ee; border: 1px solid rgba(34,211,238,0.4);
  box-shadow: 0 0 12px rgba(34,211,238,0.15);
}
.pc-tier-badge.pc-tier-solid {
  background: rgba(167,139,250,0.12); color: #a78bfa;
  border: 1px solid rgba(167,139,250,0.3);
}

/* ── Mesa de Traders block ── */
.pc-mesa {
  margin: 10px 12px 0;
  padding: 10px;
  background: rgba(15,23,42,0.6);
  border: 1px solid rgba(34,211,238,0.18);
  border-radius: 10px;
}
.pc-mesa-header {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.5px;
  color: #22d3ee; margin-bottom: 8px;
}
.pc-mesa-title { flex: 0 0 auto; }
.pc-mesa-score {
  margin-left: auto; color: #9aa9bd; font-weight: 600;
  font-size: 9px; letter-spacing: 0.3px;
}
.pc-mesa-votes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}
.pc-mesa-vote {
  display: flex; align-items: center; gap: 5px;
  font-size: 10px; padding: 4px 7px;
  border-radius: 6px;
  cursor: help;
}
.pc-mesa-vote.mesa-vote-yes {
  background: rgba(0,230,118,0.08);
  border: 1px solid rgba(0,230,118,0.2);
  color: #cfe8d8;
}
.pc-mesa-vote.mesa-vote-no {
  background: rgba(255,68,102,0.06);
  border: 1px solid rgba(255,68,102,0.18);
  color: #e8c5cd;
  opacity: 0.7;
}
.mesa-vote-icon { font-weight: 800; font-size: 11px; }
.pc-mesa-vote.mesa-vote-yes .mesa-vote-icon { color: #00e676; }
.pc-mesa-vote.mesa-vote-no  .mesa-vote-icon { color: #ff4466; }
.mesa-vote-name { flex: 1; font-weight: 600; }
.mesa-vote-conf { color: #5a7080; font-weight: 700; font-size: 9px; }

/* ── Header: liga + horário + badge oportunidade ── */
.pc-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 10px;
}
.pc-header-left { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }

.pc-liga-badge {
  font-size: 10px; font-weight: 600; color: var(--text2);
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 3px 8px;
  white-space: nowrap; letter-spacing: 0.1px;
}
.pc-time {
  font-size: 10px; color: var(--text2);
}
.pc-time-live {
  font-size: 10px; font-weight: 700; color: var(--green);
  background: var(--green-dim); border: 1px solid rgba(0,230,118,0.2);
  border-radius: 10px; padding: 2px 7px;
  display: flex; align-items: center; gap: 4px;
}

.pc-oport-badge {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1px;
  border-radius: 20px; padding: 4px 10px; border: 1px solid;
}
.pc-oport-badge.edge-high { background: var(--green-dim); color: var(--green); border-color: rgba(0,230,118,0.3); }
.pc-oport-badge.edge-mid  { background: var(--yellow-dim); color: var(--yellow); border-color: rgba(245,197,24,0.3); }
.pc-oport-badge.edge-low  { background: rgba(255,255,255,0.04); color: var(--text2); border-color: var(--border); }

.pc-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
.edge-high .pc-dot { background: var(--green); box-shadow: 0 0 6px var(--green); }
.edge-mid  .pc-dot { background: var(--yellow); }
.edge-low  .pc-dot { background: var(--text2); }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

/* ── Jogo ── */
.pc-jogo {
  font-size: 14px; font-weight: 700; color: var(--text);
  line-height: 1.3; letter-spacing: -0.2px;
  margin-bottom: 12px;
}

/* ── Pick principal: mercado + aposta + odd ── */
.pc-pick-block {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 16px;
  background: rgba(0,230,118,0.04);
  border-top: 1px solid rgba(0,230,118,0.1);
  border-bottom: 1px solid rgba(0,230,118,0.1);
  margin: 0 0 0 0;
}
.pc-pick-info { flex: 1; min-width: 0; }
.pc-pick-mercado {
  font-size: 11px; font-weight: 600; color: var(--text2);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px;
}
.pc-pick-side {
  font-size: 20px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.1;
}
.pc-pick-side.over   { color: #00e676; }
.pc-pick-side.under  { color: #ff4466; }
.pc-pick-side.empate { color: #ffd700; }
.pc-pick-side.sim    { color: #22d3ee; }

.pc-pick-odd { text-align: right; flex-shrink: 0; }
.pc-odd-val {
  font-size: 28px; font-weight: 900; color: var(--text);
  line-height: 1; letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}
.pc-odd-casa {
  font-size: 10px; color: var(--text2); margin-top: 3px;
  display: flex; align-items: center; gap: 4px; justify-content: flex-end;
}

/* ── Stats row: ODD · EDGE · PROB IA ── */
.pc-stats-row {
  display: flex; align-items: stretch;
  border-bottom: 1px solid var(--border);
  padding: 12px 16px; gap: 0;
}
.pc-stat {
  flex: 1; text-align: center;
}
.pc-stat-div {
  width: 1px; background: var(--border); margin: 0 8px; flex-shrink: 0;
}
.pc-stat-val {
  font-size: 18px; font-weight: 800; color: var(--text);
  font-variant-numeric: tabular-nums; letter-spacing: -0.5px; line-height: 1.1;
}
.pc-stat-val.edge-val { color: var(--green); }
.pc-stat-lbl {
  font-size: 9px; font-weight: 700; color: var(--text2);
  letter-spacing: 0.8px; text-transform: uppercase; margin: 3px 0 2px;
}
.pc-stat-sub {
  font-size: 9px; color: var(--text2);
  display: flex; align-items: center; justify-content: center; gap: 3px;
}

/* ── Barra de confiança ── */
.pc-conf-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 10px 16px 6px;
}
.pc-conf-left {
  display: flex; align-items: center; gap: 6px;
}
.pc-conf-label {
  font-size: 9px; font-weight: 700; color: var(--text2);
  letter-spacing: 0.8px; text-transform: uppercase;
}
.pc-conf-badge {
  font-size: 10px; font-weight: 700;
  border: 1px solid; border-radius: 20px; padding: 2px 9px;
}
.pc-conf-bar-wrap {
  height: 4px; background: rgba(255,255,255,0.06);
  border-radius: 99px; overflow: hidden;
  margin: 0 16px 12px;
}
.pc-conf-bar-fill {
  height: 100%; border-radius: 99px;
  transition: width 0.8s cubic-bezier(0.25,1,0.5,1);
}

/* ── Insight principal ── */
.pc-insight {
  margin: 0 16px 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.pc-insight-title {
  font-size: 9px; font-weight: 800; color: var(--text2);
  letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 6px;
  display: flex; align-items: center; gap: 5px;
}
.pc-insight-body {
  font-size: 11px; color: var(--text2); line-height: 1.55;
}

/* ── Mini stats: 4 colunas ── */
.pc-mini-stats {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.pc-mini-stat {
  display: flex; flex-direction: column; align-items: center;
  gap: 3px; padding: 10px 4px 8px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.pc-mini-stat:last-child { border-right: none; }
.pc-mini-stat i { font-size: 13px; margin-bottom: 1px; }
.pc-mini-val {
  font-size: 12px; font-weight: 700; color: var(--text);
  line-height: 1;
}
.pc-mini-lbl {
  font-size: 9px; color: var(--text2); font-weight: 500;
}

/* ── Ver análise completa ── */
.pc-expand-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 9px 16px;
  background: none; border: none; cursor: pointer;
  font-size: 11px; font-weight: 600; color: var(--text2);
  border-bottom: 1px solid var(--border);
  transition: color 0.15s, background 0.15s;
}
.pc-expand-btn:active { background: rgba(255,255,255,0.03); color: var(--text); }
.pc-expand-btn i { font-size: 10px; }

/* ── CTA: Apostar ── */
.pc-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 14px 16px;
  background: var(--green); color: #000;
  font-size: 14px; font-weight: 800; letter-spacing: -0.2px;
  text-decoration: none; border: none; cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
}
.pc-cta-btn:active { opacity: 0.88; transform: scale(0.99); }
.pc-cta-btn i { font-size: 13px; }

.pc-cta-badge {
  font-size: 9px; font-weight: 700; letter-spacing: 0.3px;
  background: rgba(0,0,0,0.2); color: rgba(0,0,0,0.75);
  border-radius: 20px; padding: 2px 8px;
}

/* ── Segurança ── */
.pc-security-txt {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  font-size: 9px; color: var(--text2); padding: 8px 16px 12px;
  letter-spacing: 0.1px;
}
.pc-security-txt i { font-size: 9px; }

/* ─── Modal LLM Block ──────────────────────────────────────── */
.llm-block {
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
  border: 1.5px solid;
}
.llm-block.llm-ok   { background: rgba(0,255,102,0.05); border-color: rgba(0,230,118,0.25); }
.llm-block.llm-veto { background: rgba(255,68,102,0.05); border-color: rgba(255,68,102,0.25); }

.llm-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.llm-icon  { font-size: 22px; flex-shrink: 0; }
.llm-title { font-size: 10px; font-weight: 800; color: var(--text); margin-bottom: 2px; letter-spacing: 0.5px; }
.llm-resumo { font-size: 11px; color: var(--muted); }
.llm-recomendacao {
  font-size: 11px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 12px;
  padding: 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
}
.llm-section { margin-top: 10px; }
.llm-section-title { font-size: 9px; font-weight: 800; color: var(--muted); letter-spacing: 0.5px; margin-bottom: 6px; text-transform: uppercase; }
.llm-item { font-size: 10px; line-height: 1.5; padding: 3px 0; }
.llm-positive { color: #00e87a; }
.llm-caution  { color: #ffd700; }

/* ─── Agentes expandível (details/summary) ─────────────────── */
.agentes-details { margin-bottom: 16px; }
.agentes-details summary { cursor: pointer; user-select: none; }
.agentes-details summary::-webkit-details-marker { display: none; }

/* ─── Pull-to-Refresh Indicator ───────────────────────────── */
#ptr-indicator {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: var(--green-dim);
  border: 1px solid rgba(0,230,118,0.35);
  border-radius: 0 0 20px 20px;
  padding: 8px 20px;
  font-size: 11px;
  font-weight: 700;
  color: #00ff66;
  pointer-events: none;
  transition: opacity 0.2s;
}

/* ─── Onboarding Tooltip ───────────────────────────────────── */
#onboarding-tip {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  background: rgba(10,18,30,0.96);
  border: 1.5px solid rgba(0,230,118,0.35);
  border-radius: 16px;
  padding: 16px 20px;
  max-width: 300px;
  width: 90%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  cursor: pointer;
  animation: fadeInUp 0.4s ease;
}
@keyframes fadeInUp {
  from { opacity:0; transform: translateX(-50%) translateY(20px); }
  to   { opacity:1; transform: translateX(-50%) translateY(0); }
}
.onboarding-title {
  font-size: 12px;
  font-weight: 800;
  color: #00ff66;
  margin-bottom: 10px;
}
.onboarding-item {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.4;
}
.onboarding-item strong { color: var(--text); }
.onboarding-close {
  text-align: center;
  font-size: 9px;
  color: var(--muted);
  margin-top: 12px;
}

/* ─── Empty States melhorados ──────────────────────────────── */
.empty-state-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 24px;
  text-align: center;
  margin: 16px 0;
}
.empty-state-icon { font-size: 3rem; margin-bottom: 12px; }
.empty-state-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.empty-state-sub   { font-size: 11px; color: var(--muted); line-height: 1.5; }

/* ─── Radar mais suave ─────────────────────────────────────── */
@keyframes radarSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.radar-sweep {
  transform-origin: 60px 60px;
  animation: radarSpin 4s linear infinite;  /* era 3s, mais suave */
}

/* ─── Busca por Campeonato ─────────────────────────────────── */
.liga-search-wrap {
  position: relative;
  margin-bottom: 10px;
}

.liga-search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 0 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.liga-search-box:focus-within {
  border-color: rgba(0,230,118,0.4);
  box-shadow: 0 0 0 3px var(--green-dim);
}

.liga-search-icon {
  font-size: 13px;
  color: var(--muted);
  flex-shrink: 0;
  margin-right: 8px;
}

.liga-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  padding: 12px 0;
  font-family: inherit;
}
.liga-search-input::placeholder { color: var(--muted); font-weight: 400; }

.liga-search-clear {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  font-size: 12px;
  flex-shrink: 0;
  border-radius: 50%;
  transition: color 0.2s;
}
.liga-search-clear:hover { color: var(--text); }

/* Dropdown */
.liga-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #0f1923;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  overflow: hidden;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.liga-dd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.liga-dd-item:last-child { border-bottom: none; }
.liga-dd-item:hover    { background: rgba(255,255,255,0.06); }
.liga-dd-item.active   { background: var(--green-dim); }

.liga-dd-emoji { font-size: 18px; flex-shrink: 0; }
.liga-dd-nome  { flex: 1; font-size: 12px; font-weight: 600; color: var(--text); }
.liga-dd-item.active .liga-dd-nome { color: #00ff66; }
.liga-dd-cnt   { font-size: 10px; color: var(--muted); white-space: nowrap; }
.liga-dd-item.active .liga-dd-cnt  { color: #00ff66; }

.liga-dd-empty {
  padding: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════
   SISTEMA MULTIUSUÁRIO — Auth, Quiz, Tour, User Panel
   ═══════════════════════════════════════════════════ */

/* ── Avatar topbar (logado vs anônimo) ─────────────── */
.avatar-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(0,230,118,0.35);
  background: var(--green-dim);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
  overflow: hidden;
}
.avatar-btn:active { transform: scale(0.94); }
.avatar-btn.logged-in {
  border-color: #00ff66;
  box-shadow: 0 0 14px rgba(0,230,118,0.4);
  background: var(--green-dim);
}
.avatar-initials {
  font-size: 13px; font-weight: 800;
  color: #00ff66; letter-spacing: -0.5px;
}

/* ── banca_pct badge nos picks ──────────────────────── */
.banca-pct-badge {
  font-size: 9px; font-weight: 700;
  color: #a78bfa;
  background: rgba(167,139,250,0.1);
  border: 1px solid rgba(167,139,250,0.25);
  border-radius: 20px;
  padding: 2px 7px;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════
   AUTH OVERLAY — Login / Cadastro
   ═══════════════════════════════════════════════════ */
.auth-overlay {
  position: fixed; inset: 0; z-index: 9100;
  background: rgba(6,9,13,0.85);
  backdrop-filter: blur(8px);
  display: flex; align-items: flex-end; justify-content: center;
  transition: opacity 0.3s;
}
.auth-overlay.hidden { display: none; }

.auth-sheet {
  width: 100%; max-width: 430px;
  background: #0d131a;
  border-radius: 24px 24px 0 0;
  border-top: 1px solid var(--green-dim);
  padding: 24px 20px 40px;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1);
  max-height: 92dvh;
  overflow-y: auto;
}
.auth-sheet.open { transform: translateY(0); }

.auth-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.auth-logo {
  display: flex; align-items: center; gap: 8px;
}
.auth-logo-text {
  font-size: 18px; font-weight: 800; color: #fff; letter-spacing: -0.5px;
}
.auth-close-btn {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted); font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}

.auth-tagline {
  font-size: 13px; color: var(--muted); line-height: 1.5;
  margin-bottom: 18px;
}

.auth-tabs {
  display: flex; gap: 4px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px; padding: 4px;
  margin-bottom: 20px;
}
.auth-tab {
  flex: 1; padding: 8px;
  border-radius: 10px;
  background: transparent;
  border: none; color: var(--muted);
  font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.auth-tab.active {
  background: var(--green-dim);
  color: #00ff66;
}

.auth-field { margin-bottom: 14px; }
.auth-label {
  display: block; font-size: 11px; font-weight: 600;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.auth-input {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  color: var(--text); font-size: 15px;
  outline: none; transition: border-color 0.2s;
  -webkit-appearance: none;
}
.auth-input:focus {
  border-color: rgba(0,230,118,0.35);
  background: rgba(0,230,118,0.03);
}

.auth-error {
  font-size: 12px; color: #ff4466;
  min-height: 18px; margin-bottom: 6px;
}

.auth-btn {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, #00ff66, #00cc52);
  border: none; border-radius: 14px;
  color: #000; font-size: 15px; font-weight: 800;
  cursor: pointer; margin-top: 4px;
  transition: transform 0.15s, opacity 0.15s;
}
.auth-btn:active { transform: scale(0.97); }
.auth-btn:disabled { opacity: 0.6; }
.auth-btn.secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.1);
}

.auth-switch {
  text-align: center; font-size: 12px; color: var(--muted);
  margin-top: 14px;
}
.auth-switch span {
  color: #00ff66; cursor: pointer; font-weight: 600;
}

.auth-footer {
  text-align: center; font-size: 11px; color: var(--muted2);
  margin-top: 16px;
}

/* ═══════════════════════════════════════════════════
   FULLSCREEN OVERLAYS (Quiz + Tour)
   ═══════════════════════════════════════════════════ */
.fullscreen-overlay {
  position: fixed; inset: 0; z-index: 9200;
  background: var(--bg);
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.fullscreen-overlay.hidden { display: none; }
.fullscreen-overlay.visible { opacity: 1; pointer-events: all; }

/* ═══════════════════════════════════════════════════
   ONBOARDING QUIZ — Calibragem do Radar (premium)
   ═══════════════════════════════════════════════════ */
.onboarding-quiz-wrap {
  display: flex; flex-direction: column;
  height: 100dvh; max-width: 430px;
  margin: 0 auto; width: 100%;
  position: relative;
  background:
    radial-gradient(ellipse 120% 50% at 50% -10%, rgba(0,230,118,0.07), transparent 60%),
    radial-gradient(ellipse 90% 40% at 80% 110%, rgba(24,207,238,0.05), transparent 60%),
    var(--bg);
}
.onboarding-quiz-wrap::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, #000 30%, transparent 80%);
}

/* ── Header: voltar + segmentos + contador ── */
.qz-head {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px 4px;
  min-height: 54px; flex-shrink: 0;
  position: relative; z-index: 2;
}
.qz-back {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--text2); font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: opacity 0.25s, transform 0.15s;
}
.qz-back:active { transform: scale(0.92); }
.qz-back.ghost { opacity: 0; pointer-events: none; }
.qz-segments { flex: 1; display: flex; gap: 5px; }
.qz-seg {
  flex: 1; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,0.09);
  overflow: hidden; position: relative;
  transition: background 0.3s;
}
.qz-seg.done { background: var(--green); opacity: 0.55; }
.qz-seg.on { background: rgba(255,255,255,0.09); }
.qz-seg.on::after {
  content: ''; position: absolute; inset: 0;
  background: var(--green); border-radius: 2px;
  animation: qz-seg-fill 0.5s cubic-bezier(0.22,1,0.36,1) forwards;
  box-shadow: 0 0 8px rgba(0,230,118,0.7);
}
@keyframes qz-seg-fill { from { transform: scaleX(0); transform-origin: left } to { transform: scaleX(1); transform-origin: left } }
.qz-step-count {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  color: var(--green); letter-spacing: 0.5px; flex-shrink: 0;
}
.qz-step-count span { color: var(--muted); font-weight: 500; }

/* ── Container ── */
.quiz-container {
  flex: 1; overflow-y: auto; overflow-x: hidden;
  padding: 8px 22px calc(40px + env(safe-area-inset-bottom));
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
}

/* ── Overline / kicker ── */
.qz-overline {
  font-size: 10.5px; font-weight: 700; letter-spacing: 2.2px;
  text-transform: uppercase; color: var(--green);
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 10px;
}
.qz-overline::before {
  content: ''; width: 16px; height: 1px;
  background: var(--green); opacity: 0.6;
}
.qz-overline em { font-style: normal; color: var(--muted); letter-spacing: 1px; font-weight: 600; }
.qz-overline.ok { justify-content: center; }
.qz-overline.ok::before { display: none; }

/* ── INTRO ── */
.qz-intro {
  flex: 1; display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  padding: 20px 0 30px;
  animation: qz-rise 0.7s cubic-bezier(0.22,1,0.36,1) both;
}
.qz-intro .qz-radar { align-self: center; margin-bottom: 34px; }
.qz-intro-title {
  font-size: 34px; font-weight: 900; letter-spacing: -1.2px;
  line-height: 1.08; color: var(--text);
  margin-bottom: 14px;
  background: linear-gradient(135deg, #fff 30%, rgba(0,230,118,0.85));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.qz-intro-desc {
  font-size: 14px; color: var(--text2); line-height: 1.65;
  margin-bottom: 22px; max-width: 340px;
}
.qz-intro-meta {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--muted); letter-spacing: 0.4px;
  margin-bottom: 34px;
}
.qz-intro-meta i {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--muted2); display: block;
}

/* ── RADAR ANIMADO ── */
.qz-radar {
  --qz-radar-size: 150px;
  width: var(--qz-radar-size); height: var(--qz-radar-size);
  position: relative; flex-shrink: 0;
}
.qz-radar-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(0,230,118,0.22);
}
.qz-radar-ring.r1 { inset: 0; border-color: rgba(0,230,118,0.13); }
.qz-radar-ring.r2 { inset: 17%; border-color: rgba(0,230,118,0.20); }
.qz-radar-ring.r3 { inset: 34%; border-color: rgba(0,230,118,0.28); }
.qz-radar-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(0,230,118,0.45), rgba(0,230,118,0.06) 70deg, transparent 110deg);
  animation: qz-sweep 3.2s linear infinite;
  mask-image: radial-gradient(circle, #000 0%, #000 100%);
}
@keyframes qz-sweep { to { transform: rotate(360deg) } }
.qz-radar-core {
  position: absolute; top: 50%; left: 50%;
  width: 8px; height: 8px; margin: -4px;
  border-radius: 50%; background: var(--green);
  box-shadow: 0 0 14px rgba(0,230,118,0.9), 0 0 34px rgba(0,230,118,0.4);
}
.qz-radar-dot {
  position: absolute; width: 5px; height: 5px;
  border-radius: 50%; background: var(--green);
  box-shadow: 0 0 8px rgba(0,230,118,0.8);
  animation: qz-blip 3.2s ease infinite;
}
.qz-radar-dot.d1 { top: 24%; left: 64%; }
.qz-radar-dot.d2 { top: 60%; left: 26%; animation-delay: 1.1s; }
.qz-radar-dot.d3 { top: 72%; left: 70%; animation-delay: 2.2s; background: var(--cyan); box-shadow: 0 0 8px rgba(24,207,238,0.8); }
@keyframes qz-blip { 0%,18% { opacity: 1; transform: scale(1) } 55% { opacity: 0.15; transform: scale(0.6) } 100% { opacity: 1; transform: scale(1) } }

/* ── BOTÃO PRINCIPAL ── */
.qz-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 16px 24px;
  background: linear-gradient(135deg, #00e676, #00b85c);
  border: none; border-radius: 16px;
  color: #03150a; font-size: 15px; font-weight: 800;
  font-family: var(--font); letter-spacing: -0.2px;
  cursor: pointer; position: relative; overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,230,118,0.28), inset 0 1px 0 rgba(255,255,255,0.35);
  transition: transform 0.16s, opacity 0.25s, box-shadow 0.25s;
}
.qz-btn::after {
  content: ''; position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: qz-sheen 3.4s ease infinite;
}
@keyframes qz-sheen { 0%, 60% { left: -80% } 100% { left: 130% } }
.qz-btn:active { transform: scale(0.97); }
.qz-btn:disabled { opacity: 0.32; box-shadow: none; }
.qz-btn:disabled::after { display: none; }
.qz-btn i { font-size: 13px; }
.qz-btn.big { padding: 17px 24px; font-size: 16px; }

/* ── CARD DA PERGUNTA ── */
.qz-card {
  animation: qz-in-right 0.42s cubic-bezier(0.22,1,0.36,1) both;
}
.qz-card.from-left { animation: qz-in-left 0.42s cubic-bezier(0.22,1,0.36,1) both; }
.qz-card.exit-left  { animation: qz-out-left 0.22s ease both; }
.qz-card.exit-right { animation: qz-out-right 0.22s ease both; }
@keyframes qz-in-right { from { opacity: 0; transform: translateX(46px) } to { opacity: 1; transform: none } }
@keyframes qz-in-left  { from { opacity: 0; transform: translateX(-46px) } to { opacity: 1; transform: none } }
@keyframes qz-out-left  { to { opacity: 0; transform: translateX(-40px) } }
@keyframes qz-out-right { to { opacity: 0; transform: translateX(40px) } }

.qz-title {
  font-size: 26px; font-weight: 900; letter-spacing: -0.8px;
  line-height: 1.15; color: var(--text);
  margin-bottom: 8px;
}
.qz-sub {
  font-size: 13px; color: var(--text2); line-height: 1.55;
  margin-bottom: 26px; max-width: 330px;
}

/* ── OPÇÕES (lista) ── */
.qz-opts { display: flex; flex-direction: column; gap: 10px; }
.qz-opts.grid { flex-direction: row; flex-wrap: wrap; }

.qz-opt {
  width: 100%; padding: 15px 16px;
  background: linear-gradient(160deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 15px;
  color: var(--text); text-align: left; cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font);
  position: relative; overflow: hidden;
  transition: border-color 0.2s, background 0.2s, transform 0.14s, box-shadow 0.2s;
  animation: qz-opt-in 0.5s cubic-bezier(0.22,1,0.36,1) both;
  animation-delay: calc(60ms + var(--qz-i, 0) * 45ms);
}
@keyframes qz-opt-in { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
.qz-opt:active { transform: scale(0.975); }
.qz-opt-main { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.qz-opt-label { font-size: 14.5px; font-weight: 700; letter-spacing: -0.2px; }
.qz-opt-desc { font-size: 12px; color: var(--muted); font-weight: 500; line-height: 1.4; }
.qz-opt-tag {
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: 1px; color: var(--muted);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px; padding: 3px 7px; flex-shrink: 0;
  transition: all 0.2s;
}
.qz-opt-check {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: transparent;
  transition: all 0.22s cubic-bezier(0.34,1.56,0.64,1);
}
.qz-opt.sel {
  border-color: rgba(0,230,118,0.65);
  background: linear-gradient(160deg, rgba(0,230,118,0.13), rgba(0,230,118,0.05));
  box-shadow: 0 0 0 1px rgba(0,230,118,0.25), 0 6px 22px rgba(0,230,118,0.12);
}
.qz-opt.sel .qz-opt-label { color: #d9ffe9; }
.qz-opt.sel .qz-opt-tag { color: var(--green); border-color: rgba(0,230,118,0.4); }
.qz-opt.sel .qz-opt-check {
  background: var(--green); border-color: var(--green);
  color: #03150a; transform: scale(1.08);
  box-shadow: 0 0 12px rgba(0,230,118,0.55);
}
.qz-card.locked .qz-opt { pointer-events: none; }
.qz-card.locked .qz-opt:not(.sel) { opacity: 0.38; }

/* ── OPÇÕES (tiles em grid) ── */
.qz-opt.tile {
  width: calc(50% - 5px);
  flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 17px 10px; gap: 0;
}
.qz-opt.tile .qz-opt-main { align-items: center; }
.qz-opt.tile .qz-opt-check {
  position: absolute; top: 9px; right: 9px;
  width: 18px; height: 18px; font-size: 8px;
}

/* ── CTA fixo das perguntas multi ── */
.qz-cta-row { margin-top: 26px; }

/* ── PROCESSING (calibragem) ── */
.qz-processing {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px; padding: 20px 0 40px; text-align: center;
  animation: qz-rise 0.5s ease both;
}
.qz-processing .qz-radar { margin-bottom: 30px; }
.qz-processing .qz-radar .qz-radar-sweep { animation-duration: 1.6s; }
.qz-proc-steps {
  display: flex; flex-direction: column; gap: 13px;
  margin-top: 22px; text-align: left; min-width: 260px;
}
.qz-proc-step {
  display: flex; align-items: center; gap: 12px;
  opacity: 0.22; transition: opacity 0.4s;
}
.qz-proc-step.active { opacity: 1; }
.qz-ps-ind {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: transparent;
  transition: all 0.3s;
  position: relative;
}
.qz-proc-step.active:not(.done) .qz-ps-ind::after {
  content: ''; position: absolute; inset: -1.5px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: var(--green);
  animation: spin 0.7s linear infinite;
}
.qz-proc-step.done .qz-ps-ind {
  background: var(--green); border-color: var(--green); color: #03150a;
}
.qz-ps-label { font-size: 13.5px; font-weight: 600; color: var(--text2); letter-spacing: -0.1px; }
.qz-proc-step.done .qz-ps-label { color: var(--text); }

/* ── REVEAL (perfil calibrado) ── */
.qz-reveal {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 20px 0 30px;
  position: relative;
  animation: qz-rise 0.65s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes qz-rise { from { opacity: 0; transform: translateY(22px) } to { opacity: 1; transform: none } }
.qz-reveal-glow {
  position: absolute; top: 6%; left: 50%;
  width: 280px; height: 280px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0,230,118,0.16), transparent 65%);
  pointer-events: none; filter: blur(8px);
}
.qz-reveal-name {
  font-size: 38px; font-weight: 900; letter-spacing: -1.4px;
  line-height: 1.05; margin: 10px 0 14px;
  background: linear-gradient(135deg, #fff 25%, #00e676 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
.qz-reveal-desc {
  font-size: 13.5px; color: var(--text2); line-height: 1.65;
  max-width: 310px; margin-bottom: 30px; position: relative;
}
.qz-reveal-stats {
  display: flex; gap: 10px; width: 100%;
  margin-bottom: 32px; position: relative;
}
.qz-rstat {
  flex: 1; padding: 15px 8px;
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  display: flex; flex-direction: column; gap: 5px;
}
.qz-rstat b {
  font-size: 17px; font-weight: 800; color: var(--green);
  letter-spacing: -0.4px; text-transform: capitalize;
}
.qz-rstat span {
  font-size: 9.5px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 1px;
}

/* legado: compat com chamadas antigas */
.quiz-loading { display:flex; flex-direction:column; align-items:center; justify-content:center; padding:60px 20px; gap:16px; text-align:center; }
.quiz-spinner { width:32px; height:32px; border:3px solid var(--green-dim); border-top-color:#00ff66; border-radius:50%; animation: spin 0.8s linear infinite; }

/* ═══════════════════════════════════════════════════
   WELCOME TOUR
   ═══════════════════════════════════════════════════ */
.tour-wrap {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 32px 28px 48px;
  max-width: 430px; margin: 0 auto; width: 100%;
  text-align: center;
}
.tour-content { flex: 1; display: flex; flex-direction: column; justify-content: center; }

.tour-emoji {
  font-size: 72px; margin-bottom: 20px;
  animation: tour-bounce 0.6s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes tour-bounce { from{transform:scale(0.5);opacity:0} to{transform:scale(1);opacity:1} }

.tour-title {
  font-size: 22px; font-weight: 800; color: var(--text);
  margin-bottom: 14px; line-height: 1.3;
}
.tour-desc {
  font-size: 14px; color: var(--muted); line-height: 1.7;
  max-width: 340px; margin: 0 auto;
}

.tour-dots {
  display: flex; gap: 8px; justify-content: center;
  margin: 28px 0 20px;
}
.tour-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: all 0.2s;
}
.tour-dot.active {
  background: #00ff66;
  width: 20px; border-radius: 4px;
}

.tour-btn {
  width: 100%; padding: 16px;
  background: linear-gradient(135deg, #00ff66, #00cc52);
  border: none; border-radius: 16px;
  color: #000; font-size: 16px; font-weight: 800;
  cursor: pointer; margin-bottom: 12px;
  transition: transform 0.15s;
}
.tour-btn:active { transform: scale(0.97); }

.tour-skip {
  background: none; border: none;
  color: var(--muted); font-size: 13px;
  cursor: pointer; padding: 8px;
}

/* ═══════════════════════════════════════════════════
   USER PANEL (Bottom Sheet)
   ═══════════════════════════════════════════════════ */
.user-panel-overlay {
  position: fixed; inset: 0; z-index: 9200;
  background: rgba(6,9,13,0.85);
  backdrop-filter: blur(8px);
  display: flex; align-items: flex-end; justify-content: center;
}
.user-panel-overlay.hidden { display: none; }

.user-panel-sheet {
  width: 100%; max-width: 430px;
  background: #0d131a;
  border-radius: 24px 24px 0 0;
  border-top: 1px solid var(--green-dim);
  max-height: 90dvh; overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1);
}
.user-panel-sheet.open { transform: translateY(0); }

.user-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px 12px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
  background: #0d131a; z-index: 1;
}
.user-panel-title {
  font-size: 16px; font-weight: 700; color: var(--text);
}
.user-panel-body { padding: 16px 20px 40px; }

/* Hero do painel */
.up-hero {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 0 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.up-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,230,118,0.2), rgba(0,229,255,0.1));
  border: 2px solid #00ff66;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #00ff66;
  flex-shrink: 0;
}
.up-hero-info { flex: 1; min-width: 0; }
.up-nome { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.up-email { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-whatsapp { font-size: 11px; color: #25d366; margin-top: 2px; }

.up-plano-badge {
  font-size: 10px; font-weight: 800; color: #000;
  padding: 4px 10px; border-radius: 20px;
  white-space: nowrap; flex-shrink: 0;
}

/* Stats do perfil */
.up-stats-row {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 8px;
  margin-bottom: 16px;
}
.up-stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 8px; text-align: center;
}
.up-stat-val {
  font-size: 14px; font-weight: 800; margin-bottom: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.up-stat-val.green { color: #00ff66; }
.up-stat-val.cyan  { color: #00e5ff; }
.up-stat-val.yellow{ color: #ffd700; }
.up-stat-lbl { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.3px; }

/* Ligas favoritas */
.up-section { margin-bottom: 16px; }
.up-section-title { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.up-ligas-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.up-liga-chip {
  font-size: 11px; padding: 4px 10px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 20px; color: #00e5ff; font-weight: 600;
}

/* CTA PRO */
.up-pro-cta {
  background: linear-gradient(135deg, rgba(167,139,250,0.1), rgba(124,58,237,0.08));
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 14px; padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 16px;
}
.up-pro-cta-icon { font-size: 28px; text-align: center; }
.up-pro-cta-text { display: flex; flex-direction: column; gap: 4px; }
.up-pro-cta-text strong { font-size: 14px; font-weight: 700; color: var(--text); }
.up-pro-cta-text span  { font-size: 11px; color: var(--muted); line-height: 1.4; }
.up-pro-btn {
  width: 100%; padding: 12px;
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  border: none; border-radius: 12px;
  color: #fff; font-size: 13px; font-weight: 700;
  cursor: pointer;
}

/* Ações */
.up-actions { display: flex; flex-direction: column; gap: 8px; }
.up-action-btn {
  width: 100%; padding: 13px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  color: var(--text); font-size: 13px; font-weight: 600;
  text-align: left; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  transition: background 0.15s;
}
.up-action-btn:active { background: rgba(255,255,255,0.08); }
.up-action-btn.danger { color: #ff4466; border-color: rgba(255,68,102,0.2); }
.up-action-btn.danger:active { background: rgba(255,68,102,0.08); }

/* Edit form dentro do user panel */
.up-edit-form { padding: 8px 0; }
.up-edit-title {
  font-size: 15px; font-weight: 700; margin-bottom: 16px;
  color: var(--text);
}

/* ═══════════════════════════════════════════════════════
   COMO FUNCIONA — PAGE
   ═══════════════════════════════════════════════════════ */

#page-como-funciona .scroll-area {
  padding: 16px 16px 100px;
}

.how-hero-card {
  background: linear-gradient(135deg, var(--green-dim), rgba(0,204,82,0.06));
  border: 1px solid rgba(0,230,118,0.2);
  border-radius: 20px;
  padding: 28px 20px 24px;
  text-align: center;
  margin-bottom: 24px;
}
.how-hero-icon { font-size: 42px; margin-bottom: 10px; }
.how-hero-title {
  font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 6px;
}
.how-hero-sub {
  font-size: 13px; color: var(--text2); line-height: 1.5;
}

/* Passos */
.how-steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.how-step {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 16px;
}
.how-step-num {
  width: 36px; height: 36px; min-width: 36px;
  background: linear-gradient(135deg, #00ff66, #00cc52);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: #0a0f0a;
  flex-shrink: 0;
}
.how-step-body {}
.how-step-title {
  font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px;
}
.how-step-desc {
  font-size: 12px; color: var(--text2); line-height: 1.5;
}

/* Métricas */
.how-metrics-row {
  display: flex; gap: 10px;
  margin-bottom: 24px;
}
.how-metric {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
}
.how-metric-val {
  font-size: 22px; font-weight: 900;
  background: linear-gradient(135deg, #00ff66, #00cc52);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.how-metric-lbl {
  font-size: 11px; color: var(--text2); font-weight: 500;
}

/* Cards explicativos (Edge / QS) */
.how-edge-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}
.how-edge-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.how-edge-icon { font-size: 22px; }
.how-edge-title { font-size: 14px; font-weight: 700; color: var(--text); }
.how-edge-desc {
  font-size: 12px; color: var(--text2); line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════
   MEU PERFIL — PAGE
   ═══════════════════════════════════════════════════════ */

#page-meu-perfil .scroll-area {
  padding: 0 0 100px;
}
#page-meu-perfil .page-header {
  padding: 20px 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

#perfil-page-body { padding: 16px; }

/* Anônimo */
.perfil-anon {
  text-align: center; padding: 60px 20px;
}
.perfil-anon-icon { font-size: 56px; margin-bottom: 16px; }
.perfil-anon-title { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.perfil-anon-sub { font-size: 13px; color: var(--text2); margin-bottom: 24px; }

/* Hero */
.perfil-hero {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, var(--green-dim), rgba(0,204,82,0.04));
  border: 1px solid var(--green-dim);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 16px;
}
.perfil-avatar {
  width: 52px; height: 52px; min-width: 52px;
  background: linear-gradient(135deg, #00ff66, #00cc52);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: #0a0f0a;
}
.perfil-hero-info { flex: 1; min-width: 0; }
.perfil-nome { font-size: 16px; font-weight: 700; color: var(--text); }
.perfil-email { font-size: 12px; color: var(--text2); margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.perfil-plano-badge {
  display: inline-block;
  padding: 3px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 700; color: #fff;
}

/* Stats */
.perfil-stats-row {
  display: flex; gap: 10px; margin-bottom: 16px;
}
.perfil-stat {
  flex: 1; background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.07); border-radius: 14px;
  padding: 12px 8px; text-align: center;
}
.perfil-stat-val {
  font-size: 14px; font-weight: 800; margin-bottom: 3px;
}
.perfil-stat-val.green { color: #00ff66; }
.perfil-stat-val.cyan  { color: #00cfff; }
.perfil-stat-val.yellow { color: #ffd700; }
.perfil-stat-lbl { font-size: 10px; color: var(--text2); }

/* Seções */
.perfil-section {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 14px 14px 8px;
  margin-bottom: 12px;
}
.perfil-section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.perfil-section-title { font-size: 13px; font-weight: 700; color: var(--text); }
.perfil-edit-btn {
  background: var(--green-dim);
  border: 1px solid rgba(0,230,118,0.2);
  border-radius: 8px; padding: 5px 12px;
  color: #00ff66; font-size: 11px; font-weight: 700;
  cursor: pointer;
}
.perfil-info-list { display: flex; flex-direction: column; gap: 0; }
.perfil-info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 13px;
}
.perfil-info-row:last-child { border-bottom: none; }
.perfil-info-key { color: var(--text2); font-weight: 500; }
.perfil-info-val { color: var(--text); font-weight: 600; text-align: right; max-width: 60%; }
.perfil-missing { color: var(--text2); font-style: italic; font-weight: 400; }

/* CTA PRO */
.perfil-pro-cta {
  background: linear-gradient(135deg, rgba(167,139,250,0.12), rgba(124,58,237,0.08));
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 16px; padding: 16px; margin-bottom: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.perfil-pro-icon { font-size: 28px; text-align: center; }
.perfil-pro-text { text-align: center; }
.perfil-pro-text strong { display: block; font-size: 14px; color: var(--text); margin-bottom: 4px; }
.perfil-pro-text span { font-size: 12px; color: var(--text2); line-height: 1.4; }
.perfil-pro-btn {
  width: 100%; padding: 12px;
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  border: none; border-radius: 12px;
  color: #fff; font-size: 13px; font-weight: 700; cursor: pointer;
}

/* Ações */
.perfil-actions { margin-bottom: 8px; }
.perfil-action-btn {
  width: 100%; padding: 13px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  color: var(--text); font-size: 13px; font-weight: 600;
  text-align: left; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  transition: background 0.15s;
}
.perfil-action-btn.danger { color: #ff4466; border-color: rgba(255,68,102,0.2); }
.perfil-action-btn.danger:active { background: rgba(255,68,102,0.08); }

/* Edit form na página perfil */
.perfil-edit-wrap { padding: 4px 0; }
.perfil-edit-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.perfil-back-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%; color: var(--text); font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.perfil-edit-title { font-size: 16px; font-weight: 700; color: var(--text); }
.perfil-edit-sub { font-size: 13px; color: var(--text2); margin-bottom: 16px; line-height: 1.4; }

/* Select field */
select.auth-input {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300ff66' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
select.auth-input option {
  background: #131a13;
  color: #e8f5e8;
}

/* ═══════════════════════════════════════════════════════
   ASSERTIVIDADE BANNER — HISTÓRICO
   ═══════════════════════════════════════════════════════ */

.assertiv-banner {
  background: var(--card-bg);
  border: 1px solid var(--green-dim);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 16px;
}
.assertiv-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.assertiv-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--text);
}
.assertiv-icon { font-size: 16px; }
.assertiv-badge {
  font-size: 11px; font-weight: 800;
  padding: 4px 10px; border-radius: 20px;
}
.assertiv-bar-wrap {
  height: 10px; background: rgba(255,255,255,0.06);
  border-radius: 6px; overflow: hidden;
  position: relative; margin-bottom: 12px;
}
.assertiv-bar-fill {
  height: 100%; border-radius: 6px;
  transition: width 1s cubic-bezier(0.4,0,0.2,1);
}
.assertiv-bar-label {
  position: absolute; right: 6px; top: -1px;
  font-size: 8px; font-weight: 800;
  color: rgba(255,255,255,0.6);
  line-height: 10px;
}
.assertiv-stats-row {
  display: flex; gap: 8px; margin-bottom: 10px;
}
.assertiv-stat {
  flex: 1; text-align: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 8px 4px;
}
.assertiv-stat-val {
  font-size: 16px; font-weight: 800; margin-bottom: 2px;
  color: var(--text);
}
.assertiv-stat-val.green { color: #00ff66; }
.assertiv-stat-val.red   { color: #ff4466; }
.assertiv-stat-val.yellow { color: #ffd700; }
.assertiv-stat-lbl { font-size: 9px; color: var(--text2); }
.assertiv-footer {
  font-size: 10px; color: var(--text2); text-align: center;
}

/* ═══════════════════════════════════════════════════════
   SIMULAÇÃO DE BANCA — bloco no banner de assertividade
   ═══════════════════════════════════════════════════════ */
.sim-bloco {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px 14px 10px;
  margin: 12px 0 10px;
}
.sim-topo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.sim-icone {
  font-size: 22px;
  flex-shrink: 0;
}
.sim-texto {
  flex: 1;
  min-width: 0;
}
.sim-titulo {
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}
.sim-subtitulo {
  font-size: 10px;
  color: var(--text2);
  margin-top: 2px;
}
.sim-resultado {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  text-align: right;
}
.sim-frase {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text2);
  margin-bottom: 10px;
}
.sim-frase strong {
  font-weight: 800;
}
.sim-grafico {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
  background: rgba(0,0,0,0.15);
  padding: 4px 0 0;
}
.sim-rodape {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sim-tag {
  font-size: 10px;
  font-weight: 700;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  padding: 3px 9px;
  color: var(--text2);
}

/* ═══════════════════════════════════════════════════════
   MODAL ANALISE — MELHORIAS
   ═══════════════════════════════════════════════════════ */

/* Resumo da aposta em PT-BR no topo do modal */
.modal-aposta-resumo {
  display: flex; align-items: center; gap: 12px;
  background: var(--green-dim);
  border: 1px solid rgba(0,255,102,0.18);
  border-radius: 14px; padding: 14px 16px;
  margin: 14px 0 12px;
}
.modal-aposta-icone { font-size: 28px; flex-shrink: 0; }
.modal-aposta-info  { flex: 1; min-width: 0; }
.modal-aposta-mercado {
  font-size: 11px; font-weight: 700;
  color: var(--text2); text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 3px;
}
.modal-aposta-side {
  font-size: 15px; font-weight: 800; color: #00ff66;
  line-height: 1.2;
}
.modal-aposta-odd   { text-align: right; flex-shrink: 0; }
.modal-odd-num {
  font-size: 24px; font-weight: 900; color: var(--text); line-height: 1;
}
.modal-odd-casa {
  font-size: 10px; color: var(--text2); margin-top: 2px;
}

/* Por que foi indicada */
.modal-porque-bloco {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; padding: 14px;
  margin-bottom: 14px;
}
.modal-porque-titulo {
  font-size: 12px; font-weight: 700; color: var(--text);
  margin-bottom: 8px;
}
.modal-porque-texto {
  font-size: 12px; color: var(--text2); line-height: 1.55;
  margin-bottom: 10px;
}
.modal-porque-fatores {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.fator-chip {
  font-size: 10px; font-weight: 600; padding: 3px 10px;
  border-radius: 20px;
}
.fator-chip.verde  { background: var(--green-dim); color: #00ff66; border: 1px solid rgba(0,230,118,0.2); }
.fator-chip.amarelo { background: rgba(255,215,0,0.12); color: #ffd700; border: 1px solid rgba(255,215,0,0.2); }
.fator-chip.azul   { background: rgba(0,207,255,0.12); color: #00cfff; border: 1px solid rgba(0,207,255,0.2); }

/* Como fazer a aposta */
.modal-como-apostar {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; padding: 14px;
  margin-bottom: 14px;
}
.modal-como-titulo {
  font-size: 12px; font-weight: 700; color: var(--text);
  margin-bottom: 12px;
}
.modal-como-steps { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.como-step {
  display: flex; align-items: flex-start; gap: 10px;
}
.como-step-num {
  width: 22px; height: 22px; min-width: 22px;
  background: linear-gradient(135deg,#00ff66,#00cc52);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: #0a0f0a;
  flex-shrink: 0;
}
.como-step-txt {
  font-size: 12px; color: var(--text2); line-height: 1.5;
  padding-top: 2px;
}
.como-step-txt strong { color: var(--text); }
.modal-como-aviso {
  font-size: 11px; color: var(--text2); line-height: 1.5;
  background: rgba(255,215,0,0.06); border: 1px solid rgba(255,215,0,0.15);
  border-radius: 8px; padding: 10px 12px;
}
.modal-como-aviso strong { color: #ffd700; }

/* Hist card melhorado com termos PT-BR */
.hist-sub-aposta {
  display: flex; flex-wrap: wrap; gap: 4px 6px;
  align-items: center; margin-top: 3px;
}
.hist-mercado-pt {
  font-size: 10px; font-weight: 700;
  color: var(--text2); text-transform: uppercase; letter-spacing: 0.4px;
}
.hist-side-pt {
  font-size: 11px; font-weight: 700; color: var(--text);
}
.hist-odd-pt, .hist-liga-pt {
  font-size: 10px; color: var(--text2);
}
.hist-liga-pt::before { content: '·'; margin-right: 4px; }


/* ═══════════════════════════════════════════════════════════════
   DASHBOARD RADAR — v5 Silicon Valley Design System
═══════════════════════════════════════════════════════════════ */

/* ── HERO ──────────────────────────────────────────────────── */
.dr-hero {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px 18px 18px;
  margin-bottom: 12px;
  overflow: hidden;
}

/* fundo sutil — não grita, apenas respira */
.dr-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 90% 15%, rgba(0,230,118,0.07) 0%, transparent 100%),
    radial-gradient(ellipse 40% 50% at 5% 85%, rgba(24,207,238,0.04) 0%, transparent 100%);
  pointer-events: none;
}

/* linha de acento sutil no topo */
.dr-hero::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(0,230,118,0.35) 50%, transparent 90%);
}

/* Partículas — mais discretas */
.dr-hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.dr-particle {
  position: absolute;
  left: var(--x); top: var(--y);
  width: var(--s); height: var(--s);
  background: var(--green);
  border-radius: 50%;
  opacity: 0;
  animation: drPulse var(--d) ease-in-out infinite alternate;
}
@keyframes drPulse {
  0%   { opacity: 0; transform: scale(0.5); }
  100% { opacity: 0.35; transform: scale(1.2); }
}

/* Topo hero */
.dr-hero-top {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.dr-hero-brand { display: flex; align-items: center; gap: 7px; }
.dr-hero-brand-txt {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.8px; color: var(--text2);
  text-transform: uppercase;
}
.dr-hero-version {
  font-size: 9px; color: var(--green);
  font-weight: 600; letter-spacing: 0.3px;
  background: var(--green-dim);
  border: 1px solid rgba(0,230,118,0.2);
  padding: 2px 8px; border-radius: 20px;
}

/* Centro: número + radar */
.dr-hero-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.dr-hero-num-block { flex: 1; min-width: 0; }
.dr-hero-num-label {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.3px; color: var(--text2);
  margin-bottom: 6px;
}
.dr-hero-num {
  font-size: 76px; font-weight: 800;
  color: var(--green); line-height: 0.9;
  letter-spacing: -4px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}
.dr-hero-num-sub {
  font-size: 11px; color: var(--text2);
  margin-top: 8px; font-weight: 400;
  letter-spacing: -0.1px;
}

/* Radar no hero */
.dr-radar-ring {
  flex-shrink: 0;
  position: relative;
  opacity: 0.85;
}
.dr-radar-sweep {
  transform-origin: 70px 70px;
  animation: drSweep 4s linear infinite;
}
@keyframes drSweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.dr-blip1 { animation: drBlipFade 3s 0s ease-in-out infinite; }
.dr-blip2 { animation: drBlipFade 3s 1s ease-in-out infinite; }
.dr-blip3 { animation: drBlipFade 3s 2s ease-in-out infinite; }
@keyframes drBlipFade {
  0%,100% { opacity: 0.15; r: 3; }
  50%     { opacity: 1;    r: 5; }
}

/* KPIs inline — clean, sem glassmorphism exagerado */
.dr-hero-kpis {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 14px;
  position: relative; z-index: 1;
}
.dr-kpi {
  display: flex; flex-direction: column;
  align-items: center; gap: 3px; flex: 1;
}
.dr-kpi-val {
  font-size: 15px; font-weight: 700;
  line-height: 1; letter-spacing: -0.3px;
  font-variant-numeric: tabular-nums;
}
.dr-kpi-lbl {
  font-size: 9px; font-weight: 500;
  color: var(--text2); letter-spacing: 0.2px;
  text-transform: uppercase;
}
.dr-kpi-sep {
  width: 1px; height: 24px;
  background: var(--border);
}

/* CTA button — sólido, não fluorescente */
.dr-hero-cta {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; width: 100%;
  background: var(--green);
  color: #000; border: none;
  padding: 14px 20px; border-radius: var(--radius);
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.1px; cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
  position: relative; z-index: 1;
}
.dr-hero-cta:active {
  transform: scale(0.98);
  opacity: 0.9;
}
.dr-hero-cta i { font-size: 12px; }

/* Live pulse — discreto */
.dr-live-pulse {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--green); border-radius: 50%;
  animation: drLivePulse 2s ease-out infinite;
  flex-shrink: 0;
}
.dr-live-pulse.small { width: 6px; height: 6px; }
@keyframes drLivePulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.5; transform: scale(0.85); }
}

/* ── SEARCH BAR ───────────────────────────────────────────── */
.dr-search-section { margin-bottom: 12px; }
.dr-search-box {
  background: rgba(255,255,255,0.03) !important;
  border-color: var(--border) !important;
  border-radius: var(--radius) !important;
}

/* ── STAT CARDS 3-COL ─────────────────────────────────────── */
.dr-glass-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.dr-glass-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 10px 12px;
  overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; gap: 4px;
  transition: border-color 0.2s;
}
/* linha de cor no topo — única concessão ao estilo */
.dr-glass-card::before {
  content: '';
  position: absolute; top: 0; left: 16px; right: 16px;
  height: 2px;
  background: var(--accent, var(--green));
  border-radius: 0 0 2px 2px;
  opacity: 0.7;
}
.dr-glass-card:active { background: var(--card2); }

.dr-glass-icon {
  font-size: 14px;
  color: var(--accent, var(--green));
  margin-bottom: 2px;
}
.dr-glass-val {
  font-size: 17px; font-weight: 700;
  line-height: 1; letter-spacing: -0.3px;
  font-variant-numeric: tabular-nums;
}
.dr-glass-lbl {
  font-size: 9px; font-weight: 500;
  color: var(--text2);
  letter-spacing: 0.1px; text-align: center;
}
.dr-glass-bar {
  width: 100%; height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px; overflow: hidden;
  margin-top: 8px;
}
.dr-glass-fill {
  height: 100%;
  width: var(--pct, 0%);
  border-radius: 999px;
  animation: drFillIn 1s cubic-bezier(0.25,1,0.5,1) forwards;
}
@keyframes drFillIn {
  from { width: 0 }
  to   { width: var(--pct, 0%) }
}

/* ── SECTION HEADERS ──────────────────────────────────────── */
.dr-section-hdr {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 10px; margin-top: 4px;
}
.dr-section-ttl {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.3px; color: var(--text2);
  display: flex; align-items: center; gap: 6px;
  text-transform: uppercase;
}
.dr-section-ttl i { color: var(--green); font-size: 10px; }
.dr-section-more {
  font-size: 11px; font-weight: 600; color: var(--green);
  background: none; border: none; cursor: pointer;
  letter-spacing: 0.1px;
}
.dr-section-badge {
  display: flex; align-items: center; gap: 5px;
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.3px; color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(0,230,118,0.2);
  padding: 3px 9px; border-radius: 20px;
}

/* ── SYSTEM STATUS CARD ───────────────────────────────────── */
.dr-system-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 12px;
  margin-top: 4px;
}
.dr-sys-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.dr-sys-title {
  font-size: 12px; font-weight: 600;
  color: var(--text);
  display: flex; align-items: center; gap: 7px;
}
.dr-sys-title i { color: var(--cyan); font-size: 13px; }
.dr-sys-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(0,230,118,0.2);
  padding: 4px 10px; border-radius: 20px;
}
.dr-sys-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 6px;
}
.dr-sys-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 3px;
  padding: 10px 4px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.dr-sys-val {
  font-size: 13px; font-weight: 700;
  line-height: 1; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.dr-sys-lbl {
  font-size: 9px; font-weight: 500;
  color: var(--text2); letter-spacing: 0.1px;
}

/* ╔══════════════════════════════════════════════════════════════╗
   ║  v6 — BILLION DOLLAR EDITION                                  ║
   ║  Design direction: profundidade real, tipografia editorial,   ║
   ║  cromático contido, micro-interações com física.              ║
   ╚══════════════════════════════════════════════════════════════╝ */

:root {
  /* paleta v6 — fundo mais profundo, verde mais sofisticado */
  --bg:        #06090d;
  --bg2:       #090d13;
  --card:      #0d1219;
  --card2:     #111824;
  --border:    rgba(148,184,220,0.08);
  --border2:   rgba(148,184,220,0.14);

  --green:     #2bdc7e;
  --green2:    #1fc46c;
  --green-dim: rgba(43,220,126,0.10);
  --cyan:      #38c8e8;
  --cyan-dim:  rgba(56,200,232,0.10);
  --yellow:    #e8c247;
  --yellow-dim:rgba(232,194,71,0.10);
  --red:       #f6516f;
  --red-dim:   rgba(246,81,111,0.10);

  --text:      #f2f6fa;
  --text2:     #93a4b8;
  --muted:     #5b6e80;

  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  /* sombras em camadas — profundidade real */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.35), 0 8px 24px rgba(0,0,0,0.25);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.4), 0 16px 48px rgba(0,0,0,0.35);

  /* curvas de animação premium */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* fundo com gradiente ambiental sutil — nunca chapado */
html, body {
  background:
    radial-gradient(ellipse 100% 60% at 50% -10%, rgba(43,220,126,0.05) 0%, transparent 60%),
    var(--bg);
}
#app { background: transparent; }

/* ── NÚMEROS SEMPRE EM MONO TABULAR ───────────────────────── */
.dr-hero-num, .dr-kpi-val, .pc-odd-val, .pc-stat-val,
.hstat-val, .assertiv-stat-val, .dr-sys-val, .copa-odd-val,
.liga-chip-cnt, .how-metric-val {
  font-family: var(--font-mono);
  font-feature-settings: 'tnum', 'zero';
  letter-spacing: -0.5px;
}

/* ── TOPBAR — vidro real ──────────────────────────────────── */
.topbar {
  background: rgba(6,9,13,0.82);
  border-bottom: 1px solid var(--border);
}
.logo-icon {
  background: linear-gradient(135deg, #2bdc7e 0%, #1aa85c 100%);
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(43,220,126,0.25), inset 0 1px 0 rgba(255,255,255,0.25);
}
.copa-badge {
  background: rgba(232,194,71,0.08);
  border-color: rgba(232,194,71,0.18);
}
.avatar-btn, #avatar-topbar-btn {
  box-shadow: 0 0 0 1.5px rgba(43,220,126,0.35);
  border-radius: 50%;
}

/* ── HERO — peça central ──────────────────────────────────── */
.dr-hero {
  background:
    radial-gradient(ellipse 90% 70% at 85% 0%, rgba(43,220,126,0.07) 0%, transparent 55%),
    linear-gradient(180deg, #0e141d 0%, #0b1017 100%);
  border: 1px solid var(--border2);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.04);
  border-radius: 24px;
  padding: 22px 20px 20px;
}
.dr-hero::after {
  background: linear-gradient(90deg, transparent 5%, rgba(43,220,126,0.5) 50%, transparent 95%);
  height: 1.5px;
}
.dr-hero-num {
  font-size: 72px;
  font-weight: 700;
  background: linear-gradient(180deg, #4aeC95 0%, #1fc46c 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(43,220,126,0.25));
}
.dr-hero-num.scanning {
  font-size: 52px;
  letter-spacing: 4px;
  animation: scanDots 1.6s ease-in-out infinite;
}
@keyframes scanDots {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 1; }
}
.dr-hero-num-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text2);
}
.dr-hero-num-sub { font-size: 12px; line-height: 1.45; max-width: 200px; }

.dr-hero-kpis {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.dr-kpi-val { font-size: 16px; }
.dr-kpi-val.green  { color: var(--green); }
.dr-kpi-val.cyan   { color: var(--cyan); }
.dr-kpi-val.yellow { color: var(--yellow); }

.dr-hero-cta {
  background: linear-gradient(180deg, #33e88a 0%, #22cc70 100%);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(43,220,126,0.3), inset 0 1px 0 rgba(255,255,255,0.35);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.2px;
  padding: 15px 20px;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
}
.dr-hero-cta:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(43,220,126,0.2), inset 0 1px 0 rgba(255,255,255,0.35);
}

/* ── BOTTOM NAV — flutuante com vidro ─────────────────────── */
.bottom-nav {
  background: rgba(8,11,16,0.88);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border-top: 1px solid rgba(148,184,220,0.1);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.45);
}
.bnav-btn { font-size: 9.5px; gap: 5px; }
.bnav-btn i { font-size: 18px; }
.bnav-btn.active i {
  filter: drop-shadow(0 0 8px rgba(43,220,126,0.5));
  transform: translateY(-1px);
}
.bnav-btn.active::before {
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  height: 2.5px; width: 26px;
}

/* ── CHIPS — refinados ────────────────────────────────────── */
.chip {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  padding: 7px 15px;
  font-size: 12px;
  border-radius: 99px;
  transition: all 0.2s var(--ease-out);
}
.chip.active {
  background: var(--green-dim);
  border-color: rgba(43,220,126,0.35);
  color: var(--green);
  box-shadow: 0 0 12px rgba(43,220,126,0.08), inset 0 1px 0 rgba(43,220,126,0.1);
}
.chip-green.active, .chip.chip-green.active { color: var(--green); }
.chip-red.active  { background: var(--red-dim); border-color: rgba(246,81,111,0.35); color: var(--red); }

/* ── PICK CARDS — joia da coroa ───────────────────────────── */
.pick-card {
  background: linear-gradient(180deg, #0e141d 0%, #0c1119 100%);
  border: 1px solid var(--border2);
  border-left: none;
  border-radius: 20px;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.03);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, border-color 0.25s;
}
.pick-card::before {
  content: '';
  position: absolute;
  left: 0; top: 16px; bottom: 16px;
  width: 3px;
  background: linear-gradient(180deg, var(--green), rgba(43,220,126,0.2));
  border-radius: 0 3px 3px 0;
}
.pick-card:active { transform: scale(0.985); }
.pick-card.pick-top-pick::before {
  background: linear-gradient(180deg, #ffd700, rgba(255,215,0,0.2));
}

.pc-pick-block {
  background: linear-gradient(90deg, rgba(43,220,126,0.05) 0%, rgba(43,220,126,0.015) 100%);
  border-top: 1px solid rgba(43,220,126,0.12);
  border-bottom: 1px solid rgba(43,220,126,0.12);
}
.pc-odd-val { font-size: 30px; font-weight: 700; }
.pc-pick-side { font-size: 19px; }
.pc-pick-side.over { color: var(--green); }

.pc-cta-btn {
  background: linear-gradient(180deg, #33e88a 0%, #22cc70 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
  font-size: 14px;
}
.pc-stat-val { font-size: 17px; font-weight: 700; }
.pc-stat-val.edge-val { color: var(--green); }

/* ── GLASS/SYSTEM CARDS ───────────────────────────────────── */
.dr-system-card, .empty-state-card, .assertiv-banner,
.how-hero-card, .how-step, .how-edge-card, .agent-card,
.copa-jogo-card, .thermo-card {
  background: linear-gradient(180deg, #0e141d 0%, #0c1119 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.03);
  border-radius: 18px;
}

/* ── EMPTY STATE — radar animado ──────────────────────────── */
.empty-state-card { padding: 44px 24px 36px; }
.empty-state-radar {
  position: relative;
  width: 72px; height: 72px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
}
.empty-state-radar i {
  font-size: 26px;
  color: var(--green);
  filter: drop-shadow(0 0 12px rgba(43,220,126,0.4));
  position: relative; z-index: 2;
}
.empty-state-radar.neutral i {
  color: var(--text2);
  filter: none;
}
.esr-ring {
  position: absolute; inset: 0;
  border: 1.5px solid rgba(43,220,126,0.4);
  border-radius: 50%;
  animation: esrPing 2.4s var(--ease-out) infinite;
}
.esr-ring.r2 { animation-delay: 0.8s; }
.esr-ring.r3 { animation-delay: 1.6s; }
@keyframes esrPing {
  0%   { transform: scale(0.45); opacity: 0.9; }
  100% { transform: scale(1.25); opacity: 0; }
}
.empty-state-title { font-size: 15px; letter-spacing: -0.3px; }
.empty-state-sub { font-size: 12px; color: var(--text2); }
.empty-state-meta {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 16px;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(43,220,126,0.2);
  padding: 5px 12px; border-radius: 99px;
}

/* ── ONBOARDING — bottom sheet premium ────────────────────── */
#onboarding-tip {
  position: fixed; inset: 0;
  bottom: auto; left: auto; transform: none;
  width: 100%; height: 100%;
  max-width: none;
  background: none; border: none; box-shadow: none;
  padding: 0; border-radius: 0;
  z-index: 800;
  animation: none;
}
.ob-backdrop {
  position: absolute; inset: 0;
  background: rgba(3,5,8,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: obFade 0.3s ease both;
}
@keyframes obFade { from { opacity: 0 } to { opacity: 1 } }
.ob-sheet {
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 100%; max-width: 430px;
  background: linear-gradient(180deg, #101724 0%, #0c1119 100%);
  border: 1px solid var(--border2);
  border-bottom: none;
  border-radius: 24px 24px 0 0;
  padding: 12px 22px calc(24px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -16px 64px rgba(0,0,0,0.6);
  animation: obSlide 0.45s var(--ease-out) both;
}
@keyframes obSlide {
  from { transform: translateX(-50%) translateY(100%); }
  to   { transform: translateX(-50%) translateY(0); }
}
.ob-handle {
  width: 40px; height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 99px;
  margin: 0 auto 18px;
}
.ob-eyebrow {
  display: flex; align-items: center; gap: 7px;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 1.5px; color: var(--green);
  margin-bottom: 8px;
}
#onboarding-tip .onboarding-title {
  font-size: 20px; font-weight: 800;
  color: var(--text); letter-spacing: -0.5px;
  margin-bottom: 18px;
}
#onboarding-tip .onboarding-item {
  display: flex; gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 12.5px; line-height: 1.55;
  color: var(--text2);
}
#onboarding-tip .onboarding-item strong { color: var(--text); font-weight: 700; }
.ob-ico {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px;
  font-size: 14px;
}
.ob-ico.green  { background: var(--green-dim);  color: var(--green);  border: 1px solid rgba(43,220,126,0.2); }
.ob-ico.cyan   { background: var(--cyan-dim);   color: var(--cyan);   border: 1px solid rgba(56,200,232,0.2); }
.ob-ico.yellow { background: var(--yellow-dim); color: var(--yellow); border: 1px solid rgba(232,194,71,0.2); }
#onboarding-tip .onboarding-close {
  margin-top: 8px;
  background: linear-gradient(180deg, #33e88a 0%, #22cc70 100%);
  color: #04130a;
  font-size: 14px; font-weight: 800;
  text-align: center;
  padding: 14px;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
  cursor: pointer;
}

/* ── SEARCH ───────────────────────────────────────────────── */
.liga-search-box {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border2);
  border-radius: 14px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}
.liga-search-box:focus-within {
  border-color: rgba(43,220,126,0.45);
  box-shadow: 0 0 0 3px rgba(43,220,126,0.08), inset 0 1px 3px rgba(0,0,0,0.2);
}

/* ── HOW / COMO FUNCIONA ──────────────────────────────────── */
.how-hero-card {
  background:
    radial-gradient(ellipse 80% 90% at 50% -20%, rgba(43,220,126,0.1) 0%, transparent 60%),
    linear-gradient(180deg, #0e141d 0%, #0c1119 100%);
}
.how-hero-icon {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(43,220,126,0.25);
  border-radius: 18px;
  box-shadow: 0 0 24px rgba(43,220,126,0.12);
}
.how-step-num {
  background: linear-gradient(180deg, #33e88a 0%, #22cc70 100%);
  box-shadow: 0 2px 8px rgba(43,220,126,0.3);
}
.how-edge-title { display: flex; align-items: center; gap: 8px; }
.how-edge-title i { font-size: 13px; }

/* ── MODAL ────────────────────────────────────────────────── */
.modal-box {
  background: linear-gradient(180deg, #101724 0%, #0c1119 100%);
  border: 1px solid var(--border2);
  box-shadow: 0 -16px 64px rgba(0,0,0,0.6);
}

/* ── PERFIL / AUTH ────────────────────────────────────────── */
.auth-sheet {
  background: linear-gradient(180deg, #101724 0%, #0c1119 100%);
  border: 1px solid var(--border2);
}
.auth-btn {
  background: linear-gradient(180deg, #33e88a 0%, #22cc70 100%);
  box-shadow: 0 4px 16px rgba(43,220,126,0.25), inset 0 1px 0 rgba(255,255,255,0.35);
  border-radius: 14px;
  font-weight: 800;
}
.auth-input {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border2);
  border-radius: 13px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-input:focus {
  border-color: rgba(43,220,126,0.45);
  box-shadow: 0 0 0 3px rgba(43,220,126,0.08);
}

/* ── SCROLL REVEAL stagger nos cards ──────────────────────── */
.picks-list .pick-card { animation: cardIn 0.4s var(--ease-out) both; }
.picks-list .pick-card:nth-child(1) { animation-delay: 0.02s; }
.picks-list .pick-card:nth-child(2) { animation-delay: 0.07s; }
.picks-list .pick-card:nth-child(3) { animation-delay: 0.12s; }
.picks-list .pick-card:nth-child(4) { animation-delay: 0.17s; }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}

/* ── SKELETONS shimmer mais suave ─────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

/* ── reduce motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
