.income-leaderboard{margin:20px 0 28px;min-width:0;padding:24px;border:1px solid rgb(var(--ui-border));border-radius:16px;background:rgb(var(--ui-surface));box-shadow:0 2px 9px rgb(31 48 80 / .025);color:rgb(var(--ui-text));scroll-margin-top:85px}
.rank-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.rank-content{margin-top:22px}
.rank-my-position{align-items:center;text-align:center}
.rank-heading-main{display:flex;align-items:center;gap:12px;min-width:0}
.rank-heading-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:13px;background:#fbf3e3;color:#b28a42;flex-shrink:0}
.rank-title-line{display:flex;align-items:center;gap:10px}.rank-title-line h2{margin:0;font-size:20px;line-height:1.4;font-weight:650;letter-spacing:-.025em}.rank-period{font-size:10px;letter-spacing:.03em;padding:2px 6px;border-radius:5px;color:rgb(var(--ui-text-subtle));background:rgb(var(--ui-surface-subtle))}
.rank-heading-main p{font-size:12px;color:rgb(var(--ui-text-muted));margin:4px 0 0}
.rank-heading-tools{display:flex;align-items:center;gap:10px;flex-shrink:0}.rank-preview{font-size:10px;border:1px solid rgb(var(--ui-border));border-radius:5px;padding:3px 6px;color:rgb(var(--ui-text-subtle))}
.rank-refresh{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:7px;color:rgb(var(--ui-text-muted));background:transparent;cursor:pointer}.rank-refresh:hover{background:rgb(var(--ui-surface-subtle))}.rank-refresh:disabled{opacity:.4;cursor:default}
.rank-description{color:rgb(var(--ui-text-muted));font-size:12px;line-height:1.7;margin:16px 0 12px}
.rank-summary{display:flex;align-items:center;gap:20px;padding-bottom:20px;font-size:12px;color:rgb(var(--ui-text-muted));flex-wrap:wrap}.rank-summary strong{font-weight:600;color:rgb(var(--ui-text))}.rank-updated{margin-left:auto;color:rgb(var(--ui-text-subtle));font-size:11px}
.rank-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px;align-items:end}
.rank-podium-card{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;padding:22px 14px 18px;min-width:0;border:1px solid rgb(var(--ui-border));border-radius:12px;background:rgb(var(--ui-surface-subtle) / .45)}
.rank-podium-1{order:2;border-color:#e8d8b9;background:linear-gradient(150deg,#fffaf0,#fffefb);padding-top:27px;padding-bottom:23px}
.rank-podium-2{order:1}.rank-podium-3{order:3}
.rank-medal{position:absolute;left:14px;top:12px;font-size:12px;letter-spacing:.03em;font-weight:600;color:#9d956a}.rank-podium-2 .rank-medal{color:#8b99ad}.rank-podium-3 .rank-medal{color:#b08a70}
.rank-avatar{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex-shrink:0;border-radius:11px;background:#eaf0fb;color:#5476ab;font-size:14px;font-weight:600}
.rank-avatar{overflow:hidden;background:rgb(var(--ui-brand));color:rgb(var(--ui-on-brand,247 248 250));border-radius:50%}.rank-avatar>img{display:block;width:100%;height:100%;object-fit:cover}
.rank-avatar-anonymous{background:rgb(var(--ui-surface-hover))!important;color:rgb(var(--ui-text-subtle))!important}.rank-podium-avatar{width:47px;height:47px;border-radius:15px;margin-bottom:11px;font-size:21px;box-shadow:0 2px 5px rgb(0 0 0 / .025)}
.rank-podium-profile{min-width:0;width:100%}.rank-podium-name{font-weight:600;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:8px}
.rank-sources{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.rank-podium .rank-sources{justify-content:center;min-height:20px}
.rank-source{display:inline-flex;align-items:center;gap:4px;font-size:10px;line-height:1.5;color:#7d8b9f;white-space:nowrap}.rank-source i{width:4px;height:4px;border-radius:50%;background:currentColor}.rank-source-account{color:#6f8b80}.rank-source-relay{color:#7a8fb4}
.rank-podium-income{display:flex;flex-direction:column;margin-top:16px;gap:3px}.rank-podium-income>span{font-size:10px;color:rgb(var(--ui-text-subtle))}.rank-podium-income strong{font-size:22px;line-height:1.2;letter-spacing:-.035em;font-weight:650;font-variant-numeric:tabular-nums}.rank-podium-1 .rank-podium-income strong{color:#9e7838;font-size:25px}
.rank-my-strip{display:flex;align-items:center;gap:22px;padding:16px 18px;background:rgb(var(--ui-brand-soft) / .55);border:1px solid rgb(var(--ui-brand) / .13);border-radius:10px}
.rank-my-position,.rank-my-income{display:flex;flex-direction:column;gap:3px}.rank-my-position{min-width:72px}.rank-my-income{min-width:110px}.rank-my-kicker,.rank-my-income>span{font-size:10px;color:rgb(var(--ui-text-muted))}.rank-my-position strong{font-size:22px;font-weight:650;letter-spacing:-.03em;color:rgb(var(--ui-brand));font-variant-numeric:tabular-nums}.rank-my-income strong{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}
.rank-list-actions{display:flex;align-items:center;gap:12px}.rank-locate{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:30px;border:1px solid rgb(var(--ui-brand) / .18);border-radius:7px;background:rgb(var(--ui-brand-soft) / .45);color:rgb(var(--ui-brand));font-size:11px;padding:5px 10px;white-space:nowrap;cursor:pointer}.rank-locate:hover:not(:disabled){background:rgb(var(--ui-brand-soft));border-color:rgb(var(--ui-brand) / .35)}.rank-locate:disabled{opacity:.4;cursor:default}
.rank-anonymous-control{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-left:auto;padding-left:22px;border-left:1px solid rgb(var(--ui-brand) / .12)}.rank-anonymous-control>div{display:flex;flex-direction:column;gap:4px}.rank-anonymous-control strong{font-size:12px;font-weight:500}.rank-anonymous-control>div>span{font-size:10px;color:rgb(var(--ui-text-subtle))}
.rank-switch{display:inline-flex;align-items:center;width:36px;height:21px;border-radius:20px;border:0;padding:3px;background:rgb(var(--ui-border-strong));transition:background .15s;cursor:pointer;flex-shrink:0}.rank-switch>span{display:block;width:15px;height:15px;border-radius:50%;background:white;box-shadow:0 1px 3px rgb(0 0 0 / .12);transition:transform .15s}.rank-switch.is-on{background:rgb(var(--ui-brand))}.rank-switch.is-on>span{transform:translateX(15px)}.rank-switch:disabled{opacity:.45;cursor:wait}
.rank-status{font-size:11px;color:rgb(var(--ui-text-muted));margin:10px 1px 0}.rank-full-list{margin-top:24px}.rank-list-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.rank-list-heading>div{display:flex;align-items:center;gap:9px}.rank-list-heading h3{font-size:13px;font-weight:600;margin:0}.rank-list-heading span{color:rgb(var(--ui-text-subtle));font-size:11px}
.rank-table-scroll{overflow:auto;scrollbar-width:thin}.income-rank-table{width:100%;border-collapse:collapse;min-width:610px;text-align:left;table-layout:auto}.income-rank-table th{background:rgb(var(--ui-surface-subtle));font-size:10px;color:rgb(var(--ui-text-subtle));font-weight:500;padding:11px 12px;border-top:1px solid rgb(var(--ui-border) / .65);border-bottom:1px solid rgb(var(--ui-border) / .65);white-space:nowrap}.income-rank-table th:last-child{text-align:right}.income-rank-table td{padding:13px 12px;border-bottom:1px solid rgb(var(--ui-border) / .55);vertical-align:middle}.income-rank-table tr:last-child td{border-bottom:0}.income-rank-table tbody tr:hover{background:rgb(var(--ui-surface-subtle) / .5)}.income-rank-table .rank-is-me{background:rgb(var(--ui-brand-soft) / .45)}
.rank-position{width:55px}.rank-number{font-size:13px;color:rgb(var(--ui-text-subtle));font-variant-numeric:tabular-nums}.rank-number-1{color:#a67f39;font-weight:600}.rank-number-2{color:#8496ab;font-weight:600}.rank-number-3{color:#aa856b;font-weight:600}
.rank-person{display:flex;align-items:center;gap:10px;min-width:0}.rank-person-info{min-width:0}.rank-person-name{display:flex;align-items:center;gap:6px;margin-bottom:4px;flex-wrap:wrap}.rank-person-name>strong{font-size:12px;font-weight:500;color:rgb(var(--ui-text));word-break:break-word}.rank-me-label{font-size:9px;background:rgb(var(--ui-brand-soft));color:rgb(var(--ui-brand));padding:0 4px;border-radius:4px}.rank-anon-label{font-size:9px;color:rgb(var(--ui-text-subtle));border:1px solid rgb(var(--ui-border));border-radius:4px;padding:0 4px}
.rank-breakdown{font-size:10px;color:rgb(var(--ui-text-subtle))}.rank-breakdown>span{display:block;line-height:1.8;white-space:nowrap}.rank-breakdown b{font-size:10px;color:rgb(var(--ui-text-muted));font-weight:400;font-variant-numeric:tabular-nums}
.rank-total{text-align:right;min-width:125px}.rank-total>strong{display:block;font-size:14px;letter-spacing:-.02em;font-weight:600;font-variant-numeric:tabular-nums}.rank-income-bar{display:block;margin:6px 0 0 auto;height:3px;width:88px;border-radius:8px;background:rgb(var(--ui-surface-hover));overflow:hidden}.rank-income-bar i{display:block;height:100%;border-radius:inherit;background:rgb(var(--ui-brand) / .3)}
.rank-pagination{display:flex;justify-content:space-between;align-items:center;margin-top:16px;gap:12px;font-size:11px;color:rgb(var(--ui-text-subtle));flex-wrap:wrap}.rank-pagination>div{display:flex;align-items:center;gap:12px}.rank-pagination .btn{font-size:11px;padding:5px 10px;min-height:30px}
.rank-footnote{display:flex;align-items:flex-start;gap:7px;font-size:10px;color:rgb(var(--ui-text-subtle));line-height:1.7;padding-top:16px;margin-top:17px;border-top:1px solid rgb(var(--ui-border) / .6)}.rank-footnote svg{flex-shrink:0;margin-top:1px}.rank-loading{padding:60px 20px;text-align:center;font-size:12px;color:rgb(var(--ui-text-subtle))}.rank-error{display:flex;align-items:center;justify-content:center;gap:12px;min-height:100px;color:rgb(var(--ui-danger));font-size:12px}
.income-leaderboard button:focus-visible{outline:2px solid rgb(var(--ui-focus));outline-offset:3px}
.income-rank-table .rank-located{outline:none;scroll-margin-top:90px;background:rgb(var(--ui-brand-soft))}
.income-rank-table .rank-located>td:first-child{box-shadow:inset 3px 0 rgb(var(--ui-brand))}
.income-rank-table .rank-located .rank-number{font-weight:700;color:rgb(var(--ui-brand))}
.dark .rank-heading-icon{background:#393023;color:#d1b079}.dark .rank-podium-1{background:linear-gradient(150deg,#302b21,rgb(var(--ui-surface)));border-color:#5c4a2e}.dark .rank-podium-1 .rank-podium-income strong{color:#d6b879}.dark .rank-avatar{filter:saturate(.6);background:rgb(var(--ui-surface-hover));color:rgb(var(--ui-text-muted))}.dark .rank-source-account{color:#8eafa1}.dark .rank-source-relay{color:#9aadd0}
@media(max-width:1000px){.rank-my-strip{flex-wrap:wrap;gap:12px 20px}.rank-anonymous-control{border-left:0;padding-left:0;flex-basis:100%;border-top:1px solid rgb(var(--ui-brand) / .12);padding-top:12px}}
@media(max-width:640px){.income-leaderboard{padding:18px 14px;border-radius:13px;margin-top:16px}.rank-heading-main{gap:9px}.rank-heading-icon{width:37px;height:37px;border-radius:11px}.rank-title-line h2{font-size:18px}.rank-heading-main p{font-size:10px}.rank-heading-tools{gap:4px}.rank-preview{font-size:9px}.rank-period{display:none}.rank-description{font-size:11px;margin-top:14px}.rank-summary{font-size:10px;gap:8px 16px;padding-bottom:16px}.rank-updated{display:none}.rank-podium{gap:7px}.rank-podium-card{padding:20px 5px 13px;border-radius:9px}.rank-podium-1{padding-top:24px;padding-bottom:17px}.rank-medal{left:7px;top:8px;font-size:10px}.rank-medal svg{width:14px;height:14px}.rank-podium-avatar{width:36px;height:36px;border-radius:12px;font-size:16px;margin-bottom:9px}.rank-podium-name{font-size:11px;margin-bottom:5px}.rank-podium .rank-sources{gap:2px;min-height:29px;align-content:flex-start}.rank-podium .rank-source{font-size:8px;gap:2px}.rank-podium-income{margin-top:8px}.rank-podium-income>span{font-size:8px}.rank-podium-income strong{font-size:16px}.rank-podium-1 .rank-podium-income strong{font-size:18px}.rank-my-strip{padding:13px 12px}.rank-my-income{min-width:90px}.rank-my-position strong{font-size:20px}.rank-my-income strong{font-size:15px}.rank-locate{font-size:10px}.rank-list-heading>span{display:none}.rank-list-heading span{font-size:10px}.income-rank-table{min-width:0;table-layout:fixed}.income-rank-table th,.income-rank-table td{padding:11px 5px}.income-rank-table th:first-child{width:34px}.income-rank-table th:nth-child(3),.rank-breakdown{display:none}.income-rank-table th:last-child{width:105px}.rank-position{width:34px}.rank-number{font-size:11px}.rank-person{gap:7px}.rank-person .rank-avatar{width:29px;height:29px;border-radius:9px;font-size:12px}.rank-person-name{gap:4px}.rank-person-name>strong{font-size:11px}.rank-source{font-size:8px}.rank-total{min-width:0}.rank-total>strong{font-size:12px}.rank-income-bar{width:60px}.rank-pagination{font-size:10px}.rank-footnote{font-size:9px}}
