.profile-studio{margin:40px 0}.profile-studio-grid{display:grid;grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:32px;margin-top:28px}.profile-design-form fieldset{border:1px solid var(--border,#655870);border-radius:12px;padding:14px;margin:0 0 18px}.profile-design-form legend{font-weight:600;padding:0 8px}.profile-choice{display:flex;align-items:center;gap:10px;padding:8px;cursor:pointer}.profile-choice input{width:18px;height:18px;margin:0;accent-color:#9456d0}.profile-choice:has(input:checked){background:#8255ad22;border-radius:8px}.profile-design-form button{margin:8px 0;width:100%}.profile-design-preview{padding:20px;border:1px solid var(--border,#655870);border-radius:20px;overflow:hidden}.creator-custom.cp-palette-violet{--profile-accent:#7042ad}.creator-custom.cp-palette-rose{--profile-accent:#a92d67}.creator-custom.cp-palette-blue{--profile-accent:#245fa8}.creator-custom.cp-palette-green{--profile-accent:#207356}.creator-custom .subscribe-box .button{background:var(--profile-accent);color:#fff}.profile-design-preview .creator-hero{margin:0;gap:18px}.profile-design-preview .creator-hero>img{max-height:300px;object-fit:cover}.profile-design-preview h2{font-size:26px}.profile-design-preview p{font-size:14px;overflow-wrap:anywhere}.profile-design-preview .creator-hero>div{min-width:0}.profile-design-preview .subscribe-box{display:flex;flex-wrap:wrap;gap:12px}.profile-design-preview .button{pointer-events:none}@media(max-width:900px){.profile-studio-grid{grid-template-columns:1fr}.profile-design-preview .creator-hero{display:flex;flex-direction:column}}@media(max-width:600px){}
.social-profile{margin:24px auto 48px;max-width:1180px;--profile-accent:#7042ad}.social-profile-header{background:var(--surface);border:1px solid var(--line);border-radius:20px 20px 0 0;overflow:hidden}.profile-cover{position:relative;aspect-ratio:3.2;background:var(--line);min-height:160px;max-height:400px}.profile-cover>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center}.cover-edit{position:absolute;bottom:18px;right:20px}.profile-identity{display:flex;align-items:center;gap:24px;padding:0 30px 22px;position:relative;flex-wrap:wrap}.social-profile .profile-avatar{width:148px;height:148px;flex-shrink:0;border:5px solid var(--surface);margin:-38px 0 0;border-radius:50%;object-fit:cover;background:var(--surface);position:relative}.profile-name{flex:1;min-width:180px;padding-top:20px}.profile-name h1,.profile-name h2{font-family:inherit;font-size:32px;font-weight:700;letter-spacing:-.8px;line-height:1.2;margin:6px 0;overflow-wrap:anywhere}.profile-name p{font-size:12px;margin:6px 0;overflow-wrap:anywhere}.profile-primary{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end;max-width:400px;padding-top:22px}.profile-primary strong{font-size:18px}.profile-primary small{font-size:11px;color:var(--muted);font-weight:400}.profile-primary form{margin:0}.social-profile .profile-primary .button{background:var(--profile-accent);color:white;gap:10px}.profile-connections{padding:0 30px 12px}.profile-connections .social-actions{margin:0}.profile-tabs{display:flex;gap:26px;border:1px solid var(--line);border-top:0;padding:0 30px;background:var(--surface)}.profile-tabs>a,.profile-tabs>span{padding:18px 0;font-size:14px;font-weight:600}.profile-tabs>:first-child{color:var(--profile-accent);border-bottom:3px solid var(--profile-accent)}.profile-columns{display:grid;grid-template-columns:minmax(240px, .7fr) minmax(0,1.3fr);gap:22px;margin-top:22px;align-items:start}.profile-info{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:24px;overflow-wrap:anywhere}.profile-info h2,.profile-posts>h2{font-size:21px;letter-spacing:-.3px;font-weight:650;margin-bottom:16px}.profile-info p{font-size:14px}.profile-info .muted{font-size:12px}.profile-posts{min-width:0}.profile-posts .post-grid{grid-template-columns:1fr;gap:16px}.profile-posts .post-card{background:var(--surface)}.profile-posts .empty{margin:0;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.profile-design-preview.social-profile{padding:0;margin:0;container-type:inline-size;border-color:var(--line)}.profile-design-preview .social-profile-header{border:0;border-radius:0}.profile-design-preview .profile-columns{padding:0 16px 16px;gap:12px;grid-template-columns:1fr 1.4fr}.profile-design-preview .profile-identity{padding:0 20px 18px;gap:14px}.profile-design-preview .profile-avatar{width:100px;height:100px;margin-top:-24px}.profile-design-preview .profile-name h2{font-size:23px}.profile-design-preview .profile-primary{max-width:none;width:100%;padding-top:0;justify-content:flex-end}.profile-design-preview .profile-info{padding:16px}.profile-design-preview .profile-info h2,.profile-design-preview .profile-posts>h2{font-size:18px}.profile-design-preview .post-card{padding:18px}.profile-design-preview .post-card h3{font-size:18px}.profile-design-preview .profile-cover{min-height:130px}.profile-studio-grid{grid-template-columns:minmax(210px,260px) minmax(0,1fr)}
@media(max-width:700px){.social-profile{margin-top:15px}.profile-cover{aspect-ratio:2.5;min-height:140px}.profile-identity{padding:0 18px 20px;gap:14px}.social-profile .profile-avatar{width:108px;height:108px;margin-top:-26px}.profile-name{min-width:140px;padding-top:14px}.profile-name h1,.profile-name h2{font-size:24px}.profile-primary{width:100%;max-width:none;padding-top:0;justify-content:flex-start}.profile-columns{grid-template-columns:1fr}.profile-connections{padding:0 18px 15px}.profile-tabs{padding:0 18px}.profile-design-preview .profile-columns{grid-template-columns:1fr}.profile-studio-grid{grid-template-columns:1fr}.cover-edit{bottom:12px;right:12px;font-size:10px}.profile-info{padding:20px}}
@container(max-width:450px){.profile-design-preview .profile-columns{grid-template-columns:1fr}.profile-design-preview .profile-name{min-width:120px}.profile-design-preview .profile-name h2{font-size:20px}}
/* Compact creator settings; public profiles retain their own layout. */
.profile-edit-page{max-width:1040px;margin:28px auto 60px}
.profile-edit-page .profile-studio{margin:0 0 24px}
.profile-edit-page .profile-studio header h1{font-size:32px;margin:10px 0}
.profile-edit-page .profile-studio header p{margin:0 0 10px;color:var(--muted);font-size:14px}
.profile-edit-page .profile-studio header>a{font-size:13px}
.profile-edit-page .profile-studio-grid{display:block;margin-top:22px}
.profile-edit-page .profile-design-form{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.profile-edit-page .profile-design-form fieldset{display:flex;gap:8px;flex-wrap:wrap;border:0;padding:0;margin:0;min-width:0}
.profile-edit-page .profile-design-form legend{font-size:13px;font-weight:600;margin-bottom:10px}
.profile-edit-page .profile-choice{position:relative;display:flex;flex-direction:row;gap:7px;align-items:center;margin:0;padding:8px 10px;border:1px solid transparent;border-radius:999px;font-size:12px;cursor:pointer}
.profile-edit-page .profile-choice input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.profile-edit-page .color-dot{width:18px;height:18px;border-radius:50%;background:#7042ad;flex-shrink:0}
.profile-edit-page [data-color=rose] .color-dot{background:#a92d67}.profile-edit-page [data-color=blue] .color-dot{background:#245fa8}.profile-edit-page [data-color=green] .color-dot{background:#207356}
.profile-edit-page .profile-choice:has(input:checked){border-color:var(--accent);background:var(--bg)}
.profile-edit-page .profile-choice:has(input:checked) .color-dot:after{content:'✓';display:block;text-align:center;color:#fff;font-size:12px;line-height:18px}
.profile-edit-page .profile-choice:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:3px}
.profile-edit-page .profile-color-actions{display:flex;gap:8px;flex-wrap:wrap}
.profile-edit-page .button{border-radius:999px;padding:10px 18px;font-size:12px;min-height:40px;line-height:1.4}
.profile-edit-page .profile-design-form .button{width:auto;margin:0}
.profile-edit-page .profile-preview-disclosure{margin-top:12px;border:1px solid var(--line);border-radius:14px;padding:0 16px}
.profile-edit-page .profile-preview-disclosure summary{cursor:pointer;padding:14px 0;font-size:14px;font-weight:600}
.profile-edit-page .profile-preview-disclosure summary span{float:right;font-size:12px;color:var(--muted);font-weight:400}
.profile-edit-page #profile-design-status{font-size:12px;color:var(--muted);margin:12px 0}
.profile-edit-page .branding-editor,.profile-edit-page .editor{max-width:none;margin:24px 0;padding:0}
.profile-edit-page h2{font-size:22px;margin:0 0 8px}
.profile-edit-page .branding-editor>p{font-size:12px;margin:0 0 14px}
.profile-edit-page .branding-grid{gap:12px}
.profile-edit-page .branding-grid form{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px 14px;padding:16px;align-items:center;border-radius:16px}
.profile-edit-page .branding-preview,.profile-edit-page .branding-preview.avatar{width:72px;height:72px;object-fit:cover;margin:0;grid-row:1 / 3}
.profile-edit-page .branding-grid label{margin:0;min-width:0;gap:6px;font-size:12px}
.profile-edit-page .branding-grid input[type=file]{width:100%;padding:6px;border:0;font-size:11px;background:transparent;min-width:0}
.profile-edit-page input::file-selector-button{border:1px solid var(--line);border-radius:999px;background:var(--bg);color:var(--text);padding:7px 10px;margin-right:8px;cursor:pointer}
.profile-edit-page .branding-grid .button{justify-self:start;grid-column:2;padding:8px 14px;min-height:36px}
.profile-edit-page .editor>form{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.profile-edit-page .editor label{margin:0;font-size:13px;gap:7px;min-width:0}
.profile-edit-page .editor label:has(textarea[name=bio]){grid-column:1 / -1}
.profile-edit-page .editor textarea{min-height:88px;height:88px;padding:12px;resize:vertical}
.profile-edit-page .editor input,.profile-edit-page .editor select{padding:11px 12px;border-radius:10px}
.profile-edit-page .editor form>.button{justify-self:start;grid-column:1 / -1}
@media(max-width:650px){.profile-edit-page{margin:20px auto 40px}.profile-edit-page .profile-studio header h1{font-size:27px}.profile-edit-page .branding-grid,.profile-edit-page .editor>form{grid-template-columns:1fr}.profile-edit-page .profile-design-form{padding:14px}.profile-edit-page .profile-choice{padding:8px}.profile-edit-page .profile-preview-disclosure summary span{display:none}.profile-edit-page .editor>form{padding:16px}}
.profile-details{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:0 28px 18px}.profile-details>span{background:#9970d51c;color:#a777e9;border-radius:20px;padding:7px 12px;font-size:12px;font-weight:600}.profile-details small{opacity:.7;font-size:12px}.profile-promo{display:grid;gap:8px;margin:0 28px 20px;padding:20px;border:1px solid #ae86e64d;border-radius:18px;background:linear-gradient(120deg,#9863d922,#9360d90d)}.profile-promo>span{font-size:10px;letter-spacing:.12em;color:#a777e9}.profile-promo strong{font-size:20px}.profile-promo small{line-height:1.6;opacity:.8}.profile-promotion-editor{border:1px solid #a777e94d;border-radius:16px;padding:16px;margin:18px 0}.profile-promotion-editor summary{cursor:pointer;font-weight:600}.profile-promotion-editor p{font-size:13px}
/* Subscription panel: price, action and balance each have their own line. */
.social-profile .profile-primary{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:8px;width:320px;max-width:100%;flex:0 1 320px}
.social-profile .profile-primary form{display:flex;flex-direction:column;align-items:stretch;gap:8px;width:100%;margin:0;min-width:0}
.social-profile .profile-primary form .button{width:100%;white-space:normal;text-align:center;justify-content:center;line-height:1.4;min-height:48px;padding:12px 16px}
.social-profile .profile-primary form small{display:block;text-align:center;line-height:1.6}
.social-profile .profile-primary form small a{display:inline-block;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
.social-profile .profile-primary>small{display:block;text-align:right;line-height:1.5}
@media(max-width:700px){.social-profile .profile-primary{width:100%;max-width:none;flex:1 1 100%;align-items:stretch;padding-top:8px}.social-profile .profile-primary>strong,.social-profile .profile-primary>small{text-align:center}}
.creator-social-editor{border:1px solid var(--line);border-radius:16px;padding:16px;margin:20px 0}.creator-social-editor summary{cursor:pointer;font-weight:600}.creator-social-editor summary small{font-weight:400;color:var(--muted);margin-left:8px}.creator-social-editor p{font-size:13px;color:var(--muted)}.creator-social-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.creator-social-row{padding:12px;border:1px solid var(--line);border-radius:12px;min-width:0}.creator-social-row input[type=url]{width:100%;font-size:13px;min-width:0}.creator-social-row .check{margin:0 0 8px}.creator-social-row .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(max-width:650px){.creator-social-grid{grid-template-columns:1fr}}

.profile-details>span{display:inline-flex;align-items:center;gap:6px}
.profile-details svg{width:17px;height:17px}
.social-actions .profile-icon-control{width:42px;height:42px;padding:10px;min-width:42px;gap:0;border-radius:50%}
.profile-icon-control svg{width:21px;height:21px;flex-shrink:0}
.profile-icon-control[aria-pressed="true"] svg{fill:var(--accent);stroke:var(--accent)}
.profile-follower-count{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:48px;height:44px;color:var(--accent)}
.profile-follower-count>svg{position:absolute;width:48px;height:44px;inset:0;margin:auto}
.profile-follower-count>span{position:relative;font-size:10px;font-weight:600;padding:0 10px;transform:translateY(-1px)}
.social-actions{align-items:center;gap:10px}

.profile-follow-preferences{flex-basis:100%}.profile-follow-preferences:empty,.profile-follow-status:empty{display:none}.profile-follow-status{flex-basis:100%;font-size:13px}.social-actions .profile-icon-control:disabled{opacity:.7}
