/* AE Studio · oferta de indicação do painel · 2026-09-19 */
.ae-referral-offer-wrap{position:relative;display:inline-flex;align-items:center}
.ae-referral-offer-wrap .ae-control-referral{border:1px solid rgba(193,172,255,.28);cursor:pointer}
.ae-referral-offer-wrap .ae-control-referral[aria-expanded="true"]{background:#4a2b8d;border-color:rgba(214,198,255,.42)}
.ae-referral-offer-card[hidden]{display:none!important}
.ae-referral-offer-card{position:absolute;z-index:1400;top:calc(100% + 14px);left:0;width:min(410px,calc(100vw - 28px));padding:22px 20px 18px;border:1px solid #e7e3ee;border-radius:18px;background:radial-gradient(circle at 91% 8%,rgba(122,93,241,.10),transparent 30%),linear-gradient(180deg,#fff 0%,#fff 77%,#f7f4fd 100%);box-shadow:0 22px 50px rgba(25,19,42,.18),0 6px 16px rgba(25,19,42,.07);color:#252129;transform-origin:18px -8px;animation:aeReferralOpen .18s ease-out}
@keyframes aeReferralOpen{from{opacity:0;transform:translateY(-5px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes aeReferralBump{0%{transform:scale(1)}40%{transform:scale(1.12)}100%{transform:scale(1)}}
.ae-referral-offer-card::before{content:"";position:absolute;top:-7px;left:22px;width:13px;height:13px;background:#fff;border-left:1px solid #e7e3ee;border-top:1px solid #e7e3ee;transform:rotate(45deg)}
.ae-referral-offer-card__head{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.ae-referral-offer-card__head>div{min-width:0;padding-top:1px}
.ae-referral-offer-card__head h2{margin:0;color:#222026;font-size:20px;line-height:1.2;letter-spacing:-.025em;font-weight:760}
.ae-referral-offer-card__head h2 sup{top:-.25em;font-size:11px;color:#716a78}
.ae-referral-offer-card__head p{margin:7px 0 0;color:#68626d;font-size:13px;line-height:1.45}
.ae-referral-offer-card__gift{position:relative;flex:0 0 58px;width:58px;height:58px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(145deg,#9d8ff7,#726ce5);color:#fff;box-shadow:0 14px 28px rgba(100,85,225,.24);transform:rotate(-7deg)}
.ae-referral-offer-card__gift::after{content:"";position:absolute;inset:7px;border-radius:11px;background:linear-gradient(135deg,rgba(255,255,255,.18),transparent 55%);pointer-events:none}
.ae-referral-offer-card__gift i{font-size:25px;transform:rotate(7deg)}
.ae-referral-offer-card__counter{display:flex;align-items:flex-end;gap:8px;min-height:47px;margin-top:21px}
.ae-referral-offer-card__counter strong{font-size:46px;line-height:.9;letter-spacing:-.05em;font-weight:680;color:#19171b;transition:color .2s ease}
.ae-referral-offer-card__counter strong.is-bump{animation:aeReferralBump .35s ease}
.ae-referral-offer-card__counter>span:not(.ae-referral-max-badge){padding-bottom:3px;color:#5f5a64;font-size:13px}
.ae-referral-max-badge{display:inline-flex!important;align-items:center;gap:5px;margin-left:3px;padding:5px 8px 5px 7px!important;border:1px solid #bfe3cb;border-radius:999px;background:#edf8f1;color:#177442!important;font-size:11px!important;font-weight:750;line-height:1}
.ae-referral-max-badge[hidden]{display:none!important}
.ae-referral-max-badge i{font-size:13px}
.ae-referral-offer-card.is-max .ae-referral-offer-card__counter strong{color:#177442}
.ae-referral-offer-card__timer{display:flex;align-items:center;gap:7px;margin-top:13px;color:#5b5661;font-size:13px;font-weight:500}
.ae-referral-offer-card__timer i{font-size:14px;color:#55505a}
.ae-referral-offer-card__progress{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:17px}
.ae-referral-offer-card__progress span{height:7px;border-radius:999px;background:#d4d1d7;transition:background-color .22s ease,transform .22s ease}
.ae-referral-offer-card__progress span.is-complete{background:#7658db}
.ae-referral-offer-card.is-max .ae-referral-offer-card__progress span.is-complete{background:#238151}
.ae-referral-reward{display:flex;align-items:flex-start;gap:11px;margin-top:15px;padding:12px 13px;border:1px solid #c7e6d2;border-radius:12px;background:#f2faf5}
.ae-referral-reward[hidden]{display:none!important}
.ae-referral-reward__icon{flex:0 0 31px;width:31px;height:31px;display:grid;place-items:center;border-radius:9px;background:#238151;color:#fff}
.ae-referral-reward__icon i{font-size:15px}
.ae-referral-reward div{display:grid;gap:3px;min-width:0}
.ae-referral-reward strong{color:#145f39;font-size:13px}
.ae-referral-reward span{color:#52705f;font-size:11px;line-height:1.4}
.ae-referral-offer-card__fineprint{margin:14px 0 6px;color:#77717c;font-size:10.5px;line-height:1.5}
.ae-referral-offer-card__status{min-height:16px;margin:0 0 14px;color:#6b6570;font-size:10.5px;line-height:1.4}
.ae-referral-offer-card__status.is-error{color:#a33939}
.ae-referral-offer-card__status.is-success{color:#1f7247}
.ae-referral-offer-card__copy{width:100%;min-height:45px;display:flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:11px;background:#18181b;color:#fff;cursor:pointer;font-size:13px;font-weight:750;transition:transform .16s ease,background .16s ease,box-shadow .16s ease,opacity .16s ease}
.ae-referral-offer-card__copy:hover:not(:disabled){background:#252529;box-shadow:0 8px 18px rgba(0,0,0,.12)}
.ae-referral-offer-card__copy:active:not(:disabled){transform:translateY(1px)}
.ae-referral-offer-card__copy:disabled{cursor:not-allowed;opacity:.56}
.ae-referral-offer-card__copy.is-copied{background:#246b4d}
.ae-referral-offer-card__copy i{font-size:16px}
.ae-referral-offer-card__follow{width:100%;min-height:40px;margin-top:9px;display:flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:10px;background:transparent;color:#27232c;cursor:pointer;font:inherit;font-size:13px;font-weight:650}
.ae-referral-offer-card__follow:hover{background:rgba(103,61,230,.07);color:#5431bc}
.ae-referral-offer-card__follow i{font-size:15px}
@media(max-width:980px){.ae-control-page .ae-referral-offer-wrap{display:none}}
@media(prefers-reduced-motion:reduce){.ae-referral-offer-card{animation:none}.ae-referral-offer-card__copy,.ae-referral-offer-card__progress span{transition:none}.ae-referral-offer-card__counter strong.is-bump{animation:none}}
