.public-profile{--logo-tile-on-light:#1c1c21;--logo-tile-on-dark:#f1f2f6;--logo-tile-mixed:#e4e5ea;width:min(1100px,calc(100% - 32px));margin:38px auto 72px;color:var(--text-primary,#f4f1f8)}
.public-profile-card{overflow:visible;border:1px solid color-mix(in srgb,var(--profile-accent) 44%,transparent);border-radius:22px;background:var(--surface,#1e1e1e);box-shadow:0 18px 50px rgba(0,0,0,.2)}
.public-profile-banner{position:relative;min-height:clamp(210px,30vw,330px);border-radius:21px 21px 0 0;background-position:center;background-size:cover}
.public-profile-avatar-wrap{position:relative;z-index:3;height:clamp(100px,16vw,150px);margin:clamp(-75px,-8vw,-50px) clamp(20px,5vw,52px) 0;pointer-events:none}
.public-profile-avatar{display:block;width:clamp(100px,16vw,150px);height:clamp(100px,16vw,150px);object-fit:cover;border:5px solid var(--surface,#1e1e1e);border-radius:50%;background:#242127;box-shadow:0 8px 24px #0006}
.member-banner-title{position:absolute;inset:0;overflow:hidden;border-radius:inherit;pointer-events:none;user-select:none}
.member-banner-title-ghost{position:absolute;left:-.045em;bottom:-.18em;max-width:none;white-space:nowrap;text-transform:uppercase;font-size:clamp(6rem,22vw,16rem);font-weight:900;line-height:.8;letter-spacing:-.065em;color:rgba(255,255,255,.105);mix-blend-mode:soft-light}
.member-banner-title-front{position:static;display:block;max-width:100%;margin:0;color:#fff;font-size:1.1rem;font-weight:800;line-height:1.2;letter-spacing:-.02em;overflow-wrap:anywhere;text-overflow:ellipsis;text-transform:none;text-shadow:none}
.member-banner-title--card .member-banner-title-ghost{font-size:clamp(3.5rem,14vw,7rem);font-size:clamp(3.5rem,14cqi,7rem);bottom:-.16em}
.member-banner-title--card .member-banner-title-front{font-size:1.1rem}
.public-profile-body{padding:14px clamp(20px,5vw,52px) 30px;text-align:left}
.public-profile-name{margin:0 0 8px;font-size:clamp(1.65rem,4vw,2.35rem);line-height:1.12}
.public-profile-handle{margin:0;color:var(--text-muted,#b8b2c1);font-size:1rem}
.public-profile-role{display:table;max-width:100%;margin:12px 0;padding:7px 12px;border:1px solid color-mix(in srgb,var(--profile-accent) 65%,transparent);border-radius:999px;background:color-mix(in srgb,var(--profile-accent) 18%,transparent);font-size:.83rem;font-weight:750;overflow-wrap:anywhere}
.public-profile-favorite{display:flex;align-items:center;gap:10px;margin:18px 0 0;padding:12px 15px;border-radius:11px;background:var(--surface-raised,#29272b);overflow-wrap:anywhere}
.public-profile-favorite i{color:#c86aff}
.public-profile-bio{max-width:75ch;margin:20px 0 0;line-height:1.7;overflow-wrap:anywhere}
.public-profile-socials{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.profile-social{display:inline-flex;align-items:center;gap:9px;min-height:42px;padding:8px 13px;border:1px solid color-mix(in srgb,var(--profile-accent) 38%,transparent);border-radius:999px;color:inherit;text-decoration:none;background:color-mix(in srgb,var(--profile-accent) 10%,transparent)}
.profile-social:hover{border-color:var(--profile-accent);background:color-mix(in srgb,var(--profile-accent) 20%,transparent)}
.profile-social:focus-visible,.profile-pagination a:focus-visible,.profile-post-card a:focus-visible{outline:3px solid #c786ff;outline-offset:3px}
.profile-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0}
.profile-stats>div{display:flex;align-items:baseline;gap:10px;padding:17px 20px;border:1px solid var(--border-color,rgba(255,255,255,.1));border-radius:14px;background:var(--surface,#1e1e1e)}
.profile-stats strong{font-size:1.7rem;color:var(--profile-accent)}
.profile-stats span{color:var(--text-muted,#b8b2c1)}
.profile-content-section{margin:40px 0}
.profile-content-section h2{margin:0 0 16px;font-size:1.25rem;font-weight:700}
.profile-project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));align-content:start;align-items:stretch;gap:16px}
.profile-project-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--border-color,rgba(255,255,255,.12));border-radius:14px;background:var(--surface,#1e1e1e);color:var(--text-primary,#f4f1f8);text-decoration:none;transition:transform .16s ease,border-color .16s ease}
.profile-project-card:hover,.profile-post-card:hover{transform:translateY(-2px);border-color:var(--profile-accent,#a33aff)}
.profile-project-card:focus-visible,.profile-post-card:focus-visible{outline:3px solid color-mix(in srgb,var(--profile-accent,#a33aff) 78%,white);outline-offset:3px}
.profile-project-poster{position:relative;display:block;width:100%;aspect-ratio:4/3;overflow:hidden;background:var(--logo-tile-mixed)}
.profile-project-poster[data-logo-tone="light"]{background:var(--logo-tile-on-light)}
.profile-project-poster[data-logo-tone="dark"]{background:var(--logo-tile-on-dark)}
.profile-project-poster[data-logo-tone="mixed"]{background:var(--logo-tile-mixed)}
.profile-project-poster img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;padding:12px;box-sizing:border-box;background:transparent}
.profile-project-placeholder{display:grid;width:100%;height:100%;place-items:center;background:transparent;color:#d5c7e3;font-size:clamp(2rem,8vw,3.4rem);font-weight:700}
.profile-project-info{display:flex;flex:1;flex-direction:column;gap:10px;min-width:0;padding:12px}
.profile-project-title{display:-webkit-box;min-height:calc(2 * 1.3em);margin:0;overflow:hidden;color:var(--text-primary,#f4f1f8);font-size:.95rem;font-weight:600;line-height:1.3;text-decoration:none;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.profile-project-roles{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0;min-height:24px;margin-top:auto;overflow:visible}
.profile-role-chip{display:inline-flex;flex:0 0 auto;align-items:center;min-width:0;max-width:100%;padding:2px 8px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.06);color:var(--text-muted,#b8b2c1);font-size:.75rem;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}
.profile-role-chip[hidden]{display:none!important}
.profile-project-roles.js-chips{flex-wrap:nowrap;overflow:hidden}
.profile-project-roles.js-chips .profile-role-chip{max-width:none}
.profile-project-roles.js-chips .profile-role-chip.is-truncated{max-width:100%;overflow:hidden;text-overflow:ellipsis}
.profile-role-chip--more{cursor:help}
.profile-project-card.is-collapsed{display:none}
.profile-project-toggle{display:block;min-height:42px;margin:16px auto 0;padding:9px 17px;border:1px solid var(--border-color,rgba(255,255,255,.16));border-radius:999px;background:var(--surface,#1e1e1e);color:var(--text-primary,#f4f1f8);font:inherit;font-size:.9rem;font-weight:600;text-align:center;text-decoration:none;user-select:none;cursor:pointer;transition:border-color .16s ease,color .16s ease}
.profile-project-toggle:hover{border-color:var(--profile-accent,#a33aff);color:var(--text-primary,#f4f1f8)}
.profile-project-toggle:focus-visible{outline:3px solid color-mix(in srgb,var(--profile-accent,#a33aff) 78%,white);outline-offset:3px}
.profile-post-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.profile-post-card{display:flex;align-items:stretch;gap:14px;min-width:0;padding:10px;overflow:hidden;border:1px solid var(--border-color,rgba(255,255,255,.12));border-radius:14px;background:var(--surface,#1e1e1e);color:var(--text-primary,#f4f1f8);text-decoration:none;transition:transform .16s ease,border-color .16s ease}
.profile-post-thumb{position:relative;display:block;flex:0 0 200px;aspect-ratio:16/9;overflow:hidden;border-radius:9px;background:#29272b}
.profile-post-placeholder,.profile-post-thumb img{position:absolute;inset:0;width:100%;height:100%}
.profile-post-placeholder{display:grid;place-items:center;color:#b8b2c1;font-size:1rem;font-weight:700}
.profile-post-thumb img{z-index:1;object-fit:cover}
.profile-post-info{display:flex;flex:1;flex-direction:column;justify-content:center;gap:7px;min-width:0;padding:3px 2px}
.profile-post-info time{color:var(--text-muted,#b8b2c1);font-size:.8rem}
.profile-post-title{display:-webkit-box;overflow:hidden;color:var(--text-primary,#f4f1f8);font-size:1rem;font-weight:600;line-height:1.35;text-decoration:none;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.profile-post-excerpt{display:-webkit-box;overflow:hidden;color:var(--text-muted,#b8b2c1);font-size:.9rem;line-height:1.5;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.profile-empty{width:100%;margin:0;padding:24px;border:1px dashed var(--border-color,rgba(255,255,255,.2));border-radius:14px;background:var(--surface,#1e1e1e);color:var(--text-muted,#b8b2c1);text-align:center}
.profile-pagination{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.profile-pagination a{display:grid;place-items:center;min-width:38px;min-height:38px;border:1px solid var(--border-color,rgba(255,255,255,.16));border-radius:9px;color:inherit;text-decoration:none}
.profile-pagination a[aria-current=page]{border-color:var(--profile-accent);background:color-mix(in srgb,var(--profile-accent) 24%,transparent)}
[data-theme="light"] .public-profile{color:#211b28}
[data-theme="light"] .public-profile-card,[data-theme="light"] .profile-stats>div,[data-theme="light"] .profile-project-card,[data-theme="light"] .profile-post-card{background:#fff;border-color:color-mix(in srgb,var(--profile-accent) 24%,#d5d0dc)}
[data-theme="light"] .public-profile-avatar{border-color:#fff}
[data-theme="light"] .public-profile-handle,[data-theme="light"] .profile-stats span,[data-theme="light"] .profile-post-info time,[data-theme="light"] .profile-post-excerpt{color:#655d6c}
[data-theme="light"] .profile-project-card,[data-theme="light"] .profile-post-card,[data-theme="light"] .profile-project-toggle{color:#211b28}
[data-theme="light"] .profile-project-title,[data-theme="light"] .profile-post-title{color:#211b28}
[data-theme="light"] .profile-role-chip{background:#f2eff5;color:#514a58}
[data-theme="light"] .profile-post-thumb{background:#f2eff5}
[data-theme="light"] .profile-project-placeholder,[data-theme="light"] .profile-post-placeholder{color:#514a58}
[data-theme="light"] .public-profile-favorite,[data-theme="light"] .profile-empty{background:#f2eff5;color:#514a58}
[data-theme="light"] .profile-social{color:#30253c}
.member-banner-title-front{text-shadow:none}
.membro-card-new{position:relative}
.membro-card-link{position:absolute;z-index:1;inset:0;border-radius:inherit}
.membro-card-new:focus-within{outline:3px solid color-mix(in srgb,var(--cor-membro,#a33aff) 75%,white);outline-offset:3px}
.membro-card-new .card-banner{overflow:visible;border-radius:16px 16px 0 0}
.membro-card-new .card-banner-accent{z-index:2}
.membro-card-new .membro-socials{position:relative;z-index:2}
.membro-card-new .membro-socials .social-btn{position:relative}
@media(max-width:600px){.public-profile{width:min(100% - 20px,1100px);margin:18px auto 46px}.public-profile-banner{min-height:190px}.public-profile-avatar-wrap{height:94px;margin:-47px 18px 0}.public-profile-avatar{width:94px;height:94px}.public-profile-body{padding:12px 18px 22px}.public-profile-name{margin-bottom:7px;font-size:1.65rem}.public-profile-socials{gap:8px}.profile-social{font-size:.88rem}.profile-stats{gap:8px}.profile-stats>div{display:flex;flex-direction:column;gap:1px;padding:13px}}
@media(max-width:559px){.profile-post-card{flex-direction:column;gap:11px;padding:12px}.profile-post-thumb{flex:0 0 auto;width:100%}.profile-post-info{padding:1px 2px 2px}}
@media(prefers-reduced-motion:reduce){.membro-card-new{animation:none!important;transition:none!important}.profile-project-card,.profile-post-card,.profile-project-toggle{transition:none!important}.profile-project-card:hover,.profile-post-card:hover{transform:none}}
