:root {
  color-scheme: dark;
  --bg: #0c0f17;
  --panel: #141822;
  --panel-2: #191e2a;
  --line: #252a39;
  --text: #f1f2f8;
  --muted: #858ca0;
  --purple: #b29bff;
  --gift: #b29bff;
  --bits: #68d9bf;
  --donation: #efa48d;
  --sidebar: 232px;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
select,
input:focus-visible {
  outline-color: var(--purple);
  outline-offset: 4px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
select {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
[hidden] {
  display: none !important;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  padding: 34px 16px 16px;
  background: #10131d;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 18px 56px;
  font-size: 32px;
  font-weight: 750;
  letter-spacing: -1.5px;
}
.brand-mark {
  width: 41px;
  height: 41px;
  color: var(--purple);
}
.brand-dot {
  color: var(--purple);
}
.brand small {
  display: block;
  margin-top: 1px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.8px;
  color: var(--muted);
}
.nav-caption {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #626b82;
  margin: 0 15px 13px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 13px;
  border: 1px solid transparent;
  border-radius: 7px;
  margin-bottom: 7px;
  font-size: 12px;
  color: #969db1;
}
.nav-link:hover {
  color: var(--text);
  background: #1a1c2b;
}
.nav-link.current {
  background: #262137;
  border-color: #393049;
  color: #d0bdff;
}
.nav-icon {
  font-size: 18px;
  line-height: 1;
}
.nav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple);
  margin-left: auto;
}
.sidebar-note {
  margin: auto 12px 30px;
  padding: 20px 4px 3px;
  color: #9a91b8;
}
.sidebar-note .small-orbit {
  display: block;
  font-size: 37px;
  margin-bottom: 12px;
  color: #8e79c3;
}
.sidebar-note strong {
  font-size: 13px;
  line-height: 1.9;
  font-weight: 500;
  color: #c4c0d1;
}
.sidebar-note p {
  font-size: 10px;
  line-height: 1.7;
  color: #77768d;
}
.sidebar-bottom {
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-top: 1px solid var(--line);
  padding: 18px 8px 0;
  color: #858ca0;
}
.version {
  margin-left: auto;
  color: #585e72;
}
.connection-dot,
.accent-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #697085;
}
.connection-dot.connected {
  background: var(--bits);
  box-shadow: 0 0 9px #68d9bf30;
}
.connection-dot.failed {
  background: #ec8a8a;
}
.workspace {
  margin-left: var(--sidebar);
}
.topbar {
  height: 72px;
  border-bottom: 1px solid var(--line);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #bec3d0;
  font-size: 11px;
}
.breadcrumb {
  color: #727a90;
  font-size: 9px;
  letter-spacing: 1.5px;
}
.breadcrumb-divider {
  margin: 0 14px;
  color: #41485e;
}
.topbar-label {
  font-size: 10px;
  color: #7e859a;
  display: flex;
  align-items: center;
  gap: 9px;
}
.tiny-cat {
  color: #b29bff;
  font-size: 17px;
}
main {
  max-width: 1700px;
  margin: 0 auto;
  padding: 35px 40px 20px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.8px;
  color: #9f8dca;
  margin-bottom: 10px;
}
h1 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 0;
  font-weight: 650;
}
.page-heading p {
  color: var(--muted);
  font-size: 12px;
  margin: 10px 0 0;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.button {
  border-radius: 6px;
  border: 1px solid var(--line);
  height: 36px;
  padding: 0 14px;
  font-weight: 500;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
}
.button.secondary {
  background: #171c28;
  color: #d1d5e0;
}
.button.secondary:hover {
  background: #212637;
}
.button.primary {
  background: #aa92ef;
  border-color: #aa92ef;
  color: #171124;
  padding: 0 20px;
}
.button.primary:hover {
  background: #c0aaff;
}
.refresh-icon {
  font-size: 19px;
  line-height: 1;
}
.live-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #929aaf;
  cursor: pointer;
}
.live-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.switch-track {
  width: 26px;
  height: 15px;
  border-radius: 20px;
  background: #353b4e;
  position: relative;
  border: 1px solid #474b60;
}
.switch-track:after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  width: 9px;
  height: 9px;
  background: #aab0c0;
  transition: transform 0.2s;
}
.live-switch input:checked + .switch-track {
  background: #584779;
  border-color: #756095;
}
.live-switch input:checked + .switch-track:after {
  transform: translateX(11px);
  background: #dfd0ff;
}
.live-switch input:focus-visible + .switch-track {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}
.filter-panel {
  display: grid;
  grid-template-columns:
    minmax(140px, 1.2fr) minmax(150px, 1fr) minmax(150px, 1fr)
    auto;
  gap: 20px;
  align-items: end;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.field > span {
  font-size: 8px;
  font-weight: 650;
  color: #949db1;
  letter-spacing: 1px;
}
input,
select {
  border: 1px solid #2c3242;
  border-radius: 5px;
  background: #10151f;
  color: #d9deea;
  height: 36px;
  padding: 0 10px;
  font-size: 11px;
  min-width: 0;
}
input::placeholder {
  color: #596379;
}
select {
  padding-right: 26px;
}
.custom-range {
  grid-column: 1/-1;
  display: flex;
  gap: 18px;
  align-items: end;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.custom-range .field {
  flex: 1;
}
.range-help {
  font-size: 10px;
  color: var(--muted);
  max-width: 190px;
  padding-bottom: 8px;
  line-height: 1.6;
}
.context-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 15px 1px 23px;
  font-size: 9px;
  color: #707a90;
  gap: 12px;
}
.sync-state {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sync-state:before {
  content: "";
  width: 4px;
  height: 4px;
  background: #6e788c;
  border-radius: 50%;
}
.sync-state.success:before {
  background: var(--bits);
}
.sync-state.error:before {
  background: #ef9292;
}
.sync-state.loading:before {
  animation: pulse 1s infinite;
  background: var(--purple);
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.gift-theme {
  --accent: var(--gift);
  --tint: #b29bff12;
}
.bits-theme {
  --accent: var(--bits);
  --tint: #68d9bf12;
}
.donation-theme {
  --accent: var(--donation);
  --tint: #efa48d12;
}
.summary-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(105deg, var(--panel), #161926);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 20px 21px;
  min-height: 155px;
}
.summary-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: #b7bed0;
}
.category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  flex-shrink: 0;
  background: var(--tint);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent);
  border-radius: 7px;
  font-size: 22px;
}
.summary-card .category-icon {
  width: 28px;
  height: 28px;
  font-size: 20px;
}
.card-arrow {
  margin-left: auto;
  color: #596175;
  font-size: 15px;
}
.metric {
  position: relative;
  margin: 15px 0 11px;
  font-size: 32px;
  font-weight: 650;
  letter-spacing: -1px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  z-index: 1;
  overflow-wrap: anywhere;
}
.metric-detail {
  font-size: 9px;
  color: #929aad;
  display: flex;
  gap: 6px;
  align-items: center;
}
.metric-detail .accent-dot {
  height: 4px;
  width: 4px;
  background: var(--accent);
}
.card-decoration {
  position: absolute;
  right: 21px;
  bottom: -28px;
  line-height: 1;
  font-size: 130px;
  color: var(--accent);
  opacity: 0.045;
  transform: rotate(-13deg);
  pointer-events: none;
}
.card-decoration.diamond {
  bottom: -40px;
  font-size: 160px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 33px 0 18px;
  gap: 16px;
}
h2 {
  font-size: 16px;
  letter-spacing: -0.3px;
  font-weight: 600;
  margin: 0;
}
.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 12px;
}
.subtle-badge {
  font-size: 7px;
  letter-spacing: 0.8px;
  font-weight: 600;
  color: #8c839f;
  background: #1d1b2b;
  border: 1px solid #302b41;
  padding: 4px 6px;
  border-radius: 4px;
}
.section-heading p {
  font-size: 10px;
  color: var(--muted);
  margin: 7px 0 0;
}
.top-limit {
  font-size: 9px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 9px;
}
.top-limit select {
  height: 30px;
  font-size: 10px;
  background: #151a25;
}
.leaderboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.leaderboard {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.leaderboard-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 19px 17px;
  border-bottom: 1px solid var(--line);
  min-height: 80px;
}
.leaderboard h3 {
  font-size: 13px;
  margin: 0;
  font-weight: 600;
}
.leaderboard-heading p {
  font-size: 8px;
  color: var(--muted);
  margin: 5px 0 0;
}
.unit-badge {
  font-size: 7px;
  letter-spacing: 1px;
  color: var(--accent);
  background: var(--tint);
  padding: 5px 6px;
  border-radius: 4px;
  margin-left: auto;
}
.currency-select {
  margin-left: auto;
  width: 60px;
  height: 27px;
  font-size: 9px;
  padding: 0 5px;
  color: var(--donation);
  background: #efa48d09;
  border-color: #efa48d29;
}
.table-scroll {
  min-height: 375px;
  max-height: 650px;
  overflow: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: #36364d transparent;
}
table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}
thead {
  position: sticky;
  top: 0;
  background: #141822;
  z-index: 2;
}
th {
  font-size: 8px;
  font-weight: 500;
  color: #7c869e;
  text-align: left;
  padding: 12px 6px;
  border-bottom: 1px solid #222838;
}
td {
  position: relative;
  height: 54px;
  padding: 10px 6px;
  border-bottom: 1px solid #252a394f;
  vertical-align: middle;
}
tbody tr:hover {
  background: #ffffff03;
}
.rank-column {
  width: 36px;
  text-align: center;
  padding-left: 7px !important;
}
.amount-column {
  width: 79px;
  text-align: right;
  padding-right: 16px !important;
}
.rank {
  font-variant-numeric: tabular-nums;
  color: #727c91;
  font-size: 10px;
}
.rank.podium {
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 21px;
  background: #c7a35d14;
  color: #e2bd73;
}
.rank.podium.second {
  color: #b9c5d4;
  background: #b9c5d412;
}
.rank.podium.third {
  color: #be9986;
  background: #be998612;
}
.supporter {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}
.avatar {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 10%, #191e29);
  border: 1px solid color-mix(in srgb, var(--accent) 15%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}
.supporter-info {
  min-width: 0;
  z-index: 1;
}
.supporter-name {
  font-size: 10px;
  font-weight: 500;
  color: #d7dbea;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.supporter-meta {
  font-size: 7px;
  color: #717b92;
  margin-top: 4px;
}
.row-amount {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.contribution-track {
  position: absolute;
  left: 42px;
  right: 9px;
  bottom: 7px;
  height: 2px;
  background: #272c3c;
  opacity: 0.7;
}
.contribution-bar {
  height: 100%;
  background: var(--accent);
  opacity: 0.65;
  max-width: 100%;
  border-radius: 2px;
}
.leaderboard-footer {
  min-height: 40px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 8px;
  line-height: 1.5;
  color: #778198;
}
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 310px;
  padding: 30px 20px;
  color: #788398;
}
.empty-state > span {
  font-size: 40px;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 10px;
}
.empty-state strong {
  font-size: 12px;
  font-weight: 500;
  color: #adb5c8;
}
.empty-state p {
  font-size: 10px;
  line-height: 1.7;
  max-width: 185px;
}
.collector-panel {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  border: 1px solid var(--line);
  background: #111620;
  border-radius: 8px;
  padding: 18px 20px;
}
.collector-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.collector-symbol {
  color: #818ca6;
  font-size: 24px;
}
.collector-panel h2 {
  font-size: 12px;
}
.collector-panel p {
  font-size: 8px;
  color: #778198;
  margin: 5px 0 0;
}
.collector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  flex: 1;
}
.collector-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #191f2c;
  border: 1px solid #2b3346;
  border-radius: 6px;
  padding: 9px 10px;
  font-size: 9px;
}
.collector-chip strong {
  font-weight: 500;
  display: block;
  color: #cbd1e0;
}
.collector-chip small {
  display: block;
  color: #737e96;
  font-size: 7px;
  margin-top: 3px;
}
.collector-chip .status-dot {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #787e90;
}
.collector-chip.active .status-dot {
  background: var(--bits);
  box-shadow: 0 0 8px #68d9bf30;
}
.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 1px 0;
  font-size: 8px;
  color: #606b82;
}
.footer-star {
  color: #8f7bb4;
  font-size: 12px;
  margin-right: 6px;
}
.notice {
  border: 1px solid #bda36a40;
  background: #bda36a0b;
  padding: 13px 16px;
  font-size: 11px;
  line-height: 1.7;
  margin-bottom: 18px;
  border-radius: 7px;
  color: #c5b797;
}
.notice strong {
  font-weight: 600;
}
.notice p {
  margin: 4px 0 0;
  color: #b8a7a7;
}
.error-notice {
  color: #edb2ad;
  border-color: #e691893a;
  background: #e691890a;
}
.muted {
  color: var(--muted);
  font-size: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.loading .metric {
  opacity: 0.35;
}
.loading .refresh-icon {
  animation: spin 1.1s linear infinite;
}
.loading .leaderboard-grid {
  opacity: 0.65;
}
.page-heading,
.filter-panel,
.summary-grid,
.leaderboard-grid {
  animation: arrive 0.5s ease both;
}
.summary-grid {
  animation-delay: 0.04s;
}
.leaderboard-grid {
  animation-delay: 0.08s;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  50% {
    opacity: 0.25;
  }
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1600px) {
  :root {
    --sidebar: 250px;
  }
  main {
    padding: 44px 52px 26px;
  }
  .topbar {
    padding: 0 52px;
  }
  .leaderboard-heading {
    padding: 22px;
  }
  .leaderboard h3 {
    font-size: 15px;
  }
  .leaderboard-heading p {
    font-size: 10px;
  }
  .supporter-name {
    font-size: 12px;
  }
  .supporter-meta {
    font-size: 9px;
  }
  .rank-column {
    width: 43px;
  }
  .amount-column {
    width: 100px;
  }
  .row-amount {
    font-size: 12px;
  }
  .leaderboard-footer {
    font-size: 9px;
  }
  .table-scroll {
    min-height: 420px;
  }
  td {
    height: 59px;
  }
}
@media (max-width: 1150px) {
  :root {
    --sidebar: 195px;
  }
  .sidebar {
    padding-left: 10px;
    padding-right: 10px;
  }
  .brand {
    margin-left: 14px;
    margin-right: 10px;
    font-size: 29px;
    gap: 8px;
  }
  .brand small {
    font-size: 7px;
  }
  .nav-link {
    font-size: 10px;
    padding: 13px 10px;
  }
  .topbar {
    padding: 0 26px;
  }
  main {
    padding: 28px 26px 18px;
  }
  .heading-actions {
    gap: 12px;
  }
  .filter-panel {
    gap: 12px;
    padding: 16px;
  }
  .summary-grid,
  .leaderboard-grid {
    gap: 12px;
  }
  .summary-card {
    padding: 16px;
  }
  .metric {
    font-size: 28px;
  }
  .leaderboard-heading {
    padding: 16px 12px;
    gap: 8px;
  }
  .leaderboard-heading p {
    font-size: 7px;
  }
  .leaderboard .category-icon {
    width: 27px;
    height: 27px;
  }
  .leaderboard h3 {
    font-size: 11px;
  }
  .amount-column {
    width: 68px;
    padding-right: 10px !important;
  }
  .rank-column {
    width: 29px;
  }
  .supporter {
    gap: 5px;
  }
  .avatar {
    width: 22px;
    height: 22px;
    font-size: 7px;
  }
  .supporter-name {
    font-size: 9px;
  }
  .collector-panel {
    flex-wrap: wrap;
  }
  .collector-list {
    justify-content: flex-start;
  }
  .heading-actions .live-switch {
    display: none;
  }
}
@media (max-width: 900px) {
  .sidebar {
    width: 70px;
    padding: 24px 8px 15px;
  }
  .brand {
    margin: 0 auto 34px;
  }
  .brand > span,
  .nav-caption,
  .nav-link:not(.current),
  .nav-link.current > .nav-dot,
  .sidebar-note,
  .sidebar-bottom {
    display: none;
  }
  .brand-mark {
    width: 36px;
  }
  .nav-link.current {
    font-size: 0;
    padding: 14px;
    justify-content: center;
  }
  .nav-icon {
    font-size: 20px;
  }
  .workspace {
    margin-left: 70px;
  }
  .leaderboard-grid {
    grid-template-columns: 1fr 1fr;
  }
  .leaderboard:last-child {
    grid-column: 1/-1;
  }
  .leaderboard:last-child .table-scroll {
    min-height: 200px;
  }
  .filter-panel {
    grid-template-columns: 1fr 1fr;
  }
  .filter-panel .button {
    width: 100%;
  }
  .metric {
    font-size: 27px;
  }
  .summary-label {
    font-size: 10px;
    gap: 6px;
  }
  .card-arrow {
    display: none;
  }
  .metric-detail {
    font-size: 8px;
  }
  .topbar-label {
    display: none;
  }
  .page-footer {
    font-size: 7px;
  }
  h1 {
    font-size: 27px;
  }
}
@media (max-width: 600px) {
  .sidebar {
    display: none;
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    height: 49px;
    padding: 0 19px;
  }
  main {
    padding: 24px 18px 18px;
  }
  .page-heading {
    align-items: flex-start;
    margin-bottom: 22px;
    gap: 12px;
  }
  h1 {
    font-size: 25px;
    letter-spacing: -0.8px;
  }
  .page-heading p {
    font-size: 10px;
    line-height: 1.6;
    max-width: 200px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .heading-actions .button {
    font-size: 0;
    width: 34px;
    height: 34px;
    padding: 0;
  }
  .heading-actions .refresh-icon {
    font-size: 22px;
  }
  .filter-panel {
    gap: 14px;
    padding: 15px;
  }
  .channel-field {
    grid-column: 1/-1;
  }
  .filter-panel .button {
    grid-column: 1/-1;
  }
  .custom-range {
    flex-direction: column;
    align-items: stretch;
  }
  .range-help {
    max-width: none;
  }
  .summary-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .summary-card {
    min-height: 112px;
    padding: 15px 18px;
  }
  .summary-card .metric {
    font-size: 29px;
    margin: 8px 0 5px;
  }
  .summary-label {
    font-size: 11px;
  }
  .summary-card .category-icon {
    width: 24px;
    height: 24px;
  }
  .metric-detail {
    font-size: 9px;
  }
  .card-decoration {
    right: 26px;
    bottom: -22px;
    font-size: 110px;
  }
  .summary-card .metric-detail {
    position: absolute;
    right: 18px;
    bottom: 21px;
    max-width: 45%;
    font-size: 8px;
  }
  .summary-card .card-arrow {
    display: block;
  }
  .context-line {
    align-items: flex-start;
    font-size: 8px;
    margin-bottom: 18px;
  }
  .context-line > span:first-child {
    max-width: 60%;
    line-height: 1.6;
  }
  .leaderboard-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .leaderboard:last-child {
    grid-column: auto;
  }
  .leaderboard-heading {
    padding: 18px;
    min-height: 75px;
  }
  .leaderboard-heading p {
    font-size: 9px;
  }
  .leaderboard h3 {
    font-size: 14px;
  }
  .leaderboard .category-icon {
    width: 31px;
    height: 31px;
  }
  .table-scroll,
  .leaderboard:last-child .table-scroll {
    min-height: 200px;
    max-height: 480px;
  }
  .supporter-name {
    font-size: 12px;
  }
  .supporter-meta {
    font-size: 9px;
  }
  .avatar {
    width: 28px;
    height: 28px;
    font-size: 9px;
  }
  .supporter {
    gap: 10px;
  }
  .rank-column {
    width: 42px;
  }
  .amount-column {
    width: 100px;
    padding-right: 20px !important;
  }
  .row-amount {
    font-size: 12px;
  }
  td {
    height: 59px;
  }
  .leaderboard-footer {
    font-size: 9px;
  }
  .section-heading {
    align-items: flex-start;
    gap: 10px;
    margin-top: 25px;
  }
  .section-heading h2 {
    font-size: 15px;
    display: block;
  }
  .subtle-badge {
    display: none;
  }
  .section-heading p {
    font-size: 9px;
    line-height: 1.6;
    max-width: 210px;
  }
  .top-limit {
    font-size: 0;
    gap: 0;
  }
  .top-limit select {
    font-size: 10px;
  }
  .collector-panel {
    padding: 17px;
    gap: 17px;
  }
  .collector-title p {
    font-size: 8px;
    line-height: 1.5;
  }
  .collector-list {
    gap: 8px;
  }
  .collector-chip {
    padding: 9px;
    font-size: 9px;
  }
  .page-footer {
    flex-direction: column;
    gap: 9px;
    line-height: 1.5;
  }
  .notice {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (min-width: 1151px) {
  .supporter-name {
    font-size: 12px;
  }
  .supporter-meta {
    font-size: 9px;
  }
  .row-amount {
    font-size: 12px;
  }
  .amount-column {
    width: 95px;
  }
  .leaderboard h3 {
    font-size: 14px;
  }
  .leaderboard-heading p {
    font-size: 10px;
  }
  .metric-detail {
    font-size: 10px;
  }
  .summary-label {
    font-size: 12px;
  }
  .field > span {
    font-size: 9px;
  }
  th {
    font-size: 10px;
  }
}
