/* ==========================================================================
   Rodada do Fut - folha de estilo do portal (home e páginas do Next)
   Sem framework: o HTML é só semântico e este arquivo o estiliza pela
   estrutura (landmarks, seções com id, listas, data-atributos de estado).
   Publicado em /s/portal.css. Paleta da logo: marinho, vermelho, azul,
   prata e branco. Sem verde.
   ========================================================================== */

/* ---------- Fonte (Poppins 400/500/600/700, só a faixa latina, servida por nós) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(/s/fonts/poppins-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(/s/fonts/poppins-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(/s/fonts/poppins-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(/s/fonts/poppins-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Reserva com as métricas da Poppins: o texto não pula quando ela chega. */
@font-face { font-family: "Poppins Fallback"; src: local(Arial); size-adjust: 113.7%; ascent-override: 92.3%; descent-override: 30.8%; line-gap-override: 8.8%; }

/* ---------- Cores e medidas ---------- */
:root {
  --marinho: #0F1731; --marinho-2: #1d2a55; --vermelho: #D80E0F; --vermelho-escuro: #B80B0C;
  --azul: #0075CD; --link: #005FA8; --prata: #C4CCD4; --fundo: #fff; --cinza: #F4F5F6;
  --texto: #0F1731; --texto-2: #4A5577; --borda: #E3E7EC; --empate: #8A96AD;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --largura: 1200px;
  --fonte: "Poppins", "Poppins Fallback", system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fundo); color: var(--texto); font: 400 16px/1.6 var(--fonte); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; }
#pular { position: absolute; left: -9999px; top: 0; background: var(--marinho); color: #fff; padding: 8px 16px; z-index: 100; }
#pular:focus { left: 8px; }
@keyframes pulsa { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; } }

/* Escudo (arquivo /s/escudos/escudo-{time}.webp) e sigla quando não há escudo */
img[src*="/escudos/"] { object-fit: contain; flex: none; }
abbr[data-sigla] { display: inline-grid; place-items: center; flex: none; border-radius: 50%; background: #E3E7EC; color: var(--marinho); font-weight: 700; font-size: 8px; text-decoration: none; box-shadow: inset 0 0 0 1px rgba(15,23,49,.18); }

/* Ponto pulsante de "ao vivo" */
[data-status="ao-vivo"] p > strong::before, [data-status="ao-vivo"] footer > strong::before, #barra-topo a[href$="ao-vivo"]::before, #agenda > header a[href$="ao-vivo"]::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: middle; animation: pulsa 1.4s infinite;
}

/* Título de seção com o traço vermelho */
main h2:not(article h2) { display: flex; align-items: center; gap: var(--s1); margin-bottom: var(--s2); font-size: 22px; line-height: 1.2; }
main h2:not(article h2)::before { content: ""; width: 4px; height: 20px; border-radius: 2px; background: var(--vermelho); }

/* Editoria (primeiro parágrafo do cabeçalho de uma matéria) */
article > header > p:first-child, main article > p:first-child:not(:only-child) { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--vermelho); margin-bottom: 4px; }

/* Listas de "relacionadas" com bolinha vermelha */
article > ul[role="list"] { display: grid; gap: 6px; margin-top: var(--s2); }
article > ul[role="list"] li { position: relative; padding-left: 14px; font-size: 15.5px; line-height: 1.4; color: var(--texto-2); }
article > ul[role="list"] li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--vermelho); }
article a:hover, #plantao a:hover { color: var(--link); }

/* ==========================================================================
   Barra do topo (marinho)
   ========================================================================== */
#barra-topo { background: var(--marinho); color: var(--prata); font-size: 14px; }
#barra-topo { display: flex; align-items: center; gap: var(--s3); min-height: 36px; padding: 0 max(16px, calc((100% - var(--largura)) / 2 + 16px)); }
#barra-topo time { text-transform: capitalize; }
#barra-topo a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
#barra-topo a[href$="ao-vivo"]::before { background: #FF4D4D; }
#barra-topo svg { width: 16px; height: 16px; }
#barra-topo > p:has(a[data-chamada]), #barra-topo > nav { display: none; }
#barra-topo > p:has(a[data-chamada]) { margin-left: auto; }
#barra-topo > p:has(a[data-chamada]) a { font-weight: 500; }
#barra-topo nav ul { display: flex; gap: 12px; }
#barra-topo nav a { color: var(--prata); }
#barra-topo nav a:hover, #barra-topo > p a:hover { color: #fff; }
#barra-topo nav svg { width: 17px; height: 17px; }

/* ==========================================================================
   Cabeçalho do site (branco, logo grande)
   ========================================================================== */
body > header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 3px solid var(--marinho); }
body > header { display: flex; align-items: center; gap: var(--s1); height: 68px; padding: 0 max(16px, calc((100% - var(--largura)) / 2 + 16px)); }
body > header > a img { height: 46px; width: auto; }
body > header > nav { display: none; }
body > header > nav ul { display: flex; gap: 2px; }
body > header > nav a { display: block; font-size: 16px; font-weight: 600; padding: 10px 14px; border-radius: 6px; }
body > header > nav a:hover, body > header > nav a[aria-current] { background: var(--cinza); color: var(--link); }
body > header > ul { display: flex; gap: 2px; margin-left: auto; }
body > header > ul a { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; color: var(--marinho); }
body > header > ul a:hover { background: var(--cinza); }
body > header > ul svg { width: 22px; height: 22px; }
body > header > ul data { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--vermelho); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }

/* Menu do celular: details/summary, sem JavaScript */
#menu-celular > summary { list-style: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; cursor: pointer; color: var(--marinho); }
#menu-celular > summary::-webkit-details-marker { display: none; }
#menu-celular > summary svg { width: 22px; height: 22px; }
/* Presa ao header (sticky = posicionado): abre logo abaixo dele, com ou sem a barra do topo à vista. */
#menu-celular > nav { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 104px); overflow: auto; background: #fff; border-bottom: 3px solid var(--marinho); box-shadow: 0 12px 24px rgba(15,23,49,.15); padding: var(--s1) var(--s2) var(--s2); }
#menu-celular > nav a { display: block; padding: 12px 4px; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--borda); }

/* ==========================================================================
   Agenda (largura toda). O card de jogo (li > article[data-status]) é o mesmo
   em qualquer lista de jogos (components/portal/card-jogo.tsx).
   ========================================================================== */
#agenda { position: relative; display: flex; align-items: stretch; gap: 12px; padding: var(--s2) 0 var(--s2) 16px; background: var(--cinza); border-bottom: 1px solid var(--borda); }
#agenda > header, #agenda > button { display: none; }
#agenda > ol { display: flex; flex: 1; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 16px 6px 4px; scroll-behavior: smooth; }
#agenda > ol::-webkit-scrollbar { display: none; }
#agenda > ol > li { flex: none; scroll-snap-align: start; }
li > article[data-status] { height: 100%; }
li > article[data-status] > a { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; width: 228px; height: 100%; padding: 10px 12px; background: #fff; border-radius: 10px; box-shadow: 0 1px 2px rgba(15,23,49,.08), 0 0 0 1px var(--borda); transition: box-shadow .15s; }
li > article[data-status] > a:hover { box-shadow: 0 4px 12px rgba(15,23,49,.12), 0 0 0 1px var(--prata); }
li > article[data-status] > a > p:first-child { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
li > article[data-status] ul { display: grid; gap: 6px; }
li > article[data-status] li { display: flex; align-items: center; gap: 8px; font-size: 15px; min-width: 0; }
li > article[data-status] li img, li > article[data-status] li abbr { width: 20px; height: 20px; }
li > article[data-status] li data { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
li > article[data-status] li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
li > article[data-status] > a > p:last-child { font-size: 12.5px; color: var(--texto-2); padding-top: 6px; margin-top: 2px; border-top: 1px solid var(--borda); }
li > article[data-status] > a > p:last-child time b { color: var(--texto); }
li > article[data-status="ao-vivo"] > a { background: #FFF5F5; box-shadow: 0 0 0 2px var(--vermelho), 0 4px 14px rgba(216,14,15,.18); }
li > article[data-status="ao-vivo"] li data { color: var(--vermelho); font-size: 17px; }
li > article[data-status="ao-vivo"] > a > p:last-child { border-top-color: rgba(216,14,15,.2); }
li > article[data-status="ao-vivo"] strong { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; background: var(--vermelho); color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: .02em; }

/* ==========================================================================
   Escudos passando
   ========================================================================== */
#clubes { overflow: hidden; border-bottom: 1px solid var(--borda); -webkit-mask: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
#clubes ul { display: flex; gap: 22px; width: max-content; padding: 12px 0; animation: passa 45s linear infinite; }
#clubes:hover ul { animation-play-state: paused; }
#clubes a { display: block; transition: transform .15s; }
#clubes a:hover { transform: scale(1.12); }
#clubes img, #clubes abbr { width: 40px; height: 40px; }
@keyframes passa { to { transform: translateX(calc(-50% - 11px)); } }
@media (prefers-reduced-motion: reduce) { #clubes { overflow-x: auto; } }

/* ==========================================================================
   Conteúdo
   ========================================================================== */
main { display: grid; gap: var(--s4); max-width: var(--largura); margin: 0 auto; padding: var(--s3) 16px var(--s5); }

/* Foto/painel das matérias */
main figure { overflow: hidden; border-radius: 8px; background: var(--cinza); aspect-ratio: 16 / 9; }
main figure > img { width: 100%; height: 100%; object-fit: cover; }

/* Painel de jogo (no lugar da foto quando o destaque é um jogo) */
figure:has(> figcaption + p) { display: grid; grid-template: "cap cap cap" auto "t1 x t2" 1fr "info info info" auto / 1fr auto 1fr; align-items: center; gap: 8px; padding: 14px 16px; color: #fff; text-align: center; background: radial-gradient(120% 90% at 50% 0%, var(--marinho-2) 0%, var(--marinho) 60%); }
figure:has(> figcaption + p) > figcaption { grid-area: cap; font-size: 12px; font-weight: 600; color: var(--prata); text-transform: uppercase; letter-spacing: .05em; }
figure:has(> figcaption + p) > p:first-of-type { grid-area: t1; }
figure:has(> figcaption + p) > p:last-of-type { grid-area: t2; }
figure:has(> figcaption + p) > p { display: grid; justify-items: center; gap: 6px; min-width: 0; font-size: 14px; font-weight: 600; }
figure:has(> figcaption + p) > p img, figure:has(> figcaption + p) > p abbr { width: 44px; height: 44px; }
figure:has(> figcaption + p) > p abbr { font-size: 11px; }
figure:has(> figcaption + p) > strong { grid-area: x; font-size: 22px; color: var(--prata); font-variant-numeric: tabular-nums; }
figure:has(> figcaption + p) > footer { grid-area: info; display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--prata); }
figure[data-status="ao-vivo"] { box-shadow: inset 0 0 0 3px var(--vermelho); }
figure[data-status="ao-vivo"] > footer > strong { padding: 2px 8px; border-radius: 999px; background: var(--vermelho); color: #fff; font-size: 11px; text-transform: uppercase; }
a:hover > figure:has(> figcaption + p) > p { text-decoration: underline; }

/* ---------- Destaques (grade do Lance!) ---------- */
#destaques { display: grid; gap: var(--s4); }
#destaques > article:first-of-type { display: grid; gap: var(--s2); }
#destaques > article:first-of-type > a:last-child { order: -1; }
#destaques > article:first-of-type h1 { font-size: 24px; line-height: 1.2; letter-spacing: -.01em; }
#destaques > article:first-of-type > p { font-size: 16px; color: var(--texto-2); }
#destaques > article:not(:first-of-type) > a:first-child { display: block; margin-bottom: 12px; }
#destaques > article:not(:first-of-type) h2 { font-size: 19px; line-height: 1.3; }
#plantao ul { display: grid; gap: var(--s2); }
#plantao a { position: relative; display: block; padding-left: 14px; font-size: 16.5px; line-height: 1.45; color: var(--texto-2); }
#plantao a::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--vermelho); }

/* ---------- Chamada "seu time" ---------- */
#seu-time { display: grid; gap: var(--s2); padding: var(--s3); border-radius: 12px; background: var(--marinho); color: #fff; }
#seu-time h2 { font-size: 22px; }
#seu-time > p:not(:last-child) { margin-top: -8px; color: var(--prata); font-size: 15px; }
#seu-time > p:last-child a { display: inline-block; padding: 10px 20px; border-radius: 999px; background: var(--vermelho); color: #fff; font-weight: 600; }
#seu-time > p:last-child a:hover { background: var(--vermelho-escuro); }

/* ---------- Brasileirão: próximos jogos + tabela ---------- */
#brasileirao { display: grid; gap: var(--s4); }
#brasileirao h3 { margin-bottom: var(--s1); font-size: 15px; font-weight: 600; color: var(--texto-2); }
#brasileirao ol li + li { border-top: 1px solid var(--borda); }
#brasileirao ol a { display: grid; gap: 4px; padding: 12px 0; }
#brasileirao ol time { font-size: 13px; font-weight: 700; color: var(--vermelho); }
#brasileirao ol p { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; }
#brasileirao ol p img, #brasileirao ol p abbr { width: 22px; height: 22px; }
#brasileirao ol small { font-size: 13px; color: var(--texto-2); }
#brasileirao ol a:hover p { color: var(--link); }
#brasileirao ol article { display: grid; gap: 6px; padding: 14px 0; }
#brasileirao ol article :is(header, h4, p) { margin: 0; }
#brasileirao ol article header { display: grid; gap: 4px; }
#brasileirao ol article header p { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--vermelho); }
#brasileirao ol article h4 { font-size: 18px; font-weight: 700; line-height: 1.3; }
#brasileirao ol article h4 a { display: inline; padding: 0; color: var(--marinho); }
#brasileirao ol article h4 a:hover { color: var(--link); }
#brasileirao ol article > p { display: block; font-size: 15px; font-weight: 400; color: var(--texto-2); }

table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
caption { text-align: left; font-weight: 700; padding-bottom: var(--s1); }
caption a { float: right; font-size: 13px; color: var(--link); }
th, td { padding: 8px 5px; text-align: center; border-top: 1px solid var(--borda); }
thead th { font-size: 12px; font-weight: 600; color: var(--texto-2); border-top: 0; }
tbody th { text-align: left; font-weight: 500; }
tbody th a { display: flex; align-items: center; gap: 8px; }
tbody th img, tbody th abbr { width: 22px; height: 22px; }
tbody td:first-child { width: 30px; font-weight: 600; box-shadow: inset 3px 0 0 transparent; }
tr[data-zona="libertadores"] td:first-child { box-shadow: inset 3px 0 0 var(--azul); }
tr[data-zona="pre-libertadores"] td:first-child { box-shadow: inset 3px 0 0 var(--prata); }
tr[data-zona="rebaixamento"] td:first-child { box-shadow: inset 3px 0 0 var(--vermelho); }
td:last-child abbr { display: inline-grid; place-items: center; width: 17px; height: 17px; margin: 0 1px; border-radius: 3px; color: #fff; font-size: 9.5px; font-weight: 700; text-decoration: none; }
abbr[title="Vitória"] { background: var(--azul); }
abbr[title="Empate"] { background: var(--empate); }
abbr[title="Derrota"] { background: var(--vermelho); }
thead th:last-child, tbody td:last-child { display: none; }

/* ---------- Mais notícias ---------- */
#mais-noticias > ol { display: grid; gap: var(--s3); }
#mais-noticias figure { margin-bottom: 12px; }
#mais-noticias h3 { font-size: 17.5px; line-height: 1.35; }

/* ==========================================================================
   Rodapé
   ========================================================================== */
body > footer { display: grid; gap: var(--s4); padding: 0 max(16px, calc((100% - var(--largura)) / 2 + 16px)) var(--s3); background: var(--marinho); color: var(--prata); font-size: 14px; line-height: 1.6; }
body > footer h2 { margin: 0 0 12px; padding-left: 10px; border-left: 3px solid var(--vermelho); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; line-height: 1.2; }
body > footer ul { display: grid; gap: 9px; }
body > footer a { color: var(--prata); text-decoration: none; transition: color .15s; }
body > footer a:hover, body > footer button:hover { color: #fff; }
body > footer button { padding: 0; border: 0; background: none; font: inherit; color: var(--prata); cursor: pointer; text-align: left; }
/* Faixa de escudos da Série A */
body > footer > nav:first-child { padding: var(--s3) 0; border-bottom: 1px solid rgba(196, 204, 212, .15); }
body > footer > nav:first-child h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body > footer > nav:first-child ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 18px; }
body > footer > nav:first-child a { display: block; transition: transform .15s; }
body > footer > nav:first-child a:hover { transform: scale(1.15); }
body > footer > nav:first-child :is(img, abbr) { display: block; width: 34px; height: 34px; object-fit: contain; }
/* Marca */
body > footer > section:first-of-type img { height: 48px; width: auto; }
body > footer > section:first-of-type p { max-width: 320px; margin-top: 12px; }
/* Colunas */
body > footer > nav[aria-label="Mapa do site"] { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s3); }
/* Seu time */
body > footer > section:last-of-type { align-self: start; padding: var(--s2); border-radius: 12px; background: rgba(255, 255, 255, .06); }
body > footer > section:last-of-type h2 { border: 0; padding: 0; font-size: 16px; letter-spacing: 0; text-transform: none; }
body > footer > section:last-of-type p + p { margin-top: 14px; }
body > footer > section:last-of-type a { display: inline-block; padding: 9px 18px; border-radius: 999px; background: var(--vermelho); color: #fff; font-weight: 600; }
body > footer > section:last-of-type a:hover { background: var(--vermelho-escuro); }
/* Créditos */
body > footer > p:last-child { padding-top: var(--s2); border-top: 1px solid rgba(196, 204, 212, .15); font-size: 13px; }
body > footer small { display: block; font-size: 12px; color: var(--empate); }

/* ==========================================================================
   Telas maiores
   ========================================================================== */
@media (min-width: 700px) {
  #barra-topo > p:has(a[data-chamada]), #barra-topo > nav { display: flex; }
  #seu-time { grid-template-columns: 1fr auto; align-items: center; padding: var(--s4); }
  #seu-time > p:last-child { grid-column: 2; grid-row: 1 / 3; }
  #mais-noticias > ol { grid-template-columns: repeat(4, 1fr); }
  thead th:last-child, tbody td:last-child { display: table-cell; }
}
@media (min-width: 1000px) {
  body > header { height: 92px; }
  body > header > a img { height: 64px; }
  body > header > nav { display: block; margin-left: auto; }
  body > header > ul { margin-left: 12px; }
  #menu-celular { display: none; }
  #agenda { padding: var(--s2) 24px; }
  #agenda > header { display: flex; flex-direction: column; justify-content: center; gap: 4px; flex: none; padding-left: 12px; border-left: 3px solid var(--vermelho); }
  #agenda > header h2 { font-size: 16px; }
  #agenda > header a { font-size: 13px; font-weight: 600; color: var(--link); }
  #agenda > header a[href$="ao-vivo"] { color: var(--vermelho); font-weight: 700; }
  #agenda > button { display: grid; place-items: center; flex: none; align-self: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--borda); background: #fff; color: var(--marinho); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 1px 3px rgba(15,23,49,.12); }
  #agenda > button:hover { border-color: var(--marinho); }
  main { padding-top: var(--s4); padding-bottom: 64px; gap: var(--s5); }

  /* 4 colunas: texto (1) + foto (2) da manchete, 3 cards embaixo, Plantão na 4ª */
  #destaques { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
  #destaques > article:first-of-type { grid-column: 1 / 4; grid-template-columns: subgrid; align-items: start; }
  #destaques > article:first-of-type > :not(a:last-child) { grid-column: 1; }
  #destaques > article:first-of-type > a:last-child { grid-column: 2 / 4; grid-row: 1 / span 4; order: 0; }
  #destaques > article:first-of-type > a:last-child > figure { aspect-ratio: 16 / 10; }
  #destaques > article:first-of-type h1 { font-size: 34px; line-height: 1.15; }
  #destaques > article:first-of-type > p { font-size: 17px; }
  #destaques > article:not(:first-of-type) { grid-row: 2; }
  #destaques > article:not(:first-of-type) figure { aspect-ratio: 16 / 9; }
  #destaques > article:not(:first-of-type) h2 { font-size: 18px; }
  #plantao { grid-column: 4; grid-row: 1 / 3; padding-left: var(--s1); }
  #destaques > article:first-of-type figure:has(> figcaption + p) > p img, #destaques > article:first-of-type figure:has(> figcaption + p) > p abbr { width: 96px; height: 96px; }
  #destaques > article:first-of-type figure:has(> figcaption + p) > p { font-size: 18px; }
  #destaques > article:first-of-type figure:has(> figcaption + p) > strong { font-size: 40px; color: #fff; }
  #destaques > article:first-of-type figure:has(> figcaption + p) > footer { font-size: 15px; }

  #brasileirao { grid-template-columns: minmax(0, 1fr) 400px; column-gap: var(--s5); }
  #brasileirao > h2 { grid-column: 1 / -1; margin-bottom: 0; }
  body > footer { grid-template-columns: minmax(0, 1.1fr) minmax(0, 3fr) minmax(0, 1.2fr); column-gap: var(--s5); }
  body > footer > :is(nav:first-child, p:last-child) { grid-column: 1 / -1; }
  body > footer > nav:first-child ul { justify-content: space-between; }
  body > footer > p:last-child { display: flex; justify-content: space-between; gap: var(--s3); }
  body > footer small { display: inline; }
}
#seu-time h2 { margin: 0; }
#seu-time h2::before { display: none; }
#brasileirao > table { align-self: start; }

/* ==========================================================================
   Páginas do Next: conta no topo, textos, listas, formulários, avisos
   ========================================================================== */

/* Menu da conta (torcedor logado) */
#menu-conta { position: relative; }
#menu-conta > summary { list-style: none; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 4px; border-radius: 8px; cursor: pointer; font-size: 15px; color: var(--marinho); }
#menu-conta > summary::-webkit-details-marker { display: none; }
#menu-conta > summary:hover { background: var(--cinza); }
#menu-conta > summary b { display: none; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
abbr[data-avatar] { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--marinho); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
#menu-conta > nav { position: absolute; right: 0; top: calc(100% + 10px); width: 260px; padding: var(--s1); background: #fff; border: 1px solid var(--borda); border-radius: 10px; box-shadow: 0 12px 24px rgba(15,23,49,.15); }
#menu-conta > nav > p { display: grid; padding: 8px 10px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--borda); line-height: 1.35; }
#menu-conta > nav > p small { font-size: 13px; color: var(--texto-2); overflow: hidden; text-overflow: ellipsis; }
#menu-conta li a, #menu-conta li button { display: block; width: 100%; height: auto; padding: 9px 10px; border: 0; border-radius: 6px; background: none; text-align: left; font-size: 15px; font-weight: 500; color: var(--texto); cursor: pointer; }
#menu-conta li a:hover, #menu-conta li button:hover { background: var(--cinza); color: var(--link); }
#menu-conta li:last-child { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--borda); }
#menu-conta li button { color: var(--vermelho); }
#menu-celular li button { display: block; width: 100%; padding: 12px 4px; border: 0; border-bottom: 1px solid var(--borda); background: none; text-align: left; font-size: 18px; font-weight: 600; color: var(--vermelho); cursor: pointer; }
:is(#menu-conta, #menu-celular) form { margin: 0; }

/* Texto corrido: páginas institucionais, páginas do CMS e matérias */
main > article { width: 100%; max-width: 760px; margin: 0 auto; }
main > article > header { display: grid; gap: 12px; margin-bottom: var(--s3); }
main > article > header h1 { font-size: 30px; line-height: 1.15; letter-spacing: -.01em; }
main > article > header > p { font-size: 18px; color: var(--texto-2); }
main > article > header > p small { font-size: 13px; }
main > article > :is(p, ul, ol, blockquote, table, pre) { margin: 0 0 1em; }
main > article > h2 { margin: 1.5em 0 .5em; font-size: 24px; line-height: 1.25; }
main > article > h3 { margin: 1.3em 0 .4em; font-size: 20px; line-height: 1.3; }
main > article > :is(ul, ol) { padding-left: 1.3em; }
main > article > :is(ul, ol) li + li { margin-top: .4em; }
/* Links no meio do texto: só nas páginas de texto e na matéria (no placar, atalhos e trilha, não). */
:is(main > article[data-pagina], #materia) :is(p, li, td) > a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
main > article > blockquote { padding-left: var(--s2); border-left: 4px solid var(--vermelho); color: var(--texto-2); font-style: italic; }
main > article > p > img { border-radius: 8px; margin: var(--s1) 0; }
main > article > table { display: block; overflow-x: auto; }
main > article > table :is(th, td) { display: table-cell; padding: 8px 10px; border: 1px solid var(--borda); text-align: left; width: auto; font-weight: inherit; box-shadow: none; }
main > article > table thead th { font-weight: 700; background: var(--cinza); color: var(--texto); }

/* Trilha de navegação */
nav[aria-label="Trilha de navegação"] { margin-bottom: 12px; }
nav[aria-label="Trilha de navegação"] ol { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; color: var(--texto-2); }
nav[aria-label="Trilha de navegação"] li + li::before { content: "›"; margin-right: 8px; }
nav[aria-label="Trilha de navegação"] a:hover { color: var(--link); }

/* Matéria */

/* Compartilhar */
nav[data-compartilhar] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
nav[data-compartilhar] > p { font-size: 14px; font-weight: 600; }
nav[data-compartilhar] ul { display: flex; flex-wrap: wrap; gap: 6px; }
nav[data-compartilhar] :is(a, button) { display: inline-block; padding: 6px 13px; border: 1px solid var(--borda); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; color: var(--texto); cursor: pointer; }
nav[data-compartilhar] :is(a, button):hover { border-color: var(--marinho); color: var(--link); }

/* Listas de notícias (ol[data-noticias]) */
:is(#noticias, #relacionadas) { width: 100%; }
#relacionadas { max-width: 760px; margin: 0 auto; }
#noticias > header { display: grid; gap: 8px; margin-bottom: var(--s3); }
#noticias > header h1 { font-size: 30px; line-height: 1.15; }
#noticias > header p { color: var(--texto-2); }
#noticias > header a { color: var(--link); font-weight: 600; font-size: 15px; }
ol[data-noticias] { display: grid; gap: var(--s4) var(--s3); }
ol[data-noticias] figure { margin-bottom: 12px; }
ol[data-noticias] h3 { font-size: 18px; line-height: 1.3; }
ol[data-noticias] article > p { margin-top: 6px; font-size: 15px; color: var(--texto-2); }
ol[data-noticias] article > footer { margin-top: 8px; font-size: 13px; color: var(--texto-2); }
nav[aria-label="Paginação"] ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: var(--s4); }
nav[aria-label="Paginação"] a { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border: 1px solid var(--borda); border-radius: 6px; font-weight: 600; }
nav[aria-label="Paginação"] a:hover { border-color: var(--marinho); }
nav[aria-label="Paginação"] a[aria-current] { background: var(--marinho); border-color: var(--marinho); color: #fff; }

/* Formulários */
main form { display: grid; gap: var(--s2); }
main :is(form, fieldset) label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
main :is(form, fieldset) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea) { display: block; width: 100%; padding: 11px 14px; border: 1px solid #CBD2DA; border-radius: 8px; background: #fff; font: inherit; font-size: 16px; color: var(--texto); }
main :is(form, fieldset) :is(input, select, textarea):focus-visible { outline: 3px solid rgba(0,117,205,.3); outline-offset: 0; border-color: var(--azul); }
main :is(form, fieldset) textarea { resize: vertical; }
main :is(form, fieldset) [aria-invalid="true"] { border-color: var(--vermelho); }
main form small { display: block; margin-top: 4px; font-size: 13.5px; color: var(--texto-2); }
main small:is([id$="-erro"], [role="alert"]) { color: var(--vermelho-escuro); }
main form label:has(> input[type="checkbox"]) { position: relative; display: block; margin: 0; padding-left: 28px; font-size: 15px; font-weight: 400; line-height: 1.45; }
main form label a { color: var(--link); text-decoration: underline; }
main form input[type="checkbox"] { position: absolute; left: 0; top: 2px; width: 18px; height: 18px; margin: 0; accent-color: var(--marinho); }
main form [role="alert"] { padding: 12px 14px; border: 1px solid #F5C2C2; border-radius: 8px; background: #FFF1F1; color: var(--vermelho-escuro); }
main form button[type="submit"] { padding: 12px 28px; border: 0; border-radius: 999px; background: var(--vermelho); color: #fff; font-weight: 600; cursor: pointer; }
main form button[type="submit"]:hover { background: var(--vermelho-escuro); }
main form button:disabled { opacity: .6; cursor: not-allowed; }
[data-isca] { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
main section[role="status"] { padding: var(--s3); border-radius: 12px; background: var(--cinza); text-align: center; }

/* Contato */
#contato { display: grid; gap: var(--s3); margin-bottom: var(--s4); }
#contato > aside { align-self: start; display: grid; gap: 6px; padding: var(--s3); border-radius: 12px; background: var(--cinza); font-size: 15px; }
#contato > aside h2 { font-size: 17px; }
#contato > aside a { color: var(--link); font-weight: 600; overflow-wrap: anywhere; }

/* Página não encontrada */
#nao-encontrado { display: grid; gap: 12px; max-width: 640px; margin: var(--s4) auto; text-align: center; }
#nao-encontrado > p:first-child { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--vermelho); }
#nao-encontrado h1 { font-size: 32px; line-height: 1.15; }
#nao-encontrado > p { color: var(--texto-2); }
#nao-encontrado ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: var(--s1); }
#nao-encontrado a { display: inline-block; padding: 9px 18px; border: 1px solid var(--borda); border-radius: 999px; font-weight: 600; }
#nao-encontrado a:hover { border-color: var(--marinho); color: var(--link); }
#nao-encontrado li:first-child a { background: var(--marinho); border-color: var(--marinho); color: #fff; }

/* Aviso de cookies */
#aviso-cookies { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; display: grid; gap: 12px; max-width: 760px; margin: 0 auto; padding: 16px 18px; border: 1px solid var(--borda); border-radius: 12px; background: #fff; box-shadow: 0 12px 32px rgba(15,23,49,.2); font-size: 14.5px; line-height: 1.5; }
#aviso-cookies a { color: var(--link); text-decoration: underline; }
#aviso-cookies menu { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
#aviso-cookies li { flex: 1; }
#aviso-cookies button { width: 100%; padding: 9px 16px; border: 1px solid var(--borda); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--texto); cursor: pointer; }
#aviso-cookies li:last-child button { background: var(--marinho); border-color: var(--marinho); color: #fff; }

@media (min-width: 700px) {
  ol[data-noticias] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #relacionadas ol[data-noticias] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #contato:has(> aside) { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  #aviso-cookies { grid-template-columns: 1fr auto; align-items: center; }
  #aviso-cookies li { flex: none; }
}
@media (min-width: 1000px) {
  #menu-conta > summary { padding: 0 10px 0 4px; }
  #menu-conta > summary b { display: block; }
  main > article > header h1 { font-size: 40px; }
  #noticias > header h1 { font-size: 36px; }
  ol[data-noticias] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ==========================================================================
   Conta do torcedor: acesso, escolher time, Minha conta
   ========================================================================== */

/* Peças comuns */
main fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
main legend { padding: 0; margin-bottom: 8px; font-size: 15px; font-weight: 700; }
main p[data-ok] { padding: 12px 14px; border: 1px solid #BFDBF3; border-radius: 8px; background: #EEF6FC; color: var(--link); font-size: 15px; }
main p[role="alert"] { padding: 12px 14px; border: 1px solid #F5C2C2; border-radius: 8px; background: #FFF1F1; color: var(--vermelho-escuro); font-size: 15px; }
main button[data-link] { padding: 0; border: 0; background: none; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--link); cursor: pointer; }
main button[data-link]:hover { text-decoration: underline; }
main button[data-link]:disabled { color: var(--texto-2); cursor: default; text-decoration: none; }
main menu { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
main :is(a[data-botao], [data-push] button, menu:where(:not([data-abas])) button, [data-concluir] a) { display: inline-block; padding: 11px 22px; border: 1px solid var(--vermelho); border-radius: 999px; background: var(--vermelho); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-align: center; }
main :is(a[data-botao], [data-push] button, menu:where(:not([data-abas])) button, [data-concluir] a):hover { background: var(--vermelho-escuro); border-color: var(--vermelho-escuro); }
main :is(a, button)[data-secundario] { border-color: #CBD2DA; background: #fff; color: var(--texto); }
main :is(a, button)[data-secundario]:hover { border-color: var(--marinho); background: #fff; color: var(--link); }
main :is(button):disabled { opacity: .6; cursor: not-allowed; }
main form button[type="submit"] { width: 100%; }
#minha-conta form button[type="submit"], #contato form button[type="submit"] { width: auto; }

/* Campo de senha com Mostrar */
p[data-senha] { position: relative; }
p[data-senha] input { padding-right: 84px !important; }
p[data-senha] > button { position: absolute; right: 6px; top: 29px; height: 36px; padding: 0 12px; border: 0; border-radius: 6px; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--link); cursor: pointer; }
p[data-senha] > button:hover { background: var(--cinza); }

/* Telas de acesso (cartão central) */
#acesso { display: grid; gap: var(--s2); width: 100%; max-width: 460px; margin: 0 auto; padding: var(--s3) 0; }
#acesso > header { display: grid; gap: 6px; text-align: center; }
#acesso > header h1 { font-size: 28px; line-height: 1.15; }
#acesso > header p { color: var(--texto-2); font-size: 16px; }
#acesso > footer { padding-top: var(--s2); border-top: 1px solid var(--borda); text-align: center; font-size: 15px; }
#acesso > footer a, p[data-link-direita] a { color: var(--link); font-weight: 600; }
p[data-link-direita] { margin-top: -6px; text-align: right; font-size: 14.5px; }
p[data-google] { display: flex; justify-content: center; min-height: 44px; }
#minha-conta p[data-google] { justify-content: flex-start; }
p[data-ou] { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--texto-2); }
p[data-ou]::before, p[data-ou]::after { content: ""; flex: 1; height: 1px; background: var(--borda); }
input[data-codigo] { font-size: 26px !important; font-weight: 700; letter-spacing: .5em; text-align: center; font-variant-numeric: tabular-nums; }

/* Escolher time (grade de escudos) */
fieldset[data-escolha-time] { display: grid; gap: 10px; }
fieldset[data-escolha-time] > p:first-of-type label { font-size: 13px; font-weight: 600; color: var(--texto-2); }
fieldset[data-escolha-time] ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; max-height: 420px; overflow-y: auto; padding: 2px; }
fieldset[data-escolha-time] button { display: grid; justify-items: center; align-content: start; gap: 6px; width: 100%; height: 100%; padding: 10px 6px; border: 1px solid var(--borda); border-radius: 10px; background: #fff; font: inherit; font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--texto); text-align: center; cursor: pointer; position: relative; }
fieldset[data-escolha-time] button:hover { border-color: var(--prata); box-shadow: 0 2px 8px rgba(15,23,49,.08); }
fieldset[data-escolha-time] :is(img, abbr) { width: 40px; height: 40px; }
fieldset[data-escolha-time] abbr { font-size: 11px; }
:is(fieldset[data-escolha-time], ul[data-chips]) button[aria-pressed="true"] { border-color: var(--marinho); background: #F1F4FA; box-shadow: inset 0 0 0 1px var(--marinho); }
fieldset[data-escolha-time] button[aria-pressed="true"]::after { content: "✓"; position: absolute; top: 4px; right: 6px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--marinho); color: #fff; font-size: 11px; }

#escolher-time { display: grid; gap: var(--s4); width: 100%; max-width: 860px; margin: 0 auto; }
#escolher-time > header { display: grid; gap: 8px; }
#escolher-time > header h1 { font-size: 30px; line-height: 1.15; }
#escolher-time > header p { color: var(--texto-2); }
#escolher-time > section { display: grid; gap: 12px; }
#escolher-time > section > h2 { margin-bottom: 0; font-size: 20px; }
#escolher-time > form { display: grid; gap: var(--s2); }
#escolher-time > form button[type="submit"] { width: auto; justify-self: start; }
p[data-time-escolhido] { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 18px; }
p[data-time-escolhido] :is(img, abbr) { width: 48px; height: 48px; }
p[data-time-escolhido] a { margin-left: auto; font-size: 14.5px; font-weight: 600; color: var(--link); }
ul[data-chips] { display: flex; flex-wrap: wrap; gap: 8px; }
ul[data-chips] button { padding: 8px 14px; border: 1px solid var(--borda); border-radius: 999px; background: #fff; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--texto); cursor: pointer; }
ul[data-chips] button[aria-pressed="true"]::before { content: "✓ "; }
p[data-concluir] { padding-top: var(--s2); border-top: 1px solid var(--borda); }

/* Avisos no navegador */
section[data-push] { display: grid; gap: 10px; padding: var(--s2); border-radius: 12px; background: var(--cinza); font-size: 15.5px; }
section[data-push] > p:first-child strong::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--azul); vertical-align: middle; }

/* Botão Seguir */
:is(a, button)[data-seguir] { display: inline-block; padding: 6px 14px; border: 1px solid var(--marinho); border-radius: 999px; background: #fff; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--marinho); cursor: pointer; white-space: nowrap; }
:is(a, button)[data-seguir]:hover { background: var(--cinza); }
button[data-seguir][aria-pressed="true"] { background: var(--marinho); color: #fff; }
button[data-seguir][aria-pressed="true"]::before { content: "✓ "; }

/* Minha conta */
#minha-conta { display: grid; gap: var(--s3); width: 100%; }
#minha-conta > header { display: grid; gap: 4px; }
#minha-conta > header h1 { font-size: 30px; line-height: 1.15; }
#minha-conta > header p { color: var(--texto-2); font-size: 15px; overflow-wrap: anywhere; }
#minha-conta > nav ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
#minha-conta > nav a { display: flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--borda); border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; }
#minha-conta > nav a:hover { border-color: var(--marinho); }
#minha-conta > nav data, #minha-conta > nav data { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--vermelho); color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
#minha-conta > section { display: grid; gap: var(--s2); padding: var(--s3) var(--s2); border: 1px solid var(--borda); border-radius: 12px; scroll-margin-top: 110px; }
#minha-conta > section > h2 { margin-bottom: 0; }
#minha-conta h3 { margin-top: var(--s1); font-size: 16px; color: var(--texto-2); }
#minha-conta section section { display: grid; gap: 8px; }
#minha-conta form { max-width: 560px; }
#minha-conta > section > p { font-size: 15.5px; }
ol[data-jogos] { display: flex; flex-wrap: wrap; gap: 12px; }
ul[data-linhas] li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 9px 0; border-top: 1px solid var(--borda); font-size: 15.5px; }
ul[data-linhas] li:first-child { border-top: 0; }
ul[data-linhas] a { font-weight: 600; }
ul[data-linhas] a:hover { color: var(--link); }
ul[data-linhas] small { flex-basis: 100%; color: var(--texto-2); font-size: 13.5px; }
b[data-situacao] { padding: 1px 8px; border-radius: 999px; background: var(--vermelho); color: #fff; font-size: 12px; text-transform: uppercase; }
b[data-situacao="duvida"] { background: var(--empate); }
ul[data-seguindo] li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--borda); }
ul[data-seguindo] li:first-child { border-top: 0; }
ul[data-seguindo] :is(img, abbr) { width: 28px; height: 28px; }
ul[data-seguindo] a:not([data-seguir]) { flex: 1; font-weight: 600; }
ul[data-seguindo] [data-seguir] { margin-left: auto; }
p[data-acoes] { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 14.5px; color: var(--texto-2); }
ol[data-avisos] { border-top: 1px solid var(--borda); }
ol[data-avisos] li { border-bottom: 1px solid var(--borda); }
ol[data-avisos] a { display: grid; gap: 2px; padding: 12px 10px 12px 22px; position: relative; }
ol[data-avisos] a:hover { background: var(--cinza); }
ol[data-avisos] li[data-lido="nao"] a { background: #F3F7FD; }
ol[data-avisos] li[data-lido="nao"] a::before { content: ""; position: absolute; left: 8px; top: 19px; width: 7px; height: 7px; border-radius: 50%; background: var(--vermelho); }
ol[data-avisos] li[data-lido="sim"] strong { font-weight: 500; }
ol[data-avisos] small { color: var(--texto-2); font-size: 14px; }
ol[data-avisos] time { font-size: 12.5px; color: var(--texto-2); }
ul[data-chaves] { display: grid; gap: 4px; }
main label:has(> input[role="switch"]) { display: grid !important; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; margin: 0; padding: 10px 0 !important; border-bottom: 1px solid var(--borda); font-weight: 400; cursor: pointer; }
main label:has(> input[role="switch"]) strong { grid-column: 1; grid-row: 1; font-size: 15.5px; font-weight: 600; }
main label:has(> input[role="switch"]) small { grid-column: 1; grid-row: 2; margin: 0; color: var(--texto-2); font-size: 13.5px; }
main input[role="switch"] { position: static !important; grid-column: 2; grid-row: 1 / 3; appearance: none; width: 44px !important; height: 26px !important; margin: 0 !important; border-radius: 13px; background: #CBD2DA; cursor: pointer; transition: background .15s; }
main input[role="switch"]::before { content: ""; display: block; width: 20px; height: 20px; margin: 3px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(15,23,49,.3); transition: transform .15s; }
main input[role="switch"]:checked { background: var(--marinho); }
main input[role="switch"]:checked::before { transform: translateX(18px); }
p[data-lado-a-lado] { display: flex; align-items: center; gap: 10px; }
p[data-lado-a-lado] label { margin: 0; font-weight: 500; }
p[data-lado-a-lado] select { width: auto !important; }
form[data-perigo] { padding: var(--s2); border: 1px solid #F5C2C2; border-radius: 10px; background: #FFF8F8; }
form[data-perigo] button[type="submit"] { background: var(--vermelho-escuro); }

@media (min-width: 700px) {
  #acesso { padding-top: var(--s4); }
  #acesso > header h1, #escolher-time > header h1 { font-size: 34px; }
  fieldset[data-escolha-time] ul { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }
  #minha-conta > section { padding: var(--s3); }
}
@media (min-width: 1000px) {
  #minha-conta { grid-template-columns: 230px minmax(0, 1fr); column-gap: var(--s4); align-items: start; }
  #minha-conta > header { grid-column: 1 / -1; }
  #minha-conta > nav { grid-column: 1; grid-row: 2 / span 7; position: sticky; top: 112px; }
  #minha-conta > nav ul { flex-direction: column; overflow: visible; }
  #minha-conta > nav a { justify-content: space-between; border: 0; border-radius: 8px; padding: 9px 12px; }
  #minha-conta > nav a:hover { background: var(--cinza); }
  #minha-conta > section { grid-column: 2; }
}

/* Foto do torcedor (topo, Minha conta) */
img[data-avatar] { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--cinza); box-shadow: 0 0 0 1px var(--borda); }
#minha-conta > header { grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
#minha-conta > header > :is(img, abbr)[data-avatar] { grid-row: 1 / 3; width: 64px; height: 64px; font-size: 22px; }
section[data-foto] { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 20px; max-width: 560px; }
section[data-foto] > figure { grid-row: 1 / 3; width: 96px; height: 96px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--cinza); box-shadow: 0 0 0 1px var(--borda); }
section[data-foto] > figure > img { width: 100%; height: 100%; object-fit: cover; }
section[data-foto] > figure > abbr[data-avatar] { width: 100%; height: 100%; font-size: 32px; }
section[data-foto] > p small { color: var(--texto-2); font-size: 13px; }
section[data-foto] > p[role="alert"] { grid-column: 1 / -1; }

/* ==========================================================================
   Página do jogo (/jogo/{id}): uma coluna, foco no jogo
   ========================================================================== */
main > article#jogo { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); max-width: 1080px; }
#jogo > nav[aria-label="Trilha de navegação"] { margin: 0; }
#jogo > section, #jogo > section[role="tabpanel"] { display: grid; gap: 12px; }
#jogo > section[hidden] { display: none; }
#jogo > section[role="tabpanel"] > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#jogo h3 { font-size: 17px; }
#jogo h4 { margin-top: 6px; font-size: 13px; color: var(--texto-2); text-transform: uppercase; letter-spacing: .04em; }
#jogo p[data-vazio] { padding: var(--s3); border-radius: 12px; background: var(--cinza); color: var(--texto-2); text-align: center; }

/* Placar */
#placar { display: grid !important; grid-template-columns: 1fr auto 1fr; grid-template-areas: "cap cap cap" "tit tit tit" "t1 pl t2" "pen pen pen" "sit sit sit" "g1 . g2"; align-items: center; gap: 10px 12px !important; margin: 0 !important; padding: 18px 14px 20px; border-radius: 14px; color: #fff; text-align: center; background: radial-gradient(120% 100% at 50% 0%, var(--marinho-2) 0%, var(--marinho) 65%); }
#placar > p:first-child { grid-area: cap; margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--prata); }
#placar > h1 { grid-area: tit; font-size: 15px !important; font-weight: 600; color: var(--prata); letter-spacing: 0; }
#placar > p[data-lado] { margin: 0; font-size: 15px; color: #fff; }
#placar > p[data-lado="mandante"] { grid-area: t1; }
#placar > p[data-lado="visitante"] { grid-area: t2; }
#placar > p[data-lado] a { display: grid; justify-items: center; gap: 8px; font-weight: 700; line-height: 1.2; color: #fff; }
#placar > p[data-lado] a:hover { text-decoration: underline; }
#placar > p[data-lado] :is(img, abbr) { width: 56px; height: 56px; }
#placar > p[data-lado] abbr { font-size: 13px; }
#placar > p[data-placar] { grid-area: pl; display: flex; align-items: center; gap: 10px; margin: 0; font-size: 44px; font-weight: 700; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
#placar > p[data-placar] b { font-size: 26px; font-weight: 400; color: var(--prata); }
#placar > p[data-placar] time { font-size: 30px; }
#placar > p[data-penaltis] { grid-area: pen; margin: 0; font-size: 14px; color: var(--prata); }
#placar > p[data-situacao] { grid-area: sit; margin: 0; font-size: 14.5px; color: var(--prata); }
#placar[data-status="ao-vivo"] > p[data-situacao] strong { display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 999px; background: var(--vermelho); color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }
#placar[data-status="ao-vivo"] > p[data-situacao] strong::before { content: ""; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #fff; animation: pulsa 1.4s infinite; }
#placar[data-status="ao-vivo"] { box-shadow: inset 0 0 0 3px var(--vermelho); }
#placar[data-gol="sim"] > p[data-placar] { animation: gol 1s ease-in-out 3; }
@keyframes gol { 50% { transform: scale(1.18); color: #FFD84D; } }
#placar > ul[data-gols] { display: grid; gap: 2px; margin: 0; font-size: 13px; color: var(--prata); }
#placar > ul[data-gols="mandante"] { grid-area: g1; }
#placar > ul[data-gols="visitante"] { grid-area: g2; }

/* Abas */
menu[data-abas] { position: sticky; top: 71px; z-index: 10; display: grid; grid-auto-flow: column; grid-auto-columns: auto; justify-content: space-between; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; list-style: none; background: #fff; border-bottom: 1px solid var(--borda); }
menu[data-abas] button { display: flex; justify-content: center; align-items: center; gap: 6px; width: 100%; padding: 13px 3px 11px; white-space: nowrap; border: 0; border-bottom: 3px solid transparent; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--texto-2); cursor: pointer; }
menu[data-abas] button:hover { background: var(--cinza); color: var(--texto); border-bottom-color: var(--prata); }
menu[data-abas] button[aria-selected="true"]:hover { border-bottom-color: var(--vermelho); }
menu[data-abas] button:focus-visible { outline-offset: -3px; }
menu[data-abas] button[aria-selected="true"] { border-bottom-color: var(--vermelho); color: var(--marinho); }
menu[data-abas] data { min-width: 20px; padding: 0 6px; border-radius: 10px; background: var(--cinza); font-size: 12px; line-height: 20px; }

/* Lances */

/* Lances em cards (inspirado no "Lance a Lance" do Lance!): cabeçalho com
   ícone, tipo e minuto; a descrição embaixo; o escudo do time no canto. */
ol[data-lances] { display: grid; gap: 10px; }
ol[data-lances] > li > article { position: relative; display: grid; gap: 0; border: 1px solid var(--borda); border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(15,23,49,.05); overflow: hidden; }
ol[data-lances] article > header { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--borda); }
ol[data-lances] article > header > h3 { margin: 0; font-size: 15.5px; font-weight: 700; color: var(--texto); }
ol[data-lances] article > header > time { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--texto-2); font-variant-numeric: tabular-nums; }
ol[data-lances] article > p { margin: 0; padding: 11px 64px 13px 14px; font-size: 15px; line-height: 1.45; color: var(--texto-2); }
ol[data-lances] article > p b { color: var(--texto); }
ol[data-lances] article > :is(img, abbr) { position: absolute; right: 14px; bottom: 11px; width: 28px; height: 28px; }
ol[data-lances] article > abbr { font-size: 8px; }
ol[data-lances] article:not(:has(> p)) > header { border-bottom: 0; }
ol[data-lances] article:not(:has(> p)) > :is(img, abbr) { position: static; margin: -38px 14px 9px auto; }
b[data-icone] { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--marinho); -webkit-mask: var(--icone) center / 20px no-repeat; mask: var(--icone) center / 20px no-repeat; }
ol[data-lances] > li[data-tipo="gol"] { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7l4 3-1.5 4.5h-5L8 10z'/%3E%3C/svg%3E"); }
ol[data-lances] > li[data-tipo="falta"] { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v6M12 16.5v.5'/%3E%3C/svg%3E"); }
ol[data-lances] > li[data-tipo="finalizacao"] { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/svg%3E"); }
ol[data-lances] > li[data-tipo="defesa"] { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 11V6a1.5 1.5 0 013 0v4M10 10V4.5a1.5 1.5 0 013 0V10M13 10V5.5a1.5 1.5 0 013 0V11M16 11V8a1.5 1.5 0 013 0v6a7 7 0 01-7 7h-1a6 6 0 01-5-3l-2.5-4a1.5 1.5 0 012.5-1.5L7 14'/%3E%3C/svg%3E"); }
ol[data-lances] > li[data-tipo="escanteio"] { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4M5 4h11l-3 4 3 4H5'/%3E%3C/svg%3E"); }
ol[data-lances] > li[data-tipo="impedimento"] { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4M5 4h11l-3 4 3 4H5'/%3E%3Cpath d='M15 17l4 4M19 17l-4 4'/%3E%3C/svg%3E"); }
ol[data-lances] > li[data-tipo="substituicao"] { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4v14M3 14l4 4 4-4M17 20V6M13 10l4-4 4 4'/%3E%3C/svg%3E"); }
ol[data-lances] > li[data-tipo="var"] { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='12' rx='2'/%3E%3Cpath d='M8 21h8M12 17v4'/%3E%3C/svg%3E"); }
ol[data-lances] > li[data-tipo="marco"] { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='13' r='8'/%3E%3Cpath d='M12 9v4l2.5 2M9 2h6'/%3E%3C/svg%3E"); }
ol[data-lances] > li:is([data-tipo="cartao"], [data-tipo="vermelho"]) b[data-icone] { width: 14px; height: 19px; border-radius: 3px; background: #F2C200; -webkit-mask: none; mask: none; }
ol[data-lances] > li[data-tipo="vermelho"] b[data-icone] { background: var(--vermelho); }
/* Gol em destaque */
ol[data-lances] > li[data-tipo="gol"] > article { border-color: var(--marinho); box-shadow: 0 4px 14px rgba(15,23,49,.12); }
ol[data-lances] > li[data-tipo="gol"] article > header { background: var(--marinho); border-bottom-color: var(--marinho); }
ol[data-lances] > li[data-tipo="gol"] article > header > :is(h3, time) { color: #fff; }
ol[data-lances] > li[data-tipo="gol"] article > header > h3 { font-size: 17px; }
ol[data-lances] > li[data-tipo="gol"] b[data-icone] { background: #fff; }
ol[data-lances] > li[data-tipo="gol"] article > p { font-size: 16px; color: var(--texto); }
/* Marcos: início, intervalo, fim */
ol[data-lances] > li[data-tipo="marco"] > article { background: var(--cinza); }
ol[data-lances] > li[data-tipo="marco"] article > header { border-bottom-color: rgba(15,23,49,.08); }
ol[data-lances] > li[data-novo="sim"] > article { animation: novo 2.4s ease-out 2; }
@keyframes novo { 0% { box-shadow: 0 0 0 3px #FFD84D; } 100% { box-shadow: 0 1px 2px rgba(15,23,49,.05); } }

/* Estatísticas (estilo Sofascore): por grupo; em cada linha, número | nome |
   número e uma barra para cada time saindo do centro. --p/--q = parte (%) do
   mandante/visitante; quem lidera fica na cor do time, quem perde em cinza. */
#estatisticas p[data-times] { display: flex; justify-content: space-between; align-items: center; padding: 4px 0 2px; }
#estatisticas p[data-times] b { display: flex; align-items: center; gap: 8px; font-size: 15px; }
#estatisticas p[data-times] :is(img, abbr) { width: 28px; height: 28px; }
section[data-grupo] { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--borda); border-radius: 12px; }
section[data-grupo] > h3 { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--texto-2); text-align: center; }
ul[data-estatisticas] { display: grid; gap: 14px; }
ul[data-estatisticas] > li { --p: 0; --q: 0; --cor-m: #C4CCD4; --cor-v: #C4CCD4; display: grid; grid-template-columns: 1fr 1fr; column-gap: 6px; row-gap: 6px; align-items: center; }
ul[data-estatisticas] > li > data { grid-row: 1; padding: 2px 9px; border-radius: 6px; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--texto-2); }
ul[data-estatisticas] > li > data:first-of-type { grid-column: 1; justify-self: start; }
ul[data-estatisticas] > li > data:last-of-type { grid-column: 2; justify-self: end; }
ul[data-estatisticas] > li > b { grid-row: 1; grid-column: 1 / -1; justify-self: center; font-size: 14px; font-weight: 600; color: var(--texto); text-align: center; }
ul[data-estatisticas] > li::before, ul[data-estatisticas] > li::after { content: ""; grid-row: 2; height: 8px; border-radius: 4px; background: #EDF0F4; }
ul[data-estatisticas] > li::before { grid-column: 1; background: linear-gradient(to left, var(--cor-m) 0 calc(var(--p) * 1%), #EDF0F4 calc(var(--p) * 1%)); }
ul[data-estatisticas] > li::after { grid-column: 2; background: linear-gradient(to right, var(--cor-v) 0 calc(var(--q) * 1%), #EDF0F4 calc(var(--q) * 1%)); }
ul[data-estatisticas] > li:is([data-lider="mandante"], [data-lider="empate"]) { --cor-m: var(--marinho); }
ul[data-estatisticas] > li:is([data-lider="visitante"], [data-lider="empate"]) { --cor-v: var(--azul); }
ul[data-estatisticas] > li[data-lider="mandante"] > data:first-of-type { background: var(--marinho); color: #fff; }
ul[data-estatisticas] > li[data-lider="visitante"] > data:last-of-type { background: var(--azul); color: #fff; }
ul[data-estatisticas] meter { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (min-width: 1000px) { #estatisticas { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s3); align-items: start; } #estatisticas > :is(h2, p) { grid-column: 1 / -1; } }

/* Escalações: gramado com os dois times (visitante em cima, mandante embaixo).
   Única exceção ao "sem verde" do site: o gramado, para parecer um campo de verdade. */
p[data-formacoes] { display: flex; flex-direction: row-reverse; justify-content: space-between; gap: 4px 12px; font-size: 14.5px; }
p[data-formacoes] b { display: flex; align-items: center; gap: 6px; color: var(--texto); }
p[data-formacoes] b::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--marinho); }
p[data-formacoes] b[data-lado="visitante"]::before { background: var(--azul); }
p[data-formacoes] small { font-weight: 500; color: var(--texto-2); }
/* Marcações oficiais (105 x 68 m) desenhadas em SVG: laterais, meio de campo, círculo e marca central,
   grandes e pequenas áreas, marcas do pênalti, meias-luas, arcos de escanteio e traves. Em pé no celular. */
figure[data-campo] { position: relative; display: grid; grid-template-rows: 1fr 1fr; width: 100%; max-width: 560px; aspect-ratio: 74 / 111; margin: 0 auto; padding: 5% 4%; border-radius: 10px; overflow: hidden; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-3 -3 74 111' preserveAspectRatio='none'%3E%3Cg transform='translate%280 105%29 rotate%28-90%29'%3E%3Cg fill='none' stroke='white' stroke-opacity='.75' stroke-width='2'%3E%3Crect x='0' y='0' width='105' height='68' vector-effect='non-scaling-stroke'/%3E%3Cline x1='52.5' y1='0' x2='52.5' y2='68' vector-effect='non-scaling-stroke'/%3E%3Ccircle cx='52.5' cy='34' r='9.15' vector-effect='non-scaling-stroke'/%3E%3Crect x='0' y='13.84' width='16.5' height='40.32' vector-effect='non-scaling-stroke'/%3E%3Crect x='88.5' y='13.84' width='16.5' height='40.32' vector-effect='non-scaling-stroke'/%3E%3Crect x='0' y='24.84' width='5.5' height='18.32' vector-effect='non-scaling-stroke'/%3E%3Crect x='99.5' y='24.84' width='5.5' height='18.32' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M16.5 26.69 A9.15 9.15 0 0 1 16.5 41.31' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M88.5 26.69 A9.15 9.15 0 0 0 88.5 41.31' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 1 A1 1 0 0 0 1 0M104 0 A1 1 0 0 0 105 1M105 67 A1 1 0 0 0 104 68M1 68 A1 1 0 0 0 0 67' vector-effect='non-scaling-stroke'/%3E%3Crect x='-1.8' y='30.34' width='1.8' height='7.32' vector-effect='non-scaling-stroke'/%3E%3Crect x='105' y='30.34' width='1.8' height='7.32' vector-effect='non-scaling-stroke'/%3E%3C/g%3E%3Cg fill='white' fill-opacity='.8' stroke='none'%3E%3Ccircle cx='52.5' cy='34' r='.45'/%3E%3Ccircle cx='11' cy='34' r='.45'/%3E%3Ccircle cx='94' cy='34' r='.45'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat, repeating-linear-gradient(180deg, #3F9446 0 7.7%, #388A3F 7.7% 15.4%); box-shadow: inset 0 0 40px rgba(0,0,0,.25); }
figure[data-campo] > ol { position: relative; display: flex; flex-direction: column; justify-content: space-around; z-index: 1; }
figure[data-campo] ol ol { display: flex; justify-content: space-around; }
/* Jogador: foto, número, marcas (gol/cartão) e nome */
figure[data-campo] ol ol > li { position: relative; display: grid; justify-items: center; gap: 2px; width: 58px; }
figure[data-campo] ol ol > li > :is(img, abbr) { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #DDE3EA; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
figure[data-campo] ol[data-time="visitante"] ol > li > :is(img, abbr) { border-color: #9FD0FF; }
figure[data-campo] ol ol > li > abbr[data-camisa] { display: grid; place-items: center; background: var(--marinho); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
figure[data-campo] ol[data-time="visitante"] ol > li > abbr[data-camisa] { background: var(--azul); }
figure[data-campo] ol ol > li > data { position: absolute; top: 20px; left: 4px; min-width: 18px; height: 18px; padding: 0 3px; border-radius: 9px; background: var(--marinho); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center; }
figure[data-campo] ol[data-time="visitante"] ol > li > data { background: var(--azul); }
figure[data-campo] ol ol > li > small { max-width: 58px; padding: 0 5px; border-radius: 4px; background: rgba(15,23,49,.72); color: #fff; font-size: 10px; font-weight: 600; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
figure[data-campo] ol ol > li[data-saiu] > :is(img, abbr) { opacity: .75; }
figure[data-campo] i[data-marcas] { position: absolute; top: -4px; right: 6px; display: flex; gap: 2px; font-style: normal; }
figure[data-campo] b[data-gol] { display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 2px; border-radius: 9px; background: #fff; color: var(--marinho); font-size: 10px; font-weight: 700; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
figure[data-campo] b[data-gol]::before { content: "⚽"; font-size: 10px; }
figure[data-campo] b[data-gol]:not(:empty)::before { margin-right: 1px; }
figure[data-campo] b[data-cartao] { width: 10px; height: 14px; border-radius: 2px; background: #F2C200; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
figure[data-campo] b[data-cartao="vermelho"] { background: var(--vermelho); }
details[data-escalacao], details[data-desfalques] { border: 1px solid var(--borda); border-radius: 10px; }
details[data-escalacao] > summary, details[data-desfalques] > summary { padding: 12px 14px; font-size: 15px; color: var(--texto-2); cursor: pointer; }
details[data-escalacao] > summary strong, details[data-desfalques] > summary { font-weight: 600; color: var(--texto); }
details[data-escalacao][open] > summary, details[data-desfalques][open] > summary { border-bottom: 1px solid var(--borda); }
details[data-escalacao] > :not(summary), details[data-desfalques] > :not(summary) { margin: 0 14px; }
details[data-escalacao] > :last-child, details[data-desfalques] > :last-child { margin-bottom: 12px; }
ol[data-elenco] li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--borda); font-size: 14.5px; }
ol[data-elenco] li:last-child { border-bottom: 0; }
ol[data-elenco] data { font-weight: 700; color: var(--texto-2); text-align: right; font-variant-numeric: tabular-nums; }
ol[data-elenco] small { font-size: 12.5px; color: var(--texto-2); }
details[data-desfalques] h4 { margin-top: 12px; }

/* Informações: fichas com ícone, rótulo e valor */
ul[data-ficha] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
ul[data-ficha] > li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 12px; align-content: start; padding: 14px; border: 1px solid var(--borda); border-radius: 12px; background: #fff; }
ul[data-ficha] > li > svg { grid-row: 1 / 4; width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: #EEF3FB; color: var(--marinho); }
ul[data-ficha] > li > small { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--texto-2); }
ul[data-ficha] > li > strong { font-size: 16px; line-height: 1.3; color: var(--texto); }
ul[data-ficha] > li > strong::first-letter { text-transform: uppercase; }
ul[data-ficha] > li > em { font-style: normal; font-size: 13px; color: var(--texto-2); }
ul[data-ficha] > li:first-child { grid-column: 1 / -1; }
#informacoes > p:has(> a[data-botao]) { margin-top: 4px; }
#informacoes h3 { margin-top: var(--s1); }
#informacoes ul[data-linhas] a { color: var(--link); font-weight: 600; }
@media (max-width: 420px) { ul[data-ficha] { grid-template-columns: minmax(0, 1fr); } }

/* Seguir os times */
#seguir-jogo { display: grid; gap: 10px; margin-top: var(--s2); padding: var(--s2); border-radius: 12px; background: var(--cinza); }
#seguir-jogo > h2 { margin: 0; font-size: 16px; }
#seguir-jogo > p { margin-top: -6px; font-size: 14px; color: var(--texto-2); }
#seguir-jogo ul { display: grid; gap: 8px; }
#seguir-jogo li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
#seguir-jogo li :is(img, abbr) { width: 28px; height: 28px; }
#seguir-jogo li > :is([data-seguir], small) { margin-left: auto; }
#seguir-jogo li > small { font-size: 13px; color: var(--texto-2); }

@media (min-width: 700px) {
  #placar { padding: 24px 24px 26px; }
  #placar > p[data-lado] { font-size: 18px; }
  #placar > p[data-lado] :is(img, abbr) { width: 88px; height: 88px; }
  #placar > p[data-placar] { gap: 16px; font-size: 64px; }
  #placar > p[data-placar] b { font-size: 34px; }
  menu[data-abas] { grid-auto-columns: 1fr; }
  menu[data-abas] button { padding: 13px 8px 11px; font-size: 15px; }
  figure[data-campo] ol ol > li { width: 84px; gap: 3px; }
  figure[data-campo] ol ol > li > :is(img, abbr) { width: 52px; height: 52px; }
  figure[data-campo] ol ol > li > data { top: 36px; left: 12px; }
  figure[data-campo] ol ol > li > small { max-width: 84px; font-size: 12px; }
}
@media (min-width: 1000px) {
  menu[data-abas] { top: 95px; }
  /* PC: gramado deitado. Mandante à esquerda atacando para a direita, visitante
     à direita. É o campo de pé girado 90° no sentido horário: as linhas do time
     (de cima para baixo no DOM) passam a ir da direita para a esquerda e os
     jogadores de cada linha (esquerda para a direita) ficam de cima para baixo. */
  figure[data-campo] { max-width: none; aspect-ratio: 111 / 74; grid-template-rows: none; grid-template-columns: 1fr 1fr; padding: 3% 4%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-3 -3 111 74' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='white' stroke-opacity='.75' stroke-width='2'%3E%3Crect x='0' y='0' width='105' height='68' vector-effect='non-scaling-stroke'/%3E%3Cline x1='52.5' y1='0' x2='52.5' y2='68' vector-effect='non-scaling-stroke'/%3E%3Ccircle cx='52.5' cy='34' r='9.15' vector-effect='non-scaling-stroke'/%3E%3Crect x='0' y='13.84' width='16.5' height='40.32' vector-effect='non-scaling-stroke'/%3E%3Crect x='88.5' y='13.84' width='16.5' height='40.32' vector-effect='non-scaling-stroke'/%3E%3Crect x='0' y='24.84' width='5.5' height='18.32' vector-effect='non-scaling-stroke'/%3E%3Crect x='99.5' y='24.84' width='5.5' height='18.32' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M16.5 26.69 A9.15 9.15 0 0 1 16.5 41.31' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M88.5 26.69 A9.15 9.15 0 0 0 88.5 41.31' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 1 A1 1 0 0 0 1 0M104 0 A1 1 0 0 0 105 1M105 67 A1 1 0 0 0 104 68M1 68 A1 1 0 0 0 0 67' vector-effect='non-scaling-stroke'/%3E%3Crect x='-1.8' y='30.34' width='1.8' height='7.32' vector-effect='non-scaling-stroke'/%3E%3Crect x='105' y='30.34' width='1.8' height='7.32' vector-effect='non-scaling-stroke'/%3E%3C/g%3E%3Cg fill='white' fill-opacity='.8' stroke='none'%3E%3Ccircle cx='52.5' cy='34' r='.45'/%3E%3Ccircle cx='11' cy='34' r='.45'/%3E%3Ccircle cx='94' cy='34' r='.45'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat, repeating-linear-gradient(90deg, #3F9446 0 7.7%, #388A3F 7.7% 15.4%); }
  figure[data-campo] > ol { flex-direction: row-reverse; }
  figure[data-campo] > ol[data-time="mandante"] { grid-column: 1; grid-row: 1; }
  figure[data-campo] > ol[data-time="visitante"] { grid-column: 2; grid-row: 1; }
  figure[data-campo] > ol > li { display: flex; }
  figure[data-campo] ol ol { flex: 1; flex-direction: column; justify-content: space-around; align-items: center; }
  #escalacoes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s3); }
  #escalacoes > :is(h2, p[data-formacoes], p[data-vazio], figure[data-campo], details[data-desfalques]) { grid-column: 1 / -1; }
  p[data-formacoes] { flex-direction: row; }
  /* Informações: as fichas numa linha só */
  ul[data-ficha] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  ul[data-ficha] > li:first-child { grid-column: auto; }
  ul[data-ficha] > li { grid-template-columns: 1fr; row-gap: 2px; }
  ul[data-ficha] > li > svg { grid-row: auto; margin-bottom: 8px; }
  #seguir-jogo ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s4); }
}
@media (prefers-reduced-motion: reduce) { #placar[data-gol="sim"] > p[data-placar], ol[data-lances] > li[data-novo="sim"] > article { animation: none; } }
/* Página do jogo: parágrafo de abertura (dados do jogo, base da descrição para o Google) */
:is(#jogo, #time) > p[data-resumo] { margin: 0; font-size: 15px; line-height: 1.6; color: var(--texto-2); }

/* ==========================================================================
   Página do time (/time/{slug})
   ========================================================================== */
main > article#time { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); max-width: 1080px; }
#time > nav[aria-label="Trilha de navegação"] { margin: 0; }
#time-cabecalho { display: grid !important; justify-items: center; gap: 10px !important; margin: 0 !important; padding: 22px 16px; border-radius: 14px; color: #fff; text-align: center; background: radial-gradient(120% 100% at 50% 0%, var(--marinho-2) 0%, var(--marinho) 65%); }
#time-cabecalho > :is(img, abbr) { width: 96px; height: 96px; }
#time-cabecalho > abbr { font-size: 22px; }
#time-cabecalho > h1 { font-size: 30px !important; color: #fff; }
#time-cabecalho > ul[data-info] { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-size: 14px; color: var(--prata); }
#time-cabecalho > p[data-acoes-time] small { font-size: 13.5px; font-weight: 600; color: #fff; padding: 6px 14px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; }
#time-cabecalho [data-seguir] { border-color: #fff; background: transparent; color: #fff; padding: 8px 20px; font-size: 14.5px; }
#time-cabecalho [data-seguir]:hover { background: rgba(255,255,255,.12); }
#time-cabecalho button[data-seguir][aria-pressed="true"] { background: #fff; color: var(--marinho); }
#time-cabecalho > ul[data-chips] { justify-content: center; }
#time-cabecalho > ul[data-chips] a { display: inline-block; padding: 5px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff; }
#time-cabecalho > ul[data-chips] a:hover { background: rgba(255,255,255,.12); }

/* Painéis das abas (time, campeonato) */
#time > section[data-painel], #campeonato > section[data-painel] { display: grid; gap: var(--s3); }
#time > section[data-painel][hidden], #campeonato > section[data-painel][hidden] { display: none; }
section[data-bloco] { display: grid; gap: 12px; }
section[data-bloco] > h2 { display: flex; align-items: center; gap: var(--s1); margin: 0; font-size: 20px; line-height: 1.2; }
section[data-bloco] > h2::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--vermelho); }
section[data-bloco] p[data-vazio], section[data-painel] > p[data-vazio] { padding: var(--s3); border-radius: 12px; background: var(--cinza); color: var(--texto-2); text-align: center; }
table[data-tabela-time] tbody th a { display: inline; color: var(--link); font-weight: 600; }
table[data-tabela-time] tbody td:first-of-type { width: auto; }
table[data-tabela-time] caption { font-weight: 500; color: var(--texto-2); font-size: 14px; }

/* Elenco em cards com foto */
ul[data-atletas] { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
ul[data-atletas] > li { display: grid; justify-items: center; gap: 4px; padding: 14px 10px; border: 1px solid var(--borda); border-radius: 12px; background: #fff; text-align: center; }
ul[data-atletas] > li > :is(img, abbr) { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #DDE3EA; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--borda); }
ul[data-atletas] > li > abbr[data-camisa] { display: grid; place-items: center; background: var(--marinho); color: #fff; font-size: 18px; font-weight: 700; text-decoration: none; }
ul[data-atletas] > li > strong { margin-top: 4px; font-size: 14.5px; line-height: 1.25; }
ul[data-atletas] > li > small { font-size: 12.5px; color: var(--texto-2); }

/* Mercado: chegadas e saídas */
ul[data-mercado] { display: grid; gap: 8px; }
ul[data-mercado] > li { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "selo nome escudo" "selo info escudo"; align-items: center; column-gap: 12px; padding: 12px 14px; border: 1px solid var(--borda); border-radius: 12px; background: #fff; }
ul[data-mercado] > li > b { grid-area: selo; padding: 4px 10px; border-radius: 999px; background: var(--azul); color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }
ul[data-mercado] > li[data-direcao="saida"] > b { background: var(--vermelho); }
ul[data-mercado] > li > strong { grid-area: nome; font-size: 15.5px; }
ul[data-mercado] > li > small { grid-area: info; font-size: 13.5px; color: var(--texto-2); }
ul[data-mercado] > li > :is(img, abbr) { grid-area: escudo; width: 28px; height: 28px; }

@media (min-width: 700px) {
  #time-cabecalho { grid-template-columns: auto 1fr auto; grid-template-areas: "escudo titulo acoes" "escudo info acoes" "escudo chips acoes"; justify-items: start; align-items: center; column-gap: var(--s3) !important; padding: 26px 28px; text-align: left; }
  #time-cabecalho > :is(img, abbr) { grid-area: escudo; width: 112px; height: 112px; }
  #time-cabecalho > h1 { grid-area: titulo; font-size: 38px !important; }
  #time-cabecalho > ul[data-info] { grid-area: info; justify-content: flex-start; }
  #time-cabecalho > p[data-acoes-time] { grid-area: acoes; }
  #time-cabecalho > ul[data-chips] { grid-area: chips; justify-content: flex-start; }
}

/* ==========================================================================
   Campeonato (/campeonato/{slug}) e lista (/campeonatos)
   ========================================================================== */
main > article:is(#campeonato, #campeonatos) { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); max-width: 1080px; }
:is(#campeonato, #campeonatos) > nav[aria-label="Trilha de navegação"] { margin: 0; }
#campeonato > p[data-resumo] { margin: 0; font-size: 15px; line-height: 1.6; color: var(--texto-2); }
#campeonato-cabecalho { display: grid !important; justify-items: center; gap: 10px !important; margin: 0 !important; padding: 22px 16px; border-radius: 14px; color: #fff; text-align: center; background: radial-gradient(120% 100% at 50% 0%, var(--marinho-2) 0%, var(--marinho) 65%); }
#campeonato-cabecalho > img { width: 80px; height: 80px; padding: 8px; border-radius: 16px; background: #fff; object-fit: contain; }
#campeonato-cabecalho > h1 { font-size: 28px !important; color: #fff; }
#campeonato-cabecalho > ul[data-info] { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-size: 14px; color: var(--prata); }
#campeonato-cabecalho [data-seguir] { border-color: #fff; background: transparent; color: #fff; padding: 8px 20px; font-size: 14.5px; }
#campeonato-cabecalho [data-seguir]:hover { background: rgba(255,255,255,.12); }
#campeonato-cabecalho button[data-seguir][aria-pressed="true"] { background: #fff; color: var(--marinho); }

/* Classificação completa: cores das faixas e legenda */
table[data-classificacao] tbody td:first-child { width: 34px; }
table[data-classificacao] tbody th a { color: var(--texto); font-weight: 600; }
table[data-classificacao] tbody th a:hover { color: var(--link); }
tr[data-zona="classifica"] td:first-child, tr[data-zona="acesso"] td:first-child { box-shadow: inset 3px 0 0 var(--azul); }
tr[data-zona="sul-americana"] td:first-child { box-shadow: inset 3px 0 0 var(--empate); }
tr[data-zona="pre-libertadores"] td:first-child { box-shadow: inset 3px 0 0 #7DB8E8; }
table[data-classificacao] :is(thead th, tbody td):is(:nth-child(5), :nth-child(6), :nth-child(7), :nth-child(8), :nth-child(9)) { display: none; }
ul[data-legenda] { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--texto-2); }
ul[data-legenda] li { display: flex; align-items: center; gap: 6px; }
ul[data-legenda] li::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--azul); }
ul[data-legenda] li[data-zona="rebaixamento"]::before { background: var(--vermelho); }
ul[data-legenda] li[data-zona="sul-americana"]::before { background: var(--empate); }
ul[data-legenda] li[data-zona="pre-libertadores"]::before { background: #7DB8E8; }
section[data-rodada] { display: grid; gap: 8px; }
section[data-rodada] > h3 { font-size: 14px; font-weight: 700; color: var(--texto-2); text-transform: uppercase; letter-spacing: .04em; }
ul[data-times-grade] { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
ul[data-times-grade] a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--borda); border-radius: 10px; font-size: 14.5px; font-weight: 600; }
ul[data-times-grade] a:hover { border-color: var(--marinho); color: var(--link); }
ul[data-times-grade] :is(img, abbr) { width: 32px; height: 32px; }

/* Lista de campeonatos */
#campeonatos > header { display: grid; gap: 6px; margin: 0; }
#campeonatos > header h1 { font-size: 30px; }
#campeonatos > header p { color: var(--texto-2); }
ul[data-campeonatos] { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
ul[data-campeonatos] a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--borda); border-radius: 10px; font-size: 14.5px; font-weight: 600; }
ul[data-campeonatos] a:hover { border-color: var(--marinho); color: var(--link); }
ul[data-campeonatos] :is(img, abbr) { width: 36px; height: 36px; object-fit: contain; flex: none; }
section[data-uf] { display: grid; gap: 8px; margin-top: 6px; }
section[data-uf] > h3 { font-size: 15px; color: var(--texto-2); }

@media (min-width: 700px) {
  table[data-classificacao] :is(thead th, tbody td):is(:nth-child(5), :nth-child(6), :nth-child(7), :nth-child(8), :nth-child(9)) { display: table-cell; }
  #campeonato-cabecalho { grid-template-columns: auto 1fr auto; grid-template-areas: "logo titulo acoes" "logo info acoes"; justify-items: start; align-items: center; column-gap: var(--s3) !important; padding: 24px 28px; text-align: left; }
  #campeonato-cabecalho > img { grid-area: logo; width: 96px; height: 96px; }
  #campeonato-cabecalho > h1 { grid-area: titulo; font-size: 34px !important; }
  #campeonato-cabecalho > ul[data-info] { grid-area: info; justify-content: flex-start; }
  #campeonato-cabecalho > p[data-acoes-time] { grid-area: acoes; }
}

/* ==========================================================================
   Jogos do dia (/jogos) e ao vivo (/jogos/ao-vivo)
   ========================================================================== */
main > article#jogos-do-dia { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); max-width: 1080px; }
#jogos-do-dia > nav[aria-label="Trilha de navegação"] { margin: 0; }
#jogos-do-dia > header { display: grid; gap: 6px; margin: 0; }
#jogos-do-dia > header h1 { font-size: 30px; }
#jogos-do-dia > header p { color: var(--texto-2); font-size: 15px; }
#jogos-do-dia > p[data-vazio] { padding: var(--s3); border-radius: 12px; background: var(--cinza); color: var(--texto-2); text-align: center; }
#jogos-do-dia > p[data-vazio] a { color: var(--link); font-weight: 600; }
nav[data-dias] { display: grid; gap: 10px; }
nav[data-dias] ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
nav[data-dias] ul a { display: grid; justify-items: center; min-width: 64px; padding: 8px 10px; border: 1px solid var(--borda); border-radius: 10px; line-height: 1.2; }
nav[data-dias] ul a b { font-size: 14px; text-transform: capitalize; }
nav[data-dias] ul a small { font-size: 12px; color: var(--texto-2); }
nav[data-dias] ul a:hover { border-color: var(--marinho); }
nav[data-dias] ul a[aria-current] { background: var(--marinho); border-color: var(--marinho); color: #fff; }
nav[data-dias] ul a[aria-current] small { color: var(--prata); }
a[data-ao-vivo] { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--vermelho); color: #fff; font-size: 14px; font-weight: 700; }
a[data-ao-vivo]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulsa 1.4s infinite; }
section[data-grupo-jogos] { display: grid; gap: 10px; }
section[data-grupo-jogos] > h2 { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding-bottom: 8px; border-bottom: 1px solid var(--borda); font-size: 17px; }
section[data-grupo-jogos] > h2 a { display: flex; align-items: center; gap: 10px; }
section[data-grupo-jogos] > h2 a:hover { color: var(--link); }
section[data-grupo-jogos] > h2 img { width: 28px; height: 28px; object-fit: contain; }
section[data-grupo-jogos] > h2 small { font-size: 13px; font-weight: 500; color: var(--texto-2); }

/* ==========================================================================
   Times (/times)
   ========================================================================== */
main > article#times { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); max-width: 1080px; }
#times > nav[aria-label="Trilha de navegação"] { margin: 0; }
#times > header { display: grid; gap: 6px; margin: 0; }
#times > header h1 { font-size: 30px; }
#times > header p { color: var(--texto-2); font-size: 15px; }
section[data-busca-times] { display: grid; gap: 12px; }
section[data-busca-times] form { display: grid; gap: 6px; }
section[data-busca-times] label { font-size: 13px; font-weight: 600; color: var(--texto-2); }
ul[data-times-grade] small { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--texto-2); }
details[data-uf-times] { border: 1px solid var(--borda); border-radius: 10px; }
details[data-uf-times] > summary { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; font-size: 15.5px; font-weight: 600; cursor: pointer; }
details[data-uf-times] > summary small { font-size: 13px; font-weight: 500; color: var(--texto-2); }
details[data-uf-times][open] > summary { border-bottom: 1px solid var(--borda); }
details[data-uf-times] > ul { padding: 12px 14px; }

/* ==========================================================================
   Mercado (/mercado)
   ========================================================================== */
main > article#mercado { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); max-width: 1080px; }
#mercado > nav[aria-label="Trilha de navegação"] { margin: 0; }
#mercado > header { display: grid; gap: 6px; margin: 0; }
#mercado > header h1 { font-size: 30px; }
#mercado > header p { color: var(--texto-2); font-size: 15px; }
#mercado > p[data-vazio] { padding: var(--s3); border-radius: 12px; background: var(--cinza); color: var(--texto-2); text-align: center; }
nav[data-filtro-clubes] ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
nav[data-filtro-clubes] a { display: inline-block; padding: 6px 14px; border: 1px solid var(--borda); border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; }
nav[data-filtro-clubes] a:hover { border-color: var(--marinho); }
nav[data-filtro-clubes] a[aria-current] { background: var(--marinho); border-color: var(--marinho); color: #fff; }
ul[data-transferencias] { display: grid; gap: 8px; }
ul[data-transferencias] > li { display: grid; gap: 6px; padding: 12px 14px; border: 1px solid var(--borda); border-left: 3px solid var(--prata); border-radius: 12px; background: #fff; }
ul[data-transferencias] > li[data-direcao="chegada"] { border-left-color: var(--azul); }
ul[data-transferencias] > li[data-direcao="saida"] { border-left-color: var(--vermelho); }
ul[data-transferencias] > li > strong { font-size: 16px; }
ul[data-transferencias] > li > p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14.5px; }
ul[data-transferencias] > li > p a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
ul[data-transferencias] > li > p a:hover { color: var(--link); }
ul[data-transferencias] > li > p :is(img, abbr) { width: 24px; height: 24px; }
ul[data-transferencias] > li > p > b { color: var(--texto-2); }
ul[data-transferencias] > li > p > em { font-style: normal; color: var(--texto-2); }
ul[data-transferencias] > li > small { font-size: 13px; color: var(--texto-2); }
@media (min-width: 900px) { ul[data-transferencias] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   Busca (/busca)
   ========================================================================== */
main > article#busca { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); max-width: 1080px; }
#busca > header { display: grid; gap: 6px; margin: 0; }
#busca > header h1 { font-size: 30px; }
#busca > header p { color: var(--texto-2); font-size: 15px; }
#busca > form { display: grid; gap: 6px; max-width: 720px; }
#busca > form label { font-size: 13px; font-weight: 600; color: var(--texto-2); }
#busca > form > p { display: flex; gap: 8px; }
#busca > form > p input { flex: 1; }
#busca > form > p button { width: auto !important; padding: 11px 22px; }


/* ==========================================================================
   Matéria (/{slug}) — leitura no estilo dos grandes portais
   ========================================================================== */
main > article#materia { display: grid; gap: var(--s3); max-width: 780px; }
#materia > nav[aria-label="Trilha de navegação"] { margin: 0; }
#materia > header { display: grid; gap: 14px; margin: 0; }
#materia > header > p:first-child { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--vermelho); }
#materia > header > h1 { font-size: 30px; line-height: 1.15; letter-spacing: -.02em; }
#materia > header > p[data-linha-fina] { font-size: 19px; line-height: 1.5; color: var(--texto-2); }
#materia > header > address { padding-top: 14px; border-top: 1px solid var(--borda); font-style: normal; font-size: 15px; color: var(--texto-2); }
#materia > header > address a { color: var(--texto); font-weight: 700; text-decoration: none; }
#materia > header > p[data-datas] { margin-top: -8px; font-size: 13.5px; color: var(--texto-2); }
#materia > header > ul[data-marcados] { display: flex; flex-wrap: wrap; gap: 8px; }
#materia > header > ul[data-marcados] a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 6px; border: 1px solid var(--borda); border-radius: 999px; font-size: 13.5px; font-weight: 600; text-decoration: none; color: var(--texto); }
#materia > header > ul[data-marcados] a:hover { border-color: var(--marinho); color: var(--link); }
#materia > header > ul[data-marcados] :is(img, abbr) { width: 22px; height: 22px; }
#materia > header > ul[data-marcados] li:not(:has(img, abbr)) a { padding-left: 12px; }
#materia > figure { margin: 0; aspect-ratio: auto; background: none; border-radius: 0; }
#materia > figure > img { width: 100%; height: auto; aspect-ratio: auto; border-radius: 12px; }
#materia > figure > figcaption { margin-top: 8px; font-size: 13px; color: var(--texto-2); }

/* Chamada para o tempo real */
#materia > aside[data-tempo-real] { display: grid; gap: 10px; padding: 18px 20px; border-radius: 12px; color: #fff; background: radial-gradient(120% 140% at 0% 0%, var(--marinho-2) 0%, var(--marinho) 70%); }
#materia > aside[data-tempo-real] p { margin: 0; font-size: 15px; color: var(--prata); }
#materia > aside[data-tempo-real] p b { color: #fff; font-size: 17px; }
#materia > aside[data-tempo-real] a { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--vermelho); color: #fff; font-size: 14.5px; font-weight: 700; text-decoration: none; }
#materia > aside[data-tempo-real] a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulsa 1.4s infinite; }
#materia > aside[data-tempo-real] a:hover { background: var(--vermelho-escuro); }

/* Texto */
#materia > p { margin: 0; font-size: 18px; line-height: 1.75; color: var(--texto); }
#materia > p a { color: var(--link); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
#materia > p strong { color: var(--texto); }
#materia > h2 { display: flex; align-items: center; gap: 10px; margin: var(--s2) 0 0; font-size: 24px; line-height: 1.25; }
#materia > h2::before { content: ""; flex: none; width: 5px; height: 24px; border-radius: 3px; background: var(--vermelho); }
#materia > h3 { margin: var(--s1) 0 0; font-size: 20px; }
/* Listas de dados (Onde assistir, Ficha do jogo): cartão */
#materia > ul { display: grid; margin: 0; padding: 6px 20px; border: 1px solid var(--borda); border-radius: 12px; background: var(--cinza); list-style: none; }
#materia > ul > li { padding: 11px 0; border-bottom: 1px solid var(--borda); font-size: 16px; line-height: 1.5; }
#materia > ul > li:last-child { border-bottom: 0; }
#materia > ul > li + li { margin-top: 0; }
#materia > ul > li strong { display: inline-block; min-width: 128px; color: var(--texto-2); font-weight: 600; }
#materia > ol { margin: 0; padding-left: 1.4em; font-size: 18px; line-height: 1.7; }
#materia > blockquote { margin: 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--vermelho); font-size: 19px; font-style: italic; color: var(--texto-2); }
#materia > table { display: block; overflow-x: auto; }

/* Rodapé da matéria */
#materia > footer { display: grid; gap: var(--s3); margin-top: var(--s2); padding-top: var(--s3); border-top: 1px solid var(--borda); }
#autor { display: grid; gap: 4px; padding: var(--s3); border-radius: 12px; background: var(--cinza); }
#autor > p { margin: 0; }
#autor > p:first-child { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--vermelho); }
#autor > p:nth-child(2) strong { font-size: 17px; }
#autor > p:nth-child(3) { font-size: 15px; line-height: 1.6; color: var(--texto-2); }
#relacionadas { max-width: 780px; }

@media (min-width: 700px) {
  #materia > header > h1 { font-size: 42px; }
  #materia > header > p[data-linha-fina] { font-size: 21px; }
  #materia > aside[data-tempo-real] { grid-template-columns: 1fr auto; align-items: center; }
}
