body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:191"] {
  max-width: 1220px !important;
  padding-top: 22px !important;
}

.hl-leaderboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  margin-bottom: 16px;
  padding: 22px;
  border: 1px solid var(--coz-card-border, #d7e0ec);
  border-radius: 8px;
  background: var(--coz-card-bg, var(--coz-section-bg, #fff));
}

.hl-leaderboard-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  border: 1px solid rgba(0, 188, 212, .35);
  border-radius: 999px;
  color: #00bcd4;
  font-size: 12px;
  font-weight: 950;
}

.hl-leaderboard-hero h1 {
  margin: 0 0 8px;
  color: var(--coz-text, #171b26);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
}

.hl-leaderboard-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--coz-text-muted, #63718a);
  font-size: 14px;
  line-height: 1.7;
}

.hl-leaderboard-source {
  align-self: start;
  min-width: 156px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 188, 212, .22);
  border-radius: 8px;
  color: var(--coz-text-muted, #63718a);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.hl-leaderboard-source strong {
  display: block;
  margin-top: 3px;
  color: var(--coz-text, #171b26);
  font-size: 14px;
  font-weight: 950;
}

.hl-leaderboard-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.hl-leaderboard-stat {
  min-height: 108px;
  padding: 14px;
  border: 1px solid var(--coz-card-border, #d7e0ec);
  border-radius: 8px;
  background: var(--coz-card-bg, var(--coz-section-bg, #fff));
}

.hl-leaderboard-stat span {
  display: block;
  color: var(--coz-text-muted, #63718a);
  font-size: 12px;
  font-weight: 900;
}

.hl-leaderboard-stat strong {
  display: block;
  margin-top: 7px;
  color: var(--coz-text, #171b26);
  font-size: 24px;
  font-weight: 950;
  line-height: 1.1;
}

.hl-leaderboard-stat strong.is-positive {
  color: #37d67a;
}

.hl-leaderboard-stat strong.is-negative {
  color: #ef4e6f;
}

.hl-leaderboard-stat em {
  display: block;
  margin-top: 8px;
  color: var(--coz-text-muted, #63718a);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.45;
}

body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:205"] {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin-bottom: 16px !important;
  padding: 14px !important;
  border: 1px solid var(--coz-card-border, #d7e0ec) !important;
  border-radius: 8px !important;
  background: var(--coz-card-bg, var(--coz-section-bg, #fff)) !important;
}

body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:225"] {
  width: fit-content !important;
  flex: 0 0 auto !important;
}

body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:254"] {
  margin-left: auto !important;
  padding: 8px 10px !important;
  border: 1px solid rgba(0, 188, 212, .18) !important;
  border-radius: 999px !important;
  color: var(--coz-text-muted, #63718a) !important;
  font-weight: 900 !important;
}

body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:262"] {
  border-radius: 8px !important;
  box-shadow: none !important;
}

body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:271"] {
  background: rgba(125, 134, 160, .1) !important;
}

body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:272"],
body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:273"],
body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:274"],
body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:275"],
body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:276"],
body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:277"] {
  font-weight: 950 !important;
}

.hl-wallet-role-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: fit-content;
  min-height: 20px;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  vertical-align: middle;
}

.hl-detail-inline-role {
  margin-left: 10px;
  transform: translateY(-1px);
}

.hl-mobile-role-line {
  display: none;
}

.hl-wallet-role-badge--vault {
  border: 1px solid rgba(245, 158, 11, .42);
  background: rgba(245, 158, 11, .13);
  color: #d97706;
}

body[data-theme="dark"] .hl-wallet-role-badge--vault,
.dark .hl-wallet-role-badge--vault {
  border-color: rgba(251, 191, 36, .36);
  background: rgba(251, 191, 36, .14);
  color: #fbbf24;
}

body.hl-leaderboard-polished [data-hl-wallet-role="vault"] {
  background: color-mix(in srgb, var(--coz-card-bg, #fff) 88%, rgba(245, 158, 11, .22)) !important;
}

@media (max-width: 900px) {
  .hl-leaderboard-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:205"] {
    align-items: flex-start !important;
  }
}

@media (max-width: 640px) {
  body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:191"] {
    padding-top: 14px !important;
  }

  .hl-leaderboard-hero {
    display: block;
    padding: 15px;
  }

  .hl-leaderboard-hero h1 {
    font-size: 26px;
  }

  .hl-leaderboard-hero p {
    font-size: 13px;
  }

  .hl-leaderboard-source {
    margin-top: 14px;
    text-align: left;
  }

  .hl-leaderboard-summary {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hl-leaderboard-stat {
    min-height: 96px;
    padding: 12px;
  }

  .hl-leaderboard-stat strong {
    font-size: 19px;
  }

  body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:205"] {
    margin-top: 12px !important;
  }

  body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:254"] {
    margin-left: 0 !important;
  }

  .hl-wallet-role-badge {
    min-height: 18px;
    margin-left: 6px;
    padding: 3px 7px;
    font-size: 10px;
  }

  .hl-link-role-badge {
    display: none;
  }

  .hl-mobile-role-line {
    display: flex;
    align-items: center;
    margin-top: 7px;
  }

  .hl-mobile-role-badge {
    margin-left: 0;
    min-height: 20px;
    padding: 4px 9px;
    font-size: 11px;
  }

  .hl-detail-inline-role {
    margin-left: 7px;
  }

  body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:125"],
  body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:128"],
  body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:134"],
  body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:137"] {
    display: grid !important;
    grid-template-columns: minmax(66px, .54fr) minmax(0, 1.46fr) !important;
    align-items: center !important;
    column-gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    text-align: right !important;
  }

  body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:125"]::before,
  body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:128"]::before,
  body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:134"]::before,
  body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:137"]::before {
    min-width: 0 !important;
    text-align: left !important;
    white-space: nowrap !important;
  }

  body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:128"] > span {
    justify-content: flex-end !important;
    min-width: 0 !important;
    white-space: nowrap !important;
  }

  body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:128"] svg {
    flex: 0 0 auto !important;
  }

  body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:134"] {
    font-size: 13px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }
}

@media (max-width: 390px) {
  body.hl-leaderboard-polished [data-loc="client/src/pages/HyperliquidLeaderboard.tsx:134"] {
    font-size: 12px !important;
  }
}
