.ts-leaderboard {
  --lb-bg: #0b0e11;
  --lb-panel: #111519;
  --lb-panel-strong: #151a1f;
  --lb-border: #273139;
  --lb-border-soft: #1d252b;
  --lb-text: #f6f8f9;
  --lb-muted: #8e9ba5;
  --lb-accent: #f1b85a;
  --lb-accent-secondary: #9fc8df;
  --lb-green: #4be19a;
  --lb-red: #ff6678;
  --lb-control-height: 38px;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--lb-border);
  border-radius: 6px;
  background: var(--lb-bg);
  color: var(--lb-text);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .2);
}

.ts-leaderboard-head {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  min-height: 116px;
  padding: 24px 26px 22px;
  border-bottom: 1px solid var(--lb-border);
  background: linear-gradient(100deg, rgba(241, 184, 90, .055), transparent 38%, rgba(159,200,223, .035));
}

.ts-leaderboard-head > div:first-child {
  min-width: 0;
}

.ts-leaderboard-head p,
.ts-leaderboard-head h2,
.ts-leaderboard-head span,
.ts-leaderboard-head strong,
.ts-leaderboard-head small,
.ts-leaderboard-foot p,
.ts-leaderboard-foot span {
  margin: 0;
}

.ts-leaderboard-head p {
  color: var(--lb-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ts-leaderboard-head h2 {
  margin-top: 6px;
  color: var(--lb-text);
  font-family: "Orbitron", "Manrope", sans-serif;
  font-size: clamp(24px, 2.4vw, 38px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
}

.ts-leaderboard-head > div:first-child > span {
  display: block;
  max-width: 760px;
  margin-top: 8px;
  color: var(--lb-muted);
  font-size: 13px;
  line-height: 1.5;
}

.ts-leaderboard-head-meta {
  display: grid;
  justify-items: end;
  gap: 8px;
  flex: 0 0 auto;
  padding-top: 4px;
  text-align: right;
}

.ts-leaderboard-head-meta > div:first-child {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.ts-leaderboard-head-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.ts-leaderboard-head-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.ts-leaderboard-head-actions button {
  appearance: none;
  display: grid;
  gap: 2px;
  min-width: 96px;
  height: var(--lb-control-height);
  border: 1px solid var(--lb-border);
  border-radius: 5px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, .025);
  color: var(--lb-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.ts-leaderboard-head-actions button:hover,
.ts-leaderboard-head-actions button:focus-visible {
  border-color: rgba(159,200,223, .48);
  background: rgba(159,200,223, .055);
  outline: none;
}

.ts-leaderboard-head-actions span,
.ts-leaderboard-head-actions strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ts-leaderboard-head-actions span {
  color: var(--lb-muted);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ts-leaderboard-head-actions strong {
  color: var(--lb-text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.ts-leaderboard-head-meta strong {
  color: var(--lb-accent-secondary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ts-leaderboard-head-meta small {
  color: var(--lb-muted);
  font-size: 12px;
}

.ts-leaderboard-podium {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid var(--lb-border);
  background: #0e1114;
}

.ts-leaderboard-podium-place {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 96px;
  overflow: hidden;
  border: 1px solid var(--lb-border);
  border-radius: 5px;
  padding: 28px 20px 16px;
  background: var(--lb-panel);
}

.ts-leaderboard-podium-place.is-rank-1 {
  grid-column: 1 / -1;
  min-height: 126px;
  border-color: rgba(241, 184, 90, .52);
  background: linear-gradient(105deg, rgba(241, 184, 90, .095), var(--lb-panel) 45%, rgba(159,200,223, .08));
}

.ts-leaderboard-place {
  position: absolute;
  top: 10px;
  left: 20px;
  color: var(--lb-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ts-leaderboard-podium-score {
  display: grid;
  justify-items: end;
  gap: 4px;
  min-width: 116px;
}

.ts-leaderboard-podium-score span {
  color: var(--lb-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ts-leaderboard-podium-score strong {
  color: var(--lb-accent-secondary);
  font-family: "Orbitron", "Manrope", sans-serif;
  font-size: 22px;
  letter-spacing: 0;
}

.ts-leaderboard-podium-place.is-rank-1 .ts-leaderboard-podium-score strong {
  font-size: 32px;
}

.ts-leaderboard-trader {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-width: 190px;
}

.ts-leaderboard-trader-link {
  border-radius: 4px;
  color: inherit;
  text-decoration: none;
}

.ts-leaderboard-trader-link:hover strong,
.ts-leaderboard-trader-link:focus-visible strong {
  color: var(--lb-accent-secondary);
}

.ts-leaderboard-trader-link:focus-visible {
  outline: 1px solid var(--lb-accent-secondary);
  outline-offset: 3px;
}

.ts-leaderboard-trader img,
.ts-leaderboard-avatar-fallback {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border: 1px solid rgba(241, 184, 90, .42);
  border-radius: 50%;
  background: #1a2025;
  color: var(--lb-accent);
  font-size: 12px;
  font-weight: 800;
  object-fit: cover;
}

.ts-leaderboard-trader > div {
  min-width: 0;
}

.ts-leaderboard-trader strong {
  display: block;
  overflow: hidden;
  color: var(--lb-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ts-leaderboard-trader small {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 8px;
  margin-top: 4px;
  color: var(--lb-muted);
  font-size: 11px;
  line-height: 1.2;
}

.ts-leaderboard-country {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ts-leaderboard-country img {
  display: block;
  width: 20px;
  height: 15px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 2px;
  object-fit: cover;
}

.ts-leaderboard-country span {
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}

.ts-leaderboard-country.is-unknown {
  color: var(--lb-muted);
}

.ts-leaderboard-table [data-leaderboard-metric="country"] {
  min-width: 92px;
  text-align: center;
}

.ts-leaderboard-trader small .is-verified {
  color: var(--lb-accent-secondary);
}

.ts-leaderboard-trader small .is-digital {
  color: var(--lb-accent);
}

.ts-leaderboard-table-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.ts-leaderboard-quick-filter {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 1 230px;
  width: 230px;
  min-width: 170px;
}

.ts-leaderboard-quick-filter > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.ts-leaderboard-quick-filter input {
  box-sizing: border-box;
  width: 100%;
  height: var(--lb-control-height);
  min-height: var(--lb-control-height);
  border: 1px solid var(--lb-border);
  border-radius: 6px;
  padding: 0 32px 0 10px;
  background: var(--lb-bg);
  color: var(--lb-text);
  font: 600 11px/1.2 "Manrope", sans-serif;
}

.ts-leaderboard-quick-filter input:focus {
  border-color: var(--lb-accent-secondary);
  outline: 2px solid color-mix(in srgb, var(--lb-accent-secondary) 24%, transparent);
  outline-offset: 1px;
}

.ts-leaderboard-quick-filter button {
  position: absolute;
  right: 4px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 0;
  border-radius: 4px;
  padding: 0;
  background: transparent;
  color: var(--lb-muted);
  font: 700 15px/1 "Manrope", sans-serif;
  cursor: pointer;
}

.ts-leaderboard-quick-filter button[hidden] {
  display: none;
}

.ts-leaderboard-filter-builder {
  position: relative;
  flex: 0 0 auto;
}

.ts-leaderboard-filter-builder > summary {
  box-sizing: border-box;
  display: grid;
  min-width: 92px;
  height: var(--lb-control-height);
  min-height: var(--lb-control-height);
  place-items: center;
  border: 1px solid var(--lb-border);
  border-radius: 6px;
  padding: 0 12px;
  background: var(--lb-panel);
  color: var(--lb-text);
  font: 800 11px/1.2 "Manrope", sans-serif;
  cursor: pointer;
  list-style: none;
}

.ts-leaderboard-filter-builder > summary::-webkit-details-marker {
  display: none;
}

.ts-leaderboard-filter-builder[open] > summary,
.ts-leaderboard-filter-builder > summary:hover,
.ts-leaderboard-filter-builder > summary:focus-visible {
  border-color: var(--lb-accent-secondary);
  background: var(--lb-panel-strong);
  outline: none;
}

.ts-leaderboard-filter-builder-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 7px);
  right: 0;
  box-sizing: border-box;
  width: min(470px, calc(100vw - 40px));
  border: 1px solid var(--lb-border);
  border-radius: 8px;
  padding: 14px;
  background: var(--lb-panel-strong);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .34);
  color: var(--lb-text);
  text-align: left;
}

.ts-leaderboard-filter-builder-panel > strong,
.ts-leaderboard-filter-builder-panel > small {
  display: block;
}

.ts-leaderboard-filter-builder-panel > strong {
  font-size: 13px;
}

.ts-leaderboard-filter-builder-panel > small {
  margin-top: 3px;
  color: var(--lb-muted);
  font-size: 11px;
}

.ts-leaderboard-filter-builder-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.ts-leaderboard-filter-builder-fields label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.ts-leaderboard-filter-builder-fields label[hidden] {
  display: none;
}

.ts-leaderboard-filter-builder-fields label > span {
  color: var(--lb-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ts-leaderboard-filter-builder-fields select,
.ts-leaderboard-filter-builder-fields input {
  box-sizing: border-box;
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--lb-border);
  border-radius: 6px;
  padding: 0 9px;
  background: var(--lb-bg);
  color: var(--lb-text);
  font: 600 12px/1.2 "Manrope", sans-serif;
}

.ts-leaderboard-filter-builder-panel > button {
  min-height: 36px;
  margin-top: 12px;
  border: 1px solid var(--lb-accent-secondary);
  border-radius: 6px;
  padding: 0 13px;
  background: color-mix(in srgb, var(--lb-accent-secondary) 16%, var(--lb-panel));
  color: var(--lb-text);
  font: 800 11px/1.2 "Manrope", sans-serif;
  cursor: pointer;
}

.ts-leaderboard-active-filters {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border-bottom: 1px solid var(--lb-border);
  padding: 6px 12px;
  background: var(--lb-panel);
}

.ts-leaderboard-active-filters[hidden] {
  display: none;
}

.ts-leaderboard-active-filters > strong {
  flex: 0 0 auto;
  color: var(--lb-muted);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ts-leaderboard-filter-result-count {
  flex: 0 0 auto;
  border-left: 1px solid var(--lb-border);
  padding-left: 8px;
  color: var(--lb-accent-secondary);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.ts-leaderboard-active-filters > div {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 5px;
}

.ts-leaderboard-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid color-mix(in srgb, var(--lb-accent-secondary) 48%, var(--lb-border));
  border-radius: 999px;
  padding: 4px 5px 4px 9px;
  background: color-mix(in srgb, var(--lb-accent-secondary) 9%, var(--lb-bg));
  color: var(--lb-text);
  font-size: 11px;
  font-weight: 700;
}

.ts-leaderboard-filter-chip button,
.ts-leaderboard-active-filters > button {
  border: 0;
  background: transparent;
  color: var(--lb-muted);
  cursor: pointer;
}

.ts-leaderboard-filter-chip button {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  padding: 0;
  font: 800 14px/1 "Manrope", sans-serif;
}

.ts-leaderboard-active-filters > button {
  flex: 0 0 auto;
  font: 800 11px/1.2 "Manrope", sans-serif;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ts-leaderboard-view-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.ts-leaderboard-table-wrap {
  width: 100%;
  min-width: 0;
  max-height: clamp(420px, calc(100vh - 250px), 760px);
  overflow: auto;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}

.ts-leaderboard-table-wrap:focus-visible {
  outline: 2px solid var(--lb-accent-secondary);
  outline-offset: -2px;
}

.ts-leaderboard-table-nav {
  display: flex;
  flex: 0 0 auto;
  gap: 1px;
  margin-left: auto;
  border: 0;
  border-radius: 4px;
  padding: 0;
  background: transparent;
}

.ts-leaderboard-table-nav[hidden] {
  display: none;
}

.ts-leaderboard-table-nav button {
  appearance: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0;
  background: transparent;
  color: var(--lb-text);
  font: 800 12px/1 "Manrope", sans-serif;
  cursor: pointer;
}

.ts-leaderboard-table-nav button:hover:not(:disabled),
.ts-leaderboard-table-nav button:focus-visible:not(:disabled) {
  border-color: var(--lb-accent-secondary);
  background: var(--lb-panel-strong);
  outline: none;
}

.ts-leaderboard-table-nav button:disabled {
  opacity: .3;
  cursor: default;
}

.ts-leaderboard-table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto;
}

.ts-leaderboard-table th {
  position: sticky;
  top: 0;
  z-index: 4;
  height: 42px;
  border-bottom: 1px solid var(--lb-border);
  padding: 0 13px;
  background: #12171b;
  color: var(--lb-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.ts-leaderboard-table th[data-leaderboard-metric="trader"],
.ts-leaderboard-table th[data-leaderboard-metric="strategyFamily"],
.ts-leaderboard-table th[data-leaderboard-metric="strategySummary"] {
  text-align: left;
}

.ts-leaderboard-table-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.ts-leaderboard-table-heading .ts-leaderboard-sort {
  flex: 1 1 auto;
}

.ts-leaderboard-sort {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 8px 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  text-transform: inherit;
  white-space: nowrap;
  cursor: pointer;
}

.ts-leaderboard-table th[data-leaderboard-metric="trader"] .ts-leaderboard-sort,
.ts-leaderboard-table th[data-leaderboard-metric="strategyFamily"] .ts-leaderboard-sort,
.ts-leaderboard-table th[data-leaderboard-metric="strategySummary"] .ts-leaderboard-sort {
  justify-content: flex-start;
}

.ts-leaderboard-sort i {
  display: inline-block;
  width: 0;
  height: 0;
  border-right: 3px solid transparent;
  border-left: 3px solid transparent;
  opacity: 0;
}

.ts-leaderboard-table th[aria-sort="ascending"] .ts-leaderboard-sort i {
  border-bottom: 5px solid currentColor;
  opacity: 1;
}

.ts-leaderboard-table th[aria-sort="descending"] .ts-leaderboard-sort i {
  border-top: 5px solid currentColor;
  opacity: 1;
}

.ts-leaderboard-sort:hover,
.ts-leaderboard-sort:focus-visible {
  color: var(--lb-text);
  outline: none;
}

.ts-leaderboard-table td {
  height: 62px;
  border-bottom: 1px solid var(--lb-border-soft);
  padding: 8px 13px;
  background: var(--lb-bg);
  color: #cdd6dc;
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
}

.ts-leaderboard-table td[data-leaderboard-metric="trader"],
.ts-leaderboard-table td[data-leaderboard-metric="strategyFamily"],
.ts-leaderboard-table td[data-leaderboard-metric="strategySummary"] {
  text-align: left;
}

.ts-leaderboard-table tbody tr:hover td {
  background: #11161a;
}

.ts-leaderboard-table tbody tr.is-current-user td {
  background: rgba(159,200,223, .045);
}

.ts-leaderboard-table tbody tr.is-top-rank td:first-child {
  box-shadow: inset 2px 0 0 var(--lb-accent);
}

.ts-leaderboard-table .ts-leaderboard-quick-empty td {
  height: 92px;
  color: var(--lb-muted);
  text-align: center;
}

.ts-leaderboard-table [data-leaderboard-metric="rank"] {
  position: sticky;
  left: 0;
  z-index: 3;
  min-width: 68px;
}

.ts-leaderboard-table [data-leaderboard-metric="trader"] {
  position: sticky;
  left: 68px;
  z-index: 3;
  min-width: 240px;
  box-shadow: 1px 0 0 var(--lb-border);
}

.ts-leaderboard-table th[data-leaderboard-metric="rank"],
.ts-leaderboard-table th[data-leaderboard-metric="trader"] {
  z-index: 6;
  background: #12171b;
}

.ts-leaderboard-value {
  color: #d6dee3;
  font-variant-numeric: tabular-nums;
}

.ts-leaderboard-value.is-primary-score {
  display: inline-block;
  min-width: 76px;
  border-radius: 4px;
  padding: 7px 9px;
  background: rgba(159,200,223, .09);
  color: var(--lb-accent-secondary);
  font-family: "Orbitron", "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.ts-leaderboard-value.is-positive {
  color: var(--lb-green);
}

.ts-leaderboard-value.is-negative {
  color: var(--lb-red);
}

.ts-leaderboard-value.is-status {
  color: var(--lb-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.ts-leaderboard-empty-cell {
  height: 300px !important;
  text-align: center !important;
}

.ts-leaderboard-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto;
  white-space: normal;
}

.ts-leaderboard-empty strong {
  color: var(--lb-text);
  font-size: 18px;
}

.ts-leaderboard-empty span {
  color: var(--lb-muted);
  font-size: 12px;
  line-height: 1.55;
}

.ts-leaderboard-foot {
  border-top: 1px solid var(--lb-border);
  padding: 7px 12px;
  background: #0e1215;
  color: var(--lb-muted);
  font-size: 11px;
  line-height: 1.3;
}

.ts-leaderboard-foot p {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ts-leaderboard-directory {
  display: grid;
  gap: 3px;
}

.ts-leaderboard-directory-item {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-left: 2px solid transparent;
  border-radius: 0;
  padding: 7px 9px 7px 11px;
  background: transparent;
  color: #d6dfe4;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.ts-leaderboard-directory-item:hover,
.ts-leaderboard-directory-item:focus-visible {
  background: rgba(255, 255, 255, .035);
  outline: none;
}

.ts-leaderboard-directory-item.is-active {
  border-left-color: #f1b85a;
  background: rgba(241, 184, 90, .07);
  color: #fff;
}

.ts-leaderboard-directory-item > span {
  min-width: 0;
}

.ts-leaderboard-directory-item strong,
.ts-leaderboard-directory-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ts-leaderboard-directory-item strong {
  font-size: 12px;
  font-weight: 600;
}

.ts-leaderboard-directory-item small {
  margin-top: 3px;
  color: #83919b;
  font-size: 11px;
}

.ts-leaderboard-directory-item em {
  flex: 0 0 auto;
  color: #83919b;
  font-size: 11px;
  font-style: normal;
  text-transform: uppercase;
}

.ts-leaderboard-directory-item.is-active em {
  color: #f1b85a;
}

.ts-leaderboard-control-rail {
  display: grid;
  gap: 0;
  min-width: 0;
}

.ts-leaderboard-board-picker {
  display: grid;
  gap: 9px;
  padding-bottom: 14px;
}

.ts-leaderboard-filter,
.ts-leaderboard-save-form {
  display: grid;
  gap: 5px;
}

.ts-leaderboard-filter > span,
.ts-leaderboard-save-form > label {
  color: #83919b;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ts-leaderboard-filter > span,
.ts-leaderboard-save-form > label,
.ts-leaderboard-column-group-toggle strong {
  color: #f1b85a;
}

.ts-leaderboard-board-picker select,
.ts-leaderboard-filter input,
.ts-leaderboard-filter select,
.ts-leaderboard-save-form input {
  width: 100%;
  min-width: 0;
  height: 34px;
  border: 1px solid #34414a;
  border-radius: 5px;
  padding: 0 9px;
  background: #0c1114;
  color: #edf2f4;
  font: inherit;
  font-size: 12px;
  outline: none;
}

.ts-leaderboard-board-picker select:focus,
.ts-leaderboard-filter input:focus,
.ts-leaderboard-filter select:focus,
.ts-leaderboard-save-form input:focus {
  border-color: #9fc8df;
  box-shadow: 0 0 0 2px rgba(159,200,223, .1);
}

.ts-leaderboard-board-picker > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ts-leaderboard-board-picker > div > span {
  overflow: hidden;
  color: #83919b;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ts-leaderboard-board-picker button,
.ts-leaderboard-clear-filters,
.ts-leaderboard-save-form button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: #f1b85a;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.ts-leaderboard-board-picker button:hover,
.ts-leaderboard-board-picker button:focus-visible,
.ts-leaderboard-clear-filters:hover:not(:disabled),
.ts-leaderboard-clear-filters:focus-visible:not(:disabled),
.ts-leaderboard-save-form button:hover,
.ts-leaderboard-save-form button:focus-visible {
  color: #ffd08f;
  outline: none;
  text-decoration: underline;
}

.ts-leaderboard-accordion {
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.ts-leaderboard-accordion-toggle {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  border: 0;
  padding: 8px 2px;
  background: transparent;
  color: #f3f6f7;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.ts-leaderboard-accordion-toggle:hover,
.ts-leaderboard-accordion-toggle:focus-visible {
  color: #fff;
  outline: none;
}

.ts-leaderboard-accordion-toggle > span,
.ts-leaderboard-accordion-toggle strong,
.ts-leaderboard-accordion-toggle em {
  display: block;
  min-width: 0;
}

.ts-leaderboard-accordion-toggle strong {
  font-size: 12px;
  font-weight: 600;
}

.ts-leaderboard-accordion-toggle em {
  margin-top: 3px;
  color: #83919b;
  font-size: 10.5px;
  font-style: normal;
}

.ts-leaderboard-accordion-toggle i {
  width: 7px;
  height: 7px;
  border-right: 1px solid #8f9ba3;
  border-bottom: 1px solid #8f9ba3;
  transform: rotate(45deg);
  transition: transform .16s ease;
}

.ts-leaderboard-accordion.is-open .ts-leaderboard-accordion-toggle i {
  transform: rotate(225deg);
}

.ts-leaderboard-accordion-body {
  padding: 0 0 14px;
}

.ts-leaderboard-saved-list {
  display: grid;
  gap: 3px;
}

.ts-leaderboard-saved-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border-left: 2px solid transparent;
}

.ts-leaderboard-saved-row.is-active {
  border-left-color: #9fc8df;
  background: rgba(159,200,223, .055);
}

.ts-leaderboard-saved-row > button:first-child {
  appearance: none;
  display: grid;
  gap: 2px;
  min-width: 0;
  border: 0;
  padding: 7px 8px;
  background: transparent;
  color: #dce4e8;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.ts-leaderboard-saved-row span,
.ts-leaderboard-saved-row em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ts-leaderboard-saved-row span {
  font-size: 11px;
  font-weight: 600;
}

.ts-leaderboard-saved-row em {
  color: #83919b;
  font-size: 10.5px;
  font-style: normal;
}

.ts-leaderboard-saved-remove {
  appearance: none;
  border: 0;
  padding: 6px;
  background: transparent;
  color: #7d8b94;
  font: inherit;
  font-size: 10.5px;
  cursor: pointer;
}

.ts-leaderboard-saved-remove:hover,
.ts-leaderboard-saved-remove:focus-visible {
  color: #ff8190;
  outline: none;
}

.ts-leaderboard-save-form {
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding-top: 10px;
}

.ts-leaderboard-save-form > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.ts-leaderboard-save-form small,
.ts-leaderboard-filters > p {
  margin: 0;
  color: #71808a;
  font-size: 10.5px;
  line-height: 1.45;
}

.ts-leaderboard-filter-grid {
  display: grid;
  gap: 9px;
}

.ts-leaderboard-trader-selections {
  display: grid;
  gap: 4px;
}

.ts-leaderboard-trader-selection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(159,200,223, .22);
  border-radius: 4px;
  padding: 5px 6px 5px 8px;
  background: rgba(159,200,223, .055);
}

.ts-leaderboard-trader-selection > span,
.ts-leaderboard-trader-selection strong,
.ts-leaderboard-trader-selection small {
  display: block;
  min-width: 0;
}

.ts-leaderboard-trader-selection > span {
  overflow: hidden;
}

.ts-leaderboard-trader-selection strong,
.ts-leaderboard-trader-selection small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ts-leaderboard-trader-selection strong {
  color: #e7edef;
  font-size: 11px;
  font-weight: 600;
}

.ts-leaderboard-trader-selection small {
  margin-top: 1px;
  color: #87959e;
  font-size: 10.5px;
}

.ts-leaderboard-trader-selection button,
.ts-leaderboard-trader-lookup button {
  appearance: none;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #8d9aa2;
  font: inherit;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}

.ts-leaderboard-trader-selection button:hover,
.ts-leaderboard-trader-selection button:focus-visible {
  background: rgba(255, 101, 119, .1);
  color: #ff8190;
  outline: none;
}

.ts-leaderboard-trader-lookup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 5px;
}

.ts-leaderboard-trader-lookup button {
  width: 34px;
  height: 34px;
  border: 1px solid #34414a;
  color: #f1b85a;
  font-size: 17px;
}

.ts-leaderboard-trader-lookup button:hover,
.ts-leaderboard-trader-lookup button:focus-visible {
  border-color: #b8873c;
  background: rgba(241, 184, 90, .08);
  color: #ffd08f;
  outline: none;
}

.ts-leaderboard-multi-filter details {
  position: relative;
  min-width: 0;
}

.ts-leaderboard-multi-filter summary {
  appearance: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 10px;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid #34414a;
  border-radius: 5px;
  padding: 0 9px;
  background: #0c1114;
  color: #edf2f4;
  cursor: pointer;
  list-style: none;
}

.ts-leaderboard-multi-filter summary::-webkit-details-marker {
  display: none;
}

.ts-leaderboard-multi-filter summary strong,
.ts-leaderboard-multi-filter summary em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ts-leaderboard-multi-filter summary strong {
  font-size: 11px;
  font-weight: 500;
}

.ts-leaderboard-multi-filter summary em {
  color: #7f8d96;
  font-size: 10.5px;
  font-style: normal;
}

.ts-leaderboard-multi-filter summary i {
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  color: #8d9aa2;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .16s ease;
}

.ts-leaderboard-multi-filter details[open] summary,
.ts-leaderboard-multi-filter summary:hover,
.ts-leaderboard-multi-filter summary:focus-visible {
  border-color: #b8873c;
  outline: none;
}

.ts-leaderboard-multi-filter details[open] summary i {
  transform: rotate(225deg) translate(-1px, -1px);
}

.ts-leaderboard-multi-options {
  position: absolute;
  z-index: 8;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  display: grid;
  max-height: 190px;
  overflow-y: auto;
  border: 1px solid #34414a;
  border-radius: 5px;
  padding: 4px;
  background: #0b1013;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .32);
}

.ts-leaderboard-multi-options > p {
  margin: 0;
  padding: 8px;
  color: #7f8d96;
  font-size: 11px;
}

.ts-leaderboard-multi-option {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 30px;
  border-radius: 4px;
  padding: 4px 7px;
  color: #cbd5da;
  font-size: 11px;
  cursor: pointer;
}

.ts-leaderboard-multi-option:hover,
.ts-leaderboard-multi-option:focus-within {
  background: rgba(241, 184, 90, .08);
  color: #fff;
}

.ts-leaderboard-filter .ts-leaderboard-multi-option input {
  appearance: auto;
  width: 14px;
  height: 14px;
  margin: 0;
  padding: 0;
  accent-color: #c58b33;
  box-shadow: none;
}

.ts-leaderboard-clear-filters {
  margin-top: 10px;
}

.ts-leaderboard-clear-filters:disabled {
  color: #5c6870;
  cursor: default;
}

.ts-leaderboard-filters > p {
  margin-top: 8px;
}

.ts-leaderboard-column-panel {
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 14px;
}

.ts-leaderboard-accordion-body > .ts-leaderboard-column-panel {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.ts-leaderboard-column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.ts-leaderboard-column-head strong,
.ts-leaderboard-column-head span {
  display: block;
}

.ts-leaderboard-column-head strong {
  color: #f3f6f7;
  font-size: 12px;
}

.ts-leaderboard-column-head span {
  margin-top: 2px;
  color: #83919b;
  font-size: 11px;
}

.ts-leaderboard-column-head button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #f1b85a;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.ts-leaderboard-column-group {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.ts-leaderboard-column-group-toggle {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 38px;
  border: 0;
  padding: 6px 3px;
  background: transparent;
  color: #dce4e8;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.ts-leaderboard-column-group-toggle:hover,
.ts-leaderboard-column-group-toggle:focus-visible {
  color: #fff;
  outline: none;
}

.ts-leaderboard-column-group-toggle span,
.ts-leaderboard-column-group-toggle strong,
.ts-leaderboard-column-group-toggle em {
  display: block;
  min-width: 0;
}

.ts-leaderboard-column-group-toggle strong {
  font-size: 11px;
  font-weight: 600;
}

.ts-leaderboard-column-group-toggle em {
  margin-top: 2px;
  color: #697781;
  font-size: 10.5px;
  font-style: normal;
}

.ts-leaderboard-column-group-toggle i {
  width: 6px;
  height: 6px;
  border-right: 1px solid #7f8d96;
  border-bottom: 1px solid #7f8d96;
  transform: rotate(45deg);
  transition: transform .16s ease;
}

.ts-leaderboard-column-group.is-open .ts-leaderboard-column-group-toggle i {
  transform: rotate(225deg);
}

.ts-leaderboard-column-group-body {
  display: grid;
  gap: 2px;
  padding: 0 0 7px;
}

.ts-leaderboard-column-toggle {
  appearance: none;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-height: 30px;
  border: 0;
  border-radius: 4px;
  padding: 4px 5px;
  background: transparent;
  color: #b9c3c9;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.ts-leaderboard-column-toggle:hover:not(:disabled),
.ts-leaderboard-column-toggle:focus-visible:not(:disabled) {
  background: rgba(255, 255, 255, .04);
  outline: none;
}

.ts-leaderboard-column-toggle > span {
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border: 1px solid #52616b;
  border-radius: 3px;
}

.ts-leaderboard-column-toggle.is-on > span {
  border-color: #9fc8df;
  background: #9fc8df;
}

.ts-leaderboard-column-toggle.is-on > span::after {
  content: "";
  width: 6px;
  height: 3px;
  border-left: 1.5px solid #071018;
  border-bottom: 1.5px solid #071018;
  transform: rotate(-45deg) translateY(-1px);
}

.ts-leaderboard-column-toggle strong {
  overflow: hidden;
  font-size: 11px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ts-leaderboard-column-toggle em {
  color: #697781;
  font-size: 10.5px;
  font-style: normal;
  white-space: nowrap;
}

.ts-leaderboard-column-toggle.is-pending {
  opacity: .55;
}

.v2-module-workspace.is-leaderboard-workspace {
  gap: 0;
}

.v2-module-workspace.is-leaderboard-workspace .ts-leaderboard {
  min-height: calc(100vh - var(--v2-topbar-height) - var(--v2-footer-height) - 26px);
}

@media (min-width: 1025px) {
  body.v2-leaderboard-workspace-active {
    overflow: hidden;
  }

  body.v2-leaderboard-workspace-active .v2-app-main,
  body.v2-leaderboard-workspace-active .v2-workspace-shell,
  body.v2-leaderboard-workspace-active .v2-workspace-content,
  body.v2-leaderboard-workspace-active .v2-module-workspace,
  body.v2-leaderboard-workspace-active .ts-leaderboard {
    min-height: 0;
    height: calc(100vh - var(--v2-topbar-height) - var(--v2-footer-height));
  }

  body.v2-leaderboard-workspace-active .v2-workspace-content {
    overflow: hidden;
    padding-bottom: 10px;
  }

  body.v2-leaderboard-workspace-active .v2-module-workspace,
  body.v2-leaderboard-workspace-active .ts-leaderboard {
    height: 100%;
  }

  body.v2-leaderboard-workspace-active .ts-leaderboard {
    display: flex;
    flex-direction: column;
  }

  body.v2-leaderboard-workspace-active .ts-leaderboard-table-shell {
    flex: 1 1 auto;
  }

  body.v2-leaderboard-workspace-active .ts-leaderboard-table-wrap {
    flex: 1 1 auto;
    max-height: none;
  }

  body.v2-leaderboard-workspace-active .ts-leaderboard-foot {
    flex: 0 0 auto;
  }
}

html[data-portal-theme="light"] .ts-leaderboard,
html[data-public-theme="light"] .ts-leaderboard,
body.public-theme-light .ts-leaderboard {
  --lb-bg: #fff;
  --lb-panel: #f8fafb;
  --lb-panel-strong: #f1f5f7;
  --lb-border: #cbd5dc;
  --lb-border-soft: #e2e8ec;
  --lb-text: #101923;
  --lb-muted: #526473;
  --lb-accent: #9a641b;
  --lb-accent-secondary: #315f7d;
  --lb-green: #315f7d;
  --lb-red: #b82e43;
  box-shadow: 0 18px 54px rgba(24, 39, 52, .08);
}

html[data-portal-theme="light"] .ts-leaderboard-head,
html[data-public-theme="light"] .ts-leaderboard-head,
body.public-theme-light .ts-leaderboard-head {
  background: linear-gradient(100deg, rgba(154, 100, 27, .055), #fff 42%, rgba(49,95,125, .035));
}

html[data-portal-theme="light"] .ts-leaderboard-podium,
html[data-public-theme="light"] .ts-leaderboard-podium,
body.public-theme-light .ts-leaderboard-podium,
html[data-portal-theme="light"] .ts-leaderboard-foot,
html[data-public-theme="light"] .ts-leaderboard-foot,
body.public-theme-light .ts-leaderboard-foot {
  background: #f7f9fa;
}

html[data-portal-theme="light"] .ts-leaderboard-table th,
html[data-public-theme="light"] .ts-leaderboard-table th,
body.public-theme-light .ts-leaderboard-table th,
html[data-portal-theme="light"] .ts-leaderboard-table th[data-leaderboard-metric="rank"],
html[data-portal-theme="light"] .ts-leaderboard-table th[data-leaderboard-metric="trader"],
html[data-public-theme="light"] .ts-leaderboard-table th[data-leaderboard-metric="rank"],
html[data-public-theme="light"] .ts-leaderboard-table th[data-leaderboard-metric="trader"],
body.public-theme-light .ts-leaderboard-table th[data-leaderboard-metric="rank"],
body.public-theme-light .ts-leaderboard-table th[data-leaderboard-metric="trader"] {
  background: #eef3f5;
}

html[data-portal-theme="light"] .ts-leaderboard-table-nav,
html[data-public-theme="light"] .ts-leaderboard-table-nav,
body.public-theme-light .ts-leaderboard-table-nav {
  background: transparent;
}

html[data-portal-theme="light"] .ts-leaderboard-table-nav button,
html[data-public-theme="light"] .ts-leaderboard-table-nav button,
body.public-theme-light .ts-leaderboard-table-nav button {
  color: #1c3444;
}

html[data-portal-theme="light"] .ts-leaderboard-quick-filter input,
html[data-public-theme="light"] .ts-leaderboard-quick-filter input,
body.public-theme-light .ts-leaderboard-quick-filter input {
  background: #fff;
  color: #101923;
}

html[data-portal-theme="light"] .ts-leaderboard-filter-builder > summary,
html[data-public-theme="light"] .ts-leaderboard-filter-builder > summary,
body.public-theme-light .ts-leaderboard-filter-builder > summary,
html[data-portal-theme="light"] .ts-leaderboard-filter-builder-panel,
html[data-public-theme="light"] .ts-leaderboard-filter-builder-panel,
body.public-theme-light .ts-leaderboard-filter-builder-panel,
html[data-portal-theme="light"] .ts-leaderboard-active-filters,
html[data-public-theme="light"] .ts-leaderboard-active-filters,
body.public-theme-light .ts-leaderboard-active-filters {
  background: #f7fafc;
  color: #102c40;
}

html[data-portal-theme="light"] .ts-leaderboard-filter-builder-fields select,
html[data-portal-theme="light"] .ts-leaderboard-filter-builder-fields input,
html[data-public-theme="light"] .ts-leaderboard-filter-builder-fields select,
html[data-public-theme="light"] .ts-leaderboard-filter-builder-fields input,
body.public-theme-light .ts-leaderboard-filter-builder-fields select,
body.public-theme-light .ts-leaderboard-filter-builder-fields input {
  background: #fff;
  color: #102c40;
}

html[data-portal-theme="light"] .ts-leaderboard-filter-chip,
html[data-public-theme="light"] .ts-leaderboard-filter-chip,
body.public-theme-light .ts-leaderboard-filter-chip {
  background: #eef6fa;
  color: #102c40;
}

@media (max-width: 720px) {
  .ts-leaderboard-head-tools {
    flex-wrap: wrap;
  }

  .ts-leaderboard-quick-filter {
    flex: 1 1 100%;
    width: 100%;
  }

  .ts-leaderboard-filter-builder {
    flex: 1 1 auto;
  }

  .ts-leaderboard-filter-builder > summary {
    width: 100%;
  }

  .ts-leaderboard-filter-builder-panel {
    right: auto;
    left: 0;
  }

  .ts-leaderboard-filter-builder-fields {
    grid-template-columns: 1fr;
  }

  .ts-leaderboard-active-filters {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

html[data-portal-theme="light"] .ts-leaderboard-table tbody tr:hover td,
html[data-public-theme="light"] .ts-leaderboard-table tbody tr:hover td,
body.public-theme-light .ts-leaderboard-table tbody tr:hover td {
  background: #f5f8f9;
}

html[data-portal-theme="light"] .ts-leaderboard-table tbody tr.is-current-user td,
html[data-public-theme="light"] .ts-leaderboard-table tbody tr.is-current-user td,
body.public-theme-light .ts-leaderboard-table tbody tr.is-current-user td {
  background: #f7fafc;
}

html[data-portal-theme="light"] .ts-leaderboard-value,
html[data-public-theme="light"] .ts-leaderboard-value,
body.public-theme-light .ts-leaderboard-value {
  color: #243746;
}

html[data-portal-theme="light"] .ts-leaderboard-directory-item,
html[data-portal-theme="light"] .ts-leaderboard-column-toggle,
html[data-portal-theme="light"] .ts-leaderboard-accordion-toggle,
html[data-portal-theme="light"] .ts-leaderboard-saved-row > button:first-child {
  color: #243746;
}

html[data-portal-theme="light"] .ts-leaderboard-directory-item:hover,
html[data-portal-theme="light"] .ts-leaderboard-directory-item:focus-visible,
html[data-portal-theme="light"] .ts-leaderboard-column-toggle:hover:not(:disabled),
html[data-portal-theme="light"] .ts-leaderboard-column-toggle:focus-visible:not(:disabled) {
  background: #edf2f4;
}

html[data-portal-theme="light"] .ts-leaderboard-directory-item.is-active {
  background: #f7eddc;
  color: #101923;
}

html[data-portal-theme="light"] .ts-leaderboard-head-actions button {
  border-color: #cbd5dc;
  background: #f8fafb;
}

html[data-portal-theme="light"] .ts-leaderboard-head-actions button:hover,
html[data-portal-theme="light"] .ts-leaderboard-head-actions button:focus-visible {
  border-color: #6fa9cf;
  background: #f7fafc;
}

html[data-portal-theme="light"] .ts-leaderboard-board-picker select,
html[data-portal-theme="light"] .ts-leaderboard-filter input,
html[data-portal-theme="light"] .ts-leaderboard-filter select,
html[data-portal-theme="light"] .ts-leaderboard-save-form input {
  border-color: #c4d0d7;
  background: #fff;
  color: #182632;
}

html[data-portal-theme="light"] .ts-leaderboard-board-picker button,
html[data-portal-theme="light"] .ts-leaderboard-clear-filters,
html[data-portal-theme="light"] .ts-leaderboard-save-form button {
  color: #8a5405;
}

html[data-portal-theme="light"] .ts-leaderboard-board-picker button:hover,
html[data-portal-theme="light"] .ts-leaderboard-board-picker button:focus-visible,
html[data-portal-theme="light"] .ts-leaderboard-clear-filters:hover,
html[data-portal-theme="light"] .ts-leaderboard-clear-filters:focus-visible,
html[data-portal-theme="light"] .ts-leaderboard-save-form button:hover,
html[data-portal-theme="light"] .ts-leaderboard-save-form button:focus-visible {
  color: #4f3104;
}

html[data-portal-theme="light"] .ts-leaderboard-accordion,
html[data-portal-theme="light"] .ts-leaderboard-save-form {
  border-color: #d4dde2;
}

html[data-portal-theme="light"] .ts-leaderboard-saved-row.is-active {
  border-left-color: #315f7d;
  background: #f7fafc;
}

html[data-portal-theme="light"] .ts-leaderboard-filter > span,
html[data-portal-theme="light"] .ts-leaderboard-save-form > label,
html[data-portal-theme="light"] .ts-leaderboard-board-picker > div > span,
html[data-portal-theme="light"] .ts-leaderboard-accordion-toggle em,
html[data-portal-theme="light"] .ts-leaderboard-saved-row em,
html[data-portal-theme="light"] .ts-leaderboard-save-form small,
html[data-portal-theme="light"] .ts-leaderboard-filters > p {
  color: #5c6d79;
}

html[data-portal-theme="light"] .ts-leaderboard-column-panel {
  border-top-color: #d4dde2;
}

html[data-portal-theme="light"] .ts-leaderboard-column-head strong {
  color: #101923;
}

html[data-portal-theme="light"] .ts-leaderboard-column-head span,
html[data-portal-theme="light"] .ts-leaderboard-column-group-toggle em,
html[data-portal-theme="light"] .ts-leaderboard-column-toggle em,
html[data-portal-theme="light"] .ts-leaderboard-directory-item small,
html[data-portal-theme="light"] .ts-leaderboard-directory-item em {
  color: #5c6d79;
}

html[data-portal-theme="light"] .ts-leaderboard-column-group {
  border-color: #dce4e8;
}

html[data-portal-theme="light"] .ts-leaderboard-column-group-toggle {
  color: #263845;
}

html[data-portal-theme="light"] .ts-leaderboard-column-group-toggle:hover,
html[data-portal-theme="light"] .ts-leaderboard-column-group-toggle:focus-visible {
  color: #101923;
}

html[data-portal-theme="light"] .ts-leaderboard-filter > span,
html[data-portal-theme="light"] .ts-leaderboard-save-form > label,
html[data-portal-theme="light"] .ts-leaderboard-column-group-toggle strong {
  color: #9b5b00;
}

html[data-portal-theme="light"] .ts-leaderboard-trader-selection {
  border-color: #cfe1ec;
  background: #f7fafc;
}

html[data-portal-theme="light"] .ts-leaderboard-trader-selection strong {
  color: #13242f;
}

html[data-portal-theme="light"] .ts-leaderboard-trader-selection small {
  color: #526774;
}

html[data-portal-theme="light"] .ts-leaderboard-trader-lookup button {
  border-color: #c4d0d7;
  background: #fff;
  color: #9b5b00;
}

html[data-portal-theme="light"] .ts-leaderboard-multi-filter summary,
html[data-portal-theme="light"] .ts-leaderboard-multi-options {
  border-color: #c4d0d7;
  background: #fff;
  color: #182632;
}

html[data-portal-theme="light"] .ts-leaderboard-multi-filter summary em,
html[data-portal-theme="light"] .ts-leaderboard-multi-options > p {
  color: #5c6d79;
}

html[data-portal-theme="light"] .ts-leaderboard-multi-option {
  color: #263845;
}

html[data-portal-theme="light"] .ts-leaderboard-multi-option:hover,
html[data-portal-theme="light"] .ts-leaderboard-multi-option:focus-within {
  background: #f7eddc;
  color: #101923;
}

@media (max-width: 900px) {
  .ts-leaderboard-head {
    min-height: 0;
    padding: 20px;
  }

  .ts-leaderboard-podium {
    grid-template-columns: 1fr;
  }

  .ts-leaderboard-podium-place.is-rank-1 {
    grid-column: auto;
  }

}

@media (max-width: 620px) {
  .ts-leaderboard-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .ts-leaderboard-head-meta {
    justify-items: start;
    text-align: left;
  }

  .ts-leaderboard-head-meta > div:first-child {
    justify-items: start;
  }

  .ts-leaderboard-head-actions {
    justify-content: flex-start;
  }

  .ts-leaderboard-head-tools {
    justify-content: flex-start;
    width: 100%;
  }

  .ts-leaderboard-empty-cell {
    text-align: left !important;
  }

  .ts-leaderboard-empty {
    justify-items: start;
    width: calc(100vw - 48px);
    max-width: 430px;
    margin: 0 16px;
    text-align: left;
  }

  .ts-leaderboard-podium-place,
  .ts-leaderboard-podium-place.is-rank-1 {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 12px;
    padding: 30px 14px 14px;
  }

  .ts-leaderboard-podium-score {
    justify-items: start;
  }

  .ts-leaderboard-podium-place.is-rank-1 .ts-leaderboard-podium-score strong {
    font-size: 24px;
  }
}
