/* Instagram-like profile routes. Shared creator avatar/badge primitives keep
   their own ring/LIVE behavior; this file owns profile composition only. */
.social-screen.is-profile{padding:0 var(--safe-right) 0 var(--safe-left);background:var(--bg);scroll-padding-top:calc(var(--safe-top) + 62px)}
.profile-topbar{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;min-height:calc(56px + var(--safe-top));padding:var(--safe-top) 8px 0;border-bottom:0;background:rgba(14,14,16,.91)}
.social-screen .profile-topbar h1{margin:0;text-align:center;font-size:15px;font-weight:600;line-height:22px;letter-spacing:-.2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-topbar>.icon-button{width:44px;height:44px;min-width:44px;min-height:44px}
.profile-topbar>.icon-button>svg{width:22px;height:22px}
.profile-page-body{padding:20px 16px 28px}
.profile-header{padding:0}
.profile-identity{display:flex;align-items:center;gap:18px;min-height:96px}
.profile-avatar-slot{display:flex;align-items:center;justify-content:center;flex:none;width:92px;min-height:98px}
.profile-identity-copy{min-width:0;flex:1}
.social-screen .profile-identity-copy h2{display:flex;align-items:center;gap:6px;margin:0 0 5px;font-size:20px;line-height:26px;letter-spacing:-.45px;font-weight:600;overflow-wrap:anywhere}
.profile-identity-copy h2>.creator-badge-button{flex:none}
.profile-username{margin:0;font-size:13px;line-height:19px;color:var(--muted);overflow-wrap:anywhere}
.profile-bio{margin:12px 0 0;font-size:14px;line-height:20px}
.profile-bio>p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text)}
.profile-bio.is-expanded>p{display:block;-webkit-line-clamp:unset;overflow:visible}
.profile-bio>button{display:block;min-height:28px;padding:2px 0;color:var(--muted);font-size:12px;line-height:20px;font-weight:500}
.profile-link{display:inline-flex;align-items:center;gap:5px;max-width:100%;margin-top:8px;color:var(--text);font-size:12px;line-height:20px}
.profile-link svg{width:13px;height:13px;flex:none;rotate:-45deg}.profile-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:18px 0 15px;font-variant-numeric:tabular-nums}
.profile-stats.has-holders{grid-template-columns:repeat(4,minmax(0,1fr))}
.profile-stat{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:42px;gap:2px;min-width:0}
.profile-stat strong{font-size:15px;line-height:21px;font-weight:600;color:var(--text);white-space:nowrap}
.profile-stat span{font-size:11px;line-height:17px;font-weight:400;color:var(--muted);white-space:nowrap}
.profile-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.profile-actions.has-pro{grid-template-columns:repeat(3,minmax(0,1fr))}
.profile-actions>.profile-action{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;width:100%;height:44px;min-height:44px;margin:0;padding:0 10px;border:0;border-radius:14px;background:rgba(255,255,255,.065);color:var(--text);font-size:13px;line-height:18px;font-weight:500;white-space:nowrap}
.profile-actions>.profile-follow.primary{background:var(--accent);color:#151318}
.profile-actions>.profile-follow.secondary{background:rgba(255,255,255,.065);color:var(--text)}
.profile-pro-action svg{width:24px;height:24px;flex:none}
.profile-action-status{margin:10px 0 0;color:var(--muted);font-size:12px;line-height:18px;overflow-wrap:anywhere}
.profile-more-panel{position:absolute;z-index:25;right:12px;top:calc(100% + 4px);width:min(240px,calc(100% - 24px));padding:5px;border:0;border-radius:16px;background:var(--bg);box-shadow:0 6px 20px #0003;text-align:left}
.profile-more-panel>button{display:block;min-height:44px;width:100%;padding:8px 12px;text-align:left;font-size:13px;font-weight:500}
.profile-more-panel>p{margin:3px 8px 7px;padding:8px 4px 0;border-top:1px solid rgba(255,255,255,.08);font-size:11px;line-height:17px;color:var(--muted)}
.profile-token-section{margin:18px 0 0}
.profile-token-summary{display:flex;align-items:center;gap:5px;min-width:0;width:100%;height:56px;min-height:56px;padding:0 10px;border:0;border-radius:18px;background:var(--sheet-glass,rgba(14,14,16,.55));text-align:left;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden}
.profile-summary-hot-slot{display:inline-flex;align-items:center;flex:none}.profile-summary-hot-slot:empty{display:none}
.profile-summary-hot{display:inline-flex;align-items:center;gap:2px;padding:2px 4px;border-radius:8px;color:#FFB340;background:#FFB34029;font-size:9px;line-height:15px;font-weight:600}
.profile-summary-hot svg{width:10px;height:10px}
.profile-summary-ticker{flex:none;color:var(--muted);font-size:12px;line-height:18px;font-weight:500;letter-spacing:-.1px}
.profile-summary-price{display:block;flex:none;min-width:0;font-size:17px;line-height:24px;font-weight:600;letter-spacing:-.55px;color:var(--text)}
.profile-summary-change{flex:none;min-height:20px;padding:2px 5px;font-size:13px;line-height:17px;font-weight:600}
.profile-summary-volume{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:0;min-width:39px;margin-left:auto;flex:none}
.profile-summary-volume small{font-size:9px;line-height:13px;font-weight:400;color:var(--tertiary);letter-spacing:.2px}
.profile-summary-volume b{font-size:11px;line-height:16px;font-weight:500;color:var(--muted)}
.profile-summary-spark{display:block;width:56px;height:20px;flex:none;margin-left:auto;overflow:visible}
.profile-summary-spark path{fill:none;stroke:var(--text);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;opacity:.8}
.profile-token-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;margin:17px 1px 0;font-variant-numeric:tabular-nums}
.profile-token-stats:empty{display:none}.profile-token-stats>div{min-width:0}.profile-token-stats span{display:block;color:var(--tertiary);font-size:11px;line-height:16px;font-weight:400;text-transform:uppercase;letter-spacing:.3px}.profile-token-stats strong{display:block;margin-top:2px;font-size:15px;line-height:21px;font-weight:500;color:var(--text)}
.social-screen .profile-section-title{margin:24px 0 12px;font-size:13px;line-height:20px;font-weight:500;letter-spacing:0}
.social-screen .profile-posts-heading{margin-top:23px;padding-top:14px;border-top:0}
.profile-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;margin:0 -16px}
.profile-post-grid>button{position:relative;display:block;aspect-ratio:9/16;min-width:0;padding:0;overflow:hidden;border:0;border-radius:4px;background:var(--surface)}
.profile-post-grid>button>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:4px}
.profile-post-grid>button:after{content:'';position:absolute;inset:auto 0 0;height:35%;pointer-events:none;background:linear-gradient(transparent,rgba(0,0,0,.46))}
.profile-post-grid .profile-view-count{position:absolute;z-index:1;left:7px;bottom:7px;display:flex;align-items:center;gap:4px;padding:0;border:0;border-radius:0;background:none;color:white;white-space:nowrap;font-size:12px;line-height:18px;font-weight:600;font-variant-numeric:tabular-nums;text-shadow:0 1px 2px #0008}
.profile-view-count svg{width:12px;height:12px;stroke-width:1.9;fill:rgba(255,255,255,.1)}.profile-view-count b{font-size:inherit;font-weight:600}
.profile-grid-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:22px 0 13px;border-bottom:0}
.profile-grid-tabs>button{position:relative;min-height:42px;padding:8px;color:var(--muted);font-size:13px;font-weight:500}
.profile-grid-tabs>[aria-pressed=true]{color:var(--text)}.profile-grid-tabs>[aria-pressed=true]:after{content:'';position:absolute;bottom:-1px;left:35%;right:35%;height:2px;border-radius:2px;background:var(--text)}
.profile-creator-row{display:flex;align-items:center;gap:10px;min-height:64px}.profile-creator-row>.result-row{flex:1;min-width:0;padding-left:0}.profile-creator-row>.result-row>span{flex:1;min-width:0}
.profile-creator-row>.result-row strong,.profile-creator-row>.result-row small{display:block}
.profile-creator-row>.result-row small{font-size:11px;line-height:17px;color:var(--muted)}
.market-row>.creator-avatar{flex:none;margin-right:10px}
.market-row>.market-row-target{display:flex;align-items:center;gap:10px;flex:1;min-width:0;min-height:66px;padding:6px 0;text-align:left}
.market-row-target .market-name{flex:1;min-width:0}.market-row-target .market-name small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.market-row-target .market-price{margin-left:auto;flex:none;text-align:right}
@supports(backdrop-filter:blur(1px)){.profile-topbar{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.profile-token-summary{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}}
@media(max-width:400px){.profile-summary-hot>span{display:none}.profile-summary-hot{padding:2px 3px}.profile-token-summary{gap:4px}.profile-summary-volume{min-width:34px}.profile-summary-volume b{font-size:10px}.profile-summary-spark{width:48px}}
@media(max-width:350px){.profile-page-body{padding-left:14px;padding-right:14px}.profile-post-grid{margin-left:-14px;margin-right:-14px}.profile-identity{gap:12px}.profile-identity-copy h2{font-size:19px}.profile-actions{gap:6px}.profile-actions>.profile-action{padding:0 8px;font-size:12px}.profile-token-summary{padding:0 8px;gap:4px}.profile-summary-volume{display:none!important}.profile-summary-spark{width:36px}.profile-summary-ticker{font-size:12px}.profile-summary-change{padding-left:4px;padding-right:4px}.profile-token-stats{gap:12px 16px}.market-row>.creator-avatar{margin-right:8px}.market-row>.market-row-target{gap:7px}}
@media(prefers-reduced-motion:reduce){.profile-page-body *{scroll-behavior:auto}}
