/* Profile layout restored from the approved preview/feed.css. */
.shell:has(.profile-top){background:#080d12}
.app-header.profile-page-header{height:59px;gap:10px;padding:0 14px;background:#080d12;border-bottom:1px solid #202830}
.profile-page-header strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;color:#edf3f8}
.profile-page-header .profile-back{width:32px;min-width:32px;height:40px;padding:0;border:0;background:none;font-size:24px;color:#c8d1dc}
.profile-page-header .profile-brand{width:26px;height:26px;border-radius:7px}
.profile-page-header #settings{width:36px;min-width:36px;height:40px;margin-right:-6px;padding:7px}
.profile-top{--profile-photo-width:90.2px;--profile-photo-height:118.8px;padding:20px 14px 14px;background:transparent}
.profile-top .profile-identity{display:flex;align-items:flex-start;gap:16px;margin-bottom:13px}
.profile-top .avatar.big{box-sizing:border-box;width:var(--profile-photo-width);height:var(--profile-photo-height);flex:0 0 var(--profile-photo-width);object-fit:cover;border-radius:15px;padding:3px;background:linear-gradient(145deg,#ef9752,#c75b99,#567ddd,#23b3b5);border:1px solid #343d48}
.profile-top .profile-details{min-width:0;flex:1;height:var(--profile-photo-height);display:flex;flex-direction:column;justify-content:space-between}
.profile-top .profile-name-row{display:flex;flex-direction:column;align-items:flex-start;gap:3px;margin-bottom:0}
.profile-top .profile-name-row h1{font-size:17px;line-height:1.3;margin:0;text-align:left;font-weight:700;overflow-wrap:anywhere;min-width:0;max-width:100%;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;max-height:2.6em}
.profile-top #profile-symbols{display:inline-flex;align-items:flex-start;flex-wrap:nowrap;gap:5px;margin:0}
.profile-top #profile-symbols .identity-group{display:contents}
.profile-top #profile-symbols .cx-identity-badge{gap:4px;min-width:24px;max-width:30px}
.profile-top #profile-symbols .cx-identity-icon{width:17.6px;height:17.6px}
.profile-top #profile-symbols .cx-identity-label{font-size:7px;line-height:1.15;max-width:33px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-top #profile-symbols .cx-identity-passion .cx-identity-icon{border-radius:50%;outline:1px solid #3b444e;background:#181f26;padding:2px;object-fit:contain}
.profile-top .profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;text-align:center;margin:0;padding:0;border:0;font-size:10px;line-height:1.2;color:#a3afbd}
.profile-top .profile-stats b{display:block;font-size:20px;line-height:1.1;font-weight:650;margin-bottom:1px;font-variant-numeric:tabular-nums;color:#e9f1f5}
.profile-top .profile-bio{font-size:12px;line-height:1.6;color:#c3ced9;margin:0 0 5px;max-width:100%}
.profile-public-link{display:block;max-width:100%;width:fit-content;margin:5px 0 0;color:#b8c9e0;font-size:12px;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}
.profile-buttons{display:flex;gap:8px;margin-top:14px;align-items:stretch}
.profile-buttons>button{position:relative;display:flex;align-items:center;justify-content:center;gap:6px;flex:1;min-height:40px;padding:5px 10px;border:1px solid #3a424c;border-radius:9px;background:linear-gradient(145deg,#1d232a,#12171c);font-size:11px;font-weight:600;color:#e2eaf0}
.profile-buttons>button:after{content:'';position:absolute;bottom:-1px;left:22%;right:22%;height:2px;border-radius:2px;background:linear-gradient(90deg,#ed9b57,#bc83d8,#559cf0,#45c7ac);opacity:.8;pointer-events:none}
.profile-buttons svg{width:19px;height:19px;fill:none;stroke:#b9abed;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.profile-buttons #profile-message svg{stroke:#66cbb9}
.profile-buttons .safety-more{flex:0 0 32px;padding:4px}.profile-buttons .safety-more:after{display:none}
.page:has(.profile-top)>.tabs{display:flex;gap:0;padding:0;border-bottom:1px solid #222c36}
.page:has(.profile-top)>.tabs button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-height:46px;font-size:12px;font-weight:400;padding:10px;color:#8b99a9}
.page:has(.profile-top)>.tabs button.active{color:#eef3f8;border-bottom-color:#68d3e6}
.page:has(.profile-top)>.tabs svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6}
.profile-shelf-heading{display:flex;justify-content:space-between;align-items:center;padding:15px 15px 11px;font-size:11px}
.profile-shelf-heading span{color:#8796a7;font-size:10px}
.profile-publications .profile-grid{padding:0 8px}
@media(max-width:360px){.profile-top{--profile-photo-width:79.2px;--profile-photo-height:105.6px;padding-inline:12px}.profile-top .profile-identity{gap:12px}.profile-top .profile-name-row h1{line-height:1.15;max-height:2.3em}.profile-top .profile-stats{gap:4px;font-size:9px}}

/* Transparent brand assets: shadow follows the artwork, never a rectangle. */
img[src*="critixx-wordmark-clear.png"],img[src*="critixx-symbol-clear.png"],.auth-designed img.brand{background:transparent;mix-blend-mode:normal;filter:drop-shadow(0 1px 2px rgba(0,0,0,.65));}
