/* Box.Live Power Rankings table */
.power-rankings-section {
  margin-top: 2rem;
}

.power-rankings-section .site-content__section-header {
  margin-bottom: 1rem;
}

.power-rankings-desc {
  max-width: 60em;
  padding: 1.5rem;
}

.table-power-rankings {
  border: 1px solid #ddd;
}

.table-power-rankings thead th {
  font-weight: 600;
  border-bottom-width: 2px;
}

.table-power-rankings .power-rank-position {
  width: 2.5em;
  text-align: center;
  font-weight: 600;
  vertical-align: middle;
}

.table-power-rankings .power-rank-fighter {
  white-space: nowrap;
  vertical-align: middle;
  display: flex;
  align-items: center;
}

.power-rank-fighter-photo {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 12px;
  background: #000;
  overflow: hidden;
}

.power-rank-fighter-photo__img {
  width: 100% !important;
  height: 100% !important;
  max-height: 30px !important;
  object-fit: cover;
  object-position: center;
  vertical-align: middle;
}

.table-power-rankings .power-rank-org {
  text-align: center;
  vertical-align: middle;
}

/* Group highlighting */
.table-power-rankings tbody tr.power-rank--ring-champion {
  background-color: rgba(248, 186, 75, 0.2);
}

.table-power-rankings tbody tr.power-rank--ring-ranked {
  background-color: rgba(248, 186, 75, 0.08);
}

.table-power-rankings tbody tr.power-rank--world-champion {
  background-color: rgba(0, 0, 0, 0.04);
}

.table-power-rankings tbody tr.power-rank--other:hover,
.table-power-rankings tbody tr.power-rank--ring-ranked:hover,
.table-power-rankings tbody tr.power-rank--world-champion:hover,
.table-power-rankings tbody tr.power-rank--ring-champion:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

/* Fighter profile & contest: Box.Live ranking row (black bg, Box white, .Live red) */
.single-fight__stats-wrapper .stats-row.power-rankings .stats-row__title {
  background-color: #000;
  border: 1px solid #000;
  color: #fff;
  font-weight: 700!important;
}

.single-fight__stats-wrapper .stats-row.power-rankings .power-label-box {
  color: #fff;
}

.single-fight__stats-wrapper .stats-row.power-rankings .power-label-live {
  color: #d20000;
}

/* Whole row clickable for ranking rows */
.single-fight__stats-wrapper .stats-row-link {
  transition: opacity 0.15s ease;
}

.single-fight__stats-wrapper .stats-row-link:hover {
  opacity: 0.9;
}

.single-fight__stats-wrapper .stats-row-link .stats-row {
  flex-grow: 1;
}
