/* ============================================================
   OverLayScore — layout estilo LayScore (lista · detalhe), 2 colunas
   Identidade-base PROVISÓRIA (trocar quando sair o logo oficial):
     verde-menta #2BE5A0 (accent) · azul elétrico #3D5AFE (primary)
   Rebatizar/recolorir = mexer só nas variáveis :root abaixo.
   ============================================================ */
:root {
  /* Tema Grafite Clean — base grafite neutra, acento ciano discreto */
  --bg: #0f1116;        /* grafite */
  --panel: #171a20;
  --panel-2: #1d2128;
  --panel-3: #272c35;
  --border: #2a2f39;
  --text: #e8ebf1;
  --text-dim: #889;
  --accent: #4fa6ea;    /* azul-céu (tom da imagem de referência) */
  --accent-dim: #3d8fd6;
  --primary: #3b82d6;   /* azul (secundária) */
  --primary-hv: #4f93e4;
  --home: #4fa6ea;
  --away: #e25563;
  --win: #2ebd77;
  --loss: #e25563;
  --warn: #e0a92e;
  /* cores semânticas FIXAS p/ previsões e destaques (não mudam com o tema) */
  --good: #2ebd77;      /* verde */
  --mid: #e0a92e;       /* dourado */
  --bad: #e25563;       /* vermelho */
  --radius: 10px;
  --radius-sm: 7px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  color: var(--text); font-size: 14px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; letter-spacing: -0.1px;
  background:
    radial-gradient(1200px 560px at 85% -12%, rgba(79,166,234,.05), transparent 62%),
    var(--bg);
  background-attachment: fixed;
}
button { font-family: inherit; cursor: pointer; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--panel-3); border-radius: 4px; }
.accent { color: var(--accent); }
.muted { color: var(--text-dim); }
code { background: var(--panel-3); padding: 1px 5px; border-radius: 4px; font-size: 12px; }

/* ---------- Topbar / navegação ---------- */
.topbar { display: flex; align-items: center; gap: 36px; height: 66px; padding: 0 26px; background: linear-gradient(180deg, #10161e, var(--bg)); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 8px 24px -16px rgba(0,0,0,.7); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo-mark { flex: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.brand-word { font-weight: 800; letter-spacing: .2px; font-size: 20px; color: var(--text); }
.brand-word b { color: var(--accent); }
.nav { display: flex; gap: 26px; margin-left: 8px; }
.nav a { display: inline-flex; align-items: center; gap: 7px; color: var(--text-dim); text-decoration: none; font-weight: 600; padding: 4px 0; position: relative; }
.nav a:hover { color: var(--text); }
.nav-ico { width: 16px; height: 16px; flex: 0 0 auto; }
.nav-horus-eye { font-size: 16px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.prev-horus-eye { color: #d4af37; }
.nav a.active { color: var(--text); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -22px; height: 3px; background: var(--accent); border-radius: 3px; }
.topbar .user { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-dim); }

/* ---------- Layout (filtros · lista · detalhe) ---------- */
.layout { display: grid; grid-template-columns: 280px 380px minmax(0, 1fr); gap: 16px; padding: 16px 20px; height: calc(100vh - 64px); max-width: 1680px; }
#slot-fp-jogos { height: 100%; }

/* ============================================================
   PAINEL DE FILTROS — layout fiel ao LayScore
   ============================================================ */
.filters-panel { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 0; }
/* O painel de filtros mora no topo do HTML e o JS o move pro slot (Jogos/Backteste). Até ser
   movido (no load), ele aparecia em TELA CHEIA por 1 instante. Fix: oculto na posição padrão,
   visível só dentro de um slot. */
#the-filter-panel { display: none; }
#slot-fp-jogos > #the-filter-panel, #slot-fp-bt > #the-filter-panel { display: flex; }
/* Painel é flex-column com scroll: sem isto o flexbox COMPRIME os filhos (ex.: a lista de
   condições encolhe ao min-height e esconde a 2ª condição). flex-shrink:0 faz o painel
   ROLAR em vez de cortar. */
.filters-panel > * { flex-shrink: 0; }
.fp-cond-list { height: auto; }

/* título */
.fp-title { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 800; color: var(--accent); margin-bottom: 16px; }

/* labels */
.fp-label { font-size: 11px; font-weight: 700; color: var(--text); margin: 13px 0 6px; display: block; }
.fp-label-row { display: flex; justify-content: space-between; align-items: center; }
.fp-counter { font-size: 11px; font-weight: 500; color: var(--text-dim); }
.fp-hint-inline { font-size: 10px; font-weight: 400; color: var(--text-dim); text-transform: none; letter-spacing: 0; }

/* select + input */
.fp-select, .fp-input { width: 100%; background: var(--panel-2); border: 1px solid var(--border); color: var(--text); padding: 9px 11px; border-radius: 8px; font-size: 13px; font-family: inherit; }
.fp-input::placeholder { color: var(--text-dim); }
.fp-select:focus, .fp-input:focus { outline: none; border-color: var(--accent); }

/* segmented */
.fp-seg { background: var(--panel-2); border: 1px solid var(--border); border-radius: 8px; padding: 3px; gap: 2px; display: grid; margin-bottom: 2px; }
.fp-seg2 { grid-template-columns: 1fr 1fr; }
.fp-seg3 { grid-template-columns: 1fr 1fr 1fr; }
.fp-seg4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
/* cols-5: 3 na 1ª linha, 2 na 2ª — igual ao LayScore */
.fp-seg5 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: transparent; border: none; padding: 0; }
.fp-seg5 .fp-sb { background: var(--panel-2); border: 1px solid var(--border); }
.fp-seg5 .fp-sb.on { background: var(--panel-3); color: var(--accent); border-color: rgba(79,166,234,.4); }
.fp-sb { background: transparent; border: 0; color: var(--text-dim); font-weight: 700; font-size: 12px; padding: 8px 4px; border-radius: 6px; transition: .15s; }
.fp-sb:hover { color: var(--text); }
.fp-sb.on { background: linear-gradient(180deg, var(--accent), var(--accent-dim)); color: #06120d; font-weight: 800; box-shadow: 0 0 0 1px var(--accent), 0 2px 8px rgba(79,166,234,.3); transform: translateY(-1px); }
/* override col-5 active */
.fp-seg5 .fp-sb.on { background: var(--panel-3); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(79,166,234,.25); transform: none; }

/* op pills (Validação) */
.fp-op-pills { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-bottom: 8px; }
.fp-op { display: flex; flex-direction: column; align-items: center; gap: 2px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 7px; padding: 7px 4px; cursor: pointer; transition: .15s; }
.fp-op:hover { border-color: var(--accent-dim); }
.fp-op.on { background: linear-gradient(180deg, var(--accent), var(--accent-dim)); border-color: var(--accent); box-shadow: 0 2px 8px rgba(79,166,234,.3); }
.fp-op-sym { font-size: 14px; font-weight: 800; color: var(--text-dim); }
.fp-op-lbl { font-size: 9px; font-weight: 700; color: var(--text-dim); white-space: nowrap; }
.fp-op.on .fp-op-sym, .fp-op.on .fp-op-lbl { color: #06120d; }

/* hint de valor */
.fp-val-hint { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text-dim); margin: 4px 0 6px; }

/* botão adicionar */
.fp-btn-add { width: 100%; margin-top: 8px; background: var(--panel-3); border: 1px solid var(--border); color: var(--text-dim); padding: 10px; border-radius: 8px; font-weight: 700; font-size: 12.5px; transition: .15s; }
.fp-btn-add:not(:disabled):hover { background: var(--panel-2); color: var(--accent); border-color: var(--accent); }
.fp-btn-add:disabled { opacity: .5; cursor: not-allowed; }

/* botão filtrar campeonatos */
.fp-btn-leagues { width: 100%; display: flex; align-items: center; gap: 8px; background: var(--panel-2); border: 1px solid var(--border); color: var(--text); padding: 10px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; }
.fp-btn-leagues:hover { border-color: var(--accent); }
.fp-btn-leagues + .fp-lg-panel { position: relative; width: 100%; margin-top: 4px; }

/* lista de condições */
.fp-cond-list { background: var(--panel-2); border: 1px solid var(--border); border-radius: 8px; padding: 8px; min-height: 50px; margin-top: 2px; margin-bottom: 10px; }
.fp-cond-empty { color: var(--text-dim); font-size: 12px; text-align: center; padding: 6px 0; }
.fp-cond-item { display: flex; justify-content: space-between; align-items: center; background: var(--panel-3); border: 1px solid var(--border); border-radius: 6px; padding: 7px 10px; margin-bottom: 5px; font-size: 12px; }
.fp-cond-item:last-child { margin-bottom: 0; }
.fp-cond-tag { display: inline-block; background: rgba(79,166,234,.14); color: var(--accent); font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px; margin-right: 5px; }
.fp-cond-ctx { display: inline-block; background: rgba(224,171,54,.16); color: #e0ab36; font-size: 9.5px; font-weight: 800; letter-spacing: .2px; padding: 2px 6px; border-radius: 4px; margin-right: 5px; }
.fp-cond-op { color: var(--accent); font-weight: 700; margin: 0 3px; }
.fp-cond-del { background: transparent; border: 0; color: var(--text-dim); padding: 2px 5px; border-radius: 4px; font-size: 13px; }
.fp-cond-del:hover { color: var(--away); }

/* actions row */
.fp-actions { display: grid; grid-template-columns: 1fr 42px; gap: 8px; margin-bottom: 8px; }
.fp-btn-filtrar { background: var(--primary); border: 0; color: #fff; padding: 11px; border-radius: 8px; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 7px; transition: .15s; }
.fp-btn-filtrar:hover { background: var(--primary-hv); }
.fp-btn-filtrar.active { background: var(--accent); color: #06120d; }
.fp-btn-save { background: var(--panel-2); border: 1px solid var(--border); color: var(--text-dim); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.fp-btn-save:hover { border-color: var(--accent); color: var(--accent); }
.fp-btn-limpar { width: 100%; background: transparent; border: 0; color: var(--text-dim); font-size: 12px; font-weight: 600; padding: 5px; display: block; text-align: center; }
.fp-btn-limpar:hover { color: var(--text); }
/* modal campeonatos */
.fp-btn-leagues.active { border-color: var(--accent); color: var(--accent); }
.fplg-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(4,8,14,.72); display: grid; place-items: center; padding: 20px; }
.fplg-modal { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; width: 100%; max-width: 860px; max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; }
.fplg-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.fplg-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--accent); }
.fplg-close { background: transparent; border: 1px solid var(--border); color: var(--text-dim); width: 28px; height: 28px; border-radius: 50%; font-size: 12px; }
.fplg-close:hover { color: var(--text); }
.fplg-body { display: grid; grid-template-columns: 1fr 50px 1fr; flex: 1; min-height: 0; overflow: hidden; }
.fplg-col { display: flex; flex-direction: column; padding: 14px; gap: 10px; overflow: hidden; min-height: 0; }
.fplg-col:first-child { border-right: 1px solid var(--border); }
.fplg-col:last-child { border-left: 1px solid var(--border); }
.fplg-col-head { display: flex; align-items: center; justify-content: space-between; }
.fplg-col-title { font-weight: 800; font-size: 13px; }
.fplg-badge { background: rgba(79,166,234,.16); color: var(--accent); font-weight: 800; font-size: 11px; padding: 2px 8px; border-radius: 10px; }
.fplg-badge.red { background: rgba(226,85,99,.16); color: var(--away); }
.fplg-search { background: var(--panel-2); border: 1px solid var(--border); color: var(--text); padding: 7px 10px; border-radius: 7px; font-size: 12.5px; font-family: inherit; }
.fplg-search:focus { outline: none; border-color: var(--accent); }
.fplg-list { flex: 1; overflow-y: auto; background: var(--panel-2); border: 1px solid var(--border); border-radius: 8px; min-height: 0; }
.fplg-item { display: flex; align-items: center; gap: 9px; padding: 8px 12px; cursor: pointer; font-size: 13px; border-bottom: 1px solid var(--border); user-select: none; }
.fplg-item:last-child { border-bottom: 0; }
.fplg-item:hover { background: var(--panel-3); }
.fplg-item.sel { background: rgba(79,166,234,.12); }
.fplg-flag { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; flex: none; }
.fplg-code { font-size: 10px; font-weight: 800; color: var(--text-dim); background: var(--panel-3); padding: 2px 4px; border-radius: 3px; flex: none; min-width: 28px; text-align: center; }
.fplg-lname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fplg-empty { padding: 20px; text-align: center; font-size: 12px; }
.fplg-arrows { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.fplg-arr { background: var(--panel-2); border: 1px solid var(--border); color: var(--text); width: 30px; height: 30px; border-radius: 6px; font-size: 18px; display: grid; place-items: center; line-height: 1; }
.fplg-arr:hover { border-color: var(--accent); color: var(--accent); }
.fplg-footer { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 10px; }
.fplg-info { font-size: 12px; color: var(--text-dim); }
.fplg-btns { display: flex; gap: 10px; }
.fplg-confirm { padding: 10px 24px; }

/* botão excluir filtro salvo (aparece ao lado do dropdown) */
.fp-del-saved { display: none; align-items: center; justify-content: center; width: 32px; height: 36px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 7px; color: var(--text-dim); margin-top: 6px; flex: none; }
.fp-del-saved:hover { color: var(--away); border-color: var(--away); }
.col { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.col-scroll { overflow-y: auto; }

/* ---------- Coluna 1: lista de jogos ---------- */
.midbar { padding: 10px; border-bottom: 1px solid var(--border); display: flex; gap: 8px; }
.midbar input { flex: 1; background: var(--panel-2); border: 1px solid var(--border); color: var(--text); padding: 8px 10px; border-radius: var(--radius-sm); font-size: 13px; }
.midbar .date { display: flex; align-items: center; gap: 4px; background: var(--panel-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 6px; }
.midbar .date input { border: 0; width: 104px; padding: 8px 2px; background: transparent; color: var(--text); }
.midbar .date button { background: transparent; border: 0; color: var(--text-dim); font-size: 15px; padding: 2px 6px; }
.tabs-mini { display: flex; gap: 4px; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.tabs-mini button { flex: 1; background: transparent; border: 0; color: var(--text-dim); font-size: 12px; font-weight: 600; padding: 6px 2px; border-radius: 6px; }
.tabs-mini button.on { background: var(--panel-3); color: var(--text); }
.tabs-mini button b { background: var(--away); color: #fff; border-radius: 8px; padding: 0 5px; font-size: 10px; margin-left: 3px; }

.league-head { display: flex; align-items: center; gap: 9px; padding: 10px 13px; background: var(--panel-2); border-left: 3px solid var(--accent); border-bottom: 1px solid var(--border); font-size: 12px; font-weight: 800; letter-spacing: .02em; color: var(--text); position: sticky; top: 0; z-index: 2; }
.league-head .lh-flag { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; flex: none; background: var(--panel-3); }
.league-head .lh-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.league-head .lh-name .ctry { color: var(--text-dim); font-weight: 600; }
.league-head .lh-live { width: 7px; height: 7px; border-radius: 50%; background: var(--away); animation: pulse 1.3s infinite; flex: none; }
.league-head .lh-fav { margin-left: auto; font-size: 14px; color: var(--text-dim); cursor: pointer; line-height: 1; padding: 2px 4px; flex: none; }
.league-head .lh-fav:hover, .league-head .lh-fav.on { color: var(--accent); }
.game { display: grid; grid-template-columns: 16px 44px 1fr auto auto; align-items: center; gap: 8px; padding: 7px 12px; border-bottom: 1px solid var(--border); cursor: pointer; font-size: 12.5px; }
.game:hover { background: var(--panel-2); }
.game.sel { background: linear-gradient(90deg, rgba(43,229,160,.10), transparent); box-shadow: inset 3px 0 0 var(--accent); }
.game .fav { font-size: 14px; color: var(--text-dim); line-height: 1; text-align: center; }
.game .fav:hover, .game .fav.on { color: var(--accent); }
.game .time { color: var(--text-dim); font-size: 11px; text-align: center; }
.game .time .sc { color: var(--text); font-size: 12.5px; font-weight: 800; }
.game .teams { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.game .teams .t { display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game .teams .t img { width: 15px; height: 15px; flex: none; }
.game .odds { display: flex; flex-direction: column; gap: 5px; }
.game .odds span { background: var(--panel-3); color: var(--text); font-size: 11.5px; font-weight: 800; padding: 3px 7px; border-radius: 5px; text-align: center; min-width: 42px; font-variant-numeric: tabular-nums; }
.game .odds span.dash { color: var(--text-dim); font-weight: 600; }
.game .odds span.fav { color: var(--accent); }
.game .odds.odds-bolsa span { box-shadow: inset 2px 0 0 var(--accent); } /* odd vinda da Bolsa */
.game .live { color: var(--away); font-weight: 700; }

/* ---- Bolsa de Aposta: botão-logo do jogo na Exchange ---- */
.bolsa-link { display: inline-flex; width: 24px; height: 24px; padding: 0; border-radius: 6px;
  overflow: hidden; line-height: 0; flex: none; text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.35); transition: transform .12s ease, box-shadow .12s ease; }
.bolsa-link:hover { transform: translateY(-1px); box-shadow: 0 3px 9px rgba(0,0,0,.5); }
.bolsa-logo { display: block; width: 100%; height: 100%; object-fit: contain; }
/* No detalhe: centralizado acima do VS (a .score tem text-align:center) */
.bolsa-detail { width: 36px; height: 36px; border-radius: 9px; margin: 0 auto 8px; }

.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--away); margin-left: 6px; animation: pulse 1.3s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes spin { to { transform: rotate(360deg); } }
/* Banner do filtro na lista (estilo Layscore: "N jogos correspondem ao filtro") */
.fp-banner { display: flex; align-items: center; gap: 8px; padding: 9px 13px; background: rgba(79,166,234,.10); border-left: 3px solid var(--accent); border-bottom: 1px solid var(--border); font-size: 12.5px; font-weight: 700; color: var(--text); }
.fp-banner b { color: var(--accent); font-weight: 800; }
.fp-banner-load { display: inline-flex; align-items: center; gap: 5px; color: var(--text-dim); font-weight: 600; font-size: 11.5px; }
.fp-status { padding: 30px 16px; text-align: center; color: var(--text-dim); font-size: 13px; line-height: 1.7; }
.fp-spin { display: inline-block; width: 12px; height: 12px; border: 2px solid rgba(255,255,255,.18); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -2px; }
/* ===== Minhas Estratégias (Kanban) ===== */
.strat-wrap { padding: 22px 26px 14px; display: flex; flex-direction: column; height: calc(100vh - 66px); box-sizing: border-box; }
.strat-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex: none; }
.strat-title { font-size: 23px; font-weight: 800; color: var(--text); margin: 0 0 4px; }
.strat-sub { font-size: 12.5px; color: var(--text-dim); margin: 0; max-width: 640px; line-height: 1.55; }
.strat-board { display: flex; gap: 14px; align-items: flex-start; overflow-x: auto; overflow-y: hidden; flex: 1; padding-bottom: 12px; }
.strat-empty { width: 100%; text-align: center; color: var(--text-dim); font-size: 14px; padding: 46px 20px; line-height: 1.7; }
.strat-empty b { color: var(--text); }
.st-col { flex: 0 0 268px; width: 268px; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; display: flex; flex-direction: column; max-height: 100%; }
.st-col.custom { border-color: rgba(79,166,234,.4); }
.st-col.drop-hover { border-color: var(--accent); background: rgba(79,166,234,.06); }
.st-col-h { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 14px 14px 0 0; }
.st-col-h.custom { border-left-color: #6fc3ff; }
.st-col-name { font-size: 13px; font-weight: 800; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.st-col-name[data-rename] { cursor: text; }
.st-col-name[data-rename]:hover { color: var(--accent); }
.st-col-n { font-size: 11px; font-weight: 800; color: var(--text-dim); background: var(--panel-2); border-radius: 20px; padding: 2px 8px; flex: none; }
.st-col-del { flex: none; background: none; border: none; color: var(--text-dim); cursor: pointer; font-size: 13px; line-height: 1; padding: 2px 4px; }
.st-col-del:hover { color: var(--away); }
.st-col-body { padding: 10px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; flex: 1; min-height: 64px; }
.st-col-empty { font-size: 12px; color: var(--text-dim); text-align: center; padding: 20px 8px; border: 1px dashed var(--border); border-radius: 10px; }
.st-card { background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px; padding: 9px 11px; cursor: grab; transition: border-color .12s; }
.st-card:hover { border-color: var(--accent); }
.st-card.dragging { opacity: .45; }
.st-card-top { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; }
.st-card-flag { width: 15px; height: 11px; border-radius: 2px; object-fit: cover; flex: none; }
.st-card-lg { font-size: 10.5px; color: var(--text-dim); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.st-card-st { font-size: 10.5px; font-weight: 800; color: var(--text-dim); flex: none; display: inline-flex; align-items: center; gap: 4px; }
.st-card-st.live { color: #ff5a5a; }
.st-card-team { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--text); }
.st-card-team + .st-card-team { margin-top: 4px; }
.st-card-team img, .st-card-team .st-cph { width: 17px; height: 17px; object-fit: contain; flex: none; }
.st-card-team .st-cph { background: var(--panel-3); border-radius: 4px; }
.st-card-team span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-card-team b { font-size: 13px; font-weight: 800; color: var(--text); flex: none; }
.strat-addcol { flex: 0 0 230px; }
.strat-addcol.solo { display: inline-block; margin-top: 18px; }
.strat-addcol button { width: 100%; padding: 13px; background: var(--panel); border: 1px dashed var(--border); border-radius: 14px; color: var(--text-dim); font-weight: 700; font-size: 13px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px; }
.strat-addcol button:hover { border-color: var(--accent); color: var(--accent); }
.strat-addcol button span { font-size: 17px; line-height: 1; }
.strat-tabs { display: flex; gap: 8px; margin-bottom: 14px; flex: none; }
.strat-tabs button { background: var(--panel); border: 1px solid var(--border); color: var(--text-dim); font-weight: 700; font-size: 12.5px; padding: 7px 16px; border-radius: 20px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.strat-tabs button:hover { color: var(--text); }
.strat-tabs button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.st-card-stats { flex: none; width: 21px; height: 21px; display: inline-flex; align-items: center; justify-content: center; background: var(--panel); border: 1px solid var(--border); border-radius: 6px; color: var(--text-dim); cursor: pointer; opacity: 0; transition: opacity .12s, color .12s, border-color .12s; }
.st-card:hover .st-card-stats { opacity: 1; }
.st-card-stats:hover { color: var(--accent); border-color: var(--accent); }
/* botão + menu "Estratégia" no detalhe */
.cs-strat-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--panel-2); border: 1px solid var(--border); color: var(--text-dim); font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 20px; cursor: pointer; }
.cs-strat-btn:hover { color: var(--text); border-color: var(--accent); }
.cs-strat-btn.has { background: rgba(79,166,234,.14); border-color: var(--accent); color: var(--accent); }
.cs-strat-pop { position: fixed; z-index: 200; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 8px; min-width: 224px; box-shadow: 0 12px 34px -12px rgba(0,0,0,.75); display: flex; flex-direction: column; gap: 2px; }
.cs-strat-h { font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--text-dim); padding: 4px 8px 6px; }
.cs-strat-pop button { text-align: left; background: none; border: none; color: var(--text); font-weight: 700; font-size: 13px; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.cs-strat-pop button:hover { background: var(--panel-2); }
.cs-strat-item.on { color: var(--accent); }
.cs-strat-new { color: var(--accent) !important; border-top: 1px solid var(--border) !important; border-radius: 0 0 8px 8px !important; margin-top: 3px; }
.cs-strat-rm { color: var(--away) !important; }
.cs-strat-none { font-size: 12px; color: var(--text-dim); padding: 6px 10px; }
/* imagens não sequestram o arraste do card (escudo/bandeira eram arrastáveis por padrão) */
.st-card img { -webkit-user-drag: none; user-drag: none; user-select: none; }
/* Popup leve de estatísticas (Kanban) */
.strat-modal-ov { position: fixed; inset: 0; z-index: 300; background: rgba(8,10,14,.62); display: flex; align-items: center; justify-content: center; padding: 20px; }
.strat-modal { width: 100%; max-width: 420px; background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px 18px; box-shadow: 0 24px 60px -16px rgba(0,0,0,.8); }
.sm-toprow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.sm-lg { font-size: 11.5px; font-weight: 700; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-x { background: none; border: none; color: var(--text-dim); font-size: 16px; cursor: pointer; line-height: 1; padding: 2px 4px; }
.sm-x:hover { color: var(--text); }
.sm-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 6px 0 14px; }
.sm-team { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; min-width: 0; }
.sm-team img, .sm-team .sm-cph { width: 40px; height: 40px; object-fit: contain; }
.sm-team .sm-cph { background: var(--panel-3); border-radius: 6px; }
.sm-team span { font-size: 13px; font-weight: 800; color: var(--text); line-height: 1.2; }
.sm-mid { text-align: center; }
.sm-vs { font-size: 17px; font-weight: 800; color: var(--text-dim); }
.sm-score { font-size: 24px; font-weight: 800; color: var(--text); display: inline-flex; align-items: center; gap: 5px; }
.sm-score i { font-style: normal; color: var(--text-dim); font-weight: 700; }
.sm-mid small { display: block; font-size: 10.5px; font-weight: 700; color: var(--text-dim); margin-top: 3px; }
.sm-body { border-top: 1px solid var(--border); padding-top: 14px; }
.sm-gaugewrap { display: flex; justify-content: center; margin-bottom: 10px; }
.sm-conf { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.sm-conf > div { text-align: center; background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px; padding: 9px 6px; }
.sm-conf b { display: block; font-size: 20px; font-weight: 800; color: #4fa6ea; font-variant-numeric: tabular-nums; }
.sm-conf b small { font-size: 11px; }
.sm-conf span { display: block; font-size: 10px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: .04em; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sm-cell { background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px; padding: 9px 10px; text-align: center; }
.sm-cell b { display: block; font-size: 15px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.sm-cell span { display: block; font-size: 10px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: .04em; margin-top: 2px; }
.sm-odds { margin-top: 12px; text-align: center; font-size: 12px; color: var(--text-dim); }
.sm-odds b { color: var(--text); font-variant-numeric: tabular-nums; }
.sm-nodata { text-align: center; color: var(--text-dim); font-size: 13px; padding: 16px 8px; line-height: 1.7; }
.sm-full { width: 100%; margin-top: 14px; padding: 10px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px; color: var(--accent); font-weight: 700; font-size: 13px; cursor: pointer; }
.sm-full:hover { border-color: var(--accent); background: rgba(79,166,234,.08); }
/* Gerir estratégias na área da conta */
.ua-strat-new { display: flex; gap: 8px; margin-bottom: 16px; }
.ua-strat-input { flex: 1; background: var(--panel-2); border: 1px solid var(--border); border-radius: 9px; padding: 10px 12px; color: var(--text); font-size: 13px; }
.ua-strat-input:focus { outline: none; border-color: var(--accent); }
.ua-strat-add { background: var(--accent); border: none; color: #fff; font-weight: 700; font-size: 13px; padding: 0 16px; border-radius: 9px; cursor: pointer; white-space: nowrap; }
.ua-strat-add:hover { filter: brightness(1.08); }
.ua-strat-list { display: flex; flex-direction: column; gap: 8px; }
.ua-strat-item { display: flex; align-items: center; gap: 10px; background: var(--panel-2); border: 1px solid var(--border); border-left: 3px solid #6fc3ff; border-radius: 10px; padding: 11px 14px; }
.ua-strat-name { flex: 1; font-size: 13.5px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ua-strat-c { font-size: 11px; font-weight: 700; color: var(--text-dim); background: var(--panel-3); border-radius: 20px; padding: 2px 9px; flex: none; }
.ua-strat-ren, .ua-strat-del { background: none; border: none; cursor: pointer; font-size: 13px; color: var(--text-dim); padding: 3px 5px; flex: none; line-height: 1; }
.ua-strat-ren:hover { color: var(--accent); }
.ua-strat-del:hover { color: var(--away); }
.ua-strat-empty { font-size: 13px; color: var(--text-dim); padding: 24px 10px; text-align: center; border: 1px dashed var(--border); border-radius: 10px; line-height: 1.6; }
/* marca OverLayScore no topo das colunas + compartilhar */
.ols-mark { flex: none; display: block; }
.st-col-share { flex: none; background: none; border: none; color: var(--text-dim); cursor: pointer; padding: 3px 4px; line-height: 1; display: inline-flex; }
.st-col-share:hover { color: var(--accent); }
.strat-share-pop { position: fixed; z-index: 320; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 8px; min-width: 210px; box-shadow: 0 12px 34px -12px rgba(0,0,0,.75); display: flex; flex-direction: column; gap: 2px; }
.ssp-h { font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--text-dim); padding: 4px 8px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strat-share-pop button { display: flex; align-items: center; gap: 9px; text-align: left; background: none; border: none; color: var(--text); font-weight: 700; font-size: 13px; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.strat-share-pop button:hover { background: var(--panel-2); }
.ssp-ic { width: 16px; display: inline-flex; justify-content: center; font-size: 13px; }
/* ===== Ao Vivo / Scanner ===== */
.nav-live-ico { width: 9px; height: 9px; border-radius: 50%; background: #ff3b3b; animation: pulse 1.3s infinite; display: inline-block; }
.av-soon { max-width: 520px; margin: 64px auto; text-align: center; padding: 40px 30px; border: 1px solid var(--border, #243045); border-radius: 18px; background: linear-gradient(180deg, rgba(212,175,55,.05), rgba(20,28,42,.35)); }
.av-soon-ic { font-size: 54px; line-height: 1; margin-bottom: 14px; filter: drop-shadow(0 4px 14px rgba(212,175,55,.35)); }
.av-soon h2 { margin: 0 0 12px; font-size: 22px; color: var(--text, #e8eef7); }
.av-soon p { margin: 0 auto 20px; max-width: 420px; color: var(--muted, #93a1b5); line-height: 1.6; font-size: 14.5px; }
.av-soon-tag { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .3px; color: #d4af37; background: rgba(212,175,55,.12); border: 1px solid rgba(212,175,55,.35); }
.av-wrap { padding: 22px 26px 40px; }
.av-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.av-title { font-size: 23px; font-weight: 800; color: var(--text); margin: 0 0 4px; display: flex; align-items: center; gap: 9px; }
.av-livedot { width: 10px; height: 10px; border-radius: 50%; background: #ff3b3b; animation: pulse 1.3s infinite; display: inline-block; flex: none; }
.av-livedot.sm { width: 7px; height: 7px; }
.av-sub { font-size: 12.5px; color: var(--text-dim); margin: 0; max-width: 680px; line-height: 1.5; }
.av-refresh { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--panel); border: 1px solid var(--border); color: var(--text-dim); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.av-refresh:hover { color: var(--accent); border-color: var(--accent); }
/* Barra de filtros (inputs) — pílulas leves e unificadas */
.av-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.av-tabs { display: inline-flex; gap: 3px; background: var(--panel); border: 1px solid var(--border); border-radius: 11px; padding: 3px; }
.av-tabs button { background: transparent; border: 0; color: var(--text-dim); font-weight: 700; font-size: 12.5px; padding: 7px 15px; border-radius: 8px; cursor: pointer; transition: .15s; }
.av-tabs button:hover { color: var(--text); }
.av-tabs button.on { background: var(--accent); color: #06120d; }
.av-search { margin-left: auto; min-width: 220px; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 9px 13px; color: var(--text); font-size: 13px; }
.av-search:focus { outline: none; border-color: var(--accent); }
.av-sigfilter { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 16px; }
.av-sigfilter button { display: inline-flex; align-items: center; gap: 6px; background: var(--panel); border: 1px solid var(--border); color: var(--text-dim); font-weight: 700; font-size: 12px; padding: 6px 12px; border-radius: 999px; cursor: pointer; transition: .15s; }
.av-sigfilter button:hover { color: var(--text); border-color: var(--sc, var(--accent)); }
.av-sigfilter button.on { color: var(--text); border-color: var(--sc, var(--accent)); background: color-mix(in srgb, var(--sc, var(--accent)) 16%, transparent); }
.av-sigdot { width: 7px; height: 7px; border-radius: 50%; background: var(--sc, var(--accent)); flex: none; }
.av-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.av-empty { grid-column: 1/-1; text-align: center; color: var(--text-dim); padding: 50px 20px; font-size: 14px; }
/* Card — leve, foco no placar e nos sinais */
.av-card { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--border); border-radius: 14px; padding: 14px 15px; cursor: pointer; position: relative; transition: border-color .15s, transform .15s, box-shadow .15s; }
.av-card:hover { border-color: rgba(255,255,255,.18); transform: translateY(-2px); box-shadow: 0 14px 30px -22px rgba(0,0,0,.9); }
.av-card.hit { border-color: color-mix(in srgb, var(--hit) 55%, var(--border)); }
.av-card.hit::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--hit); }
.av-chead { display: flex; align-items: center; gap: 7px; margin-bottom: 12px; }
.av-flag { width: 16px; height: 12px; border-radius: 2px; object-fit: cover; flex: none; }
.av-lg { font-size: 11px; color: var(--text-dim); font-weight: 700; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av-min { font-size: 11.5px; font-weight: 800; color: #ff5a5a; display: inline-flex; align-items: center; gap: 5px; flex: none; }
.av-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-bottom: 11px; }
.av-mid { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.av-xg { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 800; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.av-xg b { font-size: 9.5px; letter-spacing: .05em; color: var(--accent); background: rgba(79,166,234,.14); border-radius: 4px; padding: 2px 6px; }
.av-xg span { color: var(--text); }
.av-nosig { font-size: 11px; color: var(--text-dim); text-align: center; padding: 2px 0 10px; font-weight: 600; }
/* Abas de período — segmentado, agora ABAIXO das odds (controla as stats) */
.av-pertabs { display: flex; gap: 4px; margin: 12px 0 10px; align-items: stretch; background: var(--panel-3); border: 1px solid var(--border); border-radius: 10px; padding: 3px; }
.av-pertabs button { flex: 1; background: transparent; border: 0; border-radius: 7px; padding: 6px 4px; font-size: 11px; font-weight: 800; color: var(--text-dim); cursor: pointer; font-variant-numeric: tabular-nums; white-space: nowrap; transition: .15s; }
.av-pertabs button:hover { color: var(--text); }
.av-pertabs button.on { color: #06120d; background: var(--accent); }
.av-l10 { flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 11px; font-weight: 800; color: var(--text-dim); white-space: nowrap; }
.av-l10.hot { color: #43d18a; }
.av-pre { background: var(--panel-2); border: 1px solid var(--border); color: var(--text); font-weight: 700; font-size: 12px; padding: 6px 12px; border-radius: 8px; cursor: pointer; }
.av-pre:hover { border-color: var(--accent); color: var(--accent); }
/* Detalhe ao vivo rico (estilo Sherlock) */
.strat-modal.avd { max-width: 600px; max-height: 90vh; overflow-y: auto; }
.avd-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 8px 0 14px; }
.avd-tm { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; min-width: 0; }
.avd-tm img, .avd-tm .sm-cph { width: 38px; height: 38px; object-fit: contain; }
.avd-tm .sm-cph { background: var(--panel-3); border-radius: 6px; }
.avd-tm span { font-size: 13.5px; font-weight: 800; color: var(--text); line-height: 1.2; }
.avd-mid { text-align: center; }
.avd-score { font-size: 30px; font-weight: 800; color: var(--text); display: inline-flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; }
.avd-score i { font-style: normal; color: var(--text-dim); }
.avd-min { font-size: 11.5px; font-weight: 800; color: #ff5a5a; display: inline-flex; align-items: center; gap: 5px; justify-content: center; margin-top: 3px; }
.avd-graph { border: 1px solid var(--border); border-radius: 10px; padding: 8px; background: var(--panel-2); margin-bottom: 12px; }
.avd-graph canvas { width: 100%; height: auto; display: block; }
.avd-glabel { font-size: 10.5px; color: var(--text-dim); font-weight: 700; text-align: center; margin-top: 6px; }
.avd-odds { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 14px; }
.avd-od { background: var(--panel-2); border: 1px solid var(--border); border-radius: 8px; padding: 7px 4px; text-align: center; }
.avd-od span { display: block; font-size: 9.5px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: .03em; }
.avd-od b { display: block; font-size: 13.5px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; margin-top: 2px; }
.avd-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.avd-tabs button { flex: 1; background: var(--panel-2); border: 1px solid var(--border); color: var(--text-dim); font-weight: 700; font-size: 12.5px; padding: 8px; border-radius: 9px; cursor: pointer; }
.avd-tabs button:hover { color: var(--text); }
.avd-tabs button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.avd-stats { display: flex; flex-direction: column; gap: 7px; }
.avd-row { display: grid; grid-template-columns: 28px 1fr 150px 1fr 28px; align-items: center; gap: 8px; }
.avd-v { font-size: 13px; font-weight: 800; color: var(--text); text-align: center; font-variant-numeric: tabular-nums; }
.avd-n { font-size: 11.5px; color: var(--text-dim); font-weight: 700; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avd-bar { height: 7px; background: var(--panel-3); border-radius: 4px; overflow: hidden; display: flex; justify-content: flex-end; }
.avd-bar.avd-bar-r { justify-content: flex-start; }
.avd-bar i { height: 100%; background: var(--accent); display: block; }
.avd-bar.avd-bar-r i { background: var(--away); }
.av-tm { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-width: 0; }
.av-tm img, .av-tm .av-cph { width: 36px; height: 36px; object-fit: contain; }
.av-tm .av-cph { background: var(--panel-3); border-radius: 5px; }
.av-tm span { font-size: 14px; font-weight: 800; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.av-score { font-size: 31px; font-weight: 800; color: var(--text); display: inline-flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; }
.av-score i { font-style: normal; color: var(--text-dim); }
.av-sigs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 11px; }
.av-sig { font-size: 11px; font-weight: 800; color: var(--sc); background: color-mix(in srgb, var(--sc) 16%, transparent); border: 1px solid color-mix(in srgb, var(--sc) 45%, transparent); border-radius: 999px; padding: 4px 11px; }
.av-stats { display: flex; flex-direction: column; gap: 7px; margin-bottom: 10px; }
.av-stats.av-extra { margin-top: -4px; margin-bottom: 0; padding-top: 8px; border-top: 1px dashed var(--border); }
.av-more { width: 100%; background: none; border: none; color: var(--accent); font-weight: 700; font-size: 11.5px; cursor: pointer; padding: 6px 0 10px; }
.av-more:hover { color: var(--text); }
.av-card .avd-odds { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; margin: 0; }
.av-card .avd-od { background: var(--panel-3); border: 1px solid var(--border); border-radius: 8px; padding: 6px 3px; text-align: center; }
.av-card .avd-od span { display: block; font-size: 9px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: .03em; }
.av-card .avd-od b { display: block; font-size: 12.5px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; margin-top: 2px; }
.av-stat { display: grid; grid-template-columns: 20px 1fr 76px 1fr 20px; align-items: center; gap: 6px; }
.av-sv { font-size: 11.5px; font-weight: 800; color: var(--text); text-align: center; font-variant-numeric: tabular-nums; }
.av-sl { font-size: 10px; color: var(--text-dim); font-weight: 700; text-align: center; white-space: nowrap; }
.av-sbar { height: 5px; background: var(--panel-3); border-radius: 3px; overflow: hidden; display: flex; justify-content: flex-end; }
.av-sbar.av-sbar-r { justify-content: flex-start; }
.av-sh { background: var(--accent); height: 100%; }
.av-sa { background: var(--away); height: 100%; }
.av-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--border); padding-top: 10px; }
.av-thermo { display: flex; align-items: baseline; gap: 6px; }
.av-thermo b { font-size: 18px; font-weight: 800; color: var(--oc); font-variant-numeric: tabular-nums; }
.av-thermo span { font-size: 10px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: .04em; }
.av-det { background: var(--panel-2); border: 1px solid var(--border); color: var(--accent); font-weight: 700; font-size: 12px; padding: 6px 12px; border-radius: 8px; cursor: pointer; }
.av-det:hover { border-color: var(--accent); }

/* ---------- Coluna 2: painel de detalhe ---------- */
.detail { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.detail-empty { display: grid; place-items: center; height: 100%; color: var(--text-dim); text-align: center; padding: 40px; }

/* cabeçalho do jogo — painel AZUL (escudo+nome centralizados, odds, race) */
.match-head { padding: 16px 22px 16px; flex: none; color: #fff; background: linear-gradient(135deg, #223a86 0%, #2c4bb3 100%); border-bottom: 1px solid #1a275f; position: relative; }
.match-head .mh-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; font-size: 12px; color: rgba(255,255,255,.82); margin-bottom: 12px; }
.match-head .mh-top .mh-topright { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.match-head .mh-top .mh-league { font-weight: 600; }
.match-head .row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 14px; max-width: 640px; margin: 0 auto; }
.match-head .team { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.match-head .mh-crest { height: 52px; display: grid; place-items: center; }
.match-head .mh-crest img { width: 52px; height: 52px; object-fit: contain; }
.match-head .name { font-weight: 800; font-size: 15px; text-align: center; color: #fff; line-height: 1.2; }
.match-head .score { text-align: center; padding-top: 8px; }
.match-head .score .nums { font-size: 34px; font-weight: 800; letter-spacing: 2px; color: #fff; }
.match-head .score .status { font-size: 11px; font-weight: 700; margin-top: 2px; color: #ffb3b8; }
.match-head .score .status.ns { color: rgba(255,255,255,.78); }
.mh-odd { display: inline-block; min-width: 48px; padding: 4px 11px; border-radius: 7px; font-weight: 800; font-size: 13px; background: rgba(255,255,255,.14); color: rgba(255,255,255,.55); }
.mh-odd.has { background: #1f9a4a; color: #fff; }
.mh-odd.has.from-bolsa { background: #2b6cb0; } /* odd de referência da Bolsa */
.mh-odd.draw { margin-top: 8px; display: inline-block; }
.mh-form { display: flex; gap: 4px; min-height: 18px; }
.mh-form span { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #fff; }
.mh-form .f-w { background: #36b873; } .mh-form .f-l { background: #e0566c; } .mh-form .f-d { background: #8b97a8; } .mh-form .f-x { background: rgba(255,255,255,.2); color: rgba(255,255,255,.6); }
/* HT score dentro do score central */
.mh-ht { font-size: 11px; color: rgba(255,255,255,.7); font-weight: 600; margin-top: 2px; }
/* lista de gols no match-head */
.mh-goals-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.15); }
.mh-goals { display: flex; flex-direction: column; gap: 3px; }
.mh-goals.home { align-items: flex-end; }
.mh-goals.away { align-items: flex-start; }
.mh-goal-ev { display: flex; align-items: center; gap: 4px; font-size: 11px; color: rgba(255,255,255,.85); font-weight: 600; }
.mh-goal-dot { font-size: 10px; }
.mh-venue { font-size: 11px; color: rgba(255,255,255,.62); }
/* score inline na lista: (HT) FT ao lado do nome do time */
.game .teams .t { justify-content: space-between; }
.tname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inline-score { display: flex; align-items: center; gap: 3px; flex: none; margin-left: 8px; font-size: 12.5px; }
.ht-inline { font-size: 10.5px; color: var(--text-dim); font-weight: 600; }
.inline-score b { font-weight: 800; color: var(--text); }
/* cartão vermelho na lista */
.rc-badge { font-size: 9px; vertical-align: middle; }

/* abas do detalhe (sublinhado, estilo LayScore) */
.dtabs-wrap { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); flex: none; padding: 0 16px; }
/* botão Resultados Corretos — na linha das abas, destaque à esquerda */
.dtabs { display: flex; gap: 18px; padding: 12px 0 0 24px; overflow-x: auto; flex: 1; }
.dtabs button { background: transparent; border: 0; color: var(--text-dim); font-weight: 700; font-size: 13px; padding: 10px 2px; position: relative; white-space: nowrap; }
.dtabs button.on { color: var(--text); }
.dtabs button.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--accent); border-radius: 3px; }
/* botão Resultados Corretos — à esquerda na linha das abas */
/* ===== Área do utilizador — página (menu lateral + painéis) ===== */
.ua-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: grid; place-items: center; z-index: 2000; padding: 24px; }
.ua-shell { position: relative; display: flex; width: min(1080px, 96vw); height: min(680px, 90vh); background: var(--bg); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,.55); }
.ua-shell > .ua-x { position: absolute; top: 12px; right: 14px; z-index: 2; background: transparent; border: 0; color: var(--text-dim); font-size: 18px; cursor: pointer; }
.ua-shell > .ua-x:hover { color: var(--text); }
/* sidebar */
.ua-side { flex: 0 0 250px; background: var(--panel); border-right: 1px solid var(--border); padding: 16px; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; }
.ua-menu { display: flex; flex-direction: column; gap: 2px; }
.ua-mi { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; background: transparent; border: 0; color: var(--text); font-size: 13.5px; font-weight: 700; padding: 11px 12px; border-radius: 9px; cursor: pointer; transition: background .12s, color .12s; }
.ua-mi:hover { background: var(--panel-2); }
.ua-mi.on { background: var(--panel-2); color: var(--accent); }
.ua-mi-ic { flex: 0 0 20px; text-align: center; color: var(--accent); font-size: 14px; }
.ua-logout { color: #e25563; margin-top: 4px; } .ua-logout .ua-mi-ic { color: #e25563; }
.ua-substatus { margin-top: auto; background: var(--panel-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.ua-substatus-h { font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px; }
.ua-substatus-b { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--text-dim); line-height: 1.55; }
.ua-check { flex: 0 0 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: rgba(54,184,115,.16); color: #36b873; font-size: 12px; font-weight: 800; }
.ua-prem { color: #36b873; font-weight: 800; }
.ua-manage { width: 100%; margin-top: 12px; background: var(--accent); border: 0; color: #fff; border-radius: 9px; padding: 9px; font-weight: 800; font-size: 12.5px; cursor: pointer; }
.ua-manage:hover { filter: brightness(1.06); }
/* main */
.ua-main { flex: 1 1 auto; padding: 28px 32px; overflow-y: auto; }
.ua-pane-t { font-size: 19px; font-weight: 800; margin-bottom: 20px; }
.ua-row { display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.ua-row-l { color: var(--text-dim); font-weight: 700; font-size: 13.5px; }
.ua-row-v { font-size: 14px; font-weight: 700; }
.ua-sec { margin-bottom: 18px; }
.ua-sec-t { font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px; }
.ua-hint { font-size: 13px; color: var(--text-dim); margin: 0 0 14px; line-height: 1.55; }
.ua-soon { background: var(--panel-3); color: var(--text-dim); font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 2px 8px; border-radius: 20px; margin-left: 4px; }
.ua-ok { color: #36b873; }
.ua-btn { background: var(--accent); border: 0; color: #fff; border-radius: 9px; padding: 8px 16px; font-weight: 800; font-size: 13px; cursor: pointer; }
.ua-btn:hover { filter: brightness(1.06); }
.ua-link { background: none; border: 0; color: var(--accent); font-weight: 700; font-size: 12.5px; cursor: pointer; text-decoration: underline; margin-left: 8px; }
.ua-langsel { background: var(--panel-2); border: 1px solid var(--border); border-radius: 9px; padding: 9px 12px; font-size: 13.5px; font-weight: 700; color: var(--text); min-width: 230px; cursor: pointer; }
.ua-langsel:focus { outline: none; border-color: var(--accent); }
a.ua-btn { display: inline-block; text-decoration: none; }
.ua-auto { width: 100%; text-align: left; background: var(--panel-2); border: 1px solid var(--border); border-radius: 9px; padding: 10px 12px; font-size: 13px; font-weight: 700; color: var(--text); cursor: pointer; margin-bottom: 10px; transition: border-color .12s; }
.ua-auto:hover { border-color: var(--accent); }
.ua-auto.on { border-color: var(--accent); color: var(--accent); }
.ua-search { width: 100%; max-width: 460px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 9px; padding: 10px 12px; font-size: 13px; color: var(--text); margin-bottom: 8px; }
.ua-search:focus { outline: none; border-color: var(--accent); }
.ua-select { width: 100%; max-width: 460px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 9px; padding: 6px; font-size: 13px; color: var(--text); }
.ua-select:focus { outline: none; border-color: var(--accent); }

/* ---- Login / cadastro (área da conta) ---- */
.ua-check-off { background: rgba(160,160,160,.14); color: var(--text-dim); }
.ua-logout-btn { background: var(--panel-2); border: 1px solid var(--border); color: var(--text); border-radius: 9px; padding: 9px 16px; font-weight: 800; font-size: 13px; cursor: pointer; }
.ua-logout-btn:hover { border-color: #e25563; color: #e25563; }
.ua-auth { max-width: 380px; }
.ua-auth-tabs { display: flex; gap: 6px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 11px; padding: 4px; margin-bottom: 18px; }
.ua-auth-tab { flex: 1; background: none; border: 0; color: var(--text-dim); font-weight: 800; font-size: 13px; padding: 9px; border-radius: 8px; cursor: pointer; transition: .12s; }
.ua-auth-tab.on { background: var(--accent); color: #06120d; }
.ua-auth-form label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--text-dim); margin: 12px 0 6px; }
.ua-auth-form input { width: 100%; box-sizing: border-box; background: var(--panel-2); border: 1px solid var(--border); border-radius: 9px; padding: 11px 13px; font-size: 14px; color: var(--text); }
.ua-auth-form input:focus { outline: none; border-color: var(--accent); }
.ua-auth-err { color: #e25563; font-size: 12.5px; font-weight: 700; min-height: 17px; margin-top: 10px; }
.ua-auth-submit { width: 100%; margin-top: 6px; background: linear-gradient(180deg, var(--accent), var(--accent-dim)); border: 0; color: #06120d; border-radius: 10px; padding: 12px; font-weight: 800; font-size: 14px; cursor: pointer; }
.ua-auth-submit:hover { filter: brightness(1.06); }
.ua-auth-submit:disabled { opacity: .6; cursor: default; }
/* ---- Painel ADMIN (dashboard) ---- */
.ua-mi-admin { color: #e0ab36; }
.ua-mi-admin.on { color: #06120d; }
.adm-loading { color: var(--text-dim); font-size: 13px; padding: 16px 0; }
.adm-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.adm-card { background: var(--panel-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.adm-card-ic { font-size: 16px; opacity: .8; }
.adm-card-v { font-size: 23px; font-weight: 800; margin: 4px 0 2px; letter-spacing: -.01em; }
.adm-card-l { font-size: 11.5px; color: var(--text-dim); font-weight: 700; }
.adm-cachebar { background: rgba(54,184,115,.1); border: 1px solid rgba(54,184,115,.25); border-radius: 10px; padding: 9px 13px; font-size: 12px; color: var(--text-dim); margin-bottom: 16px; }
.adm-cachebar b { color: #36b873; }
.adm-smbar { background: rgba(79,166,234,.1); border: 1px solid rgba(79,166,234,.25); border-radius: 10px; padding: 9px 13px; font-size: 12px; color: var(--text-dim); margin-bottom: 16px; }
.adm-smbar b { color: var(--accent); }
.adm-sm-bd { opacity: .8; }
.adm-cache-ic { margin-right: 4px; }
.adm-chart-wrap { background: var(--panel-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 20px; }
.adm-chart-h { font-size: 12px; font-weight: 800; color: var(--text-dim); margin-bottom: 12px; }
.adm-bars { display: flex; align-items: flex-end; gap: 5px; height: 90px; }
.adm-bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.adm-bar-fill { width: 100%; max-width: 26px; min-height: 2px; background: linear-gradient(180deg, var(--accent), var(--accent-dim)); border-radius: 4px 4px 0 0; transition: height .3s; }
.adm-bar-x { font-size: 9px; color: var(--text-dim); }
.adm-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.adm-tab { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--text-dim); font-weight: 800; font-size: 13px; padding: 8px 4px; cursor: pointer; }
.adm-tab.on { color: var(--accent); border-bottom-color: var(--accent); }
.adm-toolbar { margin-bottom: 12px; }
.adm-search { width: 100%; max-width: 360px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 9px; padding: 9px 12px; font-size: 13px; color: var(--text); }
.adm-search:focus { outline: none; border-color: var(--accent); }
.adm-count { font-size: 11.5px; color: var(--text-dim); font-weight: 700; margin-bottom: 8px; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.adm-table th { text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); font-weight: 800; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.adm-table td { padding: 9px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.adm-u-email { font-weight: 700; }
.adm-u-name { font-size: 11px; color: var(--text-dim); }
.adm-num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.adm-num.pos { color: #36b873; }
.adm-num.neg { color: #e25563; }
.adm-plan { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 20px; background: var(--panel-3); color: var(--text-dim); }
.adm-plan.prem { background: rgba(224,171,54,.16); color: #e0ab36; }
.adm-badge { font-size: 9.5px; font-weight: 800; padding: 1px 6px; border-radius: 10px; text-transform: uppercase; }
.adm-badge.admin { background: rgba(224,171,54,.16); color: #e0ab36; }
.adm-kind { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--panel-3); color: var(--text-dim); }
.adm-kind.credits_purchase, .adm-kind.subscription { background: rgba(54,184,115,.14); color: #36b873; }
.adm-kind.admin_grant { background: rgba(79,166,234,.14); color: var(--accent); }
.adm-actions { white-space: nowrap; text-align: right; }
.adm-act { background: var(--panel-3); border: 1px solid var(--border); border-radius: 7px; padding: 4px 7px; font-size: 12px; cursor: pointer; margin-left: 3px; }
.adm-act:hover { border-color: var(--accent); }
.adm-act.danger:hover { border-color: #e25563; }
.adm-empty { text-align: center; color: var(--text-dim); padding: 20px; }

/* ===== Relatórios admin (Crescimento & Receita) ===== */
.adm-rep-switch { display: inline-flex; gap: 4px; background: var(--panel-3); border: 1px solid var(--border); border-radius: 11px; padding: 4px; margin-bottom: 18px; }
.adm-rep-btn { background: none; border: 0; border-radius: 8px; color: var(--text-dim); font-weight: 800; font-size: 13px; padding: 7px 16px; cursor: pointer; transition: all .15s; }
.adm-rep-btn.on { background: var(--accent); color: #06120d; }
.adm-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 20px; }
.adm-kpi { background: var(--panel-2); border: 1px solid var(--border); border-radius: 12px; padding: 13px 15px; }
.adm-kpi-top { display: flex; align-items: center; justify-content: space-between; }
.adm-kpi-ic { font-size: 15px; opacity: .85; }
.adm-kpi-v { font-size: 22px; font-weight: 800; margin: 6px 0 2px; letter-spacing: -.01em; }
.adm-kpi-l { font-size: 11px; color: var(--text-dim); font-weight: 700; }
.adm-delta { font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 20px; }
.adm-delta.up { background: rgba(54,184,115,.16); color: #36b873; }
.adm-delta.down { background: rgba(226,85,99,.16); color: #e25563; }
.adm-delta.flat { color: var(--text-dim); }
.adm-rep-chartbox { background: var(--panel-2); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; margin-bottom: 20px; }
.adm-rep-charth { font-size: 12px; font-weight: 800; color: var(--text-dim); margin-bottom: 14px; }
.adm-rep-leg { font-weight: 600; text-transform: none; letter-spacing: 0; margin-left: 8px; }
.adm-rep-leg i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin: 0 3px 0 8px; vertical-align: middle; }
.adm-rep-leg i.lg-sub { background: var(--accent); }
.adm-rep-leg i.lg-cred { background: #36b873; }
.adm-bars2 { display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.adm-bar2 { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; min-width: 0; }
.adm-bar2-v { font-size: 9px; color: var(--text-dim); font-weight: 700; white-space: nowrap; }
.adm-bar2-fill { width: 100%; max-width: 34px; min-height: 2px; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--accent), var(--accent-dim)); transition: height .3s; }
.adm-bar2-fill.cum { background: linear-gradient(180deg, #4fa6ea, #2c6ea8); }
.adm-bar2-fill.new { background: linear-gradient(180deg, var(--accent), var(--accent-dim)); }
.adm-bar2-fill.rev { background: linear-gradient(180deg, #36b873, #1f7d4c); }
.adm-bar2-x { font-size: 9px; color: var(--text-dim); white-space: nowrap; }
.adm-rep-tablebox { margin-bottom: 22px; }
.adm-rep-table td:first-child, .adm-rep-table th:first-child { font-weight: 800; }
.adm-rank { font-weight: 800; color: var(--accent); width: 22px; }
.adm-rep-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 720px) { .adm-rep-cols { grid-template-columns: 1fr; } }

/* ===== Admin em tela cheia ===== */
.adm-full { position: fixed; inset: 0; z-index: 10000; background: var(--bg, #0c1118); display: flex; flex-direction: column; animation: admFullIn .18s ease; }
@keyframes admFullIn { from { opacity: 0; } to { opacity: 1; } }
.adm-full-head { display: flex; align-items: center; gap: 18px; padding: 14px 26px; border-bottom: 1px solid var(--border); background: var(--panel-2); flex: none; }
.adm-full-title { font-size: 17px; font-weight: 800; white-space: nowrap; }
.adm-full-gs { flex: 1; max-width: 520px; display: flex; align-items: center; gap: 8px; background: var(--panel-3); border: 1px solid var(--border); border-radius: 10px; padding: 9px 13px; }
.adm-full-gs:focus-within { border-color: var(--accent); }
.adm-full-gs-ic { opacity: .7; font-size: 13px; }
.adm-full-gs input { flex: 1; background: none; border: 0; color: var(--text); font-size: 13.5px; outline: none; }
.adm-full-x { margin-left: auto; background: var(--panel-3); border: 1px solid var(--border); color: var(--text); border-radius: 9px; width: 36px; height: 36px; font-size: 15px; cursor: pointer; flex: none; }
.adm-full-x:hover { border-color: var(--accent); }
.adm-full-body { flex: 1; overflow-y: auto; }
.adm-full-inner { max-width: 1180px; margin: 0 auto; padding: 26px 26px 60px; }
.adm-full .ua-pane-t { display: none; } /* título já está no cabeçalho da tela cheia */
.adm-full .adm-cards { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.adm-full .adm-kpis { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
@media (max-width: 640px) { .adm-full-head { flex-wrap: wrap; gap: 10px; padding: 12px 16px; } .adm-full-gs { order: 3; max-width: none; width: 100%; } .adm-full-inner { padding: 18px 14px 50px; } }

/* ===== Modal "Gerenciar filtro" (atualizar / salvar como novo) ===== */
.fs-modal-ov { position: fixed; inset: 0; z-index: 9100; background: rgba(0,0,0,.55); display: grid; place-items: center; padding: 20px; }
.fs-modal { position: relative; background: var(--panel-2); border: 1px solid var(--border); border-radius: 16px; padding: 22px; width: 340px; max-width: 92vw; }
.fs-x { position: absolute; top: 12px; right: 12px; background: none; border: 0; color: var(--text-dim); font-size: 15px; cursor: pointer; }
.fs-modal-h { font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.fs-modal-lbl { font-size: 11.5px; font-weight: 800; color: var(--text-dim); text-transform: uppercase; letter-spacing: .04em; margin: 10px 0 6px; }
.fs-radio { display: flex; align-items: center; gap: 8px; font-size: 13.5px; padding: 7px 0; cursor: pointer; }
.fs-radio.off { opacity: .45; cursor: not-allowed; }
.fs-radio input { accent-color: var(--accent); width: 16px; height: 16px; }
.fs-modal-sel { font-size: 12.5px; color: var(--text-dim); margin: 4px 0 2px; }
.fs-modal-input { width: 100%; background: var(--panel-3); border: 1px solid var(--border); border-radius: 9px; padding: 10px 12px; color: var(--text); font-size: 14px; }
.fs-modal-input:focus { outline: none; border-color: var(--accent); }
.fs-modal-go { width: 100%; margin-top: 16px; background: #c5e063; color: #0a1410; border: 0; border-radius: 10px; padding: 12px; font-weight: 800; font-size: 14px; cursor: pointer; }
.fs-modal-go:hover { filter: brightness(1.04); }

/* ===== Suporte: botão flutuante + modal + status ===== */
.support-fab { position: fixed; right: 18px; bottom: 18px; z-index: 9000; display: flex; align-items: center; gap: 7px; background: #25d366; color: #06120d; border: 0; border-radius: 999px; padding: 11px 16px; font-weight: 800; font-size: 13px; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.support-fab:hover { filter: brightness(1.05); }
.support-fab .sf-ic { font-size: 16px; }
@media (max-width: 560px) { .support-fab .sf-tx { display: none; } .support-fab { padding: 13px; } }
.support-ov { position: fixed; inset: 0; z-index: 9001; background: rgba(0,0,0,.55); display: grid; place-items: center; padding: 20px; }
.support-box { position: relative; background: var(--panel-2); border: 1px solid var(--border); border-radius: 16px; padding: 22px; width: 380px; max-width: 92vw; }
.support-x { position: absolute; top: 12px; right: 12px; background: none; border: 0; color: var(--text-dim); font-size: 15px; cursor: pointer; }
.support-h { font-size: 16px; font-weight: 800; }
.support-sub { font-size: 13px; color: var(--text-dim); margin: 6px 0 14px; line-height: 1.5; }
.support-ta { width: 100%; background: var(--panel-3); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; color: var(--text); font-size: 13.5px; resize: vertical; font-family: inherit; }
.support-ta:focus { outline: none; border-color: var(--accent); }
.support-go { width: 100%; margin-top: 12px; background: #25d366; color: #06120d; border: 0; border-radius: 10px; padding: 11px; font-weight: 800; font-size: 13.5px; cursor: pointer; }
.support-go:hover { filter: brightness(1.05); }
.sup-st { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 20px; white-space: nowrap; }
.sup-st.sup-open { background: rgba(226,85,99,.16); color: #e25563; }
.sup-st.sup-prog { background: rgba(224,171,54,.16); color: #e0ab36; }
.sup-st.sup-res { background: rgba(54,184,115,.16); color: #36b873; }

/* ===== Planos (Mensal/Trimestral/Anual) + teste do Hórus ===== */
.ua-plans-lead { font-size: 13px; color: var(--text-dim); line-height: 1.6; margin: -2px 0 18px; }
.ua-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 720px) { .ua-plans { grid-template-columns: 1fr; } }
.ua-plan { position: relative; background: var(--panel-2); border: 1px solid var(--border); border-radius: 14px; padding: 18px 16px; display: flex; flex-direction: column; }
.ua-plan.feat { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.ua-plan.current { border-color: #36b873; }
.ua-plan-badge { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #06120d; font-size: 10px; font-weight: 800; padding: 3px 11px; border-radius: 20px; white-space: nowrap; }
.ua-plan-name { font-size: 15px; font-weight: 800; }
.ua-plan-price { font-size: 24px; font-weight: 800; margin: 6px 0 0; letter-spacing: -.01em; }
.ua-plan-price span { font-size: 12px; font-weight: 600; color: var(--text-dim); }
.ua-plan-permonth { font-size: 11px; color: var(--text-dim); margin-bottom: 13px; }
.ua-plan-feats { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.ua-plan-feats li { font-size: 12px; color: var(--text); line-height: 1.4; }
.ua-plan-feats li.ua-plan-hi { background: rgba(224,171,54,.12); border: 1px solid rgba(224,171,54,.32); color: #e0ab36; font-weight: 700; padding: 7px 9px; border-radius: 8px; }
.ua-plan-feats li.ua-plan-hi b { font-size: 14px; }
.ua-plan-btn { width: 100%; padding: 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel-3); color: var(--text); font-weight: 800; font-size: 13px; cursor: pointer; }
.ua-plan-btn.hot { background: var(--accent); color: #06120d; border-color: var(--accent); }
.ua-plan-btn:hover:not(.cur) { border-color: var(--accent); }
.ua-plan-btn.cur { background: rgba(54,184,115,.14); color: #36b873; border-color: rgba(54,184,115,.4); cursor: default; }
.ua-trial { color: #e0ab36; font-weight: 700; font-size: 11.5px; margin-top: 3px; }

/* flag do teste de 3 dias no topo do Hórus */
.prev-trial-flag { display: flex; align-items: center; gap: 13px; background: linear-gradient(90deg, rgba(224,171,54,.14), rgba(224,171,54,.04)); border: 1px solid rgba(224,171,54,.35); border-radius: 12px; padding: 11px 16px; margin-bottom: 16px; }
.ptf-ic { font-size: 20px; flex: none; }
.ptf-tx { flex: 1; font-size: 12.5px; color: var(--text); line-height: 1.5; }
.ptf-up { background: var(--accent); color: #06120d; border: 0; border-radius: 9px; padding: 8px 16px; font-weight: 800; font-size: 12.5px; cursor: pointer; white-space: nowrap; flex: none; }
.ptf-up:hover { filter: brightness(1.06); }
@media (max-width: 560px) { .prev-trial-flag { flex-wrap: wrap; } .ptf-tx { flex-basis: 100%; } }

/* esqueci a senha + modal de redefinição */
.ua-auth-forgot { background: none; border: 0; color: var(--accent); font-size: 12px; font-weight: 700; cursor: pointer; padding: 8px 2px 0; align-self: flex-start; }
.ua-auth-forgot:hover { text-decoration: underline; }
.ols-reset-ov { z-index: 10001; }
.ols-reset { background: var(--panel-2); border: 1px solid var(--border); border-radius: 16px; padding: 24px 22px; width: 360px; max-width: 92vw; }

/* toast de gate de login */
.ols-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(12px); background: var(--panel-2); border: 1px solid var(--border); color: var(--text); padding: 11px 18px; border-radius: 11px; font-size: 13.5px; font-weight: 700; box-shadow: 0 8px 28px rgba(0,0,0,.4); z-index: 9999; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: 80vw; text-align: center; }
.ols-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.ols-toast.warn { border-color: #e0ab36; }
/* botão 👤 logado → inicial em círculo de destaque */
.topbar .user { cursor: pointer; }
.topbar .user.logged { background: linear-gradient(180deg, var(--accent), var(--accent-dim)); border-color: var(--accent); color: #06120d; }
.user-ini { font-weight: 800; font-size: 15px; }
.ua-select option { padding: 5px 8px; }
.ua-now { font-size: 12.5px; color: var(--text-dim); margin: 10px 0; }
.ua-now b { color: var(--accent); font-weight: 800; }
.ua-save { background: var(--accent); border: 0; color: #fff; border-radius: 9px; padding: 9px 20px; font-weight: 800; font-size: 13px; cursor: pointer; display: block; }
.ua-save:hover { filter: brightness(1.06); }
@media (max-width: 720px) {
  .ua-shell { flex-direction: column; height: 92vh; }
  .ua-side { flex: none; border-right: none; border-bottom: 1px solid var(--border); }
  .ua-row { grid-template-columns: 1fr; gap: 4px; }
}
/* ===== Sistema de créditos (Backteste) ===== */
.bt-credits-bar { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-bottom: 14px; }
.bt-credits-chip { display: inline-flex; align-items: center; gap: 7px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 20px; padding: 7px 14px; font-size: 13px; font-weight: 700; color: var(--text-dim); }
.bt-credits-chip b { color: var(--text); font-weight: 800; }
.bt-credits-chip.sm { padding: 6px 11px; font-size: 12.5px; }
.bt-coin { color: #ffc107; }
.bt-buy-btn { background: var(--accent); border: 0; color: #fff; border-radius: 20px; padding: 8px 15px; font-size: 12.5px; font-weight: 800; cursor: pointer; }
.bt-buy-btn:hover { filter: brightness(1.06); }
.bt-cost-badge { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,193,7,.12); border: 1px solid rgba(255,193,7,.35); color: #e0a800; border-radius: 9px; padding: 7px 12px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.bt-cost-badge b { font-weight: 800; }
.bt-cost-badge.low { background: rgba(226,85,99,.14); border-color: rgba(226,85,99,.45); color: #e25563; }
.bt-cost-inc { font-weight: 800; opacity: .7; font-size: 11px; }
.bt-lg-flag { width: 16px; height: 11px; object-fit: cover; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.bt-lg-ctry { color: var(--text-dim); font-size: 11px; font-weight: 700; }
.bt-lg-sep { color: var(--text-dim); opacity: .5; margin: 0 5px; }
/* modal */
.bt-credits-modal-ov { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: none; place-items: center; z-index: 2100; padding: 24px; }
.bt-credits-modal-ov.open { display: grid; }
.bt-cm { width: min(560px, 95vw); background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: 0 24px 70px rgba(0,0,0,.55); }
.bt-cm h2 { margin: 0 0 6px; font-size: 19px; }
.bt-cm-sub { color: var(--text-dim); font-size: 13px; line-height: 1.5; margin: 0 0 20px; }
.bt-cm-packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.bt-cpack { position: relative; background: var(--panel-2); border: 1px solid var(--border); border-radius: 12px; padding: 18px 12px; text-align: center; cursor: pointer; transition: border-color .12s, transform .12s; }
.bt-cpack:hover { border-color: var(--accent); transform: translateY(-2px); }
.bt-cpack.popular { border-color: var(--accent); }
.bt-cpack-tag { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 2px 9px; border-radius: 20px; white-space: nowrap; }
.bt-cpack-q { font-size: 26px; font-weight: 800; color: #ffc107; }
.bt-cpack-l { font-size: 11px; color: var(--text-dim); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.bt-cpack-p { font-size: 15px; font-weight: 800; color: var(--text); }
.bt-cm-close { width: 100%; background: var(--panel-2); border: 1px solid var(--border); color: var(--text-dim); border-radius: 9px; padding: 10px; font-weight: 700; font-size: 13px; cursor: pointer; }
.bt-cm-close:hover { color: var(--text); }
/* alerta de créditos dos campeonatos (sobre "Filtrar campeonatos") */
.fp-lg-credit { float: right; display: inline-flex; align-items: center; gap: 4px; background: rgba(255,193,7,.14); border: 1px solid rgba(255,193,7,.4); color: #e0a800; border-radius: 20px; padding: 1px 9px; font-size: 11px; font-weight: 800; cursor: pointer; }
.fp-lg-credit:hover { background: rgba(255,193,7,.24); }
.fp-lg-pop { background: var(--panel); border: 1px solid var(--border); border-left: 3px solid #ffc107; border-radius: 10px; padding: 11px 13px; margin: 6px 0 10px; box-shadow: 0 8px 28px rgba(0,0,0,.35); }
.fp-lg-pop-head { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.fp-lg-pop-x { background: transparent; border: 0; color: var(--text-dim); font-size: 13px; cursor: pointer; line-height: 1; }
.fp-lg-pop-x:hover { color: var(--text); }
.fp-lg-pop-cost { font-size: 13px; font-weight: 800; color: #e0a800; margin-bottom: 5px; }
.fp-lg-pop-cost b { font-size: 16px; }
.fp-lg-pop-note { font-size: 11px; color: var(--text-dim); line-height: 1.45; }
/* seletor de ligas (backtest) */
.bt-leagues-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bt-leagues-btn { display: inline-flex; align-items: center; gap: 7px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 9px; padding: 9px 13px; font-size: 13px; font-weight: 700; color: var(--text); cursor: pointer; transition: border-color .12s; }
.bt-leagues-btn:hover { border-color: var(--accent); }
.bt-leagues-cost { font-size: 12.5px; font-weight: 800; color: #e0a800; }
.bt-lgm { width: min(560px, 95vw); }
.bt-lgm-tools { display: flex; gap: 8px; margin-bottom: 10px; }
.bt-lgm-search { flex: 1; background: var(--panel-2); border: 1px solid var(--border); border-radius: 9px; padding: 9px 12px; font-size: 13px; color: var(--text); }
.bt-lgm-search:focus { outline: none; border-color: var(--accent); }
.bt-lgm-tool { background: var(--panel-2); border: 1px solid var(--border); border-radius: 9px; padding: 9px 13px; font-size: 12.5px; font-weight: 700; color: var(--text-dim); cursor: pointer; }
.bt-lgm-tool:hover { border-color: var(--accent); color: var(--text); }
.bt-lgm-info { font-size: 12.5px; color: var(--text-dim); margin-bottom: 10px; }
.bt-lgm-info b { color: var(--text); }
.bt-lgm-list { max-height: 320px; overflow-y: auto; border: 1px solid var(--border); border-radius: 10px; padding: 6px; margin-bottom: 16px; }
.bt-lgm-opt { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 7px; cursor: pointer; font-size: 13px; color: var(--text-dim); }
.bt-lgm-opt:hover { background: var(--panel-2); color: var(--text); }
.bt-lgm-opt input { accent-color: var(--accent); width: 14px; height: 14px; }
/* toast */
.bt-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--panel); border: 1px solid var(--border); border-left: 3px solid #36b873; border-radius: 10px; padding: 12px 18px; font-size: 13px; font-weight: 700; color: var(--text); box-shadow: 0 12px 40px rgba(0,0,0,.4); z-index: 2200; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.bt-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.bt-toast.danger { border-left-color: #e25563; }
/* ===== Premium (planos) ===== */
.prem-wrap { max-width: 1180px; margin: 0 auto; padding: 40px 28px 70px; }
.prem-head { text-align: center; margin-bottom: 38px; }
.prem-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.prem-h1 { font-size: 30px; font-weight: 800; margin: 0 0 10px; }
.prem-sub { font-size: 14px; color: var(--text-dim); line-height: 1.6; max-width: 680px; margin: 0 auto; }
.prem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.prem-card { position: relative; height: 100%; background: linear-gradient(180deg, var(--panel), var(--panel-2)); border: 1px solid var(--border); border-radius: 16px; padding: 26px 24px; display: flex; flex-direction: column; }
.prem-card.popular { border-color: #ffc107; box-shadow: 0 0 0 1px rgba(255,193,7,.25), 0 18px 50px rgba(0,0,0,.4); }
.prem-badge { position: absolute; top: -11px; right: 22px; background: #ffc107; color: #1a1400; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 4px 12px; border-radius: 20px; }
.prem-tag { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px; }
.prem-name { font-size: 21px; font-weight: 800; margin-bottom: 16px; }
.prem-price { font-size: 26px; font-weight: 800; color: var(--text); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.prem-per { font-size: 13px; font-weight: 700; color: var(--text-dim); }
.prem-off { font-size: 11px; font-weight: 800; color: #36b873; background: rgba(54,184,115,.16); border-radius: 20px; padding: 3px 9px; align-self: center; }
.prem-total { font-size: 12.5px; color: var(--text-dim); margin-top: 4px; }
.prem-feat-note { color: #e0a800; font-weight: 800; }
.prem-sep { height: 1px; background: var(--border); margin: 18px 0 14px; }
.prem-incl { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px; }
.prem-feats { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prem-feats li { position: relative; padding-left: 26px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.prem-feats li::before { content: "✓"; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; border-radius: 50%; background: rgba(54,184,115,.18); color: #36b873; font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.prem-btn { width: 100%; background: var(--panel-3); border: 1px solid var(--border); color: var(--text); border-radius: 10px; padding: 13px; font-size: 14px; font-weight: 800; cursor: pointer; transition: border-color .12s, background .12s; }
.prem-btn:hover { border-color: var(--accent); }
.prem-btn.primary { background: #ffc107; border-color: #ffc107; color: #1a1400; }
.prem-btn.primary:hover { filter: brightness(1.05); }
.prem-foot { text-align: center; font-size: 12px; color: var(--text-dim); margin-top: 26px; }
@media (max-width: 880px) { .prem-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }
.user { cursor: pointer; }
.cs-topbar { display: flex; gap: 10px; padding: 12px 16px 0; }
/* ===== Hórus ===== */
.horus-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: rgba(212,175,55,.12); color: #d4af37; border: 1px solid rgba(212,175,55,.5); border-radius: 18px; font-weight: 800; font-size: 12.5px; white-space: nowrap; cursor: pointer; transition: background .15s; }
.horus-btn:hover { background: rgba(212,175,55,.22); }
.horus-btn.on { background: #d4af37; color: #1a1400; border-color: #d4af37; }
.horus-btn.has { box-shadow: 0 0 0 2px rgba(212,175,55,.25); }
.horus-eye { font-size: 14px; line-height: 1; }
.horus-flag { background: #d4af37; color: #1a1400; font-size: 10px; font-weight: 800; border-radius: 20px; padding: 1px 6px; margin-left: 2px; }
.horus-btn.on .horus-flag { background: #1a1400; color: #d4af37; }
.horus-head { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.horus-head .horus-eye { font-size: 18px; color: #d4af37; }
.horus-head b { color: #d4af37; }
/* ===== Cabeçalho · painel (escudos · centro VS/Bolsa/OVER · escudos) — tudo azul ===== */
.mh-vs-num { font-size: 26px; font-weight: 800; color: #fff; line-height: 1; }
.mh-vs-num.vs { font-size: 22px; letter-spacing: .06em; }
.mh-vs-status { font-size: 11.5px; font-weight: 700; color: rgba(255,255,255,.88); }
.mh-teia { margin-top: 12px; }
.mh-teia .forca-card { margin-bottom: 0; background: #1b2c56; border-color: rgba(255,255,255,.14); }
.mh-teia .forca-tn { color: #fff; }
.mh-teia .forca-gv span, .mh-teia .forca-over-l { color: rgba(255,255,255,.6); }
.mh-teia .forca-over-ring::after { background: #1b2c56; }
.forca-card { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 18px; margin-bottom: 18px; }
.forca-grid { display: grid; grid-template-columns: 1fr minmax(100px, auto) 1fr; align-items: center; gap: 16px; }
.forca-side { text-align: center; min-width: 0; }
.forca-crest { height: 44px; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.forca-crest img { max-height: 44px; max-width: 44px; object-fit: contain; }
.forca-tn { font-size: 13px; font-weight: 800; color: var(--text); margin-bottom: 6px; line-height: 1.2; }
.forca-side .mh-odd { margin: 0 auto 6px; }
.forca-side .mh-form { justify-content: center; margin-bottom: 8px; }
.forca-gv b { display: block; font-size: 26px; font-weight: 800; line-height: 1; color: #4fa6ea; font-variant-numeric: tabular-nums; }
.forca-gv b small, .forca-over-v small { font-size: 12px; font-weight: 800; }
.forca-over-na { font-size: 22px; font-weight: 800; color: var(--text-dim); }
/* Termômetro de gols — medidor radial segmentado (instrumento de painel) */
.tgauge { position: relative; width: 106px; height: 106px; margin: 0 auto; animation: tgIn .45s ease both; }
.tg-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.tg-t { stroke: rgba(255,255,255,.10); stroke-width: 3; stroke-linecap: round; transition: stroke .25s ease, filter .25s ease; }
.tg-t.on { stroke: var(--oc); animation: tgTick .5s ease both; animation-delay: calc(var(--i) * 11ms); }
.tg-center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-bottom: 16px; pointer-events: none; }
.tg-val { font-size: 27px; font-weight: 800; line-height: 1; color: var(--oc); font-variant-numeric: tabular-nums; letter-spacing: .5px; }
.tg-lbl { position: absolute; left: 0; right: 0; bottom: 7px; text-align: center; font-size: 8.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); white-space: nowrap; }
.tg-lbl .forca-i { pointer-events: auto; }
@keyframes tgIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }
@keyframes tgTick { from { opacity: .35; } to { opacity: 1; } }
.forca-i { font-style: normal; font-size: 9px; opacity: .55; cursor: help; margin-left: 1px; vertical-align: top; }
.forca-i:hover { opacity: 1; }
.forca-gv span { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); margin-top: 3px; }
.forca-center { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.forca-c-bolsa { display: flex; justify-content: center; }
.forca-c-bolsa a, .forca-c-bolsa .bolsa-badge { width: 30px; height: 30px; }
.forca-center .mh-odd.draw { margin: 0; }
.forca-overwrap { margin-top: 3px; }
.forca-over-ring { --p: 0; width: 96px; height: 96px; border-radius: 50%; background: conic-gradient(var(--oc, #4fa6ea) calc(var(--p) * 1%), rgba(255,255,255,.1) 0); display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; margin: 0 auto; transition: none; }
.forca-over-ring::after { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: var(--panel); }
.forca-over-v { position: relative; z-index: 1; font-size: 24px; font-weight: 800; color: var(--oc, #4fa6ea); line-height: 1; }
.forca-over-l { position: relative; z-index: 1; font-size: 9px; font-weight: 800; letter-spacing: .12em; color: var(--text-dim); margin-top: 2px; }
.horus-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin-bottom: 16px; }
/* ===== Card de indicação — formato único (anel + tag + métricas + leitura) ===== */
.hz-card { display: flex; align-items: center; gap: 16px; background: var(--panel); border: 1px solid var(--border); border-left: 3px solid var(--c); border-radius: 12px; padding: 16px 18px; }
.hz-ring { --p: 0; flex: 0 0 auto; width: 78px; height: 78px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), rgba(255,255,255,.07) 0); display: grid; place-items: center; position: relative; }
.hz-ring::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: var(--panel); }
.hz-ring-v { position: relative; z-index: 1; font-size: 22px; font-weight: 800; color: var(--c); line-height: 1; font-variant-numeric: tabular-nums; }
.hz-ring-v small { font-size: 12px; font-weight: 800; }
.hz-body { flex: 1 1 auto; min-width: 0; }
.hz-top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.hz-tag { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); border-radius: 6px; padding: 2px 8px; }
.hz-name { font-size: 15.5px; font-weight: 800; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hz-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.hz-m { background: var(--panel-2); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; }
.hz-m b { display: block; font-size: 18px; font-weight: 800; color: var(--text); line-height: 1.1; }
.hz-m span { font-size: 10px; color: var(--text-dim); }
.hz-read { font-size: 12px; color: var(--text-dim); }
/* card no estilo OverLay (painel + borda-acento à esquerda, como prev-card) */
.horus-empty { text-align: center; padding: 40px 20px; color: var(--text-dim); font-size: 13.5px; line-height: 1.6; }
.horus-empty-eye { font-size: 34px; color: #d4af37; opacity: .8; margin-bottom: 10px; }
/* selo na lista de jogos */
.game { position: relative; }
.game-horus { position: absolute; top: 4px; right: 6px; font-size: 13px; color: #d4af37; filter: drop-shadow(0 0 3px rgba(212,175,55,.5)); }
.cs-float-btn { flex: none; padding: 8px 16px; background: rgba(54,184,115,.14); color: #36b873; border: 1px solid rgba(54,184,115,.5); border-radius: 18px; font-weight: 800; font-size: 12.5px; white-space: nowrap; transition: background .15s, color .15s; }
.cs-float-btn:hover { background: rgba(54,184,115,.26); }
.cs-float-btn.on { background: #36b873; color: #06251a; border-color: #36b873; }
.dtabs button .tagnew { background: transparent; color: var(--accent); border: 1px solid var(--accent); font-size: 8px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 1px 4px; border-radius: 4px; margin-left: 6px; vertical-align: middle; opacity: .8; }
.dbody { padding: 18px 24px; overflow-y: auto; width: 100%; flex: 1; min-height: 0; }

/* ---- Aba Resultados Corretos ---- */
/* barra de controles Back/Lay + dutching — FORA do scroll (#dbody) */
.cs-ctrl-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 10px 24px; border-bottom: 1px solid var(--border); background: var(--panel); flex: none; }
.cs-mode-toggle { display: flex; border-radius: 22px; overflow: hidden; border: 1px solid var(--border); flex: none; }
.cs-mode-btn { padding: 7px 18px; border: 0; font-weight: 800; font-size: 13px; background: var(--panel-2); color: var(--text-dim); }
.cs-mode-btn.back.on { background: #1e6fd9; color: #fff; }
.cs-mode-btn.lay.on  { background: #c0436a; color: #fff; }
.cs-mode-btn:not(.on):hover { color: var(--text); }
/* dutching bar */
.cs-dutching-bar { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.cs-duch-hint { font-size: 12px; white-space: nowrap; }
.cs-duch-result { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; }
.cs-duch-label { font-size: 12px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 340px; }
.cs-ev-mid { background: rgba(224,171,54,.18); color: #e7be57; font-weight: 800; font-size: 12.5px; padding: 4px 10px; border-radius: 7px; }
/* tabela */
.cs-table { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cs-table thead th { background: var(--panel-2); padding: 9px 10px; text-align: left; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-dim); border-bottom: 1px solid var(--border); white-space: nowrap; }
.cs-tr td { padding: 6px 10px; vertical-align: middle; }
.cs-tr:nth-child(even) { background: rgba(255,255,255,.025); }
.cs-tr:hover td { background: var(--panel-2); }
.cs-group .cs-td-score { font-size: 11.5px; color: var(--text-dim); font-weight: 600; }
.cs-td-chk { width: 24px; padding-right: 0 !important; }
.cs-td-score { font-weight: 800; width: 220px; }
.cs-td-prob { font-weight: 800; font-size: 13.5px; color: var(--accent); width: 110px; text-align: center !important; }
.cs-td-badge { width: 115px; text-align: center !important; }
.cs-td-calc { width: 200px; }
/* header de coluna sortável */
.cs-sortable { cursor: pointer; user-select: none; text-align: center !important; }
.cs-sortable:hover { color: var(--text); }
.cs-sort-arrow { font-size: 10px; margin-left: 4px; color: var(--text-dim); vertical-align: middle; }
.cs-sort-arrow.on { color: var(--accent); }
/* checkbox */
.cs-chk { display: inline-flex; align-items: center; cursor: pointer; }
.cs-chk input { display: none; }
.cs-chk span { width: 16px; height: 16px; border: 2px solid var(--border); border-radius: 4px; display: inline-block; background: var(--panel-2); }
.cs-chk input:checked + span { background: var(--accent); border-color: var(--accent); }
.cs-chk input:checked + span::after { content: ''; display: block; width: 4px; height: 8px; border: 2px solid #06120d; border-left: 0; border-top: 0; transform: rotate(45deg) translate(2px, -1px); }
/* badge */
.cs-badge { display: inline-block; min-width: 64px; text-align: center; font-weight: 800; font-size: 11.5px; padding: 5px 10px; border-radius: 7px; white-space: nowrap; color: #111315; }
.cs-alto { background: #36b873; }
.cs-mod  { background: #e0ab36; }
.cs-low  { background: #e06277; }
/* calculadora */
.cs-calc-row { display: flex; align-items: center; gap: 7px; }
.cs-odd-input { width: 68px; background: var(--panel-2); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); padding: 5px 7px; font-size: 13px; font-weight: 700; text-align: center; }
.cs-odd-input:focus { outline: none; border-color: var(--accent); }
/* Referência de odds da Bolsa (Back/Lay do placar correto) */
.cs-bolsa-ref { margin-top: 4px; font-size: 10.5px; color: var(--text-dim); white-space: nowrap; }
.cs-back { color: #2b8aef; font-weight: 800; }  /* back = azul */
.cs-lay  { color: #ec5a86; font-weight: 800; }  /* lay = rosa  */
.cs-bolsa-last { opacity: .7; }
.cs-bolsa-none { font-style: italic; opacity: .65; }
.cs-ev-empty { color: var(--text-dim); font-size: 12px; }
.cs-ev { font-weight: 800; font-size: 12px; padding: 5px 10px; border-radius: 7px; white-space: nowrap; color: #111315; }
.ev-pos { background: #36b873; }
.ev-neg { background: #e06277; }

/* ---- Aba Cantos & Cartões ---- */
.cc-period { display: flex; gap: 6px; margin-bottom: 14px; }
.cc-period button { background: var(--panel-2); border: 1px solid var(--border); color: var(--text-dim); font-weight: 700; font-size: 12px; padding: 7px 14px; border-radius: 18px; }
.cc-period button.on { background: var(--panel-3); color: var(--text); border-color: var(--accent); }
.cc-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; }
.cc-full { margin-top: 14px; }
.cc-thead { display: grid; grid-template-columns: 32px 1fr 32px; align-items: center; padding: 8px 14px; background: var(--panel-2); border-bottom: 1px solid var(--border); }
.cc-thead img { width: 24px; height: 24px; object-fit: contain; }
.cc-lbl { text-align: center; font-weight: 800; font-size: 12.5px; }
.cc-crest.r { display: flex; justify-content: flex-end; }
.cc-row { display: grid; grid-template-columns: 1fr 1.4fr 1fr; padding: 7px 14px; border-top: 1px solid var(--border); }
.cc-row:nth-child(even) { background: rgba(255,255,255,.022); }
.cc-h { font-weight: 800; font-size: 13px; text-align: left; }
.cc-a { font-weight: 800; font-size: 13px; text-align: right; }
.cc-mid { text-align: center; color: var(--text-dim); font-size: 12px; }
.cc-over-head, .cc-over-row { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; align-items: center; padding: 7px 14px; }
.cc-over-head { background: var(--panel-2); border-bottom: 1px solid var(--border); font-size: 11px; font-weight: 700; color: var(--text-dim); text-align: center; }
.cc-over-head .cc-ol { text-align: left; }
.cc-over-row { border-top: 1px solid var(--border); text-align: center; }
.cc-over-row:nth-child(even) { background: rgba(255,255,255,.022); }
.cc-ol { text-align: left; font-weight: 700; font-size: 13px; }
.cc-badge { display: inline-block; min-width: 46px; padding: 5px 8px; border-radius: 7px; font-weight: 800; font-size: 12.5px; text-align: center; color: #111315; }
.cc-badge.g-ov { background: #36b873; } .cc-badge.g-nt { background: #e0ab36; } .cc-badge.g-un { background: #e06277; color: #fff; }
.cc-phead, .cc-prow { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; padding: 6px 14px; }
.cc-phead { background: var(--panel-2); border-bottom: 1px solid var(--border); font-size: 11px; font-weight: 700; color: var(--text-dim); text-align: center; }
.cc-prow { border-top: 1px solid var(--border); text-align: center; font-size: 13px; }
.cc-prow:nth-child(even) { background: rgba(255,255,255,.022); }
.cc-pmid { text-align: left; color: var(--text-dim); font-size: 12px; }
.cc-mhead-teams, .cc-mhead, .cc-mrow { display: grid; grid-template-columns: 72px 1fr 1fr 1fr 1fr 1fr 1fr; align-items: center; padding: 5px 14px; font-size: 12.5px; text-align: center; }
.cc-mhead-teams { background: var(--panel-2); font-weight: 800; border-bottom: 1px solid var(--border); }
.cc-mhead { background: var(--panel-2); font-size: 11px; font-weight: 700; color: var(--text-dim); border-bottom: 1px solid var(--border); }
.cc-mrow { border-top: 1px solid var(--border); }
.cc-mrow:nth-child(even) { background: rgba(255,255,255,.022); }
.cc-mint { text-align: left; font-weight: 700; color: var(--text-dim); font-size: 12px; }
.cc-msep { font-weight: 800; color: var(--text); }
.cc-mteam { font-weight: 800; font-size: 12.5px; text-align: center; }

/* sub-abas da aba Eventos Live/Formações */
.live-subtabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.live-subtabs button { background: var(--panel-2); border: 1px solid var(--border); color: var(--text-dim); font-weight: 700; font-size: 13px; padding: 9px 18px; border-radius: 20px; }
.live-subtabs button:hover { color: var(--text); }
.live-subtabs button.on { background: var(--panel-3); color: var(--text); border-color: var(--accent); }
.lu-conf { margin-left: auto; align-self: center; display: inline-flex; align-items: center; gap: 5px; background: rgba(54,184,115,.12); border: 1px solid rgba(54,184,115,.4); color: #43d18a; font-weight: 700; font-size: 12px; padding: 6px 12px; border-radius: 20px; white-space: nowrap; }

/* ----- aba Estatísticas (estilo Sofascore) ----- */
.stats-cols { column-count: 2; column-gap: 14px; }
.stats-cols .stat-section, .stats-cols .odds-card { break-inside: avoid; }
@media (max-width: 1100px) { .stats-cols { column-count: 1; } }
.period-toggle { display: flex; gap: 4px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 22px; padding: 4px; margin: 0 auto 16px; max-width: 360px; }
.period-toggle button { flex: 1; border: 0; background: transparent; color: var(--text-dim); font-weight: 700; font-size: 12.5px; padding: 8px 6px; border-radius: 18px; }
.period-toggle button.on { background: var(--accent); color: #062018; }
.stat-section { background: var(--panel-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 18px 12px; margin-bottom: 14px; }
.sgroup-head { text-align: center; font-size: 11px; font-weight: 800; color: var(--text-dim); text-transform: uppercase; letter-spacing: .8px; padding: 12px 0 10px; }
.srow { padding: 9px 0; }
.srow + .srow { border-top: 1px solid var(--border); }
.snums { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-bottom: 8px; }
.sv { font-size: 15px; font-weight: 700; color: var(--text-dim); display: flex; flex-direction: column; }
.sv:first-child { align-items: flex-start; }
.sv:last-child { align-items: flex-end; }
.sv small { font-size: 10.5px; font-weight: 600; opacity: .8; margin-top: 1px; }
.sv.win { color: var(--text); }
.sv.win.h { color: var(--accent); }
.sv.win.a { color: var(--away); }
.slabel { text-align: center; color: var(--text); font-size: 13px; font-weight: 500; padding: 0 14px; }
.mbar { display: flex; height: 5px; gap: 3px; }
.mhalf { width: 50%; display: flex; }
.mhalf.left { justify-content: flex-end; }
.mhalf.right { justify-content: flex-start; }
.mhalf i { height: 100%; border-radius: 3px; background: var(--panel-3); display: block; min-width: 3px; }
.mhalf i.h { background: var(--accent); }
.mhalf i.a { background: var(--away); }
.mhalf i.dim { background: var(--panel-3); }
.splitbar { display: flex; height: 7px; gap: 3px; }
.splitbar i { height: 100%; border-radius: 3px; display: block; min-width: 4px; }
.splitbar i.h { background: var(--accent); }
.splitbar i.a { background: var(--away); }

/* ----- aba Resumo ----- */
.period-band { background: var(--panel-2); padding: 8px 14px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 700; color: var(--text-dim); display: flex; justify-content: space-between; margin: 8px 0 4px; }
.event { display: grid; grid-template-columns: 1fr 44px 1fr; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.event .min { text-align: center; color: var(--text-dim); font-weight: 700; font-size: 12px; }
.event .side { display: flex; align-items: center; gap: 8px; }
.event .side.home { justify-content: flex-end; }
.event .side.away { justify-content: flex-start; grid-column: 3; }
.event .ico { width: 18px; height: 18px; display: grid; place-items: center; font-size: 13px; }
.ico-yc { color: #f0c000; } .ico-rc { color: var(--away); } .ico-sub { color: var(--accent); }
.event .ptxt { color: var(--text); }
.event .ptxt small { display: block; color: var(--text-dim); font-size: 11px; }

/* ----- aba Est. de jogador ----- */
.player-team-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.player-team-tabs button { background: var(--panel-2); border: 1px solid var(--border); color: var(--text-dim); padding: 7px 14px; border-radius: 20px; font-weight: 700; font-size: 12px; }
.player-team-tabs button.on { background: var(--panel-3); color: var(--text); border-color: var(--accent); }
.pcat-tabs { display: flex; gap: 2px; overflow-x: auto; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.pcat-tabs button { background: transparent; border: 0; color: var(--text-dim); font-weight: 700; font-size: 12.5px; padding: 9px 11px; white-space: nowrap; position: relative; }
.pcat-tabs button.on { color: var(--text); }
.pcat-tabs button.on::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 3px; background: var(--accent); border-radius: 3px; }
.ptable-wrap { overflow-x: auto; }
table.ptable { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.ptable th, table.ptable td { padding: 9px 12px; text-align: center; border-bottom: 1px solid var(--border); white-space: nowrap; }
table.ptable thead th { color: var(--text-dim); font-size: 11px; font-weight: 700; position: sticky; top: 0; background: var(--panel); z-index: 2; }
table.ptable th.psort { cursor: pointer; user-select: none; }
table.ptable th.psort:hover { color: var(--text); }
table.ptable th.psort.on { color: var(--accent); }
table.ptable td.best { background: rgba(43,229,160,.14); color: var(--text); font-weight: 800; border-radius: 6px; }
.pcol-name { position: sticky; left: 0; background: var(--panel); text-align: left !important; min-width: 184px; z-index: 3; }
table.ptable thead th.pcol-name { z-index: 4; }
.pcol-inner { display: flex; align-items: center; gap: 9px; }
.pl-photo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--panel-3); }
.pl-photo.ph { display: grid; place-items: center; font-weight: 800; color: var(--text-dim); font-size: 14px; }
.pl-photo.sm { width: 30px; height: 30px; flex: none; }
.pl-id { min-width: 0; }
.pl-name { font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-meta { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 11px; }
.pl-flag { width: 16px; height: 11px; border-radius: 2px; object-fit: cover; }
.cap { background: var(--primary); color: #fff; font-size: 9px; font-weight: 800; padding: 1px 4px; border-radius: 3px; vertical-align: middle; }
.pl-crest { width: 13px; height: 13px; object-fit: contain; }
.pl-bench { font-size: 9px; color: var(--text-dim); font-weight: 600; background: var(--panel-3); padding: 1px 4px; border-radius: 3px; }
.rating { font-weight: 800; padding: 3px 7px; border-radius: 5px; color: #062018; background: var(--accent); font-size: 12.5px; min-width: 34px; text-align: center; display: inline-block; }
.rating.mid { background: var(--warn); color: #2a1f00; } .rating.low { background: var(--away); color: #fff; }

/* ----- aba Odds ----- */
.odds-head { text-align: center; font-size: 11px; margin-bottom: 12px; }
.odds-card { background: var(--panel-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 14px; }
.odds-card h4 { font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 10px; text-align: center; }
.odd-row { display: grid; gap: 8px; }
.odd-row.c2 { grid-template-columns: 1fr 1fr; }
.odd-row.c3 { grid-template-columns: 1fr 1fr 1fr; }
.odd-row.wrap { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.odd-sel { display: flex; flex-direction: column; align-items: center; gap: 3px; background: var(--panel-3); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 6px; }
.odd-sel:hover { border-color: var(--accent); }
.odd-sel .ol { font-size: 11px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.odd-sel .ov { font-size: 14px; font-weight: 800; color: var(--accent); }
.ou-grid { display: flex; flex-direction: column; gap: 7px; }
.ou-line { display: grid; grid-template-columns: 48px 1fr 1fr; gap: 8px; align-items: center; }
.ou-line .ou-t { font-weight: 800; color: var(--text); text-align: center; }
.cs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.odds-more { width: 100%; background: var(--panel-2); border: 1px solid var(--border); color: var(--text); padding: 10px; border-radius: var(--radius-sm); font-weight: 700; font-size: 12.5px; margin-bottom: 14px; }
.odds-more:hover { border-color: var(--accent); }

/* ----- aba ANÁLISE ----- */
.an-intro { color: var(--text-dim); font-size: 12px; text-align: center; margin-bottom: 16px; }
.an-card { background: var(--panel-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 14px; }
.an-card h4 { font-size: 13px; font-weight: 800; margin-bottom: 4px; }
.an-card .sub { font-size: 11px; color: var(--text-dim); margin-bottom: 14px; }
.prob-bar { display: flex; height: 30px; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 10px; }
.prob-bar i { display: grid; place-items: center; font-size: 12px; font-weight: 800; min-width: 28px; }
.prob-bar i.h { background: var(--accent); color: #062018; }
.prob-bar i.d { background: var(--text-dim); color: #11181f; }
.prob-bar i.a { background: var(--away); color: #fff; }
.prob-legend { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.prob-cell { text-align: center; }
.prob-cell .pc-lbl { font-size: 11px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prob-cell .pc-pct { font-size: 18px; font-weight: 800; }
.prob-cell .pc-odd { font-size: 11px; color: var(--text-dim); }
.prob-cell.h .pc-pct { color: var(--accent); }
.prob-cell.a .pc-pct { color: var(--away); }
.an-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.an-pill { background: var(--panel-3); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px; text-align: center; }
.an-pill .ap-lbl { font-size: 11px; color: var(--text-dim); }
.an-pill .ap-pct { font-size: 22px; font-weight: 800; margin: 4px 0 2px; }
.an-pill .ap-odd { font-size: 11px; color: var(--text-dim); }
.an-pill.yes .ap-pct, .an-pill.over .ap-pct { color: var(--accent); }
.an-pill.no .ap-pct, .an-pill.under .ap-pct { color: var(--away); }
.an-read { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--border); font-size: 13px; }
.an-read:first-of-type { border-top: 0; }
.an-read .ar-ico { font-size: 16px; }
.an-read .ar-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--text-dim); }
.an-read .ar-dot.d-accent { background: var(--accent); }
.an-read .ar-dot.d-warn { background: var(--warn); }
.an-read .ar-dot.d-loss { background: var(--away); }
.an-read b { color: var(--text); }
.an-tag { display: inline-block; font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 10px; }
.an-tag.fav { background: rgba(43,229,160,.16); color: var(--accent); }
.an-tag.tight { background: rgba(255,194,75,.16); color: var(--warn); }
.an-disc { font-size: 10.5px; color: var(--text-dim); text-align: center; margin-top: 8px; line-height: 1.5; }
/* motor analítico */
.an-summary { display: grid; grid-template-columns: 1fr 1.3fr 1fr; align-items: center; gap: 8px; }
.an-xg { text-align: center; }
.an-xg-t { font-size: 12px; color: var(--text-dim); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.an-xg-v { font-size: 26px; font-weight: 800; color: var(--text); }
.an-xg.mid .an-xg-v { font-size: 27px; }
.an-xg.mid .an-xg-v span { color: var(--text-dim); font-weight: 600; }
.an-xg-l { font-size: 10px; color: var(--text-dim); margin-top: 2px; }
.an-tot { font-size: 12px; color: var(--text-dim); margin-top: 6px; }
.an-tot b { color: var(--accent); }
.an-grow { display: grid; grid-template-columns: 72px 1fr 48px; align-items: center; gap: 10px; padding: 6px 0; }
.an-gl { font-size: 12.5px; color: var(--text-dim); font-weight: 700; }
.an-gbar { height: 9px; background: var(--panel-3); border-radius: 5px; overflow: hidden; }
.an-gbar i { display: block; height: 100%; border-radius: 5px; }
.an-gbar i.g-ov { background: #36b873; } .an-gbar i.g-nt { background: #e0ab36; } .an-gbar i.g-un { background: #e06277; }
.an-gp { text-align: right; font-weight: 800; font-size: 13px; }
.an-sig { display: inline-grid; place-items: center; min-width: 58px; padding: 5px 10px; border-radius: 8px; font-weight: 800; font-size: 13px; color: #111315; flex: none; }
.an-sig.g-ov { background: #36b873; } .an-sig.g-nt { background: #e0ab36; } .an-sig.g-un { background: #e06277; }
.an-score-head, .an-score-row { display: grid; grid-template-columns: 1fr 90px 80px; align-items: center; }
.an-score-head { font-size: 10.5px; text-transform: uppercase; letter-spacing: .5px; color: var(--text-dim); font-weight: 700; padding: 6px 4px 8px; border-bottom: 1px solid var(--border); }
.an-score-row { padding: 9px 4px; border-bottom: 1px solid var(--border); }
.an-score-row:last-of-type { border-bottom: 0; }
.an-sc { font-weight: 800; }
.an-scp { text-align: center; font-weight: 700; color: var(--accent); }
.an-sco { text-align: right; color: var(--text-dim); font-size: 12.5px; }
/* ---- Análise: scanner de sinais fortes ---- */
.an-empty { background: var(--panel-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; text-align: center; font-size: 14px; color: var(--text-dim); margin-bottom: 14px; line-height: 1.6; }
.an-section { margin-bottom: 20px; }
.an-sec-head { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 9px; }
.an-sec-head span { opacity: .85; }
.an-sec-cards { display: flex; flex-direction: column; gap: 8px; }
/* card de sinal (Back/Lay) */
.an-sig-card { display: flex; align-items: center; gap: 16px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.an-sig-card:hover { background: var(--panel-2); }
.an-sig-pos { border-left: 3px solid #36b873; background: rgba(46,189,119,.05); }
.an-sig-neg { border-left: 3px solid #e06277; background: rgba(224,98,119,.05); }
.an-sig-body { flex: 1; min-width: 0; }
.an-sig-title { font-weight: 800; font-size: 14px; color: var(--text); margin-bottom: 6px; }
.an-sig-data { display: flex; flex-direction: column; gap: 3px; }
.an-sig-data span { font-size: 12px; color: var(--text-dim); display: flex; align-items: center; gap: 6px; }
.an-sig-data span::before { content: '•'; color: var(--border); font-size: 10px; flex: none; }
.an-sig-right { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: none; min-width: 90px; }
.an-sig-pct { font-size: 24px; font-weight: 800; line-height: 1; }
.pct-pos { color: #36b873; } .pct-neg { color: #e06277; }
.an-sig-pill { font-size: 11.5px; font-weight: 800; padding: 5px 16px; border-radius: 20px; color: #fff; border: 0; }
.pill-back { background: #1e6fd9; } .pill-lay { background: #c0436a; }
.an-sig-market { font-size: 10.5px; color: var(--text-dim); text-align: center; line-height: 1.3; }
/* legado */
.ins-cat { display: none; } .ins-grid { display: none; }

/* ----- aba ESTATÍSTICAS GERAIS ----- */
.eg-filters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.eg-fg { text-align: center; }
.eg-lbl { font-size: 10px; text-transform: uppercase; letter-spacing: .6px; color: var(--text-dim); font-weight: 800; margin-bottom: 6px; }
.eg-seg { display: flex; background: var(--panel-2); border: 1px solid var(--border); border-radius: 20px; padding: 3px; gap: 2px; }
.eg-seg button { flex: 1; border: 0; background: transparent; color: var(--text-dim); font-weight: 700; font-size: 11.5px; padding: 7px 4px; border-radius: 16px; white-space: nowrap; }
.eg-seg button.on { background: var(--panel-3); color: var(--text); }
.eg-note { font-size: 11.5px; text-align: center; margin-bottom: 14px; }
.eg-warn { font-size: 12px; line-height: 1.5; text-align: center; color: #e0a13a; background: rgba(224,161,58,.1); border: 1px solid rgba(224,161,58,.3); border-radius: 8px; padding: 8px 12px; margin: -6px auto 14px; max-width: 560px; }
.eg-warn b { color: var(--text); }
.eg-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
/* Estatísticas Gerais + Previsões lado a lado (números colam nos rótulos) */
.eg-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.eg-2col .eg-card { margin-bottom: 0; }
@media (max-width: 900px) { .eg-2col { grid-template-columns: 1fr; } }
.eg-head { background: var(--panel-2); color: var(--accent); font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: 1.2px; text-align: center; padding: 12px; border-bottom: 2px solid var(--accent); }
.eg-head .lu-lh { color: var(--text); }
/* tabela de indicadores (casa | rótulo | fora) */
.eg-table { background: var(--panel); }
.eg-row { display: grid; grid-template-columns: 1fr 1.6fr 1fr; align-items: center; }
.eg-row:not(.eg-thead) { border-top: 1px solid var(--border); }
.eg-row:not(.eg-thead):nth-of-type(even) { background: rgba(255,255,255,.02); }
.eg-row > div { padding: 12px 18px; }
.eg-h { text-align: left; font-weight: 800; font-size: 14px; }
.eg-a { text-align: right; font-weight: 800; font-size: 14px; }
.eg-mid { text-align: center; color: var(--text-dim); font-size: 12.5px; font-weight: 600; }
.eg-thead { background: var(--panel-2); border-bottom: 1px solid var(--border); }
.eg-thead .eg-mid { color: var(--text); font-weight: 800; }
.eg-thead .eg-h, .eg-thead .eg-a { display: flex; align-items: center; }
.eg-thead .eg-a { justify-content: flex-end; }
.eg-thead img { width: 26px; height: 26px; object-fit: contain; }
/* tabela mercado de gols */
.eg-gtable { background: var(--panel); }
.eg-grow { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; align-items: center; border-top: 1px solid var(--border); }
.eg-grow > div { padding: 12px 14px; text-align: center; }
.eg-gl { text-align: left !important; font-weight: 800; }
.eg-gv { color: var(--text); font-weight: 700; }
.eg-ghead { background: var(--panel-2); }
.eg-ghead .eg-gv, .eg-ghead .eg-gj { color: var(--text); font-weight: 800; font-size: 12.5px; }
.eg-ghead { font-size: 12.5px; }
.eg-badge { display: inline-block; min-width: 56px; padding: 6px 10px; border-radius: 7px; font-weight: 800; font-size: 14px; background: var(--panel-3); color: var(--text-dim); }
.eg-badge.g-ov { background: rgba(46,189,119,.15); color: #43d18a; }
.eg-badge.g-nt { background: rgba(224,169,46,.15); color: #e7be57; }
.eg-badge.g-un { background: rgba(226,85,99,.15); color: #ee6b78; }

/* bloco Últimos jogos & Confrontos */
.eg-scope { display: flex; padding: 12px 14px 4px; }
.eg-scope .eg-seg { width: 100%; }
.eg-scopenote { padding: 4px 14px 12px; font-size: 11.5px; }
.eg-resumo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border-top: 1px solid var(--border); }
.eg-rc { background: var(--panel); padding: 12px 10px; text-align: center; }
.eg-rl { font-size: 11px; color: var(--text-dim); margin-bottom: 5px; }
.eg-rv { font-size: 17px; font-weight: 800; color: var(--text); }
.eg-rv.g-ov { color: #43d18a; }
.eg-rv.g-nt { color: #e7be57; }
.eg-rv.g-un { color: #ee6b78; }
.eg-matches { border-top: 1px solid var(--border); }
.eg-match { display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-bottom: 1px solid var(--border); transition: background .12s; }
.eg-match:hover { background: rgba(255,255,255,.025); }
.eg-match:last-child { border-bottom: 0; }
/* chip de resultado (V/E/D) do time em foco — leitura instantânea da forma */
.mc-when { flex: 0 0 auto; min-width: 118px; max-width: 190px; }
.mc-date { font-size: 12px; font-weight: 700; color: var(--text); white-space: nowrap; }
.mc-comp { font-size: 10px; color: var(--text-dim); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-res { flex: 0 0 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-size: 11.5px; font-weight: 800; background: var(--panel-3); color: var(--text-dim); }
.mc-res.r-v { background: #36b873; color: #06120d; }
.mc-res.r-e { background: #7c8696; color: #fff; }
.mc-res.r-d { background: #e25563; color: #fff; }
.mc-body { flex: 1; min-width: 0; }
.mc-meta { font-size: 10px; color: var(--text-dim); margin-left: auto; flex: 1 1 auto; min-width: 0; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* grade: mandante | placar | visitante — placares alinhados na coluna central */
.mc-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.mc-side { display: flex; align-items: center; gap: 7px; min-width: 0; }
.mc-side.home { justify-content: flex-end; }
.mc-side.away { justify-content: flex-start; }
.mc-side img { width: 20px; height: 20px; object-fit: contain; flex: none; }
.mc-ph { width: 20px; height: 20px; border-radius: 4px; background: var(--panel-3); display: inline-block; flex: none; }
.mc-team { font-weight: 600; font-size: 13px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mc-team.win { color: var(--text); font-weight: 800; }
.mc-score { font-weight: 800; font-size: 17px; color: var(--text); min-width: 50px; text-align: center; font-variant-numeric: tabular-nums; }
.mc-score i { color: var(--text-dim); font-style: normal; font-weight: 600; margin: 0 4px; font-size: 13px; }
.mc-meta-row { display: flex; align-items: center; gap: 5px; margin-top: 4px; flex-wrap: nowrap; overflow: hidden; min-width: 0; }
.mc-tag { font-size: 9.5px; font-weight: 700; padding: 1.5px 7px; border-radius: 20px; background: var(--panel-3); color: var(--text-dim); flex: none; white-space: nowrap; }
.mc-tag.loc { background: rgba(79,166,234,.14); color: var(--accent); }
.mc-tag.ov { background: rgba(54,184,115,.14); color: #36b873; }
.mc-tag.un { background: rgba(160,160,160,.10); color: var(--text-dim); }
.mc-tag.btts { background: rgba(224,171,54,.14); color: #e0ab36; }
.eg-scopebar, .eg-sidebar { margin-bottom: 10px; }
/* escopo de time menor/compacto */
.eg-seg.sm button { font-size: 12px; padding: 8px 4px; font-weight: 700; }
/* pílulas Geral/Casa/Fora (+ 10/20) centralizadas, estilo LayScore */
.eg-sidepills { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-bottom: 12px; }
.eg-pill { background: var(--panel-2); border: 1px solid var(--border); color: var(--text-dim); font-weight: 700; font-size: 12px; padding: 6px 14px; border-radius: 18px; }
.eg-pill:hover { color: var(--text); }
.eg-pill.on { background: var(--panel-3); color: var(--text); border-color: var(--accent); }
.eg-pill.locked { opacity: .4; cursor: not-allowed; }
.eg-pill.locked:hover { color: var(--text-dim); }
.eg-pill-sep { width: 1px; height: 18px; background: var(--border); margin: 0 4px; }
.eg-empty { padding: 24px; text-align: center; font-size: 12.5px; }

/* Momento do gol — tabela com % totalmente preenchida (estilo LayScore) */
.mg-wrap { overflow-x: auto; }
.mg-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.mg-table th, .mg-table td { padding: 11px 6px; text-align: center; border-bottom: 1px solid var(--border); }
.mg-table thead th { color: var(--text-dim); font-weight: 700; }
.mg-table .mg-sub th { font-size: 12px; letter-spacing: .3px; }
.mg-crest img { width: 26px; height: 26px; object-fit: contain; vertical-align: middle; }
.mg-int { color: var(--text-dim); font-weight: 700; white-space: nowrap; font-size: 13.5px; }
.mg-table td { color: var(--text); font-weight: 600; }
.mg-t { color: var(--text); font-weight: 800; }
.mg-pct { padding: 6px 12px; }
/* todos os blocos com o MESMO tamanho */
.mg-fill { display: inline-block; width: 60px; padding: 4px 0; border-radius: 7px; font-weight: 800; font-size: 12px; text-align: center; box-sizing: border-box; color: #111315; }
.mg-fill.pf-g { background: #36b873; }
.mg-fill.pf-y { background: #e0ab36; }
.mg-fill.pf-r { background: #e06277; }
.mg-total td { font-weight: 800; color: var(--text); border-bottom: 0; border-top: 2px solid var(--border); }

/* ----- Classificação (estilo Sofascore) ----- */
.st-wrap { overflow-x: auto; }
.st-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.st-table th, .st-table td { padding: 9px 8px; text-align: center; border-bottom: 1px solid var(--border); white-space: nowrap; }
.st-table thead th { color: var(--text-dim); font-size: 11px; font-weight: 700; }
.st-table .st-team { text-align: left; }
.st-pos { width: 38px; }
.st-circle { display: inline-grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; border: 2px solid var(--border); color: var(--text-dim); font-weight: 800; font-size: 12px; }
.st-tin { display: flex; align-items: center; gap: 9px; }
.st-tin img { width: 20px; height: 20px; object-fit: contain; flex: none; }
.st-ph { width: 20px; height: 20px; border-radius: 4px; background: var(--panel-3); display: inline-block; flex: none; }
.st-name { font-weight: 600; }
.st-pts { font-weight: 800; color: var(--text); }
.st-table tr.st-hl td { background: rgba(79,166,234,.10); }
.st-table tr.st-hl .st-name { color: var(--accent); font-weight: 800; }
.st-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 12px 4px 2px; }
.st-leg { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--text-dim); }
.st-dot { width: 11px; height: 11px; border-radius: 3px; flex: none; }

/* ----- Escalações (campinho) ----- */
.lu-status { padding: 14px 16px; border-radius: var(--radius); margin-bottom: 14px; border: 1px solid var(--border); background: var(--panel-2); }
.lu-status.ok { background: rgba(54,184,115,.10); border-color: rgba(54,184,115,.4); }
.lu-status.ok b { color: #43d18a; }
.lu-status .muted { font-size: 12px; margin-top: 6px; line-height: 1.55; }
.lu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 680px) { .lu-grid { grid-template-columns: 1fr; } }
.lu-col { background: var(--panel-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; }
.lu-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.lu-head img { width: 22px; height: 22px; object-fit: contain; }
.lu-tn { font-weight: 800; font-size: 13px; }
.lu-form { margin-left: auto; font-size: 11px; font-weight: 800; color: var(--accent); background: rgba(79,166,234,.12); padding: 2px 8px; border-radius: 10px; }
.lu-pitch { background: linear-gradient(180deg, #14391f, #0f2a18); border: 1px solid var(--border); border-radius: 8px; padding: 16px 8px; display: flex; flex-direction: column; gap: 16px; }
.lu-line { display: flex; justify-content: space-around; gap: 6px; }
.lu-p { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; cursor: pointer; }
.lu-av { position: relative; width: 40px; height: 40px; }
.lu-av img, .lu-ph { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--panel-3); display: grid; place-items: center; font-weight: 800; color: var(--text); font-size: 12px; border: 2px solid rgba(255,255,255,.85); }
.lu-rate { position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 800; padding: 1px 5px; border-radius: 6px; background: #36b873; color: #11151c; }
.lu-rate.mid { background: #e0ab36; color: #11151c; }
.lu-rate.low { background: #e06277; color: #fff; }
.lu-evbar { position: absolute; top: -5px; right: -7px; display: flex; gap: 2px; }
.lu-n { font-size: 10.5px; color: #eafff2; max-width: 64px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
/* ícones de evento */
.ev-goal { width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px #1b1b1b; display: inline-block; }
.ev-yc { width: 8px; height: 11px; border-radius: 1px; background: #e0ab36; display: inline-block; }
.ev-rc { width: 8px; height: 11px; border-radius: 1px; background: #e06277; display: inline-block; }
.ev-out { font-size: 10px; font-weight: 800; color: #e06277; }
.ev-in { font-size: 10px; font-weight: 800; color: #36b873; }
.ev-inline { display: inline-flex; align-items: center; gap: 3px; margin-left: 7px; vertical-align: middle; }
/* modo lista */
.lu-toggle { max-width: 330px; margin-bottom: 12px; }
.lu-single { max-width: 560px; margin: 0 auto; }
.lu-lh { display: inline-flex; align-items: center; gap: 8px; }
.lu-lh img { width: 18px; height: 18px; object-fit: contain; }
.lu-list { width: 100%; border-collapse: collapse; font-size: 13px; }
.lu-list th, .lu-list td { padding: 9px 8px; text-align: center; border-bottom: 1px solid var(--border); white-space: nowrap; }
.lu-list thead th { color: var(--text-dim); font-size: 11px; font-weight: 700; }
.lu-list thead th[title] { cursor: help; }
.lu-hic { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; line-height: 1; }
.lu-hic svg { display: block; }
.lu-cardic { display: inline-block; width: 9px; height: 13px; border-radius: 2px; vertical-align: middle; }
.lu-cardic.y { background: #e8b53a; }
.lu-cardic.r { background: #e2557a; }
.lu-list .lu-l { text-align: left; }
.lu-num { color: var(--text-dim); font-weight: 700; width: 30px; }
.lu-rowname { font-weight: 600; }
.lu-list tbody tr { cursor: pointer; }
.lu-list tbody tr:hover td { background: var(--panel-2); }
.lu-ratetx { font-weight: 800; }
.lu-ratetx { color: #43d18a; } .lu-ratetx.mid { color: #e7be57; } .lu-ratetx.low { color: #ee6b78; }
.lu-poslt { font-weight: 800; }
.lu-benchrow td { background: var(--panel-2); color: var(--text-dim); font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; }
/* modal de jogador */
.pc-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(4,8,14,.66); display: grid; place-items: center; padding: 20px; }
.pc-card { width: 100%; max-width: 460px; max-height: 86vh; overflow-y: auto; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; position: relative; }
.pc-x { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); background: var(--panel-2); color: var(--text-dim); font-size: 13px; }
.pc-x:hover { color: var(--text); }
.pc-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 20px 20px 14px; }
.pc-photo img, .pc-ph { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--panel-3); display: grid; place-items: center; font-weight: 800; font-size: 22px; color: var(--text-dim); }
.pc-name { font-weight: 800; font-size: 16px; }
.pc-num { color: var(--text-dim); font-weight: 700; font-size: 13px; }
.pc-sub { font-size: 12.5px; margin-top: 2px; }
.pc-rate { text-align: center; }
.pc-rv { font-size: 22px; font-weight: 800; color: #43d18a; }
.pc-rv.mid { color: #e7be57; } .pc-rv.low { color: #ee6b78; }
.pc-rl { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .6px; }
.pc-meta { display: flex; align-items: center; gap: 12px; padding: 0 20px 14px; font-size: 12.5px; color: var(--text-dim); border-bottom: 1px solid var(--border); }
.pc-meta img.pc-flag { width: 18px; height: 13px; border-radius: 2px; vertical-align: middle; margin-right: 5px; }
.pc-ev { display: inline-flex; align-items: center; gap: 4px; }
.pc-stats-h { padding: 14px 20px 8px; font-size: 11px; font-weight: 800; color: var(--text-dim); text-transform: uppercase; letter-spacing: .6px; }
.pc-stats { padding: 0 20px 20px; }
.pc-stats .pl-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 24px; }
.ps { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.ps span { color: var(--text-dim); }
.ps b { color: var(--text); font-weight: 700; }
/* card de competição (estilo Sofascore) */
.pc-head2 { margin-top: 8px; font-size: 18px; font-weight: 800; color: var(--text); line-height: 1; }
.pc-head2 small { display: block; font-size: 9px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: .5px; margin-top: 3px; }
.pc-cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px 20px; }
.pc-box { background: var(--panel-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px; text-align: center; }
.pc-box-h { font-size: 10px; font-weight: 800; color: var(--text-dim); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 8px; }
.pc-box-v { font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 4px; }
.pc-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; padding: 0 20px 20px; }
.pc-cell { background: var(--panel-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 8px; text-align: center; }
.pc-cv { font-size: 20px; font-weight: 800; color: var(--text); }
.pc-cl { font-size: 11px; color: var(--text-dim); margin-top: 4px; }
.pc-cs { font-size: 10px; color: var(--text-dim); margin-top: 2px; opacity: .8; }
.lu-bench-h { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--text-dim); font-weight: 800; margin: 12px 0 8px; }
.lu-bench { display: flex; flex-wrap: wrap; gap: 6px; }
.lu-b { font-size: 11.5px; color: var(--text-dim); background: var(--panel-3); border-radius: 6px; padding: 4px 8px; }
.lu-b b { color: var(--text); }

/* utilidades / estados */
.loading, .err { padding: 40px; text-align: center; color: var(--text-dim); }
.err { color: var(--away); }

/* ============================================================
   BACKTESTE — layout 2 colunas (filtros | configuração + resultados)
   ============================================================ */
.bt-layout { display: grid; grid-template-columns: 280px 1fr; gap: 14px; padding: 14px 20px; height: calc(100vh - 60px); max-width: 1680px; }
.bt-filters-aside { height: 100%; }
.bt-main { overflow-y: auto; display: flex; flex-direction: column; gap: 0; padding-bottom: 60px; }
/* dataset bar */
.bt-ds-bar { display: flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px; margin-bottom: 12px; font-size: 12px; color: var(--text-dim); }
.bt-ds-dot-green { width: 8px; height: 8px; border-radius: 50%; background: #36b873; box-shadow: 0 0 6px rgba(54,184,115,.5); flex: none; }
/* seções */
.bt-section { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 10px; }
.bt-sec-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--text-dim); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.bt-sec-label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-dim); margin-bottom: 6px; display: block; }
.bt-chip-muted { font-size: 11px; color: var(--text-dim); text-transform: none; letter-spacing: 0; font-weight: 500; }
/* período */
.bt-seg-row { display: flex; flex-wrap: wrap; gap: 6px; }
.bt-seg-row .fp-sb { padding: 7px 14px; border: 1px solid var(--border); border-radius: 18px; background: var(--panel-2); }
.bt-custom-dates { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.bt-custom-dates .fp-input { max-width: 160px; }
/* contexto row */
.bt-ctx-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bt-ctx-block { display: flex; flex-direction: column; gap: 6px; }
/* eventos */
.bt-events-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bt-ev-group { display: flex; flex-direction: column; gap: 0; }
.bt-ev-group-title { font-size: 11px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.bt-ev-item { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 6px; cursor: pointer; font-size: 12.5px; color: var(--text-dim); }
.bt-ev-item:hover { background: var(--panel-2); color: var(--text); }
.bt-ev-item input { accent-color: var(--accent); width: 14px; height: 14px; cursor: pointer; }
.bt-ev-item:has(input:checked) { color: var(--text); background: rgba(79,166,234,.08); }
/* grid de placares */
.bt-score-grid { display: grid; grid-template-columns: 28px repeat(4,1fr); gap: 3px; }
.bt-sg-head { font-size: 9px; font-weight: 800; color: var(--text-dim); display: grid; place-items: center; }
.bt-sc-cb { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 2px; border-radius: 5px; cursor: pointer; font-size: 10px; color: var(--text-dim); }
.bt-sc-cb:hover { background: var(--panel-2); }
.bt-sc-cb:has(input:checked) { background: rgba(79,166,234,.12); color: var(--accent); }
.bt-sc-cb input { accent-color: var(--accent); width: 12px; height: 12px; }
/* PM toggle */
.bt-toggle { display: inline-flex; align-items: center; cursor: pointer; }
.bt-toggle input { display: none; }
.bt-toggle-track { width: 36px; height: 20px; background: var(--panel-3); border-radius: 10px; position: relative; transition: .2s; }
.bt-toggle input:checked + .bt-toggle-track { background: var(--accent); }
.bt-toggle-track::after { content:''; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: .2s; }
.bt-toggle input:checked + .bt-toggle-track::after { left: 19px; }
.bt-pm-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.bt-pm-min-input { width: 70px; }
.bt-pm-scores { display: flex; flex-wrap: wrap; gap: 6px; }
.bt-pm-scores .fp-sb { padding: 6px 12px; border: 1px solid var(--border); border-radius: 16px; background: var(--panel-2); }
.bt-pm-scores .fp-sb.on { background: rgba(79,166,234,.14); border-color: var(--accent); color: var(--accent); }
/* action row */
.bt-action-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bt-bl-toggle { display: flex; background: var(--panel-2); border: 1px solid var(--border); border-radius: 22px; padding: 3px; gap: 2px; }
.bt-bl-btn { padding: 8px 20px; border: 0; background: transparent; color: var(--text-dim); font-weight: 800; font-size: 13px; border-radius: 18px; }
.bt-bl-btn.back.on { background: #1e6fd9; color: #fff; }
.bt-bl-btn.lay.on  { background: #c0436a; color: #fff; }
.bt-run-btn { display: flex; align-items: center; gap: 8px; background: var(--primary); color: #fff; border: 0; padding: 12px 28px; border-radius: 8px; font-weight: 800; font-size: 14px; }
.bt-run-btn:hover:not(:disabled) { background: var(--primary-hv); }
.bt-run-btn:disabled { opacity: .5; cursor: not-allowed; }
/* resultados */
.bt-report { padding-top: 4px; }
.bt-report-header { margin-bottom: 16px; }
.bt-report-title { font-size: 16px; font-weight: 800; }
.bt-report-meta { font-size: 12px; color: var(--text-dim); margin-top: 4px; }
.bt-kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-bottom: 14px; }
.bt-kpi { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.bt-kpi-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--text-dim); margin-bottom: 10px; }
.bt-kpi-grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.bt-kpi-cell { text-align: center; background: var(--panel-2); border-radius: 6px; padding: 8px 4px; }
.bt-kpi-cell.green { background: rgba(54,184,115,.12); }
.bt-kpi-cell.red   { background: rgba(226,85,99,.12); }
.bt-kpi-v { font-size: 20px; font-weight: 800; }
.bt-kpi-cell.green .bt-kpi-v { color: #36b873; }
.bt-kpi-cell.red   .bt-kpi-v { color: #e25563; }
.bt-kpi-l { font-size: 10px; color: var(--text-dim); margin-top: 2px; }
.bt-kpi-wr { font-size: 18px; font-weight: 800; text-align: center; padding-top: 8px; border-top: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.bt-kpi-wr span { font-size: 11px; color: var(--text-dim); font-weight: 600; }
.wr-good { color: #36b873; } .wr-mid { color: var(--warn); } .wr-bad { color: #e25563; }
/* analysis grid */
.bt-analysis-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.bt-panel { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.bt-table-wrap { overflow-x: auto; max-height: 320px; overflow-y: auto; }
.bt-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.bt-table th { background: var(--panel-2); padding: 8px 10px; text-align: left; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--text-dim); border-bottom: 1px solid var(--border); position: sticky; top: 0; }
.bt-table td { padding: 7px 10px; border-bottom: 1px solid var(--border); }
.bt-table tr:hover td { background: var(--panel-2); }
.bt-td-name { text-align: left !important; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-wr { font-weight: 800; text-align: center; }
.bt-row-green { background: rgba(54,184,115,.06); }
.bt-row-red   { background: rgba(226,85,99,.06); }
.bt-badge { display: inline-block; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 10px; margin-right: 4px; }
.bt-badge.green { background: rgba(54,184,115,.18); color: #36b873; }
.bt-badge.red   { background: rgba(226,85,99,.18); color: #e25563; }
.bt-msg { padding: 30px; text-align: center; color: var(--text-dim); background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); margin-top: 10px; }
.bt-err { color: var(--away); padding: 20px; text-align: center; }
.view { }
/* aba Backteste na nav — destaque especial */

.bt-wrap { max-width: 1080px; margin: 0 auto; padding: 28px 26px 80px; }

/* cabeçalho */
.bt-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.bt-title { font-size: 24px; font-weight: 800; margin: 0 0 4px; }
.bt-subtitle { color: var(--text-dim); font-size: 13px; margin: 0; }
.bt-dataset-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 20px; padding: 8px 14px; font-size: 12px; color: var(--text-dim); }
.bt-ds-dot { width: 8px; height: 8px; border-radius: 50%; background: #36b873; box-shadow: 0 0 6px rgba(54,184,115,.5); flex: none; }

/* stepper */
.bt-stepper { display: flex; align-items: center; gap: 0; margin-bottom: 28px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 24px; }
.bt-step { display: flex; align-items: center; gap: 10px; opacity: .4; transition: opacity .2s; min-width: 0; }
.bt-step.active { opacity: 1; }
.bt-step.done { opacity: .75; }
.bt-step-num { width: 30px; height: 30px; border-radius: 50%; background: var(--panel-3); color: var(--text-dim); display: grid; place-items: center; font-weight: 800; font-size: 12px; border: 2px solid var(--border); flex: none; }
.bt-step.active .bt-step-num { background: var(--accent); color: #06120d; border-color: var(--accent); }
.bt-step.done .bt-step-num { border-color: var(--accent); color: var(--accent); background: transparent; }
.bt-step-label { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .6px; }
.bt-step-title { font-size: 13px; font-weight: 700; }
.bt-step-line { flex: 1; height: 2px; background: var(--border); margin: 0 12px; }
.bt-step-line.done { background: var(--accent); }

/* conteúdo */
.bt-content { }
.bt-page { display: none; }
.bt-page.active { display: block; }
.bt-page-head { margin-bottom: 22px; }
.bt-page-head h2 { font-size: 18px; font-weight: 800; margin: 0 0 4px; }
.bt-page-head p { color: var(--text-dim); font-size: 13px; margin: 0; }

/* passo 1: grid de mercados */
.bt-market-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 28px; }
@media (max-width: 640px) { .bt-market-grid { grid-template-columns: 1fr; } }
.bt-market-card { background: var(--panel); border: 2px solid var(--border); border-radius: var(--radius); padding: 20px; cursor: pointer; transition: .15s; position: relative; }
.bt-market-card:hover { border-color: var(--accent-dim); transform: translateY(-2px); }
.bt-market-card.selected { border-color: var(--accent); background: rgba(79,166,234,.07); }
.bt-market-icon { font-size: 28px; margin-bottom: 10px; line-height: 1; }
.bt-market-card h3 { font-size: 15px; font-weight: 800; margin: 0 0 5px; }
.bt-market-card p { color: var(--text-dim); font-size: 12px; margin: 0; line-height: 1.5; }
.bt-market-card::after { content: '✓'; position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #06120d; font-weight: 900; font-size: 12px; display: none; align-items: center; justify-content: center; }
.bt-market-card.selected::after { display: flex; }

/* passo 2: filtros */
.bt-filters-layout { display: grid; grid-template-columns: 1fr 280px; gap: 18px; margin-bottom: 24px; }
@media (max-width: 780px) { .bt-filters-layout { grid-template-columns: 1fr; } }
.bt-filter-section { margin-bottom: 16px; }
.bt-filter-label { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--text-dim); margin-bottom: 7px; display: block; }
.bt-select, .bt-input { width: 100%; background: var(--panel-2); border: 1px solid var(--border); color: var(--text); padding: 9px 12px; border-radius: var(--radius-sm); font-size: 13px; font-family: inherit; }
.bt-select:focus, .bt-input:focus { outline: none; border-color: var(--accent); }
.bt-seg { display: flex; background: var(--panel-2); border: 1px solid var(--border); border-radius: 20px; padding: 3px; gap: 2px; }
.bt-seg button { flex: 1; border: 0; background: transparent; color: var(--text-dim); font-weight: 700; font-size: 12px; padding: 7px 4px; border-radius: 16px; }
.bt-seg button.active { background: var(--panel-3); color: var(--text); }
.bt-cond-builder { display: flex; flex-direction: column; gap: 8px; }
.bt-cond-row { display: grid; grid-template-columns: 70px 1fr auto; gap: 8px; }
.bt-btn-add { background: var(--primary); color: #fff; border: 0; border-radius: var(--radius-sm); padding: 9px 14px; font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.bt-btn-add:hover { background: var(--primary-hv); }
.bt-cond-list { background: var(--panel-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px; min-height: 56px; margin-top: 8px; }
.bt-cond-empty { color: var(--text-dim); font-size: 12px; text-align: center; padding: 8px 0; }
.bt-cond-item { display: flex; justify-content: space-between; align-items: center; background: var(--panel-3); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 10px; margin-bottom: 6px; font-size: 12.5px; }
.bt-cond-item:last-child { margin-bottom: 0; }
.bt-cond-tag { display: inline-block; background: rgba(79,166,234,.14); color: var(--accent); font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px; margin-right: 6px; }
.bt-cond-del { background: transparent; border: 0; color: var(--text-dim); padding: 3px 6px; border-radius: 4px; font-size: 14px; }
.bt-cond-del:hover { color: var(--away); }
/* preview col */
.bt-preview-box { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; }
.bt-preview-title { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--text-dim); font-weight: 800; margin-bottom: 16px; }
.bt-preview-count { margin-bottom: 12px; }
.bt-count-num { font-size: 36px; font-weight: 800; color: var(--accent); display: block; }
.bt-count-label { font-size: 12px; color: var(--text-dim); }
.bt-preview-info { font-size: 12px; margin-bottom: 14px; }

/* passo 3: config */
.bt-config-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 24px; }
.bt-config-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.bt-seg-large { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.bt-op-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; background: var(--panel-2); border: 2px solid var(--border); border-radius: var(--radius-sm); padding: 14px 10px; cursor: pointer; transition: .15s; }
.bt-op-btn span { font-weight: 800; font-size: 14px; }
.bt-op-btn small { font-size: 10px; color: var(--text-dim); font-weight: 600; }
.bt-op-btn.back.active { background: rgba(30,111,217,.18); border-color: #1e6fd9; color: #6cb2f7; }
.bt-op-btn.lay.active { background: rgba(192,67,106,.18); border-color: #c0436a; color: #f08ab0; }
.bt-op-icon { font-size: 18px; }

/* passo 4: resultados */
.bt-kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.bt-kpi { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; text-align: center; }
.bt-kpi-l { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .6px; font-weight: 700; }
.bt-kpi-v { font-size: 24px; font-weight: 800; margin-top: 8px; color: var(--text); }
.bt-kpi-v.good { color: #36b873; } .bt-kpi-v.bad { color: var(--away); }
.bt-chart-placeholder { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 24px; margin-bottom: 16px; }
.bt-chart-empty { text-align: center; color: var(--text-dim); }
.bt-chart-empty p { margin: 12px 0 0; font-size: 13px; }
.bt-results-wrap { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.bt-results-empty { padding: 40px; text-align: center; }

/* nav dos passos */
.bt-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.bt-btn-primary { background: var(--primary); color: #fff; border: 0; padding: 11px 22px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; }
.bt-btn-primary:hover:not(:disabled) { background: var(--primary-hv); }
.bt-btn-primary:disabled { opacity: .4; cursor: not-allowed; }
.bt-btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); padding: 10px 20px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; }
.bt-btn-outline:hover { background: var(--panel-2); border-color: var(--accent); }

/* ===== Previsões do dia ===== */
.prev-wrap { max-width: 1560px; margin: 0 auto 0 32px; padding: 24px 28px 60px; }
.prev-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.prev-h1 { font-size: 24px; font-weight: 800; margin: 0 0 6px; }
.prev-sub { font-size: 13px; color: var(--text-dim); margin: 0; max-width: 640px; line-height: 1.5; }
.prev-controls { display: flex; align-items: center; gap: 12px; }
.prev-sidefilter { display: flex; background: var(--panel-2); border: 1px solid var(--border); border-radius: 8px; padding: 3px; gap: 2px; }
.prev-sidefilter button { padding: 7px 14px; border: 0; background: transparent; color: var(--text-dim); font-weight: 700; font-size: 12.5px; border-radius: 6px; cursor: pointer; }
.prev-sidefilter button.on { background: var(--accent); color: #06120d; }
.prev-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.prev-sum-chip { font-size: 12px; font-weight: 700; color: var(--text-dim); background: var(--panel-2); border: 1px solid var(--border); border-radius: 20px; padding: 5px 13px; }
.prev-sum-chip b { font-weight: 800; color: var(--text); }
.prev-sum-chip.accent { color: var(--accent); border-color: var(--accent); } .prev-sum-chip.accent b { color: var(--accent); }
.prev-sum-chip.green { color: #36b873; border-color: rgba(54,184,115,.4); }
.prev-sum-chip.red { color: #e25563; border-color: rgba(226,85,99,.4); }
.prev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.prev-card { background: var(--panel); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: border-color .12s, transform .12s; }
.prev-card.under { border-left-color: #e2a13c; }
.prev-card.lay { border-left-color: #c0436a; }
.prev-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.prev-c-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--text-dim); margin-bottom: 10px; }
.prev-c-lg { display: flex; align-items: center; gap: 6px; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prev-c-lgav { width: 18px; height: 18px; flex: 0 0 auto; border-radius: 5px; background: var(--panel-3); color: var(--accent); font-weight: 800; font-size: 10px; display: grid; place-items: center; }
.prev-c-time { flex: 0 0 auto; font-weight: 700; }
.prev-c-teams { font-size: 14.5px; font-weight: 800; margin-bottom: 12px; line-height: 1.3; }
.prev-vs { color: var(--text-dim); font-weight: 600; margin: 0 2px; }
.prev-c-entry { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.prev-c-mkt { font-size: 15px; font-weight: 800; }
.prev-c-prob { font-size: 18px; font-weight: 800; }
.prev-c-prob.forte { color: #36b873; }
.prev-c-prob.boa { color: var(--warn); }
.prev-c-lvl { font-size: 10px; font-weight: 800; text-transform: uppercase; padding: 2px 8px; border-radius: 10px; margin-left: auto; }
.prev-c-lvl.forte { background: rgba(54,184,115,.18); color: #36b873; }
.prev-c-lvl.boa { background: rgba(240,165,0,.18); color: var(--warn); }
.prev-c-ladder { display: flex; gap: 6px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 11px; }
.prev-chip { font-size: 10.5px; font-weight: 700; color: var(--text-dim); background: var(--panel-2); border-radius: 7px; padding: 3px 8px; }
.prev-chip b { color: var(--text); font-weight: 800; }
.prev-empty { padding: 48px; text-align: center; color: var(--text-dim); font-size: 14px; line-height: 1.6; }

/* ===== Previsões — mercados na lateral + lista (estilo CornerPro) ===== */
.prevx { display: flex; gap: 18px; align-items: flex-start; }
.prevx-side { flex: 0 0 232px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 14px; }
.prevx-side-h { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); padding: 6px 8px 8px; }
.px-mkt { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; text-align: left; background: var(--panel-2); border: 1px solid var(--border); border-radius: 9px; padding: 10px 12px; font-size: 13px; font-weight: 700; color: var(--text); cursor: pointer; transition: border-color .12s, background .12s; }
.px-mkt:hover { border-color: var(--accent); }
.px-mkt { border-left: 3px solid var(--mc, var(--accent)); }
.px-mkt:hover { border-color: var(--mc, var(--accent)); }
.px-mkt.on { background: var(--mc, var(--accent)); border-color: var(--mc, var(--accent)); color: #08121a; }
.px-mkt b { flex: 0 0 auto; min-width: 22px; text-align: center; font-size: 11.5px; font-weight: 800; background: var(--panel-3); color: var(--text-dim); border-radius: 20px; padding: 2px 7px; }
.px-mkt.on b { background: rgba(0,0,0,.22); color: #08121a; }
.px-mkt.px-all { background: var(--panel-3); font-weight: 800; margin-bottom: 4px; }
.px-mkt.px-all.on { background: var(--accent); border-color: var(--accent); color: #fff; }
#px-mkts { display: flex; flex-direction: column; gap: 4px; }
.prevx-main { flex: 1 1 auto; min-width: 0; }
.px-mainhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.px-mainhead h3 { margin: 0; font-size: 17px; font-weight: 800; }
/* barra de busca + filtros */
.px-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.px-searchwrap { flex: 1 1 280px; position: relative; min-width: 220px; }
.px-searchic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 13px; opacity: .6; pointer-events: none; }
.px-search { width: 100%; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px 10px 34px; font-size: 13px; color: var(--text); }
.px-search:focus { outline: none; border-color: var(--accent); }
.px-filters { display: flex; gap: 7px; flex-wrap: wrap; }
.px-fchip { font-size: 12px; font-weight: 700; color: var(--text-dim); background: var(--panel); border: 1px solid var(--border); border-radius: 20px; padding: 8px 13px; cursor: pointer; transition: border-color .12s, background .12s, color .12s; }
.px-fchip:hover { border-color: var(--accent); }
.px-fchip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
/* seções empilhadas (uma por mercado) — título centralizado + retrair/expandir */
.px-sec { margin-bottom: 22px; }
.px-sec-h { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 14.5px; font-weight: 800; letter-spacing: .03em; color: var(--text); background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--border); border-top: 2px solid var(--mc, var(--accent)); border-bottom: none; border-radius: 10px 10px 0 0; padding: 13px 46px; cursor: pointer; user-select: none; transition: background .12s; }
.px-sec-h:hover { background: var(--panel-3); }
.px-sec-nm { text-transform: uppercase; }
.px-sec-h b { font-size: 11.5px; font-weight: 800; background: var(--mc, var(--accent)); color: #08121a; border-radius: 20px; padding: 2px 9px; }
.px-sec-wr { font-size: 11.5px; font-weight: 800; border-radius: 20px; padding: 2px 9px; }
.px-sec-wr.wr-good { background: rgba(54,184,115,.18); color: #36b873; }
.px-sec-wr.wr-mid { background: rgba(240,165,0,.18); color: var(--warn); }
.px-sec-wr.wr-bad { background: rgba(226,85,99,.18); color: #e25563; }
.px-scorecell { font-weight: 800; color: var(--text); }
.px-sec-chev { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--text-dim); transition: transform .15s; }
.px-sec.collapsed .px-sec-chev { transform: translateY(-50%) rotate(-90deg); }
.px-sec.collapsed .px-sec-h { border-bottom: 1px solid var(--border); border-radius: 10px; }
.px-sec.collapsed .px-tablewrap { display: none; }
.px-sec .px-tablewrap { border-radius: 0 0 10px 10px; border-top: none; }
/* logos */
.px-flag { width: 18px; height: 18px; border-radius: 4px; object-fit: cover; flex: 0 0 auto; margin-right: 7px; vertical-align: middle; }
.px-tm { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.px-tm span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.px-tm.home { justify-content: flex-end; text-align: right; }
.px-tm.away { justify-content: flex-start; text-align: left; }
.px-crest { width: 18px; height: 18px; object-fit: contain; flex: 0 0 auto; }
.px-crest.ph { background: var(--panel-3); border-radius: 4px; }
.px-x { color: var(--text-dim); font-weight: 700; }
.px-score { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; white-space: nowrap; }
.px-score i { font-style: normal; color: var(--text-dim); font-weight: 700; }
/* bolinha vermelha pulsante (ao vivo) — linha do jogo e chip do topo */
.px-livedot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; animation: pulse 1.3s infinite; flex: none; vertical-align: middle; }
.px-res-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: #ff5a5a; }
.px-chip-live { display: inline-flex; align-items: center; gap: 6px; }
.px-chip-live:not(.has-live) .px-livedot { background: var(--text-dim); animation: none; }
.px-tablewrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
.px-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.px-table thead th { text-align: left; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--text-dim); background: var(--panel-2); padding: 11px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.px-table thead th:nth-child(3), .px-table thead th:nth-child(4), .px-table thead th:nth-child(5) { text-align: center; }
.px-row { cursor: pointer; transition: background .1s; border-bottom: 1px solid var(--border); }
.px-row:last-child { border-bottom: none; }
.px-row:hover { background: var(--panel-2); }
.px-table td { padding: 11px 14px; vertical-align: middle; }
.px-hora { font-weight: 800; color: var(--text-dim); white-space: nowrap; }
.px-lg { color: var(--text-dim); font-weight: 700; }
.px-lg .prev-c-lgav { display: inline-grid; vertical-align: middle; margin-right: 7px; }
.px-lgnm { vertical-align: middle; }
.px-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; min-width: 210px; font-weight: 800; }
.px-fcell { text-align: center; white-space: nowrap; }
.px-fair { display: inline-block; font-size: 13.5px; font-weight: 800; color: var(--accent); background: rgba(79,166,234,.12); border: 1px solid rgba(79,166,234,.32); border-radius: 7px; padding: 4px 11px; min-width: 52px; font-variant-numeric: tabular-nums; }
.px-pcell { text-align: center; white-space: nowrap; }
.px-prob { font-size: 16px; font-weight: 800; }
.px-prob.forte { color: #36b873; }
.px-prob.boa { color: var(--warn); }
.px-odd { font-size: 11px; font-weight: 700; color: var(--text-dim); }
.px-rcell { text-align: center; white-space: nowrap; }
.px-res { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 20px; }
.px-res.green { color: #36b873; background: rgba(54,184,115,.16); }
.px-res.red { color: #e25563; background: rgba(226,85,99,.16); }
.px-res.live { color: #e2a13c; background: rgba(226,161,60,.16); }
.px-res.pend { color: var(--text-dim); background: var(--panel-2); }
@media (max-width: 820px) {
  .prevx { flex-direction: column; }
  .prevx-side { flex: none; width: 100%; position: static; flex-direction: row; flex-wrap: wrap; }
  .prevx-side-h { width: 100%; }
  .px-mkt { width: auto; }
}

/* ===== Previsões — extras (modo, setas, resultado, odd justa, dashboard) ===== */
.prev-headrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.prev-modetabs { display: flex; background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px; padding: 3px; gap: 2px; }
.prev-modetabs button { padding: 9px 18px; border: 0; background: transparent; color: var(--text-dim); font-weight: 800; font-size: 13px; border-radius: 7px; cursor: pointer; }
.prev-modetabs button.on { background: var(--accent); color: #06120d; }
.prev-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.prev-datenav { display: flex; align-items: center; gap: 4px; }
.prev-arr { width: 32px; height: 34px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel-2); color: var(--text); font-size: 18px; line-height: 1; cursor: pointer; }
.prev-arr:hover { border-color: var(--accent); color: var(--accent); }
.prev-card { position: relative; }
.prev-res { position: absolute; bottom: 12px; right: 12px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; font-size: 14px; font-weight: 900; }
.prev-c-ladder { padding-right: 30px; }
.prev-res.green { background: rgba(54,184,115,.18); color: #36b873; }
.prev-res.red { background: rgba(226,85,99,.18); color: #e25563; }
.prev-ok { color: #36b873; } .prev-no { color: #e25563; }
.prev-c-odd { font-size: 12px; font-weight: 700; color: var(--text-dim); background: var(--panel-2); padding: 2px 7px; border-radius: 6px; }
/* dashboard de resultados */
.prev-res-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.prev-period { display: flex; background: var(--panel-2); border: 1px solid var(--border); border-radius: 8px; padding: 3px; gap: 2px; }
.prev-period button { padding: 8px 18px; border: 0; background: transparent; color: var(--text-dim); font-weight: 700; font-size: 12.5px; border-radius: 6px; cursor: pointer; }
.prev-period button.on { background: var(--panel-3); color: var(--text); }
/* Pílulas de mercado (Todos/Over/Under/Lay 0×1/Lay 1×0) — linha própria, ativo azul */
.prev-mktpills { display: inline-flex; margin: 4px 0 18px; }
.prev-mktpills button.on { background: var(--accent); color: #fff; }
.prev-res-head { font-size: 13px; color: var(--text-dim); margin-bottom: 14px; }
.prev-typefilter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.prev-typefilter button { padding: 7px 14px; border: 1px solid var(--border); border-radius: 18px; background: var(--panel-2); color: var(--text-dim); font-size: 12.5px; font-weight: 700; cursor: pointer; }
.prev-typefilter button.on { border-color: var(--accent); color: var(--accent); background: rgba(79,166,234,.1); }
.prev-typefilter button small { opacity: .7; font-weight: 600; }
/* Layout 2 colunas (barra lateral de mercados + conteúdo) — modo Lays/Mercados */
.prev-2col { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 18px; align-items: start; }
.prev-side { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 14px; position: sticky; top: 12px; }
.prev-side-all { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.prev-side-cat { margin-top: 12px; }
.prev-side-cat-t { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--text-dim); margin-bottom: 6px; }
.prev-side-row { display: flex; align-items: center; gap: 8px; padding: 6px 4px; border-radius: 7px; cursor: pointer; font-size: 12.5px; }
.prev-side-row:hover { background: var(--panel-2); }
.prev-side-m { flex: 1; font-weight: 600; color: var(--text); }
.prev-side-wr { font-weight: 800; font-size: 11.5px; }
.prev-side-n { font-size: 10.5px; color: var(--text-dim); min-width: 30px; text-align: right; }
.prev-side input[type=checkbox] { accent-color: var(--accent); width: 15px; height: 15px; }
@media (max-width: 820px) { .prev-2col { grid-template-columns: 1fr; } .prev-side { position: static; } }

.prev-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.prev-kpi { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; }
.prev-kpi-l { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: var(--text-dim); }
.prev-kpi.green .prev-kpi-l { color: #36b873; } .prev-kpi.red .prev-kpi-l { color: #e25563; }
.prev-kpi-v { font-size: 32px; font-weight: 800; margin: 6px 0 2px; }
.prev-kpi-s { font-size: 11px; color: var(--text-dim); }

/* ===== Previsões — lista de jogos do dashboard de resultados ===== */
.prev-list { margin-top: 24px; }
.prev-list-head { font-size: 13px; font-weight: 800; margin-bottom: 10px; }
.prev-list-wrap { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; max-height: 460px; overflow-y: auto; }
.prev-list-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.prev-list-tbl th { position: sticky; top: 0; background: var(--panel-2); padding: 9px 12px; text-align: left; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: var(--text-dim); border-bottom: 1px solid var(--border); }
.prev-list-tbl td { padding: 9px 12px; border-bottom: 1px solid var(--border); }
.prev-list-row { cursor: pointer; }
.prev-list-row:hover td { background: var(--panel-2); }
.prev-list-teams { font-weight: 700; }
.prev-list-mkt { font-weight: 700; color: var(--text-dim); white-space: nowrap; }
.prev-list-more { padding: 12px; text-align: center; }

/* ====================== BOTS DE ALERTA ====================== */
.bots-col { gap: 14px; overflow-y: auto; padding-right: 4px; }
.bots-head h2 { font-size: 18px; font-weight: 800; margin: 0 0 4px; }
.bots-head .muted { font-size: 12.5px; line-height: 1.5; }
.bots-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.bots-card-h { display: flex; align-items: center; justify-content: space-between; font-weight: 800; font-size: 14px; margin-bottom: 10px; }
.bots-tg-state { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
.bots-tg-state.on { color: var(--good); background: rgba(46,189,119,.13); }
.bots-tg-state.off { color: var(--bad); background: rgba(226,85,99,.13); }
.bots-tg-state.mid { color: #e0a13a; background: rgba(224,161,58,.14); }
.bots-tg-help { font-size: 12.5px; line-height: 1.55; color: var(--text-dim); }
.bots-tg-help b { color: var(--text); }
.bots-tg-help ol { margin: 8px 0 10px; padding-left: 18px; display: flex; flex-direction: column; gap: 5px; }
.bots-tg-ok { font-size: 13px; }
.bots-tg-actions { display: flex; gap: 8px; margin-top: 10px; }
.bots-mini { background: var(--accent); color: #06121f; border: 0; font-weight: 700; font-size: 12px; padding: 7px 13px; border-radius: 8px; cursor: pointer; display: inline-block; text-decoration: none; }
.bots-mini.ghost { background: transparent; color: var(--text-dim); border: 1px solid var(--border); }
.bots-mini:hover { filter: brightness(1.08); }

/* Telegram: conexão simples do usuário (1 clique) */
.bots-tg-connect { text-align: center; padding: 6px 4px 4px; }
.bots-tg-connect-ic { font-size: 34px; line-height: 1; }
.bots-tg-connect-t { font-size: 15px; font-weight: 800; margin: 8px 0 4px; color: var(--text); }
.bots-tg-connect-d { font-size: 12.5px; color: var(--text-dim); line-height: 1.5; max-width: 380px; margin: 0 auto 14px; }
.bots-tg-bigbtn { display: inline-flex; align-items: center; gap: 8px; background: #229ED9; color: #fff; font-weight: 800; font-size: 14px; padding: 12px 26px; border-radius: 10px; text-decoration: none; }
.bots-tg-bigbtn::before { content: "📲"; }
.bots-tg-bigbtn:hover { filter: brightness(1.07); }
.bots-tg-link { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--accent); font-size: 12.5px; font-weight: 700; cursor: pointer; text-decoration: underline; }
.bots-tg-waiting { font-size: 11.5px; color: var(--text-dim); margin-top: 8px; }
/* Telegram: configuração do dono (uma vez) — usuários não veem */
.bots-tg-owner { font-size: 12.5px; line-height: 1.55; color: var(--text-dim); }
.bots-tg-owner-h { font-size: 13px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.bots-tg-owner-note { background: var(--panel-2); border: 1px solid var(--border); border-radius: 8px; padding: 8px 11px; margin: 0 0 10px; }
.bots-tg-owner-note b { color: var(--accent); }
.bots-tg-owner ol { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 5px; }
.bots-lbl { font-size: 11px; font-weight: 700; color: var(--text); margin: 12px 0 6px; display: block; }
.bots-cond-preview { margin-top: 12px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; font-size: 12.5px; line-height: 1.6; color: var(--text-dim); }
.bots-cond-preview b { color: var(--accent); }
#bot-target.fp-seg2 .fp-sb { font-size: 11.5px; }
#bot-target .fp-sb[disabled] { opacity: .45; cursor: not-allowed; }
.bots-scan-btn { background: transparent; border: 1px solid var(--border); color: var(--text-dim); font-weight: 700; font-size: 12px; padding: 5px 11px; border-radius: 8px; cursor: pointer; }
.bots-scan-btn:hover { color: var(--text); border-color: var(--accent); }
.bots-scan-info { font-size: 11.5px; color: var(--text-dim); margin-bottom: 10px; min-height: 14px; }
.bots-warn { color: #e0a13a; font-weight: 700; }
.bots-empty { font-size: 12.5px; color: var(--text-dim); text-align: center; padding: 16px 8px; line-height: 1.5; }
.bot-item { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 8px; background: var(--panel-2); }
.bot-item.off { opacity: .55; }
.bot-item-main { flex: 1; min-width: 0; }
.bot-item-name { font-weight: 800; font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.bot-item-tgt { font-size: 10px; font-weight: 700; color: var(--accent); background: rgba(79,166,234,.13); padding: 2px 7px; border-radius: 12px; }
.bot-item-conds { font-size: 11.5px; color: var(--text-dim); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bot-item-actions { display: flex; align-items: center; gap: 4px; }
.bot-toggle { background: none; border: 0; font-size: 17px; cursor: pointer; color: var(--text-dim); line-height: 1; padding: 4px; }
.bot-toggle.on { color: var(--good); }
.bot-del { background: none; border: 0; font-size: 14px; cursor: pointer; opacity: .6; padding: 4px; }
.bot-del:hover { opacity: 1; }
.bot-edit { background: none; border: 0; font-size: 14px; cursor: pointer; opacity: .6; padding: 4px; color: var(--text); }
.bot-edit:hover { opacity: 1; }

/* ---- Bots: layout com barra lateral (estilo CornerProBet) ---- */
.bots-layout { display: flex; gap: 0; height: 100%; }
.bots-side { flex: 0 0 330px; background: var(--panel); border-right: 1px solid var(--border); padding: 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.bots-side-new { width: 100%; background: var(--accent); color: #06121f; border: 0; font-weight: 800; font-size: 13px; padding: 10px; border-radius: 9px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; }
.bots-side-new span { font-size: 16px; line-height: 1; }
.bots-side-new:hover { filter: brightness(1.08); }
.bots-side-h { font-size: 11px; font-weight: 800; color: var(--text-dim); text-transform: uppercase; letter-spacing: .4px; margin: 8px 2px 2px; }
.bots-side-empty { font-size: 12px; color: var(--text-dim); padding: 8px 4px; line-height: 1.5; }
.bots-side-item { width: 100%; display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--text); cursor: pointer; text-align: left; }
.bots-side-item:hover { background: var(--panel-2); }
.bots-side-item.sel { background: var(--panel-2); border-color: var(--accent); }
.bots-side-item.off { opacity: .55; }
.bots-side-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-dim); flex: 0 0 auto; }
.bots-side-dot.on { background: var(--good); }
.bots-side-nm { flex: 1; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bots-side-tag { font-size: 9.5px; font-weight: 700; color: var(--text-dim); border: 1px solid var(--border); padding: 1px 6px; border-radius: 10px; flex: 0 0 auto; }

/* ---- Bots: wizard (estilo CornerProBet) ---- */
.bots-wrap { flex: 1; max-width: 880px; margin: 0 auto; width: 100%; padding: 18px 20px 48px; display: flex; flex-direction: column; gap: 14px; }
.bots-hero { background: linear-gradient(135deg, #1a2733, var(--panel)); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bots-hero h2 { font-size: 18px; font-weight: 800; margin: 0 0 5px; line-height: 1.3; }
.bots-hero p { font-size: 13px; color: var(--text-dim); margin: 0; }
.bots-hero-ic { font-size: 30px; flex: 0 0 auto; }
.bots-tabs { display: flex; gap: 8px; }
.bots-tab { background: transparent; border: 1px solid var(--border); color: var(--text-dim); font-weight: 700; font-size: 13px; padding: 8px 16px; border-radius: 8px; cursor: pointer; }
.bots-tab.on { background: var(--accent); color: #06121f; border-color: var(--accent); }
.bots-counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bot-counter { background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.bot-counter span { font-size: 12px; color: var(--text-dim); display: block; margin-bottom: 2px; }
.bot-counter b { font-size: 24px; font-weight: 800; }

/* cabeçalho do wizard */
.wiz-head { align-items: flex-start; gap: 10px; }
.wiz-title-l { font-size: 14px; font-weight: 800; }
.wiz-head-r { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.wiz-title-r { font-size: 11.5px; color: var(--accent); font-weight: 700; }

/* stepper rico (ícone + Passo N + descrição + status) */
.wiz-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 8px 0 20px; }
.wiz-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; cursor: pointer; padding: 4px; }
.wiz-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--border); color: var(--text-dim); }
.wiz-ic svg { width: 22px; height: 22px; }
.wiz-step.active .wiz-ic { background: rgba(79,166,234,.14); border-color: var(--accent); color: var(--accent); }
.wiz-step.done .wiz-ic { background: var(--good); border-color: var(--good); color: #04231a; }
.wiz-n { font-size: 10px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: .4px; }
.wiz-desc { font-size: 11.5px; font-weight: 600; line-height: 1.25; color: var(--text); min-height: 28px; }
.wiz-step.pending .wiz-desc { color: var(--text-dim); }
.wiz-badge { font-size: 10px; font-weight: 700; padding: 2px 9px; border-radius: 12px; background: var(--panel-3); color: var(--text-dim); }
.wiz-badge.active { background: rgba(79,166,234,.16); color: var(--accent); }
.wiz-badge.done { background: rgba(46,189,119,.16); color: var(--good); }

.wiz-body { min-height: 130px; }
/* passo "tempo de envio" */
.wiz-sec-title { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; margin: 2px 0 4px; }
.wiz-sec-sub { font-size: 12.5px; color: var(--text-dim); margin: 0 0 14px; line-height: 1.5; }
.wiz-rcards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.wiz-rcard { border: 1.5px solid var(--border); border-radius: 12px; padding: 16px; text-align: center; cursor: pointer; background: var(--panel-2); position: relative; }
.wiz-rcard.on { border-color: var(--accent); background: rgba(79,166,234,.08); }
.wiz-rcard.disabled { opacity: .6; cursor: not-allowed; }
.wiz-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--text-dim); margin: 0 auto 10px; }
.wiz-rcard.on .wiz-radio { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 5px, transparent 6px); }
.wiz-rcard-t { font-size: 13.5px; font-weight: 800; margin-bottom: 6px; }
.wiz-rcard-d { font-size: 12px; color: var(--text-dim); line-height: 1.45; }
.wiz-soon { font-size: 9.5px; font-weight: 700; color: var(--text-dim); border: 1px solid var(--border); padding: 1px 6px; border-radius: 10px; vertical-align: middle; }
.wiz-toggle { display: flex; align-items: center; gap: 10px; font-size: 13px; cursor: pointer; margin: 12px 0; }
.wiz-toggle input { display: none; }
.wiz-tg { width: 38px; height: 22px; border-radius: 12px; background: var(--panel-3); position: relative; flex: 0 0 auto; transition: background .15s; }
.wiz-tg::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--text-dim); transition: transform .15s, background .15s; }
input:checked + .wiz-tg { background: rgba(79,166,234,.4); }
input:checked + .wiz-tg::after { transform: translateX(16px); background: var(--accent); }
.wiz-toggle b { font-weight: 800; }
.wiz-msg { width: 100%; resize: vertical; min-height: 64px; font-family: inherit; line-height: 1.5; padding: 10px 12px; }

/* slider de faixa (dois polegares) */
.wiz-range { margin: 14px 0 6px; }
.wiz-range-head { position: relative; height: 22px; margin-bottom: 4px; }
.wiz-range-bub { position: absolute; transform: translateX(-50%); font-size: 11px; font-weight: 800; color: #06121f; background: var(--accent); border-radius: 6px; padding: 2px 7px; white-space: nowrap; }
.wiz-range-body { position: relative; height: 22px; }
.wiz-range-track { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); height: 5px; background: var(--panel-3); border-radius: 4px; }
.wiz-range-fill { position: absolute; height: 100%; background: var(--accent); border-radius: 4px; }
.wiz-range-in { position: absolute; top: 0; left: 0; width: 100%; height: 22px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.wiz-range-in::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--accent); cursor: pointer; pointer-events: auto; }
.wiz-range-in::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); cursor: pointer; pointer-events: auto; }
.wiz-range-in::-webkit-slider-runnable-track { background: none; height: 22px; }
.wiz-range-in::-moz-range-track { background: none; }

/* builder de critérios ao vivo */
.wiz-livechips { display: flex; flex-wrap: wrap; gap: 7px; margin: 6px 0 4px; }
.wiz-livechip { font-size: 12px; font-weight: 700; color: var(--text); background: var(--panel-2); border: 1px solid var(--border); border-radius: 18px; padding: 7px 13px; cursor: pointer; }
.wiz-livechip:hover { border-color: var(--accent); }
.wiz-livechip.on { background: var(--accent); color: #06121f; border-color: var(--accent); }
.wiz-livecfg { margin-top: 14px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.wiz-livecfg-h { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.wiz-livecfg-x { background: none; border: 0; color: var(--text-dim); font-size: 15px; cursor: pointer; }
.wiz-scope { display: flex; flex-wrap: wrap; gap: 6px; }
.wiz-scope .fp-sb { flex: 0 0 auto; border: 1px solid var(--border); border-radius: 8px; padding: 7px 12px; background: var(--panel-3); color: var(--text-dim); font-weight: 700; font-size: 12px; cursor: pointer; }
.wiz-scope .fp-sb.on { background: var(--accent); color: #06121f; border-color: var(--accent); }
.wiz-livecfg .fp-btn-add { margin-top: 12px; }
.wiz-pm-sub { margin: 8px 0 2px; padding: 2px 0 2px 10px; border-left: 2px solid var(--accent); }
.fp-cond-tag.live { background: rgba(54,184,115,.18); color: #36b873; }

/* passo "critérios" — cards de categoria (estilo CornerProBet) + lente */
.wiz-catcards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.wiz-catcard { border: 1.5px solid var(--border); border-radius: 12px; padding: 16px; cursor: pointer; background: var(--panel-2); text-align: center; }
.wiz-catcard.on { border-color: var(--accent); background: rgba(79,166,234,.08); }
.wiz-catcard.disabled { opacity: .6; cursor: not-allowed; }
.wiz-catic { width: 40px; height: 40px; border-radius: 10px; margin: 0 auto 10px; display: grid; place-items: center; background: var(--panel-3); color: var(--accent); }
.wiz-catic svg { width: 22px; height: 22px; }
.wiz-catcard-t { font-size: 13.5px; font-weight: 800; margin-bottom: 5px; }
.wiz-catcard-d { font-size: 11.5px; color: var(--text-dim); line-height: 1.4; }
.wiz-lens { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 14px; margin-bottom: 4px; }
.wiz-lens .bots-lbl { margin-top: 6px; }
.wiz-lens .fp-seg { margin-bottom: 0; }

/* botão importar filtros */
.wiz-import-btn { width: 100%; margin-top: 8px; background: transparent; border: 1px dashed var(--border); color: var(--accent); font-weight: 700; font-size: 12.5px; padding: 9px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; }
.wiz-import-btn:hover { border-color: var(--accent); background: rgba(79,166,234,.06); }

/* sidebar rica (busca + abas + cards) */
.bots-side-search { width: 100%; background: var(--panel-2); border: 1px solid var(--border); border-radius: 8px; padding: 8px 11px; color: var(--text); font-size: 12.5px; }
.bots-side-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); }
.bots-side-tab { flex: 1; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--text-dim); font-weight: 700; font-size: 12px; padding: 8px 4px; cursor: pointer; }
.bots-side-tab b { font-weight: 800; }
.bots-side-tab.on { color: var(--accent); border-bottom-color: var(--accent); }
.bots-side-foot { margin-top: auto; padding-top: 12px; }
.bots-side-foot .bots-scan-info { margin-top: 6px; text-align: center; }
/* grupos colapsáveis */
.bot-grp { margin-bottom: 6px; }
.bot-grp-h { width: 100%; display: flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--text); padding: 6px 4px; cursor: pointer; }
.bot-grp-ic { display: grid; place-items: center; color: var(--accent); }
.bot-grp-ic svg { width: 15px; height: 15px; }
.bot-grp-nm { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: var(--text-dim); }
.bot-grp-ct { font-size: 10px; font-weight: 800; color: var(--text-dim); background: var(--panel-3); border-radius: 10px; padding: 1px 7px; }
.bot-grp-chev { width: 14px; height: 14px; margin-left: auto; color: var(--text-dim); transition: transform .15s; }
.bot-grp-h.col .bot-grp-chev { transform: rotate(-90deg); }
.bot-grp-body { padding-top: 6px; }

/* card avançado do bot */
.bot-c3 { background: var(--panel-2); border: 1px solid var(--border); border-left: 3px solid var(--good); border-radius: 9px; padding: 9px 11px; margin-bottom: 7px; transition: border-color .12s; }
.bot-c3.off { border-left-color: var(--text-dim); opacity: .72; }
.bot-c3.off .bot-c3-nm { color: var(--text-dim); }
.bot-c3.sel { border-color: var(--accent); border-left-color: var(--accent); }
.bot-c3-top { display: flex; align-items: center; gap: 9px; }
.bot-c3-av { width: 28px; height: 28px; flex: 0 0 auto; border-radius: 7px; background: var(--accent); color: #06121f; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.bot-c3.off .bot-c3-av { background: var(--panel-3); color: var(--text-dim); }
.bot-c3-tt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bot-c3-nm { font-size: 13px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bot-c3-meta { font-size: 10.5px; color: var(--text-dim); }
.bot-c3-tg { cursor: pointer; flex: 0 0 auto; display: flex; }
.bot-c3-tg input { display: none; }
.bot-c3-acts { display: flex; gap: 6px; margin-top: 8px; }
.bot-c3-act { flex: 1; background: var(--panel-3); border: 1px solid var(--border); color: var(--text-dim); font-size: 11px; font-weight: 700; padding: 5px 4px; border-radius: 7px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 4px; }
.bot-c3-act svg { width: 13px; height: 13px; }
.bot-c3-act:hover { color: var(--text); border-color: var(--accent); }
.bot-c3-act.danger { flex: 0 0 auto; width: 36px; }
.bot-c3-act.danger:hover { color: var(--bad); border-color: var(--bad); }

/* modal genérico (importar filtros) */
.bot-modal-ov { position: fixed; inset: 0; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
.bot-modal { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; width: 100%; max-width: 460px; max-height: 80vh; display: flex; flex-direction: column; padding: 18px; }
.bot-modal-h { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 800; }
.bot-modal-x { background: none; border: 0; color: var(--text-dim); font-size: 16px; cursor: pointer; }
.bot-modal-sub { font-size: 12.5px; color: var(--text-dim); margin: 4px 0 14px; }
.bot-imp-list { overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.bot-imp-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px; cursor: pointer; text-align: left; }
.bot-imp-row:hover { border-color: var(--accent); }
.bot-imp-nm { font-size: 13.5px; font-weight: 800; }
.bot-imp-meta { font-size: 11.5px; color: var(--text-dim); margin-top: 2px; }
.bot-imp-go { font-size: 12px; font-weight: 700; color: var(--accent); flex: 0 0 auto; }
.bot-imp-empty { font-size: 12.5px; color: var(--text-dim); line-height: 1.5; padding: 10px; }
.wiz-hint { font-size: 12px; color: var(--text-dim); margin: 12px 0 0; line-height: 1.55; }
.wiz-hint-inline { font-weight: 500; color: var(--text-dim); font-size: 10.5px; }
.wiz-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; border-top: 1px solid var(--border); padding-top: 14px; }
.wiz-foot-r { display: flex; gap: 8px; }
.wiz-btn { background: var(--panel-2); border: 1px solid var(--border); color: var(--text); font-weight: 700; font-size: 13px; padding: 9px 17px; border-radius: 8px; cursor: pointer; }
.wiz-btn.primary { background: var(--accent); color: #06121f; border-color: var(--accent); }
.wiz-btn.primary:disabled { opacity: .45; cursor: not-allowed; }
.wiz-btn.ghost { background: transparent; color: var(--text-dim); }
.wiz-btn:hover:not(:disabled) { filter: brightness(1.08); }

.wiz-review { display: flex; flex-direction: column; gap: 10px; }
.wiz-rev-row { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.wiz-rev-row span { color: var(--text-dim); flex: 0 0 auto; }
.wiz-rev-row b { text-align: right; }
.wiz-rev-row.col { flex-direction: column; gap: 4px; }
.wiz-rev-conds { margin: 4px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 3px; }
.wiz-rev-conds li { font-size: 13px; }
.wiz-check { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; cursor: pointer; }
.wiz-check input { width: 16px; height: 16px; }

/* ---- Bots OverLay (curados) ---- */
.overlay-card { border: 1px solid var(--accent); background: linear-gradient(135deg, rgba(79,166,234,.06), var(--panel)); }
.overlay-card .bots-card-h { align-items: center; }
.ov-tag { font-size: 11px; font-weight: 800; color: #06121f; background: var(--accent); padding: 3px 10px; border-radius: 12px; }
.ov-intro { font-size: 12.5px; color: var(--text-dim); margin: 0 0 12px; line-height: 1.5; }
.ov-bot { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 8px; background: var(--panel-2); }
.ov-bot.on { border-color: var(--good); }
.ov-bot-ic { font-size: 26px; flex: 0 0 auto; line-height: 1; }
.ov-bot-main { flex: 1; min-width: 0; }
.ov-bot-nm { font-size: 14px; font-weight: 800; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ov-bot-stat { font-size: 10.5px; font-weight: 700; color: var(--good); background: rgba(46,189,119,.14); padding: 2px 8px; border-radius: 10px; }
.ov-bot-desc { font-size: 12px; color: var(--text-dim); margin-top: 3px; line-height: 1.45; }
.ov-bot-tg { cursor: pointer; flex: 0 0 auto; display: flex; }
.ov-bot-tg input { display: none; }

/* ---- Sub-abas dos bots (Criar bot · Bots OverLay) ---- */
.bots-subtabs { display: flex; gap: 6px; border-bottom: 1px solid var(--border); }
.bots-subtab { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--text-dim); font-weight: 700; font-size: 14px; padding: 10px 14px; cursor: pointer; display: flex; align-items: center; gap: 7px; }
.bots-subtab b { font-size: 11px; font-weight: 800; color: #06121f; background: var(--accent); border-radius: 10px; padding: 1px 7px; }
.bots-subtab:not(.on) b { background: var(--panel-3); color: var(--text-dim); }
.bots-subtab.on { color: var(--text); border-bottom-color: var(--accent); }
.bots-subtab:hover { color: var(--text); }
