/* ===========================
   SYNTHEDGE — LEADERBOARD CSS
   =========================== */

.live-indicator {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-muted);
}

/* PODIUM */
.podium {
  display: flex; align-items: flex-end; justify-content: center; gap: 12px;
  padding: 32px 0 8px;
}
.podium-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 16px;
  text-align: center; position: relative;
  transition: transform 0.3s; flex: 1; max-width: 200px;
}
.podium-card:hover { transform: translateY(-4px); }

.podium-1 {
  border-color: rgba(245,200,66,0.35);
  background: linear-gradient(135deg, rgba(245,200,66,0.06), var(--bg-card));
  transform: translateY(-12px);
}
.podium-1:hover { transform: translateY(-16px); }
.podium-2 { border-color: rgba(180,180,200,0.3); }
.podium-3 { border-color: rgba(205,127,50,0.3); }

.podium-crown { font-size: 22px; margin-bottom: 4px; }
.podium-rank {
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 10px;
}
.podium-avatar {
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 10px;
  background: var(--bg-base); border: 2px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--text-secondary);
}
.podium-avatar-gold {
  background: rgba(245,200,66,0.12); border-color: var(--gold); color: var(--gold);
  box-shadow: 0 0 16px rgba(245,200,66,0.25);
}
.podium-name { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.podium-country { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.podium-gain {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
  color: var(--green); margin-bottom: 2px;
}
.podium-pnl { font-size: 12px; color: var(--green); margin-bottom: 6px; }
.podium-instr { font-size: 10px; color: var(--text-muted); }

/* FILTERS */
.lb-filters {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.lb-tabs {
  display: flex; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 3px; gap: 2px;
}
.lb-tab {
  padding: 6px 16px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500; color: var(--text-muted); transition: all 0.2s;
}
.lb-tab.active { background: var(--accent); color: #fff; }
.lb-selects { display: flex; gap: 8px; }

/* TABLE */
.lb-table { min-width: 800px; }
.lb-table th, .lb-table td { padding: 12px 16px; }
.lb-table thead th { background: var(--bg-section); }
.lb-row { transition: background 0.15s; }
.lb-row-top3 td { background: rgba(108,99,255,0.02); }
.lb-row-me td { background: rgba(108,99,255,0.06) !important; }
.lb-row-me:hover td { background: rgba(108,99,255,0.09) !important; }

.lb-rank {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  font-size: 12px; font-weight: 700;
  background: rgba(255,255,255,0.05); color: var(--text-muted);
}
.lb-rank-1 { background: rgba(245,200,66,0.15); color: var(--gold); }
.lb-rank-2 { background: rgba(180,180,200,0.15); color: #b4b4c8; }
.lb-rank-3 { background: rgba(205,127,50,0.15); color: #cd7f32; }

.lb-trader { display: flex; align-items: center; gap: 8px; }
.lb-avatar {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--text-secondary);
}

.lb-badge {
  padding: 2px 8px; border-radius: 100px; font-size: 10px; font-weight: 600;
  background: rgba(255,255,255,0.05); color: var(--text-muted);
  white-space: nowrap;
}
.lb-badge-gold   { background: rgba(245,200,66,0.1); color: var(--gold); }
.lb-badge-silver { background: rgba(180,180,200,0.1); color: #b4b4c8; }
.lb-badge-bronze { background: rgba(205,127,50,0.1); color: #cd7f32; }

.font-bold { font-weight: 700; }
