#datos-page .datos-player-wh-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

#datos-page .datos-player-wh-head,
#datos-page .datos-player-wh-section {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--datos-player-wh-soft, rgba(255,255,255,.06)) 28%, rgba(255,255,255,.04)) 0%, rgba(255,255,255,.038) 48%, rgba(0,0,0,.15) 100%),
    rgba(13,18,18,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 34px rgba(0,0,0,.20);
}

#datos-page .datos-player-wh-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

#datos-page .datos-player-wh-title,
#datos-page .datos-player-wh-section-title {
  color: rgba(255,255,255,.94);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
}

#datos-page .datos-player-wh-subtitle {
  margin-top: 4px;
  color: rgba(255,255,255,.58);
  font-size: 11px;
  font-weight: 800;
}

#datos-page .datos-player-wh-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 8px;
}

#datos-page .datos-player-wh-hero-grid {
  display: grid;
  grid-template-columns: minmax(560px, 1.28fr) minmax(320px, .72fr);
  align-items: stretch;
  gap: 12px;
  width: 100%;
}

#datos-page .datos-player-wh-summary-col {
  display: grid;
  grid-template-rows: auto auto;
  align-content: stretch;
  gap: 10px;
  min-width: 0;
  height: 100%;
}

#datos-page .datos-player-wh-summary-col .datos-player-wh-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: start;
  height: 100%;
}

#datos-page .datos-player-wh-position-col {
  display: flex;
  min-width: 0;
  height: 100%;
}

#datos-page .datos-player-wh-position-col > .datos-player-positions-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

#datos-page .datos-player-wh-position-col .datos-player-pos-pitch,
#datos-page .datos-player-wh-position-col .datos-player-pos-legend {
  width: 100%;
}

#datos-page .datos-player-wh-main-context {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 126px;
  padding: 16px 18px;
  border: 1px solid rgba(45,211,122,.30);
  border-radius: 12px;
  background:
    radial-gradient(circle at 10% 25%, rgba(45,211,122,.10), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.07), rgba(0,0,0,.20));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 16px 30px rgba(0,0,0,.20);
}

#datos-page .datos-player-wh-main-shield-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(0,0,0,.28);
  box-shadow: 0 8px 22px rgba(0,0,0,.30);
  overflow: hidden;
}

#datos-page .datos-player-wh-main-shield {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

#datos-page .datos-player-wh-main-context.is-fed-madrid .datos-player-wh-main-shield {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  object-fit: cover;
}

#datos-page .datos-player-wh-main-shield-fallback {
  color: rgba(255,255,255,.88);
  font-size: 18px;
  font-weight: 950;
}

#datos-page .datos-player-wh-main-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#datos-page .datos-player-wh-main-kicker {
  color: #35df82;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

#datos-page .datos-player-wh-main-team {
  min-width: 0;
  overflow: hidden;
  color: rgba(255,255,255,.96);
  margin-top: 3px;
  font-size: 19px;
  font-weight: 950;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#datos-page .datos-player-wh-main-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-top: 8px;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}

#datos-page .datos-player-wh-main-competition-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  object-fit: contain;
}

#datos-page .datos-player-wh-main-meta-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

#datos-page .datos-player-wh-main-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

#datos-page .datos-player-wh-main-chip {
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.78);
  font-size: 10px;
  font-weight: 900;
}

#datos-page .datos-player-wh-main-chip.is-gold {
  border-color: rgba(227,188,49,.35);
  color: #e0bf38;
}

#datos-page .datos-player-wh-main-chip.is-green {
  border-color: rgba(45,211,122,.36);
  color: #35df82;
}

#datos-page .datos-player-wh-profile-summary {
  margin-top: -4px;
  color: rgba(255,255,255,.58);
  font-size: 11px;
  font-weight: 850;
}

#datos-page .datos-player-positions-card {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(45,211,122,.28);
  border-radius: 12px;
  background:
    radial-gradient(circle at 16% 16%, rgba(45,211,122,.16), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.065), rgba(0,0,0,.20)),
    rgba(13,18,18,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 34px rgba(0,0,0,.18);
}

#datos-page .datos-player-pos-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  margin-bottom: 8px;
}

#datos-page .datos-player-pos-pitch {
  position: relative;
  width: min(100%, 210px);
  max-width: 210px;
  aspect-ratio: 0.72 / 1;
  min-height: 0;
  max-height: 292px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(45,211,122,.34);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(10,61,37,.96), rgba(6,42,29,.98)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.045) 0 1px, transparent 1px 42px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), inset 0 0 80px rgba(0,0,0,.25);
}

#datos-page .datos-player-pos-body {
  display: grid;
  grid-template-columns: minmax(170px, 210px) minmax(120px, 1fr);
  align-items: center;
  justify-content: center;
  gap: 12px;
}

#datos-page .datos-player-pos-pitch::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,.035) 0 42px, rgba(255,255,255,.015) 42px 84px);
  pointer-events: none;
}

#datos-page .datos-player-pos-pitch::after {
  content: "";
  position: absolute;
  left: 31%;
  bottom: 0;
  width: 38%;
  height: 18%;
  border: 1px solid rgba(255,255,255,.16);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  z-index: 2;
  pointer-events: none;
}

#datos-page .datos-player-pos-box {
  position: absolute;
  left: 31%;
  top: 0;
  width: 38%;
  height: 18%;
  border: 1px solid rgba(255,255,255,.16);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  z-index: 2;
}

#datos-page .datos-player-pos-halfway {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255,255,255,.16);
  z-index: 2;
}

#datos-page .datos-player-pos-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82px;
  height: 82px;
  margin-left: -41px;
  margin-top: -41px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  z-index: 2;
}

#datos-page .datos-player-pos-marker {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(227,188,49,.96);
  border-radius: 999px;
  background: radial-gradient(circle at 35% 28%, rgba(255,255,255,.22), rgba(30,107,69,.95) 58%, rgba(11,38,28,.98));
  box-shadow: 0 10px 24px rgba(0,0,0,.34), 0 0 0 4px rgba(227,188,49,.10);
  color: #f6f7ee;
  text-align: center;
  z-index: 4;
}

#datos-page .datos-player-pos-marker-label {
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
}

#datos-page .datos-player-pos-marker-pct {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  opacity: .92;
}

#datos-page .datos-player-pos-legend {
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 8px;
  width: 100%;
  max-width: 190px;
  margin: 0;
}

#datos-page .datos-player-pos-legend-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.82);
  font-size: 11px;
}

#datos-page .datos-player-pos-legend-main {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

#datos-page .datos-player-pos-legend-code {
  min-width: 34px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(227,188,49,.34);
  border-radius: 999px;
  background: rgba(227,188,49,.16);
  color: #e0bf38;
  font-size: 11px;
  font-weight: 950;
}

#datos-page .datos-player-pos-legend-name {
  min-width: 0;
  overflow: hidden;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#datos-page .datos-player-pos-legend-pct {
  margin-left: auto;
  color: #35df82;
  font-weight: 950;
}

#datos-page .datos-player-pos-contexts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

#datos-page .datos-player-pos-context-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  max-width: 100%;
  min-height: 22px;
  padding: 3px 5px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  background: rgba(0,0,0,.18);
}

#datos-page .datos-player-pos-context-img {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  object-fit: contain;
}

#datos-page .datos-player-pos-context-img.is-team {
  border-radius: 999px;
}

#datos-page .datos-player-pos-context-value {
  color: rgba(255,255,255,.74);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

#datos-page .datos-player-pos-context-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.62);
  font-size: 9px;
  font-weight: 950;
}

#datos-page .datos-player-wh-metric-card {
  position: relative;
  min-height: 76px;
  padding: 10px 11px 9px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 9px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255,255,255,.08), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(0,0,0,.10));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

#datos-page .datos-player-wh-metric-card.is-positive {
  border-color: rgba(45,211,122,.30);
  background:
    radial-gradient(circle at 12% 12%, rgba(45,211,122,.13), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(0,0,0,.10));
}

#datos-page .datos-player-wh-metric-card.is-warning {
  border-color: rgba(227,188,49,.34);
  background:
    radial-gradient(circle at 12% 12%, rgba(227,188,49,.13), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(0,0,0,.10));
}

#datos-page .datos-player-wh-metric-card::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 8px;
  left: 10px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
}

#datos-page .datos-player-wh-metric-card.is-positive::after {
  background: rgba(45,211,122,.62);
}

#datos-page .datos-player-wh-metric-card.is-warning::after {
  background: rgba(227,188,49,.62);
}

#datos-page .datos-player-wh-metric-head {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

#datos-page .datos-player-wh-metric-icon,
#datos-page .datos-player-wh-metric-icon-placeholder {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

#datos-page .datos-player-wh-metric-icon {
  padding: 4px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.075);
  object-fit: contain;
  opacity: .95;
  filter: drop-shadow(0 5px 9px rgba(0,0,0,.28));
}

#datos-page .datos-player-wh-metric-label {
  color: rgba(255,255,255,.58);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#datos-page .datos-player-wh-metric-value {
  margin-top: 7px;
  color: rgba(255,255,255,.96);
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#datos-page .datos-player-wh-metric-sub {
  margin-top: 5px;
  padding-bottom: 5px;
  color: rgba(255,255,255,.62);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#datos-page .datos-player-wh-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(260px, .75fr);
  gap: 12px;
}

#datos-page .datos-player-wh-timeline-row {
  display: block;
  width: 100%;
}

#datos-page .datos-player-wh-timeline-row > .datos-player-wh-timeline {
  margin-bottom: 0;
}

#datos-page .datos-player-wh-full-row {
  display: block;
  width: 100%;
}

#datos-page .datos-player-wh-context-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
}

#datos-page .datos-player-wh-context-stack > .datos-player-wh-section {
  width: 100%;
  min-width: 0;
}

#datos-page .datos-player-wh-section {
  padding: 12px;
}

#datos-page .datos-player-wh-context-section {
  overflow: visible;
  padding: 0;
}

#datos-page .datos-player-wh-section-title {
  margin: 0 0 10px;
}

#datos-page .datos-player-wh-context-visual {
  position: relative;
  overflow: hidden;
  min-height: 244px;
  padding: 16px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 0% 0%, rgba(45,211,122,.13), transparent 34%),
    linear-gradient(135deg, rgba(9,24,20,.94), rgba(5,12,14,.98));
  border: 1px solid rgba(45,211,122,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 34px rgba(0,0,0,.22);
}

#datos-page .datos-player-wh-context-top {
  display: grid;
  grid-template-columns: max-content minmax(240px, 1fr) max-content;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}

#datos-page .datos-player-wh-context-title {
  color: rgba(255,255,255,.96);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.05;
}

#datos-page .datos-player-wh-context-bar {
  display: flex;
  width: 100%;
  max-width: 760px;
  height: 14px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 8px 18px rgba(0,0,0,.25);
}

#datos-page .datos-player-wh-context-mode {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 5px;
  padding: 3px;
  border-radius: 10px;
  background: rgba(0,0,0,.24);
  border: 1px solid rgba(255,255,255,.10);
}

#datos-page .datos-player-wh-context-mode-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#datos-page .datos-player-wh-context-mode-label {
  position: relative;
  display: inline-flex;
  align-items: center !important;
  justify-content: center !important;
  height: 28px;
  min-width: 92px;
  padding: 0 14px;
  border-radius: 8px;
  color: rgba(255,255,255,.58);
  font-size: 11px;
  font-weight: 950;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}

#datos-page .datos-player-wh-context-mode-label:has(input:checked) {
  color: white;
  background: rgba(45,211,122,.16);
  border: 1px solid rgba(45,211,122,.42);
}

#datos-page .datos-player-wh-context-mode-label input {
  position: absolute;
  width: 0;
  height: 0;
  margin: 0;
  inset: 0;
  appearance: none;
}

#datos-page .datos-player-wh-context-segment {
  min-width: 2px;
  height: 100%;
}

#datos-page .datos-player-wh-context-segment.is-green,
#datos-page .datos-player-wh-context-dot.is-green {
  background: #3ce56e;
}

#datos-page .datos-player-wh-context-segment.is-yellow,
#datos-page .datos-player-wh-context-dot.is-yellow {
  background: #ffdb45;
}

#datos-page .datos-player-wh-context-segment.is-blue,
#datos-page .datos-player-wh-context-dot.is-blue {
  background: #2990ff;
}

#datos-page .datos-player-wh-context-segment.is-red,
#datos-page .datos-player-wh-context-dot.is-red {
  background: #ff676f;
}

#datos-page .datos-player-wh-context-segment.is-purple,
#datos-page .datos-player-wh-context-dot.is-purple {
  background: #9f7aff;
}

#datos-page .datos-player-wh-context-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin-bottom: 14px;
}

#datos-page .datos-player-wh-context-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: rgba(255,255,255,.78);
  font-size: 11px;
  font-weight: 850;
}

#datos-page .datos-player-wh-context-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(255,255,255,.07);
}

#datos-page .datos-player-wh-context-legend-icon,
#datos-page .datos-player-wh-context-legend-fallback {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

#datos-page .datos-player-wh-context-legend-icon {
  object-fit: contain;
}

#datos-page .datos-player-wh-context-legend-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255,255,255,.09);
  color: white;
  font-size: 9px;
  font-weight: 950;
}

#datos-page .datos-player-wh-context-legend-name {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#datos-page .datos-player-wh-context-legend-pct {
  padding: 3px 7px;
  border-radius: 999px;
  color: white;
  font-weight: 950;
}

#datos-page .datos-player-wh-context-legend-pct.is-green {
  background: rgba(60,229,110,.18);
  color: #3ce56e;
}

#datos-page .datos-player-wh-context-legend-pct.is-yellow {
  background: rgba(255,219,69,.18);
  color: #ffdb45;
}

#datos-page .datos-player-wh-context-legend-pct.is-blue {
  background: rgba(41,144,255,.18);
  color: #2990ff;
}

#datos-page .datos-player-wh-context-legend-pct.is-red {
  background: rgba(255,103,111,.18);
  color: #ff676f;
}

#datos-page .datos-player-wh-context-legend-pct.is-purple {
  background: rgba(159,122,255,.18);
  color: #9f7aff;
}

#datos-page .datos-player-wh-context-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
  gap: 10px;
}

#datos-page .datos-player-wh-context-cards:not([style*="display: none"]) {
  display: grid !important;
}

#datos-page .datos-player-wh-context-pane[style*="display: none"] {
  display: none !important;
}

#datos-page .datos-player-wh-context-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: start;
  gap: 9px;
  min-height: 178px;
  padding: 11px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

#datos-page .datos-player-wh-context-card.is-green {
  border-color: rgba(45,211,122,.34);
  background: radial-gradient(circle at 0% 0%, rgba(45,211,122,.14), transparent 42%), rgba(0,0,0,.22);
}

#datos-page .datos-player-wh-context-card.is-yellow {
  border-color: rgba(255,219,69,.34);
  background: radial-gradient(circle at 0% 0%, rgba(255,219,69,.14), transparent 42%), rgba(0,0,0,.22);
}

#datos-page .datos-player-wh-context-card.is-blue {
  border-color: rgba(41,144,255,.38);
  background: radial-gradient(circle at 0% 0%, rgba(41,144,255,.16), transparent 42%), rgba(0,0,0,.22);
}

#datos-page .datos-player-wh-context-card.is-red {
  border-color: rgba(255,103,111,.36);
  background: radial-gradient(circle at 0% 0%, rgba(255,103,111,.14), transparent 42%), rgba(0,0,0,.22);
}

#datos-page .datos-player-wh-context-card.is-purple {
  border-color: rgba(159,122,255,.36);
  background: radial-gradient(circle at 0% 0%, rgba(159,122,255,.14), transparent 42%), rgba(0,0,0,.22);
}

#datos-page .datos-player-wh-context-card-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  gap: 4px;
  text-align: center;
}

#datos-page .datos-player-wh-context-comp-icon,
#datos-page .datos-player-wh-context-comp-fallback {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

#datos-page .datos-player-wh-context-comp-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: white;
  font-weight: 950;
}

#datos-page .datos-player-wh-context-card-title {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: white;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#datos-page .datos-player-wh-context-card-sub {
  min-width: 0;
  max-width: 100%;
  margin-top: 0;
  overflow: hidden;
  color: rgba(255,255,255,.62);
  font-size: 8px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#datos-page .datos-player-wh-context-team {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  padding: 7px 8px;
  border-top: 1px solid rgba(255,255,255,.09);
  border-bottom: 1px solid rgba(255,255,255,.09);
  color: rgba(255,255,255,.88);
  font-size: 12px;
  font-weight: 900;
  text-align: left;
}

#datos-page .datos-player-wh-context-team-name {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#datos-page .datos-player-wh-context-team-icon,
#datos-page .datos-player-wh-context-team-fallback {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

#datos-page .datos-player-wh-context-team-icon {
  object-fit: contain;
  border-radius: 999px;
}

#datos-page .datos-player-wh-context-team-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: white;
  font-size: 10px;
  font-weight: 950;
}

#datos-page .datos-player-wh-context-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
}

#datos-page .datos-player-wh-context-stat {
  min-height: 30px;
  padding: 4px 3px;
  border-radius: 6px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.09);
  text-align: center;
}

#datos-page .datos-player-wh-context-stat strong {
  display: block;
  color: white;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
}

#datos-page .datos-player-wh-context-stat span {
  display: block;
  margin-top: 2px;
  color: rgba(255,255,255,.62);
  font-size: 7px;
  font-weight: 850;
  line-height: 1.05;
}

#datos-page .datos-player-wh-context-stat.is-pct strong {
  color: #ffdb45;
}

#datos-page .datos-player-wh-context-stat.is-pct.is-high {
  background: rgba(45,211,122,.14);
  border-color: rgba(45,211,122,.30);
}

#datos-page .datos-player-wh-context-stat.is-pct.is-high strong {
  color: #35df82;
}

#datos-page .datos-player-wh-context-stat.is-pct.is-mid {
  background: rgba(255,219,69,.14);
  border-color: rgba(255,219,69,.30);
}

#datos-page .datos-player-wh-context-stat.is-pct.is-mid strong {
  color: #ffdb45;
}

#datos-page .datos-player-wh-context-stat.is-pct.is-low {
  background: rgba(255,103,111,.13);
  border-color: rgba(255,103,111,.28);
}

#datos-page .datos-player-wh-context-stat.is-pct.is-low strong {
  color: #ff676f;
}

#datos-page .datos-player-wh-ranks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#datos-page .datos-player-context-donut {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 228px;
}

#datos-page .datos-player-context-donut-chart {
  position: relative;
  width: 154px;
  height: 154px;
  justify-self: center;
  border-radius: 999px;
  background: var(--datos-player-context-donut, conic-gradient(#34d978 0 100%));
  box-shadow:
    0 18px 38px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.20);
}

#datos-page .datos-player-context-donut-chart::before {
  content: "";
  position: absolute;
  inset: 21px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 40% 28%, rgba(255,255,255,.08), transparent 34%),
    linear-gradient(180deg, rgba(8,17,16,.98), rgba(3,8,8,.99));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 0 24px rgba(0,0,0,.34);
}

#datos-page .datos-player-context-donut-center {
  position: absolute;
  inset: 32px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: white;
  text-align: center;
}

#datos-page .datos-player-context-donut-center-main {
  font-size: 25px;
  font-weight: 950;
  line-height: 1;
}

#datos-page .datos-player-context-donut-center-sub {
  margin-top: 5px;
  color: rgba(255,255,255,.58);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

#datos-page .datos-player-context-donut-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

#datos-page .datos-player-context-donut-row {
  display: grid;
  grid-template-columns: 10px 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  background: rgba(255,255,255,.045);
}

#datos-page .datos-player-context-donut-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(255,255,255,.06);
}

#datos-page .datos-player-context-donut-icon,
#datos-page .datos-player-context-donut-icon-fallback {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

#datos-page .datos-player-context-donut-icon-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: rgba(255,255,255,.08);
  color: white;
  font-size: 10px;
  font-weight: 950;
}

#datos-page .datos-player-context-donut-copy {
  min-width: 0;
}

#datos-page .datos-player-context-donut-name {
  min-width: 0;
  overflow: hidden;
  color: rgba(255,255,255,.92);
  font-size: 12px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#datos-page .datos-player-context-donut-sub {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  margin-top: 4px;
  color: rgba(255,255,255,.58);
  font-size: 10px;
  font-weight: 850;
}

#datos-page .datos-player-context-donut-sub span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#datos-page .datos-player-context-donut-team-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 999px;
}

#datos-page .datos-player-context-donut-value {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

#datos-page .datos-player-context-donut-value strong {
  color: #35df82;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
}

#datos-page .datos-player-context-donut-value span {
  color: rgba(255,255,255,.56);
  font-size: 9px;
  font-weight: 850;
  white-space: nowrap;
}

#datos-page .datos-player-context-multi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  align-items: stretch;
  gap: 10px;
  min-height: 0;
}

#datos-page .datos-player-context-mini-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: center;
  gap: 8px 10px;
  min-height: 118px;
  height: 100%;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 11px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255,255,255,.07), transparent 42%),
    rgba(0,0,0,.18);
}

#datos-page .datos-player-context-mini-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

#datos-page .datos-player-context-mini-title {
  min-width: 0;
  overflow: hidden;
  color: rgba(255,255,255,.90);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#datos-page .datos-player-context-mini-pager {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
}

#datos-page .datos-player-context-mini-pager-input {
  position: absolute;
  width: 0;
  height: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  appearance: none;
}

#datos-page .datos-player-context-mini-pager-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 6px;
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.60);
  font-size: 9px;
  font-weight: 950;
  line-height: 18px;
  text-align: center;
  cursor: pointer;
}

#datos-page .datos-player-context-mini-pager-label input {
  position: absolute;
  width: 0;
  height: 0;
  margin: 0;
}

#datos-page .datos-player-context-mini-pager-label:has(input:checked) {
  color: #35df82;
  border-color: rgba(45,211,122,.34);
  background: rgba(45,211,122,.14);
}

#datos-page .datos-player-context-mini-chart {
  position: relative;
  width: 68px;
  height: 68px;
  justify-self: center;
  border-radius: 999px;
  background: var(--datos-player-context-donut, conic-gradient(#34d978 0 100%));
  box-shadow: 0 12px 24px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.18);
}

#datos-page .datos-player-context-mini-chart::before {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(8,17,16,.98), rgba(3,8,8,.99));
  border: 1px solid rgba(255,255,255,.10);
}

#datos-page .datos-player-context-mini-center {
  position: absolute;
  inset: 15px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#datos-page .datos-player-context-mini-total {
  max-width: 42px;
  overflow: hidden;
  color: white;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#datos-page .datos-player-context-mini-unit {
  margin-top: 3px;
  color: rgba(255,255,255,.55);
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

#datos-page .datos-player-context-mini-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  align-self: stretch;
  justify-content: flex-start;
}

#datos-page .datos-player-context-mini-pages {
  min-width: 0;
}

#datos-page .datos-player-context-mini-row {
  display: grid;
  grid-template-columns: 7px 18px 18px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  min-width: 0;
  min-height: 23px;
  padding: 3px 5px;
  border-radius: 7px;
  background: rgba(255,255,255,.045);
}

#datos-page .datos-player-context-mini-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

#datos-page .datos-player-context-mini-img,
#datos-page .datos-player-context-mini-fallback {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

#datos-page .datos-player-context-mini-img.is-team,
#datos-page .datos-player-context-mini-fallback.is-team {
  border-radius: 999px;
}

#datos-page .datos-player-context-mini-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  color: white;
  font-size: 8px;
  font-weight: 950;
}

#datos-page .datos-player-context-mini-value {
  min-width: 0;
  overflow: hidden;
  color: rgba(255,255,255,.88);
  font-size: 10px;
  font-weight: 950;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#datos-page .datos-player-rankings-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#datos-page .datos-player-ranking-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) minmax(78px, auto);
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 9px 10px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.052), rgba(0,0,0,.18)),
    rgba(0,0,0,.18);
}

#datos-page .datos-player-ranking-row.is-goals {
  border-color: rgba(45,211,122,.26);
}

#datos-page .datos-player-ranking-row.is-g90,
#datos-page .datos-player-ranking-row.is-usage {
  border-color: rgba(227,188,49,.26);
}

#datos-page .datos-player-ranking-row.is-discipline {
  border-color: rgba(255,103,111,.26);
}

#datos-page .datos-player-ranking-pos {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  min-width: 48px;
  height: 38px;
  padding: 0 7px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
}

#datos-page .datos-player-ranking-pos.is-goals {
  background: rgba(45,211,122,.16);
  border-color: rgba(45,211,122,.34);
}

#datos-page .datos-player-ranking-pos.is-g90,
#datos-page .datos-player-ranking-pos.is-usage {
  background: rgba(227,188,49,.16);
  border-color: rgba(227,188,49,.34);
}

#datos-page .datos-player-ranking-pos.is-discipline {
  background: rgba(255,103,111,.15);
  border-color: rgba(255,103,111,.32);
}

#datos-page .datos-player-ranking-pos-main {
  color: white;
  font-size: 17px;
  font-weight: 950;
  line-height: 1;
}

#datos-page .datos-player-ranking-pos-total {
  margin-left: 2px;
  color: rgba(255,255,255,.58);
  font-size: 10px;
  font-weight: 900;
}

#datos-page .datos-player-ranking-main {
  min-width: 0;
}

#datos-page .datos-player-ranking-label {
  min-width: 0;
  overflow: hidden;
  color: rgba(255,255,255,.92);
  font-size: 12px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#datos-page .datos-player-ranking-context-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin-top: 5px;
}

#datos-page .datos-player-ranking-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  object-fit: contain;
}

#datos-page .datos-player-ranking-context {
  min-width: 0;
  overflow: hidden;
  color: rgba(255,255,255,.58);
  font-size: 10px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#datos-page .datos-player-ranking-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  min-width: 0;
}

#datos-page .datos-player-ranking-value {
  color: white;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
}

#datos-page .datos-player-ranking-aux {
  max-width: 110px;
  overflow: hidden;
  color: rgba(255,255,255,.52);
  font-size: 9px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#datos-page .datos-player-ranking-percentile {
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
}

#datos-page .datos-player-ranking-percentile.is-goals {
  background: rgba(45,211,122,.16);
  color: #35df82;
}

#datos-page .datos-player-ranking-percentile.is-g90,
#datos-page .datos-player-ranking-percentile.is-usage {
  background: rgba(227,188,49,.16);
  color: #e0bf38;
}

#datos-page .datos-player-ranking-percentile.is-discipline {
  background: rgba(255,103,111,.15);
  color: #ff676f;
}

#datos-page .datos-player-wh-rank-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 9px;
  background: rgba(0,0,0,.20);
}

#datos-page .datos-player-wh-rank {
  color: #e0bf38;
  font-size: 13px;
  font-weight: 950;
}

#datos-page .datos-player-wh-rank-label {
  min-width: 0;
  overflow: hidden;
  color: rgba(255,255,255,.86);
  font-size: 11px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#datos-page .datos-player-wh-rank-value {
  color: rgba(255,255,255,.92);
  font-size: 12px;
  font-weight: 950;
  text-align: right;
}

#datos-page .datos-player-wh-empty {
  padding: 14px;
  border: 1px dashed rgba(255,255,255,.16);
  border-radius: 10px;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 800;
}

#datos-page .datos-player-wh-timeline {
  display: grid;
  grid-auto-columns: minmax(132px, 148px);
  grid-auto-flow: column;
  gap: 9px;
  margin-bottom: 12px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
}

#datos-page .datos-player-wh-tl-link {
  color: inherit;
  text-decoration: none;
}

#datos-page .datos-player-wh-tl-node {
  min-height: 142px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9px;
  background:
    radial-gradient(circle at 70% 8%, rgba(255,255,255,.08), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.055), rgba(0,0,0,.26));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

#datos-page .datos-player-wh-tl-node.is-start {
  border-color: rgba(45,211,122,.44);
}

#datos-page .datos-player-wh-tl-node.is-sub {
  border-color: rgba(227,188,49,.46);
}

#datos-page .datos-player-wh-tl-node.is-red {
  border-color: rgba(255,82,113,.54);
}

#datos-page .datos-player-wh-tl-node:hover {
  transform: translateY(-1px);
  border-color: var(--datos-player-wh-accent, rgba(255,255,255,.35));
}

#datos-page .datos-player-wh-tl-main {
  display: flex;
  align-items: stretch;
  gap: 7px;
  min-height: 98px;
}

#datos-page .datos-player-wh-tl-min-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  flex: 0 0 18px;
  border-radius: 5px;
  background: rgba(0,0,0,.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

#datos-page .datos-player-wh-tl-min-rail {
  position: relative;
  width: 5px;
  height: 78px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
}

#datos-page .datos-player-wh-tl-min-fill {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 2px;
  border-radius: inherit;
  background: linear-gradient(180deg, #e0bf38 0%, #35df82 100%);
}

#datos-page .datos-player-wh-tl-main-copy {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

#datos-page .datos-player-wh-tl-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  min-width: 0;
}

#datos-page .datos-player-wh-tl-min,
#datos-page .datos-player-wh-tl-result,
#datos-page .datos-player-wh-tl-date,
#datos-page .datos-player-wh-tl-round {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

#datos-page .datos-player-wh-tl-min {
  padding: 0 5px;
  background: rgba(0,0,0,.50);
  color: rgba(255,255,255,.88);
}

#datos-page .datos-player-wh-tl-result {
  max-width: 42px;
  padding: 0 5px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.72);
  text-overflow: ellipsis;
}

#datos-page .datos-player-wh-tl-media {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 22px;
}

#datos-page .datos-player-wh-tl-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 5px;
  background: rgba(255,255,255,.07);
  object-fit: contain;
  box-shadow: 0 4px 10px rgba(0,0,0,.22);
}

#datos-page .datos-player-wh-tl-icon.is-side {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

#datos-page .datos-player-wh-tl-icon.is-rival {
  border-radius: 999px;
  background: transparent;
  object-fit: contain;
}

#datos-page .datos-player-wh-tl-rival {
  overflow: hidden;
  color: rgba(255,255,255,.86);
  font-size: 9.5px;
  font-weight: 900;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#datos-page .datos-player-wh-tl-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 18px;
}

#datos-page .datos-player-wh-tl-badges.is-empty {
  display: none;
}

#datos-page .datos-player-wh-tl-badge {
  min-width: 21px;
  padding: 3px 5px 2px;
  border-radius: 4px;
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.82);
  font-size: 9px;
  font-weight: 950;
  text-align: center;
}

#datos-page .datos-player-wh-tl-badge.is-goal {
  background: rgba(45,211,122,.20);
  color: #35df82;
}

#datos-page .datos-player-wh-tl-badge.is-card {
  background: rgba(227,188,49,.20);
  color: #e0bf38;
}

#datos-page .datos-player-wh-tl-badge.is-red {
  background: rgba(255,82,113,.20);
  color: #ff6682;
}

#datos-page .datos-player-wh-tl-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  margin-top: 7px;
}

#datos-page .datos-player-wh-tl-date {
  min-width: 0;
  padding: 0 5px;
  overflow: hidden;
  background: rgba(0,0,0,.42);
  color: rgba(255,255,255,.70);
  text-overflow: ellipsis;
}

#datos-page .datos-player-wh-tl-round {
  padding: 0 6px;
  background: rgba(255,255,255,.09);
  color: rgba(255,255,255,.90);
}

/* Timeline jugador: versión compacta tipo Temporada > Timeline de partidos. */
#datos-page .datos-player-wh-timeline {
  width: 100%;
  min-width: 0;
  min-height: 206px;
  display: block;
  grid-auto-columns: initial;
  grid-auto-flow: initial;
  gap: 0;
  margin-bottom: 14px;
  padding: 16px 18px 18px;
  border-radius: 16px;
  color: white;
  background:
    radial-gradient(circle at 3% 0%, var(--datos-player-wh-soft, rgba(255,255,255,.055)), transparent 34%),
    linear-gradient(180deg, rgba(9,18,18,.94), rgba(3,8,8,.98));
  border: 1px solid color-mix(in srgb, var(--datos-player-wh-accent, rgba(255,255,255,.35)) 22%, rgba(255,255,255,.10));
  box-shadow:
    0 16px 34px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.06);
  box-sizing: border-box;
  overflow: visible;
}

#datos-page .datos-player-wh-timeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

#datos-page .datos-player-wh-timeline-title {
  font-size: 15px;
  line-height: 1.05;
  font-weight: 950;
  color: rgba(255,255,255,.96);
}

#datos-page .datos-player-wh-timeline-count {
  flex: 0 0 auto;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  font-weight: 950;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
}

#datos-page .datos-player-wh-timeline-track {
  width: 100%;
  display: flex;
  align-items: end;
  gap: 26px;
  min-width: 0;
  margin-top: 18px;
  padding: 0 54px 8px 4px;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.18) rgba(255,255,255,.04);
}

#datos-page .datos-player-wh-timeline-track::-webkit-scrollbar {
  height: 8px;
}

#datos-page .datos-player-wh-timeline-track::-webkit-scrollbar-track {
  background: rgba(255,255,255,.04);
  border-radius: 999px;
}

#datos-page .datos-player-wh-timeline-track::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.18);
  border-radius: 999px;
}

#datos-page .datos-player-wh-tl-link {
  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
  overflow: visible;
}

#datos-page .datos-player-wh-tl-node {
  position: relative;
  flex: 0 0 82px;
  min-width: 82px;
  min-height: 158px;
  padding: 3px 6px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  display: grid;
  grid-template-rows: 56px 42px 27px 23px 22px;
  justify-items: center;
  align-items: center;
  gap: 4px;
}

#datos-page .datos-player-wh-tl-node:hover {
  transform: translateY(-1px);
}

#datos-page .datos-player-wh-tl-bar-cell {
  position: relative;
  width: 100%;
  height: 56px;
  display: flex;
  align-items: end;
  justify-content: center;
  overflow: visible;
}

#datos-page .datos-player-wh-tl-bar {
  width: 24px;
  min-height: 5px;
  border-radius: 8px 8px 3px 3px;
  background: rgba(255,255,255,.18);
  box-shadow:
    0 0 14px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.26);
}

#datos-page .datos-player-wh-tl-bar.is-win,
#datos-page .datos-player-wh-tl-bar.is-start {
  background: linear-gradient(180deg, #31ed82, #0f8f4b);
}

#datos-page .datos-player-wh-tl-bar.is-draw,
#datos-page .datos-player-wh-tl-bar.is-sub {
  background: linear-gradient(180deg, #ffe75b, #c99814);
}

#datos-page .datos-player-wh-tl-bar.is-loss {
  background: linear-gradient(180deg, #ff7b83, #b91c1c);
}

#datos-page .datos-player-wh-tl-bar.is-none {
  background: rgba(255,255,255,.12);
  box-shadow: none;
}

#datos-page .datos-player-wh-tl-bar.is-red {
  background: linear-gradient(180deg, #ff7b83, #b91c1c);
}

#datos-page .datos-player-wh-tl-logo-cell {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#datos-page .datos-player-wh-tl-logo-cell .datos-team-season-timeline-logo {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  object-fit: contain;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow:
    0 7px 14px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.12);
}

#datos-page .datos-player-wh-tl-score {
  min-width: 45px;
  max-width: 60px;
  padding: 5px 7px;
  border-radius: 8px;
  text-align: center;
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
  color: white;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.08);
}

#datos-page .datos-player-wh-tl-score.is-win {
  background: rgba(31,195,100,.18);
  border-color: rgba(49,237,130,.36);
  color: #67ffad;
}

#datos-page .datos-player-wh-tl-score.is-draw {
  background: rgba(255,218,68,.16);
  border-color: rgba(255,231,91,.34);
  color: #ffe75b;
}

#datos-page .datos-player-wh-tl-score.is-loss {
  background: rgba(255,76,86,.14);
  border-color: rgba(255,76,86,.30);
  color: #ff7b83;
}

#datos-page .datos-player-wh-tl-icons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

#datos-page .datos-player-wh-tl-competition,
#datos-page .datos-player-wh-tl-venue {
  width: 21px;
  height: 21px;
  object-fit: contain;
  opacity: .86;
}

#datos-page .datos-player-wh-tl-competition {
  border-radius: 5px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
}

#datos-page .datos-player-wh-tl-badges {
  position: absolute;
  left: calc(50% + 18px);
  bottom: 0;
  z-index: 5;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
  min-height: 0;
  max-width: none;
  overflow: visible;
  pointer-events: none;
}

#datos-page .datos-player-wh-tl-mini,
#datos-page .datos-player-wh-tl-badge {
  min-width: 0;
  padding: 4px 5px 3px;
  border-radius: 7px;
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.82);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

#datos-page .datos-player-wh-tl-mini.is-min {
  background: rgba(255,255,255,.075);
}

#datos-page .datos-player-wh-tl-mini.is-empty {
  color: rgba(255,255,255,.42);
  background: transparent;
}

#datos-page .datos-player-wh-tl-badge.is-goal {
  background: rgba(45,211,122,.20);
  color: #35df82;
}

#datos-page .datos-player-wh-tl-badge.is-card {
  background: rgba(227,188,49,.20);
  color: #e0bf38;
}

#datos-page .datos-player-wh-tl-badge.is-red {
  background: rgba(255,82,113,.20);
  color: #ff6682;
}

#datos-page .datos-player-wh-tl-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  margin-top: 0;
}

#datos-page .datos-player-wh-tl-date,
#datos-page .datos-player-wh-tl-round {
  min-height: 18px;
  padding: 1px 5px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
  background: rgba(0,0,0,.34);
  color: rgba(255,255,255,.70);
}

#datos-page .datos-player-wh-tl-round {
  color: white;
  background: rgba(255,255,255,.085);
}

#datos-page .datos-player-wh-tl-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 20;
  width: 170px;
  padding: 8px 9px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(8,12,12,.96);
  box-shadow: 0 14px 30px rgba(0,0,0,.34);
  opacity: 0;
  transform: translate(-50%, 4px);
  pointer-events: none;
  transition: opacity .14s ease, transform .14s ease;
}

#datos-page .datos-player-wh-tl-node:hover .datos-player-wh-tl-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

#datos-page .datos-player-wh-tl-rival {
  color: rgba(255,255,255,.94);
  font-size: 10px;
  font-weight: 950;
  line-height: 1.15;
  white-space: normal;
}

#datos-page .datos-player-wh-tl-tooltip-sub {
  margin-top: 4px;
  color: rgba(255,255,255,.55);
  font-size: 9px;
  font-weight: 800;
}

#datos-page .datos-player-wh-ag-grid .ag-root-wrapper {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(4,9,8,.76);
}

#datos-page .datos-player-wh-matches-ag-grid .ag-paging-page-size {
  display: none !important;
}

#datos-page .datos-player-wh-ag-grid .datos-media-cell {
  width: 100%;
  min-width: 0;
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
}

#datos-page .datos-player-wh-ag-grid .datos-media-cell-img,
#datos-page .datos-player-wh-ag-grid .datos-media-cell-fallback {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border-radius: 7px;
  object-fit: contain;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    0 5px 12px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.08);
}

#datos-page .datos-player-wh-ag-grid .datos-media-cell-img.is-round,
#datos-page .datos-player-wh-ag-grid .datos-media-cell-fallback.is-round {
  border-radius: 999px;
  object-fit: cover;
}

#datos-page .datos-player-wh-ag-grid .datos-media-cell-img.is-secondary {
  background: rgba(255,255,255,.10);
}

#datos-page .datos-player-wh-ag-grid .datos-media-cell-img.is-plain {
  width: 23px;
  height: 23px;
  flex-basis: 23px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

#datos-page .datos-player-wh-ag-grid .datos-media-cell-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.72);
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
  background:
    radial-gradient(circle at 35% 20%, rgba(255,255,255,.16), transparent 36%),
    linear-gradient(145deg, rgba(80,83,72,.90), rgba(35,40,36,.90));
}

#datos-page .datos-player-wh-ag-grid .datos-media-cell-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255,255,255,.86);
}

@media (max-width: 1180px) {
  #datos-page .datos-player-wh-hero-grid {
    grid-template-columns: 1fr;
  }

  #datos-page .datos-player-wh-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #datos-page .datos-player-wh-summary-col .datos-player-wh-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  #datos-page .datos-player-wh-two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  #datos-page .datos-player-wh-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #datos-page .datos-player-wh-summary-col .datos-player-wh-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #datos-page .datos-player-wh-head {
    align-items: flex-start;
    flex-direction: column;
  }

  #datos-page .datos-player-wh-main-context {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  #datos-page .datos-player-wh-main-shield-wrap {
    width: 58px;
    height: 58px;
  }

  #datos-page .datos-player-wh-main-shield {
    width: 44px;
    height: 44px;
  }

  #datos-page .datos-player-wh-context-top {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  #datos-page .datos-player-wh-context-mode {
    justify-self: start;
  }

  #datos-page .datos-player-wh-context-cards {
    grid-template-columns: 1fr;
  }

  #datos-page .datos-player-wh-context-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #datos-page .datos-player-context-donut,
  #datos-page .datos-player-pos-body {
    grid-template-columns: 1fr;
  }

  #datos-page .datos-player-context-multi {
    grid-template-columns: 1fr;
  }

  #datos-page .datos-player-pos-legend {
    max-width: none;
  }
}
