:root {
  --bg: #060606;
  --card: #100f0b;
  --card-2: #16140e;
  --line: #2b2513;
  --text: #f5efe0;
  --muted: #9b927a;
  --gold: #e0a526;      /* amarelo-ouro do escudo, um tom mais escuro */
  --gold-2: #f6c545;
  --gold-3: #8f6710;
  --win: #58b56e;
  --draw: #b9a45c;
  --loss: #d4574a;
  --radius: 18px;
  --grad: linear-gradient(135deg, #f9d566 0%, #e0a526 45%, #8f6710 100%);
  --display: "Bebas Neue", Impact, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; line-height: 1.5; overflow-x: hidden; }
a { color: var(--gold-2); text-decoration: none; }
button { font-family: inherit; }
.gold { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
::selection { background: var(--gold); color: #111; }

/* fundo */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1100px 620px at 50% -8%, rgba(224,165,38,.2), transparent 62%),
    radial-gradient(700px 500px at 100% 100%, rgba(143,103,16,.14), transparent 60%),
    linear-gradient(rgba(224,165,38,.045) 1px, transparent 1px) 0 0/52px 52px,
    linear-gradient(90deg, rgba(224,165,38,.045) 1px, transparent 1px) 0 0/52px 52px;
}
#sparks { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }
.tip { position: fixed; z-index: 80; pointer-events: none; background: #0b0a07; border: 1px solid var(--gold-3); border-radius: 10px; padding: 8px 12px; font-size: 12px; line-height: 1.5; box-shadow: 0 10px 30px rgba(0,0,0,.6); max-width: 240px; }
.tip b { color: var(--gold-2); font-size: 13px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 18px; padding: 10px clamp(16px, 4vw, 44px); background: rgba(6,6,6,.74); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--display); font-size: 24px; letter-spacing: 1.5px; white-space: nowrap; }
.brand b { color: var(--gold); font-weight: 400; }
.links { display: flex; gap: 18px; margin-left: auto; }
.links a { color: var(--muted); font-size: 13px; font-weight: 600; position: relative; white-space: nowrap; }
.links a:hover, .links a.on { color: var(--text); }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold); transform: scaleX(0); transition: .25s; }
.links a:hover::after, .links a.on::after { transform: scaleX(1); }
.game-switch { display: flex; background: #14120c; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.game-switch button { border: 0; background: none; color: var(--muted); font: 700 12px Inter; padding: 7px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.game-switch button.active { background: var(--grad); color: #111; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 6px 10px; font-size: 18px; cursor: pointer; }

/* escudo */
.crest { display: inline-block; flex: none; }
.crest img, .crest svg { width: 100%; height: 100%; object-fit: contain; display: block; }
.crest-sm { width: 34px; height: 42px; }
.crest-xl { width: clamp(190px, 26vw, 300px); height: clamp(235px, 32vw, 370px); filter: drop-shadow(0 30px 40px rgba(0,0,0,.7)); }

/* hero */
.hero { min-height: calc(100vh - 110px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 16px 44px; }
.hero-crest { position: relative; transition: transform .15s ease-out; animation: float 6s ease-in-out infinite; will-change: transform; }
.halo { position: absolute; inset: -25%; z-index: -1; background: radial-gradient(circle, rgba(246,197,69,.38), transparent 62%); filter: blur(12px); animation: pulse 4s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -12px; } }
@keyframes pulse { 50% { opacity: .5; scale: 1.1; } }
.eyebrow { margin: 22px 0 0; text-transform: uppercase; letter-spacing: 4px; font-size: 12px; color: var(--gold); font-weight: 700; }
.title { font-family: var(--display); font-weight: 400; font-size: clamp(60px, 12.5vw, 160px); line-height: .9; margin: 6px 0; letter-spacing: 2px; }
.motto { color: var(--muted); font-size: clamp(15px, 2vw, 19px); margin: 6px 0 22px; font-style: italic; }
.demo-banner { border: 1px dashed var(--gold-3); color: var(--gold-2); background: rgba(224,165,38,.07); padding: 8px 14px; border-radius: 10px; font-size: 13px; margin-bottom: 20px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; width: min(880px, 100%); }
.kpi { background: linear-gradient(180deg, var(--card-2), #0b0a08); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 10px; position: relative; overflow: hidden; }
.kpi::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--grad); }
.kpi .v { font-family: var(--display); font-size: clamp(34px, 5vw, 54px); line-height: 1; }
.kpi .l { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }

/* faixa rolante */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: #0a0906; padding: 12px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { white-space: nowrap; padding: 0 28px; font-size: 13px; color: var(--muted); }
.ticker span i { font-style: normal; margin-right: 8px; }
.ticker span b { color: var(--gold-2); text-transform: uppercase; letter-spacing: 1px; font-size: 12px; margin-right: 6px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* seções */
.section { max-width: 1240px; margin: 0 auto; padding: 84px clamp(16px, 4vw, 40px) 10px; }
.sec-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.sec-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 66px); margin: 0; letter-spacing: 1px; line-height: 1; }
.sec-tag { font-family: var(--display); color: var(--gold); font-size: 22px; }
.sub { color: var(--muted); margin: -8px 0 18px; }
.h3 { font-family: var(--display); font-weight: 400; font-size: 30px; margin: 38px 0 14px; letter-spacing: 1px; }
.card { background: linear-gradient(180deg, var(--card), #0a0907); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 14px; font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold-2); }
.card h3 small { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 500; }
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.empty { color: var(--muted); padding: 28px; text-align: center; border: 1px dashed var(--line); border-radius: 14px; grid-column: 1 / -1; }

/* controles */
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: #14120c; border: 1px solid var(--line); color: var(--muted); padding: 8px 14px; border-radius: 999px; font: 600 13px Inter; cursor: pointer; transition: .2s; }
.chip:hover { color: var(--text); border-color: var(--gold-3); }
.chip.active { background: var(--grad); color: #111; border-color: transparent; }
.row-tight { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.select, .search { background: #14120c; border: 1px solid var(--line); color: var(--text); padding: 9px 14px; border-radius: 999px; font: 600 13px Inter; width: auto; max-width: 100%; }
.search { min-width: 200px; font-weight: 400; }
:is(input, select, textarea, button, summary):focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn { background: var(--grad); color: #111; border: 0; font: 800 14px Inter; padding: 11px 18px; border-radius: 10px; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--gold-2); border: 1px solid var(--gold-3); }
.btn.ghost:hover { background: rgba(224,165,38,.1); }
.btn.sm { padding: 8px 14px; font-size: 13px; }

/* raio-x */
.season-grid { display: grid; grid-template-columns: 320px 1fr; gap: 18px; margin-bottom: 18px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.two-col.one { grid-template-columns: 1fr; }
.two-col.one .pitch { aspect-ratio: 16 / 8; }
[hidden] { display: none !important; }
.donut-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.donut { width: 220px; height: 220px; }
.donut circle { transition: stroke-dasharray 1.2s cubic-bezier(.2,.8,.2,1); }
.donut-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: 12px; color: var(--muted); }
.donut-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.stat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; transition: transform .2s, border-color .2s; }
.tile:hover { transform: translateY(-3px); border-color: var(--gold-3); }
.tile .v { font-family: var(--display); font-size: 38px; line-height: 1; color: var(--gold-2); }
.tile .l { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.compare-bars { display: grid; gap: 16px; }
.cmp-row { display: grid; grid-template-columns: 84px 1fr; gap: 10px; align-items: center; font-size: 13px; }
.cmp-row .tracks { display: grid; gap: 5px; }
.cmp-track { display: grid; grid-template-columns: 44px 1fr 40px; gap: 8px; align-items: center; font-size: 11px; color: var(--muted); opacity: .55; }
.cmp-track.cur { opacity: 1; color: var(--text); }
.cmp-track .t { background: #1a1710; border-radius: 6px; height: 9px; overflow: hidden; }
.cmp-fill { height: 100%; border-radius: 6px; background: var(--grad); width: 0; transition: width 1s ease; }
.cmp-track .n { text-align: right; font-weight: 700; }

/* campinho */
.pitch { position: relative; aspect-ratio: 4 / 4.4; border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  background: repeating-linear-gradient(0deg, #0f130c 0 11.11%, #0c0f0a 11.11% 22.22%); }
.pitch-lines { position: absolute; inset: 10px; border: 1.5px solid rgba(224,165,38,.3); border-radius: 6px; }
.pitch-lines::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid rgba(224,165,38,.3); }
.pitch-lines::after { content: ""; position: absolute; left: 50%; top: 50%; width: 26%; aspect-ratio: 1; translate: -50% -50%; border: 1.5px solid rgba(224,165,38,.3); border-radius: 50%; }
.pdot { position: absolute; translate: -50% -50%; background: none; border: 0; color: var(--text); cursor: pointer; display: grid; justify-items: center; gap: 2px; padding: 0; transition: scale .2s; }
.pdot:hover { scale: 1.12; z-index: 2; }
.pdot span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #111; font-family: var(--display); font-size: 20px; box-shadow: 0 0 0 3px #0b0a07, 0 6px 18px rgba(0,0,0,.6); }
.pdot em { font-style: normal; font-size: 11px; font-weight: 700; background: rgba(0,0,0,.6); padding: 1px 6px; border-radius: 6px; white-space: nowrap; }
.pdot small { font-size: 10px; color: var(--gold-2); font-weight: 700; }

/* troféus & micos */
.awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.award { height: 230px; perspective: 1000px; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; animation: pop .5s both; animation-delay: calc(var(--i) * 50ms); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.96); } }
.award-in { position: relative; width: 100%; height: 100%; transition: transform .7s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; }
.award.flip .award-in { transform: rotateY(180deg); }
.award-f, .award-b { position: absolute; inset: 0; backface-visibility: hidden; border-radius: var(--radius); padding: 20px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; border: 1px solid var(--line); }
.award-f { background: radial-gradient(120% 90% at 50% 0%, #241d0c, var(--card) 70%); }
.award:hover .award-f { border-color: var(--gold-3); }
.award-b { transform: rotateY(180deg); background: linear-gradient(160deg, #2b220c, #0c0b08 75%); border-color: var(--gold); box-shadow: inset 0 0 40px rgba(224,165,38,.12); }
.awards.shame .award-f { background: radial-gradient(120% 90% at 50% 0%, #2a120e, var(--card) 70%); }
.awards.shame .award-b { background: linear-gradient(160deg, #331510, #0c0b08 75%); border-color: var(--loss); box-shadow: inset 0 0 40px rgba(212,87,74,.12); }
.award .ic { font-size: 44px; line-height: 1; filter: drop-shadow(0 6px 12px rgba(0,0,0,.6)); }
.award h4 { font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: 1px; margin: 4px 0 0; line-height: 1; }
.award p { margin: 0; font-size: 13px; color: var(--muted); }
.award-b p { color: var(--text); }
.award .hint { margin-top: auto; font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); font-weight: 700; }
.award .hint.link:hover { text-decoration: underline; }
.award .pc-avatar { width: 58px; height: 58px; font-size: 26px; margin: 0; }

/* cartas de jogador */
.squad { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 20px; }
.pcard { position: relative; cursor: pointer; border: 0; padding: 0; background: none; color: inherit; text-align: center; aspect-ratio: 3 / 4.2; perspective: 900px; animation: pop .5s both; animation-delay: calc(var(--i) * 40ms); }
.pcard-inner { position: absolute; inset: 0; border-radius: 22px 22px 60px 60px / 22px 22px 40px 40px; background: var(--grad); padding: 2px; transition: transform .2s ease-out, box-shadow .25s; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.pcard-face { height: 100%; border-radius: inherit; background: radial-gradient(120% 80% at 50% 0%, #2b2411, #0b0a07 70%); display: flex; flex-direction: column; align-items: center; padding: 16px 14px; position: relative; overflow: hidden; }
.pcard-face::after { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, -40%), rgba(255,225,140,.22), transparent 60%); pointer-events: none; }
.pcard:hover .pcard-inner { box-shadow: 0 22px 50px rgba(224,165,38,.28); }
.pc-top { display: flex; width: 100%; justify-content: space-between; align-items: flex-start; }
.pc-ovr { font-family: var(--display); font-size: 46px; line-height: .9; color: var(--gold-2); text-align: left; }
.pc-pos { font: 800 12px Inter; color: var(--gold); letter-spacing: 1px; }
.pc-avatar { width: 72px; height: 72px; flex: none; border-radius: 50%; margin: 2px 0 8px; display: grid; place-items: center; font-family: var(--display); font-size: 36px; color: #111; background: var(--grad); box-shadow: 0 0 0 3px #0b0a07, 0 0 0 4px var(--gold-3); }
.pc-pro { font-size: 11px; color: var(--gold); font-weight: 600; margin: -2px 0 8px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-name { font-family: var(--display); font-size: 23px; letter-spacing: 1px; margin-bottom: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 8px; width: 100%; border-top: 1px solid rgba(224,165,38,.3); padding-top: 10px; margin-top: auto; }
.pc-stats div { font-size: 10px; color: var(--muted); letter-spacing: .5px; font-weight: 600; }
.pc-stats b { display: block; font-family: var(--display); font-size: 21px; color: var(--text); font-weight: 400; }

/* laboratório */
.lab-card { margin-bottom: 18px; }
.lab-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.lab-head h3 { margin: 0; }
.inline { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; color: var(--muted); grid-template-columns: none; }
.vs { font-family: var(--display); font-size: 22px; color: var(--gold); }
.sel-a { border-color: var(--gold); color: var(--gold-2); }
.sel-b { border-color: #cfc8b6; }
.duel { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 22px; align-items: center; }
.radar { width: 100%; height: auto; overflow: visible; }
.radar-poly { transition: all .5s; animation: fadeIn .6s both; }
@keyframes fadeIn { from { opacity: 0; } }
.duel-rows { display: grid; gap: 7px; }
.duel-row { display: grid; grid-template-columns: 54px 1fr minmax(120px, 170px) 1fr 54px; gap: 8px; align-items: center; font-size: 13px; }
.dv { font-family: var(--display); font-size: 20px; color: var(--muted); text-align: right; }
.dv:last-child { text-align: left; }
.dv.w { color: var(--gold-2); }
.dl { text-align: center; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.db { height: 8px; background: #1a1710; border-radius: 5px; overflow: hidden; display: flex; }
.db.l { justify-content: flex-end; }
.db i { display: block; height: 100%; width: 0; background: #5d5644; border-radius: 5px; transition: width .8s cubic-bezier(.2,.8,.2,1); }
.db i.w { background: var(--grad); }
.verdict { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); }
.verdict b { color: var(--gold-2); }
.scatter { width: 100%; height: auto; display: block; }
.dot { cursor: pointer; }
.dot circle { fill: rgba(224,165,38,.2); stroke: var(--gold); stroke-width: 2; transition: fill .2s, r .2s; animation: fadeIn .6s both; animation-delay: calc(var(--i) * 50ms); }
.dot text { font: 800 11px Inter; fill: var(--text); pointer-events: none; }
.dot:hover circle { fill: var(--gold); }
.dot:hover text { fill: #111; }
.bars { display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 30px 150px 1fr 76px; align-items: center; gap: 12px; background: none; border: 0; color: inherit; padding: 4px 6px; border-radius: 10px; cursor: pointer; text-align: left; }
.bar-row:hover { background: rgba(224,165,38,.06); }
.bar-pos { font-family: var(--display); font-size: 24px; color: var(--muted); text-align: center; }
.bar-row:nth-child(1) .bar-pos { color: var(--gold-2); }
.bar-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { height: 12px; background: #1a1710; border-radius: 8px; overflow: hidden; }
.bar-fill { height: 100%; width: 0; background: var(--grad); border-radius: 8px; transition: width 1s cubic-bezier(.2,.8,.2,1); }
.bar-fill.inv { background: linear-gradient(90deg, #7c2a22, var(--loss)); }
.bar-val { font-family: var(--display); font-size: 24px; text-align: right; color: var(--gold-2); }

/* tabela */
.table-wrap { padding: 0; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 13px; }
th, td { padding: 10px 12px; text-align: right; white-space: nowrap; }
th.l, td.l { text-align: left; }
th { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; border-bottom: 1px solid var(--line); }
.full th { cursor: pointer; user-select: none; position: sticky; top: 0; background: var(--card); }
.full th:hover { color: var(--gold-2); }
.full td { border-bottom: 1px solid #1c1910; background: rgba(224,165,38,var(--h, 0)); font-variant-numeric: tabular-nums; }
.full td.l { background: var(--card); position: sticky; left: 0; font-weight: 700; z-index: 1; }
.full th.l { left: 0; z-index: 2; }
.full tbody tr { cursor: pointer; }
.full tbody tr:hover td { box-shadow: inset 0 1px 0 var(--gold-3), inset 0 -1px 0 var(--gold-3); }
.tpos { display: inline-block; width: 34px; font-size: 10px; color: var(--gold); font-weight: 800; }

/* partidas */
.form-strip { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; align-items: center; color: var(--muted); font-size: 13px; }
.form-strip span { margin-right: 6px; }
.form-dot { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font: 800 12px Inter; color: #111; font-style: normal; }
.form-dot.W { background: var(--win); } .form-dot.D { background: var(--draw); } .form-dot.L { background: var(--loss); }
.matches { display: grid; gap: 10px; }
.match { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--draw); border-radius: 14px; overflow: hidden; }
.match.W { border-left-color: var(--win); } .match.L { border-left-color: var(--loss); }
.match summary { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px 16px; align-items: center; padding: 14px 18px; cursor: pointer; list-style: none; }
.match summary::-webkit-details-marker { display: none; }
.match summary:hover { background: rgba(224,165,38,.05); }
.match .team { font-weight: 700; }
.match .team.away { text-align: right; }
.match .score { font-family: var(--display); font-size: 34px; letter-spacing: 2px; line-height: 1; }
.match .score small { font-size: 16px; color: var(--muted); margin: 0 6px; }
.match .meta { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
.m-detail { border-top: 1px solid var(--line); overflow-x: auto; padding: 4px 6px 8px; }
.m-detail td.r { color: var(--gold-2); font-weight: 700; }

/* hall */
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 16px; align-items: end; margin: 24px 0; }
.pod { text-align: center; background: linear-gradient(180deg, var(--card-2), #0a0907); border: 1px solid var(--line); border-radius: var(--radius) var(--radius) 6px 6px; padding: 22px 14px; }
.pod.first { border-color: var(--gold); box-shadow: 0 0 60px rgba(224,165,38,.2); padding-bottom: 46px; }
.pod .medal { font-family: var(--display); font-size: 52px; line-height: 1; }
.pod.first .medal { color: var(--gold-2); } .pod.second .medal { color: #cfcfcf; } .pod.third .medal { color: #c98a4b; }
.pod .nm { font-family: var(--display); font-size: 28px; letter-spacing: 1px; }
.pod .ds { color: var(--muted); font-size: 13px; }
.plaques, .honors { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.plaque { position: relative; padding: 20px; border-radius: 14px; background: linear-gradient(145deg, #1f190c, #0b0a07); border: 1px solid var(--gold-3); transition: transform .2s; }
.plaque:hover { transform: translateY(-4px); }
.plaque::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(224,165,38,.22); border-radius: 10px; pointer-events: none; }
.plaque .k { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); font-weight: 700; }
.plaque .n { font-family: var(--display); font-size: 30px; letter-spacing: 1px; margin: 4px 0; }
.plaque .v { color: var(--muted); font-size: 13px; }
.honor { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.honor .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--grad); display: grid; place-items: center; font-size: 22px; }
.honor b { display: block; }
.honor span { color: var(--muted); font-size: 13px; }

/* importar */
.import-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 18px; }
label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.import-grid :is(input, select, textarea) { background: #090806; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 10px 12px; font: 14px Inter; width: 100%; }
.import-grid textarea { font: 12px ui-monospace, Consolas, monospace; resize: vertical; }
textarea.drag { border-color: var(--gold); background: rgba(224,165,38,.08); }
.links-list { display: grid; gap: 8px; }
.links-list a { display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 12px; background: #0c0b08; overflow-wrap: anywhere; color: var(--muted); }
.links-list a:hover { border-color: var(--gold-3); }
.links-list a b { color: var(--gold-2); display: block; font-size: 13px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.msg { min-height: 20px; font-size: 13px; color: var(--gold-2); }

/* ficha */
.modal { background: #0c0b08; color: var(--text); border: 1px solid var(--gold-3); border-radius: 22px; padding: 26px; width: min(760px, 94vw); max-height: 92vh; }
.modal::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(5px); }
.modal[open] { animation: pop .35s both; }
.close { position: absolute; top: 14px; right: 14px; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 50%; width: 34px; height: 34px; cursor: pointer; }
.m-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.m-head .pc-avatar { margin: 0; width: 64px; height: 64px; font-size: 30px; }
.m-head h3 { font-family: var(--display); font-weight: 400; font-size: 40px; margin: 0; line-height: 1; letter-spacing: 1px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.badge { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--gold-3); color: var(--gold-2); background: rgba(224,165,38,.08); }
.badge.shame { border-color: #7c2a22; color: #f08a7e; background: rgba(212,87,74,.08); }
.m-body { display: grid; grid-template-columns: 300px 1fr; gap: 18px; align-items: center; }
.m-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-grid .tile { padding: 10px 12px; }
.m-grid .tile .v { font-size: 26px; }
.m-grid .tile .l { font-size: 10px; }
.m-hist { margin: 16px 0; overflow-x: auto; }
.m-hist h4 { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: 1px; margin: 0 0 4px; }
.m-hist td { border-bottom: 1px solid var(--line); }

.footer { text-align: center; padding: 56px 16px 40px; border-top: 1px solid var(--line); margin-top: 80px; color: var(--muted); }
.footer .crest { width: 64px; height: 79px; }

@media (max-width: 1180px) {
  .links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #0a0907; border-bottom: 1px solid var(--line); }
  .links.open { display: flex; }
  .links a { padding: 14px 20px; }
  .links a::after { display: none; }
  .menu-btn { display: block; }
  .game-switch { margin-left: auto; }
}
@media (max-width: 900px) {
  .season-grid, .import-grid, .two-col, .duel { grid-template-columns: 1fr; }
  .duel .radar { max-width: 380px; margin: 0 auto; }
  .m-body { grid-template-columns: 1fr; }
  .m-body .radar { max-width: 300px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .brand-text { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .stat-tiles { grid-template-columns: repeat(2, 1fr); }
  .bar-row { grid-template-columns: 24px 1fr 64px; }
  .bar-row .bar-track { grid-column: 1 / -1; grid-row: 2; }
  .podium { grid-template-columns: 1fr; }
  .pod.first { order: -1; padding-bottom: 22px; }
  .squad, .awards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .award { height: 210px; } .award h4 { font-size: 22px; } .award .ic { font-size: 36px; }
  .pc-ovr { font-size: 34px; } .pc-avatar { width: 58px; height: 58px; font-size: 26px; } .pc-name { font-size: 18px; } .pc-stats b { font-size: 17px; }
  .duel-row { grid-template-columns: 44px 1fr 92px 1fr 44px; gap: 5px; }
  .dv { font-size: 17px; } .dl { font-size: 9px; }
  .m-grid { grid-template-columns: repeat(2, 1fr); }
  .modal { padding: 18px; }
  .match summary { padding: 12px; gap: 4px 10px; } .match .team { font-size: 13px; } .match .score { font-size: 28px; }
  .search { min-width: 0; flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.game-switch[hidden] + .menu-btn { margin-left: auto; }

/* ---- mapa do elenco em destaque ---- */
.map-card { border-color: var(--gold-3); box-shadow: 0 0 80px rgba(224,165,38,.1); padding: clamp(18px, 3vw, 32px); }
.map-title h3 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 5vw, 52px); letter-spacing: 1px; color: var(--text); text-transform: none; margin: 0; line-height: 1; }
.map-title p { color: var(--muted); margin: 6px 0 16px; max-width: 70ch; }
.map-card .chips { margin-bottom: 10px; }
.map-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 6px 0 16px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.legend b { color: var(--text); }
.dot circle { fill: color-mix(in srgb, var(--c) 22%, transparent); stroke: var(--c); }
.dot .ini { font: 800 11px Inter; fill: var(--text); pointer-events: none; }
.dot .nm { font: 600 10px Inter; fill: var(--muted); pointer-events: none; }
.dot:hover circle, .dot.hi circle { fill: var(--c); }
.dot:hover .ini, .dot.hi .ini { fill: #111; }
.dot:hover .nm, .dot.hi .nm { fill: var(--text); }
.scatter:has(.dot:hover) .dot:not(:hover), .scatter:has(.dot.hi) .dot:not(.hi) { opacity: .3; }
.dot { transition: opacity .2s; }
.quads { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quad { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #0c0b08; }
.quad.q0 { border-color: var(--gold-3); background: rgba(224,165,38,.06); }
.quad b { font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: 1px; color: var(--gold-2); display: block; margin-bottom: 6px; }
.quad.q3 b { color: #e58578; }
.quad > div { display: flex; flex-wrap: wrap; gap: 6px; }
.quad button { background: #17140d; border: 1px solid var(--line); color: var(--text); font: 600 12px Inter; padding: 5px 10px; border-radius: 999px; cursor: pointer; }
.quad button:hover { border-color: var(--gold); color: var(--gold-2); }
.chips.mode { background: #14120c; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 0; flex-wrap: nowrap; }
.chips.mode .chip { border: 0; background: none; padding: 6px 12px; font-size: 12px; white-space: nowrap; }
.chips.mode .chip.active { background: var(--grad); }

/* ---- índice gold ---- */
button.pod { color: inherit; font: inherit; cursor: pointer; transition: transform .2s; }
button.pod:hover { transform: translateY(-5px); }
.pod .ring { width: 92px; height: 92px; display: block; margin: 6px auto 8px; }
.pod.first .ring { width: 116px; height: 116px; }
.pod .pro { color: var(--gold); font-size: 12px; font-weight: 600; min-height: 18px; }
.idx-list { display: grid; gap: 6px; margin-top: 14px; }
.idx-row { display: grid; grid-template-columns: 30px 170px 1fr 54px; gap: 12px; align-items: center; background: none; border: 0; color: inherit; font: inherit; text-align: left; padding: 6px; border-radius: 10px; cursor: pointer; }
.idx-row:hover { background: rgba(224,165,38,.06); }
.idx-row.low { opacity: .55; }
.idx-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.idx-name em { font-style: normal; font-weight: 500; font-size: 11px; color: var(--muted); }
.idx-bar { display: flex; height: 16px; background: #1a1710; border-radius: 8px; overflow: hidden; }
.idx-bar i { display: block; height: 100%; transition: filter .15s; }
.idx-bar i:hover { filter: brightness(1.35); }
.idx-row:nth-child(1) .bar-pos { color: var(--gold-2); }
.m-idx { margin-left: auto; margin-right: 34px; text-align: center; border: 1px solid var(--gold-3); border-radius: 14px; padding: 6px 14px; background: rgba(224,165,38,.08); }
.m-idx b { display: block; font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; color: var(--gold-2); }
.m-idx span { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 700; }

/* ---- troféus ---- */
.honors { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.honor { position: relative; overflow: hidden; padding: 20px; gap: 18px; border-color: var(--gold-3); background: radial-gradient(120% 140% at 0% 0%, #2a210c, #0b0a07 65%); }
.honor::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,230,150,.14) 50%, transparent 65%); transform: translateX(-100%); animation: shine 5s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 40%, 100% { transform: translateX(100%); } }
.honor .ic { width: 72px; height: 72px; background: none; border-radius: 0; filter: drop-shadow(0 8px 18px rgba(224,165,38,.45)); }
.honor .ic svg { width: 100%; height: 100%; }
.honor b { font-family: var(--display); font-weight: 400; font-size: 24px; letter-spacing: .5px; line-height: 1.1; }
.honor span { color: var(--gold); font-weight: 700; font-size: 12px; letter-spacing: 1px; }

@media (max-width: 600px) {
  .idx-row { grid-template-columns: 22px 1fr 46px; }
  .idx-row .idx-bar { grid-column: 1 / -1; grid-row: 2; }
  .dot .nm { display: none; }
  .m-idx { margin-right: 30px; padding: 4px 10px; } .m-idx b { font-size: 26px; }
  .m-head h3 { font-size: 28px; }
}

/* ---- campinho por função ---- */
.pitch, .two-col.one .pitch { aspect-ratio: 16 / 11; }
.prow { position: absolute; left: 18px; translate: 0 -50%; font-family: var(--display); font-size: 15px; letter-spacing: 2px; color: rgba(224,165,38,.38); pointer-events: none; }
.pdot { touch-action: none; cursor: grab; user-select: none; }
.pdot.drag { cursor: grabbing; scale: 1.15; z-index: 5; }
.pdot small { background: #14120c; border: 1px solid var(--line); border-radius: 999px; padding: 1px 7px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.pdot small.good { color: #8fe0a3; border-color: #2c6b3c; }
.pdot small.bad { color: #f08a7e; border-color: #7c2a22; }

/* ---- índice: penalidades, pontos fortes/fracos ---- */
.idx-row { grid-template-columns: 30px 170px 1fr 40px 46px; }
.idx-pen { font-weight: 800; font-size: 12px; color: #f08a7e; text-align: right; }
.legend .pen { flex-basis: 100%; }
.legend .pen i { background: var(--loss); }
.sw { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.sw h4, .fit h4 { font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: 1px; margin: 0 0 6px; }
.sw .badges { margin: 0; }
.fit { margin: 14px 0; }
.fit-row { display: grid; grid-template-columns: 120px 1fr 44px; gap: 10px; align-items: center; font-size: 13px; margin-bottom: 5px; }
.fit-row b { text-align: right; font-family: var(--display); font-weight: 400; font-size: 18px; color: var(--gold-2); }
.fit-row .bar-fill.dim { background: #5d5644; }
@media (max-width: 600px) {
  .pitch, .two-col.one .pitch { aspect-ratio: 3 / 4.6; }
  .prow { left: 10px; font-size: 12px; }
  .pdot span { width: 36px; height: 36px; font-size: 16px; }
  .pdot em { font-size: 10px; } .pdot small { font-size: 9px; }
  .idx-row { grid-template-columns: 22px 1fr 34px 40px; }
  .sw { grid-template-columns: 1fr; }
}

.pen-list { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.pen-list > b { flex-basis: 100%; color: #f08a7e; font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; }
.pen-list span { border: 1px solid #4a1d18; background: rgba(212,87,74,.07); border-radius: 999px; padding: 3px 10px; color: var(--text); }
.pen-list i { background: var(--loss); }
.pen-list em { font-style: normal; color: #f08a7e; font-weight: 700; margin-left: 4px; }

.prow.c { left: auto; translate: -50% -50%; font-size: 13px; white-space: nowrap; }
@media (max-width: 600px) { .prow.c { font-size: 10px; letter-spacing: 1px; } }

.prow.c { font-family: Inter, sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .5px; color: rgba(224,165,38,.45); text-transform: uppercase; }
.prow.c b { font-family: var(--display); font-weight: 400; font-size: 15px; letter-spacing: 1.5px; color: rgba(224,165,38,.75); margin-right: 3px; }
.pitch, .two-col.one .pitch { aspect-ratio: 16 / 12.5; }
@media (max-width: 600px) { .pitch, .two-col.one .pitch { aspect-ratio: 3 / 5; } .prow.c { font-size: 0; } .prow.c b { font-size: 12px; } }

.pitch, .two-col.one .pitch { aspect-ratio: 16 / 14; }
@media (max-width: 600px) { .pitch, .two-col.one .pitch { aspect-ratio: 3 / 5.4; } }

/* ---- fotos dos jogadores ---- */
.pc-avatar.has-photo { background: #0b0a07; overflow: hidden; }
.pc-avatar img, .pdot span img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; border-radius: 50%; }
.pcard .pc-avatar.has-photo { width: 104px; height: 104px; margin-top: -6px; }
.m-head .pc-avatar.has-photo { width: 96px; height: 96px; }
.pdot span:has(img) { background: #0b0a07; overflow: hidden; width: 52px; height: 52px; }
@media (max-width: 600px) { .pcard .pc-avatar.has-photo { width: 72px; height: 72px; } }

/* ---- fotos em destaque pelo site ---- */
.av { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #111; font: 400 14px var(--display); vertical-align: middle; margin-right: 9px; flex: none; overflow: hidden; box-shadow: 0 0 0 1.5px var(--gold-3); }
.av.ph { background: #0b0a07; box-shadow: 0 0 0 2px var(--gold); }
.av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; }
.av.lg { width: 58px; height: 58px; font-size: 26px; margin: 0; position: absolute; top: 16px; right: 16px; }
.plaque.rec { padding-right: 86px; min-height: 92px; }
.idx-row .av { width: 34px; height: 34px; }
.idx-row { grid-template-columns: 30px 210px 1fr 40px 46px; }
.pod .pc-avatar { margin: 8px auto 0; width: 84px; height: 84px; font-size: 38px; }
.pod .pc-avatar.has-photo { width: 124px; height: 124px; box-shadow: 0 0 0 3px #0b0a07, 0 0 0 5px var(--gold), 0 14px 36px rgba(0,0,0,.6); }
.pod.first .pc-avatar.has-photo { width: 164px; height: 164px; }
.pod .ring { width: 76px; height: 76px; margin-top: -26px; position: relative; background: #0b0a07; border-radius: 50%; }
.pod.first .ring { width: 92px; height: 92px; margin-top: -32px; }
.pcard .pc-avatar.has-photo { width: 124px; height: 124px; margin: -14px 0 6px; box-shadow: 0 0 0 3px #0b0a07, 0 0 0 4px var(--gold); }
.pdot span:has(img) { width: 62px; height: 62px; box-shadow: 0 0 0 3px #0b0a07, 0 0 0 5px var(--gold), 0 8px 20px rgba(0,0,0,.7); }
.dot image { pointer-events: none; }
.dot:has(image) circle { stroke-width: 3; }
.duel-faces { display: flex; justify-content: center; align-items: center; gap: clamp(16px, 5vw, 60px); margin: 10px 0 18px; }
.face { display: grid; justify-items: center; gap: 4px; text-align: center; }
.face .pc-avatar { margin: 0; width: 84px; height: 84px; }
.face .pc-avatar.has-photo { width: 128px; height: 128px; }
.face.a .pc-avatar { box-shadow: 0 0 0 3px #0b0a07, 0 0 0 5px var(--gold); }
.face.b .pc-avatar { box-shadow: 0 0 0 3px #0b0a07, 0 0 0 5px #cfc8b6; }
.face b { font-family: var(--display); font-weight: 400; font-size: 24px; letter-spacing: 1px; }
.face span { font-size: 12px; color: var(--gold); font-weight: 700; }
.duel-faces .vs { font-size: 40px; }
.full td.l { white-space: nowrap; }
.full .av { width: 26px; height: 26px; font-size: 12px; margin-right: 7px; }
@media (max-width: 600px) {
  .idx-row { grid-template-columns: 22px 1fr 34px 40px; }
  .pcard .pc-avatar.has-photo { width: 84px; height: 84px; margin-top: -6px; }
  .pod.first .pc-avatar.has-photo { width: 128px; height: 128px; }
  .face .pc-avatar.has-photo { width: 92px; height: 92px; } .face b { font-size: 18px; }
  .pdot span:has(img) { width: 46px; height: 46px; }
}

.pod .ring, .pod.first .ring { margin-top: 8px; }
.pod .pc-avatar.has-photo + .ring { margin-top: -26px; }
.pod.first .pc-avatar.has-photo + .ring { margin-top: -32px; }

/* ---- botões de exportar ---- */
.sec-head .exp-btn { margin-left: auto; align-self: center; white-space: nowrap; }
.exp-row { display: flex; justify-content: flex-end; margin-top: 16px; }
.exp-all { margin-top: 24px; }
.btn:disabled { opacity: .6; cursor: progress; }
body.exporting .reveal { transition: none; }
body.exporting .table-wrap { overflow: visible; }
@media (max-width: 600px) { .sec-head { flex-wrap: wrap; } .sec-head .exp-btn { margin-left: 0; } }

/* ============================================================
   Layout mais largo e compacto + fênix no fundo + celular
   ============================================================ */
.section { max-width: 1640px; padding-top: 54px; }
.sec-head { margin-bottom: 18px; padding-bottom: 10px; }
.sec-head h2 { font-size: clamp(34px, 3.4vw, 50px); }
.card { padding: 18px; }
.h3 { margin: 26px 0 12px; font-size: 26px; }
.footer { margin-top: 50px; padding: 36px 16px 30px; }
.hero { min-height: 0; padding: 30px clamp(16px, 4vw, 44px) 30px; }
.hero-crest { cursor: pointer; }
.hero-crest::after { content: "toque na fênix"; position: absolute; left: 0; right: 0; bottom: -18px; text-align: center; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-3); font-weight: 700; }
.pdot small i { font-style: normal; }
.pdot small u { display: none; text-decoration: none; }

/* fênix */
.fenix-bg { position: fixed; z-index: -1; right: -5vw; top: 6vh; width: min(72vw, 1150px); aspect-ratio: 904 / 612; background: url(assets/fenix.jpg) center / contain no-repeat; mix-blend-mode: screen; opacity: .085; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 50% 52% at 50% 44%, #000 48%, transparent 75%); mask-image: radial-gradient(ellipse 50% 52% at 50% 44%, #000 48%, transparent 75%);
  transform: translate3d(calc(var(--fx, 0) * 1px), calc(var(--fy, 0) * 1px), 0) scale(var(--fs, 1)) rotate(var(--fr, 0deg)); transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .5s; }
body.fire .fenix-bg { opacity: .3; }
body.fire .hero-crest .crest { animation: reborn 1.6s ease-out; }
@keyframes reborn { 0% { filter: brightness(1) drop-shadow(0 0 0 #f6c545); } 18% { filter: brightness(2.3) drop-shadow(0 0 60px #ff9d1c); scale: 1.08; } 100% { filter: brightness(1) drop-shadow(0 30px 40px rgba(0,0,0,.7)); scale: 1; } }
.fenix-fly { position: fixed; z-index: 70; width: 300px; aspect-ratio: 904 / 612; margin: -100px 0 0 -150px; background: url(assets/fenix.jpg) center / contain no-repeat; mix-blend-mode: screen; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 50% 52% at 50% 44%, #000 48%, transparent 75%); mask-image: radial-gradient(ellipse 50% 52% at 50% 44%, #000 48%, transparent 75%); animation: rise 2s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes rise { from { opacity: .95; transform: translateY(0) scale(.5); filter: brightness(1.8); } to { opacity: 0; transform: translateY(-75vh) scale(2.6); filter: brightness(1); } }

@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: auto minmax(0, 660px); column-gap: clamp(30px, 5vw, 90px); justify-content: center; align-items: center; text-align: left; }
  .hero > * { grid-column: 2; }
  .hero > .hero-crest { grid-column: 1; grid-row: 1 / span 7; }
  .hero .eyebrow { margin-top: 0; }
  .hero .kpis { width: 100%; }
  .hero .exp-all { justify-self: start; margin-top: 16px; }
  .hero .demo-banner { justify-self: start; }
  .title { font-size: clamp(56px, 6.6vw, 108px); }
  .crest-xl { width: clamp(200px, 19vw, 290px); height: clamp(248px, 23.5vw, 359px); }
}
@media (min-width: 1200px) {
  #raiox { display: grid; grid-template-columns: minmax(360px, .72fr) 1.5fr; gap: 18px; align-items: start; }
  #raiox > .sec-head { grid-column: 1 / -1; margin-bottom: 0; }
  #raiox .season-grid { grid-template-columns: 1fr; margin: 0; }
  #raiox .stat-tiles { gap: 10px; }
  #hall { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0 18px; align-items: start; }
  #hall > * { grid-column: 1 / -1; }
  #hall > .podium { grid-column: 1; margin: 0; align-self: center; }
  #hall > .podium + .card { grid-column: 2; }
  #lab { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; align-items: start; }
  #lab > .sec-head, #lab > .map-card { grid-column: 1 / -1; margin-bottom: 0; }
  #lab .lab-card { margin-bottom: 0; }
  .map-card { display: grid; grid-template-columns: 1.7fr 1fr; gap: 0 24px; align-items: start; }
  .map-card > * { grid-column: 1 / -1; }
  .map-card > .scatter { grid-column: 1; grid-row: 3; }
  .map-card > .map-foot { grid-column: 1; grid-row: 4; }
  .map-card > .quads { grid-column: 2; grid-row: 3 / span 2; grid-template-columns: 1fr; align-self: center; }
  .duel { grid-template-columns: minmax(200px, 290px) 1fr; }
  .matches { grid-template-columns: 1fr 1fr; align-items: start; }
  .squad { grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 16px; }
}

@media (max-width: 600px) {
  .section { padding: 38px 14px 4px; }
  .sec-head { gap: 6px 10px; margin-bottom: 12px; align-items: center; flex-wrap: nowrap; }
  .sec-head h2 { font-size: 32px; flex: 1; min-width: 0; }
  .sec-tag { font-size: 15px; }
  .sec-head .exp-btn { font-size: 0; padding: 7px 11px; margin-left: 0; }
  .sec-head .exp-btn::before { content: "⬇"; font-size: 15px; }
  .hero { padding: 20px 14px 22px; }
  .crest-xl { width: 150px; height: 186px; }
  .eyebrow { margin-top: 24px; font-size: 10px; letter-spacing: 3px; }
  .title { font-size: 56px; }
  .motto { margin-bottom: 14px; font-size: 14px; }
  .kpis { gap: 6px; grid-template-columns: repeat(4, 1fr); }
  .kpi { padding: 10px 2px; border-radius: 12px; } .kpi .v { font-size: 26px; } .kpi .l { font-size: 7.5px; letter-spacing: .3px; }
  .exp-all { margin-top: 16px; font-size: 13px; padding: 10px 14px; }
  .card { padding: 14px; border-radius: 14px; }
  .card h3 { font-size: 12px; margin-bottom: 10px; }
  .sub { font-size: 13px; margin-bottom: 12px; }
  .stat-tiles { grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .tile { padding: 9px 8px; border-radius: 10px; } .tile .v { font-size: 24px; } .tile .l { font-size: 8.5px; letter-spacing: .2px; }
  .donut { width: 170px; height: 170px; }
  .podium { grid-template-columns: 1fr 1.12fr 1fr; gap: 7px; margin: 14px 0; }
  .pod { padding: 10px 6px 12px; border-radius: 12px; } .pod.first { order: 0; padding-bottom: 20px; }
  .pod .medal { font-size: 28px; } .pod .nm { font-size: 15px; letter-spacing: .3px; overflow: hidden; text-overflow: ellipsis; }
  .pod .ds, .pod .pro { display: none; }
  .pod .pc-avatar { width: 54px; height: 54px; font-size: 24px; }
  .pod .pc-avatar.has-photo { width: 74px; height: 74px; } .pod.first .pc-avatar.has-photo { width: 92px; height: 92px; }
  .pod .ring, .pod.first .ring { width: 54px; height: 54px; }
  .pod .pc-avatar.has-photo + .ring, .pod.first .pc-avatar.has-photo + .ring { margin-top: -18px; }
  .legend { font-size: 11px; gap: 4px 10px; } .pen-list span { font-size: 10.5px; padding: 2px 8px; }
  .idx-row { padding: 5px 2px; gap: 6px 8px; } .idx-row .av { width: 28px; height: 28px; margin-right: 7px; }
  .lab-head { gap: 8px; } .select { padding: 7px 10px; font-size: 12px; }
  .map-card { padding: 14px; } .map-title h3 { font-size: 32px; } .map-title p { font-size: 13px; margin-bottom: 10px; }
  .chips { gap: 6px; } .chip { padding: 6px 10px; font-size: 12px; }
  .map-foot { margin: 4px 0 10px; } .inline { font-size: 11px; }
  .quads { gap: 7px; } .quad { padding: 8px 9px; } .quad b { font-size: 16px; } .quad button { font-size: 11px; padding: 4px 8px; }
  .duel-faces { gap: 12px; margin: 6px 0 10px; } .duel-faces .vs { font-size: 26px; } .face .pc-avatar { width: 62px; height: 62px; font-size: 26px; }
  .duel-row { grid-template-columns: 40px 1fr 84px 1fr 40px; gap: 5px; } .dv { font-size: 16px; }
  .plaques { grid-template-columns: 1fr 1fr; gap: 8px; } .plaque { padding: 12px; } .plaque .n { font-size: 19px; } .plaque .k { font-size: 9px; letter-spacing: 1px; } .plaque .v { font-size: 11px; }
  .plaque.rec { padding: 58px 12px 12px; min-height: 0; } .av.lg { width: 40px; height: 40px; font-size: 18px; top: 10px; right: auto; left: 12px; }
  .honors { grid-template-columns: 1fr; } .honor { padding: 14px; gap: 12px; } .honor .ic { width: 50px; height: 50px; } .honor b { font-size: 19px; }
  .h3 { font-size: 22px; margin: 20px 0 10px; }
  th, td { padding: 8px 7px; font-size: 12px; }
  .exp-row button { width: 100%; }
  .pdot em { max-width: 74px; overflow: hidden; text-overflow: ellipsis; }
  .pdot small i { display: none; } .pdot small u { display: inline; }
  .squad { gap: 10px; }
  .footer { margin-top: 36px; }
  .fenix-bg { width: 130vw; right: -32vw; top: 14vh; opacity: .075; }
  .hero-crest::after { bottom: -14px; }
  .import-grid input, .import-grid select, .import-grid textarea { font-size: 16px; }
}

/* ---- pesos por função ---- */
.wtab { flex-basis: 100%; width: 100%; margin-top: 10px; font-size: 12px; border: 1px solid var(--line); border-radius: 10px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.wtab th, .wtab td { padding: 6px 8px; text-align: center; border-bottom: 1px solid var(--line); }
.wtab tr:last-child td { border-bottom: 0; }
.wtab th { font-size: 10px; letter-spacing: .5px; }
.wtab th i { margin-right: 4px; width: 8px; height: 8px; }
.wtab td.l, .wtab th.l { text-align: left; color: var(--text); font-weight: 700; }
.wtab td { color: var(--muted); font-variant-numeric: tabular-nums; }
.wtab td.hi { color: var(--gold-2); font-weight: 800; }
.wtab td.zero { opacity: .4; }
.idx-name em { margin-left: 6px; padding: 1px 7px; border: 1px solid var(--line); border-radius: 999px; }
@media (max-width: 600px) { .wtab { display: block; overflow-x: auto; white-space: nowrap; } .wtab th, .wtab td { padding: 5px 6px; font-size: 10.5px; } .idx-name em { display: none; } }

/* sem mano a mano: o ranking ocupa a largura toda */
@media (min-width: 1200px) { #lab > .lab-card { grid-column: 1 / -1; } }
.fit h4 small { font-family: Inter, sans-serif; font-size: 12px; color: var(--gold); letter-spacing: 0; }

/* ---- resumo da rodada / evolução ---- */
small.up, small.down { font: 800 12px Inter, sans-serif; margin-left: 6px; letter-spacing: 0; }
small.up { color: #6fd08a; } small.down { color: #f08a7e; }
.bar-val small { display: block; margin: -4px 0 0; font-size: 11px; }
.rod-club { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.rod-high { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; margin-bottom: 14px; }
.rod-card { display: flex; align-items: center; gap: 14px; text-align: left; background: linear-gradient(180deg, var(--card), #0a0907); border: 1px solid var(--line); border-radius: 14px; padding: 14px; color: inherit; font: inherit; cursor: pointer; transition: transform .2s, border-color .2s; }
.rod-card:hover { transform: translateY(-3px); border-color: var(--gold-3); }
.rod-card.best { border-color: var(--gold); background: radial-gradient(120% 140% at 0% 0%, #2a210c, #0b0a07 65%); }
.rod-card.worst { border-color: #7c2a22; }
.rod-card .pc-avatar { margin: 0; width: 64px; height: 64px; font-size: 28px; }
.rod-card .pc-avatar.has-photo { width: 76px; height: 76px; }
.rod-card .k { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; color: var(--gold); }
.rod-card.worst .k { color: #f08a7e; }
.rod-card b { display: block; font-family: var(--display); font-weight: 400; font-size: 24px; letter-spacing: .5px; line-height: 1.1; }
.rod-card .v { font-size: 12px; color: var(--muted); }
#rodTable td { background: none; }
#hall > #evoCard { margin-top: 18px; }
.evo-svg { width: 100%; height: auto; display: block; }
.evo polyline { stroke: var(--c); stroke-width: 2.5; stroke-linejoin: round; transition: stroke-width .15s; }
.evo circle { fill: #0b0a07; stroke: var(--c); stroke-width: 2.5; }
.evo .lead { stroke: var(--c); stroke-width: 1; opacity: .5; }
.evo text { font: 600 12px Inter, sans-serif; fill: var(--c); }
.evo { cursor: pointer; transition: opacity .15s; }
.evo-svg:has(.evo:hover) .evo:not(:hover) { opacity: .25; }
.evo:hover polyline { stroke-width: 4; } .evo:hover text { fill: var(--text); }
@media (max-width: 600px) { .rod-club { grid-template-columns: repeat(2, 1fr); gap: 7px; } .rod-high { grid-template-columns: 1fr; gap: 8px; } .evo text { font-size: 15px; } }

/* ---- análise da rodada ---- */
.rod-an { margin-bottom: 14px; }
.an-team { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 6px; }
.an-team li { padding: 8px 12px; background: #0c0b08; border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; font-size: 14px; }
.an-team b, .an-p p b { color: var(--gold-2); }
.an-players { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.an-p { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #0c0b08; }
.an-h { display: flex; align-items: center; margin-bottom: 8px; }
.an-h b { font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: .5px; }
.an-h em { font-style: normal; font-size: 11px; color: var(--muted); margin-left: auto; }
.an-p p { margin: 0 0 6px; font-size: 13px; line-height: 1.45; }
.an-p p span { display: inline-block; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; padding: 1px 7px; border-radius: 999px; margin-right: 7px; }
.an-p p.bad span { color: #f08a7e; border: 1px solid #7c2a22; }
.an-p p.good span { color: #8fe0a3; border: 1px solid #2c6b3c; }
.an-p p.mid span { color: var(--muted); border: 1px solid var(--line); }
@media (max-width: 600px) { .an-players { grid-template-columns: 1fr; } .an-team li { font-size: 13px; } }

/* ---- análise da rodada: versão enxuta ---- */
.an-list { display: grid; gap: 2px; }
.an-row { display: grid; grid-template-columns: auto 150px 1fr; align-items: center; gap: 0 4px; padding: 8px 4px; border-top: 1px solid var(--line); }
.an-row:first-child { border-top: 0; }
.an-row > b { font-family: var(--display); font-weight: 400; font-size: 19px; letter-spacing: .5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-row > div { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.an-row p { margin: 0; font-size: 13px; }
.an-row p b { color: var(--gold-2); }
.an-row p span { display: inline-block; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; padding: 1px 7px; border-radius: 999px; margin-right: 7px; }
.an-row p.bad span { color: #f08a7e; border: 1px solid #7c2a22; }
.an-row p.good span { color: #8fe0a3; border: 1px solid #2c6b3c; }
@media (max-width: 600px) { .an-row { grid-template-columns: auto 1fr; } .an-row > div { grid-column: 1 / -1; margin-top: 4px; } }

/* ===================== índice: posição ganha/perdida, sem penalidades ===================== */
.idx-row { grid-template-columns: 34px 210px 1fr 64px; }
.idx-row .bar-pos { line-height: 1; }
.pmv { display: block; font: 800 10px Inter, sans-serif; margin-top: 4px; color: var(--muted); letter-spacing: 0; }
.pmv.up { color: #6fd08a; } .pmv.down { color: #f08a7e; }
.idx-row .bar-val { line-height: 1; }
.idx-row .bar-val small { display: block; margin: 4px 0 0; font-size: 11px; }
@media (max-width: 600px) {
  .idx-row { grid-template-columns: 26px 1fr 50px; }
  .idx-row .idx-bar { grid-column: 1 / -1; grid-row: 2; }
}

/* ===================== manchete do dia ===================== */
.news { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; margin-bottom: 14px; padding: 28px 30px; position: relative; overflow: hidden;
  background: radial-gradient(90% 150% at 100% 0%, #2c220b, #0b0a07 62%); border-color: var(--gold-3); }
.news::before { content: "PLACA"; position: absolute; right: -14px; bottom: -64px; font: 260px/1 var(--display); color: rgba(224,165,38,.045); pointer-events: none; }
.news-txt { position: relative; min-width: 0; }
.news-kicker { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); font-weight: 700; }
.news-kicker span { background: var(--gold); color: #111; padding: 3px 9px; border-radius: 4px; letter-spacing: 1.5px; }
.news-title { font: 400 clamp(36px, 4.8vw, 66px)/.96 var(--display); letter-spacing: .5px; margin: 12px 0 12px; text-transform: uppercase;
  background: linear-gradient(180deg, #fff3c4, #e0a526 75%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.news-deck { margin: 0 0 14px; color: #d9d1bc; font-size: 15px; max-width: 72ch; }
.news-deck b { color: var(--gold-2); }
.news-scores { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.sc { display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px 3px 3px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; color: #cfc7b1; background: #0b0a07; }
.sc b { font: 400 17px var(--display); color: #111; padding: 1px 9px; border-radius: 999px; letter-spacing: .5px; }
.sc.W b { background: var(--win); } .sc.D b { background: var(--draw); } .sc.L b { background: var(--loss); color: #fff; }
.news-face { position: relative; width: clamp(160px, 19vw, 240px); aspect-ratio: 1; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: #0b0a07;
  box-shadow: 0 0 0 4px #0b0a07, 0 0 0 7px var(--gold), 0 0 70px rgba(224,165,38,.4); transition: transform .25s; animation: pop .6s backwards; }
.news-face:hover { transform: scale(1.04) rotate(-2deg); }
.news-face img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.news-face > span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; font: 400 72px var(--display); color: #111; background: var(--grad); }
.news-face em { position: absolute; left: 50%; bottom: -12px; translate: -50% 0; white-space: nowrap; font: 400 21px var(--display); letter-spacing: 1px; background: var(--gold); color: #111; padding: 2px 12px; border-radius: 6px; font-style: normal; }
@media (max-width: 700px) {
  .news { grid-template-columns: 1fr; padding: 20px 18px; gap: 16px; }
  .news-face { order: -1; justify-self: center; width: 170px; margin-bottom: 6px; }
  .news-deck { font-size: 14px; }
}

/* ===================== escalação da rodada ===================== */
.rod-xi { margin-bottom: 14px; }
.pitch.xi { aspect-ratio: 16 / 8.2; }
.pitch.xi .pitch-lines::before { left: 50%; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 1.5px solid rgba(224,165,38,.3); }
.xdot { position: absolute; translate: -50% -50%; display: grid; justify-items: center; gap: 3px; background: none; border: 0; padding: 0; color: var(--text); cursor: pointer; font: inherit; animation: pop .5s both; animation-delay: calc(var(--i) * 70ms); }
.xph { width: 66px; height: 66px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--grad); color: #111; font: 400 26px var(--display);
  box-shadow: 0 0 0 3px #0b0a07, 0 0 0 5px var(--gold-3), 0 10px 22px rgba(0,0,0,.7); transition: transform .2s; }
.xdot:hover .xph { transform: scale(1.08); }
.xph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; }
.xdot.mvp .xph { width: 84px; height: 84px; box-shadow: 0 0 0 3px #0b0a07, 0 0 0 6px var(--gold-2), 0 0 36px rgba(246,197,69,.6); }
.xdot.mvp::before { content: "👑"; position: absolute; top: -26px; font-size: 22px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.8)); }
.xr { position: absolute; top: -2px; right: -18px; font: 400 19px var(--display); padding: 1px 7px; border-radius: 6px; background: var(--gold-2); color: #111; box-shadow: 0 4px 10px rgba(0,0,0,.6); }
.xr.ok { background: #e6dfcc; } .xr.lo { background: var(--loss); color: #fff; }
.xdot em { font-style: normal; font-weight: 800; font-size: 12px; background: rgba(0,0,0,.65); padding: 1px 8px; border-radius: 999px; white-space: nowrap; }
.xdot small { font-size: 10px; color: var(--gold-2); font-weight: 700; white-space: nowrap; }
@media (max-width: 700px) {
  .pitch.xi { aspect-ratio: 16 / 13; }
  .xph { width: 46px; height: 46px; font-size: 19px; } .xdot.mvp .xph { width: 58px; height: 58px; }
  .xdot.mvp::before { top: -22px; font-size: 17px; }
  .xr { font-size: 15px; right: -14px; padding: 0 5px; }
  .xdot em { font-size: 10px; padding: 1px 6px; } .xdot small { font-size: 9px; }
}

/* ===================== cartas gold ===================== */
.gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px 22px; }
.gcard { --c1: #fbe08a; --c2: #d99a1e; --c3: #5a4108; --bg1: #2e2410; --ink: #f6c545;
  position: relative; aspect-ratio: 5 / 7.7; perspective: 1000px; cursor: pointer; outline: none; animation: pop .55s both; animation-delay: calc(var(--i) * 50ms);
  filter: drop-shadow(0 16px 26px rgba(0,0,0,.6)); transition: filter .25s; }
.gcard:hover, .gcard:focus-visible { filter: drop-shadow(0 18px 34px rgba(224,165,38,.32)); }
.gc-in { position: absolute; inset: 0; padding: 3px; background: linear-gradient(150deg, var(--c1), var(--c2) 45%, var(--c3));
  clip-path: polygon(15% 0, 85% 0, 100% 8%, 100% 92%, 85% 100%, 15% 100%, 0 92%, 0 8%); transition: transform .2s ease-out; }
.gc-face { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; padding: 16px 14px 12px; overflow: hidden;
  clip-path: polygon(15% 0, 85% 0, 100% 8%, 100% 92%, 85% 100%, 15% 100%, 0 92%, 0 8%);
  background: radial-gradient(130% 70% at 50% 0%, var(--bg1), #0a0907 72%); }
.gc-face::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 9px); pointer-events: none; }
.gc-top { position: relative; width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; }
.gc-idx { font: 400 52px/.85 var(--display); color: var(--ink); text-align: left; }
.gc-idx small, .gc-role small { display: block; font: 800 9px Inter, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: var(--c2); margin-top: 3px; }
.gc-role { font: 400 26px/.95 var(--display); color: var(--text); text-align: right; letter-spacing: 1px; }
.gc-role small { color: var(--muted); max-width: 78px; margin-left: auto; letter-spacing: .3px; text-transform: none; font-weight: 600; }
.gc-tier { margin-top: 4px; font: 800 9px Inter, sans-serif; letter-spacing: 2px; text-transform: uppercase; color: #111; background: linear-gradient(90deg, var(--c1), var(--c2)); padding: 3px 9px; border-radius: 999px; }
.gc-photo { position: relative; width: 68%; aspect-ratio: 1; margin: 6px 0 10px; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: var(--grad); color: #111; font: 400 60px var(--display); box-shadow: 0 0 0 3px #0b0a07, 0 0 0 5px var(--c1), 0 14px 30px rgba(0,0,0,.65); }
.gc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; }
.gc-name { font: 400 27px/1 var(--display); letter-spacing: 1px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-pro { font-size: 11px; color: var(--c2); font-weight: 700; min-height: 16px; margin-bottom: 8px; }
.gc-attrs { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px 10px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 9px; }
.gc-attrs div { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 0 5px; }
.gc-attrs b { font: 400 25px/1 var(--display); color: var(--text); }
.gc-attrs span { font: 800 10px Inter, sans-serif; letter-spacing: 1px; color: var(--muted); }
.gc-attrs i { grid-column: 1 / -1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 3px; }
.gc-attrs i::after { content: ""; display: block; height: 100%; width: var(--v); background: linear-gradient(90deg, var(--c2), var(--c1)); }
.gc-foot { margin-top: auto; width: 100%; display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; color: var(--muted); letter-spacing: .5px; text-transform: uppercase; padding-top: 8px; }
.gc-shine { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity .25s;
  background: linear-gradient(115deg, transparent 32%, rgba(255,236,170,.32) 46%, transparent 60%); background-size: 260% 100%; background-position: var(--sx, 50%) 0; }
.gcard:hover .gc-shine { opacity: 1; }
.gc-dl { position: absolute; top: -10px; right: -6px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer; font-size: 15px; font-weight: 800;
  background: var(--grad); color: #111; box-shadow: 0 6px 16px rgba(0,0,0,.6); opacity: 0; transition: opacity .2s, transform .2s; }
.gcard:hover .gc-dl, .gcard:focus-within .gc-dl { opacity: 1; }
.gc-dl:hover { transform: scale(1.1); }
@media (hover: none) { .gc-dl { opacity: 1; } }
.gcard.prata { --c1: #ffffff; --c2: #a9b0b6; --c3: #3d4246; --bg1: #20262a; --ink: #eef2f4; }
.gcard.bronze { --c1: #f6c08e; --c2: #b06a30; --c3: #4a2a10; --bg1: #2a1a0d; --ink: #f2b07a; }
.gcard.lenda { --c1: #fff6d0; --c2: #f0b429; --c3: #2a1d02; --bg1: #3a2a06; --ink: #fff0b8; }
.gcard.lenda .gc-in { background: conic-gradient(from var(--ang, 0deg), #fff6d0, #f0b429, #7a5508, #f0b429, #fff6d0, #b9811a, #fff6d0); animation: spinb 6s linear infinite; }
.gcard.lenda .gc-face { background: radial-gradient(120% 75% at 50% 0%, #4a3508, #120d03 55%, #070604); }
.gcard.lenda .gc-face::after { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(246,197,69,.12), transparent 30%); animation: spin 7s linear infinite; pointer-events: none; }
.gcard.lenda .gc-tier { box-shadow: 0 0 14px rgba(246,197,69,.7); }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spinb { to { --ang: 360deg; } }
@keyframes spin { to { transform: rotate(360deg); } }
body.exporting .gcard .gc-in { transform: none !important; }
@media (max-width: 600px) {
  .gcards { grid-template-columns: repeat(2, 1fr); gap: 16px 10px; }
  .gc-face { padding: 11px 9px 9px; }
  .gc-idx { font-size: 36px; } .gc-role { font-size: 18px; } .gc-role small { display: none; } .gc-tier { font-size: 7px; padding: 2px 6px; letter-spacing: 1px; }
  .gc-name { font-size: 19px; } .gc-pro { font-size: 9px; margin-bottom: 5px; min-height: 13px; }
  .gc-attrs { gap: 4px 6px; padding-top: 6px; } .gc-attrs b { font-size: 17px; } .gc-attrs span { font-size: 8px; letter-spacing: .5px; }
  .gc-foot { font-size: 7.5px; }
}

/* ===================== laboratório: seletor de jogador ===================== */
.pick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pchip { display: inline-flex; align-items: center; padding: 3px 12px 3px 3px; border-radius: 999px; border: 1px solid var(--line); background: #0d0c09; color: var(--muted); font: 600 12px Inter, sans-serif; cursor: pointer; transition: .15s; }
.pchip:hover { color: var(--text); border-color: var(--gold-3); }
.pchip .av { width: 26px; height: 26px; margin-right: 7px; }
.pchip.a { border-color: var(--gold); color: var(--gold-2); background: rgba(224,165,38,.12); }
.pchip.b { border-color: #f5efe0; color: #f5efe0; }
.inline { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }

/* radar com foto */
.radar-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.radar-big { width: 100%; height: auto; display: block; }
.radar-big .rl { font: 700 12px Inter, sans-serif; fill: #9b927a; text-transform: uppercase; letter-spacing: .5px; }
.radar-big .rv { font: 400 17px var(--display); fill: #f6c545; }
.radar-big .radar-poly { animation: fadeIn .6s both; }
.rs-p { display: flex; align-items: center; gap: 4px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--gold); background: rgba(224,165,38,.08); margin-bottom: 8px; }
.rs-p.b { border-color: #6b6350; background: rgba(245,239,224,.05); }
.rs-p .av { width: 40px; height: 40px; }
.rs-p b { display: block; font: 400 22px/1 var(--display); letter-spacing: .5px; }
.rs-p span { font-size: 11px; color: var(--muted); }
.rs-rows { margin: 4px 0 8px; }
.rs-row { display: grid; grid-template-columns: 1fr 64px 64px; gap: 8px; padding: 5px 0; border-top: 1px solid var(--line); font-size: 12.5px; align-items: center; }
.rs-row b { text-align: right; font: 400 18px var(--display); color: #f0b429; }
.rs-row b.vb { color: #e6dfcc; }
.rs-row b.w { text-shadow: 0 0 12px rgba(246,197,69,.7); }
.rs-row b.w::before { content: "● "; font-size: 9px; vertical-align: middle; }
@media (max-width: 760px) { .radar-wrap { grid-template-columns: 1fr; } }

/* forma do jogador */
.form-svg { width: 100%; height: auto; display: block; }
.form-svg .fdot { cursor: pointer; }
.form-svg .form-line { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 1.4s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 8px; }
.legend i.dash { background: none; border-top: 2px dashed #a89f88; height: 0; border-radius: 0; width: 16px; }
.form-sum { margin: 0; font-size: 13px; color: #d9d1bc; }
.form-sum b { color: var(--gold-2); } .form-sum .up { color: #6fd08a; font-weight: 800; } .form-sum .down { color: #f08a7e; font-weight: 800; }

/* química de duplas */
.chem-best { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-bottom: 16px; }
.duo { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #0b0a07; }
.duo.good { border-color: var(--gold); background: radial-gradient(120% 140% at 0% 0%, #2a210c, #0b0a07 65%); }
.duo.bad { border-color: #7c2a22; }
.duo-faces { display: flex; flex: none; }
.duo-faces .av { width: 54px; height: 54px; margin: 0; font-size: 22px; }
.duo-faces .av + .av { margin-left: -16px; }
.duo .k { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; color: var(--gold); }
.duo.bad .k { color: #f08a7e; }
.duo b { display: block; font: 400 36px/1 var(--display); color: var(--gold-2); }
.duo.bad b { color: #f08a7e; }
.duo span:last-child { font-size: 12px; color: var(--muted); }
#chemCard .table-wrap { overflow-x: auto; }
.chem { border-collapse: separate; border-spacing: 4px; margin: 0 auto; }
.chem thead th { padding-bottom: 4px; }
.chem thead .av { margin: 0; width: 36px; height: 36px; }
.chem th.l { text-align: left; white-space: nowrap; padding-right: 8px; font-size: 13px; font-weight: 700; }
.chem th.l .av { width: 30px; height: 30px; }
.chem td { min-width: 62px; height: 50px; text-align: center; border-radius: 9px; background: #0d0c09; font: 400 21px/1 var(--display); color: var(--text); transition: transform .15s; }
.chem td:hover { transform: scale(1.08); box-shadow: 0 0 0 1px var(--gold); }
.chem td small { display: block; margin-top: 3px; font: 600 10px Inter, sans-serif; color: rgba(245,239,224,.6); }
.chem td.diag { background: #14120c; color: var(--muted); outline: 1px dashed var(--gold-3); outline-offset: -1px; }
.chem td.none { color: #3d382a; }
@media (max-width: 600px) { .chem th.l span:not(.av) { display: none; } .chem td { min-width: 44px; height: 42px; font-size: 16px; } .chem td small { font-size: 8.5px; } .chem thead .av { width: 28px; height: 28px; } }

/* calendário */
.cal-sum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.cal-sum .tile .v { font-size: 30px; }
.cal-sum .tile .v small { display: block; font: 700 11px Inter, sans-serif; color: var(--muted); margin-top: 4px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .dh { font-size: 11px; color: var(--muted); text-align: center; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; padding-bottom: 2px; }
.cday { position: relative; min-height: 78px; border-radius: 11px; border: 1px solid #1d1a10; background: #0b0a07; padding: 7px 8px; font-size: 11px; color: #4d4634; }
.cday .n { font-weight: 800; }
.cday.has { color: var(--text); border-color: var(--line); cursor: default; animation: pop .4s both; }
.cday.has .n { color: #d9d1bc; }
.cday.w { background: linear-gradient(160deg, rgba(88,181,110,.42), rgba(88,181,110,.08)); border-color: #2c6b3c; }
.cday.d { background: linear-gradient(160deg, rgba(185,164,92,.36), rgba(185,164,92,.06)); border-color: #6b5f30; }
.cday.l { background: linear-gradient(160deg, rgba(212,87,74,.42), rgba(212,87,74,.07)); border-color: #7c2a22; }
.cday b { display: block; font: 400 20px/1.1 var(--display); letter-spacing: .5px; margin-top: 4px; }
.cday .dots { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 5px; }
.cday .dots i { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.5); }
.cday .dots i.W { background: var(--win); } .cday .dots i.D { background: var(--draw); } .cday .dots i.L { background: var(--loss); }
.cday.today { box-shadow: 0 0 0 2px var(--gold); }
.cday.today::after { content: "hoje"; position: absolute; top: 7px; right: 8px; font-size: 9px; font-weight: 800; text-transform: uppercase; color: var(--gold-2); }
@media (max-width: 600px) {
  .cal-sum { grid-template-columns: repeat(2, 1fr); gap: 7px; }
  .cal { gap: 3px; } .cday { min-height: 58px; padding: 4px 4px; font-size: 9.5px; border-radius: 8px; }
  .cday b { font-size: 12px; } .cday .dots { gap: 2px; } .cday .dots i { width: 6px; height: 6px; }
  .cday.today::after { display: none; }
}
.pitch.xi.vert { aspect-ratio: 3 / 4.2; }
.pitch.xi.vert .pitch-lines::before { left: 0; right: 0; top: 50%; bottom: auto; border-left: 0; border-top: 1.5px solid rgba(224,165,38,.3); }
@media (max-width: 600px) { .gc-dl { top: auto; bottom: -10px; right: -4px; width: 30px; height: 30px; font-size: 13px; } }
.gc-face > * { flex-shrink: 0; }
@media (max-width: 600px) { .gcard { aspect-ratio: 5 / 8.3; } .gc-photo { width: 58%; margin: 4px 0 7px; } .gc-name { font-size: 18px; } }
@media (max-width: 600px) { .radar-big .rl { font-size: 17px; } .radar-big .rv { font-size: 23px; } .pick { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; } .pchip { flex: none; } }
.chem th.l .av { flex: none; min-width: 30px; }
@media (max-width: 600px) { .chem th.l { min-width: 36px; padding-right: 2px; } .chem th.l .av { min-width: 28px; width: 28px; height: 28px; margin-right: 0; } }

/* ===================== jornal da placa (cara de jornal impresso) ===================== */
.news { display: block; padding: 0; margin-bottom: 18px; background: none; border: 0; overflow: visible; }
.news::before { display: none; }
.np { position: relative; color: #1b160d; border-radius: 4px; padding: 20px 26px 16px; font-family: Georgia, "Times New Roman", serif;
  background-color: #efe6cf;
  background-image: radial-gradient(120% 90% at 15% 0%, rgba(255,255,255,.45), transparent 55%), radial-gradient(90% 90% at 100% 100%, rgba(150,110,40,.22), transparent 60%), repeating-linear-gradient(0deg, rgba(0,0,0,.02) 0 1px, transparent 1px 3px);
  box-shadow: 0 24px 60px rgba(0,0,0,.65), inset 0 0 90px rgba(120,90,30,.28); transform: rotate(-.35deg); transition: transform .3s; }
.np:hover { transform: rotate(0deg); }
.np-top { display: flex; justify-content: space-between; gap: 10px; font: 700 11px Inter, sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: #5a4a2a; border-bottom: 1px solid #1b160d; padding-bottom: 6px; }
.np-mast { text-align: center; font: 400 clamp(46px, 7.4vw, 96px)/1.05 "UnifrakturMaguntia", "Old English Text MT", serif; margin: 8px 0 0; color: #111; }
.np-mast b { font-weight: 400; color: #a8770f; }
.np-sub { text-align: center; font-style: italic; font-size: 14px; color: #4a3d22; padding: 2px 0 8px; border-bottom: 5px double #1b160d; }
.np-body { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) 230px; gap: 22px; padding-top: 16px; }
.np-main { min-width: 0; }
.np-kicker { display: inline-block; font: 800 11px Inter, sans-serif; letter-spacing: 2px; text-transform: uppercase; color: #a8770f; border-bottom: 2px solid #a8770f; margin-bottom: 8px; }
.np-title { font: 900 clamp(30px, 3.7vw, 52px)/1.02 "Playfair Display", Georgia, serif; letter-spacing: -.5px; margin: 0 0 12px; color: #111; text-transform: none; }
.np-deck { margin: 0; font-size: 15.5px; line-height: 1.55; text-align: justify; hyphens: auto; }
.np-deck.two { columns: 2; column-gap: 22px; column-rule: 1px solid rgba(0,0,0,.25); }
.np-deck::first-letter { float: left; font: 900 58px/.8 "Playfair Display", Georgia, serif; padding: 6px 7px 0 0; color: #a8770f; }
.np-deck b { color: #111; }
.np-deck .muted { color: #6b5a36; font-style: italic; }
.np-photo { margin: 0; cursor: pointer; }
.np-photo img, .np-photo > span { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border: 1px solid #1b160d; box-shadow: 4px 4px 0 rgba(0,0,0,.18);
  filter: grayscale(1) contrast(1.15) sepia(.3); transition: filter .5s; }
.np-photo > span { display: grid; place-items: center; background: #c9bb97; font: 900 70px "Playfair Display", serif; color: #1b160d; }
.np-photo:hover img { filter: none; }
.np-photo figcaption { font-style: italic; font-size: 12.5px; color: #4a3d22; margin-top: 7px; padding-top: 5px; border-top: 1px solid rgba(0,0,0,.3); }
.np-side h4 { font: 900 13px Inter, sans-serif; letter-spacing: 2.5px; text-transform: uppercase; margin: 0 0 4px; padding: 5px 0; border-top: 3px solid #1b160d; border-bottom: 1px solid #1b160d; }
.np-sc { display: grid; grid-template-columns: 20px 48px minmax(0, 1fr); gap: 7px; align-items: center; font-size: 13.5px; padding: 5px 0; border-bottom: 1px dotted rgba(0,0,0,.4); }
.np-sc i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 3px; font: 800 10px Inter, sans-serif; font-style: normal; color: #fff; }
.np-sc i.W { background: #2f7a43; } .np-sc i.D { background: #8a7a3a; } .np-sc i.L { background: #a63a2e; }
.np-sc b { font: 900 17px "Playfair Display", Georgia, serif; }
.np-sc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np-none { font-style: italic; font-size: 13px; }
.np-num { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
.np-num div { border: 1px solid #1b160d; padding: 6px 4px; text-align: center; background: rgba(255,255,255,.25); }
.np-num b { display: block; font: 900 22px/1.1 "Playfair Display", Georgia, serif; }
.np-num span { font: 700 9.5px Inter, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #5a4a2a; }
.np-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; padding-top: 8px; border-top: 1px solid #1b160d; font-style: italic; font-size: 12px; color: #5a4a2a; }
.np .btn { background: #1b160d; color: #efe6cf; border: 0; }
.np .btn:hover { background: #a8770f; color: #111; }
@media (max-width: 1000px) {
  .np-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .np-main { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .np { padding: 14px 14px 12px; transform: none; }
  .np:hover { transform: none; }
  .np-top { font-size: 9px; letter-spacing: .8px; } .np-top span:nth-child(3) { display: none; }
  .np-sub { font-size: 12px; }
  .np-body { grid-template-columns: 1fr; gap: 16px; }
  .np-deck { columns: 1; font-size: 15px; }
  .np-photo { max-width: 300px; justify-self: center; }
}
#rodClub { display: none; }   /* os números da rodada já estão no jornal */
@media (max-width: 600px) { .np-deck.two { columns: 1; } }
/* jornal: foto mais contida e notinhas para ocupar a coluna principal */
.np-body { grid-template-columns: minmax(0, 1.85fr) minmax(0, .95fr) 240px; align-items: start; }
.np-photo img, .np-photo > span { aspect-ratio: 4 / 4.6; max-height: 460px; }
.np-briefs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; margin-top: 16px; border-top: 3px double #1b160d; }
.np-brief { padding: 10px 0 8px; border-bottom: 1px solid rgba(0,0,0,.25); }
.np-brief:nth-child(odd) { padding-right: 4px; }
.np-brief h5 { margin: 0 0 4px; font: 900 18px/1.1 "Playfair Display", Georgia, serif; color: #111; }
.np-brief p { margin: 0; font-size: 14px; line-height: 1.45; }
.np-brief p b { color: #111; }
.np-brief .np-av { float: left; width: 34px; height: 34px; margin: 2px 9px 2px 0; filter: grayscale(1) sepia(.3); box-shadow: 0 0 0 1.5px #1b160d; }
@media (max-width: 1000px) { .np-photo img, .np-photo > span { max-height: 380px; } }
@media (max-width: 600px) { .np-briefs { grid-template-columns: 1fr; } }

/* =====================================================================
   CELULAR — tudo abaixo só vale em telas estreitas (o PC não muda)
   ===================================================================== */
.mob-only, .tabbar { display: none; }
@media (max-width: 700px) {
  .mob-only { display: block; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .section { padding-top: 56px; }
  .sec-head h2 { font-size: 34px; }
  .sub { font-size: 14px; }

  /* ---------- barra de atalhos fixa embaixo ---------- */
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: rgba(10,9,6,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .tabbar a { display: grid; justify-items: center; gap: 3px; padding: 4px 0; font: 700 10.5px Inter, sans-serif; letter-spacing: .3px; color: var(--muted); border-radius: 10px; }
  .tabbar svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a.on { color: var(--gold-2); background: rgba(224,165,38,.1); }
  #importar, #links a[href="#importar"] { display: none; }   /* importar é coisa de PC */
  .exp-btn { font-size: 11px; padding: 6px 10px; }
  .exp-row .btn { width: 100%; }

  /* ---------- jornal: uma coluna, na ordem de leitura ---------- */
  .np { padding: 14px 14px 12px; transform: none; }
  .np:hover { transform: none; }
  .np-top { font-size: 9px; letter-spacing: .6px; } .np-top span:nth-child(3) { display: none; }
  .np-mast { font-size: 46px; margin-top: 6px; }
  .np-sub { font-size: 12px; }
  .np-body { display: grid; grid-template-columns: 1fr; gap: 12px; padding-top: 12px; }
  .np-main { display: contents; }
  .np-kicker { order: 1; justify-self: start; margin-bottom: -4px; }
  .np-title { order: 2; font-size: 30px; margin: 0; }
  .np-photo { order: 3; max-width: none; justify-self: stretch; }
  .np-photo img, .np-photo > span { aspect-ratio: 16 / 11; max-height: none; object-position: 50% 18%; }
  .np-deck, .np-deck.two { order: 4; columns: 1; font-size: 15px; text-align: left; }
  .np-briefs { order: 5; grid-template-columns: 1fr; margin-top: 0; }
  .np-side { order: 6; }
  .np-sc { font-size: 14px; padding: 6px 0; }
  .np-num { grid-template-columns: repeat(4, 1fr); gap: 5px; }
  .np-num b { font-size: 17px; } .np-num span { font-size: 8.5px; letter-spacing: .4px; }
  .np-foot { flex-direction: column; align-items: stretch; text-align: center; }
  .np-foot .btn { width: 100%; padding: 12px; font-size: 14px; }

  /* ---------- carrosséis: deslizar para o lado em vez de rolar muito ---------- */
  .swipe-hint { margin: -4px 0 10px; font-size: 12px; color: var(--gold); font-weight: 700; }
  .rod-high, .gcards, .squad { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px 14px; padding: 6px 16px 14px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .rod-high::-webkit-scrollbar, .gcards::-webkit-scrollbar, .squad::-webkit-scrollbar { display: none; }
  .rod-high > *, .gcards > *, .squad > * { scroll-snap-align: center; flex: none; }
  .rod-card { width: 80vw; }
  .squad .pcard { width: 64vw; }
  .gcards .gcard { width: 76vw; aspect-ratio: 5 / 7.7; }
  /* cartas grandes de novo (no carrossel cabe a letra do PC) */
  .gc-face { padding: 16px 14px 12px; }
  .gc-idx { font-size: 52px; } .gc-role { font-size: 26px; } .gc-role small { display: block; } .gc-tier { font-size: 9px; padding: 3px 9px; letter-spacing: 2px; }
  .gc-photo { width: 66%; margin: 6px 0 10px; }
  .gc-name { font-size: 27px; } .gc-pro { font-size: 11px; margin-bottom: 8px; min-height: 16px; }
  .gc-attrs { gap: 7px 10px; padding-top: 9px; } .gc-attrs b { font-size: 25px; } .gc-attrs span { font-size: 10px; letter-spacing: 1px; }
  .gc-foot { font-size: 10px; }
  .gc-dl { top: -8px; bottom: auto; right: -4px; width: 36px; height: 36px; font-size: 15px; opacity: 1; }

  /* ---------- índice: texto e cálculo recolhidos ---------- */
  #hallIntro.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; position: relative; cursor: pointer; }
  #hallIntro.clamp::after { content: "ler mais"; position: absolute; right: 0; bottom: 0; padding-left: 30px; background: linear-gradient(90deg, transparent, var(--bg) 40%); color: var(--gold-2); font-weight: 700; }
  #hallIntro.clamp.open { display: block; -webkit-line-clamp: unset; } #hallIntro.clamp.open::after { display: none; }
  #idxHow { width: 100%; margin-bottom: 10px; }
  #idxLegend { display: none; } #idxLegend.open { display: flex; }
  .idx-row { padding: 7px 2px; }
  .pmv { font-size: 11px; }
  .idx-row .bar-val small { font-size: 12px; }

  /* ---------- partidas: só as 8 mais recentes, o resto num toque ---------- */
  .matches:not(.all) > .match:nth-child(n + 9) { display: none; }
  .more-btn { width: 100%; margin-top: 12px; }
  .match .meta { font-size: 11px; }

  /* ---------- letras que estavam pequenas demais ---------- */
  .rod-card .k { font-size: 10.5px; } .rod-card .v { font-size: 12.5px; }
  .an-row p { font-size: 13.5px; } .an-row p span { font-size: 10px; }
  .full th, .full td { font-size: 12px; }
  .full td.l, .full th.l { position: sticky; left: 0; z-index: 1; background: #0d0c09; }
  .cday { font-size: 10.5px; } .cday b { font-size: 13px; }
  .tile .l { font-size: 10.5px; }
  .legend { font-size: 12px; }
  .eyebrow { font-size: 11px; }
}
@media (max-width: 380px) {
  .np-num { grid-template-columns: repeat(2, 1fr); }
  .tabbar a { font-size: 9.5px; }
}
@media (max-width: 700px) { #evoCard { overflow-x: auto; } #evoCard .evo-svg { min-width: 720px; } #evoCard h3::after { content: "  (arraste para o lado →)"; color: var(--gold); font-size: 11px; letter-spacing: 0; text-transform: none; } }
@media (max-width: 700px) { .gc-dl { top: auto; bottom: -15px; left: 50%; right: auto; transform: translateX(-50%); } .gc-dl:hover { transform: translateX(-50%) scale(1.1); } .gcards { padding-bottom: 26px; } }
@media (max-width: 700px) { #scPresets, #posFilter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; } #scPresets .chip, #posFilter .chip { flex: none; } }
@media (max-width: 700px) { #scPresets .chip, #posFilter .chip { white-space: nowrap; } }
@media (max-width: 700px) { .chem-best { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -16px 14px; padding: 4px 16px 10px; scrollbar-width: none; } .chem-best .duo { flex: none; width: 78vw; scroll-snap-align: center; } .form-svg text { font-size: 12px; } }
/* trios */
.chem-trios { margin: 4px 0 18px; }
.chem-trios h4 { margin: 6px 0 8px; font: 400 20px var(--display); letter-spacing: 1px; color: var(--gold-2); }
.chem-trios h4 small { font: 500 12px Inter, sans-serif; color: var(--muted); letter-spacing: 0; }
.chem-trios h4.bad { color: #f08a7e; margin-top: 14px; }
.trio { display: grid; grid-template-columns: 30px auto minmax(0, 1fr) minmax(80px, 160px) 52px; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: #0b0a07; margin-bottom: 6px; }
.trio.good { border-color: var(--gold); background: radial-gradient(120% 160% at 0% 0%, #2a210c, #0b0a07 65%); }
.trio.bad { border-color: #7c2a22; }
.trio .t-pos { font: 400 22px var(--display); color: var(--gold); text-align: center; }
.trio .duo-faces .av { width: 38px; height: 38px; }
.trio .duo-faces .av + .av { margin-left: -12px; }
.trio .t-names { font-weight: 700; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trio .t-names small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted); }
.trio .t-bar { height: 8px; border-radius: 6px; background: #1a1710; overflow: hidden; }
.trio .t-bar i { display: block; height: 100%; border-radius: 6px; }
.trio > b { font: 400 24px var(--display); color: var(--gold-2); text-align: right; }
.trio.bad > b { color: #f08a7e; }
@media (max-width: 700px) {
  .trio { grid-template-columns: 24px auto minmax(0, 1fr) 44px; gap: 8px; padding: 8px; }
  .trio .t-bar { grid-column: 1 / -1; grid-row: 2; }
  .trio .duo-faces .av { width: 32px; height: 32px; }
  .trio .t-names { white-space: normal; font-size: 12px; }
}

/* craques e bagres de todas as rodadas */
.rod-hall { margin-top: 14px; }
.rh-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rh-cols h4 { margin: 0 0 8px; font: 400 20px var(--display); letter-spacing: 1px; color: var(--gold-2); }
.rh-cols h4.bad { color: #f08a7e; }
.rh-row { width: 100%; display: grid; grid-template-columns: 28px auto minmax(0, 1fr) auto 30px; align-items: center; gap: 8px; padding: 7px 8px; margin-bottom: 5px; border-radius: 10px; border: 1px solid var(--line); background: #0b0a07; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.rh-row:hover { border-color: var(--gold-3); }
.rh-cols h4 + .rh-row.good { border-color: var(--gold); background: radial-gradient(120% 160% at 0% 0%, #2a210c, #0b0a07 65%); }
.rh-cols h4 + .rh-row.bad { border-color: #7c2a22; }
.rh-row .av { margin: 0; width: 32px; height: 32px; }
.rh-pos { font: 400 20px var(--display); color: var(--gold); text-align: center; }
.rh-name { font-weight: 700; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rh-name small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.rh-icons { font-size: 13px; letter-spacing: -2px; white-space: nowrap; }
.rh-row > b { font: 400 24px var(--display); color: var(--gold-2); text-align: right; }
.rh-row.bad > b { color: #f08a7e; }
/* rivais */
.rivals { margin-bottom: 14px; }
.rv-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 14px; }
.rv-card { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #0b0a07; display: grid; gap: 2px; }
.rv-card.good { border-color: var(--gold); background: radial-gradient(120% 160% at 0% 0%, #2a210c, #0b0a07 65%); }
.rv-card.bad { border-color: #7c2a22; background: radial-gradient(120% 160% at 0% 0%, #2a0f0c, #0b0a07 65%); }
.rv-card .k { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 800; color: var(--gold); }
.rv-card.bad .k { color: #f08a7e; }
.rv-card b { font: 400 28px/1.05 var(--display); letter-spacing: .5px; }
.rv-card span:not(.k) { font-size: 13px; color: #d9d1bc; }
.rv-card small { font-size: 12px; color: var(--muted); }
.rv-table td.up { color: #6fd08a; font-weight: 700; }
.rv-table td.down { color: #f08a7e; font-weight: 700; }
.rv-bar { display: inline-block; width: 60px; height: 6px; border-radius: 4px; background: #1a1710; margin-right: 6px; vertical-align: middle; overflow: hidden; }
.rv-bar i { display: block; height: 100%; background: var(--grad); }
@media (max-width: 700px) {
  .rh-cols { grid-template-columns: 1fr; }
  .rv-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px 14px; padding: 2px 16px 8px; scrollbar-width: none; }
  .rv-card { flex: none; width: 76vw; scroll-snap-align: center; }
  .rv-bar { width: 36px; }
}

/* justificativa do índice da rodada (tooltip) */
.tip.wide { max-width: 380px; width: 380px; padding: 12px 14px; }
.tip.wide .rt-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 6px; }
.tip.wide .rt-h span { font-weight: 800; font-size: 14px; color: #f5efe0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tip.wide .rt-h b { font: 400 30px/1 var(--display); color: var(--gold-2); }
.tip.wide .rt-s { font-size: 11px; color: var(--muted); line-height: 1.35; margin-bottom: 8px; }
.tip.wide .rt-row { display: grid; grid-template-columns: minmax(0, 1fr) 46px 42px; align-items: center; gap: 8px; padding: 2px 0; }
.tip.wide .rt-l { font-size: 11.5px; font-weight: 700; color: #e9e1cb; line-height: 1.2; }
.tip.wide .rt-l small { display: block; font-weight: 500; font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tip.wide .rt-bar { height: 5px; border-radius: 4px; background: #1d1a12; overflow: hidden; }
.tip.wide .rt-bar i { display: block; height: 100%; background: var(--grad); }
.tip.wide .rt-row > b { font-size: 13px; text-align: right; white-space: nowrap; }
.tip.wide .rt-row > b small { color: var(--muted); font-weight: 500; font-size: 10px; }
.tip.wide .rt-row.pen .rt-bar i { background: #b5473a; }
.tip.wide .rt-row.pen > b { color: #f08a7e; }
.tip.wide .rt-k { margin-top: 8px; font-size: 10px; text-transform: uppercase; letter-spacing: 1.4px; font-weight: 800; color: #f08a7e; }
.tip.wide .rt-k.ok { color: #6fd08a; }
.tip.wide .rt-sum { margin-top: 8px; padding-top: 6px; border-top: 1px solid var(--line); font-size: 12px; text-align: right; }
.tip.wide .rt-lost { margin-top: 4px; font-size: 11px; color: #d9d1bc; line-height: 1.4; }
.tip.wide .rt-lost b { color: #f08a7e; font-size: 11px; }
#rodTable td.ri[data-ri] { cursor: help; }
#rodTable td.ri[data-ri] b { border-bottom: 1px dotted var(--gold-3); }
.ri-i { font-size: 11px; color: var(--gold-3); }
@media (max-width: 700px) {
  .tip.wide { width: calc(100vw - 16px); max-width: calc(100vw - 16px); left: 8px !important; }
}
@media (max-width: 700px) { .tip.wide .rt-l small { white-space: normal; } .tip.wide { padding: 10px 12px; } }

/* gêmeos no Brasileirão */
.br-team { margin-bottom: 22px; }
.br-team h4 { margin: 18px 0 10px; font: 400 20px var(--display); letter-spacing: 1px; color: var(--gold-2); }
.brt-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.brt-vs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font: 400 30px/1 var(--display); letter-spacing: .5px; }
.brt-vs b { font-weight: 400; }
.brt-vs .crest-sm { width: 40px; height: 46px; display: inline-block; }
.brt-vs .crest-sm svg, .brt-vs .crest-sm img { width: 100%; height: 100%; object-fit: contain; }
.brt-eq { color: var(--gold); }
.tw-crest { display: inline-grid; place-items: center; min-width: 38px; height: 26px; padding: 0 6px; border-radius: 7px; background: #1d1a12; border: 1px solid var(--gold-3); color: var(--gold-2); font: 800 11px/1 inherit; letter-spacing: 1px; }
.tw-crest.big { min-width: 52px; height: 34px; font-size: 14px; }
.tw-sim { text-align: right; line-height: 1; }
.tw-sim b { display: block; font: 400 40px/1 var(--display); color: var(--gold-2); }
.tw-sim small { font-size: 11px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--muted); }
.tw-why { font-size: 14px; color: #d9d1bc; line-height: 1.5; margin: 12px 0; }
.tw-why b { color: #f5efe0; }
.tw-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--muted); margin: 4px 0 10px; }
.tw-legend i, .tw-track i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; vertical-align: -1px; margin-right: 5px; }
.tw-legend i.a, .tw-track i.a { background: var(--gold); box-shadow: 0 0 0 2px #0b0a07; }
.tw-legend i.b, .tw-track i.b { background: #f5efe0; box-shadow: 0 0 0 2px #0b0a07; }
.tw-legend i.mid, .tw-legend i.avg { width: 2px; height: 12px; border-radius: 0; background: #6b6350; }
.tw-rows { display: grid; gap: 2px; }
.tw-row { display: grid; grid-template-columns: minmax(0, 1fr) 160px 90px; align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.04); }
.tw-l { font-size: 13px; font-weight: 700; color: #ece5d2; }
.tw-l small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.tw-track { position: relative; height: 12px; border-radius: 6px; background: #17140d; }
.tw-track i { position: absolute; top: 50%; margin: 0; transform: translate(-50%, -50%); }
.tw-track i.mid { left: 50%; width: 2px; height: 16px; border-radius: 0; background: #4d4634; }
.tw-track i.avg { width: 2px; height: 16px; border-radius: 0; background: #6b6350; }
.tw-tag { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; text-align: center; padding: 4px 6px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); }
.tw-tag.eq { color: #6fd08a; border-color: #2c5a37; }
.tw-tag.near { color: var(--gold-2); border-color: var(--gold-3); }
.tw-tag.far { color: #f08a7e; border-color: #7c2a22; }
.brt-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; }
.brt-item { display: grid; grid-template-columns: 30px 44px minmax(0, 1fr) 90px 40px; align-items: center; gap: 8px; font-size: 13px; padding: 3px 0; }
.brt-item .n { color: var(--muted); font-weight: 700; }
.brt-item .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brt-item .bar { height: 6px; border-radius: 4px; background: #1a1710; overflow: hidden; }
.brt-item .bar i { display: block; height: 100%; background: var(--grad); }
.brt-item b { text-align: right; }
.brt-item.top .nm, .brt-item.top b { color: var(--gold-2); font-weight: 800; }
.br-h { margin: 6px 0 6px; font: 400 26px var(--display); letter-spacing: 1px; }
.br-h small { font: 500 13px inherit; color: var(--muted); letter-spacing: 0; }
.tw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 14px; }
.tw-card { border: 1px solid var(--line); border-radius: 16px; background: #0b0a07; padding: 14px 16px; }
.tw-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.tw-head .av { width: 40px; height: 40px; margin: 0; }
.tw-who b { display: block; font-size: 15px; }
.tw-who small, .tw-twin small { color: var(--muted); font-size: 12px; }
.tw-twin { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: radial-gradient(120% 160% at 0% 0%, #2a210c, #0b0a07 70%); border: 1px solid var(--gold-3); }
.tw-twin b { display: block; font: 400 24px/1.05 var(--display); letter-spacing: .5px; color: #f5efe0; }
.tw-card .tw-row { grid-template-columns: minmax(0, 1fr) 110px 82px; }
.tw-note { font-size: 12.5px; color: #d9d1bc; background: #14120c; border-left: 3px solid var(--gold-3); padding: 8px 10px; border-radius: 6px; margin: 10px 0 0; line-height: 1.45; }
.tw-alt { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.br-src { margin-top: 14px; }
.br-src a { color: var(--gold-2); }
@media (max-width: 700px) {
  .tw-row, .tw-card .tw-row { grid-template-columns: minmax(0, 1fr) 74px; }
  .tw-row .tw-track { grid-column: 1 / -1; grid-row: 2; }
  .tw-row .tw-l { grid-column: 1; grid-row: 1; }
  .tw-row .tw-tag { grid-column: 2; grid-row: 1; font-size: 10px; }
  .brt-list { grid-template-columns: 1fr; }
  .brt-item { grid-template-columns: 26px 44px minmax(0, 1fr) 60px 36px; }
  .brt-vs { font-size: 24px; }
  .tw-sim b { font-size: 32px; }
  .tw-twin b { font-size: 20px; }
}
.tw-track i.a { width: 15px; height: 15px; }
.tw-track i.b { width: 8px; height: 8px; box-shadow: 0 0 0 1.5px #0b0a07; }
.tw-legend i.a { width: 13px; height: 13px; }
.tw-legend i.b { width: 8px; height: 8px; }

/* gêmeos: foto de um lado, gêmeo do outro */
.tw-vs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 10px; text-align: center; padding: 4px 0 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.tw-side { display: grid; justify-items: center; gap: 4px; min-width: 0; }
.tw-side b { font: 400 22px/1.05 var(--display); letter-spacing: .5px; color: #f5efe0; overflow-wrap: anywhere; }
.tw-side small { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.tw-ph { position: relative; width: 112px; height: 112px; border-radius: 50%; border: 2px solid var(--gold); background: radial-gradient(circle at 50% 30%, #2a210c, #0b0a07 75%); display: grid; place-items: center; margin-bottom: 4px; }
.tw-ph .ini { font: 400 36px var(--display); color: var(--gold-2); }
.tw-ph > img:not(.tw-badge) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; border-radius: 50%; background: #0b0a07; }
.tw-badge { position: absolute; right: -4px; bottom: -2px; width: 38px; height: 38px; object-fit: contain; display: grid; place-items: center; filter: drop-shadow(0 2px 4px rgba(0,0,0,.7)); }
.tw-badge svg, .tw-badge img { width: 100%; height: 100%; object-fit: contain; }
.tw-badge.txt { width: auto; padding: 2px 5px; border-radius: 6px; background: #1d1a12; border: 1px solid var(--gold-3); font: 800 10px inherit; color: var(--gold-2); }
.tw-mid { align-self: center; display: grid; justify-items: center; gap: 2px; padding-top: 10px; }
.tw-mid b { font: 400 44px/1 var(--display); color: var(--gold-2); }
.tw-mid small { font-size: 10.5px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--muted); }
.tw-mid::before { content: "≈"; font-size: 22px; color: var(--gold-3); line-height: 1; }
.brt-vs { border-bottom: 0; margin-bottom: 0; }
.brt-cr { width: 92px; height: 92px; object-fit: contain; display: grid; place-items: center; margin-bottom: 4px; }
.brt-cr svg, .brt-cr img { width: 100%; height: 100%; object-fit: contain; }
.brt-mini { width: 26px; height: 26px; object-fit: contain; justify-self: center; }
.brt-mini.txt { width: auto; font: 800 10px inherit; color: var(--gold-2); }
.brt-item { grid-template-columns: 30px 30px minmax(0, 1fr) 90px 40px; }
@media (max-width: 700px) {
  .tw-ph { width: 84px; height: 84px; }
  .tw-ph .ini { font-size: 28px; }
  .tw-badge { width: 30px; height: 30px; }
  .tw-side b { font-size: 18px; }
  .tw-mid b { font-size: 32px; }
  .brt-cr { width: 70px; height: 70px; }
  .brt-item { grid-template-columns: 26px 26px minmax(0, 1fr) 60px 36px; }
}

/* gêmeos: baixar cada card */
.tw-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.tw-kicker { font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); }
.tw-dl { flex: none; }
.exp-only { display: none; }
body.exporting .exp-only { display: block; }
.tw-foot { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); text-align: center; }
.tw-foot span { display: block; font: 400 18px var(--display); letter-spacing: 1.5px; color: var(--gold-2); }
.tw-foot small { font-size: 11px; color: var(--muted); }
@media (max-width: 700px) {
  .tw-card, .br-team { padding: 12px; }
  .tw-dl { padding: 7px 12px; min-height: 36px; }
}
@media (max-width: 700px) {
  #brIntro.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; position: relative; cursor: pointer; }
  #brIntro.clamp::after { content: "ler mais"; position: absolute; right: 0; bottom: 0; padding-left: 30px; background: linear-gradient(90deg, transparent, var(--bg) 40%); color: var(--gold-2); font-weight: 700; }
  #brIntro.clamp.open { display: block; -webkit-line-clamp: unset; } #brIntro.clamp.open::after { display: none; }
}
@media (max-width: 700px) {
  .tw-card:not(.open) .tw-rows { display: none; }
  body.exporting .tw-card .tw-rows { display: grid !important; }
  .tw-more { width: 100%; margin: 2px 0 6px; justify-content: center; }
}
