:root {
  --night: #262c29;          /* fundo da página */
  --head: #1d201f;           /* cabeçalho */
  --turf: #2f3833;           /* linhas / cartões */
  --turf-2: #37443d;         /* selecionado / faixas */
  --band: #3a4a42;           /* faixa de data / títulos de bloco */
  --line: #42504a;
  --line-soft: #343e39;
  --chalk: #ffffff;
  --mist: #b8c3be;
  --fog: #86948e;
  --home: #3ddc97;           /* verde-menta de destaque */
  --home-dark: #5ee6ab;
  --home-soft: rgba(61, 220, 151, .14);
  --on-home: #0f1a15;        /* texto sobre o verde */
  --odd: #f5d431;            /* amarelo das odds */
  --away: #d7dfdb;
  --away-soft: rgba(215, 223, 219, .14);
  --green: #3ddc97;
  --red: #ff6b6b;
  --radius-s: 8px;
  --radius-m: 12px;
  --num: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--night);
  color: var(--chalk);
  font: 15px/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--home); outline-offset: 2px; }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.muted { color: var(--mist); }
.faint { color: var(--fog); }
.hidden { display: none !important; }

/* ---------------- Top bar ---------------- */
.top {
  box-shadow: 0 1px 0 var(--line-soft);
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 28px;
  height: 58px; padding: 0 22px;
  background: var(--head); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 7px; }
.brand-name { font-family: var(--num); font-weight: 700; font-size: 22px; letter-spacing: .02em; }
.nav { display: flex; gap: 4px; height: 100%; }
.nav a {
  display: flex; align-items: center; padding: 0 14px; height: 100%;
  text-decoration: none; color: var(--mist); font-weight: 500;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--chalk); }
.nav a.on { color: var(--chalk); border-bottom-color: var(--home); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(14,159,86,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(14,159,86,0); } 100% { box-shadow: 0 0 0 0 rgba(14,159,86,0); } }
.icon-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--radius-s); background: transparent; color: var(--mist);
}
.icon-btn:hover { color: var(--chalk); border-color: var(--fog); }
.icon-btn.on { color: var(--home); border-color: rgba(14,159,86,.45); }
.icon-btn svg { width: 16px; height: 16px; }
.demo-band { background: var(--home-soft); color: var(--home-dark); text-align: center; font-size: 13px; padding: 6px 12px; }

/* ---------------- Botões / campos ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: var(--radius-s); border: 0;
  background: var(--home); color: var(--on-home); font-weight: 700; text-decoration: none;
}
.btn:hover { filter: brightness(1.07); }
.btn.ghost { background: transparent; color: var(--chalk); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--home); color: var(--home-dark); filter: none; }
.btn.small { height: 32px; padding: 0 12px; font-size: 13px; }
.btn.danger { background: transparent; border: 1px solid rgba(214,69,69,.4); color: var(--red); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field span { font-size: 13px; color: var(--mist); }
.field input, .field select {
  height: 44px; padding: 0 12px; border-radius: var(--radius-s);
  background: var(--head); border: 1px solid var(--line); color: var(--chalk);
}
.field input:focus { border-color: var(--home); outline: none; }
.form-error { color: var(--red); font-size: 14px; min-height: 20px; margin: 4px 0 10px; }

/* ---------------- Login ---------------- */
.auth { display: grid; grid-template-columns: 1.25fr 1fr; min-height: 100vh; }
.auth-show {
  position: relative; overflow: hidden; padding: 56px 56px 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(14,159,86,.10), transparent 70%),
    repeating-linear-gradient(90deg, #26302b 0 80px, #232b27 80px 160px);
  border-right: 1px solid var(--line-soft);
}
.auth-show h1 {
  font-family: var(--num); font-weight: 700; font-size: clamp(44px, 5.4vw, 76px);
  line-height: .95; margin: 40px 0 16px; max-width: 12ch; letter-spacing: -.005em;
}
.auth-show p { color: var(--mist); max-width: 46ch; font-size: 17px; margin: 0; }
.auth-chart { margin-top: 36px; }
.auth-legend { display: flex; gap: 22px; color: var(--mist); font-size: 13px; margin-top: 10px; }
.auth-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 40px 28px; }
.auth-card { width: 100%; max-width: 380px; }
.auth-card h2 { font-family: var(--num); font-size: 34px; margin: 0 0 6px; font-weight: 700; }
.auth-card .switch { margin-top: 18px; color: var(--mist); font-size: 14px; }
.auth-card .switch button { background: none; border: 0; color: var(--home); padding: 0; font-weight: 600; }
.age { margin-top: 28px; font-size: 12px; color: var(--fog); }

/* ---------------- Layout ao vivo ---------------- */
.live {
  display: grid; grid-template-columns: 330px minmax(0, 1fr) 340px;
  height: calc(100vh - 58px);
}
.has-band .live { height: calc(100vh - 58px - 31px); }
.col { overflow-y: auto; min-height: 0; }
.col-list { border-right: 1px solid var(--line-soft); }
.col-feed { border-left: 1px solid var(--line-soft); background: #2a312d; }
.col-head {
  position: sticky; top: 0; z-index: 2; background: inherit;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 16px 16px 12px; border-bottom: 1px solid var(--line-soft);
}
.col-list .col-head { background: var(--night); }
.col-head h3 { margin: 0; font-size: 15px; font-weight: 600; }
.col-head .count { font-family: var(--num); font-size: 18px; color: var(--mist); }
.search { width: 100%; height: 36px; padding: 0 12px; background: var(--turf); border: 1px solid var(--line-soft); border-radius: var(--radius-s); }
.league-group { padding: 10px 16px 4px; font-size: 12px; color: var(--fog); display: flex; align-items: center; gap: 8px; }
.league-group img, .league-group .lg-ph { width: 16px; height: 16px; object-fit: contain; font-size: 7px; }

.gl {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center;
  width: 100%; padding: 10px 16px; border: 0; background: transparent; text-align: left;
  border-left: 3px solid transparent;
}
.gl:hover { background: var(--turf); }
.gl.on { background: var(--turf-2); border-left-color: var(--home); }
.gl-min { font-family: var(--num); font-size: 20px; font-weight: 600; color: var(--green); text-align: center; line-height: 1; }
.gl-min small { display: block; font-size: 11px; color: var(--fog); font-family: var(--text); font-weight: 500; margin-top: 3px; }
.gl-min.ht { color: var(--home); font-size: 16px; }
.gl-teams { min-width: 0; }
.gl-row { display: flex; align-items: center; gap: 8px; }
.gl-row .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gl-row .g { font-family: var(--num); font-size: 18px; font-weight: 700; width: 16px; text-align: right; }
.gl-side { display: grid; justify-items: end; gap: 4px; }
.gl-badge { font-size: 11px; color: var(--on-home); background: var(--home); border-radius: 9px; padding: 0 7px; font-weight: 700; line-height: 18px; }
.untracked { opacity: .55; }
.red-card { display: inline-block; width: 8px; height: 11px; background: var(--red); border-radius: 1px; margin-left: 4px; vertical-align: -1px; }

.crest {
  width: 22px; height: 22px; border-radius: 50%; flex: none; object-fit: contain;
  display: inline-grid; place-items: center; font-size: 9px; font-weight: 700; color: #ffffff;
}
.crest.big { width: 54px; height: 54px; font-size: 18px; }

/* ---------------- Detalhe do jogo ---------------- */
.detail { padding: 22px 26px 40px; }
.empty { display: grid; place-items: center; text-align: center; color: var(--mist); padding: 80px 30px; }
.empty h3 { color: var(--chalk); font-family: var(--num); font-size: 26px; margin: 14px 0 6px; }
.board {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line-soft);
}
.board-team { display: flex; align-items: center; gap: 14px; min-width: 0; }
.board-team.away { flex-direction: row-reverse; text-align: right; }
.board-team .name { font-family: var(--num); font-size: 28px; font-weight: 600; line-height: 1.05; }
.board-team .tag { font-size: 12px; margin-top: 3px; }
.board-team.home .tag { color: var(--home); }
.board-team.away .tag { color: var(--away); }
.board-score { text-align: center; }
.board-score .sc { font-family: var(--num); font-size: 62px; font-weight: 700; line-height: .9; letter-spacing: .02em; }
.board-score .mn { font-family: var(--num); font-size: 18px; color: var(--green); font-weight: 600; margin-top: 6px; }
.board-meta { display: flex; gap: 14px; justify-content: center; color: var(--fog); font-size: 13px; margin-top: 12px; }

.section { margin-top: 26px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-head h4 { margin: 0; font-size: 16px; font-weight: 600; }
.section-head .muted { font-size: 13px; }

.press-wrap { background: var(--turf); border: 1px solid var(--line-soft); border-radius: var(--radius-m); padding: 14px 14px 8px; }
.press-svg { width: 100%; height: auto; display: block; }
.press-legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--mist); padding: 8px 4px 2px; }
.press-legend b { font-family: var(--num); font-size: 17px; }
.press-legend .h b { color: var(--home); }
.press-legend .a b { color: var(--away); }

.momentum { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-top: 12px; }
.momentum .bar { height: 10px; border-radius: 5px; background: var(--away); overflow: hidden; }
.momentum .bar i { display: block; height: 100%; background: var(--home); transition: width .6s ease; }
.momentum .v { font-family: var(--num); font-size: 22px; font-weight: 700; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.duel { display: grid; gap: 10px; }
.duel-row { display: grid; grid-template-columns: 44px 1fr 44px; gap: 10px; align-items: center; }
.duel-row .v { font-family: var(--num); font-size: 18px; font-weight: 600; }
.duel-row .v.r { text-align: right; }
.duel-row .mid { display: grid; gap: 4px; }
.duel-row .lbl { text-align: center; font-size: 12px; color: var(--mist); }
.duel-row .bars { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; height: 6px; }
.duel-row .bars span { background: var(--line-soft); border-radius: 3px; overflow: hidden; display: flex; }
.duel-row .bars span:first-child { justify-content: flex-end; }
.duel-row .bars i { display: block; height: 100%; }
.duel-row .bars span:first-child i { background: var(--home); }
.duel-row .bars span:last-child i { background: var(--away); }

.probs { display: grid; gap: 16px; }
.split { display: flex; height: 34px; border-radius: var(--radius-s); overflow: hidden; font-family: var(--num); font-weight: 600; font-size: 16px; }
.split div { display: flex; align-items: center; justify-content: center; min-width: 0; white-space: nowrap; overflow: hidden; }
.split .sh { background: var(--home); color: var(--on-home); }
.split .sx { background: var(--band); color: var(--chalk); }
.split .sa { background: var(--away); color: var(--on-home); }
.split-lbl { display: flex; justify-content: space-between; font-size: 12px; color: var(--mist); margin-bottom: 6px; }

.mk-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mk-table th { text-align: left; font-weight: 500; color: var(--fog); font-size: 12px; padding: 0 8px 8px; }
.mk-table td { padding: 9px 8px; border-top: 1px solid var(--line-soft); }
.mk-table td.n, .mk-table th.n { text-align: right; font-family: var(--num); font-size: 16px; }
.mk-table th.n { font-family: var(--text); font-size: 12px; }
.ev-pos { color: var(--green); font-weight: 600; }
.ev-neg { color: var(--fog); }
.mk-fam { display: flex; gap: 6px; margin-bottom: 10px; }
.chip { flex: none; white-space: nowrap; height: 30px; padding: 0 12px; border-radius: 15px; border: 1px solid var(--line); background: transparent; color: var(--mist); font-size: 13px; }
.chip.on { background: #ffffff; color: #1d201f; border-color: #ffffff; font-weight: 700; }

/* ---------------- Alertas ---------------- */
.feed-filter { display: flex; gap: 6px; overflow-x: auto; padding: 10px 16px; border-bottom: 1px solid var(--line-soft); }
.alert {
  padding: 14px 16px; border-bottom: 1px solid var(--line-soft); display: grid; gap: 8px;
  cursor: pointer;
}
.alert:hover { background: var(--turf); }
.alert.fresh { animation: fresh 2.4s ease-out; }
@keyframes fresh { from { background: rgba(14,159,86,.14); } to { background: transparent; } }
.alert-top { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.alert-top .ag { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.alert-top .ag svg { width: 15px; height: 15px; color: var(--home); }
.alert-top .when { margin-left: auto; color: var(--fog); font-size: 12px; }
.alert-game { font-size: 13px; color: var(--mist); display: flex; gap: 6px; align-items: center; }
.alert-game .mm { font-family: var(--num); color: var(--green); font-size: 15px; font-weight: 600; }
.alert-pick { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.alert-pick .lbl { font-weight: 600; font-size: 16px; line-height: 1.25; }
.alert-pick .odd { font-family: var(--num); font-size: 24px; font-weight: 700; color: var(--odd); white-space: nowrap; }
.alert-pick .odd small { font-family: var(--text); font-size: 11px; color: var(--fog); font-weight: 500; display: block; text-align: right; }
.alert-nums { display: flex; gap: 14px; font-size: 12px; color: var(--mist); }
.alert-nums b { font-family: var(--num); font-size: 15px; color: var(--chalk); font-weight: 600; }
.alert-reason { font-size: 13px; color: var(--mist); line-height: 1.45; }
.conf { height: 4px; border-radius: 2px; background: var(--line-soft); overflow: hidden; }
.conf i { display: block; height: 100%; background: linear-gradient(90deg, #2a8f63, var(--home)); }
.status { font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 9px; line-height: 18px; }
.status.open { background: var(--line); color: var(--mist); }
.status.green { background: rgba(14,159,86,.12); color: var(--green); }
.status.red { background: rgba(214,69,69,.12); color: var(--red); }
.status.void { background: var(--line-soft); color: var(--fog); }

.toast-zone { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: grid; gap: 10px; }
.toast {
  width: 320px; background: var(--turf-2); border: 1px solid rgba(61,220,151,.45); border-radius: var(--radius-m);
  padding: 12px 14px; box-shadow: 0 12px 30px rgba(16,35,26,.14); animation: toastin .35s ease-out;
}
.toast b { color: var(--home); }
@keyframes toastin { from { transform: translateY(12px); opacity: 0; } }

/* ---------------- Páginas (pré-jogo, histórico, admin) ---------------- */
.page { max-width: 1180px; margin: 0 auto; padding: 30px 26px 60px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 { font-family: var(--num); font-size: 40px; line-height: 1; margin: 0 0 6px; font-weight: 700; }
.page-head p { margin: 0; color: var(--mist); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.tab { height: 38px; padding: 0 16px; border-radius: 19px; border: 1px solid var(--line); background: transparent; color: var(--mist); font-weight: 500; }
.tab.on { background: #ffffff; color: #1d201f; border-color: #ffffff; font-weight: 700; }

.pick-list { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius-m); overflow: hidden; }
.pick {
  display: grid; grid-template-columns: 74px minmax(0, 1.3fr) minmax(0, 1.6fr) 120px; gap: 18px; align-items: center;
  padding: 16px 18px; background: var(--night); cursor: pointer;
}
.pick:hover { background: var(--turf); }
.pick .time { font-family: var(--num); font-size: 24px; font-weight: 600; }
.pick .time small { display: block; font-family: var(--text); font-size: 12px; color: var(--fog); font-weight: 400; }
.pick .match { display: grid; gap: 4px; }
.pick .match .gl-row { font-weight: 500; }
.pick .entry .lbl { font-weight: 600; font-size: 16px; }
.pick .entry .meta { font-size: 13px; color: var(--mist); margin-top: 3px; }
.pick .odd { text-align: right; font-family: var(--num); font-size: 30px; font-weight: 700; color: var(--odd); line-height: 1; }
.pick .odd small { display: block; font-family: var(--text); font-size: 12px; color: var(--fog); font-weight: 400; margin-top: 4px; }
.rank { font-family: var(--num); color: var(--fog); font-size: 15px; }

.dupla { border: 1px solid var(--line-soft); border-radius: var(--radius-m); margin-bottom: 18px; overflow: hidden; }
.dupla-head { display: flex; align-items: center; gap: 22px; padding: 14px 18px; background: var(--turf); flex-wrap: wrap; }
.dupla-head h3 { margin: 0; font-family: var(--num); font-size: 24px; font-weight: 700; }
.dupla-head .k { font-size: 12px; color: var(--mist); }
.dupla-head .k b { display: block; font-family: var(--num); font-size: 24px; color: var(--chalk); line-height: 1; }
.dupla-head .k.odd b { color: var(--home); }
.dupla-head .k.chance b { color: var(--green); }
.dupla .pick { grid-template-columns: 74px minmax(0, 1.3fr) minmax(0, 1.6fr) 90px; }
.bingo-total { display: flex; gap: 34px; padding: 20px 22px; border: 1px solid var(--line-soft); border-radius: var(--radius-m); margin-bottom: 18px; background: var(--turf); flex-wrap: wrap; }
.bingo-total .k { color: var(--mist); font-size: 13px; }
.bingo-total .k b { display: block; font-family: var(--num); font-size: 38px; line-height: 1; color: var(--chalk); }
.bingo-total .k.odd b { color: var(--home); }
.note { font-size: 13px; color: var(--fog); margin-top: 14px; max-width: 72ch; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius-m); overflow: hidden; margin-bottom: 26px; }
.kpi { background: var(--night); padding: 18px 20px; }
.kpi .v { font-family: var(--num); font-size: 40px; font-weight: 700; line-height: 1; }
.kpi .l { color: var(--mist); font-size: 13px; margin-top: 6px; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-weight: 500; color: var(--fog); font-size: 12px; padding: 0 12px 10px; }
.tbl td { padding: 12px; border-top: 1px solid var(--line-soft); vertical-align: middle; }
.tbl td.n, .tbl th.n { text-align: right; }
.tbl td.n { font-family: var(--num); font-size: 18px; }
.tbl-wrap { border: 1px solid var(--line-soft); border-radius: var(--radius-m); padding: 14px 6px 4px; overflow-x: auto; }
.pos { color: var(--green); }
.neg { color: var(--red); }

.modal-back { position: fixed; inset: 0; background: rgba(16, 35, 26, .42); z-index: 40; display: grid; place-items: center; padding: 20px; }
.modal { width: min(820px, 100%); max-height: 90vh; overflow-y: auto; background: var(--night); border: 1px solid var(--line); border-radius: 14px; padding: 24px 26px; position: relative; }
.modal .x { position: absolute; top: 14px; right: 14px; }
.crit { display: grid; grid-template-columns: 170px 1fr; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.crit dt { color: var(--mist); }
.crit dd { margin: 0; }

.paywall { max-width: 520px; margin: 12vh auto; text-align: center; padding: 0 24px; }
.paywall h1 { font-family: var(--num); font-size: 42px; margin: 18px 0 8px; }
.paywall p { color: var(--mist); }
.paywall .actions { display: flex; gap: 10px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

.admin-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.panel { border: 1px solid var(--line-soft); border-radius: var(--radius-m); padding: 18px 20px; background: var(--turf); }
.panel h3 { margin: 0 0 14px; font-size: 16px; }
.kv { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.kv b { font-family: var(--num); font-size: 17px; }
.user-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------------- Mobile ---------------- */
.mobile-tabs { display: none; }
@media (max-width: 1180px) {
  .live { grid-template-columns: 300px minmax(0, 1fr); }
  .col-feed { display: none; }
  .live.show-feed .col-feed { display: block; position: fixed; inset: 58px 0 0 auto; width: min(380px, 100%); z-index: 30; box-shadow: -10px 0 30px rgba(16,35,26,.14); }
}
@media (max-width: 820px) {
  .top { gap: 12px; padding: 0 14px; }
  .icon-btn span, .icon-btn .lbl-notify { display: none; }
  .icon-btn { padding: 0 9px; }
  .board { grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .board-team, .board-team.away { flex-direction: column; text-align: center; gap: 6px; }
  .board-team .tag { display: none; }
  .section-head .muted { display: none; }
  .toast-zone { left: 12px; right: 12px; bottom: 72px; }
  .toast { width: auto; }
  .nav { display: none; }
  .brand-name { font-size: 19px; }
  .mobile-tabs {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 25; height: 60px;
    background: var(--head); border-top: 1px solid var(--line-soft);
  }
  .mobile-tabs a { flex: 1; display: grid; place-items: center; text-decoration: none; color: var(--fog); font-size: 12px; padding-top: 6px; }
  .mobile-tabs a svg { width: 20px; height: 20px; }
  .mobile-tabs a.on { color: var(--home); }
  body { padding-bottom: 60px; }
  .live { display: block; height: auto; }
  .col-list, .col-detail { border: 0; }
  .live.has-sel .col-list { display: none; }
  .live:not(.has-sel) .col-detail { display: none; }
  .detail { padding: 16px 14px 30px; }
  .board-team .name { font-size: 20px; }
  .crest.big { width: 38px; height: 38px; }
  .board-score .sc { font-size: 46px; }
  .grid-2 { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-show { padding: 30px 22px 26px; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .auth-show h1 { margin-top: 26px; }
  .pick, .dupla .pick { grid-template-columns: 56px 1fr auto; }
  .pick .entry { grid-column: 2 / 4; grid-row: 2; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .crit { grid-template-columns: 1fr; gap: 2px; }
  .page { padding: 20px 14px 40px; }
}
.back-mobile { display: none; }
@media (max-width: 420px) { .brand-name { display: none; } }
@media (max-width: 820px) { .back-mobile { display: inline-flex; margin-bottom: 14px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------------- Botões estilo Telegram (pré-jogo) ---------------- */
.day-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 22px; padding: 3px; background: var(--turf); }
.day-switch button { height: 34px; padding: 0 18px; border: 0; border-radius: 18px; background: transparent; color: var(--mist); font-weight: 600; }
.day-switch button.on { background: #ffffff; color: #1d201f; box-shadow: none; }
.actions-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; }
.action {
  display: grid; gap: 4px; align-content: start; text-align: left; padding: 14px 16px; min-height: 92px;
  border: 1px solid var(--line-soft); border-radius: var(--radius-m); background: var(--turf);
}
.action:hover { border-color: var(--home); }
.action .ic { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: var(--home-soft); color: var(--home-dark); margin-bottom: 6px; }
.action .ic svg { width: 22px; height: 22px; }
.action b { font-size: 15px; }
.action span { font-size: 12px; color: var(--mist); line-height: 1.35; }
.action.on { border-color: var(--home); background: var(--turf-2); box-shadow: inset 0 0 0 1px var(--home); }
.bar-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; }
.league-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.league-btn {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; text-align: left;
  padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: var(--radius-s); background: var(--turf);
}
.league-btn:hover { border-color: var(--home); background: var(--turf); }
.league-btn img, .lg-ph { object-fit: contain; border-radius: 8px; flex: none; }
.lg-ph { background: var(--home-soft); color: var(--home-dark); display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.league-btn .nm { font-weight: 600; font-size: 14px; line-height: 1.25; }
.league-btn .ct { font-size: 12px; color: var(--fog); }
.league-btn .n { font-family: var(--num); font-size: 18px; font-weight: 600; color: var(--home-dark); background: var(--home-soft); border-radius: 12px; padding: 0 9px; }
.league-sub { font-size: 12px; color: var(--mist); margin-top: 2px; }
.best-card { border: 1px solid var(--home); border-radius: var(--radius-m); overflow: hidden; margin-bottom: 18px; }
.best-head { background: var(--band); color: #fff; border-bottom: 2px solid var(--home); padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.best-head h3 { margin: 0; font-family: var(--num); font-size: 26px; font-weight: 700; }
.best-head .odd { font-family: var(--num); font-size: 34px; font-weight: 700; line-height: 1; }
.best-body { padding: 16px 18px; }
.ai-box { background: var(--turf); border-left: 3px solid var(--home); padding: 12px 14px; border-radius: 0 8px 8px 0; margin-top: 16px; font-size: 14px; }
.compact { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; padding: 12px 16px; border-top: 1px solid var(--line-soft); align-items: center; cursor: pointer; }
.compact:hover { background: var(--turf); }
.compact .q { font-size: 13px; color: var(--mist); }
.compact .q b { font-family: var(--num); font-size: 15px; color: var(--chalk); }
.compact .tip { font-weight: 600; }
.compact .tip.none { color: var(--fog); font-weight: 400; }
.crumb { background: none; border: 0; color: var(--home-dark); font-weight: 600; padding: 0; margin-bottom: 10px; }
@media (max-width: 1000px) { .actions-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .actions-grid { display: flex; overflow-x: auto; gap: 8px; margin: 0 -14px 20px; padding: 0 14px 4px; scrollbar-width: none; }
  .action { flex: none; width: 132px; min-height: 0; padding: 12px; }
  .action span:not(.ic) { display: none; }
  .action b { font-size: 14px; line-height: 1.2; }
  .compact { grid-template-columns: 52px 1fr; }
  .compact .tipcol { grid-column: 1 / 3; }
}
.action .ic.img { width: 46px; height: 46px; background: none; padding: 0; overflow: hidden; border-radius: 10px; }
.action .ic.img img { width: 100%; height: 100%; object-fit: cover; }
.lg-img { object-fit: contain; flex: none; }
.lg-ph { font-size: 10px; font-weight: 700; border-radius: 6px; display: inline-grid; place-items: center; flex: none; }

/* ---------------- tema escuro esverdeado (estilo casa de apostas) ---------------- */
.top { box-shadow: none; border-bottom: 1px solid #000; }
.nav a.on { color: var(--home); border-bottom-color: var(--home); }
.dupla-head, .bingo-total, .panel { background: var(--band); }
.dupla-head .k.odd b, .bingo-total .k.odd b, .best-head .odd { color: var(--odd); }
.pick, .kpi { background: var(--turf); }
.pick:hover, .compact:hover, .gl:hover, .alert:hover { background: var(--turf-2); }
.pick-list { background: var(--line-soft); }
.league-group { background: var(--band); color: var(--chalk); font-weight: 600; padding: 8px 16px; margin-top: 4px; }
.col-head { background: var(--night); }
.col-list .col-head { background: var(--night); }
.press-wrap { background: #222826; }
.mk-table td.n:nth-child(4) { color: var(--odd); font-weight: 600; }
.duel-row .bars span:last-child i { background: var(--away); }
.action.on { background: var(--turf-2); }
.action .ic { background: var(--home-soft); color: var(--home); }
.league-btn:hover { background: var(--turf-2); }
.league-btn .n { color: var(--home); }
.status.green { color: var(--home); background: rgba(61,220,151,.16); }
.ai-box { background: var(--band); }
.crumb { color: var(--home); }
.demo-band { color: var(--home); }
.field input:focus { border-color: var(--home); }
.icon-btn { border-color: var(--line); }
.gl.on { border-left-color: var(--home); }
.compact .tip span.num { color: var(--odd) !important; }
.alert-situ { display: flex; gap: 8px; align-items: baseline; font-size: 13px; background: var(--band); border-radius: 6px; padding: 6px 10px; }
.alert-situ .k { color: var(--fog); font-size: 12px; white-space: nowrap; }
.alert-situ.now { background: var(--home-soft); }
.alert-situ.now .k { color: var(--home); }
.bet-btn { display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 12px; margin-top: 8px;
  border: 0; border-radius: 6px; background: var(--odd); color: #1d201f; font-weight: 700; font-size: 13px; white-space: nowrap; }
.bet-btn:hover { filter: brightness(1.06); }
.bet-btn.big { height: 40px; padding: 0 18px; font-size: 15px; margin-top: 0; }
.alert-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.alert-actions .bet-btn { margin-top: 0; }
.pick .odd .bet-btn { display: flex; margin-left: auto; }
.grade { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-family: var(--num); font-weight: 700; font-size: 15px; }
.grade.gA { background: var(--odd); color: #1d201f; }
.grade.gB { background: var(--home); color: #1d201f; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 12.5px; }
.checks li { padding-left: 20px; position: relative; color: var(--mist); line-height: 1.35; }
.checks li::before { position: absolute; left: 2px; top: 0; font-weight: 700; }
.checks li.ok { color: var(--chalk); }
.checks li.ok::before { content: "✓"; color: var(--home); }
.checks li.no::before { content: "–"; color: var(--fog); }
.ai-read { font-size: 13px; background: var(--band); border-left: 3px solid var(--odd); padding: 8px 10px; border-radius: 0 6px 6px 0; }
.grade-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.grade-row .panel { display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.rej { display: grid; gap: 10px; max-height: 420px; overflow-y: auto; font-size: 13px; }
.rej > div { border-top: 1px solid var(--line-soft); padding-top: 8px; }
.stake { font-family: var(--num); font-size: 14px; font-weight: 700; color: var(--odd); background: rgba(245,212,49,.12); border-radius: 5px; padding: 1px 6px; vertical-align: 1px; }
.entry .lbl .grade, .best-head .grade { width: 20px; height: 20px; font-size: 13px; vertical-align: 2px; }
.pre-clock { text-align: right; font-size: 13px; color: var(--mist); line-height: 1.5; }
.pre-clock b { color: var(--chalk); font-family: var(--num); font-size: 16px; }
