/* Scoped profile styling, loaded after the shared presentation layers. */
body #view.pp-profile-page{padding-top:12px;color:#f5f3ff}
#view.pp-profile-page .pp-profile-title{font-size:27px;line-height:1.2;letter-spacing:-.7px;margin:0 0 18px;font-weight:750}
#view.pp-profile-page .profile-head{display:grid!important;grid-template-columns:76px minmax(0,1fr);gap:12px 16px!important;text-align:left!important;padding:24px 20px 20px!important;min-height:0!important;border-radius:28px!important;border:1px solid #8262cb!important;background:radial-gradient(ellipse at 0 0,#9764ef88,transparent 65%),linear-gradient(125deg,#59319c,#332257)!important;position:relative;box-shadow:inset 0 1px 0 #ffffff20!important}
#view.pp-profile-page .profile-head::before,#view.pp-profile-page .profile-head::after{content:none!important}
body #app #view.pp-profile-page .rd-player-avatar{width:76px!important;height:76px!important;margin:0!important;grid-column:1;grid-row:1 / 3;border:3px solid #e4d7ff!important;box-shadow:0 0 0 5px #ffffff0b!important;border-radius:50%;overflow:hidden;align-self:center}
#view.pp-profile-page .p-main{display:contents!important}
#view.pp-profile-page .p-name{margin:6px 0 0!important;font-size:25px!important;line-height:1.15!important;min-width:0;overflow-wrap:anywhere;color:#fff!important}
#view.pp-profile-page .p-user{margin:0!important;font-size:12px!important;line-height:1.6!important;color:#dcd0f7!important;overflow-wrap:anywhere}
#view.pp-profile-page .rank-chip{display:table!important;margin:0 0 3px!important;padding:2px 8px!important;background:#ffffff14!important;border:1px solid #ffffff1d;color:#eee3ff!important;font-size:10px!important}
#view.pp-profile-page .xp{grid-column:1 / -1;margin:10px 0 0!important;background:#180f322e;border:1px solid #ffffff13;border-radius:16px;padding:13px 14px}
#view.pp-profile-page .xp-top{gap:8px;color:#dfd3f4!important;font-size:10px!important;align-items:center}
#view.pp-profile-page .xp-top b{font-size:13px;color:#fff}
#view.pp-profile-page .xp-bar{margin-top:10px;height:6px!important;background:#ffffff17!important;overflow:hidden}
#view.pp-profile-page .xp-bar i{background:linear-gradient(90deg,#c79aff,#f1ddff)!important;box-shadow:0 0 12px #caa0ff50}
body #view.pp-profile-page .account-navigation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 24px}
body #view.pp-profile-page .account-nav-card{display:flex!important;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;padding:14px 5px 13px!important;gap:8px;min-height:94px!important;border-radius:19px!important;background:#24212b!important;border:1px solid #3b3447!important;overflow:hidden}
#view.pp-profile-page .account-nav-card>i{display:none}
#view.pp-profile-page .rd-account-symbol{width:34px!important;height:34px!important;border-radius:11px;background:#a977f51c;display:grid;place-items:center;color:#be9bfd;font-size:23px!important;margin:0!important}
#view.pp-profile-page .reference-nav-copy{display:block;min-width:0}
#view.pp-profile-page .reference-nav-copy b{font-size:12px!important;line-height:1.3;color:#f3edff!important}
#view.pp-profile-page .reference-nav-copy small{display:none!important}
#view.pp-profile-page .pp-group-title{font-size:17px;letter-spacing:-.25px;margin:22px 0 12px;color:#f5f2ff}
#view.pp-profile-page .stats{gap:8px;margin:0 0 12px;grid-template-columns:repeat(3,minmax(0,1fr))}
body #view.pp-profile-page .stat{padding:14px 6px 12px!important;min-height:110px!important;border-radius:20px!important;background:linear-gradient(150deg,#2a2535,#201e27)!important;border:1px solid #38313f!important;text-align:center}
#view.pp-profile-page .reference-stat-art{height:25px!important;display:block;color:#b891f2!important;font-size:22px!important}
#view.pp-profile-page .stat .n{font-size:27px!important;line-height:1.2;margin:7px 0 4px;color:#f8f5ff!important}
#view.pp-profile-page .stat .l{font-size:10px!important;line-height:1.4;color:#b8afc5!important}
body #view.pp-profile-page .streak-card{display:grid!important;grid-template-columns:36px minmax(0,1fr);gap:10px;padding:16px!important;margin:0 0 18px;border-radius:22px!important;background:linear-gradient(120deg,#34271e,#252127)!important;border:1px solid #634634!important;min-height:0!important}
#view.pp-profile-page .streak-fire{font-size:29px!important;color:#ffb567!important;align-self:center}
#view.pp-profile-page .streak-text{font-size:16px!important;font-weight:700;line-height:1.3;color:#ffdec0!important}
#view.pp-profile-page .streak-text small{font-size:10px!important;font-weight:400;color:#baab9e!important;margin-top:4px}
#view.pp-profile-page .streak-dots{grid-column:1 / -1;display:grid!important;grid-template-columns:repeat(7,1fr);gap:5px;margin:3px 0 0!important;justify-content:normal!important}
#view.pp-profile-page .pp-streak-step{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 0 6px;background:#ffffff04;border:1px solid #ffffff06;border-radius:11px;color:#75695f}
#view.pp-profile-page .pp-streak-step.on{background:#ffb86b18;border-color:#dd97513b;color:#ffbd77}
#view.pp-profile-page .pp-streak-step i{font-size:17px}.pp-streak-step small{font-size:9px;font-weight:600}
body #view.pp-profile-page .menu{padding:4px 12px!important;border-radius:22px!important;border:1px solid #38313f!important;background:#211e28!important;margin-bottom:18px}
#view.pp-profile-page .menu-item{padding:14px 0!important;min-height:66px!important;gap:12px!important;border-bottom-color:#ffffff09!important}
#view.pp-profile-page .mi-ico{width:35px!important;height:35px!important;border-radius:11px!important;background:#ab7af017!important;color:#bc98f2!important;font-size:21px!important;flex-shrink:0}
#view.pp-profile-page .mi-text{font-size:13px!important;font-weight:600;color:#f1edf8!important;line-height:1.35}
#view.pp-profile-page .mi-sub{font-size:10px!important;font-weight:400;line-height:1.45;color:#a9a0b8!important;margin-top:4px}
#view.pp-profile-page .mi-arrow{color:#8c7caa!important;font-size:22px!important}
#view.pp-profile-page .switch{flex-shrink:0;transform:scale(.85);transform-origin:right center}
#view.pp-profile-page .section-title{font-size:17px!important;color:#f4effc!important}
#view.pp-profile-page .badges{gap:8px!important}
body #view.pp-profile-page .badge-item{min-height:116px!important;padding:17px 5px 12px!important;border-radius:20px!important;background:#24202e!important;border:1px solid #3b324b!important;opacity:1}
#view.pp-profile-page .badge-item .bi-emo{font-size:25px!important;height:28px!important;color:#9e83c4!important}
#view.pp-profile-page .badge-item b{font-size:10px!important;color:#c2b5d4!important;margin:10px 0 6px!important}
#view.pp-profile-page .badge-item small{font-size:9px!important;color:#91869f!important}
body #view.pp-profile-page .badge-item.on{background:linear-gradient(140deg,#48315e,#312340)!important;border-color:#9771c7!important}
#view.pp-profile-page .badge-item.on b{color:#f0dfff!important}
#view.pp-profile-page [data-action="clear"] .mi-ico{color:#e692a9!important;background:#e8789815!important}
#view.pp-profile-page button:focus-visible{outline:2px solid #d4b8ff;outline-offset:3px}
#view.pp-profile-page .stat .l,#view.pp-profile-page .streak-text small,#view.pp-profile-page .mi-sub,#view.pp-profile-page .badge-item b{font-size:12px!important}
#view.pp-profile-page .badge-item small,#view.pp-profile-page .pp-streak-step small{font-size:11px!important}

/* Task progress uses the same restrained code-native icon system. */
body #app #view .rd-quest-summary{padding:20px!important;min-height:124px;border-radius:23px;background:radial-gradient(ellipse at 100% 0,#784fc32b,transparent 70%),#211e28!important;border:1px solid #443453!important;gap:16px}
#view .rd-quest-summary .rd-summary-copy{flex:1;width:auto;min-width:0}
#view .rd-quest-summary .rd-summary-copy p{font-size:12px;margin:0 0 8px}
#view .rd-quest-summary .rd-summary-copy b{font-size:30px;letter-spacing:-.7px}
#view .rd-quest-summary .rd-progress{height:6px;background:#ffffff10;margin-top:14px}
#view .rd-quest-summary .rd-progress>span{background:linear-gradient(90deg,#8b56ed,#c9a6ff)}
#view .pq-progress-emblem{width:66px;height:66px;flex-shrink:0;display:grid;place-items:center;border-radius:21px;background:linear-gradient(145deg,#a576f624,#714cad0b);border:1px solid #b48ae536;box-shadow:inset 0 1px 0 #ffffff0c;color:#c3a0ff;transform:rotate(-7deg)}
#view .pq-progress-emblem i{font-size:37px;transform:rotate(7deg)}
#view .pq-chest-emblem{display:grid;place-items:center;width:58px;height:58px;flex-shrink:0;border:1px solid #b48ae536;border-radius:18px;background:#a576f61c;color:#c3a0ff;font-size:32px}
#view.pp-profile-page .reference-nav-copy{text-align:center!important}
#view.pp-profile-page .profile-head{margin:0!important}
@media(max-width:350px){#view.pp-profile-page .profile-head{padding:18px 15px!important;grid-template-columns:64px minmax(0,1fr);gap:10px 12px!important}body #app #view.pp-profile-page .rd-player-avatar{width:64px!important;height:64px!important}#view.pp-profile-page .p-name{font-size:22px!important}}
