/* 90olé: app mobile-first. Azul-petróleo em camadas (Stake), acento lima e tipografia forte (Parimatch), números tabulares. */
/* Fontes auto-hospedadas (OFL, ver /fonts): Inter na interface toda; Barlow Condensed só em placar grande, números de destaque e títulos de banner */
@font-face { font-family: "Inter"; src: url(/fonts/inter-latin.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-latin-ext.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; src: url(/fonts/barlow-condensed-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(/fonts/barlow-condensed-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(/fonts/barlow-condensed-800.woff2) format("woff2"); font-weight: 800 900; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(/fonts/barlow-condensed-800i.woff2) format("woff2"); font-weight: 800 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(/fonts/barlow-condensed-ext-700.woff2) format("woff2"); font-weight: 600 900; font-display: swap;
  unicode-range: U+0100-02AF, U+1E00-1EFF; }
/* fallbacks com métricas próximas: a troca de fonte não mexe o layout */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Roboto"); size-adjust: 107%; ascent-override: 90%; descent-override: 22%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Fallback"; src: local("Arial Narrow"), local("Roboto Condensed"), local("Arial"); size-adjust: 88%; ascent-override: 100%; descent-override: 24%; }

/* Tokens do sistema (DESIGN.md, "Cores, fontes e espaçamentos"). Trocar aqui troca no site, na vitrine e no painel do afiliado. */
:root {
  /* camadas: página, barras (topo, lateral, nav inferior), cartões, botões dentro de cartões, bordas e hover */
  --bg: #0F212E; --bg-2: #1A2C38; --card: #213743; --card-2: #2A4150; --line: #2F4553; --line-2: #3D5A6C;
  /* texto: principal, secundário, apagado (AA em --bg, --bg-2, --card e --card-2) */
  --text: #FFFFFF; --text-2: #B1BAD3; --muted: #9AADC4;
  /* acento: CTA principal, seleção ativa e abas ativas (lima puxado para o amarelo), com texto escuro por cima */
  --brand: #E6FF1F; --brand-ink: #0F212E;
  /* estados: ganho e alta de odd, perda e queda, ao vivo, links e ações secundárias (--info-2 é a versão para texto) */
  --up: #00E701; --win: var(--up); --down: #FF4D5E; --lose: var(--down); --live: #FF3B3B; --info: #1475E1; --info-2: #5AA5FF; --warn: #FFC23D; --wa: #25D366;
  /* cor de cada jogo (detalhes: ícones, filetes, selos); o CTA de todos é --brand */
  --duel-a: #22D3EE; --duel-b: #F43F5E; --gold: #F5C451;
  --c-classica: #3D8BFF; --c-s90: var(--brand); --c-1x1: var(--duel-a); --c-1x1-b: #F0459B; --c-s11: var(--gold); --c-live: var(--live);
  --c-sim: #A78BFA; --c-final: #D5DCE6;
  /* cantos 8px, sem sombra pesada (camadas de cor e bordas --line); sombra só em folhas, avisos e menus flutuantes */
  --r: 8px; --r-sm: 6px; --r-lg: 8px; --r-xl: 8px; --r-pill: 999px;
  --shadow: none; --shadow-lg: 0 12px 32px rgba(0, 0, 0, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --disp: "Barlow Condensed", "Barlow Fallback", "Arial Narrow", system-ui, sans-serif;
  /* escala de texto */
  --fs-12: 12px; --fs-13: 13px; --fs-14: 14px; --fs-16: 16px; --fs-18: 18px; --fs-22: 22px; --fs-28: 28px; --fs-36: 36px;
  /* medidas da estrutura: topo, nav inferior, lateral, conteúdo e cupom no desktop */
  --top: 56px; --nav: 64px; --side: 240px; --content: 880px; --slip: 340px; --safe-b: env(safe-area-inset-bottom, 0px);
  --tb: 0px; /* faixa "Ambiente de teste" (body.test) */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.45 var(--font); min-height: 100vh; overflow-x: hidden; overflow-x: clip; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } /* clip não cria contêiner de rolagem: o sticky das colunas funciona */
body.sheet-open { overflow: hidden; }
a { color: var(--brand); }
button, input, select, textarea { font: inherit; font-family: inherit; color: inherit; } /* nada de "Times" do navegador nos controles */
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.num, .odd, .score, .money { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.meta { font-size: 12px; color: var(--muted); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--brand); color: var(--brand-ink); padding: 10px 14px; border-radius: var(--r); z-index: 100; }
.skip:focus { top: 8px; }
[hidden] { display: none !important; }
/* textos diferentes no celular e no desktop ("Toque"/"Clique", "Entrar"/"Entrar com WhatsApp") */
.only-desk { display: none; }

/* ---------- estrutura ---------- */
/* faixa fina do ambiente de teste: fixa no topo; o servidor já manda body.test, então o espaço existe desde o primeiro quadro */
/* --tb inclui a área segura do topo (notch): a faixa cresce para cima dela e o cabeçalho sticky fica logo abaixo */
body.test { --tb: calc(22px + env(safe-area-inset-top, 0px)); padding-top: var(--tb); }
.testbar { position: fixed; top: 0; left: 0; right: 0; z-index: 31; height: var(--tb); margin: 0; padding: env(safe-area-inset-top, 0px) 8px 0; background: var(--brand-ink); color: var(--brand);
  font-size: 12px; font-weight: 700; line-height: 22px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar { position: sticky; top: var(--tb); z-index: 30; height: var(--top); display: flex; align-items: center; gap: 12px; padding: 0 14px;
  background: var(--bg); border-bottom: 1px solid var(--line); } /* sem backdrop-filter: a barra inferior (fixed) mora aqui dentro */
.logo { display: inline-flex; align-items: center; text-decoration: none; min-height: 44px; }
.logo svg { height: 26px; width: auto; display: block; }
.topbar .right { margin-left: auto; display: flex; align-items: center; gap: 8px; min-width: 88px; justify-content: flex-end; }
.topbar .btn.wa svg { flex: none; }
.layout { display: block; }
.col-left, .col-right { display: none; }
/* altura mínima de uma tela inteira: o rodapé nunca aparece na primeira tela e depois é empurrado (CLS) */
/* celular: o fim do conteúdo e do rodapé sempre acima da barra inferior fixa (altura da barra + área segura do aparelho) */
#main { padding: 12px 12px calc(var(--nav) + var(--safe-b)); min-height: calc(100vh - var(--top) - var(--tb)); outline: none; }
.foot { padding: 16px 14px calc(var(--nav) + var(--safe-b) + 16px); border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; text-align: center; }
body.has-slip .foot, body.has-s11bar .foot { padding-bottom: calc(var(--nav) + var(--safe-b) + 76px); } /* cupom/bilhete flutuante acima da barra */
.foot p { margin: 4px 0; }
.foot .badge18 { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 2px solid var(--muted); border-radius: 50%; font-weight: 800; font-size: 11px; color: var(--text); margin-right: 6px; vertical-align: middle; }
.foot .test { color: var(--brand); }
body.has-slip #main { padding-bottom: calc(var(--nav) + 72px + var(--safe-b)); } /* barra do cupom (56px + folga) acima da navegação */

/* barra inferior */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(6, 1fr);
  height: calc(var(--nav) + var(--safe-b)); padding-bottom: var(--safe-b); background: var(--bg-2); border-top: 1px solid var(--line); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; color: var(--muted); font-size: 12px; min-height: 44px; position: relative; }
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a[aria-current="page"] { color: var(--text); }
.tabbar a[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--brand); }
.tabbar a.tab90 .bubble { display: grid; place-items: center; width: 46px; height: 46px; margin-top: -18px; border-radius: 50%; background: var(--brand); color: var(--brand-ink);
  font-weight: 900; font-size: 15px; letter-spacing: -.5px; border: 3px solid var(--bg-2); }
.tabbar a.tab90[aria-current="page"]::before { display: none; }
.tabbar .count { position: absolute; top: 6px; left: 52%; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brand); color: var(--brand-ink); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.tabbar .count.slip { background: var(--text); color: var(--bg); } /* seleções no cupom */
.tabbar .count.live { background: var(--live); color: var(--text); } /* jogos ao vivo agora (só aparece com 1 ou mais) */
/* no celular a barra fica com 6 itens (Início, Ao vivo, 90+, 1x1, Super11, Apostas): a Conta abre pelo saldo do cabeçalho e pelo rodapé */
.tabbar a.tab-acc { display: none; }

/* ---------- componentes ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--card-2); color: var(--text); font-weight: 600; text-decoration: none; transition: transform .08s, background .15s; }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); font-weight: 800; }
.btn.wa { background: var(--wa); border-color: var(--wa); color: var(--brand-ink); font-weight: 800; }
.btn.ghost { background: transparent; }
.btn.danger { background: transparent; border-color: var(--down); color: var(--down); }
.btn.secondary { background: transparent; border-color: var(--brand); color: var(--brand); } /* ação secundária: borda 1px na cor de destaque, mesma altura e raio */
.btn.block { display: flex; width: 100%; }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: 13px; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; cursor: default; }
.btn .spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.linkbtn { background: none; border: 0; color: var(--brand); padding: 10px 4px; min-height: 44px; text-decoration: underline; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.pad { padding: 14px; }
.section { margin: 18px 0 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.section h2 { margin: 0; font-size: 17px; }
.section .more { font-size: 13px; color: var(--muted); text-decoration: none; padding: 10px 0; }
h1.page { font-size: 22px; margin: 6px 0 12px; }
.livedot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--live); margin-right: 6px; animation: pulse 1.4s infinite; vertical-align: 1px; }
@keyframes pulse { 50% { opacity: .35; } }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--card-2); border: 1px solid var(--line); color: var(--muted); }
.tag.live { color: var(--text); background: var(--live); border-color: var(--live); }
.tag.brand { color: var(--brand-ink); background: var(--brand); border-color: var(--brand); }
.tag.won { color: var(--up); border-color: color-mix(in srgb, var(--up) 40%, transparent); }
.tag.lost { color: var(--down); border-color: color-mix(in srgb, var(--down) 40%, transparent); }
.tag.sim { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, transparent); background: color-mix(in srgb, var(--warn) 10%, transparent); letter-spacing: .4px; font-size: 10px; padding: 1px 6px; margin-right: 6px; } /* jogos simulados */

/* chips */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -12px; padding-left: 12px; padding-right: 12px; scrollbar-width: none; }
#h-chips { min-height: 50px; } /* período + ligas numa fileira só: as ligas chegam depois sem empurrar nada */
.chip-group { display: flex; gap: 8px; flex: 0 0 auto; }
.chip-sep { flex: 0 0 1px; align-self: center; height: 24px; background: var(--line); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 14px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 700; }
.chip .n { color: var(--muted); font-size: 12px; }
.chip[aria-pressed="true"] .n { color: var(--line); }

/* escudos: tamanho fixo e proporção 1:1 (a imagem nunca muda o layout quando carrega);
   fundo circular claro sutil atrás do logo, para escudos escuros aparecerem no fundo escuro */
.crest { width: 24px; height: 24px; aspect-ratio: 1 / 1; border-radius: 50%; flex: 0 0 24px; object-fit: contain; background: rgba(255, 255, 255, .08); }
img.crest { padding: 2px; }
.crest.ini { display: inline-grid; place-items: center; font-size: 10px; font-weight: 800; color: var(--text); letter-spacing: -.3px; }
.crest.lg { width: 48px; height: 48px; flex-basis: 48px; font-size: 16px; }
.crest.xl { width: 64px; height: 64px; flex-basis: 64px; font-size: 20px; }

/* cartão de jogo */
.ev { padding: 12px; margin-bottom: 10px; }
.ev-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); min-height: 20px; }
.ev-head .clock { color: var(--live); font-weight: 700; }
.ev-teams { display: block; text-decoration: none; color: var(--text); padding: 6px 0 8px; }
.team-row { display: flex; align-items: center; gap: 8px; min-height: 28px; }
.team-row .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.team-row .score { font-weight: 800; font-size: 16px; min-width: 20px; text-align: right; }
.odds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.odds.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.odd { position: relative; min-width: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; padding: 4px 6px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--card-2); color: var(--text); transition: background .15s, border-color .15s; }
/* rótulos longos ("Empate ou Palmeiras") quebram em até 2 linhas em vez de alargar a grade */
.odd .lb { font-size: 12px; line-height: 1.2; color: var(--muted); max-width: 100%; overflow: hidden; text-align: center; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.odd .pr { font-size: 16px; font-weight: 800; letter-spacing: .2px; min-width: 4ch; text-align: center; } /* 1,85 -> 12,00 não mexe a largura */
.odd[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.odd[aria-pressed="true"] .lb { color: var(--brand-ink); }
.odd[disabled] { cursor: default; background: transparent; }
.odd[disabled] .pr { font-size: 13px; color: var(--muted); font-weight: 700; }
.odd.up { animation: flashUp 1.2s ease-out; } .odd.down { animation: flashDown 1.2s ease-out; }
.odd.up .pr::after { content: " ▲"; color: var(--up); font-size: 10px; } .odd.down .pr::after { content: " ▼"; color: var(--down); font-size: 10px; }
@keyframes flashUp { 0% { background: color-mix(in srgb, var(--up) 45%, transparent); border-color: var(--up); } 100% { } }
@keyframes flashDown { 0% { background: color-mix(in srgb, var(--down) 45%, transparent); border-color: var(--down); } 100% { } }
.ev-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 8px; }
.ev-foot a { font-size: 13px; color: var(--muted); text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; }
.ev-foot .room { color: var(--brand); font-weight: 700; white-space: nowrap; }
.room-slot { display: inline-flex; min-width: 0; }
.league-h { display: flex; align-items: center; gap: 8px; margin: 16px 2px 8px; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }

/* skeleton */
.sk { background: linear-gradient(90deg, var(--card-2) 0%, var(--line) 50%, var(--card-2) 100%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--r); }
@keyframes sk { to { background-position: -200% 0; } }
.sk.ev { height: 208px; border: 0; } /* mesma altura do cartão de jogo com 1/X/2 */
/* listas reservam espaço desde o início: o que vem abaixo não sobe e desce enquanto carregam */
#h-list { min-height: 660px; }
#nv:has(.sk) { min-height: 660px; } /* Soccer90: reserva só enquanto carrega; com poucas salas, o "como funciona" fica colado na lista */
#h-list:empty { min-height: 0; } /* com filtro, a lista mora em #h-live e esta fica vazia */
.sk.promo-sk { height: 210px; margin-bottom: 10px; }
.empty { padding: 22px 14px; text-align: center; color: var(--muted); }

/* faixa compacta do 90+ na home: 1 card baixo, altura fixa */
.strip90-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 6px 0 6px; min-height: 32px; }
.strip90-h h2 { margin: 0; font-size: 15px; }
.strip90-h .more { font-size: 13px; color: var(--brand); text-decoration: none; padding: 8px 0; font-weight: 700; }
.room-mini { display: flex; align-items: center; gap: 10px; height: 64px; padding: 8px 12px; margin-bottom: 4px; text-decoration: none; color: var(--text);
  background: linear-gradient(135deg, var(--card) 0%, var(--card) 55%); border-color: var(--line); }
.sk.room-mini { background: linear-gradient(90deg, var(--card-2) 0%, var(--line) 50%, var(--card-2) 100%); background-size: 200% 100%; border: 0; }
.room-mini .rm-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.room-mini .rm-teams { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; min-width: 0; white-space: nowrap; }
.room-mini .rm-teams .nm { overflow: hidden; text-overflow: ellipsis; }
.room-mini .meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* os 3 passos numa linha curta logo abaixo do título "Salas 90+ abrindo": quebra se precisar, vem pronta do servidor (mesma altura) */
.steps-line { display: block; margin: -2px 0 8px; font-size: 13px; line-height: 1.4; color: var(--muted); text-decoration: none; }
.steps-line .how { color: var(--brand); font-weight: 700; white-space: nowrap; }
.pitch { margin: 0; font-size: 14px; line-height: 1.4; color: var(--text-2); }
.room-mini .rm-cta { flex: none; padding: 8px 12px; border-radius: 10px; background: var(--brand); color: var(--brand-ink); font-weight: 800; font-size: 13px; }

/* carrossel 90+ */
.rail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -12px; padding: 2px 12px 6px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.room-card { flex: 0 0 78%; max-width: 300px; scroll-snap-align: start; padding: 12px; display: flex; flex-direction: column; gap: 8px;
  background: linear-gradient(135deg, var(--card) 0%, var(--card) 55%); border-color: var(--line); }
.room-card .teams { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.room-card .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
/* /ao-vivo sem jogos: "O próximo jogo começa às HH:MM" em uma linha com contagem e botão */
.next-up { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 4px; }
.next-up p { flex: 1; min-width: 0; margin: 0; font-size: 14px; }
.next-up .btn { flex: none; }
/* folha "Como funciona o 90+" */
.intro90 .steps li { font-size: 15px; }
.countdown { font-weight: 800; color: var(--brand); }

/* blocos de destaque */
.promo { padding: 14px; margin-bottom: 10px; }
.promo h3 { margin: 0 0 8px; font-size: 15px; display: flex; justify-content: space-between; gap: 8px; }
.promo ul { list-style: none; margin: 0 0 10px; padding: 0; }
.promo li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.promo li:last-child { border-bottom: 0; }
/* múltipla do dia: palpite em negrito, o jogo em cinza na linha de baixo */
.multi li { align-items: center; }
.multi .pk { min-width: 0; display: flex; flex-direction: column; }
.multi .pk .meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn.one-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 10px; }
.old { text-decoration: line-through; color: var(--muted); font-size: 13px; margin-right: 6px; }
.super { color: var(--brand); }
.suggest-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.field label, .lbl { font-size: 13px; color: var(--muted); }
.input, select.input { min-height: 46px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); width: 100%; font-size: 16px; }
.input:focus { border-color: var(--brand); }
.input.big { font-size: 22px; font-weight: 800; text-align: center; letter-spacing: 1px; }
.check { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; padding: 6px 0; font-size: 14px; }
.check input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--brand); flex: 0 0 22px; }
.err { color: var(--down); font-size: 13px; min-height: 18px; margin: 4px 0; }
.ok { color: var(--up); }

/* página do jogo */
.match { padding: 16px 12px; text-align: center; }
.match .teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.match .side { display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.match .big { font-size: 34px; font-weight: 900; letter-spacing: 1px; }
.match .state { font-size: 13px; color: var(--muted); margin-top: 6px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; margin: 14px -12px 10px; padding: 0 12px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] { flex: 0 0 auto; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--muted); font-weight: 600; }
.tabs [role="tab"][aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.mkt { padding: 12px; margin-bottom: 10px; }
.mkt h3 { margin: 0 0 10px; font-size: 14px; display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.mkt .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.tip { position: relative; display: inline-flex; }
.tip > button { background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); border-radius: 999px; font-size: 12px; font-weight: 700; padding: 0 10px; min-height: 30px; }
.tip .bubble { position: absolute; right: 0; top: calc(100% + 6px); width: min(280px, 80vw); z-index: 20; padding: 10px 12px; background: var(--card-2); border: 1px solid var(--line); border-radius: 10px; font-size: 13px; font-weight: 400; color: var(--text); box-shadow: var(--shadow); }
.stats { display: grid; gap: 8px; }
.stat { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 8px; font-size: 14px; }
.stat .bar { height: 6px; border-radius: 3px; background: var(--line); position: relative; overflow: hidden; }
.stat .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--brand); }
.stat .c { text-align: center; font-size: 12px; color: var(--muted); grid-column: 1 / -1; margin-bottom: -6px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.timeline li:last-child { border-bottom: 0; }
.timeline .min { width: 44px; color: var(--muted); font-weight: 700; }
.timeline .ic { width: 22px; text-align: center; }
.yc { display: inline-block; width: 10px; height: 14px; background: var(--warn); border-radius: 2px; }
.rc { display: inline-block; width: 10px; height: 14px; background: var(--live); border-radius: 2px; }

/* cupom */
.slipbar { position: fixed; left: 10px; right: 10px; bottom: calc(var(--nav) + var(--safe-b) + 8px); z-index: 35; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; min-height: 56px;
  background: var(--brand); color: var(--brand-ink); border-radius: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); border: 0; width: auto; text-align: left; font-weight: 700; animation: rise .2s ease-out; }
.slipbar .t { flex: 1; min-width: 0; line-height: 1.2; font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slipbar .go { flex: none; padding: 10px 14px; border-radius: 10px; background: var(--brand-ink); color: var(--brand); font-weight: 900; }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } }
.sheet-back { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .55); animation: fade .15s; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; max-height: 92vh; overflow: auto; background: var(--card); border-radius: 18px 18px 0 0; border-top: 1px solid var(--line);
  padding: 8px 14px calc(16px + var(--safe-b)); animation: up .2s ease-out; overscroll-behavior: contain; }
@keyframes up { from { transform: translateY(40px); opacity: .4; } }
.sheet .grab { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 4px auto 8px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.sheet-head h2 { margin: 0; font-size: 18px; }
.x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--card-2); color: var(--text); font-size: 20px; display: grid; place-items: center; }
.sel { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sel .what { min-width: 0; }
.sel .what b { display: block; font-size: 14px; }
.sel .what > span { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sel .pr { font-weight: 800; font-size: 16px; }
.sel .rm { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 18px; }
.sel .chg { grid-column: 1 / -1; font-size: 12px; color: var(--warn); }
.sel .sus { grid-column: 1 / -1; font-size: 12px; color: var(--down); font-weight: 700; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 8px 0; }
.quick button { min-height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--card-2); font-weight: 700; }
.totals { display: grid; gap: 4px; margin: 10px 0; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; }
.totals b { font-size: 16px; }
.totals .ret b { color: var(--brand); font-size: 20px; }
.warn { padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--warn) 10%, transparent); border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent); color: var(--warn); font-size: 13px; margin: 8px 0; }
.info { padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--brand) 8%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); color: var(--text); font-size: 13px; margin: 8px 0; }
.receipt { text-align: center; padding: 8px 0; }
.receipt .ok-ic { width: 56px; height: 56px; border-radius: 50%; background: color-mix(in srgb, var(--up) 15%, transparent); color: var(--up); display: grid; place-items: center; margin: 6px auto; font-size: 28px; }
.kv { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); margin-bottom: 10px; }
.seg button { min-height: 40px; border-radius: 9px; border: 0; background: transparent; color: var(--muted); font-weight: 700; }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--card-2); color: var(--text); }

/* minhas apostas */
.bet { padding: 12px; margin-bottom: 10px; }
.bet-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.leg { display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; padding: 6px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.leg:last-of-type { border-bottom: 0; }
.leg .st { width: 14px; height: 14px; border-radius: 50%; margin-top: 3px; border: 2px solid var(--muted); }
.leg .st.won { background: var(--up); border-color: var(--up); } .leg .st.lost { background: var(--down); border-color: var(--down); } .leg .st.void { background: var(--muted); }
.leg small { display: block; color: var(--muted); font-size: 12px; }
.bet-f { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }

/* 90+ */
.hero90 { padding: 16px; background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--brand) 18%, transparent) 0%, color-mix(in srgb, var(--brand) 0%, transparent) 55%), var(--card); }
.hero90 h1 { margin: 0 0 6px; font-size: 22px; }
.steps { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.steps li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.steps .k { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 900; flex: 0 0 30px; }
.room-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; align-items: center; padding: 12px; margin-bottom: 10px; text-decoration: none; color: var(--text); }
.room-item .ri-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.room-item .lock-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 10px; background: var(--brand); color: var(--brand-ink); font-weight: 800; font-size: 15px; }
.lg-tag { display: inline-block; max-width: 60%; padding: 1px 8px; margin-right: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--card-2); color: var(--text); font-size: 11px; font-weight: 700;
  vertical-align: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.room-item .teams { font-weight: 700; display: flex; align-items: center; gap: 6px; margin: 4px 0; min-width: 0; }
.room-item .teams .nm { overflow: hidden; text-overflow: ellipsis; }
/* explicação do 90+ fixa no topo da lista */
.steps90 { position: sticky; top: calc(var(--top) + var(--tb)); z-index: 20; padding: 10px 12px; border-color: color-mix(in srgb, var(--brand) 40%, transparent);
  background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--brand) 14%, transparent) 0%, color-mix(in srgb, var(--brand) 0%, transparent) 55%), var(--card); }
.steps90 .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 8px; gap: 8px; }
.steps90 .steps li { flex-direction: column; gap: 4px; text-align: center; font-size: 15px; line-height: 1.25; }
.steps90 .steps .k { width: 28px; height: 28px; flex-basis: 28px; font-size: 15px; }
.steps90 .pitch { margin-bottom: 4px; }
.steps90 > a { display: block; text-align: right; }
.pot { text-align: center; padding: 18px 12px; }
.pot .lbl { text-transform: uppercase; letter-spacing: .6px; font-size: 12px; }
.pot .v { font-size: 40px; font-weight: 900; color: var(--brand); line-height: 1.1; margin: 4px 0; }
.pot .lock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.mult { display: flex; justify-content: center; gap: 18px; margin-top: 10px; font-size: 14px; }
.mult b { display: block; font-size: 18px; }
.question { padding: 14px; border-color: color-mix(in srgb, var(--brand) 40%, transparent); }
.question .q { font-size: 18px; font-weight: 800; margin: 6px 0 10px; }
.progress { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin: 8px 0; }
.progress i { display: block; height: 100%; background: var(--brand); transition: width .5s; }
.yesno { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.yesno button { min-height: 56px; border-radius: 12px; border: 2px solid var(--line); background: var(--card-2); font-weight: 800; font-size: 16px; }
.yesno button[aria-pressed="true"] { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); }
.yesno button span { display: block; font-size: 18px; }
.rank { list-style: none; padding: 0; margin: 0; }
.rank li { display: grid; grid-template-columns: 28px 1fr auto auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.rank li.you { color: var(--brand); font-weight: 700; }
.result90 { text-align: center; padding: 20px 14px; }
.result90 .v { font-size: 30px; font-weight: 900; color: var(--brand); }

/* ---------- Soccer90: fluxo de PLAY (sem entrada, antes do apito) ---------- */
.p90-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 0; margin: 0 0 12px; }
.p90-steps li { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.p90-steps .k { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1px solid var(--line); font-weight: 800; font-size: 12px; }
.p90-steps li[aria-current="step"] { color: var(--text); font-weight: 700; }
.p90-steps li[aria-current="step"] .k, .p90-steps li.done .k { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.p90-q { font-size: 18px; font-weight: 800; margin: 4px 0 10px; }
.quick.f90-fr { grid-template-columns: repeat(3, 1fr); }
.quick button[aria-pressed="true"] { border-color: var(--brand); color: var(--brand); }
.p90-nav { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; margin-top: 10px; }
.p90-sum li b { align-self: center; }
.p90-go { min-height: 60px; font-size: 22px; letter-spacing: 1px; margin-top: 6px; }

/* ---------- Soccer90: modo foco (body.focus90, ver views/noventa.js) ---------- */
/* nada do resto do site: cabeçalho, menu, barra inferior, cupom, rodapé, faixas e colunas laterais */
body.focus90 { --tb: 0px; --top: 0px; --nav: 0px; padding-top: 0; overflow: hidden; overscroll-behavior: none; }
body.focus90 :is(.topbar, .tabbar, .foot, .col-left, .col-right, .testbar, .skip, #slipbar-root, .slipbar, .s11-mini, .nv-back) { display: none !important; }
body.focus90 .layout { display: block; max-width: none; padding: 0; margin: 0; }
body.focus90 #main { padding: 0; min-height: 0; }
body.focus90 .toasts { top: calc(env(safe-area-inset-top, 0px) + 8px); }
.f90 { height: 100vh; height: 100dvh; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; overscroll-behavior: contain;
  padding: calc(env(safe-area-inset-top, 0px) + 6px) calc(env(safe-area-inset-right, 0px) + 10px) calc(env(safe-area-inset-bottom, 0px) + 10px) calc(env(safe-area-inset-left, 0px) + 10px); }
.f90-bar { flex: none; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 4px 6px; border-bottom: 1px solid var(--line); }
.f90-score { display: flex; align-items: center; gap: 6px; min-width: 0; }
.f90-score > b { font-size: 18px; font-weight: 900; white-space: nowrap; }
.f90-score .vs { color: var(--muted); }
.f90-clock { font-size: 12px; color: var(--muted); white-space: nowrap; }
.f90-clock.live { color: var(--live); font-weight: 700; }
.f90-nums { display: flex; gap: 10px; margin: 0 0 0 auto; text-align: right; }
.f90-nums div { min-width: 0; }
.f90-nums dt { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; white-space: nowrap; }
.f90-nums dd { margin: 0; font-size: 13px; font-weight: 800; white-space: nowrap; }
.f90-nums div:nth-child(2) dd { color: var(--brand); }
.f90-exit { flex: none; min-height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--card-2); font-size: 13px; font-weight: 700; }
.f90-pitch, .f90-pt { flex: none; }
.f90-pt { margin: 0; padding: 0; }
.f90 .pt-head, .f90 .pt-counts, .f90 .pt-toggle { display: none; }
.f90 .pt-field svg { max-height: 30vh; max-height: 30dvh; width: auto; max-width: 100%; margin-inline: auto; }
.f90 .pt-stats { gap: 6px; margin-top: 6px; }
.f90-side { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.f90-card { padding: 12px; border-radius: var(--r); background: var(--card); border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent); }
.f90-card .meta { margin: 0; }
.f90-q { display: flex; align-items: flex-start; gap: 10px; }
.f90-q > div { flex: 1; min-width: 0; }
.f90-q .q { font-size: 19px; font-weight: 800; line-height: 1.25; margin: 4px 0 10px; }
.f90-cd { position: relative; flex: none; width: 76px; height: 76px; }
.f90-cd svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.f90-cd circle { fill: none; stroke-width: 4; }
.f90-cd .bg { stroke: var(--line); }
.f90-cd .fg { stroke: var(--brand); stroke-dasharray: 100; stroke-dashoffset: 0; stroke-linecap: round; transition: stroke-dashoffset .25s linear, stroke .2s; }
.f90-cd b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 18px; font-weight: 900; }
.f90-cd.hot .fg { stroke: var(--live); }
.f90-cd.hot b { color: var(--live); animation: pulse 1s infinite; }
.f90-yn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.f90-yn button { min-height: 68px; border-radius: 14px; border: 2px solid var(--line); background: var(--card-2); font-size: 20px; font-weight: 900; }
.f90-yn button span { display: block; font-size: 15px; font-weight: 700; color: var(--muted); }
.f90-yn .yes[aria-pressed="true"] { border-color: var(--up); background: color-mix(in srgb, var(--up) 14%, transparent); }
.f90-yn .no[aria-pressed="true"] { border-color: var(--down); background: color-mix(in srgb, var(--down) 14%, transparent); }
.f90-yn .wait { grid-column: 1 / -1; min-height: 52px; font-size: 17px; }
.f90-yn .wait span { display: inline; margin-left: 8px; font-size: 13px; }
.f90-stake { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.f90-stake > button { min-height: 56px; border-radius: 12px; border: 2px solid var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--text); }
.f90-stake > button b { display: block; font-size: 17px; }
.f90-stake > button span { font-size: 13px; color: var(--muted); }
.f90-stake > button:disabled { border-color: var(--line); opacity: .5; }
.f90-amt { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.f90-amt .input { min-height: 46px; text-align: center; }
.f90-amt button { min-width: 96px; border-radius: 10px; border: 0; background: var(--brand); color: var(--brand-ink); font-weight: 800; }
.f90-amt button:disabled { background: var(--card-2); color: var(--muted); }
.f90-done, .f90-wait { margin: 4px 0 0; font-size: 15px; }
.f90-wait { text-align: center; color: var(--muted); padding: 12px 0; }
.f90-streak { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.f90-streak .dots { display: flex; gap: 6px; flex: none; }
.f90-streak .dots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--brand); }
.f90-streak .dots i.on { background: var(--brand); }
.f90-streak .t { font-weight: 800; font-size: 14px; }
.f90-streak small { display: block; font-weight: 600; font-size: 12px; color: var(--muted); }
.f90-last { display: flex; align-items: center; gap: 8px; }
.f90-last ol { flex: 1; min-width: 0; display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow: hidden; }
.f90-last li { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 8px; background: var(--card-2); border: 1px solid var(--line); font-weight: 900; font-size: 14px; }
.f90-last li.won { color: var(--up); border-color: var(--up); }
.f90-last li.lost { color: var(--down); border-color: var(--down); }
.f90-last li.wait, .f90-last li.void, .f90-last li.open { color: var(--muted); }
.f90-last li.none { width: auto; padding: 0 8px; font-weight: 600; font-size: 12px; color: var(--muted); }
.f90-last .btn { flex: none; }
.f90-pre, .f90-result { text-align: center; }
.f90-big { margin: 2px 0 8px; font-size: 40px; font-weight: 900; color: var(--brand); line-height: 1.1; }
.f90-first { margin: 10px 0; padding: 10px; border-radius: 10px; background: var(--card-2); text-align: left; }
.f90-first .q { font-weight: 800; margin: 4px 0; }
.f90-first p:last-child { margin: 0; }
.f90-result .list { text-align: left; margin: 8px 0 4px; }
.f90-h { font-size: 15px; margin: 12px 0 6px; }
.f90-h:first-child { margin-top: 0; }
/* comemoração do ×N (sequência completa): por cima de tudo, some sozinha */
.f90-fx:empty { display: none; }
.f90-cele { position: fixed; inset: 0; z-index: 85; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; pointer-events: none;
  background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--brand) 35%, transparent) 0%, color-mix(in srgb, var(--bg) 92%, transparent) 60%); animation: cele-in .35s ease-out, fade .4s ease-in 4.1s forwards reverse; }
.f90-cele .x { font-size: 120px; line-height: 1; font-weight: 900; color: var(--brand); text-shadow: 0 0 30px color-mix(in srgb, var(--brand) 70%, transparent); animation: cele-pop .7s cubic-bezier(.2, 1.6, .4, 1); }
.f90-cele span { font-size: 22px; font-weight: 800; }
.f90-cele .v { font-size: 36px; color: var(--up); }
.f90-cele small { color: var(--muted); }
@keyframes cele-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes cele-pop { 0% { transform: scale(.2) rotate(-12deg); } 100% { transform: scale(1) rotate(0); } }
/* desktop: campo à esquerda, ação e sequência à direita, sem rolagem */
@media (min-width: 1024px) {
  .f90 { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 16px 20px; max-width: 1400px; margin: 0 auto; overflow: hidden; padding: 12px 24px 20px; }
  .f90-bar { grid-column: 1 / -1; }
  .f90-pitch, .f90-pt { align-self: start; }
  .f90 .pt-field svg { max-height: calc(100dvh - 220px); }
  .f90-side { overflow: auto; }
  .f90[data-phase="end"] .f90-side { grid-column: 1 / -1; max-width: 520px; width: 100%; margin: 0 auto; }
  .f90-big { font-size: 52px; }
}

/* conta */
.balance { padding: 16px; }
.balance .v { font-size: 32px; font-weight: 900; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.list li .d { min-width: 0; }
.list li > .tag { align-self: center; flex: none; }
.list li .d small { display: block; color: var(--muted); font-size: 12px; }
.pos { color: var(--up); } .neg { color: var(--text); }
.menu a, .menu button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0 14px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); text-decoration: none; font-size: 15px; text-align: left; }
.menu > :last-child { border-bottom: 0; }
.prose h2 { font-size: 17px; margin: 22px 0 6px; }
.prose p, .prose li { color: var(--text-2); font-size: 15px; }
.prose ul { padding-left: 18px; }

/* toasts e diálogo */
.toasts { position: fixed; left: 10px; right: 10px; top: calc(var(--top) + var(--tb) + 8px); z-index: 80; display: grid; gap: 8px; pointer-events: none; }
.toast { pointer-events: auto; padding: 12px 14px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14px; animation: rise .2s ease-out; }
.toast.win { border-color: var(--up); } .toast.lose { border-color: var(--down); } .toast.brand { border-color: var(--brand); }
/* portão 18+: cobre a tela toda em qualquer rolagem (top/left/... para navegadores sem inset); a página por trás fica travada (html.gate-open + body fixo no JS) */
.gate { position: fixed; top: 0; right: 0; bottom: 0; left: 0; inset: 0; width: 100%; height: 100vh; height: 100dvh; min-height: 100%; z-index: 90; background: color-mix(in srgb, var(--bg) 92%, transparent); display: grid; place-items: center; padding: 16px; overflow-y: auto; overscroll-behavior: contain; }
html.gate-open, html.gate-open body { overflow: hidden; overscroll-behavior: none; }
.gate .box { max-width: 380px; width: 100%; padding: 22px 18px; text-align: center; }
.gate .q { font-size: 20px; font-weight: 800; margin: 12px 0 6px; }
.gate .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.test-note { color: var(--brand); font-weight: 700; }
.prelaunch { padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--brand) 12%, transparent); border: 1px dashed var(--brand); color: var(--text); font-weight: 700; margin: 8px 0; }
.prelaunch b { color: var(--brand); letter-spacing: 2px; }
.phone { display: grid; grid-template-columns: 108px 1fr; gap: 8px; }
.nopass { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.nopass svg { color: var(--wa); flex: none; }
.lg-note { margin: 10px 0 0; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 14px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* 1x1: desafio entre dois apostadores, com os dois escudos grandes */
.duel { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; margin: 10px 0 6px; }
.duel .side { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; font-weight: 700; font-size: 14px; text-align: center; }
/* nome longo ("Borussia Mönchengladbach") vira reticências; o nome completo está no título logo abaixo */
/* nome sob o escudo: até 2 linhas, quebrando entre palavras (sem reticências no meio da palavra) */
.duel .side .nm { max-width: 100%; line-height: 1.25; max-height: 2.5em; overflow: hidden; overflow-wrap: break-word; text-wrap: balance; }
a.duel { color: var(--text); text-decoration: none; }
.duel .mid { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.duel .vs { font-size: 18px; font-weight: 900; color: var(--muted); }
.duel .score { font-size: 26px; font-weight: 900; }
.p2p { padding: 12px; margin-bottom: 12px; }
.p2p-hero p { margin: 0 0 10px; font-size: 15px; }
.p2p-game { margin: 4px 0 6px; font-size: 16px; text-align: center; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.p2p-game a { color: var(--text); text-decoration: none; }
.p2p-who { margin: 6px 0; font-size: 14px; color: var(--text-2); }
.p2p-you { padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--brand) 10%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent); font-size: 15px; }
.p2p-you b { color: var(--brand); }
.p2p-win { margin: 8px 0 10px; font-size: 14px; }
.p2p-win b { color: var(--brand); font-size: 16px; }
.p2p-conta { margin: -6px 0 10px; font-size: 13px; color: var(--muted); }
.p2p-lock { margin: 0 0 8px; font-size: 12px; color: var(--muted); text-align: center; }
.p2p-steps { margin: 0 0 10px; padding-left: 20px; font-size: 14px; }
.p2p-steps li { margin: 0 0 6px; }
.p2p-faq { margin: 0; font-size: 13px; }
.p2p-faq dt { font-weight: 700; margin-top: 8px; }
.p2p-faq dd { margin: 2px 0 0; color: var(--muted); }
.p2p-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0; }
.p2p-pick button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 64px; padding: 10px 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--card-2); color: var(--text); font-weight: 700; font-size: 14px; }
.p2p-pick button[aria-pressed="true"] { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.p2p-games { list-style: none; margin: 8px 0 0; padding: 0; max-height: 55vh; overflow: auto; }
.p2p-games button { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 8px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); text-align: left; }
.p2p-games .crests { display: flex; gap: 2px; }
.p2p-games .t { font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; }
.p2p-share { display: grid; gap: 8px; margin-top: 10px; }
.p2p-link { padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px dashed var(--line); font-size: 14px; word-break: break-all; text-align: center; }
.p2p-state { text-align: center; margin: 6px 0; }
.p2p-res { font-size: 22px; font-weight: 900; text-align: center; margin: 4px 0; }
.p2p-res.won { color: var(--up); } .p2p-res.lost { color: var(--down); }

/* Super11 */
.s11-banner { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 8px 12px; margin: 0 0 10px; text-decoration: none; color: var(--text); border-color: color-mix(in srgb, var(--brand) 45%, transparent);
  background: radial-gradient(120% 160% at 100% 0%, color-mix(in srgb, var(--brand) 20%, transparent) 0%, color-mix(in srgb, var(--brand) 0%, transparent) 60%), var(--card); }
.s11-banner .k { flex: 0 0 40px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--brand); color: var(--brand-ink); font-weight: 900; font-size: 13px; letter-spacing: -.5px; }
.s11-banner .t { flex: 1; min-width: 0; font-size: 14px; line-height: 1.3; }
.s11-banner .h { display: block; font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.s11-banner b { color: var(--brand); }
.s11-banner .go { flex: none; font-size: 22px; color: var(--brand); }
.s11-hero { padding: 14px; background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--brand) 18%, transparent) 0%, color-mix(in srgb, var(--brand) 0%, transparent) 55%), var(--card); }
.s11-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.s11-kicker { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.s11-t { margin: 4px 0 2px; font-size: 20px; }
.s11-cd { margin: 0 0 8px; font-size: 14px; color: var(--text-2); }
.s11-pote-l { margin: 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.s11-pote { margin: 0; font-size: 34px; line-height: 1.1; font-weight: 900; color: var(--brand); letter-spacing: -.5px; }
.s11-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.s11-stats div { padding: 8px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); min-width: 0; }
.s11-stats span { display: block; font-size: 11px; color: var(--muted); }
.s11-stats b { font-size: 15px; }
.s11-nb { margin: 10px 0 0; font-size: 13px; font-weight: 700; color: var(--text-2); }
.s11-intro { margin: 4px 0 10px; font-size: 14px; color: var(--text-2); }
.s11-card { padding: 10px 12px 12px; margin-bottom: 10px; }
.s11-card.done { border-color: color-mix(in srgb, var(--brand) 35%, transparent); }
.s11-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.s11-head .n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-right: 4px; border-radius: 6px; background: var(--card-2); color: var(--text); font-size: 12px; }
.s11-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 6px; margin: 8px 0 4px; }
.s11-teams .side { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; font-weight: 700; font-size: 13px; text-align: center; }
.s11-teams .nm { max-width: 100%; overflow-wrap: anywhere; }
.s11-teams .mid { display: grid; place-items: center; }
.s11-teams .vs { font-size: 16px; font-weight: 900; color: var(--muted); }
.s11-teams .score { font-size: 22px; font-weight: 900; }
.s11-q { margin: 12px 0 8px; text-align: center; font-weight: 800; font-size: 15px; }
.s11-opts { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 6px; }
/* nome em cima (até 2 linhas) e a odd sempre na base; a grade estica os botões do jogo à mesma altura */
.s11-opt { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 2px; min-height: 52px; padding: 6px 4px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card-2); color: var(--text); font-weight: 700; font-size: 13px; line-height: 1.15; overflow-wrap: anywhere; }
.s11-opt .r { flex: 1; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; max-width: 100%; text-align: center; }
.s11-opt .o { flex: none; font-size: 11px; font-weight: 600; color: var(--muted); }
.s11-opt[aria-pressed="true"] { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); }
.s11-opt[aria-pressed="true"] .o { color: var(--brand); }
.s11-opt:disabled { cursor: default; opacity: .85; }
.s11-opt.ok { border-color: var(--up); background: color-mix(in srgb, var(--up) 12%, transparent); color: var(--up); }
.s11-opt.bad { border-color: var(--down); color: var(--down); }
.s11-fixos { margin: 14px 0 4px; padding: 10px 12px 10px 28px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.s11-fixos li { margin: 3px 0; }
/* topo da rodada: a regra, o prazo e o resultado logo abaixo do pote */
.s11-linhas { list-style: none; margin: 6px 0 0; padding: 0; font-size: 13px; color: var(--text-2); }
.s11-linhas li { position: relative; margin: 2px 0; padding-left: 14px; }
.s11-linhas li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.s11-odd { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.s11-sub { padding-left: 18px; margin: 4px 0; }
/* dinheiro nunca quebra entre "R$" e o número */
#s11 .num, .s11-mini .num, .s11-side .num, .s11-folha .num { white-space: nowrap; }
/* celular: a aposta recolhida numa linha de 56px logo acima da barra inferior; o toque abre a folha */
.s11-mini { position: fixed; left: 0; right: 0; bottom: calc(var(--nav) + var(--safe-b)); z-index: 35; height: 56px; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 4px;
  background: var(--bg-2); border-top: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); box-shadow: 0 -8px 24px rgba(0, 0, 0, .45); }
.s11-mini-o { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 8px; border: 0; background: none; color: var(--text); text-align: left; line-height: 1.25; }
.s11-mini-o .l1 { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s11-mini-o .l1 b + b { color: var(--brand); }
.s11-mini-o .up { color: var(--muted); font-size: 12px; }
.s11-mini-o .l2 { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s11-mini-o .l2 b { color: var(--text); }
.s11-mini .btn { flex: none; }
.s11-mini .s11-dado { width: 44px; padding: 0; }
body.has-s11bar #main { padding-bottom: calc(var(--nav) + 76px + var(--safe-b)); }
body.has-s11bar .slipbar { display: none; } /* o cupom das apostas não cobre a aposta do Super11 */
.s11-prog { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 13px; }
.s11-prog .bar { flex: 1; height: 6px; border-radius: 3px; background: var(--card-2); overflow: hidden; }
.s11-prog .bar i { display: block; height: 100%; background: var(--brand); }
/* campo "Valor da aposta" (R$ fixo à esquerda, número grande na cor da marca) e a mensagem do mínimo */
.s11-vfield label { display: block; margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--muted); }
.s11-vbox { position: relative; }
.s11-vbox .pre { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 16px; font-weight: 800; color: var(--muted); pointer-events: none; }
.s11-vbox .input { width: 100%; min-height: 46px; padding-left: 44px; font-size: 22px; font-weight: 900; color: var(--brand); }
.s11-vbox .input[aria-invalid="true"] { border-color: var(--down); color: var(--down); }
.s11-vmsg { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.s11-vmsg.err { color: var(--down); font-weight: 700; }
.s11-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin: 8px 0 6px; }
.s11-quick button { min-height: 34px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 700; font-size: 13px; }
.s11-quick button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.s11-nums { display: grid; gap: 2px; margin: 2px 0 6px; }
.s11-num { display: grid; grid-template-columns: 70px repeat(3, minmax(0, 1fr)); gap: 4px; font-size: 12px; color: var(--muted); }
.s11-num .h { color: var(--text); font-weight: 700; }
.s11-num b { color: var(--text); font-size: 13px; }
.s11-mais { min-height: 28px; padding: 0; font-size: 12px; justify-self: start; }
.s11-falta { margin: 2px 0 8px; font-size: 13px; color: var(--text-2); }
.s11-actions { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.s11-tbl { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 13px; }
.s11-tbl th, .s11-tbl td { padding: 6px 4px; border-bottom: 1px solid var(--line); text-align: right; }
.s11-tbl th:first-child, .s11-tbl thead th:first-child { text-align: left; }
.s11-tbl thead th { color: var(--muted); font-weight: 700; font-size: 12px; }
.s11-resumo { margin: 8px 0; padding-left: 20px; font-size: 13px; }
.s11-resumo li { margin: 2px 0; }
.s11-como { padding-left: 20px; margin: 0 0 8px; }
.s11-como li { margin: 4px 0; }
.s11-bilhete { padding: 12px; margin-bottom: 12px; }
.s11-cont { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; font-weight: 700; color: var(--muted); }
.s11-cont .ok { color: var(--up); } .s11-cont .bad { color: var(--down); }
.s11-alc { margin: 6px 0; font-size: 13px; font-weight: 700; color: var(--brand); }
.s11-alc.off { color: var(--muted); font-weight: 600; }
.s11-premio { margin: 8px 0; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--up) 10%, transparent); border: 1px solid color-mix(in srgb, var(--up) 40%, transparent); }
.s11-premio .v { margin: 0 0 4px; font-size: 15px; } .s11-premio .v b { color: var(--up); font-size: 22px; }
.s11-premio ul { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.s11-premio li { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; }
.s11-rows { list-style: none; margin: 8px 0 0; padding: 0; }
.s11-row { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.s11-row:last-child { border-bottom: 0; }
.s11-row .st { width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.s11-row.acerto .st { background: var(--up); } .s11-row.erro .st { background: var(--down); } .s11-row.anulado .st { background: var(--muted); }
.s11-row.acerto b { color: var(--up); } .s11-row.erro b { color: var(--down); text-decoration: line-through; }
.s11-row small, .s11-res small { display: block; color: var(--muted); font-size: 12px; }
.s11-row .g, .s11-res .g { display: flex; align-items: center; gap: 6px; min-width: 0; font-weight: 700; }
.s11-row .g .nm, .s11-res .g .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s11-res li { align-items: center; }
.s11-hist li a { display: flex; justify-content: space-between; gap: 8px; width: 100%; color: var(--text); text-decoration: none; }
.s11-hash { word-break: break-all; }
.s11-hashes { margin-top: 10px; font-size: 12px; }
.s11-hashes ol { max-height: 240px; overflow: auto; padding-left: 28px; word-break: break-all; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }

/* ---------- jogo simulado (/simulado, atalho da home) ---------- */
.sim-short { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; margin-bottom: 10px; border-radius: var(--r); border: 1px dashed color-mix(in srgb, var(--warn) 45%, transparent); color: var(--text); text-decoration: none; font-size: 14px; }
.sim-short .ss-mk { width: 24px; height: 24px; flex: none; }
.sim-short > span:nth-of-type(2) { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sim-lead { margin: 0 0 12px; font-size: 15px; }
.sim-top { scroll-margin-top: calc(var(--top) + var(--tb) + 12px); } /* "Criar jogo simulado" da seção Ao vivo rola até aqui */
/* celular: os dois botões empilhados em largura total, texto numa linha; lado a lado no desktop */
.sim-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
.sim-actions .btn { width: 100%; white-space: nowrap; }
.sim-rules { list-style: none; margin: 10px 0 0; padding: 0; font-size: 14px; line-height: 1.4; color: var(--text-2); }
.sim-rules li { position: relative; margin: 4px 0; padding-left: 14px; }
.sim-rules li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.sim-empty .btn { margin-top: 4px; }
.sim-card .ev-head { margin-bottom: 8px; }
.sim-card .state { text-align: center; color: var(--muted); font-size: 14px; }
.sim-card .clock { color: var(--live); font-weight: 700; }
.sim-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.sim-h { font-size: 14px; margin: 12px 0 6px; }
.sim-teams { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
.sim-teams .chip .crest { width: 20px; height: 20px; flex-basis: 20px; }
.sim-teams .chip:disabled { opacity: .4; }
/* Soccer90 simulado (/soccer90/simulado): Mandante e Visitante (empilhados no celular, lado a lado no desktop) e o botão grande */
.s90s-top .sim-rules { margin: 0 0 12px; }
.s90s-times { margin-bottom: 4px; }
.s90s-times .field { margin-bottom: 0; }
.s90s-go { min-height: 52px; font-size: 17px; margin-top: 8px; }
#s90s-err .err { margin-top: 8px; }

/* ---------- desktop: ligas | conteúdo | cupom ---------- */
@media (min-width: 1024px) {
  :root { --nav: 0px; }
  .tabbar { position: static; display: flex; height: auto; padding: 0; background: none; border: 0; gap: 4px; }
  .tabbar a { flex-direction: row; padding: 0 12px; font-size: 14px; }
  .tabbar a svg { width: 18px; height: 18px; }
  .tabbar a[aria-current="page"]::before { top: auto; bottom: -6px; }
  .tabbar a.tab90 .bubble { width: 32px; height: 32px; margin: 0; font-size: 12px; border: 0; }
  .tabbar .count { top: -2px; left: auto; right: -4px; }
  .tabbar a.tab-acc { display: flex; }
  .s11-side { padding: 14px; border-color: color-mix(in srgb, var(--brand) 35%, transparent); }
  .s11-side .side-h, .p2p-side .side-h { margin: 0 0 8px; }
  .p2p-side { padding: 14px; }
  .p2p-how { margin-top: 12px; }
  .p2p-side-l { margin-top: 6px; }
  .p2p-side-l li { padding: 0; }
  .p2p-side-l a { display: flex; flex-direction: column; gap: 2px; width: 100%; min-width: 0; padding: 8px 0; color: var(--text); text-decoration: none; }
  .p2p-side-l a > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .p2p-side-l .t { font-weight: 700; }
  .layout { display: grid; grid-template-columns: 240px minmax(0, 1fr) 360px; gap: 20px; max-width: 1400px; margin: 0 auto; padding: 16px 20px 0; align-items: start; }
  .only-mob { display: none; }
  .only-desk { display: inline; }
  .col-left, .col-right { display: block; align-self: start; position: sticky; top: calc(var(--top) + var(--tb) + 16px); max-height: calc(100vh - var(--top) - var(--tb) - 32px); overflow: auto; }
  #main { padding: 0 0 40px; }
  .foot { padding: 16px; }
  .slipbar { display: none !important; }
  .chips, .rail, .tabs { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
  .room-card { flex-basis: 260px; }
  .side-leagues a { display: flex; justify-content: space-between; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 14px; }
  .side-leagues a:hover, .side-leagues a[aria-current="true"] { background: var(--card-2); }
  /* "Ligas" e os painéis laterais (Super11, 1x1): rótulos (não são títulos da página); o cupom tem cabeçalho próprio (v2.css .slip-h) */
  .side-h { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin: 6px 12px 8px; }
  .toasts { left: auto; right: 20px; width: 360px; }
  .sheet { left: 50%; right: auto; bottom: auto; top: 50%; transform: translate(-50%, -50%); width: 440px; border-radius: 18px; border: 1px solid var(--line); animation: fade .15s; }
  .sheet .grab { display: none; }
  /* jogos em linha única (~56px): horário | times | 1 X 2 | links; no celular continuam em cards */
  .ev { display: grid; grid-template-columns: 72px minmax(0, 1fr) 204px; align-items: center; gap: 8px; padding: 6px 10px; margin-bottom: 6px; min-height: 56px; }
  .ev-head { flex-direction: column-reverse; align-items: flex-start; justify-content: center; gap: 0; min-width: 0; min-height: 0; font-size: 11px; line-height: 1.2; }
  .ev-head > span:first-child { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ev-head > span:empty { display: none; }
  .ev-teams { padding: 0; min-width: 0; }
  .ev .team-row { min-height: 22px; font-size: 14px; }
  .ev .crest { width: 18px; height: 18px; flex-basis: 18px; font-size: 8px; }
  .ev .odd { min-height: 40px; padding: 2px 4px; }
  .ev .odd .lb { font-size: 11px; -webkit-line-clamp: 1; line-clamp: 1; }
  .ev .odd .pr { font-size: 15px; }
  .ev-foot { display: none; }
  .sim-actions { grid-template-columns: 1fr 1fr; }
  :is(#h-live, #h-list, #lv, #lv-next) .sk.ev { height: 56px; } /* esqueleto da linha de jogo */
  .slip-desk .promo { box-shadow: none; padding: 12px; }
}
/* 1024 a 1279px: colunas laterais mais estreitas para a linha do jogo caber; os links do card (Soccer90, mercados) entram a partir de 1280px */
@media (min-width: 1024px) and (max-width: 1279px) {
  .layout { grid-template-columns: 200px minmax(0, 1fr) 320px; }
}
@media (min-width: 1280px) {
  /* coluna dos links com largura para "PLAY no Soccer90 ›" inteiro (não corta em 1280 nem 1366) */
  .ev { grid-template-columns: 84px minmax(0, 1fr) 204px 132px; gap: 12px; padding: 6px 12px; }
  .ev-foot { display: flex; margin: 0; flex-direction: column; align-items: flex-end; justify-content: center; gap: 0; min-width: 132px; }
  .ev-foot a { min-height: 22px; font-size: 12px; white-space: nowrap; }
  .ev-foot > span:empty { display: none; }
}

/* ---------- campo virtual (pitch.js) ---------- */
.pt-card { margin-top: 12px; padding: 10px; }
.pt { max-width: 720px; margin-inline: auto; }
.pt-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 40px; padding: 0 2px 6px; background: none; border: 0; font-weight: 800; font-size: 15px; }
.pt-toggle[aria-expanded="false"] .pt-chev { transform: rotate(-90deg); }
.pt-chev { transition: transform .2s; color: var(--muted); }
.pt-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin-bottom: 8px; }
.pt-team { display: inline-flex; align-items: center; gap: 4px; justify-self: start; max-width: 100%; padding: 3px 8px; border-radius: 999px;
  background: var(--tc); color: var(--ti); box-shadow: inset 0 0 0 1.5px var(--ts); font-size: 13px; letter-spacing: .02em; }
.pt-team.away { justify-self: end; }
.pt-dir { font-size: 10px; opacity: .85; }
.pt-mid { display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.pt-score { font-size: 20px; font-weight: 800; }
.pt-vs { font-weight: 800; color: var(--muted); }
.pt-clock { font-size: 12px; color: var(--muted); }
.pt-clock.live { color: var(--live); font-weight: 700; }
.pt-field { position: relative; border-radius: 8px; overflow: hidden; line-height: 0; }
.pt-field svg { display: block; width: 100%; height: auto; aspect-ratio: 110 / 70; }
.pt-field [data-zone] { transition: opacity .3s, x .2s; }
.pt-field [data-halo] { transform-box: fill-box; transform-origin: center; animation: pt-pulse 1.4s ease-in-out infinite; }
@keyframes pt-pulse { 50% { transform: scale(1.35); opacity: .2; } }
.pt.goal [data-flash] { animation: pt-flash 3s ease-out; }
@keyframes pt-flash { 0%, 30%, 60% { opacity: .55; } 15%, 45% { opacity: .15; } 100% { opacity: 0; } }
.pt-balloon { position: absolute; z-index: 2; transform: translate(-50%, calc(-100% - 12px)); max-width: 62%; padding: 5px 9px; border-radius: 10px; line-height: 1.2;
  background: color-mix(in srgb, var(--bg) 90%, transparent); border: 1.5px solid var(--bc, var(--text)); color: var(--text); font-size: 12px; text-align: center; pointer-events: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .35); }
.pt-balloon.below { transform: translate(-50%, 14px); }
.pt-balloon b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-balloon small { display: block; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-balloon.big { background: var(--bc); color: var(--bi); border-color: var(--text); }
.pt-balloon.big b { font-size: 17px; }
.pt-balloon.big small { color: inherit; opacity: .85; }
.pt-msg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; max-width: 86%; padding: 8px 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 82%, transparent); color: var(--text); font-weight: 800; font-size: 15px; line-height: 1.25; text-align: center; }
.pt-msg.soft { font-weight: 600; font-size: 13px; }
.pt-note { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 4px 8px; background: color-mix(in srgb, var(--bg) 70%, transparent); line-height: 1.3; text-align: center; }
.pt.ht [data-ball], .pt.ht [data-trail] { opacity: .35; }
.pt-stats { display: grid; gap: 10px; margin-top: 10px; }
.pt-bar-h { display: grid; grid-template-columns: 48px 1fr 48px; font-size: 12px; color: var(--muted); text-align: center; margin-bottom: 3px; }
.pt-bar-h b { color: var(--text); text-align: left; }
.pt-bar-h b:last-child { text-align: right; }
.pt-bar-t { display: flex; height: 7px; border-radius: 4px; overflow: hidden; background: var(--line); gap: 2px; }
.pt-bar-t i { display: block; height: 100%; transition: width .4s; }
.pt-mom svg { display: block; width: 100%; height: 34px; margin-top: 2px; }
.pt-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.pt-c { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; font-size: 11px; color: var(--muted); text-align: center; }
.pt-c > span:first-child { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-c-n { display: inline-flex; align-items: center; gap: 4px; }
.pt-c-n b { min-width: 22px; padding: 1px 5px; border-radius: 6px; font-size: 13px; line-height: 1.35; }
.pt-c-n i { font-style: normal; color: var(--muted); }
.pt-list { margin-top: 8px; border-top: 1px solid var(--line); }
.pt-list summary { min-height: 40px; display: flex; align-items: center; cursor: pointer; font-weight: 700; font-size: 14px; }
.pt-list ol { list-style: none; margin: 0; padding: 0; }
.pt-list li { display: flex; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.pt-list li:last-child { border-bottom: 0; }
.pt-list .min { width: 40px; flex: none; color: var(--muted); font-weight: 700; }
.pt-list .ic { width: 20px; flex: none; text-align: center; }
.pt-dot { width: 8px; height: 8px; border-radius: 50%; margin-left: auto; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); }
.pt.compact .pt-score { font-size: 17px; }
.pt.compact .pt-balloon { font-size: 11px; }
/* campo estreito: o último lance fica numa faixa no rodapé do campo, não num balão solto */
.pt-field { container-type: inline-size; }
@container (max-width: 480px) {
  .pt-balloon, .pt-balloon.below { left: 0 !important; right: 0; top: auto !important; bottom: 0; max-width: none; transform: none; border-radius: 0; border-width: 1px 0 0;
    display: flex; align-items: baseline; gap: 8px; padding: 4px 8px; text-align: left; background: color-mix(in srgb, var(--bg) 82%, transparent); box-shadow: none; }
  .pt-balloon b, .pt-balloon.big b { font-size: 13px; flex: none; max-width: 55%; }
  .pt-balloon small { min-width: 0; }
  .pt-balloon.big { background: var(--bc); }
}
/* página do jogo: campo baixo (até ~200px de gramado no celular, ~280px no desktop), na mesma proporção */
.ev-pt .pt-field { max-width: calc(200px * 110 / 70); margin-inline: auto; }
.pt-more-btn { display: block; margin: 6px auto 0; min-height: 36px; padding: 0 14px; background: none; border: 0; color: var(--muted); font-weight: 700; font-size: 13px; }
.pt.has-more:not(.more-open) .pt-stats { display: none; }
/* linha "Resultado final" logo abaixo do placar, compacta */
.mkt-quick { margin-top: 10px; margin-bottom: 0; padding: 8px 10px; }
.mkt-quick h3 { margin-bottom: 6px; font-size: 13px; }
.mkt-quick .odd { min-height: 42px; }
@media (min-width: 1024px) {
  .ev-pt .pt-field { max-width: calc(280px * 110 / 70); }
  .pt.has-more .pt-more-btn { display: none; }
  .pt.has-more:not(.more-open) .pt-stats { display: grid; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- versão de testes para convidados ---------- */
@media (max-width: 400px) { .testbar { font-size: 11px; padding-left: 6px; padding-right: 6px; } .testbar .tb-x { display: none; } }
.test-aviso { margin: 10px 0 0; padding: 8px 10px; border-radius: 10px; background: color-mix(in srgb, var(--brand) 8%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); color: var(--brand); font-size: 13px; font-weight: 700; text-align: center; }
.lg-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.lg-code .cd { font-size: 30px; font-weight: 900; letter-spacing: 6px; color: var(--brand); font-variant-numeric: tabular-nums; line-height: 1.1; }
.lg-code .btn { flex: 1 0 auto; }
.bv-valor { font-size: 34px; font-weight: 900; color: var(--brand); text-align: center; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
