/* © 2026 Alan Evangelista de Souza Martins (AlanSouzaDev7). Todos os direitos reservados. Autor: Alan Evangelista de Souza Martins. Uso, cópia ou redistribuição só com autorização do autor (veja LICENSE). */
/* CazéStats.TV — outras competições e identidade 2026 (parte de css/styles.css dividida por área; a ordem dos arquivos no index.html é a da cascata) */
/* ==========================================================================
   Outras competições (js/copa.js): barra de competições, temas, abertura animada e página
   ========================================================================== */
/* barra de competições: a mesma no Brasileirão e nas outras */
.cp-bar { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 4px 0 18px; padding: 6px; border-radius: 16px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 80%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.cp-bar::-webkit-scrollbar { display: none; }
.cp-bar-i { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 6px 14px; border-radius: 11px; color: var(--text-2); font-weight: 800; font-size: 13.5px; white-space: nowrap; transition: background 0.25s, color 0.25s, transform 0.2s; }
.cp-bar-i .cp-emb { color: var(--cpc); flex: none; }
.cp-bar-i:hover { color: var(--text); background: color-mix(in srgb, var(--cpc) 12%, transparent); }
.cp-bar-i.on { color: var(--on-accent); background: var(--accent); box-shadow: 0 6px 18px -8px var(--accent); }
.cp-bar-i.on .cp-emb { color: currentColor; }

/* temas: o fundo do site ganha a luz e as cores da competição (as cores de destaque vêm do applyTheme) */
:root[data-comp] body { transition: background-color 0.6s; }
:root[data-comp="libertadores"] body { background-image: radial-gradient(1200px 520px at 80% -10%, rgb(201 162 74 / 0.22), transparent 60%), radial-gradient(900px 500px at -10% 30%, rgb(241 223 166 / 0.08), transparent 60%); }
:root[data-comp="libertadores"]:not([data-theme="light"]) { --bg: #08080a; --bg-2: #0d0d10; --surface: #15140f; --surface-2: #1d1b15; --surface-3: #27241b; --line: #2f2b20; --line-soft: #221f17; }
:root[data-comp="sul-americana"] body { background-image: radial-gradient(1100px 520px at 85% -10%, rgb(47 123 220 / 0.26), transparent 60%), radial-gradient(900px 480px at -5% 40%, rgb(127 211 255 / 0.1), transparent 60%); }
:root[data-comp="sul-americana"]:not([data-theme="light"]) { --bg: #050d1f; --bg-2: #081428; --surface: #0c1a33; --surface-2: #11223f; --surface-3: #182c4f; --line: #1d3359; --line-soft: #152747; }
:root[data-comp="copa-do-brasil"] body { background-image: radial-gradient(1100px 520px at 85% -10%, rgb(19 165 81 / 0.24), transparent 60%), radial-gradient(800px 420px at -5% 35%, rgb(255 210 63 / 0.1), transparent 60%); }
:root[data-comp="copa-do-brasil"]:not([data-theme="light"]) { --bg: #04130c; --bg-2: #071a11; --surface: #0b2318; --surface-2: #102d1f; --surface-3: #163a29; --line: #1b452f; --line-soft: #143525; }
:root[data-comp^="est-"] body, :root[data-comp="estaduais"] body { background-image: radial-gradient(1000px 480px at 85% -10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%); }

/* topo da competição (como o topo do Brasileirão, com a cara do torneio) */
.cp-topo { position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 26px; border-radius: 22px; border: 1px solid var(--line); margin-bottom: 14px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 22%, var(--surface)), var(--surface) 55%); }
.cp-topo::after { content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; height: 200%; background: linear-gradient(105deg, transparent 40%, rgb(255 255 255 / 0.07) 50%, transparent 60%); transform: translateX(-120%); animation: cpBrilho 5s 0.6s ease-in-out infinite; pointer-events: none; }
@keyframes cpBrilho { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(160%); } }
.cp-topo-emb { color: var(--accent); filter: drop-shadow(0 6px 18px color-mix(in srgb, var(--accent) 40%, transparent)); animation: cpEntra 0.8s var(--ease) both; }
.cp-topo h1 { margin: 2px 0 4px; font: 900 clamp(32px, 5.4vw, 64px) / 0.95 var(--font-display); font-stretch: 75%; text-transform: uppercase; letter-spacing: 0.01em; animation: cpEntra 0.8s 0.08s var(--ease) both; }
.cp-lema { margin: 0; color: var(--text-2); font-weight: 600; }
.cp-topo-fase { display: grid; justify-items: end; gap: 6px; text-align: right; }
.cp-topo-fase small { color: var(--text-3); font-size: 12px; }
.cp-fase-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-weight: 900; background: var(--accent); color: var(--on-accent); font-size: 14px; }
.cp-fase-pill i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: livePulse 1.4s ease-in-out infinite; }
.cp-fase-pill.fim { background: var(--surface-3); color: var(--text); }
@keyframes cpEntra { from { opacity: 0; transform: translateY(14px) scale(0.96); } to { opacity: 1; transform: none; } }
/* linha do tempo das fases, na ordem real */
.cp-linha { list-style: none; margin: 0 0 16px; padding: 4px 2px 10px; display: flex; gap: 0; overflow-x: auto; scrollbar-width: thin; }
.cp-f { position: relative; flex: 1 0 112px; display: grid; justify-items: center; gap: 3px; text-align: center; padding-top: 18px; font-size: 12px; }
.cp-f::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 3px; background: var(--line); }
.cp-f:first-child::before { left: 50%; } .cp-f:last-child::before { right: 50%; }
.cp-f i { position: absolute; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--surface-3); border: 2px solid var(--line); z-index: 1; }
.cp-f b { font-weight: 800; color: var(--text-2); white-space: nowrap; }
.cp-f small { color: var(--text-3); font-size: 11px; white-space: nowrap; }
.cp-f.feita::before, .cp-f.atual::before { background: color-mix(in srgb, var(--accent) 70%, var(--line)); }
.cp-f.feita i { background: var(--accent); border-color: var(--accent); }
.cp-f.atual i { background: var(--bg); border-color: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 25%, transparent); animation: livePulse 1.6s ease-in-out infinite; }
.cp-f.atual b { color: var(--text); }
.cp-grid > div { display: grid; gap: 16px; align-content: start; }
.cp-grid .card { margin: 0; }
/* jogos */
.cp-jogos { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cp-dia { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); padding: 10px 2px 2px; }
.cp-j { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto minmax(0, 1fr) minmax(0, 0.8fr); align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--surface-2); }
.cp-j.in { box-shadow: inset 3px 0 0 var(--live); }
.cp-j-q { display: grid; line-height: 1.2; } .cp-j-q small { color: var(--text-3); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-t { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--text); font-weight: 700; }
.cp-t.casa { justify-content: flex-end; text-align: right; }
.cp-t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cp-t .crest { flex: none; }
.cp-t.ven b { color: var(--text); } .cp-j.post .cp-t:not(.ven) b { color: var(--text-2); }
.cp-meio { display: grid; justify-items: center; min-width: 64px; }
.cp-placar { font: 900 20px var(--font-display); font-variant-numeric: tabular-nums; } .cp-placar i { font-style: normal; color: var(--text-3); margin: 0 4px; font-size: 14px; }
.cp-placar.vivo { color: var(--live); } .cp-meio small { font-size: 11px; color: var(--text-3); } .cp-meio small.vivo { color: var(--live); }
.cp-hora { font-size: 13px; color: var(--text-2); }
.cp-j-l { font-size: 11.5px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* mata-mata */
.cp-chave-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.cp-c { display: grid; gap: 2px; padding: 8px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.cp-c-t { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 3px 4px; border-radius: 8px; color: var(--text); font-weight: 700; }
.cp-c-t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-c-t > span { font: 900 16px var(--font-display); font-variant-numeric: tabular-nums; }
.cp-c-t > span small { font-size: 11px; color: var(--text-3); margin-left: 3px; }
.cp-c-t.ven { background: color-mix(in srgb, var(--accent) 16%, transparent); }
.cp-c-t.per { opacity: 0.6; }
.cp-c-q { font-size: 10.5px; color: var(--text-3); padding: 2px 4px 0; }
.cp-bracket { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.cp-col h4 { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); text-align: center; }
.cp-col.atual h4 { color: var(--ink); }
.cp-col-in { display: flex; flex-direction: column; justify-content: space-around; gap: 10px; height: calc(100% - 26px); }
.cp-antes > summary { cursor: pointer; list-style: none; }
.cp-antes > summary::-webkit-details-marker { display: none; }
.cp-antes > summary::after { content: "▾"; margin-left: auto; color: var(--text-3); }
.cp-antes[open] > summary::after { content: "▴"; }
/* grupos, rankings, clubes */
.cp-grupos { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin-bottom: 12px; }
.cp-grupos .card { margin: 0; }
.cp-ranks { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin-top: 16px; }
.cp-ranks .card { margin: 0; }
.cp-rank .rank-row { grid-template-columns: 28px minmax(0, 1fr) 80px 54px; }
.cp-rank .rk-bar i { background: var(--accent); }
.cp-clubes, .cp-br { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.cp-clubes a, .cp-br a { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: var(--surface-2); color: var(--text); }
.cp-clubes .crest, .cp-br .crest { grid-row: span 2; }
.cp-clubes b, .cp-br b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-sit { font-size: 11.5px; font-weight: 700; color: var(--text-3); }
.cp-sit.vivo { color: var(--win); } .cp-sit.camp { color: var(--gold); } .cp-sit.fim { color: var(--text-3); }
.cp-como { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 13.5px; color: var(--text-2); }
.cp-news { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cp-news a { display: grid; gap: 2px; color: var(--text); } .cp-news b { font-size: 13.5px; } .cp-news small { color: var(--text-3); font-size: 11.5px; }
.cp-camp-in { display: flex; align-items: center; gap: 16px; position: relative; }
.cp-camp-in small { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); }
.cp-camp-in b { font: 900 34px var(--font-display); font-stretch: 75%; text-transform: uppercase; }
.cp-taca { margin-left: auto; font-size: 44px; filter: drop-shadow(0 6px 14px rgb(245 197 66 / 0.5)); }
.cp-cl-in { display: flex; align-items: center; gap: 16px; margin-top: 8px; } .cp-cl-in h2 { margin: 0 0 4px; font: 900 32px var(--font-display); font-stretch: 75%; text-transform: uppercase; }
.cp-cl-link { display: inline-block; margin-top: 6px; font-weight: 800; font-size: 13px; color: var(--ink); padding: 8px 0; }
.cp-chips { margin-bottom: 10px; } .cp-chips .chip { font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.cp-sim-h { margin: 14px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); }
.cp-bora p { color: var(--text-2); margin-top: 0; }
.cp-bora-sel { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cp-bora-sel select { height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: inherit; font-weight: 700; min-width: 0; flex: 1 1 160px; }
.cp-bora-ir { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-weight: 900; }
.cp-bora-lista { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-bora-j { display: inline-flex; gap: 6px; align-items: center; min-height: 40px; }
.cp-bora-j small { color: var(--text-3); }
/* estaduais */
.cp-est-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-bottom: 12px; }
.cp-est-card { position: relative; overflow: hidden; display: grid; justify-items: start; gap: 4px; padding: 22px 18px 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--text); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.cp-est-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px var(--e1); }
.cp-est-faixa { position: absolute; inset: 0 0 auto 0; height: 7px; background: linear-gradient(90deg, var(--e1) 0 40%, var(--e2) 40% 70%, var(--e3) 70%); }
.cp-est-card .cp-emb { color: var(--e1); }
.cp-est-card b { font: 900 28px var(--font-display); font-stretch: 75%; text-transform: uppercase; }
.cp-est-card small { color: var(--text-3); } .cp-est-card em { font-style: normal; font-weight: 800; font-size: 13px; color: var(--text-2); margin-top: 6px; }
@media (max-width: 760px) {
  .cp-topo { grid-template-columns: auto minmax(0, 1fr); padding: 18px; gap: 14px; }
  .cp-topo-emb .cp-emb { width: 56px; height: 56px; }
  .cp-topo-fase { grid-column: 1 / -1; justify-items: start; text-align: left; }
  .cp-j { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 6px; padding: 8px; }
  .cp-j-q { grid-column: 1 / -1; grid-row: 1; display: flex; gap: 6px; }
  .cp-j-l { display: none; }
  .cp-t { font-size: 13px; gap: 6px; }
  .cp-bar-i { padding: 6px 10px; font-size: 12.5px; }
  .cp-grupos, .cp-ranks { grid-template-columns: minmax(0, 1fr); }
  .cp-rank .rank-row { grid-template-columns: 24px minmax(0, 1fr) 54px 44px; }
}

/* abertura animada de cada competição (desenho próprio do site; toca ao trocar de competição) */
.cp-intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; overflow: hidden; pointer-events: auto; animation: cpiSai 2.3s var(--ease) forwards; }
.cp-intro.curta { animation-duration: 0.9s; }
.cpi-fundo { position: absolute; inset: 0; }
.cpi-luz { position: absolute; inset: -30%; opacity: 0; animation: cpiLuz 1.6s 0.1s var(--ease) forwards; }
.cpi-linhas { position: absolute; inset: 0; }
.cpi-linhas b { position: absolute; left: -20%; width: 140%; height: 2px; top: calc(14% + var(--i) * 12%); transform: translateX(-100%) rotate(-8deg); opacity: 0.7; animation: cpiLinha 1.1s calc(0.08s * var(--i)) var(--ease) forwards; }
.cpi-centro { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; padding: 0 16px; }
.cpi-emb { width: clamp(76px, 14vw, 120px); height: auto; opacity: 0; transform: scale(0.6); animation: cpiEmb 0.9s 0.15s var(--ease-bounce) forwards; }
.cpi-emb path, .cpi-emb circle { stroke-dasharray: 200; stroke-dashoffset: 200; animation: cpiTraco 1.2s 0.2s ease forwards; }
.cpi-txt { display: flex; flex-wrap: wrap; justify-content: center; font: 900 clamp(34px, 8vw, 92px) / 0.95 var(--font-display); font-stretch: 75%; letter-spacing: 0.04em; }
.cpi-txt i { font-style: normal; display: inline-block; opacity: 0; transform: translateY(40%) skewY(6deg); animation: cpiLetra 0.6s calc(0.35s + var(--i) * 0.035s) var(--ease) forwards; }
.cpi-sub { font: 700 clamp(13px, 2vw, 17px) var(--font-label); letter-spacing: 0.22em; text-transform: uppercase; opacity: 0; animation: cpiSub 0.6s 0.9s var(--ease) forwards; }
.cp-intro.curta .cpi-luz, .cp-intro.curta .cpi-emb, .cp-intro.curta .cpi-txt i, .cp-intro.curta .cpi-sub, .cp-intro.curta .cpi-linhas b { animation-delay: 0s !important; animation-duration: 0.45s; }
@keyframes cpiSai { 0%, 78% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
@keyframes cpiLuz { to { opacity: 1; } }
@keyframes cpiLinha { to { transform: translateX(10%) rotate(-8deg); opacity: 0; } }
@keyframes cpiEmb { to { opacity: 1; transform: none; } }
@keyframes cpiTraco { to { stroke-dashoffset: 0; } }
@keyframes cpiLetra { to { opacity: 1; transform: none; } }
@keyframes cpiSub { to { opacity: 0.85; } }
/* Libertadores: noite, ouro e um feixe de luz sobre a taça */
.cp-intro.liber .cpi-fundo { background: radial-gradient(70% 60% at 50% 45%, #1c160a, #050505 70%); }
.cp-intro.liber .cpi-luz { background: conic-gradient(from 200deg at 50% 40%, transparent 0 40%, rgb(240 205 120 / 0.28) 46%, transparent 52% 100%); }
.cp-intro.liber .cpi-linhas b { background: linear-gradient(90deg, transparent, #e9c66d, transparent); }
.cp-intro.liber .cpi-emb { color: #e9c66d; filter: drop-shadow(0 0 22px rgb(233 198 109 / 0.6)); }
.cp-intro.liber .cpi-txt { background: linear-gradient(180deg, #fff3cf, #d7a944 55%, #8a6420); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cp-intro.liber .cpi-txt i { color: transparent; background: inherit; -webkit-background-clip: text; background-clip: text; }
.cp-intro.liber .cpi-sub { color: #e9d7a6; }
/* Sul-Americana: azul profundo cortado por faixas de luz */
.cp-intro.sula .cpi-fundo { background: linear-gradient(135deg, #03122c, #0b2b63 55%, #041530); }
.cp-intro.sula .cpi-luz { background: repeating-linear-gradient(115deg, transparent 0 60px, rgb(127 211 255 / 0.12) 60px 64px); }
.cp-intro.sula .cpi-linhas b { background: linear-gradient(90deg, transparent, #7fd3ff, transparent); height: 3px; }
.cp-intro.sula .cpi-emb { color: #7fd3ff; filter: drop-shadow(0 0 18px rgb(127 211 255 / 0.55)); }
.cp-intro.sula .cpi-txt { color: #fff; text-shadow: 0 0 24px rgb(127 211 255 / 0.5); }
.cp-intro.sula .cpi-sub { color: #bfe6ff; }
/* Copa do Brasil: o chaveamento se fechando até o centro */
.cp-intro.cdb .cpi-fundo { background: radial-gradient(70% 60% at 50% 50%, #0d4b2a, #031a0f 75%); }
.cp-intro.cdb .cpi-luz { background: linear-gradient(90deg, transparent 0 18%, rgb(255 210 63 / 0.18) 18% 19%, transparent 19% 81%, rgb(255 210 63 / 0.18) 81% 82%, transparent 82%), linear-gradient(0deg, transparent 0 30%, rgb(255 210 63 / 0.12) 30% 31%, transparent 31% 69%, rgb(255 210 63 / 0.12) 69% 70%, transparent 70%); }
.cp-intro.cdb .cpi-linhas b { background: linear-gradient(90deg, transparent, #ffd23f, transparent); }
.cp-intro.cdb .cpi-emb { color: #ffd23f; }
.cp-intro.cdb .cpi-txt { color: #ffd23f; text-shadow: 0 4px 0 #0a2a5e; }
.cp-intro.cdb .cpi-sub { color: #d9f5e4; }
/* estaduais: as faixas da bandeira do estado */
.cp-intro.est .cpi-fundo { background: #0b0f17; }
.cp-intro.est .cpi-luz { background: linear-gradient(100deg, var(--e1, #d6202f) 0 33%, var(--e2, #fff) 33% 66%, var(--e3, #111) 66%); opacity: 0; animation: cpiFaixas 0.9s 0.05s var(--ease) forwards; inset: 0; }
@keyframes cpiFaixas { from { opacity: 0.9; clip-path: inset(0 100% 0 0); } to { opacity: 0.22; clip-path: inset(0 0 0 0); } }
.cp-intro.est .cpi-linhas b { background: rgb(255 255 255 / 0.5); }
.cp-intro.est .cpi-emb, .cp-intro.est .cpi-txt, .cp-intro.est .cpi-sub { color: #fff; }
.cp-intro.uf-sp { --e1: #d6202f; --e2: #f5f5f5; --e3: #111; } .cp-intro.uf-rj { --e1: #2b6fd6; --e2: #f5f5f5; --e3: #0b2e6b; }
.cp-intro.uf-mg { --e1: #f5f5f5; --e2: #d1202f; --e3: #8a0f18; } .cp-intro.uf-rs { --e1: #1e9e4a; --e2: #d62828; --e3: #f4c430; }
/* volta ao Brasileirão */
.cp-intro.bra .cpi-fundo { background: radial-gradient(70% 60% at 50% 45%, #18245a, #070a14 70%); }
.cp-intro.bra .cpi-linhas b { background: linear-gradient(90deg, transparent, #8a9bff, transparent); }
.cp-intro.bra .cpi-emb, .cp-intro.bra .cpi-sub { color: #c7d0ff; } .cp-intro.bra .cpi-txt { color: #fff; }
@media (prefers-reduced-motion: reduce) { .cp-intro { display: none; } .cp-topo::after, .cp-f.atual i, .cp-fase-pill i { animation: none; } }


/* ==========================================================================
   IDENTIDADE 2026 — redesenho no modelo dos apps de placar (lista densa, três colunas, cabeçalho enxuto)
   Fonte: Saira (texto e interface) e Saira Condensed (placares, cabeçalhos, números) — uma família, duas larguras.
   O elemento marcante é a FAIXA DA COMPETIÇÃO: campo de cor do torneio com faixas diagonais de grafismo de TV,
   emblema grande e nome em condensada pesada. Todo o resto fica quieto e regular.
   Raios por hierarquia: seções 16 px, controles 10 px, chips/pílulas 999 px, linhas de lista 0.
   ========================================================================== */
body { font-family: var(--font); font-size: 14px; letter-spacing: 0; }
.backdrop { opacity: .55; }

/* ---------- cabeçalho ---------- */
.header { height: 60px; gap: 18px; background: color-mix(in srgb, var(--surface) 86%, transparent); border-bottom: 1px solid var(--line-soft); }
.header .nav a { font-weight: 600; font-size: 14px; border-radius: 10px; }
.header .nav a.active { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.header .search { border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-soft); }
.logo-word { font-family: var(--font-label); font-weight: 800; letter-spacing: .02em; font-size: 24px; }
/* "O Placar.TV": o artigo pequeno antes, o ponto ao vivo e o TV como selo de emissora */
.logo-o { font-size: .58em; font-weight: 700; margin: 0 4px 3px 0; color: var(--text-2); }
.logo-word .logo-dot { margin-right: 2px; }
.logo-tv { font-size: .62em; font-weight: 800; line-height: 1; padding: 2px 4px 1px; margin-bottom: 3px; border-radius: 4px; background: var(--accent, #00a859); color: #fff; letter-spacing: .04em; }
:root { --header-h: 60px; }

/* ---------- cartões, cabeçalhos de cartão, abas ---------- */
.card { border-radius: 16px; background: var(--surface); border: 1px solid var(--line-soft); box-shadow: 0 1px 0 rgb(0 0 0 / .04); }
:root[data-theme="light"] .card { box-shadow: 0 1px 2px rgb(16 24 40 / .06); }
.card-h { font: 700 15px/1.15 var(--font-label); letter-spacing: .01em; text-transform: none; padding: 13px 16px; }
.card-h small { font: 500 13px var(--font); letter-spacing: 0; }
.tabs { gap: 2px; }
.tab { font-weight: 600; border-radius: 999px; }
.chip { border-radius: 999px; font-weight: 600; }
.chip.on { background: var(--accent); color: var(--on-accent); border-color: transparent; }

/* ---------- lista de jogos: linha compacta (hora/estado | times | placar | ★) ---------- */
.match { grid-template-columns: 52px 1fr 30px 30px; padding: 7px 14px; min-height: 58px; }
.match .team { font-weight: 600; font-size: 14px; gap: 10px; }
.match .crest { width: 20px; height: 20px; object-fit: contain; }
.match .time { font: 600 13px var(--font-label); color: var(--text-3); }
.match .time.live { color: var(--live); }
.match .score { font: 800 16px/1.3 var(--font-label); font-variant-numeric: tabular-nums; }
.match::before { width: 3px; border-radius: 0 3px 3px 0; }
.day-h { font: 700 12.5px var(--font-label); letter-spacing: .02em; color: var(--text-2); padding: 7px 14px; }
.league-h { font: 700 14px var(--font-label); }
.league-h .cp-emb { flex: none; }
.side-list a { font-weight: 600; gap: 10px; }
.side-list a .cp-emb { flex: none; }
.round-nav b { font: 800 19px var(--font-label); letter-spacing: .01em; }
.table th { font: 700 12px var(--font-label); letter-spacing: .03em; }
.table td.pts, .table .pts { font-family: var(--font-label); font-weight: 800; font-size: 15px; }
.pos { font-family: var(--font-label); font-weight: 700; border-radius: 7px; }
.pos.lib { background: var(--zona-acesso); }
.pos.rel { background: var(--zona-queda); color: #fff; }

/* ---------- trilho de competições ---------- */
.cp-bar { gap: 6px; margin: 2px 0 12px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-soft); -webkit-backdrop-filter: none; backdrop-filter: none; }
.cp-bar-i { flex: 1 0 auto; gap: 9px; min-height: 42px; padding: 5px 16px 5px 6px; border-radius: 999px; font: 600 14px var(--font); color: var(--text-2); }
.cp-bar-i .cp-emb { width: 30px; height: 30px; padding: 4px; border-radius: 50%; background: color-mix(in srgb, var(--cpc2) 85%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cpc) 55%, transparent); transition: transform .35s var(--ease-bounce); }
.cp-bar-i:hover { background: color-mix(in srgb, var(--cpc) 12%, transparent); color: var(--text); }
.cp-bar-i:hover .cp-emb { transform: rotate(-8deg) scale(1.06); }
.cp-bar-i.on { color: #fff; background: linear-gradient(115deg, var(--cpc2), color-mix(in srgb, var(--cpc) 70%, var(--cpc2))); box-shadow: 0 6px 20px -10px var(--cpc), inset 0 0 0 1px color-mix(in srgb, var(--cpc) 50%, transparent); }
.cp-bar-i.on span { font-weight: 700; }
.cp-bar-i.on .cp-emb { background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .35); }

/* ---------- faixa da competição (o elemento marcante) ---------- */
.cpx-faixa { --e1: var(--brand); --e2: #062a1a; --e3: var(--brand-2);
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px;
  margin: 0 0 16px; padding: 16px 20px; min-height: 104px; border-radius: 16px; color: #fff;
  background: linear-gradient(105deg, var(--e2) 0%, color-mix(in srgb, var(--e2) 60%, var(--e1)) 55%, var(--e1) 130%); }
.cpx-campo { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* três faixas diagonais (cor principal, secundária e uma linha fina), como a vinheta de uma transmissão */
.cpx-campo i { position: absolute; top: -40%; bottom: -40%; transform: skewX(-24deg); }
.cpx-campo i:nth-child(1) { right: 6%; width: 22%; background: linear-gradient(180deg, color-mix(in srgb, var(--e1) 80%, transparent), color-mix(in srgb, var(--e1) 30%, transparent)); opacity: .55; }
.cpx-campo i:nth-child(2) { right: 25%; width: 7%; background: var(--e3); opacity: .9; }
.cpx-campo i:nth-child(3) { right: 34%; width: 2px; background: rgb(255 255 255 / .45); }
.cpx-faixa::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 140% at 0% 0%, rgb(255 255 255 / .14), transparent 45%); }
.cpx-emb { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 18px; background: rgb(0 0 0 / .22); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); }
.cpx-emb .cp-emb { width: 58px; height: 58px; filter: drop-shadow(0 4px 10px rgb(0 0 0 / .35)); }
.cpx-txt { min-width: 0; }
.cpx-txt small { display: block; font: 600 13px var(--font); opacity: .82; }
.cpx-txt h1 { margin: 0; font: 800 clamp(28px, 4vw, 44px)/.95 var(--font-label); letter-spacing: -.005em; font-style: italic; text-shadow: 0 2px 18px rgb(0 0 0 / .3); overflow-wrap: anywhere; }
.cpx-txt .cp-lema { margin: 4px 0 0; font-size: 13.5px; opacity: .85; }
.cpx-lado { display: grid; justify-items: end; gap: 10px; }
.cpx-lado .cp-topo-fase { display: grid; justify-items: end; gap: 4px; }
.cpx-lado .cp-topo-fase small { color: rgb(255 255 255 / .82); font-size: 12.5px; }
.cpx-faixa .cp-fase-pill { background: rgb(0 0 0 / .32); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); font: 700 13.5px var(--font-label); letter-spacing: .02em; }
.cpx-faixa .cp-fase-pill i { background: var(--e3); }
.cpx-series { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgb(0 0 0 / .3); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); }
.cpx-series a { padding: 6px 12px; border-radius: 999px; font: 700 13.5px var(--font-label); letter-spacing: .02em; color: rgb(255 255 255 / .8); white-space: nowrap; transition: background .2s, color .2s; }
.cpx-series a:hover { color: #fff; background: rgb(255 255 255 / .1); }
.cpx-series a.on { background: var(--e3); color: var(--e2); }
/* a Libertadores e a Sul-Americana usam a 3ª cor como brilho, não como pílula clara */
.cpx-libertadores .cpx-campo i:nth-child(2) { background: linear-gradient(180deg, #f1dfa6, var(--e1)); }
.cpx-faixa:hover .cpx-emb .cp-emb { animation: cpxBalanca .7s var(--ease-bounce); }
@keyframes cpxBalanca { 30% { transform: rotate(-7deg) scale(1.05); } 65% { transform: rotate(4deg); } }
/* a faixa entra deslizando a cor quando se troca de competição (só a cor: o conteúdo já está lá) */
.cpx-faixa::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(105deg, var(--e3), var(--e1)); transform: translateX(-102%) skewX(-18deg); transform-origin: left; }
.view-enter .cpx-faixa::before, .cpx-faixa.varre::before { animation: cpxVarre .62s cubic-bezier(.7, 0, .2, 1) both; }
@keyframes cpxVarre { 0% { transform: translateX(-102%) skewX(-18deg); } 48% { transform: translateX(0) skewX(-18deg); } 100% { transform: translateX(110%) skewX(-18deg); } }

/* ---------- abertura animada (sobre a página; recolhe para a faixa) ---------- */
.cpx-intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; overflow: hidden; cursor: pointer; color: #fff; }
.cpx-i-fundo { position: absolute; inset: 0; background: linear-gradient(105deg, var(--e2), color-mix(in srgb, var(--e2) 55%, var(--e1))); animation: cpxIFundo .5s cubic-bezier(.7, 0, .2, 1) both; }
@keyframes cpxIFundo { from { clip-path: polygon(0 0, 0 0, -20% 100%, -20% 100%); } to { clip-path: polygon(0 0, 120% 0, 100% 100%, -20% 100%); } }
.cpx-i-faixas { position: absolute; inset: 0; }
.cpx-i-faixas i { position: absolute; top: -20%; bottom: -20%; transform: skewX(-24deg) translateX(-140vw); animation: cpxIFaixa .9s cubic-bezier(.2, .8, .2, 1) both; }
.cpx-i-faixas i:nth-child(1) { right: 12%; width: 26vw; background: color-mix(in srgb, var(--e1) 75%, transparent); animation-delay: .08s; }
.cpx-i-faixas i:nth-child(2) { right: 36%; width: 8vw; background: var(--e3); animation-delay: .16s; }
.cpx-i-faixas i:nth-child(3) { right: 46%; width: 3px; background: rgb(255 255 255 / .6); animation-delay: .24s; }
@keyframes cpxIFaixa { to { transform: skewX(-24deg) translateX(0); } }
.cpx-i-centro { position: relative; display: grid; justify-items: center; gap: 14px; transition: transform .42s cubic-bezier(.6, 0, .2, 1), opacity .42s; }
.cpx-i-emb .cp-emb { width: clamp(120px, 18vw, 180px); height: clamp(120px, 18vw, 180px); filter: drop-shadow(0 10px 30px rgb(0 0 0 / .45)); animation: cpxIEmb .7s cubic-bezier(.2, .9, .25, 1.2) .18s both; }
.cpx-i-emb .cp-emb > * { stroke-dasharray: 220; stroke-dashoffset: 220; animation: cpxIRisco .7s ease-out .2s forwards; }
@keyframes cpxIEmb { from { transform: scale(.4) rotate(-14deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes cpxIRisco { to { stroke-dashoffset: 0; } }
.cpx-i-nome { display: grid; justify-items: center; overflow: hidden; }
.cpx-i-nome b { font: 800 italic clamp(40px, 8vw, 92px)/.95 var(--font-label); letter-spacing: -.01em; animation: cpxINome .55s cubic-bezier(.2, .8, .2, 1) .42s both; text-shadow: 0 4px 30px rgb(0 0 0 / .35); }
.cpx-i-nome small { font: 600 clamp(14px, 2vw, 18px) var(--font); opacity: .85; animation: cpxINome .5s cubic-bezier(.2, .8, .2, 1) .55s both; }
@keyframes cpxINome { from { transform: translateY(110%); opacity: 0; } to { transform: none; opacity: 1; } }
.cpx-intro.sai .cpx-i-fundo, .cpx-intro.sai .cpx-i-faixas { animation: cpxISai .42s cubic-bezier(.6, 0, .2, 1) forwards; }
.cpx-intro.sai .cpx-i-nome { opacity: 0; transition: opacity .2s; }
.cpx-intro.sai .cpx-i-centro { transform: translate(var(--dx, 0), var(--dy, 0)) scale(var(--s, .6)); opacity: .0; transition-delay: 0s, .25s; }
@keyframes cpxISai { to { clip-path: polygon(120% 0, 120% 0, 100% 100%, 100% 100%); } }
/* versão rápida (competição já vista na visita): só a varredura de cor */
.cpx-intro.curta .cpx-i-centro { display: none; }
.cpx-intro.curta .cpx-i-faixas i { animation-duration: .45s; animation-delay: 0s; }

/* ---------- aviso de gol (séries e copas, placar da ESPN) ---------- */
.cpx-gol { position: fixed; z-index: 120; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; border-radius: 16px; color: #fff;
  background: linear-gradient(105deg, #0d1218, color-mix(in srgb, var(--e1) 70%, #0d1218)); box-shadow: 0 18px 40px -16px rgb(0 0 0 / .6), inset 0 0 0 1px rgb(255 255 255 / .12);
  transform: translateX(-50%); animation: cpxGol .5s cubic-bezier(.2, .9, .25, 1.2) both; }
.cpx-gol b { display: block; font: 800 18px var(--font-label); }
.cpx-gol small { font-size: 13px; opacity: .85; }
.cpx-gol.sai { animation: cpxGolSai .5s ease-in forwards; }
@keyframes cpxGol { from { transform: translate(-50%, 140%); } to { transform: translate(-50%, 0); } }
@keyframes cpxGolSai { to { transform: translate(-50%, 160%); opacity: 0; } }

/* ---------- temas das séries do Brasileirão (Série A = padrão verde e amarelo) ---------- */
:root[data-comp="serie-b"] body { background-image: radial-gradient(1100px 520px at 85% -10%, rgb(47 111 228 / .2), transparent 60%); }
:root[data-comp="serie-c"] body { background-image: radial-gradient(1100px 520px at 85% -10%, rgb(18 163 122 / .2), transparent 60%); }
:root[data-comp="serie-d"] body { background-image: radial-gradient(1100px 520px at 85% -10%, rgb(217 71 43 / .18), transparent 60%); }

/* ---------- avisos e clubes por série ---------- */
.cp-aviso p { margin: 0; padding: 14px 16px 16px; color: var(--text-2); line-height: 1.55; }
.cl-series { display: flex; gap: 8px; margin: 0 0 16px; overflow-x: auto; scrollbar-width: none; }
.cl-series::-webkit-scrollbar { display: none; }
.cl-series a { flex: 1 0 auto; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-soft); font: 700 15px var(--font-label); color: var(--text-2); white-space: nowrap; }
.cl-series a small { font: 600 12px var(--font); color: var(--text-3); margin-left: 2px; }
.cl-series a .cp-emb { width: 32px; height: 32px; padding: 3px; border-radius: 50%; background: var(--surface-2); }
.cl-series a.on { color: var(--on-accent); background: var(--accent); border-color: transparent; }
.cl-series a.on small { color: inherit; opacity: .8; }
.cl-serie { list-style: none; margin: 0; padding: 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.cl-serie a { display: grid; justify-items: center; gap: 6px; padding: 16px 10px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-soft); text-align: center; transition: transform .25s var(--ease), border-color .25s, background .25s;
  animation: rise .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 22ms); }
.cl-serie a .crest { width: 56px; height: 56px; object-fit: contain; transition: transform .45s var(--ease-bounce); }
.cl-serie a b { font: 700 15px/1.15 var(--font-label); }
.cl-serie a small { color: var(--text-3); font-size: 12px; }
.cl-serie a:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.cl-serie a:hover .crest { transform: scale(1.12) rotate(-4deg); }

/* ---------- escudos: aparecem com uma mola curta ao carregar (imagens) ---------- */
img.crest { animation: crestIn .45s cubic-bezier(.2, .9, .25, 1.25) both; }
@keyframes crestIn { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
.crest-ini text { font-family: var(--font-label); }

/* ---------- celular ---------- */
@media (max-width: 760px) {
  .cpx-faixa { grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 14px; min-height: 0; }
  .cpx-emb { width: 56px; height: 56px; border-radius: 14px; }
  .cpx-emb .cp-emb { width: 44px; height: 44px; }
  .cpx-txt h1 { font-size: 30px; }
  .cpx-txt .cp-lema { display: none; }
  .cpx-lado { grid-column: 1 / -1; justify-items: stretch; }
  .cpx-lado .cp-topo-fase { justify-items: start; grid-auto-flow: column; justify-content: start; align-items: center; gap: 10px; }
  .cpx-series { width: 100%; justify-content: space-between; }
  .cpx-series a { flex: 1; text-align: center; padding: 7px 4px; }
  .cp-bar-i { padding: 4px 12px 4px 4px; font-size: 13px; }
  .cp-bar-i .cp-emb { width: 28px; height: 28px; }
  .cpx-campo i:nth-child(1) { right: -6%; width: 30%; }
  .cpx-campo i:nth-child(2) { right: 18%; }
  .cpx-campo i:nth-child(3) { right: 28%; }
  .cl-serie { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); padding: 10px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .cpx-faixa::before, img.crest, .cl-serie a { animation: none !important; }
}

/* números grandes: a Saira tem ascendente e descendente mais altos que a fonte anterior; com altura de linha 1, a caixa
   do texto passava por cima do rótulo vizinho. 1,5 cobre a caixa inteira da fonte (1,57 em). */
.kpi b, .podium-step b, .dk b, .jg-k b, .jg-p90 b, .jg-cmp b, .idol h4 { line-height: 1.5; }
.kpi b { margin-top: 0; }
