body.ranking-page-body .main-content {
  display: block;
  width: 100%;
  max-width: 820px;
  box-sizing: border-box;
  padding: 16px 28px 36px !important;
}
html[data-theme="dark"] body.ranking-page-body .main-content {
  background: transparent !important;
}
.rr-page { width: 100%; min-width: 0; color: var(--ink); }
.rr-page * { box-sizing: border-box; }
.rr-title { margin: 10px 0 24px; font-size: 26px; line-height: 1.4; font-weight: 700; letter-spacing: -.8px; }
.rr-community-nav { display: flex; gap: 2px 22px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.rr-community-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 2px;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.rr-community-nav a[aria-current="page"] { border-bottom-color: var(--brand-dark); color: var(--ink); font-weight: 800; }
.rr-period-nav { display: flex; gap: 24px; margin: 20px 0 16px; }
.rr-period-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.rr-period-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.rr-page a:hover { color: var(--brand-dark); }
.rr-page a:focus-visible { outline: 2px solid var(--brand-dark); outline-offset: 3px; }
.rr-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: var(--muted); font-size: 12px; }
.rr-table { width: 100%; border-collapse: collapse; table-layout: fixed; border-top: 1px solid var(--ink); font-size: 14px; }
.rr-rank-col { width: 60px; }
.rr-points-col { width: 120px; }
.rr-table th, .rr-table td { padding: 15px 8px; border-bottom: 1px solid var(--line); line-height: 1.5; }
.rr-table thead th { padding-top: 10px; padding-bottom: 10px; color: var(--muted); font-size: 12px; font-weight: 500; text-align: left; }
.rr-table thead th:first-child { text-align: center; }
.rr-table thead th:last-child { text-align: right; }
.rr-rank { text-align: center; color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.rr-user { overflow-wrap: anywhere; }
.rr-user a { display: inline-block; max-width: 100%; padding: 2px 0; color: var(--ink); font-weight: 500; text-decoration: none; }
.rr-points { text-align: right; color: var(--ink); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rr-points span { margin-left: 3px; font-size: 12px; font-weight: 400; color: var(--muted); }
.rr-table .rr-empty { padding: 48px 8px; text-align: center; color: var(--muted); font-weight: 400; }
.rr-note { margin: 18px 0 0; font-size: 12px; line-height: 1.8; color: var(--muted); }
html[data-theme="dark"] .rr-table th { background: transparent !important; color: var(--muted) !important; }
.rr-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; }
@media (max-width: 640px) {
  body.ranking-page-body .main-content { padding: 6px 14px 28px !important; }
  .rr-title { margin: 10px 0 18px; font-size: 23px; }
  .rr-community-nav { gap: 2px 18px; }
  .rr-community-nav a { min-height: 38px; font-size: 14px; }
  .rr-period-nav { gap: 24px; margin: 12px 0 14px; }
  .rr-period-nav a { font-size: 13px; }
  .rr-rank-col { width: 40px; }
  .rr-points-col { width: 94px; }
  .rr-table th, .rr-table td { padding: 13px 4px; }
  .rr-table { font-size: 14px; }
}
