/* Local profile and wallet refinement; loaded after redesign.css. */
.rd-profile-page{--profile-ink:#211431;--profile-muted:#695286;--profile-line:#cfbfdf;color:var(--profile-ink)}
.rd-profile-page .profile-head{padding:20px!important;gap:16px!important;align-items:center;overflow:hidden;min-height:142px}
.rd-profile-page .profile-head .p-main{min-width:0;flex:1}
.rd-profile-page .p-name{font-size:24px!important;line-height:1.2;color:var(--profile-ink)!important;overflow-wrap:anywhere;margin:0 0 8px!important}
.rd-profile-page .p-user{font-size:12px!important;line-height:1.6;color:var(--profile-muted)!important;margin:0 0 12px!important}
.rd-profile-page .rank-chip{background:#e3d2f5!important;color:#7444a3!important;border:0!important;padding:4px 8px;border-radius:7px;font-size:11px;font-weight:700}
.rd-profile-page .xp-top{font-size:11px!important;color:var(--profile-muted)!important;gap:8px}
.rd-profile-page .xp-top b{color:#5d4279!important}
.rd-profile-page .xp-bar{height:7px!important;border-radius:20px;overflow:hidden;margin-top:7px}
.rd-profile-page .account-navigation{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important;margin:18px 0!important;padding:0!important;background:transparent!important;border:0!important}
.rd-profile-page .account-nav-card{position:relative;min-width:0;min-height:137px!important;padding:16px!important;text-align:left!important;gap:10px!important;transition:background .16s ease,transform .16s ease}
.rd-profile-page .account-nav-card:active{background:#e5d8f2!important;transform:scale(.985)}
.rd-profile-page .account-nav-card:focus-visible,.rd-profile-page .menu-item:focus-visible,.rd-player-wallet button:focus-visible,.rd-profile:focus-visible{outline:3px solid #9154e5;outline-offset:3px}
.rd-profile-page .rd-account-symbol{width:40px;height:40px;font-size:23px;border-radius:12px;background:#e3d4f6;color:#8253bc;flex-shrink:0}
.rd-profile-page .reference-nav-copy{display:flex;flex-direction:column;gap:4px;min-width:0;width:100%;padding:0!important}
.rd-profile-page .reference-nav-copy b{font-size:14px!important;line-height:1.25;color:var(--profile-ink)!important;overflow-wrap:anywhere}
.rd-profile-page .reference-nav-copy small{font-size:11px!important;line-height:1.4;color:var(--profile-muted)!important;overflow-wrap:anywhere}
.rd-profile-page .account-nav-card>i{font-size:20px!important;line-height:1;color:#a38abb!important}
.rd-profile-page .stats{gap:10px!important}
.rd-profile-page .stat{padding:14px 8px!important;border-radius:16px!important;border:1px solid #f3eafb!important;box-shadow:none!important}
.rd-profile-page .reference-stat-art{font-size:20px;color:#9c75c8;display:block;margin-bottom:6px}
.rd-profile-page .stat .n{font-size:22px!important;color:#40235f!important;line-height:1.2}
.rd-profile-page .stat .l{font-size:11px!important;color:var(--profile-muted)!important}
.rd-profile-page .streak-card{padding:15px!important;border-radius:18px!important;gap:10px;color:#704894}
.rd-profile-page .streak-fire{font-size:25px;color:#a56ad2}
.rd-profile-page .streak-text{font-size:13px;color:#684785}
.rd-profile-page .streak-text small{font-size:11px!important;color:var(--profile-muted)!important;line-height:1.4}
.rd-profile-page .section-title{font-size:19px!important;line-height:1.3}
.rd-profile-page .badge-item{padding:14px 8px!important;min-height:105px!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px}
.rd-profile-page .badge-item:after{display:none!important}
.rd-profile-page .badge-item .reference-badge-lock{position:absolute;right:9px;top:8px;color:#a58cbe;font-size:13px;line-height:1}
.rd-profile-page .badge-item.on .reference-badge-lock{display:none}
.rd-profile-page .bi-emo{font-size:25px;line-height:1}
.rd-profile-page .badge-item b{font-size:11px!important;line-height:1.3}
.rd-profile-page .badge-item small{font-size:10px!important;line-height:1.3}
.rd-profile-page .menu{overflow:hidden;padding:4px!important;margin-top:16px!important;box-shadow:none!important}
.rd-profile-page .menu-item{min-height:68px!important;padding:12px 10px!important;gap:12px!important;border-bottom:1px solid #e0d2ed!important;text-align:left;display:flex;align-items:center}
.rd-profile-page .menu-item:last-child{border-bottom:0!important}
.rd-profile-page .mi-text{font-size:14px!important;line-height:1.3;color:var(--profile-ink)!important;min-width:0;flex:1}
.rd-profile-page .mi-sub{font-size:11px!important;line-height:1.5;color:var(--profile-muted)!important;overflow-wrap:anywhere;margin-top:3px}
.rd-profile-page .mi-ico{width:36px!important;height:36px!important;flex-shrink:0}
.rd-profile-page .mi-arrow{color:#a487bb!important;font-size:22px!important;padding:0 4px}
.rd-profile-page [data-action="clear"] .mi-ico{background:#f0dce8;color:#a16083}
.rd-profile-page .footer-note{color:var(--profile-muted)!important;font-size:11px}
.rd-player-wallet{max-width:620px;margin:0 auto;padding-bottom:22px}
.rd-wallet-heading{margin:12px 0 18px!important;min-width:0}
.rd-wallet-heading>div{min-width:0}
.rd-wallet-heading h1{font-size:28px!important;line-height:1.2;margin:0;overflow-wrap:anywhere}
.rd-wallet-heading p{overflow-wrap:anywhere;font-size:12px!important}
.rd-wallet-note{display:flex;align-items:flex-start;gap:8px;border-radius:14px;padding:12px 14px;background:#e8ddf3;color:#654b80;font-size:12px;line-height:1.5;margin:0 0 16px}
.rd-wallet-note i{font-size:18px;flex-shrink:0;margin-top:1px}
.rd-wallet-stars{box-shadow:0 10px 30px #8060250c;padding:17px 22px!important;gap:5px!important}
.rd-wallet-stars .rd-official-star{width:42px!important;height:42px!important}
.rd-wallet-stars strong{font-size:44px!important;line-height:1.1;font-variant-numeric:tabular-nums}
.rd-wallet-stars .rd-wide{width:100%;margin-top:3px;min-height:44px}
.rd-wallet-stars progress{appearance:none;-webkit-appearance:none;display:block;width:100%;height:6px!important;border:0;border-radius:20px;overflow:hidden;background:#e4d2b4;color:#d39a35;margin:5px 0!important}
.rd-wallet-stars progress::-webkit-progress-bar{background:#e4d2b4;border-radius:20px}
.rd-wallet-stars progress::-webkit-progress-value{background:linear-gradient(90deg,#e8ad45,#f7d477);border-radius:20px}
.rd-wallet-stars progress::-moz-progress-bar{background:linear-gradient(90deg,#e8ad45,#f7d477);border-radius:20px}
.rd-wallet-stars>small,.rd-wallet-stars>span:last-of-type{color:#805e2b!important}
.rd-wallet-goal{font-size:12px;color:#805e2b;margin:0 0 4px;line-height:1.5}
.rd-wallet-goal b{display:inline-block;color:#785a36}
.rd-wallet-currencies article{min-width:0;padding:18px!important;gap:8px!important}
.rd-wallet-currencies strong{font-size:28px!important;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.rd-wallet-currencies article>span{font-size:11px;line-height:1.4;color:#654b80}
.rd-wallet-status{border:1px solid #ddd0e8;border-radius:16px;padding:14px;color:#826997;font-size:13px;line-height:1.5;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.rd-wallet-status button{min-height:44px;font-size:12px}
.rd-player-wallet>.rd-wide{min-height:48px;width:100%;display:flex;align-items:center;justify-content:center;gap:8px}
.rd-player-wallet button:disabled{cursor:default;opacity:.55}
.rd-avatar-initial{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-weight:750;letter-spacing:-.03em}
.rd-profile [data-player-photo],.rd-player-avatar [data-player-photo]{transform:none!important;width:100%!important;height:100%!important;object-fit:cover;border-radius:inherit}
@media(min-width:700px){.rd-profile-page .account-navigation{grid-template-columns:repeat(3,minmax(0,1fr))}.rd-profile-page .profile-head{padding:24px!important}.rd-profile-page .menu-item{min-height:72px!important}.rd-player-wallet{padding-top:12px}}
@media(max-width:360px){.rd-profile-page .profile-head{gap:12px!important;padding:16px!important}.rd-profile-page .profile-head .rd-player-avatar{width:58px!important;height:58px!important}.rd-profile-page .p-name{font-size:20px!important}.rd-profile-page .account-navigation{gap:9px!important}.rd-profile-page .account-nav-card{padding:13px!important}.rd-wallet-currencies{gap:9px!important}.rd-wallet-currencies article{padding:14px!important}}
@media(prefers-reduced-motion:reduce){.rd-profile-page .account-nav-card{transition:none;transform:none!important}}
