/* =====================================================
   VIASA VIRTUAL AIRLINES
   SISTEMA PÚBLICO DE RANKINGS
===================================================== */

.ranking-page {
  --ranking-border: rgba(255, 255, 255, 0.15);
  --ranking-surface: rgba(255, 255, 255, 0.07);
  --ranking-surface-hover: rgba(255, 255, 255, 0.11);
  --ranking-deep: rgba(0, 20, 48, 0.42);
  --ranking-muted: rgba(255, 255, 255, 0.76);
}

.ranking-content {
  max-width: 1180px;
}

.ranking-main-panel {
  max-width: 1180px;
  box-sizing: border-box;
}

.ranking-header {
  text-align: center;
  margin-bottom: 24px;
}

.ranking-header h1 {
  margin: 4px 0 8px;
  color: #fff;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.1;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.38);
}

.ranking-header p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--ranking-muted);
  font-size: 16px;
}

.ranking-eyebrow,
.ranking-section-kicker {
  display: block;
  color: var(--g);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* =====================================================
   TABS
===================================================== */

.ranking-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin: 0 0 22px;
  padding: 6px;
  overflow-x: auto;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--ranking-border);
  border-radius: 14px;
  scrollbar-width: thin;
}

.ranking-tab {
  flex: 1 0 auto;
  min-width: 125px;
  padding: 10px 14px;
  border-radius: 9px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.ranking-tab:hover {
  color: var(--g);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.ranking-tab--active {
  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(0, 91, 187, 0.98),
    rgba(0, 65, 153, 0.98)
  );
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.3);
}

/* =====================================================
   RESUMEN
===================================================== */

.ranking-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.ranking-summary-card {
  padding: 15px;
  border: 1px solid var(--ranking-border);
  border-radius: 14px;
  background: var(--ranking-surface);
  text-align: center;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.16);
}

.ranking-summary-label {
  display: block;
  color: var(--g);
  font-size: 12px;
  font-weight: 800;
}

.ranking-summary-value {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 19px;
  line-height: 1.3;
}

/* =====================================================
   TÍTULOS DE SECCIÓN
===================================================== */

.ranking-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.ranking-section-heading h2 {
  margin: 3px 0 0;
  color: #fff;
  font-size: 26px;
  line-height: 1.2;
}

.ranking-results-count {
  flex-shrink: 0;
  color: var(--ranking-muted);
  font-size: 13px;
}

/* =====================================================
   PODIO
===================================================== */

.ranking-podium-section {
  margin: 30px 0;
}

.ranking-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 14px;
}

.ranking-podium-card {
  position: relative;
  min-height: 238px;
  padding: 22px 16px 18px;
  overflow: hidden;
  border: 1px solid var(--ranking-border);
  border-radius: 18px;
  background:
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.11),
      rgba(255, 255, 255, 0.04)
    );
  text-align: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.23);
}

.ranking-podium-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.14;
}

.ranking-podium-card--1 {
  min-height: 272px;
  padding-top: 28px;
  border-color: rgba(255, 204, 0, 0.55);
}

.ranking-podium-card--1::before {
  background: radial-gradient(
    circle at top,
    rgba(255, 204, 0, 0.75),
    transparent 60%
  );
}

.ranking-podium-card--2 {
  border-color: rgba(220, 226, 235, 0.4);
}

.ranking-podium-card--2::before {
  background: radial-gradient(
    circle at top,
    rgba(220, 226, 235, 0.65),
    transparent 60%
  );
}

.ranking-podium-card--3 {
  border-color: rgba(205, 127, 50, 0.45);
}

.ranking-podium-card--3::before {
  background: radial-gradient(
    circle at top,
    rgba(205, 127, 50, 0.7),
    transparent 60%
  );
}

.ranking-podium-medal {
  position: relative;
  font-size: 40px;
  line-height: 1;
  filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.4));
}

.ranking-podium-position {
  position: relative;
  display: block;
  margin-top: 8px;
  color: var(--ranking-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ranking-podium-callsign {
  position: relative;
  display: block;
  margin-top: 12px;
  color: var(--g);
  font-size: 21px;
}

.ranking-podium-name {
  position: relative;
  display: block;
  min-height: 24px;
  margin-top: 2px;
  color: #fff;
  font-size: 14px;
}

.ranking-podium-points {
  position: relative;
  margin-top: 14px;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.ranking-podium-points small {
  display: block;
  color: var(--ranking-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.ranking-podium-meta {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.ranking-podium-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  font-size: 12px;
}

/* =====================================================
   BUSCADOR
===================================================== */

.ranking-list-section {
  margin-top: 30px;
}

.ranking-search {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-bottom: 14px;
}

.ranking-search-input {
  width: min(100%, 470px);
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9px;
  outline: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
  font-family: inherit;
  font-size: 14px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.ranking-search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.ranking-search-input:focus {
  border-color: rgba(255, 204, 0, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.11);
}

.ranking-search-button,
.ranking-search-clear,
.ranking-primary-button,
.ranking-pagination-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--pb);
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.ranking-search-button:hover,
.ranking-primary-button:hover,
.ranking-pagination-button:hover {
  color: #fff;
  background: var(--hb);
  transform: translateY(-1px);
}

.ranking-search-clear {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.ranking-search-clear:hover {
  color: var(--g);
  background: rgba(255, 255, 255, 0.22);
}

.ranking-search-feedback {
  margin: 0 0 14px;
  color: var(--ranking-muted);
  font-size: 13px;
  text-align: center;
}

.ranking-search-feedback strong {
  color: var(--g);
}

/* =====================================================
   TABLA
===================================================== */

.ranking-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--ranking-border);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.13);
  -webkit-overflow-scrolling: touch;
}

.ranking-table {
  width: 100%;
  min-width: 930px;
  border-collapse: collapse;
}

.ranking-table th,
.ranking-table td {
  padding: 12px 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  text-align: left;
  white-space: nowrap;
}

.ranking-table th {
  color: #fff;
  background: rgba(0, 91, 170, 0.86);
  font-size: 13px;
  font-weight: 800;
}

.ranking-table tbody tr {
  transition: background 0.18s ease;
}

.ranking-table tbody tr:hover {
  background: var(--ranking-surface-hover);
}

.ranking-table tbody tr:last-child td {
  border-bottom: 0;
}

.ranking-table .ranking-numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.ranking-position {
  display: inline-flex;
  min-width: 38px;
  align-items: center;
  justify-content: center;
  color: var(--g);
  font-size: 17px;
  font-weight: 900;
}

.ranking-pilot strong {
  display: block;
  color: var(--g);
  font-size: 14px;
}

.ranking-pilot span {
  display: block;
  max-width: 230px;
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  text-overflow: ellipsis;
}

.ranking-points {
  color: var(--g);
}

.ranking-position--gold {
  background: rgba(255, 204, 0, 0.075);
}

.ranking-position--silver {
  background: rgba(220, 226, 235, 0.06);
}

.ranking-position--bronze {
  background: rgba(205, 127, 50, 0.07);
}

.ranking-empty {
  padding: 28px !important;
  color: var(--ranking-muted) !important;
  text-align: center !important;
}

/* =====================================================
   PAGINACIÓN
===================================================== */

.ranking-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.ranking-pagination-status {
  padding: 8px 12px;
  color: var(--ranking-muted);
  font-size: 13px;
}

.ranking-pagination-status strong {
  color: #fff;
}

.ranking-pagination-button--disabled {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
}

/* =====================================================
   EXPLICACIÓN
===================================================== */

.ranking-explanation {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--ranking-border);
  border-radius: 14px;
  background: var(--ranking-surface);
}

.ranking-explanation summary {
  position: relative;
  padding: 16px 48px 16px 17px;
  color: var(--g);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.ranking-explanation summary::-webkit-details-marker {
  display: none;
}

.ranking-explanation summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  content: "+";
  color: #fff;
  font-size: 22px;
  transform: translateY(-50%);
}

.ranking-explanation[open] summary::after {
  content: "−";
}

.ranking-explanation-content {
  padding: 0 17px 18px;
  color: #eee;
}

.ranking-explanation-content > p {
  margin: 0 0 15px;
}

.ranking-formula {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
  padding: 14px;
  border-left: 4px solid var(--g);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}

.ranking-formula span {
  color: var(--ranking-muted);
  font-size: 13px;
}

.ranking-formula strong {
  color: #fff;
  text-align: right;
}

.ranking-rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ranking-rules-grid article {
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.045);
}

.ranking-rules-grid strong {
  color: var(--g);
}

.ranking-rules-grid p {
  margin: 5px 0 0;
  color: #eee;
  font-size: 13px;
}

/* =====================================================
   PRÓXIMAMENTE
===================================================== */

.ranking-coming-soon {
  max-width: 650px;
  margin: 40px auto 15px;
  padding: 42px 22px;
  border: 1px solid var(--ranking-border);
  border-radius: 18px;
  background: var(--ranking-surface);
  text-align: center;
}

.ranking-coming-icon {
  display: block;
  margin-bottom: 12px;
  color: var(--g);
  font-size: 48px;
  transform: rotate(-15deg);
}

.ranking-coming-soon h2 {
  margin: 5px 0 10px;
  color: #fff;
  font-size: 28px;
}

.ranking-coming-soon p {
  max-width: 520px;
  margin: 0 auto 20px;
  color: var(--ranking-muted);
}

/* =====================================================
   ALERTAS
===================================================== */

.ranking-alert {
  padding: 15px;
  border-radius: 10px;
  text-align: center;
}

.ranking-alert--error {
  color: #fff;
  border: 1px solid rgba(255, 99, 71, 0.42);
  background: rgba(255, 99, 71, 0.16);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {
  .ranking-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ranking-podium {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .ranking-podium-card,
  .ranking-podium-card--1 {
    min-height: 0;
  }

  .ranking-podium-card--1 {
    order: -1;
  }
}

@media (max-width: 768px) {
  .ranking-main-panel {
    padding: 18px;
  }

  .ranking-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .ranking-search {
    flex-wrap: wrap;
  }

  .ranking-search-input {
    flex: 1 1 100%;
    width: 100%;
  }

  .ranking-rules-grid {
    grid-template-columns: 1fr;
  }

  .ranking-formula {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .ranking-formula strong {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .ranking-summary-grid {
    grid-template-columns: 1fr;
  }

  .ranking-header h1 {
    font-size: 30px;
  }

  .ranking-tabs {
    justify-content: flex-start;
  }

  .ranking-tab {
    min-width: 110px;
  }

  .ranking-search-button,
  .ranking-search-clear {
    flex: 1;
  }

  .ranking-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .ranking-pagination-button,
  .ranking-pagination-status {
    width: 100%;
    text-align: center;
  }
}
/* =====================================================
   NAVEGACIÓN MENSUAL
===================================================== */

.ranking-month-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

/* =====================================================
   ESTADOS Y PUNTUACIONES DE DESEMPEÑO
===================================================== */

.ranking-performance-score {
  font-size: 15px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.ranking-score--excellent {
  color: #64e291;
}

.ranking-score--very-good {
  color: #9ee56f;
}

.ranking-score--good {
  color: #ffdf63;
}

.ranking-score--improve {
  color: #ffad5c;
}

.ranking-score--low {
  color: #ff7d72;
}

.ranking-score--unclassified,
.ranking-value-muted {
  color: var(--ranking-muted);
}

.ranking-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.ranking-status-badge--classified {
  color: #dfffea;
  border-color: rgba(100, 226, 145, 0.34);
  background: rgba(100, 226, 145, 0.14);
}

.ranking-status-badge--pending {
  color: #fff2c2;
  border-color: rgba(255, 204, 0, 0.32);
  background: rgba(255, 204, 0, 0.12);
}

.ranking-row--unclassified {
  opacity: 0.78;
}

/* =====================================================
   BARRAS DE PROGRESO
===================================================== */

.ranking-progress {
  position: relative;
  width: 100%;
  min-width: 115px;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.28);
}

.ranking-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    rgba(0, 115, 210, 1),
    rgba(0, 174, 239, 1)
  );
  transition: width 0.35s ease;
}

.ranking-progress--complete .ranking-progress-bar {
  background: linear-gradient(
    90deg,
    rgba(42, 166, 93, 1),
    rgba(100, 226, 145, 1)
  );
}

.ranking-progress-label {
  display: block;
  margin-top: 5px;
  color: var(--ranking-muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.ranking-event-progress-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 6px;
}

.ranking-event-progress-head strong {
  color: var(--g);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

/* =====================================================
   EVENTOS — BARRA DE SELECCIÓN
===================================================== */

.ranking-events-toolbar {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
}

.ranking-event-selector {
  width: min(100%, 620px);
  padding: 17px;
  border: 1px solid var(--ranking-border);
  border-radius: 14px;
  background: var(--ranking-surface);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.ranking-event-selector label {
  display: block;
  margin-bottom: 8px;
  color: var(--g);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ranking-event-select {
  width: 100%;
  padding: 11px 38px 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 9px;
  outline: none;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.3);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.ranking-event-select:focus {
  border-color: rgba(255, 204, 0, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.11);
}

.ranking-event-select option {
  color: #111;
  background: #fff;
}

/* =====================================================
   EVENTOS — ENCABEZADO DEL EVENTO
===================================================== */

.ranking-event-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 26px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--ranking-border);
  border-radius: 17px;
  background:
    linear-gradient(
      135deg,
      rgba(0, 91, 187, 0.22),
      rgba(255, 255, 255, 0.055)
    );
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.ranking-event-hero-content {
  min-width: 0;
}

.ranking-event-hero-content h2 {
  margin: 3px 0 9px;
  color: #fff;
  font-size: clamp(23px, 4vw, 31px);
  line-height: 1.2;
}

.ranking-event-hero-content > p {
  max-width: 760px;
  margin: 0;
  color: var(--ranking-muted);
  line-height: 1.6;
}

.ranking-event-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.ranking-event-hero-meta > span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  font-size: 12px;
}

.ranking-event-hero-badge {
  display: flex;
  width: 130px;
  height: 130px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 204, 0, 0.32);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.17);
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.25),
    inset 0 0 18px rgba(255, 255, 255, 0.06);
}

.ranking-event-hero-badge img {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: contain;
}

/* =====================================================
   EVENTOS — ESTADOS
===================================================== */

.ranking-event-status,
.ranking-event-participant-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.ranking-event-status--active {
  color: #dfffea;
  border-color: rgba(100, 226, 145, 0.35);
  background: rgba(100, 226, 145, 0.14);
}

.ranking-event-status--closed {
  color: #f1f3f6;
  border-color: rgba(220, 226, 235, 0.29);
  background: rgba(220, 226, 235, 0.11);
}

.ranking-event-status--completed,
.ranking-event-status--finished {
  color: #fff2c2;
  border-color: rgba(255, 204, 0, 0.34);
  background: rgba(255, 204, 0, 0.13);
}

.ranking-event-status--draft,
.ranking-event-status--inactive {
  color: #ffd8d4;
  border-color: rgba(255, 125, 114, 0.32);
  background: rgba(255, 125, 114, 0.12);
}

.ranking-event-participant-status--finished {
  color: #dfffea;
  border-color: rgba(100, 226, 145, 0.35);
  background: rgba(100, 226, 145, 0.14);
}

.ranking-event-participant-status--in-progress {
  color: #d9f1ff;
  border-color: rgba(0, 174, 239, 0.38);
  background: rgba(0, 174, 239, 0.14);
}

.ranking-event-participant-status--registered {
  color: #fff2c2;
  border-color: rgba(255, 204, 0, 0.32);
  background: rgba(255, 204, 0, 0.12);
}

/* =====================================================
   EVENTOS — BADGES
===================================================== */

.ranking-event-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.ranking-event-badges img {
  display: block;
  width: 29px;
  height: 29px;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  object-fit: contain;
}

.ranking-event-badges--podium {
  position: relative;
  justify-content: center;
  min-height: 34px;
  margin-top: 13px;
}

.ranking-event-badges--podium img {
  width: 34px;
  height: 34px;
  margin-left: -8px;
  border-color: rgba(255, 204, 0, 0.3);
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.27);
}

.ranking-event-badges--podium img:first-child {
  margin-left: 0;
}

.ranking-event-badges-more {
  display: inline-flex;
  min-width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin-left: -6px;
  padding: 0 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  font-size: 10px;
  font-weight: 900;
}

/* =====================================================
   EVENTOS — TABLAS Y FECHAS
===================================================== */

.ranking-events-table {
  min-width: 1080px;
}

.ranking-event-participants-table {
  min-width: 1120px;
}

.ranking-list-title,
.ranking-podium-title {
  margin: 0;
}

.ranking-event-date,
.ranking-event-finished-date {
  display: block;
  margin-top: 3px;
  color: var(--ranking-muted);
  font-size: 10px;
  white-space: nowrap;
}

.ranking-event-finished-date {
  color: rgba(255, 255, 255, 0.68);
}

/* =====================================================
   RESPONSIVE — EVENTOS
===================================================== */

@media (max-width: 900px) {
  .ranking-event-hero {
    grid-template-columns: 1fr;
  }

  .ranking-event-hero-badge {
    width: 112px;
    height: 112px;
    justify-self: center;
  }

  .ranking-event-hero-badge img {
    width: 96px;
    height: 96px;
  }
}

@media (max-width: 768px) {
  .ranking-events-toolbar,
  .ranking-event-selector {
    width: 100%;
  }

  .ranking-event-hero {
    padding: 18px;
  }

  .ranking-event-hero-meta {
    align-items: flex-start;
  }

  .ranking-event-progress-head {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .ranking-month-navigation {
    align-items: stretch;
    flex-direction: column;
  }

  .ranking-month-navigation .ranking-pagination-button,
  .ranking-month-navigation .ranking-pagination-status {
    width: 100%;
  }

  .ranking-event-selector {
    padding: 14px;
  }

  .ranking-event-hero {
    text-align: center;
  }

  .ranking-event-hero-meta {
    justify-content: center;
  }

  .ranking-event-badges {
    justify-content: center;
  }
}