[data-palette=rose]{--profile-color:#f291c2;--profile-wash:#542139}
[data-palette=violet]{--profile-color:#c1a3ff;--profile-wash:#392554}
[data-palette=teal]{--profile-color:#8bdfd0;--profile-wash:#17433e}
[data-palette=gold]{--profile-color:#f1cf8b;--profile-wash:#4a371d}
.profile-hero{position:relative;overflow:hidden;border:1px solid var(--border);border-radius:24px;padding:40px;background:radial-gradient(ellipse at top right,var(--profile-wash),transparent 75%),var(--panel);margin-bottom:24px}
.profile-ribbon{position:absolute;right:32px;top:18px;font-size:36px;color:var(--profile-color);opacity:.3;letter-spacing:.25em}
.profile-identity{display:flex;align-items:center;gap:24px;position:relative}.profile-identity h1{font-size:clamp(30px,5vw,48px);margin:0 0 12px;overflow-wrap:anywhere}.profile-identity .eyebrow{margin-bottom:8px}
.profile-avatar{display:inline-grid;place-items:center;flex-shrink:0;width:104px;height:104px;border-radius:32px;border:1px solid var(--profile-color);background:linear-gradient(135deg,var(--profile-wash),var(--panel));color:var(--profile-color);font-size:50px;box-shadow:0 8px 35px #0003}
.profile-avatar.small{width:34px;height:34px;border-radius:12px;font-size:20px;box-shadow:none}.comment-profile{display:inline-flex;align-items:center;gap:10px}.comment-profile:hover strong{text-decoration:underline;text-underline-offset:4px}
.comment-tier{font-size:10px;padding:2px 8px;border:1px solid var(--border);border-radius:20px;color:var(--accent)}
.profile-bio{white-space:pre-wrap;overflow-wrap:anywhere;max-width:680px;margin:24px 0 0;color:var(--muted)}.profile-badges{display:flex;gap:6px;flex-wrap:wrap}.tier-badge{display:inline-block;border:1px solid var(--profile-color);color:var(--profile-color);background:var(--profile-wash);padding:3px 12px;border-radius:30px;font-size:12px}
.profile-editor{border:1px solid var(--border);border-radius:16px;padding:20px 24px;margin-bottom:40px;background:var(--panel)}.profile-editor summary{cursor:pointer;font-weight:600}.profile-editor form{margin-top:24px}.profile-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.profile-fields input:not([type=radio]),.profile-fields select{width:100%}.profile-fields label>span{display:block;margin-bottom:6px}.profile-fields fieldset{margin:0;padding:12px;border:1px solid var(--border);border-radius:12px;min-width:0}.profile-fields legend{font-size:14px;padding:0 6px}.profile-options{display:flex;gap:10px;flex-wrap:wrap}.profile-options label{margin:0;display:flex;align-items:center;gap:8px;cursor:pointer;padding:7px 10px;background:var(--profile-wash,var(--panel2));border-radius:10px}.profile-options label>span{margin:0}.profile-options input{accent-color:var(--accent)}
.illustration-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:40px 0 12px}.illustration-heading h2{margin:0}.illustration-heading .eyebrow{margin-bottom:8px}.illustration-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.illustration-card{min-width:0;border:1px solid var(--border);background:var(--panel);border-radius:16px;overflow:hidden}.illustration-media,.favorite-art-wrap{position:relative;min-width:0}.illustration-open{display:block;border:0;border-radius:0;padding:0;width:100%;background:#140b13}.illustration-open img{display:block;width:100%;height:300px;object-fit:contain}.illustration-copy{padding:14px}.illustration-copy a{font-size:13px;display:block;overflow-wrap:anywhere}.illustration-copy a:hover{text-decoration:underline}.illustration-copy small{display:block;font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:5px}.featured-label{font-size:10px;display:inline-block;color:#efca87;margin-top:8px;letter-spacing:.08em}
.illustration-heart,.illustration-star{position:absolute;top:10px;right:10px;width:42px;height:42px;min-width:42px;padding:0;font-size:25px;border-radius:50%;background:#20101de8;box-shadow:0 2px 12px #0005;z-index:1}.illustration-heart[aria-pressed=true]{color:#ff9fcf;border-color:#f295c5}.illustration-star{top:60px;font-size:23px}.illustration-star[aria-pressed=true]{color:#f1cf8b;border-color:#f1cf8b}.favorite-art-wrap>.art-tile{width:100%;height:100%}.favorite-art-wrap .illustration-heart{right:10px;top:10px}.viewer-favorite-slot{display:inline-flex}.viewer-favorite-slot .illustration-heart{position:static;box-shadow:none;width:40px;height:40px;font-size:24px}
@media(max-width:1000px){.illustration-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.profile-hero{padding:24px 20px}.profile-identity{gap:16px;align-items:flex-start}.profile-avatar{width:72px;height:72px;border-radius:23px;font-size:36px}.profile-ribbon{font-size:26px;right:14px;top:10px}.profile-identity h1{font-size:28px}.profile-identity .eyebrow{font-size:9px;letter-spacing:.1em}.profile-fields{grid-template-columns:1fr}.profile-editor{padding:16px}.illustration-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.illustration-open img{height:230px}.illustration-heading{align-items:flex-start;flex-direction:column}.illustration-copy{padding:11px}.viewer-bottom .actions{gap:7px}.viewer-bottom .actions .button{padding:9px}.profile-badges{max-width:100%}}

.profile-options label{min-height:44px}.illustration-heart,.illustration-star{width:44px;height:44px;min-width:44px}.viewer-favorite-slot .illustration-heart{width:44px;height:44px}
.profile-avatar{position:relative;overflow:hidden}.profile-avatar>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}.profile-photo-editor{margin:24px 0;padding:22px;border:1px solid var(--border);border-radius:16px;background:var(--panel2)}.profile-photo-editor h3{margin-bottom:8px}.photo-edit-layout{display:flex;align-items:flex-start;gap:24px}.photo-edit-layout canvas{width:180px;height:180px;border-radius:24px;flex-shrink:0;border:1px solid var(--accent);background:#321225}.photo-edit-layout canvas[hidden]{display:none}.photo-edit-controls{flex:1;min-width:0}.photo-edit-controls>input[type=file]{width:100%;font-size:13px;margin:0 0 16px}.photo-edit-controls input[type=range]{width:100%;accent-color:var(--accent);padding:0;min-height:40px}.photo-edit-controls label{margin:6px 0}.photo-edit-controls .actions{margin-top:12px}.profile-fields input[readonly]{opacity:.8;cursor:default}.profile-fields small{display:block;color:var(--muted);margin-top:8px;font-size:12px}.profile-fields textarea{font:inherit}@media(max-width:650px){.profile-photo-editor{padding:16px}.photo-edit-layout{flex-direction:column;gap:14px}.photo-edit-controls{width:100%}.photo-edit-layout canvas{width:160px;height:160px}}
.private-profile-message{max-width:720px;margin:60px auto;padding:45px 28px;text-align:center;border:1px solid var(--border);border-radius:24px;background:var(--panel)}.private-profile-message>span{font-size:36px}.private-profile-message h1{font-size:clamp(28px,5vw,42px)}.private-profile-message p{color:var(--muted);line-height:1.7;margin:18px 0 28px}.profile-privacy-badge{display:inline-block;color:var(--muted);font-size:13px;margin:18px 0 0}.profile-fields>label{min-width:0}.profile-fields select{min-width:0;max-width:100%}.profile-fields small{display:block;line-height:1.6;color:var(--muted);margin-top:9px}

.illustration-open .profile-video-preview{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:300px;overflow:hidden}.illustration-open .profile-video-preview .video-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.profile-video-preview .file-placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;width:100%;height:100%;font-size:38px;color:var(--accent);background:radial-gradient(ellipse at center,#492039,#1b0d18)}.profile-video-preview .file-placeholder>span{font-size:11px}.profile-video-preview .video-play-badge{pointer-events:none}@media(max-width:650px){.illustration-open .profile-video-preview{height:230px}}

/* Profile covers and member wall */
.profile-hero.has-cover{min-height:330px;isolation:isolate;background:var(--panel)}
.profile-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}
.profile-hero.has-cover::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#1d0b1de8 0%,#1d0b1db8 55%,#1d0b1d70 100%);z-index:-1}
.profile-bio,.profile-privacy-badge{position:relative}.profile-reactions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px;position:relative}.profile-reactions button{background:#251020d9;border:1px solid #a76b91;color:#fff}.profile-reactions [aria-pressed=true]{border-color:#f291c2;background:#693451}.profile-reactions strong{margin-left:5px}.profile-reactions [aria-hidden]{font-size:18px}
.profile-cover-editor{padding:24px;margin:24px 0;border:1px solid var(--border);border-radius:16px;background:#44203966}.profile-cover-editor h3{margin-top:0}.profile-cover-editor input[type=file]{width:100%}#cover-crop{margin:20px 0}#cover-preview{display:block;width:100%;height:auto;aspect-ratio:8/3;border-radius:12px;background:#160d15}.cover-crop-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px}.cover-crop-controls input{width:100%}.cover-favorites{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.cover-favorites button{padding:6px;text-align:left;overflow:hidden}.cover-favorites img{width:100%;height:130px;object-fit:cover;border-radius:8px}.cover-favorites span{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-social-settings{display:flex;flex-direction:column;gap:10px;margin:20px 0}.profile-social-settings label{display:flex;align-items:center;gap:10px}.profile-social-settings input{width:auto}
.profile-wall{border:1px solid var(--border);background:var(--panel);border-radius:22px;padding:28px;margin:28px 0;scroll-margin-top:24px}.profile-wall h2{margin-top:0;font-size:27px}#profile-wall-form{display:flex;flex-direction:column;gap:12px}#profile-wall-form button{align-self:flex-start}#profile-wall-status{color:var(--accent);font-size:13px}.profile-wall-comment{padding:20px 0;border-top:1px solid var(--border)}.profile-wall-comment>p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.profile-comment-author{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.profile-comment-author>a{display:inline-flex;align-items:center;gap:10px}.profile-comment-author time{font-size:11px;color:var(--muted);margin-left:auto}.profile-wall-comment button{font-size:11px}
.profile-wall [data-wall-form]{display:flex;flex-direction:column;gap:12px;margin:16px 0}.profile-wall [data-wall-form] textarea{width:100%;font:inherit}.profile-wall .comment-replies{margin-left:20px;border-left:2px solid var(--border);padding-left:16px}.profile-wall .comment-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.profile-wall .gif-composer{min-width:0}
@media(max-width:600px){.profile-hero.has-cover{min-height:310px}.profile-hero.has-cover::before{background:#1d0b1dcc}.profile-cover-editor,.profile-wall{padding:18px}.cover-crop-controls{grid-template-columns:1fr;gap:8px}.cover-favorites{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-reactions{gap:8px}.profile-reactions button{font-size:12px}.profile-comment-author time{width:100%;margin:0}.profile-wall h2{font-size:23px}}

.profile-activity{margin:1.5rem 0;padding:clamp(1rem,3vw,2rem);border:1px solid #72405e;border-radius:20px;background:linear-gradient(125deg,#3a1830,#241020)}.activity-summary{display:flex;align-items:center;justify-content:space-between;gap:1rem}.activity-summary h2{margin:.3rem 0}.activity-total{display:flex;flex-direction:column;align-items:center;min-width:130px;color:#f7b7dc}.activity-total strong{font-size:clamp(2rem,6vw,3.4rem);line-height:1.1}.activity-total span{font-size:.8rem}.activity-specials{display:grid;gap:.8rem;margin:1rem 0}.activity-special{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.4rem 1rem;padding:1rem;border:1px solid #64344f;border-radius:12px}.activity-special a{font-weight:600;overflow-wrap:anywhere}.activity-special p{margin:.5rem 0 0;font-size:.85rem}.activity-special>span{white-space:nowrap;font-size:.85rem}.activity-special progress{grid-column:1/-1;width:100%;height:.65rem;accent-color:#e886bf}@media(max-width:500px){.activity-summary{align-items:flex-start}.activity-total{min-width:85px}.activity-special{grid-template-columns:minmax(0,1fr)}.activity-special progress{grid-column:1}}
