.reward-badge{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border:1px solid var(--reward-tier-color,#a58b54);border-radius:30px;color:var(--reward-tier-color,#f1d295);font-size:12px;font-weight:700;line-height:1.5;white-space:nowrap;text-decoration:none;background:#211c29}
.reward-profile-title{font-size:12px;color:#c9bdd4;margin:2px 0;display:block}.reward-public-decoration{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:7px 0}
.challenge-author[data-reward-photo],.rp-public-author[data-reward-photo],.owner[data-reward-photo]{flex-wrap:wrap}[data-reward-photo]>.reward-public-decoration{flex-basis:100%;margin:2px 0}
.reward-frame-gold{outline:3px solid #eac981!important;outline-offset:3px;box-shadow:0 0 0 7px #8d683730!important;border-radius:50%}
.reward-frame-ocean{outline:3px solid #89d6dd!important;outline-offset:3px;box-shadow:0 0 0 7px #4199c330!important;border-radius:50%}
.reward-frame-regulus{outline:3px solid #d7adff!important;outline-offset:3px;box-shadow:0 0 0 7px #9c5dd730,0 0 20px #c595ff44!important;border-radius:50%}
.home-reward-link{margin-top:5px;font-size:12px;min-height:30px;padding:3px 9px}.reward-toast{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);z-index:1000;background:#30273d;border:1px solid #a58b54;color:#ffe3a3;border-radius:12px;padding:12px 18px;max-width:90vw;font:14px/1.5 system-ui;box-shadow:0 5px 30px #0008;pointer-events:none}
.rewards-page{color-scheme:dark;margin:0;background:radial-gradient(ellipse at 0 0,#32233c,#121117 65%);color:#f4eee7;font:16px/1.6 system-ui,sans-serif;min-height:100dvh}.rewards-page *{box-sizing:border-box}.rewards-page [hidden]{display:none!important}.rewards-page main{max-width:1020px;margin:auto;padding:0 24px 32px}.rewards-page button,.rewards-page input,.rewards-page select,.rewards-page textarea{font:inherit}.rewards-page a{color:#f2d197;text-decoration:none}.rewards-page button,.reward-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #766043;border-radius:10px;background:#29222f;color:#f0d49e;padding:9px 15px;cursor:pointer;font-size:14px;text-decoration:none}.rewards-page button:disabled{opacity:.5;cursor:default}.rewards-page .reward-primary{background:linear-gradient(115deg,#ffe3a0,#d7ad67);color:#281e10;border-color:#eed291;font-weight:750}.rewards-page button:focus-visible,.rewards-page a:focus-visible,.rewards-page input:focus-visible,.rewards-page select:focus-visible,.rewards-page summary:focus-visible{outline:2px solid #ffe3a0;outline-offset:3px}.rewards-page h1,.rewards-page h2,.rewards-page h3,.rewards-page p{margin:0}.rewards-page h1{word-break:keep-all;font-size:clamp(24px,3vw,34px);letter-spacing:-.04em;line-height:1.4}.rewards-page h2{font-size:19px}.rewards-page h3{font-size:17px}.reward-nav{display:flex;justify-content:space-between;align-items:center;min-height:76px;border-bottom:1px solid #5d4c394d;font-size:14px}.reward-nav>a:first-child{font-weight:800;letter-spacing:.12em}.reward-nav span{font-size:12px;letter-spacing:0;margin-left:8px;color:#b9afc4}.reward-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:30px 0 24px}.reward-heading>div>p:last-child{color:#bfb3c8;margin-top:8px}.reward-heading button{flex-shrink:0}.reward-eyebrow{font-size:11px;font-weight:800;letter-spacing:.2em;color:#d1af72;margin-bottom:8px!important}.reward-panel{padding:22px;border:1px solid #7862466b;border-radius:16px;background:#1d1924}.reward-panel>p{margin-top:10px}.reward-muted{color:#bfb3c8;font-size:14px}.reward-hero{padding:28px;border:1px solid #a98b526b;border-radius:18px;background:radial-gradient(ellipse at top right,#56402c55,transparent 70%),#221c2a}.reward-identity{display:flex;align-items:center;gap:18px}.reward-identity img{width:64px;height:64px;object-fit:cover;border-radius:50%;border:1px solid #8c754e}.reward-identity h2{font-size:21px;margin-top:5px;overflow-wrap:anywhere}.reward-tier{color:var(--reward-tier-color,#edcd91);font-size:13px;font-weight:750}.reward-numbers{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}.reward-numbers>div+div{border-left:1px solid #8d755340;padding-left:25px}.reward-numbers span{display:block;color:#c4b7cc;font-size:14px}.reward-numbers strong{display:block;font-size:36px;line-height:1.4;font-variant-numeric:tabular-nums;color:#ffe1a0}.reward-numbers small{font-size:15px;color:#c8b892}.reward-progress-copy{display:flex;justify-content:space-between;gap:10px;font-size:14px;color:#d6c9df}.rewards-page progress{display:block;width:100%;height:10px;overflow:hidden;border:0;border-radius:8px;background:#3a3042;margin:10px 0 12px;accent-color:#e6c685}.rewards-page progress::-webkit-progress-bar{background:#3a3042}.rewards-page progress::-webkit-progress-value{background:linear-gradient(90deg,#b08c4f,#ffe1a0)}.reward-settings{border-top:1px solid #715c443b;margin-top:20px;padding-top:14px;font-size:14px}.rewards-page summary{cursor:pointer;color:#d8c4a1;min-height:32px}.reward-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.rewards-page label{display:grid;gap:6px;color:#cabed2;font-size:14px;margin:14px 0}.rewards-page input,.rewards-page select,.rewards-page textarea{min-height:44px;border:1px solid #675571;border-radius:8px;background:#15111d;color:#f3ecfa;padding:9px 12px;max-width:100%;min-width:0}.rewards-page .reward-check{display:flex;align-items:center;gap:9px}.reward-check input{min-height:0;width:17px;height:17px;accent-color:#dec48e}.reward-tabs{display:grid;grid-template-columns:repeat(4,1fr);padding:5px;gap:5px;border:1px solid #6c573b70;background:#17131f;border-radius:12px;margin:26px 0}.reward-tabs button{border-color:transparent;background:transparent;color:#c6bdcf;font-size:16px}.reward-tabs button[aria-selected=true]{border-color:#a08045;background:#493822;color:#ffe4a7;font-weight:750}.reward-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px}.reward-section-heading>span{font-size:13px;color:#bdadca}.reward-missions,.reward-shop{display:grid;grid-template-columns:1fr 1fr;gap:12px}.reward-mission,.reward-shop-card{padding:18px;border:1px solid #65513c80;border-radius:14px;background:#211b29}.reward-mission{display:grid;grid-template-columns:1fr auto;gap:10px 14px}.reward-mission p{color:#c0b1cc;font-size:13px;margin-top:5px}.reward-mission .reward-mission-points{font-size:20px;color:#f2d08c;font-weight:750;white-space:nowrap}.reward-mission .reward-mission-bottom{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}.reward-mission-bottom span{font-size:13px;color:#aa9ab7}.reward-mission.is-done{border-color:#567560}.reward-mission.is-done .reward-mission-bottom span{color:#a9d9b9}.reward-shop-card .reward-shop-preview{height:82px;display:flex;align-items:center;justify-content:center;margin-bottom:16px;border-radius:10px;background:radial-gradient(ellipse,#413047,#18131f)}.reward-shop-preview img{width:46px;height:46px;object-fit:cover;border-radius:50%}.reward-shop-preview strong{color:#f3d69b;font-size:16px;border:1px solid #8b704d;padding:4px 12px;border-radius:20px}.reward-shop-card p{color:#c7b7d0;font-size:14px;margin:6px 0 14px}.reward-shop-card button{width:100%}.reward-guide{margin-top:20px}.reward-guide p{font-size:14px;color:#bfb1cc;margin-top:12px}.reward-tier-row{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid #69507140;font-size:14px}.reward-ranking{margin-top:16px}.reward-ranking-row,.reward-history-row{display:flex;align-items:center;gap:16px;border-bottom:1px solid #5e4d664d;padding:18px 6px}.reward-ranking-row>strong:first-child{font-size:20px;min-width:30px;text-align:center;color:#dfc28b}.reward-ranking-row img{width:44px;height:44px;border-radius:50%;object-fit:cover}.reward-ranking-row>div{flex:1;min-width:0;overflow-wrap:anywhere}.reward-ranking-row .reward-rank-score{white-space:nowrap;color:#f0d49b}.reward-history-row>div{flex:1;min-width:0;overflow-wrap:anywhere}.reward-history-row time{display:block;font-size:12px;color:#b2a4bc}.reward-history-row>b{white-space:nowrap;color:#b3dfbb}.reward-history-row>b.is-spend{color:#dcabc2}.reward-admin{margin-top:28px}.reward-admin form{margin-top:12px}.reward-admin-results{display:grid;gap:8px}.reward-admin #reward-admin-results button{width:100%;margin-top:7px;text-align:left;justify-content:flex-start}.reward-admin #reward-admin-form{border-top:1px solid #6f5b7840;padding-top:16px}.reward-admin #reward-admin-suspend{margin-left:8px}.reward-footer{margin-top:32px;text-align:center;color:#93849e;font-size:13px}.rewards-page [role=status]{color:#e4c995;font-size:14px;margin:12px 0}.rewards-page [role=status]:empty{display:none}.rewards-page dialog{width:min(94vw,430px);border:1px solid #a38753;background:#241c2e;color:#f0e4f5;border-radius:16px;padding:24px}.rewards-page dialog::backdrop{background:#08050dba;backdrop-filter:blur(4px)}.rewards-page dialog p{margin-top:12px}.reward-dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:22px}.reward-empty{padding:28px 16px;border:1px dashed #7864467a;border-radius:14px;color:#bfb2cc;text-align:center}
@media(max-width:600px){.rewards-page main{padding:0 16px 24px}.reward-heading{align-items:flex-start}.reward-heading button{padding:8px 11px;font-size:12px}.reward-heading h1{font-size:24px;max-width:260px}.reward-heading>div>p:last-child{font-size:14px}.reward-hero{padding:20px}.reward-numbers strong{font-size:30px}.reward-numbers>div+div{padding-left:16px}.reward-numbers{gap:16px}.reward-progress-copy{font-size:13px;flex-wrap:wrap}.reward-missions,.reward-shop{grid-template-columns:1fr}.reward-tabs{gap:2px}.reward-tabs button{padding:8px 4px}.reward-settings-grid{grid-template-columns:1fr}.reward-section-heading{flex-wrap:wrap}.reward-ranking-row{gap:12px}.reward-ranking-row img{width:36px;height:36px}.reward-ranking-row .reward-rank-score{font-size:14px}.reward-panel{padding:18px}.reward-nav span{display:none}}

/* The home profile shares the rewards view, within its own scrollable dialog. */
#brand-dialog.profile-dashboard{box-sizing:border-box;width:min(980px,calc(100% - 32px));max-width:980px;min-height:0;max-height:calc(100dvh - 32px);padding:24px;border:1px solid #8f744b;border-radius:22px;overflow:hidden;overscroll-behavior:contain;text-align:left;background:radial-gradient(ellipse at top left,#32233c,#15121b 70%);font:16px/1.6 system-ui,sans-serif}
#brand-dialog.profile-dashboard[open]{display:flex;flex-direction:column}
/* Reserve the heading row; only the content below it scrolls. */
#brand-dialog.profile-dashboard>#rewards-page{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scroll-padding-block:12px;padding:3px}
#brand-dialog.profile-dashboard>.profile-dashboard-heading{flex:none;position:static}
#brand-dialog.profile-dashboard::backdrop,#reward-confirm.profile-reward-confirm::backdrop{background:#08050dc9;backdrop-filter:blur(4px)}
#brand-dialog .profile-dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 22px}
#brand-dialog .profile-dashboard-heading h2{font-size:24px;line-height:1.35}
#brand-dialog .profile-heading-actions{display:flex;gap:8px;flex:none}
#brand-dialog .profile-heading-actions button{font-size:14px;padding:8px 12px;min-height:44px}
#brand-dialog .reward-eyebrow{font-size:10px;letter-spacing:.16em;margin-bottom:4px!important}
#brand-dialog .reward-hero{margin:0;padding:24px}
#brand-dialog .reward-identity>div{min-width:0}
#brand-dialog .reward-identity h2{font-size:24px}
#brand-dialog .reward-identity img{width:68px;height:68px;flex:none}
#brand-dialog .reward-numbers{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
#brand-dialog .reward-numbers strong{font-size:clamp(26px,7vw,36px);overflow-wrap:anywhere}
#brand-dialog .reward-numbers span{font-size:14px;word-break:keep-all}
#brand-dialog .reward-tabs{margin:20px 0}
#brand-dialog[data-reward-focused] .reward-tabs{margin-top:0}
#brand-dialog .profile-title-row{display:flex;align-items:center;gap:8px}
#brand-dialog #reward-profile-back{flex:none;width:36px;min-height:36px;padding:0;border-color:#76604380;background:#211b29}
#brand-dialog #reward-profile-back svg{display:block}
#brand-dialog .reward-tabs button{min-height:48px;font-size:16px}
#brand-dialog .reward-section-heading h2{font-size:20px}
#brand-dialog .reward-mission h3{font-size:18px}
#brand-dialog .reward-mission p,#brand-dialog .reward-mission-bottom span{font-size:14px}
#brand-dialog .reward-settings summary{padding:4px 0;min-height:44px;font-size:15px}
#brand-dialog #brand-form{padding:0 0 18px}
#brand-dialog #brand-form .brand-actions{margin-top:16px}
#brand-dialog #brand-tier-guide{margin-top:12px;border-color:#77634580;border-radius:14px;padding:0 18px}
/* Compact reload controls share the memo icon without visible button text. */
button.regulus-refresh-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-width:44px;min-height:44px;padding:0!important;line-height:1}
button.regulus-refresh-icon svg{display:block;flex:none;width:20px;height:20px}
#brand-dialog #brand-tier-guide summary{font-size:15px;font-weight:500}
#brand-dialog #brand-tier-guide .reward-tier-row{font-size:15px}
#brand-dialog #brand-tier-guide p{margin:12px 0}
#brand-dialog #reward-welcome{margin-top:16px}
#reward-confirm.profile-reward-confirm{min-height:0;width:min(94vw,430px);max-height:90dvh;padding:24px;border:1px solid #a38753;border-radius:16px;background:#241c2e;font:16px/1.6 system-ui,sans-serif;color:#f0e4f5}
#reward-confirm.profile-reward-confirm p{margin-top:12px}
@media(max-width:600px){
 #brand-dialog.profile-dashboard{padding:18px 14px;border-radius:18px;scrollbar-gutter:auto}
 #brand-dialog .profile-dashboard-heading{gap:8px;margin-bottom:18px}
 #brand-dialog .profile-dashboard-heading h2{font-size:23px}
 #brand-dialog .profile-heading-actions{gap:6px}
 #brand-dialog .profile-heading-actions button{font-size:13px;padding:8px 10px}
 #brand-dialog .reward-hero{padding:20px 18px}
 #brand-dialog .reward-identity{gap:16px}
 #brand-dialog .reward-numbers>div+div{padding-left:14px}
 #brand-dialog .reward-missions,#brand-dialog .reward-shop{grid-template-columns:minmax(0,1fr)}
}

.referral-dialog{box-sizing:border-box;width:min(460px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid #947949;border-radius:20px;background:linear-gradient(140deg,#302436,#19161f);color:#f8e5be;font:inherit}
.referral-dialog::backdrop{background:#08060bc9;backdrop-filter:blur(6px)}
.referral-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.referral-dialog h2{margin:0;font-size:23px}
.referral-dialog button{font:inherit;min-height:44px;padding:10px 16px;border:1px solid #9b825b;border-radius:10px;background:#2b2530;color:#ffe5b5;cursor:pointer}
.referral-dialog button:disabled{opacity:.5;cursor:default}.referral-dialog #referral-close{font-size:26px;padding:0;min-width:44px}
.referral-intro{color:#c8bbcc;margin:12px 0 24px}.referral-summary{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding-bottom:20px;border-bottom:1px solid #80694455}.referral-summary span{display:block;font-size:14px;color:#c8bbcc}.referral-summary strong{display:block;font-size:28px;margin-top:6px;color:#ffe0a0}
.referral-reward-copy{font-size:17px;margin:20px 0}.referral-reward-copy b{color:#ffe0a0}
.referral-milestone{padding:10px 0}.referral-milestone>div{display:flex;justify-content:space-between;gap:10px}.referral-milestone small{display:block;text-align:right;color:#cbbdd0;font-size:12px}.referral-milestone progress{display:block;width:100%;height:7px;margin:9px 0 6px;accent-color:#e7c477;border:0;border-radius:8px;overflow:hidden;background:#44354b}.referral-milestone progress::-webkit-progress-bar{background:#44354b}.referral-milestone progress::-webkit-progress-value{background:linear-gradient(90deg,#aa8545,#ffe2a3)}
.referral-help{font-size:12px;line-height:1.7;color:#c5b7c9;margin:14px 0}.referral-dialog label{display:block;font-size:14px;margin:18px 0 8px}.referral-dialog input{box-sizing:border-box;width:100%;min-width:0;padding:13px 10px;border:1px solid #806944;border-radius:10px;background:#17131e;color:#f7e8c9;font:inherit;font-size:13px}.referral-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}#referral-copy,#referral-create{background:linear-gradient(#ffe6aa,#ebc16e);color:#32200c;font-weight:700}#referral-create{width:100%}#referral-status{font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.reward-mission.referral-activity{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 12px}.referral-activity>div:first-child p{padding-right:0}.referral-activity-count,.referral-activity>p,.referral-activity-progress,.referral-activity>button{grid-column:1/-1}.referral-activity-count{font-size:22px;color:#ffe0a0}.referral-activity>p{margin:0;color:#c5b7c9;font-size:13px}.referral-activity-progress{display:grid;grid-template-columns:1fr 1fr;gap:20px}.referral-activity .reward-mission-points{position:static;align-self:start;white-space:nowrap}.referral-activity>button{justify-self:end}
.referral-activity-progress{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px}
.referral-activity-progress .referral-milestone{min-width:0}
.referral-activity-progress .referral-milestone>div{display:flex;flex-direction:column;align-items:flex-start;gap:4px;line-height:1.5;white-space:nowrap}
.referral-activity-progress .referral-milestone small{white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:359px){.referral-dialog{padding:18px}.referral-activity-progress{gap:12px}.referral-activity .reward-mission-points{font-size:17px}}

/* Signature rewards: the same badge and frame artwork in shop and profiles. */
.reward-avatar-shell{display:inline-flex;position:relative;flex:none;vertical-align:middle;line-height:0;isolation:isolate}
.reward-avatar-shell>img{display:block;transform:scale(.8);border-radius:50%;object-fit:cover}
.reward-avatar-shell::after{content:"";position:absolute;inset:0;background:var(--reward-frame-art) center/100% 100% no-repeat;pointer-events:none;filter:drop-shadow(0 2px 4px #0008)}
.reward-avatar-shell[data-reward-frame=onyx]{--reward-frame-art:url('/assets/rewards/frames/onyx-v1.svg')}
.reward-avatar-shell[data-reward-frame=aurora]{--reward-frame-art:url('/assets/rewards/frames/aurora-v1.svg')}
.reward-avatar-shell[data-reward-frame=crimson]{--reward-frame-art:url('/assets/rewards/frames/crimson-v1.svg')}
.reward-avatar-shell[data-reward-frame=royal]{--reward-frame-art:url('/assets/rewards/frames/royal-v1.svg')}
.reward-avatar-shell[data-reward-frame=diamond]{--reward-frame-art:url('/assets/rewards/frames/diamond-v1.svg')}
.reward-avatar-shell[data-reward-frame=phoenix]{--reward-frame-art:url('/assets/rewards/frames/phoenix-v1.svg')}
.reward-avatar-shell[data-reward-frame=dragon]{--reward-frame-art:url('/assets/rewards/frames/dragon-v1.svg')}
.reward-avatar-shell[data-reward-frame=eclipse]{--reward-frame-art:url('/assets/rewards/frames/eclipse-v1.svg')}
#edit-photo>.reward-avatar-shell{width:100%;height:100%}#edit-photo .reward-avatar-shell>img{width:100%;height:100%}
#account-dialog .account-person>.reward-avatar-shell{align-self:center}#account-dialog .account-person>.reward-avatar-shell .account-avatar{margin:0}
[data-reward-theme=onyx]{--reward-accent:#cbd9f4;--reward-glow:#8b9ec633;--reward-ink:#131a29}
[data-reward-theme=aurora]{--reward-accent:#a0f7ed;--reward-glow:#6eb9e63b;--reward-ink:#162f3c}
[data-reward-theme=crimson]{--reward-accent:#ffb0c2;--reward-glow:#d5437140;--reward-ink:#3a182b}
[data-reward-theme=royal]{--reward-accent:#ffe2a2;--reward-glow:#e6b65740;--reward-ink:#382a19}
[data-reward-theme=diamond]{--reward-accent:#c0ecff;--reward-glow:#70b9ed40;--reward-ink:#15283c}
[data-reward-theme=phoenix]{--reward-accent:#ffd48c;--reward-glow:#f7783547;--reward-ink:#3c2118}
[data-reward-theme=dragon]{--reward-accent:#a1edd2;--reward-glow:#45c9a83d;--reward-ink:#153831}
[data-reward-theme=eclipse]{--reward-accent:#e3baff;--reward-glow:#a76ae84a;--reward-ink:#2f1d40}
.reward-title-pill{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;width:fit-content;max-width:100%;padding:5px 11px!important;border:1px solid var(--reward-accent,#a88b54)!important;border-radius:8px!important;background:linear-gradient(130deg,var(--reward-ink,#2c2434),#17131f);color:var(--reward-accent,#f1d395)!important;box-shadow:inset 0 1px 0 #ffffff15,0 0 15px var(--reward-glow,#0000);font-size:12px;line-height:1.6!important;font-weight:750;word-break:keep-all;text-align:center;letter-spacing:-.02em}
.reward-title-icon{flex:none;font-size:1.25em;line-height:1;text-shadow:0 0 8px var(--reward-accent)}
.reward-title-pill[data-reward-theme=royal]{border-radius:5px 14px!important;border-width:1px 2px!important}
.reward-title-pill[data-reward-theme=aurora]{border-color:#8cdfec!important;box-shadow:inset 0 0 15px #9468e72a,0 0 16px #7ce4df25}
.reward-title-pill[data-reward-theme=crimson]{border-radius:5px!important;border-left-width:3px!important}
#reward-equipped-title.reward-title-pill{margin-top:8px;font-size:12px}.reward-public-decoration .reward-title-pill{margin:0}
.reward-shop-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0 0 18px}
.reward-shop-filters button{border-color:#76644b66;background:#1d1924;color:#c6bdcd;padding:8px 4px;min-height:44px}
.reward-shop-filters button[aria-pressed=true]{border-color:#c7a468;background:#493721;color:#ffe5aa;font-weight:750}
.reward-shop{align-items:stretch;grid-template-columns:repeat(2,minmax(0,1fr))}
.reward-shop-card{display:flex;flex-direction:column;min-width:0;padding:16px;background:linear-gradient(155deg,#282030,#1a1720);border-color:#6c526d66;overflow:hidden}
.reward-shop-card.reward-shop-signature{border-color:var(--reward-accent);border-color:color-mix(in srgb,var(--reward-accent) 35%,#211b29);background:radial-gradient(ellipse at 100% 0,var(--reward-glow),transparent 55%),#1d1924}
.reward-shop-card.is-equipped{border-color:var(--reward-accent,#e1bf78);box-shadow:0 0 0 1px var(--reward-glow,#d4b57522)}
.reward-shop-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;font-size:11px;line-height:1.4;color:#c6b9cf}.reward-collection-label{letter-spacing:.06em;color:var(--reward-accent,#f0d29b);font-weight:700}
.reward-shop-card .reward-shop-preview,#reward-confirm-preview .reward-shop-preview{position:relative;isolation:isolate;height:136px;min-height:136px;margin:0 0 16px;display:flex;align-items:center;justify-content:center;border:1px solid #ffffff08;border-radius:12px;background:radial-gradient(ellipse at 50% 55%,var(--reward-glow,#513b5c55),transparent 70%),linear-gradient(140deg,#17141f,#100f16);overflow:hidden}
.reward-shop-preview::before{content:"";position:absolute;inset:12px;z-index:-1;border:1px solid var(--reward-accent,#d6bb86);opacity:.12;border-radius:50%}
.reward-shop-preview .reward-avatar-shell>img,.reward-shop-preview>img{width:96px;height:96px}
.reward-shop-preview .reward-avatar-shell{filter:drop-shadow(0 0 12px var(--reward-glow,#0000))}
.reward-shop-preview .reward-title-pill{position:relative;max-width:calc(100% - 24px);padding:9px 13px!important;font-size:clamp(15px,3.8vw,18px);font-weight:800;box-shadow:inset 0 1px 0 #ffffff20,0 5px 18px #0008,0 0 22px var(--reward-glow,#0000)}
.reward-shop-details{flex:1}.reward-shop-card h3{font-size:18px;line-height:1.45;color:#f6edde;word-break:keep-all}.reward-shop-card p.reward-shop-description{font-size:13px;line-height:1.6;color:#beb2c8;margin:5px 0 14px;word-break:keep-all}.reward-shop-card p.reward-shop-condition{font-size:12px;line-height:1.5;color:#d4c5b1;margin:0 0 10px}
.reward-shop-card>button{min-height:46px;font-size:14px}.reward-shop-card>button:disabled{opacity:.65}.reward-shop-card.is-equipped>button{color:var(--reward-accent,#ffe2a2);border-color:var(--reward-accent,#c9a35c);background:#19161d;opacity:1}
.reward-shop>.reward-empty{grid-column:1/-1}#reward-confirm-preview{margin-top:16px}#reward-confirm-preview .reward-shop-preview{margin-bottom:0}
@media(max-width:600px){.reward-shop{grid-template-columns:minmax(0,1fr)}.reward-shop-card{padding:16px}.reward-shop-card .reward-shop-preview{height:132px;min-height:132px}}
.reward-shop-card .reward-shop-preview[data-reward-collection=premium],#reward-confirm-preview .reward-shop-preview[data-reward-collection=premium]{height:152px;min-height:152px}
.reward-shop-preview[data-reward-collection=premium] .reward-avatar-shell>img{width:120px;height:120px}

/* Avatar rewards show the actual portrait, without a frame overlay. */
.reward-shop-preview[data-preview-type=avatar]::before{display:none}
.reward-shop-preview[data-preview-type=avatar]>img{width:128px;height:128px;border-radius:12px;object-fit:contain}
#brand-avatars{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#brand-avatars button{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px;min-width:0}
#brand-avatars button[aria-pressed=true]{border-color:#ffe3a0;box-shadow:0 0 0 1px #ffe3a0}
#brand-avatars img{width:128px;height:auto;max-width:100%;aspect-ratio:1;object-fit:contain}
#brand-avatars span{font-size:14px;font-weight:700;line-height:1.4}
#brand-avatars small{font-size:12px;color:#bfb1cc}
#brand-avatars .brand-avatar-more{grid-column:1/-1;min-height:44px}

.reward-shop-wallet{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;padding:12px 16px;border:1px solid #9b7a3d80;border-radius:12px;background:linear-gradient(110deg,#3b2d2055,#211b29);color:#e0d1b8}
.reward-shop-wallet[hidden]{display:none!important}.reward-shop-wallet>span{flex:none;font-size:14px}.reward-shop-wallet>strong{min-width:0;overflow-wrap:anywhere;text-align:right;font-size:clamp(20px,5vw,26px);line-height:1.4;font-variant-numeric:tabular-nums;color:#ffe1a0}

/* Shared activity receipt and reward guide, including dialogs over hand comments. */
dialog.reward-info-dialog{box-sizing:border-box;min-height:0;height:auto;width:min(620px,calc(100vw - 28px));max-width:620px;max-height:calc(100dvh - 32px);margin:auto;padding:22px;border:1px solid #9c8054;border-radius:20px;background:#201925;color:#f3eaf7;overflow:auto;overscroll-behavior:contain;font:16px/1.65 system-ui,sans-serif;text-align:left}
dialog.reward-info-dialog::backdrop{background:#08050dc4;backdrop-filter:blur(3px)}
.reward-info-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.reward-info-heading h2{margin:0;font-size:22px}.reward-info-heading button{flex-shrink:0;min-height:40px}
.reward-daily-progress{margin:16px 0;padding:16px;border:1px solid #b99a5b55;border-radius:14px;background:linear-gradient(120deg,#c8a35b16,#ffffff04)}
.reward-daily-progress>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 16px;font-size:15px}.reward-daily-progress strong{color:#f6dca4;white-space:nowrap;font-variant-numeric:tabular-nums}
.reward-daily-progress progress{display:block;width:100%;height:8px;margin:12px 0;border:0;border-radius:8px;overflow:hidden;background:#ffffff12;accent-color:#e3be73}.reward-daily-progress progress::-webkit-progress-bar{background:#ffffff12}.reward-daily-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#b58c48,#f7d993)}.reward-daily-progress progress::-moz-progress-bar{background:#e3be73}
.reward-daily-progress small,.reward-daily-progress p{display:block;margin:7px 0 0;font-size:13px;line-height:1.6}.reward-daily-progress small{color:#c9bdcf}.reward-pending{color:#f4d087}
.reward-guide-join{margin-top:16px;padding:14px;border:1px solid #ffffff18;border-radius:12px}.reward-guide-join p{margin:0 0 12px}.reward-guide-join .reward-primary{display:block;width:100%;box-sizing:border-box;text-align:center;min-height:44px;padding:10px 14px}
.reward-policy-list{padding-left:21px;margin:10px 0;font-size:14px;line-height:1.7}.reward-policy-list li+li{margin-top:10px}.reward-guide-policy{padding:14px;margin:20px 0;border:1px solid #ffffff1c;border-radius:12px}.reward-guide-policy summary{cursor:pointer;font-size:15px;color:#f0d49b}
.reward-info-content h3{margin:24px 0 10px;color:#f0d49b;font-size:18px}.reward-info-content p{font-size:14px;overflow-wrap:anywhere}.reward-info-rules article{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;border-bottom:1px solid #ffffff16}.reward-info-rules article div{min-width:0}.reward-info-rules p{margin:3px 0}.reward-info-rules small{color:#bcacc8}.reward-info-rules b{white-space:nowrap;color:#f0d49b;font-size:20px}.reward-info-current{padding:12px;background:#ffffff08;border-radius:10px}
.reward-cosmetic-steps{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px 14px;margin:12px 0;font-size:14px;line-height:1.65}.reward-cosmetic-steps dt{font-weight:700;color:#f1dfbd}.reward-cosmetic-steps dd{margin:0;overflow-wrap:anywhere}
.reward-guide-prizes{margin:14px 0 20px;padding:10px 14px;border-radius:12px;background:#ffffff05}.reward-guide-prizes>summary{cursor:pointer;min-height:32px;line-height:1.6;font-size:14px;font-weight:700;color:#f0d49b}.reward-guide-prizes p{margin:10px 0}.reward-guide-prizes p:last-child{margin-bottom:0}
.reward-guide-prize-frames{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}.reward-guide-prize-frames figure{min-width:0;margin:0;text-align:center}.reward-guide-prize-frames img{display:block;width:min(72px,100%);height:auto;aspect-ratio:1;margin:0 auto 6px}.reward-guide-prize-frames figcaption{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.reward-guide-prize-frames strong,.reward-guide-prize-frames span{display:block}.reward-guide-prize-frames strong{color:#f0d49b}.reward-guide-prize-frames span{color:#bcacc8}
.reward-receipt{text-align:center}.reward-receipt-amount{display:block;margin:24px 0 10px;font-size:38px;line-height:1.3;color:#f0d49b}.reward-receipt p{overflow-wrap:anywhere}.reward-receipt .reward-dialog-actions{flex-wrap:wrap;justify-content:center}.reward-guide-open{margin:10px 0;font-size:13px!important;color:#e9cf9d!important;background:transparent!important;border:1px solid #9c805466!important;border-radius:9px;padding:7px 12px!important;min-height:36px}
@media(max-width:420px){dialog.reward-info-dialog{padding:17px}.reward-info-heading h2{font-size:20px}.reward-receipt-amount{font-size:34px}.reward-info-rules b{font-size:18px}}

/* Explicit intrinsic height prevents the phone dialog's top/bottom insets from stretching the receipt. */
#reward-earned.reward-info-dialog{width:min(360px,calc(100vw - 32px));max-width:360px;min-height:0;height:fit-content;padding:18px;border-radius:16px}
#reward-earned .reward-info-heading h2{font-size:18px;line-height:1.4}
#reward-earned button{min-height:40px;padding:8px 12px;font-size:14px;line-height:1.4}
#reward-earned .reward-receipt-amount{margin:12px 0 8px;font-size:32px;line-height:1.2}
#reward-earned .reward-receipt p{margin:8px 0;font-size:14px;line-height:1.5}
#reward-earned .reward-receipt .reward-muted{font-size:13px}
#reward-earned .reward-dialog-actions{margin-top:16px;gap:8px}

.reward-guide-toolbar{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}.reward-guide-toolbar .reward-guide-open{margin:0 0 10px}.study-practice-tools{flex-wrap:wrap}.pro-group-toolbar .reward-guide-open,.study-practice-tools .reward-guide-open{margin:0}

/* One-time introductions for the five bottom navigation destinations. */
#reward-tab-intro{width:min(480px,calc(100vw - 28px));max-width:480px;padding:20px}
#reward-tab-intro .reward-info-heading h2{font-size:20px;line-height:1.4}
#reward-tab-intro .reward-tab-intro-content>p{margin:12px 0;font-size:14px;line-height:1.6}
#reward-tab-intro .reward-info-rules article{padding:10px 0}
#reward-tab-intro .reward-info-rules strong{font-size:15px}
#reward-tab-intro .reward-info-rules small{display:block;font-size:12px}
#reward-tab-intro h3{font-size:16px;color:#f0d49b;margin:20px 0 8px}
#reward-tab-intro .reward-tab-intro-tiers{margin-top:14px}
#reward-tab-intro summary{font-size:14px;min-height:36px;padding:6px 0}
#reward-tab-intro .reward-dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
#reward-tab-intro .reward-dialog-actions button{min-height:44px}

/* A lighter profile: one guide, one settings entry, and compact daily cards. */
#brand-dialog.profile-dashboard{border:0;background:#121016;box-shadow:0 20px 80px #0008}
#brand-dialog.profile-dashboard .profile-dashboard-heading{margin-bottom:16px}
#brand-dialog.profile-dashboard .profile-heading-actions button,
#brand-dialog.profile-dashboard #reward-profile-back,
#brand-dialog.profile-dashboard .profile-edit-pencil{width:44px;min-width:44px;height:44px;padding:0;border:0;background:transparent;box-shadow:none}
#brand-dialog.profile-dashboard #brand-cancel{font-size:28px;font-weight:400;line-height:1;color:#d7cedd}
#brand-dialog.profile-dashboard .reward-hero{padding:20px;background:#1d1924;border:0;border-radius:16px}
#brand-dialog.profile-dashboard .reward-numbers{margin:18px 0;gap:12px}
#brand-dialog.profile-dashboard .reward-numbers>div+div{border:0;padding-left:12px}
#brand-dialog.profile-dashboard .reward-progress-copy{font-size:14px}
#brand-dialog.profile-dashboard #reward-streak{margin-top:8px;font-size:14px}
.reward-tier-line{display:flex;align-items:center;gap:4px;min-height:32px}
.rewards-page .reward-tier-help{display:inline-flex;align-items:center;justify-content:center;width:32px;min-width:32px;min-height:32px;padding:0;border:0;background:transparent;color:#bdb0ca;font-size:14px;border-radius:50%;line-height:1}
.reward-tier-help:hover{color:#ffe1a0!important;background:#ffffff09!important}
#brand-dialog.profile-dashboard .profile-edit-panel{padding:18px;background:#1d1924;border:0;border-radius:16px;margin-top:12px}
#brand-dialog.profile-dashboard .profile-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
#brand-dialog.profile-dashboard #brand-edit-close{border:0;background:transparent;padding:8px;color:#d9c18e}
#brand-dialog.profile-dashboard .reward-settings{margin:0;padding:0;border:0}
#brand-dialog.profile-dashboard .reward-settings h4{margin:8px 0 0;font-size:16px;color:#e7d4b0}
#brand-dialog.profile-dashboard .reward-settings-grid{gap:12px}
#brand-dialog.profile-dashboard .reward-identity>div:last-child{flex:1;min-width:0}
#brand-dialog.profile-dashboard .reward-tabs{border:0;background:#1b1721;margin:16px 0;padding:4px}
#brand-dialog.profile-dashboard .reward-tabs button{border:0;min-height:44px}
#brand-dialog.profile-dashboard .reward-section-heading{margin-bottom:12px}
#brand-dialog.profile-dashboard .reward-section-heading h2{font-size:18px}
.rewards-page .reward-mission,.rewards-page .reward-daily-progress{border:0;background:#1d1924;border-radius:14px;padding:16px}
.rewards-page .reward-daily-progress{margin:0 0 12px}
.rewards-page .reward-daily-progress>div{font-size:15px}
.rewards-page .reward-daily-progress small{font-size:12px;color:#bcb0c6}
.rewards-page .reward-missions{gap:12px;align-items:start}
.rewards-page .reward-checkin{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}
.rewards-page .reward-checkin h3{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:17px}
.rewards-page .reward-checkin-points{font-size:14px;color:#eacb8e;font-weight:700;white-space:nowrap}
.rewards-page .reward-checkin p{font-size:13px!important;margin-top:4px}
.rewards-page .reward-checkin>button{min-height:44px;padding:8px 16px;white-space:nowrap}
.rewards-page .reward-checkin.is-done>button{background:#29242f;border-color:transparent;color:#c7bbcf}
.rewards-page .referral-activity{gap:10px 12px}
.rewards-page .referral-activity-summary{grid-column:1/-1;margin:0;font-size:13px!important;line-height:1.6;color:#c4b8cd}
.referral-activity-summary strong{color:#f1d397;font-weight:700}
.referral-progress{display:block;min-width:0}
.referral-activity-progress{display:block;grid-column:1/-1;margin:4px 0}
.referral-progress-track{position:relative}
.referral-progress progress{display:block;width:100%;height:8px;margin:0;border:0;border-radius:8px;overflow:hidden;background:#3a3042;accent-color:#e7c477}
.referral-progress progress::-webkit-progress-bar{background:#3a3042}
.referral-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#b08c4f,#ffe1a0)}
.referral-progress progress::-moz-progress-bar{background:#e7c477}
.referral-progress-marker{position:absolute;top:-3px;width:2px;height:14px;background:#bda26c;transform:translateX(-100%);pointer-events:none}
.referral-progress-labels{position:relative;height:48px;margin-top:8px}
.referral-progress-label{position:absolute;top:0;transform:translateX(-50%);text-align:center;white-space:nowrap;font-size:12px;line-height:1.5;color:#bcafc5}
.referral-progress-label.is-last{transform:translateX(-100%);text-align:right}
.referral-progress-label strong{display:block;color:#e6c98d;font-size:14px}
.referral-progress-label.is-paid span{color:#9bcdb1}
.rewards-page .referral-invite-button{justify-self:stretch;width:100%;gap:8px;min-height:44px;margin-top:0;border:0;background:#302736;color:#f2d59f;font-weight:650}
.referral-invite-button svg{flex:none}
#referral-milestones{margin:20px 0}
@media(max-width:760px){
 #brand-dialog.profile-dashboard{position:fixed;inset:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));scrollbar-gutter:auto;scroll-padding-block:16px}
 #brand-dialog.profile-dashboard .profile-dashboard-heading{background:#121016}
 #brand-dialog.profile-dashboard .profile-dashboard-heading h2{font-size:23px}
 #brand-dialog.profile-dashboard .reward-identity{gap:14px}
 #brand-dialog.profile-dashboard .reward-identity img{width:60px;height:60px}
 #brand-dialog.profile-dashboard .reward-numbers span{font-size:13px}
 #brand-dialog.profile-dashboard .reward-numbers strong{font-size:30px}
 #brand-dialog.profile-dashboard .reward-missions,#brand-dialog.profile-dashboard .reward-shop{grid-template-columns:minmax(0,1fr)}
}

/* Use the profile space for content, including an unfolded phone's width. */
#brand-dialog.profile-dashboard .profile-dashboard-heading{margin-bottom:10px}
#brand-dialog.profile-dashboard .reward-hero{padding:14px;margin-bottom:0}
#brand-dialog.profile-dashboard .reward-identity{gap:12px}
#brand-dialog.profile-dashboard .reward-identity img{width:56px;height:56px}
#brand-dialog.profile-dashboard .reward-tier-line{min-height:32px;flex-wrap:wrap}
#brand-dialog.profile-dashboard .reward-numbers{margin:12px 0;gap:12px}
#brand-dialog.profile-dashboard .reward-numbers>div{min-width:0}
#brand-dialog.profile-dashboard .reward-numbers>div+div{padding-left:0}
#brand-dialog.profile-dashboard .reward-numbers strong{font-size:30px;line-height:1.25}
#brand-dialog.profile-dashboard .reward-numbers span{font-size:13px}
#brand-dialog.profile-dashboard .profile-level-progress{min-width:0}
#brand-dialog.profile-dashboard .reward-progress-copy{gap:8px;flex-wrap:wrap;font-size:13px}
#brand-dialog.profile-dashboard #reward-progress{height:8px;margin:7px 0}
#brand-dialog.profile-dashboard #reward-streak{margin-top:4px;font-size:13px}
#brand-dialog.profile-dashboard .reward-tabs{margin:12px 0;gap:2px}
#brand-dialog.profile-dashboard .reward-tabs button{padding:7px 4px}
#brand-dialog.profile-dashboard .reward-section-heading{margin-bottom:8px}
#brand-dialog.profile-dashboard .reward-mission,
#brand-dialog.profile-dashboard .reward-daily-progress{padding:14px;min-width:0}
#brand-dialog.profile-dashboard .reward-daily-progress progress{margin:8px 0}
#brand-dialog.profile-dashboard .reward-daily-progress small{margin-top:4px}
#brand-dialog.profile-dashboard .referral-activity{gap:8px 10px}
#brand-dialog.profile-dashboard .referral-progress-labels{height:42px;margin-top:6px}
#brand-dialog.profile-dashboard .reward-mission>div:first-child{min-width:0;overflow-wrap:anywhere}
@media(max-width:1100px){
 #brand-dialog.profile-dashboard{position:fixed;inset:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0;padding:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}
}
@media(min-width:600px){
 #brand-dialog.profile-dashboard #reward-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:12px 24px;padding:18px}
 #brand-dialog.profile-dashboard #reward-summary .reward-numbers{margin:0}
 #brand-dialog.profile-dashboard .profile-level-progress{grid-column:1/-1}
 #brand-dialog.profile-dashboard .reward-missions,
 #brand-dialog.profile-dashboard .reward-shop{grid-template-columns:repeat(2,minmax(0,1fr))}
 #brand-dialog.profile-dashboard .referral-activity{grid-row:span 2}
}

/* Compact profile summary and full-row activity links. */
.rewards-page #reward-summary,
#brand-dialog.profile-dashboard #reward-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"identity balance" "progress progress";gap:0 14px;align-items:center}
#reward-summary>.reward-identity{grid-area:identity;min-width:0}
#reward-summary>.reward-numbers{grid-area:balance}
.rewards-page #reward-summary>.profile-level-progress{grid-area:progress;min-width:0;margin-top:12px}
.rewards-page #reward-summary>.reward-settings{grid-column:1/-1}
.rewards-page #reward-summary .reward-numbers,
#brand-dialog.profile-dashboard #reward-summary .reward-numbers{display:block;margin:0;text-align:right}
.rewards-page #reward-summary .reward-numbers strong{font-size:clamp(25px,4vw,32px);line-height:1.3;white-space:nowrap}
.rewards-page #reward-summary .reward-numbers span{font-size:12px}
.rewards-page #reward-summary .reward-tier-line{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:3px}
.rewards-page #reward-summary .reward-tier{padding:2px 7px;border:1px solid currentColor;border-radius:6px;font-size:12px;line-height:1.6}
.rewards-page #reward-summary #reward-equipped-title{font-size:12px;margin:0;padding:2px 7px;line-height:1.6}
.rewards-page #reward-summary .reward-identity h2{margin:0;font-size:22px;line-height:1.3}
#brand-dialog.profile-dashboard #reward-summary .profile-name-row{gap:2px}
#brand-dialog.profile-dashboard #reward-summary .profile-edit-pencil{width:32px;min-width:32px;height:36px;min-height:36px}
.rewards-page #reward-summary #reward-progress{height:6px;margin:6px 0 0}
.rewards-page #reward-summary .reward-progress-copy{font-size:12px;line-height:1.5;gap:8px}
.rewards-page #reward-xp{font-variant-numeric:tabular-nums;color:#d9cce2}
.rewards-page #reward-next{color:#a99fb4;margin-right:5px}
.rewards-page #reward-restriction{margin-top:8px;color:#f3b9b9}
.rewards-page .reward-daily-progress.is-compact,
#brand-dialog.profile-dashboard .reward-daily-progress.is-compact{padding:4px 12px 10px;margin:0 0 8px}
.reward-daily-progress.is-compact>div{align-items:center;min-height:40px;gap:0 8px}
.reward-daily-progress.is-compact>div>span{display:flex;align-items:center;gap:2px;font-size:13px}
.rewards-page .reward-mission-help{width:36px;min-width:36px;min-height:40px;padding:0;border:0;background:transparent;color:#bcb0c6;font-size:16px}
.rewards-page .reward-daily-progress.is-compact progress,
#brand-dialog.profile-dashboard .reward-daily-progress.is-compact progress{height:5px;margin:0}
.rewards-page #reward-missions,
#brand-dialog.profile-dashboard #reward-missions{display:flex;flex-direction:column;gap:0;border-radius:14px;background:#1d1924;overflow:hidden}
.rewards-page #reward-missions .reward-mission{width:100%;min-width:0;padding:0;border:0;border-radius:0;background:transparent}
.rewards-page #reward-missions .reward-checkin{display:block}
.rewards-page #reward-missions .reward-mission+.reward-mission{border-top:1px solid #ffffff0b}
.rewards-page #reward-missions .reward-mission-row{display:grid;grid-template-columns:minmax(0,1fr) auto 10px;align-items:center;gap:10px;min-height:62px;width:100%;padding:10px 14px;border:0;border-radius:0;background:transparent;text-align:left;color:#f4eee7;box-shadow:none;text-decoration:none;transform:none}
.rewards-page #reward-missions .reward-mission-row:hover:not(:disabled){background:#ffffff04;filter:none;transform:none}
.rewards-page #reward-missions .reward-mission-row:focus-visible{outline-offset:-3px;border-radius:8px}
.rewards-page #reward-missions .reward-mission-row:disabled{opacity:1;cursor:default;color:#c9c2d0}
.reward-mission-copy{min-width:0}
.reward-mission-heading{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;line-height:1.45}
.reward-mission-heading strong{font-size:15px;font-weight:650;overflow-wrap:anywhere}
.reward-mission-count{font-size:11px;color:#a99fb4;white-space:nowrap;font-variant-numeric:tabular-nums}
.reward-mission-description{display:block;font-size:12px;line-height:1.45;color:#aca2b7;margin-top:2px;word-break:keep-all;overflow-wrap:anywhere}
.rewards-page #reward-missions .reward-mission-points{font-size:16px;font-weight:700;color:#e6c587;white-space:nowrap}
.reward-mission-arrow{color:#a99aaf;font-size:20px;line-height:1}
.is-done .reward-mission-count,.is-done .reward-mission-arrow{color:#9fd3b3}
.rewards-page #reward-missions .is-done .reward-mission-points{color:#b1a58e}
.rewards-page #reward-referral-banner{margin-top:10px}
.rewards-page #reward-referral-banner .referral-invite-button{display:flex;align-items:center;gap:9px;width:100%;min-height:50px;padding:10px 14px;border:0;border-radius:12px;background:#292230;color:#e5d2ab;font-size:13px;text-align:left}
#reward-referral-banner .referral-invite-button strong{flex:1;font-weight:650}
#reward-referral-banner .referral-invite-button>span{white-space:nowrap}
@media(max-width:420px){
 #brand-dialog.profile-dashboard #reward-summary{gap:0 10px;padding:12px}
 #brand-dialog.profile-dashboard #reward-summary .reward-identity{gap:9px}
 #brand-dialog.profile-dashboard #reward-summary .reward-identity img{width:44px;height:44px}
 #brand-dialog.profile-dashboard #reward-summary .reward-identity h2{font-size:18px}
 #brand-dialog.profile-dashboard #reward-summary .reward-tier-line{gap:4px}
 #brand-dialog.profile-dashboard #reward-summary .reward-tier-help{width:28px;min-width:28px;min-height:28px}
 .rewards-page #reward-missions .reward-mission-row{padding:10px 12px;gap:7px}
 .reward-mission-heading strong{font-size:14px}
}

/* Time-limited, earned-only ranking champion frames. */
.reward-prize-table{width:100%;border-collapse:collapse;margin:14px 0;font-size:.8125rem;text-align:center;line-height:1.5}
.reward-prize-table th,.reward-prize-table td{padding:9px 4px;border-bottom:1px solid #ffffff18}
.reward-prize-table th{color:#efd494;font-weight:700}
.reward-prize-table td{color:#e4dce9}
.reward-avatar-shell[data-reward-frame=champion-week]{--reward-frame-art:url('/assets/rewards/frames/champion-week-v1.svg')}
.reward-avatar-shell[data-reward-frame=champion-month]{--reward-frame-art:url('/assets/rewards/frames/champion-month-v1.svg')}
.reward-avatar-shell[data-reward-frame=champion-year]{--reward-frame-art:url('/assets/rewards/frames/champion-year-v1.svg')}
.reward-shop-card[data-reward-theme^=champion-]{background:radial-gradient(ellipse at top,#8e6a442b,transparent 70%),#211b29}.reward-shop-card[data-reward-theme=champion-week]{--reward-glow:#65d3de55}.reward-shop-card[data-reward-theme=champion-month]{--reward-glow:#f2c36255}.reward-shop-card[data-reward-theme=champion-year]{--reward-glow:#ae83ef55}

/* Optional public player introduction. */
.player-profile-form{margin:24px 0;padding:22px 0;border-top:1px solid #ffffff12;border-bottom:1px solid #ffffff12}
.player-profile-form h4{margin:0 0 10px;color:#f5d799;font-size:18px}
.player-profile-muted{color:#b6afbf;font-size:13px;line-height:1.6;margin:10px 0 16px}
.player-profile-form label{display:flex;flex-direction:column;gap:7px;margin:14px 0;color:#d5cddd;font-size:15px}
.player-profile-form input,.player-profile-form textarea,.player-profile-form select{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:12px;border:1px solid #706078;border-radius:10px;background:#141119;color:#f4eef8;font:inherit;line-height:1.5}
.player-profile-form textarea{resize:none}.player-profile-form input::placeholder,.player-profile-form textarea::placeholder{font-size:13px;color:#96909f}
.player-profile-links{border:0;padding:0;margin:16px 0;min-width:0}.player-profile-links legend{color:#d5cddd;font-size:15px}.player-profile-links legend small{color:#a59baa;margin-left:6px;font-size:12px}
.player-profile-actions{display:flex;gap:10px;margin-top:14px}.player-profile-actions button{min-height:44px}.player-profile-actions button:last-child{flex:1}
#player-profile-status{font-size:14px;line-height:1.5;color:#f5d799;white-space:pre-wrap}
.player-profile-trigger{cursor:pointer}.player-profile-trigger:focus-visible{outline:2px solid #f5d799;outline-offset:4px;border-radius:50%}
.player-public-dialog{margin:auto;box-sizing:border-box;width:min(94vw,480px);max-height:calc(100dvh - 32px);height:fit-content;min-height:0;overflow:auto;padding:22px;border:1px solid #8a714d;border-radius:18px;background:#1d1924;color:#f4eef8}
.player-public-dialog::backdrop{background:#08060bbc;backdrop-filter:blur(4px)}
.player-public-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.player-public-heading h2{font-size:21px;margin:0}.player-public-heading button{background:transparent;border:0;font-size:26px;min-width:44px;min-height:44px;padding:0;color:#d9cde5}
.player-public-identity{display:flex;gap:18px;align-items:center;margin:0 0 22px}.player-public-identity img{object-fit:cover;width:72px;height:72px;border-radius:50%;flex:none}.player-public-identity h3{font-size:23px;margin:0 0 8px;overflow-wrap:anywhere}.player-public-identity>div{min-width:0}.player-public-tier,.player-public-title{display:inline-block;font-size:13px;margin:0 8px 3px 0;color:#f5d799}
.player-public-details{margin:0}.player-public-details>div{margin:0 0 20px}.player-public-details dt{font-size:13px;color:#b6afbf;margin-bottom:7px}.player-public-details dd{font-size:16px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
.player-public-dialog h4{font-size:13px;color:#b6afbf;margin:8px 0}.player-public-socials{display:flex;flex-wrap:wrap;gap:9px}.player-public-socials a{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;border-radius:10px;background:#302738;color:#f5d799;text-decoration:none;overflow-wrap:anywhere;max-width:100%;box-sizing:border-box}
@media(min-width:650px){.player-profile-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}}
@media(max-width:380px){.player-public-dialog{padding:18px}.player-public-heading h2{font-size:19px}.player-public-identity h3{font-size:21px}}

.player-public-dialog .player-profile-muted{margin:10px 0 16px}
.rp-comment-top .community-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;flex:none}

/* Public player bankroll is displayed directly below the identity. */
.player-bankroll-panel{margin:0 0 24px;padding:16px;border-radius:16px;background:#24202d}
.player-bankroll-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.player-public-dialog .player-bankroll-heading h4{margin:0;font-size:15px;color:#f5d799}
.player-bankroll-heading span{font-size:12px}
.player-public-dialog .player-bankroll-label{margin:16px 0 5px;font-size:12px;color:#b6afbf}
.player-bankroll-profit{display:block;font-size:clamp(22px,6vw,30px);overflow-wrap:anywhere;font-variant-numeric:tabular-nums;color:#f5d799}
.player-bankroll-profit.is-gain{color:#a5dfc6}.player-bankroll-profit.is-loss{color:#e8a3b4}
.player-bankroll-chart{display:block;width:100%;height:auto;margin-top:8px;overflow:visible}
.player-public-dialog .player-bankroll-caption{font-size:11px;color:#b6afbf;margin:8px 0 0;line-height:1.6}
.player-public-dialog .player-bankroll-retry{border:0;background:#342b3d;color:#f5d799;padding:10px 14px;border-radius:10px}
@media(max-width:420px){.player-bankroll-panel{padding:12px}}
