/* Feed do player: "Jogos agora" (player/feed/games.js), a tela do jogo (game-page.js) e o GOL na TV. Visual do protótipo aprovado. */
#feed-games { display: grid; gap: 12px; min-width: 0; }
#feed-games .fb-sec-h { margin-bottom: 0; }
/* fica só na seção Jogos da aba Futebol */
#view-football:not([data-fbtab='games']) #feed-games { display: none; }
.fg-sh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fg-sh h2 { margin: 0; font: 700 17px/1.2 var(--ui); letter-spacing: -.01em; text-wrap: balance; }
.fg-sh span { font-size: 11.5px; color: var(--muted); text-align: right; }

.fg-games { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; margin-inline: -14px; padding-inline: 14px; scroll-padding-inline: 14px; }
.fg-games::-webkit-scrollbar { display: none; }
.fg-games.locked { overflow-x: hidden; }
.fg-match { position: relative; flex: none; width: calc(100% - 28px); box-sizing: border-box; scroll-snap-align: start; padding: 12px 14px 14px; display: grid; gap: 10px; border-radius: 22px; border: 1px solid rgb(var(--live-rgb) / .35); background: linear-gradient(160deg, rgb(var(--live-rgb) / .14), var(--s1) 62%); }
.fg-match.soon, .fg-match.end { border-color: var(--line); background: var(--s1); }
.fg-match.end { opacity: .72; }
.fg-match.pinned { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.fg-match.goal { animation: fg-goal .7s ease-in-out 6; border-color: var(--accent); }
@keyframes fg-goal { 50% { box-shadow: 0 0 0 3px var(--accent), 0 0 30px rgb(var(--accent-rgb) / .45); } }
.fg-row1 { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; }
.fg-st { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; color: var(--accent-text); }
.fg-match.soon .fg-st, .fg-match.end .fg-st { color: var(--muted); } .fg-match.goal .fg-st { color: var(--accent-text); }
.fg-mine { font-style: normal; padding: 2px 7px; border-radius: 7px; background: rgb(var(--ov) / .1); color: var(--text); font-size: 10px; letter-spacing: .04em; }
.fg-tools { display: flex; gap: 6px; }
.fg-tbtn { flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgb(var(--ov) / .09); display: grid; place-items: center; color: var(--text); }
.fg-tbtn svg { width: 18px; height: 18px; }
.fg-tbtn[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.fg-comp { margin-top: -8px; font-size: 12px; font-weight: 700; color: var(--muted); }
.fg-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; text-align: center; }
.fg-team { display: grid; justify-items: center; gap: 6px; min-width: 0; }
.fg-team b { font-size: 13.5px; font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fg-crest { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; font: 800 11.5px var(--ui); font-style: normal; letter-spacing: .02em; color: #fff; box-shadow: inset 0 0 0 2px rgb(var(--ov) / .2); }
.fg-crest img { width: 78%; height: 78%; object-fit: contain; }
.fg-crest.big { width: 56px; height: 56px; font-size: 14px; }
.fg-score > strong { font-size: 30px; font-weight: 800; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.fg-when { display: grid; justify-items: center; gap: 2px; }
.fg-when strong { font-size: 26px; } .fg-when small { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.fg-last { margin-top: -4px; font-size: 12px; color: var(--text); text-align: center; }
.fg-place { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 12px; color: var(--muted); text-align: center; }
.fg-mrow { display: flex; gap: 8px; }
.fg-go { flex: 1; min-width: 0; min-height: 48px; border-radius: 24px; background: #fff; color: var(--brand-ink); font-size: 13.5px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; }
.fg-go.ghost { background: rgb(var(--ov) / .1); color: var(--text); }
.fg-go2 { display: grid; text-align: left; line-height: 1.15; } .fg-go2 small { font-size: 10.5px; font-weight: 600; opacity: .7; }
.fg-dots { display: flex; justify-content: center; gap: 6px; margin-top: -2px; }
.fg-dots[hidden] { display: none; }
.fg-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgb(var(--ov) / .25); transition: width .3s, background .3s; }
.fg-dots i.on { width: 18px; background: var(--text); }
.fg-dots.count { font-size: 12px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }

/* tela do jogo: abre por cima do app inteiro (aba Futebol) */
.fg-page { position: fixed; inset: 0; z-index: 60; padding-top: var(--safe-t); display: flex; flex-direction: column; background: var(--bg); transform: translateX(100%); visibility: hidden; transition: transform .38s cubic-bezier(.2, .8, .2, 1), visibility .38s; }
.fg-page.open { transform: none; visibility: visible; }
.fg-gptop { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: 100%; max-width: 560px; margin: 0 auto; padding: 4px 14px 6px 6px; border-bottom: 1px solid var(--line); box-sizing: border-box; }
.fg-back { justify-self: start; min-height: 44px; padding: 0 12px 0 4px; border-radius: 22px; display: inline-flex; align-items: center; gap: 2px; font-size: 15px; font-weight: 600; color: var(--accent-text); }
.fg-back svg { width: 20px; height: 20px; }
.fg-gptop b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 52vw; }
.fg-gpbody { flex: 1; overflow-y: auto; overscroll-behavior: contain; width: 100%; max-width: 560px; margin: 0 auto; box-sizing: border-box; padding: 14px 14px calc(96px + var(--safe-b, 0px)); display: grid; gap: 26px; align-content: start; }
.fg-gpbody > section { display: grid; gap: 12px; min-width: 0; }
.fg-note { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.fg-hero { display: grid; gap: 12px; padding: 16px; border-radius: 24px; text-align: center; border: 1px solid var(--line); background: radial-gradient(120% 100% at 50% 0%, rgb(var(--live-rgb) / .2), var(--s1) 70%); }
.fg-hero .fg-score > strong { font-size: 40px; }
.fg-gpst { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .05em; color: var(--muted); }
.fg-gpst:has(.dot) { color: var(--accent-text); } /* só o ao vivo (e o gol) ganha a cor */
.fg-ads { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -14px; padding-inline: 14px; scroll-padding-inline: 14px; }
.fg-ads::-webkit-scrollbar { display: none; }
.fg-ad { position: relative; flex: none; width: calc(100% - 28px); min-height: 150px; border-radius: 20px; overflow: hidden; scroll-snap-align: start; text-align: left; }
.fg-gpbody > section > .fg-ad { width: 100%; }
.fg-ad .fg-adart { position: absolute; right: 4%; bottom: 8%; width: 36%; }
.fg-ad .ax-art { width: 100%; height: auto; display: block; }
.fg-adtag { position: absolute; left: 12px; top: 10px; font-size: 11px; font-weight: 700; opacity: .95; }
.fg-adcopy { position: relative; margin: 30px 14px 14px; max-width: 58%; display: grid; gap: 4px; }
.fg-adcopy b { font: 800 18px/1.08 var(--ui); letter-spacing: -.02em; }
.fg-adcopy small { font-size: 12px; font-weight: 700; }
.fg-card { overflow: hidden; border-radius: 20px; background: var(--s1); border: 1px solid var(--line); }
.fg-row { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; }
.fg-row + .fg-row { border-top: 1px solid var(--line); }
.fg-row > span:nth-child(2) { flex: 1; min-width: 0; display: grid; gap: 2px; }
.fg-row b { font-size: 14.5px; } .fg-row small { font-size: 12px; color: var(--muted); }
.fg-logo { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font: 800 13px var(--ui); color: #fff; }
.fg-logo.k-aberta { background: #1e8e4e; } .fg-logo.k-fechada { background: #2b5fd9; } .fg-logo.k-ppv { background: #8a6a12; } .fg-logo.k-streaming { background: #7a3fd6; } .fg-logo.radio { background: #3a3a48; }
.fg-pick { flex: none; min-height: 44px; padding: 0 14px; border-radius: 22px; background: rgb(var(--ov) / .1); font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.fg-pick.on, .fg-pick.acc { background: var(--accent); color: var(--accent-ink); }
.fg-nwhen { flex: none; width: 58px; font-size: 11.5px; font-weight: 800; line-height: 1.3; color: var(--accent-text); }

@media (prefers-reduced-motion: reduce) {
  .fg-match.goal { animation: none; }
  .fg-games, .fg-ads { scroll-behavior: auto; }
  .fg-page { transition: none; }
}

/* letra no mínimo de 11 px (régua 13/11) */
.fg-go2 small { font-size: 11px; }
