/* Tela do jogo com abas (player/feed/game-tabs*.js). Prefixo gt-. Neutro; só o ao vivo e o item escolhido usam var(--accent). */
#gt-barbox { display: contents; }
.gt-panel { display: grid; gap: 26px; align-content: start; min-width: 0; }
.gt-panel > section { display: grid; gap: 12px; min-width: 0; }
.gt-panel > section > .fg-ad { width: 100%; }

/* controle segmentado (estilo iOS) */
.gt-bar { position: sticky; top: -14px; z-index: 3; margin: -14px -14px -14px; padding: 10px 14px 12px; background: var(--bg); }
.gt-seg { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 2px; border-radius: 12px; background: rgb(var(--ov) / .07); }
.gt-thumb { position: absolute; top: 2px; bottom: 2px; left: 2px; width: calc((100% - 4px) / 3); border-radius: 10px; background: rgb(var(--ov) / .16); box-shadow: 0 1px 3px rgb(0 0 0 / .4); transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.gt-seg button { position: relative; z-index: 1; min-height: 44px; padding: 0 8px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); text-align: center; transition: color .2s; }
.gt-seg button span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gt-seg button[aria-selected="true"] { color: var(--accent-text); font-weight: 700; }
.gt-seg button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* "Quando e onde" no herói */
.gt-where { margin: 4px 0 0; padding-top: 10px; border-top: 1px solid var(--line); display: grid; gap: 0; text-align: left; }
.gt-where div { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; }
.gt-where div + div { border-top: 1px solid var(--line); }
.gt-where dt { font-size: 12.5px; color: var(--muted); }
.gt-where dd { margin: 0; font-size: 13.5px; font-weight: 600; text-align: right; min-width: 0; }

.gt-badge { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 9px; border: 1px solid var(--line); background: rgb(var(--ov) / .06); color: var(--muted); }
.gt-gh { margin: 4px 2px -4px; font-size: 13px; font-weight: 700; color: var(--muted); }
.gt-dim { color: var(--muted); }
.gt-foot { text-align: center; opacity: .8; }

/* classificação, confronto */
.gt-pos { flex: none; width: 52px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.gt-h2h { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding: 14px 8px; border-bottom: 1px solid var(--line); }
.gt-h2h b { display: block; font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
.gt-h2h small { font-size: 11.5px; color: var(--muted); }
.gt-h2h div + div { border-left: 1px solid var(--line); }

/* cabeçalho do time */
.gt-thead { display: flex; align-items: center; gap: 14px; padding: 4px 2px; }
.gt-thead .fg-crest.big { width: 72px; height: 72px; font-size: 18px; }
.gt-thead span { display: grid; gap: 2px; min-width: 0; }
.gt-thead b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; }
.gt-thead small { font-size: 12.5px; color: var(--muted); }

/* últimos 5: bolinhas neutras (vitória cheia, empate cinza, derrota só contorno) */
.gt-form { display: flex; gap: 8px; }
.gt-dot { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 800 12.5px var(--ui); font-style: normal; }
.gt-dot.sm { width: 26px; height: 26px; font-size: 11.5px; }
.gt-dot.r-V { background: var(--text); color: var(--bg); }
.gt-dot.r-E { background: rgb(var(--ov) / .18); color: var(--text); }
.gt-dot.r-D { box-shadow: inset 0 0 0 1.5px rgb(var(--ov) / .3); color: var(--muted); }
.gt-sc { flex: none; font-size: 15px; font-variant-numeric: tabular-nums; }

/* escalação */
.gt-lus { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.gt-lu { border-radius: 20px; background: var(--s1); border: 1px solid var(--line); padding: 12px 14px; min-width: 0; }
.gt-luh { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.gt-luh b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gt-luh span { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.gt-lu ol { list-style: none; margin: 0; padding: 0; }
.gt-lu li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 8px; min-height: 32px; font-size: 13.5px; }
.gt-lu li + li { border-top: 1px solid var(--line); }
.gt-lu li i { font-style: normal; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.gt-lu li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gt-lu li small { font-size: 11px; color: var(--muted); }
.gt-lu details { margin-top: 6px; }
.gt-lu summary { min-height: 44px; display: flex; align-items: center; font-size: 12.5px; font-weight: 600; color: var(--muted); cursor: pointer; }

/* notícias */
.gt-news { text-decoration: none; color: inherit; min-height: 44px; }
.gt-news img { flex: none; width: 64px; height: 48px; border-radius: 8px; object-fit: cover; background: rgb(var(--ov) / .08); }
.gt-news b { font-size: 13.5px; line-height: 1.3; }

/* carregando e erro */
.gt-skrow { display: flex; align-items: center; gap: 12px; padding: 14px; }
.gt-skrow + .gt-skrow { border-top: 1px solid var(--line); }
.gt-skrow i { flex: none; width: 36px; height: 36px; border-radius: 10px; }
.gt-skrow span { flex: 1; display: grid; gap: 7px; }
.gt-skrow b, .gt-skrow s { display: block; height: 10px; border-radius: 5px; }
.gt-skrow b { width: 60%; } .gt-skrow s { width: 36%; }
.gt-skrow i, .gt-skrow b, .gt-skrow s { background: rgb(var(--ov) / .09); animation: gt-pulse 1.4s ease-in-out infinite; }
@keyframes gt-pulse { 50% { opacity: .45; } }
.gt-err { display: grid; justify-items: center; gap: 10px; padding: 18px 14px; text-align: center; }
.gt-err p { margin: 0; font-size: 13.5px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .gt-thumb, .gt-seg button { transition: none; }
  .gt-skrow i, .gt-skrow b, .gt-skrow s { animation: none; }
}
.gt-badge.ok { color: var(--text, #fff); border-color: rgb(var(--ov) / .3); } /* canal conferido: um pouco mais firme que "provável" */
