/* © 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 — rankings, estatísticas, retrospecto, partidas, GOL!, mapa de calor, tipografia, faixa de notícias (parte de css/styles.css dividida por área; a ordem dos arquivos no index.html é a da cascata) */
/* ==========================================================================
   Rankings: cartões da tabela com "página extra" por trás, prévia e subpáginas
   ========================================================================== */
.kpi-link { display: block; color: inherit; text-decoration: none; overflow: visible; isolation: isolate; cursor: pointer;
  transform-style: preserve-3d; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--c1, var(--accent)) 30%, transparent), 0 8px 18px -12px #000; }
.kpi-link::after { z-index: 0; }
.kpi-link > :not(.kpi-sheet) { position: relative; z-index: 1; }
/* botão "Ver ranking" sempre no mesmo lugar: no pé do cartão, alinhado entre os cartões */
.kpi-link { display: flex; flex-direction: column; align-items: flex-start; }
.kpi-link > em { display: block; min-height: 1.5em; margin-bottom: 12px; }
.kpi-link > .kpi-more { margin-top: auto; }
/* as folhas de trás: mostram que existe uma página atrás do cartão */
.kpi-sheet { position: absolute; inset: 0; border-radius: inherit; background: var(--surface); border: 1px solid var(--line-soft); z-index: -1;
  transform: translate(5px, 5px); opacity: .7; transition: transform .35s var(--ease), opacity .35s; pointer-events: none; }
.kpi-sheet + .kpi-sheet { transform: translate(10px, 10px); opacity: .4; }
.kpi-link .kpi-sheet { background: color-mix(in srgb, var(--c1, var(--accent)) 14%, var(--surface)); }
.kpi-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 12px; font-weight: 800; color: var(--ink);
  padding: 4px 8px 4px 10px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 14%, transparent); }
.kpi-more svg { transition: transform .3s var(--ease); }
.kpi-link:hover, .kpi-link:focus-visible, .kpi-link.peek {
  transform: translateY(-6px) rotateX(6deg); border-color: color-mix(in srgb, var(--c1, var(--accent)) 60%, var(--line-soft));
  box-shadow: 0 2px 0 color-mix(in srgb, var(--c1, var(--accent)) 50%, transparent), 0 22px 30px -16px #000; }
.kpi-link:hover .kpi-sheet, .kpi-link.peek .kpi-sheet { transform: translate(8px, 12px) rotate(1.5deg); }
.kpi-link:hover .kpi-sheet + .kpi-sheet, .kpi-link.peek .kpi-sheet + .kpi-sheet { transform: translate(15px, 22px) rotate(3deg); }
.kpi-link:hover .kpi-more svg, .kpi-link.peek .kpi-more svg { transform: translateX(3px); }
.kpi-link:active { transform: translateY(-2px) scale(.98); }
.league-kpis { perspective: 900px; padding-bottom: 12px; }
.kpi-link { -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }

/* prévia flutuante */
.rank-preview { position: fixed; z-index: 60; pointer-events: none; padding: 12px; border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 92%, transparent); -webkit-backdrop-filter: blur(10px) saturate(1.3); backdrop-filter: blur(10px) saturate(1.3);
  border: 1px solid color-mix(in srgb, var(--c1, var(--accent)) 45%, var(--line-soft));
  box-shadow: 0 30px 60px -20px #000, 0 0 0 1px #0002, inset 0 1px 0 #fff1;
  opacity: 0; transform: translateY(8px) scale(.96) perspective(600px) rotateX(-8deg); transform-origin: 50% 0;
  transition: opacity .2s, transform .28s var(--ease); }
.rank-preview.open { opacity: 1; transform: none; }
.rank-preview .rp-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.rank-preview .rp-h b { font: 900 18px/1 var(--font-display); font-stretch: 75%; text-transform: uppercase; }
.rank-preview .rp-h small { color: var(--text-3); font-size: 11px; }
.rank-preview ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rank-preview li { display: grid; grid-template-columns: 18px auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 9px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c1) 22%, transparent), transparent 70%); font-size: 13px; }
.rank-preview li b { font-variant-numeric: tabular-nums; }
.rank-preview .rp-pos { color: var(--text-3); font-weight: 800; font-size: 12px; text-align: center; }
.rank-preview .rp-nm { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-preview .rp-gap { text-align: center; color: var(--text-3); line-height: 1; margin: 2px 0; }
.rank-preview .rp-last li { opacity: .75; }
.rank-preview .rp-foot { margin-top: 10px; font-size: 12px; font-weight: 800; color: var(--ink); text-align: center; }

/* subpágina */
.back-link { display: inline-flex; align-items: center; min-height: 40px; margin-bottom: 4px; color: var(--ink); font-weight: 800; text-decoration: none; }
.rank-chips { margin: 4px 0 18px; }
.chip.on { background: var(--accent); color: var(--on-accent, #fff); border-color: transparent; }
.podium { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 12px; max-width: 620px; margin: 0 auto 22px; perspective: 900px; }
.podium-step { position: relative; display: grid; justify-items: center; gap: 4px; padding: 16px 10px 14px; border-radius: 18px 18px 8px 8px;
  color: inherit; text-decoration: none; text-align: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c1) 40%, var(--surface)), var(--surface) 85%);
  border: 1px solid color-mix(in srgb, var(--c1) 45%, var(--line-soft));
  box-shadow: 0 18px 30px -18px #000, inset 0 1px 0 #ffffff1a;
  animation: rise .7s var(--ease) both; animation-delay: calc(var(--i) * 120ms); transition: transform .3s var(--ease); }
.podium-step:hover { transform: translateY(-4px) rotateX(5deg); }
.podium-step.p1 { min-height: 210px; }
.podium-step.p2 { min-height: 170px; }
.podium-step.p3 { min-height: 150px; }
.podium-step b { font: 900 34px/1 var(--font-display); font-stretch: 75%; }
.podium-step.p1 b { font-size: 46px; }
.podium-step span { font-weight: 800; font-size: 13px; }
.podium-step i { position: absolute; top: -12px; font-style: normal; font-weight: 900; font-size: 12px; padding: 3px 9px; border-radius: 99px; background: var(--c1); color: #fff;
  box-shadow: 0 4px 10px -4px #000; }
.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-row { display: grid; grid-template-columns: 28px minmax(130px, 1.2fr) minmax(60px, 2fr) 64px repeat(3, minmax(52px, auto)); align-items: center; gap: 12px;
  padding: 10px 6px; border-bottom: 1px solid var(--line-soft); animation: rise .5s var(--ease) both; animation-delay: calc(var(--i) * 30ms); }
.rank-row:last-child { border-bottom: 0; }
.rk-pos { font-weight: 900; color: var(--text-3); text-align: center; }
.rank-row:nth-child(-n+3) .rk-pos { color: var(--text); }
.rk-club { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-height: 40px; }
.rk-club b { display: block; }
.rk-club small { color: var(--text-3); font-size: 11px; }
.rk-bar { height: 8px; border-radius: 99px; background: var(--line-soft); overflow: hidden; }
.rk-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--c1) 70%, #000), var(--c1));
  transition: width 1s var(--ease); }
.rk-val { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; font: 900 22px/1 var(--font-display); font-stretch: 75%; font-variant-numeric: tabular-nums; }
.rk-card { width: 11px; height: 15px; border-radius: 2px; box-shadow: 0 1px 2px #0006; }
.rk-card.y { background: #f5c518; }
.rk-card.r { background: #e5383b; }
.rk-col { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.rk-col small { display: block; color: var(--text-3); font-size: 11px; font-weight: 700; }
@media (max-width: 700px) {
  .kpi-more { padding: 6px 10px; }
  .podium { gap: 8px; }
  .podium-step.p1 { min-height: 180px; }
  .podium-step.p2 { min-height: 150px; }
  .podium-step.p3 { min-height: 135px; }
  .podium-step b { font-size: 28px; }
  .podium-step.p1 b { font-size: 38px; }
  .rank-row { grid-template-columns: 24px minmax(0, 1fr) 56px; grid-template-areas: "p c v" ". b b"; row-gap: 6px; column-gap: 10px; }
  .rk-pos { grid-area: p; } .rk-club { grid-area: c; } .rk-val { grid-area: v; } .rk-bar { grid-area: b; }
  .rk-col { display: none; }
}
@media (prefers-reduced-motion: reduce) { .kpi-link, .kpi-sheet, .rank-preview { transition: none; } }


/* ==========================================================================
   Estatísticas do elenco (visão geral do clube e aba "Estatísticas")
   ========================================================================== */
.pstats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-soft); }
.ps-b { background: var(--surface); padding: 14px 16px 12px; min-width: 0; }
.ps-b h4 { margin: 0 0 8px; font: 900 15px/1.1 var(--font-display); font-stretch: 80%; text-transform: uppercase; letter-spacing: .02em; display: flex; flex-direction: column; gap: 3px; }
.ps-b h4::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: color-mix(in srgb, var(--c1) 60%, var(--text-2)); margin-bottom: 4px; }
.ps-b h4 small { font: 600 11px/1.3 var(--font); color: var(--text-3); text-transform: none; letter-spacing: 0; }
.ps-pend h4::before { background: #f5c518; }
.ps-dm h4::before { background: #e5383b; }
.ps-b ul { list-style: none; margin: 0; padding: 0; display: grid; }
.ps-b li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; grid-auto-rows: auto; align-items: center; column-gap: 8px; row-gap: 2px; padding: 7px 0; border-top: 1px solid var(--line-soft); }
.ps-b li:first-child { border-top: 0; }
.ps-b li b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-n { grid-row: span 2; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; font-weight: 900; font-size: 12px;
  background: color-mix(in srgb, var(--c1) 22%, var(--line-soft)); color: var(--text); }
.ps-v { grid-column: 3; grid-row: 1; justify-self: end; display: inline-flex; align-items: center; gap: 5px; font: 900 18px/1 var(--font-display); font-stretch: 75%; font-variant-numeric: tabular-nums; }
.ps-sub, .ps-tag, .ps-src, .ps-bar { grid-column: 2 / 4; }
.ps-sub { font-size: 11.5px; color: var(--text-3); }
.ps-tag { justify-self: start; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 99px; background: var(--line-soft); color: var(--text-2); }
.ps-tag.ok { background: color-mix(in srgb, var(--win) 13%, transparent); color: var(--win); }
.ps-tag.warn { background: color-mix(in srgb, #f5c518 26%, transparent); color: #6b4f00; }
:root:not([data-theme="light"]) .ps-tag.warn { color: #f5c518; }
.ps-src { font-size: 11.5px; color: var(--text-2); text-underline-offset: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 22px; display: flex; align-items: center; }
.ps-bar { height: 5px; border-radius: 9px; background: var(--line-soft); overflow: hidden; margin-top: 3px; }
.ps-bar i { display: block; height: 100%; width: 0; background: color-mix(in srgb, var(--c1) 55%, var(--text-2)); border-radius: inherit; transition: width 1s var(--ease); }
.ps-empty { grid-template-columns: 1fr !important; color: var(--text-3); font-size: 13px; }
.pstats.full .ps-b { padding: 18px 20px; }
.pstats + .source { padding: 10px 16px 14px; }
@media (max-width: 700px) {
  .pstats { grid-template-columns: minmax(0, 1fr); }
  .ps-src { min-height: 40px; }
}

/* pendurados: aviso de que o número é o total da temporada */
.ps-b li.ps-note { display: block; margin: 2px 0 6px; padding: 10px 12px; border: 0; border-radius: 10px; border-left: 4px solid #f5c518;
  background: color-mix(in srgb, #f5c518 16%, var(--surface)); font-size: 12px; line-height: 1.4; color: var(--text-2); }
.ps-b li.ps-note b { display: block; color: var(--text); font-size: 12.5px; white-space: normal; margin-bottom: 2px; }
.ps-v small { font: 700 11px/1 var(--font); color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; margin-left: 2px; }

/* jogo adiado de rodada anterior, disputado junto com esta */
.match .time .adiado { display: block; margin-top: 2px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #c99a00; }

/* ==========================================================================
   Retrospecto do clube: últimos 5 e próximos 5 jogos
   ========================================================================== */
.fm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-soft); }
.fm-grid > section { background: var(--surface); padding: 14px 16px 10px; min-width: 0; }
.fm-grid h4 { margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font: 900 15px/1.1 var(--font-display); font-stretch: 80%; text-transform: uppercase; }
.fm-grid h4 small { flex-basis: 100%; font: 600 11.5px/1.3 var(--font); color: var(--text-3); text-transform: none; }
.fm-strip { display: inline-flex; gap: 4px; }
.fm-res { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; font: 900 12px/1 var(--font); font-style: normal; color: #fff; flex: none; }
.fm-res.V { background: var(--win, #16a34a); }
.fm-res.E { background: #8b93a7; }
.fm-res.D { background: var(--loss, #e5383b); }
.fm-strip .fm-res { width: 22px; height: 22px; font-size: 11px; animation: pop .4s var(--ease-bounce) both; }
.fm-strip .fm-res:nth-child(2) { animation-delay: .06s } .fm-strip .fm-res:nth-child(3) { animation-delay: .12s }
.fm-strip .fm-res:nth-child(4) { animation-delay: .18s } .fm-strip .fm-res:nth-child(5) { animation-delay: .24s }
.fm-grid ul { list-style: none; margin: 0; padding: 0; }
.fm-row { display: grid; grid-template-columns: 26px 46px minmax(0, 1fr) auto 42px; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line-soft);
  animation: rise .45s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }
.fm-row:first-child { border-top: 0; }
.fm-n { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; font-weight: 900; font-size: 12px; background: var(--line-soft); color: var(--text-2); }
.fm-date b { display: block; font-size: 13px; font-variant-numeric: tabular-nums; }
.fm-date small { font-size: 11px; color: var(--text-3); white-space: nowrap; }
.fm-opp { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fm-opp > span { min-width: 0; display: grid; }
.fm-opp b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-opp img.crest { object-fit: contain; flex: none; }
.fm-nocrest { width: 26px; height: 26px; border-radius: 50%; background: var(--line-soft); flex: none; }
.fm-comp { font-size: 11px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-score { text-align: right; min-width: 0; }
.fm-score b { font: 900 18px/1 var(--font-display); font-stretch: 75%; font-variant-numeric: tabular-nums; }
.fm-score small { display: block; font-size: 11px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
.fm-where { justify-self: end; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 6px; border-radius: 6px; background: var(--line-soft); color: var(--text-2); }
.fm-where.casa { background: color-mix(in srgb, var(--c1) 20%, var(--line-soft)); color: var(--text); }
.fm .source { padding: 10px 16px 14px; }
@media (max-width: 900px) { .fm-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
  .fm-row { grid-template-columns: 24px 66px minmax(0, 1fr) auto; gap: 8px; }
  .fm-where { display: none; }
  .fm-score small { max-width: 90px; }
}


/* ==========================================================================
   Aba Partidas: temporada inteira do clube
   ========================================================================== */
.hm-top { display: grid; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.hm-chips { margin: 0; }
.hm-sum { display: flex; flex-wrap: wrap; gap: 8px; }
.hm-sum span { display: grid; min-width: 70px; padding: 8px 12px; border-radius: 12px; background: var(--line-soft); font-size: 11px; color: var(--text-3); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.hm-sum b { font: 900 24px/1 var(--font-display); font-stretch: 75%; color: var(--text); text-transform: none; letter-spacing: 0; }
.hm-sum .v b { color: var(--win, #16a34a); } .hm-sum .e b { color: var(--draw, #8b93a7); } .hm-sum .d b { color: var(--loss, #e5383b); }
.hm-jump { justify-self: start; font-weight: 800; font-size: 13px; color: var(--ink); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.hm-list { list-style: none; margin: 0; padding: 0; }
.hm-month { position: sticky; top: calc(var(--header-h, 64px) + 52px); z-index: 2; padding: 8px 16px; font: 900 12px/1 var(--font); text-transform: uppercase; letter-spacing: .1em; color: var(--text-3);
  background: color-mix(in srgb, var(--surface) 97%, transparent); border-bottom: 1px solid var(--line-soft); }
.hm-row { display: grid; grid-template-columns: 52px 120px minmax(0, 1fr) 30px minmax(0, 160px); align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line-soft); }
.hm-row.pre { background: color-mix(in srgb, var(--accent) 4%, transparent); }
.hm-row.in { background: color-mix(in srgb, var(--loss, #e5383b) 8%, transparent); }
.hm-date b { display: block; font-size: 14px; font-variant-numeric: tabular-nums; }
.hm-date small, .hm-comp small { display: block; font-size: 11px; color: var(--text-3); }
.hm-comp { font-size: 12px; font-weight: 700; color: var(--text-2); }
.hm-match { display: grid; grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr); align-items: center; gap: 10px; }
.hm-team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hm-match > .hm-team:first-child { justify-content: flex-end; text-align: right; flex-direction: row-reverse; }
.hm-team b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-team img.crest { object-fit: contain; flex: none; }
.hm-mid { text-align: center; display: grid; justify-items: center; }
.hm-score { font: 900 22px/1 var(--font-display); font-stretch: 75%; font-variant-numeric: tabular-nums; padding: 4px 10px; border-radius: 8px; background: var(--line-soft); white-space: nowrap; }
.hm-score i { font-style: normal; opacity: .45; margin: 0 4px; font-size: 16px; }
.hm-score.live { background: color-mix(in srgb, var(--loss, #e5383b) 20%, transparent); }
.hm-mid small { font-size: 11px; color: var(--text-3); margin-top: 3px; white-space: nowrap; }
.hm-mid small.live { color: var(--loss, #e5383b); font-weight: 800; }
.hm-time { font-size: 14px; font-weight: 900; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line-soft); white-space: nowrap; }
.hm-time.tbd { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #6b4f00; border-color: color-mix(in srgb, #f5c518 50%, transparent); background: color-mix(in srgb, #f5c518 12%, transparent); }
.hm-venue { font-size: 11.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.hm .source { padding: 12px 16px 16px; }
@media (max-width: 900px) {
  .hm-row { grid-template-columns: 46px minmax(0, 1fr) 26px; grid-template-areas: "d c r" "m m m"; row-gap: 8px; }
  .hm-date { grid-area: d; } .hm-comp { grid-area: c; } .hm-res { grid-area: r; } .hm-match { grid-area: m; } .hm-venue { display: none; }
  .hm-match { grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); }
  .hm-team b { font-size: 13px; }
  .hm-sum span { min-width: 0; flex: 1 1 28%; }
}

/* ---------- Próximo jogo: passar pelos jogos da rodada ---------- */
.feature .feat-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.feat-nav { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 12px; white-space: nowrap; }
.feat-nav b { color: var(--text); font-variant-numeric: tabular-nums; }
.feat-nav button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent);
  font-size: 18px; line-height: 1; color: var(--text); transition: background 0.2s, transform 0.2s var(--ease-bounce), color 0.2s; }
.feat-nav button:not(:disabled):hover { background: var(--accent); color: var(--on-accent); transform: scale(1.08); }
.feat-nav button:disabled { opacity: 0.3; cursor: default; }
.feat-link { display: block; color: inherit; touch-action: pan-y; }
.feat-venue { display: block; text-align: center; color: var(--text-3); margin-top: 10px; font-size: 12px; }
.feat-sub { margin-top: 14px; font-size: 11px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; }
.feat-dots { display: flex; justify-content: center; gap: 2px; margin-top: 10px; flex-wrap: wrap; }
.feat-dots button { width: 22px; height: 22px; padding: 0; border: 0; background: none; position: relative; }
.feat-dots button::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--text-3); opacity: 0.45; transition: transform 0.2s, opacity 0.2s, background 0.2s; }
.feat-dots button.on::after { background: var(--accent); opacity: 1; transform: scale(1.5); }

/* ---------- Ficha do artilheiro ---------- */
.squad-list li.has-ficha { cursor: pointer; position: relative; transition: background 0.2s; border-radius: 10px; }
.squad-list li.has-ficha:hover, .squad-list li.has-ficha.peek, .squad-list li.has-ficha:focus-visible { background: var(--surface-2); outline: none; }
.sc-more { order: 9; margin-left: 2px; color: var(--text-3); font-size: 18px; line-height: 1; transition: transform 0.2s var(--ease), color 0.2s; }
.squad-list li.has-ficha:hover .sc-more, .squad-list li.has-ficha.peek .sc-more { color: var(--ink); transform: translateX(2px); }
.scorer-card { position: fixed; z-index: 70; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.55), 0 2px 0 rgba(255, 255, 255, 0.04) inset; max-height: calc(100dvh - 24px); overflow: auto;
  opacity: 0; transform: translateY(6px) scale(0.98); transform-origin: top center; pointer-events: none; transition: opacity 0.18s, transform 0.22s var(--ease); }
.scorer-card.open { opacity: 1; transform: none; pointer-events: auto; }
.sc-h { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; margin: -4px -4px 10px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--sc) 34%, transparent), transparent 75%); }
.sc-h b { display: block; font: 900 20px/1.05 var(--font-display); font-stretch: 75%; text-transform: uppercase; }
.sc-h small { color: var(--text-2); font-size: 12px; }
.sc-g { text-align: center; }
.sc-g b { font-size: 32px; line-height: 1; }
.sc-sec { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.sc-sec small { text-transform: none; letter-spacing: 0; font-weight: 600; }
.sc-ficha { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0; }
.sc-ficha div { padding: 7px 9px; border-radius: 10px; background: var(--surface-2); min-width: 0; }
.sc-ficha dt { font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.sc-ficha dd { margin: 2px 0 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.sc-ficha dd small { color: var(--text-3); font-weight: 600; }
.sc-adv, .sc-clubes { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sc-adv li { display: grid; grid-template-columns: 18px 96px 1fr 22px; gap: 8px; align-items: center; font-size: 13px; }
.sc-adv span, .sc-clubes span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-adv i { display: block; height: 6px; width: var(--w); border-radius: 4px; min-width: 6px; }
.sc-adv b, .sc-clubes b { text-align: right; font-variant-numeric: tabular-nums; }
.sc-clubes li { display: grid; grid-template-columns: 18px 1fr auto 24px; gap: 8px; align-items: center; font-size: 13px; }
.sc-clubes small { color: var(--text-3); }
.sc-none { color: var(--text-3); margin: 0; font-size: 13px; }
.sc-src { margin-top: 12px; font-size: 11px; color: var(--text-3); }

/* rótulos curtos nas abas em telas estreitas */
.l-short { display: none; }
@media (max-width: 480px) { .l-long { display: none; } .l-short { display: inline; } }
:root[data-theme="light"] .card { background: color-mix(in srgb, var(--surface) 94%, transparent); }
/* cartões com fundo na cor do clube não podem virar brancos no tema claro (o ídolo ficava branco com texto branco) */
:root[data-theme="light"] .card.idol { background: linear-gradient(135deg, var(--c1), color-mix(in srgb, var(--c1) 50%, #000)); }
:root[data-theme="light"] .card.idol.has-photo { background: var(--c1); }

/* ---------- QA: celular ---------- */
@media (max-width: 720px) {
  /* texto legível (mínimo 11 px) */
  .chart text { font-size: 11px; }
  .ps-v small, .match .time .adiado, .sc-ficha dt { font-size: 11px; }
  .fm-score small, .fm-where, .hm-mid small { font-size: 11px; }
  /* alvos de toque do "Próximo jogo" */
  .feat-nav button { width: 42px; height: 42px; }
  .feat-dots { gap: 0; }
  .feat-dots button { width: 40px; height: 34px; }
  .feat-dots button::after { inset: 14px 17px; }
}
/* cartões flutuantes fechados não ocupam espaço (evita rolagem lateral no iPhone) */
.scorer-card { left: 0; top: 0; width: min(340px, calc(100vw - 24px)); visibility: hidden; transition: opacity 0.18s, transform 0.22s var(--ease), visibility 0s 0.22s; }
.scorer-card.open { visibility: visible; transition: opacity 0.18s, transform 0.22s var(--ease), visibility 0s; }
.rank-preview { left: 0; top: 0; max-width: calc(100vw - 24px); }
.rank-preview:not(.open) { visibility: hidden; }
/* nada de rolagem para os lados: efeitos de profundidade e sombras que passam da borda são recortados.
   O recorte fica na página inteira (e não no conteúdo), para o topo do clube ir de uma ponta à outra da tela. */
html { overflow-x: clip; }
/* reserva a altura da página enquanto ela carrega: o rodapé não aparece no alto e depois "pula" */
main.view { min-height: calc(100vh - var(--header-h)); min-height: calc(100dvh - var(--header-h)); }

/* ==========================================================================
   Topo do clube: o "GOL!" no placar de transmissão (js/goal-bug.js)
   Linha do tempo (6,4 s): placar neutro 0 · 0 → faixa do clube e escudo → GOL! com o
   símbolo do clube → varredura → 1 · 0 → a faixa do gol volta e fica.
   Medidas em em: o placar inteiro cresce ou encolhe com o font-size.
   ========================================================================== */
.hero--gb { min-height: 440px; padding-bottom: 56px; }
/* cena em canvas no fundo (o urubu sobre o Rio, a Via Láctea do Cruzeiro…), terminando no escudo do placar */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; display: block; cursor: pointer; }
.hero--canvas { background: #020a24; min-height: 480px; }
/* com a cena (sempre noturna/escura) no fundo, o texto do topo é branco em todos os clubes;
   antes, clubes de camisa branca (São Paulo, Corinthians, Santos) ficavam com texto preto sobre a cena */
.hero--canvas { --on-c1: #ffffff; color: #fff; }
.hero--canvas .hero-text, .hero--canvas .gb-motto { text-shadow: 0 2px 14px rgb(0 0 0 / 0.5); }
.hero--canvas::before { background:
    linear-gradient(to top, var(--bg) 0%, transparent 22%),
    /* sombra atrás do nome e dos dados (esquerda) e da frase do placar (direita): legível em cena clara ou escura */
    linear-gradient(90deg, rgb(0 0 0 / var(--scrim, 0.55)) 0%, rgb(0 0 0 / calc(var(--scrim, 0.55) * 0.85)) 38%, rgb(0 0 0 / calc(var(--scrim, 0.55) * 0.3)) 52%, transparent 64%),
    radial-gradient(ellipse 26% 22% at 86% 74%, rgb(0 0 0 / 0.5), transparent 75%); }
@media (max-width: 1180px) {
  .hero--canvas::before { background:
    linear-gradient(to top, var(--bg) 0%, transparent 22%),
    linear-gradient(to top, rgb(0 0 0 / calc(var(--scrim, 0.55) + 0.03)) 0%, rgb(0 0 0 / calc(var(--scrim, 0.55) - 0.13)) 55%, rgb(0 0 0 / 0.12) 80%, transparent 100%); }
}
.hero--canvas::after { display: none; }
.gb.wait { opacity: 0; }
.gb.wait + .gb-motto { opacity: 0; animation: none; }
.gb { transition: opacity 0.2s; }
.hero--gb .hero-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; min-height: 340px; }
.hero-gb { font-size: clamp(12px, 1.1vw, 16px); justify-self: end; cursor: pointer; }
.gb { position: relative; width: 37.5em; padding-bottom: 2.1em; }
.gb-bar { position: relative; height: 4.75em; border-radius: 0.5em; box-shadow: 0 1.2em 2em -0.4em rgb(0 0 0 / 0.45); }
.gb-neutral, .gb-art, .gb-team, .gb-wipe { position: absolute; inset: 0; border-radius: 0.5em; overflow: hidden; }
.gb-neutral { display: flex; align-items: center; justify-content: center; gap: 1.1em; padding-left: 5em;
  background: linear-gradient(90deg, #fff 0%, #fff 14%, #c9d2ff 34%, var(--brand) 62%, #2f47d6 100%); }
.gb-d { position: relative; font: 900 3.3em/1 var(--font-display); font-stretch: 80%; color: #fff; text-shadow: 0 0.04em 0.12em rgb(10 20 80 / 0.45); width: 0.62em; text-align: center; }
.gb-h i { font-style: normal; display: block; }
.gb-h .one { position: absolute; inset: 0; opacity: 0; }
.gb-p { width: 2.6em; height: 2.6em; display: grid; transform: rotate(-8deg); }
.gb-p svg { width: 100%; height: 100%; filter: drop-shadow(0 0.15em 0.3em rgb(0 0 0 / 0.25)); }
.gb-art { left: 13.5em; border-radius: 0 0.5em 0.5em 0; }
.gb-art svg { display: block; width: 100%; height: 100%; }
.gb-word text { font: 900 64px var(--font-display); font-stretch: 78%; letter-spacing: -1px; }
.gb-word .gb-l { letter-spacing: -2px; }
.gb-g, .gb-l, .gb-sym-in, .gb-art .dk, .gb .spin, .gb .flap, .gb .rays, .gb .spin-in, .gb .glint, .gb .halo, .gb .arrow, .gb .tier, .gb .sway, .gb .tail { transform-box: fill-box; transform-origin: center; }
.gb-team { right: auto; width: 15em; background: var(--band); color: var(--bink); border-radius: 0.5em 0 0 0.5em;
  clip-path: polygon(0 0, 100% 0, 66% 50%, 100% 100%, 0 100%); }
.gb-team::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 40%, color-mix(in srgb, var(--base) 55%, transparent) 100%); }
.gb-team span { position: absolute; left: 0.55em; top: 50%; transform: translateY(-50%); font: 900 2.55em/1 var(--font-display); font-stretch: 85%; letter-spacing: 0.01em; z-index: 1; }
.gb-crest { will-change: transform, opacity; position: absolute; left: 7.9em; top: 50%; width: 5.9em; height: 5.9em; margin-top: -2.95em; display: grid; place-items: center; z-index: 2; }
.gb-crest img, .gb-crest svg { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0.25em 0.45em rgb(0 0 0 / 0.4)); }
.gb-wipe { z-index: 5; transform: translateX(-104%); clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
  background: linear-gradient(90deg, #fff 0%, #fff 30%, var(--brand) 80%, #ff3b4f 100%); }
.gb-wipe-box { position: absolute; inset: 0; overflow: hidden; border-radius: 0.5em; z-index: 5; pointer-events: none; }
.gb-clock { box-shadow: 0 0.6em 1em -0.4em rgb(0 0 0 / 0.35); position: absolute; left: 14.2em; top: 4.75em; width: 6.4em; height: 2em; display: grid; place-items: center; border-radius: 0 0 0.6em 0.6em; background: #fff; color: #0b1020; }
.gb-clock span { font: 900 1.3em/1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.gb-motto { margin: 0.9em 0 0; text-align: right; color: var(--on-c1); }
.hero--canvas .gb-motto { width: fit-content; margin: 0.9em 0 0 auto; padding: 0.45em 0.8em 0.5em; border-radius: 0.6em;
  background: linear-gradient(90deg, rgb(4 8 20 / 0.58), rgb(4 8 20 / 0.74)); }
.gb-motto b { display: block; font: 900 1.6em/1.1 var(--font-display); font-stretch: 72%; letter-spacing: 0.05em; text-transform: uppercase; text-wrap: balance; }
.gb-motto span { font-size: max(11px, 0.8em); opacity: 0.72; }

/* --- animação --- */
/* entrada da faixa: recorta só para os lados e não fica valendo depois (o escudo pode vazar da faixa) */
.gb.play .gb-bar { animation: gbBar 0.4s cubic-bezier(0.2, 0.9, 0.3, 1) backwards; }
.gb.play .gb-team { animation: gbTeam 6.4s linear both; }
.gb.play .gb-crest { animation: gbCrest 6.4s linear both; }
.gb.play .gb-art { animation: gbArt 6.4s linear both; }
.gb.play .gb-wipe { animation: gbWipe 6.4s linear both; }
.gb.play .gb-h i:first-child { animation: gbZero 6.4s linear both; }
.gb.play .gb-h .one { animation: gbOne 6.4s linear both; }
.gb.play .gb-g { animation: gbDrop 0.5s cubic-bezier(0.3, 1.4, 0.5, 1) 0.95s both; }
.gb.play .gb-sym-in { animation: gbPop 0.65s cubic-bezier(0.3, 1.5, 0.5, 1) 1.1s both; }
.gb.play .gb-l { animation: gbSlide 0.5s cubic-bezier(0.3, 1.4, 0.5, 1) 1.25s both; }
.gb.play .dk { animation: gbDeco 0.55s cubic-bezier(0.2, 0.9, 0.3, 1) calc(1s + var(--k, 0) * 70ms) both; }
.gb.play .dk.pop { animation-name: gbPopDeco; }
.gb.play .dk.grow { animation-name: gbGrow; transform-origin: center bottom; }
.gb.play .gb-clock { animation: gbClock 0.4s ease 0.3s both; }
.gb.play + .gb-motto { animation: fade 0.8s ease 1.9s both; }
/* movimentos contínuos dos símbolos, depois que o GOL! se forma */
.gb .spin { animation: gbSpin 3.2s linear 1.1s infinite; }
.gb .flap { animation: gbFlap 0.9s ease-in-out 1.6s infinite alternate; }
.gb .sway { animation: gbSway 1.6s ease-in-out 1.6s infinite alternate; transform-origin: 30% 100%; }
.gb .tail { animation: gbTail 1.8s ease-in-out 1.6s infinite alternate; transform-origin: 50% 100%; }
.gb .halo { animation: gbHalo 1.6s ease-in-out 1.6s infinite alternate; }
.gb .rays { animation: gbSpin 14s linear 1.1s infinite; }
.gb .spin-in { animation: gbSpinIn 0.9s cubic-bezier(0.3, 1.3, 0.5, 1) 1.1s both; }
.gb .glint { animation: gbGlint 1.4s ease-in-out 1.8s infinite; }
.gb .arrow { animation: gbArrow 0.42s cubic-bezier(0.5, 0, 0.9, 0.6) 1.3s both, gbThud 0.5s ease-out 1.72s; }
.gb .tier { animation: gbGrow 0.5s cubic-bezier(0.3, 1.4, 0.5, 1) calc(1.15s + var(--k) * 0.12s) both; transform-origin: center bottom; }
.gb .beam { transform-origin: 0 0; transform-box: view-box; animation: gbBeam 2.4s ease-in-out 1.6s infinite alternate; }
.gb .wv { animation: gbWave 2.6s linear 1.2s infinite; }
.gb.still, .gb.still * { animation: none !important; }
.gb.still .gb-wipe { display: none; }

@keyframes gbBar { from { clip-path: inset(-60% 100% -60% -10%); } to { clip-path: inset(-60% -10% -60% -10%); } }
@keyframes gbTeam { 0%, 8.6% { clip-path: polygon(0 0, 0 0, 0 50%, 0 100%, 0 100%); } 13.3%, 100% { clip-path: polygon(0 0, 100% 0, 66% 50%, 100% 100%, 0 100%); } }
@keyframes gbCrest {
  0%, 10.9% { opacity: 0; transform: scale(0.2) rotate(-25deg); }
  15.6% { opacity: 1; transform: scale(1.16) rotate(5deg); }
  18.8%, 65.6% { opacity: 1; transform: none; }
  65.7%, 90.6% { opacity: 0; transform: scale(0.2); }
  94.5% { opacity: 1; transform: scale(1.12); }
  96.9%, 100% { opacity: 1; transform: none; }
}
@keyframes gbArt { 0%, 11.7% { clip-path: inset(0 100% 0 0); } 17.2%, 65.6% { clip-path: inset(0 0 0 0); } 65.7%, 90.6% { clip-path: inset(0 100% 0 0); } 96.9%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes gbWipe { 0%, 60.9% { transform: translateX(-104%); } 65.6% { transform: translateX(0); } 71%, 100% { transform: translateX(104%); } }
@keyframes gbZero { 0%, 65.6% { opacity: 1; } 65.7%, 100% { opacity: 0; } }
@keyframes gbOne { 0%, 65.6% { opacity: 0; transform: scale(0.4); } 68% { opacity: 1; transform: scale(1.45); } 71%, 100% { opacity: 1; transform: none; } }
@keyframes gbDrop { from { opacity: 0; transform: translateY(-40px) scale(1.3); } }
@keyframes gbSlide { from { opacity: 0; transform: translateX(40px); } }
@keyframes gbPop { 0% { opacity: 0; transform: scale(0) rotate(-40deg); } 100% { opacity: 1; transform: none; } }
@keyframes gbDeco { from { opacity: 0; transform: translateX(40px); } }
@keyframes gbPopDeco { from { opacity: 0; transform: scale(0) rotate(-30deg); } }
@keyframes gbGrow { from { opacity: 0; transform: scaleY(0); } }
@keyframes gbClock { from { transform: translateY(-100%); opacity: 0; } }
@keyframes gbSpin { to { transform: rotate(360deg); } }
@keyframes gbSpinIn { from { transform: rotate(-200deg) scale(0.3); } }
@keyframes gbFlap { from { transform: scaleY(1); } to { transform: scaleY(0.72) translateY(-2px); } }
@keyframes gbSway { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
@keyframes gbTail { from { transform: rotate(-7deg) translateY(1px); } to { transform: rotate(7deg) translateY(-2px); } }
@keyframes gbHalo { from { transform: translateY(0); } to { transform: translateY(-3px); } }
@keyframes gbGlint { 0%, 100% { opacity: 0; transform: scale(0.3); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes gbArrow { from { transform: translate(-70px, -24px); opacity: 0; } 20% { opacity: 1; } }
@keyframes gbThud { 30% { transform: rotate(-4deg); } 60% { transform: rotate(2deg); } }
@keyframes gbBeam { from { transform: rotate(-10deg); } to { transform: rotate(8deg); } }
@keyframes gbWave { to { transform: translateX(-40px); } }

@media (max-width: 1180px) {
  .hero--gb .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 22px; min-height: 0; }
  .hero-gb { order: -1; justify-self: stretch; font-size: min(15px, calc((100vw - 40px) / 37.5)); }
  .hero-gb .gb { margin: 0 auto; }
  .gb-motto { text-align: center; }
  .hero--canvas .gb-motto { margin: 0.9em auto 0; }
}
@media (max-width: 560px) {
  .hero--gb { min-height: 0; padding-top: 26px; padding-bottom: 30px; }
  .gb-motto b { font-size: 18px; }
}
@media (max-width: 700px) { .board-tip { margin-left: 0; width: 100%; } }

/* só para leitores de tela */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* toque: resposta imediata em botões e chips (sem o cinza padrão do navegador) */
@media (hover: none) {
  button:not(:disabled):active, .chip:active, .tab:active, .icon-btn:active, .match:active, .star:active { transform: scale(0.97); transition: transform 0.08s; }
  .match:active { background: var(--surface-2); }
}
:root:not([data-theme="light"]) .hm-time.tbd { color: #f5c518; }

/* ==========================================================================
   Bora pro jogo: mapa de calor de quem está sendo arrastado (js/heatmap.js)
   ========================================================================== */
.board > .board-lines, .board > .board-heat { border-radius: inherit; }
.board-heat { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: 0; transition: opacity 0.22s ease; mix-blend-mode: screen; }
:root[data-theme="light"] .board-heat { mix-blend-mode: normal; }
.board-heat.on { opacity: 0.92; }
.board-card.dragging .bt:not(.grab) { opacity: 0.55; transition: opacity 0.2s, left 0.9s var(--ease), top 0.9s var(--ease); }
.board-heatcard { position: absolute; top: 10px; left: 10px; z-index: 6; width: min(260px, 52%); padding: 10px 12px; border-radius: 12px; pointer-events: none;
  background: rgb(8 12 24 / 0.86); color: #fff; box-shadow: 0 12px 30px -10px rgb(0 0 0 / 0.6); border: 1px solid rgb(255 255 255 / 0.1);
  opacity: 0; transform: translateY(-6px) scale(0.98); transition: opacity 0.18s ease, transform 0.22s var(--ease); font-size: 12px; }
.board-heatcard.right { left: auto; right: 10px; }
.board-heatcard.on { opacity: 1; transform: none; }
.hc-head { display: flex; gap: 10px; align-items: center; }
.hc-n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 900 13px var(--font); border: 2px solid rgb(255 255 255 / 0.85); }
.hc-head b { display: block; font: 800 15px/1.1 var(--font-display); font-stretch: 85%; }
.hc-head small { display: flex; align-items: center; gap: 4px; color: rgb(255 255 255 / 0.75); font-size: 11px; margin-top: 2px; }
.hc-roles { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 8px; }
.hc-roles span { color: rgb(255 255 255 / 0.85); }
.hc-roles b { color: #ffd34d; font-weight: 900; }
.hc-meta { margin-top: 4px; color: rgb(255 255 255 / 0.75); font-size: 11px; }
.hc-scale { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px; margin-top: 8px; font-size: 11px; color: rgb(255 255 255 / 0.7); }
.hc-scale i { grid-column: 1 / 4; grid-row: 1; height: 6px; border-radius: 3px; background: linear-gradient(90deg, rgb(20 120 255 / 0.5), #14d296, #c8eb28, #ffa014, #f01e1e); }
.hc-scale span:first-of-type { grid-row: 2; grid-column: 1; }
.hc-scale span:last-of-type { grid-row: 2; grid-column: 3; }
.hc-src { margin-top: 6px; font-size: 11px; line-height: 1.3; color: rgb(255 255 255 / 0.6); }
@media (max-width: 700px) {
  /* no celular o campo é pequeno: o cartão aparece logo acima dele, sem cobrir a grama */
  .board-heatcard, .board-heatcard.right { top: auto; bottom: calc(100% + 8px); left: 0; right: 0; width: auto; padding: 8px 10px; transform: translateY(6px); }
  .board-heatcard.on { transform: none; }
  .hc-head b { font-size: 14px; }
  .hc-roles { margin-top: 6px; }
  .hc-scale { margin-top: 6px; }
  .hc-src { display: none; }
  .board { overflow: visible; } /* o cartão fica acima do campo */
}

/* ---------- Partida: artilheiros dos dois times lado a lado (top 5) ---------- */
.squad-list .sl-sub { display: block; font-size: 11px; color: var(--text-3); font-weight: 600; margin-top: 1px; }
.scorers-duel .sd-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 12px 16px 6px; }
.sd-t { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sd-t b { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-ta { justify-content: flex-end; }
.sd-vs { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.sd-list { list-style: none; margin: 0; padding: 0 8px 4px; }
.sd-list li { display: grid; grid-template-columns: 1fr 34px 1fr; align-items: stretch; border-top: 1px solid var(--line-soft); }
.sd-list li:first-child { border-top: 0; }
.sd-k { display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--text-3); }
.sd-p { position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 10px 8px 13px; border-radius: 10px; transition: background 0.2s; }
.sd-h { flex-direction: row-reverse; text-align: right; }
.sd-nm { flex: 1; min-width: 0; display: grid; }
.sd-nm b { font-weight: 700; font-size: 14px; line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; }
.sd-nm small { font-size: 11px; color: var(--text-3); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-g { font: 900 20px var(--font-display); font-stretch: 75%; min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; }
.sd-bar { position: absolute; bottom: 6px; height: 3px; width: calc((100% - 16px) * var(--f)); border-radius: 2px; background: var(--c); opacity: 0.9; }
.sd-h .sd-bar { right: 8px; }
.sd-a .sd-bar { left: 8px; }
.sd-none { justify-content: center; color: var(--text-3); }
.sd-p.has-ficha { cursor: pointer; }
.sd-p.has-ficha:hover, .sd-p.has-ficha.peek, .sd-p.has-ficha:focus-visible { background: var(--surface-2); outline: none; }
.sd-p.has-ficha:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.sd-foot { display: flex; justify-content: space-between; gap: 12px; padding: 8px 16px 4px; font-size: 12px; color: var(--text-3); border-top: 1px solid var(--line-soft); }
.sd-foot b { color: var(--text); font-weight: 800; }
@media (max-width: 420px) {
  .sd-list { padding: 0 4px 4px; }
  .sd-list li { grid-template-columns: 1fr 24px 1fr; }
  .sd-p { padding: 9px 6px 12px; gap: 6px; }
  .sd-nm b { font-size: 13px; }
  .sd-g { font-size: 18px; min-width: 18px; }
}

/* ---------- Classificação e artilharia ao vivo ---------- */
.mov { display: inline-block; margin-left: 4px; font-size: 10px; font-weight: 800; vertical-align: 1px; font-variant-numeric: tabular-nums; }
.mov.up { color: var(--win); }
.mov.down { color: var(--loss); }
.live-chip { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 2px 7px; border-radius: 999px; font-size: 11px; font-weight: 800; line-height: 1.5; white-space: nowrap; font-variant-numeric: tabular-nums;
  background: color-mix(in srgb, var(--draw) 16%, transparent); color: var(--text); }
.live-chip.w { background: color-mix(in srgb, var(--win) 18%, transparent); }
.live-chip.l { background: color-mix(in srgb, var(--loss) 18%, transparent); }
.live-chip.fim { opacity: 0.85; }
.live-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--loss); animation: livePulse 1.4s ease-in-out infinite; }
@keyframes livePulse { 50% { opacity: 0.25; } }
.gol-hoje { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 999px; font-size: 10px; font-weight: 800; line-height: 1.6; vertical-align: 2px;
  background: color-mix(in srgb, var(--win) 18%, transparent); color: var(--win); white-space: nowrap; }
.gol-hoje.on { background: var(--loss); color: #fff; }
.sd-nm small .gol-hoje { margin-left: 0; vertical-align: 0; }
.sd-nm small .gol-hoje:not(:first-child) { margin-left: 6px; }
@media (prefers-reduced-motion: reduce) { .live-chip i { animation: none; } }
@media (max-width: 560px) { .table .live-chip { margin-left: 6px; padding: 1px 6px; font-size: 10px; } }
/* ficha: gols de agora contra cada adversário */
.sc-adv li { grid-template-columns: 18px 96px 1fr auto; }
.sc-adv b { min-width: 22px; display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; }
.sc-hoje { padding: 0 6px; border-radius: 999px; font-size: 10px; font-weight: 800; line-height: 1.6; background: var(--loss); color: #fff; white-space: nowrap; }

/* ficha do artilheiro: abre no clique, rola por dentro e tem botão de fechar */
.scorer-card { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.sc-close { position: sticky; top: 0; float: right; z-index: 2; width: 30px; height: 30px; margin: -6px -6px -24px 0; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--text-2); font-size: 13px; cursor: pointer; transition: background 0.15s, color 0.15s; }
.sc-close:hover, .sc-close:focus-visible { background: var(--surface-2); color: var(--text); outline: none; }
.sc-close:focus-visible { box-shadow: 0 0 0 2px var(--accent); }
.scorer-card .sc-h { margin-right: 28px; }
[data-scorer].peek { background: var(--surface-2); }
[data-scorer].peek .sc-more { transform: rotate(90deg); color: var(--ink); }
.sc-more { transition: transform 0.2s var(--ease), color 0.2s; }
/* o selo "+1 ao vivo" não aumenta a altura da linha do jogador */
.squad-list .gol-hoje { vertical-align: 1px; line-height: 15px; }

/* atualização ao vivo: pedaço trocado não repete a entrada; número que mudou dá um pulo discreto */
.patched, .patched * { animation-delay: 0s !important; }
.patched.match, .patched .match, .patched tr, .patched .kpi, .patched.kpi, .patched li { animation: none !important; }
.bump { animation: numBump 0.9s var(--ease); }
@keyframes numBump { 0% { transform: scale(1); } 18% { transform: scale(1.22); color: var(--ink); } 100% { transform: scale(1); } }
.status.bump, .time.bump, .live-chip.bump { animation: none; }
@media (prefers-reduced-motion: reduce) { .bump { animation: none; } }
.goals.bump, .sd-g.bump, .live-chip.bump { display: inline-block; }

/* ==========================================================================
   Tipografia em três vozes
   1) Archivo Black condensada: o nome do clube, os títulos das páginas, o placar grande e o GOL! (a identidade)
   2) Barlow Condensed: a "letra de transmissão" (cabeçalhos dos cards, chamadas, rótulos, números de lista)
   3) Archivo normal: tudo o que se lê (nomes, frases, notícias, narração)
   ========================================================================== */
.card-h { font: 700 15px/1.1 var(--font-label); letter-spacing: 0.07em; }
.card-h small { font: 500 13px var(--font-label); letter-spacing: 0.02em; }
.eyebrow { font: 600 13px/1.2 var(--font-label); letter-spacing: 0.16em; }
.table th { font: 600 12px var(--font-label); letter-spacing: 0.08em; }
.table td.pts { font: 800 16px var(--font-label); font-variant-numeric: tabular-nums; }
.kpi small { font: 600 12.5px var(--font-label); letter-spacing: 0.1em; }
.goals, .sd-g { font: 800 23px/1 var(--font-label); font-variant-numeric: tabular-nums; }
.squad-list .n, .sd-k { font: 700 13px var(--font-label); letter-spacing: 0.02em; }
.match .score { font: 800 17px/1.15 var(--font-label); font-variant-numeric: tabular-nums; }
.match .time { font-family: var(--font-label); font-weight: 600; font-size: 13.5px; letter-spacing: 0.02em; }
.day-h, .comp-h { font-family: var(--font-label); letter-spacing: 0.06em; }
.pill { font-family: var(--font-label); font-weight: 700; letter-spacing: 0.1em; }
.scoreline .status, .mam-min, .sc-sec, .live-chip, .gol-hoje, .sc-hoje, .mov { font-family: var(--font-label); }
.live-chip { font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; }
.gol-hoje, .sc-hoje { font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em; }
.mov { font-size: 12px; font-weight: 700; }
.sc-sec { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; }
.sd-nm small, .squad-list .sl-sub { font-family: var(--font-label); font-size: 12.5px; font-weight: 500; letter-spacing: 0.02em; }
.mam-min { font-size: 14px; font-weight: 700; }
/* tabela: nome curto do clube no celular; o nome nunca quebra em duas linhas */
.table td.club a > span { white-space: nowrap; }
.table .nm-s { display: none; }
@media (max-width: 560px) { .table .nm-l { display: none; } .table .nm-s { display: inline; } }
@media (max-width: 700px) {
  /* 5 números do campeonato em duas colunas: o último ocupa a linha inteira */
  .league-kpis > .kpi:last-child:nth-child(odd) { grid-column: 1 / -1; }
  /* subiu/caiu fica embaixo da posição, sem empurrar a coluna */
  .table td:first-child { position: relative; }
  .table .mov { display: block; margin: 2px 0 0; font-size: 10.5px; line-height: 1; }
}

/* grade de clubes: texto de baixo legível em qualquer camisa (inclusive as brancas), numa linha só;
   escudo do canto um pouco maior e destacado do fundo listrado */
.club-card::after { background:
    radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgb(255 255 255 / 0.2), transparent 60%),
    linear-gradient(to top, rgb(0 0 0 / 0.86), rgb(0 0 0 / 0.5) 26%, rgb(0 0 0 / 0.08) 62%); }
.club-card h3 { text-shadow: 0 2px 12px rgb(0 0 0 / 0.45); }
.club-card p { gap: 10px; opacity: 0.92; white-space: nowrap; text-shadow: 0 1px 6px rgb(0 0 0 / 0.5); }
.club-card p span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.club-card p span:last-child { flex-shrink: 0; }
.club-card .crest-wrap { top: 16px; left: 16px; filter: drop-shadow(0 2px 6px rgb(0 0 0 / 0.35)) drop-shadow(0 0 1px rgb(255 255 255 / 0.5)); }

/* ==========================================================================
   Faixa de notícias embaixo do menu (tarja de telejornal), de ponta a ponta da tela.
   Bloco do PLACAR. com o "ao vivo" e a hora à esquerda; em cima, a manchete principal (a barrinha
   embaixo dela marca o tempo até a próxima); embaixo, a fita com as outras passando.
   Fica escura nos dois temas, como a tarja da TV.
   ========================================================================== */
.ticker { --tk-red: #e0182a; --tk-red2: #a10b18; --tk-ink: #0a1022; --tk-tape: #f2f4f9; --tk-h: 44px; --tk-r: 32px;
  position: relative; z-index: 4; display: grid; grid-template-columns: auto minmax(0, 1fr); width: 100%; margin: 0;
  color: #fff; background: var(--tk-ink); border-top: 2px solid var(--tk-red);
  box-shadow: 0 14px 28px -20px rgb(0 0 0 / 0.75); animation: tkIn 0.6s var(--ease) both; }
.ticker[hidden] { display: none; }
@keyframes tkIn { from { opacity: 0; transform: translateY(-8px); } }
/* bloco do PLACAR. (corte em diagonal, brilho suave por cima) */
.tk-tag { position: relative; z-index: 2; display: grid; align-content: center; justify-items: start; gap: 3px;
  padding: 0 36px 0 20px;
  background: linear-gradient(160deg, rgb(255 255 255 / 0.16), transparent 46%), linear-gradient(120deg, var(--tk-red), var(--tk-red2));
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%); }
.tk-tag::after { content: ""; position: absolute; top: 0; bottom: 0; right: 8px; width: 4px; background: rgb(255 255 255 / 0.85); transform: skewX(-20deg); }
.tk-tag b { font: 900 23px/1 var(--font-display); font-stretch: 72%; letter-spacing: 0.05em; display: inline-flex; align-items: baseline; gap: 2px; }
.tk-tag b i { width: 6px; height: 6px; border-radius: 1px; background: #fff; }
.tk-tag span { display: inline-flex; align-items: center; gap: 6px; font: 700 11.5px/1 var(--font-label); letter-spacing: 0.16em; text-transform: uppercase; }
/* bolinha "ao vivo": o anel cresce e some por transform + opacity num pseudo-elemento próprio
   (antes era box-shadow animado: repintava a faixa e recalculava estilo a cada quadro, em todas as telas) */
.tk-tag span { position: relative; }
.tk-tag span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.tk-tag span::after { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: rgb(255 255 255 / 0.6); animation: tkAnel 1.8s ease-out infinite; pointer-events: none; }
@keyframes tkAnel { 0% { transform: scale(1); opacity: 0.8; } 70%, 100% { transform: scale(3); opacity: 0; } }
.tk-clock { justify-self: start; margin-top: 2px; padding: 3px 7px; border-radius: 5px; font: 700 13px/1 var(--font-label); letter-spacing: 0.05em;
  background: #fff; color: var(--tk-red2); font-variant-numeric: tabular-nums; }
.tk-body { min-width: 0; display: grid; grid-template-rows: var(--tk-h) var(--tk-r); margin-left: -18px; }
/* manchete principal */
.tk-head { position: relative; overflow: hidden; padding-left: 18px;
  background: repeating-linear-gradient(115deg, rgb(255 255 255 / 0.025) 0 2px, transparent 2px 14px), linear-gradient(90deg, #132048, var(--tk-ink) 65%); }
.tk-h { position: absolute; inset: 0 0 0 18px; display: flex; align-items: center; gap: 14px; padding: 0 24px 0 22px;
  color: #fff; text-decoration: none; opacity: 0; transform: translateY(100%); transition: transform 0.65s var(--ease), opacity 0.45s; }
.tk-h.on { opacity: 1; transform: none; }
.tk-h.out { opacity: 0; transform: translateY(-100%); }
.tk-h b { min-width: 0; font: 700 22px/1.1 var(--font-label); letter-spacing: 0.01em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-shadow: 0 1px 10px rgb(0 0 0 / 0.35); }
.tk-h small { flex-shrink: 0; margin-left: auto; padding: 3px 8px; border-radius: 999px; font: 600 12.5px/1 var(--font-label); letter-spacing: 0.04em;
  color: rgb(255 255 255 / 0.78); background: rgb(255 255 255 / 0.08); }
.tk-h:hover b, .tk-h:focus-visible b { text-decoration: underline; text-decoration-color: var(--tk-red); text-underline-offset: 5px; }
.tk-h:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
/* tempo até a próxima manchete */
.tk-prog { position: absolute; left: 18px; bottom: 0; height: 2px; width: calc(100% - 18px); background: var(--tk-red); transform-origin: left; transform: scaleX(0); }
.tk-prog.run { animation: tkProg 8s linear forwards; }
@keyframes tkProg { to { transform: scaleX(1); } }
/* pausa só com o mouse de verdade em cima ou com o foco do teclado (no celular o "hover" fica preso depois do toque,
   e o foco fica no link depois de abrir a matéria em outra aba: antes, a fita parava para sempre nesses casos) */
.ticker.segura .tk-prog, .ticker.pausado .tk-prog { animation-play-state: paused; }
/* fita */
.tk-run { position: relative; overflow: hidden; padding-left: 18px; color: #111827;
  background: linear-gradient(180deg, #fff, var(--tk-tape)); box-shadow: inset 0 1px 0 rgb(0 0 0 / 0.06);
  -webkit-mask-image: linear-gradient(90deg, transparent 18px, #000 54px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, transparent 18px, #000 54px, #000 calc(100% - 36px), transparent); }
/* a fita anda pela Web Animations API (js/ticker.js), que a regra geral de "reduzir movimento" não desliga;
   a animação em CSS (.css) fica só para navegadores antigos sem ela */
.tk-track { display: flex; width: max-content; height: 100%; will-change: transform; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.tk-track.css { -webkit-animation: tkRun var(--tk-dur, 90s) linear infinite; animation: tkRun var(--tk-dur, 90s) linear infinite; }
@media (hover: hover) and (pointer: fine) { .ticker:hover .tk-track.css { animation-play-state: paused; } }
.ticker.pausado .tk-track.css { -webkit-animation-play-state: paused; animation-play-state: paused; }
@-webkit-keyframes tkRun { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes tkRun { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
/* botão de pausar a fita (para quem prefere a fita parada) */
.tk-body { position: relative; }
.tk-pause { position: absolute; right: 6px; bottom: calc((var(--tk-r) - 24px) / 2); z-index: 3; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: #fff; background: var(--tk-ink); box-shadow: 0 0 0 2px #fff; opacity: 0.85; }
.tk-pause:hover, .tk-pause:focus-visible { opacity: 1; outline: none; box-shadow: 0 0 0 2px var(--tk-red); }
.tk-pause::before { content: ""; width: 8px; height: 9px; border-left: 3px solid; border-right: 3px solid; box-sizing: border-box; }
.ticker.pausado .tk-pause::before { width: 0; height: 0; border: 5px solid transparent; border-left: 8px solid #fff; border-right: 0; margin-left: 3px; }
.tk-copy { display: flex; align-items: center; height: 100%; }
.tk-item { display: inline-flex; align-items: center; gap: 8px; padding: 0 2px; white-space: nowrap; color: inherit; text-decoration: none; }
.tk-item b { font: 600 15px var(--font-label); letter-spacing: 0.01em; }
.tk-item small { font: 600 12px var(--font-label); letter-spacing: 0.03em; color: #6a7487; text-transform: uppercase; }
.tk-item .crest { width: 21px; height: 21px; }
.tk-item:hover b, .tk-item:focus-visible b { color: var(--tk-red2); text-decoration: underline; text-underline-offset: 3px; }
.tk-sep { width: 7px; height: 7px; margin: 0 18px; border-radius: 1px; background: var(--tk-red); transform: rotate(45deg); flex-shrink: 0; }
/* tela grande: um pouco mais alta e com letra maior */
@media (min-width: 1700px) {
  .ticker { --tk-h: 50px; --tk-r: 34px; }
  .tk-h b { font-size: 25px; }
  .tk-item b { font-size: 16px; }
}
/* tablet */
@media (max-width: 1024px) {
  .ticker { --tk-h: 42px; --tk-r: 30px; }
  .tk-h b { font-size: 19px; }
}
/* celular: bloco menor (sem o "futebol agora"), manchete em até duas linhas, sem a fonte */
@media (max-width: 700px) {
  .ticker { --tk-h: 50px; --tk-r: 30px; }
  .tk-tag { padding: 0 26px 0 12px; gap: 4px; }
  .tk-tag::after { right: 6px; width: 3px; }
  .tk-tag b { font-size: 17px; }
  .tk-tag span { font-size: 0; letter-spacing: 0; gap: 0; }
  .tk-tag span::before { width: 6px; height: 6px; }
  .tk-tag { grid-template-columns: auto auto; align-items: center; column-gap: 6px; }
  .tk-tag b { grid-column: 1 / -1; }
  .tk-clock { margin-top: 0; font-size: 12px; padding: 2px 6px; }
  .tk-h { padding: 0 12px 0 18px; }
  .tk-h b { font-size: 15.5px; line-height: 1.12; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .tk-h small { display: none; }
  .tk-item b { font-size: 14px; }
  .tk-sep { margin: 0 14px; }
}
@media (max-width: 360px) {
  .tk-tag b { font-size: 15px; }
  .tk-h b { font-size: 14.5px; }
}
/* animações do aparelho desligadas (Windows, iPhone, Android): a fita continua andando, mais devagar e sem os efeitos
   em volta; a manchete troca só esmaecendo, sem deslizar. O botão ao lado da fita para tudo. */
@media (prefers-reduced-motion: reduce) {
  .ticker, .tk-tag span::after { animation: none; }
  .tk-h, .tk-h.out { transform: none; transition: opacity 0.4s; }
  .tk-prog { display: none; }
}

/* ---------- Partida: arbitragem pelas manchetes ---------- */
.arb-src { display: block; font: 500 12px var(--font-label); color: var(--text-3); letter-spacing: 0.02em; }
.arb-pend { color: var(--text-3); font-weight: 600; }
.arb { border-top: 1px solid var(--line-soft); padding: 14px 16px 16px; }
.arb-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.arb-h svg { width: 16px; height: 16px; color: var(--ink); }
.arb-h b { font: 700 14px var(--font-label); letter-spacing: 0.07em; text-transform: uppercase; }
.arb-h small { margin-left: auto; font: 500 12.5px var(--font-label); color: var(--text-3); }
.arb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.arb-list a { display: grid; gap: 2px; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; color: inherit; text-decoration: none; transition: background 0.2s; }
.arb-list a:hover, .arb-list a:focus-visible { background: var(--surface-2); outline: none; }
.arb-list b { font-weight: 600; font-size: 14px; line-height: 1.3; }
.arb-list small { font: 500 12.5px var(--font-label); color: var(--text-3); }
.arb-none { margin: 0; color: var(--text-2); font-size: 14px; }
.arb-aviso { margin: 10px 0 0; font-size: 12px; line-height: 1.45; color: var(--text-3); }
.arb-aviso a { color: var(--ink); font-weight: 600; white-space: nowrap; }

/* menu entre 900 e 1240 px (notebook pequeno, tablet deitado): os links nunca quebram em duas linhas */
.nav a { white-space: nowrap; }
@media (max-width: 1240px) and (min-width: 901px) {
  .header { gap: 14px; padding: 0 18px; }
  .nav { gap: 2px; }
  .nav a { padding: 8px 10px; font-size: 14px; }
  .search { width: clamp(150px, 20vw, 280px); }
}
@media (max-width: 1040px) and (min-width: 901px) {
  .logo-word { display: none; }
  .search input::placeholder { color: transparent; }
}
/* Safari: o peso e a largura da letra do bloco vêm separados (no atalho "font" ele perdia o negrito) */
.tk-tag b { font-family: var(--font-display); font-weight: 900; font-stretch: 72%; font-style: normal; }
@media (max-width: 700px) { .tk-tag b { font-size: 17px; } .tk-tag { column-gap: 8px; } }
@media (max-width: 360px) { .tk-tag b { font-size: 15px; } }
/* pontas da fita: esmaecem na própria cor da fita (sem a mancha escura) */
.tk-run { -webkit-mask-image: none; mask-image: none; padding-left: 0; }
.tk-run::before, .tk-run::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; width: 44px; pointer-events: none; }
.tk-run::before { left: 0; width: 60px; background: linear-gradient(90deg, var(--tk-tape) 30%, rgb(242 244 249 / 0)); }
.tk-run::after { right: 0; background: linear-gradient(270deg, var(--tk-tape), rgb(242 244 249 / 0)); }
@media (prefers-reduced-motion: reduce) { .tk-run::before, .tk-run::after { display: none; } }

/* ---------- relógio do placar: a goleada mais simbólica do clube ----------
   o relógio para no placar (06:01 = 6 x 1) e, ao lado, a legenda diz qual foi */
.gb-feito { position: absolute; left: 20.9em; top: 4.75em; height: 2em; display: flex; align-items: center; gap: 0.5em; padding: 0 0.85em 0 0.75em;
  border-radius: 0 0 0.6em 0; background: rgb(8 12 28 / 0.86); color: #fff; white-space: nowrap; box-shadow: 0 0.6em 1em -0.4em rgb(0 0 0 / 0.35);
  opacity: 0; transform: translateY(-0.6em); clip-path: inset(0 100% 0 0); transition: opacity 0.35s, transform 0.45s var(--ease), clip-path 0.6s var(--ease); pointer-events: none; }
.gb-feito b { font: 800 1.05em/1 var(--font-label); letter-spacing: 0.03em; color: var(--band, #fff); filter: brightness(1.25) saturate(1.1); }
.gb-feito span { font: 600 0.82em/1 var(--font-label); letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.88; }
.gb.feito .gb-feito { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.gb.feito .gb-clock span { animation: feitoPulse 0.6s var(--ease); }
@keyframes feitoPulse { 40% { transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) { .gb-feito { transition: none; } .gb.feito .gb-clock span { animation: none; } }
.gb-feito b { color: #fff; filter: none; }
.gb-feito::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0.28em; background: linear-gradient(var(--band), var(--base)); }
