/* Sprint 16 — Real Leaderboards */

.lbv2-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: center;
  gap: 28px;
  min-height: 238px;
  margin-bottom: 14px;
  padding: 30px 34px;
  overflow: hidden;
  border: 1px solid rgba(124, 145, 177, .18);
  border-radius: 20px;
  background:
    linear-gradient(125deg, rgba(8, 13, 25, .98), rgba(11, 18, 34, .94) 58%, rgba(10, 22, 38, .9)),
    radial-gradient(circle at 84% 30%, rgba(59, 130, 246, .18), transparent 32%);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .22), inset 0 1px rgba(255, 255, 255, .025);
}

.lbv2-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(74, 222, 128, .05), transparent 30%, transparent 72%, rgba(56, 189, 248, .06));
  content: '';
}

.lbv2-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .3;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(90deg, #000, transparent 88%);
}

.lbv2-hero__glow {
  position: absolute;
  z-index: -1;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  filter: blur(58px);
  opacity: .22;
  pointer-events: none;
}

.lbv2-hero__glow--one { top: -100px; left: 18%; background: #22c55e; }
.lbv2-hero__glow--two { right: -70px; bottom: -110px; background: #3b82f6; }

.lbv2-hero__copy { position: relative; z-index: 1; }

.lbv2-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: #8be7ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.lbv2-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 5px rgba(74, 222, 128, .08), 0 0 18px rgba(74, 222, 128, .7);
}

.lbv2-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(31px, 5vw, 52px);
  line-height: .98;
  font-weight: 950;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.lbv2-hero p {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.lbv2-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 19px;
}

.lbv2-proof-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 27px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}

.lbv2-proof-row b {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 9px rgba(74, 222, 128, .65);
}

.lbv2-hero__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  justify-self: center;
  border: 1px solid rgba(125, 211, 252, .2);
  border-radius: 38px;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.12), transparent 22%),
    linear-gradient(145deg, rgba(17, 29, 52, .96), rgba(7, 11, 22, .98));
  box-shadow: 0 28px 50px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.06), 0 0 45px rgba(59,130,246,.08);
  transform: rotate(3deg);
}

.lbv2-hero__mark::before,
.lbv2-hero__mark::after {
  position: absolute;
  border: 1px solid rgba(74, 222, 128, .16);
  border-radius: inherit;
  content: '';
}
.lbv2-hero__mark::before { inset: 10px; }
.lbv2-hero__mark::after { inset: 22px; border-color: rgba(56, 189, 248, .13); }

.lbv2-hero__mark strong {
  position: relative;
  z-index: 2;
  color: #f8fbff;
  font-size: 64px;
  font-weight: 950;
  letter-spacing: -.12em;
  text-shadow: 12px 8px 0 rgba(59,130,246,.22), 0 0 25px rgba(74,222,128,.12);
  transform: translateX(-5px);
}

.lbv2-hero__mark small {
  position: absolute;
  z-index: 3;
  right: -18px;
  bottom: 19px;
  padding: 5px 8px;
  border: 1px solid rgba(74,222,128,.28);
  border-radius: 7px;
  background: #08150f;
  color: #74f29d;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .14em;
}

.lbv2-hero__mark-ring {
  position: absolute;
  inset: -16px;
  border: 1px dashed rgba(125,211,252,.15);
  border-radius: 50%;
  animation: lbv2-spin 24s linear infinite;
}

@keyframes lbv2-spin { to { transform: rotate(360deg); } }

.lbv2-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(9, 14, 26, .8);
  box-shadow: inset 0 1px rgba(255,255,255,.02);
}

.lbv2-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 52px;
  padding: 8px 11px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--muted);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.lbv2-tab:hover {
  border-color: rgba(255,255,255,.075);
  background: rgba(255,255,255,.025);
  color: var(--text);
  transform: translateY(-1px);
}

.lbv2-tab.is-active {
  border-color: rgba(92, 188, 255, .26);
  background: linear-gradient(135deg, rgba(59,130,246,.14), rgba(34,197,94,.055));
  color: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.14), inset 0 1px rgba(255,255,255,.04);
}

.lbv2-tab.is-active::after {
  position: absolute;
  right: 11px;
  bottom: 0;
  left: 11px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4ade80, #38bdf8);
  box-shadow: 0 0 14px rgba(56,189,248,.35);
  content: '';
}

.lbv2-tab__icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 9px;
  background: rgba(255,255,255,.025);
  color: #8bdfff;
  font-size: 12px;
  font-weight: 950;
}

.lbv2-tab span:last-child { min-width: 0; }
.lbv2-tab strong { display: block; font-size: 12px; font-weight: 850; }
.lbv2-tab small { display: block; margin-top: 2px; overflow: hidden; color: var(--dim); font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }

.lbv2-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  padding: 12px 13px;
}

.lbv2-toolbar__context { min-width: 150px; }
.lbv2-toolbar__context > span { display: block; color: var(--dim); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.lbv2-toolbar__context strong { display: inline-block; margin-top: 3px; font-size: 13px; }
.lbv2-toolbar__context small { margin-left: 7px; color: var(--dim); font-size: 10px; }

.lbv2-filters { display: flex; align-items: end; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.lbv2-filters label { display: grid; gap: 4px; }
.lbv2-filters label > span { color: var(--dim); font-size: 8px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.lbv2-filters select {
  min-width: 120px;
  height: 34px;
  padding: 0 30px 0 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  outline: none;
  background: var(--surface2);
  color: var(--text);
  font-size: 11px;
  font-weight: 750;
}
.lbv2-filters select:focus { border-color: rgba(56,189,248,.55); box-shadow: 0 0 0 3px rgba(56,189,248,.08); }
.lbv2-map-select select { min-width: 170px; }

.lbv2-apply {
  height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(74,222,128,.28);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(34,197,94,.18), rgba(59,130,246,.11));
  color: #b8ffd0;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}
.lbv2-apply:hover { transform: translateY(-1px); filter: brightness(1.14); }

.lbv2-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.lbv2-metric {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 78px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: linear-gradient(160deg, rgba(255,255,255,.027), rgba(255,255,255,.012));
  box-shadow: inset 0 1px rgba(255,255,255,.022);
}

.lbv2-metric::after {
  position: absolute;
  right: -20px;
  bottom: -32px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(56,189,248,.035);
  content: '';
}

.lbv2-metric--accent { border-color: rgba(74,222,128,.19); background: linear-gradient(145deg, rgba(34,197,94,.07), rgba(59,130,246,.035)); }
.lbv2-metric__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  background: rgba(255,255,255,.022);
  color: #8ddcff;
  font-size: 12px;
  font-weight: 900;
}
.lbv2-metric > div { min-width: 0; }
.lbv2-metric small { display: block; overflow: hidden; color: var(--dim); font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; }
.lbv2-metric strong { display: block; margin-top: 4px; color: #f4f8ff; font-size: 20px; line-height: 1; font-weight: 950; letter-spacing: -.045em; }
.lbv2-metric em { display: block; margin-top: 4px; overflow: hidden; color: var(--dim); font-size: 9px; font-style: normal; white-space: nowrap; text-overflow: ellipsis; }

.lbv2-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
}
.lbv2-section-head > div > span { color: #68d5ff; font-size: 8px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.lbv2-section-head h2 { margin: 3px 0 0; font-size: 16px; font-weight: 900; letter-spacing: -.025em; }
.lbv2-section-head > small { color: var(--dim); font-size: 10px; }

.lbv2-podium { margin-bottom: 10px; padding: 16px; overflow: hidden; }
.lbv2-podium__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 9px; }
.lbv2-podium__grid--1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.lbv2-podium__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.lbv2-podium-card {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 174px;
  padding: 18px 12px 13px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 15px;
  background: linear-gradient(160deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  color: var(--text);
  text-align: center;
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.lbv2-podium-card:hover { z-index: 2; border-color: rgba(125,211,252,.28); transform: translateY(-4px); box-shadow: 0 18px 34px rgba(0,0,0,.22); }
.lbv2-podium-card--1 { min-height: 192px; border-color: rgba(250,204,21,.22); background: linear-gradient(160deg, rgba(250,204,21,.065), rgba(255,255,255,.014)); }
.lbv2-podium-card--2 { border-color: rgba(148,163,184,.16); }
.lbv2-podium-card--3 { border-color: rgba(251,146,60,.16); }

.lbv2-podium-card__place {
  position: absolute;
  top: 9px;
  left: 10px;
  z-index: 2;
  color: var(--dim);
  font-size: 10px;
  font-weight: 950;
}
.lbv2-podium-card--1 .lbv2-podium-card__place { color: #facc15; }
.lbv2-podium-card__halo {
  position: absolute;
  top: -58px;
  width: 150px;
  height: 120px;
  border-radius: 50%;
  background: rgba(59,130,246,.08);
  filter: blur(20px);
}
.lbv2-podium-card--1 .lbv2-podium-card__halo { background: rgba(250,204,21,.11); }
.lbv2-podium-card > img:not(.lbv2-rank-image) {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  margin-bottom: 8px;
  border: 2px solid rgba(255,255,255,.1);
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
}
.lbv2-podium-card--1 > img:not(.lbv2-rank-image) { width: 66px; height: 66px; border-color: rgba(250,204,21,.26); }
.lbv2-podium-card > strong { max-width: 100%; overflow: hidden; font-size: 13px; font-weight: 900; white-space: nowrap; text-overflow: ellipsis; }
.lbv2-podium-card > small { margin-top: 2px; color: var(--dim); font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.lbv2-podium-card__value { min-height: 28px; margin-top: 7px; }
.lbv2-podium-card__value > b { color: #eff8ff; font-size: 24px; font-weight: 950; letter-spacing: -.055em; }
.lbv2-podium-card__meta { margin-top: 5px; color: var(--dim); font-size: 9px; }

.lbv2-insights {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(250px, .7fr);
  gap: 10px;
  margin-bottom: 10px;
}
.lbv2-distribution, .lbv2-data-note { padding: 16px; }
.lbv2-bars { display: flex; align-items: end; gap: 7px; min-height: 152px; }
.lbv2-bar { display: grid; flex: 1; min-width: 0; gap: 5px; text-align: center; }
.lbv2-bar__share { color: var(--muted); font-size: 9px; font-weight: 900; }
.lbv2-bar__track {
  display: flex;
  align-items: end;
  min-height: 104px;
  padding: 5px 5px 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px 10px 6px 6px;
  background: linear-gradient(180deg, rgba(255,255,255,.012), rgba(255,255,255,.025));
}
.lbv2-bar__track i { display: block; width: 100%; min-height: 4px; border-radius: 6px 6px 3px 3px; box-shadow: 0 0 16px rgba(59,130,246,.16); transition: height .35s ease; }
.lbv2-bar__track .tone-common { background: linear-gradient(#9ca3af, #64748b); }
.lbv2-bar__track .tone-uncommon { background: linear-gradient(#7dd3fc, #0284c7); }
.lbv2-bar__track .tone-rare { background: linear-gradient(#60a5fa, #2563eb); }
.lbv2-bar__track .tone-mythical { background: linear-gradient(#c084fc, #7c3aed); }
.lbv2-bar__track .tone-legendary { background: linear-gradient(#f472b6, #db2777); }
.lbv2-bar__track .tone-ancient { background: linear-gradient(#fb7185, #dc2626); }
.lbv2-bar strong { overflow: hidden; color: var(--muted); font-size: 8px; white-space: nowrap; text-overflow: ellipsis; }
.lbv2-bar small { color: var(--dim); font-size: 8px; }

.lbv2-data-note { position: relative; overflow: hidden; background: linear-gradient(150deg, rgba(15,23,42,.92), rgba(7,12,22,.96)); }
.lbv2-data-note::after { position: absolute; right: -45px; bottom: -45px; width: 140px; height: 140px; border: 1px solid rgba(74,222,128,.08); border-radius: 50%; content: ''; }
.lbv2-data-note__pulse { display: inline-block; width: 8px; height: 8px; margin-bottom: 12px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 7px rgba(74,222,128,.07), 0 0 20px rgba(74,222,128,.5); }
.lbv2-data-note > small { display: block; color: #7dd3fc; font-size: 8px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.lbv2-data-note h2 { margin: 4px 0 8px; font-size: 17px; font-weight: 900; }
.lbv2-data-note p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.58; }
.lbv2-data-note > div { display: grid; gap: 7px; margin-top: 14px; }
.lbv2-data-note > div span { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 9px; }
.lbv2-data-note > div b { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid rgba(255,255,255,.07); border-radius: 7px; color: #7dd3fc; font-size: 8px; }

.lbv2-list { overflow: hidden; }
.lbv2-section-head--list { margin: 0; padding: 14px 15px; border-bottom: 1px solid var(--border); }
.lbv2-table-wrap { overflow-x: auto; }
.lbv2-table-head, .lbv2-table-row {
  display: grid;
  align-items: center;
  min-width: 900px;
  gap: 8px;
  padding: 0 13px;
}
.lbv2-table-head {
  min-height: 36px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.012);
  color: var(--dim);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.lbv2-table-row {
  min-height: 58px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
  text-decoration: none;
  transition: background .17s ease, transform .17s ease;
}
.lbv2-table-row:last-child { border-bottom: none; }
.lbv2-table-row:hover { background: rgba(255,255,255,.026); }
.lbv2-table-row.is-top { background: linear-gradient(90deg, rgba(250,204,21,.035), transparent 28%); }
.lbv2-table-row.is-top:hover { background: linear-gradient(90deg, rgba(250,204,21,.055), rgba(255,255,255,.022) 32%, transparent); }

.lbv2-table-head--overall, .lbv2-table-row--overall { grid-template-columns: 34px minmax(190px, 1.5fr) 54px 58px 52px 58px 64px 68px 116px; }
.lbv2-table-head--premier, .lbv2-table-row--premier,
.lbv2-table-head--competitive, .lbv2-table-row--competitive { grid-template-columns: 34px minmax(220px, 1.5fr) 132px 96px 58px 74px 88px; }
.lbv2-table-head--activity, .lbv2-table-row--activity { grid-template-columns: 34px minmax(220px, 1.5fr) 64px 58px 58px 56px 70px 92px; }

.lbv2-place { color: var(--dim); font-size: 10px; font-weight: 950; text-align: center; }
.lbv2-place.is-medal { color: #facc15; }
.lbv2-player { display: flex; align-items: center; gap: 9px; min-width: 0; }
.lbv2-player > img { width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid var(--border2); border-radius: 9px; object-fit: cover; box-shadow: 0 5px 12px rgba(0,0,0,.18); }
.lbv2-player > span { min-width: 0; }
.lbv2-player strong { display: block; overflow: hidden; color: var(--text); font-size: 11px; font-weight: 850; white-space: nowrap; text-overflow: ellipsis; }
.lbv2-player small { display: block; margin-top: 2px; overflow: hidden; color: var(--dim); font-size: 8px; white-space: nowrap; text-overflow: ellipsis; }
.lbv2-positive { color: #6ee7a1 !important; font-weight: 800; }
.lbv2-negative { color: #fb7185 !important; font-weight: 800; }
.lbv2-rating-score { color: #a7efff; font-size: 13px; font-weight: 950; }
.lbv2-rank-cell { display: flex; align-items: center; min-width: 0; }
.lbv2-rank-cell em { color: var(--dim); font-style: normal; }
.lbv2-rank-image { display: block; max-width: 98px; height: 18px; object-fit: contain; }
.lbv2-updated { overflow: hidden; color: var(--dim); white-space: nowrap; text-overflow: ellipsis; }
.lbv2-table-row .cs2rating { transform: scale(.88); transform-origin: left center; }

.lbv2-mobile-list { display: none; }
.lbv2-mobile-card {
  position: relative;
  display: grid;
  grid-template-columns: 26px 40px minmax(0, 1fr) auto;
  grid-template-areas:
    'place avatar identity primary'
    'stats stats stats stats';
  align-items: center;
  gap: 8px 9px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
}
.lbv2-mobile-card:last-child { border-bottom: none; }
.lbv2-mobile-card.is-top { background: linear-gradient(90deg, rgba(250,204,21,.04), transparent 75%); }
.lbv2-mobile-card__place { grid-area: place; color: var(--dim); font-size: 11px; font-weight: 950; text-align: center; }
.lbv2-mobile-card.is-top .lbv2-mobile-card__place { color: #facc15; }
.lbv2-mobile-card__avatar { grid-area: avatar; width: 40px; height: 40px; border: 1px solid var(--border2); border-radius: 10px; object-fit: cover; }
.lbv2-mobile-card__identity { grid-area: identity; min-width: 0; }
.lbv2-mobile-card__identity strong { display: block; overflow: hidden; font-size: 12px; font-weight: 850; white-space: nowrap; text-overflow: ellipsis; }
.lbv2-mobile-card__identity small { display: block; margin-top: 2px; color: var(--dim); font-size: 8px; }
.lbv2-mobile-card__primary { grid-area: primary; display: grid; justify-items: end; min-width: 70px; }
.lbv2-mobile-card__primary > strong { font-size: 17px; font-weight: 950; letter-spacing: -.04em; }
.lbv2-mobile-card__primary > small { color: var(--dim); font-size: 7px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lbv2-mobile-card__primary .cs2rating { transform: scale(.82); transform-origin: right center; }
.lbv2-mobile-card__stats { grid-area: stats; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; padding-left: 74px; }
.lbv2-mobile-card__stats b { display: block; min-width: 0; padding: 6px 7px; border: 1px solid rgba(255,255,255,.055); border-radius: 8px; background: rgba(255,255,255,.018); color: var(--muted); font-size: 9px; font-weight: 850; text-align: center; }
.lbv2-mobile-card__stats small { display: block; margin-bottom: 2px; overflow: hidden; color: var(--dim); font-size: 6px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; }

.lbv2-pagination { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 13px; border-top: 1px solid var(--border); }
.lbv2-pagination a, .lbv2-pagination span { display: grid; place-items: center; min-width: 30px; height: 30px; border: 1px solid var(--border); border-radius: 8px; color: var(--muted); font-size: 10px; font-weight: 850; text-decoration: none; }
.lbv2-pagination a:hover, .lbv2-pagination a.is-active { border-color: rgba(56,189,248,.32); background: rgba(56,189,248,.08); color: #fff; }
.lbv2-pagination span { border-color: transparent; }

.lbv2-empty { display: grid; place-items: center; min-height: 210px; padding: 28px; text-align: center; }
.lbv2-empty > span { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border: 1px solid var(--border); border-radius: 15px; color: #7dd3fc; font-size: 18px; }
.lbv2-empty strong { font-size: 15px; }
.lbv2-empty p { max-width: 520px; margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

@media (max-width: 1000px) {
  .lbv2-hero { grid-template-columns: minmax(0, 1fr) 135px; padding: 26px; }
  .lbv2-hero__mark { width: 120px; height: 120px; border-radius: 30px; }
  .lbv2-hero__mark strong { font-size: 50px; }
  .lbv2-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lbv2-metric:nth-child(4), .lbv2-metric:nth-child(5) { grid-column: span 1; }
  .lbv2-insights { grid-template-columns: 1fr; }
  .lbv2-data-note > div { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .lbv2-hero { grid-template-columns: 1fr; min-height: 0; padding: 22px 19px; }
  .lbv2-hero__mark { display: none; }
  .lbv2-hero h1 { font-size: clamp(29px, 10vw, 42px); }
  .lbv2-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lbv2-toolbar { align-items: stretch; flex-direction: column; }
  .lbv2-filters { justify-content: stretch; }
  .lbv2-filters label { flex: 1 1 120px; }
  .lbv2-filters select { width: 100%; min-width: 0; }
  .lbv2-apply { flex: 1 1 100%; }
  .lbv2-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lbv2-metric:last-child { grid-column: 1 / -1; }
  .lbv2-podium__grid, .lbv2-podium__grid--2 { grid-template-columns: 1fr; }
  .lbv2-podium-card, .lbv2-podium-card--1 { grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-rows: auto auto; place-items: center start; min-height: 0; padding: 12px; text-align: left; }
  .lbv2-podium-card > img:not(.lbv2-rank-image), .lbv2-podium-card--1 > img:not(.lbv2-rank-image) { grid-row: 1 / 3; width: 48px; height: 48px; margin: 0; }
  .lbv2-podium-card > strong { align-self: end; }
  .lbv2-podium-card > small { align-self: start; }
  .lbv2-podium-card__value { grid-column: 3; grid-row: 1 / 3; align-self: center; margin: 0; }
  .lbv2-podium-card__meta { display: none; }
  .lbv2-podium-card__place { top: 7px; left: 7px; }
  .lbv2-table-wrap { display: none; }
  .lbv2-mobile-list { display: block; }
  .lbv2-data-note > div { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .lbv2-hero { margin-inline: -2px; border-radius: 16px; }
  .lbv2-hero p { font-size: 12px; }
  .lbv2-proof-row { gap: 6px; }
  .lbv2-proof-row span { min-height: 24px; padding-inline: 8px; font-size: 8px; }
  .lbv2-tabs { gap: 5px; padding: 5px; }
  .lbv2-tab { min-height: 47px; padding: 7px 8px; }
  .lbv2-tab__icon { width: 28px; height: 28px; flex-basis: 28px; }
  .lbv2-tab strong { font-size: 10px; }
  .lbv2-tab small { font-size: 7px; }
  .lbv2-toolbar__context small { display: block; margin: 2px 0 0; }
  .lbv2-metrics { gap: 6px; }
  .lbv2-metric { min-height: 70px; padding: 9px; }
  .lbv2-metric__icon { width: 28px; height: 28px; flex-basis: 28px; }
  .lbv2-metric strong { font-size: 17px; }
  .lbv2-podium, .lbv2-distribution, .lbv2-data-note { padding: 12px; }
  .lbv2-bars { min-height: 132px; gap: 4px; }
  .lbv2-bar__track { min-height: 88px; padding-inline: 3px; }
  .lbv2-bar strong { font-size: 6px; }
  .lbv2-section-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .lbv2-mobile-card { grid-template-columns: 22px 36px minmax(0, 1fr) auto; gap: 7px; padding: 10px 9px; }
  .lbv2-mobile-card__avatar { width: 36px; height: 36px; }
  .lbv2-mobile-card__stats { gap: 4px; padding-left: 0; }
  .lbv2-mobile-card__stats b { padding: 5px 3px; font-size: 8px; }
  .lbv2-mobile-card__primary { min-width: 62px; }
  .lbv2-rank-image { max-width: 78px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .lbv2-hero__mark-ring { animation: none; }
  .lbv2-tab, .lbv2-podium-card, .lbv2-apply, .lbv2-bar__track i { transition: none; }
}
