/* Shared public profile presentation. All data and permissions come from existing controllers. */
.profile-presentation{--profile-accent:var(--ui-color-primary);max-width:1180px;margin-inline:auto;color:var(--ui-color-text)}
.profile-view-tabs{display:flex;gap:4px;padding:8px;background:var(--ui-color-surface);border:1px solid var(--ui-color-border);border-radius:0 0 16px 16px;margin:0 0 22px;overflow-x:auto}
.profile-view-tabs button{flex:1;min-width:110px;min-height:48px;padding:10px 16px;background:transparent;color:var(--ui-color-text);border:0;border-bottom:3px solid transparent;border-radius:8px 8px 0 0;font:inherit;font-size:15px;font-weight:650;cursor:pointer;white-space:nowrap}
.profile-view-tabs button[aria-selected=true]{color:var(--profile-accent);background:var(--ui-color-primary-soft);border-bottom-color:var(--profile-accent)}
.profile-view-tabs button:focus-visible{outline:2px solid var(--profile-accent);outline-offset:2px}
.profile-view-panel[hidden]{display:none!important}.profile-view-panel{min-width:0;outline-offset:4px}.profile-view-empty{padding:28px;text-align:center;color:var(--ui-color-muted)}
.profile-presentation .profile-info-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:18px;align-items:start}
.profile-presentation .profile-info-card{min-width:0;padding:22px 24px;border:1px solid var(--ui-color-border);border-radius:16px;background:var(--ui-color-surface);overflow-wrap:anywhere}
.profile-presentation .profile-info-story{grid-row:span 2}.profile-presentation .profile-info-card h3{font-size:18px;line-height:1.35;margin:0 0 16px;padding-bottom:14px;border-bottom:1px solid var(--ui-color-border)}
.profile-presentation .profile-info-card dt{font-size:13px;color:var(--ui-color-muted);font-weight:600;margin-top:16px}.profile-presentation .profile-info-card dd{font-size:15px;line-height:1.65;margin:5px 0 0;white-space:pre-wrap}
.profile-presentation .profile-info>h2,.profile-presentation .profile-social>h2{font-size:21px;margin:12px 0 18px}.profile-presentation .profile-info{margin:0}.profile-presentation .profile-social{margin:0}
.profile-presentation .public-profile-section{margin:18px 0;padding:24px;border-radius:16px}.profile-presentation .public-profile-section>h2{font-size:21px;margin-bottom:18px}.profile-presentation .public-profile-about p{font-size:15px;line-height:1.7}
.profile-presentation .public-profile-stats{display:flex;flex-wrap:wrap;gap:8px 20px;margin:16px 0 0;padding:0 28px 18px}.profile-presentation .public-profile-stat{display:flex;gap:6px;padding:0;border:0;background:transparent;box-shadow:none}.profile-presentation .public-profile-stat strong{font-size:15px}.profile-presentation .public-profile-stat span{font-size:14px}
.profile-presentation .public-profile-hero{border-radius:18px 18px 0 0;overflow:hidden}.profile-presentation .public-profile-cover{aspect-ratio:16/5;max-height:340px}.profile-presentation .public-profile-hero-content{position:relative;margin-top:-64px;padding:0 28px 22px;grid-template-columns:128px minmax(0,1fr);align-items:end}.profile-presentation .public-profile-avatar{width:128px;border:4px solid var(--ui-color-surface);box-shadow:0 0 0 1px var(--profile-accent)}.profile-presentation .public-profile-title-row h1{font-size:32px;line-height:1.2}.profile-presentation .public-profile-bio{font-size:15px;line-height:1.5;max-width:650px}.profile-presentation .public-profile-username{font-size:14px}
.profile-presentation .member-profile-hero{position:relative;border:1px solid var(--ui-color-border);border-radius:18px 18px 0 0;background:var(--ui-color-surface);padding:24px;overflow:hidden}.profile-presentation .member-profile-cover{margin:-24px -24px 20px;height:260px;overflow:hidden}.profile-presentation .member-profile-cover img{width:100%;height:100%;object-fit:cover}.profile-presentation .member-profile-avatar{width:104px;height:104px;overflow:hidden;border-radius:50%;border:3px solid var(--profile-accent)}.profile-presentation .member-profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-presentation .member-profile-hero h2{font-size:30px;margin:16px 0 6px}.profile-presentation .member-profile-hero p{font-size:15px;line-height:1.6;max-width:680px}.profile-presentation a.ui-button,.profile-presentation button{font-size:14px}.profile-presentation .member-posts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:18px}
html[data-design=red] .profile-presentation .profile-info-card,html[data-design=red] .profile-presentation .public-profile-hero,html[data-design=red] .profile-presentation .member-profile-hero{border-color:color-mix(in srgb,var(--profile-accent) 45%,var(--ui-color-border));box-shadow:0 0 18px color-mix(in srgb,var(--profile-accent) 9%,transparent)}
@media(max-width:700px){.profile-presentation .profile-info-grid{grid-template-columns:1fr}.profile-presentation .profile-info-story{grid-row:auto}.profile-presentation .profile-info-card{padding:20px}.profile-presentation .public-profile-hero-content{display:block;margin-top:-40px;padding:0 20px 20px}.profile-presentation .public-profile-avatar{width:90px}.profile-presentation .public-profile-title-row h1{font-size:27px}.profile-presentation .public-profile-cover{aspect-ratio:16/7}.profile-presentation .member-profile-cover{height:190px}.profile-view-tabs button{min-width:100px}.profile-presentation .public-profile-stats{padding-inline:20px}}

.profile-presentation .profile-info-card h3{display:flex;align-items:center;gap:12px}.profile-presentation .profile-info-card h3 svg{width:22px;height:22px;flex-shrink:0;color:var(--profile-accent)}.profile-presentation .profile-info-card dd p{margin:0 0 10px}.profile-presentation .profile-info-card dd details{margin-top:10px}.profile-presentation .profile-info-card dd summary{display:list-item;width:fit-content;padding:7px 12px;border:1px solid var(--ui-color-border);border-radius:8px;cursor:pointer;color:var(--profile-accent);font-weight:600}.profile-presentation .profile-info-card dd details[open] p{margin-top:12px}

html[data-design]:not([data-design="legacy"]) .profile-presentation{font-family:Inter,ui-sans-serif,system-ui,sans-serif}html[data-design]:not([data-design="legacy"]) .profile-presentation :is(h1,h2,h3){font-family:inherit}.profile-presentation .profile-social-post{border-radius:16px;padding:22px}.profile-presentation .profile-social-post>p{font-size:15px;line-height:1.65}.profile-presentation .profile-social button,.profile-presentation .profile-social a.ui-button{min-height:38px}.profile-presentation .profile-info-grid>.ui-button{justify-self:start;align-self:start}

/* Keep the selected cover full-width and anchor identity to its lower edge. */
.profile-presentation .public-profile-cover{width:100%;height:clamp(220px,28vw,340px);aspect-ratio:auto}
.profile-presentation .public-profile-cover::after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.82));pointer-events:none}
.profile-presentation .public-profile-hero-content{margin-top:-76px;align-items:start}
.profile-presentation .public-profile-title-row h1,.profile-presentation .public-profile-username{color:#fff;text-shadow:0 1px 5px rgba(0,0,0,.7)}
@media(max-width:700px){.profile-presentation .public-profile-hero-content{margin-top:0;padding-top:18px}.profile-presentation .public-profile-avatar{margin-top:-60px;margin-bottom:18px}.profile-presentation .public-profile-title-row h1,.profile-presentation .public-profile-username{color:var(--ui-color-text);text-shadow:none}}

/* Profile panels form a coherent surface, including empty states and stories. */
.profile-presentation .profile-view-content{padding:0 0 24px}
.profile-presentation .profile-social{padding:24px;border:1px solid var(--ui-color-border);border-radius:16px;background:var(--ui-color-surface)}
.profile-post-empty{display:grid;justify-items:center;gap:12px;min-height:230px;padding:32px 24px;text-align:center;box-sizing:border-box}
.profile-post-empty>svg{width:34px;height:34px;padding:16px;box-sizing:content-box;border:1px solid var(--ui-color-border);border-radius:50%;color:var(--ui-color-primary);background:var(--ui-color-primary-soft)}
.profile-post-empty h3{margin:0;font-size:18px}.profile-post-empty p{max-width:440px;margin:0;color:var(--ui-color-muted);font-size:15px;line-height:1.6}
.profile-presentation .public-profile-hero{position:relative}.profile-presentation .public-profile-hero>.context-report-menu{position:absolute;top:16px;right:16px;z-index:2;margin:0}
.profile-presentation .context-report-menu summary{list-style:none;cursor:pointer;padding:9px 13px;border:1px solid var(--ui-color-border);border-radius:10px;background:var(--ui-color-surface);color:var(--ui-color-text);font-size:13px;line-height:1.4}
.profile-presentation .context-report-menu summary::-webkit-details-marker{display:none}.profile-presentation .context-report-menu[open]{padding:6px;border:1px solid var(--ui-color-border);border-radius:12px;background:var(--ui-color-surface);box-shadow:var(--ui-shadow-sm)}
.profile-presentation .context-report-menu a{display:flex;align-items:center;gap:8px;margin-top:6px;padding:9px 13px;border:1px solid var(--ui-color-border);border-radius:9px;background:var(--ui-color-surface);color:var(--ui-color-text);text-decoration:none;font-size:14px}.profile-presentation .context-report-menu a svg{width:18px;height:18px}
.profile-presentation [data-slideshows=profile]{margin-top:20px;padding:24px;border:1px solid var(--ui-color-border);border-radius:16px;background:var(--ui-color-surface)}
.profile-presentation [data-slideshows=profile]>h2{margin:0 0 16px;font-size:21px}.profile-presentation [data-slideshows=profile]>a{display:inline-flex;width:auto;text-decoration:none}.profile-presentation [data-slideshows=profile]>p{color:var(--ui-color-muted);font-size:15px;line-height:1.6}
@media(max-width:700px){.profile-presentation .profile-social,.profile-presentation [data-slideshows=profile]{padding:18px}.profile-post-empty{padding:24px 12px;min-height:220px}}

/* Match the approved editorial profile: independent main and supporting columns. */
.profile-presentation{--profile-accent:var(--bejiggi-accent,var(--ui-color-primary))}
.profile-presentation .profile-info-editorial{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:16px;align-items:start}
.profile-info-main,.profile-info-aside{display:flex;flex-direction:column;gap:14px;min-width:0}
.profile-presentation .profile-info-editorial .profile-info-card{padding:20px 22px;border-radius:14px;background:linear-gradient(125deg,var(--ui-color-surface),var(--ui-color-surface-raised));border-color:color-mix(in srgb,var(--profile-accent) 33%,var(--ui-color-border));box-shadow:0 0 16px color-mix(in srgb,var(--profile-accent) 5%,transparent)}
.profile-presentation .profile-info-editorial .profile-info-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding-bottom:13px;border-bottom:1px solid color-mix(in srgb,var(--profile-accent) 28%,var(--ui-color-border))}
.profile-presentation .profile-info-editorial .profile-info-card h3{display:flex;align-items:center;gap:12px;padding:0;margin:0;border:0;font-size:18px;line-height:1.3;font-weight:650}
.profile-info-audience{display:inline-flex;align-items:center;gap:6px;color:var(--ui-color-muted);white-space:nowrap;font-size:11px}.profile-info-audience svg{width:16px;height:16px}
.profile-info-copy h4{font-size:15px;line-height:1.4;margin:20px 0 8px;color:var(--profile-accent)}.profile-info-copy p,.profile-additional p{font-size:14px;line-height:1.65;white-space:pre-wrap;margin:0 0 10px}.profile-info-copy small,.profile-info-editorial small{font-size:12px;color:var(--ui-color-muted)}
.profile-info-copy details>summary,.profile-additional>summary{width:fit-content;padding:7px 12px;border:1px solid var(--ui-color-border);border-radius:9px;cursor:pointer;font-size:13px;color:var(--profile-accent)}.profile-info-copy details[open] p,.profile-additional[open] p{margin-top:12px}.profile-info-copy:has(details[open])>.profile-copy-preview{display:none}.profile-additional{margin-top:14px}
.profile-presentation .profile-info-editorial dl{margin:0}.profile-presentation .profile-info-editorial dt{font-size:12px;color:var(--ui-color-muted);margin:0;font-weight:500}.profile-presentation .profile-info-editorial dd{margin:0;font-size:14px;line-height:1.55;white-space:pre-wrap}
.profile-presentation .profile-info-editorial .profile-fact-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:14px;align-items:start;padding:12px 0;border-bottom:1px solid var(--ui-color-border)}.profile-fact-row:last-child{border-bottom:0!important}.profile-fact-row dt{display:flex;align-items:center;gap:10px}.profile-fact-row dt svg{width:18px;height:18px;color:var(--profile-accent);flex-shrink:0}
.profile-work-timeline{border-left:1px solid var(--ui-color-border);margin-left:7px!important;padding-left:22px}.profile-work-timeline .profile-detail{position:relative;margin:0 0 17px}.profile-work-timeline .profile-detail::before{content:"";position:absolute;left:-27px;top:5px;width:8px;height:8px;border-radius:50%;background:var(--profile-accent)}.profile-work-timeline dt{margin-bottom:4px!important}.profile-work-timeline dd{font-weight:600}
.profile-interest-chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0 0 10px}.profile-interest-chips li{display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:8px 10px;border:1px solid var(--ui-color-border);border-radius:10px;font-size:13px;overflow-wrap:anywhere}.profile-interest-chips svg{width:16px;height:16px;color:var(--profile-accent);flex-shrink:0}
.profile-contact-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}.profile-contact-buttons a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:40px;font-size:13px!important;text-decoration:none!important;overflow-wrap:anywhere}.profile-contact-buttons svg{width:18px;height:18px;flex-shrink:0;color:var(--profile-accent)}.profile-editorial-contact .profile-detail{margin-top:14px}
.profile-presentation .profile-info-editorial>.ui-button{grid-column:1/-1}.profile-presentation .profile-info>h2{font-size:0;margin:0;height:0;overflow:hidden}
.profile-presentation .profile-view-tabs{gap:0;padding:0;border-radius:0 0 14px 14px}.profile-view-tabs button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;border-radius:0;position:relative}.profile-view-tabs button+button::before{content:"";position:absolute;left:0;top:14px;bottom:14px;border-left:1px solid var(--ui-color-border)}.profile-view-tabs button svg{width:21px;height:21px;flex-shrink:0}.profile-view-tabs button[aria-selected=true]{background:linear-gradient(0deg,var(--ui-color-primary-soft),transparent)}
.profile-presentation .public-profile-cover{height:360px;max-height:none}.profile-presentation .public-profile-cover::after{inset:15% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.92))}.profile-presentation .public-profile-hero-content{margin-top:-190px;min-height:190px;padding:0 26px 24px;grid-template-columns:138px minmax(0,1fr) minmax(190px,auto);gap:22px;align-items:center;box-sizing:border-box;color:#fff}.profile-presentation .public-profile-avatar{width:138px;border:2px solid #fff;box-shadow:0 0 0 1px var(--profile-accent),0 0 20px color-mix(in srgb,var(--profile-accent) 32%,transparent)}
.profile-presentation .public-profile-title-row h1{font-size:32px}.profile-presentation .public-profile-username{margin:6px 0 10px;color:#fff}.profile-presentation .public-profile-tags{display:flex;flex-wrap:wrap;gap:6px;margin:0;max-width:480px}.profile-presentation .public-profile-tags li{padding:0;border:0;background:none;color:#fff;font-size:12px;font-weight:500}.profile-presentation .public-profile-tags li+li::before{content:"·";margin-right:6px}
.profile-hero-actions{display:flex;flex-direction:column;justify-content:end;align-items:stretch;gap:9px;max-width:260px}.profile-hero-actions>a,.profile-hero-actions>button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:9px 14px;font-size:13px!important;text-decoration:none!important}.profile-hero-actions .public-profile-socials{margin:0;justify-content:flex-end}
.profile-hero-bio{margin-top:10px;max-width:520px}.profile-hero-bio summary{width:fit-content;cursor:pointer;color:#fff;font-size:12px}.profile-hero-bio[open]{padding:10px;border:1px solid rgba(255,255,255,.25);border-radius:10px;background:rgba(0,0,0,.85)}.profile-presentation .profile-hero-bio .public-profile-bio{font-size:13px;color:#fff;margin:8px 0 0}.profile-presentation .public-profile-stats{justify-content:flex-end;margin:0;padding:10px 24px;gap:16px}.profile-presentation a.ui-button{text-decoration:none}
@media(max-width:900px){.profile-presentation .public-profile-hero-content{grid-template-columns:100px minmax(0,1fr);margin-top:-190px}.profile-presentation .public-profile-avatar{width:100px}.profile-hero-actions{grid-column:2;flex-direction:row;flex-wrap:wrap;max-width:none}.profile-presentation .profile-info-editorial{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}}
@media(max-width:700px){.profile-presentation .profile-info-editorial{display:flex;flex-direction:column}.profile-info-main,.profile-info-aside{width:100%}.profile-presentation .public-profile-cover{height:230px}.profile-presentation .public-profile-hero-content{display:grid;grid-template-columns:80px minmax(0,1fr);margin-top:-80px;padding:0 18px 20px;gap:14px;background:linear-gradient(transparent 80px,var(--ui-color-surface) 80px)}.profile-presentation .public-profile-avatar{width:80px;margin:0;align-self:start}.profile-presentation .public-profile-title-row h1{font-size:25px;color:#fff}.profile-presentation .public-profile-username{color:#fff}.profile-presentation .public-profile-tags li{color:var(--ui-color-text)}.profile-hero-bio summary{color:var(--ui-color-text)}.profile-hero-actions{grid-column:1/-1;justify-content:flex-start}.profile-view-tabs button{min-width:105px;font-size:13px;padding:10px}.profile-view-tabs button svg{width:18px;height:18px}.profile-presentation .profile-info-editorial .profile-info-card{padding:18px}.profile-info-audience{font-size:10px}.profile-presentation .public-profile-stats{justify-content:flex-start}}

.profile-hero-actions>a>svg,.profile-hero-actions>button>svg{width:18px;height:18px;flex-shrink:0}html[data-theme=dark] .profile-presentation{--profile-accent:color-mix(in srgb,var(--ui-color-primary) 65%,#fff)}.profile-info-editorial .profile-info-card{transition:border-color var(--ui-transition,.18s),box-shadow var(--ui-transition,.18s)}.profile-info-editorial .profile-info-card:hover{border-color:var(--profile-accent)}@media(prefers-reduced-motion:reduce){.profile-info-editorial .profile-info-card{transition:none}}

.profile-work-timeline dt{display:flex;align-items:center;gap:8px}.profile-work-timeline dt svg{width:18px;height:18px;color:var(--profile-accent);flex-shrink:0}

.profile-tab-count{display:block;font-size:11px;line-height:1.4;color:var(--ui-color-muted);font-weight:400;margin-top:3px}.profile-presentation .public-profile-stats{display:none}

.profile-presentation .profile-info-single-column{grid-template-columns:minmax(0,1fr)}

/* Give content frames breathing room inside the selected profile background. */
.profile-presentation .profile-view-content{padding:0 clamp(14px,2.4vw,28px) 28px;box-sizing:border-box}
.profile-presentation .profile-view-panel{display:flow-root}
.profile-presentation .profile-interest-chips{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
.profile-presentation .profile-interest-chips>li{display:inline-flex;flex:0 0 auto;align-items:center;flex-wrap:wrap;width:max-content;min-width:0;max-width:100%;gap:8px;padding:10px 13px;box-sizing:border-box;word-break:normal;overflow-wrap:normal;border-color:color-mix(in srgb,var(--profile-accent) 36%,var(--ui-color-border));background:var(--ui-color-surface);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--profile-accent) 8%,transparent)}
.profile-presentation .profile-interest-chips>li>span{flex:0 1 auto;min-width:0;max-width:100%;white-space:normal;word-break:normal;overflow-wrap:anywhere;line-height:1.45}
.profile-presentation .profile-interest-chips>li>small{flex-basis:100%;padding-left:24px;white-space:normal}
/* A main category is a chapter marker, visually distinct from its content cards. */
.profile-presentation .public-profile-category-title{position:relative;isolation:isolate;display:flex;align-items:center;gap:18px;min-width:0;margin:38px 0 24px;padding:22px 24px 22px 30px;border:0;border-radius:12px;background:linear-gradient(100deg,var(--ui-color-primary-soft),transparent 85%);box-shadow:none;color:var(--ui-color-text);font-size:clamp(26px,3vw,36px);font-weight:800;line-height:1.2;letter-spacing:-.035em;overflow-wrap:anywhere}
.profile-presentation .public-profile-category-title::before{content:"";position:absolute;inset:12px auto 12px 0;width:4px;border-radius:4px;background:var(--profile-accent);box-shadow:0 0 16px color-mix(in srgb,var(--profile-accent) 65%,transparent)}
.profile-presentation .public-profile-category-title::after{content:"";flex:1 1 80px;min-width:24px;height:1px;background:linear-gradient(90deg,var(--profile-accent),transparent);box-shadow:0 0 12px color-mix(in srgb,var(--profile-accent) 35%,transparent)}
html[data-design=red] .profile-presentation .public-profile-category-title{text-shadow:0 0 22px color-mix(in srgb,var(--profile-accent) 45%,transparent);background:linear-gradient(100deg,color-mix(in srgb,var(--profile-accent) 17%,var(--ui-color-surface)),transparent 90%)}
@media(max-width:700px){.profile-presentation .profile-view-content{padding:0 14px 24px}.profile-presentation .public-profile-category-title{margin-top:28px;padding:18px 16px 18px 22px;font-size:26px}.profile-presentation .profile-interest-chips>li{padding:9px 11px}}

/* Natural-height fallback; measured masonry balances cards without changing DOM order. */
.profile-presentation .profile-info-editorial{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.profile-presentation .profile-info-editorial>.profile-info-card{grid-row:auto;align-self:start;min-width:0;box-sizing:border-box}
.profile-presentation .profile-info-editorial.profile-info-masonry{grid-auto-rows:1px;row-gap:0}
.profile-presentation .profile-info-masonry>.ui-button{align-self:start;justify-self:start;grid-row-end:span 48}
@media(max-width:700px){.profile-presentation .profile-info-editorial{display:grid;grid-template-columns:minmax(0,1fr)}}

/* The profile opens with information beside its own post timeline. */
.profile-posts-layout{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,2fr);gap:20px;align-items:start}
.profile-posts-info,.profile-posts-main{min-width:0;overflow-wrap:anywhere}
.profile-posts-info>h2{margin:0 0 14px;font-size:20px;line-height:1.3}
.profile-presentation .profile-posts-info .profile-info-editorial{display:flex;flex-direction:column;gap:14px}
.profile-presentation .profile-posts-info .profile-info-card{width:100%;padding:18px;box-sizing:border-box}
.profile-presentation .profile-posts-info .profile-info-card>header{flex-wrap:wrap;gap:8px}
.profile-presentation .profile-posts-info .profile-fact-row{grid-template-columns:minmax(0,1fr);gap:5px;padding:10px 0}
.profile-presentation .profile-posts-info .profile-contact-buttons{grid-template-columns:minmax(0,1fr)}
.profile-presentation .profile-posts-info .profile-info-masonry>.ui-button{flex:none}
.profile-presentation .profile-posts-main>.profile-social{border-top:3px solid var(--profile-accent);padding:20px;border-radius:16px;background:var(--ui-color-surface)}
.profile-posts-main>.profile-social>h2{margin:0 0 18px;font-size:24px;line-height:1.3}
.profile-posts-main .profile-social-post{min-width:0;overflow-wrap:anywhere}
@media(max-width:860px){.profile-posts-layout{grid-template-columns:minmax(0,1fr)}.profile-posts-info{display:none}.profile-presentation .profile-posts-main>.profile-social{padding:18px}}

/* Visited profile areas belong to the profile, separate from the global menu. */
.creator-profile-nav{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:14px 24px;border-top:1px solid var(--ui-color-border);background:var(--ui-color-surface);color:var(--ui-color-text)}
.creator-profile-nav-label{margin-right:auto;font-size:13px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.creator-profile-nav>a.ui-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 12px;text-decoration:none;font-size:13px}
.creator-profile-nav>a>svg{width:18px;height:18px;flex-shrink:0}
.creator-profile-nav>a[aria-current=page]{border-color:var(--ui-color-primary);background:var(--ui-color-primary-soft)}
@media(max-width:700px){.creator-profile-nav{padding:12px 18px}.creator-profile-nav-label{flex-basis:100%}}
