:root {
  --lb-gold: #ffcf4d;
  --lb-silver: #d8d8d8;
  --lb-bronze: #d89060;
  --lb-accent: #ff5959;
}

.lb-wrap {
  padding-top: 120px;
  padding-bottom: 60px;
  position: relative;
  z-index: 2;
}

.lb-hero {
  margin-bottom: 32px;
}
.lb-title {
  font-size: clamp(40px, 7vw, 64px);
  line-height: .95;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin: 0 0 14px;
  background: linear-gradient(to bottom, #ffffff, #9d9d9d);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lb-lead {
  color: #bdbdbd;
  font-size: 16px;
  line-height: 1.8;
  max-width: 640px;
  margin: 0;
}

.lb-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.lb-sort {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.lb-chip {
  padding: 10px 18px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all .25s ease;
}
.lb-chip:hover { border-color: var(--lb-accent); color: var(--text); }
.lb-chip.is-active {
  background: rgba(255, 89, 89, 0.1);
  border-color: rgba(201, 0, 0, 0.8);
  color: #fff;
}
.lb-search input {
  padding: 11px 18px;
  border-radius: 14px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  min-width: 220px;
}
.lb-search input:focus { outline: none; border-color: var(--lb-accent); }

.lb-podium {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  align-items: end;
  margin-bottom: 40px;
}
.lb-pod {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  text-align: center;
  transition: transform .3s ease;
}
.lb-pod:hover { transform: translateY(-6px); }

.lb-pod-1 {
  border-color: rgba(255, 207, 77, 0.4);
  background: linear-gradient(180deg, rgba(255, 207, 77, 0.1), rgba(0, 0, 0, 0.15));
  box-shadow: 0 0 50px rgba(255, 207, 77, 0.12);
  padding-top: 40px;
  transform: translateY(-16px);
}
.lb-pod-1:hover { transform: translateY(-22px); }
.lb-pod-2 { border-color: rgba(216, 216, 216, 0.3); }
.lb-pod-3 { border-color: rgba(216, 144, 96, 0.3); }

.lb-pod-crown {
  font-size: 28px;
  height: 32px;
  margin-bottom: 4px;
}
.lb-pod-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff7272, #ff4f4f);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  border: 3px solid rgba(255, 255, 255, 0.1);
  margin-bottom: -16px;
  position: relative;
  z-index: 2;
}
.lb-pod-1 .lb-pod-avatar {
  width: 100px;
  height: 100px;
  border-color: rgba(255, 207, 77, 0.5);
  box-shadow: 0 0 30px rgba(255, 207, 77, 0.3);
}
.lb-pod-avatar.has-img span { display: none; }
.lb-pod-medal {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
  position: relative;
  z-index: 3;
  border: 2px solid #0a0a0a;
}
.lb-medal-1 { background: linear-gradient(145deg, #ffd24d, #ffaa00); color: #3a2500; }
.lb-medal-2 { background: linear-gradient(145deg, #e8e8e8, #b0b0b0); color: #2a2a2a; }
.lb-medal-3 { background: linear-gradient(145deg, #e0a070, #c07840); color: #2a1500; }

.lb-pod-name {
  font-size: 19px;
  font-weight: 900;
  color: #fff;
  margin-top: 12px;
  word-break: break-word;
}
.lb-pod-1 .lb-pod-name { font-size: 22px; }
.lb-pod-priv {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-top: 4px;
}
.lb-pod-stat {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lb-pod-stat-val {
  font-size: 30px;
  font-weight: 900;
  color: var(--lb-accent);
  line-height: 1;
}
.lb-pod-1 .lb-pod-stat-val { color: var(--lb-gold); font-size: 34px; }
.lb-pod-stat-lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  font-weight: 800;
}
.lb-pod-mini {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  font-size: 12px;
  color: #aaa;
  font-weight: 700;
  flex-wrap: wrap;
  justify-content: center;
}

.lb-table-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.005));
}
.lb-table-head {
  display: grid;
  grid-template-columns: 60px 1fr 120px 90px 110px;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.lb-th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  font-weight: 800;
}
.lb-th-stat, .lb-th-kd, .lb-th-extra { text-align: right; }

.lb-table { display: flex; flex-direction: column; }
.lb-row {
  display: grid;
  grid-template-columns: 60px 1fr 120px 90px 110px;
  gap: 12px;
  align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background .2s ease;
}
.lb-row:hover { background: rgba(255, 89, 89, 0.04); }
.lb-row:last-child { border-bottom: none; }

.lb-rank {
  font-size: 16px;
  font-weight: 900;
  color: var(--text-muted);
}
.lb-rank-medal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #2a2a2a;
}
.lb-rank-1 { background: linear-gradient(145deg, #ffd24d, #ffaa00); color: #3a2500; }
.lb-rank-2 { background: linear-gradient(145deg, #e8e8e8, #b0b0b0); }
.lb-rank-3 { background: linear-gradient(145deg, #e0a070, #c07840); color: #2a1500; }

.lb-td-name {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.lb-row-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, #555, #333);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}
.lb-row-avatar.has-img span { display: none; }
.lb-row-namebox { min-width: 0; display: flex; flex-direction: column; }
.lb-row-nick {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lb-row-priv {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}
.lb-td-stat {
  text-align: right;
  font-size: 17px;
  font-weight: 900;
  color: #fff;
}
.lb-td-kd {
  text-align: right;
  font-size: 15px;
  font-weight: 800;
  color: #fc8484;
}
.lb-td-extra {
  text-align: right;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 700;
}

.lb-loading {
  padding: 50px 20px;
  text-align: center;
  color: var(--text-muted);
  font-weight: 700;
}
.lb-empty {
  text-align: center;
  padding: 60px 20px;
}
.lb-empty-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.lb-empty-sub { color: var(--text-muted); }

@media (max-width: 800px) {
  .lb-podium {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .lb-pod-1 { transform: none; order: -1; }
  .lb-pod-1:hover { transform: translateY(-6px); }
  .lb-pod { flex-direction: row; padding: 18px; text-align: left; gap: 16px; }
  .lb-pod-avatar { margin-bottom: 0; }
  .lb-pod-crown { display: none; }
  .lb-pod-medal { position: absolute; top: 14px; right: 14px; }
  .lb-pod-stat { margin-top: 0; margin-left: auto; align-items: flex-end; }
  .lb-pod-mini { display: none; }
  .lb-pod-name { margin-top: 0; }
}
@media (max-width: 700px) {
  .lb-table-head { grid-template-columns: 44px 1fr 80px; }
  .lb-th-kd, .lb-th-extra { display: none; }
  .lb-row { grid-template-columns: 44px 1fr 80px; }
  .lb-td-kd, .lb-td-extra { display: none; }
}
@media (max-width: 768px) {
  .lb-wrap { padding-top: 96px; }
}
@media (hover: none) {
  .lb-pod:hover, .lb-row:hover { transform: none; }
}