/* Original platform invitation diagrams, scoped to branded homepage sections. */
.referral-policy-section{--ink:#162039;--muted:#68748a;--blue:#365cf5;--line:#e0e5ee;position:relative;min-height:max(720px,calc(100svh - 80px));padding:100px 0;display:flex;align-items:center;color:var(--ink);background:white;font:16px/1.7 Inter,"Microsoft YaHei","PingFang SC",Arial,sans-serif;-webkit-font-smoothing:antialiased;overflow:clip}
.referral-policy-section:where(.soft){background:#f5f7fb}.referral-policy-section .section-inner{width:min(1280px,calc(100% - 128px));margin:auto;position:relative}
.referral-policy-section h2{font-size:clamp(28px,3vw,42px);font-weight:650;line-height:1.45;letter-spacing:0;margin:0 0 20px;text-wrap:balance}.referral-policy-section h3{font-size:21px;line-height:1.5;margin:0 0 12px}.referral-policy-section p{color:var(--muted);margin-top:0}.referral-policy-section .section-number{display:flex;align-items:center;gap:12px;font-size:12px;letter-spacing:.12em;font-weight:600;color:var(--blue);margin-bottom:24px}.referral-policy-section .section-number:before{content:'';width:24px;height:1px;background:currentColor}
.referral-policy-section :where(.button){display:inline-flex;justify-content:center;align-items:center;gap:22px;min-height:54px;padding:14px 25px;border:1px solid var(--blue);border-radius:7px;background:var(--blue);color:white;font-size:14px;font-weight:600;text-decoration:none;transition:background .2s,transform .2s}.referral-policy-section .button:focus-visible{outline:3px solid #6496ff;outline-offset:5px}
@media(max-width:800px){.referral-policy-section{min-height:auto;padding:85px 0}.referral-policy-section .section-inner{width:calc(100% - 48px)}}
.referral-screen{background:#eff3ff}
@keyframes screen-light-sweep{0%{left:-90%;opacity:0}20%{opacity:.9}75%{opacity:.65}100%{left:130%;opacity:0}}
@keyframes screen-aura-bloom{0%{opacity:0;transform:scale(.65)}35%{opacity:1}100%{opacity:0;transform:scale(1.15)}}
.referral-rewards{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.referral-bottom{display:flex;gap:36px;align-items:center;justify-content:space-between;padding-top:25px}
.referral-bottom p{margin:0;font-size:15px}
.referral-bottom p>span{font-size:13px}
.referral-bottom strong{color:#1b365b}
.referral-bottom>a{flex-shrink:0}
@media(max-width:700px){.referral-rewards{grid-template-columns:1fr}
.referral-bottom{flex-direction:column;align-items:flex-start;gap:20px}}
#main .referral-bottom p>span{font-size:14px;line-height:1.85;color:#4b5e78}
#referral.referral-flow-screen{position:relative;overflow:hidden;background:radial-gradient(ellipse at 85% 10%,#dbd7fa,transparent 55%),linear-gradient(135deg,#f8faff,#efeffb)}
#referral.referral-flow-screen:before{width:820px;height:820px;right:-350px;top:35%;border-color:#9484d52b;box-shadow:0 0 0 85px #9484d508,0 0 0 170px #9484d505}
#referral.referral-flow-screen:after{content:'';position:absolute;inset:0;z-index:-1;background-image:radial-gradient(#8c91cc26 1px,transparent 1px);background-size:26px 26px;mask-image:linear-gradient(90deg,#000,transparent 65%);pointer-events:none}
.referral-intro{display:flex;align-items:center;justify-content:space-between;gap:35px;margin-bottom:34px}
#main .referral-intro h2{font-size:clamp(32px,3.2vw,46px);margin:0 0 18px;line-height:1.35}
.referral-intro p{font-size:17px;color:#53698b;line-height:1.9;margin:0}
.referral-intro p strong{font-weight:600;color:#1d3d66}
.referral-link-button{position:relative;flex-shrink:0;background:#395edb;color:#fff;border:1px solid #395edb;border-radius:10px;padding:16px 22px;font-size:15px;white-space:nowrap;box-shadow:0 8px 20px #395edb1c}
.referral-link-button:is(:hover,:focus)>.report-tip{opacity:1;visibility:visible}
.referral-link-button>.report-tip{left:auto;right:0;transform:none}
.referral-steps{display:grid;grid-template-columns:1fr 1fr 1fr;gap:32px;list-style:none;margin:0;padding:0;position:relative}
.referral-steps>li{position:relative;min-width:0;padding:26px 28px;background:#ffffffd9;border:1px solid #cfd9ee;border-radius:18px;box-shadow:0 12px 30px #39517908}
.referral-steps>li:not(:last-child):after{content:'→';display:grid;place-items:center;position:absolute;right:-29px;top:50%;transform:translateY(-50%);width:24px;height:32px;color:#8594bf;font-size:24px;pointer-events:none}
.referral-step-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
.referral-step-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;border:1px solid #d4def5;background:#edf2ff;color:#4f6ccc}
.referral-step-icon svg{width:34px;height:34px}
.referral-step-number{font-size:34px;line-height:1;font-weight:600;color:#d9e2f4;letter-spacing:-1px}
#main .referral-steps h3{font-size:21px;line-height:1.5;margin:0 0 12px;color:#1c3a63}
.referral-steps p{font-size:15px;line-height:1.8;color:#526b8e;margin:0}
.referral-share-chips,.referral-upgrade{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-top:22px;font-size:12px}
.referral-share-chips span,.referral-upgrade>span,.referral-upgrade>b{padding:5px 9px;border:1px solid #d4def1;border-radius:6px;background:#f5f8ff;color:#52719e}
.referral-upgrade>i{font-style:normal;color:#91a2c6}
.referral-upgrade>b{background:#e9efff;border-color:#c7d5f6;color:#3b5cba;font-weight:600}
.referral-steps>.referral-result{background:linear-gradient(140deg,#243c73,#3956a2);border-color:#385493;color:#fff;box-shadow:0 15px 35px #29478622}
.referral-result .referral-step-icon{background:#ffffff12;border-color:#ffffff25;color:#dce6ff}
.referral-result .referral-step-number{color:#ffffff30}
#main .referral-result h3{font-size:18px;color:#fff;margin-bottom:4px}
.referral-result p{color:#d5e1fa;font-size:14px}
.referral-share-rate{font-size:70px;font-weight:650;line-height:1.05;letter-spacing:-2px;margin:6px 0 16px;color:#fff}
.referral-share-rate>span{font-size:33px;margin-left:4px;letter-spacing:0}
.referral-example{display:grid;grid-template-columns:.8fr 1.5fr;gap:30px;align-items:center;padding:23px 28px;margin-top:26px;border:1px solid #cfd9ee;border-radius:14px;background:#ffffffad}
.referral-example-caption>span{display:block;font-size:12px;color:#697da1;margin-bottom:6px}
.referral-example-caption>strong{font-size:17px;line-height:1.6;color:#25456e;font-weight:600}
.referral-equation{display:flex;justify-content:space-between;align-items:center;gap:18px}
.referral-equation>span{display:flex;flex-direction:column;gap:5px}
.referral-equation b{font-size:26px;line-height:1.3;color:#26456f;font-weight:600;white-space:nowrap}
.referral-equation small{font-size:12px;color:#7284a1;line-height:1.6}
.referral-equation>i{font-size:23px;font-style:normal;color:#96a6c1}
.referral-example-income>b{font-size:38px;color:#395edb}
.referral-example-income>b>small{font-size:20px;color:inherit;margin-right:3px}
.referral-example-income>small{color:#395edb}
.referral-rules{padding:18px 2px 0}
.referral-rules p{font-size:12px;line-height:1.8;color:#617394;margin:4px 0}
@media(max-width:1000px){.referral-steps{gap:24px}
.referral-steps>li{padding:22px 18px}
.referral-steps>li:not(:last-child):after{right:-24px;width:22px}
#main .referral-steps h3{font-size:18px}
.referral-steps p{font-size:14px}
.referral-share-chips,.referral-upgrade{font-size:11px;gap:5px}
.referral-share-chips span,.referral-upgrade>span,.referral-upgrade>b{padding:5px 7px}
.referral-example{grid-template-columns:1fr;gap:15px}
.referral-equation{justify-content:flex-start;gap:32px}
.referral-intro{align-items:flex-start}
.referral-link-button{font-size:13px;padding:14px 18px}}
@media(max-width:700px){.referral-intro{display:block;margin-bottom:26px}
#main .referral-intro h2{font-size:32px;margin-bottom:14px}
.referral-intro p{font-size:15px}
.referral-link-button{display:inline-flex;margin-top:20px;font-size:14px}
.referral-steps{grid-template-columns:1fr;gap:24px}
.referral-steps>li{padding:20px 22px}
.referral-step-top{margin-bottom:12px}
.referral-step-icon{width:42px;height:42px;border-radius:12px}
.referral-step-icon svg{width:29px;height:29px}
.referral-step-number{font-size:30px}
#main .referral-steps h3{font-size:19px;margin-bottom:7px}
.referral-steps p{font-size:14px}
.referral-steps p br{display:none}
.referral-share-chips,.referral-upgrade{margin-top:14px}
.referral-steps>li:not(:last-child):after{content:'↓';right:auto;left:50%;top:auto;bottom:-25px;transform:translateX(-50%);height:24px;font-size:20px}
.referral-share-rate{font-size:58px;line-height:1.1;margin:8px 0 12px}
.referral-share-rate>span{font-size:28px}
.referral-example{padding:19px 20px;margin-top:22px}
.referral-example-caption>strong{font-size:15px}
.referral-equation{justify-content:space-between;gap:10px}
.referral-equation b{font-size:20px}
.referral-example-income>b{font-size:29px}
.referral-example-income>b>small{font-size:15px}
.referral-equation small{font-size:10px}
.referral-equation>i{font-size:18px}
.referral-rules p{font-size:11px}}
@media(max-width:360px){.referral-example{padding:18px 14px}
.referral-equation{gap:6px}
.referral-equation b{font-size:18px}
.referral-example-income>b{font-size:24px}
.referral-example-income>b>small{font-size:13px}}
@keyframes fec-infra-current{from{stroke-dashoffset:118;opacity:1}to{stroke-dashoffset:0;opacity:1}}
@keyframes fec-infra-orbit{from{transform:rotate(-70deg);opacity:.8}to{transform:rotate(290deg);opacity:.8}}
@keyframes fec-signal-path{0%{stroke-dashoffset:118;opacity:0}15%{opacity:1}85%{opacity:1}100%{stroke-dashoffset:-100;opacity:0}}
@keyframes fec-orbit-signal{0%{transform:rotate(-70deg);opacity:0}15%{opacity:.8}85%{opacity:.8}100%{transform:rotate(200deg);opacity:0}}
@keyframes fec-node-glow{0%,100%{box-shadow:0 0 0 transparent}45%{box-shadow:0 0 0 1px #95dfff66,0 0 22px #8cccff2e}}
@keyframes fec-codex-light{0%,100%{transform:scale(1);opacity:1}45%{transform:scale(1.13);opacity:.75}}
@keyframes fec-data-transfer{0%{transform:scaleX(.15);opacity:0}25%{opacity:1}80%{opacity:1}100%{transform:scaleX(1);opacity:0}}
@keyframes fec-receive-light{0%,24%,100%{opacity:0}8%,16%{opacity:1}}
@keyframes fec-arrow-transmit{0%,22%,100%{transform:translateX(0);opacity:.65}11%{transform:translateX(5px);opacity:1;color:#4e91df}}
@keyframes fec-tile-receive{0%,24%,100%{transform:translateY(0);box-shadow:0 0 0 transparent}12%{transform:translateY(-3px);box-shadow:0 0 0 1px #75a9e93d,0 6px 14px #5b8bc921}}
@keyframes fec-prompt-scan{0%{transform:translateX(-100%);opacity:0}20%,80%{opacity:1}100%{transform:translateX(100%);opacity:0}}
@media(max-width:700px){@keyframes fec-data-transfer{0%{transform:scaleY(.15);opacity:0}25%{opacity:1}80%{opacity:1}100%{transform:scaleY(1);opacity:0}}}
@keyframes fec-electric-arrow{0%{transform:translateX(-7px);opacity:0}5%,16%{opacity:1}22%,100%{transform:translateX(9px);opacity:0}}
@keyframes fec-cf-current{0%{stroke-dashoffset:122;opacity:0}3%,27%{opacity:1}32%{stroke-dashoffset:-100;opacity:0}100%{stroke-dashoffset:-100;opacity:0}}
@keyframes fec-cf-node{0%,22%,100%{box-shadow:0 0 0 #19ba8600}9%,15%{box-shadow:0 0 0 3px #19ba861a,0 0 15px #19ba8630}}
@keyframes fec-report-signal{0%{transform:scaleX(0);opacity:0}35%,65%{transform:scaleX(1);opacity:1}100%{transform:scaleX(1);opacity:0}}
@keyframes fec-ai-step-scan{0%{transform:translateX(-110%);opacity:0}18%,80%{opacity:1}100%{transform:translateX(110%);opacity:0}}
@keyframes fec-ai-step-glow{0%,100%{box-shadow:0 0 0 transparent}45%{box-shadow:0 0 0 1px #38dfaa80,0 0 20px #38dfaa28}}
@keyframes fec-ai-link-replay{0%{stroke-dashoffset:122;opacity:0}15%,80%{opacity:1}100%{stroke-dashoffset:-100;opacity:0}}
.referral-steps>li{--ref-current:#16b981;isolation:isolate}
.referral-steps>li:nth-child(2){--ref-current:#a781f2}
.referral-steps>li:nth-child(3){--ref-current:#6ee6c0}
.referral-border-signal{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:2}
.referral-border-current{fill:none;stroke:var(--ref-current);stroke-width:2.6;stroke-linecap:round;stroke-dasharray:18 100;stroke-dashoffset:118;opacity:0}
.referral-steps>li:not(:last-child):after{content:none}
.referral-arrow-signal{position:absolute;right:-31px;top:50%;transform:translateY(-50%);width:28px;height:28px;pointer-events:none}
.referral-arrow-signal svg{display:block;width:100%;height:100%;fill:none;stroke-linecap:round;stroke-linejoin:round}
.referral-arrow-track{stroke:#8594bf;stroke-width:1.7}
.referral-arrow-current{stroke:var(--ref-current);stroke-width:3;stroke-dasharray:28 100;stroke-dashoffset:128;opacity:0}
@keyframes fec-ref-border-a{0%{stroke-dashoffset:118;opacity:0}2%,18%{opacity:1}22%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes fec-ref-arrow-a{0%{stroke-dashoffset:128;opacity:0}1%,8%{opacity:1}11%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes fec-ref-reward-a{0%,18%,100%{transform:translateY(0) scale(1);box-shadow:0 0 0 transparent}6%{transform:translateY(-3px) scale(1.008);box-shadow:0 0 0 1px #32c69a66,0 10px 25px #32c69a14}11%{transform:translateY(1px) scale(1.003)}}
@media(min-width:701px) and (max-width:1000px){.referral-arrow-signal{right:-24px;width:22px}}
@media(max-width:700px){.referral-arrow-signal{right:auto;left:50%;top:auto;bottom:-26px;width:24px;height:24px;transform:translateX(-50%) rotate(90deg)}}
@keyframes fec-faq-border{0%{stroke-dashoffset:118;opacity:0}10%,85%{opacity:1}100%{stroke-dashoffset:0;opacity:0}}
@keyframes fec-faq-border-direct{0%{stroke-dashoffset:118;opacity:0}10%,85%{opacity:1}100%{stroke-dashoffset:0;opacity:0}}
@keyframes fec-faq-arrow{0%{stroke-dashoffset:128;opacity:0}10%,80%{opacity:1}100%{stroke-dashoffset:0;opacity:0}}
@keyframes fec-faq-arrow-direct{0%{stroke-dashoffset:128;opacity:0}10%,80%{opacity:1}100%{stroke-dashoffset:0;opacity:0}}
@keyframes fec-hero-text-current{0%{opacity:0;background-position:150% 0}12%,80%{opacity:1}100%{opacity:0;background-position:-50% 0}}
@keyframes fec-hero-text-glow{0%,100%{text-shadow:none}35%{text-shadow:0 0 12px #74e8c866,0 0 24px #aa8dff33}70%{text-shadow:0 0 10px #b39aff55}}
@keyframes fec-plan-electric{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
@keyframes fec-decision-scan{0%{opacity:0;transform:translateX(-110%)}15%,75%{opacity:1}100%{opacity:0;transform:translateX(110%)}}
@keyframes fec-decision-current{0%{opacity:0;background-position:150% 0}12%,80%{opacity:1}100%{opacity:0;background-position:-50% 0}}
@keyframes fec-ai-perimeter-loop{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
@keyframes fec-ai-link-loop{0%{transform:scaleX(.15);opacity:0}12%{opacity:1}30%{transform:scaleX(1);opacity:1}40%,100%{transform:scaleX(1);opacity:0}}
@media(max-width:700px){@keyframes fec-ai-link-loop{0%{transform:scaleY(.15);opacity:0}12%{opacity:1}30%{transform:scaleY(1);opacity:1}40%,100%{transform:scaleY(1);opacity:0}}}
@keyframes fec-sustainable-border{0%{stroke-dashoffset:100;opacity:0}2%{opacity:1}18%{stroke-dashoffset:0;opacity:1}21%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes fec-sustainable-arrow{0%{stroke-dashoffset:130;opacity:0}2%{opacity:1}8%{stroke-dashoffset:0;opacity:1}10%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes fec-sustainable-node{0%,22%,100%{box-shadow:0 0 0 transparent}8%,18%{box-shadow:0 0 0 1px var(--sustainable-current),0 0 18px color-mix(in srgb,var(--sustainable-current) 15%,transparent)}}
@keyframes fec-sustainable-result{0%,19%,100%{transform:translateY(0);box-shadow:0 0 0 transparent}5%{transform:translateY(-2px);box-shadow:0 0 0 1px #27bc9066,0 8px 24px #27bc9019}10%{transform:translateY(1px);box-shadow:0 0 0 1px #9c76e666,0 8px 24px #9c76e619}15%{transform:translateY(0);box-shadow:0 0 0 1px #27bc9033}}
#referral .referral-steps>li{--ref-phase:0s}
#referral .referral-steps>li:nth-child(2){--ref-phase:2.4s}
#referral .referral-steps>li:nth-child(3){--ref-phase:4.8s}
@media(prefers-reduced-motion:no-preference){#referral .referral-border-current{animation:fec-ref-border-a 8.4s linear var(--ref-phase) infinite;filter:drop-shadow(0 0 3px var(--ref-current))}
#referral .referral-arrow-current{animation:fec-ref-arrow-a 8.4s linear calc(var(--ref-phase) + 1.6s) infinite;filter:drop-shadow(0 0 2px var(--ref-current))}
#referral .referral-example{animation:fec-ref-reward-a 8.4s ease-out 6.5s infinite}}
@keyframes arg-color-travel{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
@keyframes arg-color-vertical{from{transform:translateY(-100%)}to{transform:translateY(100%)}}
.referral-invitees-panel .panel-head{min-height:86px}
.referral-invitees-panel [data-wallet-tip] button{position:relative}
.referral-invitees-panel [data-wallet-tip] button.request-pending{color:transparent;white-space:normal}
.referral-invitees-panel [data-wallet-tip] button.request-pending>.request-spinner{position:absolute;left:50%;top:50%;margin:-8px 0 0 -8px;color:#315cba}
.referral-earnings-table{min-width:650px;width:100%}
.referral-earnings-table th,.referral-earnings-table td{padding:18px 20px}
.referral-earnings-table button[data-act="commission-path"]{position:relative;white-space:nowrap}
.referral-earnings-table button[data-act="commission-path"].request-pending{color:transparent}
.referral-earnings-table button[data-act="commission-path"]>.request-spinner{position:absolute;left:50%;top:50%;margin:-8px 0 0 -8px;color:#315cba}
.referral-network{display:grid;grid-template-columns:140px repeat(3,minmax(0,1fr));gap:42px;margin:46px 0 30px;align-items:start}
.referral-origin{display:flex;flex-direction:column;align-items:center;gap:12px;padding:32px 10px;color:#193863;text-align:center}
.referral-origin>strong{font-size:28px}
.referral-origin>span:last-child{font-size:13px}
.referral-person{display:block;position:relative;flex-shrink:0;width:54px;height:54px;border-radius:16px;background:#e6edff;color:#3b5bee}
.referral-person:before{content:'';position:absolute;top:10px;left:21px;width:12px;height:12px;border:2px solid currentColor;border-radius:50%;box-sizing:border-box}
.referral-person:after{content:'';position:absolute;bottom:11px;left:14px;width:26px;height:15px;border:2px solid currentColor;border-bottom:0;border-radius:16px 16px 0 0;box-sizing:border-box}
.referral-network-tier{position:relative;min-width:0;border:1px solid #cbd8fb;border-radius:18px;background:#fff;box-shadow:0 12px 36px #244bc408;overflow:visible}
.referral-invite-arrow{position:absolute;left:-44px;top:47px;width:44px;text-align:center;color:#7084b1}
.referral-invite-arrow>span{display:block;font-size:10px;white-space:nowrap}
.referral-invite-arrow>i{display:block;font-size:29px;line-height:1.2;font-style:normal}
.referral-user-node{padding:24px 18px 20px;text-align:center;min-height:170px;box-sizing:border-box}
.referral-user-node .referral-person{margin:0 auto 14px}
#main .referral-user-node h3{font-size:19px;margin:0 0 8px;line-height:1.4}
#main .referral-user-node p{font-size:13px;line-height:1.6;color:#617394;margin:0}
.referral-your-income{padding:24px 20px;background:#f4f7ff;border-top:1px solid #dce5ff;border-radius:0 0 18px 18px;text-align:center;color:#193863}
.referral-your-income>span:first-child{font-size:13px}
.referral-your-income>strong{display:block;font-size:54px;line-height:1.2;white-space:nowrap;margin:12px 0;font-weight:700;color:#3659eb}
.referral-your-income>strong>span{font-size:21px;vertical-align:middle}
.referral-your-income small{font-size:27px}
.referral-income-target{display:inline-block;padding:5px 13px;border:1px solid #cdd9ff;border-radius:20px;font-size:12px;background:white}
.referral-network-tier:nth-child(2) .referral-your-income{background:#193863;color:#e2eaff;border-color:#193863}
.referral-network-tier:nth-child(2) .referral-your-income>strong{color:white}
.referral-network-tier:nth-child(2) .referral-income-target{background:#ffffff10;color:white;border-color:#ffffff40}
.referral-income-example{display:grid;grid-template-columns:1.25fr repeat(3,minmax(0,1fr));gap:20px;align-items:center;padding:25px 28px;border:1px solid #cbd8fb;border-radius:16px;background:#ffffffb8}
.referral-example-price>span,.referral-example-result>span{display:block;font-size:13px;color:#617394;line-height:1.6}
.referral-example-price>strong{display:block;font-size:17px;margin-top:7px;color:#193863}
.referral-example-result{text-align:center;border-left:1px solid #dce5ff}
.referral-example-result>strong{display:block;color:#3659eb;font-size:32px;line-height:1.3;margin-top:8px}
.referral-example-result small{font-size:17px;margin-right:3px}
@media(max-width:1000px){.referral-network{grid-template-columns:100px repeat(3,minmax(0,1fr));gap:30px}
.referral-origin{padding-left:0;padding-right:0}
.referral-invite-arrow{left:-31px;width:30px}
.referral-invite-arrow>span{font-size:9px}
.referral-user-node{padding:22px 12px;min-height:170px}
#main .referral-user-node h3{font-size:17px}
.referral-your-income{padding:22px 10px}
.referral-your-income>strong{font-size:43px}
.referral-your-income>strong>span{font-size:17px}
.referral-income-example{grid-template-columns:repeat(3,minmax(0,1fr));padding:22px 20px;gap:18px}
.referral-example-price{grid-column:1/-1;text-align:center}
.referral-example-result:nth-child(2){border-left:0}
.referral-example-result>strong{font-size:28px}}
@media(max-width:700px){.referral-network{grid-template-columns:1fr;gap:42px;margin-top:26px}
.referral-origin{flex-direction:row;justify-content:center;padding:8px 0;gap:15px}
.referral-origin>strong{font-size:25px}
.referral-network-tier{display:grid;grid-template-columns:1fr 1fr}
.referral-invite-arrow{left:50%;top:-40px;width:70px;transform:translateX(-50%)}
.referral-invite-arrow>span{font-size:10px}
.referral-invite-arrow>i{font-size:0;line-height:24px}
.referral-invite-arrow>i:after{content:'↓';font-size:25px}
.referral-user-node{padding:20px 12px;min-height:0;display:flex;flex-direction:column;justify-content:center}
.referral-user-node .referral-person{width:46px;height:46px;border-radius:13px;margin-bottom:10px}
.referral-person:before{left:calc(50% - 6px);top:8px}
.referral-person:after{left:calc(50% - 13px);bottom:9px}
#main .referral-user-node h3{font-size:17px}
#main .referral-user-node p{font-size:12px}
.referral-your-income{border-top:0;border-left:1px solid #dce5ff;border-radius:0 18px 18px 0;padding:24px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.referral-your-income>span:first-child{font-size:12px}
.referral-your-income>strong{font-size:40px}
.referral-your-income>strong>span{font-size:17px}
.referral-your-income small{font-size:21px}
.referral-income-example{grid-template-columns:1fr;gap:0;padding:20px}
.referral-example-price{text-align:left;padding-bottom:15px}
.referral-example-result{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-left:0;border-top:1px solid #dce5ff;text-align:left}
.referral-example-result>strong{font-size:27px;margin:0;white-space:nowrap}}
.referral-flow-panel{position:relative;margin:34px 0 26px;padding:24px 28px 20px;border:1px solid #314b73;border-radius:24px;background:radial-gradient(ellipse at 10% 75%,#264d64 0,transparent 48%),linear-gradient(120deg,#11233c,#223962);color:#e9efff;overflow:hidden}
.referral-flow-caption{display:flex;justify-content:space-between;gap:16px;align-items:center;font-size:14px;color:#e1ebff}
.referral-flow-caption>span{font-weight:700;letter-spacing:1px}
.referral-flow-caption>div{display:flex;gap:18px}
.flow-key{font-size:12px}
.invite-key{color:#a9beff}
.income-key{color:#70e4cb}
.referral-flow-panel .referral-network{position:relative;gap:40px;grid-template-columns:140px repeat(3,minmax(0,1fr));margin:32px 0 0;padding-bottom:45px;align-items:stretch}
.referral-flow-panel .referral-network:after{content:'';position:absolute;bottom:13px;left:70px;right:calc((100% - 260px)/6);height:2px;background:linear-gradient(90deg,#78edce,#3f948a);box-shadow:0 0 12px #62dfba33}
.referral-flow-panel .referral-origin{position:relative;color:white;padding:24px 0 0;gap:9px;z-index:1}
.referral-flow-panel .referral-origin:after{content:'';position:absolute;width:2px;left:calc(50% - 1px);top:285px;bottom:-32px;background:#78edce}
.referral-flow-panel .referral-origin>strong{font-size:26px}
.referral-wallet-icon{margin-top:22px;width:58px;height:40px;display:grid;place-items:center;border:1px solid #6ee5c4;border-radius:10px;background:#234e54;color:#91ffde;font-size:24px;box-shadow:0 0 25px #56ebc020}
.referral-wallet-label{font-size:12px;color:#91e7d0}
.referral-flow-panel .referral-network-tier{background:#ffffff08;border-color:#627eac66;box-shadow:none;border-radius:16px}
.referral-flow-panel .referral-network-tier:after{content:'';position:absolute;left:50%;bottom:-32px;height:31px;width:2px;background:#63c8b3}
.referral-flow-panel .referral-network-tier:before{content:'';position:absolute;bottom:-34px;left:calc(50% - 3px);width:7px;height:7px;border-radius:50%;background:#91ffdf;box-shadow:0 0 12px #62efcf;animation:referral-pulse 3s ease-in-out infinite}
.referral-flow-panel .referral-user-node{min-height:156px;padding:20px 10px}
.referral-flow-panel .referral-person{background:#8eafff20;color:#bdccff}
#main .referral-flow-panel .referral-user-node h3{color:#fff;font-size:18px}
#main .referral-flow-panel .referral-user-node p{color:#b8c9e6;font-size:12px}
.referral-flow-panel .referral-your-income,.referral-flow-panel .referral-network-tier:nth-child(2) .referral-your-income{padding:18px 10px;background:#83b7ff0a;border-color:#61799f55;color:#cedcf1;border-radius:0 0 16px 16px}
.referral-flow-panel .referral-your-income>strong,.referral-flow-panel .referral-network-tier:nth-child(2) .referral-your-income>strong{color:#8aefd4;font-size:48px;margin:8px 0}
.referral-flow-panel .referral-income-target,.referral-flow-panel .referral-network-tier:nth-child(2) .referral-income-target{background:transparent;border:0;color:#9cdecf;padding:2px 0;font-size:12px}
.referral-flow-panel .referral-invite-arrow{color:#a8bfff;left:-40px;width:40px;top:62px}
.referral-flow-panel .referral-invite-arrow:after{content:'';position:absolute;top:32px;left:2px;width:5px;height:5px;background:#d6e3ff;border-radius:50%;box-shadow:0 0 8px #adcbff;animation:referral-travel 3s ease-in-out infinite}
.referral-flow-panel .referral-network-tier:nth-child(3):before,.referral-flow-panel .referral-network-tier:nth-child(3) .referral-invite-arrow:after{animation-delay:1s}
.referral-flow-panel .referral-network-tier:nth-child(4):before,.referral-flow-panel .referral-network-tier:nth-child(4) .referral-invite-arrow:after{animation-delay:2s}
.referral-return-label{text-align:center;color:#9aefd6;font-size:13px;line-height:1.6;padding:5px 0}
.referral-return-label>span{margin-right:10px}
@keyframes referral-travel{0%{transform:translateX(0);opacity:0}25%{opacity:1}90%,100%{transform:translateX(27px);opacity:0}}
@keyframes referral-pulse{0%,100%{opacity:.4}50%{opacity:1;box-shadow:0 0 16px #62efcf}}
@media(max-width:1000px) and (min-width:701px){.referral-flow-panel{padding:20px 18px}
.referral-flow-panel .referral-network{grid-template-columns:100px repeat(3,minmax(0,1fr));gap:30px}
.referral-flow-panel .referral-network:after{left:50px;right:calc((100% - 190px)/6)}
.referral-flow-panel .referral-invite-arrow{left:-30px;width:30px}
.referral-flow-panel .referral-your-income>strong{font-size:38px}
#main .referral-flow-panel .referral-user-node h3{font-size:16px}}
@media(max-width:700px){.referral-flow-panel{padding:20px 18px;border-radius:18px}
.referral-flow-caption{align-items:flex-start;flex-direction:column;gap:8px}
.referral-flow-panel .referral-network{grid-template-columns:1fr;gap:40px;padding:0 0 0 18px;margin-top:22px}
.referral-flow-panel .referral-origin{padding:0;flex-wrap:wrap;gap:10px}
.referral-flow-panel .referral-origin:after{display:none}
.referral-flow-panel .referral-origin>strong{font-size:23px}
.referral-wallet-icon{margin:0;width:32px;height:30px;font-size:18px}
.referral-wallet-label{flex-basis:100%;text-align:center}
.referral-flow-panel .referral-network:after{left:0;top:45px;bottom:60px;width:2px;height:auto;background:#63c8b3;right:auto}
.referral-flow-panel .referral-network-tier:after{left:-18px;top:50%;bottom:auto;width:17px;height:2px}
.referral-flow-panel .referral-network-tier:before{left:-21px;top:calc(50% - 2px);bottom:auto}
.referral-flow-panel .referral-user-node{min-height:0;padding:18px 8px}
.referral-flow-panel .referral-your-income,.referral-flow-panel .referral-network-tier:nth-child(2) .referral-your-income{border-radius:0 16px 16px 0;padding:15px 6px}
.referral-flow-panel .referral-your-income>strong,.referral-flow-panel .referral-network-tier:nth-child(2) .referral-your-income>strong{font-size:36px}
#main .referral-flow-panel .referral-user-node h3{font-size:16px}
.referral-flow-panel .referral-invite-arrow{left:50%;top:-39px;width:70px}
.referral-flow-panel .referral-invite-arrow:after{display:none}
.referral-return-label{margin-top:20px;font-size:12px}
.referral-return-label>span{display:none}}
@media(prefers-reduced-motion:reduce){.referral-flow-panel .referral-network-tier:before,.referral-flow-panel .referral-invite-arrow:after{animation:none}}
.referral-flow-panel .referral-network:before{content:'';position:absolute;z-index:2;bottom:11px;left:70px;right:calc((100% - 260px)/6);height:6px;background:radial-gradient(ellipse at center,#c7ffec 0,#6af1cd 35%,transparent 70%) no-repeat;background-size:24px 6px;animation:referral-return 4.5s linear infinite;pointer-events:none}
@keyframes referral-return{from{background-position:100% 0}to{background-position:0 0}}
@media(max-width:1000px) and (min-width:701px){.referral-flow-panel .referral-network:before{left:50px;right:calc((100% - 190px)/6)}}
@media(max-width:700px){.referral-flow-panel .referral-network:before{left:-2px;right:auto;top:45px;bottom:60px;width:6px;height:auto;background-size:6px 24px;animation-name:referral-return-up}
.referral-flow-panel .referral-origin:before{content:'';position:absolute;left:-18px;top:45px;width:24px;height:2px;background:#63c8b3}
@keyframes referral-return-up{from{background-position:0 100%}to{background-position:0 0}}}
@media(prefers-reduced-motion:reduce){.referral-flow-panel .referral-network:before{animation:none;display:none}}
.referral-growth{background:radial-gradient(ellipse at 85% 90%,#d9f2ed,transparent 55%),#f5f8ff}
.growth-heading{display:flex;justify-content:space-between;align-items:center;gap:32px}
.growth-heading p{font-size:15px;line-height:1.9;color:#526887}
.growth-heading p strong{color:#203f65}
.growth-seed{display:flex;flex-direction:column;align-items:center;gap:12px;min-width:220px;padding:24px;border:1px solid #ccdaf4;border-radius:100px;background:#ffffffb0;box-shadow:0 0 0 14px #ffffff50}
.growth-seed strong{font-size:25px;color:#193863}
.growth-seed>span:last-child{font-size:12px;color:#536987}
.growth-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:44px;margin:34px 0 24px}
.growth-stage{position:relative;min-width:0;padding:24px;border:1px solid #ccdaf2;border-radius:18px;background:#fff}
.growth-stage-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#627693}
.growth-rate{color:#265e55;background:#e5f6ee;border-radius:20px;padding:5px 10px;white-space:nowrap}
.growth-crowd{display:grid;grid-template-columns:repeat(5,22px);gap:14px;height:44px;align-items:center;margin:25px 0 10px}
.growth-crowd i{position:relative;display:block;height:15px;border-radius:8px 8px 3px 3px;background:#829aeb}
.growth-crowd i:before{content:'';position:absolute;left:calc(50% - 4px);top:-11px;width:8px;height:8px;border-radius:50%;background:inherit}
.growth-count{display:flex;align-items:baseline;gap:12px;margin-top:20px;color:#193863}
.growth-count strong{font-size:54px;letter-spacing:-2px;line-height:1.2}
.growth-count>span{font-size:14px}
#main .growth-source{font-size:13px;color:#627693;margin:10px 0 22px}
.growth-earning{border-top:1px solid #e2e9f6;padding-top:18px;display:flex;flex-direction:column;gap:8px}
.growth-earning>span{font-size:12px;color:#627693}
.growth-earning strong{font-size:34px;color:#315be3;letter-spacing:-1px}
.growth-earning small{font-size:19px;margin-right:5px}
.growth-stage:last-child .growth-earning strong{color:#148675}
.growth-expand{position:absolute;left:100%;width:44px;top:140px;text-align:center;color:#637faa;font-size:12px}
.growth-expand b{display:block;font-size:26px}
.growth-total{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:30px 38px;border-radius:20px;background:radial-gradient(ellipse at 0 100%,#245854,transparent 75%),#172d4d;color:#e4efff}
.growth-total>div>span{font-size:14px;color:#b6d7d4}
.growth-total>div>strong{display:block;font-size:clamp(42px,5vw,68px);line-height:1.3;color:#9cf2d4;letter-spacing:-2px}
.growth-total small{font-size:30px;margin-right:8px}
.growth-total p{font-size:13px;color:#b6d7d4;margin:6px 0 0}
.growth-total .growth-action>strong{font-size:19px;letter-spacing:0;color:white;line-height:1.7;margin-bottom:16px}
.growth-action .button{position:relative}
#main .growth-note{font-size:12px;color:#647592;line-height:1.8;margin:16px 0 0}
@media(max-width:1000px){.growth-stages{gap:26px}
.growth-stage{padding:18px}
.growth-stage-head{align-items:flex-start;flex-direction:column}
.growth-expand{width:26px}
.growth-count strong{font-size:44px}
.growth-earning strong{font-size:28px}
.growth-crowd{gap:4px}
.growth-seed{min-width:170px;padding:20px}
.growth-heading{gap:20px}}
@media(max-width:700px){.growth-heading{display:block}
.growth-seed{border-radius:16px;flex-direction:row;justify-content:center;flex-wrap:wrap;margin-top:24px;padding:16px;box-shadow:none}
.growth-seed>span:last-child{flex-basis:100%;text-align:center}
.growth-stages{grid-template-columns:1fr;gap:38px;margin-top:24px}
.growth-stage{padding:20px}
.growth-stage-head{flex-direction:row;align-items:center}
.growth-crowd{margin:22px 0 6px;max-width:250px}
.growth-count strong{font-size:46px}
#main .growth-source{margin:6px 0 16px}
.growth-expand{left:50%;top:100%;transform:translateX(-50%);width:90px;height:38px;display:flex;align-items:center;justify-content:center;gap:8px}
.growth-expand b{font-size:0}
.growth-expand b:after{content:'↓';font-size:23px}
.growth-total{display:block;padding:24px}
.growth-total>div>strong{font-size:44px}
.growth-total small{font-size:24px}
.growth-total p{font-size:11px}
.growth-action{margin-top:20px;padding-top:18px;border-top:1px solid #ffffff25}
.growth-total .growth-action>strong{font-size:17px}
.growth-action .button{width:100%;box-sizing:border-box}}
.referral-clear-flow .referral-network{grid-template-columns:130px repeat(3,minmax(0,1fr));gap:74px;margin-top:30px}
.referral-clear-flow .referral-origin{padding-top:62px}
.referral-clear-flow .referral-origin:after{top:335px}
.referral-clear-flow .referral-network:after,.referral-clear-flow .referral-network:before{left:65px;right:calc((100% - 352px)/6)}
.referral-avatar{width:74px;height:74px;display:grid;place-items:center;border:1px solid #9cbbff80;border-radius:50%;background:linear-gradient(145deg,#719de447,#294168);box-shadow:0 0 0 7px #97bcff09,inset 0 1px 0 #ffffff20;color:#e7f0ff;font-size:32px;font-weight:700;line-height:1;flex-shrink:0}
.referral-clear-flow .referral-user-node{min-height:220px;padding:20px 12px 22px}
.referral-user-node .referral-avatar{margin:18px auto 15px}
.referral-level-tag{display:inline-block;padding:4px 11px;border-radius:20px;border:1px solid #95b4e830;background:#94b5ed0c;font-size:12px;color:#b9ccee;line-height:1.5}
#main .referral-clear-flow .referral-user-node h3{font-size:21px;margin-bottom:5px}
#main .referral-clear-flow .referral-user-node p{font-size:13px;color:#cbd9ee}
.referral-clear-flow .referral-invite-arrow{left:-74px;top:88px;width:74px;transform:none}
.referral-clear-flow .referral-invite-arrow>span{font-size:12px;font-weight:600;color:#d4e2ff;line-height:1.6}
.referral-clear-flow .referral-invite-arrow:after{display:none}
.referral-invite-arrow svg{display:block;width:74px;height:28px;margin-top:8px;overflow:visible;fill:none;stroke-linecap:round;stroke-linejoin:round}
.invite-track{stroke:#7c9bd4;stroke-width:2}
.invite-current{stroke:#e6f0ff;stroke-width:3;stroke-dasharray:18 82;animation:referral-invite-line 3s linear infinite;filter:drop-shadow(0 0 4px #98bbff)}
.referral-clear-flow .referral-network-tier:nth-child(3) .invite-current{animation-delay:1s}
.referral-clear-flow .referral-network-tier:nth-child(4) .invite-current{animation-delay:2s}
@keyframes referral-invite-line{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
.referral-cashout{margin:0 0 28px;padding:25px 28px;border:1px solid #bedcda;border-radius:20px;background:linear-gradient(110deg,#f0faf6,#f5f8ff)}
.cashout-heading{display:flex;gap:12px;align-items:center;margin-bottom:22px}
.cashout-badge{font-size:12px;line-height:1.6;white-space:nowrap;font-weight:700;color:#18735f;background:#d9f3e6;border:1px solid #b1e2cd;padding:5px 11px;border-radius:20px}
#main .cashout-heading h3{margin:0;font-size:23px;line-height:1.4;color:#183b55}
.cashout-steps{display:grid;grid-template-columns:1fr 48px 1fr 48px 1fr;gap:12px;align-items:center}
.cashout-step{display:flex;gap:14px;align-items:center;min-width:0;background:#ffffffad;border:1px solid #d5e5e5;border-radius:14px;padding:17px 16px}
.cashout-step>div{min-width:0}
.cashout-step strong{display:block;font-size:17px;line-height:1.5;color:#193863}
.cashout-step>div>span{display:block;color:#627790;font-size:12px;line-height:1.6;margin-top:4px}
.cashout-icon{width:46px;height:46px;flex-shrink:0;display:grid;place-items:center;border-radius:12px;background:#e2f4ee;color:#23846a;font-size:26px;font-weight:700}
.cashout-request{background:#edf1ff;color:#4464d8}
.cashout-alipay{background:#1677ff;color:white;font-size:28px}
.cashout-arrow{color:#598e8a;text-align:center;font-size:28px}
#main .cashout-condition{font-size:12px;color:#566f82;line-height:1.8;margin:18px 0 0}
@media(max-width:1100px) and (min-width:901px){.referral-clear-flow .referral-network{grid-template-columns:100px repeat(3,minmax(0,1fr));gap:60px}
.referral-clear-flow .referral-invite-arrow{left:-60px;width:60px}
.referral-clear-flow .referral-invite-arrow svg{width:60px}
.referral-clear-flow .referral-network:after,.referral-clear-flow .referral-network:before{left:50px;right:calc((100% - 280px)/6)}
.cashout-step{gap:8px;padding:14px 10px}
.cashout-step strong{font-size:15px}}
@media(max-width:900px){.referral-clear-flow .referral-network{grid-template-columns:1fr;gap:64px;padding:0 0 0 24px;margin-top:28px}
.referral-clear-flow .referral-origin{padding:0;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:10px}
.referral-clear-flow .referral-origin:after{display:none}
.referral-clear-flow .referral-origin:before{content:'';position:absolute;left:-24px;top:45px;width:24px;height:2px;background:#63c8b3}
.referral-clear-flow .referral-origin .referral-avatar{width:52px;height:52px;font-size:25px}
.referral-clear-flow .referral-origin>strong{font-size:23px}
.referral-clear-flow .referral-origin .referral-wallet-icon{margin:0;width:34px;height:32px;font-size:19px}
.referral-clear-flow .referral-wallet-label{flex-basis:100%;text-align:center}
.referral-clear-flow .referral-network-tier{display:grid;grid-template-columns:1fr 1fr}
.referral-clear-flow .referral-network:after{left:0;right:auto;top:45px;bottom:90px;width:2px;height:auto}
.referral-clear-flow .referral-network:before{left:-2px;right:auto;top:45px;bottom:90px;width:6px;height:auto;background-size:6px 24px;animation-name:referral-return-up}
.referral-clear-flow .referral-network-tier:after{left:-24px;top:50%;bottom:auto;width:23px;height:2px}
.referral-clear-flow .referral-network-tier:before{left:-27px;top:calc(50% - 2px);bottom:auto}
.referral-clear-flow .referral-user-node{min-height:0;padding:18px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.referral-clear-flow .referral-user-node .referral-avatar{width:52px;height:52px;font-size:25px;margin:12px auto}
.referral-clear-flow .referral-your-income,.referral-clear-flow .referral-network-tier:nth-child(2) .referral-your-income{padding:20px 8px;border-top:0;border-left:1px solid #61799f55;border-radius:0 16px 16px 0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.referral-clear-flow .referral-your-income>strong,.referral-clear-flow .referral-network-tier:nth-child(2) .referral-your-income>strong{font-size:40px}
#main .referral-clear-flow .referral-user-node h3{font-size:18px}
#main .referral-clear-flow .referral-user-node p{font-size:12px}
.referral-clear-flow .referral-invite-arrow{left:25%;top:-59px;width:90px;transform:translateX(-50%)}
.referral-clear-flow .referral-invite-arrow svg{width:56px;height:22px;transform:rotate(90deg);margin:8px auto 0}
.referral-clear-flow .referral-invite-arrow>span{font-size:12px}
.referral-clear-flow .referral-return-label{margin-top:18px}
.cashout-steps{gap:7px;grid-template-columns:1fr 22px 1fr 22px 1fr}
.cashout-step{flex-direction:column;text-align:center;padding:14px 6px;gap:8px}
.cashout-step strong{font-size:15px}
.cashout-step>div>span{font-size:11px}
.cashout-arrow{font-size:22px}}
@media(max-width:600px){.referral-cashout{padding:20px 16px}
.cashout-heading{flex-direction:column;align-items:flex-start;gap:9px}
#main .cashout-heading h3{font-size:20px}
.cashout-steps{grid-template-columns:1fr;gap:8px}
.cashout-step{flex-direction:row;text-align:left;padding:12px 14px;gap:14px}
.cashout-step strong{font-size:17px}
.cashout-step>div>span{font-size:12px}
.cashout-arrow{font-size:0;line-height:18px}
.cashout-arrow:after{content:'↓';font-size:22px}
.referral-clear-flow .referral-your-income>span:first-child{font-size:11px}
.referral-clear-flow .referral-income-target{font-size:11px}}
@media(prefers-reduced-motion:reduce){.referral-clear-flow .invite-current{animation:none;stroke-dasharray:none}}
@media(max-width:360px){.referral-clear-flow{padding-left:12px;padding-right:12px}
.referral-clear-flow .referral-network{padding-left:18px}
.referral-clear-flow .referral-network-tier:after{left:-18px;width:17px}
.referral-clear-flow .referral-network-tier:before{left:-21px}
.referral-clear-flow .referral-origin:before{left:-18px;width:18px}
.referral-clear-flow .referral-user-node{padding:16px 6px}
.referral-clear-flow .referral-level-tag{font-size:11px;padding:3px 6px}
.referral-clear-flow .referral-your-income,.referral-clear-flow .referral-network-tier:nth-child(2) .referral-your-income{padding:16px 5px}
.referral-clear-flow .referral-your-income>strong,.referral-clear-flow .referral-network-tier:nth-child(2) .referral-your-income>strong{font-size:32px}
.referral-clear-flow .referral-your-income>strong>span{font-size:14px}
.referral-clear-flow .referral-your-income small{font-size:18px}
.referral-clear-flow .referral-your-income>span:first-child{font-size:10px;overflow-wrap:anywhere}
.referral-clear-flow .referral-income-target{font-size:10px}
.referral-clear-flow .referral-origin>span:not(.referral-avatar){font-size:12px}}
.referral-growth .growth-stages{margin-bottom:0;gap:64px}
.referral-growth .growth-stage{--growth-step:0;isolation:isolate}
.growth-color-flow{position:absolute;inset:0;border-radius:inherit;overflow:hidden;pointer-events:none;z-index:-1}
.growth-color-flow:before{content:'';position:absolute;left:var(--growth-flow-x,0px);top:var(--growth-flow-y,0px);width:var(--growth-flow-width,100%);height:var(--growth-flow-height,100%);background:linear-gradient(90deg,transparent 0%,#e4edff94 24%,#bcd5ffb3 40%,#c2ece7b3 58%,#e7f6f6b3 74%,transparent 100%);transform:translateX(-100%);animation:growth-color-drift 18s linear infinite;animation-delay:-3s;animation-play-state:paused}
.referral-growth .growth-expand{width:64px;top:136px;color:#4d6da4}
.growth-expand>span{display:block;font-size:10px;line-height:1.5;white-space:nowrap}
.growth-expand svg{display:block;width:64px;height:28px;fill:none;stroke-linecap:round;stroke-linejoin:round;margin-top:8px}
.growth-arrow-base{stroke:#94acd4;stroke-width:2}
.growth-arrow-charge{stroke:#416dec;stroke-width:3;stroke-dasharray:22 78;animation:growth-arrow-charge 8s linear infinite;animation-delay:calc(1.4s + var(--growth-step)*2s);animation-play-state:paused;filter:drop-shadow(0 0 3px #6285ed80)}
.referral-growth{--growth-cycle:8s}
.growth-collection{position:relative;height:96px;color:#247765;text-align:center;padding:58px 0 10px}
.growth-collection svg{position:absolute;left:0;top:0;width:100%;height:100%;fill:none;stroke-linejoin:round;stroke-linecap:round;pointer-events:none;overflow:visible}
.growth-collection .growth-collect-mobile{display:none}
.growth-collect-base{vector-effect:non-scaling-stroke}
.growth-collect-base{stroke:#b2d9cc;stroke-width:1.5}
.growth-collect-charge{stroke:#29b899;stroke-width:3;stroke-dasharray:18 100;stroke-dashoffset:18;opacity:0;animation:growth-collect-charge var(--growth-cycle) linear infinite;animation-play-state:paused;filter:drop-shadow(0 0 3px #44c5a780)}
.growth-collect-charge.collect-down{animation-name:growth-collect-down}
.growth-collection>span{position:relative;display:inline-block;background:#eff9f5;border:1px solid #d2e9df;border-radius:20px;font-size:12px;padding:4px 14px;line-height:1.7}
.growth-collection b{margin-left:7px;font-size:16px}
.growth-total-amount{position:relative;isolation:isolate;min-width:0}
.growth-total-color{position:absolute;inset:-10px;border-radius:14px;overflow:hidden;pointer-events:none;z-index:-1}
.growth-total-color:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent,#67e7c647,transparent);transform:translateX(-105%);opacity:0;animation:growth-total-sweep var(--growth-cycle) linear infinite;animation-play-state:paused}
.growth-total-amount>strong{animation:growth-total-glow var(--growth-cycle) ease-in-out infinite;animation-play-state:paused}
.referral-growth.in-view .growth-color-flow:before,.referral-growth.in-view .growth-arrow-charge,.referral-growth.in-view .growth-collect-charge,.referral-growth.in-view .growth-total-color:before,.referral-growth.in-view .growth-total-amount>strong{animation-play-state:running}
@keyframes growth-color-drift{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
@keyframes growth-color-drift-vertical{from{transform:translateY(-100%)}to{transform:translateY(100%)}}
@keyframes growth-arrow-charge{0%{stroke-dashoffset:100;opacity:0}2%{opacity:1}20%{stroke-dashoffset:0;opacity:1}24%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes growth-collect-charge{0%{stroke-dashoffset:18;opacity:0}2%{opacity:1}40%{stroke-dashoffset:-100;opacity:1}41%,100%{stroke-dashoffset:-100;opacity:0}}
@keyframes growth-collect-down{0%,40%{stroke-dashoffset:18;opacity:0}41%{opacity:1}55%{stroke-dashoffset:-100;opacity:1}56%,100%{stroke-dashoffset:-100;opacity:0}}
@keyframes growth-total-sweep{0%,55%{transform:translateX(-105%);opacity:0}56%{opacity:1}90%{transform:translateX(105%);opacity:1}91%,100%{transform:translateX(105%);opacity:0}}
@keyframes growth-total-glow{0%,55%,92%,100%{color:#9cf2d4;text-shadow:none}68%,78%{color:#d0ffe9;text-shadow:0 0 18px #75eacb66}}
@media(max-width:1000px) and (min-width:701px){.referral-growth .growth-stages{gap:44px}
.referral-growth .growth-expand{width:44px}
.growth-expand svg{width:44px}
.growth-expand>span{font-size:9px}}
@media(max-width:700px){.referral-growth .growth-stages{gap:70px}
.referral-growth .growth-expand{left:50%;top:100%;width:130px;height:70px;flex-direction:column;gap:0;justify-content:center;transform:translateX(-50%)}
.growth-expand>span{font-size:11px}
.growth-expand svg{transform:rotate(90deg);width:48px;height:24px;margin-top:12px;margin-bottom:9px}
.growth-collection{height:78px;padding-top:43px}
.growth-collection .growth-collect-desktop{display:none}
.growth-collection .growth-collect-mobile{display:block;left:calc(50% - 10px);width:20px;height:100%}
.growth-collection>span{font-size:11px}}
@media(max-width:700px){.growth-color-flow:before{background:linear-gradient(180deg,transparent 0%,#e4edff94 24%,#bcd5ffb3 40%,#c2ece7b3 58%,#e7f6f6b3 74%,transparent 100%);transform:translateY(-100%);animation-name:growth-color-drift-vertical}}
@media(prefers-reduced-motion:reduce){.referral-growth .growth-color-flow:before,.referral-growth .growth-arrow-charge,.referral-growth .growth-collect-charge,.referral-growth .growth-total-color:before,.referral-growth .growth-total-amount>strong{animation:none!important;filter:none;text-shadow:none}
.growth-arrow-charge,.growth-collect-charge,.growth-total-color{display:none}}
@media(prefers-reduced-motion:reduce){.growth-color-flow:before{transform:none}}
.referral-growth .growth-seed{animation:growth-seed-charge 8s ease-in-out infinite;animation-play-state:paused}
.referral-growth.in-view .growth-seed{animation-play-state:running}
@keyframes growth-seed-charge{0%,20%,100%{border-color:#ccdaf4;box-shadow:0 0 0 14px #ffffff50}5%,12%{border-color:#87b4ed;box-shadow:0 0 0 14px #91bdef15,0 0 28px #6daae323}}
@media(max-width:700px){@keyframes growth-seed-charge{0%,20%,100%{border-color:#ccdaf4;box-shadow:none}5%,12%{border-color:#87b4ed;box-shadow:0 0 0 3px #91bdef15}}}
@media(prefers-reduced-motion:reduce){.referral-growth .growth-seed{animation:none!important}}
#dialog:has(.growth-example){width:min(1120px,calc(100vw - 32px));max-width:1120px;max-height:none;overflow:visible;border-radius:16px}
#dialog:has(.growth-example) .dialog-head{padding:12px 24px;border-radius:16px 16px 0 0}
#dialog:has(.growth-example) #dialog-body{padding:20px 28px;background:linear-gradient(130deg,#f6f8ff,#f0faf7);border-radius:0 0 16px 16px}
#dialog .growth-example>p.ge-note{font-size:10px;line-height:1.7;margin:10px 0 0;color:#667e98}
@keyframes ge-wash{from{background-position:150% 0}to{background-position:-150% 0}}
@keyframes ge-flow{0%{stroke-dashoffset:108;opacity:0}8%,55%{opacity:1}65%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes ge-receive{0%,62%{transform:translateX(-110%);opacity:0}68%{opacity:1}92%,100%{transform:translateX(110%);opacity:0}}
@media(max-height:760px){#dialog:has(.growth-example) #dialog-body{padding:12px 22px}}
@media(max-width:650px){#dialog:has(.growth-example){width:calc(100vw - 20px)}
#dialog:has(.growth-example) .dialog-head{padding:9px 14px}
#dialog:has(.growth-example) #dialog-body{padding:12px}
#dialog .growth-example>p.ge-note{font-size:9px;line-height:1.5;margin-top:8px}}
@media(max-height:500px) and (min-width:651px){#dialog:has(.growth-example) .dialog-head{padding:5px 16px}
#dialog:has(.growth-example) #dialog-body{padding:8px 16px}
#dialog .growth-example>p.ge-note{font-size:9px;line-height:1.4;margin-top:6px}}
#dialog .growth-example{line-height:1.4}
.growth-example .ge-total strong{font-weight:700}
.growth-example .ge-total small{line-height:1.4}
@media(max-height:650px) and (max-width:650px){#dialog:has(.growth-example) .dialog-head{padding:5px 12px}
#dialog:has(.growth-example) #dialog-body{padding:8px 10px}
#dialog .growth-example>p.ge-note{font-size:9px;margin-top:6px}}
@media(max-width:360px) and (max-height:650px){#dialog .growth-example{zoom:.88}}
@keyframes arg-use-wash{from{background-position:150% 0}to{background-position:-150% 0}}
@keyframes arg-use-current{0%,15%{transform:translateX(0);opacity:0}25%{opacity:1}60%{transform:translateX(15px);opacity:1}70%,100%{transform:translateX(15px);opacity:0}}
@keyframes example-invite-flow{0%{--example-orbit:0deg;background-position:0% 50%,center}50%{background-position:100% 50%,center}100%{--example-orbit:360deg;background-position:0% 50%,center}}
@keyframes invite-benefit-wash{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes invite-title-flow{from{background-position:250% 50%}to{background-position:0% 50%}}
/* Match diagram columns to enabled depth; one/two layers remain centered and readable. */
.referral-policy-section .referral-network{grid-template-columns:130px repeat(var(--referral-depth,3),minmax(0,1fr))}
.referral-policy-section .referral-network[data-depth="1"]{max-width:720px;margin-left:auto;margin-right:auto}
.referral-policy-section .referral-network[data-depth="2"]{max-width:1040px;margin-left:auto;margin-right:auto}
.referral-policy-section .referral-income-example{grid-template-columns:1.15fr repeat(var(--referral-depth,3),minmax(0,1fr))}
.referral-policy-section .growth-stages{grid-template-columns:repeat(var(--referral-depth,3),minmax(0,1fr))}
.referral-policy-section .growth-stages[data-depth="1"]{max-width:600px;margin-left:auto;margin-right:auto}
.referral-policy-section .growth-stages[data-depth="2"]{max-width:1020px;margin-left:auto;margin-right:auto}
.referral-policy-section .referral-gift-line{background:#e8f5ef;border:1px solid #cbe5dc;border-radius:10px;padding:14px 20px;color:#237962;margin-top:20px}
.referral-gift-card{display:flex;gap:28px;align-items:center;max-width:760px;padding:32px;border:1px solid #d1e3f5;border-radius:18px;background:linear-gradient(120deg,#edf3ff,#effaf5)}
.referral-gift-card strong{display:block;font-size:48px;color:#235add;margin:8px 0}.referral-gift-card p{margin:0}
@media(max-width:900px){.referral-policy-section .referral-network{grid-template-columns:1fr}.referral-policy-section .referral-income-example{grid-template-columns:repeat(var(--referral-depth,3),minmax(0,1fr))}.referral-policy-section .referral-example-price{grid-column:1/-1}}
@media(max-width:700px){.referral-policy-section{padding:48px 0}.referral-policy-section .section-inner{width:calc(100% - 36px)}.referral-policy-section h2{font-size:30px}.referral-policy-section .growth-stages{grid-template-columns:1fr}.referral-gift-card{align-items:flex-start;gap:16px;padding:22px}.referral-policy-section .referral-income-example{grid-template-columns:1fr}.referral-policy-section .referral-income-example>div{border:0;border-top:1px solid #dae4f3;padding:18px 0}}

.referral-policy-section .report-tip{position:absolute;right:0;top:calc(100% + 9px);padding:8px 12px;background:#152c48;color:white;border-radius:6px;font-size:12px;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none}
.referral-policy-section .referral-link-button:is(:hover,:focus-visible)>.report-tip{opacity:1;visibility:visible}

/* Return line ends at the last active tier, including one and two layer diagrams. */
@media(min-width:901px){.referral-policy-section .referral-network{gap:64px}.referral-policy-section .referral-network:before,.referral-policy-section .referral-network:after{left:65px;right:calc((100% - 130px - 64px * var(--referral-depth)) / var(--referral-depth) / 2)}.referral-policy-section .referral-invite-arrow{left:-64px;width:64px}.referral-policy-section .referral-origin:after{left:50%}}
.agent-page .referral-policy-section{scroll-margin-top:90px}
.agent-page .referral-policy-section a.button{color:#fff}
.agent-page .referral-policy-section .growth-heading h2{font-size:clamp(28px,3vw,42px);line-height:1.45;font-weight:650;letter-spacing:0}
@media(max-width:700px){.agent-page .referral-policy-section .growth-heading h2{font-size:28px;line-height:1.5}.referral-policy-section .section-number{margin-bottom:20px}}

.avatar-a{background:linear-gradient(145deg,#306b62,#1e414e);border-color:#70e2c680;color:#a6f8db}
.avatar-c{background:linear-gradient(145deg,#6a6b9e,#35496b)}
.avatar-d{background:linear-gradient(145deg,#38697b,#2b4165)}@media(max-width:700px){.referral-policy-section .referral-link-button>.report-tip{left:0;right:auto;width:250px;max-width:calc(100vw - 36px);white-space:normal}}
