/* Codex.me · profilo pubblico 0.5.104 */
body.codex-ui .profile-page{width:min(1280px,calc(100% - 32px));padding-top:28px}
body.codex-ui .profile-cover{height:clamp(190px,25vw,330px);border:1px solid var(--cx-line);background:linear-gradient(135deg,#dfeef9,#f6f9fc)}
body.codex-ui .profile-cover img{width:100%;height:100%;object-fit:cover}
body.codex-ui .profile-summary{position:relative;display:grid;grid-template-columns:160px minmax(0,1fr) auto;gap:22px;align-items:end;padding:0 28px 28px;background:#fff}
body.codex-ui .profile-summary .profile-avatar.large{width:150px;height:150px;margin-top:-76px;border:6px solid #fff;background:#fff;box-shadow:0 0 0 1px var(--cx-line)}
body.codex-ui .profile-main{min-width:0;padding-top:24px}.profile-main h1{margin:0 0 4px;font-size:clamp(2.25rem,5vw,4.75rem);overflow-wrap:normal;word-break:normal}.profile-main .handle{font-size:1rem;font-weight:780}
body.codex-ui .profile-main>p{max-width:760px}.profile-facts{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:12px}.profile-facts>*{min-width:0}
body.codex-ui .profile-metrics{display:grid;grid-template-columns:repeat(3,minmax(110px,1fr));max-width:720px;margin-top:22px;border:1px solid var(--cx-line)}
body.codex-ui .profile-metrics span{display:grid;gap:2px;padding:11px 14px;color:var(--cx-muted);font-size:.78rem}.profile-metrics span+span{border-left:1px solid var(--cx-line)}.profile-metrics strong{color:var(--cx-text);font-size:1.25rem}
body.codex-ui .profile-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding-top:24px}.profile-actions>*{white-space:nowrap}.profile-role{display:inline-flex;min-height:42px;align-items:center;padding:0 13px;background:var(--cx-brand-soft);color:var(--cx-brand-dark);font-weight:850}
body.codex-ui .profile-tabs{position:sticky;top:calc(var(--cx-header) + 8px);z-index:12;overflow-x:auto;white-space:nowrap;background:#fff}
@media(max-width:900px){body.codex-ui .profile-summary{grid-template-columns:118px minmax(0,1fr);padding-inline:20px}.profile-summary .profile-actions{grid-column:1/-1;justify-content:flex-start;padding-top:0}.profile-summary .profile-avatar.large{width:112px;height:112px;margin-top:-58px}.profile-main h1{font-size:clamp(2rem,8vw,3.25rem)}}
@media(max-width:600px){body.codex-ui .profile-page{width:100%;padding-top:0}.profile-cover{height:180px}.profile-summary{grid-template-columns:88px minmax(0,1fr);gap:14px;padding:0 16px 20px}.profile-summary .profile-avatar.large{width:88px;height:88px;margin-top:-44px;border-width:4px}.profile-main{padding-top:14px}.profile-main h1{font-size:clamp(1.8rem,10vw,2.7rem)}.profile-metrics{grid-template-columns:repeat(3,1fr);margin-inline:-104px 0}.profile-metrics span{min-width:0;padding:9px 7px;text-align:center}.profile-metrics strong{font-size:1.05rem}.profile-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.profile-actions>*{width:100%;white-space:normal}.profile-role{grid-column:1/-1;justify-content:center}.profile-tabs{top:var(--cx-header);margin-top:10px;border-inline:0}}
