:root{--brand:#29cc88;--brand-dark:#2e996c;--brand-soft:#ecfdf4;--bg:#f4f4f5;--surface:#fff;--bg-warning:#fff9eb;--bg-error:#fff1f0;--bg-success:#e7faf1;--bg-disabled:#f4f4f5;--text:#18181b;--text-2:#3f3f46;--text-3:#71717b;--text-brand:#2e996c;--text-error:#c52c23;--text-warning:#942e0c;--text-disabled:#a1a1aa;--text-on:#fff;--border:#d4d4d8;--border-soft:#e4e4e7;--border-brand:#29cc88;--border-error:#ff584d;--border-warning:#ffbf4a;--icon:#18181b;--icon-2:#71717b;--icon-brand:#29cc88;--icon-brand-dark:#2e996c;--icon-error:#c52c23;--icon-on:#fff;--icon-disabled:#a1a1aa;--icon-ph:#9f9fa9;--brand-soft-2:#f1fef9;--warning:#ffbf4a;--warning-soft:#fff9eb;--warning-text:#942e0c;--danger:#ff584d;--success:#aceecf;--r1:4px;--r2:8px;--r3:12px;--r4:16px;--r5:20px;--r6:24px;--r7:32px;--s1:4px;--s2:8px;--s3:12px;--s4:16px;--s5:20px;--s6:24px;--s7:32px}*,:before,:after{box-sizing:border-box}html,body{background:var(--bg);min-height:100%;color:var(--text);margin:0;font-family:Vazirmatn,Tahoma,sans-serif}button,input{font:inherit}button{cursor:pointer}button:focus-visible,.clickable:focus-visible{outline-offset:2px;outline:3px solid #29cc8847}.device{background:var(--bg);width:min(430px,100vw);min-height:100vh;margin:0 auto;position:relative}.app{background:var(--bg);min-height:100%;padding-bottom:92px;position:relative}.appbar{background:var(--surface);height:56px;padding:0 var(--s4);z-index:20;justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.appbar-title{white-space:nowrap;font-size:16px;font-weight:700;line-height:24px;position:absolute;left:50%;transform:translate(-50%)}.icon-btn{border-radius:var(--r2);width:40px;height:40px;color:var(--icon);background:0 0;border:0;place-items:center;display:grid}.icon-btn:active{background:var(--bg)}.content{padding:var(--s4)}.btn{min-height:48px;padding:0 var(--s4);justify-content:center;align-items:center;gap:var(--s2);box-shadow:none;border:0;border-radius:100px;font-size:14px;font-weight:700;line-height:24px;text-decoration:none;display:inline-flex}.btn-primary{background:var(--brand);color:var(--text-on)}.btn-primary:active{background:var(--brand-dark)}.btn-secondary{background:var(--surface);color:var(--text);border:1px solid var(--border)}.btn-secondary:active{background:var(--bg)}.btn-ghost{color:var(--text-brand);background:0 0;min-height:auto;padding:0;font-size:14px;font-weight:500;line-height:24px}.btn[disabled]{opacity:.5;cursor:not-allowed}.btn-full{width:100%}.section{margin-top:var(--s4)}.section-head{margin-bottom:var(--s2);justify-content:space-between;align-items:center;display:flex}.section-title{font-size:16px;font-weight:700;line-height:24px}.section-link{color:var(--text-brand);background:0 0;border:0;padding:0;font-size:12px;font-weight:500;line-height:16px}.card{background:var(--surface);border-radius:var(--r3);border:0}.eyebrow{color:var(--text-3);margin-bottom:4px;font-size:12px;font-weight:500;line-height:16px}.tag{border-radius:var(--r1);white-space:nowrap;align-items:center;height:auto;min-height:24px;padding:4px 8px;font-size:12px;font-weight:500;line-height:16px;display:inline-flex}.tag-neutral{background:var(--bg);color:var(--text-2)}.tag-brand{background:var(--brand-soft);color:var(--text-brand)}.tag-success{background:var(--bg-success);color:#237a56}.tag-warning{background:var(--bg-warning);color:var(--text-warning)}.tag-danger{background:var(--bg-error);color:var(--text-error)}.list-card{border-radius:var(--r3);overflow:hidden}.row{align-items:center;gap:var(--s3);border-bottom:1px solid var(--border-soft);background:var(--surface);min-height:64px;padding:12px 16px;display:flex}.row:last-child{border-bottom:0}.row.clickable:active{background:var(--bg)}.avatar{background:var(--brand-soft);width:40px;height:40px;color:var(--text-brand);border-radius:50%;flex:none;place-items:center;font-size:14px;font-weight:700;line-height:24px;display:grid}.row-main{flex:1;min-width:0}.row-title{white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:500;line-height:24px;overflow:hidden}.row-sub{color:var(--text-3);font-size:12px;line-height:16px}.reward-card{padding:0;overflow:hidden}.reward-head{justify-content:space-between;align-items:flex-start;gap:var(--s3);display:flex}.reward-icon{border-radius:var(--r2);background:var(--brand-soft);width:40px;height:40px;color:var(--text-brand);flex:none;place-items:center;display:grid}.reward-main{flex:1}.reward-title{font-size:14px;font-weight:700;line-height:24px}.reward-desc{color:var(--text-3);font-size:12px;line-height:16px}.coupon-box{background:var(--bg);border-radius:var(--r2);justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding:12px;display:flex}.coupon-code{letter-spacing:.6px;text-align:left;direction:ltr;font-size:16px;font-weight:700;line-height:24px}.coupon-label{color:var(--text-3);margin-bottom:2px;font-size:10px;line-height:12px}.info-note{gap:var(--s2);background:var(--bg);border-radius:var(--r2);color:var(--text-2);border:0;padding:12px;font-size:12px;line-height:20px;display:flex}.sticky-cta{max-width:430px;padding:8px 16px calc(8px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--border-soft);z-index:15;margin:0 auto;position:fixed;bottom:0;left:0;right:0}.sticky-cta.is-hidden{display:none}.empty-wrap{padding:var(--s4) var(--s4) 96px}.segment-wrap{background:var(--surface);z-index:10;padding:8px 16px 0;position:sticky;top:56px}.segment{background:var(--bg);border-radius:var(--r2);grid-template-columns:repeat(4,1fr);margin-bottom:8px;padding:4px;display:grid}.seg-btn{border-radius:var(--r1);min-height:36px;color:var(--text-3);background:0 0;border:0;font-size:12px;font-weight:500;line-height:16px}.seg-btn.active{background:var(--surface);color:var(--text);border:1px solid var(--border);font-weight:700}.list-page{padding:12px 16px 100px}.detail-card{padding:var(--s4)}.person-head{align-items:center;gap:var(--s3);display:flex}.person-head .avatar{width:48px;height:48px}.person-name{font-size:16px;font-weight:700;line-height:24px}.person-meta{color:var(--text-3);font-size:12px;line-height:16px}.timeline{margin-top:20px}.step{gap:var(--s2);grid-template-columns:24px 1fr;padding-bottom:16px;display:grid;position:relative}.step:last-child{padding-bottom:0}.step-dot{border:1px solid var(--border);background:var(--surface);z-index:2;border-radius:50%;place-items:center;width:20px;height:20px;font-size:10px;display:grid}.step.done .step-dot{background:var(--brand);border-color:var(--brand);color:var(--text-on)}.step:after{content:"";background:var(--border-soft);width:2px;height:calc(100% - 10px);position:absolute;top:20px;right:9px}.step:last-child:after{display:none}.step.done:after{background:#b7eed6}.step-title{font-size:14px;font-weight:500;line-height:24px}.step-sub{color:var(--text-3);font-size:12px;line-height:16px}.reward-list{flex-direction:column;gap:10px;display:flex}.reward-state-card{padding:14px}.sheet-backdrop{z-index:50;background:#18181b8f;justify-content:center;align-items:flex-end;display:none;position:fixed;inset:0}.sheet-backdrop.open{display:flex}.sheet{background:var(--surface);border-radius:var(--r4) var(--r4) 0 0;width:100%;max-width:430px;padding:0 var(--s4) calc(var(--s4) + env(safe-area-inset-bottom));max-height:88%;animation:.2s ease-out sheetIn;overflow:auto}@keyframes sheetIn{0%{opacity:.5;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.sheet-title{border-bottom:1px solid var(--border-soft);align-items:center;min-height:56px;margin:0;font-size:16px;font-weight:700;line-height:24px;display:flex}.sheet-sub{color:var(--text-2);margin:16px 0;font-size:14px;line-height:24px}.share-preview{background:var(--bg);border-radius:var(--r2);border:0;margin-bottom:12px;padding:12px}.share-preview-title{font-size:14px;font-weight:700;line-height:24px}.share-preview-text{color:var(--text-2);margin-top:4px;font-size:12px;line-height:20px}.sheet-actions{flex-direction:column;gap:0;display:flex}.action-row{border:0;border-bottom:1px solid var(--border-soft);background:var(--surface);align-items:center;gap:var(--s3);text-align:right;border-radius:0;width:100%;min-height:56px;padding:0;display:flex}.action-row:last-child{border-bottom:0}.action-row:active{background:var(--bg)}.action-icon{border-radius:var(--r2);background:var(--brand-soft);width:32px;height:32px;color:var(--icon-brand-dark);place-items:center;display:grid}.action-text{font-size:14px;font-weight:500;line-height:24px}.toast{bottom:94px;right:var(--s4);left:var(--s4);background:var(--text);max-width:398px;color:var(--text-on);border-radius:var(--r2);z-index:80;margin:0 auto;padding:12px 16px;font-size:12px;line-height:20px;display:none;position:fixed}.toast.show{animation:.18s ease-out toastIn;display:block}@keyframes toastIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.invitee{background:var(--surface);min-height:100vh;padding:16px 16px 32px}.invitee-brand{align-items:center;gap:var(--s2);color:var(--text-brand);font-size:16px;font-weight:700;line-height:24px;display:flex}.karafs-mark{border-radius:var(--r2);background:var(--brand);flex:none;width:28px;height:28px;position:relative}.karafs-mark:after{content:"";background:var(--text-on);border-radius:8px;width:8px;height:14px;position:absolute;top:7px;right:9px;transform:rotate(24deg)}.invite-box{text-align:center;margin-top:32px}.invite-avatar{background:var(--brand-soft);width:64px;height:64px;color:var(--text-brand);border-radius:50%;place-items:center;margin:0 auto 12px;font-size:18px;font-weight:700;display:grid}.invite-box h1{margin:0 0 8px;font-size:18px;font-weight:700;line-height:24px}.invite-box p{color:var(--text-2);max-width:330px;margin:0 auto;font-size:14px;line-height:24px}.referral-code-box{background:var(--bg);border-radius:var(--r2);justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.referral-code-value{text-align:left;letter-spacing:.6px;direction:ltr;font-size:16px;font-weight:700;line-height:24px}.system-state{text-align:center;padding:56px 24px}.state-icon{border-radius:var(--r3);background:var(--brand-soft);width:64px;height:64px;color:var(--icon-brand-dark);place-items:center;margin:0 auto 18px;display:grid}.system-state h2{margin:0 0 6px;font-size:18px;font-weight:700;line-height:24px}.system-state p{color:var(--text-3);max-width:300px;margin:0 auto 20px;font-size:14px;line-height:24px}.skeleton{background:linear-gradient(90deg,#ecedef 25%,#f6f6f7 37%,#ecedef 63%) 0 0/400% 100%;animation:1.4s infinite shimmer}@keyframes shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.skel-line{border-radius:var(--r2);height:14px;margin-bottom:10px}.skel-card{border-radius:var(--r3);height:112px;margin-bottom:12px}.celebration{z-index:70;text-align:center;background:#fffffffa;place-items:center;padding:24px;display:none;position:fixed;inset:0}.celebration.open{display:grid}.celebration-burst{background:var(--brand-soft);border-radius:24px;place-items:center;width:96px;height:96px;margin:0 auto 18px;font-size:36px;display:grid}.celebration h2{margin:0 0 8px;font-size:18px;font-weight:700;line-height:24px}.celebration p{color:var(--text-2);margin:0 0 22px;font-size:14px;line-height:24px}.level-stepper{margin:var(--s4) 0 var(--s2);align-items:flex-start;display:flex}.stepper-item{flex-direction:column;align-items:center;gap:5px;display:flex}.stepper-node{border:2px solid var(--border);background:var(--surface);z-index:1;width:28px;height:28px;color:var(--text-3);border-radius:50%;place-items:center;font-size:11px;font-weight:700;display:grid;position:relative}.stepper-node.done{background:var(--brand);border-color:var(--brand);color:var(--text-on)}.stepper-node.current{border-color:var(--brand);color:var(--text-brand);background:var(--brand-soft)}.stepper-label{color:var(--text-3);white-space:nowrap;font-size:10px;line-height:12px}.stepper-label.current{color:var(--text-brand);font-weight:700}.stepper-line{background:var(--border-soft);flex:1;align-self:flex-start;height:2px;margin-top:13px;margin-bottom:17px}.stepper-line.done{background:var(--brand)}.card-header{padding:var(--s4);border-bottom:1px solid var(--bg);justify-content:space-between;align-items:center;display:flex}.card-header-title{color:var(--text-3);font-size:14px;font-weight:500;line-height:24px}.ref-history{padding:0 var(--s4);flex-direction:column;display:flex}.ref-history-item{border-bottom:1px solid var(--border-soft);cursor:pointer;justify-content:space-between;align-items:center;gap:12px;padding:16px 0;display:flex}.ref-history-item:last-child{border-bottom:0}.ref-history-item:active{opacity:.7}.ref-history-label{color:var(--text);text-align:right;flex:1;font-size:14px;font-weight:500;line-height:24px}.ref-history-footer{border-top:1px solid var(--border-soft);margin:0 calc(-1 * var(--s4))}.ref-view-all{cursor:pointer;width:100%;height:56px;color:var(--brand);background:0 0;border:0;justify-content:center;align-items:center;font-size:14px;font-weight:700;line-height:24px;display:flex}.ref-view-all:active{opacity:.7}.shop-row{border:0;border-top:1px solid var(--border-soft);cursor:pointer;width:100%;height:56px;color:var(--brand);margin-top:var(--s3);background:0 0;justify-content:center;align-items:center;font-size:14px;font-weight:700;line-height:24px;display:flex}.shop-row:active{opacity:.7}.hidden{display:none!important}.st{color:var(--text-2);align-items:center;gap:8px;font-size:12px;line-height:20px;display:flex}.sn{min-width:12px;color:var(--text-3);flex:none;font-size:12px;font-weight:500}
