/* ============================================================
   campaign.css — a Campanha do Convocados (draft, jogos e resultado).
   Veio do zz.css do Zé Bolão; as cores e fontes são variáveis do styles.css
   (identidade do Convocados). Mobile-first.
   ============================================================ */
.cv-wrap { max-width: 1180px; margin: 0 auto; }
/* telas de coluna única não esticam demais; o draft (3 colunas) usa a largura toda */
#cvContent > .cv-card { max-width: 880px; margin-left: auto; margin-right: auto; }
.cv-result { max-width: 940px; margin-left: auto; margin-right: auto; }
.cv-match-stage { max-width: 840px; margin-left: auto; margin-right: auto; }

.cv-card {
  background: var(--bg-card); border: 2.5px solid var(--ink); border-radius: 12px;
  box-shadow: 0 6px 0 var(--ink); padding: 1.1rem 1.2rem; margin-bottom: 1rem;
}
.cv-h4 { font-family: var(--f-label); font-weight: 700; text-transform: uppercase; font-size: 1.0rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin: 0.2rem 0 0.7rem; }
.cv-h4 small { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); }
.cv-intro h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; margin: 0 0 0.4rem; }
.cv-bullets { list-style: none; padding: 0; margin: 0.6rem 0 1rem; }
.cv-bullets li { padding: 0.25rem 0; }

/* botão secundário visível em fundo claro (corrige o contraste do antigo "ghost") */
.cv-soft { background: var(--chalk); color: var(--ink); }
.cv-soft:hover:not([disabled]) { background: var(--bg-paper); }

/* setup: dificuldade / formação / técnico */
.cv-diff { display: flex; gap: 0.6rem; margin-bottom: 1rem; flex-wrap: wrap; }
.cv-diffbtn {
  flex: 1; min-width: 140px; display: flex; flex-direction: column; gap: 0.15rem; text-align: left;
  padding: 0.6rem 0.8rem; border: 2.5px solid var(--ink); border-radius: 10px; background: var(--chalk); color: var(--ink); cursor: pointer;
}
.cv-diffbtn b { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.03em; }
.cv-diffbtn small { color: var(--ink-soft); font-size: 0.78rem; }
.cv-diffbtn.sel { background: var(--gold); box-shadow: 0 3px 0 var(--ink); }

.cv-formations { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.cv-formbtn { font-family: var(--f-mono); font-weight: 700; padding: 0.4rem 0.7rem; border: 2px solid var(--ink); border-radius: 6px; background: var(--chalk); color: var(--ink); cursor: pointer; }
.cv-formbtn.sel { background: var(--highlight); box-shadow: 0 3px 0 var(--ink); }

.cv-coach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 1rem; }
.cv-coach { display: flex; flex-direction: column; gap: 0.15rem; text-align: left; padding: 0.6rem 0.7rem; border: 2px solid var(--ink); border-radius: 8px; background: var(--chalk); color: var(--ink); cursor: pointer; }
.cv-coach b { font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.03em; }
.cv-coach span { font-size: 0.76rem; color: var(--ink-soft); }
.cv-coach .cv-coach-f { color: var(--muted); font-size: 0.7rem; }
.cv-coach.sel { background: var(--primary); color: var(--chalk); box-shadow: 0 3px 0 var(--ink); }
.cv-coach.sel span, .cv-coach.sel .cv-coach-f { color: var(--chalk); }

/* draft: progresso + sortear */

.cv-dice { font-size: 2.6rem; line-height: 1; margin-bottom: 0.4rem; }

/* lista de jogadores pra escolher (do time sorteado) */

/* lista do MEU time (montado), agrupada por setor */

.cv-list { display: flex; flex-direction: column; gap: 0.6rem; }
.cv-list-empty { padding: 0.8rem; text-align: center; }
.cv-list-pos { font-family: var(--f-label); font-weight: 700; text-transform: uppercase; font-size: 0.81rem; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: 0.25rem; }
.cv-li { display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.6rem; border: 2px solid var(--ink); border-radius: 8px; background: var(--bg-paper); margin-bottom: 0.3rem; }
.cv-li.cap { background: var(--highlight); box-shadow: 0 0 0 2px var(--gold) inset; }
.cv-li.pick { cursor: pointer; }
.cv-li.pick:hover { transform: translate(-1px, -1px); box-shadow: 0 2px 0 var(--ink); }
.cv-li-flag { font-size: 1.05rem; line-height: 1; }
.cv-li-name { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-li-org { font-size: 0.72rem; color: var(--muted); white-space: nowrap; }
.cv-li-ovr { font-family: var(--f-mono); font-weight: 700; font-size: 0.8rem; background: var(--primary); color: var(--chalk); border-radius: 4px; padding: 0.05rem 0.35rem; min-width: 1.6rem; text-align: center; }
.cv-li-ovr.q { background: var(--muted); }
.cv-li-ovr.host { background: var(--gold); color: var(--ink); }

/* bandeira como imagem (auto-hospedada em /flags) */
.cv-flag { width: 21px; height: 15px; object-fit: cover; border: 1px solid var(--ink); border-radius: 2px; vertical-align: -2px; display: inline-block; background: var(--chalk); }
.cv-flag-na { font-size: 0.85rem; }
/* badge "ano + bandeira" juntos (box score) */
.cv-yflag { display: inline-flex; align-items: center; gap: 0.28rem; background: var(--bg-paper); border: 1.5px solid var(--ink); border-radius: 5px; padding: 0.05rem 0.32rem; vertical-align: -3px; }
.cv-yflag-yr { font-family: var(--f-mono); font-weight: 700; font-size: 0.66rem; line-height: 1; color: var(--ink-soft); }
.cv-yflag .cv-flag { vertical-align: 0; margin: 0; }

.cv-table tr.cv-qual td:first-child { border-left: 4px solid var(--win); }

/* revisão */
.cv-meta { display: flex; flex-wrap: wrap; gap: 0.7rem; color: var(--ink-soft); font-size: 0.85rem; }
.cv-review-meta { margin-bottom: 0.6rem; }
.cv-strength { font-family: var(--f-mono); background: var(--bg-paper); border: 2px solid var(--ink); border-radius: 6px; padding: 0.45rem 0.7rem; margin-bottom: 0.8rem; }
.cv-review-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 0.9rem; gap: 0.6rem; }

/* resultado da campanha */
.cv-result-head { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.cv-score-big { font-family: var(--f-label); font-weight: 700; text-transform: uppercase; font-size: 3.0rem; color: var(--primary); }
.cv-score-big span { font-size: 1rem; color: var(--muted); }
.cv-7a0 { background: var(--highlight); border: 3px solid var(--ink); border-radius: 10px; box-shadow: 0 5px 0 var(--ink); padding: 0.8rem 1rem; font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; text-align: center; margin-bottom: 1rem; }
.cv-reached { background: var(--bg-paper); border: 2px dashed var(--ink); border-radius: 8px; padding: 0.6rem 0.9rem; margin-bottom: 1rem; }
.cv-matches { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.cv-match { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 0.5rem; padding: 0.45rem 0.7rem; border: 2px solid var(--ink); border-radius: 8px; background: var(--chalk); }
.cv-match.win { border-left: 7px solid var(--win); }
.cv-match.draw { border-left: 7px solid var(--gold); }
.cv-match.loss { border-left: 7px solid var(--stamp); }
.cv-round { font-family: var(--f-label); font-weight: 700; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.04em; color: var(--ink-soft); }
.cv-vs b { font-family: var(--f-mono); }
.cv-pens { color: var(--accent-2); font-weight: 700; }
.cv-tag { font-family: var(--f-label); font-weight: 700; text-transform: uppercase; font-size: 0.85rem; }

/* liga */

.cv-table tr[data-zz] { cursor: pointer; }
.cv-table tr.cv-me { background: rgba(244,167,43,0.18); }

.cv-lb { margin-top: 0.4rem; }

/* barra de admin (liga/desliga o fantasy) */

/* aba "Zé a Zero" quando só admin enxerga */

/* draft 2 colunas: escolha | campo (esquema lado a lado) */

.cv-undo { margin-top: 0.5rem; width: 100%; }
.cv-field { background: linear-gradient(var(--pitch), var(--pitch-dark)); border: 2.5px solid var(--ink); border-radius: 10px; padding: 0.6rem 0.4rem; display: flex; flex-direction: column; gap: 0.45rem; }
.cv-fp-row { display: flex; justify-content: space-around; gap: 0.3rem; }
.cv-fp-slot { flex: 1; max-width: 80px; min-height: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border-radius: 6px; padding: 0.2rem 0.1rem; font-size: 0.6rem; }
.cv-fp-slot.empty { background: rgba(255,255,255,0.12); color: var(--chalk); border: 1.5px dashed rgba(255,255,255,0.5); font-family: var(--f-label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.cv-fp-slot.filled { background: var(--chalk); border: 1.5px solid var(--ink); color: var(--ink); }
.cv-fp-slot.cap { background: var(--highlight); box-shadow: 0 0 0 2px var(--gold); }
.cv-fp-name { font-weight: 600; max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-fp-slot .cv-flag { width: 18px; height: 13px; }
.cv-roulette { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; letter-spacing: 0.02em; padding: 1rem 0.6rem; min-height: 3.2rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; border: 2.5px dashed var(--ink); border-radius: 10px; background: var(--bg-paper); }
.cv-roulette .cv-flag { width: 30px; height: 22px; }
.cv-roulette.landed { background: var(--highlight); border-style: solid; transform: scale(1.05); transition: transform 0.2s ease; }

/* ===== Draft 3 colunas (inspirado no 7a0) ===== */
.cv-draft3 { display: grid; grid-template-columns: 0.95fr 1.45fr 1.15fr; gap: 1.2rem; align-items: start; }
.cv-col { min-width: 0; }
.cv-col-field { background: var(--bg-card); border: 2.5px solid var(--ink); border-radius: 12px; box-shadow: 0 6px 0 var(--ink); padding: 0.6rem; }

.cv-sel-card { background: #fff; border: 2.5px solid var(--ink); border-radius: 12px; box-shadow: 0 5px 0 var(--ink); padding: 0.65rem 0.85rem; margin-bottom: 0.55rem; }
.cv-sel-saiu { font-family: var(--f-label); font-weight: 700; text-transform: uppercase; font-size: 0.69rem; letter-spacing: 0.16em; color: var(--muted); }
.cv-sel-team { display: flex; align-items: center; gap: 0.5rem; margin: 0.25rem 0; }
.cv-sel-name { font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; line-height: 1; letter-spacing: 0.02em; }
.cv-sel-copa { font-family: var(--f-display); font-weight: 800; font-size: 0.98rem; color: var(--stamp); letter-spacing: 0.03em; }
.cv-flag-big { width: 34px; height: 25px; }
.cv-sel-cta { text-align: center; }
.cv-reroll-info { font-size: 0.74rem; color: var(--ink-soft); margin-top: 0.45rem; }
.cv-reroll-btns { display: flex; gap: 0.4rem; margin-top: 0.35rem; flex-wrap: wrap; }
.cv-reroll-btns .btn { padding: 0.4rem 0.5rem; font-size: 0.82rem; }
.cv-reroll-btns .btn { flex: 1; }

.cv-pick-head { font-family: var(--f-label); font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.08em; color: var(--ink-soft); margin: 0.2rem 0 0.4rem; text-transform: uppercase; }
.cv-prow-list { max-height: 312px; overflow-y: auto; border: 2px solid var(--ink); border-radius: 10px; background: var(--bg-card); }
.cv-prow { width: 100%; display: flex; align-items: center; gap: 0.6rem; padding: 0.66rem 0.95rem; border: 0; border-bottom: 1px solid rgba(20,17,15,0.12); background: transparent; color: var(--ink); cursor: pointer; text-align: left; font-family: var(--f-body); font-size: 0.98rem; }
.cv-prow:last-child { border-bottom: 0; }
.cv-prow:hover:not([disabled]) { background: var(--highlight); }
.cv-prow[disabled] { opacity: 0.3; cursor: not-allowed; }
.cv-prow-pos { font-family: var(--f-label); font-weight: 700; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.05em; color: var(--muted); width: 2.4rem; flex: 0 0 auto; }
.cv-prow-name { flex: 1; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-prow-ovr { font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; line-height: 1; }
.cv-prow-ovr.host { color: var(--stamp); }

.cv-box { background: var(--bg-card); border: 2.5px solid var(--ink); border-radius: 12px; box-shadow: 0 6px 0 var(--ink); padding: 0.9rem 1.05rem; }
.cv-box-h { font-family: var(--f-label); font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.12em; color: var(--ink-soft); margin-bottom: 0.6rem; }
.cv-bs-row { display: flex; align-items: center; gap: 0.55rem; padding: 0.42rem 0; border-bottom: 1px solid rgba(20,17,15,0.1); font-size: 0.95rem; }
.cv-bs-pos { font-family: var(--f-label); font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; color: var(--muted); width: 2.5rem; flex: 0 0 auto; }
.cv-bs-player { flex: 1; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-bs-row.filled .cv-bs-player { color: var(--ink); font-weight: 600; }
.cv-bs-ovr { font-family: var(--f-mono); font-weight: 700; font-size: 0.98rem; }
.cv-bs-ovr.host { color: var(--stamp); }   /* jogador da casa: bônus de torcida */

/* campo: posições do esquema como círculos (tracejado vazio, sólido preenchido) */
.cv-field { background: linear-gradient(var(--pitch-light), var(--pitch-dark)); border-radius: 8px; padding: 1.1rem 0.5rem; display: flex; flex-direction: column; gap: 0.6rem; min-height: 478px; justify-content: space-between; }
.cv-fp-row { display: flex; justify-content: space-evenly; gap: 0.3rem; }
.cv-fp-slot { width: 73px; height: 73px; max-width: none; min-height: 0; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font-size: 0.58rem; flex: 0 0 auto; padding: 0; }
.cv-fp-slot.empty { background: transparent; border: 2px dashed rgba(255,255,255,0.6); color: rgba(255,255,255,0.9); font-family: var(--f-label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.cv-fp-slot.filled { background: var(--chalk); border: 2px solid var(--ink); color: var(--ink); }
.cv-fp-slot.cap { background: var(--highlight); box-shadow: 0 0 0 3px var(--gold); }
.cv-fp-name { font-weight: 700; max-width: 56px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-fp-slot .cv-flag { width: 20px; height: 15px; }

@media (max-width: 900px) {
  .cv-draft3 { grid-template-columns: 1fr; }
  .cv-prow-list { max-height: 340px; }
}
@media (max-width: 600px) {

  .cv-coach-grid { grid-template-columns: 1fr; }
  .cv-match { grid-template-columns: 80px 1fr; }
  .cv-match .cv-tag { grid-column: 2; justify-self: start; }
  .cv-li-org { display: none; }

}

/* ===== Palco da partida (auto-play estilo Brasfoot) ===== */
.cv-match-stage { display: flex; flex-direction: column; gap: 0.7rem; }
.cv-stage-top { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; flex-wrap: wrap; }
.cv-stage-round { font-family: var(--f-label); font-weight: 700; text-transform: uppercase; font-size: 1.06rem; letter-spacing: 0.04em; color: var(--ink); }
.cv-stage-round small { font-family: var(--f-body); font-weight: 400; color: var(--muted); letter-spacing: 0; }

/* toggle Rápida/Normal */
.cv-viewmode { display: inline-flex; border: 2.5px solid var(--ink); border-radius: 8px; overflow: hidden; box-shadow: 0 3px 0 var(--ink); margin-bottom: 0.6rem; }
.cv-vm { display: flex; flex-direction: column; align-items: flex-start; padding: 0.32rem 0.7rem; background: var(--chalk); color: var(--ink); border: none; border-right: 2px solid var(--ink); cursor: pointer; font-family: var(--f-body); text-align: left; }
.cv-vm:last-child { border-right: none; }
.cv-vm b { font-size: 0.82rem; }
.cv-vm small { font-size: 0.62rem; color: var(--muted); }
.cv-vm.sel { background: var(--primary); color: var(--chalk); }
.cv-vm.sel small { color: rgba(255, 255, 255, 0.82); }

/* placar */
.cv-scoreboard { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.6rem; background: var(--ink); color: var(--chalk); border-radius: 10px; padding: 0.5rem 0.85rem; }
.cv-sb-team { display: flex; align-items: center; gap: 0.4rem; font-size: 0.95rem; min-width: 0; }
.cv-sb-style { opacity: 0.72; font-size: 0.72rem; font-weight: 400; white-space: nowrap; }
.cv-sb-team b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-sb-team.team-b { justify-content: flex-end; text-align: right; }
.cv-sb-score { display: flex; align-items: center; gap: 0.55rem; font-family: var(--f-label); font-weight: 700; text-transform: uppercase; }
.cv-sb-score > b { font-size: 1.5rem; min-width: 1.4rem; text-align: center; }
.cv-clock { font-family: var(--f-mono); font-size: 0.78rem; background: var(--primary); color: var(--chalk); border-radius: 5px; padding: 0.1rem 0.4rem; min-width: 2.7rem; text-align: center; }

/* campo */
.cv-pitch2 { position: relative; width: 100%; aspect-ratio: 16 / 10; border: 3px solid var(--ink); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 0 var(--ink);
  background: #2b7d44; }
/* campo de verdade (com as linhas), menor que a área verde — sobra a "faixa" em volta p/ escanteio/lateral */
.cv-pitch-inner { position: absolute; inset: 7% 5%; border: 2px solid rgba(255, 255, 255, 0.6); border-radius: 4px;
  background: repeating-linear-gradient(90deg, #3aa45a 0 9.1%, #34925050 9.1% 18.2%); }
.cv-pitch-mid { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, 0.6); transform: translateX(-50%); }
.cv-pitch-circle { position: absolute; left: 50%; top: 50%; width: 21%; aspect-ratio: 1; border: 2px solid rgba(255, 255, 255, 0.6); border-radius: 50%; transform: translate(-50%, -50%); }
.cv-goal-box { position: absolute; top: 28%; height: 44%; width: 9%; border: 2px solid rgba(255, 255, 255, 0.55); }
.cv-goal-box.left { left: 0; border-left: none; }
.cv-goal-box.right { right: 0; border-right: none; }
.cv-dot { position: absolute; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--ink); transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 0.52rem; font-weight: 700; color: #fff; box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4); will-change: left, top; }
.cv-dot.a { background: #2563eb; }
.cv-dot.b { background: #e0392b; }
.cv-dot.cap { box-shadow: 0 0 0 2px var(--gold), 1px 1px 0 rgba(0, 0, 0, 0.4); }
.cv-dot.gk { background: var(--highlight); color: var(--ink); }   /* goleiro: kit destacado, fica no gol */
.cv-dot.gk.cap { box-shadow: 0 0 0 2px var(--gold), 1px 1px 0 rgba(0, 0, 0, 0.4); }
.cv-ball { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #fff, #d9e2ec); border: 2.5px solid var(--ink); transform: translate(-50%, -50%); z-index: 6; box-shadow: 0 0 0 2.5px rgba(255, 255, 255, 0.4), 0 0 9px 2px rgba(255, 255, 255, 0.55), 0 2px 4px rgba(0, 0, 0, 0.5); will-change: left, top; }
.cv-trail-layer { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.cv-trail { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); transform: translate(-50%, -50%); animation: cvTrail 0.38s linear forwards; }
@keyframes cvTrail { from { opacity: 0.5; } to { opacity: 0; transform: translate(-50%, -50%) scale(0.3); } }

/* pop de eventos */
.cv-event-pop { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) scale(0.6); opacity: 0; pointer-events: none; z-index: 9;
  background: var(--chalk); color: var(--ink); border: 3px solid var(--ink); border-radius: 12px; padding: 0.5rem 1rem; text-align: center; font-family: var(--f-label); font-weight: 700; text-transform: uppercase; font-size: 1.38rem; box-shadow: 0 5px 0 var(--ink); transition: transform 0.18s ease, opacity 0.18s ease; }
.cv-event-pop small { display: block; font-family: var(--f-body); font-size: 0.74rem; font-weight: 600; color: var(--ink-soft); margin-top: 0.15rem; }
.cv-event-pop.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cv-event-pop.goal { background: var(--highlight); }
.cv-event-pop.red { background: #e0392b; color: #fff; }
.cv-event-pop.red small { color: rgba(255, 255, 255, 0.85); }
.cv-event-pop.pen { background: var(--gold); }
.cv-event-pop.offside { background: #f4a72b; }

/* narração + skip */
.cv-commentary { background: var(--bg-paper); border: 2px solid var(--ink); border-radius: 8px; padding: 0.5rem 0.8rem; font-size: 0.9rem; min-height: 1.4rem; }
.cv-skip-btns { display: flex; gap: 0.5rem; justify-content: flex-end; }

/* placar de estatísticas ao vivo (jogo em destaque da liga) */

/* súmulas dos dois times no jogo (overall + gols/cartões por jogador) */
.cv-sheets { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 0.2rem; }
.cv-sheet { border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; background: var(--bg-paper); }
.cv-sheet-h { font-family: var(--f-label); font-weight: 700; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.03em; text-transform: uppercase; padding: 0.3rem 0.45rem; color: var(--chalk); display: flex; justify-content: space-between; align-items: baseline; gap: 0.3rem; }
.cv-sheet.a .cv-sheet-h { background: #2563eb; }
.cv-sheet.b .cv-sheet-h { background: #e0392b; }
.cv-sheet-ovrall { font-family: var(--f-mono); font-size: 0.6rem; opacity: 0.92; white-space: nowrap; }
.cv-sheet-row { display: flex; align-items: center; gap: 0.35rem; padding: 0.12rem 0.45rem; font-size: 0.76rem; border-top: 1px solid rgba(0,0,0,0.07); }
.cv-sheet-pos { font-family: var(--f-mono); font-size: 0.58rem; color: var(--muted); width: 1.9rem; flex: none; }
.cv-sheet-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-weight: 600; }
.cv-sheet-ev { flex: none; letter-spacing: -1px; font-size: 0.72rem; }
.cv-sheet-ovr { flex: none; font-family: var(--f-mono); font-weight: 700; background: var(--primary); color: var(--chalk); border-radius: 4px; padding: 0 0.3rem; min-width: 1.5rem; text-align: center; }
.cv-sheet-ovr.q { background: var(--muted); }

/* força do time ao vivo no draft (box score) */
.cv-bs-strength { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; justify-content: center; margin-top: 0.45rem; padding-top: 0.45rem; border-top: 2px dashed var(--ink); font-family: var(--f-body); font-size: 0.78rem; color: var(--muted); }
.cv-bs-strength span { white-space: nowrap; }
.cv-bs-strength b { font-family: var(--f-mono); color: var(--ink); }
.cv-bs-strength .cv-bs-geral b { color: var(--stamp); font-size: 0.95rem; }

@media (max-width: 600px) {
  .cv-dot { width: 19px; height: 19px; font-size: 0.44rem; border-width: 1.5px; }
  .cv-ball { width: 14px; height: 14px; }
  .cv-sb-team { font-size: 0.8rem; }
  .cv-sb-score > b { font-size: 1.2rem; }
  .cv-event-pop { font-size: 0.92rem; padding: 0.4rem 0.8rem; }
}

/* botão de ação alinhado à direita (setup) / centralizado (sede) */
.cv-setup-actions { display: flex; justify-content: flex-end; margin-top: 0.8rem; }

/* tela dedicada do sorteio da sede */
.cv-sede { text-align: center; animation: cvSedeIn 0.4s ease-out; }
@keyframes cvSedeIn { 0% { opacity: 0; transform: translateY(10px) scale(0.96); } 100% { opacity: 1; transform: none; } }
.cv-sede-label { font-family: var(--f-label); font-weight: 700; text-transform: uppercase; font-size: 0.88rem; letter-spacing: 0.14em; color: var(--ink-soft); }
.cv-sede-flag { margin: 0.8rem 0 0.4rem; }
.cv-sede-flag .cv-flag { width: 96px; height: 72px; border-width: 2.5px; box-shadow: 0 4px 0 var(--ink); border-radius: 4px; }
.cv-sede-name { font-family: var(--f-display); font-weight: 800; font-size: 2.4rem; line-height: 1; letter-spacing: 0.02em; }
.cv-sede-confed { font-family: var(--f-mono); font-size: 0.78rem; color: var(--muted); margin-top: 0.2rem; }
.cv-sede-note { max-width: 440px; margin: 0.9rem auto 0; color: var(--ink-soft); font-size: 0.92rem; }
.cv-sede .cv-setup-actions { justify-content: center; margin-top: 1.1rem; }

/* feedback visual dos lances no campo (estilo Brasfoot) */
.cv-fx-layer { position: absolute; inset: 0; pointer-events: none; z-index: 7; }
.cv-fx { position: absolute; transform: translate(-50%, -50%); font-size: 1.5rem; line-height: 1; pointer-events: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.55)); animation: cvFx 1.5s ease-out forwards; }
.cv-fx.goal { font-size: 2.1rem; }
@keyframes cvFx { 0% { opacity: 0; transform: translate(-50%, -50%) scale(0.3); } 18% { opacity: 1; transform: translate(-50%, -50%) scale(1.25); } 65% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -120%) scale(0.9); } }

/* tela de estatísticas pós-jogo */
.cv-stats { display: flex; flex-direction: column; gap: 0.7rem; }
.cv-stats-score { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; background: var(--ink); color: var(--chalk); border-radius: 10px; padding: 0.55rem 0.95rem; }
.cv-stats-score span { flex: 1; font-size: 0.92rem; min-width: 0; }
.cv-stats-score span:last-child { text-align: right; }
.cv-stats-score b { font-family: var(--f-label); font-weight: 700; text-transform: uppercase; font-size: 1.88rem; white-space: nowrap; }
.cv-stats-verdict { text-align: center; font-family: var(--f-label); font-weight: 700; text-transform: uppercase; font-size: 1.19rem; }
.cv-stats-grid { display: flex; flex-direction: column; gap: 0.3rem; background: var(--bg-card); border: 2px solid var(--ink); border-radius: 10px; padding: 0.6rem 0.8rem; }
.cv-stat { display: grid; grid-template-columns: 2.6rem 1fr 2.6rem; align-items: center; gap: 0.5rem; font-size: 0.92rem; }
.cv-stat .cv-stat-v { font-family: var(--f-mono); font-weight: 700; text-align: center; }
.cv-stat .cv-stat-l { text-align: center; color: var(--ink-soft); font-size: 0.82rem; }
.cv-stat.bar { grid-template-columns: 2.6rem 1fr auto 1fr 2.6rem; }
.cv-stat-bar { height: 9px; background: var(--bg-paper); border: 1.5px solid var(--ink); border-radius: 5px; overflow: hidden; display: flex; justify-content: flex-end; min-width: 40px; }
.cv-stat-bar.r { justify-content: flex-start; }
.cv-stat-bar i { display: block; height: 100%; background: #2563eb; }
.cv-stat-bar.r i { background: #e0392b; }
.cv-stats-scorers { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.cv-stats-scorers > div { background: var(--bg-card); border: 2px solid var(--ink); border-radius: 8px; padding: 0.5rem 0.7rem; font-size: 0.85rem; }
.cv-stats-scorers > div:last-child { text-align: right; }

/* toggle do Draft por bolão (painel Admin) */

/* ===== Antes do jogo: revelação do adversário + postura tática ===== */
.cv-reveal { max-width: 980px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.7rem; animation: cvSedeIn 0.35s ease-out; }
.cv-reveal .cv-stage-round { text-align: center; }
/* campo do adversário LADO A LADO com o seletor de postura (uma tela só, igual ao draft) */
.cv-reveal2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: 1rem; align-items: start; }
.cv-reveal2 .cv-card { margin-bottom: 0; height: 100%; }
.cv-opp-card { padding: 0.9rem 1rem; }
.cv-opp-head { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.cv-opp-team { display: flex; align-items: center; gap: 0.5rem; font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; letter-spacing: 0.02em; }
.cv-opp-meta { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.cv-opp-meta > span { font-family: var(--f-label); font-weight: 700; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.03em; padding: 0.3rem 0.5rem; border: 2px solid var(--ink); border-radius: 7px; background: var(--bg-paper); color: var(--ink-soft); white-space: nowrap; }
.cv-opp-meta .cv-opp-ovr { background: var(--primary); color: var(--chalk); }
.cv-opp-meta .cv-opp-ovr b { font-family: var(--f-mono); }
.cv-opp-note { text-align: center; color: var(--ink-soft); font-size: 0.82rem; margin: 0.65rem 0 0; }

/* prancheta vertical do adversário (FWD em cima, GK embaixo — como no draft) */
.cv-vfield { position: relative; width: 100%; max-width: 360px; margin: 0 auto; aspect-ratio: 3 / 4; border: 3px solid var(--ink); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 0 var(--ink); background: linear-gradient(var(--pitch-light), var(--pitch-dark)); }
.cv-vfield-mid { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255,255,255,0.55); }
.cv-vfield-circle { position: absolute; left: 50%; top: 50%; width: 32%; aspect-ratio: 1; border: 2px solid rgba(255,255,255,0.55); border-radius: 50%; transform: translate(-50%,-50%); }
.cv-vbox { position: absolute; left: 28%; width: 44%; height: 12%; border: 2px solid rgba(255,255,255,0.5); }
.cv-vbox.top { top: 0; border-top: none; }
.cv-vbox.bottom { bottom: 0; border-bottom: none; }
.cv-rv-dot { position: absolute; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; width: 58px; }
.cv-rv-ovr { font-family: var(--f-mono); font-size: 0.62rem; font-weight: 700; color: #fff; background: #e0392b; border: 2px solid var(--ink); border-radius: 50%; width: 27px; height: 27px; display: flex; align-items: center; justify-content: center; box-shadow: 1px 1px 0 rgba(0,0,0,0.4); }
.cv-rv-dot.gk .cv-rv-ovr { background: var(--gold); color: var(--ink); }
.cv-rv-nm { font-family: var(--f-body); font-size: 0.6rem; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.7); max-width: 58px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1; }

/* seletor de postura tática */
.cv-style-card { padding: 0.9rem 1rem; display: flex; flex-direction: column; }
.cv-syn-on { font-family: var(--f-body); font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--primary); }
.cv-syn-on[hidden] { display: none; }
.cv-style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; margin-bottom: 0.75rem; }
.cv-syn-explain { font-size: 0.78rem; line-height: 1.45; color: var(--ink-soft); background: var(--bg-paper); border-left: 3px solid var(--gold); border-radius: 6px; padding: 0.5rem 0.7rem; margin: 0 0 0.85rem; }
.cv-stylebtn { display: flex; flex-direction: column; align-items: center; gap: 0.08rem; padding: 0.55rem 0.4rem; border: 2.5px solid var(--ink); border-radius: 10px; background: var(--chalk); color: var(--ink); cursor: pointer; }
.cv-stylebtn b { font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em; }
.cv-stylebtn .cv-syn { font-size: 0.58rem; color: var(--primary); font-weight: 700; }
.cv-stylebtn.syn { border-style: dashed; }
.cv-stylebtn:hover:not(.sel) { background: var(--highlight); }
.cv-stylebtn.sel { background: var(--primary); color: var(--chalk); box-shadow: 0 3px 0 var(--ink); }
.cv-stylebtn.sel .cv-syn { color: var(--highlight); }
.cv-reveal-actions { display: flex; justify-content: center; margin-top: auto; }
.cv-reveal-actions .btn { font-size: 1.1rem; padding: 0.6rem 1.7rem; }
@media (max-width: 760px) {
  .cv-reveal2 { grid-template-columns: 1fr; }
  .cv-reveal2 .cv-card { height: auto; }
}

/* ===== Pódio das 3 maiores pontuações do bolão ===== */
.cv-podium { display: flex; align-items: flex-end; justify-content: center; gap: 0.6rem; margin-bottom: 1.1rem; }
.cv-pod { flex: 1 1 0; max-width: 210px; display: flex; flex-direction: column; align-items: center; gap: 0.18rem; text-align: center; border: 2.5px solid var(--ink); border-radius: 10px; box-shadow: 0 4px 0 var(--ink); padding: 0.7rem 0.5rem; background: var(--chalk); }
.cv-pod-medal { font-size: 1.7rem; line-height: 1; }
.cv-pod-name { font-weight: 700; font-size: 0.85rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-pod-name small { color: var(--stamp); font-weight: 700; }
.cv-pod-score { font-family: var(--f-label); font-weight: 700; text-transform: uppercase; color: var(--primary); line-height: 1.1; }
.cv-pod-score b { font-size: 1.5rem; }
.cv-pod-score span { font-size: 0.6rem; color: var(--muted); margin-left: 0.15rem; }
.cv-pod-reached { font-size: 0.66rem; color: var(--ink-soft); }

.cv-pod-1 { background: var(--highlight); padding-top: 1.2rem; transform: translateY(-8px); }
.cv-pod-1 .cv-pod-medal { font-size: 2.1rem; }
.cv-pod-2 { padding-top: 0.9rem; }
.cv-pod.mine { box-shadow: 4px 4px 0 var(--gold), 0 0 0 2px var(--gold) inset; }
.cv-result-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

@media (max-width: 600px) {
  .cv-style-grid { grid-template-columns: repeat(2, 1fr); }
  .cv-pod-name { font-size: 0.72rem; }
  .cv-pod-score b { font-size: 1.2rem; }
  .cv-pod-medal { font-size: 1.4rem; }
  .cv-rv-dot { width: 46px; }
  .cv-rv-ovr { width: 23px; height: 23px; font-size: 0.56rem; }
}

/* ===== Liga do Dia — transmissão ao vivo ===== */


/* ===== Liga: controles do dono ===== */

/* ===== Liga do Dia — resultado (campeão + classificação + temporada) ===== */
/* hero e temporada acompanham a largura da classificação (cards diretos do #cvContent já limitam a 880) */

#cvSeason > .cv-card { max-width: 880px; margin-left: auto; margin-right: auto; }
/* hero do campeão */



/* card + cabeçalho da classificação/temporada */

/* tabela */

.cv-mgr-av { flex: 0 0 auto; }

/* destaque de linhas (campeão vence o "você" quando é a mesma pessoa) */

/* drawer da escalação revelada */

/* rodapé discreto do dono (reiniciar) */

/* liga vazia */

/* ===== Liga do Dia — lobby (criando os times) ===== */
/* badge "ao vivo" discreto no cabeçalho */

/* card "entre na disputa" (ainda não montou o time) */

/* card "time travado" (já montou) */

/* lobby: cabeçalho + barra de progresso + grade de técnicos */

/* barra do dono: config em chips + dica de início */

