/* Camada "premium" comum aos sites: logo, cartões de jogo em grade, capa com foto, movimento leve.
   Usa as variáveis de cada tema (--marca, --acento). Carregado depois do tema. */
.logo { width: 2rem; height: 2rem; flex: none; border-radius: 8px; display: block; }
.rodape-marca .logo { width: 2.2rem; height: 2.2rem; }

/* jogos em grade: em tela larga os cartões ficam lado a lado, sem linhas vazias */
.lista-jogos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: .6rem; }
.jogo { position: relative; overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.jogo::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--acento, var(--marca)); transform: scaleY(0); transform-origin: top; }
.jogo:hover::before, .jogo:focus-visible::before { transform: scaleY(1); }
.jogo:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .09); }
.bloco { border-radius: 16px; }

/* capa com foto: a imagem fica atrás de um véu escuro, o texto continua legível */
.capa-topo { position: relative; isolation: isolate; overflow: hidden; }
.capa-foto { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .55; }
.capa-topo.tem-foto::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--veu, rgba(4, 10, 8, .88)) 0%, var(--veu-meio, rgba(4, 10, 8, .55)) 60%, var(--veu-fim, rgba(4, 10, 8, .35)) 100%); }
.destaque-jogo { box-shadow: 0 18px 50px rgba(0, 0, 0, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.destaque-falta { display: inline-flex; align-items: center; gap: .45rem; justify-self: center; padding: .3rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .12); font-weight: 700; font-size: .85rem; }
.destaque-falta::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--acento, #ffd23f); }
.destaque-falta[hidden] { display: none; }
.ao-vivo::before { content: ""; display: inline-block; width: .5rem; height: .5rem; margin-right: .35rem; border-radius: 50%; background: currentColor; vertical-align: middle; }

/* atalhos de times recolhidos por liga */
.ligas { display: grid; gap: .5rem; }
.ligas details { border: 1px solid var(--linha); border-radius: 12px; padding: 0 .9rem; background: var(--fundo); }
.ligas summary { cursor: pointer; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 800; }
.ligas summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--suave); }
.ligas details[open] summary::after { content: "−"; }
.ligas summary small { font-weight: 600; color: var(--suave); margin-left: auto; }
.ligas .chips { margin: 0 0 .9rem; }
.ligas a.mais { margin-bottom: .5rem; }

/* faixa de números (capa) */
.capa-numeros { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.capa-numeros li { display: grid; }
.capa-numeros b { font-family: var(--titulos, inherit); font-size: 1.9rem; line-height: 1; color: var(--acento, #fff); font-variant-numeric: tabular-nums; }
.capa-numeros span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .75); }

@media (prefers-reduced-motion: no-preference) {
  .jogo, .jogo::before, .cartao-art, .chips a, .atalhos a { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease; }
  .jogo:hover { transform: translateY(-2px); }
  .surge { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
  .surge.visto { opacity: 1; transform: none; }
  .capa-txt > *, .destaque-jogo { animation: entra .6s cubic-bezier(.2, .7, .2, 1) both; }
  .capa-txt > :nth-child(2) { animation-delay: .06s; }
  .capa-txt > :nth-child(3) { animation-delay: .12s; }
  .capa-txt > :nth-child(4) { animation-delay: .18s; }
  .capa-txt > :nth-child(5) { animation-delay: .24s; }
  .destaque-jogo { animation-delay: .2s; }
  .capa-foto { animation: respira 24s ease-in-out infinite alternate; }
  .ao-vivo::before, .destaque-falta::before { animation: pulsa 1.6s ease-in-out infinite; }
  @keyframes entra { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  @keyframes respira { from { transform: scale(1); } to { transform: scale(1.06); } }
  @keyframes pulsa { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.75); } }
}
