/*
 * C1 · apostar: a aposta feita, o boletim do FIFA, encerrar, as encerradas e a Exchange (quadros Z-Aposta-Feita,
 * Z-FIFA-Boletim, Z-Encerrar, Z-Historico e Z-Exchange, aprovados pelo dono em 29/11/2026). Vale só com `html.c1`.
 */

/* ------------------------------------------------------------------ aposta feita (bilhete dos esportes) */
html.c1 .sp-slip-card:has(.sp-feita) .sp-slip-head { display: none; }
html.c1 .sp-feita { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0; padding: 6px 0 2px; }
html.c1 .sp-feita-fechar { position: absolute; top: 0; right: 0; width: 34px; height: 34px; border: 0; border-radius: var(--t-raio-circulo); background: var(--c1-relevo); color: var(--c1-texto); font-size: var(--t-tam-13); line-height: 1; cursor: pointer; }
html.c1 .sp-feita-ok { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--t-raio-circulo); background: var(--c1-verde); color: var(--c1-marfim); }
html.c1 .sp-feita-titulo { margin: 8px 0 12px; color: var(--c1-texto); font-size: 19px; font-weight: 800; }
html.c1 .sp-feita-lista { align-self: stretch; border-top: 1px solid var(--c1-linha); }
html.c1 .sp-feita-tipo { display: flex; align-items: baseline; justify-content: space-between; padding: 9px 0 2px; font-size: var(--t-tam-6); color: var(--c1-texto-2); }
html.c1 .sp-feita-tipo b { color: var(--c1-texto); font-weight: 800; }
html.c1 .sp-feita-tipo em { color: var(--c1-verde); font-style: normal; font-weight: 800; }
html.c1 .sp-feita-sel { display: flex; flex-direction: column; gap: 3px; padding: 9px 0; border-bottom: 1px solid var(--c1-linha); }
html.c1 .sp-feita-jogo { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--c1-texto-2); font-size: var(--t-tam-5); font-weight: 600; }
html.c1 .sp-feita-jogo span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.c1 .sp-feita-jogo img, html.c1 .sp-feita-jogo .sp-marca { width: 16px; height: 16px; flex: none; }
html.c1 .sp-feita-vivo { flex: none; width: 6px; height: 6px; border-radius: var(--t-raio-circulo); background: var(--c1-vivo); }
html.c1 .sp-feita-esc { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
html.c1 .sp-feita-esc b { color: var(--c1-texto); font-size: var(--t-tam-9); font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
html.c1 .sp-feita-esc span { flex: 1; min-width: 0; color: var(--c1-texto-3); font-size: var(--t-tam-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.c1 .sp-feita-esc em { color: var(--c1-verde); font-size: var(--t-tam-9); font-style: normal; font-weight: 800; }
html.c1 .sp-feita-kv { align-self: stretch; }
html.c1 .sp-feita-kv > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; border-bottom: 1px solid var(--c1-linha); font-size: var(--t-tam-7); }
html.c1 .sp-feita-kv span { color: var(--c1-texto-2); font-weight: 600; }
html.c1 .sp-feita-kv b { color: var(--c1-texto); font-weight: 800; }
html.c1 .sp-feita-kv b.mais { color: var(--c1-verde); }
html.c1 .sp-feita-nota { align-self: stretch; margin: 8px 0 0; color: var(--c1-texto-2); font-size: var(--t-tam-4); }
html.c1 .sp-feita-acoes { align-self: stretch; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 12px 0 10px; }
html.c1 .sp-feita-b { display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 36px; padding: 0 6px; border: 1.5px solid var(--c1-linha-2); border-radius: var(--t-raio-9); background: var(--c1-cartao); color: var(--c1-texto) !important; font: 700 12.5px/1 var(--c1-letra); white-space: nowrap; text-decoration: none; cursor: pointer; }
html.c1 .sp-feita-b:hover { border-color: var(--c1-verde); }
html.c1 .sp-feita-pub { align-self: stretch; }
html.c1 .sp-feita-pub:not(:empty) { margin: 0 0 10px; }
html.c1 .sp-feita-nova { align-self: stretch; }
/* o número do boletim: só o código e o copiar (a linha já diz "Boletim") */
html.c1 .sp-feita-kv .bol-selo { display: inline-flex; align-items: center; gap: 5px; height: auto; padding: 0; border: 0; background: none; color: var(--c1-texto); }
html.c1 .sp-feita-kv .bol-selo-rotulo { display: none; }
html.c1 .sp-feita-kv .bol-selo b { color: var(--c1-texto); font-size: var(--t-tam-7); font-weight: 800; letter-spacing: .02em; }
html.c1 .sp-feita-kv .bol-selo-icone { color: var(--c1-texto-2); }

/* ------------------------------------------------------------------ boletim do FIFA e do eBasket (quadro Z-FIFA-Boletim) */
html.c1 .bet-slip-content { padding: 10px 14px 14px; }
html.c1 .bet-slip-content::before { content: ""; display: block; width: 36px; height: 4px; margin: 0 auto 8px; border-radius: var(--t-raio-1); background: var(--c1-linha-2); }
html.c1 .bet-slip-header { padding: 0 0 8px; border-bottom: 0; }
html.c1 .bet-slip-title { gap: 8px; color: var(--c1-texto); font-size: var(--t-tam-11); font-weight: 800; }
html.c1 .bet-slip-title > svg { display: none; }
html.c1 .bet-slip-title .nv-bf-selo { height: 22px; padding: 0 8px; border: 0; border-radius: 11px; background: var(--c1-relevo); color: var(--c1-texto); font-size: var(--t-tam-4); font-weight: 700; line-height: 22px; text-transform: none; }
html.c1 .bet-slip-header .modal-close { position: static; width: 34px; height: 34px; border: 0; border-radius: var(--t-raio-circulo); background: var(--c1-relevo); color: var(--c1-texto); }
html.c1 #betSelectionContainer { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 6px; align-items: center; }
html.c1 #betSelectionContainer > * { grid-column: 1 / -1; min-width: 0; }
html.c1 #betSelectionContainer > .bet-match-info { order: -2; padding-top: 8px; border-top: 1px solid var(--c1-linha); color: var(--c1-texto-2); font-size: var(--t-tam-5); font-weight: 600; }
html.c1 #betSelectionContainer > .bet-selection-header { order: -1; display: flex; align-items: baseline; gap: 8px; }
html.c1 .bet-selection-title { color: var(--c1-texto); font-size: var(--t-tam-9); font-weight: 800; }
html.c1 .bet-selection-odd { margin-left: auto; color: var(--c1-verde); font-size: var(--t-tam-10); font-weight: 800; }
html.c1 #betSelectionContainer > .bet-market-info { order: -1; margin-top: -4px; padding-bottom: 8px; border-bottom: 1px solid var(--c1-linha); color: var(--c1-texto-3); font-size: var(--t-tam-4); }
html.c1 #betSelectionContainer > .bet-stake-input { grid-column: 1; height: 44px; padding: 0 10px; border: 1.5px solid var(--c1-verde); border-radius: var(--t-raio-6); background: var(--t-fundo-campo); color: var(--c1-texto); font-size: var(--t-tam-11); font-weight: 800; text-align: left; }
html.c1 #betSelectionContainer > .bet-quick-stakes { grid-column: 2; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; margin: 0; }
html.c1 .bet-quick-chip, html.c1 .bet-quick-action { height: 44px; padding: 0; border: 0; border-radius: var(--t-raio-5); background: var(--t-fundo-relevo-2); color: var(--c1-texto); font-size: var(--t-tam-6); font-weight: 800; }
html.c1 .bet-quick-chip.ativo, html.c1 .bet-quick-chip.active, html.c1 .bet-quick-chip[aria-pressed="true"] { background: var(--c1-verde); color: var(--c1-marfim); }
html.c1 .bet-quick-hint { color: var(--c1-texto-3); font-size: var(--t-tam-3); }
html.c1 .bet-quick-hint:empty, html.c1 #betOddsAlert:empty { display: none; }
html.c1 #betSelectionContainer > .bet-potential-win { display: none; }
html.c1 .bet-slip-footer { padding: 10px 0 0; border-top: 0; background: none; }
html.c1 .bet-footer-return { color: var(--c1-texto-2); font-weight: 600; }
html.c1 .bet-footer-return strong { color: var(--c1-verde); font-size: var(--t-tam-12); font-weight: 800; }
html.c1 .bet-place-button { min-height: 52px; font-size: var(--t-tam-10); }   /* a aparência: .t-botao (componentes.css) */
html.c1 .bet-slip-body .error-message { border: 0; border-radius: var(--t-raio-5); background: var(--t-fundo-errado-suave); color: var(--t-texto-erro-forte); }

/* Saldo que não cobre o valor (01/12/2026): a linha do saldo vira aviso antes do toque; o botão vira "Depositar R$ x para apostar". */
html.c1 .sp-slip-falta { color: var(--t-texto-erro-pagina); font-weight: 600; }

/* Freebet no boletim (pente fino 01/12/2026): as cores vêm de um <style> que o freebet.js injeta (o escuro de antes, fora
   da camada de cores): a ficha ficava uma pílula preta no meio do boletim claro e a nota "Se ganhar, entra o lucro." a
   1,8:1. No C1: ficha marfim com borda; escolhida, borda de ouro e fundo de ouro claro. */
html.c1 .fb-chip { border: 1.5px solid var(--c1-linha-2); background: var(--c1-cartao); color: var(--c1-texto); }
html.c1 .fb-chip small { color: var(--c1-texto-2); }
html.c1 .fb-chip.on { border: 2px solid var(--c1-ouro); background: var(--t-fundo-valor-suave); color: var(--c1-texto); }
html.c1 .fb-nota { color: var(--c1-texto-2); }

/* Aposta feita: "As minhas apostas" não cabia na terceira coluna a 390 px; o texto quebra em duas linhas. */
html.c1 .sp-feita-b { height: auto; min-height: 38px; padding: 4px 8px; border-radius: var(--t-raio-7); white-space: normal; text-align: center; line-height: 1.15; }

/* ---------- Boletim do FIFA no desenho do quadro Z-FIFA-Boletim (fase 2, 01/12/2026) ----------
   A ordem do quadro: o jogo com o relógio, o palpite, "Pagar com", os interruptores (crédito e freebet) e só depois
   "Valor da aposta" com o campo e os atalhos. Só a disposição muda: os elementos e o envio são os de sempre. */
html.c1 .bet-ao-vivo { margin-left: 8px; color: var(--c1-texto-2); font-weight: 700; white-space: nowrap; }
html.c1 .bet-ao-vivo:empty { display: none; }
html.c1 .bet-ao-vivo.vivo::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 5px 1px 0; border-radius: var(--t-raio-circulo); background: var(--c1-vivo); vertical-align: middle; }
html.c1 #betSelectionContainer > .bet-credit-box { order: 1; padding: 8px 0; border: 0; border-bottom: 1px solid var(--c1-linha); border-radius: 0; background: none; }
html.c1 #betSelectionContainer > .bet-credit-box.on { border-color: var(--c1-linha); background: none; }
html.c1 .bet-credit-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; }
html.c1 .bet-credit-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
html.c1 .bet-credit-check { appearance: none; -webkit-appearance: none; position: relative; flex: none; width: 40px; height: 24px; margin: 0; border: 0; border-radius: var(--t-raio-pilula); background: #d9cfba; cursor: pointer; transition: background .15s; }
html.c1 .bet-credit-check::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: var(--t-raio-circulo); background: var(--t-brilho); box-shadow: 0 1px 2px color-mix(in srgb, var(--t-texto) 30%, transparent); transition: transform .15s; }
html.c1 .bet-credit-check:checked { background: var(--c1-verde); }
html.c1 .bet-credit-check:checked::after { transform: translateX(16px); }
html.c1 .bet-credit-check:focus-visible { outline: 2px solid var(--c1-verde); outline-offset: 2px; }
html.c1 .bet-credit-label { color: var(--c1-texto); font-size: var(--t-tam-8); font-weight: 600; }
html.c1 .bet-credit-value { color: var(--c1-texto); font-size: var(--t-tam-8); font-weight: 800; }
html.c1 .bet-credit-note { margin: 4px 0 0 50px; color: var(--c1-texto-3); font-size: var(--t-tam-3); line-height: 1.35; }
html.c1 .bet-credit-note:empty { display: none; }
html.c1 .bet-credit-note.warn { color: var(--c1-valor); }
html.c1 .bet-valor-rotulo { order: 2; margin-top: 6px; color: var(--c1-texto-2); font-size: var(--t-tam-6); font-weight: 600; }
html.c1 #betSelectionContainer > .bet-stake-input, html.c1 #betSelectionContainer > .bet-quick-stakes,
html.c1 #betSelectionContainer > .bet-quick-hint, html.c1 #betSelectionContainer > .lim-aviso,
html.c1 #betSelectionContainer > .lt-bilhete, html.c1 #betSelectionContainer > .bet-potential-win,
html.c1 #betSelectionContainer > #betOddsAlert { order: 2; }
@media (prefers-reduced-motion: reduce) { html.c1 .bet-credit-check, html.c1 .bet-credit-check::after { transition: none; } }

/* ---------- As minhas apostas no desenho dos quadros Z-Ap-Apostas e Z-Historico (fase 2, 01/12/2026) ----------
   A placa verde com o produto, a liga, a duração e o tempo (ou o resultado); o placar por time com "Ver partida"; o palpite
   com a odd; "5 golos · faltam 3" com a barra; "Aposta → retorno" com o Encerrar; o código, o Partilhar e a ajuda. */
html.c1 .ct-resumo { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
html.c1 .ct-resumo::-webkit-scrollbar { display: none; }
html.c1 .ct-resumo > div { flex: 1 0 31%; scroll-snap-align: start; padding: 10px 12px; border-left: 1px solid var(--c1-linha); }
html.c1 .ct-resumo > div:first-child { border-left: 0; }
html.c1 .ct-resumo small { color: var(--c1-texto-2); font-size: var(--t-tam-4); font-weight: 600; letter-spacing: 0; text-transform: none; white-space: nowrap; overflow: visible; }
html.c1 .ct-resumo b { color: var(--c1-texto); font-size: var(--t-tam-12); }
@media (min-width: 761px) { html.c1 .ct-resumo > div { flex-basis: 0; } }

html.c1 .ct-partida.c1-ap, html.c1 .ct-encerrada.c1-ap { padding: 0; border: 1px solid var(--c1-linha); border-radius: var(--t-raio-7); background: var(--c1-cartao); box-shadow: none; overflow: hidden; }
html.c1 .c1-ap-placa { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 7px 12px; background: var(--c1-placa); color: var(--c1-sobre-verde); font-size: var(--t-tam-6); font-weight: 600; }
html.c1 .c1-ap-placa .ct-produto { flex: none; padding: 2px 7px; border-radius: 5px; background: var(--c1-ouro); color: var(--c1-ouro-texto); font-size: var(--t-tam-2); font-weight: 800; letter-spacing: .04em; }
html.c1 .c1-ap-liga { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.c1 .c1-ap-liga .ct-criar-icone { margin: -4px 4px -4px 0; }
html.c1 .c1-ap-dur { flex: none; padding: 2px 8px; border-radius: var(--t-raio-3); background: #f3a77b; color: #3a1a06; font-size: var(--t-tam-4); font-weight: 800; }
html.c1 .c1-ap-direita { flex: none; display: inline-flex; align-items: center; margin-left: auto; }
html.c1 .c1-ap-placa .ct-tempo { color: var(--c1-sobre-verde); font-size: var(--t-tam-6); font-weight: 800; }
html.c1 .c1-ap-placa .ct-tempo.breve { color: var(--c1-ouro); }
html.c1 .c1-ap-placa .rv-t { display: inline-flex; align-items: center; gap: 5px; color: var(--c1-sobre-verde); }
html.c1 .c1-ap-placa .rv-t small { color: var(--c1-sobre-verde-2); font-size: var(--t-tam-2); font-weight: 700; }
html.c1 .c1-ap-placa .rv-ponto { background: var(--c1-vivo-sobre-verde); }
html.c1 .c1-ap-odd { color: var(--c1-sobre-verde); font-size: var(--t-tam-8); font-weight: 800; }
html.c1 .c1-ap-selo { display: inline-flex; align-items: center; height: 22px; padding: 0 10px; border-radius: var(--t-raio-pilula); font-size: var(--t-tam-3); font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
html.c1 .c1-ap-selo.ganhou { background: var(--c1-verde); color: var(--c1-marfim); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--t-sobre-placa) 35%, transparent); }
html.c1 .c1-ap-selo.perdeu { background: #3d4a43; color: var(--c1-marfim); }
html.c1 .c1-ap-selo.encerrada { background: var(--c1-ouro); color: var(--c1-ouro-texto); }
html.c1 .c1-ap-selo.meia-perda, html.c1 .c1-ap-selo.devolvida { background: var(--c1-marfim); color: var(--c1-texto); }

html.c1 .c1-ap-jogo { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--c1-linha); }
html.c1 .c1-ap-times { display: grid; gap: 4px; min-width: 0; flex: 1; color: var(--c1-texto); text-decoration: none; }
html.c1 .c1-ap-time { display: flex; align-items: baseline; gap: 6px; min-width: 0; --marca: 20px; }
html.c1 .c1-ap-time > img, html.c1 .c1-ap-time > .marca { align-self: center; }
html.c1 .c1-ap-gols { flex: none; min-width: 14px; color: var(--c1-texto); font-size: var(--t-tam-9); font-weight: 800; font-variant-numeric: tabular-nums; }
html.c1 .c1-ap-nome { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--t-tam-9); font-weight: 700; }
html.c1 .c1-ap-time small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--c1-texto-2); font-size: var(--t-tam-5); }
html.c1 .c1-ap-acoes { display: flex; flex: none; gap: 6px; }
html.c1 .c1-ap-acoes .ct-botao { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--c1-linha-2); border-radius: var(--t-raio-pilula); background: var(--c1-cartao); color: var(--c1-texto); font-size: var(--t-tam-7); font-weight: 700; text-decoration: none; }

html.c1 .c1-ap .ct-aposta.c1-ap-aposta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 10px 12px; border-top: 0; }
html.c1 .c1-ap-palpite { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
html.c1 .c1-ap-palpite b { color: var(--c1-texto); font-size: var(--t-tam-10); font-weight: 800; }
html.c1 .c1-ap-palpite small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--c1-texto-2); font-size: var(--t-tam-5); }
html.c1 .c1-ap-palpite .ct-odd { margin-left: auto; color: var(--c1-verde); font-size: var(--t-tam-10); font-weight: 800; }
html.c1 .c1-ap-progresso { display: flex; align-items: center; gap: 10px; color: var(--c1-texto-2); font-size: var(--t-tam-5); font-weight: 600; }
html.c1 .c1-ap-progresso > span:first-child { flex: none; }
html.c1 .c1-ap-barra { display: flex; flex: 1; gap: 4px; max-width: 360px; }
html.c1 .c1-ap-barra i { flex: 1; height: 5px; border-radius: 3px; background: var(--c1-linha-2); }
html.c1 .c1-ap-barra i.ok { background: var(--c1-verde); }
html.c1 .c1-ap-estado .ct-estado { justify-self: start; }
html.c1 .c1-ap-valores { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid var(--c1-linha); }
html.c1 .c1-ap > .c1-ap-valores { margin: 0 12px; padding: 8px 0 10px; }
html.c1 .c1-ap-quanto { display: grid; gap: 1px; min-width: 0; }
html.c1 .c1-ap-quanto small { color: var(--c1-texto-2); font-size: var(--t-tam-4); }
html.c1 .c1-ap-quanto .ct-valor { color: var(--c1-texto); font-size: var(--t-tam-9); font-weight: 600; }
html.c1 .c1-ap-quanto .ct-valor b { color: var(--c1-texto); font-weight: 800; }
html.c1 .c1-ap-quanto .ct-valor.ganhou b { color: var(--c1-sobe); }
html.c1 .c1-ap-valores .enc-botao { flex: none; min-height: 44px; padding: 0 14px 0 10px; border: 0; border-radius: var(--t-raio-5); background: var(--c1-verde); color: var(--c1-marfim); font-size: var(--t-tam-9); font-weight: 800; }
html.c1 .c1-ap-valores .enc-botao b { color: var(--c1-marfim); }
html.c1 .c1-ap-valores .enc-botao:hover { background: var(--c1-placa); }
html.c1 .c1-ap-valores .enc-botao.off, html.c1 .c1-ap-valores .enc-botao.ocupado { border: 1px solid var(--c1-linha-2); background: transparent; color: var(--c1-texto-2); }
html.c1 .c1-ap-valores .ct-repetir { flex: none; }

html.c1 .c1-ap .ct-aposta-pe { padding: 8px 12px 12px; border-top: 1px solid var(--c1-linha); }
html.c1 .c1-ap .ct-aposta-pe .bol-selo { gap: 4px; height: auto; min-height: 36px; padding: 0; border: 0; background: none; }
html.c1 .c1-ap .ct-aposta-pe .bol-selo-icone { width: 14px; height: 14px; }
html.c1 .c1-ap .ct-aposta-botoes svg { width: 15px; height: 15px; }
html.c1 .c1-ap .ct-aposta-pe .bol-selo-rotulo { display: none; }
html.c1 .c1-ap .ct-aposta-pe .bol-selo b { color: var(--c1-texto-2); font-size: var(--t-tam-4); font-weight: 700; letter-spacing: 0; }
html.c1 .c1-ap .ct-aposta-pe { gap: 8px 4px; }
html.c1 .c1-ap .ct-aposta-botoes { width: auto; margin-left: auto; gap: 4px; }
html.c1 .c1-ap .ct-aposta-botoes > a, html.c1 .c1-ap .ct-aposta-botoes > button { gap: 5px; min-height: 36px; padding: 0 9px; letter-spacing: -.01em; border: 1px solid var(--c1-linha-2); border-radius: var(--t-raio-pilula); background: var(--c1-cartao); color: var(--c1-texto); font-size: var(--t-tam-5); font-weight: 700; }

html.c1 .c1-ap-mult { padding: 10px 12px 0; }
html.c1 .c1-ap-mult .ct-barra { max-width: none; margin: 0; }
html.c1 .c1-ap-mult .ct-barra i { background: var(--c1-linha-2); }
html.c1 .c1-ap-mult .ct-barra i.ok { background: var(--c1-verde); }
html.c1 .c1-ap-mult .ct-barra i.vivo { background: var(--c1-vivo); }
html.c1 .c1-ap-mult .ct-barra i.perdeu { background: var(--t-texto-erro-forte); }
html.c1 .c1-ap-legenda { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; padding: 8px 0 10px; color: var(--c1-texto-2); font-size: var(--t-tam-5); font-weight: 600; }
html.c1 .c1-ap-legenda > span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: var(--t-raio-circulo); background: var(--c1-linha-2); }
html.c1 .c1-ap-legenda > span.ok::before { background: var(--c1-verde); }
html.c1 .c1-ap-legenda > span.vivo::before { background: var(--c1-vivo); }
html.c1 .c1-ap-legenda > span.anulada::before { background: var(--c1-texto-4); }
html.c1 .c1-ap-abrir { margin-left: auto; padding: 4px 0; border: 0; background: none; color: var(--c1-texto); font: inherit; font-size: var(--t-tam-6); font-weight: 700; cursor: pointer; }
html.c1 .c1-ap-abrir::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 2px 3px 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
html.c1 .c1-ap-abrir[aria-expanded="true"]::after { margin-bottom: -1px; transform: rotate(-135deg); }
html.c1 .c1-ap .ct-encerrada-nota { margin: 8px 12px; }
html.c1 .c1-ap .ct-encerrada-ver { padding: 8px 12px 0; }

/* A folha do "Encerrar" no desenho do quadro Z-Encerrar: folha de baixo no celular, com a alça, o X, as três linhas do valor,
   a nota da regra em amarelo e o botão verde grande com "Manter a aposta" embaixo. */
html.c1 .enc-folha { position: relative; max-width: 480px; padding: 22px 16px 14px; border: 0; border-radius: var(--t-raio-10) var(--t-raio-10) 0 0; background: var(--c1-cartao); color: var(--c1-texto); font-family: var(--c1-letra); }
html.c1 .enc-folha::before { content: ""; position: absolute; top: 8px; left: 50%; width: 36px; height: 4px; margin-left: -18px; border-radius: var(--t-raio-1); background: var(--c1-linha-2); }
html.c1 .enc-fundo { padding: 0; }
@media (min-width: 761px) { html.c1 .enc-fundo { padding: 16px; } html.c1 .enc-folha { border-radius: var(--t-raio-10); } }
html.c1 .enc-cabeca { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
html.c1 .enc-cabeca h3 { margin: 0; font-size: var(--t-tam-12); font-weight: 800; }
html.c1 .enc-x { flex: none; width: 34px; height: 34px; border: 0; border-radius: var(--t-raio-circulo); background: var(--c1-relevo); color: var(--c1-texto); font-size: var(--t-tam-13); line-height: 1; cursor: pointer; }
html.c1 .enc-x:focus-visible, html.c1 .enc-manter:focus-visible { outline: 2px solid var(--c1-verde); outline-offset: 2px; }
html.c1 .enc-jogo { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 10px; padding-top: 10px; border-top: 1px solid var(--c1-linha); color: var(--c1-texto-2); font-size: var(--t-tam-5); font-weight: 600; }
html.c1 .enc-vivo { display: inline-flex; align-items: center; gap: 5px; color: var(--c1-texto); font-weight: 700; }
html.c1 .enc-vivo::before { content: ""; width: 6px; height: 6px; border-radius: var(--t-raio-circulo); background: var(--c1-vivo); }
html.c1 .enc-palpite { display: flex; align-items: baseline; gap: 8px; padding: 4px 0 10px; border-bottom: 1px solid var(--c1-linha); }
html.c1 .enc-palpite b { font-size: var(--t-tam-10); font-weight: 800; }
html.c1 .enc-palpite small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--c1-texto-2); font-size: var(--t-tam-5); }
html.c1 .enc-palpite span { margin-left: auto; color: var(--c1-verde); font-size: var(--t-tam-10); font-weight: 800; }
html.c1 .enc-linhas { margin: 0; }
html.c1 .enc-linhas > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--c1-linha); }
html.c1 .enc-linhas dt { color: var(--c1-texto-2); font-size: var(--t-tam-8); }
html.c1 .enc-linhas dd { margin: 0; color: var(--c1-texto); font-size: 14.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
html.c1 .enc-linhas > .forte { border-bottom: 0; padding-top: 14px; }
html.c1 .enc-linhas > .forte dt { color: var(--c1-texto); font-size: var(--t-tam-9); font-weight: 800; }
html.c1 .enc-linhas > .forte dd { font-size: 26px; font-weight: 900; }
html.c1 .enc-aviso { position: relative; margin: 4px 0 12px; padding: 10px 12px 10px 38px; border: 1px solid #e9c35a; border-radius: var(--t-raio-5); background: var(--t-fundo-valor-suave); color: var(--c1-texto); font-size: var(--t-tam-5); line-height: 1.45; }
html.c1 .enc-aviso::before { content: "i"; position: absolute; top: 10px; left: 12px; width: 17px; height: 17px; border: 1.5px solid var(--c1-valor); border-radius: var(--t-raio-circulo); color: var(--c1-valor); font: 800 11px/14px var(--c1-letra); text-align: center; }
html.c1 .enc-b.sim.enc-grande { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px; border: 0; border-radius: var(--t-raio-7); background: var(--c1-verde); color: var(--c1-marfim); font-size: var(--t-tam-11); font-weight: 800; }
html.c1 .enc-b.sim.enc-grande:focus-visible { outline: 2px solid var(--c1-placa); outline-offset: 2px; }
html.c1 .enc-manter { display: block; margin: 10px auto 2px; padding: 4px 8px; border: 0; background: none; color: var(--c1-texto); font: 700 14px var(--c1-letra); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* O Histórico (a lista de sempre, #ctHistorico) com a placa dos quadros: a data e o código na faixa verde, o resultado à direita. */
html.c1 #ctHistorico .sp-bet { gap: 8px; padding: 0 0 12px; overflow: hidden; border: 1px solid var(--c1-linha); border-radius: var(--t-raio-7); background: var(--c1-cartao); }
html.c1 #ctHistorico .sp-bet > * { margin-left: 12px; margin-right: 12px; }
html.c1 #ctHistorico .sp-bet > header { flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 7px 12px; background: var(--c1-placa); color: var(--c1-sobre-verde); }
html.c1 #ctHistorico .sp-bet > header .sp-muted { order: 1; color: var(--c1-sobre-verde-2); font-size: var(--t-tam-5); font-weight: 600; }
html.c1 #ctHistorico .sp-bet > header .bol-selo { order: 2; height: auto; padding: 0; border: 0; background: none; color: var(--c1-sobre-verde); }
html.c1 #ctHistorico .sp-bet > header .bol-selo-rotulo { display: none; }
html.c1 #ctHistorico .sp-bet > header .bol-selo b { color: var(--c1-sobre-verde); font-size: var(--t-tam-5); letter-spacing: .02em; }
html.c1 #ctHistorico .sp-bet > header .bol-selo-icone { color: var(--c1-sobre-verde-2); }
html.c1 #ctHistorico .sp-bet > header .sp-badge { order: 3; margin-left: auto; padding: 3px 10px; border-radius: var(--t-raio-pilula); background: color-mix(in srgb, var(--t-sobre-placa) 16%, transparent); color: var(--c1-marfim); font-size: var(--t-tam-2); }
html.c1 #ctHistorico .sp-bet > header .sp-badge.won, html.c1 #ctHistorico .sp-bet > header .sp-badge.half_won { background: var(--c1-verde); color: var(--c1-marfim); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--t-sobre-destaque) 35%, transparent); }
html.c1 #ctHistorico .sp-bet > header .sp-badge.lost, html.c1 #ctHistorico .sp-bet > header .sp-badge.half_lost { background: #3d4a43; color: var(--c1-marfim); }
html.c1 #ctHistorico .sp-bet > header .sp-badge.cashed_out, html.c1 #ctHistorico .sp-bet > header .sp-badge.registering { background: var(--c1-ouro); color: var(--c1-ouro-texto); }
html.c1 #ctHistorico .sp-bet > header .sp-badge.returned, html.c1 #ctHistorico .sp-bet > header .sp-badge.voided { background: var(--c1-marfim); color: var(--c1-texto); }
html.c1 #ctHistorico .sp-bet > header .sp-badge.sp-automabet { order: 4; margin-left: 0; }
html.c1 #ctHistorico .sp-bet-produto, html.c1 #ctHistorico .sp-bet-produto.fifa { border: 0; background: var(--c1-ouro); color: var(--c1-ouro-texto); }
html.c1 #ctHistorico .sp-bet-pick .sp-slip-odd { color: var(--c1-verde); font-size: var(--t-tam-10); font-weight: 800; }
html.c1 #ctHistorico .sp-bet footer { border-top-color: var(--c1-linha); }
