/**
 * Mundial — CSS
 * Estilos para archive-match, single-match, widgets y shortcodes
 * v3.2 — Premium Dark System
 */

:root {
  --mundial-dark: #1e293b;
  --mundial-navy: #0f172a;
  --mundial-red: #D1202F;
  --mundial-green: #006644;
  --mundial-gold: #BF9C57;
  --mundial-gold-light: #d4af71;
  --mundial-card-bg: rgba(255, 255, 255, 0.03);
  --mundial-glass: rgba(255, 255, 255, 0.05);
  --mundial-border: rgba(255, 255, 255, 0.1);
  --mundial-radius: 16px;
}

/* ================================================================
   Archive Page — Wrapper
   ================================================================ */
.cl26-archive-page {
  background: linear-gradient(180deg, #0f172a 0%, #0f172a 60%, #111827 100%);
  color: #f1f5f9;
  min-height: 100vh;
}

/* ================================================================
   Archive Hero Section
   ================================================================ */
.cl26-archive-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0f1e 0%, #1a1a2e 40%, #12312b 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.cl26-archive-hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(191, 156, 87, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(209, 32, 47, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(0, 102, 68, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cl26-archive-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--mundial-gold);
  margin-bottom: 12px;
  opacity: 0.9;
}

.cl26-archive-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.cl26-archive-hero__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  margin: 0;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ================================================================
   Stage Filter Pills
   ================================================================ */
.cl26-stage-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cl26-stage-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none !important;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all .2s;
  letter-spacing: .3px;
}

.cl26-stage-pill:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.cl26-stage-pill.active {
  color: #000 !important;
  background: var(--mundial-gold);
  border-color: var(--mundial-gold);
  box-shadow: 0 4px 12px rgba(191, 156, 87, 0.4);
}

/* ================================================================
   Filter Bar Component
   ================================================================ */
.cl26-filterbar {
  background: var(--mundial-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--mundial-border);
  border-radius: var(--mundial-radius);
  padding: 20px 24px;
}

.cl26-filterbar__form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
}

.cl26-filterbar__group {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cl26-filterbar__label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
}

.cl26-filterbar__select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: #f1f5f9;
  padding: 9px 14px;
  font-size: .85rem;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  transition: border-color .2s;
  /* Native select styling */
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23aaa' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
  padding-right: 36px;
}

.cl26-filterbar__select:focus {
  border-color: var(--mundial-gold);
  box-shadow: 0 0 0 3px rgba(191, 156, 87, 0.15);
}

.cl26-filterbar__select option {
  background: #1e293b;
  color: #f1f5f9;
}

.cl26-filterbar__actions {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  flex-shrink: 0;
}

.cl26-filterbar__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}

.cl26-filterbar__btn--primary {
  background: var(--mundial-gold);
  color: #000;
}

.cl26-filterbar__btn--primary:hover {
  background: var(--mundial-gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(191, 156, 87, 0.35);
}

.cl26-filterbar__btn--ghost {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cl26-filterbar__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Active filter strip */
.cl26-filter-active {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(191, 156, 87, 0.12);
  border: 1px solid rgba(191, 156, 87, 0.25);
  color: var(--mundial-gold);
  font-size: .8rem;
  font-weight: 600;
}

.cl26-filter-active__clear {
  color: var(--mundial-gold);
  margin-left: 4px;
  text-decoration: none;
  font-weight: 700;
  opacity: 0.7;
  transition: opacity .2s;
}

.cl26-filter-active__clear:hover {
  opacity: 1;
}

/* Empty State */
.cl26-empty-state {
  text-align: center;
  padding: 80px 20px;
  color: rgba(255, 255, 255, 0.4);
}

.cl26-empty-state p {
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 8px;
}

/* Pagination */
.cl26-pagination .nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.cl26-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: .85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none !important;
  transition: all .2s;
}

/* Bug #5 Fix: next/prev links need width:auto since they contain text */
.cl26-pagination .page-numbers.next,
.cl26-pagination .page-numbers.prev {
  width: auto;
  padding: 0 16px;
  gap: 6px;
}

.cl26-pagination .page-numbers:hover,
.cl26-pagination .page-numbers.current {
  background: var(--mundial-gold);
  color: #000;
  border-color: var(--mundial-gold);
}


/* ================================================================
   Partido Card — Base (white context)
   ================================================================ */
.cl26-partido-card {
  background: #fff;
  border-radius: var(--mundial-radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
  padding: 20px;
  border: 1px solid #e8ecef;
  transition: box-shadow .25s, transform .25s;
}

.cl26-partido-card:hover {
  box-shadow: 0 8px 32px rgba(0, 102, 68, .15);
  transform: translateY(-3px);
}

/* Dark context card (inside cl26-archive-page) */
.cl26-archive-page .cl26-partido-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  color: #f1f5f9;
}

.cl26-archive-page .cl26-partido-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.cl26-archive-page .cl26-equipo-nombre {
  color: #f1f5f9;
}

.cl26-archive-page .cl26-partido-info {
  color: rgba(255, 255, 255, 0.5);
}

.cl26-equipo {
  min-width: 88px;
  text-align: center;
}

.cl26-partido-card[data-estado="en_vivo"] {
  border-color: var(--mundial-red);
  box-shadow: 0 0 0 2px rgba(209, 32, 47, .2), 0 4px 16px rgba(0, 0, 0, .1);
}

/* Badges */
.cl26-badge-finished {
  background-color: #166534;
  color: #bbf7d0;
  font-weight: 700;
  font-size: .75rem;
  border-radius: 6px;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cl26-bandera {
  font-size: 2.5rem;
  line-height: 1.1;
  display: block;
}

.cl26-equipo-nombre {
  font-weight: 700;
  font-size: .9rem;
  margin-top: 6px;
  color: #1a1a2e;
}

.cl26-score-display {
  font-size: 2.2rem;
  font-weight: 900;
  color: #1a1a2e;
  font-variant-numeric: tabular-nums;
  letter-spacing: 2px;
}

.cl26-score-vs {
  font-size: 1.3rem;
  font-weight: 700;
  color: #bbb;
}

.cl26-live-badge {
  font-size: .72rem;
  font-weight: 800;
  background: var(--mundial-red);
  color: #fff !important;
  border-radius: 20px;
  padding: 6px 8px;
  animation: cl26-pulsebg 1.5s ease infinite;
}

@keyframes cl26-pulsebg {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .65;
  }
}

.cl26-grupo-badge {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--mundial-green);
}

.cl26-match-fecha {
  font-size: .75rem;
  color: #888;
}

/* ================================================================
   Mini Card (Home Grid)
   ================================================================ */
.cl26-partido-mini {
  background: var(--mundial-card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--mundial-radius);
  padding: 16px;
  display: block;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.cl26-partido-mini:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--mundial-gold);
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.cl26-partido-mini[data-estado="en_vivo"]::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--mundial-red);
  box-shadow: 0 0 10px var(--mundial-red);
}

.cl26-partido-mini .cl26-score-display {
  font-size: 1.5rem;
  color: var(--mundial-gold);
  text-shadow: 0 0 10px rgba(191, 156, 87, 0.3);
}

.cl26-partido-mini .cl26-bandera {
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  transition: transform .3s;
}

.cl26-partido-mini:hover .cl26-bandera {
  transform: scale(1.1) rotate(5deg);
}

/* ================================================================
   Single Match — Hero
   ================================================================ */
.cl26-partido-hero {
  position: relative;
  overflow: hidden;
}

.cl26-match-team {
  min-width: 110px;
}

/* Custom badge for 'Programado' — High contrast (WCAG AA) */
.cl26-badge-scheduled {
  background-color: #334155;
  color: #ffffff;
  font-weight: 700;
  font-size: .75rem;
  border-radius: 6px;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Unified button for match cards */
.btn-cl26-match {
  background: transparent;
  border: 2px solid var(--mundial-gold);
  color: var(--mundial-gold);
  border-radius: 8px;
  font-weight: 700;
  font-size: .8rem;
  padding: 7px 18px;
  transition: all .2s;
  text-decoration: none;
  display: inline-block;
}

.btn-cl26-match:hover {
  background: var(--mundial-gold);
  color: #fff;
}

.cl26-single-section {
  background: var(--mundial-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--mundial-border);
  border-radius: var(--mundial-radius);
  padding: 24px;
  color: #fff;
  margin-bottom: 24px;
}

.cl26-single-section h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--mundial-gold);
  border-bottom: 1px solid var(--mundial-border);
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cl26-single-section table {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
}

.cl26-single-section table th {
  padding: 8px 0;
  width: 120px;
  color: rgba(255, 255, 255, 0.5) !important;
}

.cl26-single-section table td {
  padding: 8px 0;
  color: #fff !important;
  font-weight: 500;
}

.cl26-section-title {
  color: var(--mundial-gold) !important;
}

.cl26-countdown-units {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.cl26-countdown-unit {
  background: rgba(255, 255, 255, .1);
  border-radius: 10px;
  padding: 10px 14px;
  min-width: 64px;
  text-align: center;
}

/* Bug #2 Fix: countdown always white text regardless of parent background */
.cl26-countdown-banner,
.cl26-countdown-compact {
  color: #fff;
}

.cl26-countdown-title {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4px;
}

.cl26-countdown-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--mundial-gold);
  font-variant-numeric: tabular-nums;
}

.cl26-countdown-label {
  display: block;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
  font-weight: 600;
}

.cl26-countdown-sep {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--mundial-gold);
  opacity: .6;
  line-height: 1;
}

.cl26-mundial-logos {
  font-size: 1.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

/* Countdown divider */
.cl26-countdown-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mundial-gold), transparent);
  margin: 12px auto;
  opacity: 0.4;
}

/* Countdown compact variant (inside hero) */
.cl26-countdown-compact {
  text-align: left;
}

.cl26-countdown-compact .cl26-countdown-title--compact {
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.cl26-countdown-compact .cl26-countdown-number {
  font-size: 2.4rem;
}

.cl26-countdown-compact .cl26-mundial-logos {
  justify-content: flex-start;
}

/* Sidebar 'Más Partidos' link hover */
.cl26-single-section a.d-flex {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  transition: background .15s;
  border-radius: 4px;
  padding-left: 4px;
  padding-right: 4px;
  color: rgba(255, 255, 255, 0.8);
}

.cl26-single-section a.d-flex:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

/* ================================================================
   Tabla de Posiciones
   ================================================================ */
.cl26-tabla-posiciones .table thead th {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--mundial-green);
  border-bottom: 2px solid var(--mundial-green);
}

.cl26-tabla-posiciones .table td {
  font-size: .85rem;
  vertical-align: middle;
}

.cl26-tabla-posiciones .table .first-col {
  font-weight: 700;
}

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 576px) {
  .cl26-bandera {
    font-size: 2rem;
  }

  .cl26-score-display {
    font-size: 1.8rem;
  }

  .cl26-countdown-number {
    font-size: 1.5rem;
  }

  .cl26-countdown-unit {
    min-width: 52px;
    padding: 8px 10px;
  }
}

/* ================================================================
   Match Card — Live / Finished States (v2.3)
   ================================================================ */
.cl26-partido-mini,
.cl26-partido-card {
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.cl26-partido-mini.is-live,
.cl26-partido-card.is-live {
  border-color: var(--mundial-red) !important;
  box-shadow: 0 0 18px rgba(209, 32, 47, 0.35);
}

.cl26-partido-mini.is-finished,
.cl26-partido-card.is-finished {
  border-color: rgba(255,255,255,0.08) !important;
  opacity: 0.75;
}

/* Status badge */
.cl26-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  line-height: 1;
}

.cl26-status-badge--live {
  background: var(--mundial-red);
  color: #fff;
  animation: pulseLive 1.5s ease-in-out infinite;
}

.cl26-status-badge--live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulseDot 1.5s ease-in-out infinite;
}

.cl26-status-badge--finished {
  background: rgba(255,255,255,0.08);
  color: #94a3b8;
}

.cl26-status-badge--scheduled {
  background: rgba(191,156,87,0.15);
  color: var(--mundial-gold-light);
}

@keyframes pulseLive {
  0%, 100% { box-shadow: 0 0 0 0 rgba(209,32,47,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(209,32,47,0); }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ================================================================
   Info Box
   ================================================================ */
.cl26-info-box {
  background: var(--mundial-glass);
  border: 1px solid var(--mundial-border);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.cl26-info-box__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mundial-gold-light);
  margin-bottom: 4px;
}

/* ================================================================
   Player H2H Section
   ================================================================ */
.cl26-h2h-section {
  background: linear-gradient(135deg, #16263a 0%, #0f172a 100%);
  border: 1px solid rgba(191,156,87,0.2);
  border-radius: var(--mundial-radius);
  padding: 2rem 1.5rem;
  margin: 2rem 0;
}

.cl26-h2h-section__title {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mundial-gold-light);
  margin-bottom: 1.5rem;
}

.cl26-h2h-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.cl26-h2h-player {
  text-align: center;
}

.cl26-h2h-player__name {
  font-size: 1rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.25rem;
}

.cl26-h2h-player__team {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mundial-gold-light);
  margin-bottom: 0.75rem;
}

.cl26-h2h-player__stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cl26-h2h-player__stats li {
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.8rem;
  color: #cbd5e1;
  display: flex;
  justify-content: space-between;
}

.cl26-h2h-player__stats li strong {
  color: #f1f5f9;
}

.cl26-h2h-vs {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--mundial-gold);
  text-align: center;
}

/* ================================================================
   Sidebar Standings — Groups A & B
   ================================================================ */
.cl26-sidebar-standings {
  background: var(--mundial-navy);
  border: 1px solid var(--mundial-border);
  border-radius: var(--mundial-radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.cl26-sidebar-standings__header {
  background: linear-gradient(90deg, #0a0f1e 0%, #16263a 100%);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--mundial-border);
}

.cl26-sidebar-standings__header span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mundial-gold-light);
}

.cl26-sidebar-standings__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
}

.cl26-sidebar-standings__table th {
  padding: 6px 10px;
  text-align: left;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cl26-sidebar-standings__table th:not(:first-child),
.cl26-sidebar-standings__table td:not(:first-child) {
  text-align: center;
}

.cl26-sidebar-standings__table td {
  padding: 7px 10px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.cl26-sidebar-standings__table tr:last-child td {
  border-bottom: none;
}

.cl26-sidebar-standings__table tr:hover td {
  background: rgba(255,255,255,0.03);
}

.cl26-sidebar-standings__pts {
  color: var(--mundial-gold-light) !important;
  font-weight: 700;
}

.cl26-sidebar-standings__footer {
  padding: 8px 14px;
  text-align: right;
  border-top: 1px solid var(--mundial-border);
}

.cl26-sidebar-standings__footer a {
  font-size: 0.65rem;
  color: var(--mundial-gold-light);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.cl26-sidebar-standings__footer a:hover {
  color: #fff;
}

/* ================================================================
   Ticker — Motivational Text Pill
   ================================================================ */
.cl26-ticker-motivational {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, rgba(191,156,87,0.18) 0%, rgba(191,156,87,0.06) 100%);
  border: 1px solid rgba(191,156,87,0.3);
  border-radius: 20px;
  padding: 2px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--mundial-gold-light);
  white-space: nowrap;
  margin: 0 16px;
}

.cl26-ticker-motivational::before {
  content: '⚽';
  font-size: 0.8rem;
}

/* ================================================================
   Sidebar Publi — Premium Cards
   ================================================================ */
.cl26-publi-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--mundial-glass);
  border: 1px solid var(--mundial-border);
  border-radius: 12px;
  padding: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, transform 0.25s;
  margin-bottom: 10px;
}

.cl26-publi-card:hover {
  border-color: rgba(191,156,87,0.4);
  transform: translateY(-2px);
}

.cl26-publi-card__thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.cl26-publi-card__body {
  flex: 1;
  min-width: 0;
}

.cl26-publi-card__tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mundial-gold-light);
  margin-bottom: 3px;
}

.cl26-publi-card__title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================================================================
   v3.3 — SCOREBOARD BAR (partidos de hoy — scroll horizontal)
   ================================================================ */
.cl26-scoreboard-bar {
  background: #060d1a;
  border-bottom: 2px solid var(--mundial-gold);
  z-index: 100;
  overflow: hidden;
}
.cl26-scoreboard-bar__inner {
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  max-width: 1320px;
  margin: 0 auto;
}
.cl26-scoreboard-bar__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--mundial-gold);
  text-transform: uppercase;
  white-space: nowrap;
  padding: 10px 0;
}
.cl26-scoreboard-bar__dot {
  width: 7px; height: 7px;
  background: #ef4444;
  border-radius: 50%;
  animation: cl26-pulse 1.2s ease-in-out infinite;
}
.cl26-scoreboard-bar__scroll {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 6px 0;
  flex: 1;
}
.cl26-scoreboard-bar__scroll::-webkit-scrollbar { display: none; }

.cl26-scoreboard-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  text-decoration: none;
  color: #cbd5e1;
  white-space: nowrap;
  font-size: 12px;
  transition: background .2s, border-color .2s;
  min-width: max-content;
}
.cl26-scoreboard-card:hover { background: rgba(191,156,87,.12); border-color: var(--mundial-gold); color: #fff; }
.cl26-scoreboard-card--live { border-color: rgba(239,68,68,.5); background: rgba(239,68,68,.06); }
.cl26-scoreboard-card__team { display: flex; align-items: center; gap: 5px; }
.cl26-scoreboard-card__score {
  display: flex; align-items: center; gap: 3px;
  font-weight: 800; font-size: 14px; color: #f1f5f9;
  padding: 0 6px;
}
.cl26-scoreboard-card__sep { color: #475569; font-size: 12px; }
.cl26-scoreboard-card__live-dot {
  width: 6px; height: 6px; background: #ef4444;
  border-radius: 50%; animation: cl26-pulse 1s ease-in-out infinite;
}
.cl26-scoreboard-card__ft {
  font-size: 9px; font-weight: 700; color: #64748b;
  text-transform: uppercase; letter-spacing: 1px;
}

/* ================================================================
   v3.3 — MATCH ROWS (Filas horizontales estilo FIFA.com)
   ================================================================ */
/* ============================================================
   DATE HEADER — Premium mockup
   ============================================================ */
.cl26-match-date-header {
  margin: 20px 0 8px;
  padding: 0;
}
.cl26-match-date-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #0f172a;
  border-left: 5px solid #BF9C57;
  border-radius: 0 6px 6px 0;
}
.cl26-match-date-header--today .cl26-match-date-header__inner {
  background: rgba(239,68,68,.08);
  border-left-color: #ef4444;
}
.cl26-match-date-header__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #BF9C57;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cl26-match-date-header__count {
  font-size: 11px;
  color: #64748b;
}
.cl26-today-tag {
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 2px 7px;
  border-radius: 4px;
  vertical-align: middle;
}

/* ============================================================
   MATCH ROWS — Premium mockup
   ============================================================ */
.cl26-match-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

/* --- Animación de entrada --- */
@keyframes cl26-slide-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cl26-match-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  gap: 0 12px;
  padding: 16px 20px;
  background: #1a2035;
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid #BF9C57;
  border-radius: 12px;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
  position: relative;
  /* Animación de entrada */
  animation: cl26-slide-in 0.3s ease forwards;
  opacity: 0;
}

/* Delays escalonados por posición */
.cl26-match-row:nth-child(1) { animation-delay: 0s; }
.cl26-match-row:nth-child(2) { animation-delay: 0.05s; }
.cl26-match-row:nth-child(3) { animation-delay: 0.10s; }
.cl26-match-row:nth-child(4) { animation-delay: 0.15s; }
.cl26-match-row:nth-child(5) { animation-delay: 0.20s; }

.cl26-match-row:hover {
  background: #1e2d4a;
  border-left-color: #d4af71;
  transform: translateX(4px);
}
.cl26-match-row--live {
  border-left-color: #ef4444;
  background: rgba(239,68,68,.06);
}
.cl26-match-row--live::before {
  content: none; /* Ya usamos border-left, no pseudo-elemento */
}

/* --- Teams --- */
.cl26-match-row__team {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #e2e8f0;
  min-width: 0;
}
.cl26-match-row__team--home {
  justify-content: flex-end;
}
.cl26-match-row__team--away {
  justify-content: flex-start;
}
.cl26-match-row__team-name {
  font-weight: 700;
  font-size: 16px;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}
.cl26-match-row__flag {
  width: 36px;
  height: 24px;
  border-radius: 3px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* --- Score / Time block --- */
.cl26-match-row__score-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  padding: 0 16px;
  text-decoration: none;
}
.cl26-match-row__score {
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -1px;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cl26-match-row__score--live { color: #fbbf24; }
.cl26-match-row__score-sep { color: #475569; font-weight: 400; }
.cl26-match-row__hora {
  font-size: 22px;
  font-weight: 900;
  color: #BF9C57;
  letter-spacing: -0.5px;
  line-height: 1;
}
.cl26-match-row__minuto {
  font-size: 10px;
  font-weight: 700;
  color: #ef4444;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.cl26-match-row__info {
  font-size: 10px;
  color: #475569;
  text-align: center;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
}

/* --- Status + chevron --- */
.cl26-match-row__status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 12px;
  min-width: 90px;
  justify-content: flex-end;
}
.cl26-match-row__detail-link {
  color: #334155;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color .2s;
}
.cl26-match-row:hover .cl26-match-row__detail-link { color: #d4af71; }

/* --- Badges --- */
.cl26-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
}
.cl26-badge--live      { background: rgba(239,68,68,.15);    color: #ef4444;  border: 1px solid rgba(239,68,68,.3); }
.cl26-badge--final     { background: rgba(100,116,139,.12);  color: #94a3b8;  border: 1px solid rgba(100,116,139,.2); }
.cl26-badge--ht        { background: rgba(251,191,36,.1);    color: #fbbf24;  border: 1px solid rgba(251,191,36,.25); }
.cl26-badge--postponed { background: rgba(124,58,237,.1);    color: #a78bfa;  border: 1px solid rgba(124,58,237,.2); }
.cl26-badge__dot {
  width: 6px;
  height: 6px;
  background: #ef4444;
  border-radius: 50%;
  animation: cl26-pulse 1s ease-in-out infinite;
}

/* Ad inline */
.cl26-native-ad-inline {
  padding: 12px 0;
  background: rgba(255,255,255,0.01);
  border: 1px dashed rgba(255,255,255,0.06);
  border-radius: 8px;
  margin: 8px 0;
}

/* ================================================================
   v3.3 — SECCIÓN "QUÉ HACER EN GDL"
   ================================================================ */
.cl26-gdl-events-section {
  background: #111827;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.cl26-gdl-events__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mundial-gold);
  margin-bottom: 8px;
}
.cl26-gdl-events__title {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #f1f5f9;
  line-height: 1.2;
  margin: 0 0 10px;
}
.cl26-gdl-events__title-accent { color: var(--mundial-gold); }
.cl26-gdl-events__sub {
  font-size: 14px;
  color: #94a3b8;
  max-width: 560px;
  margin: 0;
}
.cl26-gdl-events__ver-mas {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mundial-gold);
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 16px;
  border: 1px solid rgba(191,156,87,.3);
  border-radius: 8px;
  transition: background .2s, border-color .2s;
}
.cl26-gdl-events__ver-mas:hover {
  background: rgba(191,156,87,.1);
  border-color: var(--mundial-gold);
}

/* Grid de eventos: 2 cols + 1 grande al inicio */
.cl26-gdl-events__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.cl26-gdl-events__grid > article:first-child {
  grid-column: 1 / -1; /* primera card full width */
  flex-direction: row;
}
@media (min-width: 768px) {
  .cl26-gdl-events__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cl26-gdl-events__grid > article:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 300px 1fr;
  }
}

/* Event Card */
.cl26-gdl-event-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.cl26-gdl-event-card:hover {
  transform: translateY(-3px);
  border-color: rgba(191,156,87,.35);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
}

.cl26-gdl-event-card__img {
  height: 160px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 12px;
}
.cl26-gdl-event-card__img--fallback {
  background: linear-gradient(135deg, rgba(191,156,87,.15) 0%, rgba(15,23,42,.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cl26-gdl-event-card__img--no-photo {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}
.cl26-gdl-event-card__icon {
  font-size: 3.5rem;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
}
.cl26-gdl-event-card__tipo {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--mundial-gold);
  color: #000;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}

.cl26-gdl-event-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.cl26-gdl-event-card__title {
  font-size: 14px;
  font-weight: 800;
  color: #f1f5f9;
  margin: 0;
  line-height: 1.3;
}
.cl26-gdl-event-card__desc {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
  flex: 1;
}
.cl26-gdl-event-card__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11px;
  color: #64748b;
}
.cl26-gdl-event-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--mundial-gold);
  text-decoration: none;
  margin-top: auto;
  transition: gap .2s;
}
.cl26-gdl-event-card:hover .cl26-gdl-event-card__cta { gap: 7px; }

/* CTA Banner editorial */
.cl26-gdl-events__cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(191,156,87,.12) 0%, rgba(15,23,42,.4) 100%);
  border: 1px solid rgba(191,156,87,.25);
  border-radius: 14px;
  flex-wrap: wrap;
}
.cl26-gdl-events__cta-content {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 28px;
}
.cl26-gdl-events__cta-content div strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 4px;
}
.cl26-gdl-events__cta-content div p {
  margin: 0;
  font-size: 13px;
  color: #94a3b8;
}
.cl26-gdl-events__cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--mundial-gold);
  color: #000;
  font-weight: 800;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, transform .15s;
}
.cl26-gdl-events__cta-btn:hover {
  background: #d4af71;
  transform: translateY(-1px);
  color: #000;
}

/* Responsive */
@media (max-width: 767px) {
  .cl26-match-row {
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
  }
  .cl26-match-row__status { display: none; }
  .cl26-match-row__team-name { font-size: 12px; max-width: 100px; }
  .cl26-match-row__score { font-size: 20px; }
  .cl26-gdl-events__grid { grid-template-columns: 1fr; }
  .cl26-gdl-events__grid > article:first-child { grid-column: 1; }
  .cl26-gdl-events__header { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BLOQUES DE PARTIDO — Templates Gutenberg (Diseño Pixel)
   Fase 1 + 2 — Estadísticas, Alineaciones, Eventos, Predicciones
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Shared section base ──────────────────────────────────────────────── */
.reuny-match-stats,
.reuny-match-lineups,
.reuny-match-events,
.reuny-match-predictions {
  background: #111827;
  border-radius: 14px;
  padding: 24px;
  margin: 24px 0;
  font-family: 'Inter', system-ui, sans-serif;
}

/* ─── Empty / loading state ────────────────────────────────────────────── */
.reuny-match-stats__empty,
.reuny-match-lineups__empty,
.reuny-match-events__empty,
.reuny-match-predictions__empty,
.reuny-block-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 20px;
  color: rgba(255,255,255,0.35);
  font-size: 13px;
  text-align: center;
}
.reuny-match-stats__empty span,
.reuny-match-lineups__empty span,
.reuny-match-events__empty span,
.reuny-match-predictions__empty span { font-size: 2rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   ESTADÍSTICAS DEL PARTIDO
   ═══════════════════════════════════════════════════════════════════════════ */
.reuny-match-stats__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.reuny-match-stats__team {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f1f5f9;
  font-weight: 700;
  font-size: 15px;
}
.reuny-match-stats__team img { border-radius: 4px; }
.reuny-match-stats__team--b { flex-direction: row-reverse; }
.reuny-match-stats__label-center {
  color: #BF9C57;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.reuny-match-stats__row {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.reuny-match-stats__val {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.reuny-match-stats__val--a { text-align: right; }
.reuny-match-stats__val--b { text-align: left; }
.reuny-match-stats__val--winner { color: #22c55e; }
.reuny-match-stats__bar-wrap { width: 100%; }
.reuny-match-stats__label {
  text-align: center;
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.reuny-match-stats__bar {
  display: flex;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
}
.reuny-match-stats__bar-a {
  background: linear-gradient(90deg, #22c55e, #16a34a);
  border-radius: 3px 0 0 3px;
  transition: width 0.6s ease;
}
.reuny-match-stats__bar-b {
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  border-radius: 0 3px 3px 0;
  transition: width 0.6s ease;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ALINEACIONES DEL PARTIDO
   ═══════════════════════════════════════════════════════════════════════════ */
.reuny-match-lineups__formations {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.reuny-match-lineups__formation-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 700;
}
.reuny-match-lineups__formation-badge--b { flex-direction: row-reverse; }
.reuny-match-lineups__formation-badge img { border-radius: 3px; }
.reuny-match-lineups__formation-num {
  background: rgba(191,156,87,0.15);
  color: #BF9C57;
  font-size: 13px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(191,156,87,0.3);
}
.reuny-match-lineups__vs {
  color: rgba(255,255,255,0.25);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.reuny-match-lineups__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.reuny-match-lineups__team-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #BF9C57;
  margin-bottom: 12px;
}
.reuny-match-lineups__team--b .reuny-match-lineups__team-title { text-align: right; }
.reuny-match-lineups__players {
  list-style: none;
  padding: 0;
  margin: 0;
}
.reuny-match-lineups__player {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 13px;
}
.reuny-match-lineups__player:hover { background: rgba(255,255,255,0.03); border-radius: 6px; }
.reuny-match-lineups__team--b .reuny-match-lineups__player { flex-direction: row-reverse; }
.reuny-match-lineups__num {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  font-weight: 700;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reuny-match-lineups__name { color: #e2e8f0; flex: 1; }
.reuny-match-lineups__pos {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}
.reuny-match-lineups__pos--g  { background: rgba(234,179,8,0.2);  color: #eab308; }
.reuny-match-lineups__pos--d  { background: rgba(34,197,94,0.2);  color: #22c55e; }
.reuny-match-lineups__pos--m  { background: rgba(59,130,246,0.2); color: #3b82f6; }
.reuny-match-lineups__pos--f  { background: rgba(239,68,68,0.2);  color: #ef4444; }
.reuny-match-lineups__bench-title {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.3);
  margin: 14px 0 8px;
}
.reuny-match-lineups__players--bench .reuny-match-lineups__player { opacity: 0.65; }
.reuny-match-lineups__coaches {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.reuny-match-lineups__coach {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}
.reuny-match-lineups__coach-label {
  font-size: 10px;
  font-weight: 800;
  color: #BF9C57;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════════════════
   EVENTOS DEL PARTIDO (TIMELINE)
   ═══════════════════════════════════════════════════════════════════════════ */
.reuny-match-events__timeline { display: flex; flex-direction: column; gap: 4px; }
.reuny-match-events__event {
  display: grid;
  grid-template-columns: 40px 32px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid transparent;
  transition: background 0.2s;
}
.reuny-match-events__event:hover { background: rgba(255,255,255,0.05); }
/* Goles destacados */
.reuny-match-events__event--goal       { border-color: rgba(34,197,94,0.15); }
.reuny-match-events__event--own-goal   { border-color: rgba(239,68,68,0.15); }
.reuny-match-events__event--penalty    { border-color: rgba(234,179,8,0.15); }
.reuny-match-events__event--card       { border-color: rgba(255,255,255,0.06); }
.reuny-match-events__event--var        { border-color: rgba(99,179,237,0.15); }
/* Partido en casa a la izquierda, visitante a la derecha */
.reuny-match-events__event--away { direction: rtl; }
.reuny-match-events__event--away .reuny-match-events__info { direction: ltr; text-align: right; }
.reuny-match-events__minute {
  font-size: 12px;
  font-weight: 800;
  color: #BF9C57;
  text-align: right;
}
.reuny-match-events__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.reuny-match-events__info { display: flex; flex-direction: column; gap: 1px; }
.reuny-match-events__type-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.8px;
}
.reuny-match-events__player { font-size: 14px; font-weight: 700; color: #f1f5f9; }
.reuny-match-events__assist { font-size: 11px; color: rgba(255,255,255,0.45); }
.reuny-match-events__comment { font-size: 11px; color: #BF9C57; font-style: italic; }
.reuny-match-events__team-name { font-size: 11px; color: rgba(255,255,255,0.25); text-align: right; }

/* ═══════════════════════════════════════════════════════════════════════════
   PREDICCIONES DEL PARTIDO
   ═══════════════════════════════════════════════════════════════════════════ */
.reuny-match-predictions__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.reuny-match-predictions__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
}
.reuny-match-predictions__team img { border-radius: 6px; }
.reuny-match-predictions__team--away { align-items: flex-end; }
.reuny-match-predictions__score-pred { text-align: center; }
.reuny-match-predictions__score-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.reuny-match-predictions__score-value {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: #BF9C57;
  letter-spacing: 2px;
}
/* Barras de probabilidad */
.reuny-match-predictions__odds { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.reuny-match-predictions__odd { display: grid; grid-template-columns: 64px 1fr 40px; align-items: center; gap: 10px; }
.reuny-match-predictions__odd-label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.55); }
.reuny-match-predictions__odd-bar-wrap { background: rgba(255,255,255,0.06); border-radius: 4px; height: 8px; overflow: hidden; }
.reuny-match-predictions__odd--home .reuny-match-predictions__odd-bar { background: linear-gradient(90deg,#22c55e,#16a34a); height: 100%; border-radius: 4px; transition: width 0.7s ease; }
.reuny-match-predictions__odd--draw .reuny-match-predictions__odd-bar  { background: linear-gradient(90deg,#f59e0b,#d97706); height: 100%; border-radius: 4px; transition: width 0.7s ease; }
.reuny-match-predictions__odd--away .reuny-match-predictions__odd-bar { background: linear-gradient(90deg,#3b82f6,#1d4ed8); height: 100%; border-radius: 4px; transition: width 0.7s ease; }
.reuny-match-predictions__odd-pct { font-size: 13px; font-weight: 800; color: #f1f5f9; text-align: right; }
/* Consejo */
.reuny-match-predictions__advice {
  background: rgba(191,156,87,0.08);
  border: 1px solid rgba(191,156,87,0.2);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #e2e8f0;
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
/* Tabla comparativa */
.reuny-match-predictions__comparison { margin-top: 20px; }
.reuny-match-predictions__comp-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 12px;
}
.reuny-match-predictions__comp-row {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.reuny-match-predictions__comp-val {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-align: center;
}
.reuny-match-predictions__comp-val.stronger { color: #22c55e; }
.reuny-match-predictions__comp-bar-wrap { }
.reuny-match-predictions__comp-label {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.reuny-match-predictions__comp-bar {
  display: flex;
  height: 5px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
}
.reuny-match-predictions__comp-bar-h {
  background: linear-gradient(90deg,#22c55e,#16a34a);
  transition: width 0.7s ease;
}
.reuny-match-predictions__comp-bar-a {
  background: linear-gradient(90deg,#3b82f6,#1d4ed8);
  transition: width 0.7s ease;
}
.reuny-match-predictions__winner {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 8px;
  font-size: 14px;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .reuny-match-lineups__grid { grid-template-columns: 1fr; }
  .reuny-match-predictions__header { flex-direction: column; gap: 16px; }
  .reuny-match-stats__row { grid-template-columns: 36px 1fr 36px; }
  .reuny-match-events__event { grid-template-columns: 32px 28px 1fr; }
  .reuny-match-events__team-name { display: none; }
}