/* RG Personal v0.10.5 — owner-only progress card. Scoped to the Profile v2 tab. */
.rgp-rank{--rgp-rank-accent:#8d4da7;--rgp-rank-ink:#3a2842;--rgp-rank-subtle:#89728d;max-width:100%;font-family:inherit;color:var(--rgp-rank-ink)}
.rgp-rank *,.rgp-rank *::before,.rgp-rank *::after{box-sizing:border-box}
.rgp-rank [hidden]{display:none!important}
.rgp-rank__heading{display:flex;justify-content:space-between;align-items:start;gap:15px;flex-wrap:wrap;margin-bottom:16px}
.rgp-rank__heading h2{margin:0 0 7px;font-weight:800;font-size:clamp(21px,3vw,25px);line-height:1.2}
.rgp-rank__heading p{margin:0;font-size:14px;color:var(--rgp-rank-subtle);line-height:1.5}
.rgp-rank__private{border:1px solid #e8d8ed;border-radius:999px;background:#fbf5fc;color:#895e9d;font-size:12px;line-height:1;padding:8px 11px;white-space:nowrap}
.rgp-rank__card{background:linear-gradient(110deg,#faf1fa,#f2e4f7 70%,#e9d4ed);border:1px solid #e9d5ee;border-radius:20px;padding:24px;box-shadow:0 8px 20px rgba(109,68,126,.05)}
.rgp-rank__primary{display:flex;align-items:center;gap:17px;min-width:0}
.rgp-rank__emblem{display:grid;place-items:center;flex:none;width:61px;height:61px;background:#fff7fe;color:#b18bc7;border:1px solid #dec7e6;border-radius:18px;font-size:32px;box-shadow:0 3px 10px rgba(86,48,97,.07)}
.rgp-rank__identity{display:flex;flex:1;flex-direction:column;min-width:0;gap:4px}
.rgp-rank__eyebrow{font-size:12px;font-weight:700;color:#96769c}
.rgp-rank__name{font-size:clamp(19px,2.5vw,26px);font-weight:850;line-height:1.2;color:#77428d;overflow-wrap:anywhere}
.rgp-rank__total{display:flex;flex-direction:column;text-align:right;gap:6px;flex:none}
.rgp-rank__total span{font-size:12px;color:#90748f}
.rgp-rank__total strong{font-size:21px;color:#73488a;white-space:nowrap;font-variant-numeric:tabular-nums}
.rgp-rank__progress{margin-top:24px}
.rgp-rank__progress-label{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;font-size:13px;line-height:1.5;margin-bottom:9px}
.rgp-rank__progress-label strong{font-size:14px;color:#664173}
.rgp-rank__progress-label span{color:#866889}
.rgp-rank__track{background:#e5d1e9;border-radius:999px;height:11px;overflow:hidden;width:100%}
.rgp-rank__fill{height:100%;width:0;display:block;background:linear-gradient(90deg,#9e6bb5,#b78bcc);border-radius:999px;transition:width .25s}
.rgp-rank__caption{display:block;text-align:right;margin-top:7px;font-size:12px;color:#927a97;font-variant-numeric:tabular-nums}
.rgp-rank__max{margin:18px 0 0;font-weight:650;color:#744a87;font-size:14px}
.rgp-rank__message{padding:16px 6px;font-size:14px;color:#8c7393}
.rgp-rank__about{padding:21px 0 0;color:#785b81}
.rgp-rank__about strong{font-size:14px;color:#4e3859}
.rgp-rank__about p{font-size:13px;line-height:1.6;margin:6px 0 0}
@media(max-width:600px){.rgp-rank__card{padding:18px;border-radius:16px}.rgp-rank__primary{gap:11px;flex-wrap:wrap}.rgp-rank__emblem{height:50px;width:50px;font-size:27px;border-radius:14px}.rgp-rank__total{width:100%;flex-direction:row;justify-content:space-between;align-items:baseline;padding-top:9px;border-top:1px solid #e8d5ed;text-align:left}.rgp-rank__total strong{font-size:19px}.rgp-rank__progress{margin-top:16px}}
@media(prefers-reduced-motion:reduce){.rgp-rank__fill{transition:none}}
