.page { display: flex; flex-direction: column; gap: 16px; }

.pageHeader { display: flex; align-items: baseline; gap: 16px; margin-bottom: 4px; }
.title { font-size: 28px; font-weight: 800; }
.meta { font-size: 13px; color: var(--text-secondary); }

.loading { display: flex; justify-content: center; padding: 60px; }
.spinner { width: 32px; height: 32px; border: 3px solid var(--surface-high); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.empty { text-align: center; color: var(--text-secondary); padding: 60px; }

/* ── Color tokens ── */
.gold   { color: var(--gold); }
.silver { color: #C0C0C0; }
.bronze { color: #CD7F32; }

/* ── Podium ── */
.podiumWrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  padding: 8px 0 0;
}

.podiumCard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 1;
  max-width: 130px;
}

.podiumFirst { flex: 1.2; max-width: 150px; }

.podiumMedal { font-size: 24px; line-height: 1; }

.podiumAvatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface-high);
  box-shadow: 0 4px 14px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  transition: box-shadow 0.2s;
}

.podiumAvatarLarge {
  width: 64px;
  height: 64px;
  font-size: 22px;
}

.podiumAvatarMe {
  background: rgba(75,183,248,0.15);
  box-shadow: 0 0 0 2px var(--primary), 0 4px 14px rgba(75,183,248,0.25);
}

/* Gold/silver/bronze ring on avatar */
.podiumAvatar.gold   { box-shadow: 0 0 0 2px var(--gold),    0 4px 16px rgba(254,174,50,0.3); }
.podiumAvatar.silver { box-shadow: 0 0 0 2px #C0C0C0,        0 4px 14px rgba(192,192,192,0.2); }
.podiumAvatar.bronze { box-shadow: 0 0 0 2px #CD7F32,        0 4px 14px rgba(205,127,50,0.2); }

.podiumName {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.podiumPoints {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}
.podiumPtLabel { font-size: 10px; font-weight: 500; opacity: 0.7; }

.podiumBar {
  width: 100%;
  border-radius: 10px 10px 0 0;
  margin-top: 6px;
}
.podiumBar.goldBar   { background: linear-gradient(180deg, rgba(254,174,50,0.3) 0%, rgba(254,174,50,0.08) 100%); box-shadow: inset 0 2px 0 rgba(254,174,50,0.35); }
.podiumBar.silverBar { background: linear-gradient(180deg, rgba(192,192,192,0.22) 0%, rgba(192,192,192,0.06) 100%); box-shadow: inset 0 2px 0 rgba(192,192,192,0.28); }
.podiumBar.bronzeBar { background: linear-gradient(180deg, rgba(205,127,50,0.22) 0%, rgba(205,127,50,0.06) 100%); box-shadow: inset 0 2px 0 rgba(205,127,50,0.28); }

/* ── List header ── */
.listHeader {
  display: grid;
  grid-template-columns: 40px 1fr 40px 64px;
  gap: 8px;
  padding: 0 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.listHeader span:last-child { text-align: right; }

/* ── Rest list ── */
.list { display: flex; flex-direction: column; gap: 8px; }

.row {
  padding: 14px 20px;
  display: grid;
  grid-template-columns: 40px 36px 1fr 40px 64px;
  align-items: center;
  gap: 8px;
  transition: all 0.15s;
}
.row:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.09); }

.rowMe {
  box-shadow: 0 0 0 1px var(--primary), 0 8px 24px rgba(75,183,248,0.12), inset 0 1px 0 rgba(75,183,248,0.08) !important;
}

.rankCol { text-align: center; }
.rankNum {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
}

.avatarSmall {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-high);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-primary);
  flex-shrink: 0;
}

.avatarSmallMe {
  background: rgba(75,183,248,0.15);
  box-shadow: 0 0 0 2px var(--primary);
  color: var(--primary);
}

.nameCol { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.nameRow { display: flex; align-items: center; gap: 6px; }

.rowName {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rowTeam {
  font-size: 11px;
  color: var(--text-muted);
}

.nameMe { color: var(--primary); }

.aufholjagd {
  font-size: 10px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.06em;
}

.trendCol { display: flex; justify-content: center; font-size: 18px; }
.trendUp      { color: #34D399; }
.trendDown    { color: #F87171; }
.trendNeutral { color: var(--text-muted); }

.pointsCol {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  text-align: right;
}

/* ── CTA Card ── */
.ctaCard {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  margin-top: 4px;
}

.ctaText { flex: 1; }

.ctaTitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.ctaBody {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.ctaBtn {
  flex-shrink: 0;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
