/**
 * Shared leaderboard styles — web page and in-game overlay use the same rules.
 */

.leaderboard-content,
.leaderboards-app {
  --lb-accent: var(--gh-accent, var(--accent, #44cc44));
  --lb-accent-dim: var(--gh-accent-dim, #2a6a2a);
  --lb-text: var(--gh-text, var(--text, #e8ffe8));
  --lb-text-muted: var(--gh-text-muted, var(--text-muted, #7a9088));
  --lb-font-display: var(--gh-font-display, var(--font-display, 'Rajdhani', sans-serif));
  --lb-font-mono: var(--gh-font, ui-monospace, 'Cascadia Mono', 'Consolas', monospace);
  --lb-transition: var(--gh-transition-fast, 0.15s ease);
  --lb-section-gap: var(--screen-section-gap, 0.55rem);
}

.leaderboard-content {
  width: 100%;
  max-width: min(1200px, 92vw);
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

.leaderboards-app {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}

/* ---- Filter area ---- */
.lb-filters {
  flex-shrink: 0;
  margin-bottom: var(--lb-section-gap);
}

.lb-filters-desktop {
  display: flex;
  flex-direction: column;
  gap: clamp(0.3rem, 0.8vh, 0.55rem);
}

.leaderboard-tabs {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.leaderboard-tabs button {
  font-family: var(--lb-font-display);
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--lb-text-muted);
  padding: 0.5rem 0.15rem;
  min-height: 2.75rem;
  cursor: pointer;
  transition:
    color var(--lb-transition),
    border-color var(--lb-transition);
}

.leaderboard-tabs button:hover {
  color: var(--lb-text);
}

.leaderboard-tabs button.active {
  color: var(--lb-accent);
  border-bottom-color: var(--lb-accent);
}

.leaderboard-tabs button:focus-visible,
.lb-segment-btn:focus-visible,
.lb-segmented button:focus-visible,
.lb-filter-btn:focus-visible,
.lb-context-bar:focus-visible {
  outline: 2px solid var(--lb-accent);
  outline-offset: 2px;
}

/* Period segmented control */
.lb-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(0.5rem, 1.5vw, 1rem);
}

.lb-segment-group {
  display: inline-flex;
  flex-shrink: 0;
  border: 1px solid rgba(68, 204, 68, 0.25);
  border-radius: 6px;
  overflow: hidden;
}

.lb-segment-group.is-hidden {
  display: none;
}

.lb-segment-btn {
  font-family: var(--lb-font-display);
  font-size: clamp(0.72rem, 1.6vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(68, 204, 68, 0.2);
  color: var(--lb-text-muted);
  padding: 0.45rem 0.85rem;
  min-height: 2.75rem;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color var(--lb-transition),
    background var(--lb-transition);
}

.lb-segment-btn:last-child {
  border-right: none;
}

.lb-segment-btn:hover:not(.active) {
  color: var(--lb-text);
  background: rgba(255, 255, 255, 0.03);
}

.lb-segment-btn.active {
  color: #fff;
  background: var(--lb-accent);
}

.lb-segmented {
  display: flex;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-left: auto;
}

.lb-segmented::-webkit-scrollbar {
  display: none;
}

.lb-segmented button,
.lb-filter-btn {
  font-family: var(--lb-font-display);
  font-size: clamp(0.72rem, 1.6vw, 0.88rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: none;
  border: 1px solid rgba(68, 204, 68, 0.2);
  border-radius: 999px;
  color: var(--lb-text-muted);
  padding: 0.45rem 0.85rem;
  min-height: 2.75rem;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color var(--lb-transition),
    border-color var(--lb-transition),
    background var(--lb-transition);
}

.lb-segmented button:hover,
.lb-filter-btn:hover:not(.active) {
  color: var(--lb-text);
  border-color: rgba(68, 204, 68, 0.35);
}

.lb-segmented button.active,
.lb-filter-btn.active {
  color: var(--lb-accent);
  border-color: var(--lb-accent-dim);
  background: rgba(68, 204, 68, 0.08);
}

/* Desktop metric pills — wider, flatter (Kills / Damage / Kills/min) */
.lb-filters-desktop .lb-segmented--metrics button {
  font-size: 12px;
  line-height: 1;
  min-height: 0;
  height: 34px;
  padding: 0 20px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lb-metric-static {
  margin: 0;
  margin-left: auto;
  font-family: var(--lb-font-display);
  font-size: clamp(0.72rem, 1.6vw, 0.85rem);
  letter-spacing: 0.04em;
  color: var(--lb-text-muted);
  min-height: 34px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.lb-trending-hint {
  margin: 0;
  font-family: var(--lb-font-display);
  font-size: clamp(0.72rem, 1.5vw, 0.82rem);
  color: var(--lb-text-muted);
  opacity: 0.85;
}

/* Mobile context bar + filter sheet */
.lb-context-bar {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.85rem;
  font-family: var(--lb-font-display);
  font-size: clamp(0.78rem, 3.5vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--lb-text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(68, 204, 68, 0.22);
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  transition:
    border-color var(--lb-transition),
    background var(--lb-transition);
}

.lb-context-bar:hover {
  border-color: rgba(68, 204, 68, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.lb-context-bar-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}

.lb-context-bar-chevron {
  flex-shrink: 0;
  color: var(--lb-text-muted);
  font-size: 0.85rem;
  transition: transform var(--lb-transition);
}

.lb-context-bar[aria-expanded='true'] .lb-context-bar-chevron {
  transform: rotate(180deg);
}

.lb-filter-sheet {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  margin-top: 6px;
  background: rgba(6, 10, 8, 0.92);
  border: 1px solid rgba(68, 204, 68, 0.2);
  border-radius: 8px;
}

.lb-filter-sheet.is-open {
  display: flex;
}

.lb-filter-section.is-hidden {
  display: none;
}

.lb-filter-label {
  display: block;
  font-family: var(--lb-font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lb-text-muted);
  margin-bottom: 0.4rem;
}

.lb-filter-sheet .lb-filter-label {
  margin-bottom: 4px;
  font-size: 0.62rem;
  line-height: 1;
}

.lb-filter-options {
  flex-wrap: wrap;
  gap: 6px;
}

.lb-filter-options.leaderboard-tabs {
  gap: 6px;
}

/* Mobile sheet chips — base; mobile media query reinforces overrides */
.lb-filter-sheet .lb-filter-options.leaderboard-tabs button,
.lb-filter-sheet .lb-segmented--metrics button,
.lb-filter-sheet .lb-segmented--metrics .lb-filter-btn {
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  min-height: 0;
  max-height: 30px;
  height: 30px;
  padding: 0 12px;
  padding-block: 0;
  letter-spacing: 0.06em;
  border-radius: 999px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lb-filter-options.leaderboard-tabs button {
  font-size: 11px;
  letter-spacing: 0.06em;
  border: 1px solid rgba(68, 204, 68, 0.2);
  border-radius: 999px;
  border-bottom: 1px solid rgba(68, 204, 68, 0.2);
  padding: 0 12px;
  padding-block: 0;
  min-height: 0;
  max-height: 30px;
  height: 30px;
  line-height: 1;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lb-filter-options.leaderboard-tabs button.active {
  border-bottom-color: var(--lb-accent-dim);
}

.lb-filter-section .lb-segment-group {
  width: 100%;
}

.lb-filter-section .lb-segment-btn {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  min-height: 0;
  max-height: 34px;
  height: 34px;
  padding: 0 10px;
  padding-block: 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lb-metric-static--sheet {
  margin-left: 0;
  min-height: auto;
  padding: 0.25rem 0;
}

.lb-filter-section--search .lb-search-wrap {
  width: 100%;
}

/* Legacy aliases — remove old header row / period underline styles */
.leaderboard-header-row {
  display: none;
}

.lb-period.is-hidden {
  display: none;
}

.lb-segmented.is-hidden {
  display: none;
}

.lb-summary {
  margin: 0 0 0.65rem;
  font-family: var(--lb-font-display);
  font-size: clamp(0.78rem, 1.6vw, 0.88rem);
  color: var(--lb-text-muted);
}

.lb-your-rank {
  margin: 0 0 0.55rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(68, 204, 68, 0.16);
  background: rgba(8, 16, 11, 0.72);
}

.lb-your-rank-label {
  margin: 0 0 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(168, 198, 176, 0.94);
}

.lb-your-rank-body {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
}

.lb-your-rank-rank {
  margin: 0;
  font-family: var(--lb-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  color: rgba(244, 252, 246, 0.98);
}

.lb-your-rank-context {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(168, 198, 176, 0.92);
}

.lb-your-rank-value {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(214, 234, 214, 0.96);
}

.lb-your-rank-move {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(168, 198, 176, 0.88);
}

.lb-your-rank-move--up {
  color: #72f072;
}

.lb-your-rank-move--down {
  color: #ff8866;
}

.lb-your-rank-move--new {
  color: #72f072;
}

.lb-your-rank-status {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(220, 236, 222, 0.96);
}

.lb-your-rank-message {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(168, 198, 176, 0.92);
}

.lb-your-rank-action {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 0.2rem;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(68, 204, 68, 0.3);
  background: rgba(68, 204, 68, 0.1);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(228, 248, 228, 0.98);
  text-decoration: none;
  transition:
    border-color var(--lb-transition),
    background var(--lb-transition),
    color var(--lb-transition);
}

.lb-your-rank-action:hover {
  border-color: rgba(102, 238, 102, 0.45);
  background: rgba(68, 204, 68, 0.16);
  color: #f4fff4;
  text-decoration: none;
}

.lb-your-rank-action--inline {
  margin-top: 0;
  padding: 0.12rem 0.45rem;
  vertical-align: baseline;
}

.lb-your-rank-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent, #66ee66);
  text-decoration: none;
}

.lb-your-rank-link:hover {
  text-decoration: underline;
}

.lb-your-rank--unranked .lb-your-rank-body {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.lb-your-rank--signed-out .lb-your-rank-body,
.lb-your-rank--unranked .lb-your-rank-body {
  gap: 0.3rem;
}

.lb-your-rank--skeleton .lb-your-rank-body {
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
}

.lb-your-rank--skeleton .lb-skeleton-bar--rank {
  width: 3.5rem;
  height: 1.2rem;
}

.lb-your-rank--skeleton .lb-skeleton-bar--context {
  width: min(100%, 14rem);
  height: 0.72rem;
}

.lb-your-rank--skeleton .lb-skeleton-bar--value {
  width: min(100%, 8rem);
  height: 0.72rem;
}

.lb-board {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.lb-board--full {
  width: 100%;
}

.lb-table {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  background: rgba(6, 10, 8, 0.35);
}

.lb-table-body {
  overflow-y: auto;
  padding-bottom: 0.5rem;
}

.leaderboards-app .lb-table,
.leaderboards-app .lb-table-body {
  overflow: visible;
}

.lb-row {
  display: grid;
  grid-template-columns: 32px 60px minmax(0, 1fr) auto auto;
  gap: clamp(0.5rem, 1.5vw, 1.25rem);
  align-items: center;
  padding: clamp(0.42rem, 0.95vh, 0.65rem) clamp(0.65rem, 1.5vw, 1rem);
  transition: background var(--lb-transition);
}

.lb-table--full .lb-row {
  grid-template-columns: 32px 60px minmax(0, 1fr) auto auto;
  padding: clamp(0.48rem, 1.05vh, 0.72rem) clamp(0.85rem, 2vw, 1.25rem);
}

.lb-cell--change {
  font-family: var(--lb-font-mono);
  font-size: clamp(0.62rem, 1.2vw, 0.72rem);
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  min-width: 0;
}

.lb-change--up {
  color: var(--lb-accent);
}

.lb-change--down {
  color: #a85555;
}

.lb-change-new {
  display: inline-block;
  font-family: var(--lb-font-mono);
  font-size: clamp(0.58rem, 1.1vw, 0.68rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5cb85c;
  white-space: nowrap;
}

.lb-row--head .lb-cell--change {
  color: var(--lb-text-muted);
  opacity: 0.65;
}

.lb-row--head {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(6, 10, 8, 0.92);
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.lb-row--head .lb-cell {
  font-family: var(--lb-font-display);
  font-size: clamp(0.65rem, 1.4vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lb-text-muted);
}

.lb-cell--rank {
  font-family: var(--lb-font-mono);
  font-weight: 700;
  text-align: right;
  font-size: clamp(0.8rem, 1.6vw, 0.95rem);
  color: var(--lb-text-muted);
}

.lb-row--rank-1 .lb-cell--rank {
  color: #e8c66b;
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
}

.lb-row--rank-2 .lb-cell--rank {
  color: #b8bcc0;
  font-size: clamp(0.88rem, 1.7vw, 1rem);
}

.lb-row--rank-3 .lb-cell--rank {
  color: #a87245;
  font-size: clamp(0.86rem, 1.65vw, 0.98rem);
}

.lb-cell--name {
  font-family: var(--lb-font-display);
  font-weight: 600;
  font-size: clamp(0.82rem, 1.7vw, 0.98rem);
  color: var(--lb-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lb-player-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1 1 auto;
}

.lb-cell--name .rank-badge--sm {
  flex-shrink: 0;
  margin-left: 0;
}

.lb-cell--primary {
  font-family: var(--lb-font-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
  font-size: clamp(0.82rem, 1.7vw, 0.98rem);
  color: var(--lb-text);
  white-space: nowrap;
}

.lb-cell--secondary {
  font-family: var(--lb-font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
  font-size: clamp(0.72rem, 1.5vw, 0.85rem);
  color: var(--lb-text-muted);
  white-space: nowrap;
}

.lb-row:nth-child(even):not(.lb-row--head) {
  background: rgba(255, 255, 255, 0.02);
}

@media (hover: hover) {
  .lb-row:not(.lb-row--head):not(.lb-row--you):hover {
    background: rgba(255, 255, 255, 0.05);
  }
}

.lb-row--you {
  background: rgba(68, 204, 68, 0.06) !important;
  border-left: 3px solid var(--lb-accent);
  padding-left: calc(clamp(0.65rem, 1.5vw, 1rem) - 3px);
}

.lb-table--full .lb-row--you {
  padding-left: calc(clamp(0.85rem, 2vw, 1.25rem) - 3px);
}

.lb-row--you .lb-cell--name {
  color: var(--lb-accent);
}

.lb-divider {
  height: 0;
  border-top: 1px dashed rgba(68, 204, 68, 0.2);
  margin: 0.25rem 0;
}

.lb-empty {
  text-align: center;
  font-family: var(--lb-font-display);
  color: var(--lb-text-muted);
  padding: 1.75rem 1rem;
}

.lb-empty-message {
  margin: 0 0 0.35rem;
  opacity: 0.85;
}

.lb-empty-hint {
  margin: 0;
  font-size: 0.88em;
  opacity: 0.65;
}

.lb-empty--error {
  opacity: 1;
}

.lb-of-n {
  font-size: 0.72em;
  font-weight: 400;
  color: var(--lb-text-muted);
  letter-spacing: 0;
}

.lb-skeleton-row {
  pointer-events: none;
}

.lb-skeleton-bar {
  display: block;
  height: 0.75rem;
  width: 2rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  animation: lb-skeleton-pulse 1.2s ease-in-out infinite;
}

.lb-skeleton-bar--wide {
  width: 70%;
}

@keyframes lb-skeleton-pulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.9;
  }
}

.lb-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.85rem;
  padding-bottom: 0.35rem;
  text-align: center;
}

.lb-footer-label {
  margin: 0;
  font-family: var(--lb-font-display);
  font-size: clamp(0.78rem, 1.6vw, 0.86rem);
  color: var(--lb-text-muted);
}

.lb-footer-more {
  min-width: 8.5rem;
}

.lb-retry {
  background: none;
  border: none;
  color: var(--lb-accent);
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
}

.lb-trend-compact {
  display: none;
}

#lb-panel-trending .lb-cell--change,
.leaderboards-app[data-tab='trending'] .lb-cell--change {
  display: none;
}

#lb-panel-trending .lb-row,
#lb-panel-trending .lb-table--full .lb-row,
.leaderboards-app[data-tab='trending'] .lb-row {
  grid-template-columns: 60px minmax(0, 1fr) auto auto;
}

#lb-board-trending .lb-cell--gain,
#lb-board-trending .lb-row--rising .lb-cell--primary,
.leaderboards-app[data-tab='trending'] .lb-cell--gain,
.leaderboards-app[data-tab='trending'] .lb-row--rising .lb-cell--primary {
  color: var(--lb-accent);
  font-size: clamp(0.92rem, 2vw, 1.12rem);
  font-weight: 700;
}

@media (max-width: 600px) {
  .lb-filters-desktop {
    display: none;
  }

  .lb-your-rank {
    margin-bottom: 0.45rem;
    padding: 0.45rem 0.65rem;
  }

  .lb-your-rank-label {
    margin-bottom: 0.15rem;
  }

  .lb-your-rank--signed-out .lb-your-rank-body,
  .lb-your-rank--unranked .lb-your-rank-body {
    gap: 0.12rem;
  }

  .lb-your-rank-status {
    font-size: 0.85rem;
    line-height: 1.2;
  }

  .lb-your-rank-message {
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .lb-your-rank-action {
    margin-top: 0.12rem;
    min-height: 0;
    height: 26px;
    padding: 0 0.55rem;
    padding-block: 0;
    font-size: 0.72rem;
    line-height: 1;
  }

  /* Force slim chips — beats .leaderboard-tabs button / .lb-filter-btn min-height */
  .lb-filter-sheet .leaderboard-tabs button,
  .lb-filter-sheet .lb-filter-btn,
  .lb-filter-sheet .lb-segmented button {
    min-height: 0;
    max-height: 30px;
    height: 30px;
    padding: 0 12px;
    padding-block: 0;
    line-height: 1;
    box-sizing: border-box;
  }

  .lb-filter-sheet .lb-filter-section .lb-segment-btn {
    min-height: 0;
    max-height: 34px;
    height: 34px;
    padding: 0 10px;
    padding-block: 0;
  }

  .lb-filter-sheet .lb-segmented button[data-metric='weaponSpecialist'],
  .lb-filter-sheet .lb-segmented button[data-metric='risingHunters'],
  .lb-filter-sheet .lb-filter-btn[data-metric='weaponSpecialist'],
  .lb-filter-sheet .lb-filter-btn[data-metric='risingHunters'] {
    font-size: 10px;
    padding: 0 10px;
  }

  .lb-your-rank--ranked .lb-your-rank-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .lb-context-bar {
    display: flex;
  }

  .lb-filter-row,
  .leaderboard-header-row {
    display: none;
  }

  .lb-row,
  .lb-table--full .lb-row {
    grid-template-columns: 28px 40px minmax(0, 1fr) auto;
    gap: 0.5rem;
    min-width: 0;
  }

  .lb-cell--name {
    max-width: none;
  }

  .lb-cell--secondary,
  .lb-row--head .lb-cell--secondary {
    display: none;
  }

  .lb-segmented button[data-metric='weaponSpecialist'],
  .lb-segmented button[data-metric='risingHunters'],
  .lb-filter-btn[data-metric='weaponSpecialist'],
  .lb-filter-btn[data-metric='risingHunters'] {
    font-size: 0.68rem;
  }

  #lb-panel-trending .lb-row,
  #lb-panel-trending .lb-table--full .lb-row,
  .leaderboards-app[data-tab='trending'] .lb-row {
    grid-template-columns: 40px minmax(0, 1fr) auto auto;
  }

  #lb-panel-trending .lb-cell--secondary,
  #lb-panel-trending .lb-row--head .lb-cell--secondary,
  .leaderboards-app[data-tab='trending'] .lb-cell--secondary,
  .leaderboards-app[data-tab='trending'] .lb-row--head .lb-cell--secondary {
    display: block;
  }

  #lb-panel-trending .lb-trend-full,
  .leaderboards-app[data-tab='trending'] .lb-trend-full {
    display: none;
  }

  #lb-panel-trending .lb-trend-compact,
  .leaderboards-app[data-tab='trending'] .lb-trend-compact {
    display: inline;
  }
}

@media (max-width: 400px) {
  .lb-row,
  .lb-table--full .lb-row {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}
