/* Codex.me · pagine pubbliche e social 0.5.98 */
body.codex-ui.is-public .experience-grid,body.codex-ui.is-public .social-shell{display:grid;grid-template-columns:minmax(190px,230px) minmax(0,700px) minmax(220px,290px);gap:1.1rem;align-items:start;padding-block:1.5rem 4.5rem}
body.codex-ui :where(.experience-left,.experience-right,.left-rail,.right-rail){position:sticky;top:calc(var(--cx-header) + 18px);display:grid;gap:1rem}
body.codex-ui :where(.experience-feed,.main-feed){display:grid;gap:1rem;min-width:0}
body.codex-ui :where(.hero-040,.welcome-panel){position:relative;overflow:hidden;padding:clamp(1.4rem,4vw,2.35rem);border-top:4px solid var(--cx-brand);background:#fff}
body.codex-ui :where(.hero-040,.welcome-panel) h1{max-width:720px;margin:.25rem 0 .85rem;font-size:clamp(2.25rem,6vw,4.75rem)}
body.codex-ui :where(.profile-card,.rail-nav,.status-card-040,.topics-card-040,.people-card-040){padding:1rem}
body.codex-ui .rail-nav{padding:.4rem}.rail-nav a{display:block;padding:.65rem .7rem;border-left:3px solid transparent;color:var(--cx-text-2);text-decoration:none}.rail-nav a:hover,.rail-nav a.active{border-left-color:var(--cx-brand-strong);background:var(--cx-brand-soft)}
body.codex-ui :where(.social-post,.post-card,.composer,.story-card,.page-card,.event-card,.album-card,.video-card){overflow:hidden;background:#fff;border:1px solid var(--cx-line);border-radius:var(--cx-radius)}
body.codex-ui :where(.post-head,.post-copy,.post-actions,.composer,.page-card,.event-card,.album-card,.video-card){padding:1rem}
body.codex-ui .post-head{display:flex;align-items:center;gap:.75rem;border-bottom:1px solid #e8edf2}
body.codex-ui .post-copy{font-size:1rem;line-height:1.68}.post-copy p:last-child{margin-bottom:0}
body.codex-ui .post-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.4rem;border-top:1px solid #e8edf2;background:#fbfcfd}
body.codex-ui .post-actions button,body.codex-ui .post-actions a{min-height:38px;padding:.45rem .65rem}
body.codex-ui .post-media img,body.codex-ui .single-media img{display:block;width:100%;max-height:860px;object-fit:contain;background:#f4f6f8}
body.codex-ui .profile-cover{height:clamp(150px,25vw,240px);border:1px solid var(--cx-line);border-bottom:0;background:linear-gradient(135deg,#e5f5ff,#f7fbfd)}
body.codex-ui .profile-summary{display:grid;grid-template-columns:120px minmax(0,1fr) auto;gap:1.2rem;align-items:end;padding:0 1.4rem 1.4rem;border:1px solid var(--cx-line);background:#fff}
body.codex-ui .profile-layout{display:grid;grid-template-columns:minmax(240px,300px) minmax(0,1fr);gap:1rem;margin-top:1rem}
body.codex-ui .auth-shell{min-height:620px;display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,440px);gap:clamp(2rem,6vw,5rem);align-items:center;padding-block:4rem 5rem}
body.codex-ui .auth-card{padding:clamp(1.25rem,3vw,2rem)}
body.codex-ui .reading-shell{max-width:860px}.single-copy{padding:clamp(1.2rem,4vw,2rem)}
body.codex-ui .project-statement{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,6vw,4rem);padding-block:4rem;border-bottom:1px solid var(--cx-line)}
body.codex-ui .legal-content{padding:clamp(1.25rem,4vw,2.4rem)}
body.codex-ui .messages-layout,body.codex-ui .messaging-layout{min-width:0;overflow:hidden}
