@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=DM+Sans:wght@400;500;600;700&family=Sora:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap");
:root {
  --bg: #101310;
  --panel: #191d19;
  --line: #30372e;
  --muted: #9ba396;
  --lime: #c6f65b;
  --white: #f4f5ee;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
select {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 5px;
}
.topbar,
main,
footer {
  max-width: 1320px;
  margin: auto;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 40px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -1px;
}
.brand span {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  margin-top: 9px;
}
.brand i {
  color: var(--lime);
  font-style: normal;
}
nav {
  display: flex;
  gap: 35px;
  font-size: 13px;
}
nav a {
  color: var(--muted);
  padding: 12px 0;
}
nav a:hover,
nav .active {
  color: var(--lime);
}
.edition {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--muted);
}
main {
  padding: 0 40px;
}
.intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 45px 0 25px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--lime);
  font-weight: 700;
}
.intro h1 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 76px;
  line-height: 0.95;
  margin: 16px 0;
  letter-spacing: -1px;
  font-weight: 700;
}
.intro h1 em {
  font-style: normal;
  color: var(--lime);
}
.intro-copy {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 22px;
}
.notice {
  font-size: 11px;
  line-height: 1.6;
  background: #1e2718;
  border: 1px solid #3a472d;
  padding: 10px 15px;
  color: #c1cfae;
  border-radius: 5px;
}
.anatomy {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 50px;
  padding-top: 20px;
}
.player-area {
  position: relative;
  min-height: 610px;
  background: radial-gradient(ellipse at 50% 75%, #34402566, transparent 65%);
  overflow: hidden;
}
.watermark {
  position: absolute;
  left: 9%;
  top: 30px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 460px;
  line-height: 1;
  color: #ffffff05;
  font-weight: 800;
}
.vertical-label {
  position: absolute;
  left: 0;
  top: 100px;
  writing-mode: vertical-rl;
  font-size: 9px;
  letter-spacing: 4px;
  color: #7c8775;
}
.player-frame {
  position: relative;
  width: 360px;
  height: 550px;
  margin: 0 auto;
}
.player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 24px #0008);
}
/* O mapa acompanha a escala da foto em todas as telas. */
.player-frame {
  aspect-ratio: 2 / 3;
  height: auto;
}
.player {
  display: block;
  height: auto;
}
.body-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.body-region {
  fill: transparent;
  stroke: transparent;
  stroke-width: 3;
  pointer-events: fill;
  cursor: pointer;
  transition:
    fill 0.18s,
    stroke 0.18s;
  outline: none;
}
.body-region:hover,
.body-region:focus-visible {
  fill: #c6f65b35;
  stroke: var(--lime);
}
.body-region[aria-pressed="true"] {
  fill: #c6f65b55;
  stroke: var(--lime);
  filter: drop-shadow(0 0 9px #c6f65b70);
}
.player-hint {
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  position: relative;
}
.player-hint span {
  color: var(--lime);
  margin-right: 8px;
}
.dashboard {
  padding-top: 15px;
}
.filter-row {
  display: flex;
  gap: 12px;
}
.filter-row label {
  flex: 1;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
}
select {
  display: block;
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--white);
  padding: 12px;
  margin-top: 8px;
  border-radius: 5px;
  font-size: 12px;
}
.summary {
  display: flex;
  justify-content: space-between;
  padding: 25px 0;
}
.summary div {
  flex: 1;
  border-right: 1px solid var(--line);
  padding-left: 22px;
}
.summary div:first-child {
  padding-left: 0;
}
.summary div:last-child {
  border: 0;
}
.summary strong {
  display: block;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 40px;
}
.summary span {
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
}
.stat-card {
  padding: 26px 30px;
  background: linear-gradient(135deg, #20271d, var(--panel));
  border: 1px solid #424d37;
  border-radius: 8px;
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-icon {
  font-size: 22px;
  color: var(--lime);
}
.stat-card h2 {
  font-size: 23px;
  margin: 20px 0 0;
}
.big-stat {
  display: flex;
  align-items: center;
  gap: 25px;
}
.big-stat strong {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 700;
  font-size: 115px;
  line-height: 1.15;
  color: var(--lime);
}
.big-stat span {
  font-size: 12px;
  line-height: 1.7;
  max-width: 140px;
  color: var(--muted);
}
.bars {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.bar-button {
  display: grid;
  grid-template-columns: 90px 1fr 22px;
  gap: 14px;
  align-items: center;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  padding: 10px 0;
  text-align: left;
}
.bar-button[aria-pressed="true"],
.bar-button:hover {
  color: var(--white);
}
.track {
  height: 6px;
  background: #333b30;
  border-radius: 6px;
  overflow: hidden;
}
.fill {
  display: block;
  height: 100%;
  background: var(--lime);
  border-radius: 6px;
}
.bar-button b {
  text-align: right;
  font-weight: 500;
}
.reset {
  display: flex;
  justify-content: space-between;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 17px 0 0;
  width: 100%;
  background: none;
  color: var(--white);
  font-size: 11px;
}
.reset span {
  color: var(--lime);
}
.fineprint {
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
}
.goals-section {
  border-top: 1px solid var(--line);
  padding: 35px 0;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-heading h2 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 37px;
  margin: 12px 0 25px;
}
.section-heading > span {
  font-size: 11px;
  color: var(--muted);
}
.goal-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.goal-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 20px;
  transition: border-color 0.2s;
}
.goal-card:hover {
  border-color: #7d945b;
}
.goal-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}
.goal-card h3 {
  font-size: 17px;
  margin: 20px 0 7px;
}
.goal-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tag {
  font-size: 9px;
  padding: 5px 7px;
  background: #2a3423;
  border-radius: 3px;
  color: #c3d3b0;
}
.video-link {
  display: block;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--lime);
}
.empty {
  color: var(--muted);
  font-size: 13px;
  grid-column: 1/-1;
  padding: 30px 0;
}
.about {
  padding: 25px 0 35px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 25px;
}
.about > p:last-child {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
}
footer {
  padding: 25px 40px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
footer .brand {
  font-size: 22px;
}
footer span,
footer > a:last-child {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 1px;
}
@media (max-width: 950px) {
  .anatomy {
    gap: 20px;
  }
  .player-frame {
    width: 300px;
  }
  .goal-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .intro h1 {
    font-size: 64px;
  }
  .stat-card {
    padding: 20px;
  }
  .intro-copy {
    max-width: 220px;
  }
}
@media (max-width: 700px) {
  .topbar,
  footer {
    padding: 22px;
  }
  .topbar nav {
    gap: 15px;
    font-size: 11px;
  }
  .edition {
    display: none;
  }
  main {
    padding: 0 22px;
  }
  .intro {
    padding-top: 30px;
    display: block;
  }
  .intro h1 {
    font-size: 65px;
  }
  .intro-copy {
    max-width: none;
    font-size: 12px;
  }
  .anatomy {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .player-area {
    min-height: 470px;
  }
  .player-frame {
    height: 430px;
    width: 290px;
  }
  .watermark {
    font-size: 370px;
  }
  .dashboard {
    padding-bottom: 30px;
  }
  .big-stat strong {
    font-size: 100px;
  }
  .goal-list {
    grid-template-columns: 1fr;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  footer > span {
    display: none;
  }
  .section-heading h2 {
    font-size: 30px;
  }
  .section-heading {
    align-items: flex-start;
  }
  .section-heading > span {
    padding-top: 15px;
  }
  .brand {
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

@media (max-width: 950px) {
  .player-frame {
    height: auto;
  }
}
@media (max-width: 700px) {
  .player-frame {
    height: auto;
  }
}

/* Linha fina: o destaque acompanha a silhueta sem engrossar sua borda. */
.body-region {
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.body-region[aria-pressed="true"] {
  fill: #c6f65b38;
  filter: drop-shadow(0 0 4px #c6f65b45);
}

/* Foto e contornos compartilham a mesma proporção e coordenadas. */
.player-area {
  min-height: 0;
  padding: 15px 0 20px;
  overflow: visible;
}
.player-frame {
  width: min(100%, 400px);
  height: auto;
  aspect-ratio: 2/3;
  position: relative;
  margin: auto;
}
.player {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 22px #0006);
}
.body-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.body-region {
  fill: transparent;
  stroke: transparent;
  stroke-width: 0.85;
  vector-effect: non-scaling-stroke;
  pointer-events: fill;
  cursor: pointer;
  stroke-linejoin: round;
  outline: none;
  transition:
    fill 0.16s,
    stroke 0.16s;
}
.body-region:hover,
.body-region:focus-visible {
  fill: #c6f65b20;
  stroke: #c6f65b;
  filter: none;
}
.body-region[aria-pressed="true"] {
  fill: #c6f65b32;
  stroke: #d4ff7a;
  filter: drop-shadow(0 0 2px #c6f65b40);
}
.photo-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 8px;
}
#photo-label {
  font-size: 11px;
  color: var(--lime);
}
#inspect-part {
  font-size: 10px;
  background: #20271b;
  border: 1px solid #3c4a2e;
  color: var(--white);
  border-radius: 4px;
  padding: 9px 11px;
}
#detail-dialog {
  background: #151b13;
  color: var(--white);
  border: 1px solid #556340;
  border-radius: 12px;
  width: min(480px, 92vw);
  max-height: 90vh;
  padding: 20px;
  overflow: auto;
}
#detail-dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(5px);
}
.detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.detail-heading h2 {
  font-size: 18px;
  margin: 0;
}
.detail-heading button {
  background: none;
  border: 0;
  color: var(--white);
  font-size: 28px;
  padding: 2px 10px;
}
#detail-svg {
  display: block;
  width: 100%;
  max-height: 60vh;
  background: radial-gradient(ellipse, #39452a33, transparent 70%);
}
#detail-path {
  fill: #c6f65b24;
  stroke: var(--lime);
  stroke-width: 0.85;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
}
#detail-dialog p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}
@media (max-width: 700px) {
  .player-frame {
    width: min(100%, 340px);
    height: auto;
  }
  .player-area {
    min-height: 0;
  }
  .vertical-label {
    left: -8px;
    font-size: 8px;
  }
  .photo-controls {
    gap: 8px;
  }
}

.player-area {
  overflow: hidden;
}
.detail-heading {
  gap: 12px;
}
.detail-heading h2 {
  min-width: 0;
  overflow-wrap: anywhere;
}
.detail-heading button {
  flex-shrink: 0;
}
.era-caption {
  text-align: center;
  margin: 12px auto 16px;
  padding: 0 18px;
  max-width: 420px;
}
.era-caption strong {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--lime);
}
.era-caption p {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin: 7px 0 0;
}
.player-area[aria-busy="true"] .player-frame {
  opacity: 0.6;
}

/* O momento aparece como cenário; os dados permanecem sobre grafite sólido. */
:root {
  --bg: #17191d;
  --panel: #202329;
  --line: #363a42;
  --muted: #a9adb5;
  --white: #f4f5f7;
}
body {
  background: var(--bg);
}
.anatomy {
  position: relative;
  isolation: isolate;
  margin: 20px 0 36px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  gap: 32px;
  background: #191c21;
}
.anatomy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(180deg, #191c2145 0%, #191c2199 58%, #191c21 100%),
    linear-gradient(90deg, #191c2155 0%, #191c2190 48%, #191c21 84%),
    var(--moment-image, none);
  background-size: cover;
  background-position:
    center,
    center,
    42% 35%;
  opacity: 0.85;
}
.player-area {
  background: radial-gradient(ellipse at 50% 65%, #ffffff08, transparent 65%);
}
.player-frame {
  z-index: 1;
}
.watermark {
  color: #ffffff08;
  pointer-events: none;
}
.vertical-label {
  color: #a9adb58c;
}
.era-caption,
.photo-controls,
.player-hint {
  position: relative;
  z-index: 1;
}
.era-caption p {
  color: #c0c4cb;
}
.dashboard {
  padding: 20px;
  background: #1b1e24;
  border: 1px solid #ffffff0d;
  border-radius: 12px;
  align-self: start;
  box-shadow: 0 16px 45px #0003;
}
select {
  background: #22262d;
}
.stat-card {
  background: var(--panel);
  border-color: #434951;
}
.notice {
  background: #22262b;
  border-color: #3b4248;
  color: #c4cbd0;
}
.track {
  background: #343943;
}
.tag {
  background: #2c3338;
  color: #d4dbc9;
}
#inspect-part {
  background: #262c30;
  border-color: #4b5559;
}
#detail-dialog {
  background: #1b1e24;
  border-color: #4b5559;
}
#detail-svg {
  background: radial-gradient(ellipse, #ffffff06, transparent 70%);
}
.goal-card:hover {
  border-color: #69755c;
}
@media (max-width: 950px) {
  .anatomy {
    gap: 18px;
    padding: 20px;
  }
  .dashboard {
    padding: 15px;
  }
}
@media (max-width: 700px) {
  .anatomy {
    margin-top: 20px;
    padding: 15px 12px;
    gap: 14px;
    border-radius: 12px;
  }
  .anatomy::before {
    background-position:
      center,
      center,
      48% top;
    background-size: auto 560px;
    background-repeat: no-repeat;
  }
  .dashboard {
    padding: 16px;
    width: 100%;
  }
  .player-area {
    padding-top: 5px;
  }
  .era-caption {
    padding: 0 5px;
  }
  .player-hint {
    font-size: 10px;
  }
  .vertical-label {
    left: 0;
    letter-spacing: 2px;
  }
}
.anatomy::before {
  background-image: var(--moment-image, none);
  background-size: cover;
  background-position: 42% 35%;
  opacity: 0.22;
  filter: saturate(0.45);
  mask-image: linear-gradient(90deg, #000 0%, #000a 48%, transparent 90%);
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000a 48%,
    transparent 90%
  );
}
@media (max-width: 700px) {
  .anatomy::before {
    background-size: auto 560px;
    background-position: 48% top;
    opacity: 0.2;
    mask-image: linear-gradient(
      180deg,
      #000 0%,
      #000a 350px,
      transparent 570px
    );
    -webkit-mask-image: linear-gradient(
      180deg,
      #000 0%,
      #000a 350px,
      transparent 570px
    );
  }
}
.anatomy::before {
  background-position: var(--moment-position, 42% 35%);
  background-size: var(--moment-size, cover);
  background-repeat: no-repeat;
}
@media (max-width: 700px) {
  .anatomy::before {
    background-position: 48% top;
    background-size: auto 560px;
  }
}

/* Identidade Anatomy: símbolo fixo, jogador identificado como edição. */
body {
  font-family: "Space Grotesk", Arial, sans-serif;
}
.topbar {
  padding: 26px 40px;
  min-height: 102px;
  border-bottom-color: #ffffff12;
}
.identity {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  letter-spacing: normal;
  flex-shrink: 0;
}
.identity > img {
  display: block;
  width: 46px;
  height: 46px;
}
.brand .identity-type {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: "Sora", Arial, sans-serif;
  margin: 0;
  letter-spacing: normal;
}
.identity-type strong {
  font-size: 23px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -1.1px;
}
.brand .identity-type .brand-dot {
  display: inline;
  color: var(--lime);
  font: inherit;
  letter-spacing: inherit;
  margin: 0;
}
.brand .identity-edition {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 8px;
  letter-spacing: 1.7px;
  color: var(--muted);
  margin: 0;
  line-height: 1.2;
}
.topbar nav {
  gap: 30px;
  font-size: 12px;
}
.topbar nav a {
  position: relative;
  padding: 14px 0;
}
.topbar nav a.active::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--lime);
}
.edition {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 9px;
  letter-spacing: 1.5px;
}
.edition-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}
.edition-divider {
  color: #59606b;
  margin: 0 3px;
}
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 40px;
  align-items: end;
  padding: 48px 0 35px;
}
.intro .eyebrow {
  margin: 0 0 24px;
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #c8ccd2;
  display: flex;
  align-items: center;
  gap: 13px;
}
.intro-index {
  color: var(--lime);
}
.eyebrow-divider {
  color: #65707b;
}
.intro h1 {
  font-family: "Sora", Arial, sans-serif;
  font-size: clamp(38px, 4.55vw, 62px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -3.2px;
  margin: 0;
}
.intro h1 em {
  color: var(--lime);
  font-weight: 600;
}
.intro-copy {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.8;
  color: #adb3bd;
  max-width: none;
  margin: 0 0 22px;
}
.explore-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  padding: 11px 0;
  border-bottom: 1px solid #ffffff25;
  font-size: 12px;
  color: var(--white);
}
.explore-link span {
  font-size: 23px;
  color: var(--lime);
  line-height: 1;
}
.explore-link:hover {
  border-color: var(--lime);
}
.notice {
  border-left: 2px solid #69735b;
  background: #202329;
  padding: 11px 15px;
  border-radius: 0 5px 5px 0;
  font-size: 10px;
  letter-spacing: 0.1px;
}
.stat-card h2,
.section-heading h2 {
  font-family: "Sora", Arial, sans-serif;
  letter-spacing: -1px;
}
.section-heading h2 {
  font-size: 31px;
  font-weight: 600;
}
.footer-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Sora", Arial, sans-serif;
  font-size: 15px;
  letter-spacing: -0.7px;
}
@media (max-width: 1050px) {
  .intro {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 25px;
  }
  .intro h1 {
    font-size: 44px;
    letter-spacing: -2.3px;
  }
  .topbar nav {
    gap: 20px;
  }
  .edition {
    display: none;
  }
}
@media (max-width: 700px) {
  .topbar {
    padding: 22px;
    min-height: 0;
    flex-wrap: wrap;
    gap: 22px;
  }
  .identity > img {
    width: 38px;
    height: 38px;
  }
  .identity-type strong {
    font-size: 21px;
  }
  .brand .identity-edition {
    font-size: 7px;
    letter-spacing: 1.3px;
  }
  .topbar nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 11px;
  }
  .topbar nav a {
    padding: 5px 0 10px;
  }
  .topbar nav a.active::after {
    bottom: 0;
  }
  .intro {
    grid-template-columns: 1fr;
    padding: 30px 0 25px;
    gap: 23px;
  }
  .intro .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
    gap: 8px;
    margin-bottom: 18px;
  }
  .intro h1 {
    font-size: clamp(28px, 7.6vw, 45px);
    letter-spacing: -1.6px;
    line-height: 1.15;
  }
  .intro-copy {
    font-size: 12px;
    margin-bottom: 13px;
  }
  .intro-side {
    max-width: 370px;
  }
  .explore-link {
    font-size: 11px;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .notice {
    font-size: 10px;
  }
}

/* Cabeçalho de produto: perfil, navegação e contexto da base. */
html {
  scroll-padding-top: 100px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #111318f5;
  border-bottom: 1px solid #ffffff0b;
  backdrop-filter: blur(14px);
}
.site-header .topbar {
  min-height: 76px;
  padding: 0 40px;
  border: 0;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  gap: 22px;
  align-items: center;
}
.profile-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.profile-avatar {
  position: relative;
  width: 37px;
  height: 37px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #b7f36b55;
  background: #273128 url("neymar-brasil-2016.png") 50% 15%/130px auto no-repeat;
}
.avatar-mark {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 17px;
  height: 17px;
  background: #111318;
  border-radius: 4px;
  padding: 2px;
  border: 1px solid #3b4249;
}
.profile-brand-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.profile-brand-text strong {
  display: flex;
  gap: 4px;
  font-family: "Sora", Arial, sans-serif;
  font-weight: 650;
  font-size: 14px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.profile-brand-text strong > span {
  font-weight: 500;
  color: #d1d6dc;
}
.profile-subtitle {
  font-size: 9px;
  color: var(--lime);
  letter-spacing: 0.35px;
  line-height: 1.2;
}
.site-header nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  white-space: nowrap;
  font-size: 11px;
}
.site-header nav a {
  padding: 29px 0 27px;
  color: #9ca6b5;
  line-height: 1.5;
  position: relative;
}
.site-header nav a.active,
.site-header nav a:hover {
  color: var(--lime);
}
.site-header nav a.active::after {
  left: 0;
  right: 0;
  bottom: 17px;
  width: auto;
  height: 2px;
  border-radius: 2px;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}
.prototype-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #8b95a3;
  font-size: 9px;
}
.prototype-badge > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8b95a3;
}
.base-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #ffffff0c;
  background: #191c22;
  border-radius: 8px;
  font-size: 10px;
  color: #c3cbd6;
  white-space: nowrap;
}
.base-link:hover {
  border-color: #c6f65b55;
}
.base-link > span {
  color: var(--lime);
  font-size: 14px;
}
.intro {
  padding-top: 38px;
  padding-bottom: 30px;
}
.intro h1 {
  font-size: clamp(38px, 4vw, 54px);
  letter-spacing: -2.8px;
}
.intro .eyebrow {
  margin-bottom: 20px;
  color: #929eac;
  font-size: 8px;
}
.intro-index {
  color: #8b98a6;
}
.intro-copy {
  font-size: 12px;
}
.explore-link {
  font-size: 11px;
}
@media (max-width: 1150px) {
  .site-header .topbar {
    grid-template-columns: 220px 1fr auto;
    gap: 15px;
  }
  .site-header nav {
    gap: 20px;
  }
  .prototype-badge {
    display: none;
  }
}
@media (max-width: 850px) {
  .site-header .topbar {
    grid-template-columns: 1fr auto;
    gap: 0;
    padding: 14px 22px 0;
    min-height: 0;
  }
  .site-header nav {
    grid-row: 2;
    grid-column: 1/-1;
    justify-content: flex-start;
    gap: 26px;
    overflow-x: auto;
    scrollbar-width: none;
    margin-top: 9px;
  }
  .site-header nav::-webkit-scrollbar {
    display: none;
  }
  .site-header nav a {
    padding: 13px 0 15px;
    font-size: 11px;
  }
  .site-header nav a.active::after {
    bottom: 5px;
  }
  .profile-brand-text strong {
    font-size: 13px;
  }
  .base-link {
    padding: 8px 10px;
    font-size: 9px;
  }
  .profile-avatar {
    width: 33px;
    height: 33px;
  }
  .site-header .topbar .header-tools {
    grid-column: 2;
    grid-row: 1;
  }
  .intro {
    padding-top: 28px;
  }
  .intro h1 {
    font-size: clamp(28px, 7.6vw, 45px);
    letter-spacing: -1.6px;
  }
}
@media (max-width: 380px) {
  .site-header .topbar {
    padding-left: 18px;
    padding-right: 18px;
  }
  .profile-brand-text strong {
    font-size: 12px;
  }
  .profile-subtitle {
    font-size: 8px;
  }
  .site-header nav {
    gap: 22px;
  }
  .base-link {
    padding: 8px;
  }
  .profile-brand {
    gap: 8px;
  }
}

.intro {
  grid-template-columns: 1fr;
}

.profile-avatar {
  background-image: url("neymar.png");
  background-size: 180px auto;
  background-position: 50% 0;
}

.profile-avatar {
  background: #273128 url("neymar.png") 50% 0/140px auto no-repeat;
  overflow: hidden;
  border: 1px solid #52683b;
}

.profile-avatar {
  background: #253029 url("neymar-avatar-real.png") center center/contain
    no-repeat;
}

.site-header .topbar {
  grid-template-columns: 260px 1fr 160px;
}
.site-header nav {
  grid-column: 2;
}
@media (max-width: 850px) {
  .site-header .topbar {
    grid-template-columns: 1fr;
  }
  .site-header nav {
    grid-column: 1;
    grid-row: 2;
  }
}

/* A primeira dobra apresenta o perfil e os números da base. */
.career-overview {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 26px;
  padding: 34px 0 18px;
  align-items: start;
}
.glow-card {
  background: #191c23;
  border: 1px solid #ffffff0d;
  border-radius: 18px;
  position: relative;
  transition:
    border-color 0.22s,
    box-shadow 0.22s;
}
.glow-card:hover {
  border-color: #c6f65b35;
  box-shadow:
    0 12px 45px #0003,
    0 0 30px #c6f65b05;
}
.profile-card {
  padding: 28px 22px 22px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, #c6f65b0d, transparent 55%), #191c23;
}
.portrait-ring {
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
  border: 1px solid #c6f65b99;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 0 28px #c6f65b18;
  background: #252d24;
}
.portrait-ring img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}
.profile-card h2 {
  font-family: "Sora", Arial, sans-serif;
  font-size: 20px;
  letter-spacing: -0.6px;
  margin: 0 0 8px;
}
.profile-role {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: var(--lime);
  margin: 0 0 25px;
}
.profile-role span {
  margin: 0 7px;
  color: #66734b;
}
.profile-total {
  background: #11141a;
  border: 1px solid #ffffff0b;
  border-radius: 12px;
  padding: 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.profile-total > span,
.metric-label {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #a0aaba;
}
.profile-total strong {
  font-family: "Sora", Arial, sans-serif;
  font-size: 38px;
  line-height: 1.2;
  color: var(--lime);
  text-shadow: 0 0 25px #c6f65b30;
}
.profile-total small {
  font-size: 9px;
  color: #7d8796;
}
.profile-facts {
  margin: 22px 0;
  padding-bottom: 19px;
  border-bottom: 1px solid #ffffff0a;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 10px;
  text-align: left;
}
.profile-facts > span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #8692a3;
}
.profile-facts b {
  color: #d8dee5;
  font-weight: 500;
}
.profile-explore {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #c5cbd3;
}
.profile-explore span {
  color: var(--lime);
}
.profile-explore:hover {
  color: var(--lime);
}
.overview-heading {
  position: relative;
  padding: 24px 8px 30px;
  overflow: hidden;
}
.overview-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: 2px;
  color: #b3bece;
}
.overview-heading h1 {
  font-family: "Sora", Arial, sans-serif;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1.1;
  margin: 20px 0 10px;
  position: relative;
  z-index: 1;
}
.overview-heading h1 span {
  color: var(--lime);
}
.overview-heading > p {
  color: #8e9aac;
  font-size: 14px;
  margin: 0;
  position: relative;
  z-index: 1;
}
.overview-number {
  position: absolute;
  right: 8%;
  top: -35px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 230px;
  font-style: italic;
  color: #c6f65b07;
  pointer-events: none;
}
.overview-stats {
  overflow: hidden;
  padding: 26px;
  background:
    radial-gradient(ellipse at 20% 15%, #c6f65b09, transparent 65%), #191c23;
}
.overview-stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c6f65b80, transparent);
}
.stats-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 24px;
}
.stats-topline .eyebrow {
  font-size: 9px;
  letter-spacing: 1.5px;
  margin: 0;
}
.data-badge {
  color: #a4b38a;
  font-size: 8px;
  letter-spacing: 0.8px;
  background: #c6f65b08;
  border: 1px solid #c6f65b20;
  border-radius: 20px;
  padding: 6px 9px;
  white-space: nowrap;
}
.overview-stat-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}
.career-total > strong {
  display: block;
  font-family: "Sora", Arial, sans-serif;
  font-size: 110px;
  font-weight: 700;
  letter-spacing: -7px;
  line-height: 1.15;
  margin: 8px 0;
  color: var(--white);
  text-shadow: 0 0 40px #c6f65b15;
}
.career-total > p {
  font-size: 11px;
  color: #8f9caf;
  line-height: 1.6;
  margin: 0 0 25px;
}
.distribution-track {
  height: 7px;
  background: #303641;
  border-radius: 10px;
  display: flex;
  overflow: hidden;
  gap: 2px;
}
.distribution-track > span {
  height: 100%;
  min-width: 0;
}
.distribution-legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 11px;
  color: #8a97aa;
  font-size: 8px;
}
.distribution-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.distribution-legend i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.legend-right {
  background: var(--lime);
}
.legend-left {
  background: #5dc4ef;
}
.legend-head {
  background: #f1b84e;
}
.overview-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.overview-mini {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 10px;
  padding: 17px 14px;
  background: #20242d;
  border: 1px solid #ffffff06;
  border-radius: 12px;
  min-height: 124px;
  transition:
    transform 0.2s,
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
  color: var(--white);
}
.overview-mini > span {
  font-size: 10px;
  color: #93a1b5;
  line-height: 1.5;
}
.overview-mini strong {
  font-family: "Sora", Arial, sans-serif;
  font-size: 25px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: -1px;
}
.overview-mini small {
  font-size: 8px;
  color: #69778b;
}
.overview-mini:hover,
.overview-mini:focus-visible {
  transform: translateY(-3px);
  border-color: #c6f65b60;
  background: #252c31;
  box-shadow: 0 5px 24px #c6f65b0d;
}
.overview-mini:hover small {
  color: var(--lime);
}
.mini-left strong {
  color: #5dc4ef;
}
.mini-head strong {
  color: #f1b84e;
}
.overview-bottom {
  border-top: 1px solid #ffffff09;
  margin-top: 28px;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.anatomy-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  background: transparent;
  border: 0;
  border-radius: 3px;
  color: var(--lime);
  font-weight: 600;
  font-size: 11px;
  box-shadow: none;
  transition:
    color 0.2s,
    gap 0.2s;
}
.anatomy-cta:hover {
  gap: 15px;
  color: var(--text);
  background: transparent;
  box-shadow: none;
}
.anatomy-cta:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 5px;
}
.anatomy-cta span {
  font-size: 15px;
}
.overview-bottom > span {
  font-size: 9px;
  color: #758398;
}
.overview-data-note {
  margin-top: 18px;
  font-size: 9px;
  line-height: 1.7;
  color: #8491a3;
}
.overview-data-note button {
  background: none;
  border: 0;
  color: var(--lime);
  padding: 0;
  text-decoration: underline;
}
.bar-button:hover {
  background: #c6f65b06;
  border-radius: 5px;
}
.goal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px #0003;
}
.goal-card {
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
select:hover {
  border-color: #c6f65b60;
}
.reset:hover,
#inspect-part:hover {
  color: var(--lime);
}
.site-header nav a:hover {
  color: #ddffa0;
  text-shadow: 0 0 12px #c6f65b40;
}
@media (max-width: 1050px) {
  .career-overview {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 20px;
  }
  .overview-stat-grid {
    gap: 18px;
  }
  .overview-stats {
    padding: 21px;
  }
  .career-total > strong {
    font-size: 85px;
  }
  .overview-mini {
    padding: 14px 10px;
  }
  .overview-bottom > span {
    display: none;
  }
  .stats-topline {
    flex-wrap: wrap;
  }
}
@media (max-width: 850px) {
  .career-overview {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 24px;
  }
  .profile-card {
    display: none;
  }
  .overview-heading {
    padding: 10px 0 24px;
  }
  .overview-heading h1 {
    font-size: 48px;
  }
  .overview-stat-grid {
    grid-template-columns: 1.15fr 1fr;
  }
  .overview-mini {
    min-height: 110px;
  }
  .career-total > strong {
    font-size: 96px;
  }
}
@media (max-width: 500px) {
  .overview-heading h1 {
    font-size: 43px;
    letter-spacing: -2px;
  }
  .overview-stats {
    padding: 20px 17px;
  }
  .overview-stat-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .career-total > strong {
    font-size: 95px;
  }
  .overview-mini-grid {
    gap: 10px;
  }
  .overview-mini {
    padding: 14px;
    min-height: 112px;
  }
  .overview-mini strong {
    font-size: 28px;
  }
  .overview-data-note {
    font-size: 9px;
  }
  .overview-bottom {
    margin-top: 23px;
  }
  .anatomy-cta {
    width: auto;
  }
  .stats-topline {
    gap: 12px;
    margin-bottom: 20px;
  }
  .overview-number {
    font-size: 190px;
    right: 0;
  }
  .overview-heading > p {
    font-size: 13px;
  }
}
.overview-heading::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 70%, #c6f65b0c, transparent 65%);
  pointer-events: none;
}
.portrait-ring {
  box-shadow: 0 0 32px #c6f65b24;
}
.overview-stats:hover::before {
  background: linear-gradient(90deg, transparent, #c6f65bd0, transparent);
}

.profile-role {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.profile-role img {
  object-fit: contain;
}
.current-club {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 10px 16px;
  background: #171d19;
  border: 1px solid #34422b;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  transition: 0.2s;
}
.current-club img {
  object-fit: contain;
}
.current-club small {
  display: block;
  color: #9ea896;
  font-size: 9px;
  letter-spacing: 1.5px;
  margin-bottom: 3px;
}
.current-club strong {
  font-size: 14px;
}
.current-club i {
  width: 6px;
  height: 6px;
  margin-left: 15px;
  border-radius: 50%;
  background: #c6f65b;
  box-shadow: 0 0 12px #c6f65b;
}
.current-club:hover {
  border-color: #c6f65b;
  box-shadow: 0 0 22px #c6f65b18;
  transform: translateY(-2px);
}
.club-picker {
  flex: 1;
  min-width: 0;
}
.filter-label {
  display: block;
  color: #a3aba3;
  font-size: 10px;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.filter-label span {
  letter-spacing: 0;
  color: #e1e6df;
  font-size: 11px;
}
.club-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.club-filter {
  display: grid;
  place-items: center;
  min-width: 48px;
  height: 48px;
  padding: 6px 10px;
  border: 1px solid #323b34;
  border-radius: 11px;
  background: #161c18;
  color: #adb7ab;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
  transition: 0.2s;
}
.club-filter img {
  object-fit: contain;
  width: 30px;
  height: 30px;
}
.club-filter:hover {
  transform: translateY(-3px);
  border-color: #8da34e;
  background: #232e20;
}
.club-filter[aria-pressed="true"] {
  border-color: #c6f65b;
  background: #28351c;
  box-shadow: 0 0 18px #c6f65b20;
  color: #c6f65b;
}
.club-filter:focus-visible,
.current-club:focus-visible {
  outline: 2px solid #c6f65b;
  outline-offset: 4px;
}
.goal-meta img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
@media (max-width: 550px) {
  .filter-row {
    flex-wrap: wrap;
  }
  .club-picker {
    flex-basis: 100%;
  }
  .club-filters {
    gap: 7px;
  }
  .current-club {
    margin-top: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .club-filter,
  .current-club {
    transition: none;
  }
}

.filter-row .club-picker {
  flex: 1.5;
}
.filter-row > label {
  flex: 0.85;
}
.club-filter {
  min-width: 42px;
  padding: 6px;
}
.club-filters {
  gap: 6px;
}
.header-preferences {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.header-preferences button,
.language-control {
  height: 36px;
  background: #15191e;
  border: 1px solid #30353d;
  border-radius: 11px;
  color: #f1f4eb;
}
.header-preferences button {
  display: grid;
  place-items: center;
  width: 36px;
  color: #e9c64b;
}
.language-control {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
}
.language-control > span {
  color: #a9b2a3;
}
.language-control select {
  width: auto;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  font-size: 11px;
  color: inherit;
  cursor: pointer;
}
.language-control option {
  background: var(--panel);
  color: var(--white);
}
.header-preferences button:hover,
.language-control:hover {
  border-color: var(--lime);
  box-shadow: 0 0 14px #c6f65b14;
}
.site-header .topbar {
  gap: 24px;
}
.site-header nav {
  margin-left: auto;
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f5ef;
  --panel: #fff;
  --line: #d6ddce;
  --muted: #56614e;
  --lime: #527900;
  --white: #192216;
}
html[data-theme="light"] body {
  background: var(--bg);
  color: var(--white);
}
html[data-theme="light"] .site-header {
  background: #f8faf5f5;
  border-color: var(--line);
}
html[data-theme="light"]
  :is(
    .profile-card,
    .overview-stats,
    .overview-mini,
    .stat-card,
    .goal-card,
    .club-filter,
    .current-club,
    #detail-dialog
  ) {
  background: #fff;
  color: var(--white);
  border-color: var(--line);
}
html[data-theme="light"]
  :is(
    .profile-total,
    .data-badge,
    .tag,
    select,
    .header-preferences button,
    .language-control
  ) {
  background: #eaf0e2;
  color: #273821;
  border-color: #d0dbbf;
}
html[data-theme="light"]
  :is(
    .overview-heading p,
    .profile-role,
    .metric-label,
    .overview-mini span,
    .overview-mini small,
    .profile-facts,
    .profile-total small,
    .fineprint,
    .filter-label,
    .filter-label span,
    .current-club small,
    .overview-bottom > span,
    .overview-data-note
  ) {
  color: #56614e;
}
html[data-theme="light"]
  :is(
    .overview-heading h1,
    .career-total strong,
    .profile-total strong,
    .overview-mini strong,
    .profile-card h2,
    .current-club strong,
    .profile-facts b,
    .profile-brand-text strong
  ) {
  color: #192216;
}
html[data-theme="light"] .overview-heading h1 span {
  color: #527900;
}
html[data-theme="light"] .overview-number {
  color: #5279000b;
}
html[data-theme="light"] .anatomy {
  background-color: #e7ecdf;
}
html[data-theme="light"] .anatomy-cta {
  color: #416600;
}
html[data-theme="light"] .club-filter[aria-pressed="true"] {
  background: #e3f1cb;
  border-color: #527900;
  color: #355700;
}
html[data-theme="light"] .club-filter:hover {
  background: #eef5e4;
  border-color: #527900;
}
@media (max-width: 850px) {
  .site-header .topbar {
    flex-wrap: wrap;
    gap: 12px;
  }
  .header-preferences {
    margin-left: auto;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    justify-content: center;
    margin: 0;
  }
  .language-control {
    padding: 0 8px;
  }
  .language-control select {
    font-size: 10px;
  }
}

.header-preferences {
  grid-column: 3;
  grid-row: 1;
}
@media (max-width: 850px) {
  .site-header .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .header-preferences {
    grid-column: 2;
    grid-row: 1;
  }
  .site-header nav {
    grid-column: 1/-1;
    grid-row: 2;
  }
}

html[data-theme="light"]
  :is(
    .profile-brand-text strong span,
    .site-header nav a,
    .overview-kicker,
    .profile-explore,
    .career-total p,
    .distribution-legend,
    .vertical-label,
    .goal-card p,
    .goal-meta
  ) {
  color: #4f5e45;
}
html[data-theme="light"] .site-header nav a.active,
html[data-theme="light"] .site-header nav a:hover {
  color: #527900;
}
html[data-theme="light"] .profile-card .profile-explore {
  border-color: #d6ddce;
}
html[data-theme="light"] .language-control select {
  color: #273821;
}

@media (max-width: 500px) {
  .profile-brand-text strong {
    display: block;
    white-space: nowrap;
    font-size: 12px;
  }
  .profile-brand-text strong > span {
    display: block;
    font-size: 10px;
    margin-top: 3px;
  }
  .profile-subtitle {
    display: none;
  }
  .header-preferences {
    gap: 6px;
  }
  .site-header .topbar {
    column-gap: 8px;
  }
}

/* O momento cobre toda a seção, com contraste uniforme atrás dos painéis. */
.anatomy::before {
  background-size: cover;
  background-position: var(--moment-position, 42% 35%);
  mask-image: none;
  -webkit-mask-image: none;
  opacity: 0.18;
}
@media (max-width: 700px) {
  .anatomy::before {
    background-size: cover;
    background-position: center top;
    mask-image: none;
    -webkit-mask-image: none;
    opacity: 0.16;
  }
}

.anatomy::before {
  opacity: var(--moment-opacity, 0.18);
}

/* Painel compacto: o jogador mantém o protagonismo da seção. */
.anatomy {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}
.dashboard {
  width: 100%;
  max-width: 440px;
  justify-self: end;
  align-self: center;
  padding: 22px;
  border-radius: 14px;
  box-shadow: 0 10px 30px #0002;
}
.dashboard .filter-row {
  gap: 14px;
  align-items: start;
}
.dashboard .club-filter {
  height: 38px;
  min-width: 36px;
  padding: 5px;
  border-radius: 9px;
}
.dashboard .club-filter img {
  width: 25px;
  height: 25px;
}
.dashboard .club-filters {
  gap: 5px;
}
.dashboard .filter-label {
  margin-bottom: 8px;
  font-size: 9px;
}
.dashboard .filter-row select {
  padding: 9px 10px;
  font-size: 11px;
  margin-top: 8px;
}
.dashboard .summary {
  padding: 19px 0 16px;
  border-bottom: 1px solid var(--line);
}
.dashboard .summary strong {
  font-size: 29px;
  line-height: 1.2;
}
.dashboard .summary div {
  padding-left: 14px;
}
.dashboard .summary div:first-child {
  padding-left: 0;
}
.dashboard .summary span {
  font-size: 7px;
  letter-spacing: 0.8px;
}
.dashboard .stat-card {
  padding: 18px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.dashboard .card-icon {
  display: none;
}
.dashboard .card-heading .eyebrow {
  font-size: 8px;
  letter-spacing: 2px;
}
.dashboard .stat-card h2 {
  font-size: 20px;
  margin: 12px 0 4px;
  letter-spacing: -0.6px;
}
.dashboard .big-stat {
  gap: 18px;
  padding-bottom: 10px;
}
.dashboard .big-stat strong {
  font-size: 70px;
  line-height: 1.1;
}
.dashboard .big-stat span {
  font-size: 10px;
  line-height: 1.5;
  max-width: 155px;
}
.dashboard .bars {
  padding: 12px 0;
}
.dashboard .bar-button {
  grid-template-columns: 76px 1fr 18px;
  gap: 10px;
  font-size: 10px;
  padding: 8px 0;
}
.dashboard .track {
  height: 4px;
}
.dashboard .reset {
  padding-top: 12px;
  font-size: 10px;
}
.dashboard .fineprint {
  margin: 15px 0 0;
  font-size: 9px;
  line-height: 1.5;
}
html[data-theme="light"] .dashboard {
  background: #fff;
  border-color: var(--line);
}
html[data-theme="light"] .dashboard .stat-card {
  background: transparent;
}
@media (max-width: 950px) {
  .anatomy {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
  }
  .dashboard {
    padding: 18px;
  }
  .dashboard .filter-row {
    flex-wrap: wrap;
  }
  .dashboard .club-picker {
    flex-basis: 100%;
  }
  .dashboard .filter-row > label {
    flex-basis: 100%;
  }
}
@media (max-width: 700px) {
  .anatomy {
    grid-template-columns: 1fr;
  }
  .dashboard {
    max-width: 440px;
    justify-self: center;
    align-self: start;
  }
  .dashboard .filter-row {
    flex-wrap: nowrap;
  }
  .dashboard .club-picker {
    flex-basis: auto;
  }
  .dashboard .filter-row > label {
    flex-basis: auto;
  }
}
@media (max-width: 420px) {
  .dashboard .filter-row {
    flex-wrap: wrap;
  }
  .dashboard .club-picker {
    flex-basis: 100%;
  }
  .dashboard .filter-row > label {
    flex-basis: 100%;
  }
  .dashboard {
    padding: 17px;
  }
}

/* Abertura integrada: uma identidade e uma única leitura dos números. */
.career-overview {
  display: block;
  padding: 34px 0 16px;
}
.overview-main {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 10% 0%, #c6f65b0b, transparent 50%), #191c23;
  box-shadow: 0 16px 55px #0002;
}
.overview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px;
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.overview-heading::before {
  display: none;
}
.hero-identity {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}
.hero-portrait {
  flex: none;
  width: 104px;
  height: 104px;
  border: 1px solid #c6f65b66;
  border-radius: 22px;
  background: #232c22;
  overflow: hidden;
  box-shadow: 0 0 32px #c6f65b0d;
}
.hero-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.overview-heading h1 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -2px;
  margin: 10px 0 8px;
}
.overview-heading p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.overview-kicker {
  font-size: 8px;
  letter-spacing: 2px;
}
.overview-heading .current-club {
  margin: 0;
  background: #12171a;
  border-color: #323b2a;
  flex: none;
}
.overview-stats {
  padding: 25px 34px 22px;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.overview-stats::before {
  display: none;
}
.stats-topline {
  margin-bottom: 20px;
}
.overview-stat-grid {
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 2fr);
  gap: 36px;
  align-items: center;
}
.career-total {
  padding-right: 30px;
  border-right: 1px solid var(--line);
}
.career-total > strong {
  font-size: 84px;
  line-height: 1;
  margin: 12px 0 20px;
  letter-spacing: -4px;
}
.overview-mini-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.overview-mini {
  min-height: 136px;
  padding: 17px 13px;
  justify-content: space-between;
}
.overview-mini > span {
  min-height: 30px;
  font-size: 10px;
}
.overview-mini strong {
  font-size: 30px;
}
.overview-mini small {
  font-size: 8px;
}
.overview-bottom {
  margin-top: 20px;
  padding-top: 10px;
}
.overview-data-note {
  margin-top: 10px;
  font-size: 9px;
  line-height: 1.6;
}
html[data-theme="light"] .overview-main {
  background: #fff;
  border-color: var(--line);
}
html[data-theme="light"] .overview-stats {
  background: transparent;
}
html[data-theme="light"] .overview-heading .current-club {
  background: #f0f4e9;
  border-color: var(--line);
}
@media (max-width: 1050px) {
  .overview-heading {
    padding: 25px;
  }
  .overview-stats {
    padding: 24px 25px;
  }
  .overview-stat-grid {
    gap: 22px;
    grid-template-columns: 180px 1fr;
  }
  .career-total {
    padding-right: 20px;
  }
  .overview-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .overview-mini {
    min-height: 102px;
    gap: 6px;
    padding: 12px;
  }
  .overview-mini > span {
    min-height: 0;
  }
  .overview-mini strong {
    font-size: 26px;
  }
}
@media (max-width: 700px) {
  .career-overview {
    padding-top: 22px;
  }
  .overview-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 18px;
    padding: 22px;
  }
  .hero-identity {
    gap: 16px;
  }
  .hero-portrait {
    width: 74px;
    height: 74px;
    border-radius: 17px;
  }
  .overview-heading h1 {
    font-size: 34px;
    margin: 8px 0 6px;
    letter-spacing: -1.5px;
  }
  .overview-heading .current-club {
    padding: 8px 12px;
  }
  .overview-heading .current-club img {
    width: 27px;
    height: 27px;
  }
  .overview-heading .current-club strong {
    font-size: 12px;
  }
  .overview-heading .current-club small {
    font-size: 8px;
  }
  .overview-stats {
    padding: 22px;
  }
  .overview-stat-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .career-total {
    padding: 0;
    border: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 22px;
    align-items: center;
  }
  .career-total .metric-label {
    grid-column: 1/-1;
  }
  .career-total > strong {
    grid-row: 2/4;
    font-size: 70px;
    margin: 9px 0 0;
  }
  .distribution-track {
    align-self: end;
  }
  .distribution-legend {
    align-self: start;
    margin-top: 8px;
    gap: 9px;
  }
  .overview-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .overview-mini {
    min-height: 106px;
  }
  .stats-topline {
    gap: 8px;
  }
  .stats-topline .eyebrow {
    font-size: 8px;
  }
  .overview-bottom {
    margin-top: 20px;
  }
  .overview-main {
    border-radius: 16px;
  }
}

@media (max-width: 420px) {
  .overview-heading {
    padding: 20px;
  }
  .hero-identity {
    gap: 13px;
  }
  .hero-portrait {
    width: 65px;
    height: 65px;
  }
  .overview-heading h1 {
    font-size: 26px;
    white-space: nowrap;
    letter-spacing: -1.2px;
  }
  .overview-heading p {
    font-size: 10px;
  }
  .overview-kicker {
    font-size: 7px;
    letter-spacing: 1.4px;
  }
}

/* Navegação editorial e idiomas em bandeiras. */
.site-header .topbar {
  grid-template-columns: 230px minmax(0, 1fr) auto;
  min-height: 82px;
  gap: 24px;
}
.site-header nav {
  justify-content: center;
  gap: 48px;
  margin: 0;
}
.site-header nav a {
  font-family: "Sora", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.3px;
  padding: 32px 0;
  color: #bec5c7;
}
.site-header nav a.active::after {
  bottom: 20px;
  background: var(--lime);
  height: 2px;
}
.site-header nav a:hover {
  text-shadow: none;
}
.profile-subtitle {
  display: none;
}
.profile-brand-text strong {
  font-size: 13px;
}
.profile-avatar {
  width: 31px;
  height: 31px;
}
.header-preferences {
  gap: 14px;
}
.header-preferences #theme-toggle {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.language-flags {
  display: flex;
  gap: 7px;
  align-items: center;
}
.language-flags button {
  width: 31px;
  height: 28px;
  padding: 5px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  opacity: 0.55;
  transition:
    opacity 0.2s,
    border-color 0.2s,
    background 0.2s;
}
.language-flags svg {
  display: block;
  width: 21px;
  height: 14px;
  border-radius: 1px;
}
.language-flags button:hover {
  opacity: 1;
  border-color: #ffffff30;
  background: #ffffff05;
  box-shadow: none;
}
.language-flags button[aria-pressed="true"] {
  opacity: 1;
  border-color: #c6f65b70;
  background: #c6f65b08;
}
.language-flags button:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
html[data-theme="light"] .site-header nav a {
  color: #283022;
}
html[data-theme="light"] .site-header nav a.active {
  color: #527900;
}
html[data-theme="light"] .language-flags button {
  background: transparent;
}
html[data-theme="light"] .language-flags button[aria-pressed="true"] {
  background: #e5efda;
  border-color: #527900;
}
@media (max-width: 1050px) {
  .site-header .topbar {
    grid-template-columns: 190px minmax(0, 1fr) auto;
    gap: 16px;
  }
  .site-header nav {
    gap: 26px;
  }
  .site-header nav a {
    letter-spacing: 1.5px;
    font-size: 9px;
  }
  .header-preferences {
    gap: 8px;
  }
}
@media (max-width: 850px) {
  .site-header .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 0;
    padding-top: 15px;
    gap: 12px;
  }
  .site-header nav {
    grid-row: 2;
    grid-column: 1/-1;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
  }
  .site-header nav a {
    padding: 13px 0 18px;
    font-size: 9px;
    letter-spacing: 1.4px;
  }
  .site-header nav a.active::after {
    bottom: 6px;
  }
  .header-preferences {
    grid-column: 2;
  }
  .language-flags {
    gap: 4px;
  }
  .profile-brand-text strong {
    display: flex;
    gap: 4px;
    font-size: 12px;
  }
  .profile-brand-text strong > span {
    display: inline;
    font-size: 12px;
    margin: 0;
  }
}
@media (max-width: 420px) {
  .profile-brand-text strong {
    display: block;
  }
  .profile-brand-text strong > span {
    display: block;
    font-size: 10px;
    margin-top: 3px;
  }
  .site-header nav a {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .language-flags button {
    width: 28px;
  }
  .language-flags {
    gap: 2px;
  }
}

/* Totais documentados por clube e seleção. */
.overview-mini-grid.reference-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.reference-mini {
  min-width: 0;
  padding: 18px 14px;
}
.reference-mini > span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
}
.reference-mini img {
  width: 24px;
  height: 26px;
  object-fit: contain;
}
.reference-mini small {
  line-height: 1.6;
  white-space: normal;
}
@media (max-width: 1100px) {
  .overview-mini-grid.reference-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .overview-mini-grid.reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.anatomy.era-enter::before {
  animation: era-background-enter 0.7s ease-out both;
}
@keyframes era-background-enter {
  from {
    opacity: 0;
    transform: scale(1.025);
  }
  to {
    opacity: var(--moment-opacity, 0.18);
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .anatomy.era-enter::before {
    animation: none;
  }
}
/* Seis opções de time, mantendo os escudos na mesma linha em telas amplas. */
.dashboard .filter-row .club-picker {
  flex: 2;
}
.dashboard .filter-row > label {
  flex: 1;
  min-width: 100px;
}
.dashboard .club-filter {
  min-width: 32px;
  padding: 4px;
}
.dashboard .club-filters {
  gap: 4px;
}
.reference-source {
  display: block;
  font-size: 9px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 8px;
}
.reference-source:hover {
  color: var(--lime);
}
.assist-reference {
  display: block;
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 10px;
  font-size: 10px;
  color: #5dc4ef;
  line-height: 1.5;
}
a.assist-reference:hover {
  color: var(--white);
}
.assist-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 18px;
}
.assist-summary > div {
  background: var(--bg);
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.assist-summary span {
  display: block;
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
}
.assist-summary strong {
  display: block;
  font-size: 25px;
  margin-top: 5px;
  color: #5dc4ef;
}
.assist-summary small {
  grid-column: 1/-1;
  font-size: 9px;
  line-height: 1.6;
  color: var(--muted);
}
/* Espaço entre a divisória e os cartões de estatísticas. */
.assist-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
  margin-bottom: 22px;
}
.assist-summary > div {
  min-width: 0;
}
.assist-summary span {
  line-height: 1.6;
  min-height: 26px;
}
.assist-summary small {
  margin-top: 2px;
}
@media (max-width: 380px) {
  .assist-summary {
    gap: 8px;
  }
  .assist-summary > div {
    padding: 10px 8px;
  }
  .assist-summary span {
    font-size: 7px;
  }
  .assist-summary strong {
    font-size: 23px;
  }
}
