
/* Dialogs sit outside the workspace; use the same desktop scale as every page. */
@media(min-width:1000px){.nexo-identity body{--nexo-page-scale:.92}.nexo-identity #workspace{zoom:var(--nexo-page-scale)!important;width:calc((100vw - 32px) / var(--nexo-page-scale))!important;height:calc((100dvh - 32px) / var(--nexo-page-scale))!important;max-width:none!important;margin:calc(16px / var(--nexo-page-scale))!important;padding:0!important;box-sizing:border-box!important;grid-template-rows:108px minmax(0,1fr)!important;gap:16px!important}.nexo-identity #workspace:is(.discovering,.nexo-inbox,.members-list-closed){grid-template-columns:240px minmax(0,1fr)!important}.nexo-identity dialog{zoom:var(--nexo-page-scale)!important}}

/* Compact call dock: signal icon, room identity and one clear control row. */
.nexo-identity #voice-dock{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:9px!important;padding:12px!important;border-radius:16px!important;background:color-mix(in srgb,var(--panel) 94%,transparent)!important;box-shadow:0 6px 20px #0002!important}
.nexo-identity #voice-dock[hidden]{display:none!important}
.nexo-identity #voice-dock>div:first-child{grid-column:1!important;grid-row:1!important;min-width:0;display:flex;flex-direction:column;align-items:flex-start!important;gap:3px!important}
.nexo-identity #voice-dock-title{font-size:12px!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nexo-identity #voice-dock-count{font-size:10px!important}
.nexo-identity #voice-dock-people,.nexo-identity #voice-dock-status{display:none!important}
.nexo-identity #voice-dock .voice-connection-row{grid-column:2!important;grid-row:1!important;display:flex!important;gap:5px!important;margin:0!important}
.nexo-identity #voice-dock .voice-signal{width:24px!important;height:28px!important;min-width:24px!important;flex:none!important;display:grid!important;place-items:center;padding:0!important;border:0!important;background:transparent!important;margin:0!important}
.nexo-identity #voice-dock .voice-signal span{display:none!important}
.nexo-identity #voice-dock .voice-signal svg{width:21px!important;height:21px!important}
.nexo-identity #voice-dock .voice-signal[data-quality=good]{color:#35c980!important}
.nexo-identity #voice-dock .voice-signal[data-quality=fair]{color:#e4b450!important}
.nexo-identity #voice-dock .voice-signal[data-quality=poor]{color:#ef7184!important}
.nexo-identity #voice-dock .voice-controls{grid-column:1/-1!important;display:flex!important;justify-content:space-between;flex-wrap:nowrap!important;gap:5px!important}
.nexo-identity #voice-dock .voice-controls button{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;flex:0 0 30px;border-radius:50%!important;padding:6px!important;box-sizing:border-box!important}
.nexo-identity #voice-dock .voice-controls button:last-child{color:#ef7184!important}
.nexo-identity #voice-dock .push-talk{grid-column:1/-1!important}

.nexo-identity #voice-dock{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
.nexo-identity #voice-dock .voice-controls{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:4px!important}
.nexo-identity #voice-dock .voice-controls button{width:100%!important;max-width:30px!important;min-width:0!important;height:auto!important;min-height:0!important;aspect-ratio:1!important;padding:5px!important}
.nexo-identity #voice-dock .voice-controls{justify-items:center!important;align-items:center!important;padding:2px!important;overflow:visible!important}
.nexo-identity #voice-dock .voice-controls button{display:grid!important;place-items:center!important;line-height:1!important;padding:6px!important;overflow:visible!important}
.nexo-identity #voice-dock .voice-controls button svg{display:block!important;width:18px!important;height:18px!important;max-width:100%!important;max-height:100%!important;margin:0!important;flex:none!important}
.nexo-identity .badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;vertical-align:middle}
.nexo-identity .badge svg{display:block;flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.nexo-identity #voice-dock>.voice-resume{grid-column:1/-1;font-size:11px;min-height:32px;border-radius:10px}.nexo-identity #voice-dock>.voice-resume[hidden]{display:none!important}

.nexo-identity #voice-dock .voice-controls button[hidden],.room-music-play{display:none!important}
.nexo-identity #member-list .member-role-heading{margin:8px 0 3px!important;padding:5px 8px 3px!important;min-height:0!important;line-height:1.25!important}.nexo-identity #member-list>.member-role-heading:first-child{margin-top:2px!important}.nexo-identity #member-list .member-row{margin-top:3px!important;margin-bottom:3px!important}.nexo-identity #member-list{row-gap:3px!important}

#workspace[hidden],#auth[hidden],#loading[hidden]{display:none!important}
/* Canonical Nexo 2.0 preview; retain the existing expanded-profile panels and actions. */
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized{zoom:1!important;box-sizing:border-box!important;background:linear-gradient(145deg,#0e1029,#151030)!important;color:#f8fafc!important;border:1px solid #77509b!important;border-radius:20px!important;padding:0!important;box-shadow:0 18px 60px #0008!important;isolation:isolate}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized.mini-profile{width:min(360px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important;margin:0!important;position:fixed!important;left:clamp(12px,var(--profile-x,12px),calc(100vw - min(360px,100vw - 24px) - 12px))!important;top:clamp(12px,var(--profile-y,12px),calc(100dvh - 180px))!important;right:auto!important;bottom:auto!important;text-align:left!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized .card-banner{position:relative!important;height:124px!important;width:100%!important;overflow:hidden!important;background:radial-gradient(at 80% 0,#8026be99,transparent 70%),linear-gradient(120deg,#221342,#0d122d)!important;border-radius:18px 18px 0 0!important;flex:none!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized .card-banner>img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center!important;border-radius:0!important;opacity:1!important;animation:none!important;transform:none!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized .card-banner:before,html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized .card-banner:after{display:none!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized .profile-card-top{display:flex!important;align-items:flex-end!important;flex-direction:row!important;justify-content:flex-start!important;padding:0 20px!important;margin:-46px 0 0!important;min-height:92px!important;max-height:none!important;position:relative!important;gap:12px!important;z-index:2}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized #card-avatar{width:88px!important;height:88px!important;min-width:88px!important;min-height:88px!important;flex:none!important;border:4px solid #14102e!important;border-radius:50%!important;overflow:visible!important;aspect-ratio:1!important;box-sizing:border-box!important;margin:0!important;box-shadow:0 0 0 1px #764697!important;position:relative!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized #card-avatar>img:not(.nexo-avatar-decoration){border-radius:50%!important;object-fit:cover!important;width:100%!important;height:100%!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized .profile-card-content{padding:12px 20px 18px!important;max-height:none!important;overflow:visible!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;text-align:left!important;gap:0!important;background:transparent!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized #card-name{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:6px!important;font-size:25px!important;line-height:1.3!important;margin:0 0 5px!important;text-align:left!important;overflow-wrap:anywhere!important;color:#f8fafc!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized #card-username{display:flex!important;align-items:center;gap:8px!important;font-size:15px!important;line-height:1.4!important;margin:5px 0 10px!important;color:#c7b7de!important;text-align:left!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized .phone-plus-label{align-self:flex-start;display:inline-flex!important;min-height:22px!important;padding:3px 8px!important;margin:2px 0 4px!important;line-height:1.25!important;font-size:11px!important;border:1px solid #986b32!important;border-radius:7px!important;background:linear-gradient(110deg,#59341e,#281d35)!important;color:#ffdb80!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized .phone-plus-label[hidden]{display:none!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized #card-badges{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:2px!important;padding:6px 0!important;margin:0 0 10px!important;max-height:none!important;height:auto!important;overflow:visible!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized .badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:none!important;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;box-sizing:border-box;padding:2px!important;border-radius:9px!important;margin:0!important;background:transparent!important;border:0!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized .badge svg{width:18px!important;height:18px!important}.nexo-v2 #profile-dialog .badge .nexo-badge-art{width:24px!important;height:24px!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized .profile-server-roles{display:flex!important;flex-wrap:wrap!important;align-items:center;gap:6px!important;margin:8px 0!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized .profile-role-chip{display:inline-flex;align-items:center;gap:5px!important;font-size:11px!important;line-height:18px!important;min-height:24px!important;padding:2px 7px!important;margin:0!important;border-radius:7px!important;max-width:100%;box-sizing:border-box}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized .profile-role-chip .role-custom-icon{width:14px!important;height:14px!important;flex:none}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized .profile-card-details{display:flex!important;flex-direction:column!important;gap:10px!important;margin:10px 0!important;max-height:none!important;overflow:visible!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized .profile-card-details>section,html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized #card-bio-section{background:#15122f!important;border:1px solid #483267!important;border-radius:12px!important;padding:12px!important;margin:0!important;text-align:left!important;max-width:100%!important;box-sizing:border-box}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized .profile-card-details h3{font-size:13px!important;letter-spacing:.03em!important;margin:0 0 8px!important;color:#f0e6ff!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized .profile-card-details :is(p,b){font-size:14px!important;line-height:1.5!important;margin:0!important;overflow-wrap:anywhere!important}.nexo-v2 #profile-dialog .profile-card-details small{font-size:11px!important;color:#b8a9cf!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized .phone-profile-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;margin-top:12px!important;min-width:0!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized .phone-profile-actions>button{min-height:40px!important;height:auto!important;width:100%!important;max-width:100%!important;margin:0!important;padding:9px 10px!important;border-radius:10px!important;border:1px solid #79529c!important;background:linear-gradient(#40215f,#211936)!important;color:#f8f0ff!important;font-size:13px!important;line-height:1.3!important;white-space:normal!important;box-sizing:border-box}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized #expand-profile{grid-column:1/-1;min-height:44px!important;font-size:15px!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized #profile-close{position:absolute!important;top:10px!important;right:10px!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;z-index:10!important;padding:6px!important;border:1px solid #6c4691!important;border-radius:50%!important;background:#100c29cb!important;color:white!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized .profile-status-note{position:static!important;transform:none!important;max-width:100%!important;width:auto!important;font-size:12px!important;padding:8px 10px!important;box-sizing:border-box;background:#211633!important;border:1px solid #6c4691!important;border-radius:10px!important;color:#efdefe!important;text-align:left!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized .profile-status-note:after{display:none!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized .mini-profile .mutual-list{display:grid;gap:6px}
.nexo-v2 #profile-dialog.profile-render-pending{visibility:hidden!important;pointer-events:none!important;animation:none!important;transition:none!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized [hidden]{display:none!important}
@media(min-width:761px){
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized.profile-wide:not(.mini-profile){width:min(820px,calc(100vw - 40px))!important;height:min(680px,calc(100dvh - 40px))!important;max-height:calc(100dvh - 40px)!important;overflow:hidden!important}
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized.profile-wide .full-profile-layout{display:grid!important;grid-template-columns:270px minmax(0,1fr)!important;grid-template-rows:124px minmax(0,1fr)!important;overflow:hidden!important;height:100%!important;min-height:0!important}
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized.profile-wide .full-profile-layout>.card-banner{grid-column:1/-1!important;grid-row:1!important}
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized.profile-wide .full-profile-identity{grid-column:1!important;grid-row:2!important;min-height:0!important;overflow:auto!important;border-right:1px solid #493164!important}
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized.profile-wide .profile-card-top{margin:16px 0 0!important}
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized.profile-wide .profile-section-tabs{grid-column:2!important;grid-row:2!important;align-self:start!important;z-index:2;padding:12px!important;display:flex!important;gap:6px!important;background:#100f28!important}
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized.profile-wide .full-profile-details{grid-column:2!important;grid-row:2!important;padding:66px 18px 18px!important;overflow:auto!important;min-height:0!important;box-sizing:border-box!important}
}
@media(max-width:760px){
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized.mini-profile{width:calc(100vw - 24px)!important;left:12px!important;top:max(12px,env(safe-area-inset-top))!important;max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important}
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized .phone-profile-actions>button{min-height:44px!important}.nexo-v2 #profile-dialog .profile-section-tabs button{min-height:44px!important}
}

html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized.mini-profile .profile-card-details:not(:has(#card-bio-section:not([hidden]))){display:none!important}
@media(max-width:760px){html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized #profile-close{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:10px!important}html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized .badge{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:8px!important}}

html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #profile-dialog.profile-organized.profile-wide .full-profile-layout[data-profile-tab=games] .profile-card-details{display:none!important}
