:root{
  --fer-green-1:#0a3d2e; --fer-green-2:#10694f; --fer-gold:#ffd700;
  --fer-row-a:rgba(255,255,255,.03); --fer-row-b:rgba(255,255,255,.06);
  --fer-row-hover:rgba(30,137,104,.18); --fer-border:rgba(255,255,255,.10);
}

/* Tipografía global (se mantiene Montserrat, pero no tocamos tamaños) */
html, body, th, td { font-family:'Montserrat', Arial, sans-serif !important; }

/* ====== SKIN SOLO para tablas que NO son partido-card ====== */
table:not(.partido-card) {
  background:linear-gradient(185deg, rgba(0,15,10,.78) 0%, rgba(0,45,25,.78) 100%) !important;
  color:#fff; border-radius:16px; overflow:hidden;
  box-shadow:0 12px 30px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.04);
  border:1px solid var(--fer-border);
}

/* Encabezado */
table:not(.partido-card) thead th{
  color:var(--fer-gold);
  background:linear-gradient(90deg, var(--fer-green-1) 0%, var(--fer-green-2) 100%) !important;
  border-bottom:1px solid var(--fer-border);
}

/* Cebrado, hover, bordes de filas */
table:not(.partido-card) tbody tr:nth-child(odd)  td{ background:var(--fer-row-a) !important; }
table:not(.partido-card) tbody tr:nth-child(even) td{ background:var(--fer-row-b) !important; }
table:not(.partido-card) tbody tr:hover td{ background:var(--fer-row-hover) !important; transition:background .2s ease; }
table:not(.partido-card) tbody td{ border-bottom:1px solid rgba(255,255,255,.06); }

/* Imágenes dentro de tablas skineadas */
table:not(.partido-card) img{
  border-radius:50%;
  border:2px solid rgba(255,255,255,.10);
  box-shadow:0 2px 8px rgba(0,0,0,.35);
}

/* “Notas” debajo de tablas (solo si no son partido-card) */
table:not(.partido-card) ~ .table-note,
table:not(.partido-card) ~ span[style*="Orden de desempate"]{
  display:inline-block; border-radius:10px;
  background:linear-gradient(180deg, rgba(0,0,0,.4), rgba(0,0,0,.55));
  box-shadow:0 6px 18px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
}

/* Contenedor visual (no toca tamaños) — EXCEPTO si contiene una partido-card */
.fadeIn{ 
  border-radius:18px;
  background:linear-gradient(135deg, rgba(0,3,2,.55), rgba(0,57,30,.55));
  box-shadow:0 14px 32px rgba(0,0,0,.35);
}
/* Si adentro hay una partido-card, no aplicar el fondo del contenedor */
.fadeIn:has(> table.partido-card){
  background:transparent !important; box-shadow:none !important;
}

/* Dots de Owl */
.owl-theme .owl-dots .owl-dot span{ background:rgba(255,255,255,.25) !important; }
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span{ background:var(--fer-gold) !important; }

