.cp-rankings,
.cp-rankings-sidebar,
.cp-rankings-backdrop,
.cp-rankings * ,
.cp-rankings-sidebar * {
  box-sizing: border-box;
}

.cp-rankings,
.cp-rankings-sidebar {
  color: #111827;
  font-family: Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.cp-rankings {
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
}

.cp-rankings-top {
  align-items: center;
  background: #f7f9fc;
  border-bottom: 1px solid #dbe3ef;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 16px;
}

.cp-rankings-top > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.cp-rankings-kicker,
.cp-rankings-controls span,
.cp-active-filters > span {
  color: #536071;
  display: block;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.cp-rankings-top strong {
  color: #111827;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.cp-rankings-top em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.cp-rankings-filter-toggle,
.cp-rankings-sidebar-close,
.cp-rankings button,
.cp-rankings-sidebar button {
  appearance: none;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  min-height: 34px;
}

.cp-rankings-filter-toggle {
  background: #0f4c81;
  border-color: #0f4c81;
  color: #ffffff;
  display: none;
  padding: 0 14px;
}

.cp-rankings-gender,
.cp-rankings-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 14px 0;
}

.cp-rankings-gender button,
.cp-rankings-tabs button,
.cp-chip-row button {
  background: #ffffff;
  color: #1f2937;
  padding: 0 18px;
}

.cp-rankings-tabs {
  border-bottom: 1px solid #dbe3ef;
  gap: 12px;
  padding-bottom: 0;
}

.cp-rankings-tabs button {
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  min-height: 40px;
  padding: 0 4px;
}

.cp-rankings-gender button.is-active,
.cp-chip-row button.is-active {
  background: #0f4c81;
  border-color: #0f4c81;
  color: #ffffff;
}

.cp-rankings-tabs button.is-active {
  border-bottom: 3px solid #0f4c81;
  background: transparent !important;
  color: #111827 !important;
  font-weight: 900;
  box-shadow: none;
}

.cp-rankings-mobile-controls {
  border-bottom: 1px solid #dbe3ef;
  display: none;
  padding: 12px;
}

.cp-rankings-controls {
  display: grid;
  gap: 14px;
}

.cp-control-block,
.cp-rankings-controls label,
.cp-active-filters {
  display: grid;
  gap: 7px;
}

.cp-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cp-control-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cp-rankings-controls select,
.cp-rankings-controls input {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #111827;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  min-height: 38px;
  min-width: 0;
  padding: 7px 10px;
  width: 100%;
}

.cp-rankings-table-wrap {
  overflow-x: auto;
  width: 100%;
}

.cp-rankings-table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}

.cp-rankings-table th {
  background: #f1f5f9;
  border-bottom: 1px solid #dbe3ef;
  color: #536071;
  font-size: 11px;
  font-weight: 900;
  padding: 10px 12px;
  text-align: left;
  text-transform: uppercase;
}

.cp-rankings-table th:first-child,
.cp-rankings-table td:first-child {
  width: 48px;
}

.cp-rankings-table th:nth-child(3),
.cp-rankings-table td:nth-child(3),
.cp-rankings-table th:nth-child(4),
.cp-rankings-table td:nth-child(4),
.cp-rankings-table th:nth-child(5),
.cp-rankings-table td:nth-child(5) {
  text-align: right;
  width: 90px;
}

.cp-rankings-table td {
  border-bottom: 1px solid #e7edf5;
  color: #111827;
  font-size: 14px;
  padding: 12px;
  vertical-align: middle;
}

.cp-rankings-table td strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.cp-rankings-table td span {
  color: #64748b;
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 2px;
}

.cp-rankings-table td b {
  font-weight: 900;
}

.cp-change {
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px !important;
  font-weight: 900 !important;
  justify-content: center;
  min-width: 30px;
  padding: 4px 7px;
}

.cp-change.up {
  background: #e8f5dc;
  color: #33650e;
}

.cp-change.down {
  background: #fde8e8;
  color: #a32929;
}

.cp-change.same {
  background: #edf1f5;
  color: #64748b;
}

.cp-rankings-empty {
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
  margin: 0;
  padding: 16px;
}

.cp-rankings-pagination {
  align-items: center;
  background: #f7f9fc;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 10px 12px;
}

.cp-rankings-pagination span {
  color: #536071;
  font-size: 13px;
  font-weight: 800;
}

.cp-rankings-pagination button {
  background: #ffffff;
  color: #0f4c81;
  padding: 0 12px;
}

.cp-rankings-pagination button:disabled {
  cursor: default;
  opacity: .45;
}

.cp-rankings-cta {
  background: #f7f9fc;
  border-top: 1px solid #e4ebf5;
  display: flex;
  justify-content: center;
  padding: 12px;
}

.cp-rankings-cta a {
  align-items: center;
  background: #071b63;
  border: 1px solid #071b63;
  border-radius: 4px;
  color: #ffffff !important;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  text-decoration: none !important;
}

.cp-rankings-cta a:hover,
.cp-rankings-cta a:focus {
  background: #0b2b86;
  border-color: #0b2b86;
  color: #ffffff !important;
}

.cp-rankings-sidebar {
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 13px;
  width: 100%;
}

.cp-rankings-sidebar-close {
  display: none;
}

.cp-rankings-side-card {
  background: #f7f9fc;
  border: 1px solid #dbe3ef;
  border-radius: 6px;
  display: grid;
  gap: 8px;
  padding: 11px;
}

.cp-rankings-side-card strong {
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}

.cp-rankings-side-card a {
  color: #0f4c81;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cp-active-filters > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.cp-active-filters > div span {
  background: #e6f1fb;
  border-radius: 999px;
  color: #0c447c;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  text-transform: none;
}

.cp-active-filters button {
  background: transparent;
  color: #536071;
  width: 100%;
}

.cp-rankings-backdrop {
  display: none;
}

@media (max-width: 1024px) {
  .cp-rankings-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .cp-rankings-sidebar {
    border-radius: 0;
    bottom: 0;
    box-shadow: -18px 0 42px rgba(15, 23, 42, .24);
    max-width: min(360px, 92vw);
    overflow-y: auto;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(105%);
    transition: transform .22s ease;
    z-index: 99999;
  }

  .cp-rankings-sidebar-close {
    align-items: center;
    background: #0f4c81;
    border-color: #0f4c81;
    color: #ffffff;
    display: inline-flex;
    justify-content: center;
  }

  .cp-rankings-drawer-open .cp-rankings-sidebar {
    transform: translateX(0);
  }

  .cp-rankings-backdrop {
    background: rgba(15, 23, 42, .35);
    border: 0;
    border-radius: 0;
    bottom: 0;
    left: 0;
    min-height: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity .22s ease;
    z-index: 99998;
  }

  .cp-rankings-drawer-open .cp-rankings-backdrop {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 767px) {
  .cp-rankings {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
  }

  .cp-rankings-top {
    align-items: flex-start;
    padding: 12px;
  }

  .cp-rankings-top strong {
    font-size: 17px;
  }

  .cp-rankings-gender {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px 10px 0;
  }

  .cp-rankings-gender button {
    padding: 0 10px;
  }

  .cp-rankings-tabs {
    overflow-x: auto;
    padding-left: 12px;
    padding-right: 12px;
  }

  .cp-rankings-mobile-controls {
    display: block;
  }

  .cp-rankings-mobile-controls .cp-control-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cp-rankings-mobile-controls .cp-rating-grid,
  .cp-rankings-mobile-controls .cp-active-filters {
    display: none;
  }

  .cp-chip-row button {
    flex: 0 1 auto;
    min-width: 96px;
    padding: 0 10px;
  }

  .cp-rankings-table {
    min-width: 0;
  }

  .cp-rankings-table th,
  .cp-rankings-table td {
    font-size: 12px;
    padding: 10px 7px;
  }

  .cp-rankings-table th:first-child,
  .cp-rankings-table td:first-child {
    width: 32px;
  }

  .cp-rankings-table th:nth-child(3),
  .cp-rankings-table td:nth-child(3) {
    width: 48px;
  }

  .cp-rankings-table th:nth-child(4),
  .cp-rankings-table td:nth-child(4),
  .cp-rankings-table th:nth-child(5),
  .cp-rankings-table td:nth-child(5) {
    width: 58px;
  }

  .cp-rankings-table td strong {
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .cp-rankings-table td span {
    font-size: 11px;
  }

  .cp-change {
    min-width: 26px;
    padding: 3px 5px;
  }

  .cp-rankings-pagination {
    justify-content: space-between;
  }
}

@media (max-width: 390px) {
  .cp-rankings-top,
  .cp-rankings-mobile-controls {
    padding-left: 10px;
    padding-right: 10px;
  }

  .cp-rankings-controls select,
  .cp-rankings-controls input {
    font-size: 13px;
    min-height: 36px;
  }

  .cp-rankings-table th:nth-child(5),
  .cp-rankings-table td:nth-child(5) {
    width: 50px;
  }
}


.cp-rankings-type{
  display:flex;
  gap:10px;
  margin-bottom:12px;
  flex-wrap:wrap;
}

.cp-rankings-type button,
.cp-rankings-gender button{
  min-width:0;
}

@media (max-width:768px){
  .cp-rankings-type button,
  .cp-rankings-gender button{
    flex:1 1 calc(50% - 10px);
  }
}


/* Team | Player buttons */
.cp-rankings-type{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    margin:0 0 14px;
    width:100%;
}

.cp-rankings-type button{
    appearance:none;
    border:1px solid #bfc9dc;
    background:#fff;
    color:#0f172a;
    border-radius:8px;
    padding:12px 18px;
    font-size:18px;
    font-weight:700;
    line-height:1;
    cursor:pointer;
    width:100%;
    min-width:0;
    transition:all .2s ease;
}

.cp-rankings-type button.is-active{
  background:#0b4d88;
  border-color:#0b4d88;
  color:#fff;
}

.cp-rankings-gender{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.cp-rankings-gender button{
  min-width:140px;
}

@media (max-width:768px){

  .cp-rankings-type{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

  .cp-rankings-type button,
  .cp-rankings-gender button{
    width:100%;
    min-width:unset;
    justify-content:center;
  }

  .cp-mobile-show-filter{
    margin-top:14px;
    margin-bottom:10px;
  }

  .cp-mobile-show-filter label{
    display:block;
    margin-bottom:6px;
    font-weight:700;
  }
}


.cp-flag-cell{
    width:48px;
    text-align:center !important;
}

.cp-country-flag{
    width:24px;
    height:16px;
    display:block;
    margin:0 auto;
    object-fit:cover;
    border-radius:2px;
}

.cp-rankings-table th:nth-child(2),
.cp-rankings-table td:nth-child(2){
    width:48px;
    text-align:center;
}

.cp-rankings-table th:nth-child(3),
.cp-rankings-table td:nth-child(3){
    text-align:left;
    width:auto;
}

.cp-rankings-table th:nth-child(4),
.cp-rankings-table td:nth-child(4),
.cp-rankings-table th:nth-child(5),
.cp-rankings-table td:nth-child(5){
    text-align:right;
    width:90px;
}

@media (max-width:767px){
    .cp-country-flag{
        width:20px;
        height:14px;
    }

    .cp-rankings-table th:nth-child(2),
    .cp-rankings-table td:nth-child(2){
        width:34px;
    }

    .cp-rankings-table th:nth-child(4),
    .cp-rankings-table td:nth-child(4),
    .cp-rankings-table th:nth-child(5),
    .cp-rankings-table td:nth-child(5){
        width:58px;
    }
}

.cp-rankings-table th:nth-child(2),
.cp-rankings-table td:nth-child(2){
    width:1%;
    white-space:nowrap;
    text-align:center;
    padding:0 6px;
}

.cp-team-flag{
    width:24px!important;
    height:16px!important;
    min-width:24px!important;
    max-width:24px!important;
    min-height:16px!important;
    max-height:16px!important;
    object-fit:cover!important;
    border:1px solid #d8dee8!important;
    border-radius:2px!important;
    vertical-align:middle!important;
}

@media (max-width:768px){
    .cp-team-flag{
        width:20px!important;
        height:14px!important;
        min-width:20px!important;
        max-width:20px!important;
        min-height:14px!important;
        max-height:14px!important;
    }
}

/* Rankings table hardening for local flag assets and narrow devices. */
.cp-rankings .cp-rankings-table {
  table-layout: fixed;
}

.cp-rankings .cp-rankings-table th:first-child,
.cp-rankings .cp-rankings-table td:first-child {
  width: 46px;
}

.cp-rankings .cp-rankings-table th:nth-child(2),
.cp-rankings .cp-rankings-table td:nth-child(2) {
  padding-left: 6px;
  padding-right: 6px;
  text-align: center !important;
  white-space: nowrap;
  width: 46px;
}

.cp-rankings .cp-rankings-table th:nth-child(3),
.cp-rankings .cp-rankings-table td:nth-child(3) {
  text-align: left;
  width: auto;
}

.cp-rankings .cp-rankings-table th:nth-child(4),
.cp-rankings .cp-rankings-table td:nth-child(4) {
  text-align: right;
  width: 78px;
}

.cp-rankings .cp-rankings-table th:nth-child(5),
.cp-rankings .cp-rankings-table td:nth-child(5) {
  text-align: right;
  width: 74px;
}

.cp-rankings .cp-flag-cell {
  line-height: 0;
  text-align: center !important;
}

.cp-rankings .cp-country-flag {
  border: 1px solid #d8dee8 !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  display: inline-block !important;
  height: 16px !important;
  max-height: 16px !important;
  max-width: 24px !important;
  min-height: 16px !important;
  min-width: 24px !important;
  object-fit: cover !important;
  vertical-align: middle !important;
  width: 24px !important;
}

.cp-rankings .cp-country-flag-text {
  align-items: center;
  background: #f2f5fb;
  color: #071b63 !important;
  display: inline-flex !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  justify-content: center;
  line-height: 1 !important;
  margin: 0;
}

.cp-rankings .cp-rankings-table td strong {
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .cp-rankings .cp-rankings-table th,
  .cp-rankings .cp-rankings-table td {
    padding: 9px 6px;
  }

  .cp-rankings .cp-rankings-table th:first-child,
  .cp-rankings .cp-rankings-table td:first-child {
    width: 36px;
  }

  .cp-rankings .cp-rankings-table th:nth-child(2),
  .cp-rankings .cp-rankings-table td:nth-child(2) {
    padding-left: 4px;
    padding-right: 4px;
    width: 38px;
  }

  .cp-rankings .cp-rankings-table th:nth-child(4),
  .cp-rankings .cp-rankings-table td:nth-child(4) {
    width: 58px;
  }

  .cp-rankings .cp-rankings-table th:nth-child(5),
  .cp-rankings .cp-rankings-table td:nth-child(5) {
    width: 54px;
  }

  .cp-rankings .cp-country-flag {
    height: 15px !important;
    max-height: 15px !important;
    max-width: 22px !important;
    min-height: 15px !important;
    min-width: 22px !important;
    width: 22px !important;
  }
}

@media (max-width: 430px) {
  .cp-rankings .cp-rankings-top {
    gap: 8px;
  }

  .cp-rankings .cp-rankings-table th,
  .cp-rankings .cp-rankings-table td {
    font-size: 12px;
    padding: 8px 5px;
  }

  .cp-rankings .cp-rankings-table th:first-child,
  .cp-rankings .cp-rankings-table td:first-child {
    width: 32px;
  }

  .cp-rankings .cp-rankings-table th:nth-child(2),
  .cp-rankings .cp-rankings-table td:nth-child(2) {
    width: 34px;
  }

  .cp-rankings .cp-rankings-table th:nth-child(4),
  .cp-rankings .cp-rankings-table td:nth-child(4) {
    width: 54px;
  }

  .cp-rankings .cp-rankings-table th:nth-child(5),
  .cp-rankings .cp-rankings-table td:nth-child(5) {
    width: 50px;
  }

  .cp-rankings .cp-country-flag {
    height: 14px !important;
    max-height: 14px !important;
    max-width: 20px !important;
    min-height: 14px !important;
    min-width: 20px !important;
    width: 20px !important;
  }

  .cp-rankings .cp-change {
    min-width: 24px;
    padding-left: 4px;
    padding-right: 4px;
  }
}

/* Publisher table redesign: compact, SERP-friendly rankings layout. */
.cp-rankings {
  background: #ffffff;
  border: 1px solid #d8e1ee;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  overflow: hidden;
}

.cp-rankings .cp-rankings-top {
  background: #ffffff;
  border-bottom: 1px solid #eef2f7;
  padding: 14px 18px 12px;
}

.cp-rankings .cp-rankings-kicker {
  color: #41516b;
  font-size: 11px;
  letter-spacing: 0;
}

.cp-rankings .cp-rankings-top strong {
  color: #08111f;
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.12;
}

.cp-rankings .cp-rankings-top em {
  color: #5b6980;
  font-size: 12px;
}

.cp-rankings .cp-rankings-type {
  background: #f5f8fc;
  border: 1px solid #d6e0ec;
  border-radius: 8px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 12px 16px 10px;
  padding: 4px;
  width: auto;
}

.cp-rankings .cp-rankings-type button {
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 900;
  min-height: 38px;
  padding: 0 12px;
}

.cp-rankings .cp-rankings-type button.is-active {
  background: #0d4f86;
  color: #ffffff;
}

.cp-rankings .cp-rankings-gender {
  display: flex;
  gap: 8px;
  padding: 0 16px 8px;
}

.cp-rankings .cp-rankings-gender button {
  border-radius: 6px;
  flex: 0 1 132px;
  font-size: 14px;
  min-height: 36px;
  min-width: 0;
  padding: 0 14px;
}

.cp-rankings .cp-rankings-tabs {
  border-bottom: 1px solid #dbe3ef;
  gap: 22px;
  padding: 0 16px;
}

.cp-rankings .cp-rankings-tabs button {
  color: #0f172a;
  font-size: 14px;
  min-height: 38px;
}

.cp-rankings .cp-rankings-table-wrap {
  background: #ffffff;
  overflow-x: hidden;
}

.cp-rankings .cp-rankings-table {
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  width: 100%;
}

.cp-rankings .cp-rankings-table th,
.cp-rankings .cp-rankings-table td {
  border-left: 0 !important;
  border-right: 0 !important;
}

.cp-rankings .cp-rankings-table th {
  background: #f7f9fc;
  border-bottom: 1px solid #dbe3ef;
  color: #475569;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  padding: 10px 12px;
  text-align: left;
  text-transform: uppercase;
}

.cp-rankings .cp-rankings-table td {
  background: #ffffff;
  border-bottom: 1px solid #e9eef5;
  color: #07111f;
  font-size: 15px;
  padding: 12px;
}

.cp-rankings .cp-rankings-table tbody tr:nth-child(even) td {
  background: #fbfcfe;
}

.cp-rankings .cp-rankings-table tbody tr:hover td {
  background: #f5f9ff;
}

.cp-rankings .cp-rankings-table th:first-child,
.cp-rankings .cp-rankings-table td:first-child {
  text-align: center;
  width: 48px !important;
}

.cp-rankings .cp-rankings-table th:nth-child(2),
.cp-rankings .cp-rankings-table td:nth-child(2) {
  text-align: left !important;
  width: auto !important;
}

.cp-rankings .cp-rankings-table th:nth-child(3),
.cp-rankings .cp-rankings-table td:nth-child(3) {
  text-align: right !important;
  width: 82px !important;
}

.cp-rankings .cp-rankings-table th:nth-child(4),
.cp-rankings .cp-rankings-table td:nth-child(4) {
  text-align: right !important;
  width: 70px !important;
}

.cp-rankings .cp-rankings-name-cell {
  min-width: 0;
}

.cp-rankings .cp-rankings-team-line {
  align-items: center;
  display: inline-flex !important;
  gap: 9px;
  margin: 0 !important;
  max-width: 100%;
  min-width: 0;
  vertical-align: middle;
}

.cp-rankings .cp-rankings-team-copy {
  display: grid !important;
  gap: 2px;
  margin: 0 !important;
  min-width: 0;
}

.cp-rankings .cp-rankings-table td strong {
  color: #07111f;
  display: block;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.22;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cp-rankings .cp-rankings-country {
  color: #64748b !important;
  display: block !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  margin: 0 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cp-rankings .cp-rank-cell {
  color: #334155;
  font-weight: 800;
}

.cp-rankings .cp-rank-number {
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #334155 !important;
  display: inline-flex !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  height: 26px;
  justify-content: center;
  line-height: 1 !important;
  margin: 0 !important;
  min-width: 26px;
  padding: 0 7px;
}

.cp-rankings .cp-country-flag {
  border: 1px solid #d7dde7 !important;
  border-radius: 2px !important;
  display: inline-block !important;
  flex: 0 0 22px !important;
  height: 15px !important;
  max-height: 15px !important;
  max-width: 22px !important;
  min-height: 15px !important;
  min-width: 22px !important;
  object-fit: cover !important;
  width: 22px !important;
}

.cp-rankings .cp-country-flag-text {
  align-items: center;
  background: #eef4fb;
  color: #0d4f86 !important;
  display: inline-flex !important;
  font-size: 8px !important;
  font-weight: 900 !important;
  justify-content: center;
  line-height: 1 !important;
}

.cp-rankings .cp-rating-cell b {
  color: #07111f;
  font-size: 16px;
  font-weight: 900;
}

.cp-rankings .cp-change-cell {
  padding-left: 6px;
}

.cp-rankings .cp-change {
  border-radius: 999px;
  font-size: 11px !important;
  height: 26px;
  min-width: 38px;
  padding: 0 8px;
  align-items: center;
}

.cp-rankings .cp-change.same {
  background: #eef3f8;
  color: #607086;
}

@media (max-width: 767px) {
  .cp-rankings {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
  }

  .cp-rankings .cp-rankings-top {
    padding: 12px;
  }

  .cp-rankings .cp-rankings-top strong {
    font-size: 18px;
  }

  .cp-rankings .cp-rankings-type {
    margin: 10px 10px 8px;
  }

  .cp-rankings .cp-rankings-gender {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 10px 8px;
  }

  .cp-rankings .cp-rankings-gender button {
    flex: none;
    width: 100%;
  }

  .cp-rankings .cp-rankings-tabs {
    gap: 18px;
    padding: 0 12px;
  }

  .cp-rankings .cp-rankings-table th {
    font-size: 10px;
    padding: 9px 6px;
  }

  .cp-rankings .cp-rankings-table td {
    font-size: 13px;
    padding: 10px 6px;
  }

  .cp-rankings .cp-rankings-table th:first-child,
  .cp-rankings .cp-rankings-table td:first-child {
    width: 38px !important;
  }

  .cp-rankings .cp-rankings-table th:nth-child(3),
  .cp-rankings .cp-rankings-table td:nth-child(3) {
    width: 58px !important;
  }

  .cp-rankings .cp-rankings-table th:nth-child(4),
  .cp-rankings .cp-rankings-table td:nth-child(4) {
    width: 48px !important;
  }

  .cp-rankings .cp-rankings-team-line {
    gap: 7px;
  }

  .cp-rankings .cp-rankings-table td strong {
    font-size: 13px;
  }

  .cp-rankings .cp-rating-cell b {
    font-size: 14px;
  }

  .cp-rankings .cp-rank-number {
    font-size: 11px !important;
    height: 23px;
    min-width: 23px;
    padding: 0 5px;
  }

  .cp-rankings .cp-country-flag {
    flex-basis: 20px !important;
    height: 14px !important;
    max-height: 14px !important;
    max-width: 20px !important;
    min-height: 14px !important;
    min-width: 20px !important;
    width: 20px !important;
  }

  .cp-rankings .cp-change {
    height: 24px;
    min-width: 34px;
    padding-left: 6px;
    padding-right: 6px;
  }
}

@media (max-width: 390px) {
  .cp-rankings .cp-rankings-table th,
  .cp-rankings .cp-rankings-table td {
    padding-left: 5px;
    padding-right: 5px;
  }

  .cp-rankings .cp-rankings-table th:first-child,
  .cp-rankings .cp-rankings-table td:first-child {
    width: 34px !important;
  }

  .cp-rankings .cp-rankings-table th:nth-child(3),
  .cp-rankings .cp-rankings-table td:nth-child(3) {
    width: 54px !important;
  }

  .cp-rankings .cp-rankings-table th:nth-child(4),
  .cp-rankings .cp-rankings-table td:nth-child(4) {
    width: 44px !important;
  }

  .cp-rankings .cp-rankings-team-line {
    gap: 6px;
  }
}

/* Refinements: top-three emphasis, closer rating spacing, mobile-first visibility. */
.cp-rankings .cp-rank-top td {
  background: #fffaf0;
}

.cp-rankings .cp-rank-top-1 td {
  background: linear-gradient(90deg, #fff6dc 0%, #ffffff 82%);
}

.cp-rankings .cp-rank-top-2 td {
  background: linear-gradient(90deg, #f6f8fb 0%, #ffffff 82%);
}

.cp-rankings .cp-rank-top-3 td {
  background: linear-gradient(90deg, #fff1e6 0%, #ffffff 82%);
}

.cp-rankings .cp-rank-top-1 .cp-rank-number {
  background: #f7c948;
  border-color: #d69e2e;
  color: #2d1b00 !important;
}

.cp-rankings .cp-rank-top-2 .cp-rank-number {
  background: #e5e7eb;
  border-color: #cbd5e1;
  color: #111827 !important;
}

.cp-rankings .cp-rank-top-3 .cp-rank-number {
  background: #f6ad55;
  border-color: #dd6b20;
  color: #2d1600 !important;
}

.cp-rankings .cp-rank-top .cp-rankings-table td strong,
.cp-rankings .cp-rank-top .cp-rankings-name-cell strong {
  color: #061329;
}

@media (min-width: 768px) {
  .cp-rankings .cp-rankings-table {
    max-width: 720px;
    min-width: 560px;
    width: 720px;
  }

  .cp-rankings .cp-rankings-table-wrap {
    overflow-x: auto;
  }

  .cp-rankings .cp-rankings-table th:first-child,
  .cp-rankings .cp-rankings-table td:first-child {
    width: 48px !important;
  }

  .cp-rankings .cp-rankings-table th:nth-child(2),
  .cp-rankings .cp-rankings-table td:nth-child(2) {
    width: 520px !important;
  }

  .cp-rankings .cp-rankings-table th:nth-child(3),
  .cp-rankings .cp-rankings-table td:nth-child(3) {
    width: 82px !important;
  }

  .cp-rankings .cp-rankings-table th:nth-child(4),
  .cp-rankings .cp-rankings-table td:nth-child(4) {
    width: 70px !important;
  }
}

@media (max-width: 767px) {
  .cp-rankings .cp-rankings-mobile-controls {
    display: none !important;
  }

  .cp-rankings .cp-rankings-table-wrap {
    border-top: 1px solid #dbe3ef;
  }

  .cp-rankings .cp-rankings-tabs {
    border-bottom: 0;
  }

  .cp-rankings .cp-rankings-table th,
  .cp-rankings .cp-rankings-table td {
    padding-bottom: 9px;
    padding-top: 9px;
  }

  .cp-rankings .cp-rank-top-1 td {
    background: linear-gradient(90deg, #fff3cd 0%, #ffffff 100%);
  }

  .cp-rankings .cp-rank-top-2 td {
    background: linear-gradient(90deg, #f2f5f9 0%, #ffffff 100%);
  }

  .cp-rankings .cp-rank-top-3 td {
    background: linear-gradient(90deg, #ffeadb 0%, #ffffff 100%);
  }
}

/* 1.0.6 layout: unified filter rows and no dead table space. */
.cp-rankings .cp-rankings-primary-row {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  padding: 12px 16px 8px;
}

.cp-rankings .cp-rankings-primary-row .cp-rankings-type,
.cp-rankings .cp-rankings-primary-row .cp-rankings-gender {
  background: #f6f9fd;
  border: 1px solid #d8e2ef;
  border-radius: 8px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 4px;
  width: auto;
}

.cp-rankings .cp-rankings-primary-row .cp-rankings-gender {
  display: grid;
}

.cp-rankings .cp-rankings-primary-row button {
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  flex: none;
  font-size: 14px;
  font-weight: 900;
  min-height: 36px;
  min-width: 0;
  padding: 0 8px;
  width: auto;
}

.cp-rankings .cp-rankings-filter-strip {
  align-items: center;
  border-bottom: 1px solid #dbe3ef;
  display: flex;
  gap: 14px;
  padding: 0 16px;
}

.cp-rankings .cp-rankings-filter-strip .cp-rankings-tabs,
.cp-rankings .cp-rankings-filter-strip .cp-rankings-category-tabs {
  border: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.cp-rankings .cp-rankings-filter-strip button {
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
  min-height: 38px;
  padding: 0 0 2px;
}

.cp-rankings .cp-rankings-filter-strip button.is-active {
  background: transparent !important;
  border-bottom-color: #0d4f86;
  color: #07111f !important;
}

.cp-rankings[data-cp-current-type="team"] .cp-rankings-category-tabs {
  display: none;
}

.cp-rankings .cp-rankings-table {
  max-width: none !important;
  min-width: 0 !important;
  width: 100% !important;
}

.cp-rankings .cp-rankings-table-wrap {
  overflow-x: hidden !important;
  width: 100%;
}

.cp-rankings .cp-rankings-table th:first-child,
.cp-rankings .cp-rankings-table td:first-child {
  width: 52px !important;
}

.cp-rankings .cp-rankings-table th:nth-child(2),
.cp-rankings .cp-rankings-table td:nth-child(2) {
  width: auto !important;
}

.cp-rankings .cp-rankings-table th:nth-child(3),
.cp-rankings .cp-rankings-table td:nth-child(3) {
  width: 82px !important;
}

.cp-rankings .cp-rankings-table th:nth-child(4),
.cp-rankings .cp-rankings-table td:nth-child(4) {
  width: 62px !important;
}

.cp-rankings .cp-rankings-table th,
.cp-rankings .cp-rankings-table td {
  padding-left: 10px;
  padding-right: 10px;
}

.cp-rankings .cp-rankings-team-line {
  width: 100%;
}

.cp-rankings .cp-rankings-team-copy {
  max-width: 100%;
}

.cp-rankings .cp-rating-cell {
  background-clip: padding-box;
}

.cp-rankings .cp-change-cell {
  padding-left: 2px;
}

@media (min-width: 1025px) {
  .cp-rankings .cp-rankings-table th:first-child,
  .cp-rankings .cp-rankings-table td:first-child {
    width: 56px !important;
  }

  .cp-rankings .cp-rankings-table th:nth-child(3),
  .cp-rankings .cp-rankings-table td:nth-child(3) {
    width: 92px !important;
  }

  .cp-rankings .cp-rankings-table th:nth-child(4),
  .cp-rankings .cp-rankings-table td:nth-child(4) {
    width: 70px !important;
  }
}

@media (max-width: 1024px) {
  .cp-rankings .cp-rankings-primary-row {
    grid-template-columns: minmax(0, 1fr);
    padding: 10px 12px 8px;
  }

  .cp-rankings .cp-rankings-primary-row .cp-rankings-type,
  .cp-rankings .cp-rankings-primary-row .cp-rankings-gender {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cp-rankings .cp-rankings-primary-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cp-rankings .cp-rankings-primary-row .cp-rankings-type,
  .cp-rankings .cp-rankings-primary-row .cp-rankings-gender {
    display: contents;
  }

  .cp-rankings .cp-rankings-primary-row button {
    background: #ffffff;
    border: 1px solid #cbd7e6;
    border-radius: 8px;
    min-height: 40px;
  }

  .cp-rankings .cp-rankings-primary-row button.is-active {
    background: #0d4f86;
    border-color: #0d4f86;
    color: #ffffff;
  }

  .cp-rankings .cp-rankings-filter-strip {
    gap: 12px;
    overflow-x: auto;
    padding: 0 12px;
    scrollbar-width: none;
  }

  .cp-rankings .cp-rankings-filter-strip::-webkit-scrollbar {
    display: none;
  }

  .cp-rankings .cp-rankings-filter-strip .cp-rankings-tabs,
  .cp-rankings .cp-rankings-filter-strip .cp-rankings-category-tabs {
    flex: 0 0 auto;
    gap: 16px;
  }
}

@media (max-width: 430px) {
  .cp-rankings .cp-rankings-primary-row {
    gap: 5px;
    padding: 8px 8px 6px;
  }

  .cp-rankings .cp-rankings-primary-row button {
    font-size: 13px;
    min-height: 36px;
    padding: 0 4px;
  }

  .cp-rankings .cp-rankings-filter-strip {
    gap: 10px;
    padding: 0 8px;
  }

  .cp-rankings .cp-rankings-filter-strip button {
    font-size: 13px;
    min-height: 34px;
  }

  .cp-rankings .cp-rankings-table th:first-child,
  .cp-rankings .cp-rankings-table td:first-child {
    width: 38px !important;
  }

  .cp-rankings .cp-rankings-table th:nth-child(3),
  .cp-rankings .cp-rankings-table td:nth-child(3) {
    width: 58px !important;
  }

  .cp-rankings .cp-rankings-table th:nth-child(4),
  .cp-rankings .cp-rankings-table td:nth-child(4) {
    width: 44px !important;
  }

  .cp-rankings .cp-rankings-table th,
  .cp-rankings .cp-rankings-table td {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.cp-rankings .cp-rankings-primary-row {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.cp-rankings .cp-rankings-primary-row .cp-rankings-type,
.cp-rankings .cp-rankings-primary-row .cp-rankings-gender {
  display: contents !important;
}

.cp-rankings .cp-rankings-primary-row button {
  background: #ffffff;
  border: 1px solid #cbd7e6;
  border-radius: 8px;
}

.cp-rankings .cp-rankings-primary-row button.is-active {
  background: #0d4f86;
  border-color: #0d4f86;
  color: #ffffff;
}

/* 1.0.7 alignment and availability polish. */
.cp-rankings .cp-rankings-filter-strip {
  justify-content: space-between !important;
}

.cp-rankings .cp-rankings-filter-strip .cp-rankings-tabs {
  flex: 0 0 auto;
  justify-content: flex-start;
}

.cp-rankings .cp-rankings-filter-strip .cp-rankings-category-tabs {
  align-items: center;
  background: #f6f9fd;
  border: 1px solid #d8e2ef;
  border-radius: 8px;
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
  justify-content: flex-end;
  margin-left: auto;
  padding: 4px;
}

.cp-rankings .cp-rankings-filter-strip .cp-rankings-category-tabs button {
  background: #ffffff;
  border: 0;
  border-radius: 6px;
  color: #0f172a;
  font-size: 13px;
  min-height: 32px;
  padding: 0 12px;
}

.cp-rankings .cp-rankings-filter-strip .cp-rankings-category-tabs button.is-active {
  background: #0d4f86 !important;
  color: #ffffff !important;
}

.cp-rankings .cp-rankings-table th:first-child,
.cp-rankings .cp-rankings-table td:first-child {
  text-align: center !important;
  vertical-align: middle;
}

.cp-rankings .cp-rankings-table th:nth-child(2),
.cp-rankings .cp-rankings-table td:nth-child(2),
.cp-rankings .cp-rankings-name-cell {
  text-align: left !important;
  vertical-align: middle;
}

.cp-rankings .cp-rankings-table th:nth-child(3),
.cp-rankings .cp-rankings-table td:nth-child(3),
.cp-rankings .cp-rating-cell {
  text-align: right !important;
  vertical-align: middle;
}

.cp-rankings .cp-rankings-table th:nth-child(4),
.cp-rankings .cp-rankings-table td:nth-child(4),
.cp-rankings .cp-change-cell {
  text-align: right !important;
  vertical-align: middle;
}

.cp-rankings .cp-rankings-team-line {
  display: inline-flex !important;
  gap: 9px;
  justify-content: flex-start !important;
  margin: 0 !important;
  max-width: 100%;
  min-width: 0;
  text-align: left !important;
  width: auto !important;
}

.cp-rankings .cp-rankings-team-copy {
  display: grid !important;
  flex: 0 1 auto !important;
  justify-items: start;
  max-width: 100%;
  min-width: 0;
  text-align: left !important;
}

.cp-rankings .cp-rankings-table td strong,
.cp-rankings .cp-rankings-country {
  text-align: left !important;
}

.cp-rankings .cp-rankings-empty {
  background: #f7f9fc;
  border-top: 1px solid #e2e8f0;
  color: #475569;
  font-size: 14px;
  font-weight: 900;
  padding: 18px;
  text-align: center;
}

@media (max-width: 1024px) {
  .cp-rankings .cp-rankings-filter-strip {
    justify-content: flex-start !important;
  }

  .cp-rankings .cp-rankings-filter-strip .cp-rankings-category-tabs {
    margin-left: 10px;
  }
}

@media (max-width: 430px) {
  .cp-rankings .cp-rankings-filter-strip .cp-rankings-category-tabs button {
    font-size: 12px;
    min-height: 30px;
    padding: 0 9px;
  }

  .cp-rankings .cp-rankings-team-line {
    gap: 7px;
  }
}

/* 1.0.10 sports-style selector treatment: pure CSS, no asset cost. */
.cp-rankings .cp-rankings-primary-row {
  display: grid !important;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  padding: 12px 16px 9px;
}

.cp-rankings .cp-rankings-primary-row .cp-rankings-type,
.cp-rankings .cp-rankings-primary-row .cp-rankings-gender {
  align-items: center;
  background: #061a2d;
  border: 1px solid rgba(34, 211, 238, .28);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  column-gap: 16px;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 4px;
  position: relative;
  width: auto;
}

.cp-rankings .cp-rankings-primary-row .cp-rankings-type::before,
.cp-rankings .cp-rankings-primary-row .cp-rankings-gender::before {
  color: #67e8f9;
  content: "/";
  font-size: 15px;
  font-weight: 900;
  left: 50%;
  line-height: 1;
  opacity: .9;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.cp-rankings .cp-rankings-primary-row button {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #d7f7ff;
  font-size: 14px;
  font-weight: 900;
  min-height: 36px;
  min-width: 0;
  padding: 0 8px;
  text-shadow: none;
  width: 100%;
}

.cp-rankings .cp-rankings-primary-row button.is-active {
  background: rgba(34, 211, 238, .16);
  border-color: rgba(103, 232, 249, .42);
  color: #67e8f9;
  box-shadow: inset 0 0 0 1px rgba(103, 232, 249, .08);
}

@media (max-width: 767px) {
  .cp-rankings .cp-rankings-primary-row {
    gap: 7px;
    padding: 9px 8px 7px;
  }

  .cp-rankings .cp-rankings-primary-row .cp-rankings-type,
  .cp-rankings .cp-rankings-primary-row .cp-rankings-gender {
    column-gap: 12px;
    border-radius: 9px;
    padding: 3px;
  }

  .cp-rankings .cp-rankings-primary-row button {
    font-size: 12px;
    min-height: 33px;
    padding: 0 4px;
  }

  .cp-rankings .cp-rankings-primary-row .cp-rankings-type::before,
  .cp-rankings .cp-rankings-primary-row .cp-rankings-gender::before {
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .cp-rankings .cp-rankings-primary-row {
    gap: 5px;
  }

  .cp-rankings .cp-rankings-primary-row button {
    font-size: 11px;
    letter-spacing: 0;
  }
}

/* 1.0.11 gradient selector fill inspired by the supplied sports artwork. */
.cp-rankings .cp-rankings-primary-row .cp-rankings-type,
.cp-rankings .cp-rankings-primary-row .cp-rankings-gender {
  background-color: #4833ff;
  background-image: linear-gradient(135deg, #fc6d07, #ff0569, #cf189c, #8934e5, #4080fd, #1bd79c);
  border: 0;
  box-shadow: 0 8px 18px rgba(72, 51, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .26);
  padding: 4px;
}

.cp-rankings .cp-rankings-primary-row .cp-rankings-type::before,
.cp-rankings .cp-rankings-primary-row .cp-rankings-gender::before {
  color: #d9ffff;
  opacity: .96;
  text-shadow: 0 0 10px rgba(72, 51, 255, .75);
}

.cp-rankings .cp-rankings-primary-row button {
  background: rgba(4, 18, 38, .62);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #eaffff;
}

.cp-rankings .cp-rankings-primary-row button.is-active {
  background: #4833ff;
  border-color: rgba(217, 255, 255, .68);
  box-shadow: 0 0 14px rgba(72, 51, 255, .58), inset 0 1px 0 rgba(255, 255, 255, .2);
  color: #40fff5;
}

@media (max-width: 767px) {
  .cp-rankings .cp-rankings-primary-row .cp-rankings-type,
  .cp-rankings .cp-rankings-primary-row .cp-rankings-gender {
    box-shadow: 0 5px 12px rgba(72, 51, 255, .18), inset 0 1px 0 rgba(255, 255, 255, .22);
  }

  .cp-rankings .cp-rankings-primary-row button.is-active {
    box-shadow: 0 0 10px rgba(72, 51, 255, .5), inset 0 1px 0 rgba(255, 255, 255, .18);
  }
}

/* 1.0.12 stronger active filter emphasis and electric glow. */
.cp-rankings [data-cp-filter].is-active,
.cp-rankings-sidebar [data-cp-filter].is-active,
.cp-rankings .cp-rankings-filter-strip button.is-active,
.cp-rankings .cp-rankings-primary-row button.is-active,
.cp-rankings .cp-chip-row button.is-active {
  font-weight: 900 !important;
  letter-spacing: 0;
  text-shadow: 0 0 9px rgba(64, 255, 245, .68), 0 0 18px rgba(72, 51, 255, .38);
}

.cp-rankings .cp-rankings-primary-row button.is-active {
  background: linear-gradient(135deg, #4833ff 0%, #6d38ff 48%, #1bd79c 100%) !important;
  border-color: rgba(217, 255, 255, .78) !important;
  box-shadow: 0 0 0 1px rgba(64, 255, 245, .34), 0 0 18px rgba(72, 51, 255, .72), inset 0 1px 0 rgba(255, 255, 255, .26) !important;
  color: #eaffff !important;
}

.cp-rankings .cp-rankings-filter-strip .cp-rankings-tabs button.is-active {
  border-bottom-color: #40fff5 !important;
  color: #061a2d !important;
  text-shadow: 0 0 10px rgba(64, 255, 245, .64), 0 0 16px rgba(72, 51, 255, .26);
}

.cp-rankings .cp-rankings-filter-strip .cp-rankings-tabs button.is-active::after {
  background: #4833ff;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(72, 51, 255, .75);
  content: "";
  display: block;
  height: 3px;
  margin-top: -3px;
  width: 100%;
}

.cp-rankings .cp-rankings-filter-strip .cp-rankings-category-tabs button.is-active,
.cp-rankings .cp-chip-row button.is-active {
  background: linear-gradient(135deg, #4833ff, #4080fd, #1bd79c) !important;
  border-color: rgba(217, 255, 255, .62) !important;
  box-shadow: 0 0 0 1px rgba(64, 255, 245, .28), 0 0 14px rgba(72, 51, 255, .55) !important;
  color: #eaffff !important;
}

.cp-rankings .cp-active-filters > div span {
  background: rgba(64, 255, 245, .16);
  border: 1px solid rgba(72, 51, 255, .22);
  color: #0b4d88;
  font-weight: 900;
}

@media (max-width: 767px) {
  .cp-rankings [data-cp-filter].is-active,
  .cp-rankings-sidebar [data-cp-filter].is-active {
    text-shadow: 0 0 7px rgba(64, 255, 245, .58), 0 0 13px rgba(72, 51, 255, .32);
  }
}

/* 1.0.13 professional selector reset: cleaner site-fit colors, single tab underline. */
.cp-rankings .cp-rankings-primary-row .cp-rankings-type,
.cp-rankings .cp-rankings-primary-row .cp-rankings-gender {
  background: #f6f9fd !important;
  background-image: none !important;
  border: 1px solid #d8e2ef !important;
  box-shadow: none !important;
}

.cp-rankings .cp-rankings-primary-row .cp-rankings-type::before,
.cp-rankings .cp-rankings-primary-row .cp-rankings-gender::before {
  color: #6b7c93 !important;
  opacity: .75;
  text-shadow: none !important;
}

.cp-rankings .cp-rankings-primary-row button {
  background: #ffffff !important;
  border: 1px solid transparent !important;
  color: #0f172a !important;
  text-shadow: none !important;
}

.cp-rankings .cp-rankings-primary-row button.is-active {
  background: linear-gradient(135deg, #0b4d88 0%, #1277b7 52%, #12c8d7 100%) !important;
  border-color: rgba(18, 200, 215, .42) !important;
  box-shadow: 0 6px 14px rgba(11, 77, 136, .22), inset 0 1px 0 rgba(255, 255, 255, .2) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  text-shadow: 0 1px 0 rgba(2, 8, 23, .22) !important;
}

.cp-rankings .cp-rankings-filter-strip .cp-rankings-category-tabs {
  background: #f6f9fd !important;
  border-color: #d8e2ef !important;
  box-shadow: none !important;
}

.cp-rankings .cp-rankings-filter-strip .cp-rankings-category-tabs button.is-active,
.cp-rankings .cp-chip-row button.is-active {
  background: #0d4f86 !important;
  border-color: #0d4f86 !important;
  box-shadow: none !important;
  color: #ffffff !important;
  text-shadow: none !important;
}

.cp-rankings .cp-rankings-filter-strip .cp-rankings-tabs button.is-active {
  border-bottom-color: #0d4f86 !important;
  box-shadow: none !important;
  color: #061a2d !important;
  font-weight: 900 !important;
  text-shadow: none !important;
}

.cp-rankings .cp-rankings-filter-strip .cp-rankings-tabs button.is-active::after {
  content: none !important;
  display: none !important;
}

.cp-rankings [data-cp-filter].is-active,
.cp-rankings-sidebar [data-cp-filter].is-active,
.cp-rankings .cp-rankings-filter-strip button.is-active,
.cp-rankings .cp-rankings-primary-row button.is-active,
.cp-rankings .cp-chip-row button.is-active {
  letter-spacing: 0;
}

@media (max-width: 767px) {
  .cp-rankings .cp-rankings-primary-row button.is-active {
    box-shadow: 0 4px 10px rgba(11, 77, 136, .2), inset 0 1px 0 rgba(255, 255, 255, .18) !important;
  }
}

/* 1.0.14 restore Batters/Bowlers/All-rounders active styling. */
.cp-rankings .cp-rankings-filter-strip .cp-rankings-category-tabs button.is-active,
.cp-rankings .cp-chip-row button.is-active {
  background: linear-gradient(135deg, #4833ff, #4080fd, #1bd79c) !important;
  border-color: rgba(217, 255, 255, .62) !important;
  box-shadow: 0 0 0 1px rgba(64, 255, 245, .28), 0 0 14px rgba(72, 51, 255, .55) !important;
  color: #eaffff !important;
  font-weight: 900 !important;
  text-shadow: 0 0 9px rgba(64, 255, 245, .52), 0 0 16px rgba(72, 51, 255, .34) !important;
}

/* 1.0.15 larger glossy flags with a curved corner-to-corner shine. */
.cp-rankings .cp-country-flag-wrap {
  border: 1px solid #cfd8e6;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .16);
  display: inline-block;
  flex: 0 0 30px;
  height: 20px;
  line-height: 0;
  overflow: hidden;
  position: relative;
  vertical-align: middle;
  width: 30px;
}

.cp-rankings .cp-country-flag-wrap::after {
  background: rgba(255, 255, 255, .52);
  border-radius: 999px;
  content: "";
  height: 62%;
  left: -26%;
  opacity: .9;
  pointer-events: none;
  position: absolute;
  top: 18%;
  transform: rotate(135deg);
  width: 152%;
}

.cp-rankings .cp-country-flag-wrap .cp-country-flag {
  border: 0 !important;
  border-radius: inherit !important;
  display: block !important;
  flex: none !important;
  height: 100% !important;
  max-height: none !important;
  max-width: none !important;
  min-height: 0 !important;
  min-width: 0 !important;
  object-fit: cover !important;
  width: 100% !important;
}

.cp-rankings .cp-country-flag-wrap .cp-country-flag-text {
  align-items: center;
  background: #eef4fb;
  color: #0d4f86 !important;
  display: inline-flex !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  justify-content: center;
  line-height: 1 !important;
}

.cp-rankings .cp-rankings-team-line {
  gap: 10px !important;
}

@media (max-width: 767px) {
  .cp-rankings .cp-country-flag-wrap {
    flex-basis: 26px;
    height: 18px;
    width: 26px;
  }

  .cp-rankings .cp-rankings-team-line {
    gap: 8px !important;
  }
}

@media (max-width: 360px) {
  .cp-rankings .cp-country-flag-wrap {
    flex-basis: 24px;
    height: 16px;
    width: 24px;
  }
}

.cp-rankings-home,
.cp-rankings-home * {
  box-sizing: border-box;
}

.cp-rankings-home {
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  color: #111827;
  font-family: Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow: hidden;
  width: 100%;
}

.cp-rankings-home-head {
  align-items: center;
  background: #f8fafc;
  border-bottom: 1px solid #e4ebf5;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 14px 16px;
}

.cp-rankings-home-head > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.cp-rankings-home-head span {
  color: #0060a8;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.cp-rankings-home-head strong {
  color: #071b63;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
}

.cp-rankings-home-head em {
  color: #536071;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.25;
}

.cp-rankings-home-head a {
  align-items: center;
  background: #071b63;
  border-radius: 4px;
  color: #ffffff !important;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 900;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  text-decoration: none !important;
}

.cp-rankings-home-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cp-rankings-home-card {
  display: grid;
  gap: 0;
  min-width: 0;
  padding: 14px;
}

.cp-rankings-home-card + .cp-rankings-home-card {
  border-left: 1px solid #e4ebf5;
}

.cp-rankings-home-card h3 {
  color: #071b63;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 10px;
}

.cp-rankings-home-list {
  display: grid;
  gap: 8px;
}

.cp-rankings-home-row {
  align-items: center;
  background: #f9fbfe;
  border: 1px solid #e1e9f4;
  border-radius: 6px;
  color: #111827 !important;
  display: grid;
  gap: 10px;
  grid-template-columns: 30px 34px minmax(0, 1fr) auto;
  min-height: 54px;
  padding: 9px 10px;
  text-decoration: none !important;
}

.cp-rankings-home-row:hover,
.cp-rankings-home-row:focus {
  background: #f2f7ff;
  border-color: #c7d8ee;
}

.cp-rankings-home-rank {
  align-items: center;
  background: #071b63;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.cp-rankings-home-flag {
  align-items: center;
  border: 1px solid #cfd8e6;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .14);
  display: inline-flex;
  height: 23px;
  justify-content: center;
  overflow: hidden;
  width: 34px;
}

.cp-rankings-home-flag img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cp-rankings-home-flag-text {
  background: #eef4fb;
  color: #0d4f86;
  font-size: 10px;
  font-weight: 900;
}

.cp-rankings-home-name {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cp-rankings-home-name strong {
  color: #111827;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cp-rankings-home-name small {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
}

.cp-rankings-home-rating {
  color: #071b63;
  font-size: 16px;
  font-weight: 900;
}

@media (max-width: 760px) {
  .cp-rankings-home-head {
    align-items: flex-start;
    display: grid;
  }

  .cp-rankings-home-head a {
    width: 100%;
  }

  .cp-rankings-home-grid {
    grid-template-columns: 1fr;
  }

  .cp-rankings-home-card + .cp-rankings-home-card {
    border-left: 0;
    border-top: 1px solid #e4ebf5;
  }
}
