/* Chances públicas (shared/odds.js): a janela do jogo (client/odds.js) e a página site/chances usam este arquivo.
   Cores pelos tokens do painel do jogo (--p-dark, --w-dark, --amber); a página do site, sem eles, fica com as cores de antes. */
.odds { display: flex; flex-direction: column; gap: 18px; font-size: 13px; line-height: 1.45; }
.odds-server { margin: 0; padding: 8px 12px; border-radius: 6px; background: #0e2a1a; box-shadow: inset 0 0 0 2px #2f8a3e; color: #c8f5d0; font-weight: 700; }
.odds-sec { display: flex; flex-direction: column; gap: 8px; }
.odds-sec h2 { margin: 0; font: 700 17px/1.2 var(--pixel, monospace); color: var(--amber, var(--gold, #ffd23a)); }
.odds-sec h3 { margin: 6px 0 0; font: 700 13px/1.2 var(--pixel, monospace); color: #fff; }
.odds-lead { margin: 0; color: var(--ink, #f0ecff); }
.odds-note { margin: 0; color: var(--ink2, #b9b0d8); font-size: 12px; }
.odds-region { display: flex; flex-direction: column; gap: 6px; }
.odds-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--p-dark, #3a2c66); }
.odds-t { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.odds-t th, .odds-t td { padding: 5px 8px; text-align: right; white-space: nowrap; border-bottom: 1px solid #ffffff14; }
.odds-t thead th { position: sticky; top: 0; background: var(--w-dark, #1a1230); color: var(--ink2, #b9b0d8); font-weight: 700; font-size: 11.5px; }
.odds-t tbody th { text-align: left; font-weight: 700; color: #fff; }
.odds-t tbody tr:nth-child(odd) { background: #ffffff06; }
@media (max-width: 520px) { .odds { font-size: 12px; } .odds-t th, .odds-t td { padding: 4px 6px; } }

.odds-c { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.odds-c small { color: var(--ink2, #b9b0d8); font-size: 10.5px; font-weight: 400; }
/* página /chances/: mais larga que as páginas legais, para as tabelas caberem */
main#odds, body:has(main#odds) .top, body:has(main#odds) .foot { max-width: 1040px; }
/* as tabelas rolam dentro da caixa delas, sem alargar a página (itens de flex com min-width: auto estouravam no celular) */
.odds, .odds-sec, .odds-region, .odds-win { min-width: 0; max-width: 100%; }
.odds-scroll { max-width: 100%; }
.odds-win a, .odds a { color: var(--amber, var(--gold, #ffd23a)); }
