.ref-stats{display:flex;flex-direction:column;gap:16px;padding-bottom:8px}.ref-stats__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ref-stats__stat{padding:12px;border-radius:14px;background:#ffffff0a;border:1px solid rgba(255,255,255,.08)}.ref-stats__stat-label{display:block;font-size:11px;font-weight:700;color:#ffffff73;margin-bottom:4px}.ref-stats__stat-value{display:inline-flex;align-items:center;gap:4px;font-size:18px;font-weight:800}.ref-stats__list{display:flex;flex-direction:column;gap:8px;max-height:280px;overflow:auto}.ref-stats__row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:12px;background:#ffffff08}.ref-stats__user{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.ref-stats__avatar{width:36px;height:36px;border-radius:50%;overflow:hidden;flex-shrink:0;background:#ffffff14}.ref-stats__avatar img,.ref-stats__avatar span{display:block;width:100%;height:100%;object-fit:cover}.ref-stats__avatar span{background:linear-gradient(135deg,#2481cc59,#ffffff14)}.ref-stats__name{font-size:13px;font-weight:700;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ref-stats__earned{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:800;flex-shrink:0;color:#86efac}.ref-stats__dep{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:800;flex-shrink:0}.ref-stats__muted{margin:0;text-align:center;color:#ffffff80;font-size:14px;font-weight:700}.profile-page{padding:8px 16px 24px;display:flex;flex-direction:column;gap:20px}.profile-page__hero{display:flex;flex-direction:column;align-items:center;gap:8px;padding-top:8px}.profile-page__avatar{width:88px;height:88px;border-radius:50%;overflow:hidden;background:var(--bg-card);border:2px solid rgba(255,255,255,.1);box-shadow:0 8px 32px #0006}.profile-page__avatar img,.profile-page__avatar-fallback{width:100%;height:100%;display:block;object-fit:cover}.profile-page__avatar-fallback{background:radial-gradient(circle at 35% 30%,#ffe8b8,#f4a261 45%,#e76f51)}.profile-page__name{margin:0;font-size:22px;font-weight:800;letter-spacing:-.02em}.profile-page__username{margin:0;font-size:14px;font-weight:700;color:var(--muted)}.profile-page__stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-page__stat{display:flex;flex-direction:column;gap:4px;padding:14px 12px;border-radius:16px;background:var(--bg-elevated);border:1px solid rgba(255,255,255,.08);box-shadow:0 8px 32px #00000059}.profile-page__stat-value{font-family:Space Grotesk,system-ui,sans-serif;font-size:22px;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.profile-page__stat-label{font-size:12px;font-weight:700;color:var(--muted);line-height:1.25}.profile-page__referral{display:flex;flex-direction:column;gap:10px}.profile-page__referral.profile-page__card{padding:16px}.profile-page__section-title{margin:0;font-size:16px;font-weight:800}.profile-page__referral-desc{margin:0;font-size:13px;font-weight:700;color:var(--muted);line-height:1.4}.profile-page__referral-link{display:block;width:100%;padding:12px 14px;border-radius:12px;background:var(--bg-card);border:1px solid rgba(255,255,255,.06);font-size:12px;font-weight:700;color:var(--blue-bright);word-break:break-all;line-height:1.35;text-align:left;cursor:pointer}.profile-page__copy{height:44px;border:none;border-radius:14px;background:linear-gradient(180deg,#fff3,#ffffff0f);border:1px solid rgba(255,255,255,.16);color:#fff;font-size:14px;font-weight:800;cursor:pointer;box-shadow:0 0 18px #ffffff1a,inset 0 1px #fff3;transition:transform .12s ease}.profile-page__copy:active{transform:scale(.98)}.profile-page__inventory-cta{margin-top:4px}.profile-page__actions{display:flex;flex-direction:column;gap:10px}.profile-page__inventory-card{display:flex;flex-direction:column;gap:12px;padding:16px 18px;border-radius:16px;border:1px solid rgba(255,255,255,.1);background:linear-gradient(180deg,#ffffff1a,#ffffff08)}.profile-page__inventory-card.has-items{padding-bottom:14px}.profile-page__inventory-head{display:flex;align-items:center;justify-content:space-between;gap:12px;text-decoration:none;color:inherit;font-size:16px;font-weight:800}.profile-page__inventory-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.profile-page__promo-row{display:flex;align-items:stretch;gap:8px;width:100%;min-width:0;box-sizing:border-box}.profile-page__promo-input{flex:1 1 0;min-width:0;width:0;height:44px;border-radius:14px;border:1px solid rgba(255,255,255,.1);background:#00000040;color:#fff;padding:0 14px;font-size:14px;font-weight:700;box-sizing:border-box}.profile-page__promo-btn{flex:0 0 auto;min-width:0;max-width:46%;padding:0 12px;font-size:13px;white-space:nowrap}.profile-page__promo-success{display:inline-flex;align-items:center;gap:6px;margin:0;font-size:13px;font-weight:800;color:#56f0c3}.profile-page__promo-error{margin:0;font-size:13px;font-weight:700;color:#ff6b8a}.profile-page__action{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:16px 18px;border-radius:16px;text-decoration:none;color:inherit;border:1px solid rgba(255,255,255,.1);background:#ffffff0a;font-size:16px;font-weight:800;transition:transform .12s ease,border-color .12s ease}.profile-page__action--primary{background:linear-gradient(180deg,#ffffff1a,#ffffff08)}.profile-page__action:active{transform:scale(.985)}.profile-page__action-meta{font-size:13px;font-weight:700;color:var(--muted)}.profile-page__card{display:flex;flex-direction:column;gap:10px;padding:16px;border-radius:18px;background:#ffffff08;border:1px solid rgba(255,255,255,.08)}.profile-page__referral-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.profile-page__btn{height:44px;border:none;border-radius:14px;background:#fff;color:#000;font-size:14px;font-weight:800;cursor:pointer}.profile-page__btn--ghost{background:#ffffff14;color:#fff;border:1px solid rgba(255,255,255,.1)}.profile-page__inventory-btn{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:16px 18px;border-radius:18px;background:var(--bg-elevated);border:1px solid rgba(255,255,255,.1);box-shadow:0 8px 32px #00000059;text-decoration:none;color:inherit;transition:transform .12s ease}.profile-page__inventory-btn:active{transform:scale(.98)}.profile-page__inventory-btn-label{font-size:16px;font-weight:800}.profile-page__inventory-btn-meta{font-size:13px;font-weight:700;color:var(--muted)}.profile-page__wallet{display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:20px;background:var(--bg-elevated);border:1px solid rgba(255,255,255,.08);box-shadow:0 8px 32px #00000059}.profile-page__wallet-address{width:100%;padding:12px 14px;border-radius:12px;background:var(--bg-card);border:1px solid rgba(255,255,255,.06);font-size:13px;font-weight:700;font-family:ui-monospace,Cascadia Code,Segoe UI Mono,monospace;color:var(--blue-bright);word-break:break-all;line-height:1.35;text-align:left;cursor:pointer;transition:transform .12s ease,border-color .12s ease}.profile-page__wallet-address:active{transform:scale(.98);border-color:#ffffff24}.profile-page__wallet-hint{margin:0;font-size:12px;font-weight:700;color:var(--muted)}.profile-page__inventory{display:flex;flex-direction:column;gap:12px}.profile-page__empty{margin:0;font-size:14px;font-weight:700;color:var(--muted)}.profile-page__inventory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.profile-page__gift{aspect-ratio:1;padding:0;border:1px solid rgba(255,255,255,.1);border-radius:14px;overflow:hidden;background:#ffffff08;box-shadow:0 0 18px color-mix(in srgb,var(--gift-glow) 30%,transparent);cursor:pointer}.profile-page__gift img{display:block;width:100%;height:100%;object-fit:cover}
