/* FUTNEX 1.9.68 · visual novo, parte A (módulo ui68a). Tudo escopado em `html.ui68`: sem a classe é o jogo da 1.9.67 ("clássico").
   Seções: 0 tokens · 1 base · 2 cromo do celular (faixa, topo, barra de 5 abas) · 3 componentes (botão, chip, segmentado, painel, details, tabela, aviso)
   · 4 folhas (base) · 5 Início · 6 Jogar · 7 Palpites · 8 Ranking e Ranked · 9 partida (jogo, fim, prêmio) · 10 Configurações (chave Novo/Clássico).
   Regra do morph: nada aqui depende de classe injetada em #view/#top; só estrutura que o jogo já desenha (section.*, data-act, .panel...). */

/* ============================================================ 0 · tokens */
html.ui68 {
  --u-bg: var(--bg); --u-s1: var(--panel); --u-s2: var(--panel-2); --u-s3: var(--fill);
  --u-line: var(--line); --u-line2: var(--line-strong);
  --u-tx: var(--text); --u-tx2: #a9b8c6;
  --u-acc: var(--accent); --u-acc-tx: #f5c400; --u-on-acc: #13212e;
  --u-ok: var(--ok-txt); --u-err: var(--err-txt); --u-badge: #e0544a;
  --u-r1: 8px; --u-r2: 12px; --u-r3: 16px; --u-r4: 20px; --u-pill: 999px;
  --u-sp1: 4px; --u-sp2: 8px; --u-sp3: 12px; --u-sp4: 16px; --u-sp5: 24px; --u-sp6: 32px;
  --u-fs-cap: 12px; --u-fs-sm: 14px; --u-fs-md: 16px; --u-fs-lg: 20px; --u-fs-xl: 24px; --u-fs-2x: 32px;
  --u-hit: 44px;
  --u-dur1: 100ms; --u-dur2: 160ms; --u-dur3: 240ms; --u-dur4: 360ms; --u-ease: cubic-bezier(.23, 1, .32, 1);
  --u-dev-h: 22px; --u-top-h: 48px; --u-nav-h: 64px;
  --u-hard: 0 4px 0 #a88600;            /* a sombra dura é só do CTA primário */
  --tabs-h: var(--u-nav-h);
  --r-md: var(--u-r2); --r-lg: var(--u-r3);
}
html.ui68[data-theme=light] { --u-tx2: #4b5c6c; --u-acc-tx: #13212e; --u-hard: 0 4px 0 #b08d00; }
@media (prefers-color-scheme: light) { html.ui68[data-theme=auto] { --u-tx2: #4b5c6c; --u-acc-tx: #13212e; --u-hard: 0 4px 0 #b08d00; } }

/* escondidos no clássico: o botão Elenco da barra (existe nas 3 páginas) */
html:not(.ui68) nav.tabs .tab[data-tab=elenco] { display: none !important; }

/* ============================================================ 1 · base */
html.ui68 body { overflow-wrap: break-word; }
html.ui68 :where(button, [role=button], a, summary, select, input, textarea):focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: inherit; }
html.ui68 :is(.btn-primary, .btn-lg):focus-visible { outline-color: var(--u-tx); outline-offset: 3px; }
html.ui68 button, html.ui68 [data-act] { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
html.ui68 .app { padding-bottom: calc(var(--u-nav-h) + 24px + env(safe-area-inset-bottom, 0px)); }
html.ui68 h1 { font-size: var(--u-fs-xl); line-height: 1.1; letter-spacing: .005em; }
html.ui68 h2 { font-size: var(--u-fs-lg); font-weight: 700; margin: var(--u-sp5) 0 var(--u-sp3); }
html.ui68 h3 { font-size: 18px; font-weight: 700; margin: var(--u-sp5) 0 var(--u-sp2); }
html.ui68 .muted { color: var(--u-tx2); }
html.ui68 .small { font-size: var(--u-fs-sm); }
html.ui68 .px { font-variant-numeric: tabular-nums lining-nums; }

/* ============================================================ 2 · cromo do celular */
/* 2.1 faixa de desenvolvimento (Diretor, 1.9.68): continua a faixa AMARELA da marca (aviso do dono), numa linha só, 13 px, com reticências
   (era 48 px em 2 linhas no celular); letra tinta em negrito em vez de branca (branco no amarelo dava contraste 1,6:1; tinta dá ~10:1) */
html.ui68 .fx-dev { text-align: left; }
html.ui68 .fx-dev > span, html.ui68 .fx-dev-n, html.ui68 .fx-dev-n b { color: #13212e; text-shadow: none; }
html.ui68 .fx-dev > span { padding: 0 12px; font-size: 13px; line-height: 22px; font-weight: 700; text-wrap: nowrap; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 2.2 barra de cima: uma linha de 50 px (alvos de 44). Idioma e Sair ficam em Configurações. */
html.ui68:not(.fx-pc) .topbar { margin: 0 -16px; padding: 2px 6px 1px; gap: 0; min-height: var(--u-top-h); border-bottom: 1px solid var(--u-line); background: var(--u-bg); align-items: center; }
html.ui68:not(.fx-pc) .topbar > .brand, html.ui68:not(.fx-pc) .fx-menu-btn { display: none; }
html.ui68:not(.fx-pc) .top-inner { flex: 1; min-width: 0; gap: 0; order: 0; display: flex; align-items: center; flex-wrap: nowrap; }
html.ui68:not(.fx-pc) .res { flex: 1 1 0; min-width: 0; gap: 0; padding: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; flex-wrap: nowrap; justify-content: flex-start; }
html.ui68:not(.fx-pc) .res::-webkit-scrollbar { display: none; }
/* Diretor 1.9.68: o CSS injetado do topo (com #top) quebrava os chips em 2 linhas com números grandes (390/393 px): uma linha só (a .res já rola) */
html.ui68:not(.fx-pc) #top .res { flex-wrap: nowrap !important; }
html.ui68:not(.fx-pc) .top-act { gap: 0; flex: none; }
/* idioma e Sair: em celular ficam em Configurações; de 600 px para cima (janela de PC sem html.fx-pc) voltam ao topo como no clássico */
@media (max-width: 599px) { html.ui68:not(.fx-pc) .top-act :is(.fxg-lang, .fxg-sair) { display: none; } }
html.ui68 .ring { width: 44px; height: 44px; flex: none; box-sizing: border-box; padding: 3px; background: conic-gradient(var(--u-acc) calc(var(--p) * 360deg), var(--u-s3) 0) content-box; border-radius: 50%; box-shadow: none; transform: none; }
html.ui68 .ring span { width: 30px; height: 30px; background: var(--u-bg); font: 700 16px/1 var(--font-titulo); color: var(--u-tx); }
html.ui68 .ring { margin-right: 2px; }
/* chip = botão de 44 de altura, transparente; a pílula visível é desenhada por ::before (34 px) */
html.ui68 .chip { position: relative; height: 44px; min-width: 44px; padding: 0 9px; gap: 4px; background: transparent; box-shadow: none; border-radius: var(--u-pill); font: 700 14px/1 var(--font-texto); font-variant-numeric: tabular-nums lining-nums; color: var(--u-tx); flex: none; justify-content: center; }
html.ui68 .chip::before { content: ""; position: absolute; inset: 5px 1px; border-radius: var(--u-pill); background: var(--u-s1); box-shadow: inset 0 0 0 1px var(--u-line); }
html.ui68 .chip::after { display: none; }
html.ui68 .chip > * { position: relative; }
html.ui68 .chip .px, html.ui68 .chip span { font: 700 14px/1 var(--font-texto); font-variant-numeric: tabular-nums lining-nums; }
html.ui68 .chip svg { width: 16px; height: 16px; }
html.ui68 .chip .lj-ic { width: 16px !important; height: 16px !important; background-size: 128px 96px !important; }
html.ui68 .chip.lj-chip::before { box-shadow: inset 0 0 0 1px #8a6f00; }
html.ui68 .bell { width: 44px; height: 44px; }
html.ui68 .bell svg { width: 22px; height: 22px; }
html.ui68 .bell-n { background: var(--u-badge); color: var(--fx-noite, #0f1923); top: 4px; right: 3px; min-width: 18px; height: 18px; font: 700 12px/18px var(--font-texto); box-shadow: 0 0 0 2px var(--u-bg); }
html.ui68:not(.fx-pc) #top { gap: 0 !important; }
html.ui68:not(.fx-pc) #top .chip { height: 44px !important; padding: 0 8px !important; gap: 4px !important; font-size: 14px !important; }
html.ui68:not(.fx-pc) #top .chip svg, html.ui68:not(.fx-pc) #top .chip .lj-ic { width: 16px !important; height: 16px !important; }
html.ui68:not(.fx-pc) #top .top-act .bell { width: 44px !important; min-width: 44px !important; flex: none; }
html.ui68:not(.fx-pc) #top .ring { transform: none; margin: 0 2px 0 0; }
@media (max-width: 380px) { html.ui68:not(.fx-pc) .topbar { padding-left: 2px; padding-right: 2px; } html.ui68:not(.fx-pc) #top .chip { padding: 0 5px !important; gap: 3px !important; } html.ui68:not(.fx-pc) #top .ring { margin-right: 0; } }

/* 2.3 barra de baixo: 5 abas (Início · Jogar · Elenco · Loja · Clube), 64 px + área segura. Vale em qualquer largura sem html.fx-pc (celular, tablet, notebook pequeno) */
html.ui68:not(.fx-pc) .tabs { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 11; flex: none; order: 0; min-width: 0; overflow: visible; background: var(--u-s1); border: 0; border-top: 1px solid var(--u-line); padding: 0 0 env(safe-area-inset-bottom, 0px); }
html.ui68:not(.fx-pc) .tabs-inner { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; gap: 0; justify-content: stretch; }
html.ui68 .tab[data-tab=palpites] { display: none !important; }
html.ui68:not(.fx-pc) .tab { min-height: calc(var(--u-nav-h) - 1px); padding: 6px 2px 7px; gap: 3px; flex-direction: column; justify-content: center; align-items: center; border-radius: 0; white-space: nowrap; font: 600 12px/1.15 var(--font-texto); color: var(--u-tx2); background: transparent; position: relative; }
html.ui68:not(.fx-pc) .tab > svg { display: none; }
html.ui68:not(.fx-pc) .tab[data-tab]:not(.lj-tab)::before { content: ""; position: static; inset: auto; display: block; flex: none; width: 56px; height: 32px; margin: 0; border: 0; border-radius: 16px; background: var(--ico) center / 28px 28px no-repeat; image-rendering: pixelated; transition: background-color var(--u-dur2) var(--u-ease), transform var(--u-dur1) var(--u-ease); }
html.ui68 .tab[data-tab=inicio] { --ico: url(/assets/ui1968/nav-inicio.png); }
html.ui68 .tab[data-tab=jogar] { --ico: url(/assets/ui1968/nav-jogar.png); }
html.ui68 .tab[data-tab=elenco] { --ico: url(/assets/ui1968/nav-elenco.png); }
html.ui68 .tab[data-tab=loja] { --ico: url(/assets/ui1968/nav-loja.png); }
html.ui68 .tab[data-tab=clube] { --ico: url(/assets/ui1968/nav-clube.png); }
html.ui68:not(.fx-pc) .tab[aria-current=page], html[data-ui68-tab=palpites].ui68:not(.fx-pc) .tab[data-tab=jogar] { color: var(--u-acc-tx); font-weight: 800; }
html.ui68:not(.fx-pc) .tab[aria-current=page]::before, html[data-ui68-tab=palpites].ui68:not(.fx-pc) .tab[data-tab=jogar]::before { background-color: rgba(245, 196, 0, .18); box-shadow: inset 0 0 0 1.5px rgba(245, 196, 0, .55); }
html.ui68[data-theme=light]:not(.fx-pc) .tab[aria-current=page]::before { background-color: rgba(245, 196, 0, .35); box-shadow: inset 0 0 0 1.5px #b08d00; }
html.ui68:not(.fx-pc) .tab:active::before { transform: scale(.94); }
html.ui68:not(.fx-pc) .tabs .tab[aria-current=page] svg { transform: none; }
html.ui68:not(.fx-pc) .tab-badge { top: 4px; left: calc(50% + 8px); right: auto; background: var(--u-badge); color: var(--fx-noite, #0f1923); box-shadow: 0 0 0 2px var(--u-s1); min-width: 18px; height: 18px; font: 700 12px/18px var(--font-texto); }
html.ui68:not(.fx-pc) .tab.fx-guia { border-radius: 0; animation: none; box-shadow: none; outline: 0; }
html.ui68:not(.fx-pc) .tab.fx-guia::after { top: 6px; right: auto; left: calc(50% + 14px); width: 8px; height: 8px; box-shadow: 0 0 0 2px var(--u-s1); animation: none; }
html.ui68:not(.fx-pc) .tab.fx-guia[aria-current=page]::after { display: none; }
@media (hover: hover) { html.ui68:not(.fx-pc) .tab:hover { color: var(--u-tx); background: transparent; } }
html.ui68:not(.fx-pc) .lj-tab, html.ui68:not(.fx-pc) .lj-tab-sep { display: none; }
@media (max-width: 359px) { html.ui68:not(.fx-pc) .tab { font-size: 12px; letter-spacing: -.01em; } }
/* Elenco: com o visual novo a topbar continua; o "Voltar para o Clube" FICA (nenhuma função a menos; o estilo dele é do módulo B) */
html.ui68 .in-squad .topbar { display: flex; }
html.ui68:not(.fx-pc) .in-squad .app { padding-top: 0; }
/* rodapé social (Discord, Instagram, TikTok, X, YouTube): como no clássico, em todas as telas */

/* ============================================================ 3 · componentes */
/* 3.1 botões: primário amarelo (sombra dura só nele), secundário contorno, fantasma */
html.ui68 .btn { min-height: 48px; padding: 0 18px; border: 1.5px solid var(--u-line2); border-radius: 14px; background: transparent; color: var(--u-tx); font: 700 16px/1.1 var(--font-texto); letter-spacing: 0; transition: transform var(--u-dur1) var(--u-ease), background-color var(--u-dur2) var(--u-ease), border-color var(--u-dur2) var(--u-ease), color var(--u-dur2) var(--u-ease); }
html.ui68 .btn:active:not([disabled]):not([aria-disabled=true]) { transform: scale(.97); filter: none; }
html.ui68 .btn-primary { background: var(--u-acc); border-color: var(--u-acc); color: var(--u-on-acc); font: 800 20px/1 var(--font-titulo); letter-spacing: .02em; min-height: 52px; box-shadow: var(--u-hard); }
html.ui68 .btn-primary:active:not([disabled]):not([aria-disabled=true]) { transform: translateY(3px); box-shadow: 0 1px 0 #a88600; }
html.ui68 .btn-lg { min-height: 56px; font: 800 22px/1 var(--font-titulo); letter-spacing: .02em; }
html.ui68 .btn-sm { min-height: 44px; padding: 0 14px; border-radius: 12px; font-size: 14px; }
html.ui68 .btn-quiet, html.ui68 .btn-ghost { border-color: transparent; color: var(--u-tx2); }
html.ui68 .btn-danger { border-color: var(--u-err); color: var(--u-err); background: transparent; }
html.ui68 .btn[disabled], html.ui68 .btn[aria-disabled=true] { border-color: var(--u-line); color: var(--u-tx2); background: transparent; box-shadow: none; opacity: .75; }
html.ui68 .btn-primary[disabled], html.ui68 .btn-primary[aria-disabled=true] { background: var(--u-s3); border-color: var(--u-s3); }
@media (hover: hover) and (pointer: fine) { html.ui68 .btn:hover:not([disabled]):not([aria-disabled=true]) { background: var(--u-s3); } html.ui68 .btn-primary:hover:not([disabled]):not([aria-disabled=true]) { background: #ffd21a; border-color: #ffd21a; } html.ui68 .btn-quiet:hover:not([disabled]), html.ui68 .btn-ghost:hover:not([disabled]) { background: var(--u-s2); } }

/* 3.2 segmentado e chips de navegação (uma linha rolável, 40 px com área de 44, pílula; ativo = cal + tinta) */
html.ui68 .seg { background: var(--u-s2); border-radius: var(--u-r3); padding: 4px; gap: 4px; }
html.ui68 .seg-b { min-height: 44px; border-radius: 12px; font: 600 15px/1.15 var(--font-texto); color: var(--u-tx2); transition: background-color var(--u-dur2) var(--u-ease), color var(--u-dur2) var(--u-ease), transform var(--u-dur1) var(--u-ease); }
html.ui68 .seg-b:active { transform: scale(.97); }
html.ui68 .seg-b[aria-selected=true], html.ui68 .seg-b[aria-checked=true], html.ui68 :is(.jg, .loja, .clube, .jg-pal, .ui68-cab) .seg .seg-b[aria-selected=true] { background: var(--sel); color: var(--on-sel); font-weight: 700; box-shadow: none; }
@media (hover: hover) and (pointer: fine) { html.ui68 .seg-b:hover:not([aria-selected=true]):not([aria-checked=true]) { background: var(--u-s3); color: var(--u-tx); } }

html.ui68 .seg-tabs.seg-sub, html.ui68 .seg.seg-sub, html.ui68 .seg-tabs.shop-tabs, html.ui68 .seg-tabs.fx-club-tabs, html.ui68 .seg.club-tabs { background: transparent; border: 0; border-radius: 0; padding: 0; margin: var(--u-sp3) -16px var(--u-sp3); padding-inline: 16px; scroll-padding-inline: 16px; gap: 8px; width: auto; max-width: none; display: flex; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; }
html.ui68 .seg-tabs.seg-sub .seg-b, html.ui68 .seg.seg-sub .seg-b, html.ui68 .shop-tabs .seg-b, html.ui68 .club-tabs .seg-b, html.ui68 .fx-club-tabs .seg-b { position: relative; flex: none; min-width: 0; height: 40px; min-height: 40px; margin: 2px 0; padding: 0 14px; gap: 6px; border-radius: var(--u-pill); background: var(--u-s2); box-shadow: inset 0 0 0 1px var(--u-line); color: var(--u-tx); font: 600 14px/1 var(--font-texto); white-space: nowrap; grid-column: auto; scroll-snap-align: start; }
html.ui68 .seg-tabs.seg-sub .seg-b::after, html.ui68 .shop-tabs .seg-b::after, html.ui68 .club-tabs .seg-b::after, html.ui68 .fx-club-tabs .seg-b::after { content: ""; position: absolute; inset: -2px 0; }
html.ui68 .seg-tabs.seg-sub .seg-b[aria-selected=true], html.ui68 .shop-tabs .seg-b[aria-selected=true], html.ui68 .club-tabs .seg-b[aria-selected=true], html.ui68 .fx-club-tabs .seg-b[aria-selected=true] { background: var(--sel); color: var(--on-sel); box-shadow: none; }
html.ui68 .seg-tabs.seg-sub.rola-d, html.ui68 .seg-tabs.shop-tabs.rola-d, html.ui68 .seg-tabs.club-tabs.rola-d { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), #0000); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), #0000); }
html.ui68 :is(.seg-sub, .shop-tabs, .club-tabs).seg-tabs.rola-e { -webkit-mask-image: linear-gradient(90deg, #0000, #000 28px); mask-image: linear-gradient(90deg, #0000, #000 28px); }
html.ui68 :is(.seg-sub, .shop-tabs, .club-tabs).seg-tabs.rola-e.rola-d { -webkit-mask-image: linear-gradient(90deg, #0000, #000 28px calc(100% - 28px), #0000); mask-image: linear-gradient(90deg, #0000, #000 28px calc(100% - 28px), #0000); }

/* 3.3 painel (cartão): raio 16, uma borda só; cartão dentro de cartão perde caixa */
html.ui68 .panel { background: var(--u-s1); border: 1px solid var(--u-line); border-radius: var(--u-r3); padding: var(--u-sp4); margin-bottom: var(--u-sp3); box-shadow: none; }
html.ui68 .panel .panel { background: transparent; border: 0; border-radius: 0; padding: 0; margin-bottom: 0; }
html.ui68 .panel-h { font-size: var(--u-fs-lg); }

/* 3.4 details ("Como funciona", "Premiação"...): linha fina de 44 px com seta; o texto abre por baixo */
html.ui68 details.como { background: transparent; border: 0; border-radius: var(--u-r2); margin: 0 0 var(--u-sp3); }
html.ui68 details.como > summary { min-height: 44px; padding: 0 var(--u-sp1); gap: 8px; color: var(--u-tx2); font: 600 14px/1.2 var(--font-texto); display: flex; align-items: center; cursor: pointer; }
html.ui68 details.como[open] > summary { color: var(--u-tx); }
html.ui68 details.como > :not(summary) { color: var(--u-tx2); font-size: 14px; line-height: 1.5; padding-inline: var(--u-sp1); }
html.ui68 details.panel > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font: 700 16px/1.2 var(--font-texto); }

/* 3.5 tabelas: 14 px, linhas de 44, cabeçalho em 12 */
html.ui68 .tbl { border-collapse: collapse; font-size: 14px; width: 100%; }
html.ui68 .tbl th { font: 700 12px/1.2 var(--font-texto); color: var(--u-tx2); text-transform: none; letter-spacing: .02em; padding: 8px 6px; border-bottom: 1px solid var(--u-line); }
html.ui68 .tbl td { padding: 10px 6px; border-bottom: 1px solid var(--u-line); font-variant-numeric: tabular-nums; }

/* 3.6 aviso (toast): acima da barra, raio 14, sem faixa lateral grossa */
html.ui68:not(.fx-pc) .toast { bottom: calc(env(safe-area-inset-bottom, 0px) + var(--u-nav-h) + 12px); border-radius: 14px; font: 600 15px/1.35 var(--font-texto); padding: 12px 16px; box-shadow: 0 10px 28px rgba(0, 0, 0, .4); }
html.ui68:not(.fx-pc) body:has(.result.fim .fim-acoes) .toast { bottom: calc(env(safe-area-inset-bottom, 0px) + 104px); }
html.ui68 .toast-ok { box-shadow: inset 3px 0 0 var(--fx-verde), 0 10px 28px rgba(0, 0, 0, .4); }
html.ui68 .toast-err { box-shadow: inset 3px 0 0 var(--fx-coral), 0 10px 28px rgba(0, 0, 0, .4); }

/* 3.7 movimento: só transform/opacity; o que é nosso desliga com prefers-reduced-motion e com o interruptor de animações do jogo (html.rm) */
@media (prefers-reduced-motion: reduce) {
  html.ui68 :is(.tabs, #top, #view, #sheet, #match, #toast) *, html.ui68 :is(.tabs, #top, #view, #sheet, #match, #toast) *::before, html.ui68 :is(.tabs, #top, #view, #sheet, #match, #toast) *::after { transition: none !important; }
  html.ui68 .btn:active, html.ui68 .seg-b:active, html.ui68 .ui68-chances:active, html.ui68 .btn-primary:active { transform: none; }
}
html.ui68.rm :is(.tabs, #top, #view, #sheet, #match, #toast) *, html.ui68.rm :is(.tabs, #top, #view, #sheet, #match, #toast) *::before, html.ui68.rm :is(.tabs, #top, #view, #sheet, #match, #toast) *::after { transition: none !important; }
html.ui68.rm .btn:active, html.ui68.rm .seg-b:active, html.ui68.rm .ui68-chances:active { transform: none; }

/* ============================================================ 4 · folhas (#sheet): base visual comum. O CONTEÚDO de cada folha é do ui68b (a folha da carta tem o cromo próprio dele) */
html.ui68 .sheet-backdrop { background: rgba(8, 14, 20, .72); animation: none; }
html.ui68 .sheet { --sheet-pt: 0px; padding: 0 16px calc(env(safe-area-inset-bottom, 0px) + 24px); border-radius: var(--u-r4) var(--u-r4) 0 0; background: var(--u-s1); border: 1px solid var(--u-line); border-bottom: 0; box-shadow: 0 -16px 48px rgba(0, 0, 0, .45); max-height: 92dvh; animation: ui68-folha 300ms var(--u-ease) both; }
html.ui68 .sheet[tabindex="-1"]:focus, html.ui68 .sheet[tabindex="-1"]:focus-visible { outline: 0; box-shadow: 0 -16px 48px rgba(0, 0, 0, .45); }
@keyframes ui68-folha { from { transform: translateY(32px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ui68-fundo { from { opacity: 0; } to { opacity: 1; } }
html.ui68 .sheet-backdrop { animation: ui68-fundo var(--u-dur3) var(--u-ease) both; }
/* topo da folha: alça + título fixo (o texto vem do aria-label, copiado pelo JS) + fechar neutro */
html.ui68 .sheet:not(.is-player-card) .sheet-topo { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; gap: 8px; margin: 0 -16px 8px; padding: 14px 8px 6px 16px; min-height: 64px; background: var(--u-s1); pointer-events: auto; justify-content: space-between; }
html.ui68 .sheet:not(.is-player-card) .sheet-topo::before { content: ""; position: absolute; left: 50%; top: 6px; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--u-line2); opacity: .7; }
html.ui68 .sheet .ui68-st { flex: 1; min-width: 0; font: 800 20px/1.1 var(--font-titulo); letter-spacing: .01em; color: var(--u-tx); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-top: 6px; }
html.ui68 .sheet .ui68-dup { display: none !important; }
html.ui68 .sheet:not(.is-player-card) .sheet-x { margin-top: 6px; width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; gap: 0; font-size: 0; color: var(--u-tx); background: var(--u-s2); border: 1px solid var(--u-line2); border-radius: var(--u-pill); }
html.ui68 .sheet:not(.is-player-card) .sheet-x::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 5l14 14M19 5L5 19' stroke='%23000' stroke-width='3' stroke-linecap='square' fill='none'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 5l14 14M19 5L5 19' stroke='%23000' stroke-width='3' stroke-linecap='square' fill='none'/%3E%3C/svg%3E") center / contain no-repeat; }
html.ui68 .sheet:not(.is-player-card) .sheet-x svg { display: none; }
html.ui68 .sheet-x.btn-danger, html.ui68 .sheet .btn-danger { background: transparent; }
@media (hover: hover) and (pointer: fine) { html.ui68 .sheet:not(.is-player-card) .sheet-x:hover { background: var(--u-s3); } }
@media (min-width: 760px) { html.ui68:not(.fx-pc) .sheet-backdrop { align-items: center; } html.ui68:not(.fx-pc) .sheet { border-radius: var(--u-r4); border-bottom: 1px solid var(--u-line); max-width: 560px; } }
@media (prefers-reduced-motion: reduce) { html.ui68 .sheet, html.ui68 .sheet-backdrop { animation: none; } }
html.ui68.rm .sheet, html.ui68.rm .sheet-backdrop { animation: none; }

/* ============================================================ 5 · Início (celular e tablet; o PC é do ui68b) */
html.ui68:not(.fx-pc) .home { display: block; }
/* 5.1 cabeçalho do técnico: escudo + clube + série + selo (≈ 150 px com Manager, campanha e "Meu time"). Sem logo grande e sem estádio (decoração); o rótulo "Central do clube" volta pequeno */
html.ui68:not(.fx-pc) .home > .home-head { position: relative; isolation: auto; overflow: visible; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px 8px; margin: 4px 0 12px; padding: 10px 64px 8px 14px; background: var(--u-s1); border: 1px solid var(--u-line); border-radius: var(--u-r3); box-shadow: none; min-height: 0; }
html.ui68:not(.fx-pc) .home > .home-head::before, html.ui68:not(.fx-pc) .home > .home-head::after { display: none; }
html.ui68:not(.fx-pc) .home-head .home-brand { display: none; }
html.ui68:not(.fx-pc) .home-head .fx58-eyebrow { grid-column: 1 / -1; grid-row: 1; margin: 0; font: 400 12px/1.2 var(--font-px); letter-spacing: .04em; text-transform: uppercase; color: var(--u-tx2); }
html.ui68:not(.fx-pc) .home-head h1 { grid-column: 1 / -1; grid-row: 2; margin: 0; display: flex; align-items: center; gap: 10px; font: 800 24px/1.1 var(--font-titulo); letter-spacing: .01em; text-transform: uppercase; overflow-wrap: anywhere; min-width: 0; }
html.ui68:not(.fx-pc) .home-head h1 .fx-emblema-mini { flex: none; width: 38px; height: 44px; display: grid; place-items: center; }
html.ui68:not(.fx-pc) .home-head h1 .fx-emblema-mini svg { width: 100%; height: 100%; }
html.ui68:not(.fx-pc) .home-head .hh-sub { grid-column: 1 / -1; grid-row: 3; margin: 0; font: 500 14px/1.3 var(--font-texto); color: var(--u-tx2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.ui68:not(.fx-pc) .home-head .hh-mgr { grid-column: 1 / -1; grid-row: 4; margin: 0; font: 500 14px/1.2 var(--font-texto); color: var(--u-tx2); display: flex; align-items: center; flex-wrap: wrap; gap: 0 4px; }
html.ui68:not(.fx-pc) .home-head .hh-mgr .fx66b-selo { font-size: 14px; line-height: 1; min-height: 44px; margin: -6px 0 -6px -6px; position: relative; background: transparent; border: 0; padding: 0 6px; box-shadow: none; }
html.ui68:not(.fx-pc) .home-head .hh-rec { grid-column: 1 / -1; grid-row: 5; min-width: 0; margin: 0; text-align: left; font: 600 13px/1.3 var(--font-texto); color: var(--u-tx2); }
html.ui68:not(.fx-pc) .home-head .hh-rec .px, html.ui68:not(.fx-pc) .home-head .hh-rec b { color: var(--u-tx); font-weight: 700; }
html.ui68:not(.fx-pc) .home-head .fx58-home-tools { position: absolute; top: 6px; right: 6px; margin: 0; }
html.ui68:not(.fx-pc) .home-head .fx58-team-link { width: 56px; min-width: 56px; height: 58px; min-height: 58px; padding: 4px 0 3px; gap: 2px; flex-direction: column; justify-content: center; font-size: 12px; color: var(--u-tx); background: var(--u-s2); border: 1px solid var(--u-line2); border-radius: 16px; }
html.ui68:not(.fx-pc) .home-head .fx58-team-link svg { width: 22px; height: 22px; }
html.ui68:not(.fx-pc) .home-head .fx58-team-link span { font: 700 12px/1.1 var(--font-texto); color: var(--u-tx2); white-space: nowrap; }

/* 5.2 ordem do dia: Próximo jogo + Jogar primeiro; os 3 grupos do jogo viram um só empilhamento reordenável por `order` */
html.ui68:not(.fx-pc) .home .hq { display: flex; flex-direction: column; gap: var(--u-sp3); }
html.ui68:not(.fx-pc) .home :is(.hq-dia, .hq-campo, .hq-info) { display: contents; }
html.ui68:not(.fx-pc) .home .hq-dia > * { order: 40; }
html.ui68:not(.fx-pc) .home .hq-dia > .dia { order: 10; }
html.ui68:not(.fx-pc) .home .hq-dia > .fx-mi { order: 20; }
html.ui68:not(.fx-pc) .home .hq-dia > .fx66a-meta { order: 30; }
html.ui68:not(.fx-pc) .home .hq-dia > .fx57-fi { order: 40; }
html.ui68:not(.fx-pc) .home .hq-dia > .fx-funil { order: 50; }
html.ui68:not(.fx-pc) .home .hq-campo > * { order: 70; }
html.ui68:not(.fx-pc) .home .hq-info > * { order: 80; }
html.ui68:not(.fx-pc) .home .hq-info > .home-news { order: 90; }
html.ui68:not(.fx-pc) .home .hq > * { margin: 0; }

/* 5.3 cartões do Início: raio 16, uma borda, sem o "quadro de pixels" de sombra */
html.ui68:not(.fx-pc) .home :is(.panel, .dia, .fx-mi, .fx66a-meta, .fx-funil, .fx-recado, .tactics, .avg, .home-news, .fx57-fi) { background: var(--u-s1); border: 1px solid var(--u-line); border-radius: var(--u-r3); box-shadow: none; margin: 0; animation: none; }

/* 5.4 Próximo jogo + Jogar */
html.ui68:not(.fx-pc) .home .dia { display: grid; justify-items: stretch; gap: 8px; padding: 14px 14px 12px; text-align: center; background: linear-gradient(180deg, var(--u-s2), var(--u-s1) 70%); border-color: var(--u-line2); }
html.ui68:not(.fx-pc) .home .dia-lbl { margin: 0; font: 600 12px/1 var(--font-px); letter-spacing: .08em; text-transform: uppercase; color: var(--u-tx2); }
html.ui68:not(.fx-pc) .home .dia-vs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 6px; margin: 0; }
html.ui68:not(.fx-pc) .home .dia-time { display: grid; justify-items: center; align-content: start; gap: 6px; min-width: 0; }
html.ui68:not(.fx-pc) .home .dia-time .fx-em-kit { width: 52px; height: 62px; display: grid; place-items: center; }
html.ui68:not(.fx-pc) .home .dia-time .fx-em-kit svg { width: 100%; height: 100%; }
html.ui68:not(.fx-pc) .home .dia-time strong { font: 700 16px/1.15 var(--font-texto); max-width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
html.ui68:not(.fx-pc) .home .dia-vs > svg { width: 40px; height: 40px; flex: none; }
html.ui68:not(.fx-pc) .home .dia-meta { margin: 0; font: 500 14px/1.3 var(--font-texto); color: var(--u-tx2); }
html.ui68:not(.fx-pc) .home .dia .btn-primary, html.ui68:not(.fx-pc) .home .dia .btn-lg { width: 100%; min-height: 56px; margin: 4px 0 0; font: 800 24px/1 var(--font-titulo); letter-spacing: .06em; text-transform: uppercase; }
html.ui68:not(.fx-pc) .home .dia-pe { margin: 0; font: 500 14px/1.3 var(--font-texto); color: var(--u-tx2); }
html.ui68:not(.fx-pc) .home .dia-pe b, html.ui68:not(.fx-pc) .home .dia-pe .px { color: var(--u-tx); }

/* 5.5 Missões: 3 linhas compactas (nome + progresso, barra + prêmio) */
html.ui68:not(.fx-pc) .home .fx-mi { display: grid; gap: 0; padding: 4px 14px 6px; }
html.ui68:not(.fx-pc) .home .fx-mi-top { min-height: 44px; gap: 8px; }
html.ui68:not(.fx-pc) .home .fx-mi-top h2 { margin: 0; font: 700 20px/1.1 var(--font-titulo); }
html.ui68:not(.fx-pc) .home .fx-mi-todas { margin: 0 -10px 0 0; min-height: 44px; padding: 0 10px; font: 700 14px/1 var(--font-texto); color: var(--u-tx); }
html.ui68:not(.fx-pc) .home .fx-mi-lista { gap: 0; }
html.ui68:not(.fx-pc) .home .fx-mi-it { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--u-line); }
html.ui68:not(.fx-pc) .home .fx-mi-ic { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--u-s2); }
html.ui68:not(.fx-pc) .home .fx-mi-ic svg { width: 18px; height: 18px; }
html.ui68:not(.fx-pc) .home .fx-mi-corpo { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nome prog" "barra barra" "meta meta"; align-items: center; gap: 4px 10px; min-width: 0; }
html.ui68:not(.fx-pc) .home .fx-mi-linha { display: contents; }
html.ui68:not(.fx-pc) .home .fx-mi-nome { grid-area: nome; font: 600 15px/1.2 var(--font-texto); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.ui68:not(.fx-pc) .home .fx-mi-prog { grid-area: prog; font: 700 14px/1 var(--font-texto); font-variant-numeric: tabular-nums; color: var(--u-tx2); }
html.ui68:not(.fx-pc) .home .fx-mi-barra { grid-area: barra; height: 6px; margin: 0; border-radius: 3px; background: var(--u-s3); overflow: hidden; }
html.ui68:not(.fx-pc) .home .fx-mi-barra i { border-radius: 3px; }
html.ui68:not(.fx-pc) .home .fx-mi-meta { grid-area: meta; margin: 0; font: 500 12px/1.2 var(--font-texto); color: var(--u-tx2); }
html.ui68:not(.fx-pc) .home .fx-mi-meta .fx-mi-premio { font-weight: 700; color: var(--u-tx2); font-variant-numeric: tabular-nums; }
html.ui68:not(.fx-pc) .home .fx-mi-it { position: relative; }
html.ui68:not(.fx-pc) .home .fx-mi-it.feita .fx-mi-premio { color: var(--u-ok); }
html.ui68:not(.fx-pc) .home .fx-mi-it.feita .fx-mi-nome { color: var(--u-tx2); }

/* 5.6 Meta da semana: título + prazo, uma linha de explicação, 3 opções */
html.ui68:not(.fx-pc) .home .fx66a-meta { display: grid; gap: 8px; padding: 12px 14px 14px; }
html.ui68:not(.fx-pc) .home .fx66a-meta-top { min-height: 32px; }
html.ui68:not(.fx-pc) .home .fx66a-meta-top h2 { font: 700 20px/1.1 var(--font-titulo); }
html.ui68:not(.fx-pc) .home .fx66a-meta-fecha { font: 600 14px/1.1 var(--font-texto); color: var(--u-tx2); }
html.ui68:not(.fx-pc) .home .fx66a-meta-txt { font: 500 14px/1.4 var(--font-texto); }
html.ui68:not(.fx-pc) .home .fx66a-opts { gap: 8px; }
html.ui68:not(.fx-pc) .home .fx66a-opt { min-height: 72px; padding: 8px 4px; gap: 2px; background: var(--u-s2); border: 1.5px solid var(--u-line); border-radius: var(--u-r2); align-content: center; transition: transform var(--u-dur1) var(--u-ease), border-color var(--u-dur2) var(--u-ease); }
html.ui68:not(.fx-pc) .home .fx66a-opt:active { transform: scale(.97); }
html.ui68:not(.fx-pc) .home .fx66a-opt b { font: 800 18px/1.1 var(--font-titulo); }
html.ui68:not(.fx-pc) .home .fx66a-opt span { font: 600 14px/1.2 var(--font-texto); }
html.ui68:not(.fx-pc) .home .fx66a-opt small { font: 500 12px/1.25 var(--font-texto); }
html.ui68:not(.fx-pc) .home .fx66a-opt.is-sel, html.ui68:not(.fx-pc) .home .fx66a-opt[aria-pressed=true] { border-color: var(--u-tx); background: var(--u-s3); }

/* 5.7 Itens de forma: uma fileira (ícone + nome + quantidade), ≤ 88 px; a explicação abre ao tocar no item */
html.ui68:not(.fx-pc) .home .fx57-fi { padding: 5px 10px 5px; }
html.ui68:not(.fx-pc) .home .fx57-fi-h h2 { margin: 0 0 2px 2px; font: 700 14px/1.2 var(--font-texto); color: var(--u-tx2); text-transform: none; }
html.ui68:not(.fx-pc) .home .fx57-fi-h p { margin: 0 0 6px 2px; font: 500 12px/1.3 var(--font-texto); color: var(--u-tx2); }
html.ui68:not(.fx-pc) .home .fx57-fi-g { gap: 6px; }
html.ui68:not(.fx-pc) .home .fx57-it { position: relative; display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 52px; padding: 4px 4px 4px; border-radius: var(--u-r2); background: var(--u-s2); border: 1px solid var(--u-line); transition: transform var(--u-dur1) var(--u-ease); }
html.ui68:not(.fx-pc) .home .fx57-it:active { transform: scale(.97); }
html.ui68:not(.fx-pc) .home .fx57-it .fx57-ico { width: 30px; height: 30px; image-rendering: pixelated; }
html.ui68:not(.fx-pc) .home .fx57-it .fx57-it-n { max-width: 100%; font: 600 12px/1.1 var(--font-texto); color: var(--u-tx2); overflow: hidden; text-overflow: clip; white-space: nowrap; }
html.ui68:not(.fx-pc) .home .fx57-it .fx57-it-q { position: absolute; top: 3px; right: 5px; font: 800 14px/1 var(--font-titulo); color: var(--u-tx); }
html.ui68:not(.fx-pc) .home .fx57-it.is-zero { opacity: 1; }
html.ui68:not(.fx-pc) .home .fx57-it.is-zero .fx57-ico { opacity: .6; }
html.ui68:not(.fx-pc) .home .fx57-it.is-zero .fx57-it-q { color: var(--u-tx2); opacity: 1; }

/* 5.8 Primeiros passos: o CTA daqui é secundário (o amarelo é do Jogar) */
html.ui68:not(.fx-pc) .home .fx-funil { padding: 12px 14px; display: grid; gap: 8px; background: var(--u-s1); border-color: var(--u-line); }
html.ui68:not(.fx-pc) .home .fx-funil-top { gap: 8px; min-height: 28px; }
html.ui68:not(.fx-pc) .home .fx-funil-top strong { font: 700 20px/1.1 var(--font-titulo); }
html.ui68:not(.fx-pc) .home .fx-funil-n { font: 700 14px/1 var(--font-texto); color: var(--u-tx); background: var(--u-s3); padding: 4px 8px; border-radius: var(--u-pill); }
html.ui68:not(.fx-pc) .home .fx-funil-x { min-height: 44px; margin: -8px -8px -8px auto; padding: 0 10px; font: 600 14px/1 var(--font-texto); color: var(--u-tx2); }
html.ui68:not(.fx-pc) .home .fx-funil-pips { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin: 0; padding: 0; list-style: none; }
html.ui68:not(.fx-pc) .home .fx-funil-pips li { height: 6px; border-radius: 3px; background: var(--u-s3); }
html.ui68:not(.fx-pc) .home .fx-funil-pips li.ok { background: var(--u-ok); }
html.ui68:not(.fx-pc) .home .fx-funil-pips li.agora { background: var(--u-tx); }
html.ui68:not(.fx-pc) .home .fx-funil-agora { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
html.ui68:not(.fx-pc) .home .fx-funil-ic { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--u-s3); font: 800 16px/1 var(--font-titulo); color: var(--u-tx); }
html.ui68:not(.fx-pc) .home .fx-funil-txt b { font: 700 16px/1.2 var(--font-texto); }
html.ui68:not(.fx-pc) .home .fx-funil-txt small { font: 500 14px/1.3 var(--font-texto); color: var(--u-tx2); }
html.ui68:not(.fx-pc) .home .fx-funil-cta.btn-primary, html.ui68:not(.fx-pc) .home .fx-funil .btn-primary { min-height: 44px; padding: 0 16px; background: transparent; color: var(--u-tx); border: 1.5px solid var(--u-line2); box-shadow: none; font: 700 16px/1 var(--font-texto); letter-spacing: 0; text-transform: none; }

/* 5.9 Escalação (o campo): título "Escalação" no lugar de "Clube"; abas Campo · Estilo · Olheiro como segmentado */
html.ui68:not(.fx-pc) .home .tactics { padding: 12px 0 10px; overflow: hidden; }
html.ui68:not(.fx-pc) .home .tactics-head { padding: 0 14px 8px; }
html.ui68:not(.fx-pc) .home #tactics-title { font-size: 0; line-height: 1.1; }
html.ui68:not(.fx-pc) .home #tactics-title::before { content: "Escalação"; font: 700 20px/1.1 var(--font-titulo); color: var(--u-tx); }
html.ui68:lang(en):not(.fx-pc) .home #tactics-title::before { content: "Lineup"; }
html.ui68:lang(es):not(.fx-pc) .home #tactics-title::before { content: "Alineación"; }
html.ui68:not(.fx-pc) .home .tactics .tactics-nav { margin: 0 14px 10px; padding: 4px; gap: 4px; background: var(--u-s2); border: 0; border-radius: var(--u-r3); }
html.ui68:not(.fx-pc) .home .tactics .tactics-tab { min-height: 44px; border-radius: 12px; font: 600 14px/1.15 var(--font-texto); color: var(--u-tx2); padding: 0 6px; }
html.ui68:not(.fx-pc) .home .tactics .tactics-tab[aria-selected=true] { background: var(--sel); color: var(--on-sel); font-weight: 700; box-shadow: none; }
html.ui68:not(.fx-pc) .home .field-card { padding: 0 14px; }
html.ui68:not(.fx-pc) .home .field-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; }
html.ui68:not(.fx-pc) .home .field-head h2 { font: 700 16px/1.2 var(--font-texto); color: var(--u-tx2); }
html.ui68:not(.fx-pc) .home .home-field-actions { display: flex; gap: 8px; flex-wrap: wrap; }
html.ui68:not(.fx-pc) .home .home-field-actions .btn { min-height: 44px; font: 600 14px/1.1 var(--font-texto); border-radius: var(--u-r2); }
html.ui68:not(.fx-pc) .home .fx58a-esc { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; margin: 0 0 10px; }
html.ui68:not(.fx-pc) .home .fx58a-esc-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.ui68:not(.fx-pc) .home .fx58a-esc-s { min-height: 44px; border-radius: var(--u-r2); font: 600 15px/1.2 var(--font-texto); background: var(--u-s2); border: 1.5px solid var(--u-line2); color: var(--u-tx); padding: 0 10px; min-width: 0; }
html.ui68:not(.fx-pc) .home .fx58a-esc-b { min-height: 44px; padding: 0 12px; }
html.ui68:not(.fx-pc) .home .forma-leg { font-size: 12px; color: var(--u-tx2); }
html.ui68:not(.fx-pc) .home .tactic-line, html.ui68:not(.fx-pc) .home .home-style-caption { font: 500 14px/1.4 var(--font-texto); color: var(--u-tx2); }

/* 5.10 Nota média e notícias (no máximo 3) */
html.ui68:not(.fx-pc) .home .avg { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 16px; padding: 12px 14px; color: var(--u-tx); background: var(--u-s1); }
html.ui68:not(.fx-pc) .home .avg-num { font: 800 48px/.9 var(--font-titulo); color: var(--u-tx); text-shadow: none; }
html.ui68:not(.fx-pc) .home .avg-lbl { font: 600 14px/1.2 var(--font-texto); opacity: 1; color: var(--u-tx2); }
html.ui68:not(.fx-pc) .home .avg-meter { background: var(--u-s3); height: 6px; }
html.ui68:not(.fx-pc) .home .avg-meter > span { background: var(--u-ok); }
html.ui68:not(.fx-pc) .home .avg-parts { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
html.ui68:not(.fx-pc) .home .avg-parts > div { display: grid; gap: 2px; justify-items: center; padding: 4px; background: transparent; }
html.ui68:not(.fx-pc) .home .avg-parts dt { font: 600 12px/1.2 var(--font-texto); color: var(--u-tx2); opacity: 1; }
html.ui68:not(.fx-pc) .home .avg-parts dd { margin: 0; font: 800 22px/1 var(--font-titulo); }
html.ui68:not(.fx-pc) .home .home-news summary { min-height: 44px; padding: 0 14px; display: flex; align-items: center; gap: 8px; font: 700 16px/1.2 var(--font-texto); }
html.ui68:not(.fx-pc) .home .home-news .mural { margin: 0; padding: 0 14px 10px; list-style: none; display: grid; gap: 8px; }
html.ui68:not(.fx-pc) .home .home-news .mural li { font: 500 14px/1.4 var(--font-texto); }

/* ============================================================ 6 · Jogar (Online · Offline · Palpites) */
html.ui68 .jg > h1, html.ui68 .ui68-cab > h1, html.ui68:not(.fx-pc) .loja > h1, html.ui68:not(.fx-pc) .clube > h1 { margin: 12px 0 12px; font: 800 24px/1.1 var(--font-titulo); letter-spacing: .02em; text-transform: uppercase; }
html.ui68 .jg-pal > h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.ui68 .ui68-cab { margin: 0; }
/* 6.1 modo: controle segmentado de 3 partes com ícone pixel (o subtítulo só aparece onde há largura) */
html.ui68 .play-mode { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; margin: 0 0 var(--u-sp3); background: var(--u-s2); border-radius: var(--u-r3); }
html.ui68 .play-mode .seg-b { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; min-height: 68px; padding: 6px 4px; border-radius: 12px; text-align: center; color: var(--u-tx2); }
html.ui68 .play-mode .seg-b::before { content: ""; flex: none; width: 28px; height: 28px; background: var(--ico) center / contain no-repeat; image-rendering: pixelated; opacity: .85; transition: opacity var(--u-dur2) var(--u-ease); }
html.ui68 .play-mode .seg-b[data-v=online] { --ico: url(/assets/ui1968/md-online.png); }
html.ui68 .play-mode .seg-b[data-v=offline] { --ico: url(/assets/ui1968/md-offline.png); }
html.ui68 .play-mode .seg-b.ui68-pal { --ico: url(/assets/ui1968/md-palpites.png); }
html.ui68 .play-mode .seg-b[aria-selected=true]::before { opacity: 1; }
html.ui68 .play-mode .pm-t { font: 700 15px/1.15 var(--font-texto); }
html.ui68 .play-mode .pm-s { display: block; font: 500 12px/1.25 var(--font-texto); color: inherit; opacity: .85; text-wrap: balance; }
html.ui68 .play-mode .seg-b[aria-selected=true] .pm-s { color: var(--on-sel); opacity: .9; }
@media (min-width: 560px) { html.ui68 .play-mode .pm-s { display: block; } html.ui68 .play-mode .seg-b { min-height: 76px; } }
html.ui68 .play-mode .seg-b.ui68-trava::after { content: ""; position: absolute; top: 8px; right: 10px; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0110 0v3h2v11H5V10h2zm2 0h6V7a3 3 0 00-6 0v3z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0110 0v3h2v11H5V10h2zm2 0h6V7a3 3 0 00-6 0v3z'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .7; }
html.ui68 .play-mode .seg-b { position: relative; }

/* 6.2 linha "Hoje" e estado da competição */
html.ui68 .jg-conta { margin: 0 0 var(--u-sp2); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; font: 500 14px/1.4 var(--font-texto); color: var(--u-tx2); }
html.ui68 .jg-conta > span { white-space: nowrap; }
html.ui68 .jg-conta > span:first-child:not(:only-child) { margin-right: -6px; }
html.ui68 .jg-conta > span:only-child { white-space: normal; }
html.ui68 .jg-conta b, html.ui68 .jg-conta .px { color: var(--u-tx); font-weight: 700; }
html.ui68 .jg-conta .muted { color: var(--u-tx2); }
html.ui68 .jg-status { margin: 0 0 var(--u-sp3); font: 500 14px/1.4 var(--font-texto); color: var(--u-tx2); }
html.ui68 .jg-status b { color: var(--u-tx); }

/* 6.3 chips dos modos: uma linha rolável com ícone pixel; o ativo é cal + tinta */
html.ui68 .seg-tabs.seg-sub .seg-b::before { content: ""; flex: none; width: 24px; height: 24px; margin: 0 -2px 0 -4px; background: var(--ico) center / contain no-repeat; image-rendering: pixelated; }
html.ui68 .jg-sub .seg-b[data-v=liga] { --ico: url(/assets/ui1968/md-liga.png); }
html.ui68 .jg-sub .seg-b[data-v=chaves] { --ico: url(/assets/ui1968/md-chaves.png); }
html.ui68 .jg-sub .seg-b[data-v=copa] { --ico: url(/assets/ui1968/md-copa.png); }
html.ui68 .jg-sub .seg-b[data-v=amistosos] { --ico: url(/assets/ui1968/md-amistosos.png); }
html.ui68 .jg-sub .seg-b[data-v=online] { --ico: url(/assets/ui1968/md-liga-online.png); }
html.ui68 .jg-sub .seg-b[data-v=copa-online] { --ico: url(/assets/ui1968/md-copa-online.png); }
html.ui68 .jg-sub .seg-b[data-v=historico] { --ico: url(/assets/ui1968/md-historico.png); }
html.ui68 .jg-sub .seg-b[data-v=amigos] { --ico: url(/assets/ui1968/md-amigos.png); }
html.ui68 .jg-sub .seg-b[data-v=ranked] { --ico: url(/assets/ui1968/md-ranked.png); }
html.ui68 .jg-sub .seg-b[data-v=ranking] { --ico: url(/assets/ui1968/md-ranking.png); }

/* 6.4 cartão do próximo jogo (Liga/Copa): sem caixa dentro de caixa, mesma linguagem do Início */
html.ui68 .nxt { display: grid; gap: 8px; padding: 14px; margin: 0 0 var(--u-sp3); text-align: center; background: linear-gradient(180deg, var(--u-s2), var(--u-s1) 70%); border: 1px solid var(--u-line2); border-radius: var(--u-r3); box-shadow: none; }
html.ui68 .nxt-lbl { margin: 0; font: 600 12px/1.3 var(--font-px); letter-spacing: .06em; text-transform: uppercase; color: var(--u-tx2); }
html.ui68 .jg-vs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 6px; padding: 0; margin: 0; background: transparent; border: 0; }
html.ui68 .jg-vs > svg { width: 40px; height: 40px; margin-top: 8px; }
html.ui68 .jg-lado { display: grid; justify-items: center; align-content: start; gap: 4px; min-width: 0; padding: 0; background: transparent; border: 0; }
html.ui68 .jg-lado .fx-em-kit { width: 52px; height: 62px; display: grid; place-items: center; }
html.ui68 .jg-lado .fx-em-kit svg { width: 100%; height: 100%; }
html.ui68 .jg-conf .jg-nome, html.ui68 .jg-nome { font: 700 16px/1.15 var(--font-texto); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; max-width: 100%; }
html.ui68 .jg-ls { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 8px; font: 500 14px/1.3 var(--font-texto); color: var(--u-tx2); }
html.ui68 .jg-ls b, html.ui68 .jg-ls .px { color: var(--u-tx); font-weight: 700; }
html.ui68 .jg-jogar, html.ui68 .nxt .btn-primary { width: 100%; min-height: 56px; margin-top: 4px; font: 800 24px/1 var(--font-titulo); letter-spacing: .06em; text-transform: uppercase; }

/* 6.5 tabela da liga: nomes quebram em até 2 linhas (sem "…"), linhas de 44, o meu time em destaque por barra + negrito */
html.ui68 .jg-tit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: var(--u-sp5) 0 var(--u-sp2); }
html.ui68 .jg-tit h2 { margin: 0; font: 700 20px/1.1 var(--font-titulo); }
html.ui68 .jg-series { background: var(--u-s2); padding: 3px; gap: 3px; border-radius: var(--u-pill); }
html.ui68 .jg-series .seg-b { min-width: 44px; min-height: 44px; padding: 0 8px; border-radius: var(--u-pill); font: 700 15px/1 var(--font-texto); }
html.ui68 .tbl-wrap { overflow-x: auto; border-radius: var(--u-r3); border: 1px solid var(--u-line); background: var(--u-s1); }
html.ui68 .jg-tbl { width: 100%; border-collapse: collapse; }
html.ui68 .jg-tbl tr { height: 44px; }
html.ui68 .jg-tbl td, html.ui68 .jg-tbl th { padding: 6px 6px; }
html.ui68 .jg-tbl td.tn .tn-in { display: flex; align-items: center; gap: 8px; min-width: 0; }
html.ui68 .jg-tbl .tn-t[data-act] { min-height: 44px; min-width: 44px; box-sizing: border-box; -webkit-box-pack: center; }
html.ui68 .jg-tbl .tn-t { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; line-height: 1.2; font: 600 14px/1.2 var(--font-texto); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html.ui68 .jg-tbl td.tn .fx-em-kit { flex: none; width: 22px; height: 26px; }
html.ui68 .jg-tbl tr.me td, html.ui68 .jg-tbl tr.eu td, html.ui68 .jg-tbl tr.meu td, html.ui68 .jg-tbl tr.mine td { background: var(--u-s2); font-weight: 700; }
html.ui68 .jg-tbl tr.me td:first-child, html.ui68 .jg-tbl tr.eu td:first-child, html.ui68 .jg-tbl tr.meu td:first-child, html.ui68 .jg-tbl tr.mine td:first-child { box-shadow: inset 4px 0 0 var(--u-tx); }
html.ui68 .jg h3 { margin: var(--u-sp5) 0 var(--u-sp2); font: 700 20px/1.1 var(--font-titulo); }
html.ui68 .jg-2col { display: block; }
html.ui68 .jg-2col > * { margin: 0; }

/* 6.6 Premiação e demais blocos recolhíveis */
html.ui68 details.panel { padding: 0 var(--u-sp4); }
html.ui68 details.panel > summary { list-style: none; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 700 16px/1.2 var(--font-texto); cursor: pointer; }
html.ui68 details.panel > summary::-webkit-details-marker { display: none; }
html.ui68 details.panel > summary::after, html.ui68 details.como > summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-left: auto; border: solid currentColor; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translateY(-2px); transition: transform var(--u-dur2) var(--u-ease); opacity: .8; }
html.ui68 details[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
html.ui68 details.como > summary::before { display: none; }
html.ui68 details.como > summary { list-style: none; }
html.ui68 details.como > summary::-webkit-details-marker { display: none; }
html.ui68 details.panel[open] { padding-bottom: var(--u-sp3); }
html.ui68 details.panel .muted { color: var(--u-tx2); }
html.ui68 .rola-e, html.ui68 .rola-d { scrollbar-width: none; }
html.ui68 .seg-tabs::-webkit-scrollbar { display: none; }

/* 6.7 Online: cartões de competição sem caixa dentro de caixa; texto de apoio curto */
html.ui68 .jg-ol, html.ui68 .fxc { display: grid; gap: var(--u-sp3); }
html.ui68 .jg-ol .panel, html.ui68 .fxc .panel { margin: 0; }
html.ui68 .fxc-title { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 0; }
html.ui68 .fxc-kicker { display: block; margin: 0 0 2px; font: 400 12px/1.2 var(--font-px); letter-spacing: .04em; text-transform: uppercase; color: var(--u-tx2); }
html.ui68 .fxc-title h2 { margin: 0 0 4px; font: 700 20px/1.1 var(--font-titulo); }
html.ui68 .fxc-title p { margin: 0; font: 500 14px/1.4 var(--font-texto); color: var(--u-tx2); }
html.ui68 .fxc-empty { padding: var(--u-sp4); text-align: center; border: 1px dashed var(--u-line2); border-radius: var(--u-r3); background: transparent; }
html.ui68 .fxc-empty strong { display: block; font: 700 16px/1.2 var(--font-texto); margin-bottom: 4px; }
html.ui68 .fxc-empty p { margin: 0; color: var(--u-tx2); font-size: 14px; }
html.ui68 .fxc-note { margin: var(--u-sp2) 0 0; font: 500 14px/1.4 var(--font-texto); color: var(--u-tx2); }
html.ui68 .notice { padding: var(--u-sp3) var(--u-sp4); border: 1px solid var(--u-line2); border-radius: var(--u-r3); background: var(--u-s1); font: 500 14px/1.4 var(--font-texto); box-shadow: none; }
html.ui68 .notice.warn { border-color: #8a6f00; }
html.ui68 .notice p { margin: 0 0 8px; }

/* ============================================================ 7 · Palpites (modo de Jogar) */
html.ui68 .jg-pal { display: block; }
html.ui68 .jg-regra { margin: 0 0 var(--u-sp2); font: 500 14px/1.45 var(--font-texto); color: var(--u-tx2); }
html.ui68 .jg-regra b { color: var(--u-tx); }
html.ui68 .jg-regra .jg-risco { display: block; color: var(--u-err); font-weight: 600; }
/* pager: ◀ [1][2][3][4] ▶ — pílulas numeradas de 44 (✓ = palpite feito, cheia = jogo atual) */
html.ui68 .fx-passo { display: flex; align-items: center; gap: 4px; margin: 0 0 var(--u-sp3); }
html.ui68 .fx-passo-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.ui68 .fx-passo-b { flex: none; width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: var(--u-pill); }
html.ui68 .fx-passo-pts { flex: 1; min-width: 0; margin: 0; gap: 4px; counter-reset: ui68pp; overflow-x: auto; scrollbar-width: none; }
html.ui68 .fx-passo-pts::-webkit-scrollbar { display: none; }
html.ui68 .fx-passo-pts button { position: relative; flex: 1 0 44px; min-width: 44px; width: auto; height: 44px; padding: 0; border: 0; border-radius: var(--u-pill); background: var(--u-s2); box-shadow: inset 0 0 0 1.5px var(--u-line2); color: var(--u-tx); font: 800 18px/1 var(--font-titulo); counter-increment: ui68pp; display: grid; place-items: center; transition: background-color var(--u-dur2) var(--u-ease), transform var(--u-dur1) var(--u-ease); }
html.ui68 .fx-passo-pts button::before { display: none; }
html.ui68 .fx-passo-pts button::after { content: counter(ui68pp); }
html.ui68 .fx-passo-pts button.ok::after { content: counter(ui68pp) " \2713"; font-size: 16px; }
html.ui68 .fx-passo-pts button.ok { color: var(--u-ok); box-shadow: inset 0 0 0 1.5px var(--u-ok); }
html.ui68 .fx-passo-pts button.on { background: var(--sel); color: var(--on-sel); box-shadow: none; }
html.ui68 .fx-passo-pts button:active { transform: scale(.97); }
/* o jogo da vez: sem caixa dentro de caixa */
html.ui68 .jg-fx { display: grid; gap: var(--u-sp3); padding: var(--u-sp4); background: var(--u-s1); border: 1px solid var(--u-line); border-radius: var(--u-r3); box-shadow: none; }
html.ui68 .jg-fx[hidden] { display: none; }
html.ui68 .jg-fx .fx-line { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; font: 700 18px/1.15 var(--font-texto); }
html.ui68 .jg-fx .fx-line > span:first-child { text-align: left; overflow-wrap: anywhere; }
html.ui68 .jg-fx .fx-line > span:last-child { text-align: right; overflow-wrap: anywhere; }
html.ui68 .jg-fx .fx-line .muted { font: 700 14px/1 var(--font-px); color: var(--u-tx2); }
html.ui68 .jg-fx .odds { display: flex; height: 8px; margin: -4px 0 0; border-radius: 4px; overflow: hidden; gap: 2px; background: transparent; }
html.ui68 .jg-fx .odds > span { display: block; height: 100%; min-width: 4px; }
html.ui68 .jg-fx .picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
html.ui68 .pick-b { display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 64px; padding: 8px 4px; border-radius: var(--u-r2); background: var(--u-s2); border: 1.5px solid var(--u-line2); color: var(--u-tx); transition: transform var(--u-dur1) var(--u-ease), background-color var(--u-dur2) var(--u-ease); }
html.ui68 .pick-b:active { transform: scale(.97); }
html.ui68 .pick-b .pk-nm { font: 600 14px/1.15 var(--font-texto); color: var(--u-tx2); max-width: 100%; overflow-wrap: anywhere; text-align: center; }
html.ui68 .pick-b .pk-pc { font: 800 22px/1 var(--font-titulo); font-variant-numeric: tabular-nums; }
html.ui68 .pick-b[aria-pressed=true] { background: var(--sel); border-color: var(--sel); color: var(--on-sel); }
html.ui68 .pick-b[aria-pressed=true] .pk-nm { color: var(--on-sel); font-weight: 700; }
html.ui68 .pick-b[aria-pressed=true] .pk-pc::before { content: "\2713\00a0"; }
html.ui68 .jg-fx .fld { display: grid; gap: 8px; margin: 0; }
html.ui68 .jg-fx .fld > span { font: 600 14px/1.2 var(--font-texto); color: var(--u-tx2); }
html.ui68 .jg-fx .fx-cartas { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 0 8px; scrollbar-width: thin; scrollbar-color: var(--u-tx2) var(--u-s2); }
html.ui68 .jg-fx .fld { position: relative; }
html.ui68 .jg-fx .why { margin: 0; font: 500 14px/1.4 var(--font-texto); color: var(--u-tx2); }
html.ui68 .jg-confirma { width: 100%; min-height: 48px; }
/* barra de resultados fixa no pé (acima da barra de abas): uma linha */
html.ui68 .jg-apito { position: sticky; bottom: calc(var(--u-nav-h) + env(safe-area-inset-bottom, 0px) + 8px); z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: var(--u-sp3) 0 0; padding: 8px 8px 8px 14px; background: var(--u-s2); border: 1px solid var(--u-line2); border-radius: var(--u-r3); box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
html.ui68 .jg-apito-t { display: grid; gap: 2px; margin: 0; min-width: 0; font: 600 14px/1.25 var(--font-texto); }
html.ui68 .jg-apito-t .muted { font: 500 12px/1.25 var(--font-texto); color: var(--u-tx2); }
html.ui68 .jg-apito .btn-primary { flex: none; min-height: 48px; padding: 0 16px; font: 800 18px/1 var(--font-titulo); letter-spacing: .04em; text-transform: uppercase; }
html.ui68 .olp { margin-top: var(--u-sp3); }

/* ============================================================ 8 · Ranking e Ranked */
html.ui68 .fx-rk { display: grid; gap: var(--u-sp3); }
/* 8.1 arena como herói: emblema grande, nome, troféus, barra até a próxima */
html.ui68 .fx-rk-cab { position: relative; display: grid; justify-items: center; gap: var(--u-sp2); padding: var(--u-sp4) var(--u-sp4) var(--u-sp3); text-align: center; background: radial-gradient(120% 70% at 50% 18%, rgba(90, 154, 244, .16), transparent 60%), var(--u-s1); border: 1px solid var(--u-line2); border-left-width: 1px; border-radius: var(--u-r4); box-shadow: none; overflow: hidden; }
html.ui68 .fx-rk-tag { margin: 0; padding: 4px 10px; background: var(--u-s3); color: var(--u-tx); border: 0; border-radius: var(--u-pill); font: 600 12px/1.2 var(--font-px); letter-spacing: .08em; text-transform: uppercase; }
html.ui68 .fx-rk-hero { display: grid; justify-items: center; gap: var(--u-sp2); width: 100%; }
html.ui68 .fx-rk-hero .fx-arena-logo { filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5)); }
html.ui68 .fx-rk-linha { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 14px; }
html.ui68 .fx-rk-arena { font: 800 26px/1.1 var(--font-titulo); letter-spacing: .02em; text-transform: uppercase; }
html.ui68 .fx-rk-barra { width: 100%; height: 10px; border-radius: 5px; background: var(--u-s3); overflow: hidden; }
html.ui68 .fx-rk-barra > span { display: block; height: 100%; border-radius: 5px; background: var(--u-ok); min-width: 6px; }
html.ui68 .fx-rk-prox { margin: 0; font: 500 14px/1.4 var(--font-texto); color: var(--u-tx2); }
html.ui68 .fx-rk-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; margin: var(--u-sp2) 0 0; padding-top: var(--u-sp3); border-top: 1px solid var(--u-line); }
html.ui68 .fx-rk-stats > div { display: grid; justify-items: center; gap: 2px; padding: 0 4px; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
html.ui68 .fx-rk-stats > div + div { border-left: 1px solid var(--u-line); }
html.ui68 .fx-rk-stats dt { font: 600 12px/1.2 var(--font-texto); color: var(--u-tx2); }
html.ui68 .fx-rk-stats dd { margin: 0; font: 800 24px/1.1 var(--font-titulo); font-variant-numeric: tabular-nums; }
html.ui68 .fx-rk-hoje { margin: 0; font: 600 14px/1.4 var(--font-texto); color: var(--u-tx2); text-align: center; }
html.ui68 .fx-rk-jogar { width: 100%; min-height: 56px; }
html.ui68 .fx-rk-why, html.ui68 .fx-rk-ajuda { margin: 0; font: 500 14px/1.4 var(--font-texto); color: var(--u-tx2); text-align: center; }
html.ui68 .fx-rk-sec { display: grid; gap: var(--u-sp2); margin: var(--u-sp3) 0 0; }
html.ui68 .fx-rk-sec h3 { margin: 0; font: 700 20px/1.1 var(--font-titulo); }
html.ui68 .fx-rk-regras { margin: var(--u-sp2) 0 0; padding-left: var(--u-sp4); display: grid; gap: var(--u-sp2); font: 500 14px/1.45 var(--font-texto); color: var(--u-tx2); }

/* 8.2 Ranking de técnicos: abas, linhas de 52 e "Sua posição" como item fixo da lista */
html.ui68 .fx66b-rk, html.ui68 .fx67b-h { display: grid; gap: var(--u-sp3); }
html.ui68 .fx66b-rk-top h2, html.ui68 .fx67b-h-top h2 { margin: 0 0 2px; font: 700 20px/1.1 var(--font-titulo); }
html.ui68 .fx66b-rk-top p, html.ui68 .fx67b-h-top p { margin: 0; font: 500 14px/1.4 var(--font-texto); color: var(--u-tx2); }
html.ui68 .fx66b-abas, html.ui68 .fx67b-abas { background: var(--u-s2); border-radius: var(--u-r3); padding: 4px; gap: 4px; display: flex; overflow-x: auto; scrollbar-width: none; }
html.ui68 .fx66b-abas .seg-b, html.ui68 .fx67b-abas .seg-b { flex: 1 0 auto; min-height: 44px; padding: 0 14px; border-radius: 12px; font: 600 14px/1.15 var(--font-texto); white-space: nowrap; }
html.ui68 .fx66b-rk-cab b { font: 700 16px/1.2 var(--font-texto); }
html.ui68 .fx66b-rk-cab small { font: 500 14px/1.4 var(--font-texto); color: var(--u-tx2); }
html.ui68 .fx66b-rk-vazio, html.ui68 .fx67b-h-vazio { margin: 0; padding: var(--u-sp4); text-align: center; border: 1px dashed var(--u-line2); border-radius: var(--u-r3); font: 500 14px/1.4 var(--font-texto); color: var(--u-tx2); }
html.ui68 .fx66b-eu { position: sticky; bottom: calc(var(--u-nav-h) + env(safe-area-inset-bottom, 0px) + 8px); z-index: 6; display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--u-s2); border: 1.5px solid var(--u-tx); border-radius: var(--u-r3); box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
html.ui68 .fx66b-eu-txt { display: grid; gap: 2px; min-width: 0; }
html.ui68 .fx66b-eu-txt b { font: 800 18px/1.1 var(--font-titulo); }
html.ui68 .fx66b-eu-txt small { font: 500 14px/1.3 var(--font-texto); color: var(--u-tx2); }

/* ============================================================ 9 · partida (jogo, fim e prêmio) */
/* 9.1 jogo: controles numa fileira (1x/2x/4x · Pular · som), avisos de Sócio/Stamina e "Imagem" continuam à mostra, como no clássico */
html.ui68 .match { background: var(--u-bg); }
html.ui68 #fx-trava-nota { margin: 6px 12px 0; font: 600 12px/1.3 var(--font-texto); }
html.ui68 .fx-stamina-note { margin: 4px 12px 8px; font: 500 12px/1.3 var(--font-texto); }
html.ui68 .m-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
html.ui68 .m-ctl > .seg { flex: none; padding: 3px; gap: 3px; border-radius: var(--u-r2); background: var(--u-s2); }
html.ui68 .m-ctl > .seg .seg-b { position: relative; min-width: 44px; width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 10px; font: 700 15px/1 var(--font-texto); }
html.ui68 .m-ctl .fx-bloq { color: var(--u-tx2); }
html.ui68 .m-ctl .mt-pular { flex: 1 1 0; min-width: 72px; min-height: 52px; padding: 0 12px; border-radius: var(--u-r2); font: 700 16px/1 var(--font-texto); }
html.ui68 .m-ctl .btn-som { flex: none; width: 52px; min-width: 52px; min-height: 52px; padding: 0; border-radius: var(--u-r2); }
html.ui68 .m-ctl > .seg { min-height: 52px; align-items: center; }
html.ui68 #match .fx58-quality { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; flex-basis: 100%; margin: 0; padding: 2px 12px 4px; }
html.ui68 #match .fx58-quality label { font: 600 14px/1.2 var(--font-texto); color: var(--u-tx2); }
html.ui68 #match .fx58-quality select { width: auto; min-width: 140px; min-height: 44px; border-radius: var(--u-r2); font: 600 15px/1.2 var(--font-texto); background: var(--u-s2); border: 1.5px solid var(--u-line2); color: var(--u-tx); padding: 0 28px 0 10px; }
html.ui68 .mt-lances > summary { min-height: 44px; }
html.ui68 .feed { gap: 6px; }
html.ui68 .feed li { font: 500 14px/1.4 var(--font-texto); }

/* 9.2 fim de partida: a folha rola inteira, o CTA "Escolher meu prêmio" fica no pé (área segura) */
html.ui68 .mt-palco.mt-fim > .result.fim { overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; align-items: start; justify-items: center; place-items: start center; padding: calc(env(safe-area-inset-top, 0px) + 8px) 8px 0; background: color-mix(in srgb, var(--u-bg) 94%, transparent); -webkit-overflow-scrolling: touch; }
html.ui68 .fim-card { display: grid; grid-template-rows: none; width: min(520px, 100%); max-height: none; overflow: visible; gap: var(--u-sp3); padding: var(--u-sp4) var(--u-sp3) 0; background: var(--u-s1); border: 1px solid var(--u-line2); border-radius: var(--u-r4); box-shadow: none; }
html.ui68 .fim-corpo { overflow: visible; min-height: auto; display: grid; gap: var(--u-sp3); padding-bottom: var(--u-sp3); }
html.ui68 .fim-topo { gap: 6px; }
html.ui68 .fim-lbl { font: 500 14px/1.3 var(--font-texto); color: var(--u-tx2); margin: 0; }
html.ui68 .fim-tit { font: 800 40px/1 var(--font-titulo); letter-spacing: .02em; text-transform: uppercase; }
html.ui68 .fim-acoes { position: sticky; bottom: 0; z-index: 5; margin: 0 calc(-1 * var(--u-sp3)); padding: var(--u-sp3) var(--u-sp3) calc(env(safe-area-inset-bottom, 0px) + 12px); background: linear-gradient(180deg, transparent, var(--u-s1) 28%); border-radius: 0 0 var(--u-r4) var(--u-r4); }
html.ui68 .fim-acoes .btn-primary, html.ui68 .fim-acoes .btn-lg { width: 100%; min-height: 56px; font: 800 22px/1 var(--font-titulo); letter-spacing: .05em; text-transform: uppercase; }
html.ui68 .fim-card details.fx65a-est, html.ui68 .fim-card .fx66a-notas, html.ui68 .fim-card .fim-xp, html.ui68 .fim-card .fx66a-craque { background: transparent; border: 0; border-top: 1px solid var(--u-line); border-radius: 0; box-shadow: none; padding-inline: 0; margin: 0; }
html.ui68 .fim-corpo > .fx66a-craque { order: 1; border-top: 0; }
html.ui68 .fim-corpo > .fim-ganho { order: 2; }
html.ui68 .fim-corpo > .fim-extra { order: 3; margin: 0; padding: 0; list-style: none; font: 500 14px/1.4 var(--font-texto); color: var(--u-tx2); }
html.ui68 .fim-corpo > details.fx65a-est { order: 4; }
html.ui68 .fim-corpo > .fx66a-notas { order: 5; }
html.ui68 .fim-corpo > .fim-xp { order: 6; }
html.ui68 .fim-card summary { min-height: 44px; display: flex; align-items: center; font: 700 16px/1.2 var(--font-texto); }
html.ui68 .fim-card :is(small, .small, .fx66a-pos, .fx65a-r, .fim-xc-nv, .fim-xl, .fim-xc-nv .px, .fim-xc small, .fim-xl b.px) { font-size: 12px; }
html.ui68 .fim-chip { min-height: 44px; border-radius: var(--u-r2); font: 700 15px/1.2 var(--font-texto); }
html.ui68 .result.fim .fx58-quality { order: 9; }

/* 9.3 prêmio: as 3 cartas em destaque; as chances ficam em "Ver chances" */
html.ui68 .match-inner.pz { align-content: start; gap: var(--u-sp3); padding-top: var(--u-sp3); }
html.ui68 .pz-head { text-align: center; }
html.ui68 .pz-head h2 { margin: 0; font: 800 30px/1.1 var(--font-titulo); text-transform: uppercase; letter-spacing: .03em; }
html.ui68 .pz-head p { margin: 4px 0 0; font: 500 16px/1.4 var(--font-texto); color: var(--u-tx2); }
html.ui68 .pz .prizes.pz-cartas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: stretch; gap: 8px; width: 100%; max-width: 480px; margin: 0 auto; padding: 0; }
html.ui68 .pz .prizes.pz-cartas > .pz-c, html.ui68 .pz .prizes.pz-cartas > .pz-c:nth-child(3) { width: 100%; height: auto; aspect-ratio: 3 / 4.2; max-height: 220px; grid-column: auto; justify-self: stretch; border-radius: var(--u-r3); }
html.ui68 .pz-c .flip-inner, html.ui68 .pz-c .flip-back, html.ui68 .pz-c .flip-front { border-radius: var(--u-r3); }
html.ui68 .pz-c .flip-front { padding: 8px 4px; gap: 4px; }
html.ui68 .pz-c .flip-front strong { font: 700 14px/1.15 var(--font-texto); text-align: center; }
html.ui68 .pz-c .flip-front .small, html.ui68 .pz-c .flip-front .pk-rar { font: 600 12px/1.2 var(--font-texto); }
html.ui68 .pz-c .flip-front .av { width: 56px; height: 56px; }
html.ui68 .pz-c .pz-ico { width: 40px; height: 40px; }
html.ui68 .ui68-chances { justify-self: center; min-height: 44px; padding: 0 16px; border-radius: var(--u-pill); background: transparent; border: 1.5px solid var(--u-line2); color: var(--u-tx); font: 600 14px/1 var(--font-texto); cursor: pointer; transition: transform var(--u-dur1) var(--u-ease); }
html.ui68 .ui68-chances:active { transform: scale(.97); }
html.ui68 .match-inner.pz:not(.ui68-ch) .pz-odds, html.ui68 .match-inner.pz:not(.ui68-ch) .pz-rar { display: none; }
html.ui68 .pz-odds { margin: 0; font: 500 14px/1.4 var(--font-texto); color: var(--u-tx2); text-align: center; }
html.ui68 .pz-rar { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin: 0; padding: var(--u-sp3); list-style: none; border: 1px solid var(--u-line); border-radius: var(--u-r3); background: var(--u-s1); font: 500 14px/1.3 var(--font-texto); }

html.ui68 .fx66b-rk-pos, html.ui68 .fx66b-rk-lin.top .fx66b-rk-pos { color: var(--u-acc-tx); }
html.ui68 .fx66b-rk-quem b em { font-size: 12px; }

/* 10.1 chips da Loja e do Clube: o mesmo desenho dos modos de Jogar (ícone pixel + rótulo, uma linha rolável) */
html.ui68 .seg-tabs.shop-tabs .seg-b::before, html.ui68 .seg-tabs.club-tabs .seg-b::before { content: ""; display: block; flex: none; width: 24px; height: 24px; margin: 0 -2px 0 -4px; padding: 0; border: 0; border-radius: 0; box-shadow: none; -webkit-mask: none; mask: none; transform: none; background: var(--ico) center / contain no-repeat; image-rendering: pixelated; }
html.ui68 .shop-tabs .seg-b[data-v=futcoin] { --ico: url(/assets/ui1968/lj-futcoin.png); }
html.ui68 .shop-tabs .seg-b[data-v=cartas] { --ico: url(/assets/ui1968/lj-cartas.png); }
html.ui68 .shop-tabs .seg-b[data-v=mercado] { --ico: url(/assets/ui1968/lj-leilao.png); }
html.ui68 .shop-tabs .seg-b[data-v=itens] { --ico: url(/assets/ui1968/lj-itens.png); }
html.ui68 .shop-tabs .seg-b[data-v=campos] { --ico: url(/assets/ui1968/lj-campos.png); }
html.ui68 .club-tabs .seg-b[data-v=meu] { --ico: url(/assets/ui1968/cl-meu.png); }
html.ui68 .club-tabs .seg-b[data-v=album] { --ico: url(/assets/ui1968/cl-album.png); }
html.ui68 .club-tabs .seg-b[data-v=emblema] { --ico: url(/assets/ui1968/cl-emblema.png); }
html.ui68 .club-tabs .seg-b[data-v=uniforme] { --ico: url(/assets/ui1968/cl-uniforme.png); }
html.ui68 .club-tabs .seg-b[data-v=visual] { --ico: url(/assets/ui1968/cl-visual.png); }
html.ui68 .club-tabs .seg-b[data-v=estadio] { --ico: url(/assets/ui1968/cl-estadio.png); }

/* 10.2 Configurações: Idioma e "Visual do jogo" são segmentados (selecionado = cal + tinta, nunca amarelo) */
html.ui68 .fx-idioma-t { color: var(--u-tx2); font-size: 12px; }
html.ui68 .fx-idioma-b button { min-height: 44px; border-radius: 12px; font: 600 15px/1.15 var(--font-texto); background: var(--u-s2); border: 1px solid var(--u-line); color: var(--u-tx); }
html.ui68 .fx-idioma-b button[aria-pressed=true] { background: var(--sel); border-color: var(--sel); color: var(--on-sel); font-weight: 700; box-shadow: none; }
html.ui68 .ui68-visual .seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
html.ui68 .ui68-visual .seg-b { justify-content: center; }
html.ui68 .ui68-visual h3 { font: 800 20px/1.1 var(--font-titulo); }

/* 10.3 ux62 (Caminho do técnico) por cima do visual novo: as 5 abas continuam 5 (o Elenco ocupa o lugar do Palpites, que virou modo de Jogar) */
html.ui68.ux62 nav.tabs.ux62-nav .tab.ux62-trava { opacity: 1; }
html.ui68.ux62 nav.tabs.ux62-nav .tab.ux62-trava > :not(.tab-badge) { opacity: .85; }
html.ui68[data-theme=light] .ux62-estrada li.ok .ux62-no { color: #fff; }
@media (prefers-color-scheme: light) { html.ui68[data-theme=auto] .ux62-estrada li.ok .ux62-no { color: #fff; } }
html.ui68 .ux62-cam-t small, html.ui68 .ux62-cam-seta { color: var(--u-acc-tx); }
html.ui68 .ux62-estrada li.trava .ux62-no-card > *:not(.ux62-tag) { opacity: .9; }
html.ui68.ux62:not(.fx-pc) nav.tabs.ux62-nav .tab[data-tab=elenco] { order: 5; }
html.ui68 .ux62-balao .btn.ux62-prox { min-height: 44px; padding: 0 16px; border-color: var(--fx-tinta); background: var(--fx-tinta); color: var(--fx-cal); font: 800 17px/1 var(--font-titulo); letter-spacing: .02em; box-shadow: 0 3px 0 rgba(10, 18, 25, .45); }

/* ============================================================ 11 · Paridade com o clássico (pedido do dono, 1.9.68) */
/* 11.1 chip: UM contorno só (a pílula ::before). O botão de 44 px não tem borda própria: a do CSS base (e o dourado do fx-loja) desenhava outra por fora */
html.ui68 .chip, html.ui68 #top .chip, html.ui68 #top .chip.lj-chip { border-color: transparent !important; }
/* 11.2 topo estreito: pílulas compactas para caberem os 4 chips com números grandes (7.915 · 1.812 · 8 · 7/9) em 390-430 px */
@media (max-width: 430px) {
  html.ui68:not(.fx-pc) #top .chip { padding: 0 4px !important; gap: 3px !important; }
  html.ui68:not(.fx-pc) #top .chip :is(.px, span) { font-size: 13px !important; }
}
@media (max-width: 380px) {
  html.ui68:not(.fx-pc) #top .res { gap: 0 !important; column-gap: 0 !important; }
  html.ui68:not(.fx-pc) #top .chip svg, html.ui68:not(.fx-pc) #top .chip .lj-ic { width: 14px !important; height: 14px !important; background-size: 112px 84px !important; }
}
/* se mesmo assim não couber (320-360 px), a fileira de recursos desliza com a ponta esmaecida (toque); com mouse ela quebra em linhas (11.3) */
html.ui68:not(.fx-pc) .res.ui68-rd { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 22px), #0000); mask-image: linear-gradient(90deg, #000 calc(100% - 22px), #0000); }
html.ui68:not(.fx-pc) .res.ui68-re { -webkit-mask-image: linear-gradient(90deg, #0000, #000 22px); mask-image: linear-gradient(90deg, #0000, #000 22px); }
html.ui68:not(.fx-pc) .res.ui68-re.ui68-rd { -webkit-mask-image: linear-gradient(90deg, #0000, #000 22px calc(100% - 22px), #0000); mask-image: linear-gradient(90deg, #0000, #000 22px calc(100% - 22px), #0000); }
html.ui68 .ui68-seta { display: none; }
/* 11.3 MOUSE / trackpad (hover + pointer fine): nada fica atrás de rolagem escondida. Chips quebram em linhas (todos à vista); carrossel de cartas mostra barra e setas */
@media (hover: hover) and (pointer: fine) {
  html.ui68:not(.fx-pc) #top .res { flex-wrap: wrap !important; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  html.ui68 :is(.seg-tabs.seg-sub, .seg.seg-sub, .seg-tabs.shop-tabs, .seg-tabs.fx-club-tabs, .seg.club-tabs, .seg-tabs.lj-nav, .fx66b-abas, .fx67b-abas) { flex-wrap: wrap !important; overflow: visible !important; -webkit-mask-image: none !important; mask-image: none !important; }
  html.ui68 .fx-passo-pts { flex-wrap: wrap; overflow: visible; }
  html.ui68 .ui68-seta { display: grid; place-items: center; position: absolute; z-index: 3; width: 44px; height: 44px; padding: 0; border-radius: 50%; background: var(--u-s2); color: var(--u-tx); border: 1px solid var(--u-line2); box-shadow: 0 4px 14px rgba(0, 0, 0, .35); font: 700 24px/1 var(--font-texto); cursor: pointer; }
  html.ui68 .ui68-seta:hover { background: var(--u-s3); }
  html.ui68 .ui68-seta[hidden] { display: none; }
  html.ui68 .ui68-seta-e { left: -8px; }
  html.ui68 .ui68-seta-d { right: -8px; }
}

/* 11.4 selo de aviso das Táticas (Estilo de Jogo 6): 12 px como todo texto do visual novo */
html.ui68 .tactics .tactics-badge { min-width: 18px; height: 18px; padding: 0 4px; font: 700 12px/1 var(--font-texto); }
