/* FULBO 2.68: tablas y fixture legibles, reutilizables en TODAS las ligas.
   La hoja va al final para reemplazar los tamaños de 10-11px de 2.57/2.60.
   No crea barras de desplazamiento internas ni oculta resultados en vivo. */
.league-tables-fixture-layout{
 width:100%;max-width:1580px;gap:18px;margin-inline:auto;align-items:start
}
.league-tables-fixture-layout>.v2-section{
 padding:18px!important;border-radius:16px;min-width:0;margin:0
}
.league-tables-fixture-layout #liga-tablas .v2-header{
 justify-content:center;text-align:center;margin-bottom:20px
}
.league-tables-fixture-layout #liga-tablas .v2-header h3{
 font-size:clamp(21px,1.8vw,27px)!important;line-height:1.2;letter-spacing:-.025em
}
.league-tables-fixture-layout #liga-tablas .v2-header p{
 font-size:13px!important;line-height:1.45
}
.league-tables-fixture-layout .standings-section{border-radius:12px;margin-bottom:12px}
.league-tables-fixture-layout .standings-head{
 padding:12px 14px!important;min-height:48px;gap:8px
}
.league-tables-fixture-layout .standings-head strong{font-size:15px!important;line-height:1.3}
.league-tables-fixture-layout .standings-head small{font-size:11px!important}
.league-tables-fixture-layout .standings-section .standings-legend,
.league-tables-fixture-layout .standings-section .zone-legend,
.league-tables-fixture-layout .standings-section .table-zone-legend{
 font-size:11.5px!important;padding-block:10px
}
.league-tables-fixture-layout .standings-table,
.league-tables-fixture-layout .arg-group-board .standings-table{
 border-collapse:collapse;table-layout:fixed!important;
 font-variant-numeric:tabular-nums
}
.league-tables-fixture-layout .standings-table :is(th,td),
.league-tables-fixture-layout .arg-group-board .standings-table :is(th,td){
 padding:10px 4px!important;
 font-size:clamp(12px,1vw,14px)!important;
 line-height:1.4!important;vertical-align:middle;
}
.league-tables-fixture-layout .standings-table :is(th,td):first-child,
.league-tables-fixture-layout .arg-group-board .standings-table :is(th,td):first-child{
 width:33px!important
}
.league-tables-fixture-layout .standings-table :is(th,td):nth-child(2),
.league-tables-fixture-layout .arg-group-board .standings-table :is(th,td):nth-child(2){
 width:36%!important;text-align:left!important
}
.league-tables-fixture-layout .standings-table :is(th,td):nth-child(3){width:39px!important}
.league-tables-fixture-layout .standings-table :is(th,td):last-child{width:43px!important}
.league-tables-fixture-layout .standings-table .v2-team-cell,
.league-tables-fixture-layout .arg-group-board .standings-table .v2-team-cell{
 display:flex;align-items:center;gap:8px;
 font-size:clamp(12.5px,1.03vw,15px)!important;
 line-height:1.35;max-width:100%;min-height:24px
}
.league-tables-fixture-layout .standings-table .v2-team-cell .tiny-crest,
.league-tables-fixture-layout .standings-table .v2-team-cell img{
 width:23px!important;height:23px!important;
 flex:0 0 23px!important;object-fit:contain
}
.league-tables-fixture-layout .standings-table .v2-team-cell span{font-size:inherit!important}
.league-tables-fixture-layout .standings-table td.pts{
 font-weight:900!important;font-size:clamp(13px,1.05vw,16px)!important
}
/* Fixture con equipos enfrentados y marcador real centrado. */
.league-fixture-rail{
 padding:16px!important;border-radius:16px!important
}
.league-fixture-rail .fixture-side-head{margin-bottom:12px!important;gap:8px}
.league-fixture-rail .fixture-side-head strong{
 font-size:clamp(16px,1.25vw,19px)!important;line-height:1.3
}
.league-fixture-rail .fixture-side-head small{font-size:11px!important}
.league-fixture-rail .fixture-side-controls{gap:8px!important;margin-bottom:10px!important}
.league-fixture-rail .fixture-side-controls :is(select,button){
 min-height:42px;font-size:13px!important;font-weight:800
}
.league-fixture-rail .fixture-side-controls button{min-width:39px}
.league-fixture-rail .fixture-side-meta{
 font-size:12px!important;line-height:1.35!important;
 margin-bottom:10px!important
}
.league-fixture-rail .fixture-mini-list,
.league-tables-fixture-layout.multi-groups .fixture-mini-list{
 display:grid;grid-template-columns:minmax(0,1fr)!important;
 max-height:none!important;height:auto!important;overflow:visible!important;
 gap:3px!important
}
.league-fixture-rail .fixture-mini-match{
 display:grid!important;
 grid-template-columns:48px minmax(0,1fr)!important;
 align-items:center;min-height:48px!important;
 padding:8px 8px!important;gap:8px!important;
 border-radius:7px!important;
}
.league-fixture-rail .fixture-mini-time{
 display:grid;gap:1px!important;min-width:0;
 font-size:11.5px!important;line-height:1.25!important;
 font-weight:700
}
.league-fixture-rail .fixture-mini-time small{
 font-size:11px!important;line-height:1.2!important;
 white-space:nowrap;overflow:visible;
 font-variant-numeric:tabular-nums
}
.league-fixture-rail .fixture-mini-time small.fixture-time-live{
 color:var(--accent);font-size:12px!important;
 font-weight:900!important
}
.league-fixture-rail .fixture-mini-main{
 display:grid!important;
 grid-template-columns:minmax(0,1fr) 49px minmax(0,1fr)!important;
 align-items:center;gap:5px!important;min-width:0
}
.league-fixture-rail .fixture-team{min-width:0;max-width:100%;gap:5px!important}
.league-fixture-rail .fixture-team strong{
 font-size:clamp(12px,1vw,14.5px)!important;
 line-height:1.3!important;font-weight:800;
 overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
}
.league-fixture-rail .fixture-team .fixture-logo{
 height:23px!important;width:23px!important;
 flex:0 0 23px!important;object-fit:contain
}
.league-fixture-rail .fixture-mini-score{
 padding:0!important;text-align:center;
 font-size:15px!important;line-height:1.2!important;
 font-weight:900!important;white-space:nowrap
}
.league-fixture-rail .fixture-mini-score.live{color:var(--accent)}
.league-fixture-rail .data-clarification{
 font-size:11px!important;line-height:1.45!important;margin-top:10px!important
}
@media(min-width:1151px){
 .league-tables-fixture-layout,
 .league-tables-fixture-layout.multi-groups{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(370px,39%)!important
 }
}
@media(min-width:1500px){
 .league-tables-fixture-layout,
 .league-tables-fixture-layout.multi-groups{
  grid-template-columns:minmax(0,1fr) minmax(445px,40%)!important
 }
 .league-tables-fixture-layout .standings-table :is(th,td),
 .league-tables-fixture-layout .arg-group-board .standings-table :is(th,td){
  padding:12px 6px!important;font-size:14px!important
 }
 .league-fixture-rail .fixture-mini-match{min-height:53px!important;padding:10px 9px!important}
 .league-fixture-rail .fixture-team strong{font-size:14px!important}
}
@media(max-width:1150px){
 .league-tables-fixture-layout,
 .league-tables-fixture-layout.multi-groups{display:block!important}
 .league-tables-fixture-layout .league-fixture-rail{margin-top:16px!important}
}
@media(max-width:760px){
 .league-tables-fixture-layout>.v2-section{padding:11px!important}
 .league-tables-fixture-layout .standings-head{padding:10px!important;min-height:42px}
 .league-tables-fixture-layout .standings-head strong{font-size:14px!important}
 .league-tables-fixture-layout .standings-table :is(th,td),
 .league-tables-fixture-layout .arg-group-board .standings-table :is(th,td){
  padding:9px 3px!important;font-size:11.5px!important;line-height:1.32!important
 }
 .league-tables-fixture-layout .standings-table :is(th,td):first-child{width:25px!important}
 .league-tables-fixture-layout .standings-table :is(th,td):nth-child(2),
 .league-tables-fixture-layout .arg-group-board .standings-table :is(th,td):nth-child(2){
  width:auto!important
 }
 .league-tables-fixture-layout .standings-table :is(th,td):nth-child(3){width:32px!important}
 .league-tables-fixture-layout .standings-table :is(th,td):last-child{width:40px!important}
 .league-tables-fixture-layout .standings-table .v2-team-cell img,
 .league-tables-fixture-layout .standings-table .v2-team-cell .tiny-crest{
  width:19px!important;height:19px!important;flex-basis:19px!important
 }
 .league-fixture-rail{padding:12px!important}
 .league-fixture-rail .fixture-side-head strong{font-size:16px!important}
 .league-fixture-rail .fixture-mini-match{
  min-height:44px!important;padding:7px 5px!important;
  grid-template-columns:44px minmax(0,1fr)!important;gap:5px!important
 }
 .league-fixture-rail .fixture-mini-main{
  grid-template-columns:minmax(0,1fr) 45px minmax(0,1fr)!important;
  gap:3px!important
 }
 .league-fixture-rail .fixture-team strong{font-size:12px!important}
 .league-fixture-rail .fixture-team .fixture-logo{width:19px!important;height:19px!important;flex-basis:19px!important}
 .league-fixture-rail .fixture-mini-score{font-size:13px!important}
 .league-fixture-rail .fixture-mini-time{font-size:10.5px!important}
 .league-fixture-rail .fixture-mini-time small{font-size:10px!important}
}
@media(max-width:355px){
 .league-fixture-rail .fixture-team .fixture-logo{width:16px!important;height:16px!important;flex-basis:16px!important}
 .league-fixture-rail .fixture-team strong{font-size:11.2px!important}
 .league-fixture-rail .fixture-mini-main{grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr)!important}
 .league-fixture-rail .fixture-mini-score{font-size:12px!important}
}
/* Preferencias compartidas en las páginas independientes.
   Afectan SOLO a Clásico/Claro: no alteran los skins 80/90/PC Fútbol. */
html[data-visual="classic"][data-theme="light"]{
 --bg:#f3f6f4;--surface:#fff;--panel:#f8fbf9;--panel2:#eef5f0;
 --line:#d6e3da;--line2:#dbe7df;--ink:#21392d;--muted:#557064;--accent:#226b36
}
html[data-visual="classic"][data-theme="light"] body{background:#f3f6f4;color:#21392d}
html[data-visual="classic"][data-theme="light"] .rank-header,
html[data-visual="classic"][data-theme="light"] .sim-page-top,
html[data-visual="classic"][data-theme="light"] header.top{
 background:#fff!important;color:#21392d!important;border-color:#d6e3da!important
}
html[data-visual="classic"][data-theme="light"] .rank-panel,
html[data-visual="classic"][data-theme="light"] .rank-tabs button,
html[data-visual="classic"][data-theme="light"] .rank-table-wrap,
html[data-visual="classic"][data-theme="light"] .sim-page-container,
html[data-visual="classic"][data-theme="light"] .panel,
html[data-visual="classic"][data-theme="light"] .metrics>div{
 background:#fff!important;color:#21392d!important;border-color:#d6e3da!important
}
html[data-visual="classic"][data-theme="light"] .rank-tabs button.active,
html[data-visual="classic"][data-theme="light"] .tabs button.active,
html[data-visual="classic"][data-theme="light"] .tabs .active,
html[data-visual="classic"][data-theme="light"] button.refresh{
 background:#dfefe3!important;color:#226b36!important;border-color:#9ac7a3!important
}
html[data-visual="classic"][data-theme="light"] .rank-notice{
 background:#e8f3e9!important;border-color:#b9d3bd!important;color:#284f36!important
}
html[data-visual="classic"][data-theme="light"] #rankSearch,
html[data-visual="classic"][data-theme="light"] .filters :is(input,select){
 background:#fff!important;color:#203b2d!important;border-color:#b9cec1!important
}
html[data-visual="classic"][data-theme="light"] .rank-table th{
 background:#ebf3ed!important;color:#536b5c!important
}
html[data-visual="classic"][data-theme="light"] .rank-team,
html[data-visual="classic"][data-theme="light"] .intro,
html[data-visual="classic"][data-theme="light"] .foot,
html[data-visual="classic"][data-theme="light"] .status,
html[data-visual="classic"][data-theme="light"] .rank-intro,
html[data-visual="classic"][data-theme="light"] .rank-heading p{
 color:#52685c!important
}
html[data-visual="classic"][data-theme="light"] .player-detail{color:#234630!important}
html[data-visual="classic"][data-theme="light"] .tabs :is(button,.refresh),
html[data-visual="classic"][data-theme="light"] .load-more{
 background:#edf4ef!important;color:#264635!important;border-color:#c6d6c8!important
}
html[data-visual="classic"][data-theme="light"] .metrics small,
html[data-visual="classic"][data-theme="light"] .player small,
html[data-visual="classic"][data-theme="light"] .filters label{
 color:#4e6959!important
}
html[data-visual="classic"][data-theme="light"] .eyebrow,
html[data-visual="classic"][data-theme="light"] .metrics b{
 color:#28753d!important
}

/* Encabezados y fondos específicos que antes ignoraban la preferencia. */
html[data-visual="classic"][data-theme="light"]{
 background:#f3f6f4!important;color:#21392d!important;color-scheme:light
}
html[data-visual="classic"][data-theme="dark"]{color-scheme:dark}
html[data-visual="classic"][data-theme="light"] .sim-page-top a,
html[data-visual="classic"][data-theme="light"] .sim-page-top .sim-page-brand,
html[data-visual="classic"][data-theme="light"] .sim-page-top .sim-page-brand span{
 color:#214631!important;text-shadow:none!important
}
html[data-visual="classic"][data-theme="light"] .rank-table td,
html[data-visual="classic"][data-theme="light"] .rank-player-link,
html[data-visual="classic"][data-theme="light"] .rank-brand{
 color:#21392d!important
}
html[data-visual="classic"][data-theme="light"] .rank-table td{
 background:#fff!important;border-color:#d6e3da!important
}
html[data-visual="classic"][data-theme="light"] .player,
html[data-visual="classic"][data-theme="light"] .player-row,
html[data-visual="classic"][data-theme="light"] .results>.player{
 background:#fff!important;color:#21392d!important;border-color:#d6e3da!important
}
