/* Public wallet identity. Keep the existing RWI palette and mobile navigation. */
.profile-hero{padding:28px;background:var(--panel);border:1px solid var(--line);border-top:2px solid var(--lime);border-radius:12px;margin-top:14px}
.profile-identity{align-items:center;gap:24px}.profile-identity>div{min-width:0;flex:1}.profile-identity h1{font-size:clamp(28px,3vw,42px);line-height:1.1;overflow-wrap:anywhere;margin:8px 0 12px}
.profile-avatar{position:relative;flex:0 0 112px;width:112px;height:112px;border-radius:50%;overflow:hidden;border:1px solid #526532;background:#202b15;font:500 30px var(--mono);box-shadow:0 0 0 7px #141b0f}
.profile-avatar>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.profile-address{overflow-wrap:anywhere}.profile-bio{max-width:62ch;margin:12px 0 0;color:#ccd2c5;font:13px/1.7 var(--sans);overflow-wrap:anywhere}.profile-custom-note{display:block;margin-top:10px;font:9px/1.7 var(--mono);color:var(--muted)}
.profile-tools{margin-top:24px;flex-wrap:wrap}.profile-tools>*{min-height:44px}.profile-public-status:empty{display:none}.profile-navigation{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:22px 0}.profile-navigation>nav{display:flex;flex-wrap:wrap;gap:8px}.profile-navigation>nav a{color:var(--muted);text-decoration:none;padding:11px 13px;border:1px solid var(--line);border-radius:6px;font:10px/1.5 var(--mono)}.profile-navigation>nav a:hover,.profile-navigation>nav a:focus-visible{color:var(--lime);border-color:#627938}.profile-find{min-width:170px;max-width:440px;flex:1}.profile-find>summary{cursor:pointer;text-align:right;padding:12px 0;font:10px var(--mono);color:var(--lime)}.profile-find[open]{min-width:280px}.profile-find .profile-lookup{margin-top:12px}.profile-find .profile-lookup label{font-size:10px}.profile-find .profile-lookup>div{flex-wrap:wrap}.profile-find input{min-width:0}
.profile-stats{gap:12px;border:0;background:none;border-radius:0;margin:24px 0 36px;overflow:visible}.profile-stats>.profile-stat{border:1px solid var(--line);border-radius:9px;background:var(--panel);padding:22px 18px;min-width:0}.profile-stat>span{letter-spacing:.5px}.profile-stat>strong{margin:15px 0 10px;overflow-wrap:anywhere}.profile-stat>small{line-height:1.7}.profile-stat:nth-child(4)>strong{color:var(--lime)}
#profilePositions,#profileLaunches,#profileWalletHoldings{scroll-margin-top:calc(var(--site-header-height,53px) + 26px)}.profile-view .profile-section-heading{margin-top:38px}.profile-view .profile-holdings{border-radius:10px}
.profile-editor{width:min(590px,calc(100% - 24px));max-height:90dvh;overflow:auto}.profile-editor h2{margin:8px 0 12px}.profile-editor .dialog-copy{line-height:1.7}.profile-photo-field{display:flex;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid var(--line);margin-bottom:20px}.profile-photo-field>div{min-width:0;flex:1}.profile-photo-field label{margin-top:0}.profile-photo-field input[type=file]{max-width:100%;border:0;padding:0;background:transparent;font-size:11px;color:var(--muted)}.profile-photo-field input::file-selector-button{border:1px solid #414b34;border-radius:5px;background:#20261a;color:var(--text);padding:10px;min-height:44px;font:inherit;cursor:pointer;margin-right:8px}.profile-photo-field .text-button{margin-top:8px}.profile-photo-preview{flex:0 0 96px;width:96px;height:96px;display:grid;place-items:center;position:relative;border-radius:50%;overflow:hidden;background:#202b15;border:1px solid var(--line);color:var(--lime);font:20px var(--mono)}.profile-photo-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.profile-editor-actions{display:grid;grid-template-columns:1fr 1.6fr;gap:12px;margin-top:22px}.profile-editor-actions>button{margin:0;min-height:46px}.profile-editor input[type=text]{font-size:16px}.profile-editor small{white-space:normal}#profileEditStatus{min-height:3em;overflow-wrap:anywhere}#profileEditStatus.error{color:#ffaaa0}
.launch-image-canvas-wrap{display:flex;justify-content:center;margin:8px auto 16px}#profileImageCanvas{display:block;width:min(100%,290px);height:auto;aspect-ratio:1;border-radius:50%;background:#1f2819;border:1px solid #4d6131;touch-action:none;cursor:grab;outline-offset:4px}#profileImageCanvas:active{cursor:grabbing}.profile-editor .launch-image-zoom{display:grid;grid-template-columns:1fr auto;gap:8px}.profile-editor .launch-image-zoom label{margin:0}.profile-editor .launch-image-zoom input{grid-column:1/-1;width:100%;accent-color:var(--lime)}.profile-editor .launch-image-zoom output{font:12px var(--mono);color:var(--lime)}.launch-image-editor-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.launch-image-editor-tools>button{margin:0;min-height:44px;padding:10px;font-size:11px}
@media(max-width:1100px){.profile-stats>.profile-stat{border:1px solid var(--line)}.profile-navigation{flex-wrap:wrap}.profile-find{flex-basis:100%;max-width:none}.profile-find>summary{text-align:left}.profile-find .profile-lookup>div{flex-wrap:nowrap}}
@media(max-width:600px){.profile-hero{padding:22px 18px;margin-top:8px}.profile-identity{align-items:flex-start;gap:18px}.profile-avatar{flex-basis:76px;width:76px;height:76px;font-size:23px;box-shadow:0 0 0 4px #141b0f}.profile-identity h1{font-size:28px;margin:6px 0 10px}.profile-bio{font-size:12px}.profile-custom-note{font-size:8px}.profile-tools{margin-top:22px;gap:10px}.profile-tools>button,.profile-tools>a{font-size:10px;padding:11px 8px}.profile-navigation{margin:18px 0;gap:8px}.profile-navigation>nav{display:grid;grid-template-columns:1fr 1.2fr 1fr;width:100%;gap:6px}.profile-navigation>nav a{text-align:center;font-size:9px;padding:10px 5px;display:flex;align-items:center;justify-content:center}.profile-find{min-width:0}.profile-find[open]{min-width:0}.profile-stats{gap:10px}.profile-stats>.profile-stat{padding:17px 13px}.profile-stat>strong{font-size:22px}.profile-stat>span{font-size:8px}.profile-photo-field{gap:14px;align-items:flex-start}.profile-photo-preview{flex-basis:76px;width:76px;height:76px}.profile-photo-field input::file-selector-button{display:block;width:100%;margin:0 0 8px}.profile-editor{padding:20px}.profile-editor-actions>button{font-size:11px;padding:12px 8px}.profile-editor .launch-image-editor{padding:14px}}
@media(prefers-reduced-motion:reduce){.profile-view *{scroll-behavior:auto}}
