/* Área Rival · Datos de Fútbol — diseño v1.1.0 */
.ardf-hub,.ardf-home-zone,.ardf-match-page{--ardf-green:#00994d;--ardf-green-dark:#007a3e;--ardf-green-soft:#edf8f2;--ardf-ink:#121923;--ardf-muted:#667085;--ardf-line:#e8edf1;--ardf-bg:#f5f7f8;font-family:inherit;color:var(--ardf-ink)}
.ardf-hub,.ardf-home-zone{max-width:1200px;margin:26px auto;padding:0 14px}

/* Cabeceras de bloque */
.ardf-hub-title,.ardf-home-head{position:relative;display:flex;flex-direction:column;justify-content:center;min-height:92px;margin:0 0 18px;padding:20px 24px 20px 28px;border:0;border-radius:18px;background:linear-gradient(120deg,#121a20 0%,#17272a 58%,#0b7b43 140%);color:#fff;overflow:hidden;box-shadow:0 10px 35px rgba(16,24,40,.08)}
.ardf-hub-title:after,.ardf-home-head:after{content:"";position:absolute;right:90px;top:-115px;width:260px;height:260px;border:42px solid rgba(255,255,255,.035);border-radius:50%}
.ardf-hub-title span,.ardf-home-head span{position:relative;z-index:1;display:inline-flex;align-items:center;gap:8px;width:max-content;font-size:10px;font-weight:900;letter-spacing:.16em;color:#73e7a8;text-transform:uppercase}
.ardf-hub-title span:before,.ardf-home-head span:before{content:"";width:24px;height:3px;border-radius:3px;background:#19c56b}
.ardf-hub-title h2,.ardf-home-head h2{position:relative;z-index:1;margin:6px 0 0!important;color:#fff!important;font-size:25px!important;line-height:1.12!important;font-weight:900!important;letter-spacing:-.02em}

/* Grid y tarjetas */
.ardf-grid{display:grid;gap:16px}.ardf-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.ardf-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.ardf-card{position:relative;background:#fff;border:1px solid #e8ecef;border-radius:18px;overflow:hidden;min-width:0;box-shadow:0 8px 28px rgba(16,24,40,.055)}
.ardf-card-head{position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:10px;min-height:64px;padding:16px 18px;border:0;background:linear-gradient(120deg,#151d23 0%,#1b292c 70%,#11643d 150%);color:#fff;overflow:hidden}
.ardf-card-head:after{content:"";position:absolute;right:-28px;top:-48px;width:115px;height:115px;border:20px solid rgba(255,255,255,.035);border-radius:50%}
.ardf-card-head strong{position:relative;z-index:1;font-size:15px;font-weight:900;letter-spacing:-.01em;color:#fff}.ardf-card-head span{position:relative;z-index:1;font-size:9px;color:#8eeeb7;font-weight:850;letter-spacing:.06em;text-align:right}
.ardf-more{display:flex;align-items:center;justify-content:space-between;padding:13px 17px;border-top:1px solid #edf0f2;font-size:11px;font-weight:850;color:var(--ardf-green)!important;text-decoration:none!important;background:#fbfcfc;transition:.18s ease}.ardf-more:hover{background:#f1faf5;padding-right:14px}
.ardf-empty{padding:20px;border:1px solid #dfeae4;background:#f5fbf7;border-radius:14px;color:#5f6f66;font-size:12px;text-align:center;box-shadow:0 6px 22px rgba(16,24,40,.035)}

/* Clasificación compacta */
.ardf-table-wrap{padding:9px 11px 7px;overflow-x:auto}.ardf-table{width:100%;border-collapse:separate!important;border-spacing:0 6px!important;margin:0!important;background:transparent!important;font-size:11px;min-width:330px}
.ardf-table thead th{border:0!important;background:transparent!important;padding:3px 7px!important;color:#8a949f!important;font-size:8px!important;letter-spacing:.08em;font-weight:900!important;text-align:center}.ardf-table thead th:nth-child(2){text-align:left}
.ardf-table tbody tr{filter:drop-shadow(0 2px 4px rgba(16,24,40,.04))}.ardf-table tbody td{height:40px;padding:5px 7px!important;border-top:1px solid var(--ardf-line)!important;border-bottom:1px solid var(--ardf-line)!important;border-left:0!important;border-right:0!important;background:#fff!important;text-align:center;color:#46515c!important;vertical-align:middle!important}.ardf-table tbody td:first-child{border-left:3px solid #dfe5e8!important;border-radius:9px 0 0 9px}.ardf-table tbody td:last-child{border-right:1px solid var(--ardf-line)!important;border-radius:0 9px 9px 0;background:#f4faf6!important;color:#08723f!important;font-size:13px!important}
.ardf-table tbody td:nth-child(2){text-align:left;font-weight:800;color:#17202a!important}.ardf-table tbody tr:hover td{background:#fbfdfc!important}.ardf-table tbody tr:hover td:last-child{background:#eaf7f0!important}.ardf-pos{font-weight:900;color:#27313b!important}

/* Partidos */
.ardf-fixtures{display:flex;flex-direction:column;padding:7px 10px 9px;gap:6px}.ardf-fixture{display:grid;grid-template-columns:58px 1fr 34px;gap:9px;align-items:center;padding:10px 9px;border:1px solid var(--ardf-line);border-radius:11px;text-decoration:none!important;color:#111!important;background:#fff;transition:.16s ease}.ardf-fixture:hover{background:#f8fcfa;border-color:#cfe7da;transform:translateY(-1px);box-shadow:0 5px 14px rgba(16,24,40,.055)}
.ardf-time{font-size:9px;color:#7b8791;font-weight:750;line-height:1.25}.ardf-teams{display:flex;flex-direction:column;gap:4px;font-size:11px;line-height:1.25;min-width:0}.ardf-teams b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:850;color:#1a222b}.ardf-score{text-align:center;font-size:13px;font-weight:950;line-height:1.55;color:#0a7e46;background:#eef9f3;border-radius:8px;padding:3px 2px}

/* Goleadores / rankings */
.ardf-scorers{list-style:none!important;margin:0!important;padding:8px 11px 10px!important;counter-reset:ardf-rank}.ardf-scorers li{position:relative;display:grid;grid-template-columns:30px minmax(0,1fr) 42px;align-items:center;gap:9px;min-height:50px;padding:7px 7px!important;border:0!important;border-bottom:1px solid #eef1f3!important;counter-increment:ardf-rank}.ardf-scorers li:last-child{border-bottom:0!important}.ardf-scorers li:before{content:counter(ardf-rank);display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:9px;background:#f1f4f6;color:#35404a;font-size:11px;font-weight:900}.ardf-scorers li:nth-child(1):before{background:#eaf8f1;color:#087a43}.ardf-scorers li:nth-child(2):before{background:#f3f6f7}.ardf-scorers li:nth-child(3):before{background:#f7f3ed;color:#8c6231}
.ardf-scorers li span{display:flex;flex-direction:column;min-width:0}.ardf-scorers li b{font-size:11px;font-weight:850;color:#1b242d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ardf-scorers li small{margin-top:2px;color:#8a949d;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ardf-scorers li>strong{display:flex;align-items:center;justify-content:center;min-width:37px;height:34px;border-radius:10px;background:#eef9f3;color:#078046;font-size:16px;font-weight:950}
.ardf-market-slot{margin-top:16px}

/* Ficha de partido */
.ardf-match-page{max-width:1100px;margin:30px auto;padding:0 16px 30px}
.ardf-match-hero{position:relative;padding:32px 34px;border-radius:20px;text-align:center;background:linear-gradient(120deg,#121a20 0%,#17272a 58%,#0b7b43 140%);color:#fff;overflow:hidden;box-shadow:0 14px 40px rgba(16,24,40,.13)}
.ardf-match-hero:before,.ardf-match-hero:after{content:"";position:absolute;border:38px solid rgba(255,255,255,.035);border-radius:50%}.ardf-match-hero:before{right:-65px;top:-105px;width:235px;height:235px}.ardf-match-hero:after{left:-110px;bottom:-155px;width:280px;height:280px}
.ardf-match-hero>span{position:relative;z-index:1;display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;background:rgba(21,205,107,.12);border:1px solid rgba(115,231,168,.22);font-size:10px!important;color:#83efb4!important;font-weight:900!important;letter-spacing:.08em;text-transform:uppercase}.ardf-match-hero>span:before{content:"";width:7px;height:7px;border-radius:50%;background:#29d477}
.ardf-match-page .ardf-match-hero h1{position:relative;z-index:1;margin:13px 0 8px!important;color:#fff!important;font-size:32px!important;line-height:1.2!important;font-weight:900!important;letter-spacing:-.025em}.ardf-match-page .ardf-match-hero h1 b{display:inline-block;margin:0 8px;color:#77edae!important;font-size:1.12em;font-weight:950!important}.ardf-match-page .ardf-match-hero p{position:relative;z-index:1;margin:0!important;color:#cbd5db!important;font-size:11px!important;opacity:1!important}
.ardf-match-section{margin:18px 0 0;padding:0;background:#fff;border:1px solid #e8ecef;border-radius:18px;overflow:hidden;box-shadow:0 8px 28px rgba(16,24,40,.05)}.ardf-match-section>h2{position:relative;margin:0!important;padding:17px 20px 15px!important;border-bottom:1px solid #edf0f2;color:#17202a!important;font-size:17px!important;font-weight:900!important}.ardf-match-section>h2:after{content:"";position:absolute;left:20px;bottom:-1px;width:42px;height:3px;border-radius:3px;background:var(--ardf-green)}
.ardf-events{padding:8px 16px 12px}.ardf-events>div{display:grid;grid-template-columns:58px 1fr;gap:12px;align-items:center;min-height:48px;padding:7px 4px;border-bottom:1px solid #eef1f3}.ardf-events>div:last-child{border-bottom:0}.ardf-events>div>strong{display:flex;align-items:center;justify-content:center;width:45px;min-height:29px;padding:4px;border-radius:9px;background:#eff8f3;color:#087b44;font-size:11px;font-weight:900}.ardf-events>div span{font-size:12px;color:#4d5964}.ardf-events>div span b{font-weight:900;color:#17202a}
.ardf-stat-grid{padding:8px 16px 13px}.ardf-stat-grid>div{display:grid;grid-template-columns:1fr 2.4fr 1fr;align-items:center;gap:10px;min-height:44px;padding:7px 4px;border-bottom:1px solid #eef1f3;text-align:center}.ardf-stat-grid>div:last-child{border-bottom:0}.ardf-stat-grid>div b{display:inline-flex;align-items:center;justify-content:center;min-height:30px;border-radius:9px;background:#f5f7f8;color:#17202a;font-size:12px;font-weight:900}.ardf-stat-grid>div b:first-child{background:#eef9f3;color:#087b44}.ardf-stat-grid>div span{font-size:11px;font-weight:800;color:#69747f}

/* Noticias relacionadas */
.ardf-related{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px 16px 17px}.ardf-related a{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:84px;padding:14px 15px;border:1px solid var(--ardf-line);border-radius:12px;text-decoration:none!important;background:#fff;transition:.16s ease}.ardf-related a:before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:3px;border-radius:0 3px 3px 0;background:#19b963}.ardf-related a:hover{border-color:#cfe6da;background:#fbfdfc;transform:translateY(-1px);box-shadow:0 6px 18px rgba(16,24,40,.05)}.ardf-related strong{padding-left:7px;color:#1b242d;font-size:12px;line-height:1.38;font-weight:850}.ardf-related span{display:block;margin:8px 0 0 7px;color:#8b959f;font-size:9px}

@media(max-width:900px){.ardf-grid-3,.ardf-grid-2{grid-template-columns:1fr}.ardf-related{grid-template-columns:1fr}.ardf-card-head{min-height:58px}.ardf-hub-title,.ardf-home-head{min-height:82px}.ardf-match-page .ardf-match-hero h1{font-size:25px!important}}
@media(max-width:620px){.ardf-hub,.ardf-home-zone{margin:18px auto;padding:0 10px}.ardf-hub-title,.ardf-home-head{padding:18px;border-radius:15px}.ardf-hub-title h2,.ardf-home-head h2{font-size:21px!important}.ardf-card{border-radius:14px}.ardf-card-head{padding:14px 15px}.ardf-match-page{margin:18px auto;padding:0 10px 22px}.ardf-match-hero{padding:25px 15px;border-radius:16px}.ardf-match-page .ardf-match-hero h1{font-size:21px!important}.ardf-match-page .ardf-match-hero h1 b{display:block;width:max-content;margin:9px auto;font-size:1.35em}.ardf-match-section{border-radius:14px}.ardf-related{padding:11px}.ardf-table{min-width:315px}.ardf-fixture{grid-template-columns:52px 1fr 32px}}

/* UEFA: Champions, Europa League y Conference */
.ardf-uefa-hub{max-width:1180px}.ardf-uefa-title{min-height:145px;padding:28px 30px;background:linear-gradient(120deg,#111a20 0%,#17262b 55%,#0b7a43 145%)}
.ardf-uefa-title:before{content:"";position:absolute;right:-65px;top:-95px;width:250px;height:250px;border:42px solid rgba(255,255,255,.035);border-radius:50%}.ardf-uefa-title p{position:relative;z-index:1;margin:8px 0 0!important;color:#c9d5da!important;font-size:11px!important}
.ardf-competition-nav{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0 16px;padding:9px;border:1px solid #e4e9ec;border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(16,24,40,.045)}.ardf-competition-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 14px;border-radius:10px;text-decoration:none!important;color:#26313a!important;font-size:10px;font-weight:900;background:#f5f7f8;transition:.16s ease}.ardf-competition-nav a:hover{background:#eaf8f1;color:#087a43!important}
.ardf-uefa-top{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.8fr);gap:16px;align-items:start}.ardf-uefa-standings .ardf-card{height:100%}.ardf-uefa-standings .ardf-table-wrap{max-height:690px;overflow:auto;scrollbar-width:thin}.ardf-uefa-side{position:sticky;top:18px}.ardf-uefa-side .ardf-card{width:100%}
.ardf-section-title{position:relative;margin:0 0 14px;padding:21px 23px;border-radius:16px;background:linear-gradient(120deg,#151d23,#1b292c 72%,#11643d 155%);color:#fff;overflow:hidden}.ardf-section-title:after{content:"";position:absolute;right:-35px;top:-55px;width:135px;height:135px;border:24px solid rgba(255,255,255,.035);border-radius:50%}.ardf-section-title>span{position:relative;z-index:1;color:#83efb4;font-size:9px;font-weight:950;letter-spacing:.1em}.ardf-section-title h3{position:relative;z-index:1;margin:3px 0 4px!important;color:#fff!important;font-size:24px!important;font-weight:950!important;letter-spacing:-.025em}.ardf-section-title p{position:relative;z-index:1;margin:0!important;color:#becbd1!important;font-size:10px!important}
.ardf-knockout{margin:18px 0}.ardf-bracket-scroll{overflow-x:auto;padding:1px 1px 10px}.ardf-bracket{display:flex;gap:14px;align-items:flex-start;min-width:max-content}.ardf-round{width:265px;flex:0 0 265px}.ardf-round-title{display:flex;align-items:center;min-height:37px;padding:0 13px;margin-bottom:8px;border-radius:10px;background:#edf8f2;color:#087a43;font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.05em}.ardf-ties{display:flex;flex-direction:column;gap:10px}.ardf-tie{position:relative;border:1px solid #e6ebee;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 6px 20px rgba(16,24,40,.045)}.ardf-tie:after{content:"";position:absolute;right:-9px;top:50%;width:9px;height:1px;background:#d7dee2}.ardf-tie-main{padding:9px 11px}.ardf-tie-main>div{display:grid;grid-template-columns:minmax(0,1fr) 28px;align-items:center;gap:7px;min-height:31px;border-bottom:1px solid #f0f2f3}.ardf-tie-main>div:last-child{border-bottom:0}.ardf-tie-main span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#1b242d;font-size:11px;font-weight:850}.ardf-tie-main b{display:flex;align-items:center;justify-content:center;width:27px;height:25px;border-radius:8px;background:#eef9f3;color:#087b44;font-size:12px;font-weight:950}.ardf-legs{border-top:1px solid #edf0f2;background:#fafcfc}.ardf-legs a{display:flex;flex-direction:column;gap:2px;padding:7px 11px;border-bottom:1px solid #edf0f2;text-decoration:none!important}.ardf-legs a:last-child{border-bottom:0}.ardf-legs a:hover{background:#f1faf5}.ardf-legs small{font-size:8px;color:#8b969f;font-weight:800}.ardf-legs strong{font-size:9px;color:#4b5660;font-weight:800;line-height:1.3}.ardf-uefa-scorers{margin-top:18px;max-width:570px}.ardf-uefa-scorers .ardf-card{width:100%}

@media(max-width:980px){.ardf-uefa-top{grid-template-columns:1fr}.ardf-uefa-side{position:static}.ardf-uefa-standings .ardf-table-wrap{max-height:none}}
@media(max-width:620px){.ardf-uefa-title{min-height:120px;padding:21px 18px}.ardf-competition-nav{gap:6px}.ardf-competition-nav a{flex:1 1 calc(50% - 6px);padding:0 8px}.ardf-round{width:245px;flex-basis:245px}.ardf-section-title{padding:18px}.ardf-section-title h3{font-size:20px!important}.ardf-uefa-scorers{max-width:none}}

/* v1.2.1 · estado visible cuando GOAL API aún no ofrece eventos/estadísticas */
.ardf-match-empty{margin:0 16px 16px;padding:14px 16px;border:1px dashed #cfd9d4;border-radius:12px;background:#f8fbf9;color:#66736d;font-size:12px;line-height:1.5}

/* v1.2.3 · Clasificación visual para sidebar -------------------------------- */
.ardf-sidebar-standings{font-family:inherit;margin:0 0 18px;background:#fff;border:1px solid #e8ecef;border-radius:16px;overflow:hidden;box-shadow:0 10px 30px rgba(16,24,40,.06)}
.ardf-sidebar-standings__head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 15px;background:linear-gradient(120deg,#121a20 0%,#17272a 58%,#0b7b43 140%);color:#fff}
.ardf-sidebar-standings__head strong{font-size:14px;font-weight:900;color:#fff}.ardf-sidebar-standings__head span{font-size:8px;font-weight:900;letter-spacing:.06em;color:#8eeeb7;text-transform:uppercase}
.ardf-sidebar-standings>.ar-standings{border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
.ardf-sidebar-standings .ar-standings__hero,.ardf-sidebar-standings .ar-standings__notice,.ardf-sidebar-standings .ar-standings__legend{display:none!important}
.ardf-sidebar-standings .ar-standings__table-wrap{overflow:visible!important;padding:7px 8px 2px!important}
.ardf-sidebar-standings .ar-standings__table{width:100%!important;border-collapse:separate!important;border-spacing:0 3px!important;font-size:10px!important}
.ardf-sidebar-standings .ar-standings__table thead th{padding:5px 4px!important;font-size:8px!important;color:#8b95a1!important;background:transparent!important;border:0!important}
.ardf-sidebar-standings .ar-standings__table thead th:nth-child(n+4),.ardf-sidebar-standings .ar-standings__table tbody td:nth-child(n+4){display:none!important}
.ardf-sidebar-standings .ar-standings__table tbody tr{background:#fff!important;box-shadow:0 1px 5px rgba(16,24,40,.045)}
.ardf-sidebar-standings .ar-standings__table tbody td{padding:6px 4px!important;border-top:1px solid #edf1f3!important;border-bottom:1px solid #edf1f3!important;height:31px!important;background:#fff!important}
.ardf-sidebar-standings .ar-standings__table tbody td:first-child{border-left:3px solid transparent!important;border-radius:8px 0 0 8px!important}
.ardf-sidebar-standings .ar-standings__table tbody td:last-of-type{border-radius:0 8px 8px 0!important}
.ardf-sidebar-standings .ar-zone-champions td:first-child{border-left-color:#3478f6!important}.ardf-sidebar-standings .ar-zone-europa td:first-child{border-left-color:#f2a93b!important}.ardf-sidebar-standings .ar-zone-conference td:first-child{border-left-color:#19b873!important}.ardf-sidebar-standings .ar-zone-relegation td:first-child{border-left-color:#e5484d!important}
.ardf-sidebar-standings .ar-pos{display:inline-flex!important;width:20px!important;height:20px!important;align-items:center!important;justify-content:center!important;border-radius:6px!important;font-size:9px!important;font-weight:900!important;background:#f2f5f7!important;color:#384250!important}
.ardf-sidebar-standings .ar-team{display:flex!important;align-items:center!important;gap:6px!important;font-size:10px!important;font-weight:750!important;color:#1b2530!important;white-space:nowrap!important;overflow:hidden!important;text-decoration:none!important}
.ardf-sidebar-standings .ar-team img{width:20px!important;height:20px!important;object-fit:contain!important;flex:0 0 20px!important}.ardf-sidebar-standings .ar-team span{overflow:hidden!important;text-overflow:ellipsis!important}
.ardf-sidebar-standings .ar-col-pts strong{display:inline-flex!important;min-width:24px!important;height:24px!important;align-items:center!important;justify-content:center!important;padding:0 5px!important;border-radius:8px!important;background:#effaf4!important;color:#078447!important;font-size:10px!important;font-weight:950!important}
.ardf-sidebar-standings__more{display:block;padding:10px 13px 12px;border-top:1px solid #edf1f3;color:#087b45!important;text-decoration:none!important;font-size:10px;font-weight:850}.ardf-sidebar-standings__more:hover{text-decoration:underline!important}
/* Oculta el enlace del componente original: usamos el enlace único de arriba. */
.ardf-sidebar-standings .ardf-more{display:none!important}

/* /clasificacion/: sin columna lateral y con el contenido principal a ancho completo. */
body.ardf-classification-no-sidebar #secondary,body.ardf-classification-no-sidebar .widget-area,body.ardf-classification-no-sidebar aside.sidebar,body.ardf-classification-no-sidebar .sidebar,body.ardf-classification-no-sidebar .aft-main-banner-latest-posts{display:none!important}
body.ardf-classification-no-sidebar #primary,body.ardf-classification-no-sidebar .content-area,body.ardf-classification-no-sidebar .primary,body.ardf-classification-no-sidebar main.site-main{width:100%!important;max-width:100%!important;flex:0 0 100%!important}

@media(max-width:782px){.ardf-sidebar-standings{margin-top:14px}.ardf-sidebar-standings .ar-standings__table thead{display:table-header-group!important}.ardf-sidebar-standings .ar-standings__table tbody tr{display:table-row!important}.ardf-sidebar-standings .ar-standings__table tbody td{display:table-cell!important}.ardf-sidebar-standings .ar-standings__table thead th:nth-child(n+4),.ardf-sidebar-standings .ar-standings__table tbody td:nth-child(n+4){display:none!important}}


/* v1.2.5 · Una única clasificación canónica para LaLiga/Hypermotion */
.ardf-domestic-top{margin-bottom:18px}
.ardf-canonical-standings{margin-top:0;min-width:0}
.ardf-canonical-standings>.ar-standings{margin:0!important;max-width:none!important;width:100%!important}
.ardf-canonical-standings .ar-standings__hero{border-radius:18px 18px 0 0}
body.ardf-classification-no-sidebar .ardf-hub{max-width:1180px!important;width:100%!important}
@media(max-width:900px){.ardf-domestic-top{grid-template-columns:1fr!important}}

/* v1.2.6 · Escudos en partidos/goleadores y separación de la clasificación */
.ardf-canonical-standings{margin-top:26px!important}
.ardf-domestic-top{margin-bottom:0!important}
.ardf-teams{display:flex;flex-direction:column;gap:5px;min-width:0}
.ardf-teams b{display:flex!important;align-items:center;gap:7px;min-width:0;font-size:10px!important;font-weight:850!important;line-height:1.15}
.ardf-teams b>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ardf-crest,.ardf-scorer-crest{display:block;flex:0 0 auto;width:22px!important;height:22px!important;object-fit:contain}
.ardf-crest.is-empty,.ardf-scorer-crest.is-empty{width:22px!important;height:22px!important;border-radius:50%;background:#f0f3f4;border:1px solid #e1e7e9}
.ardf-fixture{grid-template-columns:58px minmax(0,1fr) 34px}
.ardf-scorers li{grid-template-columns:30px minmax(0,1fr) 42px}
.ardf-scorer-main{display:grid;grid-template-columns:26px minmax(0,1fr);align-items:center;gap:8px;min-width:0}
.ardf-scorer-main>span{display:flex;flex-direction:column;min-width:0}
.ardf-scorer-crest{width:24px!important;height:24px!important}
@media(max-width:620px){.ardf-canonical-standings{margin-top:20px!important}.ardf-crest{width:20px!important;height:20px!important}.ardf-teams b{gap:6px}}


/* v1.2.7 · Hub doméstico en tres columnas */
.ardf-domestic-columns{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.96fr) minmax(0,.96fr);gap:18px;align-items:start;margin-top:0}
.ardf-domestic-column{min-width:0}
.ardf-domestic-standings>.ar-standings-compact,.ardf-domestic-fixtures>.ardf-card,.ardf-domestic-scorers>.ardf-card{width:100%;margin:0!important}
.ardf-domestic-standings .ar-standings-compact{border-radius:18px;overflow:hidden}
.ardf-domestic-columns .ardf-card{height:auto}
.ardf-domestic-columns .ardf-card-head,.ardf-domestic-standings .ar-standings-compact__head{min-height:64px}
.ardf-domestic-columns .ardf-fixtures{padding-bottom:10px}
.ardf-domestic-columns .ardf-scorers{padding-bottom:10px!important}
/* La versión completa ya vive en /clasificacion/: dentro del hub no debe reaparecer debajo. */
.ardf-domestic-hub .ardf-canonical-standings{display:none!important}
@media(max-width:980px){.ardf-domestic-columns{grid-template-columns:1fr 1fr}.ardf-domestic-standings{grid-column:1/-1}.ardf-domestic-standings>.ar-standings-compact{max-width:none}}
@media(max-width:680px){.ardf-domestic-columns{grid-template-columns:1fr}.ardf-domestic-standings{grid-column:auto}}

/* v1.2.8 · Corrección definitiva del hub doméstico en 3 columnas */
.ardf-domestic-hub{max-width:1240px!important}
.ardf-domestic-columns{
  display:grid!important;
  grid-template-columns:minmax(0,1.08fr) minmax(0,.96fr) minmax(0,.96fr)!important;
  gap:16px!important;
  align-items:start!important;
  width:100%!important;
}
.ardf-domestic-column{min-width:0!important;width:auto!important;max-width:none!important}
.ardf-domestic-standings,.ardf-domestic-fixtures,.ardf-domestic-scorers{grid-column:auto!important}
.ardf-domestic-standings>.ar-standings-compact,
.ardf-domestic-fixtures>.ardf-card,
.ardf-domestic-scorers>.ardf-card{width:100%!important;max-width:none!important;margin:0!important}

/* Compactamos la clasificación para que 20 equipos entren bien en una columna. */
.ardf-domestic-standings .ar-standings-compact{border-radius:14px!important}
.ardf-domestic-standings .ar-standings-compact__head{min-height:50px!important;padding:10px 11px!important}
.ardf-domestic-standings .ar-standings-compact__head strong{font-size:11px!important}
.ardf-domestic-standings .ar-standings-compact__head span{font-size:7px!important}
.ardf-domestic-standings .ar-standings-compact__labels{
  grid-template-columns:27px minmax(0,1fr) 34px!important;
  gap:5px!important;
  padding:7px 7px 4px!important;
  font-size:7px!important;
}
.ardf-domestic-standings .ar-standings-compact__rows{padding:0 6px 4px!important}
.ardf-domestic-standings .ar-standings-compact__row{
  grid-template-columns:27px minmax(0,1fr) 34px!important;
  gap:5px!important;
  min-height:30px!important;
  margin:0 0 2px!important;
  padding:2px 3px 2px 0!important;
  border-radius:7px!important;
}
.ardf-domestic-standings .ar-compact-pos{
  width:20px!important;height:20px!important;margin-left:3px!important;
  border-radius:6px!important;font-size:8px!important;
}
.ardf-domestic-standings .ar-compact-team{
  display:flex!important;align-items:center!important;gap:5px!important;
  min-width:0!important;color:#1f2933!important;font-size:9px!important;
  font-weight:800!important;opacity:1!important;visibility:visible!important;
}
.ardf-domestic-standings .ar-compact-team img{
  display:block!important;width:18px!important;height:18px!important;
  flex:0 0 18px!important;object-fit:contain!important;opacity:1!important;
}
.ardf-domestic-standings .ar-compact-team>span{
  display:block!important;min-width:0!important;overflow:hidden!important;
  text-overflow:ellipsis!important;white-space:nowrap!important;
  color:#1f2933!important;opacity:1!important;visibility:visible!important;
}
.ardf-domestic-standings .ar-compact-pts{
  width:27px!important;height:22px!important;border-radius:6px!important;
  font-size:9px!important;
}
.ardf-domestic-standings .ar-standings-compact__legend{gap:4px 7px!important;padding:5px 7px 6px!important}
.ardf-domestic-standings .ar-standings-compact__legend span{font-size:6px!important}
.ardf-domestic-standings .ar-standings-compact__more{padding:7px 9px 9px!important;font-size:8px!important}

/* Las otras dos columnas también algo más compactas para equilibrar alturas. */
.ardf-domestic-columns .ardf-card-head{min-height:50px!important;padding:10px 12px!important}
.ardf-domestic-columns .ardf-card-head strong{font-size:11px!important}
.ardf-domestic-columns .ardf-fixtures{gap:4px!important;padding:6px 7px 8px!important}
.ardf-domestic-columns .ardf-fixture{
  grid-template-columns:50px minmax(0,1fr) 30px!important;
  gap:6px!important;padding:7px 6px!important;border-radius:9px!important;
}
.ardf-domestic-columns .ardf-time{font-size:7px!important}
.ardf-domestic-columns .ardf-teams{gap:3px!important}
.ardf-domestic-columns .ardf-teams b{font-size:9px!important;gap:5px!important}
.ardf-domestic-columns .ardf-crest{width:18px!important;height:18px!important}
.ardf-domestic-columns .ardf-scorers li{
  grid-template-columns:26px minmax(0,1fr) 34px!important;
  gap:6px!important;min-height:41px!important;padding:5px 5px!important;
}
.ardf-domestic-columns .ardf-scorers li:before{width:23px!important;height:23px!important;font-size:9px!important;border-radius:7px!important}
.ardf-domestic-columns .ardf-scorer-main{grid-template-columns:22px minmax(0,1fr)!important;gap:6px!important}
.ardf-domestic-columns .ardf-scorer-crest{width:20px!important;height:20px!important}
.ardf-domestic-columns .ardf-scorer-main b{font-size:9px!important}
.ardf-domestic-columns .ardf-scorer-main small{font-size:7px!important}

@media(max-width:1050px){
  .ardf-domestic-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
  .ardf-domestic-standings{grid-column:1/-1!important}
  .ardf-domestic-standings>.ar-standings-compact{max-width:none!important}
}
@media(max-width:720px){
  .ardf-domestic-columns{grid-template-columns:1fr!important}
  .ardf-domestic-standings{grid-column:auto!important}
}


/* v1.2.9 · Hub doméstico ancho + clasificación completa en columna */
.ardf-domestic-hub{
  width:min(1560px,calc(100vw - 48px))!important;
  max-width:none!important;
  margin-left:50%!important;
  margin-right:0!important;
  transform:translateX(-50%)!important;
  padding-left:0!important;
  padding-right:0!important;
}
.ardf-domestic-hub .ardf-hub-title{margin-left:0!important;margin-right:0!important}
.ardf-domestic-columns{
  grid-template-columns:minmax(690px,2.15fr) minmax(280px,1fr) minmax(280px,1fr)!important;
  gap:18px!important;
  align-items:start!important;
}
/* La columna de clasificación usa directamente el componente completo canónico. */
.ardf-domestic-standings>.ar-standings{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  border-radius:14px!important;
  box-shadow:0 8px 28px rgba(16,24,40,.06)!important;
}
/* El título del hub ya identifica la competición; evitamos duplicar una hero enorme. */
.ardf-domestic-standings .ar-standings__hero{display:none!important}
.ardf-domestic-standings .ar-standings__notice{
  margin:10px 10px 6px!important;
  padding:8px 10px!important;
  border-radius:9px!important;
}
.ardf-domestic-standings .ar-standings__notice strong{font-size:10px!important}
.ardf-domestic-standings .ar-standings__notice span:last-child{font-size:8px!important}
.ardf-domestic-standings .ar-standings__table-wrap{
  padding:6px 8px 0!important;
  overflow-x:auto!important;
}
.ardf-domestic-standings .ar-standings__table{
  min-width:650px!important;
  border-spacing:0 3px!important;
  table-layout:fixed!important;
}
.ardf-domestic-standings .ar-standings__table thead th{
  padding:0 4px 3px!important;
  font-size:7px!important;
  letter-spacing:.035em!important;
}
.ardf-domestic-standings .ar-standings__table thead .ar-col-pos{width:38px!important}
.ardf-domestic-standings .ar-standings__table thead .ar-col-team{width:205px!important}
.ardf-domestic-standings .ar-standings__table thead .ar-col-pts{width:42px!important}
.ardf-domestic-standings .ar-standings__table tbody td{
  height:30px!important;
  padding:2px 4px!important;
  font-size:8px!important;
}
.ardf-domestic-standings .ar-standings__table tbody td:first-child{border-left-width:3px!important;border-radius:7px 0 0 7px!important}
.ardf-domestic-standings .ar-standings__table tbody td:last-child{border-radius:0 7px 7px 0!important}
.ardf-domestic-standings .ar-standings__table tbody .ar-col-pts{font-size:10px!important}
.ardf-domestic-standings .ar-pos{
  width:20px!important;height:20px!important;border-radius:6px!important;font-size:8px!important;
}
.ardf-domestic-standings .ar-team{
  gap:5px!important;font-size:8.5px!important;line-height:1.1!important;
  color:#17202a!important;opacity:1!important;visibility:visible!important;
}
.ardf-domestic-standings .ar-team img{
  display:block!important;width:19px!important;height:19px!important;flex:0 0 19px!important;
}
.ardf-domestic-standings .ar-team span{
  display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  color:#17202a!important;opacity:1!important;visibility:visible!important;
}
.ardf-domestic-standings .ar-standings__legend{padding:7px 9px 9px!important}
.ardf-domestic-standings .ar-legend-zones{gap:5px 9px!important}
.ardf-domestic-standings .ar-legend-zones span{font-size:6.5px!important;gap:3px!important}
.ardf-domestic-standings .ar-legend-zones i{width:5px!important;height:5px!important}
.ardf-domestic-standings .ar-standings__legend p{
  margin-top:6px!important;padding-top:6px!important;font-size:6.5px!important;line-height:1.35!important;
}
/* Partidos y goleadores usan la altura natural de su contenido. */
.ardf-domestic-fixtures>.ardf-card,.ardf-domestic-scorers>.ardf-card{height:auto!important}

@media(max-width:1320px){
  .ardf-domestic-hub{width:calc(100vw - 30px)!important}
  .ardf-domestic-columns{grid-template-columns:minmax(620px,1.8fr) minmax(250px,1fr) minmax(250px,1fr)!important;gap:12px!important}
  .ardf-domestic-standings .ar-standings__table{min-width:620px!important}
  .ardf-domestic-standings .ar-standings__table thead .ar-col-team{width:175px!important}
}
@media(max-width:1100px){
  .ardf-domestic-hub{width:calc(100vw - 24px)!important}
  .ardf-domestic-columns{grid-template-columns:1fr 1fr!important}
  .ardf-domestic-standings{grid-column:1/-1!important}
  .ardf-domestic-standings .ar-standings__table{min-width:690px!important}
}
@media(max-width:720px){
  .ardf-domestic-hub{width:100%!important;margin-left:auto!important;transform:none!important;padding:0 8px!important}
  .ardf-domestic-columns{grid-template-columns:1fr!important}
  .ardf-domestic-standings{grid-column:auto!important}
  .ardf-domestic-standings .ar-standings__table-wrap{overflow-x:auto!important}
  .ardf-domestic-standings .ar-standings__table{min-width:650px!important}
}

/* v1.3.0 · Hub doméstico a ancho real del contenido + 10 partidos / 20 equipos */
.ardf-domestic-hub{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  transform:none!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
}
.ardf-domestic-hub .ardf-hub-title,
.ardf-domestic-columns{width:100%!important;max-width:none!important;box-sizing:border-box!important}
.ardf-domestic-columns{
  display:grid!important;
  grid-template-columns:minmax(0,1.65fr) minmax(0,1fr) minmax(0,.92fr)!important;
  gap:12px!important;
  align-items:start!important;
}
.ardf-domestic-column{min-width:0!important;width:auto!important}

/* Clasificación completa, pero densificada para convivir con las otras dos columnas. */
.ardf-domestic-standings>.ar-standings{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  overflow:hidden!important;
}
.ardf-domestic-standings .ar-standings__table-wrap{
  width:100%!important;
  padding:5px 5px 0!important;
  overflow:visible!important;
}
.ardf-domestic-standings .ar-standings__table{
  width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
  border-spacing:0 2px!important;
}
.ardf-domestic-standings .ar-standings__table thead th{
  padding:0 1px 3px!important;
  font-size:6.5px!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
}
.ardf-domestic-standings .ar-standings__table thead .ar-col-pos{width:25px!important}
.ardf-domestic-standings .ar-standings__table thead .ar-col-team{width:112px!important}
.ardf-domestic-standings .ar-standings__table thead .ar-col-pts{width:28px!important}
.ardf-domestic-standings .ar-standings__table tbody td{
  height:25px!important;
  padding:1px 1px!important;
  font-size:7px!important;
  white-space:nowrap!important;
}
.ardf-domestic-standings .ar-standings__table tbody .ar-col-team{padding-left:2px!important;padding-right:1px!important}
.ardf-domestic-standings .ar-standings__table tbody .ar-col-pts{font-size:8.5px!important}
.ardf-domestic-standings .ar-pos{width:17px!important;height:17px!important;border-radius:5px!important;font-size:6.5px!important}
.ardf-domestic-standings .ar-team{gap:3px!important;font-size:7.2px!important;min-width:0!important}
.ardf-domestic-standings .ar-team img{width:16px!important;height:16px!important;flex:0 0 16px!important}
.ardf-domestic-standings .ar-team span{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#17202a!important}
.ardf-domestic-standings .ar-standings__notice{margin:7px 6px 4px!important;padding:6px 7px!important}
.ardf-domestic-standings .ar-standings__notice strong{font-size:8px!important}
.ardf-domestic-standings .ar-standings__notice span:last-child{font-size:6.5px!important}
.ardf-domestic-standings .ar-standings__legend{padding:5px 6px 7px!important}
.ardf-domestic-standings .ar-legend-zones{gap:3px 6px!important;flex-wrap:wrap!important}
.ardf-domestic-standings .ar-legend-zones span{font-size:5.8px!important}
.ardf-domestic-standings .ar-standings__legend p{font-size:5.8px!important;margin-top:4px!important;padding-top:4px!important}

/* Aprovechar el espacio también dentro de partidos y goleadores. */
.ardf-domestic-fixtures>.ardf-card,
.ardf-domestic-scorers>.ardf-card{width:100%!important;max-width:none!important}
.ardf-domestic-columns .ardf-card-head{min-height:38px!important;padding:8px 9px!important}
.ardf-domestic-columns .ardf-card-head strong{font-size:10px!important}
.ardf-domestic-columns .ardf-card-head span{font-size:6.5px!important}
.ardf-domestic-columns .ardf-fixtures{padding:5px 6px 7px!important;gap:3px!important}
.ardf-domestic-columns .ardf-fixture{grid-template-columns:48px minmax(0,1fr) 24px!important;padding:4px 3px!important;min-height:42px!important}
.ardf-domestic-columns .ardf-time{font-size:6.2px!important}
.ardf-domestic-columns .ardf-teams b{font-size:7.2px!important;gap:4px!important}
.ardf-domestic-columns .ardf-team-crest{width:15px!important;height:15px!important;flex:0 0 15px!important}
.ardf-domestic-columns .ardf-score{font-size:8px!important}
.ardf-domestic-columns .ardf-scorers{padding:5px 6px 7px!important}
.ardf-domestic-columns .ardf-scorers li{grid-template-columns:22px minmax(0,1fr) 24px!important;gap:4px!important;padding:5px 2px!important;min-height:38px!important}
.ardf-domestic-columns .ardf-scorer-main{grid-template-columns:17px minmax(0,1fr)!important;gap:4px!important}
.ardf-domestic-columns .ardf-scorer-crest{width:16px!important;height:16px!important}
.ardf-domestic-columns .ardf-scorers b{font-size:7.3px!important}
.ardf-domestic-columns .ardf-scorers small{font-size:5.9px!important}
.ardf-domestic-columns .ardf-scorers>li>strong{font-size:10px!important}

@media(max-width:980px){
  .ardf-domestic-columns{grid-template-columns:1fr 1fr!important}
  .ardf-domestic-standings{grid-column:1/-1!important}
  .ardf-domestic-standings .ar-standings__table thead .ar-col-team{width:150px!important}
}
@media(max-width:680px){
  .ardf-domestic-columns{grid-template-columns:1fr!important}
  .ardf-domestic-standings{grid-column:auto!important}
  .ardf-domestic-standings .ar-standings__table-wrap{overflow-x:auto!important}
  .ardf-domestic-standings .ar-standings__table{min-width:620px!important}
}


/* v1.3.3 · ancho equilibrado: mismo margen visual a izquierda y derecha */
@media (min-width:981px){
  body.ardf-classification-no-sidebar .ardf-domestic-hub{
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    transform:none!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
  body.ardf-classification-no-sidebar .ardf-domestic-hub>.ardf-hub-title,
  body.ardf-classification-no-sidebar .ardf-domestic-hub>.ardf-domestic-columns{
    width:100%!important;
    max-width:none!important;
    box-sizing:border-box!important;
  }
  body.ardf-classification-no-sidebar .ardf-domestic-columns{
    grid-template-columns:minmax(0,1.72fr) minmax(0,1.06fr) minmax(0,.98fr)!important;
    gap:16px!important;
  }
}
