/* FUTBOX Database: escuro com o amarelo da marca. Layout de "database" (estilo SoFIFA/FC Mania): cabeçalho fixo,
   filtros em grade, tabela densa e fichas com barras. Tudo dos tokens abaixo. */
:root {
  color-scheme: dark;
  --bg: #08090c;
  --panel: #111318;
  --panel-2: #171a21;
  --line: #232731;
  --line-2: #2e3340;
  --fg: #f4f3ef;
  --fg-2: #a7abb6;
  --fg-3: #6e7380;
  --gold: #ffed1a;
  --gold-deep: #c8b80d;
  --gold-soft: rgba(255, 237, 26, 0.12);
  --blue: #1d4ed8;
  /* escala de nota (pedido do dono): azul no topo, verde bom, amarelo mediano, vermelho ruim */
  --r-elite: #2f6bff; /* >=94  azul */
  --r-great: #2fd36b; /* >=84  verde */
  --r-good: #8fde4d;  /* >=76  verde-limão */
  --r-mid: #ffd21a;   /* >=68  amarelo */
  --r-low: #ff9f45;   /* >=60  laranja */
  --r-bad: #f0564b;   /* <60   vermelho */
  --font-display: 'Russo One', 'Barlow Condensed', system-ui, sans-serif;
  --font-hud: 'Barlow Condensed', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Barlow', 'Segoe UI', system-ui, sans-serif;
  --radius: 14px;
  --wrap: 1560px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 15px/1.45 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 50; background: var(--gold); color: #000; padding: 6px 10px; border-radius: 8px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- topo ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 9, 12, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top__in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 52px; height: 52px; }
.brand__name { font: 400 1.25rem var(--font-display); letter-spacing: 0.04em; color: var(--gold); }
.brand__sep { width: 1px; height: 18px; background: var(--line-2); }
.brand__tag { font: 700 0.85rem var(--font-hud); letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-2); }
.nav { display: flex; gap: 4px; }
.nav a {
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--fg-2);
  transition: background 0.15s, color 0.15s;
}
.nav a:hover { color: var(--fg); background: var(--panel); }
.nav a[aria-current='page'] { color: var(--fg); background: var(--panel-2); box-shadow: inset 0 -2px 0 var(--gold); }
.top__game {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--fg-3);
}
.top__game b {
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: var(--panel);
  color: var(--fg);
  font-weight: 700;
}
.search {
  position: relative;
  width: 260px;
  flex: none;
}
.search svg { position: absolute; left: 12px; top: 50%; translate: 0 -50%; width: 17px; height: 17px; fill: none; stroke: var(--fg-3); stroke-width: 2; }
.search input {
  width: 100%;
  height: 42px;
  padding: 0 14px 0 38px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: var(--panel);
}
.search input::placeholder { color: var(--fg-3); }

main { max-width: var(--wrap); margin: 0 auto; padding: 28px 24px 64px; min-height: 70vh; }
main:focus { outline: none; }
.loading { padding: 80px 0; text-align: center; color: var(--fg-2); }

.foot { border-top: 1px solid var(--line); }
.foot__in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 0.82rem;
  color: var(--fg-3);
}
.foot__in a { margin-left: auto; color: var(--fg-2); }

/* ---------- títulos ---------- */
.page-title { margin: 8px 0 4px; font: 400 clamp(2rem, 4vw, 2.8rem)/1 var(--font-display); letter-spacing: 0.01em; text-transform: uppercase; text-wrap: balance; }
.page-sub { margin: 0 0 24px; color: var(--fg-2); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 40px 0 14px; }
.section-head h2 { margin: 0; font: 400 1.35rem var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; }
.section-head a { color: var(--gold); font-weight: 600; font-size: 0.92rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; font-size: 0.9rem; color: var(--fg-3); }
.crumbs a { color: var(--fg-2); }
.crumbs a:hover { color: var(--fg); }

/* ---------- notas ---------- */
.ovr {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 38px;
  padding: 0 6px;
  border-radius: 9px;
  font: 400 1.15rem var(--font-display);
  color: var(--rci, #0a0a0a);
  background: var(--rc, var(--fg-3));
}
.ovr--line { background: transparent; color: var(--rc); border: 2px solid var(--rc); }
.stat { font: 700 1rem var(--font-hud); color: var(--rc, var(--fg)); letter-spacing: 0.02em; }
.pos {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  font: 700 0.78rem var(--font-hud);
  letter-spacing: 0.08em;
}
.pos[data-g='GOL'] { color: #fbbf24; }
.pos[data-g='DEF'] { color: #60a5fa; }
.pos[data-g='MEI'] { color: #4ade80; }
.pos[data-g='ATA'] { color: #f87171; }
.nat {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  font: 700 0.7rem var(--font-hud);
  letter-spacing: 0.08em;
  color: var(--fg-2);
}
.face {
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: var(--panel-2) center / 62% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236e7380'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7z'/%3E%3C/svg%3E");
  border: 1px solid var(--line-2);
}
.face img { width: 100%; height: 100%; object-fit: cover; }
.crest { width: 22px; height: 22px; object-fit: contain; flex: none; }

/* ---------- início ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 24px 0 36px;
  border-bottom: 1px solid var(--line);
}
.hero h1 { margin: 0 0 14px; font: 400 clamp(2.2rem, 5vw, 3.6rem)/1.02 var(--font-display); text-transform: uppercase; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { margin: 0 0 22px; max-width: 560px; color: var(--fg-2); font-size: 1.05rem; }
.hero form { display: flex; gap: 10px; max-width: 560px; }
.hero input {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--panel);
}
.btn {
  height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--gold);
  color: #0a0a0a;
  font-weight: 700;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
/* números do patch (lado direito do Início): 4 cartões com a barrinha dourada da marca */
.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hero-stats div { position: relative; padding: 18px 20px 16px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.hero-stats div::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 3px 3px 0; background: var(--gold); }
.hero-stats b { display: block; font: 400 clamp(1.7rem, 2.2vw, 2.3rem)/1.05 var(--font-display); }
.hero-stats span { color: var(--fg-2); font: 700 0.72rem var(--font-hud); letter-spacing: 0.14em; text-transform: uppercase; }

/* botão Adquira na barra de cima (vai pra joguefutbox.com.br/patch) */
.pick--buy { text-decoration: none; }
.pick--buy b { display: flex; align-items: center; height: 34px; padding: 0 18px; border-radius: 9px; background: var(--gold); color: #0a0a0a; font-size: 0.9rem; font-weight: 700; white-space: nowrap; }
.pick--buy:hover b { filter: brightness(1.08); }

/* "Última atualização" na barra de cima, no padrão dos seletores Jogo/Patch */
.pick--info b { display: flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--blue-deep); background: var(--panel); color: var(--fg); font-size: 0.9rem; font-weight: 700; white-space: nowrap; }

/* valor de mercado em destaque */
.valor-tag { color: var(--gold); font-weight: 700; white-space: nowrap; }
td.td-valor { color: var(--gold); font-weight: 600; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.pcard {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color 0.15s, transform 0.15s;
}
.pcard:hover { border-color: var(--line-2); transform: translateY(-2px); }
.pcard .ovr { min-width: 54px; height: 54px; flex-direction: column; font-size: 1.4rem; line-height: 1; }
.pcard .ovr small { font: 700 0.6rem var(--font-hud); letter-spacing: 0.1em; }
.pcard .face { width: 52px; height: 52px; }
.pcard__body { min-width: 0; display: grid; gap: 3px; }
.pcard__name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__meta { display: flex; align-items: center; gap: 6px; color: var(--fg-2); font-size: 0.85rem; min-width: 0; }
.pcard__meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcard {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color 0.15s, transform 0.15s;
}
.tcard:hover { border-color: var(--line-2); transform: translateY(-2px); }
.tcard img { width: 44px; height: 44px; object-fit: contain; }
.tcard__body { min-width: 0; flex: 1; display: grid; gap: 2px; }
.tcard__name { font: 400 1.02rem var(--font-display); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcard__meta { color: var(--fg-2); font-size: 0.85rem; }

/* ---------- filtros ---------- */
.filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.filters--times { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); }
.field {
  height: 46px;
  width: 100%;
  padding: 0 14px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: var(--panel);
}
select.field { appearance: none; background: var(--panel) right 14px center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a7abb6' stroke-width='2' fill='none'/%3E%3C/svg%3E"); padding-right: 34px; }
.range { display: flex; align-items: center; gap: 8px; padding: 0 8px 0 14px; height: 46px; border: 1px solid var(--line-2); border-radius: 11px; background: var(--panel); color: var(--fg-3); font: 700 0.8rem var(--font-hud); letter-spacing: 0.1em; }
.range input { width: 100%; min-width: 0; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); text-align: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--panel);
  color: var(--fg-2);
  font-weight: 600;
  cursor: pointer;
}
.chip[aria-pressed='true'] { background: var(--gold); border-color: var(--gold); color: #0a0a0a; }
.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; color: var(--fg-2); font-size: 0.9rem; }
.result-bar button { background: none; border: 0; color: var(--gold); cursor: pointer; font-weight: 600; }

/* ---------- tabela ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th {
  position: sticky;
  top: 0;
  padding: 14px 10px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  font: 700 0.76rem var(--font-hud);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  text-align: center;
  white-space: nowrap;
}
th:first-child, td:first-child { text-align: left; padding-left: 18px; }
th button { all: unset; cursor: pointer; }
th button:hover, th[aria-sort] button { color: var(--fg); }
th[aria-sort] button::after { content: ' ▼'; font-size: 0.65em; color: var(--gold); }
th[aria-sort='ascending'] button::after { content: ' ▲'; }
th.th-ovr { color: var(--gold); }
td { padding: 10px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
tbody tr { cursor: pointer; transition: background 0.12s; }
tbody tr:hover { background: var(--panel-2); }
tbody tr:last-child td { border-bottom: 0; }
.who { display: flex; align-items: center; gap: 12px; min-width: 240px; }
.who__name { font-weight: 700; }
.who__meta { display: flex; align-items: center; gap: 6px; color: var(--fg-2); font-size: 0.84rem; }
.stars { color: var(--fg-2); font-weight: 600; }
.empty { padding: 48px 20px; text-align: center; color: var(--fg-2); }
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; }
.pager button {
  min-width: 42px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--panel);
  cursor: pointer;
  font-weight: 600;
}
.pager button[aria-current='page'] { background: var(--gold); color: #0a0a0a; border-color: var(--gold); }
.pager button:disabled { opacity: 0.35; cursor: default; }

/* ---------- ficha do jogador ---------- */
.hero-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(255, 237, 26, 0.08), transparent 55%), var(--panel);
}
.hero-card--sem-face { grid-template-columns: minmax(0, 1fr) auto; }
.hero-card--sem-ovr { grid-template-columns: auto minmax(0, 1fr); }
.hero-card--sem-face.hero-card--sem-ovr { grid-template-columns: minmax(0, 1fr); }
/* patch sem overall (PES 2013): o cartão não tem a caixinha da nota */
.pcard--sem-ovr { padding-left: 16px; }
/* "O que tem neste patch": o título geral e, abaixo, um bloco por tipo (Ligas, Copas, Seleções) */
.section-head--solo + .section-head h2 { font-size: 1.05rem; color: var(--fg-2); }
.section-head--solo + .section-head h2::before { opacity: 0.5; }
/* categorias do patch demonstrativo: cartões maiores, com a logo em destaque */
.cards--grupos { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.cards--grupos .lcard { padding: 20px; gap: 18px; }
.cards--grupos .lcard img { width: 64px; height: 64px; object-fit: contain; }
.cards--grupos .lcard__name { font-size: 1.15rem; }
.hero-card__face { width: 148px; height: 148px; border-radius: 18px; }
.tags { display: flex; gap: 8px; margin-bottom: 8px; }
.tag { padding: 3px 9px; border-radius: 7px; font: 700 0.78rem var(--font-hud); letter-spacing: 0.08em; text-transform: uppercase; }
.tag--real { background: rgba(74, 222, 128, 0.14); color: var(--r-great); }
.tag--gold { background: var(--gold); color: #0a0a0a; }
.hero-card h1 { margin: 0 0 6px; font: 400 clamp(1.8rem, 4vw, 2.7rem)/1.02 var(--font-display); text-transform: uppercase; }
.hero-card__club { display: flex; align-items: center; gap: 8px; color: var(--fg-2); font-size: 1.05rem; margin-bottom: 14px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--fg-2); }
.facts b { color: var(--fg); }
.big-ovr {
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  border-radius: 18px;
  background: var(--rc);
  color: var(--rci, #0a0a0a);
}
.big-ovr b { font: 400 3.4rem/1 var(--font-display); }
.big-ovr span { font: 700 0.85rem var(--font-hud); letter-spacing: 0.16em; margin-top: -18px; }
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.tile { padding: 16px 10px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.tile b { display: block; font: 400 2rem var(--font-display); color: var(--rc); }
.tile span { font: 700 0.78rem var(--font-hud); letter-spacing: 0.14em; color: var(--fg-2); }
.split { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.box { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.box h3 { margin: 0 0 14px; font: 400 1.05rem var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; display: flex; justify-content: space-between; align-items: center; }
.radar { width: 100%; max-width: 320px; margin: 0 auto; display: block; }
.radar text { font: 700 11px var(--font-hud); letter-spacing: 0.08em; fill: var(--fg-2); }
.info-list { display: grid; gap: 10px; margin: 18px 0 0; }
.info-list div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.info-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.info-list dt { color: var(--fg-2); }
.info-list dd { margin: 0; font-weight: 700; text-align: right; }
.groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; margin-bottom: 12px; }
.bar-row:last-child { margin-bottom: 0; }
.bar-row b { font-variant-numeric: tabular-nums; }
.bar { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--rc); }
.badge { padding: 4px 10px; border-radius: 8px; background: var(--rc); color: var(--rci, #0a0a0a); font: 400 0.95rem var(--font-display); }

/* ---------- time / liga ---------- */
.team-head { display: flex; align-items: center; gap: 22px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); margin-bottom: 18px; }
.team-head img { width: 96px; height: 96px; object-fit: contain; }
.team-head h1 { margin: 0 0 6px; font: 400 clamp(1.7rem, 4vw, 2.5rem)/1 var(--font-display); text-transform: uppercase; }
.team-head__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--fg-2); }
.team-head__meta b { color: var(--fg); }
.team-head .big-ovr { margin-left: auto; width: 104px; height: 104px; }
.team-head .big-ovr b { font-size: 2.8rem; }
.country { margin: 30px 0 12px; font: 700 0.9rem var(--font-hud); letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-2); }
.country:first-child { margin-top: 0; }
.lcard { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: border-color 0.15s, transform 0.15s; }
.lcard:hover { border-color: var(--line-2); transform: translateY(-2px); }
.lcard img { width: 44px; height: 44px; object-fit: contain; }
.lcard__body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.lcard__country { font: 700 0.72rem var(--font-hud); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.lcard__name { font: 400 1.1rem var(--font-display); text-transform: uppercase; }
.lcard__meta { color: var(--fg-2); font-size: 0.85rem; }

@media (max-width: 1080px) {
  .top__game { display: none; }
  .search { margin-left: auto; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .top__in { height: auto; flex-wrap: wrap; padding-block: 10px; gap: 10px 14px; padding-inline: 16px; }
  .nav { order: 3; width: 100%; overflow-x: auto; }
  .search { width: 100%; order: 4; }
  main { padding: 20px 16px 48px; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-card { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .hero-card__face { width: 110px; height: 110px; }
  .big-ovr { width: 96px; height: 96px; }
  .big-ovr b { font-size: 2.6rem; }
  .filters { grid-template-columns: minmax(0, 1fr); }
  .team-head { flex-wrap: wrap; }
  .team-head .big-ovr { margin-left: 0; }
}

/* ======================================================================
   IDENTIDADE FUTBOX — azul da marca + amarelo sobre o escuro.
   (camada por cima do layout base; mantém o fundo escuro que o dono gosta)
   ====================================================================== */
:root{
  --blue:#0a3bd6; --blue-2:#1e5be6; --blue-deep:#07215f; --blue-soft:rgba(30,91,230,.13);
}
body{
  background:
    radial-gradient(1150px 640px at 84% -10%, rgba(24,74,214,.10), transparent 60%),
    radial-gradient(820px 560px at -8% 4%, rgba(10,42,150,.07), transparent 55%),
    var(--bg);
  background-attachment: fixed;
}

/* --- topo: filete azul (só azul, sem degradê com amarelo), marca só com a logo --- */
.top{ position: sticky; border-bottom: 1px solid transparent; }
.top::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:2px;
  background: linear-gradient(90deg, var(--blue-2), rgba(30,91,230,0) 72%); opacity:.6; }
.brand img{ filter: drop-shadow(0 2px 7px rgba(0,0,0,.55)); }
.brand__sep{ width:1px; height:20px; background: var(--line-2); }
.brand__tag{ color: var(--gold); opacity:.92; }
.nav a:hover{ background: var(--blue-soft); color: var(--fg); }
.nav a[aria-current='page']{ background: var(--panel-2); box-shadow: inset 0 -2px 0 var(--gold); }
.search input:focus{ border-color: var(--blue-2); }

/* --- barras de marca antes dos títulos (ouro sólido, sem degradê) --- */
/* (tracinho dourado acima do título removido a pedido do dono, 19/10/2026) */
.page-title{ display:flex; align-items:center; gap:14px; }
.page-title::before{ content:""; width:9px; height:30px; border-radius:3px; flex:none; background: var(--gold); transform: skewX(-10deg); }
.section-head h2{ display:flex; align-items:center; gap:12px; }
.section-head h2::before{ content:""; width:7px; height:20px; border-radius:2px; flex:none; background: var(--gold); transform: skewX(-10deg); }
.section-head a{ color: var(--blue-2); }
.section-head a:hover{ color: var(--gold); }

/* --- hero: leve brilho azul (suave) + números em ouro --- */
.hero{ border-bottom-color: transparent; position:relative; }
.hero::after{ content:""; position:absolute; inset:-30px -10px 0 auto; width:46%; z-index:-1;
  background: radial-gradient(60% 80% at 80% 20%, rgba(30,91,230,.10), transparent 70%); pointer-events:none; }
.hero h1 em{ color: var(--gold); text-shadow: 0 0 34px rgba(255,237,26,.22); }
.kpis{ border-color: var(--blue-deep); background: linear-gradient(180deg,#0e1628, var(--panel)); }
.kpis b{ color: var(--gold); }

/* --- cards com leve azul e destaque na borda ao passar o mouse --- */
.pcard, .tcard, .lcard{ background: linear-gradient(180deg, rgba(22,52,120,.08), transparent 60%), var(--panel); border-left:2px solid transparent; }
.pcard:hover, .tcard:hover, .lcard:hover{ border-color: var(--blue-2); border-left-color: var(--gold); box-shadow: 0 12px 28px rgba(5,18,56,.55); }
.lcard__country{ color: var(--blue-2); }

/* --- notas: leve relevo premium --- */
.ovr{ box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -2px 4px rgba(0,0,0,.25); }
.big-ovr{ box-shadow: inset 0 2px 0 rgba(255,255,255,.3), 0 10px 30px rgba(0,0,0,.4); }

/* --- tabela: cabeçalho com um toque de azul --- */
thead th{ background: linear-gradient(180deg,#0f1526, var(--panel)); }
tbody tr:hover{ background: var(--blue-soft); }

/* --- botão primário fica ouro (mantido), ganha brilho --- */
.btn{ box-shadow: 0 6px 18px rgba(255,237,26,.18); }

/* --- ficha do jogador: brilho azul no card --- */
.hero-card{ background: radial-gradient(120% 140% at 100% 0%, rgba(30,91,230,.12), transparent 55%), radial-gradient(90% 120% at 0% 100%, rgba(255,237,26,.05), transparent 50%), var(--panel); }

/* --- seletor Jogo/Patch no topo --- */
.top__pick{ margin-left:auto; display:flex; gap:10px; align-items:center; }
.pick{ display:flex; flex-direction:column; gap:3px; }
.pick > span{ font:700 .62rem var(--font-hud); letter-spacing:.16em; text-transform:uppercase; color:var(--fg-3); padding-left:2px; }
.pick select{ appearance:none; height:34px; padding:0 30px 0 12px; border-radius:9px; border:1px solid var(--blue-deep);
  background:linear-gradient(180deg,#0f1930,#0b1222) right 10px center / 11px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffed1a' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  color:var(--fg); font:700 .9rem var(--font-hud); letter-spacing:.02em; cursor:pointer; }
.pick select:hover{ border-color:var(--blue-2); }

/* --- tela de escolha (sem patch) --- */
.land-hero{ padding:46px 0 10px; }
.land-hero h1{ margin:0 0 12px; font:400 clamp(2rem,5vw,3.4rem)/1.05 var(--font-display); text-transform:uppercase; text-wrap:balance; }
.land-hero h1 em{ font-style:normal; color:var(--gold); }
.land-hero p{ margin:0; max-width:680px; color:var(--fg-2); font-size:1.05rem; }
.cards--patch{ grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); }
.gcard{ display:flex; flex-direction:column; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
  background:linear-gradient(180deg, rgba(22,52,120,.08), transparent 60%), var(--panel); transition:border-color .15s, transform .15s; }
.gcard:hover{ transform:translateY(-3px); border-color:var(--blue-2); box-shadow:0 16px 34px rgba(5,18,56,.5); }
.gcard__capa{ aspect-ratio:16/9; overflow:hidden; position:relative; background:#0b1630; }
.gcard__capa img{ width:100%; height:100%; object-fit:cover; }
.gcard__capa::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 45%, rgba(8,9,12,.85)); }
.gcard__capa.nocapa{ background:radial-gradient(120% 120% at 70% 0%, var(--blue), #071233); }
.gcard__capa.nocapa img{ display:none; }
.gcard__body{ padding:14px 16px 16px; margin-top:-30px; position:relative; z-index:2; }
.gcard__tag{ display:block; font:700 .72rem var(--font-hud); letter-spacing:.14em; text-transform:uppercase; color:var(--gold); }
.gcard__name{ display:block; font:400 1.4rem var(--font-display); text-transform:uppercase; margin:2px 0 10px; }
.gcard__stats{ display:flex; flex-wrap:wrap; gap:6px 16px; color:var(--fg-2); font-size:.86rem; }
.gcard__stats b{ color:var(--fg); }

/* --- kpis com 2 colunas (modo focado) --- */
.kpis--2{ grid-template-columns:repeat(2,1fr); }

/* --- marcador de liga/categoria sem logo --- */
.lcard__mark{ width:44px; height:44px; flex:none; border-radius:10px; display:grid; place-items:center;
  background:linear-gradient(180deg, var(--blue), #071233); color:#fff; font:400 1rem var(--font-display); }
.hero__eyebrow{ display:block; font:700 .74rem var(--font-hud); letter-spacing:.18em; text-transform:uppercase; color:var(--gold); margin-bottom:8px; }

/* --- Supercopas recolhível --- */
details.super{ margin-top:26px; border:1px solid var(--line); border-radius:var(--radius); background:var(--panel); padding:0 16px; }
details.super > summary{ cursor:pointer; list-style:none; padding:14px 2px; font:700 .9rem var(--font-hud); letter-spacing:.1em; text-transform:uppercase; color:var(--fg-2); }
details.super > summary::-webkit-details-marker{ display:none; }
details.super > summary::before{ content:"▸ "; color:var(--gold); }
details.super[open] > summary::before{ content:"▾ "; }
details.super .cards{ padding-bottom:16px; }
