.gsk-aovivo-header {
  position: static;   /* ou static */
  top: auto;
  z-index: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

body.dark .gsk-aovivo-header,
[data-bs-theme="dark"] .gsk-aovivo-header {
  background: #0f0f0f;
  border-bottom-color: rgba(255,255,255,.12);
}

.gsk-aovivo-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.gsk-aovivo-left { min-width: 0; }
.gsk-aovivo-cat { font-weight: 800; font-size: 13px; line-height: 1.1; }
.gsk-aovivo-info { font-size: 12px; opacity: .85; margin-top: 3px; line-height: 1.2; }

.gsk-aovivo-center {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gsk-aovivo-team {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.gsk-aovivo-logo { width: 36px; height: 36px; object-fit: contain; }

.gsk-aovivo-name {
  font-size: 12px;
  font-weight: 700;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gsk-aovivo-scorebox { text-align: center; min-width: 90px; }
.gsk-aovivo-score { font-weight: 900; font-size: 16px; line-height: 1.1; }
.gsk-aovivo-timer { font-size: 12px; font-weight: 800; opacity: .9; margin-top: 2px; }

.gsk-aovivo-right { display: flex; justify-content: flex-end; }
.gsk-aovivo-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 12px 20px;
  border-radius: 8px;
  background: #bf0411;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.gsk-aovivo-cta:hover { background: #000; color: #fff; }

.gsk-aovivo-dot {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: #fff;
  display: inline-block;
  border-radius: 50%;
  animation: animloader 1s ease-in-out infinite;
}

.gsk-aovivo-arrow {
  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  font-size: 28px;
  font-weight: 900;

  cursor: pointer;
  user-select: none;

  background: transparent;
  border: none;          /* 🔑 remove cara de botão */
  border-radius: 0;      /* 🔑 */

  color: #000;
}

.gsk-aovivo-arrow:hover {
  opacity: .7;
  transform: scale(1.1);
}

.gsk-aovivo-arrow:active {
  transform: scale(0.95);
}

body.dark .gsk-aovivo-arrow,
[data-bs-theme="dark"] .gsk-aovivo-arrow {
  color: #fff;
}

.gsk-aovivo-arrow.hidden { visibility: hidden; }

/* =========================
   RESPONSIVO (mobile/tablet)
   ========================= */

@media (max-width: 768px) {
  .gsk-aovivo-header{
    gap: 8px;
    padding: 10px 10px;
    flex-wrap: wrap; /* permite quebrar sem estourar */
  }

  /* vira 2 linhas: topo (times/placar) + baixo (categoria/info + CTA) */
  .gsk-aovivo-inner{
    grid-template-columns: 1fr; /* uma coluna só */
    gap: 8px;
  }

  /* categoria + info centralizados */
  .gsk-aovivo-left{
    order: 2;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center; /* 🔑 */
  }

  .gsk-aovivo-cat,
  .gsk-aovivo-info{
    text-align: center;
  }

  /* linha de cima: times + placar */
  .gsk-aovivo-center{
    order: 1;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  /* times centralizados dentro do espaço deles */
  .gsk-aovivo-team{
    justify-content: center; /* 🔑 */
    text-align: center;
  }

  /* nomes menores e alinhados */
  .gsk-aovivo-name{
    max-width: 90px;
    font-size: 11px;
    text-align: center; /* 🔑 */
  }

  .gsk-aovivo-logo{
    width: 22px;
    height: 22px;
  }

  .gsk-aovivo-scorebox{
    min-width: 72px;
  }

  .gsk-aovivo-score{
    font-size: 14px;
  }

  .gsk-aovivo-timer{
    font-size: 11px;
  }

  /* CTA embaixo centralizado (texto + dot) */
  .gsk-aovivo-right{
    order: 3;
    width: 100%;
    display: flex;
    justify-content: center; /* 🔑 */
  }

  .gsk-aovivo-cta{
    padding: 10px 14px;
    border-radius: 10px;
    width: 100%;
    max-width: 420px;          /* evita ficar gigante em tablets */
    display: inline-flex;
    align-items: center;
    justify-content: center;   /* 🔑 centraliza dot + texto */
    text-align: center;
  }

  /* setas menores para caber */
  .gsk-aovivo-arrow{
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  /* info do jogo mais compacta */
  .gsk-aovivo-info{
    font-size: 11px;
    margin-top: 2px;
    line-height: 1.2;
  }
}

/* Mobile bem pequeno */
@media (max-width: 420px) {
  .gsk-aovivo-header{
    padding: 8px 8px;
  }

  .gsk-aovivo-name{
    max-width: 70px;
    text-align: center;
  }

  .gsk-aovivo-cta{
    padding: 9px 12px;
    font-size: 13px;
    max-width: 100%;
    justify-content: center; /* reforço */
  }

  .gsk-aovivo-arrow{
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
}

/* Oculta nomes dos times (mantém apenas os escudos) */
.gsk-aovivo-name.left,
.gsk-aovivo-name.right {
  display: none !important;
}

.gsk-aovivo-header.is-hidden { display: none !important; }
