/* partido.css — estilos del detalle de un partido. Los usan /partido/<id>
   y Resultados (etiquetas de equipo y el boton). Se movieron desde
   resultados.html el 29/09/2026. */

.rdf-cambio-in .gdt-ico, .rdf-cambio-out .gdt-ico { width: 9px; height: 9px; margin-right: 2px; vertical-align: -1px; }

/* ── Etiqueta de equipo (Remontada, Se les escapó, ...) ── */
.res-team-tag {
  display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 9px;
  font-size: 9px; font-weight: 600; letter-spacing: .02em; text-transform: none;
  color: #bae6fd; background: rgba(56,189,248,.12); border: 0.5px solid rgba(56,189,248,.32);
  vertical-align: middle;
}

/* ── Detalles del partido (mapita + eventos + stats) ── */
.res-det-actions { padding: 6px 16px 16px; }
.res-det-btn {
  background: rgba(139,183,217,.08); border: 0.5px solid rgba(139,183,217,.3);
  border-radius: 7px;
  color: #a8cfeb; font-size: 12px; font-weight: 600; letter-spacing: .03em;
  padding: 9px 16px; cursor: pointer; transition: background .15s, border-color .15s;
}
.res-det-btn:hover { background: rgba(139,183,217,.16); border-color: rgba(139,183,217,.5); }
.res-det-full { padding: 4px 14px 18px; border-top: 0.5px solid #1a1a1a; }
.rdf-title {
  font-size: 13px; font-weight: 700; color: #e6e6e6; letter-spacing: .04em;
  text-transform: uppercase; margin: 26px 0 11px;
  padding-left: 9px; border-left: 3px solid #3d6b8c; line-height: 1.3;
}
.rdf-pitch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rdf-pitch-name { font-size: 12.5px; font-weight: 700; color: #ccc; letter-spacing: .03em; margin-bottom: 8px; }
.rdf-pitch {
  position: relative; width: 100%; padding-top: 148%;
  background: linear-gradient(180deg,#0e2417,#091a10);
  border: 0.5px solid #234; border-radius: 8px; overflow: hidden;
}
.rdf-pitch-line { position: absolute; left: 0; right: 0; top: 50%; border-top: 0.5px solid rgba(255,255,255,.10); }
.rdf-pitch-circ {
  position: absolute; left: 50%; top: 50%; width: 20%; padding-top: 20%;
  transform: translate(-50%,-50%); border: 0.5px solid rgba(255,255,255,.10); border-radius: 50%;
}
.rdf-dot {
  position: absolute; transform: translate(-50%,-50%);
  display: flex; flex-direction: column; align-items: center; gap: 2px; width: 66px;
}
.rdf-dot-circ {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid;
  background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700;
}
.rdf-dot-name {
  font-size: 8.5px; font-weight: 700; color: #fff; background: rgba(0,0,0,.72);
  padding: 1px 4px; border-radius: 2px; max-width: 66px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.rdf-dot-rend { font-size: 9px; font-weight: 700; background: rgba(0,0,0,.72); padding: 0 4px; border-radius: 2px; }
.rdf-bench { margin-top: 8px; }
.rdf-bench-lbl { font-size: 9px; font-weight: 600; color: #555; letter-spacing: .08em; margin-bottom: 5px; }
.rdf-bench-row { display: flex; flex-wrap: wrap; gap: 8px; background: rgba(255,255,255,.02); border: 0.5px solid #1c1c1c; border-radius: 6px; padding: 7px; }
.rdf-bench-item { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 62px; }
/* Estas tablas miden ~2000px: siempre necesitaron deslizarse al costado,
   pero nada lo insinuaba. El degradado de la derecha avisa que sigue. */
.rdf-scroll {
  overflow-x: auto;
  position: relative;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent 100%);
}
.rdf-scroll::-webkit-scrollbar { height: 7px; }
.rdf-scroll::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
.rdf-scroll::-webkit-scrollbar-track { background: transparent; }
.rdf-scroll-hint {
  font-size: 10px; color: #5f5f5f; margin: -2px 0 7px;
}
.rdf-tbl { width: 100%; border-collapse: collapse; font-size: 11.5px; white-space: nowrap; }
.rdf-tbl th { color: #5a5a5a; text-align: left; font-weight: 600; padding: 4px 6px; letter-spacing: .03em; }
.rdf-tbl td { padding: 3px 6px; border-top: 0.5px solid rgba(255,255,255,.05); }
.rdf-tbl td.n { text-align: right; }
.rdf-tbl .z { color: #333; }
.rdf-ev-goal { color: #43a047; font-weight: 700; }
.rdf-ev-og   { color: #ef7d3c; font-weight: 700; }
.rdf-ev-card { color: #e0a422; font-weight: 700; }
.rdf-sticky { position: sticky; left: 0; background: #0d0d0d; font-weight: 700; }
.rdf-ev-save { color: #f59e0b; font-weight: 700; }
.rdf-ev-miss { color: #8891a0; font-weight: 700; }
.rdf-nota { font-size: 10px; color: #6a6a6a; margin: 6px 0 12px; line-height: 1.6; }
.rdf-leyenda { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 10px; color: #8891a0; margin-bottom: 6px; align-items: center; }
.rdf-leyenda span { display: inline-flex; align-items: center; gap: 4px; }
.rdf-leyenda i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.rdf-leyenda b { width: 8px; height: 11px; border-radius: 1px; display: inline-block; }
.rdf-tiros-res { font-size: 10px; color: #8891a0; margin: 0 0 8px; line-height: 1.7; }
.rdf-seg { display: inline-flex; border: .5px solid #2a2a2a; border-radius: 8px; overflow: hidden; }
.rdf-seg-btn { background: #141414; color: #8891a0; border: 0; border-right: .5px solid #2a2a2a; font-size: 11px; font-weight: 600; padding: 6px 11px; cursor: pointer; }
.rdf-seg-btn:last-child { border-right: 0; }
.rdf-seg-btn b { color: var(--c, #bfe0f5); margin-left: 3px; }
.rdf-seg-btn.on { background: #1f2a36; color: #fff; box-shadow: inset 0 -2px 0 var(--c, #bfe0f5); }
.rdf-seg-btn:hover { background: #1b1b1b; }
/* Cambios */
.rdf-cambio { display: flex; gap: 8px; align-items: baseline; font-size: 11px; padding: 3px 0; border-top: 0.5px solid rgba(255,255,255,.05); flex-wrap: wrap; }
.rdf-cambio-min { color: #777; font-weight: 700; min-width: 74px; }
.rdf-cambio-in { color: #43a047; font-weight: 600; }
.rdf-cambio-out { color: #ef5350; font-weight: 600; }
.rdf-cambio-pos { color: #666; font-size: 9px; letter-spacing: .06em; }
.rdf-cambio-vacio { font-size: 11px; color: #555; }
/* Comparativa */
.rdf-cmp { max-width: 520px; }
.rdf-cmp-head { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; margin-bottom: 8px; }
.rdf-cmp-row { margin-bottom: 9px; }
.rdf-cmp-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 700; }
.rdf-cmp-top b { color: #ddd; min-width: 60px; }
.rdf-cmp-top b:last-child { text-align: right; }
.rdf-cmp-top small { color: #777; font-weight: 400; font-size: 9px; }
.rdf-cmp-top span { color: #8f8f8f; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.rdf-cmp-bar { display: flex; height: 4px; gap: 2px; margin-top: 3px; }
.rdf-cmp-bar i { display: block; border-radius: 2px; }
.rdf-cmp-half { display: flex; justify-content: space-between; font-size: 9px; color: #666; margin-top: 2px; }

@media (max-width: 480px) {
  .rdf-pitch-grid { grid-template-columns: 1fr !important; }
}

/* ═══════════════════════════════════════════════════════════════════
   PÁGINA DEL PARTIDO (/partido/<id>)
   Todo lo de abajo cuelga de .pt: no toca Resultados.
   ═══════════════════════════════════════════════════════════════════ */
.pt { max-width: 1180px; margin: 0 auto; padding: 1.1rem 1rem 3.5rem; }
.pt-volver {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600;
  color: #9a9a9a; text-decoration: none; padding: 6px 2px; margin-bottom: .6rem;
}
.pt-volver:hover { color: #fff; }

/* ── Cabecera: el marcador ── */
.pt-hero {
  background: radial-gradient(120% 140% at 50% 0%, #1b1f27 0%, #111318 55%, #0c0d10 100%);
  border: .5px solid #262a31; border-radius: 16px; padding: 22px 20px 20px; margin-bottom: 14px;
}
.pt-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; margin-bottom: 18px;
  font-size: 12px; font-weight: 600; color: #8a8f99; letter-spacing: .03em;
}
.pt-chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px;
  background: rgba(255,255,255,.05); border: .5px solid rgba(255,255,255,.1); color: #c9ced8;
}
.pt-chip.abierta { background: rgba(0,224,90,.12); border-color: rgba(0,224,90,.35); color: #5fe89a; }
.pt-marcador { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.pt-eq { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; text-align: center; }
.pt-escudo { width: 104px; height: 104px; object-fit: contain; filter: drop-shadow(0 6px 16px rgba(0,0,0,.6)); }
.pt-escudo-ph {
  width: 104px; height: 104px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  font-size: 22px; font-weight: 800; color: rgba(255,255,255,.35);
}
.pt-eq-nom { font-size: 21px; font-weight: 800; color: #cfd3da; line-height: 1.2; overflow-wrap: anywhere; }
.pt-eq.gana .pt-eq-nom { color: #fff; }
.pt-eq-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; min-height: 18px; }
.pt-eq-tags .res-team-tag { margin-left: 0; }
.pt-score { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pt-score-nums { display: flex; align-items: center; gap: 14px; font-variant-numeric: tabular-nums; }
.pt-score-n { font-size: 68px; font-weight: 800; line-height: .95; color: #6d7280; min-width: 50px; text-align: center; }
.pt-score-n.gana { color: #fff; }
.pt-score.empate .pt-score-n { color: #e3e6eb; }
.pt-score-sep { font-size: 34px; color: #3a3f48; font-weight: 300; }
.pt-score-lbl { font-size: 11px; font-weight: 800; letter-spacing: .18em; color: #6d7280; text-transform: uppercase; }
.pt-figura {
  display: flex; justify-content: center; margin-top: 18px;
}
.pt-figura-in {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 99px;
  background: rgba(255,194,52,.08); border: .5px solid rgba(255,194,52,.3); font-size: 13px; color: #e9d9a6;
  text-decoration: none;
}
.pt-figura-in:hover { background: rgba(255,194,52,.14); }
.pt-figura-ico { color: #ffc234; display: inline-flex; }
.pt-figura b { color: #fff; }
.pt-figura .pt-figura-rend { font-weight: 800; color: #ffc234; }

/* ── Pestañas ── */
.pt-tabs {
  /* se pega DEBAJO de la barra del sitio, que también es fija */
  position: sticky; top: var(--gdt-nav-h, 60px); z-index: 20; display: flex; gap: 4px; overflow-x: auto;
  background: rgba(7,9,12,.92); backdrop-filter: blur(8px);
  border-bottom: .5px solid #262a31; margin: 0 -1rem 18px; padding: 8px 1rem 0;
  scrollbar-width: none;
}
.pt-tabs::-webkit-scrollbar { display: none; }
.pt-tab {
  flex-shrink: 0; background: none; border: 0; border-bottom: 2px solid transparent;
  color: #8a8f99; font-size: 14px; font-weight: 700; padding: 10px 14px 11px; cursor: pointer;
  transition: color .15s, border-color .15s;
}
.pt-tab:hover { color: #d6d9df; }
.pt-tab.on { color: #fff; border-bottom-color: #4ea1ff; }
.pt-tab .n { font-size: 11px; font-weight: 700; color: #6d7280; margin-left: 4px; }
.pt-panel[hidden] { display: none; }

/* ── Tarjetas de contenido ── */
.pt-caja {
  background: #101216; border: .5px solid #22262d; border-radius: 14px; padding: 18px 20px 20px;
}
.pt-caja + .pt-caja { margin-top: 14px; }
.pt-caja-tit {
  font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #9aa0ab;
  margin: 0 0 14px;
}
.pt-resumen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.pt-cargando, .pt-error { text-align: center; padding: 4rem 1rem; color: #8a8f99; font-size: 15px; }
.pt-error b { display: block; color: #fff; font-size: 18px; margin-bottom: 6px; }

/* ── Los bloques del detalle, a tamaño de página ── */
.pt .rdf-title {
  font-size: 13px; font-weight: 800; letter-spacing: .08em; color: #9aa0ab; border-left: 0;
  padding-left: 0; margin: 26px 0 12px;
}
.pt .pt-caja > .rdf-title:first-child, .pt .pt-caja > div:first-child > .rdf-title:first-child { margin-top: 0; }
.pt .rdf-nota { font-size: 12px; color: #7a808a; line-height: 1.6; margin: 10px 0 0; }

/* Modos de formación */
.pt .rdf-modos { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pt .rdf-modo-btn, .pt .rdf-grupo-btn {
  background: #16191e; border: .5px solid #2b3038; border-radius: 99px; color: #aab0ba;
  font-size: 13px; font-weight: 700; padding: 7px 14px; cursor: pointer;
}
.pt .rdf-modo-btn:hover, .pt .rdf-grupo-btn:hover { border-color: #3d6b8c; color: #fff; }
.pt .rdf-modo-btn.on, .pt .rdf-grupo-btn.on { background: #1d2a38; border-color: #4ea1ff; color: #fff; }
.pt .rdf-sel {
  background: #16191e; border: .5px solid #2b3038; border-radius: 7px; color: #d6e8f5;
  font-size: 13px; padding: 5px 8px; cursor: pointer; margin-left: 6px;
}

/* Canchas: dos, lado a lado, sin que se vuelvan eternas */
.pt .rdf-pitch-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
.pt .rdf-pitch-grid > div { width: 100%; max-width: 470px; margin: 0 auto; }
.pt .rdf-pitch-name { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 10px; text-align: center; }
.pt .rdf-pitch-name .res-team-tag { margin-left: 6px; }
.pt .rdf-pitch { border-radius: 12px; }
.pt .rdf-dot { width: 86px; gap: 3px; }
.pt .rdf-dot-circ { width: 40px !important; height: 40px !important; font-size: 11px; border-width: 2.5px; }
.pt .rdf-dot-name { font-size: 11px; max-width: 86px; padding: 1px 5px; border-radius: 3px; }
.pt .rdf-dot-rend { font-size: 11.5px; padding: 1px 5px; border-radius: 3px; }
/* En la cancha, el 4º renglón ("Arquero", "Def. Central") repite lo que ya
   dice el círculo (ARQ, DFC) y, con los jugadores más grandes, el de más abajo
   se cortaba contra el borde y se pisaba con el de arriba. Queda en el título
   al pasar el mouse. En el banco ese renglón son los minutos: se deja. */
.pt .rdf-pitch .rdf-dot-rend + .rdf-dot-name { display: none; }
.pt .rdf-bench-lbl { font-size: 11px; color: #7a808a; }
.pt .rdf-bench-item { width: 80px; }
.pt .rdf-bench-row { justify-content: center; }

/* Cambios */
.pt .rdf-cambio { font-size: 13.5px; padding: 7px 0; }
.pt .rdf-cambio-min { min-width: 92px; }
.pt .rdf-cambio-pos { font-size: 11px; }
.pt .rdf-cambio-vacio { font-size: 13px; }

/* Comparativa: centrada y a lo ancho de su caja */
.pt .rdf-cmp { max-width: none; margin: 0 auto; }
.pt .rdf-cmp-head { font-size: 14px; margin-bottom: 14px; }
.pt .rdf-cmp-row { margin-bottom: 14px; }
.pt .rdf-cmp-top { font-size: 18px; }
.pt .rdf-cmp-top span { font-size: 12px; }
.pt .rdf-cmp-top small { font-size: 11px; }
.pt .rdf-cmp-bar { height: 6px; gap: 3px; margin-top: 5px; }
.pt .rdf-cmp-bar i { border-radius: 3px; }
.pt .rdf-cmp-half { font-size: 11px; color: #7a808a; margin-top: 4px; }

/* Mapa de tiros: grande y centrado (el SVG trae un max-width chico en línea) */
.pt .pt-tiros svg { max-width: 640px !important; }
.pt .rdf-seg-btn { font-size: 13px; padding: 8px 13px; }
.pt .rdf-leyenda, .pt .rdf-tiros-res { font-size: 12.5px; }
.pt .pt-tiros select { font-size: 13px !important; padding: 6px 9px !important; }
.pt .pt-tiros label { font-size: 13px !important; }

/* Tablas */
.pt .rdf-scroll { mask-image: none; -webkit-mask-image: none; }
.pt .rdf-scroll.rdf-desborda {
  mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent 100%);
}
.pt .rdf-scroll-hint { font-size: 12px; color: #6d7280; margin: 0 0 8px; }
.pt .rdf-tbl { font-size: 13.5px; }
.pt .rdf-tbl th {
  font-size: 11.5px; color: #7a808a; font-weight: 700; padding: 8px 7px; white-space: normal;
  line-height: 1.2; vertical-align: bottom; border-bottom: .5px solid #262a31;
}
.pt .rdf-tbl td { padding: 8px 7px; border-top: .5px solid #1c1f25; }
.pt .rdf-tbl tr:hover td { background: rgba(255,255,255,.025); }
.pt .rdf-tbl .z { color: #3a3f48; }
.pt .rdf-sticky { background: #101216; }
/* Anchos fijos: así las columnas de los dos equipos quedan alineadas una
   debajo de la otra (con ancho automático, cada tabla calculaba el suyo). */
.pt .rdf-tbl-jug { table-layout: fixed; }
.pt .rdf-tbl-jug th:nth-child(1) { width: 24%; }
.pt .rdf-tbl-jug th:nth-child(2) { width: 14%; }
.pt .rdf-tbl-jug th:nth-child(3), .pt .rdf-tbl-jug th:nth-child(4) { width: 6%; }
.pt .rdf-tbl-jug td:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt .rdf-jug-nom a, .pt .rdf-card-nom a { color: #eef1f6; text-decoration: none; font-weight: 700; }
.pt .rdf-jug-nom a:hover, .pt .rdf-card-nom a:hover { color: #7fc0ff; }
.pt .rdf-jug-pos { font-weight: 700; }
.pt .rdf-jug-rend { font-weight: 800; }
.pt .rdf-jug-min { color: #8a8f99; }
.pt .rdf-ev-min { color: #8a8f99; font-weight: 700; }
.pt .rdf-ev-eq, .pt .rdf-ev-j2 { color: #9aa0ab; }
.pt .rdf-ev-j1 { font-weight: 700; color: #eef1f6; }
.pt .rdf-ev-xg { color: #c9a227; }
.pt .rdf-ev-xgadj { color: #7bd88f; }
.pt .rdf-ev-cuerpo { color: #8a8f99; }
.pt .rdf-ev-toque { color: #f59e0b; font-weight: 400; }
.pt .rdf-eq-bloque + .rdf-eq-bloque { margin-top: 26px; }
.pt .rdf-eq-tit { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.pt .rdf-eq-tit .res-team-tag { margin-left: 8px; }
/* .rdf-cards (mas abajo) pone display:grid con el mismo peso: por eso estas
   dos reglas llevan las dos clases, si no las tarjetas se ven en la compu. */
.pt .rdf-cards.rdf-solo-movil { display: none; }

/* Tarjetas de jugador (celular) */
.pt .rdf-cards { display: grid; gap: 10px; }
.pt .rdf-card { background: #14171c; border: .5px solid #262a31; border-radius: 12px; padding: 12px 14px; }
.pt .rdf-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pt .rdf-card-nom { font-size: 15.5px; }
.pt .rdf-card-pos { font-size: 12px; font-weight: 700; margin-top: 2px; }
.pt .rdf-card-rend { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pt .rdf-card-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.pt .rdf-card-stats div {
  background: rgba(255,255,255,.03); border-radius: 7px; padding: 6px 8px; display: flex; flex-direction: column; gap: 1px;
}
.pt .rdf-card-stats span { font-size: 10.5px; color: #7a808a; font-weight: 600; }
.pt .rdf-card-stats b { font-size: 15px; color: #eef1f6; font-variant-numeric: tabular-nums; }
.pt .rdf-card-vacio { font-size: 12px; color: #6d7280; margin-top: 8px; }

/* Línea de tiempo */
.rdf-tl { position: relative; }
.rdf-tl::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: #262a31; transform: translateX(-50%);
}
.rdf-tl-fila { position: relative; display: grid; grid-template-columns: 1fr 58px 1fr; align-items: center; min-height: 46px; }
.rdf-tl-lado { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rdf-tl-fila.l .rdf-tl-lado:first-child { justify-content: flex-end; text-align: right; }
.rdf-tl-min {
  position: relative; z-index: 1; justify-self: center; font-size: 12px; font-weight: 800; color: #c9ced8;
  background: #101216; border: .5px solid #2b3038; border-radius: 99px; padding: 3px 8px; font-variant-numeric: tabular-nums;
}
.rdf-tl-fila.gol .rdf-tl-min { border-color: rgba(67,160,71,.6); color: #7fe08a; }
.rdf-tl-cuerpo { min-width: 0; }
.rdf-tl-quien { font-size: 14.5px; font-weight: 700; color: #eef1f6; overflow-wrap: anywhere; }
.rdf-tl-que { font-size: 12px; color: #8a8f99; }
.rdf-tl-parcial {
  display: inline-block; margin: 0 6px; font-size: 12px; font-weight: 800; color: #fff;
  background: rgba(67,160,71,.25); border-radius: 5px; padding: 0 6px;
}
.rdf-tl-fila .gdt-e { color: #7fe08a; flex-shrink: 0; }
.rdf-tl-tarj { display: inline-block; width: 12px; height: 16px; border-radius: 2px; flex-shrink: 0; }
.rdf-tl-tarj.ama { background: #f5c518; }
.rdf-tl-tarj.roja { background: #e53935; }
.rdf-tl-sep { position: relative; z-index: 1; text-align: center; margin: 10px 0; }
.rdf-tl-sep span {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: #8a8f99; background: #101216; border: .5px solid #2b3038; border-radius: 99px; padding: 4px 12px;
}
.rdf-tl-vacia { font-size: 14px; color: #8a8f99; text-align: center; padding: 18px 0; }

/* ── Resumen: "Cómo fue" a todo el ancho ── */
.pt .pt-comofue .rdf-tl,
.pt .pt-comofue .rdf-tl-filtros { max-width: 900px; margin-left: auto; margin-right: auto; }
.rdf-tl-filtros { display: flex; justify-content: center; margin-bottom: 14px; }
.rdf-tl-ataj {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  background: #16191e; border: .5px solid #2b3038; border-radius: 99px;
  color: #8a8f99; font-size: 12.5px; font-weight: 700; padding: 6px 13px;
}
.rdf-tl-ataj b { color: #c9ced8; }
.rdf-tl-ataj.on { background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.45); color: #f5c469; }
.rdf-tl-ataj.on b { color: #fff; }
.rdf-tl-ataj:hover { border-color: #f59e0b; }
/* Los nombres de los equipos arriba de cada lado */
.rdf-tl-cab {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 58px 1fr;
  font-size: 13px; font-weight: 800; margin-bottom: 8px; padding-bottom: 8px;
}
.rdf-tl-cab span { background: #101216; display: flex; align-items: center; gap: 9px; min-width: 0; }
.rdf-tl-cab span.l { justify-content: flex-end; text-align: right; }
.rdf-tl-cab img { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }
.pt .pt-comofue .rdf-tl-cab { font-size: 15.5px; margin-bottom: 12px; padding-bottom: 10px; }
/* Atajadas: más livianas que goles y tarjetas, para que no tapen lo importante */
.rdf-tl-fila.ataj { min-height: 38px; }
.rdf-tl-fila.ataj .rdf-tl-quien { font-size: 13px; font-weight: 600; color: #c9ced8; }
.rdf-tl-fila.ataj .rdf-tl-que { color: #a2885a; }
.rdf-tl-fila.ataj .gdt-e { color: #f59e0b; opacity: .85; }
.rdf-tl-fila.ataj .rdf-tl-min { font-size: 11px; color: #8a8f99; border-color: #2b3038; }

/* ── Comparativa: 1T | 2T ── */
.rdf-cmp-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.pt .rdf-cmp-cab .rdf-title { margin: 0; }
.rdf-cmp-modos { display: inline-flex; background: #16191e; border: .5px solid #2b3038; border-radius: 99px; padding: 3px; }
.rdf-cmp-btn {
  background: none; border: 0; border-radius: 99px; color: #8a8f99; cursor: pointer;
  font-size: 12.5px; font-weight: 700; padding: 6px 14px;
}
.rdf-cmp-btn:hover { color: #fff; }
.rdf-cmp-btn.on { background: #1d2a38; color: #fff; box-shadow: inset 0 0 0 .5px #4ea1ff; }
.rdf-cmp-dos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; }
/* margin:auto (de .pt .rdf-cmp) dentro de una grilla hace que la columna se
   achique a su contenido en vez de estirarse: en las mitades va en 0. */
.pt .rdf-cmp-dos .rdf-cmp-mitad { margin: 0; width: 100%; }
.rdf-cmp-mitad-tit {
  text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: #c9ced8; margin-bottom: 12px; padding-bottom: 10px; border-bottom: .5px solid #262a31;
}
.pt .rdf-cmp-total { max-width: 760px; margin: 0 auto; }
.rdf-cmp-row.vacio .rdf-cmp-bar { opacity: .25; }
.rdf-cmp-row.vacio .rdf-cmp-top b { color: #5d626c; }

/* ── Celular y tablet ── */
@media (max-width: 900px) {
  .pt-resumen { grid-template-columns: 1fr; }
  .pt .rdf-cmp-dos { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 700px) {
  .pt { padding: .6rem .75rem 3rem; }
  .pt-hero { padding: 16px 12px 16px; border-radius: 14px; }
  .pt-marcador { gap: 10px; }
  .pt-escudo, .pt-escudo-ph { width: 64px; height: 64px; font-size: 15px; }
  .pt-eq { gap: 8px; }
  .pt-eq-nom { font-size: 14.5px; }
  .pt-score-n { font-size: 46px; min-width: 32px; }
  .pt-score-nums { gap: 8px; }
  .pt-score-sep { font-size: 24px; }
  .pt-tabs { margin: 0 -.75rem 14px; padding: 6px .75rem 0; }
  .pt-tab { font-size: 13px; padding: 9px 7px 10px; }
  .pt-tabs { gap: 0; }
  .pt-tab .n { display: none; }          /* los contadores no entran en el celular */
  /* Si aun así no entran (celulares de 360 px), un degradado avisa que se desliza */
  .pt-tabs.desborda {
    mask-image: linear-gradient(to right, #000 calc(100% - 30px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 30px), transparent 100%);
  }
  /* Los grupos de estadísticas se deslizan de costado si no entran */
  .pt .rdf-grupos { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: 12px; }
  .pt .rdf-grupos::-webkit-scrollbar { display: none; }
  .pt .rdf-grupo-btn { flex-shrink: 0; font-size: 12.5px; padding: 6px 12px; }
  .pt-caja { padding: 14px 12px 16px; border-radius: 12px; }
  .pt .rdf-pitch-grid { grid-template-columns: 1fr; }
  .pt .rdf-solo-ancho { display: none; }
  .pt .rdf-cards.rdf-solo-movil { display: grid; }
  .pt .rdf-dot { width: 72px; }
  .pt .rdf-dot-circ { width: 34px !important; height: 34px !important; }
  .pt .rdf-dot-name { font-size: 10px; max-width: 72px; }
  .pt .rdf-cmp-top { font-size: 16px; }
  .pt .rdf-tbl { font-size: 12.5px; }
  .rdf-tl-quien { font-size: 13.5px; }
  .rdf-tl-fila, .rdf-tl-cab { grid-template-columns: 1fr 50px 1fr; }
  .rdf-tl-cab { font-size: 12px; }
  .pt .pt-comofue .rdf-tl-cab { font-size: 12.5px; }
  .rdf-tl-cab img { width: 22px; height: 22px; }
  .rdf-tl-cab span { gap: 6px; }
}
@media (max-width: 380px) {
  .pt .rdf-card-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Jugadores > Todas: tabla ancha, sin cortes, agrupada (9-nov-2026) */
.pt .rdf-tbl-jug.rdf-tbl-todas { table-layout: auto; width: max-content; min-width: 100%; }
.pt .rdf-tbl-todas th, .pt .rdf-tbl-todas td { white-space: nowrap; width: auto !important; padding-left: 9px; padding-right: 9px; }
.pt .rdf-tbl-todas td:first-child { max-width: 190px; }
.pt .rdf-tbl-todas .rdf-todas-g th { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #8a909a; text-align: left; padding-bottom: 2px; border-bottom: 0; }
.pt .rdf-tbl-todas .rdf-g-ini { border-left: 1px solid #2a2e36; }
.pt .rdf-tbl-todas .rdf-sticky { z-index: 1; }
/* Títulos de números alineados con los números (9-nov-2026) */
.pt .rdf-tbl-jug th.n { text-align: right; }
.pt .rdf-tbl-jug:not(.rdf-tbl-todas) { table-layout: auto; }
.pt .rdf-tbl-jug:not(.rdf-tbl-todas) td.n, .pt .rdf-tbl-jug:not(.rdf-tbl-todas) th.n { width: 1%; padding-left: 14px; white-space: nowrap; }

/* ── Rediseño «Ver el partido completo» (9-nov-2026): cajas, divisiones y tablas más claras ── */
.pt .pt-tabs { position: sticky; top: 0; z-index: 5; background: rgba(10,11,14,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid #1f232b; gap: 4px; }
.pt .pt-caja { background: linear-gradient(180deg, #14171c 0%, #101216 100%); border: 1px solid #1f232b;
  border-radius: 14px; padding: 18px 20px; margin-bottom: 18px; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.pt .pt-caja-tit, .pt .rdf-title { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .09em; color: #c9d1dc; padding-bottom: 10px; margin-bottom: 14px;
  border-bottom: 1px solid #1f232b; }
.pt .pt-caja-tit::before, .pt .rdf-title::before { content: ""; width: 3px; height: 14px; border-radius: 2px; background: #4ea1e0; }
/* Botones de pestañas internas: una barra segmentada; el CSV aparte, a la derecha */
.pt .rdf-grupos { background: #0c0e12; border: 1px solid #1f232b; border-radius: 12px; padding: 5px; gap: 4px; }
.pt .rdf-grupos .rdf-grupo-btn { border-color: transparent; background: transparent; border-radius: 8px; }
.pt .rdf-grupos .rdf-grupo-btn.on { background: #1d2a38; border-color: #2f5878; color: #fff; }
.pt .rdf-grupos .rdf-csv-btn { margin-left: auto; border: 1px solid #2a3d2f; color: #8fd19e; }
.pt .rdf-grupos .rdf-csv-btn:hover { background: #15241a; color: #b8f0c4; }
/* Cada equipo, su propio bloque con encabezado */
.pt .rdf-eq-bloque { border: 1px solid #1f232b; border-radius: 12px; overflow: hidden; margin-top: 16px; background: #0e1014; }
.pt .rdf-eq-bloque .rdf-eq-tit { padding: 11px 14px; background: #151920; border-bottom: 1px solid #1f232b; margin: 0; }
.pt .rdf-eq-bloque .rdf-scroll { padding: 0 4px 4px; }
.pt .rdf-eq-bloque .rdf-cards { padding: 10px; }
/* Tablas: encabezado marcado, filas alternadas */
.pt .rdf-tbl th { background: #12151b; color: #8a93a0; font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
  border-bottom: 1px solid #232833; }
.pt .rdf-tbl tr:nth-child(even) td { background: rgba(255,255,255,.018); }
.pt .rdf-tbl tr:hover td { background: rgba(78,161,224,.07); }
.pt .rdf-tbl .rdf-sticky { background: #0e1014; }
.pt .rdf-tbl th.rdf-sticky { background: #12151b; }
.pt .rdf-tbl-todas .rdf-todas-g th { background: #0c0e12; color: #4ea1e0; }
.pt .rdf-nota { background: #0c0e12; border: 1px solid #1f232b; border-left: 3px solid #4ea1e0; border-radius: 8px; padding: 10px 12px; }
@media (max-width: 720px) {
  .pt .pt-caja { padding: 14px 12px; border-radius: 12px; }
  .pt .rdf-grupos .rdf-csv-btn { margin-left: 0; }
}

/* ── Tabla de jugadores v2 (9-nov-2026): columna fija opaca, puesto bajo el nombre ── */
.pt .rdf-tbl-jug, .pt .rdf-tbl-jug.rdf-tbl-todas { table-layout: auto; width: max-content; min-width: 100%; }
.pt .rdf-tbl-jug th, .pt .rdf-tbl-jug td { width: auto !important; white-space: nowrap; }
.pt .rdf-tbl-jug td { padding: 9px 12px; font-variant-numeric: tabular-nums; }
.pt .rdf-tbl-jug th { padding: 10px 12px; }
.pt .rdf-tbl-jug tr td { background: #0e1014; }
.pt .rdf-tbl-jug tr:nth-child(even) td { background: #121419; }
.pt .rdf-tbl-jug tr:hover td { background: #16202b; }
.pt .rdf-tbl-jug .rdf-sticky { position: sticky; left: 0; z-index: 2; min-width: 170px; max-width: 210px;
  box-shadow: 1px 0 0 #232833, 8px 0 12px -8px rgba(0,0,0,.6); }
.pt .rdf-tbl-jug td.rdf-jug-nom { overflow: hidden; text-overflow: ellipsis; line-height: 1.25; }
.pt .rdf-jug-sub { display: block; font-size: 11px; font-weight: 600; margin-top: 2px; opacity: .9; }
.pt .rdf-tbl-jug .rdf-jug-rend { font-size: 14px; }
.pt .rdf-tbl-jug td.n.z { color: #343944; }

/* ═══════════════════════════════════════════════════════════════════
   REDISEÑO v3 de /partido (10-nov-2026). Va al final: pisa lo de arriba.
   Local = azul, visitante = naranja (los mismos de la Comparativa).
   ═══════════════════════════════════════════════════════════════════ */
.rdf-pm { display: none; }
.pt { --pt-l: #4ea1ff; --pt-v: #ff9f43; --pt-borde: #1f242c; --pt-sup: #11141a; --pt-sup2: #161a21; }

/* ── Cabecera ── */
.pt .pt-hero {
  position: relative; overflow: hidden; padding: 20px 24px 22px; border-radius: 18px;
  border: 1px solid var(--pt-borde);
  background:
    radial-gradient(60% 90% at 0% 40%, rgba(78,161,255,.13), transparent 70%),
    radial-gradient(60% 90% at 100% 40%, rgba(255,159,67,.12), transparent 70%),
    linear-gradient(180deg, #151920 0%, #0d1015 100%);
  box-shadow: 0 10px 34px rgba(0,0,0,.35);
}
.pt .pt-hero::before { /* filo de colores arriba */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--pt-l) 0 50%, var(--pt-v) 50% 100%); opacity: .85;
}
.pt .pt-meta { margin-bottom: 20px; font-size: 12px; }
.pt .pt-eq-nom { font-size: 22px; letter-spacing: -.01em; }
.pt .pt-eq:first-child .pt-escudo { filter: drop-shadow(0 0 22px rgba(78,161,255,.28)) drop-shadow(0 6px 12px rgba(0,0,0,.6)); }
.pt .pt-eq:last-child .pt-escudo { filter: drop-shadow(0 0 22px rgba(255,159,67,.25)) drop-shadow(0 6px 12px rgba(0,0,0,.6)); }
.pt .pt-marcador.hay-ganador .pt-eq:not(.gana) .pt-escudo { opacity: .8; }
.pt .pt-score {
  background: rgba(0,0,0,.35); border: 1px solid var(--pt-borde); border-radius: 16px;
  padding: 14px 22px 12px; min-width: 190px;
}
.pt .pt-score-n { font-size: 64px; letter-spacing: -.03em; }
.pt .pt-score-sep { color: #2f3540; }
.pt .pt-score-lbl {
  font-size: 10.5px; letter-spacing: .2em; padding: 3px 10px; border-radius: 99px;
  background: rgba(255,255,255,.05); color: #9aa1ad;
}
/* Tres números rápidos */
.pt .pt-rapidas {
  max-width: 520px; margin: 22px auto 0; padding: 14px 18px 4px;
  border-top: 1px solid var(--pt-borde);
}
.pt .pt-rapidas .rdf-cmp-row { margin-bottom: 10px; }
.pt .pt-rapidas .rdf-cmp-top { font-size: 15px; }
.pt .pt-rapidas .rdf-cmp-top span { font-size: 11px; }
.pt .pt-rapidas .rdf-cmp-bar { height: 5px; }
.pt .pt-figura { margin-top: 14px; }

/* ── Pestañas: barra segmentada + CSV ── */
.pt .pt-tabs {
  top: var(--gdt-nav-h, 60px); margin: 0 0 18px; padding: 6px; gap: 4px; align-items: center;
  background: rgba(13,16,21,.94); border: 1px solid var(--pt-borde); border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.pt .pt-tab {
  border: 0; border-radius: 10px; padding: 9px 16px; font-size: 13.5px; color: #8a919c;
  transition: background .15s, color .15s;
}
.pt .pt-tab:hover { color: #e6e9ee; background: rgba(255,255,255,.04); }
.pt .pt-tab.on { color: #fff; background: #1d2a3a; box-shadow: inset 0 0 0 1px rgba(78,161,255,.45); }
.pt .pt-tab .n {
  display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 6px; border-radius: 99px;
  background: rgba(255,255,255,.07); color: #a9b0bb; font-size: 10.5px; line-height: 17px; text-align: center;
}
.pt .pt-tab.on .n { background: rgba(78,161,255,.25); color: #fff; }
.pt .pt-csv {
  flex-shrink: 0; margin-left: auto; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.35); color: #86e0a4;
  border-radius: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; padding: 8px 13px;
}
.pt .pt-csv::before { content: "\2193"; font-size: 14px; line-height: 1; }
.pt .pt-csv:hover { background: rgba(34,197,94,.16); color: #c4f5d3; }

/* ── Cajas ── */
.pt .pt-caja {
  background: linear-gradient(180deg, var(--pt-sup2) 0%, var(--pt-sup) 100%);
  border: 1px solid var(--pt-borde); border-radius: 16px; padding: 20px 22px 22px;
}
.pt .pt-caja-tit, .pt .rdf-title { color: #dfe4ea; font-size: 12.5px; letter-spacing: .1em; }
.pt .pt-caja-tit::before, .pt .rdf-title::before {
  width: 4px; height: 16px; background: linear-gradient(180deg, var(--pt-l), var(--pt-v));
}
.pt .rdf-nota { font-size: 12px; color: #8a919c; border-left-color: #2f5878; margin-top: 16px; }

/* Selectores (modos de formación, grupos de stats) como barra segmentada */
.pt .rdf-modos {
  display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: 18px;
  background: #0b0d11; border: 1px solid var(--pt-borde); border-radius: 12px;
}
.pt .rdf-modos.rdf-grupos { display: flex; }
.pt .rdf-modo-btn, .pt .rdf-grupo-btn {
  border: 0; background: transparent; border-radius: 9px; padding: 7px 14px; font-size: 13px; color: #8a919c;
}
.pt .rdf-modo-btn:hover, .pt .rdf-grupo-btn:hover { color: #fff; background: rgba(255,255,255,.04); }
.pt .rdf-modo-btn.on, .pt .rdf-grupo-btn.on, .pt .rdf-grupos .rdf-grupo-btn.on {
  background: #1d2a3a; color: #fff; box-shadow: inset 0 0 0 1px rgba(78,161,255,.45); border-color: transparent;
}
.pt .rdf-grupos .rdf-csv-btn { border: 1px solid rgba(34,197,94,.35); color: #86e0a4; background: rgba(34,197,94,.06); }

/* ── Formaciones: canchas con sus marcas ── */
.pt .rdf-pitch-grid { gap: 26px; }
.pt .rdf-pitch-grid > div { max-width: 440px; }
.pt .rdf-pitch-grid > div:first-child .rdf-pitch-name { box-shadow: inset 0 -2px 0 var(--pt-l); }
.pt .rdf-pitch-grid > div:last-child .rdf-pitch-name { box-shadow: inset 0 -2px 0 var(--pt-v); }
.pt .rdf-pitch-name {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px;
  padding: 0 0 10px; margin-bottom: 14px; font-size: 16px;
}
.pt .rdf-pitch {
  padding-top: 140%; border-radius: 14px; border: 1px solid rgba(255,255,255,.08);
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,.028) 0 10%, transparent 10% 20%),
    radial-gradient(90% 60% at 50% 50%, #17402a 0%, #10301f 60%, #0b2316 100%);
  box-shadow: inset 0 0 0 6px rgba(0,0,0,.12), inset 0 0 60px rgba(0,0,0,.45);
}
.pt .rdf-pitch-line { border-top: 1px solid rgba(255,255,255,.16); }
.pt .rdf-pitch-circ { width: 26%; padding-top: 26%; border: 1px solid rgba(255,255,255,.16); }
.pt .rdf-pm { display: block; position: absolute; left: 50%; transform: translateX(-50%); border: 1px solid rgba(255,255,255,.16); }
.pt .rdf-pm-area { width: 56%; height: 15%; }
.pt .rdf-pm-chica { width: 26%; height: 6%; }
.pt .rdf-pm.a { top: -1px; border-top: 0; border-radius: 0 0 6px 6px; }
.pt .rdf-pm.b { bottom: -1px; border-bottom: 0; border-radius: 6px 6px 0 0; }
.pt .rdf-pm-punto { top: 50%; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.3); border: 0; transform: translate(-50%, -50%); }
.pt .rdf-dot { z-index: 1; }
.pt .rdf-dot-circ {
  background: radial-gradient(circle at 35% 30%, #232a33, #0c0f13) !important;
  box-shadow: 0 0 0 3px rgba(0,0,0,.35), 0 0 16px color-mix(in srgb, var(--c, #fff) 45%, transparent);
  font-weight: 800; letter-spacing: .02em;
}
.pt .rdf-dot-name {
  background: rgba(6,8,11,.82); border: 1px solid rgba(255,255,255,.08); border-radius: 6px;
  padding: 2px 7px; font-size: 11.5px; margin-top: 2px;
}
.pt .rdf-dot-rend {
  min-width: 28px; text-align: center; border-radius: 6px; padding: 1px 6px; font-size: 12px; font-weight: 900;
  color: #0a0c10 !important; background: var(--r, #555);
}
.pt .rdf-pitch .rdf-dot-rend { /* en la cancha, la nota es un globito en la esquina del círculo */
  position: absolute; top: -8px; left: calc(50% + 11px); box-shadow: 0 2px 6px rgba(0,0,0,.5);
}
/* Banco: fila de fichas */
.pt .rdf-bench { margin-top: 14px; }
.pt .rdf-bench-lbl { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: #8a919c; text-align: center; margin-bottom: 8px; }
.pt .rdf-bench-row { gap: 8px; padding: 10px; border-radius: 12px; background: #0b0d11; border: 1px solid var(--pt-borde); }
.pt .rdf-bench-item {
  width: auto; min-width: 84px; padding: 8px 8px 6px; border-radius: 10px;
  background: var(--pt-sup2); border: 1px solid var(--pt-borde);
}
.pt .rdf-bench-item .rdf-dot-circ { width: 30px !important; height: 30px !important; font-size: 10px; border-width: 2px; }
.pt .rdf-bench-item .rdf-dot-name { background: transparent; border: 0; padding: 0 2px; max-width: 96px; }
/* Cambios */
.pt .rdf-pitch-grid .rdf-cambio {
  align-items: center; gap: 10px; padding: 8px 10px; margin-top: 6px; border: 1px solid var(--pt-borde);
  border-radius: 10px; background: #0d1015;
}
.pt .rdf-cambio-min {
  min-width: 0; padding: 2px 9px; border-radius: 99px; background: rgba(255,255,255,.06);
  color: #c9ced8; font-size: 12px; font-variant-numeric: tabular-nums;
}
.pt .rdf-cambio-pos { margin-left: auto; padding: 1px 7px; border-radius: 6px; background: rgba(255,255,255,.05); }

/* ── Resumen ── */
.pt .rdf-tl-min { background: #0d1015; }
.pt .rdf-tl-fila.gol .rdf-tl-min { background: #12301a; }
.pt .rdf-tl-sep span { background: #0d1015; }
.pt .rdf-tl-cab span { background: transparent; }
.pt .rdf-tl-fila { border-radius: 10px; }
.pt .rdf-tl-fila:hover { background: rgba(255,255,255,.02); }
.pt .rdf-cmp-row { padding: 6px 0 2px; }
.pt .rdf-cmp-top b { font-variant-numeric: tabular-nums; }
.pt .rdf-cmp-bar { height: 7px; gap: 4px; }
.pt .rdf-cmp-bar i { border-radius: 99px; }
.pt .rdf-cmp-mitad { background: #0d1015; border: 1px solid var(--pt-borde); border-radius: 14px; padding: 14px 16px 6px; }
.pt .rdf-cmp-total { background: #0d1015; border: 1px solid var(--pt-borde); border-radius: 14px; padding: 16px 18px 8px; }

/* ── Tiros ── */
.pt .pt-tiros svg { border-radius: 14px; }

/* ── Jugadores y eventos: tablas ── */
.pt .rdf-eq-bloque { border-radius: 14px; border-color: var(--pt-borde); background: #0d1015; }
.pt .rdf-eq-bloque.pt-l .rdf-eq-tit { box-shadow: inset 3px 0 0 var(--pt-l); }
.pt .rdf-eq-bloque.pt-v .rdf-eq-tit { box-shadow: inset 3px 0 0 var(--pt-v); }
.pt .rdf-eq-tit { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 16px; }
.pt .rdf-tbl-jug .rdf-jug-rend { text-align: center; }
.pt .rdf-tbl-ev { width: 100%; }
.pt .rdf-tbl-ev td { vertical-align: middle; }
.pt .rdf-ev-pill {
  display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: .05em;
  background: color-mix(in srgb, currentColor 14%, transparent); border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
}
.pt .rdf-ev-min { font-variant-numeric: tabular-nums; }

/* ── Celular ── */
@media (max-width: 700px) {
  .pt .pt-hero { padding: 16px 12px 16px; }
  .pt .pt-score { min-width: 0; padding: 10px 12px 9px; }
  .pt .pt-score-n { font-size: 44px; }
  .pt .pt-eq-nom { font-size: 14.5px; }
  .pt .pt-rapidas { padding: 12px 4px 2px; margin-top: 16px; }
  .pt .pt-tabs { margin: 0 0 14px; padding: 4px; border-radius: 12px; }
  .pt .pt-tab { padding: 8px 10px; font-size: 13px; }
  .pt .pt-csv { padding: 7px 10px; }
  .pt .pt-caja { padding: 14px 12px 16px; }
  .pt .rdf-modos { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .pt .rdf-modo-btn, .pt .rdf-grupo-btn { flex-shrink: 0; }
  .pt .rdf-pitch-grid > div { max-width: none; }
  .pt .rdf-dot-name { font-size: 10px; padding: 1px 5px; }
  .pt .rdf-dot-rend { font-size: 11px; }
  .pt .rdf-pitch .rdf-dot-rend { left: calc(50% + 8px); }
  .pt .rdf-bench-item { min-width: 72px; }
  .pt .pt-tab .n { display: none; }
}

/* ── Tabla de jugadores v3 (10-nov-2026): grilla clara, columna fija sin fugas ── */
/* Sin padding en el contenedor: con 4px a la izquierda, lo que se deslizaba
   asomaba por detrás de la columna fija. Sin máscara: cortaba la barrita. */
.pt .rdf-eq-bloque .rdf-scroll,
.pt .rdf-scroll, .pt .rdf-scroll.rdf-desborda {
  padding: 0; mask-image: none; -webkit-mask-image: none;
  scrollbar-width: thin; scrollbar-color: #2c3440 #0b0d11;
}
.pt .rdf-scroll::-webkit-scrollbar { height: 10px; }
.pt .rdf-scroll::-webkit-scrollbar-track { background: #0b0d11; border-top: 1px solid var(--pt-borde); }
.pt .rdf-scroll::-webkit-scrollbar-thumb { background: #2c3440; border-radius: 99px; border: 2px solid #0b0d11; }
.pt .rdf-scroll::-webkit-scrollbar-thumb:hover { background: #3c4757; }
.pt .rdf-scroll::-webkit-scrollbar-corner { background: #0b0d11; }

.pt .rdf-tbl-jug { border-collapse: separate; border-spacing: 0; }
.pt .rdf-tbl-jug th, .pt .rdf-tbl-jug td {
  border-top: 0; border-bottom: 1px solid #1b2028; border-right: 1px solid #161a21;
}
.pt .rdf-tbl-jug tr:last-child td { border-bottom: 0; }
.pt .rdf-tbl-jug th:last-child, .pt .rdf-tbl-jug td:last-child { border-right: 0; }
/* Números: columnas parejas y centradas, títulos en dos renglones */
.pt .rdf-tbl-jug th.n, .pt .rdf-tbl-jug td.n,
.pt .rdf-tbl-jug:not(.rdf-tbl-todas) th.n, .pt .rdf-tbl-jug:not(.rdf-tbl-todas) td.n {
  text-align: center; min-width: 78px; width: auto; padding-left: 10px; padding-right: 10px;
}
.pt .rdf-tbl-jug th.n {
  white-space: normal !important; max-width: 104px; line-height: 1.25; vertical-align: middle;
}
.pt .rdf-tbl-jug th { height: 44px; border-bottom: 1px solid #262c36; }
.pt .rdf-tbl-jug td { height: 50px; }
/* Columna del jugador: opaca, con borde marcado a la derecha */
.pt .rdf-tbl-jug .rdf-sticky {
  border-right: 1px solid #2a313c; box-shadow: 10px 0 14px -10px rgba(0,0,0,.75);
  text-align: left; padding-left: 14px;
}
.pt .rdf-tbl-jug th.rdf-sticky { z-index: 3; background: #12151b; }
.pt .rdf-tbl-jug td.rdf-sticky { z-index: 2; }
/* Rend y Min: separados del resto */
.pt .rdf-tbl-jug td.rdf-jug-rend, .pt .rdf-tbl-jug th:nth-child(2) { background-image: linear-gradient(rgba(255,255,255,.025), rgba(255,255,255,.025)); }
.pt .rdf-tbl-jug tr > :nth-child(3) { border-right: 1px solid #262c36; }
/* Fila de grupos (pestaña Todas) */
.pt .rdf-tbl-todas .rdf-todas-g th { height: 30px; text-align: center; border-bottom: 1px solid #262c36; }
.pt .rdf-tbl-todas .rdf-g-ini { border-left: 1px solid #2f5878; }
.pt .rdf-tbl-todas .rdf-todas-g th.rdf-sticky, .pt .rdf-tbl-todas .rdf-todas-g th:nth-child(2) { border-right-color: #262c36; }
.pt .rdf-tbl-jug td.n.z { color: #2e343e; }
.pt .rdf-scroll-hint { text-align: right; padding: 6px 14px 0; margin: 0; }
.pt .pt-tabs[hidden] { display: none; }
.pt .rdf-tbl-jug th.rdf-sticky { vertical-align: middle; }
.pt .rdf-scroll::-webkit-scrollbar-button { display: none; width: 0; height: 0; }

/* Combinaciones (bloque 26 E3): mejor dúo y trío del equipo, arriba de la tabla */
.rdf-cb { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 8px; padding: 10px 14px 4px; }
.rdf-cb-socio { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 8px 11px; border-radius: 10px; background: #10141a; border: 1px solid #1f232b; border-left: 3px solid #2dd4bf; }
.rdf-cb-socio > span { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a919c; }
.rdf-cb-socio > b { font-size: 14px; color: #fff; overflow-wrap: anywhere; }
.rdf-cb-socio > small { font-size: 12px; color: #9aa3ad; }
.rdf-cb-socio.nada { border-left-color: #2f3640; }

/* ═══════════════════════════════════════════════════════════════════
   Bloque 29 E2 (30-nov-2026): tipografía nueva y explicación de cada columna.
   Tokens de static/stats_ui.css y theme.css (--gdt-*): los 7 temas se repintan solos.
   Va al final: pisa lo de arriba. Todo cuelga de .pt (Resultados tiene lo suyo).
   ═══════════════════════════════════════════════════════════════════ */
.pt .pt-caja, .pt .pt-hero { background-color: var(--gdt-surface-1); }
.pt .pt-caja { background: linear-gradient(180deg, var(--gdt-surface-2) 0%, var(--gdt-surface-1) 100%); border-color: var(--gdt-border); }
.pt .pt-caja + .pt-caja { margin-top: var(--gdt-sp-5); }
/* Títulos de sección: más grandes, sin mayúsculas */
.pt .pt-caja-tit, .pt .rdf-title {
  font-size: var(--gdt-fs-h2); font-weight: var(--gdt-fw-fuerte); letter-spacing: 0; text-transform: none;
  line-height: var(--gdt-lh-justo); color: var(--gdt-text-hi); border-bottom-color: var(--gdt-border);
  padding-bottom: var(--gdt-sp-3); margin-bottom: var(--gdt-sp-4);
}
.pt .rdf-nota { font-size: var(--gdt-fs-ayuda); line-height: var(--gdt-lh-texto); color: var(--gdt-text); background: var(--gdt-surface-1);
  border-color: var(--gdt-border); }
.pt .rdf-nota b { color: var(--gdt-text-hi); font-weight: var(--gdt-fw-fuerte); }
/* Números: cifras del mismo ancho (DM Sans no las trae) */
.pt .rdf-tbl td, .pt .rdf-cmp-top b, .pt .rdf-card-stats b, .pt .rdf-card-rend, .pt .pt-score-n, .pt .rdf-ev-min {
  font-family: var(--gdt-font-num); font-variant-numeric: tabular-nums; }
.pt .rdf-cmp-top b { font-weight: var(--gdt-fw-fuerte); color: var(--gdt-text-hi); }
.pt .rdf-cmp-top span { text-transform: none; letter-spacing: 0; font-size: var(--gdt-fs-ayuda); color: var(--gdt-text); font-weight: var(--gdt-fw-medio); }
.pt .pt-rapidas .rdf-cmp-top span { font-size: var(--gdt-fs-ayuda); }
.pt .rdf-cmp-mitad, .pt .rdf-cmp-total { background: var(--gdt-surface-1); border-color: var(--gdt-border); }
.pt .rdf-cmp-mitad-tit { text-transform: none; letter-spacing: 0; font-size: var(--gdt-fs-h3); font-weight: var(--gdt-fw-fuerte); color: var(--gdt-text-hi); }
/* Tablas: títulos sin mayúsculas, con subrayado punteado = «tiene explicación» */
.pt .rdf-tbl th {
  text-transform: none; letter-spacing: .01em; font-size: var(--gdt-fs-th); font-weight: var(--gdt-fw-fuerte);
  color: var(--gdt-text-mid); background: var(--gdt-surface-2); border-bottom-color: var(--gdt-border-hi);
}
.pt .rdf-tbl th.rdf-th-tip { position: relative; }
.pt .rdf-tbl th .gdt-th-btn { white-space: normal; text-align: inherit; justify-content: center; }
.pt .rdf-tbl th:not(.n) .gdt-th-btn { justify-content: flex-start; }
.pt .rdf-tbl-jug th.rdf-sticky, .pt .rdf-tbl th.rdf-sticky { background: var(--gdt-surface-2); }
.pt .rdf-tbl-jug tr td, .pt .rdf-tbl .rdf-sticky { background: var(--gdt-surface-1); }
.pt .rdf-tbl-jug tr:nth-child(even) td { background: color-mix(in srgb, var(--gdt-surface-2) 55%, var(--gdt-surface-1)); }
.pt .rdf-tbl-jug tr:hover td { background: var(--gdt-surface-3); }
.pt .rdf-tbl td { font-size: var(--gdt-fs-num); color: var(--gdt-text); }
.pt .rdf-tbl-jug td.n.z, .pt .rdf-tbl .z { color: var(--gdt-text-lo); }
.pt .rdf-tbl-todas .rdf-todas-g th { text-transform: none; letter-spacing: 0; font-size: var(--gdt-fs-ayuda); background: var(--gdt-bg); }
.pt .rdf-eq-bloque { background: var(--gdt-surface-1); border-color: var(--gdt-border); }
.pt .rdf-eq-bloque .rdf-eq-tit { background: var(--gdt-surface-2); border-bottom-color: var(--gdt-border); font-size: var(--gdt-fs-h3);
  font-weight: var(--gdt-fw-fuerte); color: var(--gdt-text-hi); }
.pt .rdf-eq-bloque + .rdf-eq-bloque { margin-top: var(--gdt-sp-4); }
.pt .rdf-grupos, .pt .rdf-modos { background: var(--gdt-bg); border-color: var(--gdt-border); }
/* Glosario de abajo («¿Qué es cada columna?») */
.pt .gdt-gl { margin-top: var(--gdt-sp-5); }
/* Tarjetas del celular: la etiqueta de cada número explica qué es al tocarla (.gdt-lbl vive en stats_ui.css desde E3) */
.pt .rdf-card { background: var(--gdt-surface-2); border-color: var(--gdt-border); }
.pt .rdf-card-stats div { background: var(--gdt-surface-1); }
.pt .rdf-card-stats b { color: var(--gdt-text-hi); }
.pt .rdf-card-vacio { color: var(--gdt-text-mid); }
@media (max-width: 720px) {
  .pt .rdf-tbl th.rdf-th-tip { padding-top: 16px; padding-right: 14px; }
  .pt .pt-caja + .pt-caja { margin-top: var(--gdt-sp-4); }
}
