/* fonte da marca (Poppins, OFL) — também guardada dentro do APK */
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-regular.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-medium.woff') format('woff'); font-weight: 500 600; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-bold.woff') format('woff'); font-weight: 700 900; font-display: swap; }
/* ==================================================================== tokens */
:root {
  --brand: #066cfe;
  --acc: var(--brand);
  --acc-soft: color-mix(in srgb, var(--acc) 12%, transparent);
  --acc-fg: #fff;
  --bg: #f2f4f8;
  --surface: #ffffff;
  --surface-2: #f6f7fa;
  --surface-3: #eceff4;
  --line: #e3e7ee;
  --fg: #0f172a;
  --fg-2: #334155;
  --muted: #6b7587;
  --live: #e5484d;
  --live-soft: color-mix(in srgb, var(--live) 12%, transparent);
  --win: #16a34a;
  --win-soft: color-mix(in srgb, var(--win) 14%, transparent);
  --draw: #94a3b8;
  --loss: #e5484d;
  --warn: #d97706;
  --gold: #f5b300;
  --home: var(--acc);
  --away: #f97316;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 2px 8px rgba(15, 23, 42, .04);
  --shadow-lg: 0 10px 40px rgba(15, 23, 42, .18);
  --top: 56px;
  --nav: 62px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-d: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0b0f17; --surface: #121826; --surface-2: #171f30; --surface-3: #1e2839; --line: #243049;
  --fg: #e8ecf3; --fg-2: #c3cad6; --muted: #8b95a8;
  --shadow: none; --shadow-lg: 0 10px 40px rgba(0, 0, 0, .5);
  --away: #fb923c;
  color-scheme: dark;
}
:root[data-theme="amoled"] {
  --bg: #000; --surface: #0b0b0d; --surface-2: #121216; --surface-3: #1a1a20; --line: #222229;
  --fg: #f1f3f6; --fg-2: #c9cdd4; --muted: #8a8f99;
  --shadow: none; --shadow-lg: 0 10px 40px rgba(0, 0, 0, .7);
  --away: #fb923c;
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  font: 14px/1.45 var(--font); background: var(--bg); color: var(--fg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overscroll-behavior-y: none;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.hide { display: none !important; }
::selection { background: var(--acc-soft); }

/* ==================================================================== splash (Play Score) */
#splash { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: #000; overflow: hidden; transition: opacity .5s ease, visibility .5s, transform .5s ease; }
#splash.out { opacity: 0; visibility: hidden; transform: scale(1.06); }
#splash .sp-glow { position: absolute; width: 150vmax; height: 150vmax; left: 50%; top: 44%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(11,99,255,.42), rgba(0,40,170,.16) 40%, transparent 68%); animation: sp-glow 2.6s ease-in-out infinite alternate; }
#splash .sp-beams { position: absolute; left: 50%; top: 44%; width: 0; height: 0; animation: sp-spin 14s linear infinite; }
#splash .sp-beams i { position: absolute; left: -2px; top: -60vmax; width: 4px; height: 120vmax; background: linear-gradient(180deg, transparent, rgba(80,170,255,.16) 45%, rgba(80,170,255,.16) 55%, transparent); animation: sp-fade 1s .6s both; }
#splash .sp-beams i:nth-child(2) { transform: rotate(60deg); } #splash .sp-beams i:nth-child(3) { transform: rotate(120deg); }
#splash .sp-parts i { position: absolute; left: 50%; top: 44%; width: 6px; height: 6px; border-radius: 50%; background: #5ec8ff; box-shadow: 0 0 10px #39a8ff; opacity: 0;
  animation: sp-part 2.2s cubic-bezier(.15,.7,.3,1) infinite; }
#splash .sp-parts i:nth-child(1) { --x: -140px; --y: -170px; animation-delay: .9s; } #splash .sp-parts i:nth-child(2) { --x: 160px; --y: -130px; animation-delay: 1.05s; }
#splash .sp-parts i:nth-child(3) { --x: 190px; --y: 60px; animation-delay: 1.2s; } #splash .sp-parts i:nth-child(4) { --x: -180px; --y: 90px; animation-delay: 1s; }
#splash .sp-parts i:nth-child(5) { --x: -60px; --y: -220px; animation-delay: 1.35s; width: 4px; height: 4px; } #splash .sp-parts i:nth-child(6) { --x: 80px; --y: 210px; animation-delay: 1.15s; width: 4px; height: 4px; }
#splash .sp-parts i:nth-child(7) { --x: 230px; --y: -40px; animation-delay: 1.5s; width: 3px; height: 3px; } #splash .sp-parts i:nth-child(8) { --x: -230px; --y: -30px; animation-delay: 1.6s; width: 3px; height: 3px; }
#splash .sp-parts i:nth-child(9) { --x: -110px; --y: 200px; animation-delay: 1.7s; background: #fff; } #splash .sp-parts i:nth-child(10) { --x: 120px; --y: -230px; animation-delay: 1.8s; background: #fff; }
#splash .sp-in { position: relative; display: flex; flex-direction: column; align-items: center; perspective: 700px; }
#splash .sp-stage { position: relative; width: 136px; height: 136px; animation: sp-float 3s 1.6s ease-in-out infinite; }
#splash .sp-logo { position: absolute; inset: 0; transform-style: preserve-3d; animation: sp-in 1s cubic-bezier(.2,1.25,.3,1) both; filter: drop-shadow(0 18px 40px rgba(11,99,255,.55)); }
#splash .sp-logo img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#splash .sp-bg { border-radius: 23%; }
/* o símbolo "escreve-se" da esquerda para a direita, como o play */
#splash .sp-gl.main { clip-path: inset(0 100% 0 0); animation: sp-wipe .75s .55s cubic-bezier(.6,0,.2,1) forwards, sp-pop .5s 1.25s cubic-bezier(.2,1.6,.3,1) both; }
#splash .sp-gl.ghost { opacity: 0; filter: blur(6px) brightness(1.6); animation: sp-ghost 1s .55s ease-out both; }
#splash .sp-shine { position: absolute; inset: 0; border-radius: 23%; overflow: hidden; pointer-events: none; }
#splash .sp-shine::after { content: ''; position: absolute; top: -20%; bottom: -20%; width: 34%; left: -50%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); animation: sp-shine 2.4s 1.25s ease-in-out infinite; }
#splash .sp-ring { position: absolute; inset: 0; border-radius: 30%; border: 2px solid rgba(64,160,255,.7); opacity: 0; animation: sp-ring 2s 1.2s ease-out infinite; }
#splash .sp-ring.r2 { animation-delay: 1.85s; border-color: rgba(120,200,255,.5); }
#splash .sp-ring.r3 { animation-delay: 2.5s; border-color: rgba(255,255,255,.35); }
#splash .name { margin-top: 26px; font-size: 31px; font-weight: 900; letter-spacing: -.03em; color: #fff; display: flex; gap: 9px; }
#splash .name span { display: inline-block; animation: sp-word .6s cubic-bezier(.2,.9,.2,1) both; }
#splash .name .w1 { animation-delay: 1.05s; }
#splash .name .w2 { animation-delay: 1.2s; background: linear-gradient(90deg, #6fd3ff, #2f8bff 55%, #ffffff 80%, #6fd3ff); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sp-word .6s 1.2s cubic-bezier(.2,.9,.2,1) both, sp-text 2.6s 1.8s linear infinite; }
#splash .tag { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: rgba(255,255,255,.62); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; animation: sp-fade .5s 1.4s both; }
#splash .tag i { width: 7px; height: 7px; border-radius: 50%; background: #ff2d55; animation: sp-live 1.4s 1.5s infinite; }
#splash .bar { width: 140px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); margin-top: 30px; overflow: hidden; animation: sp-fade .3s 1.5s both; }
#splash .bar i { display: block; height: 100%; width: 45%; border-radius: 3px; background: linear-gradient(90deg, #2f8bff, #8fdcff); animation: sp-load 1s 1.5s ease-in-out infinite; }
@keyframes sp-in { 0% { transform: translateY(60px) scale(.25) rotateX(70deg) rotateZ(-25deg); opacity: 0; } 55% { opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes sp-wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes sp-ghost { 0% { opacity: 0; transform: translateX(-30px) scale(.9); } 50% { opacity: .9; } 100% { opacity: 0; transform: translateX(10px) scale(1.08); } }
@keyframes sp-pop { 0% { transform: scale(1); } 40% { transform: scale(1.09); } 100% { transform: scale(1); } }
@keyframes sp-shine { 0% { left: -50%; } 45%, 100% { left: 130%; } }
@keyframes sp-ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes sp-float { 50% { transform: translateY(-7px); } }
@keyframes sp-part { 0% { transform: translate(-50%, -50%) scale(.4); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1); opacity: 0; } }
@keyframes sp-spin { to { transform: rotate(360deg); } }
@keyframes sp-word { from { transform: translateY(16px); opacity: 0; filter: blur(5px); } to { transform: none; opacity: 1; filter: none; } }
@keyframes sp-text { to { background-position: -220% 0; } }
@keyframes sp-glow { from { opacity: .7; transform: translate(-50%, -50%) scale(.94); } to { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } }
@keyframes sp-live { 0% { box-shadow: 0 0 0 0 rgba(255,45,85,.6); } 100% { box-shadow: 0 0 0 9px rgba(255,45,85,0); } }
@keyframes sp-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes sp-load { 0% { transform: translateX(-100%); } 100% { transform: translateX(240%); } }
@media (prefers-reduced-motion: reduce) { #splash * { animation-duration: .01s !important; animation-iteration-count: 1 !important; } }

/* ==================================================================== layout */
.app { min-height: 100%; }
.topbar {
  position: sticky; top: 0; z-index: 40; height: calc(var(--top) + var(--safe-t)); padding-top: var(--safe-t);
  display: flex; align-items: center; gap: 6px; padding-inline: 12px;
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.topbar .brand svg, .topbar .brand .app-logo { width: 30px; height: 30px; border-radius: 7px; }
.app-logo { width: 100%; height: 100%; display: block; object-fit: contain; }
.topbar .title { font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .sp { flex: 1; }
.iconbtn {
  position: relative; width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; color: var(--fg);
  display: grid; place-items: center; flex: none;
}
.iconbtn:hover { background: var(--surface-3); }
.iconbtn .dot { position: absolute; top: 6px; right: 6px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--live); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--surface); }
.avatar { border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; flex: none; overflow: hidden; }

.shell { display: grid; grid-template-columns: minmax(0, 1fr); }
.shell > * { min-width: 0; }
body { overflow-x: hidden; }
.shell { overflow-x: clip; }
.page { min-width: 0; }
.chips, .days { max-width: 100%; }
.sidenav { display: none; }
main#view { min-height: calc(100vh - var(--top)); padding: 12px 12px calc(var(--nav) + var(--safe-b) + 24px); max-width: 820px; width: 100%; margin: 0 auto; }

.bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: calc(var(--nav) + var(--safe-b)); padding-bottom: var(--safe-b);
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--surface); border-top: 1px solid var(--line);
  /* camada própria: no WebView do Android o blur fazia a barra sumir em algumas páginas */
  transform: translate3d(0, 0, 0); will-change: transform; visibility: visible !important;
  box-shadow: 0 -4px 18px rgba(2, 6, 23, .06);
}
.bottomnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--muted); position: relative; }
.bottomnav a.on { color: var(--acc); }
.bottomnav a.ai .bubble { width: 46px; height: 46px; border-radius: 16px; margin-top: -18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--acc), #7c3aed); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--acc) 45%, transparent); }
.bottomnav a .badge { position: absolute; top: 6px; left: calc(50% + 6px); background: var(--live); color: #fff; font-size: 9px; font-weight: 800; border-radius: 8px; padding: 1px 5px; }

@media (min-width: 960px) {
  .shell { grid-template-columns: 236px minmax(0, 1fr); }
  .sidenav {
    display: flex; flex-direction: column; gap: 2px; position: sticky; top: var(--top); height: calc(100vh - var(--top));
    padding: 14px 10px; border-right: 1px solid var(--line); background: var(--surface); overflow-y: auto;
  }
  .sidenav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; font-weight: 600; color: var(--fg-2); }
  .sidenav a:hover { background: var(--surface-3); }
  .sidenav a.on { background: var(--acc-soft); color: var(--acc); }
  .sidenav .sec { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 16px 12px 6px; }
  .sidenav .lg { font-weight: 500; font-size: 13px; padding: 8px 12px; }
  .sidenav .lg img, .sidenav .lg .ph { width: 20px; height: 20px; }
  .bottomnav { display: none; }
  main#view { padding: 20px 24px 60px; }
  .only-m { display: none !important; }
}
@media (max-width: 959px) { .only-d { display: none !important; } }

/* ==================================================================== blocos */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card + .card, .card + .block, .block + .card, .block + .block { margin-top: 12px; }
.card-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-weight: 700; }
.card-h .sp { flex: 1; }
.card-b { padding: 14px; }
.sec-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; margin: 18px 2px 10px; letter-spacing: -.01em; }
.sec-title .sp { flex: 1; }
.sec-title a { font-size: 13px; font-weight: 600; color: var(--acc); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--fg); font-weight: 650; white-space: nowrap;
}
.btn:hover { background: var(--surface-3); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.pri { background: var(--acc); border-color: var(--acc); color: var(--acc-fg); }
.btn.pri:hover { filter: brightness(1.07); }
.btn.soft { background: var(--acc-soft); border-color: transparent; color: var(--acc); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.danger { color: var(--live); }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn.lg { height: 48px; font-size: 15px; border-radius: 14px; }
.btn.full { width: 100%; }
.btn.grad { background: linear-gradient(135deg, var(--acc), #7c3aed); color: #fff; border: 0; }

.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border-radius: 17px;
  border: 1px solid var(--line); background: var(--surface); color: var(--fg-2); font-weight: 600; font-size: 13px; white-space: nowrap;
}
.chip.on { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.chip .n { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 8px; background: var(--live); color: #fff; }
:root[data-theme] .chip.live-chip.on { background: var(--live); border-color: var(--live); color: #fff; }

.tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; top: calc(var(--top) + var(--safe-t)); z-index: 30; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; border: 0; background: none; padding: 13px 14px 11px; font-weight: 650; color: var(--muted); border-bottom: 2.5px solid transparent; white-space: nowrap; }
.tabs button.on { color: var(--acc); border-bottom-color: var(--acc); }

.seg { display: inline-flex; background: var(--surface-3); border-radius: 12px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; padding: 7px 14px; border-radius: 9px; font-weight: 650; color: var(--muted); font-size: 13px; }
.seg button.on { background: var(--surface); color: var(--fg); box-shadow: var(--shadow); }

.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 700; }
.pill.live { background: var(--live-soft); color: var(--live); }
.pill.win { background: var(--win-soft); color: var(--win); }
.pill.loss { background: var(--live-soft); color: var(--live); }
.pill.gray { background: var(--surface-3); color: var(--muted); }
.pill.acc { background: var(--acc-soft); color: var(--acc); }
.pill.gold { background: color-mix(in srgb, var(--gold) 18%, transparent); color: #b88600; }

.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty svg { width: 44px; height: 44px; opacity: .5; margin-bottom: 10px; }
.empty b { display: block; color: var(--fg); font-size: 16px; margin-bottom: 4px; }

.skel { background: linear-gradient(90deg, var(--surface-3) 0%, var(--surface-2) 50%, var(--surface-3) 100%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 8px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ==================================================================== logos */
.logo { object-fit: contain; flex: none; }
.ph { flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 11px; letter-spacing: -.03em; }
.flag { font-size: 16px; line-height: 1; }

/* ==================================================================== calendário */
.days { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px 0 10px; scroll-snap-type: x proximity; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; width: 54px; padding: 7px 0; border-radius: 12px; border: 1px solid transparent; background: none; text-align: center; scroll-snap-align: center; color: var(--muted); }
.day b { display: block; font-size: 16px; color: var(--fg); }
.day small { font-size: 11px; font-weight: 600; text-transform: uppercase; }
.day.on { background: var(--acc); color: #fff; }
.day.on b { color: #fff; }
.day.today small { color: var(--acc); }
.day.on.today small { color: #fff; }

/* ==================================================================== lista de jogos */
.league { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 10px; box-shadow: var(--shadow); }
.league-h { display: flex; align-items: center; gap: 9px; padding: 10px 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); cursor: pointer; }
.league-h .nm { font-weight: 700; font-size: 13px; line-height: 1.2; }
.league-h .ct { font-size: 11px; color: var(--muted); }
.league-h .sp { flex: 1; }
.league-h .pin { color: var(--muted); }
.league-h .pin.on { color: var(--gold); }

.match { display: grid; grid-template-columns: 50px 1fr auto 34px; align-items: center; gap: 4px 8px; padding: 9px 8px 9px 10px; border-bottom: 1px solid var(--line); cursor: pointer; position: relative; }
.match:last-child { border-bottom: 0; }
.match:hover { background: var(--surface-2); }
.match .st { font-size: 12px; color: var(--muted); text-align: center; line-height: 1.25; font-weight: 600; }
.match .st.live { color: var(--live); }
.match .st.live::before { content: ""; display: block; width: 6px; height: 6px; border-radius: 3px; background: var(--live); margin: 0 auto 3px; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.match .teams { display: flex; flex-direction: column; gap: 5px; min-width: 0; border-left: 1px solid var(--line); padding-left: 10px; }
.match .tm { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; }
.match .tm .n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.match .tm.w .n { font-weight: 700; }
.match .tm.l .n { color: var(--muted); }
.match .tm .red { width: 9px; height: 12px; background: var(--live); border-radius: 2px; flex: none; }
.match .sc { display: flex; flex-direction: column; gap: 5px; text-align: right; font-weight: 700; font-size: 14px; min-width: 20px; }
.match .sc.live { color: var(--live); }
.match .sc .ls { display: inline-block; min-width: 18px; color: var(--muted); font-weight: 500; font-size: 12px; margin-right: 6px; }
.match .fav { width: 32px; height: 32px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; border-radius: 10px; }
.match .fav.on { color: var(--gold); }
.match .tip { position: absolute; right: 44px; top: 50%; transform: translateY(-50%); }
.match.compact { padding-block: 6px; }
.match .odds { grid-column: 2 / 4; display: flex; gap: 6px; padding-left: 10px; }
.odd { flex: 1; display: flex; justify-content: space-between; gap: 6px; padding: 5px 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; font-size: 12px; font-weight: 700; }
.odd span { color: var(--muted); font-weight: 600; }

/* ==================================================================== cabeçalho do jogo */
.mh { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 12px 16px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.mh::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, color-mix(in srgb, var(--hc, var(--acc)) 10%, transparent), transparent 45%, transparent 55%, color-mix(in srgb, var(--ac, var(--away)) 10%, transparent)); pointer-events: none; }
.mh-top { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 600; position: relative; }
.mh-top .sp { flex: 1; }
.mh-main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin-top: 14px; position: relative; }
.mh-team { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-weight: 700; min-width: 0; cursor: pointer; }
.mh-team .nm { font-size: 14px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mh-team .rec { font-size: 11px; color: var(--muted); font-weight: 600; }
.mh-score { text-align: center; min-width: 110px; }
.mh-score .big { font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.mh-score .big.live { color: var(--live); }
.mh-score .big .sep { color: var(--muted); font-weight: 400; margin: 0 6px; }
.mh-score .time { font-size: 13px; font-weight: 700; margin-top: 6px; color: var(--muted); }
.mh-score .time.live { color: var(--live); }
.mh-score .kick { font-size: 22px; font-weight: 800; }
.mh-score .date { font-size: 12px; color: var(--muted); margin-top: 4px; }
.mh-goals { display: grid; grid-template-columns: 1fr 24px 1fr; gap: 4px; margin-top: 12px; font-size: 12px; color: var(--fg-2); position: relative; }
.mh-goals .h { text-align: right; }
.mh-goals .c { display: grid; place-items: start center; color: var(--muted); }
.mh-actions { display: flex; gap: 8px; justify-content: center; margin-top: 14px; position: relative; flex-wrap: wrap; }

/* linha do tempo */
.tl { position: relative; padding: 6px 0; }
.tl-row { display: grid; grid-template-columns: 1fr 44px 1fr; align-items: center; min-height: 40px; }
.tl-row .l { text-align: right; padding-right: 10px; }
.tl-row .r { padding-left: 10px; }
.tl-row .m { text-align: center; font-weight: 700; font-size: 12px; color: var(--muted); }
.tl-row .ev { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.tl-row .l .ev { flex-direction: row-reverse; }
.tl-row .ev small { display: block; color: var(--muted); font-size: 11px; }
.tl-sep { text-align: center; font-size: 11px; font-weight: 700; color: var(--muted); background: var(--surface-2); border-radius: 8px; padding: 5px; margin: 6px 0; }
.card-icon { width: 11px; height: 15px; border-radius: 2px; display: inline-block; }
.card-icon.y { background: #facc15; }
.card-icon.r { background: var(--live); }

/* estatísticas */
.stat { padding: 9px 2px; }
.stat-top { display: flex; justify-content: space-between; font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.stat-top .lb { color: var(--fg-2); font-weight: 600; }
.stat-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.stat-bars .b { height: 7px; border-radius: 4px; background: var(--surface-3); overflow: hidden; display: flex; }
.stat-bars .b.h { justify-content: flex-end; }
.stat-bars .b i { display: block; height: 100%; border-radius: 4px; }
.stat-bars .b.h i { background: var(--home); }
.stat-bars .b.a i { background: var(--away); }
.stat-bars .b i.lo { opacity: .35; }

/* campo (escalação) */
.pitch { position: relative; aspect-ratio: 68 / 100; border-radius: 12px; overflow: hidden; background: repeating-linear-gradient(180deg, #2f8f46 0 9%, #2b8540 9% 18%); }
.pitch::before { content: ""; position: absolute; inset: 3%; border: 2px solid rgba(255, 255, 255, .55); border-radius: 4px; }
.pitch::after { content: ""; position: absolute; left: 3%; right: 3%; top: 50%; height: 0; border-top: 2px solid rgba(255, 255, 255, .55); }
.pitch .circle { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; border: 2px solid rgba(255, 255, 255, .55); border-radius: 50%; transform: translate(-50%, -50%); }
.pitch .box { position: absolute; left: 25%; right: 25%; height: 13%; border: 2px solid rgba(255, 255, 255, .55); }
.pitch .box.t { top: 3%; border-top: 0; }
.pitch .box.b { bottom: 3%; border-bottom: 0; }
.pl { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; width: 70px; z-index: 2; }
.pl .sh { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 12px; color: #fff; border: 2px solid rgba(255, 255, 255, .9); box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.pl .nm { margin-top: 3px; font-size: 10.5px; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70px; }
.pl .ic { position: absolute; top: -4px; right: 14px; font-size: 10px; }
.players { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.prow { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.prow .no { width: 22px; text-align: center; color: var(--muted); font-weight: 700; font-size: 12px; }
.prow .pos { font-size: 11px; color: var(--muted); margin-left: auto; }

/* barras de probabilidade */
.probbar { display: flex; height: 36px; border-radius: 10px; overflow: hidden; font-weight: 800; font-size: 13px; }
.probbar > div { display: grid; place-items: center; color: #fff; min-width: 38px; transition: flex .4s; }
.probbar .h { background: var(--home); }
.probbar .d { background: var(--draw); }
.probbar .a { background: var(--away); }
.problbl { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px; font-weight: 600; }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; font-size: 13px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; text-align: right; }

/* tabela */
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { font-size: 11px; font-weight: 700; color: var(--muted); text-align: center; padding: 8px 4px; border-bottom: 1px solid var(--line); text-transform: uppercase; }
.tbl th:nth-child(2) { text-align: left; }
.tbl td { padding: 8px 4px; border-bottom: 1px solid var(--line); text-align: center; }
.tbl td.t { text-align: left; }
.tbl tr.hl td { background: var(--acc-soft); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .rk { width: 26px; height: 22px; border-radius: 6px; display: inline-grid; place-items: center; font-weight: 700; font-size: 12px; }
.tbl .tn { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.tbl .pts { font-weight: 800; }
.form { display: inline-flex; gap: 3px; }
.form i { width: 18px; height: 18px; border-radius: 5px; font-style: normal; font-size: 10px; font-weight: 800; display: grid; place-items: center; color: #fff; }
.form i.W, .form i.V { background: var(--win); }
.form i.D, .form i.E { background: var(--draw); }
.form i.L { background: var(--loss); }

/* ==================================================================== bilhetes (boletim) */
.slip { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: relative; }
.slip + .slip { margin-top: 12px; }
.slip-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-bottom: 1px dashed var(--line); }
.slip-h .ty { font-weight: 800; font-size: 14px; }
.slip-h .sub { font-size: 11px; color: var(--muted); font-weight: 600; }
.slip-h .sp { flex: 1; }
.slip-h .tot { text-align: right; }
.slip-h .tot b { display: block; font-size: 19px; font-weight: 800; color: var(--acc); line-height: 1.1; }
.slip-h .tot small { font-size: 10px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.leg { display: grid; grid-template-columns: 20px 1fr auto; gap: 2px 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); align-items: start; }
.leg:last-of-type { border-bottom: 0; }
.leg .tick { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); margin-top: 2px; }
.leg .tick.ganha { background: var(--win); border-color: var(--win); }
.leg .tick.perdida { background: var(--loss); border-color: var(--loss); }
.leg .tick.anulada { background: var(--draw); border-color: var(--draw); }
.leg .sel { font-weight: 800; font-size: 14px; line-height: 1.25; }
.leg .mk { font-size: 12px; color: var(--fg-2); margin-top: 2px; }
.leg .fx { font-size: 12px; color: var(--muted); margin-top: 3px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.leg .od { text-align: right; }
.leg .od b { display: inline-block; min-width: 54px; text-align: center; padding: 6px 8px; border-radius: 9px; background: var(--acc-soft); color: var(--acc); font-weight: 800; font-size: 14px; }
.leg .od small { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; font-weight: 600; }
.slip-f { padding: 12px 14px; background: var(--surface-2); border-top: 1px dashed var(--line); }
.slip-f .row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.days { min-width: 0; }
.slip-f .stake { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 0 10px; height: 40px; flex: 1; }
.slip-f .stake input { border: 0; outline: 0; background: none; width: 100%; font-weight: 700; }
.slip-f .ret { text-align: right; }
.slip-f .ret small { display: block; font-size: 10px; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.slip-f .ret b { font-size: 17px; }
.slip-f .meta { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-top: 10px; flex-wrap: wrap; }
.slip-f .meta b { color: var(--fg); }
.slip-f .acts { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.slip.locked .blur { filter: blur(6px); pointer-events: none; user-select: none; }
.market-directory { display: grid; gap: 10px; }
.market-nav {
  display: flex;
  align-items: stretch;
  gap: 2px;
  overflow-x: auto;
  padding: 0 2px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.market-nav::-webkit-scrollbar { height: 3px; }
.market-nav-item {
  flex: 0 0 auto;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 13px 14px 11px;
  white-space: nowrap;
  cursor: pointer;
}
.market-nav-item:hover { color: var(--fg); background: var(--surface-2); }
.market-nav-item.on { color: var(--acc); border-bottom-color: var(--acc); }
.market-group-active { margin-top: 0; }
.market-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.market-group-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-bottom: 1px solid var(--line); }
.market-group-h b { display: block; font-size: 14px; font-weight: 800; }
.market-group-h small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 600; }
.market-group-h .sp { flex: 1; }
.market-group-list { display: grid; }
.market-entry { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 11px 12px 11px 14px; border-bottom: 1px solid var(--line); }
.market-entry:last-child { border-bottom: 0; }
.market-entry-main { min-width: 0; flex: 1; cursor: pointer; }
.market-entry-game { font-size: 13px; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.market-entry-game span { color: var(--muted); font-weight: 500; padding: 0 2px; }
.market-entry-pick { margin-top: 3px; font-size: 13px; font-weight: 800; color: var(--acc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.market-entry-meta { margin-top: 3px; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.market-entry-right { display: flex; align-items: center; gap: 4px; flex: none; }
.market-entry-right > b { min-width: 48px; padding: 6px 7px; border-radius: 9px; background: var(--acc-soft); color: var(--acc); text-align: center; font-size: 13px; }
.market-save { width: 34px; height: 34px; border-radius: 9px; }
.market-save:hover { background: var(--surface-3); }
@media (max-width: 600px) { .market-entry { padding-inline: 11px; gap: 7px; } .market-entry-right > b { min-width: 44px; } }
.lockover { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; background: color-mix(in srgb, var(--surface) 55%, transparent); }
.lockover b { display: block; font-size: 15px; margin: 6px 0 2px; }
.conf { display: inline-flex; gap: 2px; }
.conf i { width: 6px; height: 10px; border-radius: 2px; background: var(--surface-3); }
.conf i.on { background: var(--win); }

/* boletim flutuante */
.slipfab { position: fixed; right: 14px; bottom: calc(var(--nav) + var(--safe-b) + 14px); z-index: 45; height: 50px; padding: 0 16px 0 12px; border-radius: 25px; border: 0; background: var(--fg); color: var(--bg); display: flex; align-items: center; gap: 10px; font-weight: 800; box-shadow: var(--shadow-lg); }
.slipfab .c { background: var(--acc); color: #fff; border-radius: 12px; min-width: 24px; height: 24px; display: grid; place-items: center; font-size: 12px; }
@media (min-width: 960px) { .slipfab { bottom: 24px; right: 24px; } }
/* Mercados visíveis imediatamente abaixo do cartão do jogo */
.market-board { margin: 10px 0 14px; }
.market-board-title { display:flex; align-items:center; gap:9px; padding:12px 14px; background:var(--surface); border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow); }
.market-board-title > div { display:grid; gap:2px; min-width:0; }
.market-board-title small { color:var(--fg-2); font-size:11.5px; line-height:1.3; }
.market-block { margin:10px 0 0; overflow:hidden; }
.market-family { border-top:1px solid var(--line); }
.market-family-h { display:flex; justify-content:space-between; gap:8px; align-items:center; padding:9px 12px 6px; font-size:12.5px; font-weight:700; }
.market-family-h .muted { font-weight:500; font-size:10.5px; }
.market-family-b { padding:6px 10px 10px; }
@media (max-width:600px) { .market-board-title { align-items:flex-start; } .market-board-title .btn { white-space:nowrap; } .market-board-title small { max-width:190px; } .mkgrid { grid-template-columns:repeat(2,minmax(0,1fr)); } .addbtn { min-height:42px; padding:7px 8px; } }
.addbtn { border: 1px solid var(--line); background: var(--surface); border-radius: 9px; padding: 6px 10px; display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 12.5px; text-align: left; width: 100%; }
.addbtn b { color: var(--acc); }
.addbtn.on { background: var(--acc); border-color: var(--acc); color: #fff; }
.addbtn.on b { color: #fff; }
.mkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }

/* ==================================================================== IA */
.chat { display: flex; flex-direction: column; min-height: calc(100vh - var(--top) - var(--nav) - 60px); }
.msgs { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 6px 2px 20px; }
.msg { max-width: 92%; }
.msg.user { align-self: flex-end; background: var(--acc); color: #fff; padding: 10px 14px; border-radius: 18px 18px 4px 18px; }
.msg.ai { align-self: flex-start; display: flex; gap: 10px; }
.msg.ai .ic { width: 30px; height: 30px; border-radius: 10px; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, var(--acc), #7c3aed); color: #fff; }
.msg.ai .bd { background: var(--surface); border: 1px solid var(--line); padding: 10px 14px; border-radius: 4px 18px 18px 18px; min-width: 60px; }
.md p { margin: 0 0 8px; }
.md p:last-child { margin-bottom: 0; }
.md ul, .md ol { margin: 4px 0 8px; padding-left: 20px; }
.md li { margin: 2px 0; }
.md h3, .md h4 { margin: 10px 0 6px; font-size: 14px; }
.md code { background: var(--surface-3); padding: 1px 5px; border-radius: 5px; font-size: 12.5px; }
.md table { border-collapse: collapse; font-size: 12.5px; margin: 6px 0; }
.md td, .md th { border: 1px solid var(--line); padding: 4px 8px; }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: ty 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ty { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.composer { position: sticky; bottom: calc(var(--nav) + var(--safe-b) + 8px); display: flex; gap: 8px; align-items: flex-end; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 6px 6px 6px 14px; box-shadow: var(--shadow-lg); }
@media (min-width: 960px) { .composer { bottom: 16px; } }
.composer textarea { flex: 1; border: 0; outline: 0; resize: none; background: none; padding: 8px 0; max-height: 140px; }
.composer .send { width: 40px; height: 40px; border-radius: 13px; border: 0; background: var(--acc); color: #fff; display: grid; place-items: center; }
.sugg { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-top: 14px; }
.sugg button { text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 12px; font-weight: 600; font-size: 13px; display: flex; gap: 10px; align-items: center; }
.toolnote { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.ai-card { background: linear-gradient(135deg, color-mix(in srgb, var(--acc) 12%, var(--surface)), color-mix(in srgb, #7c3aed 10%, var(--surface))); border: 1px solid color-mix(in srgb, var(--acc) 25%, var(--line)); border-radius: var(--radius); padding: 14px; }
.ai-card .hd { display: flex; align-items: center; gap: 8px; font-weight: 800; margin-bottom: 8px; }

/* ==================================================================== formulários */
.field { display: block; margin-bottom: 12px; }
.field > span { display: block; font-size: 12.5px; font-weight: 650; margin-bottom: 5px; color: var(--fg-2); }
.input, .select { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); outline: 0; }
textarea.input { height: auto; padding: 10px 12px; }
.input:focus, .select:focus { border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
.switch { position: relative; width: 44px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch i { position: absolute; inset: 0; border-radius: 13px; background: var(--surface-3); border: 1px solid var(--line); transition: .2s; }
.switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: .2s; }
.switch input:checked + i { background: var(--acc); border-color: var(--acc); }
.switch input:checked + i::after { transform: translateX(18px); }
.list-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-bottom: 1px solid var(--line); cursor: pointer; }
.list-row:last-child { border-bottom: 0; }
.list-row:hover { background: var(--surface-2); }
.list-row .t { flex: 1; min-width: 0; }
.list-row .t small { display: block; color: var(--muted); font-size: 12px; }
.list-row .ico { width: 36px; height: 36px; border-radius: 11px; background: var(--surface-3); display: grid; place-items: center; flex: none; color: var(--fg-2); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.swatch.on { box-shadow: 0 0 0 2px var(--fg); }
.themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.theme-opt { border: 2px solid var(--line); border-radius: 14px; padding: 8px; background: var(--surface); text-align: center; font-size: 12px; font-weight: 650; }
.theme-opt.on { border-color: var(--acc); }
.theme-opt .pv { height: 46px; border-radius: 9px; margin-bottom: 6px; border: 1px solid var(--line); }

/* planos */
.plans { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { background: var(--surface); border: 1.5px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; position: relative; }
.plan.hl { border-color: var(--acc); box-shadow: 0 10px 30px color-mix(in srgb, var(--acc) 18%, transparent); }
.plan .tag { position: absolute; top: -11px; left: 18px; background: var(--acc); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 10px; }
.plan h3 { margin: 0; font-size: 18px; }
.plan .price { font-size: 30px; font-weight: 800; margin: 8px 0 2px; letter-spacing: -.02em; }
.plan .price small { font-size: 13px; color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 8px; font-size: 13px; flex: 1; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li.off { color: var(--muted); }
.plan li svg { flex: none; margin-top: 1px; }

/* ==================================================================== modal / toast */
.overlay { position: fixed; inset: 0; z-index: 200; background: rgba(2, 6, 23, .5); display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
@media (min-width: 720px) { .overlay { align-items: center; } }
@keyframes fade { from { opacity: 0; } }
.sheet { background: var(--surface); width: 100%; max-width: 520px; max-height: 88vh; overflow: auto; border-radius: 22px 22px 0 0; padding: 8px 18px calc(18px + var(--safe-b)); animation: up .22s cubic-bezier(.2, .8, .2, 1); }
@media (min-width: 720px) { .sheet { border-radius: 20px; padding-bottom: 18px; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 4px auto 12px; }
.sheet h3 { margin: 4px 0 12px; font-size: 18px; }
.toasts { position: fixed; left: 50%; top: calc(var(--top) + var(--safe-t) + 10px); transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: calc(100% - 24px); max-width: 460px; }
.toast { background: var(--fg); color: var(--bg); padding: 11px 16px; border-radius: 12px; font-weight: 600; box-shadow: var(--shadow-lg); animation: up .2s; pointer-events: auto; max-width: 100%; }
.toast.err { background: var(--live); color: #fff; }
.toast.ok { background: var(--win); color: #fff; }

/* notícias */
.news { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.news:last-child { border-bottom: 0; }
.news .img { width: 96px; height: 70px; border-radius: 10px; object-fit: cover; background: var(--surface-3); }
.news b { font-size: 14px; line-height: 1.3; display: block; }
.news small { color: var(--muted); font-size: 12px; }

/* página de entidade (liga / time) */
.ehead { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.ehead h1 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.ehead .sub { color: var(--muted); font-size: 13px; margin-top: 2px; }
.ehead .sp { flex: 1; }

/* gráfico de probabilidade de vitória */
.wp { width: 100%; height: 110px; display: block; }

/* votos */
.votes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.votes button { border: 1px solid var(--line); background: var(--surface-2); border-radius: 12px; padding: 10px 6px; font-weight: 700; position: relative; overflow: hidden; }
.votes button .bar { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--acc); }
.votes button.me { border-color: var(--acc); color: var(--acc); }
.votes button small { display: block; color: var(--muted); font-weight: 600; font-size: 11px; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.statbox { background: var(--surface-2); border-radius: 12px; padding: 12px; }
.statbox b { display: block; font-size: 20px; font-weight: 800; }
.statbox small { color: var(--muted); font-size: 12px; font-weight: 600; }
.hr { height: 1px; background: var(--line); margin: 12px 0; }
.row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.days { min-width: 0; }
.row .sp { flex: 1; }
.banner { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius); background: linear-gradient(135deg, var(--acc), #4f46e5); color: #fff; cursor: pointer; }
.banner b { display: block; font-size: 15px; }
.banner small { opacity: .85; }
.banner .sp { flex: 1; }
.resp { font-size: 11.5px; color: var(--muted); text-align: center; padding: 18px 10px 6px; line-height: 1.5; }

/* ------------------------------------------------------------------ primeiro acesso */
body.onb-open { overflow: hidden; }
body.onb-open .bottomnav, body.onb-open .slipfab { display: none; }
.onb { position: fixed; inset: 0; z-index: 90; background: var(--bg); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.onb-in { max-width: 560px; margin: 0 auto; padding: calc(var(--safe-t) + 10px) 16px calc(var(--safe-b) + 110px); animation: sp-fade .25s both; }
.onb-top { display: flex; align-items: center; gap: 10px; height: 48px; margin-bottom: 8px; }
.onb-logo svg, .onb-logo img { width: 34px; height: 34px; display: block; border-radius: 8px; }
.onb-dots { flex: 1; display: flex; gap: 6px; justify-content: center; }
.onb-dots i { width: 22px; height: 5px; border-radius: 3px; background: var(--line); transition: background .2s; }
.onb-dots i.on { background: var(--acc); }
.onb h1 { font-size: 26px; line-height: 1.15; letter-spacing: -.02em; margin: 10px 0 6px; }
.onb h1 + p { margin: 0 0 18px; font-size: 14.5px; }
.onb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.onb-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); text-align: left; font-size: 15px; }
.onb-tile svg { color: var(--acc); }
.onb-tile.on, .onb-row.on, .onb-team.on, .onb-rk.on { border-color: var(--acc); background: var(--acc-soft); }
.onb-tick { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: transparent; flex: none; background: var(--surface); }
.onb-tick.on { background: var(--acc); border-color: var(--acc); color: #fff; }
.onb-tile .onb-tick { position: absolute; top: 12px; right: 12px; }
.onb-search { display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 48px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); margin-bottom: 6px; }
.onb-search input { flex: 1; border: 0; background: none; outline: none; font: inherit; font-size: 15px; color: var(--fg); min-width: 0; }
.onb-sec { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 18px 2px 8px; }
.onb-list { display: flex; flex-direction: column; gap: 8px; }
.onb-row { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); text-align: left; width: 100%; }
.onb-row .t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.onb-row .t b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.onb-row .t small { color: var(--muted); font-size: 12.5px; }
.onb-flag { font-size: 24px; width: 28px; text-align: center; }
.onb-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); flex: none; }
.onb-teams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.onb-team { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 10px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); font-size: 12.5px; font-weight: 650; text-align: center; }
.onb-team span:not(.onb-tick) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.25; }
.onb-team .onb-tick { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; }
.onb-pf { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; background: var(--bg2, #e8ecf1); display: grid; place-items: center; color: var(--muted); }
.onb-pf img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.onb-paises .onb-tile { padding: 12px 6px; gap: 4px; text-align: center; align-items: center; }
.onb-paises .onb-tile b { font-size: 12.5px; }
.onb-risk { display: grid; gap: 8px; }
.onb-rk { display: flex; flex-direction: column; gap: 3px; text-align: left; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); }
.onb-rk small { color: var(--muted); font-size: 12.5px; }
.onb-foot { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(var(--safe-b) + 14px); background: linear-gradient(to top, var(--bg) 70%, transparent); z-index: 91; }
.onb-foot .btn { max-width: 528px; margin: 0 auto; display: flex; }
@media (min-width: 600px) { .onb-teams { grid-template-columns: repeat(4, minmax(0, 1fr)); } .onb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* "Para você" */
.foryou { margin: 0 0 12px; }
.foryou .league { border-color: color-mix(in srgb, var(--acc) 35%, var(--line)); }

/* ------------------------------------------------------------------ nova versão */
.updbar { position: fixed; left: 12px; right: 12px; bottom: calc(var(--nav) + var(--safe-b) + 12px); z-index: 60; max-width: 520px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: up .25s both; }
.updbar.hide { display: none; }
.updbar .ub-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); flex: none; }
.updbar .ub-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.updbar .ub-t b { font-size: 14px; }
.updbar .ub-t small { color: var(--muted); font-size: 12px; }
.ub-prog { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin: 5px 0 2px; }
.ub-prog i { display: block; height: 100%; background: var(--acc); border-radius: 3px; transition: width .2s; }
.ub-prog i.indet { animation: sp-load 1.1s linear infinite; }
.spin-ic svg { animation: ty 1s infinite; }
@media (min-width: 960px) { .updbar { bottom: 20px; left: auto; right: 20px; } }
body.onb-open .updbar { display: none; }
.fav-row { cursor: default; gap: 8px; }
.fav-row .fav-go { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; cursor: pointer; }
.fav-row .fav-go .t { min-width: 0; }
.fav-row .fav-go .t b, .fav-row .fav-go .t small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lvsel { width: auto; max-width: 128px; font-size: 12.5px; padding: 6px 8px; height: 34px; }

/* ------------------------------------------------------------------ tempo no local */
.wxbar { position: fixed; left: 12px; right: 12px; top: calc(var(--top) + var(--safe-t) + 8px); z-index: 70; max-width: 460px; margin: 0 auto;
  border-radius: 18px; padding: 10px 8px 10px 12px; color: #fff; box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, color-mix(in srgb, var(--acc) 88%, #000), color-mix(in srgb, var(--acc) 55%, #38bdf8));
  animation: wx-in .35s cubic-bezier(.2, .9, .3, 1.2) both; }
.wxbar.out { animation: wx-out .3s ease both; }
@keyframes wx-in { from { transform: translateY(-120%); opacity: 0; } }
@keyframes wx-out { to { transform: translateY(-120%); opacity: 0; } }
.wx-main { display: flex; align-items: center; gap: 10px; }
.wx-emoji { font-size: 34px; line-height: 1; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .25)); }
.wx-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wx-t b { font-size: 16px; }
.wx-t small { font-size: 12px; opacity: .9; }
.wxbar .iconbtn { color: #fff; width: 32px; height: 32px; }
.wx-ask { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: 13px; font-weight: 600; }
.wx-ask span { flex: 1; }
.wx-ask .btn { background: rgba(255, 255, 255, .18); color: #fff; border-color: transparent; }
.wx-ask .btn.pri { background: #fff; color: var(--acc); }
body.onb-open .wxbar { display: none; }
.snd-row .btn { padding: 0 10px; }

/* ------------------------------------------------------------------ bilhetes marcados */
.tk { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; overflow: hidden; border-left: 4px solid var(--acc); }
.tk.ganha { border-left-color: var(--win); }
.tk.perdida { border-left-color: var(--live); }
.tk.anulada { border-left-color: var(--draw, #94a3b8); }
.tk.is-live.aberta { box-shadow: 0 0 0 1px color-mix(in srgb, var(--live) 35%, transparent); }
.tk-h { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px 6px; }
.tk-ht { flex: 1; min-width: 0; }
.tk-ht .ty { font-weight: 800; font-size: 15px; }
.tk-ht .sub { color: var(--muted); font-size: 12px; margin-top: 2px; }
.tk-odd { text-align: right; }
.tk-odd small { display: block; font-size: 10px; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.tk-odd b { font-size: 20px; color: var(--acc); }
.tk-sum { display: flex; align-items: center; gap: 8px; padding: 2px 14px 8px; font-size: 12.5px; flex-wrap: wrap; }
.tk-sum .pill.live { background: var(--live); color: #fff; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .65; } }
.tk-prog { display: flex; height: 5px; margin: 0 14px 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.tk-prog i { display: block; height: 100%; transition: width .4s; }
.tk-prog .w { background: var(--win); }
.tk-prog .l { background: var(--live); }
.tk-leg { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); cursor: pointer; }
.tk-ic { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; flex: none; background: var(--surface-3); color: var(--muted); margin-top: 1px; }
.tk-ic.win { background: color-mix(in srgb, var(--win) 18%, transparent); color: var(--win); }
.tk-ic.loss { background: color-mix(in srgb, var(--live) 16%, transparent); color: var(--live); }
.tk-ic.live { animation: pulse 1.4s infinite; }
.tk-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tk-t b { font-size: 13.5px; }
.tk-t small { color: var(--muted); font-size: 12px; }
.tk-live { color: var(--live); }
.tk-st.win { color: var(--win); font-weight: 700; }
.tk-st.loss { color: var(--live); font-weight: 700; }
.tk-bar { height: 4px; border-radius: 2px; background: var(--line); margin-top: 4px; overflow: hidden; }
.tk-bar i { display: block; height: 100%; background: var(--acc); border-radius: 2px; transition: width .4s; }
.tk-r { text-align: right; display: flex; flex-direction: column; gap: 2px; }
.tk-r small { color: var(--muted); font-size: 11.5px; }
.tk-f { display: flex; align-items: center; gap: 8px; padding: 8px 10px 8px 14px; border-top: 1px solid var(--line); font-size: 12.5px; }

/* ------------------------------------------------------------------ cartão (PayPal) */
.pc-grid { display: grid; gap: 8px; }
.pc-grid > div, .pc-row > div { min-height: 50px; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.pc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0 !important; background: none !important; }
#pc-btn { min-height: 52px; }

/* ------------------------------------------------------------------ foto de perfil */
.avwrap { position: relative; border: 0; background: none; padding: 0; border-radius: 50%; cursor: pointer; flex: none; }
.avcam { position: absolute; right: -2px; bottom: -2px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); color: #fff; border: 2px solid var(--surface); }

/* ------------------------------------------------------------------ desafio e afiliados */
.ch-hero { border-radius: 20px; padding: 16px; color: #fff; background: linear-gradient(135deg, #0b3a8f, var(--acc) 55%, #7c3aed); box-shadow: var(--shadow-lg); }
.ch-hero.aff { background: linear-gradient(135deg, #065f46, #10b981 60%, #0ea5e9); }
.ch-kicker { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; opacity: .9; display: flex; align-items: center; gap: 6px; }
.ch-h { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 2px; }
.ch-sub { font-size: 13px; opacity: .9; }
.ch-me { text-align: center; background: rgba(255, 255, 255, .16); border-radius: 14px; padding: 8px 12px; }
.ch-me b { display: block; font-size: 22px; }
.ch-me small { font-size: 11px; opacity: .9; }
.ch-prizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ch-prizes span { background: rgba(255, 255, 255, .16); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; }
.ch-game { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px 12px; margin-bottom: 10px; }
.ch-game.locked { opacity: .85; }
.ch-top { display: flex; align-items: center; gap: 8px; font-size: 12px; margin-bottom: 8px; }
.ch-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; }
.ch-t { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; min-width: 0; }
.ch-t span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-t.r { justify-content: flex-end; text-align: right; }
.ch-score { display: flex; align-items: center; gap: 6px; }
.ch-score input { width: 42px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-3); text-align: center; font-size: 17px; font-weight: 800; color: var(--fg); }
.ch-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.ch-pick { border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); border-radius: 12px; padding: 7px 0; font-weight: 800; font-size: 15px; display: flex; flex-direction: column; align-items: center; }
.ch-pick small { font-size: 10.5px; font-weight: 600; color: var(--muted); }
.ch-pick.on { border-color: var(--acc); background: var(--acc-soft); color: var(--acc); }
.ch-pick:disabled { cursor: default; }
.ch-pos { width: 30px; text-align: center; font-weight: 800; font-size: 15px; }
.list-row.me { background: var(--acc-soft); }
.aff-link { display: flex; gap: 6px; margin-top: 12px; background: rgba(255, 255, 255, .16); border-radius: 12px; padding: 5px 5px 5px 10px; align-items: center; }
.aff-link input { flex: 1; min-width: 0; border: 0; background: none; color: #fff; font-size: 13px; outline: none; }
.aff-link .btn, .aff-btn { background: #fff; color: #065f46; border-color: transparent; }
.aff-code { font-size: 12px; opacity: .9; }
.gbtn { background: #fff; color: #1f2937; border: 1px solid var(--line); gap: 10px; font-weight: 700; }
[data-theme="dark"] .gbtn, [data-theme="amoled"] .gbtn { background: #fff; color: #1f2937; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin: 14px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ------------------------------------------------------------------ carregando e toque */
html, body { overscroll-behavior-y: contain; } /* o navegador não recarrega sozinho: usamos o nosso "puxar" */
.loadbar { position: fixed; left: 0; right: 0; top: calc(var(--top) + var(--safe-t)); height: 3px; z-index: 95; pointer-events: none; opacity: 0; transition: opacity .2s; overflow: hidden; }
.loadbar i { position: absolute; top: 0; bottom: 0; left: 0; width: 40%; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--acc), #7c3aed, transparent); animation: lb 1s ease-in-out infinite; }
.loadbar.on { opacity: 1; }
.loadbar.done i { animation: none; left: 0; width: 100%; background: var(--acc); transition: width .25s; }
@keyframes lb { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }
.page { animation: pg-in .22s ease backwards; }
.page:has(.onb) { animation: none; }
@keyframes pg-in { from { opacity: 0; transform: translateY(6px); } }
.pg-skel { display: grid; gap: 12px; padding-top: 4px; }
.skel { background: linear-gradient(90deg, var(--surface-3) 25%, color-mix(in srgb, var(--surface-3) 55%, var(--surface)) 50%, var(--surface-3) 75%); background-size: 200% 100%; animation: shimmer 1.1s linear infinite; border-radius: 12px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
/* toque: resposta imediata */
.btn, .chip, .iconbtn, .list-row, .match, [data-go], .ch-pick, .day, .onb-row, .onb-tile, .onb-team, .tk-leg { -webkit-tap-highlight-color: transparent; transition: transform .12s ease, background-color .15s, opacity .15s; }
.btn:active, .chip:active, .iconbtn:active, .ch-pick:active, .day:active, .onb-tile:active, .onb-team:active { transform: scale(.95); }
.list-row:active, .match:active, .tk-leg:active, .onb-row:active, [data-go]:not(.btn):not(.chip):not(.iconbtn):active { background-color: color-mix(in srgb, var(--acc) 8%, transparent); }
.banner:active { transform: scale(.985); }
/* botão à espera da resposta */
.btn.busy { position: relative; color: transparent !important; pointer-events: none; }
.btn.busy::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; border: 2.5px solid currentColor; border-color: var(--acc) transparent var(--acc) transparent; animation: spin .7s linear infinite; }
.btn.pri.busy::after { border-color: #fff transparent #fff transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
/* puxar para atualizar */
.ptr { position: fixed; left: 50%; top: calc(var(--top) + var(--safe-t) - 44px); z-index: 94; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); color: var(--muted); box-shadow: var(--shadow-lg); display: grid; place-items: center; transform: translate(-50%, 0); opacity: 0; transition: opacity .15s, color .15s; pointer-events: none; }
.ptr.show { opacity: 1; }
.ptr.ready { color: var(--acc); }
.ptr.spin { color: var(--acc); transition: transform .2s; }
.ptr.spin .ptr-ic { animation: spin .7s linear infinite; }
.ptr-ic { display: grid; place-items: center; }

/* ------------------------------------------------------------------ como um app: segurar não seleciona nem copia */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
img, svg, a { -webkit-user-drag: none; user-drag: none; -webkit-touch-callout: none; }
/* onde faz sentido escrever ou colar, continua a funcionar */
input, textarea, [contenteditable="true"], .selectable { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }

/* Mercado por categorias: linha horizontal + acordeão */
.market-cats {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 2px 8px;
  margin: 0 -2px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.market-cats::-webkit-scrollbar { height: 3px; }
.market-cat {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-bottom: 2.5px solid transparent;
  border-radius: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  padding: 13px 14px 11px;
  white-space: nowrap;
  cursor: pointer;
}
.market-cat.on {
  color: var(--acc);
  border-bottom-color: var(--acc);
}

.market-cat.on small { background: var(--acc); color: #fff; }
.market-open-block { margin-top: 2px; }
.market-empty {
  padding: 10px 4px 12px;
  color: var(--fg-2);
  font-size: 12px;
  text-align: center;
}

/* Motor de bilhetes: interface compacta de app, sem cotações externas. */
.market-pre { margin: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2, var(--surface)); }
.market-pre-top { display:flex; align-items:center; gap:8px; margin-bottom:9px; }
.market-pre-top > div { display:grid; gap:2px; }
.market-pre-top small, .market-pre-label small { color:var(--fg-2); font-size:10.5px; }
.market-pre-label { display:grid; gap:3px; min-width:0; }
.market-prob { font-size:12px; font-weight:800; color:var(--acc); }
.market-pre-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:center; }
.market-pre-row .addbtn { width:auto; min-width:120px; }
@media (max-width:600px) { .market-pre-row { grid-template-columns:1fr; } .market-pre-row .addbtn { width:100%; } }

/* Bilhete gerado pelo motor: somente leitura, sem odds e sem seleção manual. */
.engine-ticket {
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
}
.engine-ticket-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
}
.engine-ticket-head > div { display: grid; gap: 2px; }
.engine-ticket-head small { color: var(--fg-2); font-size: 10.5px; }
.engine-pct { margin-left: auto; font-size: 13px; font-weight: 800; color: var(--acc); }
.engine-ticket-main { padding: 13px; display: grid; gap: 8px; }
.engine-ticket-pick { display: flex; align-items: center; gap: 9px; min-width: 0; font-size: 15px; }
.engine-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--acc); flex: 0 0 auto; }
.engine-ticket-info { color: var(--fg-2); font-size: 11.5px; }
.engine-ticket-stat { font-size: 12px; font-weight: 650; color: var(--fg); padding-top: 2px; }
.engine-ticket.empty { padding: 13px; }
.engine-ticket.empty .engine-ticket-main { padding: 0; }

/* Player center: compact app controls */
.player-mode,.player-switch{display:flex;gap:6px;overflow-x:auto;padding:4px 0 8px;scrollbar-width:none}
.player-mode::-webkit-scrollbar,.player-switch::-webkit-scrollbar{display:none}
.player-mode button,.player-switch button{border:1px solid var(--line);background:var(--surface);color:var(--fg-2);border-radius:10px;padding:8px 12px;font:inherit;font-size:12px;font-weight:700;display:flex;align-items:center;gap:6px;white-space:nowrap;cursor:pointer}
.player-mode button.on,.player-switch button.on{background:var(--acc-soft,var(--surface-2));border-color:var(--acc);color:var(--acc)}
.player-row{cursor:pointer}
.player-mini-stats{display:flex;gap:4px;margin-left:auto;flex-wrap:wrap;justify-content:flex-end}
.player-tabs{margin:12px 0;padding:0 4px;overflow-x:auto}
.opportunity.expired{opacity:.62}
.opp-main{display:flex;align-items:center;gap:10px;font-size:15px}
.opp-meta{margin-top:8px;color:var(--fg-2);font-size:12px}
.opp-time{font-size:11px;color:var(--fg-2)}

/* Status ao vivo: sempre vermelho em qualquer contexto da interface. */
.live-text { color: var(--live) !important; }


/* Perfil de jogador — interface compacta de aplicativo esportivo */
.player-head{display:flex;align-items:center;gap:16px;padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.player-photo{width:84px;height:84px;border-radius:50%;object-fit:cover;background:var(--surface-3);display:grid;place-items:center;flex:none}
.player-photo-empty{color:var(--muted)}
.player-head-main{min-width:0}
.player-head h1{margin:0;font-size:22px;line-height:1.15;letter-spacing:-.025em}
.player-team{display:flex;align-items:center;gap:7px;margin-top:7px;font-size:13px;font-weight:700;cursor:pointer}
.player-meta{margin-top:5px;color:var(--muted);font-size:12px;font-weight:600}
.player-tabs{margin-top:10px}
.player-info-card{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;margin-top:12px}
.player-info-card>div{background:var(--surface);padding:12px 14px;display:flex;flex-direction:column;gap:4px}
.player-info-card span{font-size:11px;color:var(--muted);font-weight:600}
.player-info-card b{font-size:13px}
.player-season-name{font-size:14px;font-weight:800;margin:14px 2px 8px}
.player-stat-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;margin-top:12px}
.player-stat-title{padding:12px 14px;border-bottom:1px solid var(--line);font-size:14px;font-weight:800}
.player-stat-grid{display:grid;grid-template-columns:1fr 1fr}
.player-stat-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;border-bottom:1px solid var(--line);min-width:0}
.player-stat-row:nth-child(odd){border-right:1px solid var(--line)}
.player-stat-row:nth-last-child(-n+2){border-bottom:0}
.player-stat-row span{color:var(--fg-2);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.player-stat-row b{font-size:14px;font-weight:800;flex:none}
.player-game-stats{display:flex;gap:5px;justify-content:flex-end;flex-wrap:wrap;max-width:62%}
.player-game-stats span{font-size:11px;color:var(--muted);background:var(--surface-2);padding:5px 7px;border-radius:7px;white-space:nowrap}
.player-game-stats b{color:var(--fg);margin-left:3px}
.player-opps .card-h small{display:block;color:var(--muted);font-size:11px;font-weight:600;margin-top:2px}
@media(max-width:700px){.player-info-card{grid-template-columns:1fr 1fr}.player-stat-grid{grid-template-columns:1fr}.player-stat-row:nth-child(odd){border-right:0}.player-stat-row:nth-last-child(-n+2){border-bottom:1px solid var(--line)}.player-stat-row:last-child{border-bottom:0}.player-game-stats{max-width:55%}}

/* Perfil/elenco: fallback visual para atletas sem headshot no feed */
.player-avatar-fallback,.player-list-avatar{display:grid;place-items:center;border-radius:50%;background:var(--player-color,var(--acc));color:#fff;font-weight:800;letter-spacing:.02em;flex:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.player-avatar-fallback{width:84px;height:84px;font-size:25px}
.player-list-avatar{width:36px;height:36px;font-size:11px}

/* Bilhetes: navegação com aparência de app nativo no celular. */
.tips-native { min-width: 0; }
.tips-native .tips-tabs { position: sticky; top: var(--top); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.tips-native .tips-tabs .tabs { margin: 0 !important; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tips-native .tips-tabs .tabs::-webkit-scrollbar { display: none; }
.tips-native .tabs button { flex: 0 0 auto; white-space: nowrap; }
.tips-native .market-directory { gap: 0; }
.tips-native .market-nav { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; background: transparent; }
.tips-native .market-group { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.tips-native .market-group-h { padding: 12px 2px 8px; background: transparent; border: 0; }
.tips-native .market-group-h b { font-size: 15px; }
.tips-native .market-entry { background: var(--surface); border: 0; border-bottom: 1px solid var(--line); padding: 13px 2px; }
.tips-native .market-entry:first-child { border-top: 1px solid var(--line); }
.tips-native .market-entry-game { font-size: 14px; }
.tips-native .market-entry-pick { font-size: 14px; }
.tips-native .market-entry-meta { font-size: 11px; }
.tips-native .tips-foot { padding: 14px 2px 8px; }
@media (max-width: 600px) {
  .tips-native { margin: -12px; padding: 0 12px calc(var(--nav) + var(--safe-b) + 8px); }
  .tips-native .tips-tabs { margin-left: -12px !important; margin-right: -12px !important; padding-left: 10px !important; padding-right: 10px !important; }
  .tips-native .market-nav { margin-left: -12px; margin-right: -12px; padding-left: 10px; padding-right: 10px; }
  .tips-native .market-entry { margin-left: -12px; margin-right: -12px; padding-left: 14px; padding-right: 14px; }
  .tips-native .market-group-h { margin-top: 2px; }
}
.ms-classic{display:block;text-align:center;padding:12px;border:1px solid var(--line,#333);border-radius:12px;color:inherit;text-decoration:none;font-weight:600;font-size:14px;margin-top:4px}

/* ---------- golfe / automobilismo (classificação) ---------- */
.match.field .teams { gap: 3px; }
.match.field .fname { font-size: 12px; font-weight: 700; color: var(--fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.match.field .fp { min-width: 22px; color: var(--muted); font-size: 12px; }
.match.field .fs { margin-left: auto; font-weight: 700; padding-right: 4px; }
.match.field .fl { border-radius: 2px; object-fit: cover; }
.lb-row { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 9px 14px; border-top: 1px solid var(--line); }
.lb-row:first-child { border-top: 0; }
.lb-row .p { font-weight: 800; text-align: center; }
.lb-row .n { display: flex; align-items: center; gap: 8px; min-width: 0; }
.lb-row .n b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-row .n small { display: block; color: var(--muted); font-size: 11.5px; }
.lb-row .s { font-weight: 800; text-align: right; }
.lb-row .s small { display: block; color: var(--muted); font-weight: 500; font-size: 11px; }
.lb-row.top .p { color: var(--gold); }

/* ---------- campo ao vivo (estilo Sofascore) ---------- */
.lf { overflow: hidden; margin-top: 12px; }
.lf-h { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 12.5px; }
.lf-live { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.lf.is-live .lf-live { color: var(--live); }
.lf-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: lfPulse 1.4s infinite; }
.lf-t { font-weight: 700; color: var(--fg-2); }
.lf-tm { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 12px; max-width: 30%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lf-tm i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.lf-stage { position: relative; aspect-ratio: 5 / 3; margin: 0 12px; border-radius: 12px; overflow: hidden; background: #2f8f4e; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.lf-stage.lf-baseball { aspect-ratio: 5 / 3; }
.lf-hockey { background: #eef4f8; }
.lf-basketball { background: #c98e55; }
.lf.static .lf-stage { display: none; }
.lf-pitch { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lf-zone { position: absolute; top: 0; bottom: 0; width: 34%; opacity: 0; transition: opacity .6s, width .6s; pointer-events: none; }
.lf-zone.home { right: 0; background: linear-gradient(to right, transparent, color-mix(in srgb, var(--hc) 55%, transparent)); }
.lf-zone.away { left: 0; background: linear-gradient(to left, transparent, color-mix(in srgb, var(--ac) 55%, transparent)); }
.lf-zone.on { opacity: .75; }
.lf-zone.on.perigo { width: 26%; opacity: .95; animation: lfZone 1.6s ease-in-out infinite; }
.lf-ball { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transition: left 1.1s cubic-bezier(.45,.05,.3,1), top 1.1s cubic-bezier(.45,.05,.3,1); z-index: 3; }
.lf-ball i { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff 0 45%, #d6d6d6 70%, #9a9a9a); box-shadow: 0 2px 6px rgba(0,0,0,.45); }
.lf-ball::after { content: ''; position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2px solid rgba(255,255,255,.75); animation: lfRing 1.8s ease-out infinite; }
.lf-ball.big i { animation: lfBounce .6s ease 2; }
.lf-basketball .lf-ball i { background: radial-gradient(circle at 35% 35%, #ffb36b, #e8711a 60%, #a84b0c); }
.lf-hockey .lf-ball i { width: 12px; height: 12px; margin: -6px 0 0 -6px; background: #111; }
.lf-hockey .lf-ball::after { border-color: rgba(0,0,0,.35); }
.lf-football .lf-ball i { width: 22px; height: 13px; margin: -6.5px 0 0 -11px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #b4683a, #7a3b16); }
.lf-football .lf-ball[data-dir="r"]::before, .lf-football .lf-ball[data-dir="l"]::before { content: ''; position: absolute; top: -28px; border: 9px solid transparent; }
.lf-football .lf-ball[data-dir="r"]::before { left: 4px; border-left-color: #fff; }
.lf-football .lf-ball[data-dir="l"]::before { left: -22px; border-right-color: #fff; }
.lf-marks { position: absolute; inset: 0; pointer-events: none; }
.lf-marks .los, .lf-marks .ltg { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; transition: left 1s; }
.lf-marks .los { background: #4dabf7; }
.lf-marks .ltg { background: #ffd43b; }
.lf-shots { position: absolute; inset: 0; pointer-events: none; }
.lf-shot { position: absolute; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; border: 2.5px solid; opacity: .85; }
.lf-shot.home { border-color: var(--hc); }
.lf-shot.away { border-color: var(--ac); }
.lf-shot.made.home { background: var(--hc); }
.lf-shot.made.away { background: var(--ac); }
.lf-shot.miss { background: rgba(255,255,255,.65); }
.lf-shot.last { animation: lfBounce .6s ease 2; opacity: 1; box-shadow: 0 0 0 4px rgba(255,255,255,.5); }
.lf-banner { position: absolute; left: 50%; top: 10px; transform: translate(-50%, -8px); display: flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: rgba(10,16,24,.78); color: #fff; font-size: 12.5px; white-space: nowrap; opacity: 0; transition: opacity .35s, transform .35s; z-index: 4; max-width: 92%; overflow: hidden; backdrop-filter: blur(4px); }
.lf-banner.show { opacity: 1; transform: translate(-50%, 0); }
.lf-banner .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.lf-banner small { opacity: .75; overflow: hidden; text-overflow: ellipsis; }
.lf-banner.big { font-size: 14px; padding: 8px 16px; animation: lfPop .5s ease; }
.lf-banner.big.home { background: color-mix(in srgb, var(--hc) 88%, #000); }
.lf-banner.big.away { background: color-mix(in srgb, var(--ac) 88%, #000); }
.lf-fx { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.lf-burst { position: absolute; width: 0; height: 0; }
.lf-burst::before { content: ''; position: absolute; width: 90px; height: 90px; margin: -45px 0 0 -45px; border-radius: 50%; border: 3px solid #fff; animation: lfBurst 1.4s ease-out forwards; }
.lf-burst.home::before { border-color: color-mix(in srgb, var(--hc) 70%, #fff); }
.lf-burst.away::before { border-color: color-mix(in srgb, var(--ac) 70%, #fff); }
.lf-burst.yellow::before { border-color: #ffd43b; }
.lf-burst.red::before { border-color: #fa5252; }
.lf-goal { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 54px; font-weight: 900; letter-spacing: .04em; -webkit-text-stroke: 2px #fff; text-shadow: 0 4px 18px rgba(0,0,0,.4); animation: lfGoal 2.6s ease forwards; z-index: 5; }
.lf-extra:empty, .lf-chart:empty, .lf-feed:empty { display: none; }
.lf-extra { padding: 10px 14px 0; }
.lf-sum { display: grid; grid-template-columns: 1fr auto 1fr 1fr auto 1fr; align-items: center; text-align: center; font-weight: 800; gap: 4px; }
.lf-sum small { color: var(--muted); font-weight: 600; font-size: 11.5px; }
.lf-duel { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lf-duel div { background: var(--surface-2); border-radius: 10px; padding: 8px 10px; }
.lf-duel small { display: block; color: var(--muted); font-size: 11px; }
.lf-last { margin-top: 8px; font-size: 13px; color: var(--fg-2); background: var(--surface-2); border-radius: 10px; padding: 8px 10px; }
.lf-drives { display: flex; gap: 6px; overflow-x: auto; margin-top: 8px; padding-bottom: 2px; }
.lf-drives span { flex: none; font-size: 11.5px; font-weight: 700; border: 2px solid; border-radius: 999px; padding: 3px 9px; }
.lf-chart { padding: 10px 14px 0; }
.lf-ch-t { font-size: 12px; font-weight: 800; color: var(--fg-2); margin-bottom: 4px; }
.lf-mom { width: 100%; height: 84px; display: block; }
.lf-axis { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.lf-feed { padding: 8px 14px 12px; display: grid; gap: 2px; }
.lf-ev { display: grid; grid-template-columns: 40px 8px 1fr; align-items: start; gap: 8px; font-size: 12.5px; padding: 5px 0; border-top: 1px solid var(--line); animation: lfIn .4s ease; }
.lf-ev:first-child { border-top: 0; }
.lf-ev i { width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; }
.lf-ev .m { color: var(--muted); font-weight: 700; }
.lf-ev .tx { color: var(--fg-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lf-ev.hl .tx b { color: var(--live); }
@keyframes lfPulse { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }
@keyframes lfRing { 0% { transform: scale(.4); opacity: .9 } 100% { transform: scale(1.5); opacity: 0 } }
@keyframes lfBounce { 0%, 100% { transform: scale(1) } 50% { transform: scale(1.6) } }
@keyframes lfBurst { 0% { transform: scale(.2); opacity: 1 } 100% { transform: scale(1.8); opacity: 0 } }
@keyframes lfZone { 0%, 100% { opacity: .95 } 50% { opacity: .55 } }
@keyframes lfPop { 0% { transform: translate(-50%, 0) scale(.7) } 60% { transform: translate(-50%, 0) scale(1.08) } 100% { transform: translate(-50%, 0) scale(1) } }
@keyframes lfGoal { 0% { transform: translate(-50%, -50%) scale(.3); opacity: 0 } 15% { transform: translate(-50%, -50%) scale(1.15); opacity: 1 } 75% { transform: translate(-50%, -50%) scale(1); opacity: 1 } 100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0 } }
@keyframes lfIn { from { opacity: 0; transform: translateY(-4px) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { .lf-ball, .lf-zone { transition: none } .lf-ball::after, .lf-live i { animation: none } }

/* ---------- mercados do motor (estilo casa de apostas) ---------- */
.mk-top .mk-rec { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); }
.mk-top .mk-rec .t b { display: block; font-size: 14px; }
.mk-top .mk-rec .t small { color: var(--muted); font-size: 12px; }
.mk-pp { text-align: right; }
.mk-pp b { display: block; font-size: 16px; color: var(--acc); }
.mk-pp small { color: var(--muted); font-size: 11px; white-space: nowrap; }
.mk-foot { padding: 8px 14px 12px; font-size: 12px; border-top: 1px solid var(--line); }
.mk-chips { margin: 0 -12px 8px; padding: 0 12px; }
.mk-model { display: flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--fg-2); background: var(--acc-soft); border-radius: 10px; padding: 8px 10px; margin-bottom: 10px; }
.mk-gt { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 14px 4px 6px; }
.mk { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 6px; overflow: hidden; }
.mk-h { width: 100%; display: flex; align-items: center; gap: 8px; padding: 13px 14px; background: none; border: 0; color: inherit; font: inherit; font-weight: 700; font-size: 14px; text-align: left; cursor: pointer; }
.mk-h svg { transition: transform .2s; color: var(--muted); }
.mk.open .mk-h svg:last-child { transform: rotate(180deg); }
.mk-badge { display: inline-flex; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 800; color: var(--acc); background: var(--acc-soft); border-radius: 999px; padding: 2px 7px; }
.mk-b { display: grid; grid-template-columns: repeat(var(--cols, 2), 1fr); gap: 6px; padding: 0 10px 10px; }
.mk-sel { display: flex; flex-direction: column; gap: 4px; align-items: stretch; text-align: left; padding: 9px 10px; border-radius: 10px; background: var(--surface-2); border: 1.5px solid transparent; color: inherit; font: inherit; cursor: pointer; min-width: 0; }
.mk-sel .l { font-size: 12.5px; color: var(--fg-2); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mk-sel .r { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.mk-sel .r b { font-size: 15px; }
.mk-sel .r small { color: var(--muted); font-size: 11.5px; }
.mk-sel.rec { border-color: var(--acc); background: var(--acc-soft); }
.mk-sel.rec .r b { color: var(--acc); }
.mk-lock .card-b { font-size: 13px; }
.tl-ph { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; background: var(--surface-3); vertical-align: middle; margin-right: 6px; }

/* ---------- bilhetes inteligentes ---------- */
.bl-head { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.bl-head h2 { margin: 0; font-size: 20px; }
.bl-head p { margin: 4px 0 0; font-size: 12.5px; }
.bl-head > div { flex: 1; min-width: 0; }
.bl-res .bl-res-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; padding: 4px 14px 12px; }
.bl-res-g b { display: block; font-size: 22px; }
.bl-res-g small { color: var(--muted); font-size: 11.5px; }
.bl-ult { display: flex; align-items: center; gap: 5px; padding: 0 14px 12px; flex-wrap: wrap; }
.bl-dot { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; }
.bl-dot.g { background: var(--win); } .bl-dot.r { background: var(--loss); }
.bl-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow); border-top: 4px solid var(--pc); }
.bl-ch { display: flex; gap: 10px; align-items: center; padding: 12px 14px 8px; }
.bl-tag { font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: var(--pc); border-radius: 6px; padding: 3px 7px; flex: none; }
.bl-tt { flex: 1; min-width: 0; }
.bl-tt b { display: block; font-size: 15px; }
.bl-tt small { color: var(--muted); font-size: 12px; }
.bl-odd { text-align: right; }
.bl-odd small { display: block; font-size: 10.5px; color: var(--muted); }
.bl-odd b { font-size: 22px; color: var(--pc); }
.bl-meter { position: relative; margin: 0 14px 6px; height: 22px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bl-meter i { position: absolute; inset: 0 auto 0 0; background: color-mix(in srgb, var(--pc) 30%, transparent); }
.bl-meter span { position: relative; font-size: 11.5px; font-weight: 700; padding: 0 10px; line-height: 22px; }
.bl-leg { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); cursor: pointer; }
.bl-n { width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--muted); }
.bl-leg .t b { display: block; font-size: 14px; }
.bl-leg .t small { display: block; color: var(--muted); font-size: 12px; }
.bl-leg .bl-j { display: flex !important; align-items: center; gap: 4px; margin-top: 2px; color: var(--fg-2) !important; }
.bl-why { font-size: 11px !important; margin-top: 3px; opacity: .85; }
.bl-p { text-align: right; }
.bl-p b { display: block; font-size: 16px; }
.bl-p small { color: var(--muted); font-size: 11px; white-space: nowrap; }
.bl-f { display: flex; gap: 8px; padding: 10px 14px 12px; border-top: 1px solid var(--line); }
.bl-lock { display: flex; gap: 10px; align-items: center; padding: 12px 14px 14px; }
.bl-lock div { flex: 1; }
.bl-lock b { display: block; font-size: 14px; }
.bl-lock small { color: var(--muted); font-size: 12px; }
.bl-card.locked .bl-ch { opacity: .85; }
.bl-prep { display: flex; gap: 12px; align-items: center; }
.bl-prep b { display: block; }
.bl-nota { font-size: 11.5px; margin: 4px 4px 20px; }

/* ---------- feed e artigos ---------- */
.fd-games { display: flex; gap: 10px; overflow-x: auto; margin: 0 -12px 12px; padding: 2px 12px 6px; scrollbar-width: none; }
.fd-games::-webkit-scrollbar { display: none; }
.fd-game { flex: none; width: 168px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: grid; gap: 6px; cursor: pointer; box-shadow: var(--shadow); }
.fd-game.live { border-color: color-mix(in srgb, var(--live) 45%, var(--line)); }
.fd-lg { font-size: 11px; color: var(--muted); font-weight: 700; display: flex; gap: 4px; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fd-tm { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; min-width: 0; }
.fd-tm span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fd-st { font-size: 12px; font-weight: 700; color: var(--muted); }
.fd-art { display: grid; grid-template-columns: 110px 1fr; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 10px; cursor: pointer; }
.fd-art img, .fd-art .fd-ph { width: 100%; height: 100%; min-height: 86px; object-fit: cover; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); }
.fd-art .fd-tx { padding: 10px 12px 10px 0; display: flex; flex-direction: column; gap: 4px; }
.fd-art b { font-size: 14.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fd-art small { color: var(--muted); font-size: 11.5px; margin-top: auto; }
.fd-art.big { grid-template-columns: 1fr; }
.fd-art.big img, .fd-art.big .fd-ph { aspect-ratio: 16 / 9; min-height: 0; }
.fd-art.big .fd-tx { padding: 12px 14px 14px; }
.fd-art.big b { font-size: 19px; -webkit-line-clamp: 4; }
.fd-art.big p { margin: 0; color: var(--fg-2); font-size: 13.5px; }
.fd-dest { align-self: flex-start; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #fff; background: var(--acc); border-radius: 6px; padding: 2px 7px; }
.fd-strip { display: flex; gap: 10px; overflow-x: auto; margin: 0 -12px 12px; padding: 2px 12px 6px; scrollbar-width: none; }
.fd-strip .fd-art { flex: none; width: 260px; margin: 0; grid-template-columns: 90px 1fr; }
.art { max-width: 720px; margin: 0 auto; }
.art-cover { width: calc(100% + 24px); margin: -12px -12px 14px; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.art-meta { display: flex; gap: 6px; align-items: center; color: var(--muted); margin-bottom: 6px; flex-wrap: wrap; }
.art-t { font-size: 26px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -.01em; }
.art-sub { font-size: 16.5px; color: var(--fg-2); margin: 0 0 12px; line-height: 1.45; }
.art-by { display: flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 14px; }
.art-body { font-size: 16.5px; line-height: 1.7; color: var(--fg); user-select: text; -webkit-user-select: text; }
.art-body p { margin: 0 0 1em; }
.art-body h2 { font-size: 21px; margin: 1.4em 0 .5em; line-height: 1.25; }
.art-body h3 { font-size: 18px; margin: 1.2em 0 .4em; }
.art-body blockquote { margin: 1.2em 0; padding: 4px 0 4px 16px; border-left: 4px solid var(--acc); font-size: 18px; font-style: italic; color: var(--fg-2); }
.art-body aside.destaque { background: var(--acc-soft); border-radius: 12px; padding: 12px 16px; margin: 1.2em 0; font-weight: 600; }
.art-body aside.destaque p:last-child { margin: 0; }
.art-body figure { margin: 1.2em 0; }
.art-body figure img, .art-body img { max-width: 100%; border-radius: 12px; display: block; }
.art-body figcaption { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.art-body ul, .art-body ol { padding-left: 1.3em; margin: 0 0 1em; }
.art-body li { margin-bottom: .35em; }
.art-body hr { border: 0; border-top: 1px solid var(--line); margin: 1.6em 0; }
.art-body table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 14px; }
.art-body th, .art-body td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; }
.art-body a { color: var(--acc); }
.embed-jogo { margin: 1.2em 0; }
.emb-game { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px; text-decoration: none; color: inherit; cursor: pointer; }
.emb-game .t { display: flex; gap: 8px; align-items: center; font-size: 14px; min-width: 0; }
.emb-game .t.r { justify-content: flex-end; }
.emb-game .c { text-align: center; }
.emb-game .c b { display: block; font-size: 20px; }
.emb-game .c small { font-size: 11.5px; color: var(--muted); }
/* editor */
.ed { max-width: 760px; margin: 0 auto; }
.ed-top { position: relative; z-index: 5; display: flex; gap: 8px; align-items: center; background: var(--bg); padding: 6px 0 8px; flex-wrap: wrap; }
.ed-ai .ed-ai-g { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.ed-ai .ed-ai-g input { grid-column: 1 / -1; }
.ed-ai .ed-ai-g [data-ia] { grid-column: 1 / -1; }
.ed-title { width: 100%; border: 0; background: none; color: var(--fg); font: inherit; font-size: 26px; font-weight: 800; padding: 10px 2px 4px; outline: none; }
.ed-sub { width: 100%; border: 0; background: none; color: var(--fg-2); font: inherit; font-size: 16px; padding: 4px 2px; outline: none; resize: vertical; }
.ed-cover { margin: 8px 0; }
.ed-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; display: block; margin-bottom: 8px; }
.ed-cover-a { display: flex; gap: 8px; }
.ed-bar { position: sticky; top: calc(var(--top) + var(--safe-t)); z-index: 4; display: flex; gap: 2px; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin: 10px 0 0; scrollbar-width: none; box-shadow: var(--shadow); }
.ed-bar button { flex: none; min-width: 36px; height: 36px; border: 0; border-radius: 8px; background: none; color: var(--fg); display: grid; place-items: center; cursor: pointer; font-size: 13px; }
.ed-bar button:active, .ed-bar button:hover { background: var(--surface-2); }
.ed-sep { flex: none; width: 1px; background: var(--line); margin: 6px 3px; }
.ed-body { min-height: 50vh; background: var(--surface); border: 1px solid var(--line); border-radius: 0 0 12px 12px; border-top: 0; padding: 16px; outline: none; margin-bottom: 6px; }
.ed-body .embed-jogo { background: var(--acc-soft); border: 1px dashed var(--acc); border-radius: 12px; padding: 12px; font-weight: 700; user-select: none; }
.ed-body .embed-jogo::before { content: 'Jogo ao vivo: '; color: var(--acc); }
.ed-count { font-size: 12px; text-align: right; margin-bottom: 12px; }
.ed-side-g { display: grid; gap: 10px; }
.ed-body, [contenteditable="true"] { user-select: text !important; -webkit-user-select: text !important; }
.fd-tm > :first-child { flex: none; }
.bl-why { display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mk-h .sp { flex: 1; }
.ed-top .btn { padding-left: 10px; padding-right: 10px; }
@media (max-width: 520px) { .ed-top [data-prev] span, .ed-top [data-prev] { font-size: 0; } .ed-top [data-prev] svg { width: 18px; height: 18px; } }
.pl-ph { border-radius: 50%; object-fit: cover; background: var(--surface-3); flex: none; }

/* ---------- campo ao vivo v2: jogo animado ---------- */
.lf { border: 0; background: var(--surface); }
.lf-h { padding: 10px 14px 8px; }
.lf-live { color: var(--live); font-size: 13px; gap: 8px; }
.lf-live.off { color: var(--muted); }
.lf-live.off i { display: none; }
.lf-clock { font-size: 15px; font-weight: 900; letter-spacing: .02em; color: var(--fg); min-width: 54px; }
.lf-sc { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; letter-spacing: .03em; }
.lf-sc i { width: 8px; height: 8px; border-radius: 50%; }
.lf-sc b { font-size: 15px; padding: 2px 8px; border-radius: 8px; background: var(--surface-2); }
.lf-stage { margin: 0 10px; border-radius: 14px; }
.sim { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.sim-p { position: absolute; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--c); border: 1.5px solid rgba(255,255,255,.9); box-shadow: 0 1px 3px rgba(0,0,0,.45); transition-property: left, top; transition-timing-function: cubic-bezier(.4,.1,.3,1); }
.sim-p.gk { border-color: #ffd43b; }
.sim-p.on { width: 14px; height: 14px; margin: -7px 0 0 -7px; box-shadow: 0 0 0 3px rgba(255,255,255,.35), 0 1px 4px rgba(0,0,0,.5); }
.lf-soccer .lf-ball { transition-property: left, top; transition-timing-function: cubic-bezier(.3,.6,.35,1); z-index: 3; }
.lf-soccer .lf-ball i { width: 10px; height: 10px; margin: -5px 0 0 -5px; }
.lf-soccer .lf-ball::after { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
.lf-banner.fase { background: rgba(0,0,0,.55); font-size: 12px; padding: 5px 11px; }
.lf-zone.on.ataque { width: 34%; opacity: .55; }
.lf-chart { padding: 8px 12px 0; }
.lf-mom { height: 64px; }
.lf-mom rect.nv.up { transform-box: fill-box; transform-origin: 50% 100%; animation: lfGrow 1.2s ease-out; }
.lf-mom rect.nv.dn { transform-box: fill-box; transform-origin: 50% 0%; animation: lfGrow 1.2s ease-out; }
.lf-now { animation: lfPulse 1.4s infinite; }
@keyframes lfGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.lf-strip { display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px 12px; scrollbar-width: none; }
.lf-strip::-webkit-scrollbar { display: none; }
.lf-strip:empty { display: none; }
.lf-chip { flex: none; display: flex; align-items: center; gap: 6px; padding: 6px 10px 6px 8px; border-radius: 10px; background: var(--surface-2); border-left: 3px solid var(--tc); font-size: 12px; white-space: nowrap; }
.lf-chip b { font-size: 12px; color: var(--muted); }
.lf-chip span { font-weight: 700; color: var(--fg); }
.lf-chip.big { background: color-mix(in srgb, var(--tc) 22%, var(--surface-2)); }
.lf-chip.new { animation: lfChip .6s ease; }
@keyframes lfChip { from { opacity: 0; transform: translateX(-14px) scale(.9); } to { opacity: 1; transform: none; } }

/* ==================================================================== pele de app (v3.3) */
:root { --neon: #1fe08a; --violet: #8b5cf6; --radius: 16px; }
:root[data-theme="amoled"] {
  --bg: #000; --surface: #0e0e11; --surface-2: #17171c; --surface-3: #212128; --line: #1d1d23;
  --fg: #f5f6f8; --fg-2: #c6c9d1; --muted: #81868f;
}
/* barra de cima: sólida, título forte */
:root[data-theme="amoled"] .topbar, :root[data-theme="dark"] .topbar { background: var(--bg); border-bottom: 0; box-shadow: none; }
.topbar .title { font-weight: 900; font-size: 18px; letter-spacing: -.02em; }
/* navegação de baixo com indicador */
:root[data-theme="amoled"] .bottomnav { background: #050506; border-top: 1px solid #141418; }
.bottomnav a { font-weight: 700; font-size: 10.5px; letter-spacing: .02em; }
.bottomnav a:not(.ai) svg { padding: 3px 14px; box-sizing: content-box; border-radius: 999px; transition: background .2s, color .2s; }
.bottomnav a.on:not(.ai) svg { background: color-mix(in srgb, var(--acc) 22%, transparent); }
.bottomnav a.on { color: var(--fg); }
.bottomnav a.on:not(.ai) svg { color: var(--acc); }
/* páginas entram como num app */
@keyframes pg-in { from { opacity: 0; transform: translateX(14px); } }
/* títulos de secção curtos e fortes */
.sec-title { font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--fg); margin: 20px 2px 10px; }
.sec-title::before { content: ''; width: 4px; height: 14px; border-radius: 2px; background: linear-gradient(var(--acc), var(--violet)); }
.sec-title a, .sec-title .muted { text-transform: none; letter-spacing: 0; }
/* cartões sem moldura pesada */
:root[data-theme="amoled"] .card, :root[data-theme="amoled"] .league, :root[data-theme="amoled"] .mh, :root[data-theme="amoled"] .bl-card, :root[data-theme="amoled"] .mk, :root[data-theme="amoled"] .fd-game, :root[data-theme="amoled"] .fd-art { border-color: var(--line); box-shadow: none; }
.card-h { font-weight: 800; }
/* chips: pílulas com cor */
.chip { border-radius: 999px; font-weight: 700; }
:root[data-theme="amoled"] .chip { background: var(--surface-2); border-color: transparent; }
:root .chip.on, :root[data-theme] .chip.on { background: linear-gradient(135deg, var(--acc), var(--violet)); border-color: transparent; color: #fff; box-shadow: 0 4px 14px color-mix(in srgb, var(--acc) 35%, transparent); }
.chip.live-chip { color: var(--live); }
:root[data-theme] .chip.live-chip.on { background: var(--live); color: #fff; box-shadow: 0 4px 14px color-mix(in srgb, var(--live) 40%, transparent); }
.day.on { background: linear-gradient(135deg, var(--acc), var(--violet)); box-shadow: 0 4px 14px color-mix(in srgb, var(--acc) 35%, transparent); }
/* abas tipo app */
:root[data-theme="amoled"] .tabs { background: var(--bg); border-bottom-color: var(--line); }
.tabs button { font-weight: 800; }
.tabs button.on { color: var(--fg); border-bottom-width: 3px; border-image: linear-gradient(90deg, var(--acc), var(--violet)) 1; }
/* lista de jogos */
.league-h { background: transparent; border-bottom: 1px solid var(--line); }
:root[data-theme="amoled"] .league-h { background: #0a0a0c; }
.league-h .nm { font-weight: 800; font-size: 13.5px; }
.match { position: relative; }
.match:active { background: var(--surface-2); }
.match.live-row::before, .match:has(.st.live)::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--live); box-shadow: 0 0 10px var(--live); }
.match .sc { font-size: 15px; font-weight: 900; }
.match .sc.live { color: var(--live); text-shadow: 0 0 12px color-mix(in srgb, var(--live) 50%, transparent); }
.match .tm.w .n { font-weight: 800; color: var(--fg); }
/* cabeçalho do jogo com as cores das equipas */
.mh { background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--hc) 30%, transparent), transparent 60%), radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--ac) 30%, transparent), transparent 60%), var(--surface); border: 0; }
.mh-score .big { font-size: 46px; font-weight: 900; color: var(--fg); }
.mh-score .big.live { color: var(--fg); text-shadow: 0 0 22px color-mix(in srgb, var(--live) 45%, transparent); }
.mh-score .time.live { display: inline-block; background: var(--live); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: 12px; animation: lfPulse 2s infinite; }
/* botões */
.btn.pri, .btn.grad { background: linear-gradient(135deg, var(--acc), var(--violet)); border: 0; color: #fff; }
.banner { background: linear-gradient(120deg, var(--acc) 0%, var(--violet) 60%, #ec4899 100%); padding: 16px; }
.banner b { font-size: 17px; font-weight: 900; }
/* bilhetes v2 */
.bl-head { align-items: center; }
.bl-head h2 { font-size: 26px; font-weight: 900; letter-spacing: -.02em; }
.bl-res { display: flex; gap: 8px; align-items: stretch; margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.bl-tile { flex: 1 0 96px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.bl-tile b { display: block; font-size: 22px; font-weight: 900; }
.bl-tile b i { color: var(--muted); font-style: normal; margin: 0 2px; }
.bl-tile small { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.bl-res .bl-ult { flex: 1 0 120px; display: flex; flex-wrap: wrap; gap: 4px; align-content: center; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.bl-res .bl-dot { width: 12px; height: 12px; border-radius: 4px; }
.bl-card { border-top: 0; position: relative; }
.bl-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--pc), var(--violet)); }
.bl-odd b { font-size: 26px; font-weight: 900; }
.bl-p b { font-size: 17px; font-weight: 900; color: var(--neon); }
.bl-meter i { background: linear-gradient(90deg, color-mix(in srgb, var(--pc) 45%, transparent), color-mix(in srgb, var(--neon) 35%, transparent)); }
.bl-leg .t b { font-size: 14.5px; font-weight: 800; }
.mk-sel .r b { color: var(--fg); }
.mk-sel.rec .r b { color: var(--neon); }
.mk-sel.rec { border-color: color-mix(in srgb, var(--neon) 70%, transparent); background: color-mix(in srgb, var(--neon) 10%, var(--surface-2)); }
.mk-pp b { color: var(--neon); }
/* menos "texto de site" */
.resp { display: none; }

/* ---------- sugestões do motor ---------- */
.sg-list { display: grid; gap: 8px; }
.sg { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; position: relative; overflow: hidden; }
.mk-top .sg { border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.sg .t { flex: 1; min-width: 0; }
.sg .t b { display: block; font-size: 15px; font-weight: 800; }
.sg .t small { display: block; color: var(--muted); font-size: 12px; }
.sg .sg-ctx { margin-top: 2px; font-weight: 700; }
.sg-ring { position: relative; width: 46px; height: 46px; flex: none; }
.sg-ring svg { width: 46px; height: 46px; transform: rotate(-90deg); }
.sg-ring circle { fill: none; stroke: var(--surface-3); stroke-width: 3.5; }
.sg-ring circle.v { stroke: var(--neon); stroke-linecap: round; transition: stroke-dasharray .8s ease; }
.sg-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12.5px; font-weight: 900; }
.sg.ganha { border-color: color-mix(in srgb, var(--neon) 50%, var(--line)); }
.sg.perdida, .sg.expirou, .sg.anulada { opacity: .55; }
.sg.perdida .sg-ring circle.v, .sg.expirou .sg-ring circle.v { stroke: var(--muted); }
.sg-st { font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); flex: none; }
.sg-st.g { background: color-mix(in srgb, var(--neon) 18%, transparent); color: var(--neon); }
.sg-st.r { background: color-mix(in srgb, var(--loss) 18%, transparent); color: var(--loss); }
.sg.novo { animation: sgIn .7s ease; border-color: var(--live); box-shadow: 0 0 0 1px var(--live), 0 0 18px color-mix(in srgb, var(--live) 30%, transparent); }
.sg.novo::after { content: 'NOVA'; position: absolute; top: 6px; right: 8px; font-size: 9.5px; font-weight: 900; letter-spacing: .08em; color: var(--live); }
@keyframes sgIn { from { opacity: 0; transform: translateY(-8px) scale(.97); } to { opacity: 1; transform: none; } }
.sg.locked { gap: 10px; color: var(--muted); }
.sg.vazio { justify-content: center; gap: 10px; color: var(--muted); }
.sg-live { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; margin-bottom: 4px; background: linear-gradient(120deg, color-mix(in srgb, var(--live) 22%, var(--surface)), var(--surface)); border: 1px solid color-mix(in srgb, var(--live) 40%, var(--line)); }
.sg-live b { font-weight: 800; }

/* ---------- cartão animado dos bilhetes do dia ---------- */
.hero-bil { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; min-height: 168px; margin: 6px 0 14px; padding: 16px; border-radius: 20px; overflow: hidden; cursor: pointer; color: #fff; isolation: isolate; box-shadow: 0 10px 30px color-mix(in srgb, var(--violet) 30%, transparent); }
.hero-bil:active { transform: scale(.985); }
.hb-bg { position: absolute; inset: 0; z-index: -2; background: linear-gradient(120deg, #0a2cff, #6d28d9, #db2777, #0a2cff); background-size: 300% 300%; animation: hbGrad 10s ease infinite; }
.hb-bg i { position: absolute; border-radius: 50%; filter: blur(30px); opacity: .55; }
.hb-bg i:nth-child(1) { width: 160px; height: 160px; background: #22d3ee; left: -40px; top: -50px; animation: hbOrb 9s ease-in-out infinite; }
.hb-bg i:nth-child(2) { width: 140px; height: 140px; background: #1fe08a; right: 10%; bottom: -60px; animation: hbOrb 12s ease-in-out infinite reverse; }
.hb-bg i:nth-child(3) { width: 110px; height: 110px; background: #f59e0b; right: -30px; top: -30px; opacity: .35; animation: hbOrb 14s ease-in-out infinite; }
.hb-shine { position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.18) 50%, transparent 65%); background-size: 250% 100%; animation: hbShine 4.5s ease-in-out infinite; }
.hb-l { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hb-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 900; letter-spacing: .1em; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.25); padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(4px); }
.hb-tag i { width: 7px; height: 7px; border-radius: 50%; background: #1fe08a; box-shadow: 0 0 8px #1fe08a; animation: lfPulse 1.4s infinite; }
.hb-t { font-size: 24px; font-weight: 900; letter-spacing: -.02em; line-height: 1.05; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.hb-st { display: flex; gap: 12px; margin-top: 2px; }
.hb-st span { display: flex; flex-direction: column; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; opacity: .9; }
.hb-st b { font-size: 20px; font-weight: 900; letter-spacing: -.01em; text-transform: none; opacity: 1; }
.hb-cta { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 13px; background: #fff; color: #1e1b4b; padding: 7px 13px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.hb-cta svg { animation: hbArrow 1.6s ease-in-out infinite; }
.hb-r { position: relative; }
.hb-card { position: absolute; right: 0; left: 6px; border-radius: 14px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.hb-card.c3 { top: 22px; bottom: 2px; transform: rotate(7deg) translateX(10px); opacity: .5; }
.hb-card.c2 { top: 12px; bottom: 8px; transform: rotate(3.5deg) translateX(5px); opacity: .7; }
.hb-card.c1 { top: 2px; bottom: 14px; background: rgba(10,10,20,.55); padding: 10px; display: flex; flex-direction: column; justify-content: center; gap: 8px; animation: hbFloat 5s ease-in-out infinite; }
.hb-leg { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; min-width: 0; }
.hb-leg i { width: 6px; height: 6px; border-radius: 50%; background: #1fe08a; flex: none; }
.hb-leg span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-leg span.skl { height: 8px; border-radius: 4px; background: rgba(255,255,255,.25); }
.hb-leg b { color: #1fe08a; font-weight: 900; }
@keyframes hbGrad { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes hbOrb { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(30px, 20px); } }
@keyframes hbShine { 0% { background-position: 150% 0; } 60%, 100% { background-position: -100% 0; } }
@keyframes hbFloat { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-5px) rotate(0deg); } }
@keyframes hbArrow { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
@media (prefers-reduced-motion: reduce) { .hb-bg, .hb-bg i, .hb-shine, .hb-card.c1, .hb-cta svg { animation: none; } }

/* ---------- 3.4: escalação no campo, notas, séries, distribuição ---------- */
.ex-ph { display: inline-grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 800; flex: none; }
.ex-face { display: inline-block; border-radius: 50%; overflow: hidden; background: #e8ecf1; flex: none; }
.ex-face img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.ex-nota { display: inline-grid; place-items: center; min-width: 30px; padding: 1px 4px; border-radius: 4px; font-size: 12px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.35; }
.ex-nota.n5 { background: #e5484d; } .ex-nota.n6 { background: #f08c00; } .ex-nota.n65 { background: #d9a400; }
.ex-nota.n7 { background: #1fa34a; } .ex-nota.n8 { background: #0e7f3a; } .ex-nota.n9 { background: #2f6fed; }
.ex-nota.inl { margin-left: 8px; } .ex-nota.big { font-size: 15px; min-width: 40px; padding: 4px 6px; }
.ex-tn { padding: 2px 7px; border-radius: 5px; font-weight: 800; color: #fff; font-size: 14px; }
.ex-tn.n5 { background: #e5484d; } .ex-tn.n6 { background: #f08c00; } .ex-tn.n65 { background: #d9a400; } .ex-tn.n7 { background: #1fa34a; } .ex-tn.n8 { background: #0e7f3a; } .ex-tn.n9 { background: #2f6fed; }
.ex-lineup { overflow: hidden; padding: 0; }
.ex-th { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.ex-th b { font-size: 16px; }
.ex-fm { font-weight: 800; font-size: 15px; color: var(--muted); }
.ex-pitch { position: relative; background: repeating-linear-gradient(180deg, #13361f 0 9.09%, #164025 9.09% 18.18%); padding: 6px 0; }
.ex-pitch > i { position: absolute; border: 1.5px solid rgba(255,255,255,.18); pointer-events: none; }
.ex-pitch .ex-mid { left: 0; right: 0; top: 50%; border-width: 1.5px 0 0; }
.ex-pitch .ex-circ { left: 50%; top: 50%; width: 90px; height: 90px; border-radius: 50%; transform: translate(-50%, -50%); }
.ex-pitch .ex-box { left: 22%; right: 22%; height: 9%; } .ex-pitch .ex-box.t { top: 0; border-top: 0; } .ex-pitch .ex-box.b { bottom: 0; border-bottom: 0; }
.ex-pitch .ex-sbox { left: 37%; right: 37%; height: 3.6%; } .ex-pitch .ex-sbox.t { top: 0; border-top: 0; } .ex-pitch .ex-sbox.b { bottom: 0; border-bottom: 0; }
.ex-half { position: relative; display: flex; flex-direction: column; justify-content: space-around; min-height: 330px; gap: 4px; padding: 4px 0; }
.ex-row { display: flex; justify-content: space-around; align-items: flex-start; }
.ex-pl { display: flex; flex-direction: column; align-items: center; width: 74px; text-decoration: none; color: #fff; cursor: pointer; }
.ex-av { position: relative; display: inline-block; }
.ex-av .ex-face, .ex-av .ex-ph { box-shadow: 0 2px 8px rgba(0,0,0,.45); border: 2px solid rgba(255,255,255,.85); }
.ex-pl .ex-nota { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); font-size: 11px; min-width: 28px; }
.ex-icl { position: absolute; left: -6px; top: -3px; display: flex; gap: 1px; }
.ex-icr { position: absolute; right: -8px; top: -3px; display: flex; flex-direction: column; gap: 1px; }
.ex-ic { display: inline-grid; place-items: center; font-style: normal; }
.ex-ic.am, .ex-ic.vm { width: 10px; height: 13px; border-radius: 2px; background: #ffd400; box-shadow: 0 0 0 1.5px #0b0b10; }
.ex-ic.vm { background: #e5484d; }
.ex-ic.gol { width: 16px; height: 16px; border-radius: 50%; background: #fff; color: #111; box-shadow: 0 0 0 1.5px #0b0b10; }
.ex-ic.gol.gc { background: #e5484d; color: #fff; }
.ex-ic.sai { width: 16px; height: 16px; border-radius: 50%; background: #0b0b10; color: #ff6b6b; font-size: 11px; font-weight: 900; }
.ex-nm { margin-top: 11px; font-size: 11.5px; font-weight: 700; text-align: center; line-height: 1.15; text-shadow: 0 1px 2px rgba(0,0,0,.7); max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-nm small { color: rgba(255,255,255,.65); font-weight: 600; }
.ex-subt { padding: 12px 14px 4px; font-weight: 800; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ex-motm .list-row.top { background: linear-gradient(90deg, rgba(245,179,0,.12), transparent); }
.ex-av.sm .ex-face, .ex-av.sm .ex-ph { border: 0; box-shadow: none; }
.ex-badge { position: absolute; left: -4px; bottom: -4px; background: var(--surface); border-radius: 50%; padding: 1px; line-height: 0; }
.ex-mt .tbl td, .ex-mt .tbl th { padding: 8px 6px; }
.votes button { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 10px 12px; min-height: 46px; border-radius: 999px; color: var(--fg); }
.votes button[disabled] { opacity: 1; cursor: default; }
.votes button .vt-l { display: inline-flex; align-items: center; }
.votes button b.num { font-size: 15px; }
.votes.v2 { grid-template-columns: 1fr 1fr; }
.ex-srs { padding: 2px 0 6px; }
.ex-sr { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--line); }
.ex-sr:first-child { border-top: 0; }
.ex-sl { flex: 1; text-align: center; font-weight: 600; font-size: 14px; }
.ex-sr b { min-width: 40px; text-align: right; font-size: 15px; }
.ex-2lg { display: inline-flex; gap: 2px; }
.ex-dr { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.ex-dn { display: flex; align-items: center; gap: 6px; width: 132px; flex: none; font-size: 13px; font-weight: 600; }
.ex-dn span:nth-child(2) { flex: 1; }
.ex-dg, .ex-dl { flex: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; }
.ex-dl { grid-template-columns: repeat(7, 1fr); margin-left: calc(-100% / 14); }
.ex-dl small { text-align: center; color: var(--muted); font-size: 10.5px; }
.ex-dc { height: 30px; display: grid; place-items: center; border-radius: 4px; background: var(--surface-3); font-weight: 800; font-size: 13px; }
.ex-dc.m { background: color-mix(in srgb, #1fa34a calc(var(--a) * 100%), var(--surface-3)); }
.ex-dc.s { background: color-mix(in srgb, #e5484d calc(var(--a) * 100%), var(--surface-3)); }
.ex-h2h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ex-hs { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.ex-hs.r { justify-content: flex-end; text-align: right; }
.ex-hs span, .ex-hm { display: flex; flex-direction: column; min-width: 0; }
.ex-hs b, .ex-hm b { font-size: 22px; }
.ex-hs small, .ex-hm small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-hm { align-items: center; }
.ex-seg { display: grid; grid-template-columns: 1fr 1.4fr 1fr; background: var(--surface-2); border-radius: 999px; padding: 3px; }
.ex-seg button { border: 0; background: none; border-radius: 999px; padding: 7px; font-weight: 800; color: var(--fg); display: grid; place-items: center; }
.ex-seg button.on { background: var(--fg); color: var(--bg); }
.ex-jg { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); cursor: pointer; }
.ex-jd { width: 66px; font-size: 12px; display: flex; flex-direction: column; flex: none; }
.ex-jd small { font-size: 11px; }
.ex-jt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.ex-jt > span { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-js { display: flex; flex-direction: column; gap: 6px; text-align: right; font-size: 14px; }
.ex-res { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; font-weight: 800; font-size: 12px; color: #fff; flex: none; }
.ex-res.V { background: #1fa34a; } .ex-res.E { background: #8a8f98; } .ex-res.D { background: #e5484d; }

/* ---------- 3.5: página do jogador ---------- */
.pl-hero { position: relative; overflow: hidden; border-radius: 22px; padding: 18px 16px 14px; background: #0b0d12; border: 1px solid var(--line); }
.pl-hero-bg { position: absolute; inset: 0; background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--tc) 55%, transparent), transparent 60%), linear-gradient(160deg, color-mix(in srgb, var(--tc) 22%, #0b0d12), #07080b 70%); opacity: .95; }
.pl-top { position: relative; display: flex; gap: 14px; align-items: center; }
.pl-av { position: relative; flex: none; }
.pl-foto, .pl-ini { display: grid; place-items: center; border-radius: 50%; overflow: hidden; background: #e8ecf1; box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 10px 30px rgba(0,0,0,.45); position: relative; }
.pl-foto img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.pl-foto b { display: none; }
.pl-foto.err img { display: none; } .pl-foto.err { background: var(--tc); } .pl-foto.err b, .pl-ini { color: #fff; font-weight: 900; font-size: 30px; }
.pl-ini { background: var(--tc); }
.pl-foto.err b { display: block; }
.pl-tb { position: absolute; right: -4px; bottom: -2px; background: #fff; border-radius: 50%; padding: 3px; line-height: 0; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.pl-id { min-width: 0; color: #fff; }
.pl-id h1 { margin: 0; font-size: 23px; line-height: 1.1; font-weight: 900; letter-spacing: -.02em; }
.pl-team { display: inline-flex; align-items: center; gap: 3px; margin-top: 5px; color: rgba(255,255,255,.85); font-weight: 700; font-size: 14px; cursor: pointer; }
.pl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.pl-chips span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); color: #fff; font-size: 12px; font-weight: 700; }
.pl-chips img { border-radius: 2px; }
.pl-tiles { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.pl-tiles div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 10px 6px; text-align: center; color: #fff; }
.pl-tiles b { display: block; font-size: 20px; font-weight: 900; }
.pl-tiles small { display: block; font-size: 11px; color: rgba(255,255,255,.65); font-weight: 600; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-tabs { margin: 12px -12px 12px; padding: 0 6px; }
.pl-cnt { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--acc); color: #fff; font-size: 11px; margin-left: 4px; }
.pl-nx { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 6px 14px 16px; }
.pl-nx > span { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-width: 0; }
.pl-nx > span b { font-size: 13px; }
.pl-nx-t b { font-size: 20px; } .pl-nx-t small { color: var(--muted); font-size: 11.5px; }
.pl-forma { display: flex; align-items: flex-end; gap: 6px; height: 128px; }
.pl-fb { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; cursor: pointer; min-width: 0; }
.pl-fb i { width: 100%; max-width: 26px; border-radius: 6px 6px 3px 3px; background: var(--surface-3); animation: pl-grow .6s cubic-bezier(.2,.9,.2,1) both; transform-origin: bottom; }
.pl-fb i.n5 { background: #e5484d; } .pl-fb i.n6 { background: #f08c00; } .pl-fb i.n65 { background: #d9a400; } .pl-fb i.n7 { background: #1fa34a; } .pl-fb i.n8 { background: #0e7f3a; } .pl-fb i.n9 { background: #2f6fed; }
.pl-fb i.rV { background: #1fa34a; } .pl-fb i.rE { background: #8a8f98; } .pl-fb i.rD { background: #e5484d; }
.pl-fv { font-size: 10.5px; font-weight: 800; }
.pl-fb small.res { font-size: 10px; font-weight: 800; color: var(--muted); }
.pl-fb small.res.V { color: #1fa34a; } .pl-fb small.res.D { color: #e5484d; }
@keyframes pl-grow { from { transform: scaleY(0); } to { transform: none; } }
.pl-jg { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-top: 1px solid var(--line); cursor: pointer; }
.card-h + .pl-jg, .card > .pl-jg:first-child { border-top: 0; }
.pl-jd { width: 54px; flex: none; display: flex; flex-direction: column; }
.pl-jd b { font-size: 13px; } .pl-jd small { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-jo { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; }
.pl-jo > span { min-width: 0; display: flex; flex-direction: column; }
.pl-jo b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-jo small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-js { font-weight: 800; font-size: 14px; padding: 3px 7px; border-radius: 6px; background: var(--surface-2); }
.pl-js.V { color: #1fa34a; } .pl-js.D { color: #e5484d; }
.pl-bio { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.pl-bio div { background: var(--surface); padding: 11px 14px; display: flex; flex-direction: column; gap: 2px; }
.pl-bio small { color: var(--muted); font-size: 11.5px; } .pl-bio b { font-size: 14px; }
.pl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 4px 14px 14px; }
.pl-grid div { background: var(--surface-2); border-radius: 12px; padding: 10px 8px; text-align: center; }
.pl-grid b { display: block; font-size: 18px; } .pl-grid small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.pl-season { font-size: 12.5px; color: var(--muted); font-weight: 600; margin: 2px 4px 10px; }
.pl-st { padding: 0 0 4px; }
.pl-st-r { display: grid; grid-template-columns: 1fr auto 74px; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); }
.pl-st-r:first-child { border-top: 0; }
.pl-st-r span { font-size: 14px; } .pl-st-r b { font-size: 16px; } .pl-st-r small { color: var(--muted); text-align: right; font-size: 12px; }
.pl-div { display: grid; gap: 10px; }
.pl-dv { padding: 13px 14px; margin: 0; }
.pl-dv-h { display: flex; align-items: center; gap: 8px; } .pl-dv-h b:first-child { font-size: 15px; } .pl-dv-h small { color: var(--muted); flex: 1; }
.pl-ved { display: flex; height: 8px; border-radius: 4px; overflow: hidden; margin-top: 10px; gap: 2px; background: var(--surface-3); }
.pl-ved i.V { background: #1fa34a; } .pl-ved i.E { background: #8a8f98; } .pl-ved i.D { background: #e5484d; }
.pl-ved-l { display: flex; gap: 10px; font-size: 12px; color: var(--muted); margin-top: 6px; font-weight: 700; }
.pl-dv-i { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.pl-dv-i div { background: var(--surface-2); border-radius: 10px; padding: 8px 4px; text-align: center; }
.pl-dv-i b { display: block; font-size: 15px; } .pl-dv-i small { font-size: 10.5px; color: var(--muted); }
.pl-ent-list { padding: 2px 0; }
.pl-ent { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--line); }
.pl-ent:first-child { border-top: 0; }
.pl-ring { --deg: 0deg; flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#1fa34a var(--deg), var(--surface-3) 0); position: relative; }
.pl-ring::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--surface); }
.pl-ring b { position: relative; font-size: 13px; font-weight: 900; }
.pl-ent-t { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.pl-ent-t b { font-size: 14.5px; } .pl-ent-t small { color: var(--muted); font-size: 12px; }
.pl-dots { display: flex; gap: 4px; margin-top: 3px; }
.pl-dots i { width: 9px; height: 9px; border-radius: 50%; } .pl-dots i.g { background: #1fa34a; } .pl-dots i.r { background: #e5484d; opacity: .8; }
.pl-wait .card-b { display: flex; gap: 12px; align-items: center; } .pl-wait small { display: block; color: var(--muted); margin-top: 3px; }
.pl-next { cursor: pointer; }

/* ---------- 3.7: vídeos, partilha, liga, equipa, legal ---------- */
.vid-row { display: flex; gap: 10px; overflow-x: auto; padding: 4px 14px 14px; scrollbar-width: none; }
.vid-row::-webkit-scrollbar { display: none; }
.vid { position: relative; flex: none; width: 210px; border: 0; padding: 0; background: none; color: var(--fg); text-align: left; cursor: pointer; }
.vid img, .vid .vid-ph { width: 210px; height: 118px; border-radius: 12px; object-fit: cover; display: block; background: var(--surface-3); }
.vid-play { position: absolute; left: 81px; top: 35px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(4px); }
.vid small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; font-size: 12.5px; font-weight: 600; }
.vid-sheet video { width: 100%; border-radius: 12px; background: #000; max-height: 60vh; }
.vid-sheet b { display: block; margin-top: 10px; }
.pl-id h1 { display: inline; }
.pl-share { margin-left: 8px; vertical-align: middle; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer; }
.lg-hero, .tm-hero { position: relative; overflow: hidden; border-radius: 22px; padding: 18px 16px; background: #0b0d12; border: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.lg-hero::before, .tm-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--tc, #0b63ff) 50%, transparent), transparent 60%); opacity: .9; }
.lg-hero > *, .tm-hero > * { position: relative; }
.lg-hero h1, .tm-hero h1 { margin: 0; font-size: 22px; font-weight: 900; color: #fff; }
.lg-hero .sub, .tm-hero .sub { color: rgba(255,255,255,.7); font-size: 13px; font-weight: 600; margin-top: 3px; }
.lg-hero .logo, .tm-hero .logo { background: #fff; border-radius: 14px; padding: 6px; }
.ld-row { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-top: 1px solid var(--line); cursor: pointer; }
.ld-row:first-of-type { border-top: 0; }
.ld-pos { width: 20px; text-align: center; font-weight: 800; color: var(--muted); font-size: 13px; }
.ld-row .t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ld-row .t b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ld-row .t small { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.ld-val { font-size: 17px; font-weight: 900; min-width: 40px; text-align: right; }
.ld-row:first-of-type .ld-val { color: var(--gold); }
.ld-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 0 0 10px; scrollbar-width: none; }
.ld-tabs::-webkit-scrollbar { display: none; }
.ld-tabs button { flex: none; border: 1px solid var(--line); background: var(--surface); color: var(--fg-2); border-radius: 999px; padding: 7px 12px; font-weight: 700; font-size: 12.5px; }
.ld-tabs button.on { background: var(--fg); color: var(--bg); border-color: transparent; }
.tw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 6px 14px 14px; }
.tw-p { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; cursor: pointer; }
.tw-p .ex-av { margin-bottom: 4px; }
.tw-p b { font-size: 12.5px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tw-p small { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 4px; justify-content: center; }
.day-h { margin: 14px 2px 6px; font-size: 12.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.tm-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tm-tiles div { background: var(--surface-2); border-radius: 14px; padding: 10px 6px; text-align: center; }
.tm-tiles b { display: block; font-size: 20px; font-weight: 900; } .tm-tiles small { font-size: 11px; color: var(--muted); }
.tm-forma { display: flex; gap: 6px; margin-top: 12px; }
.tm-forma a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; }
.tm-forma small { font-size: 10.5px; color: var(--muted); font-weight: 700; }
.sq-row { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-top: 1px solid var(--line); cursor: pointer; }
.sq-row:first-of-type { border-top: 0; }
.sq-row .t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sq-row .t b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sq-row .t small { font-size: 12px; color: var(--muted); }
.sq-num { width: 26px; text-align: center; font-weight: 800; color: var(--muted); font-size: 13px; }
.sq-chips { display: flex; gap: 5px; align-items: center; }
.sq-chips span { font-size: 11.5px; font-weight: 800; padding: 3px 7px; border-radius: 6px; background: var(--surface-2); }
.st-bars .st-b { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 10px 14px; border-top: 1px solid var(--line); }
.st-bars .st-b:first-child { border-top: 0; }
.st-b i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--surface-3); position: relative; overflow: hidden; }
.st-b i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--acc); border-radius: 3px; }
.legal { padding: 4px 2px 30px; line-height: 1.6; }
.legal h1 { font-size: 24px; margin: 6px 0 4px; } .legal h2 { font-size: 17px; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--fg-2); font-size: 14.5px; } .legal small { color: var(--muted); }
.age-gate { position: fixed; inset: 0; z-index: 900; background: #000; display: grid; place-items: center; padding: 24px; }
.age-gate .box { max-width: 380px; text-align: center; }
.age-gate img { width: 84px; height: 84px; border-radius: 20px; }
.age-gate h2 { color: #fff; margin: 18px 0 6px; font-size: 24px; }
.age-gate p { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.5; }
.age-gate .btn { margin-top: 10px; }
.age-gate a { color: #6fb1ff; }

/* títulos, placares e números na fonte da marca */
h1, h2, h3, .sec-title, .card-h, .tabs button, .num, .mh .score, .topbar .brand, #top-title, .pl-id h1, .lg-hero h1, .tm-hero h1, .bl-head h2, .hero-bil, #splash .name, .pl-tiles b, .tm-tiles b, .ld-val, .ex-nota, .ex-tn { font-family: var(--font-d); }

.offbar { position: fixed; left: 50%; transform: translateX(-50%); top: calc(var(--top) + var(--safe-t, 0px) + 8px); z-index: 60; background: #2a2f3a; color: #fff; font-size: 12.5px; font-weight: 700; padding: 7px 14px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.4); white-space: nowrap; }
.vstrip { display: flex; gap: 10px; overflow-x: auto; margin: 0 -12px 12px; padding: 0 12px; scrollbar-width: none; }
.vstrip::-webkit-scrollbar { display: none; }
.vcard { flex: none; width: 230px; border: 0; padding: 0; background: none; color: var(--fg); text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 6px; }
.vgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vgrid .vcard { width: auto; }
.vthumb { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: var(--surface-3); }
.vthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vthumb em { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.7); color: #fff; font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 6px; border-radius: 6px; }
.vplay { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(4px); }
.vcard b { font-size: 13px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vcard small { font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }

.fd-dest.ok { background: #16a34a; } .fd-dest.rumor { background: #d97706; }

.trial-box { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin: 0 0 16px; border-radius: 18px; color: #fff; background: linear-gradient(120deg, #0b63ff, #7c3aed); box-shadow: 0 10px 30px rgba(11,99,255,.35); }
.trial-box div { flex: 1; } .trial-box b { display: block; font-size: 16px; font-family: var(--font-d); } .trial-box small { opacity: .85; }
.trial-box .btn { background: #fff; color: #0b0b10; border: 0; }
body.has-ad main#view { padding-bottom: calc(var(--nav) + var(--safe-b) + var(--ad-h, 56px) + 24px); }
body.has-ad .slipfab { bottom: calc(var(--nav) + var(--safe-b) + var(--ad-h, 56px) + 14px); }

.pl-share.on { background: var(--acc); }

/* ==================================================================== estúdio de imagens */
.est-sheet { max-height: 94vh; overflow-y: auto; }
.est-h { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 17px; }
.est-prev { position: relative; display: grid; place-items: center; background: var(--surface-3); border-radius: 18px; padding: 10px; }
.est-prev img { display: block; height: min(50vh, 520px); max-width: 100%; aspect-ratio: 9 / 16; object-fit: contain; border-radius: 10px; box-shadow: 0 8px 28px rgba(0,0,0,.28); background: #0a0f1c; }
.est-load { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.08); border-radius: 18px; }
.est-load .spin { width: 34px; height: 34px; border-radius: 50%; border: 4px solid rgba(255,255,255,.35); border-top-color: var(--acc); animation: spin .8s linear infinite; }
.est-lbl { margin: 14px 2px 7px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.est-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.est-chips .chip { flex: none; }
.est-sw { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.est-sw button { flex: none; display: flex; flex-direction: column; align-items: center; gap: 5px; border: 0; background: none; color: var(--fg); padding: 0; }
.est-sw i { width: 52px; height: 52px; border-radius: 14px; border: 2.5px solid transparent; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.est-sw button.on i { border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
.est-sw small { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.est-sw button.on small { color: var(--fg); }
.est-fmt { display: flex; width: 100%; }
.est-fmt button { flex: 1; }
/* infográficos no feed */
.ig-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ig-card { position: relative; border: 0; padding: 0; background: var(--surface-3); border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; cursor: pointer; }
.ig-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-card .skel { position: absolute; inset: 0; border-radius: 0; }
.ig-card .ig-sh { position: absolute; right: 8px; bottom: 8px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; }
.ig-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
@media (min-width: 700px) { .ig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ig-strip { grid-auto-columns: 26%; } }

/* ==================================================================== idioma + seletores */
.lang-row { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--fg); text-align: left; font: inherit; }
.lang-row .t { flex: 1; min-width: 0; }
.lang-flag { width: 40px; height: 40px; flex: none; display: grid; place-items: center; font-size: 24px; border-radius: 12px; background: var(--surface-3); }
.lang-chev { font-size: 24px; line-height: 1; color: var(--muted); }
.lang-list { display: grid; gap: 6px; margin-top: 6px; }
.lang-op { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--fg); text-align: left; font: inherit; transition: border-color .15s, background-color .15s, transform .1s; }
.lang-op:active { transform: scale(.98); }
.lang-op .t { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.lang-op .t b { font-size: 15px; }
.lang-op .t small { color: var(--muted); font-size: 12.5px; }
.lang-op.on { border-color: var(--acc); background: var(--acc-soft); }
.lang-ok { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 14px; color: #fff; }
.lang-op.on .lang-ok { background: var(--acc); }
body.lang-mudando #app, body.lang-mudando main { opacity: .35; transition: opacity .2s; }
/* seletores (em vez do aspeto cru do Android) */
select.select { -webkit-appearance: none; appearance: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--fg); background-color: var(--surface-2, var(--surface));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%238a94a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; text-overflow: ellipsis; }
select.select:focus { border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
select.select option { background: var(--surface); color: var(--fg); }

/* ==================================================================== visita guiada */
.tour { position: fixed; inset: 0; z-index: 2000; animation: tourIn .25s ease; }
.tour.sai { opacity: 0; transition: opacity .25s; }
.tour-veu { position: absolute; inset: 0; }
.tour-hole { position: fixed; border-radius: 18px; box-shadow: 0 0 0 9999px rgba(3, 7, 18, .74); transition: left .35s cubic-bezier(.2,.8,.2,1), top .35s cubic-bezier(.2,.8,.2,1), width .35s cubic-bezier(.2,.8,.2,1), height .35s cubic-bezier(.2,.8,.2,1), border-radius .35s; pointer-events: auto; }
.tour[data-modo="passo"] .tour-hole::after { content: ''; position: absolute; inset: -4px; border-radius: inherit; border: 2.5px solid var(--acc); animation: tourPulse 1.6s ease-out infinite; }
.tour-card { position: fixed; background: var(--surface); color: var(--fg); border-radius: 22px; padding: 16px 16px 14px; box-shadow: 0 18px 50px rgba(0,0,0,.45); transition: left .35s cubic-bezier(.2,.8,.2,1), top .35s cubic-bezier(.2,.8,.2,1); }
.tour-card.entra { animation: tourCard .32s cubic-bezier(.2,.8,.2,1); }
.tour-card[data-seta]::before { content: ''; position: absolute; left: var(--seta, 50%); width: 16px; height: 16px; background: var(--surface); transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.tour-card[data-seta="cima"]::before { top: -7px; }
.tour-card[data-seta="baixo"]::before { bottom: -7px; }
.tour[data-modo="boas-vindas"] .tour-card, .tour[data-modo="fim"] .tour-card { left: 50% !important; top: 50% !important; transform: translate(-50%, -50%); width: min(380px, calc(100vw - 32px)); text-align: center; padding: 26px 22px 18px; }
.tour[data-modo="boas-vindas"] .tour-card::before, .tour[data-modo="fim"] .tour-card::before { display: none; }
.tour-card h2 { margin: 14px 0 6px; font-family: var(--font-d); font-size: 23px; line-height: 1.2; }
.tour-card h3 { margin: 6px 0 4px; font-family: var(--font-d); font-size: 18px; }
.tour-card p { margin: 0; color: var(--fg-2, var(--muted)); font-size: 14px; line-height: 1.5; }
.tour-top { display: flex; align-items: center; gap: 8px; }
.tour-ic { width: 38px; height: 38px; display: grid; place-items: center; font-size: 20px; border-radius: 12px; background: var(--acc-soft); }
.tour-n { font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .04em; }
.tour-x { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--surface-3); color: var(--muted); font-size: 14px; }
.tour-foot { display: flex; align-items: center; gap: 6px; margin-top: 14px; }
.tour-foot .sp { flex: 1; }
.tour-dots { display: flex; gap: 4px; }
.tour-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width .25s, background-color .25s; }
.tour-dots i.ok { background: var(--acc-soft); }
.tour-dots i.on { width: 18px; background: var(--acc); }
.tour-btns { display: flex; gap: 8px; margin-top: 18px; }
.tour-btns.col { flex-direction: column; }
.tour-hero { display: grid; place-items: center; margin-top: 4px; }
.tour-logo { position: relative; width: 92px; height: 92px; display: grid; place-items: center; }
.tour-logo img { width: 78px; height: 78px; border-radius: 22px; position: relative; z-index: 1; animation: tourBob 2.4s ease-in-out infinite; box-shadow: 0 10px 30px rgba(6,108,254,.45); }
.tour-logo span { position: absolute; inset: 0; border-radius: 28px; border: 2px solid var(--acc); opacity: 0; animation: tourRing 2.4s ease-out infinite; }
.tour-logo span + span { animation-delay: 1.2s; }
.tour-ok { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-size: 38px; font-weight: 900; color: #fff; background: linear-gradient(135deg, #22c55e, #16a34a); box-shadow: 0 10px 30px rgba(34,197,94,.45); animation: tourPop .5s cubic-bezier(.2,1.6,.4,1); }
body.tour-open { overflow: hidden; }
@keyframes tourIn { from { opacity: 0; } }
@keyframes tourCard { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.tour[data-modo="boas-vindas"] .tour-card.entra, .tour[data-modo="fim"] .tour-card.entra { animation: tourModal .4s cubic-bezier(.2,.8,.2,1); }
@keyframes tourModal { from { opacity: 0; transform: translate(-50%, -46%) scale(.94); } }
@keyframes tourPulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.08); } }
@keyframes tourBob { 50% { transform: translateY(-5px) rotate(-3deg); } }
@keyframes tourRing { 0% { opacity: .8; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.35); } }
@keyframes tourPop { from { transform: scale(.3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tour *, .tour { animation: none !important; transition: none !important; } }
.onb-lang { border: 1px solid var(--line); background: var(--surface); color: var(--fg); border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }

/* ==================================================================== configurações organizadas */
.st-nav { position: sticky; top: calc(var(--top) + var(--safe-t)); z-index: 5; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; margin: -4px 0 0; background: var(--bg); }
.st-nav::-webkit-scrollbar { display: none; }
.st-nav .chip { flex: none; }
.st-sub { margin: 16px 4px 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.st-sel .t { min-width: 0; }
.st-sel .select { flex: none; max-width: 52%; }
.st-more { border-bottom: 1px solid var(--line); }
.st-more:last-child { border-bottom: 0; }
.st-more > summary { list-style: none; border-bottom: 0; }
.st-more > summary::-webkit-details-marker { display: none; }
.st-more > summary svg { transition: transform .2s; color: var(--muted); }
.st-more[open] > summary svg { transform: rotate(180deg); }
.st-more > .list-row:last-child { border-bottom: 0; }
.st-more[open] { background: var(--surface-2, transparent); }
.snd-grid { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 14px; }
.st-about { font-size: 13px; color: var(--fg-2, var(--muted)); line-height: 1.6; }
.art-body aside.caixa { background: var(--acc-soft); border-radius: 12px; padding: 12px 16px; margin: 1.2em 0; }
.art-body aside.caixa h3 { margin: 0 0 6px; font-size: 15px; }
.art-body aside.caixa ul { margin: 0; }
.art-body figure img { height: auto; width: 100%; }
.art-body figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }
.art-body .embed-video:empty { display: none; }
.art-body table { display: block; overflow-x: auto; }

/* ---- Admin: painel (estatísticas) ---- */
.pn-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}.pn-top h2{margin:0;font-size:24px;font-weight:900}.pn-top .sp{flex:1}
.pn-per{display:flex;background:var(--surface-2);border-radius:999px;padding:3px}.pn-per button{border:0;background:none;color:var(--muted);font:700 12.5px inherit;font-family:inherit;padding:6px 11px;border-radius:999px;cursor:pointer}.pn-per button.on{background:var(--surface);color:var(--fg);box-shadow:var(--shadow)}
.pn-agora{display:grid;grid-template-columns:minmax(220px,1fr) 2fr;gap:12px;margin-bottom:12px}@media (max-width:760px){.pn-agora{grid-template-columns:1fr}}
.pn-live{display:flex;gap:14px;align-items:center;background:linear-gradient(135deg,#066cfe,#3a1fb8);color:#fff;border-radius:var(--radius);padding:16px 18px}
.pn-live>i{width:14px;height:14px;border-radius:50%;background:#3dff9a;box-shadow:0 0 0 0 rgba(61,255,154,.6);animation:pnp 1.8s infinite;flex:none}@keyframes pnp{70%{box-shadow:0 0 0 12px rgba(61,255,154,0)}100%{box-shadow:0 0 0 0 rgba(61,255,154,0)}}
.pn-live b{display:block;font-size:42px;line-height:1;font-weight:900}.pn-live small{display:block;font-weight:700;opacity:.95}.pn-live .muted{color:rgba(255,255,255,.75)!important;font-size:12px}
.pn-24{background:var(--surface);border-radius:var(--radius);padding:10px 12px;box-shadow:var(--shadow)}
.pn-kpis{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;margin-bottom:12px}
.pn-kpi{position:relative;background:var(--surface);border-radius:var(--radius);padding:12px 14px 34px;box-shadow:var(--shadow);overflow:hidden;min-height:104px}
.pn-kpi small{color:var(--muted);font-weight:700;font-size:12px}.pn-kpi>b{display:block;font-size:27px;font-weight:900;letter-spacing:-.02em;margin-top:2px}
.pn-kl{display:flex;gap:6px;align-items:center;font-size:11.5px;flex-wrap:wrap}
.pn-d{font-weight:800;color:var(--muted)}.pn-d.up{color:var(--win)}.pn-d.down{color:var(--loss)}
.g-spark{position:absolute;left:0;right:0;bottom:6px;width:100%;height:26px;opacity:.9}
.pn-sec{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:900;margin:22px 0 10px}
.pn-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}
.pn-card{margin:0!important}.pn-card.larga{grid-column:1/-1}
.pn-card .card-h b{font-size:15px}
.g-svg{width:100%;height:auto;display:block;overflow:visible}
.g-ln{stroke:var(--line);stroke-width:1}.g-tx{fill:var(--muted);font-size:11px;font-family:inherit}.g-big{fill:var(--fg);font-size:22px;font-weight:900;font-family:inherit}
.g-svg rect:hover{opacity:.85}
.g-leg{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:6px;font-weight:600}.g-leg i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px;vertical-align:-1px}
.g-donut{display:flex;gap:14px;align-items:center}.g-donut ul{list-style:none;margin:0;padding:0;flex:1;display:grid;gap:6px;font-size:13px;min-width:0}
.g-donut li{display:grid;grid-template-columns:10px 1fr auto;gap:8px;align-items:center}.g-donut li i{width:10px;height:10px;border-radius:3px}.g-donut li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.g-lista{display:grid;gap:5px}
.g-li{position:relative;display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:8px;font-size:13px;min-height:32px;overflow:hidden}
.g-bar{position:absolute;left:0;top:0;bottom:0;opacity:.14;border-radius:8px}
.g-k{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;position:relative}.g-k a{color:inherit}.g-k a:hover{color:var(--acc)}
.g-li b{position:relative;font-variant-numeric:tabular-nums}
.g-vazio{color:var(--muted);font-size:13px;padding:18px 0;text-align:center}
.pn-nota{font-size:12px;margin:8px 0 0}
.pn-pills{display:flex;flex-wrap:wrap;gap:6px}
.pn-links{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:10px;font-size:13px;font-weight:700}.pn-links a{color:var(--acc)}
.pn-users{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px}.pn-users>div{background:var(--surface-2);border-radius:10px;padding:8px 10px;display:grid}.pn-users small{color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pn-users span{font-size:11px}
.pn-rec{display:grid;gap:4px;max-height:360px;overflow:auto}.pn-rec>div{display:grid;grid-template-columns:78px 1fr;gap:2px 10px;padding:6px 0;border-bottom:1px solid var(--line);font-size:13px}.pn-rec span{font-size:11.5px;grid-row:span 2}.pn-rec a{color:var(--fg);font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pn-rec small{color:var(--muted);font-size:11.5px}

/* ---- banner "Instalar o app" (só no navegador do telemóvel) ---- */
.inst-bar{position:relative;z-index:60;display:flex;align-items:center;gap:10px;padding:calc(var(--safe-t) + 8px) 10px 8px 12px;color:#fff;background:linear-gradient(110deg,#066cfe,#5b2be0,#066cfe);background-size:220% 100%;animation:inst-bg 6s linear infinite,inst-in .45s cubic-bezier(.2,.9,.3,1.2) both;overflow:hidden}
.inst-bar::after{content:'';position:absolute;top:0;left:-40%;width:30%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent);transform:skewX(-20deg);animation:inst-sh 3.2s ease-in-out infinite;pointer-events:none}
.inst-bar img{width:40px;height:40px;border-radius:11px;flex:none;box-shadow:0 4px 14px rgba(0,0,0,.3);animation:inst-pulo 2.4s ease-in-out infinite}
.inst-bar .t{flex:1;min-width:0;line-height:1.25}.inst-bar b{display:block;font-size:14px;font-weight:600}.inst-bar small{display:block;font-size:12px;opacity:.88;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.inst-go{flex:none;background:#fff;color:#0b1020!important;font-weight:700;font-size:13.5px;padding:8px 14px;border-radius:999px;text-decoration:none;box-shadow:0 4px 14px rgba(0,0,0,.25);animation:inst-bt 2.4s ease-in-out infinite}
.inst-x{flex:none;background:none;border:0;color:rgba(255,255,255,.85);font-size:24px;line-height:1;padding:0 4px;cursor:pointer}
.inst-bar.out{transition:transform .3s,opacity .3s;transform:translateY(-100%);opacity:0}
.inst-bar ~ * .top,.inst-bar + .top{padding-top:0}
@keyframes inst-bg{to{background-position:-220% 0}}@keyframes inst-sh{0%{left:-40%}60%,100%{left:130%}}
@keyframes inst-pulo{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px) rotate(-4deg)}}
@keyframes inst-bt{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
@keyframes inst-in{from{transform:translateY(-100%)}to{transform:none}}
.art-body strong,.art-body b{font-weight:600}
