/* Camelos FC 2026 — site das cartas. Visual das telas aprovadas (Site_*.dc.html, 390 px). */
:root {
  --bg: #0B0C0F; --panel: #111317; --input: #15181D;
  --ink: #F2F3F5; --muted: #8E95A0; --soft: #A9AFB9; --chip: #C4C9D1; --dim: #7A818C;
  --line: #23272E; --line-2: #1C2026; --line-3: #3A3F48; --line-4: #5A616C;
  --gold: #F2C94C; --gold-hi: #FFE08A; --up: #7FD49B; --down: #F08A7E;
  --ease: cubic-bezier(.2,.8,.2,1); --ease-enter: cubic-bezier(.22,1,.36,1);
  --m-in: 150ms; --m-out: 120ms; --m-press: 90ms;
  --gut: 20px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink);
  font-family: 'Chakra Petch', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, select { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.wrap--narrow { max-width: 680px; }

/* foco: anel de 2px na cor de ação, 2px afastado */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
main:focus { outline: none; }
.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100; padding: 12px 16px; border-radius: 10px;
  background: var(--gold); color: #121418; font-weight: 700; text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

/* ---------- topo ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11,12,15,.96); backdrop-filter: blur(8px); }
.top__in { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 10px; }
.brand { display: flex; flex-direction: column; gap: 2px; }
.brand__name { font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: 1px; }
.brand__sub { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; color: var(--muted); }
.brand__logo {
  width: 36px; height: 36px; border-radius: 50%; border: 1px dashed var(--muted); color: var(--muted);
  display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; flex-shrink: 0;
}
.brand__logo img { width: 100%; height: 100%; object-fit: contain; }
.brand__logo.has-img { border: 0; }

.tabs { border-bottom: 1px solid var(--line); }
.tabs__in { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; }
@media (max-width: 440px) { .tabs__in { gap: 14px; } }
.tabs__in::-webkit-scrollbar { display: none; }
.tabs a {
  position: relative; flex-shrink: 0; min-height: 44px; display: flex; align-items: center;
  padding: 2px 0 0; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none;
  transition: color var(--m-out) var(--ease);
}
.tabs a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform var(--m-out) var(--ease);
}
.tabs a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.tabs a[aria-current="page"]::after { transform: none; transition: none; }
@media (hover: hover) and (pointer: fine) {
  .tabs a:hover { color: var(--ink); transition-duration: var(--m-in); }
  .tabs a:hover::after { transform: scaleX(1); transform-origin: left; transition-duration: var(--m-in); }
}

/* ---------- chips (alvo de toque de 44 px, visual de 32 px) ---------- */
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 12px var(--gut) 10px; margin: 0 calc(-1 * var(--gut)); }
.chips--scroll::-webkit-scrollbar { display: none; }
.chip {
  position: relative; flex-shrink: 0; min-height: 32px; padding: 0 12px; border-radius: 16px;
  border: 1px solid var(--line-3); background: transparent; color: var(--chip);
  font-size: 12px; font-weight: 700; cursor: pointer;
  transition: background-color var(--m-out) var(--ease), border-color var(--m-out) var(--ease), color var(--m-out) var(--ease), transform var(--m-out) var(--ease);
}
.chip::before { content: ''; position: absolute; inset: -6px -3px; }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #121418; }
.chip:active { transform: translateY(1px) scale(.985); transition-duration: var(--m-press); }
@media (hover: hover) and (pointer: fine) {
  .chip:hover { transform: translateY(-1px); transition-duration: var(--m-in); }
  .chip[aria-pressed="false"]:hover { border-color: var(--line-4); background: rgba(255,255,255,.04); color: var(--ink); }
}

/* ---------- botões ---------- */
.btn {
  min-height: 46px; padding: 0 22px; border-radius: 23px; font-size: 14px; font-weight: 700; cursor: pointer;
  transition: background-color var(--m-out) var(--ease), border-color var(--m-out) var(--ease), transform var(--m-out) var(--ease);
}
.btn--gold { border: 0; background: var(--gold); color: #121418; }
.btn--ghost { border: 1px solid var(--line-4); background: transparent; color: var(--ink); }
.btn:active { transform: translateY(1px) scale(.985); transition-duration: var(--m-press); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); transition-duration: var(--m-in); }
  .btn--gold:hover { background: #F5D56E; }
  .btn--ghost:hover { border-color: #7A818C; background: rgba(255,255,255,.05); }
}

/* ---------- cartas: escala da carta dentro de uma caixa ---------- */
.cbox { position: relative; overflow: hidden; }
.cbox > .cd { position: absolute; left: 0; top: 0; transform: scale(var(--s)); transform-origin: 0 0; }
.cardbtn {
  display: block; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 9px;
  transition: transform 120ms var(--ease);
}
.cardbtn:active { transform: translateY(1px) scale(.985); transition-duration: var(--m-press); }
@media (hover: hover) and (pointer: fine) {
  .cardbtn:hover { transform: translateY(-2px); transition-duration: 180ms; }
}

/* ---------- Cartas ---------- */
.bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 0 10px; gap: 8px; }
.bar__count { font-size: 11px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.gallery {
  display: grid; grid-template-columns: repeat(auto-fill, 167px); gap: 16px; justify-content: space-between;
  padding: 4px 0 32px;
}
.gallery .cbox { width: 167px; height: 233px; border-radius: 9px; --s: .7; }
@media (min-width: 560px) { .gallery { justify-content: start; } }

/* ---------- Time ideal ---------- */
.head { display: flex; align-items: flex-end; justify-content: space-between; padding: 14px 0 10px; gap: 12px; }
.head--base { align-items: baseline; padding-bottom: 8px; }
.head__title { font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; font-size: 22px; line-height: 1; letter-spacing: 1px; }
.head__sub { margin-top: 2px; font-size: 11px; font-weight: 600; color: var(--muted); }
.head__sub--12 { font-size: 12px; margin: 0; text-align: right; }
.avg { display: flex; flex-direction: column; align-items: flex-end; }
.avg b { font-family: Teko, sans-serif; font-weight: 600; font-size: 34px; line-height: .85; color: var(--gold); }
.avg span { font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--muted); }
#v-time { max-width: 560px; }
.pitch {
  position: relative; margin: 0 -6px 24px; min-height: 660px; border-radius: 14px;
  background: #10261B; border: 1px solid #24432F; overflow: hidden;
}
.pitch__lines i { position: absolute; border: 1px solid #2F5A3E; }
.pitch__lines .c { left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; }
.pitch__lines .m { left: 0; right: 0; top: 50%; height: 0; border-width: 1px 0 0; }
.pitch__lines .a1 { left: 50%; top: 0; width: 160px; height: 56px; margin-left: -80px; border-top: 0; }
.pitch__lines .a2 { left: 50%; bottom: 0; width: 160px; height: 56px; margin-left: -80px; border-bottom: 0; }
.pitch__rows { position: relative; min-height: 660px; display: flex; flex-direction: column; justify-content: space-around; padding: 10px 0; }
.pitch__row { display: flex; justify-content: center; gap: 12px; }
.pitch .cbox { width: 100px; height: 140px; border-radius: 6px; --s: .42; }
@media (max-width: 360px) {
  .pitch__row { gap: 6px; }
  .pitch .cbox { width: 88px; height: 123px; --s: .37; }
}

/* ---------- Ranking ---------- */
.rank { width: 100%; border-collapse: collapse; table-layout: fixed; margin-bottom: 24px; }
.rank col, .rank th, .rank td { padding: 0 2px; }
.rank th {
  height: 30px; font-size: 10px; font-weight: 700; letter-spacing: .8px; color: var(--muted);
  text-align: right; border-bottom: 1px solid var(--line);
}
.rank th:nth-child(1) { width: 28px; text-align: left; padding-left: 0; }
.rank th:nth-child(2) { text-align: left; }
.rank th:nth-child(3) { width: 42px; }
.rank th:nth-child(4), .rank th:nth-child(5), .rank th:nth-child(6) { width: 34px; }
.rank th:nth-child(7) { width: 44px; padding-right: 0; }
.rank td { height: 40px; border-bottom: 1px solid var(--line-2); text-align: right; font-family: Teko, sans-serif; font-size: 18px; color: var(--soft); }
.rank td.on { color: var(--ink); }
.rank td:first-child { text-align: left; font-weight: 600; color: var(--muted); padding-left: 0; }
.rank td:last-child { padding-right: 0; }
.rank td.ovr { font-weight: 600; font-size: 20px; }
.rank td.who { text-align: left; font-family: 'Chakra Petch', sans-serif; font-size: 13px; color: var(--ink); }
.who__in { display: flex; align-items: center; gap: 8px; min-width: 0; }
.who__dot { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.who__n { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who__p { font-size: 10px; font-weight: 700; color: var(--muted); }

/* ---------- Evolução ---------- */
.field { padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--muted); }
.field select {
  min-height: 44px; border-radius: 10px; border: 1px solid var(--line-3); background: var(--input);
  color: var(--ink); font-size: 15px; font-weight: 700; padding: 0 12px; cursor: pointer;
  transition: border-color var(--m-out) var(--ease);
}
@media (hover: hover) and (pointer: fine) { .field select:hover { border-color: var(--line-4); transition-duration: var(--m-in); } }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 14px; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; }
.kpi span { font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--muted); }
.kpi b { font-family: Teko, sans-serif; font-weight: 600; font-size: 34px; line-height: .95; }
.kpi small { font-size: 10px; color: var(--muted); }
.chart { padding-top: 14px; margin: 0 -6px; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart text { font-family: 'Chakra Petch', sans-serif; font-size: 10px; fill: var(--muted); }
.moves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px 0 32px; }
.moves h3 { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--muted); margin-bottom: 4px; }
.moves li { display: flex; justify-content: space-between; align-items: center; height: 24px; border-bottom: 1px solid var(--line-2); font-size: 13px; font-weight: 600; }
.moves li b { font-family: Teko, sans-serif; font-weight: 400; font-size: 18px; }
.moves li.empty { color: var(--muted); font-weight: 500; }
.up { color: var(--up); } .down { color: var(--down); }

/* ---------- Histórico ---------- */
.games { display: flex; flex-direction: column; gap: 8px; padding-bottom: 32px; }
.game { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); transition: border-color var(--m-out) var(--ease); }
.game__btn {
  width: 100%; min-height: 56px; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto minmax(0, 1fr) 20px;
  align-items: center; gap: 6px; padding: 8px 12px; border: 0; background: none; cursor: pointer; text-align: left; border-radius: 12px;
}
.game__btn:active .game__score { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) {
  .game:hover { border-color: #343943; transition-duration: var(--m-in); }
}
.game__date { display: flex; flex-direction: column; }
.game__date b { font-size: 13px; font-weight: 700; }
.game__date small { font-size: 10px; color: var(--muted); }
.game__t { font-size: 13px; font-weight: 700; }
.game__t--b { text-align: right; }
.game__score { font-family: Teko, sans-serif; font-weight: 600; font-size: 26px; line-height: 1; padding: 0 6px; white-space: nowrap; }
.game__score i { font-style: normal; color: var(--line-4); }
.game__arrow { font-size: 14px; color: var(--muted); text-align: center; }
.win { color: var(--ink); } .lose { color: var(--dim); }
.game__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 12px 12px; border-top: 1px solid var(--line); }
.game__col { padding-top: 8px; min-width: 0; }
.game__col h3 { font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--muted); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game__col li { display: flex; justify-content: space-between; gap: 6px; font-size: 12px; height: 20px; align-items: center; }
.game__col li span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game__col li b { font-weight: 700; color: var(--gold); white-space: nowrap; }

/* ---------- carta ampliada ---------- */
.modal {
  position: fixed; inset: 0; z-index: 50; background: rgba(6,7,9,.94);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 16px;
}
.modal__card { position: relative; }
.modal__card .cd { position: absolute; left: 0; top: 0; transform: scale(var(--s)); transform-origin: 0 0; }
.modal__actions { display: flex; gap: 12px; }
.modal.is-open { animation: m-fade 200ms var(--ease); }
.modal.is-open .modal__card { animation: m-rise 320ms var(--ease-enter); }
.modal__card.is-flip .cd { animation: m-flip 260ms var(--ease-enter); }
@keyframes m-fade { from { opacity: 0; } }
@keyframes m-rise { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes m-flip { from { opacity: .2; } }
body.no-scroll { overflow: hidden; }

/* ---------- entrada única no carregamento ---------- */
.js-enter [data-enter] .brand, .js-enter [data-enter] .tabs__in, .js-enter .view:not([hidden]) {
  animation: enter 520ms var(--ease-enter) both;
}
.js-enter [data-enter] .tabs__in { animation-delay: 60ms; }
.js-enter .view:not([hidden]) { animation-delay: 120ms; }
.entered [data-enter] .brand, .entered [data-enter] .tabs__in, .entered .view { animation: none !important; }
@keyframes enter { from { opacity: 0; transform: translateY(12px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Time ideal: formações ---------- */
.chips--form { padding-bottom: 12px; }

/* ---------- Histórico: filtros e comparação ---------- */
.label { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--muted); }
.label--list { padding: 18px 0 8px; }
.filters, .compare { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 12px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 10px; }
.filters__dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.filters__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.field--inline { padding-top: 0; gap: 4px; min-width: 0; }
.field--inline label { font-size: 10px; letter-spacing: .8px; text-transform: uppercase; }
.field--grow { flex: 1 1 160px; }
.field input[type="date"], .field--inline select {
  min-height: 44px; width: 100%; min-width: 0; border-radius: 10px; border: 1px solid var(--line-3); background: var(--input);
  color: var(--ink); font-size: 14px; font-weight: 600; padding: 0 10px; color-scheme: dark;
  transition: border-color var(--m-out) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .field input[type="date"]:hover, .field--inline select:hover { border-color: var(--line-4); transition-duration: var(--m-in); }
}
.compare__head { display: flex; justify-content: space-between; align-items: center; min-height: 20px; }
.linkbtn {
  position: relative; border: 0; background: none; padding: 0; cursor: pointer;
  font-size: 12px; font-weight: 700; color: var(--gold);
}
.linkbtn::before { content: ''; position: absolute; inset: -12px -10px; }
@media (hover: hover) and (pointer: fine) { .linkbtn:hover { color: var(--gold-hi); } }
.chips--names .chip { display: inline-flex; align-items: center; gap: 6px; }
.chips--names .chip i { width: 7px; height: 7px; border-radius: 2px; flex-shrink: 0; }
.compare__hint { font-size: 12px; color: var(--muted); }
.compare__hint:empty { display: none; }
.compare__table { overflow-x: auto; margin: 0 -12px; padding: 0 12px; scrollbar-width: thin; }
.cmp { border-collapse: collapse; width: 100%; min-width: max-content; }
.cmp th, .cmp td { height: 30px; padding: 0 8px; border-bottom: 1px solid var(--line-2); text-align: right; white-space: nowrap; }
.cmp thead th { height: auto; padding: 4px 8px 8px; vertical-align: bottom; border-bottom: 1px solid var(--line); }
.cmp th:first-child { text-align: left; padding-left: 0; font-size: 11px; font-weight: 600; color: var(--muted); position: sticky; left: 0; background: var(--panel); }
.cmp__who { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.cmp__who b { font-size: 13px; font-weight: 700; color: var(--ink); }
.cmp__who small { font-size: 10px; font-weight: 700; color: var(--muted); }
.cmp__who i { display: block; width: 18px; height: 3px; border-radius: 2px; }
.cmp td { font-family: Teko, sans-serif; font-size: 19px; color: var(--soft); }
.cmp td.best { color: var(--gold); font-weight: 600; }
.cmp td.na { color: var(--line-4); }
.game__tags { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 12px 8px; margin-top: -2px; }
.game__tags span { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 6px; background: #1A1D22; color: var(--chip); }
.game__tags span.v { color: var(--up); } .game__tags span.d { color: var(--down); }
.games__empty { padding: 20px 0; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- Scout ---------- */
:root { --s1: #3987e5; --s2: #d95926; --s3: #199e70; }   /* séries do gráfico (validadas p/ daltonismo, máx. 3) */
.label__hint { font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--dim); margin-left: 6px; }
#dr-pick-juntos { display: flex; flex-direction: column; gap: 8px; }
.duel { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 14px 12px; margin-bottom: 10px; }
.duel__faces { display: flex; align-items: center; justify-content: center; gap: 10px; }
.duel__op { font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; font-size: 22px; color: var(--line-4); }
.duel__score { display: flex; flex-direction: column; align-items: center; min-width: 92px; }
.duel__score b { font-family: Teko, sans-serif; font-weight: 600; font-size: 54px; line-height: .85; white-space: nowrap; }
.duel__score b i { font-style: normal; color: var(--line-4); font-size: 34px; padding: 0 4px; vertical-align: 6px; }
.duel__score small { font-size: 11px; font-weight: 600; color: var(--muted); text-align: center; }
.av { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 86px; }
.av__pic {
  position: relative; width: 78px; height: 92px; border-radius: 10px; overflow: hidden; border: 2px solid var(--frame);
  background: radial-gradient(120% 90% at 50% 25%, var(--stage) 0%, #121418 70%);
}
.av__pic img { position: absolute; inset: 4px 0 0; width: 100%; height: calc(100% - 4px); object-fit: cover; object-position: 50% 0; }
.av__pic span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; font-size: 32px; color: var(--accent); }
.av__pic em { position: absolute; left: 4px; top: 4px; font-style: normal; font-family: Teko, sans-serif; font-weight: 600; font-size: 18px; line-height: 1; padding: 2px 4px 0; border-radius: 4px; background: rgba(18,20,24,.85); color: var(--accent); }
.av__bar { width: 26px; height: 3px; border-radius: 2px; }
.av b { font-size: 12px; font-weight: 700; text-align: center; line-height: 1.15; max-width: 86px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.duel__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.duel__kpis .kpi { padding: 6px 8px; }
.duel__kpis .kpi b { font-size: 28px; }
.vs { margin-top: 12px; display: flex; flex-direction: column; }
.vs__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; height: 28px; border-bottom: 1px solid var(--line-2); }
.vs__row span { font-size: 11px; font-weight: 600; color: var(--muted); text-align: center; min-width: 96px; }
.vs__row b { font-family: Teko, sans-serif; font-weight: 400; font-size: 20px; color: var(--soft); }
.vs__row b:first-child { text-align: left; } .vs__row b:last-child { text-align: right; }
.vs__row b.best { color: var(--gold); font-weight: 600; }
.pct { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.pct__row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 40px; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }
.pct__row span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--soft); }
.pct__row span:last-child { text-align: right; font-family: Teko, sans-serif; font-size: 18px; font-weight: 400; color: var(--ink); }
.pct__track { height: 8px; border-radius: 4px; background: #1A1D22; overflow: hidden; }
.pct__track i { display: block; height: 100%; border-radius: 4px; }
.pct__row.is-team span:first-child { color: var(--gold); }
.duel__empty { text-align: center; font-size: 13px; color: var(--muted); padding: 10px 0; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--soft); }
.legend i { width: 14px; height: 3px; border-radius: 2px; }
.legend .mk { width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--soft); background: transparent; }
.dchart { position: relative; margin: 0 -4px; touch-action: pan-y; }
.dchart svg { display: block; width: 100%; height: auto; overflow: visible; }
.dchart text { font-family: 'Chakra Petch', sans-serif; font-size: 10px; fill: var(--muted); }
.dchart .lbl { font-size: 10px; font-weight: 700; fill: var(--soft); }
.tip {
  position: absolute; top: 0; pointer-events: none; z-index: 2; min-width: 120px;
  background: #1A1D22; border: 1px solid var(--line-3); border-radius: 8px; padding: 6px 8px; font-size: 11px;
}
.tip b { display: block; font-size: 11px; color: var(--ink); margin-bottom: 2px; }
.tip div { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--soft); }
.tip div span { display: inline-flex; align-items: center; gap: 5px; }
.tip div i { width: 8px; height: 3px; border-radius: 2px; }
.tip div em { font-style: normal; font-family: Teko, sans-serif; font-size: 16px; color: var(--ink); }
.tip small { display: block; margin-top: 3px; color: var(--muted); }
@media (max-width: 360px) {
  .av { width: 74px; } .av__pic { width: 68px; height: 80px; }
  .duel__score { min-width: 74px; } .duel__score b { font-size: 44px; }
  .duel__kpis .kpi b { font-size: 24px; }
}
.chip[aria-disabled="true"] { opacity: .4; cursor: not-allowed; }

/* ---------- Draft (montar times) ---------- */
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 13px; border-radius: 20px; align-self: flex-start; }
#v-draft textarea, .addrow input {
  width: 100%; min-width: 0; border-radius: 10px; border: 1px solid var(--line-3); background: var(--input);
  color: var(--ink); font: 600 14px 'Chakra Petch', sans-serif; padding: 10px; resize: vertical;
  transition: border-color var(--m-out) var(--ease);
}
.addrow input { min-height: 40px; padding: 0 10px; }
#v-draft textarea::placeholder, .addrow input::placeholder { color: var(--dim); }
@media (hover: hover) and (pointer: fine) { #v-draft textarea:hover, .addrow input:hover { border-color: var(--line-4); } }
.addrow { display: flex; gap: 8px; align-items: center; }
.addrow .btn--sm { flex-shrink: 0; }
.more summary { cursor: pointer; font-size: 12px; font-weight: 700; color: var(--soft); min-height: 32px; display: flex; align-items: center; gap: 6px; }
.more summary::marker { color: var(--muted); }
.more[open] summary { margin-bottom: 8px; }
.chip small { font-family: Teko, sans-serif; font-size: 15px; font-weight: 500; opacity: .75; margin-left: 2px; }
.tg { font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: .5px; padding: 1px 4px; border-radius: 4px; line-height: 1.3; }
.tg--gol { background: #1D3A2A; color: var(--up); }
.tg--cap { background: var(--gold); color: #121418; }
.chip .tg { margin-right: 2px; }
.niveis { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.niveis li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; font-size: 13px; font-weight: 700; }
.niveis li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.niveis select {
  min-height: 36px; border-radius: 8px; border: 1px solid var(--line-3); background: var(--input);
  color: var(--ink); font-size: 13px; font-weight: 600; padding: 0 8px; cursor: pointer;
}
#tm-board { padding-bottom: 32px; }
.tm__aviso { margin-bottom: 10px; }
.tms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tm { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 10px; min-width: 0; }
.tm__head { display: flex; align-items: center; gap: 6px; }
.tm__head b { font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; font-size: 18px; letter-spacing: 1px; line-height: 1; }
.tm__f { margin-left: auto; font-family: Teko, sans-serif; font-weight: 600; font-size: 26px; line-height: .8; color: var(--gold); }
.tm__sw { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; background: #F2F3F5; display: inline-block; }
.tm--p .tm__sw, .tm__sw--p { background: #0B0C0F; box-shadow: inset 0 0 0 1.5px var(--line-4); }
.tm__sw--b { background: #F2F3F5; }
.tm__sub { font-size: 10px; font-weight: 600; color: var(--muted); margin: 3px 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm ul { display: flex; flex-direction: column; }
.tm li { display: flex; align-items: center; gap: 5px; height: 26px; border-bottom: 1px solid var(--line-2); font-size: 12px; font-weight: 700; min-width: 0; }
.tm li > i { width: 6px; height: 6px; border-radius: 2px; flex-shrink: 0; }
.tm__n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tm__p { margin-left: auto; font-size: 9px; color: var(--muted); }
.tm li b { font-family: Teko, sans-serif; font-weight: 500; font-size: 17px; color: var(--soft); min-width: 22px; text-align: right; }
.tm li .tm__n + .tm__p, .tm li .tg + .tm__p { margin-left: auto; }
.tm__q { margin-top: 6px; font-size: 10px; font-weight: 600; color: var(--muted); }
.odds { margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.odds__lbl { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; font-weight: 700; color: var(--soft); }
.odds__lbl b { font-family: Teko, sans-serif; font-weight: 600; font-size: 22px; color: var(--ink); }
.odds__lbl small { font-size: 9px; letter-spacing: 1px; color: var(--muted); }
.odds__bar { height: 10px; border-radius: 5px; background: #2A2E35; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-3); }
.odds__bar i { display: block; height: 100%; background: #E9EBEE; border-right: 2px solid var(--bg); }
.tm__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tm__acts .btn { flex: 1 1 140px; }
.tm__cfg { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.tm__vez { display: flex; justify-content: space-between; align-items: center; gap: 8px; border: 1px solid var(--gold); border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; background: rgba(242,201,76,.06); }
.tm__vez p { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.tm__vez b { font-weight: 700; }
.tm__vez small { font-size: 11px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tm__vez--ok { border-color: var(--line-3); background: var(--panel); }
#tm-board > .label, #tm-board .label { display: block; margin: 4px 0 8px; }
.sg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.sg__b {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: 64px; min-width: 0; padding: 8px;
  border-radius: 10px; border: 1px solid var(--line-3); background: var(--panel); cursor: pointer; text-align: left;
  transition: border-color var(--m-out) var(--ease), transform var(--m-out) var(--ease);
}
.sg__b b { font-size: 13px; font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg__b span { font-size: 11px; font-weight: 600; color: var(--soft); }
.sg__b small { font-size: 10px; font-weight: 600; color: var(--muted); line-height: 1.2; }
.sg__b.is-top { border-color: var(--gold); }
.sg__b.is-top small { color: var(--gold); }
.sg__b:active { transform: translateY(1px) scale(.985); transition-duration: var(--m-press); }
@media (hover: hover) and (pointer: fine) { .sg__b:hover { transform: translateY(-1px); border-color: var(--line-4); } .sg__b.is-top:hover { border-color: var(--gold-hi); } }
#tm-board .chips--names { margin-bottom: 12px; }
@media (max-width: 360px) {
  .tm { padding: 8px; } .tm li { font-size: 11px; } .tm__p { display: none; }
  .sg__b { padding: 6px; } .sg__b b { font-size: 12px; }
}

/* ---------- Temporada ---------- */
.rr__score { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; padding-top: 6px; }
.rr__score b { font-family: Teko, sans-serif; font-weight: 600; font-size: 56px; line-height: .85; white-space: nowrap; }
.rr__score b i { font-style: normal; color: var(--line-4); font-size: 34px; padding: 0 6px; vertical-align: 8px; }
.rr__t { font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; font-size: 18px; letter-spacing: 1px; }
.rr__t:first-child { text-align: right; }
.rr__res { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); margin: 6px 0 12px; }
.rr .label { display: block; margin-bottom: 6px; }
.rr__dest { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.rr__dest li { display: flex; align-items: center; gap: 10px; }
.rr__n { display: flex; flex-direction: column; min-width: 0; }
.rr__n b { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rr__n small { font-size: 11px; font-weight: 600; color: var(--muted); }
.rr__dest em { margin-left: auto; font-style: normal; font-family: Teko, sans-serif; font-weight: 600; font-size: 22px; color: var(--gold); white-space: nowrap; }
.rr__gk { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--soft); padding: 8px 0; border-top: 1px solid var(--line-2); }
.rr__gk b { color: var(--ink); }
.moves--in { padding: 6px 0 12px; }
.rr__copy { width: 100%; }
.rs { position: relative; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid var(--c); background: #1A1D22; }
.rs img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.rs span { font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; font-size: 15px; color: var(--soft); }
.rs__btn { border-radius: 50%; flex-shrink: 0; }
.prs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pr { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pr__t { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; color: var(--gold); }
.pr__w { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pr__w div { display: flex; flex-direction: column; min-width: 0; }
.pr__w b { font-size: 14px; font-weight: 700; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; }
.pr__w span { font-family: Teko, sans-serif; font-size: 18px; line-height: 1; color: var(--ink); }
.pr__r { font-size: 10px; font-weight: 600; color: var(--muted); line-height: 1.3; margin-top: auto; }
.rcs { display: flex; flex-direction: column; gap: 6px; padding-bottom: 32px; }
.rc { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t v" "q d"; gap: 2px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 10px 12px; }
.rc__t { grid-area: t; font-size: 11px; font-weight: 700; letter-spacing: .5px; color: var(--muted); text-transform: uppercase; }
.rc__v { grid-area: v; font-family: Teko, sans-serif; font-weight: 600; font-size: 20px; line-height: 1; color: var(--gold); text-align: right; white-space: nowrap; }
.rc__q { grid-area: q; font-size: 14px; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc__d { grid-area: d; font-size: 11px; color: var(--muted); text-align: right; white-space: nowrap; align-self: center; }
@media (max-width: 360px) {
  .prs { grid-template-columns: 1fr; }
  .rr__score b { font-size: 46px; }
  .rc { grid-template-areas: "t v" "q q" "d d"; } .rc__d { text-align: left; }
}

/* ---------- Perfil do jogador ---------- */
.btn--a { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.modal__actions { flex-wrap: wrap; justify-content: center; }
@media (max-width: 380px) { .modal__actions { gap: 8px; } .modal__actions .btn { padding: 0 16px; } }
.rank .who__n { color: inherit; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .rank a.who__n:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; } }
.pf__sel { padding: 14px 0 4px; }
#v-jogador { padding-bottom: 8px; }
.pf__top { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0 4px; }
.pf__card { width: 119px; height: 166px; border-radius: 6px; --s: .5; }
.pf__id { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.pf__id .head__title { font-size: 30px; overflow-wrap: anywhere; }
.pf__meta { font-size: 12px; font-weight: 700; color: var(--muted); }
.pf__frase { font-size: 13px; font-style: italic; color: var(--soft); line-height: 1.3; }
.pf__ovr { font-family: Teko, sans-serif; font-weight: 600; font-size: 52px; line-height: .85; margin-top: 4px; }
.pf__ovr small { font-size: 14px; letter-spacing: 1px; margin-left: 4px; color: var(--muted); }
.kpis--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpis--4 .kpi b { font-size: 28px; }
.pf__line { font-size: 12px; font-weight: 600; color: var(--muted); padding: 8px 0 4px; }
.pf__box { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 12px; margin-top: 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pf__2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 8px; }
@media (max-width: 560px) { .pf__2 { grid-template-columns: 1fr; } }
.pf__list { display: flex; flex-direction: column; gap: 6px; }
.pf__list li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pf__ln { display: flex; flex-direction: column; min-width: 0; }
.pf__ln a, .pf__ln > :first-child { font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (hover: hover) and (pointer: fine) { .pf__ln a:hover { color: var(--gold); } }
.pf__ln small { font-size: 11px; color: var(--muted); }
.pf__list b { margin-left: auto; font-family: Teko, sans-serif; font-weight: 600; font-size: 22px; }
.forma { display: flex; gap: 4px; flex-wrap: wrap; }
.fm { width: 26px; height: 26px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.fm--V { background: #1D3A2A; color: var(--up); } .fm--E { background: #2A2E35; color: var(--soft); } .fm--D { background: #3A1F1C; color: var(--down); }
.pf__spark { width: 100%; height: auto; display: block; overflow: visible; }
.pf__spark text { font-family: Teko, sans-serif; font-size: 14px; fill: var(--muted); }
.vs__row--l { grid-template-columns: minmax(0, 1fr) auto 54px; }
.vs__row--l span { text-align: left; min-width: 0; }
.vs__row--l b:last-child { text-align: right; }
.pf__jogos { display: flex; flex-direction: column; gap: 6px; }
.pf__jogos li { display: grid; grid-template-columns: 52px 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); padding: 8px 12px; }
.pf__jd { display: flex; flex-direction: column; } .pf__jd b { font-size: 13px; } .pf__jd small { font-size: 10px; color: var(--muted); }
.pf__jt { font-size: 13px; font-weight: 600; color: var(--soft); }
.pf__jga { font-size: 13px; color: var(--gold); white-space: nowrap; }
.pf__acts { padding-bottom: 32px; }
.rs--sm { width: 30px; height: 30px; border-width: 1.5px; } .rs--sm span { font-size: 11px; }

/* ---------- Química ---------- */
.qms { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.qm { display: grid; grid-template-columns: 18px auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--ink); text-decoration: none; transition: border-color var(--m-out) var(--ease), transform var(--m-out) var(--ease); }
.qm:active { transform: translateY(1px) scale(.985); transition-duration: var(--m-press); }
@media (hover: hover) and (pointer: fine) { .qm:hover { border-color: var(--line-4); transform: translateY(-1px); } }
.qm__i { font-size: 11px; font-weight: 700; color: var(--muted); }
.qm__faces { display: flex; } .qm__faces .rs + .rs { margin-left: -10px; } .qm__faces .rs { box-shadow: 0 0 0 2px var(--panel); }
.qm__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.qm__n { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qm__bar { height: 5px; border-radius: 3px; background: #1A1D22; overflow: hidden; }
.qm__bar i { display: block; height: 100%; background: var(--gold); border-radius: 3px; }
.qm__body small { font-size: 10px; color: var(--muted); }
.qm__nums { display: flex; flex-direction: column; align-items: flex-end; }
.qm__nums b { font-family: Teko, sans-serif; font-weight: 600; font-size: 24px; line-height: .9; }
.qm__nums em { font-style: normal; font-family: Teko, sans-serif; font-size: 16px; line-height: 1; color: var(--soft); }
.qm__mais { width: 100%; margin-top: 10px; }
#v-quimica { padding-bottom: 32px; }
@media (max-width: 360px) { .qm { gap: 8px; padding: 8px; } .qm__faces--3 .rs + .rs { margin-left: -16px; } }
.qm__n { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.2; }
.qm__faces--3 .rs + .rs { margin-left: -14px; }
@media (max-width: 420px) { .qm__faces--3 { display: none; } .qm:has(.qm__faces--3) { grid-template-columns: 18px minmax(0, 1fr) auto; } }

/* ---------- carta como imagem + instalar ---------- */
.top__right { display: flex; align-items: center; gap: 10px; }
.chip--install { border-color: var(--gold); color: var(--gold); }
.shot { position: fixed; inset: 0; z-index: 60; background: rgba(6,7,9,.96); display: flex; align-items: center; justify-content: center; padding: 16px; }
.shot__box { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; max-width: 420px; }
.shot__img { width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 10px; border: 1px solid var(--line); }
.shot__status { font-size: 14px; font-weight: 600; color: var(--soft); text-align: center; padding: 40px 0; }
.shot__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ano-sel { font: inherit; color: var(--gold); background: transparent; border: 0; border-bottom: 1px dashed var(--gold); padding: 0 2px; cursor: pointer; letter-spacing: inherit; }
.ano-sel option { color: var(--ink); background: var(--panel); }
.pf__ev { padding-top: 0; }
.pf__chart { padding-top: 4px; margin: 0 -4px; }
.moves li a { color: inherit; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .moves li a:hover { color: var(--gold); } }
