/* Local comparison only. Existing referral DOM, wording and actions are unchanged. */
.pu-root .referral-page{gap:12px;padding-bottom:14px;font-size:14px}
.pu-root .referral-page h2{font-size:18px;line-height:1.25}
.pu-root .referral-hero,.pu-root .referral-share,.pu-root .referral-summary{padding:16px}
.pu-root .referral-hero-top{grid-template-columns:48px minmax(0,1fr) auto;gap:12px}
.pu-root .referral-program-mark{width:48px;height:48px}
.pu-root .referral-hero-top small{font-size:12px;line-height:1.3;color:#c0b8e4}
.pu-root .referral-hero h2{font-size:24px;line-height:1.2;margin-top:3px}
.pu-root .referral-rate{font-size:30px;line-height:1.1}
.pu-root .referral-rate small{font-size:11px;letter-spacing:.035em;margin-top:5px}
.pu-root .referral-hero>p{font-size:14px;line-height:1.45;margin:13px 0;color:#c4cbe0}
.pu-root .referral-hero>.btn{min-height:46px;font-size:15px}
.pu-root .referral-share{gap:7px}
.pu-root .referral-share label{font-size:12px;line-height:1.35;letter-spacing:.025em;margin-top:5px;color:#a7b2ca}
.pu-root .ref-copy-row{min-height:44px;padding:10px 12px;grid-template-columns:minmax(0,1fr) 20px}
.pu-root .ref-copy-row span{font-size:14px;line-height:1.35;white-space:normal;overflow-wrap:anywhere;overflow:visible}
.pu-root .ref-copy-row .ic{width:20px;height:20px}
.pu-root .referral-income{padding:16px;gap:12px;grid-template-columns:minmax(0,1fr) auto}
.pu-root .referral-income small,.pu-root .referral-income span{font-size:12px;line-height:1.35;color:#a9c4c0}
.pu-root .referral-income strong{font-size:28px;line-height:1.15;margin:5px 0;overflow-wrap:anywhere}
.pu-root .referral-income button{min-width:88px;min-height:44px;padding:10px 12px;font-size:14px}
.pu-root .referral-income button:disabled{color:#a5afc4}
.pu-root .ref-summary-grid{gap:8px;margin-top:12px}
.pu-root .ref-summary-grid>span{display:flex;flex-direction:column;justify-content:space-between;padding:11px 10px}
.pu-root .ref-summary-grid small{font-size:12px;line-height:1.35;color:#a6b2ca}
.pu-root .ref-summary-grid b{font-size:19px;line-height:1.2;margin-top:6px}
.pu-root .ref-progress-card{padding:13px;gap:11px;margin-top:11px}
.pu-root .ref-progress-card>h3{font-size:15px;line-height:1.3}
.pu-root .ref-progress-row{gap:7px}
.pu-root .ref-progress-row>span{flex-wrap:wrap;gap:4px 12px}
.pu-root .ref-progress-row small,.pu-root .ref-progress-row b{font-size:12px;line-height:1.35}
.pu-root .ref-progress-row b{white-space:normal;overflow-wrap:anywhere}
.pu-root .ref-progress-row>div{height:7px}
.pu-root .ref-progress-complete{font-size:14px;line-height:1.35;padding:13px}
.pu-root .referral-levels{padding:16px 0 12px}
.pu-root .referral-levels>.section-head{padding:0 16px}
.pu-root .ref-level-map{margin:15px 16px 6px}
.pu-root .ref-level-map::before{top:16px}
.pu-root .ref-level-map>span{gap:6px}
.pu-root .ref-level-map i{width:33px;height:33px;font-size:14px}
.pu-root .ref-level-map small{font-size:12px}
.pu-root .ref-tier-track{gap:10px;padding:3px 16px 8px;margin-top:12px;scroll-padding-inline:16px}
.pu-root .ref-tier{flex:0 0 calc(100% - 16px);min-width:0;padding:16px;min-height:0;opacity:1}
.pu-root .ref-tier header{gap:8px;flex-wrap:wrap}
.pu-root .ref-tier-level{font-size:14px}
.pu-root .ref-tier-level b{font-size:16px}
.pu-root .ref-tier header i{font-size:11px;line-height:1.3;padding:5px 8px}
.pu-root .ref-tier header .ic{width:19px;height:19px}
.pu-root .ref-tier-share{margin:14px 0 12px;gap:8px}
.pu-root .ref-tier-share strong{font-size:35px}
.pu-root .ref-tier-share span{font-size:15px}
.pu-root .ref-tier-reward{grid-template-columns:auto minmax(0,1fr);padding:11px;gap:10px}
.pu-root .ref-tier-reward>strong{font-size:21px;line-height:1.2;white-space:nowrap}
.pu-root .ref-tier-reward>span{gap:3px;line-height:1.3}
.pu-root .ref-tier-reward>span>b{font-size:13px}
.pu-root .ref-tier-reward>span>small,.pu-root .ref-tier-reward em{font-size:11.5px;color:#b9c4dc}
.pu-root .ref-tier-reward em{color:#ffc84d}
.pu-root .ref-tier-requirements{font-size:12px;line-height:1.4;gap:4px;margin-top:12px;padding-top:11px;color:#afbdd5}
.pu-root .ref-tier-requirements b{white-space:normal}
.pu-root .referral-friends>summary{font-size:15px;padding:16px;min-height:52px}
.pu-root .referral-friends .friend-list{padding:5px 14px 10px}
.pu-root .referral-friends .friend-row{gap:9px;padding:13px 0}
.pu-root .referral-friends .friend-row .avatar{width:34px;height:34px;font-size:14px}
.pu-root .referral-friends .friend-row b{font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.pu-root .referral-friends .friend-row small{font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.pu-root .referral-friends .friend-row-reward{max-width:100%;margin-left:auto}
.pu-root .referral-friends .friend-row-reward b{white-space:normal}
.pu-root .referral-friends-empty{font-size:14px;line-height:1.4;padding:16px 8px}
@media(max-width:359px){
 .pu-root .referral-hero,.pu-root .referral-share,.pu-root .referral-summary,.pu-root .referral-income{padding:14px}
 .pu-root .referral-hero-top{grid-template-columns:42px minmax(0,1fr) auto;gap:9px}
 .pu-root .referral-program-mark{width:42px;height:42px}
 .pu-root .referral-hero h2{font-size:22px}
 .pu-root .referral-rate{font-size:27px}
 .pu-root .ref-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pu-root .ref-tier{padding:14px}
 .pu-root .ref-tier-track{padding-inline:16px;scroll-padding-inline:16px}
}
