/* Radar Europeu de Clubes — visual baseado no Ledger Design System
   preto profundo, cartões escuros com borda fina, Geist leve, acento esmeralda, rosa para queda */
:root {
  --canvas: #000000;
  --app: #0c0d10;        /* área do app e barra lateral */
  --card: #0A0B0E;       /* cartão principal */
  --inner: #121317;      /* cartão interno, campos */
  --raise: #1a1b20;      /* popover, hover forte */
  --track: #14181F;      /* trilho de pílulas */
  --line: rgba(255,255,255,.06);
  --line-2: rgba(255,255,255,.10);
  --fg: #ffffff;
  --fg-2: #d4d4d4;
  --muted: #a3a3a3;
  --muted-2: #737373;
  --accent: #34d399;     /* esmeralda 400 */
  --accent-2: #10b981;   /* esmeralda 500 */
  --accent-3: #059669;   /* esmeralda 600 */
  --ok: #34d399;
  --bad: #f43f5e;        /* rosa 500 */
  --warn: #facc15;
  --purple: #a855f7;
  --mid: #3f4148;        /* barras neutras */
  --display: "Geist", "Segoe UI", system-ui, sans-serif;
  --body: "Geist", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --r-lg: 24px; --r: 16px; --r-sm: 10px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--canvas); color: var(--fg); font-family: var(--body); font-size: 14.5px; -webkit-font-smoothing: antialiased; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
button { font: inherit; color: inherit; }
button:focus-visible, input:focus-visible, tr:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- casca: barra lateral + área principal ---------- */
.shell { background: var(--app); display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; background: var(--app); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 24px 16px; gap: 28px; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--accent-3), var(--accent)); box-shadow: 0 0 18px -4px rgba(16,185,129,.55); position: relative; flex: none; overflow: hidden; }
.brand-mark i { position: absolute; inset: 7px; border-radius: 50%; border: 2px solid rgba(0,0,0,.55); }
.brand-mark i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 50%; height: 2px; background: rgba(0,0,0,.65); transform-origin: 0 50%; animation: sweep 5s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.brand-txt { display: flex; flex-direction: column; }
.brand-name { font-weight: 600; font-size: 1.1rem; letter-spacing: -.02em; line-height: 1; }
.brand-sub { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); margin-top: 5px; font-weight: 500; }
.tabs { display: flex; flex-direction: column; gap: 2px; }
.nav-label { margin: 14px 12px 6px; font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); }
.nav-label:first-child { margin-top: 0; }
.tabs button { display: flex; align-items: center; gap: 12px; background: none; border: 1px solid transparent; border-radius: 12px; padding: 9px 12px; color: var(--muted); cursor: pointer; font-weight: 500; font-size: .9rem; text-align: left; transition: color .2s, background-color .2s; }
.tabs button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tabs button:hover { color: var(--fg); background: rgba(255,255,255,.04); }
.tabs button[aria-selected="true"] { color: var(--fg); background: rgba(255,255,255,.06); border-color: var(--line); }
.tabs button[aria-selected="true"] svg { color: var(--accent); }
.side-foot { margin-top: auto; display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: var(--r); background: var(--inner); border: 1px solid var(--line); font-size: .76rem; }
.side-foot b { display: block; font-weight: 500; color: var(--fg-2); }
.side-foot span { color: var(--muted-2); }
.live-dot { width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
@media (prefers-reduced-motion: reduce) { .brand-mark i::after, .live-dot { animation: none; } }

.main { min-width: 0; background: var(--app); display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 36px; background: rgba(12,13,16,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top h1 { margin: 0; font-size: 1.6rem; font-weight: 300; letter-spacing: -.03em; line-height: 1.1; }
.edition { margin: 4px 0 0; color: var(--muted-2); font-family: var(--mono); font-size: .74rem; }
.search { position: relative; flex: 0 1 320px; min-width: 200px; display: flex; align-items: center; }
.search svg { position: absolute; left: 14px; width: 16px; height: 16px; fill: none; stroke: var(--muted-2); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.search input { width: 100%; background: var(--inner); border: 1px solid var(--line); color: var(--fg); border-radius: 12px; padding: 10px 14px 10px 38px; font: inherit; transition: border-color .2s; }
.search input:focus { outline: none; border-color: rgba(52,211,153,.4); box-shadow: 0 0 0 3px rgba(16,185,129,.12); }
.search-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; background: var(--raise); border: 1px solid var(--line-2); border-radius: 14px; max-height: 340px; overflow: auto; box-shadow: 0 25px 50px -12px rgba(0,0,0,.7); }
.search-list li { padding: 9px 12px; border-radius: 10px; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; }
.search-list li:hover, .search-list li.on { background: rgba(255,255,255,.06); }
.search-list small { color: var(--muted-2); }

main { padding: 28px 36px 8px; display: flex; flex-direction: column; }
.page { display: flex; flex-direction: column; gap: 18px; animation: fadeIn .35s ease-out both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .page { animation: none; } }

/* ---------- cartões ---------- */
.card { position: relative; background: var(--inner); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; transition: border-color .25s; }
.card:hover { border-color: var(--line-2); }
.card h2 { font-size: 1rem; font-weight: 500; margin: 0; letter-spacing: -.01em; color: var(--fg); }
.card-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.sec-head { margin-top: 6px; }
.sec-head h2 { font-size: 1.05rem; font-weight: 500; margin: 0; }
.note { margin: 0; color: var(--muted-2); font-size: .82rem; line-height: 1.5; }
.eyebrow { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); }
.link { background: none; border: 0; color: var(--muted); font-size: .8rem; cursor: pointer; padding: 4px 0; }
.link:hover { color: var(--accent); }
.tag { font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; padding: 3px 8px; border-radius: 6px; border: 1px solid; }
.tag.ok { color: var(--ok); background: rgba(16,185,129,.1); border-color: rgba(16,185,129,.2); }
.tag.bad { color: var(--bad); background: rgba(244,63,94,.1); border-color: rgba(244,63,94,.2); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 16px; }

/* ---------- visão geral ---------- */
.takeaway { margin: 0; color: var(--muted); max-width: 95ch; line-height: 1.6; font-size: .92rem; }
.takeaway b { color: var(--fg); font-weight: 500; }
.ov-top { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 16px; }
.hero { background: var(--card); border-color: var(--line-2); border-radius: 20px; padding: 28px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,.6); }
.hero:hover { border-color: rgba(16,185,129,.22); }
.hero-glow { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(16,185,129,.07), transparent 45%); pointer-events: none; }
.hero-head { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.hero-metric { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.hero-metric span { font-size: 3.6rem; font-weight: 300; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.hero-metric small { color: var(--muted-2); font-size: .95rem; }
.delta { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 500; color: var(--accent); background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.2); padding: 4px 10px; border-radius: 8px; box-shadow: 0 0 10px rgba(16,185,129,.1); white-space: nowrap; }
.vbars { position: relative; display: grid; grid-template-columns: repeat(var(--n, 11), minmax(0, 1fr)); gap: 10px; height: 230px; align-items: end; padding-top: 22px; }
.vbars::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; border-top: 1px dashed rgba(255,255,255,.16); }
.vbar { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; cursor: pointer; min-width: 0; }
.vbar-track { position: relative; width: 100%; flex: 1; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.02); box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.vbar-track::before { content: ""; position: absolute; inset: 0; opacity: .07; background-image: repeating-linear-gradient(45deg, transparent, transparent 4px, #fff 4px, #fff 6px); }
.vbar-fill { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 10px; background: linear-gradient(to top, var(--accent-3), var(--accent)); box-shadow: 0 0 15px rgba(16,185,129,.22); transition: filter .2s, height .8s cubic-bezier(.2,.8,.2,1); }
.vbar.best .vbar-fill { background: linear-gradient(to top, var(--accent-2), #6ee7b7); }
.vbar-val { position: absolute; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: .7rem; color: var(--fg); z-index: 1; }
.vbar small { font-size: .7rem; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; transition: color .2s; }
.vbar:hover .vbar-fill { filter: brightness(1.15); }
.vbar:hover small { color: var(--fg); }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-content: stretch; }
.kpi { background: var(--inner); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; transition: border-color .25s; position: relative; overflow: hidden; }
.kpi:hover { border-color: var(--line-2); }
.kpi span { color: var(--muted-2); font-size: .82rem; font-weight: 500; }
.kpi b { font-size: 2.1rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi.acc b { color: var(--fg); }
.kpi.acc::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: rgba(16,185,129,.12); filter: blur(28px); }
.kpi.ok b { color: var(--ok); } .kpi.bad b { color: var(--bad); }
.ov-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rows { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rows li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.02); border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background-color .2s; }
.rows li:hover { border-color: rgba(16,185,129,.25); background: rgba(255,255,255,.035); }
.rows .r-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rows .r-main b { font-weight: 500; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows .r-main span { font-size: .74rem; color: var(--muted-2); }
.rows .r-side { font-family: var(--mono); font-size: .76rem; white-space: nowrap; }
.chip-n { font-family: var(--mono); font-size: .72rem; padding: 2px 7px; border-radius: 6px; border: 1px solid; white-space: nowrap; }
.chip-n.ok { color: var(--ok); background: rgba(16,185,129,.1); border-color: rgba(16,185,129,.2); }
.chip-n.bad { color: var(--bad); background: rgba(244,63,94,.1); border-color: rgba(244,63,94,.2); }
.chip-n.mid { color: var(--muted); background: rgba(255,255,255,.04); border-color: var(--line); }
.pos-badge { width: 30px; height: 30px; flex: none; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: .76rem; background: var(--track); border: 1px solid var(--line); color: var(--fg-2); }
.pos-badge.lead { color: #052e1f; background: linear-gradient(135deg, var(--accent-2), var(--accent)); border-color: transparent; box-shadow: 0 0 12px -2px rgba(16,185,129,.5); }

/* ---------- filtros ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: var(--inner); border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 6px 14px; font-size: .8rem; font-weight: 500; cursor: pointer; transition: color .2s, border-color .2s, background-color .2s; }
.chip:hover { color: var(--fg); border-color: var(--line-2); }
.chip[aria-pressed="true"] { background: rgba(16,185,129,.12); border-color: rgba(16,185,129,.35); color: var(--accent); box-shadow: 0 0 12px -4px rgba(16,185,129,.4); }
.chip:disabled { opacity: .35; cursor: not-allowed; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--track); border: 1px solid var(--line); box-shadow: inset 0 1px 2px rgba(0,0,0,.4); }
.seg .chip { border: 0; background: none; border-radius: 9px; padding: 6px 12px; }
.seg .chip[aria-pressed="true"] { background: var(--accent-2); color: #04130d; box-shadow: 0 0 15px -3px rgba(16,185,129,.5); }

/* ---------- gráficos ---------- */
.chart { position: relative; min-height: 120px; }
.chart.tall { min-height: 340px; }
.chart svg { display: block; width: 100%; }
.chart text { fill: var(--muted-2); font-family: var(--body); font-size: 12px; }
.chart text.lbl { fill: var(--fg-2); }
.chart text.val { font-family: var(--mono); font-size: 11px; fill: var(--muted); }
.chart .hit { fill: transparent; cursor: pointer; }
.chart g.row:hover rect.bar { filter: brightness(1.2); }
.empty { color: var(--muted-2); font-size: .9rem; padding: 18px 0; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }

/* ---------- tabelas ---------- */
.tablewrap { overflow: auto; max-height: 660px; border-radius: 12px; border: 1px solid var(--line); }
.tbl { width: 100%; border-collapse: collapse; font-size: .84rem; }
.tbl th { position: sticky; top: 0; z-index: 1; background: #15161b; text-align: left; color: var(--muted-2); font-weight: 500; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; padding: 11px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; cursor: pointer; user-select: none; }
.tbl th:hover { color: var(--fg-2); }
.tbl th[aria-sort="ascending"]::after { content: " ↑"; color: var(--accent); }
.tbl th[aria-sort="descending"]::after { content: " ↓"; color: var(--accent); }
.tbl td { padding: 10px; border-bottom: 1px solid rgba(255,255,255,.035); vertical-align: middle; color: var(--fg-2); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td.n, .tbl th.n { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.tbl tbody tr { cursor: pointer; transition: background-color .15s; }
.tbl tbody tr:hover { background: rgba(255,255,255,.025); }
.tbl td.club { font-weight: 500; color: var(--fg); white-space: nowrap; }
.tbl td.dim { color: var(--muted-2); min-width: 220px; }
.tbl td.res-V { color: var(--ok); } .tbl td.res-D { color: var(--bad); } .tbl td.res-E { color: var(--muted); }
.tbl.full tbody tr { cursor: default; }
.tbl.full tbody tr.mine-row { cursor: pointer; background: rgba(16,185,129,.05); }
.tbl.full tbody tr.mine-row:hover { background: rgba(16,185,129,.09); }
.tbl.full tbody tr.mine-row td.club { color: var(--accent); }
.tbl.full tbody tr.mine-row td:first-child { box-shadow: inset 2px 0 0 var(--accent); }
.tbl.full td.pts { font-weight: 600; color: var(--fg); }
.tbl.full tr.z-top td:first-child { color: var(--ok); }
.tbl.full tr.z-bottom td:first-child { color: var(--bad); }
.tbl.mini { font-size: .82rem; }
.tbl.mini tbody tr { cursor: default; }
.dim { color: var(--muted-2); }

.pill { display: inline-flex; align-items: center; gap: 5px; border: 1px solid; border-radius: 999px; padding: 2px 9px; font-size: .72rem; font-weight: 500; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.alta { color: var(--ok); background: rgba(16,185,129,.08); border-color: rgba(16,185,129,.22); }
.pill.baixa { color: var(--bad); background: rgba(244,63,94,.08); border-color: rgba(244,63,94,.22); }
.pill.estável { color: var(--muted); background: rgba(255,255,255,.03); border-color: var(--line-2); }
.meter { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .76rem; }
.meter span { display: block; width: 72px; height: 6px; background: rgba(255,255,255,.05); border-radius: 999px; overflow: hidden; }
.meter span i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-3), var(--accent)); border-radius: 999px; box-shadow: 0 0 8px rgba(16,185,129,.35); }

/* forma */
.form { display: inline-flex; gap: 3px; }
.form i, .form .fchip { width: 20px; height: 20px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font: 600 .66rem var(--mono); font-style: normal; border: 1px solid; padding: 0; }
.form .V { color: var(--ok); background: rgba(16,185,129,.14); border-color: rgba(16,185,129,.35); }
.form .E { color: var(--muted); background: rgba(255,255,255,.05); border-color: var(--line-2); }
.form .D { color: var(--bad); background: rgba(244,63,94,.14); border-color: rgba(244,63,94,.35); }
.form .fchip { cursor: pointer; transition: transform .12s ease-out, box-shadow .2s; }
.form .fchip:hover, .form .fchip:focus-visible { transform: translateY(-2px); outline: none; box-shadow: 0 0 12px -2px currentColor; }
.forma-linha { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.forma-dica { font-size: .76rem; }

/* casa/fora */
.split { white-space: nowrap; font-family: var(--mono); font-size: .76rem; }
.split .ved { color: var(--fg-2); margin-right: 6px; }
.split .sp-pts { color: var(--muted-2); }
.split .sp-pts.good { color: var(--ok); } .split .sp-pts.poor { color: var(--bad); }
.split .sp-g { color: var(--muted-2); margin-left: 6px; }

/* ---------- ligas ---------- */
.leagues { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.league h2 { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.league h2 small { font-family: var(--mono); font-size: .7rem; color: var(--muted-2); font-weight: 400; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 4px 0 0; font-size: .84rem; }
.dl dt { color: var(--muted-2); }
.dl dd { margin: 0; color: var(--fg-2); }
.dl .up { color: var(--ok); } .dl .down { color: var(--bad); }
.mine { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.mine button { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; font-size: .76rem; cursor: pointer; color: var(--fg-2); transition: border-color .2s; }
.mine button:hover { border-color: rgba(16,185,129,.3); }
.mine button b { font-family: var(--mono); color: var(--accent); margin-right: 5px; font-weight: 500; }
.src { font-size: .76rem; color: var(--muted-2); margin: 0; }

/* ---------- notícias ---------- */
.news { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.news .card h2 { font-size: 1.02rem; line-height: 1.35; }
.news .meta { display: flex; gap: 10px; color: var(--muted-2); font-family: var(--mono); font-size: .72rem; }
.news .meta span:last-child { color: var(--accent); }
.news p { margin: 0; line-height: 1.55; font-size: .86rem; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tags span { font-size: .7rem; color: var(--muted); border: 1px solid var(--line); background: rgba(255,255,255,.02); border-radius: 6px; padding: 1px 7px; }

/* ---------- janela flutuante ---------- */
.tip { position: fixed; z-index: 70; pointer-events: none; background: rgba(15,23,42,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; font-size: .8rem; max-width: 300px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.7); color: var(--fg-2); }
.tip b { display: block; color: var(--fg); font-weight: 500; font-size: .86rem; margin-bottom: 2px; }
.tip.pinned { pointer-events: auto; border-color: rgba(16,185,129,.4); }
.tip:has(.jogo) { max-width: 340px; }
.jogo { display: flex; flex-direction: column; gap: 5px; min-width: 270px; }
.jogo-res { font-weight: 600; font-size: .92rem; }
.jogo-res.V { color: var(--ok); } .jogo-res.E { color: var(--muted); } .jogo-res.D { color: var(--bad); }
.jogo-linha { display: grid; grid-template-columns: 56px 1fr; gap: 8px; font-size: .8rem; }
.jogo-k { color: var(--muted-2); text-transform: uppercase; font-size: .64rem; letter-spacing: .07em; padding-top: 2px; }
.jogo-eu { color: var(--accent); font-weight: 500; }
.jogo-placar { font-family: var(--mono); }
.jogo-obs { margin: 0; color: var(--muted); font-size: .8rem; max-width: 240px; }

/* ---------- página do clube ---------- */
.drawer-bg { position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(3px); z-index: 40; }
.drawer { position: fixed; z-index: 50; top: 0; right: 0; height: 100%; width: min(580px, 100%); background: var(--card); border-left: 1px solid var(--line-2); transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); overflow-y: auto; padding: 28px 28px 48px; box-shadow: -30px 0 60px -20px rgba(0,0,0,.8); }
.drawer.open { transform: none; }
.drawer::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(16,185,129,.09); filter: blur(60px); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .drawer { transition: none; } }
.drawer:focus { outline: none; }
.drawer-x { position: absolute; top: 16px; right: 18px; width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--muted); z-index: 2; }
.drawer-x:hover { color: var(--fg); background: rgba(255,255,255,.1); }
.dr-head { position: relative; display: flex; flex-direction: column; gap: 6px; padding-right: 40px; }
.dr-head h2 { font-size: 2.2rem; font-weight: 300; letter-spacing: -.035em; margin: 0; line-height: 1.05; }
.dr-head p { margin: 0; color: var(--muted-2); }
.dr-head .pill { align-self: flex-start; }
.dr-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 20px 0 8px; position: relative; }
.dr-stats div { background: var(--inner); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.dr-stats span { display: block; font-size: .66rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.dr-stats b { font-size: 1.45rem; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dr-sec { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.dr-sec h3 { margin: 0; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.dr-sec p { margin: 0; line-height: 1.55; color: var(--fg-2); font-size: .9rem; }
.dr-sec ul { margin: 0; padding-left: 18px; color: var(--fg-2); font-size: .9rem; line-height: 1.6; }

.foot { color: var(--muted-2); font-size: .74rem; border-top: 1px solid var(--line); margin: 28px 36px 0; padding: 16px 0 32px; line-height: 1.7; }
.foot a { color: var(--muted); }

/* ---------- responsivo ---------- */
@media (max-width: 1200px) { .ov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) {
  .ov-top { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .side { min-width: 0; position: sticky; top: 0; z-index: 25; height: auto; flex-direction: row; align-items: center; padding: 10px 16px; gap: 14px; border-right: 0; border-bottom: 1px solid var(--line); overflow: visible; }
  .brand-txt, .nav-label, .side-foot { display: none; }
  .brand { padding: 0; }
  .tabs { min-width: 0; flex: 1; flex-direction: row; overflow-x: auto; gap: 4px; scrollbar-width: none; }
  .tabs button { padding: 8px 10px; white-space: nowrap; }
  .tabs button svg { display: none; }
  .top { position: static; padding: 18px 16px; }
  main { padding: 18px 16px 8px; }
  .foot { margin: 24px 16px 0; }
  .ov-grid { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .hero-metric span { font-size: 2.8rem; }
  .vbars { gap: 5px; height: 190px; }
  .dr-stats { grid-template-columns: repeat(2, 1fr); }
  .drawer { padding: 22px 18px 40px; }
}
