.referral-campaign{grid-column:1/-1;min-width:0;--rc-green:#50c893;--rc-blue:#42b8ec;--rc-purple:#bc7fee;--rc-red:#e87870;--rc-gold:#edbd60}
.referral-campaign .member-panel{margin-bottom:14px;padding:18px}.referral-campaign .rc-hero{display:grid;grid-template-columns:minmax(0,1fr) 38%;gap:8px 12px;background:linear-gradient(125deg,rgba(66,123,82,.15),#111a25)}.rc-intro{align-self:center}.rc-intro h2{font-size:26px;margin:8px 0}.rc-intro p{font-size:14px;line-height:1.5;margin:0 0 8px}.rc-intro small{font-size:9px;letter-spacing:.08em;color:#97c5a8}.rc-zen{display:block;width:100%;height:auto;max-height:250px;object-fit:contain;align-self:end}.rc-count{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;border-top:1px solid #b48a3933}.rc-count .eyebrow{font-size:11px;letter-spacing:.08em}.rc-total{display:block;font-size:52px;color:var(--gold);line-height:1.1;margin:4px 0}.rc-count small{display:block;font-size:10px;color:#a6b1c1}.rc-count .button{flex-shrink:0}.rc-heading{font-size:14px;color:var(--gold);letter-spacing:.06em;margin:0 0 14px}.rc-journey-scroll{overflow-x:auto}.rc-milestones{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:relative;min-width:290px;gap:4px}.rc-milestones:before{content:"";position:absolute;left:10%;right:10%;top:calc(100% - 58px);height:3px;background:linear-gradient(to right,var(--gold) var(--journey),#384455 var(--journey));pointer-events:none}.rc-step{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;position:relative}.rc-threshold{font-size:23px;color:#9aa8ba}.rc-step img{width:100%;height:90px;object-fit:contain;opacity:.6;filter:saturate(.65)}.rc-step h3{font-size:11px;font-weight:500;line-height:1.3;margin:4px 0 8px;height:30px}.rc-node{width:16px;height:16px;border-radius:50%;background:#18202c;border:2px solid #536074;display:flex;align-items:center;justify-content:center;font-size:10px;z-index:1;margin-bottom:8px}.rc-state{font-size:10px;line-height:14px;height:28px;color:#9aa8ba}.rc-step small{font-size:10px;height:14px;color:#a6b1c1}.rc-step:not(:has(small)):after{content:"";height:14px}.rc-reached .rc-node{background:var(--gold);color:#111;border-color:var(--gold)}.rc-reached img,.rc-current img{opacity:1;filter:drop-shadow(0 0 5px #d7a44a30)}.rc-current .rc-node{border-color:var(--gold);color:var(--gold)}.rc-reached .rc-threshold,.rc-current .rc-threshold,.rc-current .rc-state{color:var(--gold)}.rc-note{font-size:11px;color:#95a4b7;line-height:1.5;margin:12px 0 0}.rc-next-content{display:grid;grid-template-columns:24% minmax(0,1fr);align-items:center;gap:14px}.rc-next-content img{width:100%;height:auto;object-fit:contain}.rc-next-content h3{font-size:19px;margin:0 0 7px}.rc-next-content p{font-size:12px;margin:0 0 8px;color:#a6b1c1}.rc-next-content strong{font-size:12px}.rc-next-reward progress{display:block;width:100%;height:7px;margin:12px 0 8px;border:0;border-radius:7px;overflow:hidden;background:#253344;accent-color:var(--gold)}.rc-next-reward progress::-webkit-progress-bar{background:#253344}.rc-next-reward progress::-webkit-progress-value{background:var(--gold)}.rc-next-reward progress::-moz-progress-bar{background:var(--gold)}.rc-progress-caption{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#bac5d3}.rc-progress-caption strong{color:var(--gold);font-size:11px}.rc-refresh{font-size:11px;color:#a9bacd;background:none;border:0;padding:12px 0 0;min-height:36px;cursor:pointer}.rc-invite input{width:100%;min-width:0;font-size:13px}.rc-link-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px;align-items:start}.rc-link-actions .button{width:100%;font-size:13px;padding:10px 4px;min-height:44px;justify-content:center;text-align:center}.rc-qr summary{list-style:none;cursor:pointer}.rc-qr summary::-webkit-details-marker{display:none}.rc-qr[open]{grid-column:1/-1;grid-row:2}.rc-qr[open] summary{width:100%;margin-bottom:10px}.rc-qr .referral-qr-frame{max-width:220px;margin:auto}.rc-rules{margin-top:0}
@media(max-width:600px){.referral-campaign .member-panel{padding:14px}.rc-intro h2{font-size:21px}.rc-intro p{font-size:12px}.rc-zen{max-height:210px}.rc-count .button{padding:11px 14px;font-size:13px}.rc-total{font-size:46px}.rc-step img{height:65px}.rc-threshold{font-size:20px}.rc-step h3{font-size:9px}.rc-state,.rc-step small{font-size:9px}.rc-next-content h3{font-size:17px}.rc-heading{font-size:12px}.rc-count .eyebrow{font-size:9px}}

/* Bridge the 8px row gap and Zen's 13px transparent margin (13/1448). */
.rc-zen{object-position:center bottom;transform:translateY(calc(8px + .9%))}

/* Reward controls sit in the existing Mystery Box #1 right-hand content. */
.rc-box1{margin-bottom:16px}
.rc-box1-reward{display:flex;flex-direction:column;gap:5px;margin-top:18px}
.rc-box1-reward span{font-size:12px;color:var(--gold);letter-spacing:.06em}
.rc-box1 .rc-box1-reward strong{font-size:27px;color:var(--gold);line-height:1.2}
.rc-box1 .rc-box1-status{color:var(--rc-green);font-size:13px;font-weight:600;margin:14px 0 0}
.rc-box1-claim{margin-top:14px;min-height:44px;justify-content:center}
.rc-box1 .rc-box1-inactive:disabled{background:#303947;color:#a6b1c1;border:1px solid #465163;opacity:1;cursor:not-allowed}
@media(max-width:600px){.rc-box1-claim{width:100%;padding:10px 6px;font-size:12px}.rc-box1 .rc-box1-reward strong{font-size:24px}}

.rc-box1-wallet{margin-top:18px;padding-top:14px;border-top:1px solid #b48a3933}
.rc-box1-wallet h4{font-size:13px;color:var(--gold);margin:0 0 8px}
.rc-box1 .rc-box1-wallet p{font-size:12px;line-height:1.6;margin:0 0 9px}
.rc-box1 .rc-box1-wallet-positive{color:var(--rc-green);font-weight:600}
.rc-box1 .rc-box1-wallet-warning{color:#edb16b;font-weight:500}
.rc-box1-wallet-address{display:grid;gap:5px;margin:10px 0;font-size:12px;color:#a6b1c1}
.rc-box1-wallet-address code{color:#e8edf5;font-size:14px}
.rc-box1-wallet-action{margin:7px 8px 0 0;font-size:12px;min-height:44px;max-width:100%;white-space:normal}
@media(max-width:600px){.rc-box1-wallet-action{width:100%;margin-right:0}}
