/* ================= LEADERBOARD ================= */

/* Fixed layout */
html, body {
  height: 100%;
  overflow: hidden;
}

.app {
  height: 100vh;
  overflow: hidden;
}

.main {
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sidebar {
  height: 100vh;
  overflow-y: auto;
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb {
  background: #2a3140;
  border-radius: 3px;
}

.content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scrollbar-width: thin;
  scrollbar-color: #2a3140 transparent;
}
.content::-webkit-scrollbar { width: 8px; }
.content::-webkit-scrollbar-thumb {
  background: #2a3140;
  border-radius: 4px;
}
.content::-webkit-scrollbar-thumb:hover { background: #3a4152; }

.topbar-title h1 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}
.breadcrumb {
  font-size: 11.5px;
  color: var(--muted);
}
.breadcrumb b { color: var(--text); }
.breadcrumb span { color: #7c5cff; }

/* ---------- LIVE BANNER ---------- */
.lb-banner {
  background: linear-gradient(135deg, #131826 0%, #1a1f33 100%);
  border: 1px solid rgba(124, 92, 255, 0.25);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.lb-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(124,92,255,0.15), transparent 70%);
  pointer-events: none;
}
.lb-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.lb-live-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #29c26b;
  box-shadow: 0 0 12px rgba(41, 194, 107, 0.8);
  animation: livePulse 1.5s infinite;
  flex-shrink: 0;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.9); }
}
.lb-banner-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.lb-banner-sub {
  font-size: 12px;
  color: var(--muted);
}
.lb-banner-right {
  display: flex;
  gap: 28px;
  position: relative;
  z-index: 1;
}
.lb-banner-stat { text-align: right; }
.lb-bs-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.lb-bs-value {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  font-family: 'SF Mono', 'Consolas', monospace;
  transition: 0.3s;
}

/* ---------- PODIUM (Top 3) ---------- */
.lb-podium {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  flex-shrink: 0;
}

.podium-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: 0.25s;
  cursor: pointer;
}
.podium-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Gold */
.podium-card.rank-1 {
  border-color: rgba(255, 193, 7, 0.5);
  background: linear-gradient(180deg, rgba(255,193,7,0.08), var(--panel));
  grid-column: 2;
  transform: scale(1.05);
  z-index: 2;
}
.podium-card.rank-1::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,193,7,0.15), transparent 60%);
  pointer-events: none;
}
.podium-card.rank-2 {
  border-color: rgba(192, 192, 192, 0.4);
  background: linear-gradient(180deg, rgba(192,192,192,0.06), var(--panel));
  grid-column: 1;
  grid-row: 1;
}
.podium-card.rank-3 {
  border-color: rgba(205, 127, 50, 0.4);
  background: linear-gradient(180deg, rgba(205,127,50,0.06), var(--panel));
  grid-column: 3;
  grid-row: 1;
}

.podium-medal {
  font-size: 42px;
  line-height: 1;
  margin-bottom: 10px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.3));
}
.podium-card.rank-1 .podium-medal { font-size: 54px; animation: medalFloat 3s ease-in-out infinite; }
@keyframes medalFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.podium-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  border: 3px solid;
}
.podium-card.rank-1 .podium-avatar { width: 76px; height: 76px; font-size: 30px; border-color: #ffc107; }
.podium-card.rank-2 .podium-avatar { border-color: #c0c0c0; }
.podium-card.rank-3 .podium-avatar { border-color: #cd7f32; }

.podium-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.podium-pnl {
  font-size: 18px;
  font-weight: 700;
  color: #29c26b;
  font-family: 'SF Mono', 'Consolas', monospace;
  margin-bottom: 4px;
}
.podium-card.rank-1 .podium-pnl { font-size: 22px; }
.podium-sub {
  font-size: 11.5px;
  color: var(--muted);
}

/* ---------- FILTERS ---------- */
.lb-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.lb-range-tabs,
.lb-sort-tabs {
  display: flex;
  gap: 4px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
}
.lb-range,
.lb-sort {
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: 0.15s;
  white-space: nowrap;
}
.lb-range:hover,
.lb-sort:hover {
  color: var(--text);
}
.lb-range.active,
.lb-sort.active {
  background: linear-gradient(180deg, #8a6dff, #6a4bea);
  color: #fff;
  font-weight: 600;
}

/* ---------- TABLE ---------- */
.lb-table-wrap {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
}

.lb-table-head,
.lb-row {
  display: grid;
  grid-template-columns: 70px 1fr 130px 90px 130px 90px 90px 110px;
  gap: 12px;
  align-items: center;
  padding: 14px 20px;
}
.lb-table-head {
  background: var(--panel-2);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.lb-table-body {
  display: flex;
  flex-direction: column;
}

.lb-row {
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  transition: 0.15s;
  position: relative;
}
.lb-row:last-child { border-bottom: none; }
.lb-row:hover {
  background: rgba(124, 92, 255, 0.04);
}

/* My row */
.lb-row.is-me {
  background: rgba(124, 92, 255, 0.08);
  border-left: 3px solid #7c5cff;
  padding-left: 17px;
}
.lb-row.is-me::after {
  content: 'YOU';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: #7c5cff;
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* Rank */
.lb-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--panel-2);
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
  margin: 0 auto;
  border: 1px solid var(--border);
}
.lb-rank.top-1 {
  background: linear-gradient(135deg, #ffc107, #ff9800);
  color: #1a1a1a;
  border-color: #ffc107;
  font-size: 16px;
  box-shadow: 0 0 12px rgba(255,193,7,0.4);
}
.lb-rank.top-2 {
  background: linear-gradient(135deg, #e0e0e0, #a0a0a0);
  color: #1a1a1a;
  border-color: #c0c0c0;
  font-size: 15px;
}
.lb-rank.top-3 {
  background: linear-gradient(135deg, #cd7f32, #a0622a);
  color: #fff;
  border-color: #cd7f32;
  font-size: 15px;
}

/* Trader */
.lb-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.lb-user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
}
.lb-user-info {
  min-width: 0;
}
.lb-user-name {
  font-weight: 600;
  color: #fff;
  font-size: 13.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lb-user-badge {
  display: inline-block;
  font-size: 10px;
  color: #b9a8ff;
  font-weight: 600;
  margin-left: 5px;
  padding: 1px 5px;
  background: rgba(124, 92, 255, 0.15);
  border-radius: 3px;
}

/* P&L */
.lb-pnl {
  font-family: 'SF Mono', 'Consolas', monospace;
  font-weight: 700;
  color: #29c26b;
  font-size: 13.5px;
  text-align: right;
}
.lb-pnl.negative { color: #ef4c5a; }

.lb-pnl-pct {
  font-family: 'SF Mono', 'Consolas', monospace;
  font-weight: 600;
  color: #29c26b;
  font-size: 12.5px;
  text-align: right;
}
.lb-pnl-pct.negative { color: #ef4c5a; }

.lb-volume,
.lb-trades {
  font-family: 'SF Mono', 'Consolas', monospace;
  color: var(--text);
  font-size: 12.5px;
  text-align: right;
}

/* Winrate */
.lb-winrate {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}
.lb-winrate-bar {
  width: 50px;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}
.lb-winrate-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #29c26b, #26e08a);
  transition: width 0.4s;
}
.lb-winrate-bar.low span {
  background: linear-gradient(90deg, #ef4c5a, #ff6b78);
}
.lb-winrate-text {
  font-family: 'SF Mono', 'Consolas', monospace;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  min-width: 36px;
  text-align: right;
}

/* Badge (reward) */
.lb-badge {
  display: flex;
  justify-content: flex-end;
}
.lb-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.lb-badge-tag.gold {
  background: rgba(255,193,7,0.15);
  color: #ffc107;
  border: 1px solid rgba(255,193,7,0.3);
}
.lb-badge-tag.silver {
  background: rgba(192,192,192,0.15);
  color: #e0e0e0;
  border: 1px solid rgba(192,192,192,0.3);
}
.lb-badge-tag.bronze {
  background: rgba(205,127,50,0.15);
  color: #cd7f32;
  border: 1px solid rgba(205,127,50,0.3);
}
.lb-badge-tag.pro {
  background: rgba(41,194,107,0.15);
  color: #29c26b;
  border: 1px solid rgba(41,194,107,0.3);
}
.lb-badge-tag.rising {
  background: rgba(124,92,255,0.15);
  color: #b9a8ff;
  border: 1px solid rgba(124,92,255,0.3);
}

/* Position move */
.lb-move {
  font-size: 10px;
  margin-left: 3px;
  font-weight: 700;
}
.lb-move.up   { color: #29c26b; }
.lb-move.down { color: #ef4c5a; }
.lb-move.same { color: var(--muted); }

/* Empty state */
.lb-empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.lb-empty-icon {
  font-size: 48px;
  opacity: 0.4;
  display: block;
  margin-bottom: 10px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1200px) {
  .lb-table-head,
  .lb-row {
    grid-template-columns: 60px 1fr 110px 80px 110px 70px 80px 90px;
    gap: 8px;
    padding: 12px 16px;
    font-size: 12.5px;
  }
}
@media (max-width: 1000px) {
  .lb-banner { flex-direction: column; align-items: flex-start; }
  .lb-banner-right { width: 100%; justify-content: space-between; }
  .lb-podium { grid-template-columns: 1fr; }
  .podium-card.rank-1,
  .podium-card.rank-2,
  .podium-card.rank-3 {
    grid-column: 1 !important;
    grid-row: auto !important;
    transform: none;
  }
}
@media (max-width: 800px) {
  .lb-table-head,
  .lb-row {
    grid-template-columns: 50px 1fr 100px 70px;
  }
  .lb-th-volume,
  .lb-th-trades,
  .lb-th-winrate,
  .lb-th-badge,
  .lb-volume,
  .lb-trades,
  .lb-winrate,
  .lb-badge {
    display: none;
  }
}
/* ============================================================
   AXIS LEADERBOARD — GRADIENT TYPOGRAPHY (как на главной)
   ============================================================ */

/* ---------- 1. TOPBAR — единый стиль ---------- */
.topbar-title h1 {
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.2px;
}
.breadcrumb b {
  color: #ffffff;
  font-weight: 700;
  font-family: 'SF Mono', 'Consolas', monospace;
  font-variant-numeric: tabular-nums;
}
.breadcrumb span {
  color: #b9a8ff;
  font-weight: 700;
}

/* ---------- 2. LIVE BANNER — фирменный градиент ---------- */
.lb-banner {
  background:
    linear-gradient(135deg,
      rgba(255, 138, 43, 0.08) 0%,
      rgba(164, 75, 255, 0.08) 50%,
      rgba(46, 168, 255, 0.08) 100%),
    linear-gradient(135deg, #131826 0%, #1a1f33 100%);
  border: 1px solid rgba(164, 75, 255, 0.3);
  box-shadow:
    0 8px 32px rgba(164, 75, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.lb-banner-title {
  font-size: 16px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #c8b5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.3px;
}

.lb-banner-sub {
  font-size: 12px;
  color: #a2a9bd;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.lb-bs-label {
  font-size: 10.5px;
  color: #8b93a7;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 800;
}

.lb-bs-value {
  font-size: 22px;
  font-weight: 900;
  font-family: 'SF Mono', 'Consolas', monospace;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #c8b5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(164, 75, 255, 0.25));
}

/* Пульсирующая точка */
.lb-live-dot {
  box-shadow:
    0 0 16px rgba(41, 194, 107, 0.9),
    0 0 4px rgba(41, 194, 107, 1);
}

/* ---------- 3. PODIUM КАРТОЧКИ — премиум ---------- */
.podium-card {
  border-radius: 18px;
  padding: 26px 20px 22px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Топ-1 — золото */
.podium-card.rank-1 {
  border-color: rgba(255, 193, 7, 0.6);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 193, 7, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(255, 193, 7, 0.08), rgba(20, 24, 38, 1));
  box-shadow:
    0 12px 40px rgba(255, 193, 7, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.podium-card.rank-1::before {
  background: radial-gradient(circle at 50% 0%, rgba(255, 193, 7, 0.25), transparent 65%);
}

/* Топ-2 — серебро */
.podium-card.rank-2 {
  border-color: rgba(192, 192, 192, 0.5);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(192, 192, 192, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(192, 192, 192, 0.06), rgba(20, 24, 38, 1));
  box-shadow:
    0 8px 30px rgba(192, 192, 192, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Топ-3 — бронза */
.podium-card.rank-3 {
  border-color: rgba(205, 127, 50, 0.5);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(205, 127, 50, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(205, 127, 50, 0.06), rgba(20, 24, 38, 1));
  box-shadow:
    0 8px 30px rgba(205, 127, 50, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.podium-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(164, 75, 255, 0.3);
}

.podium-medal {
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
}

/* Аватар с круговой подсветкой */
.podium-avatar {
  border: 3px solid;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.05),
    0 8px 24px rgba(0, 0, 0, 0.4);
}
.podium-card.rank-1 .podium-avatar {
  border-color: #ffc107;
  box-shadow:
    0 0 0 4px rgba(255, 193, 7, 0.2),
    0 0 40px rgba(255, 193, 7, 0.5);
}
.podium-card.rank-2 .podium-avatar {
  border-color: #c0c0c0;
  box-shadow:
    0 0 0 4px rgba(192, 192, 192, 0.15),
    0 0 30px rgba(192, 192, 192, 0.35);
}
.podium-card.rank-3 .podium-avatar {
  border-color: #cd7f32;
  box-shadow:
    0 0 0 4px rgba(205, 127, 50, 0.15),
    0 0 30px rgba(205, 127, 50, 0.35);
}

.podium-name {
  font-size: 15px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.2px;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.podium-pnl {
  font-size: 20px;
  font-weight: 900;
  font-family: 'SF Mono', 'Consolas', monospace;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  letter-spacing: -0.5px;
  color: #29c26b;
  text-shadow:
    0 0 20px rgba(41, 194, 107, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 6px;
}
.podium-card.rank-1 .podium-pnl {
  font-size: 24px;
  text-shadow:
    0 0 24px rgba(41, 194, 107, 0.6),
    0 2px 10px rgba(0, 0, 0, 0.5);
}

.podium-sub {
  font-size: 11.5px;
  color: #a2a9bd;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.podium-sub::first-letter {
  color: #e7eaf3;
}

/* ---------- 4. FILTERS (Weekly/Monthly + By P&L/Volume/Trades) ---------- */
.lb-range-tabs,
.lb-sort-tabs {
  border-radius: 12px;
  padding: 4px;
  background: rgba(20, 24, 38, 0.8);
  border: 1px solid rgba(124, 92, 255, 0.15);
  backdrop-filter: blur(6px);
}

.lb-range,
.lb-sort {
  font-weight: 700;
  letter-spacing: 0.4px;
  transition: 0.2s;
}

.lb-range.active,
.lb-sort.active {
  background: linear-gradient(135deg, #a44bff, #7c5cff) !important;
  color: #fff !important;
  font-weight: 800 !important;
  box-shadow:
    0 4px 16px rgba(164, 75, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* ---------- 5. TABLE HEAD — единый стиль ---------- */
.lb-table-wrap {
  border-radius: 16px;
  border: 1px solid rgba(124, 92, 255, 0.15);
  background:
    linear-gradient(180deg,
      rgba(20, 24, 38, 0.6) 0%,
      rgba(15, 18, 28, 0.9) 100%);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.lb-table-head {
  background: rgba(164, 75, 255, 0.05);
  border-bottom: 1px solid rgba(164, 75, 255, 0.15);
  font-size: 10.5px;
  color: #8b93a7;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* ---------- 6. ROWS — hover-эффект ---------- */
.lb-row {
  border-bottom: 1px solid rgba(124, 92, 255, 0.06);
  transition: background 0.2s;
}
.lb-row:hover {
  background: rgba(164, 75, 255, 0.06);
}
.lb-row.is-me {
  background:
    linear-gradient(90deg,
      rgba(164, 75, 255, 0.12) 0%,
      rgba(164, 75, 255, 0.04) 100%);
  border-left: 3px solid #a44bff;
  box-shadow: inset 4px 0 20px rgba(164, 75, 255, 0.15);
}

/* ---------- 7. RANK BADGES ---------- */
.lb-rank {
  font-weight: 900;
  font-family: 'SF Mono', 'Consolas', monospace;
  font-variant-numeric: tabular-nums;
  transition: 0.2s;
}

.lb-rank.top-1 {
  background: linear-gradient(135deg, #ffc107, #ff9800);
  border-color: rgba(255, 193, 7, 0.7);
  box-shadow:
    0 0 20px rgba(255, 193, 7, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.lb-rank.top-2 {
  background: linear-gradient(135deg, #e8e8e8, #a0a0a0);
  border-color: rgba(192, 192, 192, 0.6);
  box-shadow:
    0 0 16px rgba(192, 192, 192, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.lb-rank.top-3 {
  background: linear-gradient(135deg, #d8955a, #a0622a);
  border-color: rgba(205, 127, 50, 0.6);
  box-shadow:
    0 0 16px rgba(205, 127, 50, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ---------- 8. USER INFO ---------- */
.lb-user-avatar {
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  font-weight: 900;
  letter-spacing: 0.5px;
}

.lb-user-name {
  font-weight: 800;
  color: #ffffff;
  font-size: 13.5px;
  letter-spacing: 0.1px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.lb-user-badge {
  font-size: 9.5px;
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(135deg, #a44bff, #7c5cff);
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: 0.8px;
  box-shadow: 0 0 10px rgba(164, 75, 255, 0.5);
  margin-left: 6px;
}

/* ---------- 9. P&L ЦИФРЫ — моноширинные + glow ---------- */
.lb-pnl {
  font-family: 'SF Mono', 'Consolas', monospace;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  font-weight: 900;
  color: #29c26b;
  font-size: 13.5px;
  letter-spacing: -0.2px;
  text-shadow: 0 0 12px rgba(41, 194, 107, 0.35);
}
.lb-pnl.negative {
  color: #ef4c5a;
  text-shadow: 0 0 12px rgba(239, 76, 90, 0.35);
}

.lb-pnl-pct {
  font-family: 'SF Mono', 'Consolas', monospace;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  font-weight: 800;
  color: #29c26b;
  font-size: 12.5px;
  letter-spacing: -0.1px;
  text-shadow: 0 0 10px rgba(41, 194, 107, 0.3);
}
.lb-pnl-pct.negative {
  color: #ef4c5a;
  text-shadow: 0 0 10px rgba(239, 76, 90, 0.3);
}

.lb-volume,
.lb-trades {
  font-family: 'SF Mono', 'Consolas', monospace;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  color: #e7eaf3;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

/* ---------- 10. WINRATE BAR — градиент ---------- */
.lb-winrate-bar {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}
.lb-winrate-bar span {
  background: linear-gradient(90deg, #29c26b 0%, #26e08a 100%);
  box-shadow: 0 0 10px rgba(41, 194, 107, 0.5);
}
.lb-winrate-bar.low span {
  background: linear-gradient(90deg, #ef4c5a 0%, #ff6b78 100%);
  box-shadow: 0 0 10px rgba(239, 76, 90, 0.5);
}

.lb-winrate-text {
  font-family: 'SF Mono', 'Consolas', monospace;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  font-weight: 900;
  color: #ffffff;
  font-size: 12.5px;
  letter-spacing: -0.2px;
}

/* ---------- 11. REWARD BADGES — премиум ---------- */
.lb-badge-tag {
  font-weight: 900;
  letter-spacing: 0.8px;
  font-size: 10.5px;
  padding: 5px 11px;
  border-radius: 8px;
  transition: 0.2s;
}

.lb-badge-tag.gold {
  background: linear-gradient(135deg,
    rgba(255, 193, 7, 0.2) 0%,
    rgba(255, 152, 0, 0.15) 100%);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.5);
  box-shadow:
    0 0 16px rgba(255, 193, 7, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.6);
}

.lb-badge-tag.silver {
  background: linear-gradient(135deg,
    rgba(192, 192, 192, 0.2) 0%,
    rgba(160, 160, 160, 0.12) 100%);
  color: #e8e8e8;
  border: 1px solid rgba(192, 192, 192, 0.5);
  box-shadow:
    0 0 14px rgba(192, 192, 192, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  text-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
}

.lb-badge-tag.bronze {
  background: linear-gradient(135deg,
    rgba(205, 127, 50, 0.2) 0%,
    rgba(160, 98, 42, 0.15) 100%);
  color: #d8955a;
  border: 1px solid rgba(205, 127, 50, 0.5);
  box-shadow:
    0 0 14px rgba(205, 127, 50, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-shadow: 0 0 10px rgba(205, 127, 50, 0.5);
}

.lb-badge-tag.pro {
  background: linear-gradient(135deg,
    rgba(41, 194, 107, 0.2) 0%,
    rgba(20, 184, 166, 0.15) 100%);
  color: #29c26b;
  border: 1px solid rgba(41, 194, 107, 0.5);
  box-shadow:
    0 0 14px rgba(41, 194, 107, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-shadow: 0 0 10px rgba(41, 194, 107, 0.5);
}

.lb-badge-tag.rising {
  background: linear-gradient(135deg,
    rgba(164, 75, 255, 0.2) 0%,
    rgba(46, 168, 255, 0.15) 100%);
  color: #b9a8ff;
  border: 1px solid rgba(164, 75, 255, 0.5);
  box-shadow:
    0 0 14px rgba(164, 75, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-shadow: 0 0 10px rgba(164, 75, 255, 0.5);
}

/* ---------- 12. POSITION MOVE (▲2 ▼1) ---------- */
.lb-move {
  font-weight: 900;
  font-family: 'SF Mono', 'Consolas', monospace;
  font-variant-numeric: tabular-nums;
  font-size: 10.5px;
  letter-spacing: -0.2px;
  margin-left: 4px;
}
.lb-move.up {
  color: #29c26b;
  text-shadow: 0 0 8px rgba(41, 194, 107, 0.5);
}
.lb-move.down {
  color: #ef4c5a;
  text-shadow: 0 0 8px rgba(239, 76, 90, 0.5);
}
.lb-move.same {
  color: #8b93a7;
}

/* ---------- 13. ВСЕ ЦИФРЫ — моноширинные ---------- */
.lb-bs-value,
.podium-pnl,
.lb-pnl,
.lb-pnl-pct,
.lb-volume,
.lb-trades,
.lb-winrate-text,
.lb-rank,
.lb-move {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

/* ---------- 14. EMPTY STATE ---------- */
.lb-empty {
  color: #8b93a7;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.lb-empty-icon {
  opacity: 0.5;
  filter: drop-shadow(0 0 20px rgba(164, 75, 255, 0.3));
}
/* ============================================================
   AXIS LEADERBOARD — STYLISH PAGE TITLE
   Градиентный заголовок + красивая лицензия
   ============================================================ */

/* ---------- Заголовок "Leaderboard Axis Crypto" ---------- */
.topbar-title h1 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.3px;
  line-height: 1.15;
  background: linear-gradient(135deg,
    #ffffff 0%,
    #e8ddff 40%,
    #b9a8ff 75%,
    #7c9bff 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  position: relative;
  display: inline-block;
  padding-right: 2px;
  filter: drop-shadow(0 0 18px rgba(164, 75, 255, 0.35))
          drop-shadow(0 0 6px rgba(46, 168, 255, 0.2));
}

/* Тонкая градиентная полоска под заголовком */
.topbar-title h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg,
    #ff8a2b 0%,
    #ff3d8a 35%,
    #a44bff 65%,
    #2ea8ff 100%);
  box-shadow: 0 0 12px rgba(164, 75, 255, 0.6);
  opacity: 0.85;
}

/* Вертикальная градиентная полоска слева */
.topbar-title {
  position: relative;
  padding-left: 14px;
}
.topbar-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg,
    #ff8a2b 0%,
    #ff3d8a 35%,
    #a44bff 65%,
    #2ea8ff 100%);
  box-shadow: 0 0 12px rgba(164, 75, 255, 0.6);
}

/* ---------- Лицензия под заголовком ---------- */
.breadcrumb {
  font-size: 11.5px;
  color: #8b93a7;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb::before {
  content: '🔒';
  font-size: 10px;
  opacity: 0.5;
  margin-right: -2px;
}
.breadcrumb b {
  font-family: 'SF Mono', 'Consolas', monospace !important;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #c8b5ff !important;
  padding: 2px 8px;
  background: rgba(164, 75, 255, 0.1);
  border: 1px solid rgba(164, 75, 255, 0.25);
  border-radius: 5px;
  text-shadow: 0 0 8px rgba(164, 75, 255, 0.4);
}
.breadcrumb span {
  color: #a48cff !important;
  font-weight: 800;
}