/* Cosmetic layers are confined to identity surfaces; form fields stay readable. */
#profileModal.og-profile-managed .profhero{position:relative;height:244px!important;margin-bottom:14px;overflow:visible!important;isolation:isolate}
#profileModal.og-profile-managed .profcover{position:absolute!important;inset:0 0 38px!important;height:auto!important;opacity:1!important;overflow:hidden!important;clip-path:none!important;border-radius:16px!important;background-size:cover!important;background-position:center!important}
#profileModal.og-profile-managed .profcover:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,transparent 45%,rgba(10,9,7,.78));z-index:1}
#profileModal.og-profile-managed .profava-wrap{position:absolute!important;bottom:0!important;top:auto!important;left:50%!important;transform:translateX(-50%)!important;width:116px!important;height:116px!important;overflow:visible!important;z-index:3}
#profileModal.og-profile-managed .pavatar{position:relative!important;width:116px!important;height:116px!important;clip-path:none!important;border-radius:50%!important;overflow:hidden!important;border:4px solid #130e07!important;z-index:1}
#profileModal.og-profile-managed .pavatar img{width:100%;height:100%;object-fit:cover}
#profileModal.og-profile-managed .profava-edit{z-index:4}
.og-own-background,.og-own-particles,.og-public-particles{position:absolute;inset:0;pointer-events:none;border-radius:inherit;overflow:hidden}
.og-own-background{z-index:0;border-radius:inherit!important}.og-own-particles{z-index:2}
.og-cosmetic-canvas{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}
#profileModal.og-profile-managed .og-cosmetic-ring,#nxUserModal.og-profile-managed .og-cosmetic-ring{position:absolute;inset:-5px;width:auto!important;height:auto!important;border-radius:50%!important;clip-path:none!important;pointer-events:none;opacity:1!important;z-index:0;mask:radial-gradient(closest-side,transparent calc(100% - 6px),#000 calc(100% - 5px));-webkit-mask:radial-gradient(closest-side,transparent calc(100% - 6px),#000 calc(100% - 5px))}
#profileModal .og-cosmetic-ring[hidden],#nxUserModal .og-cosmetic-ring[hidden]{display:none!important}
#nxUserModal.og-profile-managed .nxu-card.og-cosmetic-hero{--og-hero-height:210px}
#nxUserModal.og-profile-managed .nxu-card.og-cosmetic-hero .nxu-avatar-shell{margin-top:154px!important}
#nxUserModal.og-profile-managed #nxuBg,#nxUserModal.og-profile-managed .og-public-particles,#nxUserModal.og-profile-managed #nxuProfileBanner{position:absolute;inset:0 0 auto!important;width:100%;height:var(--og-hero-height)!important;max-height:none;border-radius:24px 24px 0 0!important;opacity:1;overflow:hidden;pointer-events:none}
#nxUserModal.og-profile-managed .og-public-particles{z-index:2}
#nxUserModal.og-profile-managed .nxu-avatar-shell{z-index:3}
#nxUserModal.og-profile-managed .nxu-ava{outline:0!important;position:relative;z-index:1}
#nxUserModal.og-profile-managed .nxu-card:before{pointer-events:none}
.og-profile-customization{margin-top:22px;padding:18px;border:1px solid rgba(255,190,60,.25);border-radius:12px;background:#120f0b}
.og-profile-customization>button{padding:12px 16px;border:1px solid #dda735;background:#241a0c;color:#ffe1a0;border-radius:8px;font:700 14px inherit;cursor:pointer;min-height:44px}
.og-profile-customization p{font-size:14px;line-height:1.6;color:#bfb6a5;margin:12px 0}
.og-profile-customization dl{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px;font-size:14px;margin:16px 0}
.og-profile-customization dt{color:#c5baa5}.og-profile-customization dd{margin:0;text-align:right;color:#fff}
.og-profile-message-preview{position:relative;isolation:isolate;overflow:hidden;padding:14px!important;min-height:68px;line-height:1.5;color:#fff!important;background:#171719;border:1px solid #615039}
.og-profile-message-preview b,.og-profile-message-preview span{display:block;position:relative;z-index:2;font-size:14px}
#profileModal.og-profile-managed .profform{min-width:0}#profileModal.og-profile-managed .profrow>*{min-width:0}
#profileModal.og-profile-managed .profstore-btn{display:none!important}
#profileModal.og-profile-managed .profstats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
#profileModal.og-profile-managed .profstats .ps{min-width:0;padding:14px 5px!important;min-height:90px!important;box-sizing:border-box}
#profileModal.og-profile-managed .profstats .ps b{font-size:22px!important}
#profileModal.og-profile-managed .profstats .ps>span:last-child{font-size:9px!important;letter-spacing:.06em!important}
#nxUserModal.og-profile-managed #nxuFxPrev{display:block!important;min-width:0!important}
#nxUserModal.og-profile-managed #nxuChatName{display:block!important;color:#ffe5a0!important;margin-bottom:8px}
#nxUserModal.og-profile-managed #nxuBio{display:block!important;color:#f4f4fa!important;font-size:15px!important;line-height:1.6!important;overflow-wrap:anywhere}
#profileModal.og-profile-managed :is(input,select,textarea){max-width:100%;box-sizing:border-box}
#profileModal.og-profile-managed :focus-visible{outline:2px solid #ffc94e!important;outline-offset:3px}
.store-apply-btn:disabled{opacity:.6;cursor:wait}
.stream-profile-name{border:0!important;background:transparent!important;padding:0!important;color:inherit!important;font:inherit!important;font-weight:700!important;cursor:pointer;text-align:left;overflow-wrap:anywhere}
.stream-chat-message{position:relative;isolation:isolate}.stream-chat-message>.stream-chat-body,.stream-chat-message>.stream-chat-avatar{position:relative;z-index:1}
.og-stream-particles{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:.45;z-index:0}
.og-host-profile{border:0;background:none;padding:0;color:inherit;font:inherit;cursor:pointer;text-align:left}
.multiplayer-room-host-avatar:has(.og-lobby-ring){position:relative;overflow:visible!important}
.og-lobby-ring{position:absolute;inset:-3px;border-radius:50%;pointer-events:none;mask:radial-gradient(closest-side,transparent calc(100% - 3px),#000 calc(100% - 2px));-webkit-mask:radial-gradient(closest-side,transparent calc(100% - 3px),#000 calc(100% - 2px))}
@media(max-width:520px){#profileModal.og-profile-managed .profhero{height:214px!important}#profileModal.og-profile-managed .profrow{grid-template-columns:1fr!important}.og-profile-customization{padding:14px}#nxUserModal.og-profile-managed .nxu-card.og-cosmetic-hero{--og-hero-height:170px}#nxUserModal.og-profile-managed .nxu-card.og-cosmetic-hero .nxu-avatar-shell{margin-top:118px!important}}
@media(prefers-reduced-motion:reduce){.og-profile-managed [class*="ogbd-"],.og-profile-managed [class*="ogbg-"],.og-profile-managed [class*="chat-effect-"],.og-profile-managed [class*="ogbd-"]:before,.og-profile-managed [class*="ogbd-"]:after{animation:none!important;transition:none!important}}
