.leaderboards-screen {
  padding: var(--space-md);
}

.leaderboards__tabs {
  margin-bottom: var(--space-lg);
}

.leaderboards__podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  padding: var(--space-md) 0;
}

.podium__spot {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.podium__spot--1 { order: 2; }
.podium__spot--2 { order: 1; }
.podium__spot--3 { order: 3; }

.podium__avatar {
  margin-bottom: var(--space-xs);
  position: relative;
}

.podium__crown {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
}

.podium__name {
  font-weight: 700;
  font-size: var(--text-sm);
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.podium__score {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-primary);
  font-size: var(--text-sm);
}

.podium__pedestal {
  width: 80px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: var(--text-2xl);
  color: white;
  margin-top: var(--space-sm);
}

.podium__spot--1 .podium__pedestal {
  height: 80px;
  background: var(--gradient-secondary);
}
.podium__spot--2 .podium__pedestal {
  height: 60px;
  background: var(--color-primary-300);
}
.podium__spot--3 .podium__pedestal {
  height: 44px;
  background: var(--color-primary-200);
}

.leaderboards__list {
  display: flex;
  flex-direction: column;
}

.leaderboard__entry {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border-bottom: 1px solid var(--border-light);
}

.leaderboard__entry--me {
  background: var(--color-primary-50);
  border-radius: var(--radius-md);
}

.leaderboard__rank {
  width: 32px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-base);
  color: var(--text-muted);
  text-align: center;
}

.leaderboard__info {
  flex: 1;
}

.leaderboard__name {
  font-weight: 600;
  font-size: var(--text-sm);
}

.leaderboard__level {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.leaderboard__score {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
}

/* ═══ Tablet (640px+) ═══ */
@media (min-width: 640px) {
  .leaderboards-screen {
    padding: var(--space-lg);
  }

  .podium__pedestal {
    width: 100px;
  }

  .podium__spot--1 .podium__pedestal { height: 100px; }
  .podium__spot--2 .podium__pedestal { height: 76px; }
  .podium__spot--3 .podium__pedestal { height: 56px; }

  .podium__name {
    max-width: 120px;
    font-size: var(--text-base);
  }

  .podium__score {
    font-size: var(--text-base);
  }

  .leaderboard__name {
    font-size: var(--text-base);
  }

  .leaderboard__score {
    font-size: var(--text-lg);
  }
}

/* ═══ Desktop (1024px+) ═══ */
@media (min-width: 1024px) {
  .leaderboards-screen {
    padding: var(--space-xl);
  }

  .leaderboards__podium {
    gap: var(--space-xl);
  }

  .podium__pedestal {
    width: 120px;
  }
}
