/* QueresApostar.pt · folha de estilos única (site + prognósticos)
   Mobile first: a base é o telemóvel; os @media só acrescentam. */

/* Letras alojadas no próprio site (sem pedidos ao Google Fonts) */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'Inter'; font-style: italic; font-display: swap; font-weight: 100 900; src: url('/fonts/inter-latin-wght-italic.woff2') format('woff2-variations'); }
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-display: swap; font-weight: 700 900; src: url('/fonts/big-shoulders-display-latin-wght-normal.woff2') format('woff2-variations'); }

:root {
  --noite: #070b16;          /* cabeçalho e rodapé */
  --noite-2: #0e1526;
  --relva: #22c55e;          /* verde de destaque */
  --relva-escura: #16a34a;
  --relva-clara: rgba(34, 197, 94, .1);
  --ouro: #facc15;           /* estrelas e odds */
  --fundo: #0b1020;
  --papel: #121a2c;          /* cartões */
  --papel-2: #18213a;
  --tinta: #f4f6fb;          /* títulos */
  --texto: #c5cede;          /* texto corrido */
  --suave: #8f9bb3;
  --linha: #232e48;
  --alerta: #f87171;
  --letra: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --titulos: 'Anton', 'Bebas Neue', 'Arial Narrow', sans-serif;
  --coluna: 720px;
  --largo: 1160px;
  --margem: 16px;
  --raio: 12px;
  --sombra: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--fundo); color: var(--texto); font-family: var(--letra); font-size: 16px; line-height: 1.55; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--relva); }
a:hover { color: var(--relva-escura); }
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 2px; }
.contentor { width: 100%; max-width: var(--largo); margin: 0 auto; padding: 0 var(--margem); }
svg.ic { width: 16px; height: 16px; flex: none; vertical-align: -3px; }

/* ---------- Faixa de confiança + cabeçalho ---------- */
.confianca { background: #072219; color: #a9c7b9; font-size: 12.5px; }
.confianca .contentor { display: flex; gap: 14px; justify-content: center; padding-top: 7px; padding-bottom: 7px; white-space: nowrap; overflow: hidden; }
.confianca span { display: inline-flex; align-items: center; gap: 5px; }
.confianca span + span { display: none; }
.confianca .aviso-idade { display: inline-flex; }
.aviso-idade b { padding: 1px 6px; border: 1px solid currentColor; border-radius: 999px; font-size: 11px; font-weight: 800; }
.aviso-idade i { display: none; font-style: normal; }
.cabecalho { background: var(--noite); position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.cabecalho .contentor { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.marca { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-stretch: 110%; font-size: 20px; letter-spacing: -.01em; color: #fff; text-decoration: none; white-space: nowrap; }
.marca:hover { color: #fff; }
.marca-simbolo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--ouro); color: var(--noite); font-size: 15px; font-weight: 900; font-stretch: 100%; }
.marca b { color: #7fe0a8; font-weight: 800; }
.nav-largo { display: none; }
.navegacao summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; background: rgba(255, 255, 255, .1); color: #fff; font-weight: 600; font-size: 15px; }
.navegacao summary::-webkit-details-marker { display: none; }
.navegacao[open] summary { background: rgba(255, 255, 255, .2); }
.navegacao ul { list-style: none; margin: 0; padding: 6px var(--margem) 14px; position: absolute; left: 0; right: 0; top: 60px; background: var(--noite); border-top: 1px solid rgba(255, 255, 255, .08); }
.navegacao li a { display: flex; justify-content: space-between; padding: 14px 2px; font-size: 17px; font-weight: 600; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.navegacao li:last-child a { border-bottom: 0; }
.navegacao a[aria-current='page'] { color: #7fe0a8; }

/* ---------- Topo de cada página ---------- */
.topo { position: relative; background: var(--noite); color: #d5e6dd; padding: 18px 0 30px; overflow: hidden; }
.topo::before { /* marcações de campo, muito discretas */
  content: ''; position: absolute; right: -120px; top: -60px; width: 420px; height: 420px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .06); box-shadow: 0 0 0 80px rgba(255, 255, 255, .015);
}
.topo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, .06); }
.topo .contentor { position: relative; z-index: 1; }
.migalhas { font-size: 13px; color: #9fbcaf; margin: 0 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.migalhas a { color: #cfe3d8; text-decoration: none; }
.migalhas a:hover { color: #fff; text-decoration: underline; }
.titulo-pagina { font-weight: 800; font-stretch: 104%; font-size: 30px; line-height: 1.12; letter-spacing: -.02em; color: #fff; margin: 0 0 14px; max-width: 22ch; text-wrap: balance; }
.autoria { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 14px; color: #b9d2c5; }
.autor-chip { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-weight: 600; }
.autor-chip i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--relva); color: #fff; font-style: normal; font-size: 12px; font-weight: 800; }
.selo { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(127, 224, 168, .12); color: #9ee6bd; font-size: 13px; font-weight: 600; }

/* Destaques no topo da homepage */
.podio { display: grid; gap: 10px; margin-top: 22px; }
.podio-casa { display: grid; grid-template-columns: 92px 1fr; gap: 4px 14px; align-items: center; background: var(--papel); border-radius: 12px; padding: 12px 14px; color: var(--tinta); text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.podio-casa:hover { color: var(--tinta); transform: translateY(-1px); }
.podio-logo { grid-row: span 2; display: grid; place-items: center; height: 52px; border-radius: 8px; background: #f6f7f9; padding: 6px; }
.podio-logo img { max-height: 34px; max-width: 80%; width: auto; object-fit: contain; }
.podio-casa strong { font-size: 15px; font-weight: 700; line-height: 1.25; }
.podio-casa span { font-size: 13px; font-weight: 700; color: var(--relva); }

/* ---------- Corpo: coluna + barra lateral ---------- */
.corpo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 22px; }
.lateral { display: none; }
.indice-movel { background: var(--papel); border: 1px solid var(--linha); border-radius: 12px; margin: 0 0 20px; }
.indice-movel summary { cursor: pointer; list-style: none; padding: 14px 16px; font-weight: 700; color: var(--tinta); display: flex; justify-content: space-between; }
.indice-movel summary::-webkit-details-marker { display: none; }
.indice-movel summary::after { content: '+'; font-size: 20px; line-height: 1; color: var(--relva); }
.indice-movel[open] summary::after { content: '−'; }
.indice ol { list-style: none; margin: 0; padding: 0 16px 14px; counter-reset: i; }
.indice li { counter-increment: i; border-top: 1px solid var(--linha); }
.indice a { display: flex; gap: 10px; padding: 10px 0; font-size: 15px; line-height: 1.35; color: var(--texto); text-decoration: none; }
.indice a::before { content: counter(i); flex: none; min-width: 22px; white-space: nowrap; font-weight: 700; color: var(--relva); }
.indice a:hover { color: var(--relva); }

/* ---------- Texto ---------- */
.artigo { font-size: 17px; line-height: 1.7; color: var(--texto); min-width: 0; }
.artigo > :first-child { margin-top: 0; }
.artigo p { margin: 0 0 18px; }
.artigo .lead { font-size: 19px; line-height: 1.6; color: var(--tinta); }
.artigo h2, .artigo h3, .artigo h4 { color: var(--tinta); text-wrap: balance; }
.artigo h2 { font-weight: 800; font-stretch: 104%; font-size: 24px; line-height: 1.2; letter-spacing: -.015em; margin: 44px 0 14px; padding-top: 4px; }
.artigo h3 { font-weight: 700; font-size: 19px; line-height: 1.3; margin: 30px 0 8px; }
.artigo h4 { font-weight: 700; font-size: 17px; margin: 22px 0 6px; }
.artigo ul, .artigo ol { margin: 0 0 20px; padding-left: 22px; }
.artigo li { margin-bottom: 8px; }
.artigo li::marker { color: var(--relva); font-weight: 700; }
.artigo a:not(.botao):not(.btn) { color: var(--relva); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.artigo strong { color: var(--tinta); font-weight: 700; }
.artigo hr { border: 0; height: 1px; background: var(--linha); margin: 34px 0; }
.artigo blockquote { margin: 26px 0; padding: 14px 18px; background: var(--papel); border-left: 4px solid var(--relva); border-radius: 0 12px 12px 0; color: var(--tinta); }
.artigo figure { margin: 24px 0; }
.artigo figcaption { font-size: 14px; color: var(--suave); margin-top: 6px; }
.artigo img { display: block; margin: 18px auto; border-radius: 12px; }
.artigo .centro { text-align: center; }
.artigo .nota-pequena { font-size: 14px; line-height: 1.55; color: var(--suave); }
.artigo .realce { font-weight: 800; font-size: 21px; line-height: 1.3; color: var(--tinta); }
.artigo .oferta-titulo { font-weight: 700; font-size: 16px; color: var(--tinta); margin: 26px 0 -6px; }

/* Caixas */
.artigo .caixa { position: relative; background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); padding: 18px 18px 2px 18px; margin: 26px 0; box-shadow: var(--sombra); }
.artigo .caixa::before { content: ''; position: absolute; left: -1px; top: 16px; bottom: 16px; width: 4px; border-radius: 0 4px 4px 0; background: var(--relva); }
.artigo .caixa > :last-child { margin-bottom: 16px; }
.artigo .caixa-titulo, .artigo .caixa-titulo strong { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; color: var(--relva-escura); margin: 0 0 6px; }
.artigo .caixa-titulo::before { content: ''; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--relva) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M8.6 13.6 5 10l1.4-1.4 2.2 2.2 5-5L15 7.2z'/%3E%3C/svg%3E") center/14px no-repeat; }
.artigo .caixa h2 { margin-top: 0; font-size: 20px; }
.artigo .caixa h3, .artigo .caixa h4 { margin-top: 0; }
.artigo .cartoes { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 22px 0; }
.artigo .cartao { background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); padding: 18px 18px 2px; box-shadow: var(--sombra); }
.artigo .cartao > :last-child { margin-bottom: 16px; }
.artigo .cartao h3, .artigo .cartao h4 { margin-top: 0; }

/* Botões */
.botao, .artigo .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 10px; background: var(--relva); color: #fff !important; font-family: var(--letra); font-weight: 700; font-size: 16px; line-height: 1.2; text-align: center; text-decoration: none !important; box-shadow: 0 2px 0 var(--relva-escura); }
.botao:hover, .artigo .btn:hover { background: var(--relva-escura); }
.artigo .btn { margin: 4px 0 18px; }
.ligacao-seta { font-weight: 700; font-size: 15px; text-decoration: none; }

/* Tabelas: no telemóvel cada linha é um cartão */
.artigo table { width: 100%; border-collapse: collapse; margin: 22px 0 26px; font-size: 15px; line-height: 1.45; }
.artigo .tabela-scroll { margin: 22px 0 26px; }
.artigo .tabela-scroll table { margin: 0; }
.artigo thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.artigo table, .artigo tbody, .artigo tr, .artigo td, .artigo th { display: block; }
.artigo tr { background: var(--papel); border: 1px solid var(--linha); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; box-shadow: var(--sombra); }
.artigo td, .artigo tbody th { padding: 5px 0; border: 0; text-align: left; color: var(--texto); }
.artigo td:first-child, .artigo tbody th:first-child { font-weight: 800; font-size: 17px; color: var(--tinta); padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--linha); }
.artigo td[data-titulo]:not(:first-child) { display: block; text-align: right; overflow: hidden; }
.artigo td[data-titulo]:not(:first-child)::before { content: attr(data-titulo); float: left; width: 42%; margin-right: 14px; text-align: left; font-size: 14px; color: var(--suave); }
.artigo td[data-titulo]:not(:first-child):has(> .btn)::before { content: none; }
.artigo td[data-titulo]:not(:first-child):has(> .btn) .btn { display: flex; width: 100%; }
.artigo table.numerada td:first-child { display: none; }
.artigo table.numerada td:nth-child(2) { display: block; font-weight: 800; font-size: 17px; color: var(--tinta); padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--linha); }
.artigo table.numerada td:nth-child(2)::before { content: none !important; }

/* FAQ */
.artigo details { background: var(--papel); border: 1px solid var(--linha); border-radius: 12px; margin: 0 0 10px; }
.artigo summary { cursor: pointer; list-style: none; position: relative; padding: 15px 44px 15px 16px; font-weight: 700; font-size: 16.5px; line-height: 1.4; color: var(--tinta); }
.artigo summary::-webkit-details-marker { display: none; }
.artigo summary::after { content: ''; position: absolute; right: 18px; top: 21px; width: 8px; height: 8px; border-right: 2px solid var(--relva); border-bottom: 2px solid var(--relva); transform: rotate(45deg); transition: transform .15s; }
.artigo details[open] summary::after { transform: rotate(-135deg); top: 25px; }
.artigo details > :not(summary) { margin: 0 16px 14px; }

/* Calculadoras */
.artigo label { display: block; font-weight: 600; font-size: 15px; margin: 12px 0 4px; }
.artigo input, .artigo select { font: 16px var(--letra); width: 100%; max-width: 260px; min-height: 46px; padding: 8px 12px; border: 1px solid #c3ccd5; border-radius: 10px; background: var(--papel); color: var(--tinta); }

/* ---------- Ranking ---------- */
.ranking { margin: 24px 0 30px; }
.ranking-titulo { font-weight: 800; font-size: 24px; color: var(--tinta); margin: 0 0 14px; }
.artigo .casas, .casas { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.artigo .casa, .casa { position: relative; margin: 0; background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); box-shadow: var(--sombra); overflow: hidden; }
.casa.destaque { border: 2px solid var(--relva); }
.casa-fita { display: block; background: var(--relva); color: #fff; font-size: 13px; font-weight: 700; padding: 5px 14px; }
.casa-cima { display: grid; grid-template-columns: 34px 108px 1fr; gap: 12px; align-items: center; padding: 14px 14px 10px; }
.casa-pos { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--fundo); color: var(--tinta); font-weight: 800; font-size: 15px; }
.casa-logo { display: grid; place-items: center; height: 56px; border: 1px solid var(--linha); border-radius: 10px; padding: 6px 8px; background: #fff; }
.casa-logo img { max-height: 42px; width: auto; margin: 0; border-radius: 0; object-fit: contain; }
.casa-nome { display: block; font-weight: 800; font-size: 18px; line-height: 1.2; color: var(--tinta); }
.casa-nota { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--suave); }
.estrelas { --p: 90%; position: relative; display: inline-block; white-space: nowrap; font-size: 15px; letter-spacing: 1px; line-height: 1; color: #d8dde3; }
.estrelas::before { content: '★★★★★'; }
.estrelas::after { content: '★★★★★'; position: absolute; left: 0; top: 0; width: var(--p); overflow: hidden; color: var(--ouro); }
.casa-nota b { color: var(--tinta); }
.casa-meio { padding: 0 14px 12px; }
.casa-oferta { margin: 0 0 8px; font-weight: 800; font-size: 19px; line-height: 1.3; color: var(--relva-escura); }
.casa-codigo { display: inline-block; margin-left: 4px; padding: 1px 8px; border: 1.5px dashed var(--relva); border-radius: 6px; font-size: 14px; font-weight: 700; color: var(--relva-escura); vertical-align: 2px; }
.artigo .casa-pontos, .casa-pontos { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 1.4; color: var(--texto); }
.artigo .casa-pontos li, .casa-pontos li { display: flex; gap: 8px; margin: 0 0 5px; }
.casa-pontos svg { color: var(--relva); margin-top: 2px; }
.casa-baixo { display: grid; gap: 8px; padding: 0 14px 14px; }
.casa-baixo .botao { width: 100%; }
.casa-baixo .ligacao-seta { text-align: center; }
.casa-tc { background: #f7f8fa; border-top: 1px solid var(--linha); padding: 8px 14px; font-size: 12.5px; color: var(--suave); }

/* Uma oferta: [oferta betano] */
.oferta-unica { display: grid; grid-template-columns: 100px 1fr; gap: 10px 14px; align-items: center; background: var(--papel); border: 2px solid var(--relva); border-radius: var(--raio); padding: 14px; margin: 22px 0; box-shadow: var(--sombra); }
.oferta-unica .casa-logo { height: 52px; }
.oferta-unica p { margin: 0; }
.oferta-unica .botao { grid-column: 1 / -1; }
.oferta-unica .tc { grid-column: 1 / -1; font-size: 12.5px; color: var(--suave); }

/* Ficha no topo das análises */
.ficha { display: grid; grid-template-columns: 110px 1fr; gap: 12px 14px; align-items: center; background: var(--papel); border-radius: var(--raio); padding: 16px; margin: -50px 0 24px; position: relative; z-index: 2; box-shadow: 0 8px 24px rgba(11, 51, 38, .14); }
.ficha .casa-logo { height: 60px; }
.ficha-oferta { margin: 0; font-weight: 800; font-size: 18px; line-height: 1.3; color: var(--relva-escura); }
.ficha .casa-nota { margin-top: 4px; }
.ficha .botao { grid-column: 1 / -1; }
.ficha .tc { grid-column: 1 / -1; margin: 0; font-size: 12.5px; color: var(--suave); }
.topo.com-ficha { padding-bottom: 66px; }

/* Barra lateral (desktop) */
.lateral-caixa { background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); padding: 16px; box-shadow: var(--sombra); }
.lateral-caixa + .lateral-caixa { margin-top: 16px; }
.lateral-titulo { font-weight: 800; font-size: 15px; color: var(--tinta); margin: 0 0 10px; }
.lateral .indice ol { padding: 0; max-height: 46vh; overflow-y: auto; }
.lateral .casa-logo { height: 60px; margin-bottom: 10px; }
.lateral .casa-oferta { font-size: 17px; }
.lateral .botao { width: 100%; margin-top: 10px; }

/* Próximos prognósticos */
.jornada { background: var(--noite); color: #d5e6dd; padding: 34px 0 38px; margin-top: 44px; }
.jornada h2 { color: #fff; font-weight: 800; font-size: 24px; margin: 0 0 6px; }
.jornada p { margin: 0 0 18px; }
.jornada-lista { display: grid; gap: 10px; margin-bottom: 18px; }
.jornada-jogo { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 12px 14px; text-decoration: none; color: #fff; }
.jornada-jogo:hover { background: rgba(255, 255, 255, .11); color: #fff; }
.jornada-hora { font-weight: 800; font-variant-numeric: tabular-nums; color: #9ee6bd; }
.jornada-nome { font-weight: 700; line-height: 1.25; }
.jornada-nome small { display: block; font-weight: 400; font-size: 13px; color: #a9c7b9; }
.jornada-odd { background: var(--ouro); color: var(--noite); border-radius: 8px; padding: 4px 9px; font-weight: 800; font-variant-numeric: tabular-nums; }
.jornada .ligacao-seta { color: #9ee6bd; }

/* Fim de cada página */
.fim { display: grid; gap: 12px; margin: 40px 0 0; }
.fim-autor { display: grid; grid-template-columns: 48px 1fr; gap: 14px; background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); padding: 16px; font-size: 15px; line-height: 1.6; }
.fim-autor i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--noite); color: #fff; font-style: normal; font-weight: 800; }
.fim-autor p { margin: 0; }
.fim-autor strong { display: block; color: var(--tinta); }
.fim-responsavel { display: flex; gap: 12px; align-items: flex-start; background: #fff6f4; border: 1px solid #f3d3cd; border-radius: var(--raio); padding: 14px 16px; font-size: 14px; line-height: 1.55; color: #5b2a24; margin: 0; }
.idade { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--alerta); color: var(--alerta); font-weight: 800; font-size: 12px; }

/* ---------- Rodapé ---------- */
.rodape { background: #072219; color: #a9c7b9; margin-top: 56px; padding: 38px 0 26px; font-size: 15px; }
.rodape .contentor { display: grid; gap: 26px; }
.rodape p { margin: 12px 0 0; max-width: 44ch; line-height: 1.6; }
.rodape nav h2 { font-size: 14px; font-weight: 700; color: #fff; margin: 0 0 10px; }
.rodape nav ul { list-style: none; margin: 0; padding: 0; }
.rodape nav li { margin: 0 0 8px; }
.rodape a { color: #c6dbd0; text-decoration: none; }
.rodape a:hover { color: #fff; text-decoration: underline; }
.rodape .direitos { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #86a596; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 18px; margin: 0; max-width: none; }
.rodape .idade { border-color: #e06b5f; color: #f2a59c; }

/* ---------- Página de prognósticos (gerar_index.py) ---------- */
.artigo.prog .conta { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--tinta); margin: 0 0 18px; }
.artigo.prog .conta strong { color: var(--relva); }
.artigo.prog .pulse { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.artigo.prog .atualizado { display: none; }
.artigo.prog a.strip { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; background: var(--papel); border: 2px solid var(--relva); border-radius: var(--raio); padding: 12px 14px; margin: 0 0 26px; text-decoration: none; color: var(--tinta); box-shadow: var(--sombra); }
.artigo.prog .strip-brand { font-weight: 800; font-size: 17px; }
.artigo.prog .strip-txt { display: block; grid-column: 1; }
.artigo.prog .strip-lbl { display: none; }
.artigo.prog .strip-oferta { font-size: 15px; font-weight: 600; color: var(--relva-escura); }
.artigo.prog .strip-btn { grid-column: 2; grid-row: 1 / span 2; background: var(--relva); color: #fff; border-radius: 10px; padding: 12px 16px; font-weight: 700; }
.artigo.prog h3.dia { font-size: 15px; font-weight: 600; color: var(--suave); margin: 26px 0 10px; }
.artigo.prog h3.dia strong { color: var(--tinta); }
.artigo.prog .cards { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 10px; }
.artigo.prog .card { margin: 0; padding: 0; }
.artigo.prog .card a { display: block; background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); padding: 14px; color: var(--tinta); text-decoration: none; font-weight: 400; box-shadow: var(--sombra); }
.artigo.prog .card a:hover { border-color: var(--relva); }
.artigo.prog .card-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--suave); margin-bottom: 8px; }
.artigo.prog .card-comp { font-weight: 700; color: var(--relva-escura); }
.artigo.prog .card-teams { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-weight: 800; font-size: 19px; line-height: 1.2; margin-bottom: 10px; }
.artigo.prog .card-teams .x { font-weight: 500; font-size: 13px; color: var(--suave); }
.artigo.prog .card-tip { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--relva-clara); border-radius: 10px; padding: 8px 10px; font-size: 15px; }
.artigo.prog .card-tip .odd { background: var(--ouro); border-radius: 7px; padding: 2px 8px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--noite); }
.artigo.prog .card-baixo { margin-top: 10px; font-weight: 700; font-size: 15px; color: var(--relva); }
.artigo.prog .vazio { background: var(--papel); border: 1px dashed #c3ccd5; border-radius: var(--raio); padding: 22px; text-align: center; }
.artigo.prog .vazio-ico { display: none; }
.artigo.prog .aviso, .artigo.prog .autor { background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); padding: 14px 16px; margin: 22px 0; font-size: 15px; }
.artigo.prog .autor strong { display: block; color: var(--tinta); }
.artigo.prog .autor p { margin: 0; }
.artigo.prog .guias { display: grid; gap: 10px; margin: 0 0 20px; }
.artigo.prog a.guia { display: block; background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); padding: 14px; font-weight: 700; font-size: 16px; color: var(--tinta); text-decoration: none; box-shadow: var(--sombra); }
.artigo.prog a.guia span { display: block; font-weight: 400; font-size: 14px; color: var(--suave); }
.artigo.prog a.guia:hover { border-color: var(--relva); }
.artigo.prog .offers { display: grid; gap: 12px; margin: 0 0 20px; }
.artigo.prog .offer { background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); padding: 16px; box-shadow: var(--sombra); }
.artigo.prog .offer-top { border: 2px solid var(--relva); }
.artigo.prog .offer-badges { margin-bottom: 8px; }
.artigo.prog .best { display: inline-block; background: var(--relva); color: #fff; border-radius: 6px; padding: 3px 9px; font-size: 13px; font-weight: 700; }
.artigo.prog .brand { display: block; font-weight: 800; font-size: 19px; color: var(--tinta); }
.artigo.prog .offer-title { margin: 2px 0 10px; font-weight: 700; font-size: 16px; color: var(--relva-escura); }
.artigo.prog .benefits { list-style: none; margin: 0 0 14px; padding: 0; font-size: 15px; }
.artigo.prog .benefits li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.artigo.prog .benefits li::before { content: ''; position: absolute; left: 3px; top: 5px; width: 6px; height: 11px; border-right: 2.5px solid var(--relva); border-bottom: 2.5px solid var(--relva); transform: rotate(45deg); }
.artigo.prog a.offer-btn { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 10px; background: var(--relva); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 2px 0 var(--relva-escura); }
.artigo.prog a.offer-btn:hover { background: var(--relva-escura); color: #fff; }
.artigo.prog .offer-tc { font-size: 12.5px; color: var(--suave); margin: 8px 0 0; }
.artigo.prog .faq { background: var(--papel); border: 1px solid var(--linha); border-radius: 12px; padding: 14px 16px; margin: 0 0 10px; }
.artigo.prog .faq h3 { margin: 0 0 6px; font-size: 16.5px; }
.artigo.prog .faq p { margin: 0; font-size: 16px; }
.artigo.prog .tbl td:first-child { border-bottom: 1px solid var(--linha); }

/* ---------- Ecrãs maiores ---------- */
@media (min-width: 560px) {
  .confianca span + span { display: inline-flex; }
  .aviso-idade b { display: none; }
  .aviso-idade i { display: inline; }
  .podio { grid-template-columns: repeat(3, 1fr); }
  .podio-casa { grid-template-columns: 1fr; text-align: left; }
  .podio-logo { grid-row: auto; height: 56px; }
}
@media (min-width: 760px) {
  :root { --margem: 28px; }
  .topo { padding: 26px 0 40px; }
  .topo.com-ficha { padding-bottom: 80px; }
  .titulo-pagina { font-size: 42px; }
  .artigo { font-size: 18px; }
  .artigo .lead { font-size: 20px; }
  .artigo h2, .ranking-titulo { font-size: 29px; }
  .artigo h3 { font-size: 21px; }
  .artigo .caixa, .artigo .cartao { padding: 22px 24px 4px; }
  .artigo .cartoes { grid-template-columns: repeat(2, 1fr); }

  .artigo table { display: table; background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); border-collapse: separate; border-spacing: 0; overflow: hidden; box-shadow: var(--sombra); }
  .artigo thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: table-header-group; }
  .artigo tbody { display: table-row-group; }
  .artigo tr { display: table-row; padding: 0; margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .artigo tbody tr:nth-child(even) { background: #f8fafb; }
  .artigo th, .artigo td, .artigo td[data-titulo]:not(:first-child) { display: table-cell; padding: 12px 14px; border-bottom: 1px solid var(--linha); vertical-align: top; }
  .artigo td[data-titulo]:not(:first-child) { text-align: inherit; }
  .artigo td.centro[data-titulo]:not(:first-child) { text-align: center; }
  .artigo td[data-titulo]:not(:first-child):has(> .btn) .btn { display: inline-flex; width: auto; }
  .artigo thead th { background: var(--noite); color: #fff; font-weight: 700; font-size: 14px; text-align: left; vertical-align: bottom; border-bottom: 0; }
  .artigo tbody tr:last-child td, .artigo tbody tr:last-child th { border-bottom: 0; }
  .artigo td:first-child, .artigo tbody th:first-child { font-size: 15px; padding-bottom: 12px; margin: 0; border-bottom: 1px solid var(--linha); }
  .artigo td[data-titulo]:not(:first-child)::before { content: none; }
  .artigo table.numerada td:first-child { display: table-cell; color: var(--suave); }
  .artigo table.numerada td:nth-child(2) { display: table-cell; font-size: 15px; padding-bottom: 12px; margin: 0; }

  .casa-cima { grid-template-columns: 34px 130px 1fr; padding: 16px 18px 10px; }
  .casa-meio, .casa-baixo { padding-left: 18px; padding-right: 18px; }
  .casa-baixo { grid-template-columns: auto 1fr; align-items: center; }
  .casa-baixo .botao { width: auto; min-width: 220px; }
  .casa-baixo .ligacao-seta { text-align: left; }
  .ficha { grid-template-columns: 130px 1fr auto; padding: 18px 20px; }
  .ficha .botao { grid-column: auto; }
  .oferta-unica { grid-template-columns: 110px 1fr auto; }
  .oferta-unica .botao { grid-column: auto; }
  .jornada-lista, .artigo.prog .cards, .artigo.prog .offers, .artigo.prog .guias { grid-template-columns: repeat(2, 1fr); }
  .rodape .contentor { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; }
  .rodape .direitos { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .nav-largo { display: flex; gap: 4px; }
  .nav-largo a { padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 15px; color: #d5e6dd; text-decoration: none; }
  .nav-largo a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
  .nav-largo a[aria-current='page'] { background: rgba(255, 255, 255, .12); color: #fff; }
  .navegacao { display: none; }
  .corpo { grid-template-columns: minmax(0, var(--coluna)) 300px; justify-content: space-between; gap: 48px; }
  .indice-movel { display: none; }
  .lateral { display: block; }
  .lateral-fixa { position: sticky; top: 84px; }
  .casa-cima { grid-template-columns: 34px 140px 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }


/* =========================================================
   Tema escuro (linha diadejogo.pt): Anton nos títulos, Inter no texto
   ========================================================= */
body { background: var(--fundo); color: var(--texto); }
.confianca { background: #05080f; color: var(--suave); border-bottom: 1px solid var(--linha); }
.cabecalho { background: rgba(7, 11, 22, .92); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--linha); box-shadow: none; }
.marca { font-family: var(--titulos); font-weight: 400; font-style: italic; font-stretch: normal; font-size: 26px; letter-spacing: .01em; text-transform: uppercase; }
.marca b { color: var(--relva); font-weight: 400; }
.marca-simbolo { display: none; }
.marca-ponto { color: var(--relva); }
.nav-largo a, .navegacao li a { font-family: var(--titulos); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; font-size: 16px; }
.navegacao summary { background: var(--papel); border: 1px solid var(--linha); }
.navegacao ul { background: var(--noite); border-bottom: 1px solid var(--linha); }
.navegacao li a { font-size: 20px; border-bottom-color: var(--linha); }
.navegacao a[aria-current='page'], .nav-largo a[aria-current='page'] { color: var(--relva); background: none; }

.topo { background: linear-gradient(180deg, #0e1526 0%, var(--fundo) 100%); border-bottom: 1px solid var(--linha); }
.topo::before { border-color: rgba(34, 197, 94, .08); box-shadow: 0 0 0 80px rgba(34, 197, 94, .02); }
.titulo-pagina { font-family: var(--titulos); font-weight: 400; font-style: italic; font-stretch: normal; text-transform: uppercase; letter-spacing: -.005em; line-height: 1.02; font-size: 36px; max-width: 24ch; }
.migalhas, .migalhas a { color: var(--suave); }
.autoria { color: var(--suave); }
.autor-chip { color: var(--tinta); }
.autor-chip i { background: var(--relva); color: #04140a; }
.selo { background: var(--relva-clara); color: var(--relva); }

.podio-casa { background: var(--papel); border: 1px solid var(--linha); color: var(--tinta); box-shadow: none; grid-template-columns: 1fr; gap: 2px; }
.podio-casa:hover { border-color: var(--relva); color: var(--tinta); }
.podio-nome { font-family: var(--titulos); font-size: 22px; text-transform: uppercase; color: var(--tinta); line-height: 1.1; }
.podio-casa strong { font-weight: 600; font-size: 15px; color: var(--texto); }
.podio-casa span:last-child { color: var(--relva); }

.indice-movel, .lateral-caixa { background: var(--papel); border-color: var(--linha); box-shadow: none; }
.indice-movel summary, .lateral-titulo { color: var(--tinta); }
.indice li { border-top-color: var(--linha); }
.indice a { color: var(--texto); }
.indice a:hover { color: var(--relva); }

.artigo .lead { color: var(--tinta); }
.artigo h2, .ranking-titulo, .jornada h2 { font-family: var(--titulos); font-weight: 400; font-stretch: normal; text-transform: uppercase; letter-spacing: .005em; line-height: 1.08; color: var(--tinta); }
.artigo h3 { color: var(--tinta); font-weight: 650; }
.artigo strong { color: var(--tinta); }
.artigo a:not(.botao):not(.btn) { color: var(--relva); }
.artigo blockquote { background: var(--papel); }
.artigo hr { background: var(--linha); }
.artigo .caixa, .artigo .cartao { background: var(--papel); border-color: var(--linha); box-shadow: none; }
.artigo .caixa-titulo, .artigo .caixa-titulo strong { color: var(--relva); }
.artigo .caixa-titulo::before { background-color: var(--relva); }
.artigo .realce { font-family: var(--titulos); font-weight: 400; text-transform: uppercase; font-size: 24px; color: var(--tinta); }
.artigo .oferta-titulo { color: var(--tinta); }

.botao, .artigo .btn, .artigo.prog a.offer-btn, .artigo.prog .strip-btn { background: var(--relva); color: #04140a !important; box-shadow: none; font-weight: 800; }
.botao:hover, .artigo .btn:hover, .artigo.prog a.offer-btn:hover { background: #4ade80; color: #04140a !important; }

.artigo tr { background: var(--papel); border-color: var(--linha); box-shadow: none; }
.artigo td:first-child, .artigo tbody th:first-child, .artigo table.numerada td:nth-child(2) { border-bottom-color: var(--linha); color: var(--tinta); }
.artigo td, .artigo tbody th { color: var(--texto); }
.artigo details { background: var(--papel); border-color: var(--linha); }
.artigo summary { color: var(--tinta); }
.artigo input, .artigo select { background: var(--papel-2); border-color: var(--linha); color: var(--tinta); }

/* Ranking: só o nome da casa */
.artigo .casa, .casa { background: var(--papel); border-color: var(--linha); box-shadow: none; }
.casa.destaque { border: 1px solid var(--relva); box-shadow: 0 0 0 1px var(--relva) inset; }
.casa-fita { background: var(--relva); color: #04140a; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 12px; }
.casa-cima { grid-template-columns: 38px 1fr auto; }
.casa-pos { background: var(--papel-2); color: var(--tinta); font-family: var(--titulos); font-weight: 400; font-size: 18px; width: 38px; height: 38px; }
.casa-nome { font-family: var(--titulos); font-weight: 400; text-transform: uppercase; font-size: 26px; line-height: 1; letter-spacing: .01em; color: var(--tinta); }
.casa-perfil { display: block; font-size: 13px; color: var(--suave); margin-top: 2px; }
.casa-nota { flex-direction: column; align-items: flex-end; gap: 2px; }
.casa-nota b { color: var(--tinta); font-size: 18px; }
.estrelas { color: #334058; font-size: 13px; }
.estrelas::after { color: var(--ouro); }
.casa-oferta { font-family: var(--titulos); font-weight: 400; text-transform: uppercase; font-size: 22px; line-height: 1.1; letter-spacing: .01em; color: var(--relva); }
.casa-codigo { font-family: var(--letra); text-transform: none; border-color: var(--relva); color: var(--relva); font-size: 13px; vertical-align: 3px; }
.casa-pontos { color: var(--texto); }
.casa-tc { background: rgba(255, 255, 255, .02); border-top-color: var(--linha); color: var(--suave); }
.ligacao-seta { color: var(--relva); }

.oferta-unica, .ficha { background: var(--papel); border: 1px solid var(--linha); box-shadow: none; grid-template-columns: 1fr; }
.oferta-unica { border-color: var(--relva); }
.ficha-oferta { font-family: var(--titulos); font-weight: 400; text-transform: uppercase; font-size: 24px; line-height: 1.08; color: var(--relva); }
.ficha-nome { font-family: var(--titulos); font-size: 28px; text-transform: uppercase; color: var(--tinta); line-height: 1; margin: 0; }
.ficha .tc, .oferta-unica .tc { color: var(--suave); }
.lateral .casa-oferta { font-size: 20px; }

.jornada { background: var(--noite-2); border-top: 1px solid var(--linha); }
.jornada-jogo { background: var(--papel); border-color: var(--linha); }
.jornada-hora { color: var(--relva); }
.jornada-odd { color: #0b1020; }

.fim-autor { background: var(--papel); border-color: var(--linha); color: var(--texto); }
.fim-autor i { background: var(--relva); color: #04140a; }
.fim-autor strong { color: var(--tinta); }
.fim-responsavel { background: rgba(248, 113, 113, .07); border-color: rgba(248, 113, 113, .25); color: #f1c1bc; }
.idade { border-color: var(--alerta); color: var(--alerta); }

.rodape { background: #05080f; border-top: 1px solid var(--linha); color: var(--suave); }
.rodape a { color: var(--texto); }
.rodape .direitos { border-top-color: var(--linha); color: var(--suave); }

.artigo.prog a.strip, .artigo.prog .card a, .artigo.prog a.guia, .artigo.prog .offer, .artigo.prog .aviso, .artigo.prog .autor, .artigo.prog .faq, .artigo.prog .vazio { background: var(--papel); border-color: var(--linha); box-shadow: none; color: var(--tinta); }
.artigo.prog a.strip, .artigo.prog .offer-top { border-color: var(--relva); }
.artigo.prog .strip-brand, .artigo.prog .brand { font-family: var(--titulos); font-weight: 400; text-transform: uppercase; font-size: 22px; color: var(--tinta); }
.artigo.prog .strip-oferta, .artigo.prog .offer-title { color: var(--relva); }
.artigo.prog .card-teams { font-family: var(--titulos); font-weight: 400; text-transform: uppercase; font-size: 22px; letter-spacing: .01em; }
.artigo.prog .card-comp { color: var(--relva); }
.artigo.prog .card-tip { background: var(--papel-2); color: var(--texto); }
.artigo.prog .card-tip b { color: var(--tinta); }
.artigo.prog .card-tip .odd { color: #0b1020; }
.artigo.prog .best { background: var(--relva); color: #04140a; }
.artigo.prog a.guia span { color: var(--suave); }
.artigo.prog .benefits li { color: var(--texto); }
.artigo.prog .conta, .artigo.prog .conta strong { color: var(--tinta); }

@media (min-width: 760px) {
  .titulo-pagina { font-size: 54px; }
  .artigo h2, .ranking-titulo { font-size: 32px; }
  .artigo tbody tr:nth-child(even) { background: rgba(255, 255, 255, .02); }
  .artigo thead th { background: var(--papel-2); color: var(--tinta); border-bottom: 1px solid var(--linha); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
  .artigo table { background: var(--papel); border-color: var(--linha); box-shadow: none; }
  .artigo th, .artigo td { border-bottom-color: var(--linha); }
  .casa-cima { grid-template-columns: 38px 1fr auto; }
  .ficha, .oferta-unica { grid-template-columns: 1fr auto; }
  .ficha .tc, .oferta-unica .tc { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .casa-cima { grid-template-columns: 38px 1fr auto; }
  .nav-largo a { font-size: 16px; color: var(--texto); }
  .nav-largo a:hover { background: none; color: var(--relva); }
}
.marca { gap: 0; }
.podio-casa .podio-nome { font-family: var(--titulos); font-size: 24px; font-weight: 400; text-transform: uppercase; color: var(--tinta); line-height: 1.05; letter-spacing: .01em; }
.podio-casa strong { color: var(--relva); }
.podio-casa span:last-child { color: var(--texto); font-weight: 600; }

/* =========================================================
   Identidade própria: petróleo + âmbar, Big Shoulders nos títulos
   ========================================================= */
:root {
  --noite: #06100e;
  --noite-2: #0c1a17;
  --fundo: #0a1513;
  --papel: #10201c;
  --papel-2: #162a25;
  --linha: #1f3a33;
  --tinta: #f3f6f4;
  --texto: #c3d0cb;
  --suave: #8aa39b;
  --relva: #f5b82e;          /* âmbar: botões, ligações e destaques */
  --relva-escura: #d99a0f;
  --relva-clara: rgba(245, 184, 46, .1);
  --verde: #34d399;          /* só para confirmações (visto) */
  --ouro: #f5b82e;
  --titulos: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
}
.confianca, .rodape { background: #050c0b; }
.cabecalho { background: rgba(6, 16, 14, .94); }
.topo { background: linear-gradient(180deg, #0f221e 0%, var(--fundo) 100%); }
.topo::before { border-color: rgba(245, 184, 46, .07); box-shadow: 0 0 0 80px rgba(245, 184, 46, .015); }
.marca, .titulo-pagina { font-style: normal; font-weight: 900; letter-spacing: .01em; }
.titulo-pagina { line-height: .98; }
.marca { font-size: 28px; }
.artigo h2, .ranking-titulo, .jornada h2, .casa-nome, .casa-oferta, .ficha-oferta, .podio-casa .podio-nome,
.artigo .realce, .artigo.prog .card-teams, .artigo.prog .strip-brand, .artigo.prog .brand { font-weight: 800; }
.casa-nome, .podio-casa .podio-nome { font-weight: 900; }
.botao, .artigo .btn, .artigo.prog a.offer-btn, .artigo.prog .strip-btn { color: #1a1200 !important; }
.botao:hover, .artigo .btn:hover, .artigo.prog a.offer-btn:hover { background: #ffcf5c; color: #1a1200 !important; }
.casa-fita, .autor-chip i, .fim-autor i, .artigo.prog .best { color: #1a1200; }
.casa-pontos svg, .artigo .caixa-titulo::before { color: var(--verde); }
.artigo .caixa-titulo::before { background-color: var(--verde); }
.artigo.prog .benefits li::before { border-color: var(--verde); }
.selo { color: var(--relva); }
.estrelas { color: #2b453e; }
.jogo-odd, .jornada-odd, .artigo.prog .card-tip .odd { color: #1a1200; }

/* Lista de jogos ([jogos]) */
.jogos-dia { margin: 0 0 18px; }
.artigo .jogos-titulo { font-family: var(--letra); font-size: 15px; font-weight: 600; color: var(--suave); margin: 22px 0 10px; }
.artigo .jogos-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.artigo .jogos-lista li { margin: 0; }
.artigo a.jogo { display: grid; gap: 8px; background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); padding: 14px; color: var(--tinta); text-decoration: none; font-weight: 400; }
.artigo a.jogo:hover { border-color: var(--relva); }
.jogo-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--suave); }
.jogo-meta span { color: var(--relva); font-weight: 600; }
.jogo-meta time { font-weight: 700; color: var(--tinta); }
.jogo-equipas { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-family: var(--titulos); font-weight: 800; font-size: 24px; line-height: 1.05; text-transform: uppercase; }
.jogo-vs { font-family: var(--letra); font-size: 13px; font-weight: 500; text-transform: none; color: var(--suave); }
.jogo-tip { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--papel-2); border-radius: 10px; padding: 8px 10px; font-size: 15px; color: var(--texto); }
.jogo-tip b { color: var(--tinta); }
.jogo-odd { background: var(--ouro); border-radius: 7px; padding: 2px 9px; font-weight: 800; font-variant-numeric: tabular-nums; }
.jogo-ver { font-size: 15px; font-weight: 700; color: var(--relva); }
.jogos-vazio { background: var(--papel); border: 1px dashed var(--linha); border-radius: var(--raio); padding: 20px; text-align: center; }
@media (min-width: 760px) { .artigo .jogos-lista { grid-template-columns: repeat(2, 1fr); } }

/* Página /guias/ */
.guias-grelha { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.guia-cartao { display: flex; flex-direction: column; height: 100%; background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); overflow: hidden; color: var(--tinta); text-decoration: none; }
.guia-cartao:hover { border-color: var(--relva); color: var(--tinta); }
.guia-cartao img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--papel-2); }
.guia-corpo { display: grid; gap: 8px; padding: 14px 16px 16px; }
.guia-titulo { font-family: var(--titulos); font-weight: 800; font-size: 22px; line-height: 1.05; text-transform: uppercase; }
.guia-resumo { font-size: 15px; line-height: 1.5; color: var(--texto); }
.guia-data { font-size: 13px; color: var(--suave); }
@media (min-width: 640px) { .guias-grelha { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .guias-grelha { grid-template-columns: repeat(3, 1fr); } }

/* =========================================================
   Modo claro (opcional; escuro por defeito)
   Cabeçalho, topo das páginas e rodapé ficam escuros nos dois modos.
   ========================================================= */
:root[data-tema='claro'] {
  --fundo: #f3f6f5;
  --papel: #ffffff;
  --papel-2: #eef3f1;
  --linha: #dbe4e0;
  --tinta: #10201c;
  --texto: #33443f;
  --suave: #5f7470;
  --acento-texto: #9a5b00;   /* âmbar escuro: legível em fundo branco */
}
:root[data-tema='claro'] .confianca,
:root[data-tema='claro'] .cabecalho,
:root[data-tema='claro'] .topo,
:root[data-tema='claro'] .rodape,
:root[data-tema='claro'] .jornada {
  --fundo: #0a1513; --papel: #10201c; --papel-2: #162a25; --linha: #1f3a33;
  --tinta: #f3f6f4; --texto: #c3d0cb; --suave: #8aa39b; --acento-texto: #f5b82e;
}
:root[data-tema='claro'] body { background: var(--fundo); color: var(--texto); }
:root[data-tema='claro'] .artigo a:not(.botao):not(.btn),
:root[data-tema='claro'] .ligacao-seta,
:root[data-tema='claro'] .casa-oferta,
:root[data-tema='claro'] .casa-codigo,
:root[data-tema='claro'] .ficha-oferta,
:root[data-tema='claro'] .artigo .caixa-titulo,
:root[data-tema='claro'] .artigo .caixa-titulo strong,
:root[data-tema='claro'] .jogo-meta span,
:root[data-tema='claro'] .jogo-ver,
:root[data-tema='claro'] .indice a:hover,
:root[data-tema='claro'] .indice a::before,
:root[data-tema='claro'] .indice-movel summary::after,
:root[data-tema='claro'] .artigo li::marker,
:root[data-tema='claro'] .artigo summary::after,
:root[data-tema='claro'] .artigo.prog .strip-oferta,
:root[data-tema='claro'] .artigo.prog .offer-title,
:root[data-tema='claro'] .artigo.prog .card-comp { color: var(--acento-texto); border-color: var(--acento-texto); }
:root[data-tema='claro'] .artigo summary::after { background: none; }
:root[data-tema='claro'] .casa-codigo { border-color: var(--acento-texto); }
:root[data-tema='claro'] .casa.destaque { border-color: var(--relva); }
:root[data-tema='claro'] .estrelas { color: #d5dfdb; }
:root[data-tema='claro'] .casa-tc { background: #f7faf9; }
:root[data-tema='claro'] .fim-responsavel { background: #fff4f2; border-color: #f2d0ca; color: #6b2b23; }
:root[data-tema='claro'] .idade { border-color: #c4362a; color: #c4362a; }
:root[data-tema='claro'] .rodape .idade { border-color: #f87171; color: #f87171; }
:root[data-tema='claro'] .artigo .caixa-titulo::before { background-color: #12804a; }
:root[data-tema='claro'] .casa-pontos svg { color: #12804a; }

/* Botão claro/escuro */
.tema { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--linha); background: var(--papel); color: var(--tinta); cursor: pointer; padding: 0; }
.tema:hover { border-color: var(--relva); }
.tema svg { width: 18px; height: 18px; }
.tema .sol { display: none; }
:root[data-tema='claro'] .tema .sol { display: block; }
:root[data-tema='claro'] .tema .lua { display: none; }
.cabecalho-acoes { display: flex; align-items: center; gap: 8px; }

/* Ficha das análises: título + frase */
.ficha-sub { margin: 4px 0 0; font-size: 15px; color: var(--texto); }
.ficha-estrelas { flex-direction: row; align-items: center; gap: 6px; margin-top: 8px; }

/* Caixas de oferta escritas no texto (caixa com botão): cartão centrado */
.artigo .caixa:has(.btn) { text-align: center; border-color: var(--relva); padding: 22px 18px 6px; }
.artigo .caixa:has(.btn)::before { display: none; }
.artigo .caixa:has(.btn) h3, .artigo .caixa:has(.btn) h4, .artigo .caixa:has(.btn) .caixa-titulo { justify-content: center; font-family: var(--letra); font-size: 14px; font-weight: 600; text-transform: none; color: var(--suave); margin: 0 0 6px; }
.artigo .caixa:has(.btn) .caixa-titulo::before { display: none; }
.artigo .caixa:has(.btn) .realce { font-size: 28px; color: var(--relva); margin-bottom: 10px; }
.artigo .caixa:has(.btn) .btn { margin: 4px 0 10px; }
:root[data-tema='claro'] .artigo .caixa:has(.btn) .realce { color: var(--acento-texto); }
.rodape-casas { columns: 2; column-gap: 18px; }
@media (min-width: 760px) { .rodape-casas { columns: 1; } }

/* Nota final discreta (afiliados + 18+) */
.fim { margin: 32px 0 0; }
.fim-nota { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding-top: 16px; border-top: 1px solid var(--linha); font-size: 13px; line-height: 1.55; color: var(--suave); }
.fim-nota .idade { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--linha); font-size: 10px; font-weight: 700; color: var(--suave); }

/* Pesos reais com a fonte variável (antes a Google só servia pesos altos) */
.marca b { font-weight: 900; }
.nav-largo a, .navegacao li a { font-weight: 700; }

/* Títulos longos em mobile: 3 linhas em vez de 4 */
@media (max-width: 599px) { .titulo-pagina { font-size: 30px; line-height: 1; } }

/* Lista de prognósticos: equipas em branco, o âmbar fica para competição, odd e ligação */
.artigo a.jogo .jogo-equipas, a.jogo .jogo-equipas { color: var(--tinta); font-weight: 700; font-size: 21px; }

/* Ligação para a análise irmã (apostas <-> casino da mesma casa) */
.artigo p.ver-tambem { padding: 12px 14px; border-left: 3px solid var(--relva); background: var(--papel); border-radius: 0 var(--raio) var(--raio) 0; font-size: 15px; }

/* Pesquisa (Pagefind) */
.pesquisa-botao { text-decoration: none; }
.pesquisa-pagina { padding-top: 22px; padding-bottom: 40px; max-width: 760px; }
.pesquisa-sugestoes { color: var(--suave); font-size: 14px; margin-top: 18px; }
.pesquisa-pagina { --pagefind-ui-scale: .9; --pagefind-ui-primary: var(--relva); --pagefind-ui-text: var(--tinta); --pagefind-ui-background: var(--papel); --pagefind-ui-border: var(--linha); --pagefind-ui-tag: var(--papel-2); --pagefind-ui-border-width: 1px; --pagefind-ui-border-radius: 10px; --pagefind-ui-font: var(--letra), sans-serif; }
.pesquisa-pagina .pagefind-ui__result-link { color: var(--tinta); font-weight: 700; }
.pesquisa-pagina .pagefind-ui__result-excerpt { color: var(--texto); }
.pesquisa-pagina mark { background: none; color: var(--relva); font-weight: 700; }
.pesquisa-pagina .pagefind-ui__search-input { color: var(--tinta); }
.jornada[hidden] { display: none; }
.ranking-metodo { font-size: 14px; color: var(--suave); margin: 14px 0 0; }
