:root, :root[data-theme="dark"] {
  color-scheme: dark;
  --av-l: 17%; --av-ink: rgba(255,255,255,.75); --crest-bg: rgba(255,255,255,.07);
  --bg: #050b08; --bg2: #08130d; --surface: #0d1a13; --surface2: #13261b; --line: #1e3427;
  --ink: #eef4ee; --muted: #92a69a; --lime: #c6f432; --limeink: #10200a; --ember: #ff7a45;
  /* posições: validadas (dark) pelo validate_palette.js; sempre acompanhadas de texto */
  --gk: #d95926; --df: #199e70; --mf: #c98500; --fw: #d55181; --na: #6b7f73;
  --r: 18px;
}
.pos-GK { --c: var(--gk); } .pos-DF { --c: var(--df); } .pos-MF { --c: var(--mf); } .pos-FW { --c: var(--fw); } .pos-NA { --c: var(--na); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 Ubuntu, system-ui, sans-serif;
  min-height: 100vh; animation: pagein .5s ease both; overflow-x: hidden;
}
@keyframes pagein { from { opacity: 0; } to { opacity: 1; } }
body.no-scroll { overflow: hidden; }
h1, h2, h3, .brand, .kpis b, .bigstats b, .pc-age, .ghost { font-family: Ubuntu, Roboto, sans-serif; }
h1 { margin: 0; line-height: 1.02; letter-spacing: -.02em; font-weight: 800; }
h2 { margin: 0; font-weight: 700; letter-spacing: -.01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.material-icons-outlined { font-size: 20px; vertical-align: middle; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 6px; }

/* ---------- topo ---------- */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 18px; min-height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.brand b { font-weight: 800; color: var(--lime); }
.mark { width: 30px; height: 30px; border-radius: 7px; background: var(--lime); color: var(--limeink); display: grid; place-items: center; box-shadow: 0 0 22px -4px color-mix(in srgb, var(--lime) 70%, transparent); }
.mark.sm { width: 22px; height: 22px; border-radius: 6px; box-shadow: none; }
.top nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.top nav a { padding: 8px 12px; border-radius: 7px; color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s, background .2s; }
.top nav a:hover, .top nav a.on { color: var(--ink); background: var(--surface); }
.top nav .cta { background: var(--lime); color: var(--limeink); font-weight: 700; margin-left: 6px; }
.top nav .cta:hover { background: #d8ff5a; color: var(--limeink); }
.top nav .lang { font-size: .78rem; letter-spacing: .08em; border: 1px solid var(--line); }

/* ---------- hambúrguer + drawer (mobile) ---------- */
.hambtn { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); flex: none; }
.hambtn:hover { background: var(--surface2); }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(2px); z-index: 90; opacity: 0; transition: opacity .25s ease; }
.drawer-backdrop[hidden] { display: none; }
.drawer-backdrop.show { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(86vw, 340px); z-index: 91;
  background: var(--bg2); border-left: 1px solid var(--line); box-shadow: -20px 0 50px -20px rgba(0,0,0,.5);
  display: flex; flex-direction: column; padding: 18px; gap: 18px;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-close { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.drawer-close:hover { background: var(--surface2); }
.mnav { display: flex; flex-direction: column; gap: 4px; }
.mnav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 9px; color: var(--muted); font-weight: 500; font-size: 1.02rem; }
.mnav a .material-icons-outlined { font-size: 21px; }
.mnav a:hover, .mnav a.on { color: var(--ink); background: var(--surface); }
.mnav a.on { color: var(--lime); }
.mnav a.cta { margin-top: 8px; justify-content: center; background: var(--lime); color: var(--limeink); font-weight: 700; }
.mnav a.cta:hover { background: #d8ff5a; }
.drawer-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.drawer-foot .langmenu summary { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line); font-size: .85rem; color: var(--ink); }
.nsearch { position: relative; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 0 14px; flex: 0 1 300px; transition: border-color .2s, box-shadow .2s; }
.nsearch:focus-within { border-color: var(--lime); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lime) 14%, transparent); }
.nsearch input { flex: 1; min-width: 0; background: none; border: 0; color: var(--ink); font: inherit; padding: 10px 0; outline: none; }
.nsearch .material-icons-outlined { color: var(--muted); }
.sresults { position: absolute; top: calc(100% + 10px); left: 0; right: 0; min-width: 300px; background: var(--surface2); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px -18px #000; padding: 8px; z-index: 60; max-height: 70vh; overflow: auto; }
.sr-h { font: 600 .7rem Ubuntu, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 10px 4px; }
.sr-i { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; }
.sr-i:hover, .sr-i.sel { background: var(--surface); }
.sr-i b { display: block; font-weight: 500; line-height: 1.2; }
.sr-i small { color: var(--muted); }
.sr-none { padding: 14px; color: var(--muted); }

/* ---------- avatar / escudo ---------- */
.av, .crest { position: relative; display: inline-grid; place-items: center; flex: none; overflow: hidden; width: 44px; height: 44px; border-radius: 50%; vertical-align: middle;
  background: linear-gradient(145deg, hsl(var(--h) 38% 24%), hsl(calc(var(--h) + 40) 42% 11%)); color: rgba(255,255,255,.75); }
.av b, .crest b { font: 700 .85rem Ubuntu, sans-serif; letter-spacing: .02em; }
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.crest { border-radius: 10px; background: rgba(255,255,255,.07); }
.crest img { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; }
.av.xs { width: 28px; height: 28px; } .av.xs b { font-size: .62rem; }
.av.sm { width: 38px; height: 38px; }
.av.fill { width: 100%; height: 100%; border-radius: 0; } .av.fill b { font-size: 3.4rem; opacity: .55; }
.crest.xs { width: 20px; height: 20px; border-radius: 5px; } .crest.xs b { font-size: .55rem; }
.crest.sm { width: 32px; height: 32px; }
.crest.lg { width: 64px; height: 64px; border-radius: 16px; } .crest.lg b { font-size: 1.2rem; }
.crest.xl { width: 104px; height: 104px; border-radius: 26px; } .crest.xl b { font-size: 2rem; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 44px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; animation: drift 22s ease-in-out infinite alternate; }
.b1 { width: 520px; height: 520px; background: color-mix(in srgb, var(--lime) 40%, transparent); top: -180px; left: -120px; }
.b2 { width: 440px; height: 440px; background: color-mix(in srgb, var(--ember) 32%, transparent); right: -120px; top: 40px; animation-delay: -7s; }
.b3 { width: 380px; height: 380px; background: color-mix(in srgb, var(--df) 40%, transparent); left: 36%; bottom: -220px; animation-delay: -13s; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(60px, 40px, 0) scale(1.15); } }
.pitchlines { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(198,244,50,.09); }
.pitchlines g { stroke-dasharray: 3200; stroke-dashoffset: 3200; animation: draw 4.5s .2s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 44px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 600 .78rem Ubuntu, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.live { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 color-mix(in srgb, var(--lime) 60%, transparent); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { font-style: normal; background: linear-gradient(95deg, var(--lime), var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.lead { max-width: 520px; color: var(--muted); font-size: 1.1rem; margin: 18px 0 26px; }
.heroform { flex: none; max-width: 540px; padding: 6px 6px 6px 16px; background: color-mix(in srgb, var(--surface) 90%, transparent); }
.heroform input { padding: 12px 0; font-size: 1.02rem; }
.heroform button, .btn { display: inline-flex; align-items: center; gap: 6px; font: 700 .95rem Ubuntu, sans-serif; background: var(--lime); color: var(--limeink); border: 0; border-radius: 7px; padding: 11px 20px; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s; }
.heroform button:hover, .btn:hover { background: #d8ff5a; transform: translateY(-1px); box-shadow: 0 10px 28px -10px var(--lime); }
.kpis { display: grid; grid-template-columns: repeat(4, auto); gap: 8px 30px; justify-content: start; margin-top: 34px; }
.kpis b { display: block; font-size: 2rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpis span { color: var(--muted); font-size: .85rem; }

/* spotlight */
.spot { position: relative; background: linear-gradient(160deg, var(--surface2), var(--bg2)); border: 1px solid var(--line); border-radius: 26px; padding: 18px 18px 14px; box-shadow: 0 40px 80px -40px #000; }
.spot-head { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.spot-head .material-icons-outlined { color: var(--ember); }
.spot-head b { font: 700 1rem Ubuntu, sans-serif; }
.spot-head small { color: var(--muted); margin-left: auto; }
.spot-stage { position: relative; height: 380px; }
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 46%; opacity: 0; visibility: hidden; transform: translateX(26px) scale(.98); transition: opacity .55s, transform .55s, visibility .55s; overflow: hidden; border-radius: 18px; }
.slide.on { opacity: 1; visibility: visible; transform: none; }
.slide::before { content: ""; position: absolute; right: -10%; top: 10%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 55%, transparent), transparent 66%); filter: blur(10px); }
.ghost { position: absolute; right: 2%; top: -6%; font-size: clamp(9rem, 17vw, 14rem); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--c) 40%, transparent); pointer-events: none; user-select: none; }
.slide-photo { position: relative; grid-column: 2; grid-row: 1; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); border-radius: 0 18px 18px 0; overflow: hidden; }
.slide-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg2) 0, transparent 40%), linear-gradient(0deg, color-mix(in srgb, var(--bg) 70%, transparent), transparent 40%); }
.slide-info { position: relative; grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 0 0 0 8px; z-index: 2; }
.slide-info h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; line-height: 1.05; }
.slide-info p { display: flex; align-items: center; gap: 8px; margin: 0; flex-wrap: wrap; }
.slide-info p small { color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font: 600 .75rem Ubuntu, sans-serif; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 7px; background: color-mix(in srgb, var(--c) 18%, transparent); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); }
.pill i, .pc-pos i, .chip i, .tk-pos i, .pline h3 i, .legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); display: inline-block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: rgba(255,255,255,.07); border-radius: 7px; padding: 4px 12px; font-size: .88rem; }
.chips b { font-family: Ubuntu, sans-serif; }
.ghost-btn { align-self: flex-start; background: transparent; color: var(--ink); border: 1px solid var(--line); padding: 8px 16px; margin-top: 4px; }
.slide:hover .ghost-btn { background: var(--lime); color: var(--limeink); border-color: var(--lime); }
.dots { display: flex; justify-content: center; gap: 8px; padding-top: 10px; }
.dots button { width: 22px; height: 5px; border-radius: 3px; border: 0; background: var(--line); cursor: pointer; padding: 0; transition: width .3s, background .3s; }
.dots button.on { width: 42px; background: var(--lime); }

/* ticker */
.ticker { border-block: 1px solid var(--line); background: var(--bg2); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-set { display: flex; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tk { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-right: 1px solid var(--line); white-space: nowrap; }
.tk:hover { background: var(--surface); }
.tk-name { font-weight: 500; }
.tk-pos { display: inline-flex; align-items: center; gap: 6px; font: 600 .72rem Ubuntu, sans-serif; letter-spacing: .08em; color: var(--muted); }
.tk-age { font: 700 .95rem Ubuntu, sans-serif; color: var(--lime); }
.tk-club { color: var(--muted); font-size: .88rem; }

/* ---------- blocos ---------- */
.block { padding-top: 64px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sec-head h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.sec-head p { margin: 4px 0 0; color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: 4px; color: var(--lime); font-weight: 500; white-space: nowrap; }
.more:hover .material-icons-outlined { transform: translateX(4px); }
.more .material-icons-outlined { transition: transform .2s; }
.page-head { padding-top: 38px; padding-bottom: 18px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); }

/* cartões de jogador */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(188px, 1fr)); gap: 16px; }
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); transition: transform .18s ease-out, box-shadow .25s, border-color .25s; will-change: transform; }
.tilt:hover { --ty: -4px; }
.pcard { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pcard:hover { border-color: color-mix(in srgb, var(--c) 65%, var(--line)); box-shadow: 0 18px 44px -16px color-mix(in srgb, var(--c) 60%, transparent); }
.pc-photo { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; }
.pc-photo .av img { transition: transform .5s; }
.pcard:hover .pc-photo .av img { transform: scale(1.07); }
.pc-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,11,8,.92), transparent 58%); pointer-events: none; }
.pc-age { position: absolute; left: 12px; bottom: 6px; z-index: 2; font-size: 2.5rem; font-weight: 800; line-height: 1; text-shadow: 0 2px 14px rgba(0,0,0,.6); }
.pc-pos { position: absolute; left: 10px; top: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; font: 700 .7rem Ubuntu, sans-serif; letter-spacing: .08em; padding: 4px 10px; border-radius: 7px; background: rgba(5,11,8,.65); backdrop-filter: blur(6px); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); }
.pc-body { padding: 12px 14px 14px; }
.pc-body h3 { margin: 0 0 6px; font-size: 1.02rem; font-weight: 600; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-body p { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--muted); font-size: .86rem; }
.pc-body p span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-body small { display: block; margin-top: 3px; color: var(--muted); font-size: .8rem; opacity: .85; }

/* recordes */
.records { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rec { position: relative; display: block; overflow: hidden; background: linear-gradient(150deg, var(--surface2), var(--surface)); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.rec:hover { border-color: var(--lime); box-shadow: 0 20px 50px -20px color-mix(in srgb, var(--lime) 50%, transparent); }
.rec-ic { position: absolute; right: 16px; top: 14px; font-size: 64px !important; color: var(--lime); opacity: .12; }
.rec small { color: var(--muted); font: 600 .75rem Ubuntu, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.rec > b { display: block; font: 800 clamp(2.2rem, 4vw, 3.2rem) Ubuntu, sans-serif; color: var(--lime); line-height: 1.1; margin: 4px 0 14px; }
.rec-p { display: flex; align-items: center; gap: 12px; }
.rec-p span { font-weight: 500; line-height: 1.2; }
.rec-p em { display: block; font-style: normal; color: var(--muted); font-size: .85rem; font-weight: 400; }

/* campeonatos / clubes */
.comp-grid, .club-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(214px, 1fr)); gap: 14px; }
.comp, .club { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.comp:hover, .club:hover { border-color: var(--lime); box-shadow: 0 18px 44px -20px color-mix(in srgb, var(--lime) 55%, transparent); }
.comp h3, .club h3 { margin: 8px 0 0; font-size: 1.12rem; font-weight: 600; line-height: 1.2; }
.comp p, .club p { margin: 0; color: var(--muted); font-size: .9rem; }
.comp-n, .club-n { margin-top: auto; padding-top: 12px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }
.comp-n b, .club-n b { font: 700 1.5rem Ubuntu, sans-serif; color: var(--ink); }
.club-n { gap: 14px; }
.club-n span b { font-size: 1.15rem; }

/* gráfico de pontos */
.dotplot { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px 22px; }
.dp-row { display: grid; grid-template-columns: minmax(130px, 210px) 1fr 46px; align-items: center; gap: 14px; padding: 7px 0; cursor: default; }
.dp-name { font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-track { position: relative; height: 14px; }
.dp-track::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--line); border-radius: 2px; }
.dp-line { position: absolute; left: 0; top: 6px; height: 2px; background: color-mix(in srgb, var(--lime) 55%, transparent); border-radius: 2px; transform-origin: left; animation: growX 1s ease-out both; }
.dp-dot { position: absolute; top: 0; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px var(--surface), 0 0 14px color-mix(in srgb, var(--lime) 60%, transparent); transition: transform .2s; }
.dp-row:hover .dp-dot { transform: scale(1.35); }
.dp-val { font: 600 .95rem Ubuntu, sans-serif; text-align: right; font-variant-numeric: tabular-nums; }
.dp-axis { display: grid; grid-template-columns: minmax(130px, 210px) 1fr 46px; gap: 14px; margin-top: 6px; }
.dp-ticks { position: relative; height: 18px; }
.dp-ticks em { position: absolute; transform: translateX(-50%); font-style: normal; font-size: .72rem; color: var(--muted); }
@keyframes growX { from { transform: scaleX(0); } }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 34px; border-radius: 26px; border: 1px solid color-mix(in srgb, var(--lime) 35%, var(--line)); background: radial-gradient(900px 260px at 0% 0%, color-mix(in srgb, var(--lime) 16%, transparent), transparent), var(--surface); }
.cta-band h2 { font-size: 1.7rem; }
.cta-band p { margin: 6px 0 0; max-width: 560px; color: var(--muted); }

/* ---------- filtros ---------- */
.fbar { position: sticky; top: 70px; z-index: 20; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 20px; padding: 14px 16px; margin-bottom: 20px; }
.chips-pos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 7px; border: 1px solid var(--line); background: var(--bg2); cursor: pointer; font-weight: 500; font-size: .92rem; transition: border-color .2s, background .2s; user-select: none; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:hover { border-color: var(--muted); }
.chip.on { border-color: var(--lime); background: color-mix(in srgb, var(--lime) 12%, transparent); }
.chip[class*="pos-"].on { border-color: var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); }
.frow { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.frow label { display: flex; flex-direction: column; gap: 4px; }
.frow label small { color: var(--muted); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
input, select, textarea { font: 400 .95rem Roboto, sans-serif; padding: 9px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg2); color: var(--ink); max-width: 100%; }
select option { background: var(--surface2); color: var(--ink); }
input:focus, select:focus { outline: none; border-color: var(--lime); }
.frow .sm input { width: 82px; }
.fq { flex: 1 1 200px; flex-direction: row !important; align-items: center; background: var(--bg2); border: 1px solid var(--line); border-radius: 7px; padding: 0 12px; gap: 8px !important; }
.fq input { border: 0; background: none; padding: 10px 0; flex: 1; }
.fq .material-icons-outlined { color: var(--muted); }
.toggle { flex-direction: row !important; align-items: center; gap: 10px !important; cursor: pointer; font-size: .9rem; padding-bottom: 8px; }
.toggle input { position: absolute; opacity: 0; }
.sw { width: 36px; height: 20px; border-radius: 999px; background: var(--line); position: relative; transition: background .2s; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); transition: transform .2s; }
.toggle input:checked + .sw { background: var(--lime); }
.toggle input:checked + .sw::after { transform: translateX(16px); background: var(--limeink); }
.fbar button { background: var(--lime); color: var(--limeink); border: 0; border-radius: 7px; padding: 10px 18px; font: 700 .95rem Ubuntu, sans-serif; cursor: pointer; }
.clear { color: var(--muted); font-size: .9rem; padding-bottom: 10px; text-decoration: underline; text-underline-offset: 3px; }
.res-meta { color: var(--muted); margin: 0 0 14px; }
.res-meta b { color: var(--ink); font-family: Ubuntu, sans-serif; font-size: 1.1rem; }
#results.loading { opacity: .5; pointer-events: none; transition: opacity .15s; }
.empty { padding: 40px 0; color: var(--muted); }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 32px 0 8px; }
.pager a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 7px; border: 1px solid var(--line); background: var(--surface); }
.pager a:hover { border-color: var(--lime); }
.pager span { color: var(--muted); }

/* ---------- ficha ---------- */
.phero { position: relative; overflow: hidden; padding: 20px 0 36px; border-bottom: 1px solid var(--line); }
.phero.pos-GK .b1, .phero.pos-DF .b1, .phero.pos-MF .b1, .phero.pos-FW .b1 { background: color-mix(in srgb, var(--c) 55%, transparent); }
.phero-in { position: relative; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.back:hover { color: var(--lime); }
.phero-grid { display: grid; grid-template-columns: 290px 1fr; gap: 40px; align-items: end; }
.pphoto { position: relative; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--c) 45%, var(--line)); box-shadow: 0 30px 70px -30px color-mix(in srgb, var(--c) 70%, transparent); }
.pphoto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,11,8,.65), transparent 45%); }
.pphoto .ghost { z-index: 2; right: 10px; top: auto; bottom: -.18em; font-size: 8rem; -webkit-text-stroke: 2px rgba(255,255,255,.35); }
.pinfo h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); margin: 14px 0 12px; }
.pclub { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 0 0 26px; }
.pclub a { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 1.08rem; }
.pclub a.muted { font-weight: 400; font-size: 1rem; }
.pclub a:hover { color: var(--lime); }
.bigstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.bigstats > div { background: color-mix(in srgb, var(--surface) 85%, transparent); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.bigstats b { display: block; font-size: 2.1rem; font-weight: 800; line-height: 1.1; }
.bigstats b small { font-size: .9rem; font-weight: 500; color: var(--muted); margin-left: 4px; }
.bigstats b.tx { font-size: 1.2rem; font-weight: 700; padding: 6px 0 2px; }
.bigstats span { color: var(--muted); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.two { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.three { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.panel h2 { font: 600 .78rem Ubuntu, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.pitchmap { width: 100%; height: auto; border-radius: 14px; background: repeating-linear-gradient(90deg, #0f3d26 0 10%, #0c331f 10% 20%); }
.pm-lines { stroke: rgba(238,244,238,.32); }
.pm-zone { fill: var(--c); opacity: .3; animation: zone 2.4s ease-in-out infinite alternate; }
@keyframes zone { to { opacity: .12; } }
.pm-dot { fill: var(--c); stroke: #fff; stroke-width: .5; }
.pm-ping { fill: none; stroke: var(--c); stroke-width: .5; transform-box: fill-box; transform-origin: center; animation: pmping 1.8s ease-out infinite; }
@keyframes pmping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.meter { margin-bottom: 18px; }
.meter-top { display: flex; justify-content: space-between; margin-bottom: 8px; }
.meter-top b { font: 700 1.3rem Ubuntu, sans-serif; color: var(--lime); }
.meter-track { height: 10px; background: var(--line); border-radius: 6px; overflow: hidden; }
.meter-track i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, color-mix(in srgb, var(--lime) 55%, transparent), var(--lime)); transform-origin: left; animation: growX 1.1s ease-out both; }
.mini { margin: 22px 0 14px; display: grid; gap: 10px; }
.mini div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.mini dt { color: var(--muted); } .mini dd { margin: 0; text-align: right; }
.mini a { color: var(--lime); }

/* ---------- clube ---------- */
.chead { display: flex; align-items: center; gap: 22px; margin-bottom: 24px; }
.chead h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.chead p { margin: 6px 0 0; }
.chead a:hover { color: var(--lime); }
.hist { display: flex; align-items: flex-end; gap: 6px; height: 196px; }
.hist-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 4px; cursor: default; }
.hist-col i { display: block; width: 100%; min-height: 2px; height: calc(var(--v) * 1.4px); border-radius: 5px 5px 0 0; background: var(--lime); transform-origin: bottom; animation: growY .8s ease-out both; transition: filter .2s; }
.hist-col:hover i { filter: brightness(1.2); }
.hist-n { font: 600 .8rem Ubuntu, sans-serif; min-height: 1.1em; }
.hist-l { font-size: .72rem; color: var(--muted); border-top: 1px solid var(--line); width: 100%; text-align: center; padding-top: 4px; }
@keyframes growY { from { transform: scaleY(0); } }
.stack { display: flex; gap: 2px; height: 48px; border-radius: 12px; overflow: hidden; }
.seg { display: grid; place-items: center; background: var(--c); min-width: 6px; transition: filter .2s; }
.seg:hover { filter: brightness(1.2); }
.seg b { font: 700 .95rem Ubuntu, sans-serif; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.legend { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; font-size: .9rem; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend b { margin-left: auto; font-family: Ubuntu, sans-serif; }
.hbars { display: grid; gap: 10px; }
.hb { display: grid; grid-template-columns: 104px 1fr 26px; align-items: center; gap: 10px; font-size: .9rem; }
.hb span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb i { display: block; height: 9px; border-radius: 2px 5px 5px 2px; background: var(--lime); transform-origin: left; animation: growX .9s ease-out both; }
.hb b { font-family: Ubuntu, sans-serif; text-align: right; }
.pitch { border: 2px solid rgba(238,244,238,.16); border-radius: 26px; padding: 22px; background: repeating-linear-gradient(90deg, #0f3d26 0 72px, #0c331f 72px 144px); display: grid; gap: 22px; }
.pline h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 600 .78rem Ubuntu, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: rgba(238,244,238,.8); }
.pline-row { display: flex; flex-wrap: wrap; gap: 8px; }
.mchip { display: inline-flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; border-radius: 7px; background: rgba(5,11,8,.62); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.08); font-size: .9rem; transition: transform .15s, border-color .2s; }
.mchip:hover { transform: translateY(-2px); border-color: var(--lime); }
.mchip em { font: 700 .85rem Ubuntu, sans-serif; font-style: normal; color: var(--lime); margin-left: 8px; }

/* ---------- cadastro ---------- */
.signup { padding-top: 56px; }
.narrow { max-width: 520px; margin: 0 auto; padding: 32px; }
.narrow h1 { font-size: 2.2rem; margin: 10px 0 12px; }
.badge { display: inline-block; margin: 0; background: var(--ember); color: #1d0b02; font: 700 .72rem Ubuntu, sans-serif; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 7px; }
.stackf { display: grid; gap: 14px; margin-top: 18px; }
.stackf label { display: grid; gap: 5px; }
.stackf small { color: var(--muted); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.msg { padding: 12px 14px; border-radius: 12px; margin-top: 16px; }
.msg.ok { background: color-mix(in srgb, var(--lime) 14%, transparent); border: 1px solid color-mix(in srgb, var(--lime) 40%, transparent); }
.msg.err { background: color-mix(in srgb, var(--fw) 18%, transparent); border: 1px solid color-mix(in srgb, var(--fw) 50%, transparent); }

/* ---------- rodapé / tooltip ---------- */
.foot { margin-top: 80px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.foot-brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font: 600 1rem Ubuntu, sans-serif; margin-bottom: 8px; }
.foot p { margin: 0; max-width: 720px; }
.tip { position: fixed; z-index: 100; pointer-events: none; background: var(--surface2); border: 1px solid var(--line); color: var(--ink); padding: 6px 10px; border-radius: 9px; font-size: .82rem; box-shadow: 0 10px 30px -10px #000; max-width: 260px; }

/* ---------- entrada por scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0s); }

/* ---------- responsivo ---------- */
@media (max-width: 960px) {
  .hero-grid, .phero-grid, .two { grid-template-columns: 1fr; }
  .three { grid-template-columns: 1fr; }
  .phero-grid { gap: 22px; } .pphoto { max-width: 260px; }
  .records { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .top-in { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; gap: 10px; }
  .nsearch { order: 3; flex: 1 1 100%; }
  .top nav.dnav { display: none; }
  .hambtn { display: grid; margin-left: auto; }
  .hero { padding-top: 34px; }
  .kpis { grid-template-columns: repeat(2, auto); }
  .spot-stage { height: 410px; }
  .slide { grid-template-columns: 1fr; grid-template-rows: 150px 1fr; }
  .slide-photo { grid-column: 1; grid-row: 1; clip-path: none; border-radius: 14px; } .slide-photo::after { background: linear-gradient(0deg, var(--bg2), transparent 60%); }
  .slide-info { grid-row: 2; padding: 6px 4px 0; gap: 8px; }
  .ghost { display: none; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .fbar { position: static; }
  .dp-row, .dp-axis { grid-template-columns: 96px 1fr 38px; gap: 10px; }
  .block { padding-top: 46px; }
  .hb { grid-template-columns: 84px 1fr 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pitchlines g { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker-track { overflow-x: auto; }
}

/* ---------- versão calma: sem degradês de fundo, sem brilhos decorativos ---------- */
.blob, .pitchlines, .ghost, .slide::before { display: none; }
.hero h1 em { background: none; -webkit-text-fill-color: currentColor; color: var(--lime); }
.spot, .rec, .cta-band { background: var(--surface); }
.cta-band { border-color: var(--line); }
.av { background: hsl(var(--h) 20% 17%); }
.pitchmap, .pitch { background: #0c331f; }
.meter-track i { background: var(--lime); }
.slide-photo::after { background: none; }
.pphoto { box-shadow: none; border-color: var(--line); }
.pcard:hover, .rec:hover, .comp:hover, .club:hover { box-shadow: none; }
.mark { box-shadow: none; }
.dp-dot { box-shadow: 0 0 0 2px var(--surface); }
.heroform button:hover, .btn:hover { box-shadow: none; }

/* ---------- menu de idioma, créditos, logos ---------- */
.langmenu { position: relative; margin-left: 2px; }
.langmenu summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 7px; cursor: pointer; font: 600 .78rem Ubuntu, sans-serif; letter-spacing: .08em; color: var(--muted); }
.langmenu summary::-webkit-details-marker { display: none; }
.langmenu summary:hover, .langmenu[open] summary { color: var(--ink); background: var(--surface); }
.langmenu summary .material-icons-outlined { font-size: 17px; }
.langmenu ul { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; min-width: 170px; background: var(--surface2); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 20px 50px -18px #000; z-index: 70; }
.langmenu li a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 7px; color: var(--ink); }
.langmenu li a:hover { background: var(--surface); }
.langmenu li a[aria-current] { color: var(--lime); }
.langmenu li b { font: 700 .75rem Ubuntu, sans-serif; letter-spacing: .08em; width: 24px; color: var(--muted); }
.pcol { min-width: 0; }
.photo-credit { margin: 10px 2px 0; font-size: .74rem; line-height: 1.4; color: var(--muted); }
.photo-credit a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.credits { display: grid; gap: 16px; }
.credits p { margin: 0 0 12px; }
.credits a { color: var(--lime); }
.ctable { width: 100%; border-collapse: collapse; font-size: .9rem; }
.ctable th, .ctable td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ctable th { color: var(--muted); font: 600 .72rem Ubuntu, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
/* logo escuro num quadradinho escuro some: o JS mede a luminosidade e troca o fundo */
.crest[data-bg="light"] { background: #eef2ee; }
.crest[data-bg="dark"] { background: #0a130e; }

/* ---------- tema claro ---------- */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f5f0; --bg2: #e9ede5; --surface: #ffffff; --surface2: #f7f9f5; --line: #d8dfd3;
  --ink: #142019; --muted: #5a6b60; --lime: #3f7d14; --limeink: #ffffff; --ember: #d4521b;
  /* posições para fundo claro: validadas c/ validate_palette.js --mode light */
  --gk: #d4521b; --df: #0f9a6b; --mf: #b87b00; --fw: #c8497a; --na: #8a9a8f;
  --av-l: 84%; --av-ink: rgba(20,32,25,.7); --crest-bg: rgba(20,32,25,.06);
}
.av { background: hsl(var(--h) 20% var(--av-l)); }
.av, .crest { color: var(--av-ink); }
.crest { background: var(--crest-bg); }
.chips span { background: color-mix(in srgb, var(--ink) 8%, transparent); }
/* texto sobre fotos e sobre o campo fica claro nos dois temas */
.pc-age, .pc-pos { color: #fff; }
.pitch, .mchip { color: #eef4ee; }
.mchip em { color: #c6f432; }
:root[data-theme="light"] .crest[data-bg="light"] { box-shadow: inset 0 0 0 1px var(--line); }
:root[data-theme="light"] .top nav .cta:hover, :root[data-theme="light"] .heroform button:hover, :root[data-theme="light"] .btn:hover { background: #35690f; color: #fff; }
:root[data-theme="light"] .slide:hover .ghost-btn { color: #fff; }
:root[data-theme="light"] .toggle input:checked + .sw::after { background: #fff; }
:root[data-theme="light"] .tip, :root[data-theme="light"] .sresults, :root[data-theme="light"] .langmenu ul { box-shadow: 0 14px 34px -16px rgba(20,32,25,.35); }

/* botão do tema: mostra o sol no escuro (vai para claro) e a lua no claro */
.themebtn { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; margin-left: 2px; border: 1px solid var(--line); border-radius: 7px; background: transparent; color: var(--muted); cursor: pointer; position: relative; overflow: hidden; }
.themebtn:hover { color: var(--ink); background: var(--surface); }
.themebtn .material-icons-outlined { position: absolute; font-size: 19px; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .3s ease; }
.themebtn .i-moon { transform: translateY(150%) rotate(-60deg); opacity: 0; }
:root[data-theme="light"] .themebtn .i-sun { transform: translateY(-150%) rotate(60deg); opacity: 0; }
:root[data-theme="light"] .themebtn .i-moon { transform: none; opacity: 1; }

/* transição suave só durante a troca de tema (classe posta e tirada pelo JS) */
html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color .45s ease, color .45s ease, border-color .45s ease, fill .45s ease, stroke .45s ease, box-shadow .45s ease !important;
}
@media (prefers-reduced-motion: reduce) { .themebtn .material-icons-outlined { transition: none; } }

/* bandeiras no menu de idioma (SVG: emojis de bandeira não aparecem no Windows) */
.flag { width: 22px; height: 15px; flex: none; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 22%, transparent); }
.langmenu summary { gap: 8px; }
.langmenu li a { gap: 10px; }

/* bandeiras circulares, no estilo do HS: botão só com a bandeira, lista com bandeira + nome */
.flag { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 18%, transparent); }
.langmenu summary { width: 38px; height: 38px; padding: 0; justify-content: center; border-radius: 50%; gap: 0; }
.langmenu summary .flag { width: 28px; height: 28px; }
.langmenu summary:hover .flag, .langmenu[open] summary .flag { box-shadow: 0 0 0 2px var(--lime); }
.langmenu ul { min-width: 190px; padding: 8px; border-radius: 16px; }
.langmenu li a { gap: 14px; padding: 9px 12px; border-radius: 10px; font-weight: 500; }
.langmenu li a[aria-current] { color: var(--lime); font-weight: 600; }

/* home enxuta: só o selo, números pequenos e o destaque em largura total */
.hero { padding: 26px 0 30px; }
.hero-grid { grid-template-columns: 1fr; gap: 0; }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-top .kicker { margin: 0; }
.kpis { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; }
.kpis > div { display: flex; align-items: baseline; gap: 6px; }
.kpis b { display: inline; font-size: 1.05rem; font-weight: 700; }
.kpis span { font-size: .82rem; }
.slide { grid-template-columns: 1fr 40%; }
.slide-info { padding-left: 26px; }
.slide-info h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
@media (max-width: 720px) { .slide { grid-template-columns: 1fr; } .slide-info { padding-left: 4px; } }

/* topo da home mais compacto: busca, selo e números juntos */
.hero { padding: 14px 0 24px; }
.hero-top { display: grid; gap: 8px; margin-bottom: 12px; }
.hero-top .heroform { width: 100%; max-width: 560px; padding: 0 12px; }
.hero-top .heroform input { padding: 9px 0; font-size: .95rem; }
.hero-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px 20px; flex-wrap: wrap; }
.hero-meta .kicker { margin: 0; font-size: .72rem; }
.kpis { gap: 2px 16px; }
.kpis b { font-size: .92rem; }
.kpis span { font-size: .76rem; }

/* topo da home demarcado: bloco próprio, divisória antes do card, busca com borda forte */
.hero-top { gap: 14px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.hero-top .heroform { border: 2px solid color-mix(in srgb, var(--ink) 38%, var(--line)); border-radius: 7px; background: var(--surface); }
.hero-top .heroform:focus-within { border-color: var(--lime); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 22%, transparent); }
.hero-top .heroform input { padding: 11px 0; }
.hero-meta { gap: 8px 0; }
.hero-meta .kicker { padding-right: 18px; margin-right: 18px; border-right: 1px solid var(--line); }
.kpis { gap: 4px 0; }
.kpis > div + div { padding-left: 16px; margin-left: 16px; border-left: 1px solid var(--line); }
@media (max-width: 720px) { .hero-meta .kicker { border-right: 0; margin-right: 0; padding-right: 0; width: 100%; } .kpis > div:first-child { padding-left: 0; margin-left: 0; border-left: 0; } }

/* respiro do bloco do topo da home: 40px acima e 40px abaixo */
.hero { padding-top: 40px; }
.hero-top { margin-bottom: 40px; }

/* indicador de carregamento da busca externa */
.sr-load { display: flex; justify-content: center; padding: 12px; }
.sr-load i { width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--lime); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.extbox { margin-top: 14px; max-width: 560px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 6px; }
.extbox:empty { display: none; }

/* resultados */
.livedot, .livetag i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #e5484d; margin-right: 6px; animation: ping 1.8s infinite; }
.livetag { display: inline-flex; align-items: center; color: #e5484d; font-weight: 600; }
.mlist { display: grid; gap: 6px; }
.match { display: grid; grid-template-columns: 96px 1fr 84px 1fr; align-items: center; gap: 10px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; position: relative; }
.match.is-live { border-color: #e5484d; }
.m-date { font-size: .8rem; color: var(--muted); }
.is-live .m-date { color: #e5484d; font-weight: 700; }
.m-team { font-weight: 500; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-team.away { text-align: left; }
.m-team.win { font-weight: 700; color: var(--ink); }
.m-score { text-align: center; font: 700 1.15rem Jost, sans-serif; white-space: nowrap; }
.m-score i { font-style: normal; color: var(--muted); padding: 0 4px; font-weight: 400; }
.m-day { position: absolute; right: 16px; bottom: 3px; font-size: .68rem; color: var(--muted); }
@media (max-width: 720px) { .match { grid-template-columns: 1fr 64px 1fr; } .m-date { grid-column: 1 / -1; } .m-day { position: static; grid-column: 1 / -1; } }

/* FAQ */
.faqlist { display: grid; gap: 8px; margin-bottom: 8px; max-width: 820px; }
.qa { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0 16px; }
.qa summary { cursor: pointer; list-style: none; padding: 14px 28px 14px 0; font: 600 1.02rem Jost, sans-serif; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 2px; top: 10px; font-size: 1.4rem; color: var(--lime); transition: transform .2s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { margin: 0 0 12px; color: var(--muted); }
.qa .more { margin-bottom: 12px; font-size: .85rem; }
.qa-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; font-weight: 500; }
.qa-link:hover { border-color: var(--lime); }
.faq-one h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); max-width: 820px; }
.faq-answer { font-size: 1.15rem; line-height: 1.7; max-width: 760px; margin: 18px 0; }

/* tabela de classificação e notícias */
.stand { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-variant-numeric: tabular-nums; }
.stand th, .stand td { padding: 9px 10px; text-align: center; border-bottom: 1px solid var(--line); font-size: .92rem; }
.stand th { color: var(--muted); font: 600 .72rem Jost, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.stand .tl { text-align: left; width: 100%; min-width: 150px; }
.stand tr:nth-child(-n+5) td:first-child { box-shadow: inset 3px 0 0 var(--lime); }
.ngrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.ncard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ncard:hover { border-color: var(--lime); }
.nimg { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg2); }
.nimg img { width: 100%; height: 100%; object-fit: cover; }
.nbody { padding: 12px 14px 14px; display: grid; gap: 6px; }
.nbody b { font: 600 1rem/1.3 Jost, sans-serif; }
.nbody small { color: var(--muted); }

/* marca: letra S no quadrado */
.mark { font: 800 17px/1 Jost, sans-serif; letter-spacing: 0; }
.mark.sm { font-size: 13px; }

/* ======================================================================
   Área do agente, comparador, rankings, páginas legais e acabamento (2026-10-06)
   ====================================================================== */
.skip { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--lime); color: var(--limeink); padding: 10px 16px; border-radius: 7px; font-weight: 700; }
.skip:focus { top: 8px; }
.top nav .loginlink { color: var(--ink); }
.lnk { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.inl { display: inline; margin: 0; }
.linkbtn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--muted); font: 500 .92rem Ubuntu, sans-serif; cursor: pointer; padding: 6px 4px; }
.linkbtn:hover { color: var(--ink); }
.linkbtn.danger:hover, .iconbtn.danger:hover { color: #e5484d; }
.iconbtn { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 7px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; padding: 0; }
.iconbtn:hover { color: var(--ink); border-color: var(--muted); }
.hint { display: block; font-style: normal; color: var(--muted); font-size: .78rem; margin-top: 2px; }
textarea { font: 400 .95rem Ubuntu, sans-serif; padding: 9px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg2); color: var(--ink); max-width: 100%; width: 100%; resize: vertical; }
textarea:focus { outline: none; border-color: var(--lime); }
.danger-btn { background: #e5484d !important; color: #fff !important; }
.danger-zone { border-color: color-mix(in srgb, #e5484d 45%, var(--line)); }

/* abas e resumo */
.acc-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin: 4px 0 22px; border-bottom: 1px solid var(--line); }
.acc-tabs a { padding: 10px 14px; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.acc-tabs a:hover { color: var(--ink); }
.acc-tabs a.on { color: var(--lime); border-bottom-color: var(--lime); }
.ag-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.ag-kpis > div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.ag-kpis b { display: block; font: 700 1.35rem Ubuntu, sans-serif; line-height: 1.2; overflow-wrap: anywhere; }
.ag-kpis span { color: var(--muted); font-size: .82rem; }
.alist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.alist li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 8px; background: var(--bg2); border-left: 3px solid var(--line); }
.alist li.sev1 { border-left-color: #e5484d; } .alist li.sev2 { border-left-color: #e5484d; } .alist li.sev3 { border-left-color: var(--ember); } .alist li.sev4, .alist li.sev5 { border-left-color: var(--lime); }
.alist .material-icons-outlined { font-size: 20px; color: var(--muted); }
.alist a:hover { text-decoration: underline; }
.dbadge { display: inline-block; padding: 2px 9px; border-radius: 6px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.dbadge.d0 { background: color-mix(in srgb, #e5484d 22%, transparent); color: #e5484d; }
.dbadge.d1 { background: color-mix(in srgb, #e5484d 16%, transparent); color: #e5484d; }
.dbadge.d2 { background: color-mix(in srgb, var(--ember) 20%, transparent); color: var(--ember); }
.dbadge.d3 { background: color-mix(in srgb, var(--lime) 16%, transparent); color: var(--lime); }
.ctable td.num, .ctable th.num { text-align: right; white-space: nowrap; }
.pill.st-represented { --c: var(--lime); } .pill.st-negotiating { --c: var(--ember); } .pill.st-watching { --c: var(--df); } .pill.st-lost { --c: var(--na); }

/* carteira, formulários */
.pflist { display: grid; gap: 8px; }
.pfitem { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; }
.pfitem > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 12px 0; flex-wrap: wrap; }
.pfitem > summary::-webkit-details-marker { display: none; }
.pfitem.flat { display: flex; align-items: center; gap: 12px; padding: 10px 14px; flex-wrap: wrap; }
.pfname { display: grid; flex: 1 1 180px; min-width: 0; line-height: 1.25; }
.pfname a { font-weight: 600; } .pfname a:hover { color: var(--lime); }
.pfname small { color: var(--muted); }
.pfform { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; padding: 4px 0 14px; align-items: end; }
.pfform label { display: grid; gap: 4px; }
.pfform label small { color: var(--muted); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.pfform .wide { grid-column: 1 / -1; }
.pfform input, .pfform select { width: 100%; }
.pfactions { grid-column: 1 / -1; }
.notef { display: flex; gap: 6px; flex: 1 1 220px; }
.notef input { flex: 1; min-width: 0; }
.panel h3 { margin: 0; font: 600 1.05rem Ubuntu, sans-serif; }
.rqlist { display: grid; gap: 12px; margin-top: 18px; }
.rq.closed { opacity: .65; }
.rq-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rq-h { margin: 14px 0 6px; font: 600 .78rem Ubuntu, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mrow { display: flex; flex-wrap: wrap; gap: 8px; }
.mchip2 { display: inline-flex; align-items: center; gap: 8px; padding: 3px 12px 3px 3px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); font-size: .9rem; }
.mchip2:hover { border-color: var(--lime); }
.mchip2 em { font-style: normal; font-weight: 700; color: var(--lime); }
.rq-act { margin-top: 10px; display: flex; gap: 14px; }

/* funil */
.kanban { display: grid; grid-template-columns: repeat(5, minmax(210px, 1fr)); gap: 12px; margin-top: 22px; overflow-x: auto; padding-bottom: 8px; align-items: start; }
.kcol { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 12px; min-height: 120px; }
.kcol h3 { margin: 0 0 4px; font: 600 .82rem Ubuntu, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
.kcol h3 span { color: var(--ink); }
.ktot { margin: 0 0 10px; font-weight: 700; color: var(--lime); font-size: .9rem; }
.kcard { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin-top: 8px; display: grid; gap: 4px; }
.kcard small { color: var(--muted); }
.kval { font-weight: 700; color: var(--lime); }
.kact { display: flex; gap: 4px; margin-top: 4px; }
.kcol.st-closed { border-color: color-mix(in srgb, var(--lime) 40%, var(--line)); }

/* lista compartilhada */
.sharebox { display: flex; gap: 8px; flex-wrap: wrap; }
.sharebox input { flex: 1 1 280px; min-width: 0; }
.lcard { display: grid; gap: 6px; }
.lnote { margin: 0; padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; font-size: .88rem; color: var(--muted); }

/* ferramentas na ficha do jogador */
.ptools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; }
.ptools-list { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.ptools-list select, .ptools-list input { padding: 7px 10px; max-width: 170px; }
.tbtn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 7px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 .9rem Ubuntu, sans-serif; cursor: pointer; }
.tbtn:hover { border-color: var(--lime); }
.tbtn.on { border-color: var(--lime); color: var(--lime); }
.tbtn .material-icons-outlined { font-size: 18px; }
.savesearch { display: flex; gap: 8px; margin: -6px 0 14px; flex-wrap: wrap; }
.savesearch input { flex: 0 1 240px; }
.covtag { display: inline-flex; align-items: center; gap: 5px; margin: 4px 0 0; padding: 2px 9px; border-radius: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; background: color-mix(in srgb, var(--ember) 18%, transparent); color: var(--ember); width: fit-content; }
.covtag .material-icons-outlined { font-size: 14px; }
.comp .covtag { margin-top: 2px; }

/* comparador */
.cmp { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.cmp th, .cmp td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cmp tbody th { color: var(--muted); font: 600 .75rem Ubuntu, sans-serif; letter-spacing: .08em; text-transform: uppercase; width: 150px; }
.cmp td.best { color: var(--lime); font-weight: 700; }
.cmp td small { color: var(--muted); font-weight: 400; }
.cmp-head { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.ctray { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 80; background: var(--surface2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; box-shadow: 0 18px 40px -16px #000; max-width: calc(100vw - 24px); }
.ctray[hidden] { display: none; }
.ctray b { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ctray .chipx { display: inline-flex; align-items: center; gap: 4px; background: var(--bg2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 4px 3px 12px; font-size: .88rem; }
.ctray .chipx button { background: none; border: 0; color: var(--muted); cursor: pointer; display: grid; place-items: center; padding: 2px; }
.ctray .go { background: var(--lime); color: var(--limeink); border-radius: 7px; padding: 7px 14px; font-weight: 700; }

/* rankings */
.rk { margin: 0; padding: 0; list-style: none; counter-reset: rk; display: grid; gap: 6px; }
.rk li { counter-increment: rk; display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.rk li::before { content: counter(rk); width: 22px; color: var(--muted); font-weight: 700; font-size: .85rem; }
.rk a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rk a:hover { color: var(--lime); }
.rk b { font: 700 1rem Ubuntu, sans-serif; color: var(--lime); }
.rk3 { grid-template-columns: repeat(3, 1fr); }

/* páginas legais */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.25rem; margin: 28px 0 8px; }
.legal p { margin: 0 0 12px; color: var(--ink); line-height: 1.7; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; }
.foot-links a { color: var(--muted); } .foot-links a:hover { color: var(--lime); }

/* estados vazios e carregamento */
.empty { padding: 28px 0; color: var(--muted); }
.empty p { margin: 0 0 8px; }
#results.loading .pcard { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }

/* menu: mais itens, então o hambúrguer entra mais cedo */
@media (min-width: 721px) and (max-width: 940px) {
  .top nav.dnav { display: none; }
  .hambtn { display: grid; margin-left: auto; }
}
@media (max-width: 960px) { .rk3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .kanban { grid-template-columns: repeat(5, 240px); } .ctray { left: 12px; right: 12px; transform: none; } }

/* notícias em lista (estilo newwws.today) + página da notícia */
.nlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.nrow { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.nrow:last-child { border-bottom: 0; }
.nthumb { flex: 0 0 132px; height: 88px; border-radius: 7px; overflow: hidden; background: var(--surface2); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.nthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nbody2 { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.ntitle { font: 500 1.08rem/1.35 Ubuntu, sans-serif; color: var(--ink); }
.ntitle:hover { color: var(--lime); }
.nmeta { font-size: .8rem; color: var(--muted); }
.nmeta.big { font-size: .9rem; margin: 6px 0 18px; }
.nart { max-width: 780px; padding-bottom: 40px; }
.nart h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.2; margin: 6px 0 4px; }
.crumbs { font-size: .85rem; color: var(--muted); margin: 18px 0 14px; }
.crumbs a:hover { color: var(--lime); }
.nhero { border-radius: 10px; overflow: hidden; background: var(--surface2); margin-bottom: 18px; }
.nhero img { width: 100%; max-height: 440px; object-fit: cover; display: block; }
.nsummary { font-size: 1.1rem; line-height: 1.65; margin: 0 0 22px; }
.sbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.sstat { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: .88rem; margin-right: 6px; }
.sstat .material-icons-outlined, .sbtn .material-icons-outlined { font-size: 19px; }
.sbtn { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-radius: 7px; padding: 7px 12px; font: 500 .85rem Ubuntu, sans-serif; cursor: pointer; transition: border-color .15s, color .15s; }
.sbtn:hover { border-color: var(--lime); color: var(--lime); }
.sbtn.like.on { color: var(--ember); border-color: var(--ember); }
.readorig { margin-bottom: 8px; }
.nnote { font-size: .8rem; margin: 8px 0 34px; }
.nrel h2 { font-size: 1.3rem; margin: 0 0 6px; }
@media (max-width: 560px) { .nthumb { flex-basis: 96px; height: 72px; } .ntitle { font-size: 1rem; } }

/* logo (máscara PNG: a cor segue o tema) */
.logo { display: block; height: 38px; aspect-ratio: 418 / 160; background: var(--lime); -webkit-mask: url(../img/logo-mask.png) center / contain no-repeat; mask: url(../img/logo-mask.png) center / contain no-repeat; }
:root[data-theme="light"] .logo { background: #0a7360; }
.top .brand { gap: 0; }
@media (max-width: 560px) { .logo { height: 32px; } }
.logo.sm { height: 30px; }

/* destaque no celular: foto maior, enquadrando o jogador de busto */
@media (max-width: 720px) {
  .spot-stage { height: 560px; }
  .slide { grid-template-rows: 280px 1fr; }
  .slide-photo .av img { object-position: center 12%; }
}
