/* CLASAMENT FOTBAL — stiluri complet izolate în wrapper */
body .rfm-cf-wrap{display:block!important;position:relative!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;font-family:Arial,Helvetica,sans-serif!important;color:#171923!important;line-height:normal!important;text-align:initial!important}
body .rfm-cf-wrap *,body .rfm-cf-wrap *:before,body .rfm-cf-wrap *:after{box-sizing:border-box!important}
body .rfm-cf-wrap .rfm-cf-tabs{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:8px!important;align-items:center!important;justify-content:flex-start!important;width:max-content!important;max-width:100%!important;margin:0 0 19.6px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;visibility:visible!important;opacity:1!important}
body .rfm-cf-wrap .rfm-cf-tabs>button.rfm-cf-tab{appearance:none!important;-webkit-appearance:none!important;display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:0!important;max-width:100%!important;min-height:44px!important;height:auto!important;margin:0!important;padding:10px 16px!important;border:0!important;border-radius:0!important;background:var(--rfm-cf-tab-inactive-bg,#eef2f7)!important;color:var(--rfm-cf-tab-inactive-text,#191729)!important;box-shadow:none!important;text-shadow:none!important;font-family:Arial,Helvetica,sans-serif!important;font-size:16px!important;font-style:normal!important;font-weight:600!important;line-height:1.2!important;letter-spacing:0!important;text-decoration:none!important;text-transform:none!important;cursor:pointer!important;transform:none!important;transition:none!important;animation:none!important;filter:none!important;outline-offset:2px!important;opacity:1!important;}
body .rfm-cf-wrap .rfm-cf-tabs>button.rfm-cf-tab.is-active,body .rfm-cf-wrap .rfm-cf-tabs>button.rfm-cf-tab.is-active:hover,body .rfm-cf-wrap .rfm-cf-tabs>button.rfm-cf-tab.is-active:focus,body .rfm-cf-wrap .rfm-cf-tabs>button.rfm-cf-tab.is-active:active{background:var(--rfm-cf-tab-active-bg,#191729)!important;color:var(--rfm-cf-tab-active-text,#fff)!important;box-shadow:none!important;transform:none!important;filter:none!important;}
body .rfm-cf-wrap .rfm-cf-tabs>button.rfm-cf-tab:not(.is-active),body .rfm-cf-wrap .rfm-cf-tabs>button.rfm-cf-tab:not(.is-active):hover,body .rfm-cf-wrap .rfm-cf-tabs>button.rfm-cf-tab:not(.is-active):focus,body .rfm-cf-wrap .rfm-cf-tabs>button.rfm-cf-tab:not(.is-active):active{background:var(--rfm-cf-tab-inactive-bg,#eef2f7)!important;color:var(--rfm-cf-tab-inactive-text,#191729)!important;box-shadow:none!important;transform:none!important;filter:none!important;}
body .rfm-cf-wrap .rfm-cf-tabs>button.rfm-cf-tab:before,body .rfm-cf-wrap .rfm-cf-tabs>button.rfm-cf-tab:after{content:none!important;display:none!important}
body .rfm-cf-wrap .rfm-cf-panel[hidden]{display:none!important}
body .rfm-cf-wrap .rfm-cf-panel{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
body .rfm-cf-wrap .rfm-cf-scroll{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
body .rfm-cf-wrap table.rfm-cf-table{display:table!important;width:92%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;border-collapse:collapse!important;border-spacing:0!important;table-layout:fixed!important;font-family:Arial,Helvetica,sans-serif!important;font-size:13px!important;line-height:normal!important;background:transparent!important;border:0!important}
body .rfm-cf-wrap table.rfm-cf-table thead{display:table-header-group!important}
body .rfm-cf-wrap table.rfm-cf-table tbody{display:table-row-group!important}
body .rfm-cf-wrap table.rfm-cf-table tr{display:table-row!important;border:0!important}
body .rfm-cf-wrap table.rfm-cf-table thead th{height:30px!important;padding:3px 1px!important;text-align:center!important;vertical-align:middle!important;font-family:Arial,Helvetica,sans-serif!important;font-size:9px!important;letter-spacing:.1px!important;font-weight:500!important;line-height:1.1!important;color:#202330!important;background:#fff!important;white-space:nowrap!important;border:0!important;border-bottom:1px solid #e1e5eb!important}
body .rfm-cf-wrap table.rfm-cf-table thead th:nth-child(1),body .rfm-cf-wrap table.rfm-cf-table tbody td:nth-child(1){width:5%!important;text-align:center!important}
body .rfm-cf-wrap table.rfm-cf-table thead th:nth-child(2),body .rfm-cf-wrap table.rfm-cf-table tbody td:nth-child(2){width:6%!important}
body .rfm-cf-wrap table.rfm-cf-table thead th:nth-child(3),body .rfm-cf-wrap table.rfm-cf-table tbody td:nth-child(3){width:27%!important}
body .rfm-cf-wrap table.rfm-cf-table thead th:nth-child(4),body .rfm-cf-wrap table.rfm-cf-table tbody td:nth-child(4){width:9%!important}
body .rfm-cf-wrap table.rfm-cf-table thead th:nth-child(n+5),body .rfm-cf-wrap table.rfm-cf-table tbody td:nth-child(n+5){width:7.5%!important}
body .rfm-cf-wrap table.rfm-cf-table thead th.rfm-cf-pts{background:#eef2f7!important;font-weight:700!important}
body .rfm-cf-wrap table.rfm-cf-table tbody tr{height:42px!important}
body .rfm-cf-wrap table.rfm-cf-table tbody tr:nth-child(even){background:#eef2f7!important}
body .rfm-cf-wrap table.rfm-cf-table tbody tr:nth-child(odd){background:#fff!important}
body .rfm-cf-wrap table.rfm-cf-table tbody tr:hover{background:inherit!important}
body .rfm-cf-wrap table.rfm-cf-table tbody td{padding:3px 1px!important;text-align:center!important;vertical-align:middle!important;white-space:nowrap!important;font-family:Arial,Helvetica,sans-serif!important;font-size:12px!important;line-height:1.15!important;font-weight:400!important;color:#171923!important;border:0!important;overflow:hidden!important;background:transparent!important}
body .rfm-cf-wrap table.rfm-cf-table .rfm-cf-pos{font-size:14px!important;font-weight:600!important}
body .rfm-cf-wrap table.rfm-cf-table .rfm-cf-logo{padding:2px 1px!important}
body .rfm-cf-wrap table.rfm-cf-table .rfm-cf-logo img{display:block!important;width:24px!important;height:24px!important;max-width:100%!important;object-fit:contain!important;margin:0 auto!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body .rfm-cf-wrap table.rfm-cf-table .rfm-cf-name{text-align:left!important;font-size:15px!important;font-weight:500!important;text-overflow:ellipsis!important;padding-left:5px!important;padding-right:2px!important}
body .rfm-cf-wrap table.rfm-cf-table .rfm-cf-points{font-size:15px!important;font-weight:700!important}
body .rfm-cf-wrap .rfm-cf-single-title{display:block!important;width:100%!important;margin:0 0 14px!important;padding:14px 16px!important;background:#191729!important;color:#fff!important;text-align:center!important;font-family:Arial,Helvetica,sans-serif!important;font-size:22px!important;line-height:1.2!important;font-weight:400!important;letter-spacing:.2px!important;text-transform:uppercase!important;border:0!important;border-radius:0!important;box-shadow:none!important}
@media(max-width:600px){body .rfm-cf-wrap table.rfm-cf-table{width:620px!important;min-width:620px!important}body .rfm-cf-wrap table.rfm-cf-table thead th{height:27px!important;font-size:9px!important;padding:2px 1px!important}body .rfm-cf-wrap .rfm-cf-tabs>button.rfm-cf-tab{min-height:38px!important;padding:8px 11px!important;font-size:13px!important}body .rfm-cf-wrap table.rfm-cf-table tbody tr{height:36px!important}body .rfm-cf-wrap table.rfm-cf-table tbody td{font-size:12px!important;padding:2px 1px!important;line-height:1.05!important}body .rfm-cf-wrap table.rfm-cf-table .rfm-cf-pos{font-size:13px!important}body .rfm-cf-wrap table.rfm-cf-table .rfm-cf-name{font-size:15px!important;padding-left:4px!important}body .rfm-cf-wrap table.rfm-cf-table .rfm-cf-points{font-size:15px!important}body .rfm-cf-wrap table.rfm-cf-table .rfm-cf-logo img{width:23px!important;height:23px!important}body .rfm-cf-wrap .rfm-cf-single-title{margin:0 0 10px!important;padding:11px 12px!important;font-size:19px!important}}

/* Evidențiere individuală a rândului pentru echipele selectate manual */
body .rfm-cf-wrap table.rfm-cf-table tbody tr.rfm-cf-row-highlight td:first-child{
  border-left:5px solid #e30613!important;
  padding-left:1px!important;
}
body .rfm-cf-wrap table.rfm-cf-table tbody tr.rfm-cf-row-highlight .rfm-cf-pos{
  color:#171923!important;
  font-weight:600!important;
}


/* MOBIL: LOC și siglă fixe; restul tabelului se glisează orizontal.
   Regulile sunt limitate la mobil și nu modifică stilul existent. */
@media(max-width:600px){
  body .rfm-cf-wrap table.rfm-cf-table thead th:nth-child(1),
  body .rfm-cf-wrap table.rfm-cf-table tbody td:nth-child(1){
    position:sticky!important;
    left:0!important;
    z-index:3!important;
  }
  body .rfm-cf-wrap table.rfm-cf-table thead th:nth-child(2),
  body .rfm-cf-wrap table.rfm-cf-table tbody td:nth-child(2){
    position:sticky!important;
    left:5%!important;
    z-index:3!important;
  }
  body .rfm-cf-wrap table.rfm-cf-table thead th:nth-child(1),
  body .rfm-cf-wrap table.rfm-cf-table thead th:nth-child(2){
    z-index:5!important;
    background:#fff!important;
  }
  /* Fundal uniform pe fiecare rând, inclusiv în coloanele fixe. */
  body .rfm-cf-wrap table.rfm-cf-table tbody tr:nth-child(odd) td{
    background-color:#fff!important;
  }
  body .rfm-cf-wrap table.rfm-cf-table tbody tr:nth-child(even) td{
    background-color:#eef2f7!important;
  }
  /* Celulele fixe preiau exact fundalul rândului, fără delimitare vizuală. */
  body .rfm-cf-wrap table.rfm-cf-table tbody tr:nth-child(odd) td:nth-child(1),
  body .rfm-cf-wrap table.rfm-cf-table tbody tr:nth-child(odd) td:nth-child(2),
  body .rfm-cf-wrap table.rfm-cf-table tbody tr:nth-child(even) td:nth-child(1),
  body .rfm-cf-wrap table.rfm-cf-table tbody tr:nth-child(even) td:nth-child(2){
    background-color:inherit!important;
  }
}


/* MOBIL: numele echipelor ocupă lățimea necesară celui mai lung nume;
   coloanele statistice MJ–GP sunt compacte. Desktopul rămâne neschimbat. */
@media(max-width:600px){
  body .rfm-cf-wrap table.rfm-cf-table{
    width:max-content!important;
    min-width:100%!important;
    max-width:none!important;
    table-layout:auto!important;
  }
  body .rfm-cf-wrap table.rfm-cf-table thead th:nth-child(1),
  body .rfm-cf-wrap table.rfm-cf-table tbody td:nth-child(1){
    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;
  }
  body .rfm-cf-wrap table.rfm-cf-table thead th:nth-child(2),
  body .rfm-cf-wrap table.rfm-cf-table tbody td:nth-child(2){
    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;
  }
  body .rfm-cf-wrap table.rfm-cf-table thead th:nth-child(3),
  body .rfm-cf-wrap table.rfm-cf-table tbody td:nth-child(3){
    width:max-content!important;
    min-width:max-content!important;
    max-width:none!important;
  }
  body .rfm-cf-wrap table.rfm-cf-table tbody td.rfm-cf-name{
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
    padding-right:10px!important;
  }
  body .rfm-cf-wrap table.rfm-cf-table thead th:nth-child(4),
  body .rfm-cf-wrap table.rfm-cf-table tbody td:nth-child(4){
    width:42px!important;
    min-width:42px!important;
    max-width:42px!important;
  }
  body .rfm-cf-wrap table.rfm-cf-table thead th:nth-child(n+5),
  body .rfm-cf-wrap table.rfm-cf-table tbody td:nth-child(n+5){
    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;
  }
  body .rfm-cf-wrap table.rfm-cf-table thead th:nth-child(1),
  body .rfm-cf-wrap table.rfm-cf-table tbody td:nth-child(1){
    left:0!important;
  }
  body .rfm-cf-wrap table.rfm-cf-table thead th:nth-child(2),
  body .rfm-cf-wrap table.rfm-cf-table tbody td:nth-child(2){
    left:34px!important;
  }
}

/* Shortcode compact: echipa evidentiata + vecinii */
body .rfm-cf-mini-wrap .rfm-cf-mini-footer{display:flex!important;justify-content:flex-end!important;align-items:center!important;width:92%!important;margin:7px 0 0!important;padding:0!important}
body .rfm-cf-mini-wrap .rfm-cf-mini-link{display:inline-block!important;text-decoration:none!important;font-family:Arial,Helvetica,sans-serif!important;font-weight:500!important;line-height:1.2!important}
body .rfm-cf-mini-wrap .rfm-cf-mini-link:hover{text-decoration:underline!important}
body .rfm-cf-mini-wrap .rfm-cf-no-highlight{margin:8px 0!important;font-size:13px!important}


/* MOBIL: marcajul roșu al echipei evidențiate rămâne fix odată cu coloana LOC. */
@media(max-width:600px){
  body .rfm-cf-wrap table.rfm-cf-table tbody tr.rfm-cf-row-highlight td:first-child{
    position:sticky!important;
    left:0!important;
    z-index:8!important;
    border-left:0!important;
    padding-left:1px!important;
    overflow:visible!important;
  }
  body .rfm-cf-wrap table.rfm-cf-table tbody tr.rfm-cf-row-highlight td:first-child:before{
    content:""!important;
    display:block!important;
    position:absolute!important;
    left:0!important;
    top:0!important;
    bottom:0!important;
    width:5px!important;
    background:#e30613!important;
    z-index:9!important;
    pointer-events:none!important;
  }
}
