/* FULBO 2.76 — Tablas fluidas en móvil + contraste real en Retro.
   Pantallas compactas como en la referencia: # Equipo PTS J GOL +/- G E P.
   Escritorio conserva sus 10 columnas originales. */
.fulbo-compact-standings{display:none!important}
@media (max-width:760px){
 /* No hay carril de desplazamiento horizontal: toda la información cabe en
    la anchura disponible, combinando GF:GC en una columna GOL. */
 .main-content .standings-swipe-hint{display:none!important}
 .main-content .standings-section,
 .main-content .arg-group-board,
 .main-content .arg-dual-column,
 .main-content .arg-stats-panel{min-width:0!important;max-width:100%!important}
 .main-content .standings-section .standings-scroll,
 .main-content .arg-group-board .standings-scroll,
 .main-content .league-tables-fixture-layout .standings-scroll,
 .main-content .arg-dual-column .arg-scroll,
 .main-content .arg-combined .arg-scroll{
  display:block!important;width:100%!important;max-width:100%!important;
  min-width:0!important;overflow-x:hidden!important;overflow-y:visible!important
 }
 .main-content .standings-scroll>table.standings-table,
 .main-content .arg-dual-column .arg-scroll>table.arg-table,
 .main-content .arg-combined .arg-scroll>table.arg-table{
  display:none!important
 }
 .main-content .standings-scroll>table.fulbo-compact-standings,
 .main-content .arg-scroll>table.fulbo-compact-standings{
  display:table!important;box-sizing:border-box!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  margin:0!important;table-layout:fixed!important;border-collapse:collapse!important;
  border-spacing:0!important;white-space:normal!important;
  font-variant-numeric:tabular-nums
 }
 .main-content table.fulbo-compact-standings th,
 .main-content table.fulbo-compact-standings td{
  display:table-cell!important;box-sizing:border-box!important;
  min-width:0!important;max-width:none!important;
  width:auto!important;padding:9px 1px!important;
  text-align:center!important;vertical-align:middle!important;
  font-size:clamp(9px,2.65vw,11.2px)!important;
  line-height:1.2!important;white-space:nowrap!important;
  color:var(--ink,#e6eef4);border-top:1px solid var(--line,#293d49);
 }
 .main-content table.fulbo-compact-standings thead th{
  padding:10px 1px!important;font-size:clamp(8.5px,2.5vw,10.5px)!important;
  font-weight:800!important;text-transform:uppercase;
  background:var(--panel2,#1c2933)!important;color:var(--muted,#b8cad3)!important
 }
 .main-content table.fulbo-compact-standings tr:nth-child(even) td{
  background:var(--panel2,#1b2933)
 }
 .main-content table.fulbo-compact-standings tr:nth-child(odd) td{
  background:var(--panel,#111e29)
 }
 /* Los anchos están expresados en %: no se produce overflow aun a 320px. */
 .main-content table.fulbo-compact-standings :is(th,td):nth-child(1){width:7%!important}
 .main-content table.fulbo-compact-standings :is(th,td):nth-child(2){width:32%!important}
 .main-content table.fulbo-compact-standings :is(th,td):nth-child(3){width:9%!important}
 .main-content table.fulbo-compact-standings :is(th,td):nth-child(4){width:7%!important}
 .main-content table.fulbo-compact-standings :is(th,td):nth-child(5){width:13%!important}
 .main-content table.fulbo-compact-standings :is(th,td):nth-child(6){width:8%!important}
 .main-content table.fulbo-compact-standings :is(th,td):nth-child(n+7){width:8%!important}
 .main-content table.fulbo-compact-standings td.compact-team,
 .main-content table.fulbo-compact-standings th:nth-child(2){
  text-align:left!important;padding-left:3px!important;padding-right:2px!important;
  white-space:normal!important
 }
 .main-content table.fulbo-compact-standings td.compact-team{
  overflow-wrap:anywhere!important;hyphens:auto
 }
 .main-content table.fulbo-compact-standings .v2-team-cell,
 .main-content table.fulbo-compact-standings .table-team,
 .main-content table.fulbo-compact-standings .arg-team-title{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  min-width:0!important;max-width:100%!important;width:100%!important;
  padding:0!important;margin:0!important;gap:4px!important;
  background:none!important;border:0!important;color:inherit!important;
  text-align:left!important;white-space:normal!important;
  box-shadow:none!important;
 }
 .main-content table.fulbo-compact-standings .v2-team-cell span,
 .main-content table.fulbo-compact-standings .table-team strong,
 .main-content table.fulbo-compact-standings .arg-team-title span{
  display:block!important;flex:1 1 auto!important;
  min-width:0!important;max-width:100%!important;
  font-size:clamp(9px,2.72vw,11.5px)!important;
  line-height:1.19!important;font-weight:800!important;
  white-space:normal!important;word-break:normal!important;
  overflow-wrap:break-word!important;text-overflow:clip!important;overflow:visible!important
 }
 .main-content table.fulbo-compact-standings :is(.tiny-crest,.tiny-crest-fallback,img){
  width:clamp(14px,4.3vw,19px)!important;
  height:clamp(14px,4.3vw,19px)!important;
  min-width:clamp(14px,4.3vw,19px)!important;
  flex:0 0 clamp(14px,4.3vw,19px)!important;
  object-fit:contain
 }
 .main-content table.fulbo-compact-standings .table-rank{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:min(19px,100%)!important;min-width:0!important;height:22px!important;
  padding:0!important;margin:0!important;font-size:10px!important;
  line-height:1!important;box-sizing:border-box
 }
 .main-content table.fulbo-compact-standings td.pts,
 .main-content table.fulbo-compact-standings td.arg-points{
  color:var(--accent,#a6e570)!important;font-weight:900!important;
  font-size:clamp(10px,2.9vw,12px)!important;
 }
 .main-content table.fulbo-compact-standings .compact-goals{
  white-space:nowrap!important;font-variant-numeric:tabular-nums;
  letter-spacing:-.4px;font-weight:700
 }
 .main-content table.fulbo-compact-standings .compact-diff{
  font-weight:700;letter-spacing:-.25px
 }
 .main-content table.fulbo-compact-standings .live-standing-badge{
  display:inline-block!important;max-width:100%;margin:2px 0 0!important;
  font-size:8px!important;white-space:normal!important;
 }
 .main-content table.fulbo-compact-standings .arg-relegation-label{
  display:block!important;white-space:normal!important;font-size:8px!important;
  line-height:1.2;max-width:100%
 }
 /* La tabla de promedios tiene ocho columnas en lugar de nueve. */
 .main-content table.fulbo-compact-averages :is(th,td):nth-child(1){width:7%!important}
 .main-content table.fulbo-compact-averages :is(th,td):nth-child(2){width:35%!important}
 .main-content table.fulbo-compact-averages :is(th,td):nth-child(3){width:12%!important}
 .main-content table.fulbo-compact-averages :is(th,td):nth-child(4){width:8%!important}
 .main-content table.fulbo-compact-averages :is(th,td):nth-child(5){width:9%!important}
 .main-content table.fulbo-compact-averages :is(th,td):nth-child(n+6){width:9.66%!important}
 .main-content table.fulbo-compact-averages td.compact-average{
  font-size:clamp(8.5px,2.5vw,10px)!important;letter-spacing:-.3px!important
 }
 html[data-visual="pcf5"] .main-content table.fulbo-compact-standings tbody td{
  background:#eef3fc!important;color:#22395f!important;border-color:#a2b4d2!important
 }
 html[data-visual="pcf5"] .main-content table.fulbo-compact-standings tbody tr:nth-child(even) td{
  background:#dfe8f8!important
 }
 html[data-visual="pcf5"] .main-content table.fulbo-compact-standings thead th{
  background:linear-gradient(180deg,#7895c6,#334b86)!important;
  color:#fff!important;border-color:#a2b4d2!important
 }
 html[data-visual="pcf5"] .main-content table.fulbo-compact-standings td.pts{
  color:#214d97!important
 }
 html[data-visual="classic"][data-theme="light"] .main-content table.fulbo-compact-standings tbody td{
  background:#fff!important;color:#223c2d!important;border-color:#d8e4da!important
 }
 html[data-visual="classic"][data-theme="light"] .main-content table.fulbo-compact-standings tbody tr:nth-child(even) td{
  background:#edf4ef!important
 }
 html[data-visual="classic"][data-theme="light"] .main-content table.fulbo-compact-standings thead th{
  background:#e5eee8!important;color:#32553d!important
 }
 html[data-visual="classic"][data-theme="light"] .main-content table.fulbo-compact-standings td.pts{
  color:#18753d!important
 }
}
@media(max-width:360px){
 .main-content .standings-section .standings-head{padding:10px 6px!important}
 .main-content .arg-group-board .standings-head{padding:10px 6px!important}
 .main-content table.fulbo-compact-standings td,
 .main-content table.fulbo-compact-standings th{padding-inline:0!important;letter-spacing:-.16px!important}
 .main-content table.fulbo-compact-standings :is(th,td):nth-child(2){width:31%!important}
 .main-content table.fulbo-compact-standings :is(th,td):nth-child(5){width:14%!important}
}

/* FULBO 2.76 — Retro: reparar colores heredados de vistas oscuras en paneles
   claros y eliminar textos claros que resultan ilegibles. */
html[data-visual="pcf5"] :is(.empty,.compact-empty,.fixture-no-games){
 background:linear-gradient(135deg,#eaf1fb,#d4e0f2)!important;
 color:#263d67!important;border:2px ridge #bdcde4!important;
 border-radius:5px!important;box-shadow:inset 1px 1px #fff!important;
 text-shadow:none!important;
}
html[data-visual="pcf5"] :is(.empty,.compact-empty,.fixture-no-games) :is(h2,h3,h4,strong){
 color:#193a70!important;text-shadow:none!important;
 -webkit-text-stroke:0!important;
}
html[data-visual="pcf5"] :is(.empty,.compact-empty,.fixture-no-games) p{
 color:#344b71!important;text-shadow:none!important;
 opacity:1!important;-webkit-text-stroke:0!important
}
html[data-visual="pcf5"] :is(.rail-loading,.data-clarification){
 color:#344b70!important;background:#e5edf9!important;
 border-color:#a7bad5!important;text-shadow:none!important;
}
html[data-visual="pcf5"] .profile-dialog{
 background:linear-gradient(#edf3ff,#dce6f6)!important;
 color:#1e355b!important
}
html[data-visual="pcf5"] .profile-dialog .v2-feature-box{
 background:linear-gradient(135deg,#ecf3ff,#d2e1f8)!important;
 border:2px ridge #a4b8d7!important;color:#1c365d!important;
 box-shadow:inset 1px 1px #fff!important
}
html[data-visual="pcf5"] .profile-dialog .v2-feature-box :is(h3,strong,p,.section-kicker){
 color:#1e3967!important;text-shadow:none!important;
 -webkit-text-stroke:0!important;opacity:1!important
}
html[data-visual="pcf5"] .profile-dialog .v2-feature-box h3{
 overflow-wrap:anywhere!important;font-size:clamp(15px,3.5vw,21px)!important;
 line-height:1.35!important
}
html[data-visual="pcf5"] .profile-dialog :is(.profile-form label,.club-choice,.data-clarification){
 color:#273e68!important;text-shadow:none!important
}
html[data-visual="pcf5"] .profile-dialog :is(input,select,textarea){
 background:#fff!important;color:#1d3256!important;
 -webkit-text-fill-color:#1d3256!important;
 border:1px solid #8aa1c6!important;
 box-shadow:none!important;caret-color:#1a427a!important;color-scheme:light
}
html[data-visual="pcf5"] .profile-dialog :is(input,textarea)::placeholder{
 color:#64738c!important;opacity:1!important
}
html[data-visual="pcf5"] .profile-dialog select option{
 color:#1d3256!important;background:#fff!important
}
html[data-visual="pcf5"] .profile-dialog .club-choice{
 background:#f3f7ff!important;border:1px dashed #98acd0!important;
 color:#314875!important
}
html[data-visual="pcf5"] .profile-dialog .profile-club-results button{
 background:#f4f7ff!important;border:1px solid #9cb0d2!important;
 color:#243b69!important
}
html[data-visual="pcf5"] .profile-dialog .profile-club-results button small{
 color:#425b82!important
}
html[data-visual="pcf5"] .profile-dialog .v2-form-status{
 color:#243d68!important;text-shadow:none!important
}
html[data-visual="pcf5"] .sidebar :is(.league-country-count,.sidebar-bottom,.sidebar-label){
 color:#e7effe!important;text-shadow:none!important;opacity:1!important
}
html[data-visual="pcf5"] .sidebar .league-country>summary{
 color:#e8f0ff!important
}
html[data-visual="pcf5"] .league-fixture-rail .fixture-no-games{
 background:#e9f0fb!important;color:#263f6b!important
}
html[data-visual="pcf5"] .profile-dialog :is(.dialog-header,.dialog-header strong){
 color:#193362!important;text-shadow:none!important
}

/* Auditoría 2026-11-10: v275 fijaba una tabla de PC de 575px con un
   selector más específico que el display:none anterior. En móviles esa tabla
   invisible dejaba 575px de scrollWidth y recortaba las 9 columnas legibles.
   Mantener en el layout SOLO la tabla compacta, sin scroll horizontal. */
@media(max-width:760px){
 .main-content .standings-section .standings-scroll > table.standings-table{
  display:none!important;
 }
 .main-content .standings-section .standings-scroll > table.fulbo-compact-standings{
  display:table!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
 }
}
