/* Reference-led Nexo 2.0 shell; game canvases and public login retain their own layouts. */
html.nexo-v2{--v2-nav-width:286px;--v2-bg:#080d20;--v2-side:#0d1029;--v2-card:#151b3b;--v2-purple:#9333ea;--v2-light:#c084fc;--v2-text:#f8fafc;--v2-muted:#a9b4cc;--v2-border:#573285}
html.nexo-v2 body:has(#workspace:not([hidden])){background:var(--v2-bg)!important;color:var(--v2-text);padding:0!important}
.v2-navigation{display:none}.nexo-v2 #workspace :is(button,input,select,textarea){font-family:inherit}.nexo-v2 #workspace button svg{width:22px;height:22px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8}.nexo-v2 #workspace :is(input,select,textarea){background:#101631!important;color:#f8fafc!important;border-color:#51406e!important}.nexo-v2 #workspace .primary{background:linear-gradient(110deg,#a855f7,#7c18d9)!important;color:white!important;border:1px solid #b87dff!important}.nexo-v2 #workspace :is(.sidebar,.chat,.members-panel){background:#0d1029!important;border-color:#302148!important}.nexo-v2 #workspace .chat-header{background:#101631!important;border-color:#302148!important}
.nexo-v2 #workspace .v2-home{display:grid!important;grid-template-columns:minmax(0,1fr) 292px!important;gap:24px!important;padding:18px 28px!important;background:#080b1c!important;align-content:start;overflow:auto!important;width:100%!important}.nexo-v2 #workspace .v2-home[hidden]{display:none!important}.v2-main,.v2-right{min-width:0}.v2-main{display:flex;flex-direction:column;gap:22px}.v2-right{display:flex;flex-direction:column;gap:18px}.v2-welcome{display:flex;align-items:center;justify-content:space-between;min-height:184px;max-height:205px;border:1px solid #8f4ddd;border-radius:18px;padding:24px 32px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 80% 80%,#8f16f3aa,transparent 65%),linear-gradient(120deg,#0b0c29,#250e53)}.v2-welcome:before{content:'';position:absolute;width:80%;height:120px;border:20px solid #ab32ff33;transform:rotate(-12deg);border-radius:50%;right:-10%;top:55%;pointer-events:none}.v2-welcome>div{z-index:1;flex:1}.v2-welcome h2{font-size:25px!important;margin:0 0 6px!important}.v2-welcome h1{font-size:clamp(30px,3.2vw,46px)!important;line-height:1.15!important;margin:0 0 10px!important;overflow-wrap:anywhere;color:white!important}.v2-welcome p{font-size:18px;margin:0;color:white}.v2-welcome>img{width:49%;height:245px;object-fit:contain;z-index:1;flex:none;margin:-40px -8px -35px 0}
.v2-shortcuts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.nexo-v2 #workspace .v2-shortcuts button{position:relative;display:flex;align-items:center;justify-content:center;gap:9px;min-height:78px;padding:14px 10px;border:1px solid #60378d;border-radius:14px;background:linear-gradient(135deg,#281746,#101631);font-size:13px;font-weight:750;color:white;text-align:left}.v2-shortcuts svg{color:#c084fc;filter:drop-shadow(0 0 8px #9333ea)}.v2-shortcuts [data-destination=university] svg{color:#60a5fa}.nexo-v2 #workspace .v2-shortcuts [data-destination=plus]{border-color:#8b6831;background:linear-gradient(120deg,#352716,#14172c)}.v2-shortcuts [data-destination=plus] svg{color:#f5c66d}.v2-count{font-size:11px;padding:2px 6px;background:#9d2de0;color:white;border-radius:20px;line-height:1.3}.v2-shortcuts .v2-count{position:absolute;top:6px;right:9px}
.v2-content-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(245px,1fr);gap:18px}.v2-card{border:1px solid #442469;border-radius:18px;background:radial-gradient(ellipse at 100% 100%,#52208025,transparent 65%),linear-gradient(125deg,#10112b,#101631);padding:20px;min-width:0;position:relative;color:#f8fafc}.v2-card>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:20px}.v2-card h2{font-size:18px!important;line-height:1.3;margin:0!important}.nexo-v2 #workspace .v2-card>header button{border:0;background:none;padding:0;color:#d99bff;font-size:12px;min-height:30px}.v2-card .settings-note{font-size:13px;line-height:1.6;color:#a9b4cc}.v2-news-body{min-height:155px;padding-right:0}.v2-news-body:has(img){padding-right:38%;position:relative}.v2-news-body img{position:absolute;right:0;top:0;width:34%;height:140px;object-fit:cover;border:1px solid #7d43aa;border-radius:14px}.v2-news-body h3{font-size:19px;margin:10px 0}.v2-news-body p{font-size:13px;color:#c6c3d8;line-height:1.6}.v2-news-body small{font-size:11px;color:#a9b4cc}.nexo-v2 #workspace .v2-news-body button,.nexo-v2 #workspace .v2-progress>button{background:linear-gradient(#a855f7,#7421bf);color:white;border:1px solid #ac71e9;border-radius:16px;font-weight:700;padding:7px 17px;font-size:12px}.v2-carousel{display:flex;justify-content:center;gap:5px;margin:8px 0 0}.nexo-v2 #workspace .v2-carousel button{width:8px;height:6px;min-height:0;padding:0;border:0;border-radius:6px;background:#54436d}.v2-carousel button span{display:none}.nexo-v2 #workspace .v2-carousel [aria-pressed=true]{width:15px;background:#e6b7ff}
.v2-progress{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;align-items:center}.v2-progress>header{grid-column:1/-1;margin-bottom:6px}.v2-completion{width:92px;height:92px;border:10px solid transparent;border-radius:50%;display:grid;place-items:center;background:linear-gradient(#171431,#171431) padding-box,conic-gradient(#b747f0 var(--completion),#3c235c 0) border-box;font-size:21px;font-weight:800}.v2-progress ul{list-style:none;margin:0;padding:0;font-size:12px;line-height:1.7;color:#a9b4cc}.v2-progress li{margin:6px 0}.v2-progress li.complete{color:#ece5ff}.v2-progress>button{grid-column:1/-1;justify-self:center;min-width:80%;margin-top:8px}
.v2-recent-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.nexo-v2 #workspace .v2-recent-grid button{padding:0 0 12px;border:1px solid #3f285e;border-radius:14px;overflow:hidden;background:#1b1640;color:white;text-align:left;font-size:12px;display:flex;flex-direction:column;gap:9px}.v2-recent-cover{width:100%;height:85px;display:grid;place-items:center;background:radial-gradient(at 70% 10%,#6e36bc,#191a4d)}.v2-recent-cover img{width:54px;height:54px;object-fit:contain}.v2-recent-cover svg{width:36px!important;height:36px!important;color:#c084fc}.v2-recent-grid button>span,.v2-recent-grid small{padding:0 10px}.v2-recent-grid small{font-size:10px;color:#b9adcc}.nexo-v2 #workspace .v2-event{display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:linear-gradient(120deg,#271946,#111830);border:1px solid #704197;border-radius:14px;color:white;padding:14px;width:100%;text-align:left}.v2-event small{flex-basis:100%;font-size:11px;color:#b6b2cf}.nexo-v2 #workspace .v2-friend{display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:12px;align-items:center;text-align:left;background:none;border:0;width:100%;color:white;padding:8px 0;font-size:14px}.v2-friend>.avatar{grid-row:span 2;width:36px;height:36px}.v2-friend small{font-size:11px;color:#a9b4cc}.v2-friends>.v2-count{position:absolute;right:20px;top:54px}.v2-right>.v2-card:last-child>button{display:flex;align-items:center;gap:12px;min-height:46px;width:100%;padding:10px 14px;margin-top:10px;border:0;border-radius:12px;background:#1b1b3b;color:white;text-align:left;font-size:14px}.v2-community-more{border:1px solid #322247;border-radius:16px;padding:16px}.v2-community-more>summary{cursor:pointer;color:#c4a5e9;font-size:13px}.v2-game-links{display:flex;gap:10px;margin:16px 0}.v2-community-more .social-stream{display:block!important}
.v2-account-menu{position:absolute;right:20px;top:65px;z-index:150;width:230px;border:1px solid #7950aa;border-radius:16px;padding:8px;background:#171631;box-shadow:0 16px 50px #0008}.v2-account-menu[hidden]{display:none}.v2-account-menu button{display:block;width:100%;border:0;border-radius:9px;background:transparent;color:white;text-align:left;padding:10px 12px}.v2-account-menu button:hover{background:#64319a}.v2-history{display:flex;gap:8px}.v2-history button,.v2-header-messages{display:grid;place-items:center;width:38px;height:38px;padding:0!important;border:1px solid #342548!important;border-radius:50%;background:#14132e!important;color:white}.v2-history button span,.v2-header-messages span{display:none}
@media(min-width:1001px){
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace{display:grid!important;grid-template-columns:var(--v2-nav-width) 235px minmax(0,1fr) 245px!important;grid-template-rows:76px minmax(0,1fr)!important;gap:0!important;width:100%!important;height:100dvh!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important}
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace[hidden]{display:none!important}
 .nexo-v2 #workspace>.v2-navigation{display:flex!important;flex-direction:column;grid-column:1!important;grid-row:1/3!important;min-height:0;overflow:hidden;border-right:1px solid #2a1e43;background:linear-gradient(140deg,#090d20,#100e2b);padding:16px 18px;height:calc(100dvh - 18px);box-sizing:border-box;border-bottom-right-radius:18px}
 .v2-brand{padding:0!important;border:0!important;background:none!important;width:100%;height:65px;flex:none}.v2-brand img{width:210px;height:70px;object-fit:contain}.v2-main-nav{display:flex;flex-direction:column;gap:5px;margin:17px 0 20px}.v2-main-nav button{display:flex;align-items:center;gap:14px;padding:11px 16px;text-align:left;border:0;background:transparent;color:#f8fafc;border-radius:11px;min-height:46px;font-size:18px}.v2-main-nav button[data-active]{background:linear-gradient(110deg,#7733b9,#492278);box-shadow:inset 0 0 0 1px #9e5bd4}.v2-main-nav button .v2-count{margin-left:auto}.v2-main-nav [data-destination=plus] svg{color:#f5c66d}
 .v2-servers-head{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #3a2853;padding-top:18px;font-size:11px;color:#c4b9d9}.v2-servers-head button{background:none;border:0;color:white;padding:5px}.v2-servers-head button span{display:none}.v2-servers{overflow:auto;min-height:0;flex:1;margin-top:10px}.nexo-v2 #workspace .v2-server-link{display:flex;align-items:center;gap:12px;width:100%;padding:10px 0;border:0;background:none;color:white;text-align:left;font-size:16px;min-height:50px}.v2-server-icon{width:42px;height:42px;display:grid;place-items:center;background:#282247;border:1px solid #653991;border-radius:50%;flex:none}.v2-server-icon img{width:100%;height:100%;object-fit:contain;border-radius:50%}.v2-server-link>span:not(.v2-server-icon){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v2-server-link:nth-child(n+6){display:none!important}.v2-show-all .v2-server-link:nth-child(n+6){display:flex!important}.v2-navigation>button:last-of-type{background:none;border:0;color:#c4bad7;font-size:12px;text-align:left;padding:10px 0}.v2-account{display:flex;align-items:center;gap:6px;border-top:1px solid #3e2755;padding-top:12px;margin-top:12px;min-height:66px;flex:none}.v2-account>button{background:none;border:0;color:white;padding:0}.v2-account-identity{display:grid;grid-template-columns:38px 1fr;gap:0 8px;align-items:center;text-align:left;flex:1;overflow:hidden}.v2-account-identity .avatar{grid-row:span 2;width:34px;height:34px}.v2-account-identity small{font-size:10px;color:#a9b4cc}.v2-account-identity>span:not(.avatar){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace>.server-rail{grid-column:2/-1!important;grid-row:1!important;display:flex!important;align-items:center;gap:14px!important;padding:12px 28px!important;border:0!important;border-bottom:1px solid #302044!important;border-radius:0!important;background:#0b0c22!important;min-height:0!important;height:76px!important;overflow:visible!important}
 .nexo-v2 #workspace>.server-rail>:not(#nexo-home):not(.v2-history):not(.nexo-universal-search):not(#notice-header-bell):not(.ecosystem-account):not(.v2-header-messages):not(.v2-account-menu){display:none!important}
 .nexo-v2 .server-rail>.nexo-universal-search{display:flex!important;align-items:center;gap:14px;width:min(58%,650px)!important;max-width:650px!important;margin:0 auto!important;height:44px!important;flex:1;background:linear-gradient(120deg,#171333,#12172d)!important;border:1px solid #5d3e8a!important;color:#bdb2ce!important;border-radius:12px!important;padding:12px 18px!important}.nexo-v2 .nexo-universal-search kbd{margin-left:auto}.nexo-v2 .server-rail>.ecosystem-account{flex:none}
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace>.sidebar{grid-column:2!important;grid-row:2!important;border-radius:0!important;min-height:0!important}
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace>.chat{grid-column:3!important;grid-row:2!important;border-radius:0!important;min-height:0!important;height:auto!important}
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace>.members-panel{grid-column:4!important;grid-row:2!important;border-radius:0!important}
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace:is(.reference-home-active,.nexo-servers-active,.discovering){grid-template-columns:var(--v2-nav-width) minmax(0,1fr)!important}
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace:is(.reference-home-active,.nexo-servers-active,.discovering)>.chat{grid-column:2!important}
 .nexo-v2 #workspace:is(.reference-home-active,.nexo-servers-active,.discovering)>.sidebar,.nexo-v2 #workspace:is(.reference-home-active,.nexo-servers-active,.discovering)>.members-panel{display:none!important}
 .nexo-v2 #workspace.reference-home-active>.chat>.chat-header{display:none!important}
}
@media(max-width:1300px) and (min-width:1001px){.nexo-v2 #workspace .v2-home{grid-template-columns:minmax(0,1fr) 235px!important;gap:16px!important;padding:18px!important}.v2-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}.v2-content-grid{grid-template-columns:minmax(0,1fr)}.v2-welcome>img{width:43%}.v2-progress{grid-template-columns:92px 1fr}}
@media(max-width:1000px){.v2-history,.v2-header-messages{display:none}.nexo-v2 #workspace .v2-home{grid-template-columns:minmax(0,1fr)!important;padding:16px!important;gap:18px!important}.v2-right{display:grid;grid-template-columns:1fr 1fr}.v2-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}.v2-welcome{padding:22px;min-height:170px}.v2-welcome h2{font-size:20px!important}.v2-welcome p{font-size:14px}.v2-content-grid{grid-template-columns:1.5fr 1fr}.v2-recent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.v2-content-grid,.v2-right{grid-template-columns:1fr}.v2-welcome{padding:20px;min-height:155px;max-height:none}.v2-welcome>img{width:42%;height:160px;margin:0 -15px 0 0}.v2-welcome h1{font-size:28px!important}.v2-welcome h2{font-size:17px!important}.v2-welcome p{font-size:12px}.nexo-v2 #workspace .v2-shortcuts button{flex-direction:column;justify-content:center;text-align:center;font-size:11px;gap:8px;min-height:78px;padding:12px 6px}.v2-card{padding:18px}.v2-main{gap:16px}.v2-content-grid{gap:16px}.v2-progress{grid-template-columns:92px 1fr}.v2-progress>button{grid-column:1/-1}.v2-account-menu{position:fixed;top:80px;right:14px}.v2-news-body:has(img){padding:0}.v2-news-body img{position:static;width:100%;height:120px;margin:12px 0}}
/* Shared logged-in modals, popovers, settings and menus. Public auth remains unchanged. */
html.nexo-v2 body:has(#workspace:not([hidden])) :is(dialog,.home-popover,.notice-panel,.profile-popover,.nexo-command-center){background:linear-gradient(135deg,#15132e,#101631)!important;border-color:#6b3f96!important;color:#f8fafc!important;box-shadow:0 20px 65px #0008!important}
html.nexo-v2 body:has(#workspace:not([hidden])) dialog :is(input,textarea,select){background:#101329!important;border-color:#594172!important;color:white!important}
html.nexo-v2 body:has(#workspace:not([hidden])) dialog :is(button,.secondary,.workspace-card,.settings-profile-section,.profile-settings-directory){background:#201b3c!important;border-color:#513476!important;color:#f8fafc!important}
html.nexo-v2 body:has(#workspace:not([hidden])) dialog :is(.primary,[aria-current=page],.selected){background:linear-gradient(110deg,#9333ea,#6424aa)!important;border-color:#b86af6!important;color:white!important}
html.nexo-v2 body:has(#workspace:not([hidden])) dialog :is(.eyebrow,.settings-note){color:#bcabd2!important}
@media(prefers-reduced-motion:reduce){.nexo-v2 *{scroll-behavior:auto!important}}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace>.chat>.v2-home{display:grid!important;flex-direction:initial!important;grid-template-columns:minmax(0,1fr) 292px!important;min-height:0!important;max-width:none!important}
.v2-account-icon{flex:none;display:grid;place-items:center;width:25px;height:30px}.v2-account-icon span{display:none}.v2-account-icon svg{width:18px!important;height:18px!important}.v2-account-identity>span:not(.avatar){font-size:12px}
@media(min-width:1001px){html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace>.server-rail>.nexo-universal-search{width:58%!important;max-width:650px!important;min-width:200px!important;height:44px!important;flex:1!important;justify-content:flex-start!important;font-size:14px!important;margin:0 auto!important}.nexo-v2 .nexo-universal-search span{display:block!important}.nexo-v2 .nexo-universal-search kbd{display:block!important}.nexo-v2 #notice-header-bell{display:grid!important;place-items:center;position:relative;flex:none;width:40px!important;height:40px!important;border-radius:50%!important;background:#17132e!important;border:1px solid #332448!important}}
@media(max-width:1300px) and (min-width:1001px){html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace>.chat>.v2-home{grid-template-columns:minmax(0,1fr) 235px!important}}
@media(max-width:1000px){html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace>.chat>.v2-home{grid-template-columns:minmax(0,1fr)!important}.nexo-v2 .v2-main,.nexo-v2 .v2-right{width:100%}}
/* The rail's compact icon rule must not size account-menu rows. */
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace>.server-rail .v2-account-menu button{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;max-width:none!important;height:auto!important;min-height:40px!important;margin:0!important;padding:10px 12px!important;border:0!important;border-radius:9px!important;background:transparent!important;text-align:left!important;white-space:nowrap!important}
html.nexo-v2 #workspace>.server-rail .v2-account-menu button span{display:block!important;white-space:nowrap!important;font-size:14px!important}
html.nexo-v2 #workspace>.server-rail .v2-account-menu button:hover{background:#64319a!important}
html.nexo-v2 #workspace>.server-rail>.ecosystem-account{order:5}
html.nexo-v2 #workspace>.server-rail>#notice-header-bell{order:3}
html.nexo-v2 #workspace>.server-rail>.v2-header-messages{order:4}
html.nexo-v2 #workspace>.server-rail>.nexo-universal-search{order:2}
html.nexo-v2 #workspace>.server-rail>.v2-history{order:1}
.v2-welcome h1{display:flex;align-items:center;gap:12px}.v2-welcome h1 svg{width:30px;height:30px;flex:none;fill:none;stroke:#d9a0ff;stroke-width:1.8}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace>.server-rail>.v2-history{order:1!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace>.server-rail>.nexo-universal-search{order:2!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace>.server-rail>#notice-header-bell{order:3!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace>.server-rail>.v2-header-messages{order:4!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace>.server-rail>.ecosystem-account{order:5!important}
.nexo-v2 .v2-main-nav button:hover,.nexo-v2 .v2-server-link:hover{background:#372052!important}.nexo-v2 .v2-shortcuts button:hover{border-color:#b86af6!important;box-shadow:0 0 18px #9333ea20}.nexo-v2 .v2-count{min-width:18px;text-align:center}
.nexo-v2 .v2-event-directory{display:grid;gap:12px}.nexo-v2 .v2-event-directory .v2-event{padding:14px;border:1px solid #704197;border-radius:14px;background:#21183d;color:white;text-align:left;display:grid;gap:7px}
.v2-card h2{display:flex;align-items:center;gap:10px}.v2-card h2 svg{width:21px;height:21px;flex:none;fill:none;stroke:#ce8aff;stroke-width:1.8}.v2-menu-identity{display:grid;grid-template-columns:36px 1fr;column-gap:10px;align-items:center;padding:10px;border-bottom:1px solid #513476;margin-bottom:6px}.v2-menu-identity .avatar{grid-row:span 2;width:32px;height:32px}.v2-menu-identity small{font-size:11px;color:#a9b4cc}.v2-menu-identity strong{font-size:14px;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1000px){html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace>.server-rail>.v2-header-messages,html.nexo-v2 #nexo-home>span{display:none!important}html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace>.server-rail #nexo-home img{width:125px!important;height:42px!important;max-width:none!important;object-fit:contain!important}html.nexo-v2 #workspace>.server-rail{background:#0d1029!important;border-color:#302148!important}.nexo-v2 .v2-card>header button{min-height:44px!important}.nexo-v2 .v2-count{font-size:12px}}
@media(max-width:600px){.v2-welcome>div{flex:none;width:100%;padding-right:90px}.v2-welcome>img{position:absolute;width:120px;height:140px;right:6px;bottom:10px;margin:0;pointer-events:none}.v2-welcome h1{display:block;font-size:26px!important}.v2-welcome h1 svg{display:inline-block;width:22px;height:22px;margin-left:7px;vertical-align:middle}.v2-welcome p{max-width:160px}.v2-welcome{min-height:175px}}
.v2-news-author{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:750;margin-bottom:6px}.v2-news-author .verified-mark{width:16px;height:16px}
/* Keep the app's authoritative visibility state above presentation rules. */
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace>.chat>.v2-home[hidden]{display:none!important}
html.nexo-v2 #workspace .v2-main-nav button[hidden],html.nexo-v2 #workspace .v2-shortcuts button[hidden]{display:none!important}
html.nexo-v2 body:has(#workspace:not([hidden])){--nav:#080d20;--paper:#101631;--panel:#151b3b;--sidebar:#0d1029;--ink:#f8fafc;--text:#f8fafc;--muted:#a9b4cc;--line:#3b285d;--accent:#a855f7;--nexo-highlight:#c084fc;--surface-card:#1b2048;--surface-input:#101631;--surface-hover:#9333ea18;--ux-ink:#080d20;--ux-panel:#101631;--ux-raised:#1b2048;--ux-line:#573285;--ux-text:#f8fafc;--ux-muted:#a9b4cc}
html.nexo-v2 #workspace .sidebar :is(.sidebar-header,.channel-list-header,.category-heading,.profile){background:#10132b!important;border-color:#38264f!important}
html.nexo-v2 #workspace .sidebar :is(.channel-button.active,.channel.active,.nav-item.active,[aria-current=page]){background:linear-gradient(110deg,#6633a0,#382057)!important;color:#f8fafc!important;border-color:#9c51db!important}
html.nexo-v2 body:has(#workspace:not([hidden])) :is(.server-context-menu,.home-popover,.smart-search-results,.message-menu,.members-popover){background:#171631!important;border-color:#6b3f96!important;color:#f8fafc!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body :is(#edit-dialog.profile-settings-hub,#account-dialog,#notifications-dialog,#friends-dialog){background:linear-gradient(135deg,#15132e,#101631)!important;border-color:#6b3f96!important;color:#f8fafc!important}
html.nexo-identity.nexo-orbit.nexo-v2 body>#voice-dock.floating-call{background:linear-gradient(135deg,#15132ef5,#21143df5)!important;border-color:#8e52bc!important}
.v2-account-identity{padding-left:7px!important;overflow:visible!important}.v2-account-identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v2-welcome:before{animation:v2-wave 16s ease-in-out infinite alternate}
@keyframes v2-wave{from{transform:translate3d(0,0,0) rotate(-12deg)}to{transform:translate3d(-20px,-8px,0) rotate(-8deg)}}
@media(prefers-reduced-motion:reduce){.v2-welcome:before{animation:none}}
@media(min-width:701px) and (max-width:1000px){
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace:is(.reference-home-active,.nexo-servers-active,.discovering){grid-template-columns:minmax(0,1fr)!important;grid-template-rows:76px minmax(0,1fr)!important;gap:12px!important}
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace:is(.reference-home-active,.nexo-servers-active,.discovering)>.sidebar{display:none!important}
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace:is(.reference-home-active,.nexo-servers-active,.discovering)>.chat{grid-column:1/-1!important;grid-row:2!important}
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace>.server-rail{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;overflow:visible!important;gap:12px!important;padding:10px 16px!important;min-height:0!important;height:76px!important}
 html.nexo-v2 #workspace>.server-rail>:not(#nexo-home):not(.nexo-universal-search):not(.ecosystem-account):not(#notice-header-bell):not(.v2-account-menu):not(.ux-sidebar-toggle){display:none!important}
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace>.server-rail>.nexo-universal-search{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;flex:1!important;width:auto!important;max-width:none!important;height:42px!important;margin:0!important;padding:10px!important;background:#17132e!important;color:#a9b4cc!important;border:1px solid #573285!important}
 html.nexo-v2 #workspace>.server-rail>.nexo-universal-search span{display:block!important;font-size:13px;white-space:nowrap}
 html.nexo-v2 #workspace>.server-rail>.nexo-universal-search kbd{display:none!important}
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace>.server-rail>#notice-header-bell{position:relative!important;inset:auto!important;display:grid!important;place-items:center!important;width:40px!important;height:40px!important;margin:0!important;flex:none!important}
 html.nexo-v2 #workspace.reference-home-active>.chat>.chat-header{display:none!important}
 .v2-news-body:has(img){padding-right:0}.v2-news-body img{position:static;width:100%;height:110px;margin-top:12px}
}

/* Messages owns its layout. Existing conversation, media and permission handlers remain shared. */
html.nexo-v2{--v2-secondary:#101631;--v2-elevated:#1b2048;--v2-electric:#a855f7}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.messaging-workspace :is(.chat,.sidebar,.conversation-details){background:linear-gradient(135deg,#0c0e25,#12102f)!important;border:1px solid #563287!important;border-radius:20px!important;min-width:0!important;min-height:0!important;box-sizing:border-box!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.messaging-workspace .chat-header{position:relative;display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:12px!important;padding:12px 16px!important;height:78px!important;min-height:78px!important;max-height:78px!important;flex:none!important;background:transparent!important;border-bottom:1px solid #30204c!important}
.nexo-v2 #workspace.messaging-workspace .chat-header #channel-title{font-size:21px!important;font-weight:750;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-bottom:20px!important;flex:1!important}
.nexo-v2 #workspace.messaging-workspace .chat-header #channel-description{position:absolute;left:92px;top:46px;color:var(--v2-muted)!important;font-size:14px!important;margin:0!important;max-width:calc(100% - 320px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nexo-v2 #workspace.messaging-workspace .conversation-header-avatar{width:62px!important;min-width:62px!important;height:58px!important;border:0!important;background:none!important;padding:3px!important}
.nexo-v2 #workspace.messaging-workspace .conversation-header-avatar>.avatar{width:50px!important;height:50px!important;min-width:50px!important}
.nexo-v2 #workspace.messaging-workspace .chat-header .icon-button,.nexo-v2 .conversation-header-menu>summary{width:44px!important;height:44px!important;min-width:44px!important;padding:10px!important;display:grid;place-items:center;border:1px solid #664393!important;border-radius:50%!important;background:linear-gradient(135deg,#30204f,#13132f)!important;color:#e6b5ff!important;box-sizing:border-box}
.nexo-v2 #workspace.messaging-workspace .chat-header [hidden]{display:none!important}
.nexo-v2 .conversation-header-menu{position:relative;flex:none}.nexo-v2 .conversation-header-menu>summary{cursor:pointer;list-style:none}.nexo-v2 .conversation-header-menu>summary::-webkit-details-marker{display:none}.nexo-v2 .conversation-header-menu>div{position:absolute;right:0;top:50px;z-index:100;width:220px;display:grid;gap:6px;padding:8px;background:#15132f;border:1px solid #725097;border-radius:12px;box-shadow:0 12px 32px #0008}
.nexo-v2 #workspace.messaging-workspace .conversation-header-menu .icon-button{width:100%!important;border:0!important;border-radius:8px!important;display:flex!important;gap:12px;justify-content:flex-start;background:transparent!important;font-size:14px!important}.conversation-header-menu button:after{content:attr(aria-label)}
.nexo-v2 #workspace.messaging-workspace>.sidebar .sidebar-header{padding:14px 16px!important;border:0!important;background:none!important;min-height:70px!important;height:70px!important;box-sizing:border-box}
.nexo-v2 #workspace.messaging-workspace #server-title{font-size:26px!important;color:var(--v2-text)!important}
.nexo-v2 #workspace.messaging-workspace>.sidebar :is(.nexo-spaces-strip,.server-banner,.server-identity-cover,.channel-heading,.sidebar-tip,.profile,.sidebar-discovery-links){display:none!important}
.nexo-v2 #workspace.messaging-workspace .conversation-directory{padding:0 14px 12px!important}.nexo-v2 #workspace.messaging-workspace .conversation-directory>input{border-color:#60418a!important;border-radius:14px!important;background:#10122b!important;color:var(--v2-text)!important;min-height:44px!important;font-size:16px!important;padding:10px 14px!important}
.nexo-v2 #workspace.messaging-workspace .conversation-filters{gap:8px;padding-top:12px}.nexo-v2 #workspace.messaging-workspace .conversation-filters>button{border:1px solid #493260!important;border-radius:20px!important;background:linear-gradient(#242044,#16142f)!important;color:var(--v2-text)!important;font-size:14px!important;min-height:36px!important;padding:6px 12px!important;white-space:nowrap}
.nexo-v2 #workspace.messaging-workspace .conversation-filters>button[aria-pressed=true]{background:linear-gradient(#b342f8,#8717df)!important;border-color:#ce79ff!important;box-shadow:inset 0 2px 5px #fff3}
.nexo-v2 #workspace.messaging-workspace #channel-list{padding:0 14px 14px!important;overflow:auto!important;min-height:0!important;flex:1!important}.conversation-list-heading{margin:13px 0 8px!important;font-size:14px!important;font-weight:650;color:#f4ebff}
.nexo-v2 #workspace.messaging-workspace .dm-list-row{position:relative;min-width:0;border-bottom:1px solid #38264d;border-radius:10px}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.messaging-workspace .dm-channel{background:transparent!important;border:0!important;border-radius:10px!important;min-height:66px!important;padding:10px 42px 10px 4px!important;gap:12px!important;width:100%!important;color:var(--v2-text)!important;box-shadow:none!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.messaging-workspace :is(.dm-channel.active,.group-channel.active){background:linear-gradient(110deg,#43246688,#231c4388)!important;box-shadow:inset 0 0 0 1px #7650a4!important}
.nexo-v2 #workspace.messaging-workspace .dm-channel>.avatar{width:46px!important;height:46px!important;min-width:46px!important;flex:none!important}.nexo-v2 #workspace.messaging-workspace .conversation-copy{padding-right:0!important;gap:5px!important}.nexo-v2 #workspace.messaging-workspace .conversation-copy>span{font-size:17px!important;font-weight:750}.nexo-v2 #workspace.messaging-workspace .conversation-copy>small{font-size:14px!important;color:#d3c6e9!important}.nexo-v2 #workspace.messaging-workspace .conversation-time{right:0;top:12px;font-size:12px!important;color:#c9bbdf!important}.nexo-v2 #workspace.messaging-workspace .dm-close{position:absolute;right:0;bottom:0;width:32px;height:32px;padding:0;background:none;border:0;color:#c084fc;opacity:0}.nexo-v2 #workspace.messaging-workspace .dm-list-row:is(:hover,:focus-within) .dm-close{opacity:1}
.nexo-v2 #workspace.messaging-workspace :is(.unread-count,.dm-home-unread){background:linear-gradient(#b94efa,#8b21d5)!important;color:white!important;border-radius:20px!important}
.nexo-v2 #workspace.messaging-workspace #message-scroll{padding:16px 14px!important}.nexo-v2 #workspace.messaging-workspace .date-divider{font-size:14px!important;color:#ddd1f8!important;margin:0 0 18px!important;min-height:32px}
.nexo-v2 #workspace.messaging-workspace .message{gap:12px!important;padding:10px 0!important;align-items:flex-start!important;min-width:0!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.messaging-workspace #messages .message-content{display:flex!important;flex-direction:column;align-items:flex-start;gap:5px;background:none!important;border:0!important;border-radius:0!important;padding:0!important;max-width:88%!important;min-width:0!important;box-shadow:none!important;position:relative}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.messaging-workspace .conversation-bubble{background:linear-gradient(135deg,#30284f,#25213f)!important;border:1px solid #594779!important;border-radius:18px!important;padding:9px 16px!important;min-width:0!important;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere;box-shadow:0 2px 5px #0002}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.messaging-workspace #messages .message-outgoing .conversation-bubble{background:linear-gradient(125deg,#851bd0,#5d159b)!important;border-color:#ac54e1!important;border-bottom-right-radius:10px!important}
.nexo-v2 #workspace.messaging-workspace .message-outgoing>.message-avatar-button{display:none!important}.nexo-v2 #workspace.messaging-workspace .message-outgoing .message-content{align-items:flex-end!important}.nexo-v2 #workspace.messaging-workspace .message-avatar-button .avatar{width:42px!important;height:42px!important;min-width:42px!important}
.nexo-v2 #workspace.messaging-workspace .message-body{font-size:18px!important;line-height:1.45!important;margin:0!important;color:#f8f5ff!important}.nexo-v2 #workspace.messaging-workspace .message-meta{order:2;min-height:16px;margin:0!important;font-size:12px!important;align-self:flex-end;gap:6px!important}.nexo-v2 #workspace.direct-messaging .message-meta :is(.message-name-button,.you-tag){display:none!important}.nexo-v2 #workspace.messaging-workspace .message-meta time{color:#c5badb!important;font-size:12px!important}.nexo-v2 #workspace.messaging-workspace .seen-receipt{position:static!important;display:block!important;order:3;align-self:flex-end;font-size:11px!important;color:#d9b0fa!important;padding:0!important;margin:0!important;line-height:18px;max-width:100%}.nexo-v2 #workspace.messaging-workspace .message-actions{position:absolute;top:-8px;right:0;z-index:3}.nexo-v2 #workspace.messaging-workspace .message-reactions{order:4;flex-wrap:wrap}
.nexo-v2 #workspace.messaging-workspace :is(.reply-composer,.message-reply){border-left-color:#a855f7!important;background:#1b2048!important}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.messaging-workspace .composer-area{background:transparent!important;border-top:1px solid #35204e!important;padding:12px 14px!important;min-width:0!important;flex:none;box-sizing:border-box}
html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.messaging-workspace .composer{display:flex!important;align-items:flex-end!important;gap:8px!important;border:1px solid #76519f!important;border-radius:26px!important;background:linear-gradient(110deg,#201c3d,#17132d)!important;margin:0!important;min-width:0!important;padding:5px 7px!important;min-height:52px!important;box-sizing:border-box}
.nexo-v2 #workspace.messaging-workspace #message-input{border:0!important;background:transparent!important;color:var(--v2-text)!important;min-width:0!important;flex:1!important;font-size:16px!important;line-height:1.4!important;min-height:38px!important;max-height:140px;padding:8px!important}
.nexo-v2 #workspace.messaging-workspace .composer>button{display:grid;place-items:center;width:40px!important;height:40px!important;min-width:40px!important;padding:8px!important;border-radius:50%!important;flex:none;background:none!important;color:#e5d2ff!important}
.nexo-v2 #workspace.messaging-workspace #send-message{background:linear-gradient(130deg,#bb43ff,#8b17df)!important;border:1px solid #ca7dff!important}
.nexo-v2 #workspace.messaging-workspace .composer-hint{display:none!important}.nexo-v2 #workspace.messaging-workspace .typing-indicator:empty{display:none!important}
.nexo-v2 #workspace.messaging-workspace .conversation-details{position:relative;isolation:isolate;padding:0 14px 14px!important;overflow:auto!important;height:auto!important;display:flex;flex-direction:column;gap:0}
.nexo-v2 .conversation-details-heading{position:absolute;right:10px;top:10px;z-index:10}.nexo-v2 .conversation-details-heading .icon-button{width:36px;height:36px;padding:6px;border-radius:50%;background:#100d2bba;border:1px solid #7c51a1;color:white}
.nexo-v2 .conversation-person{display:block;position:relative;isolation:isolate;margin:0 0 16px!important}.nexo-v2 .conversation-profile-banner{height:122px;margin:0 -14px;background:radial-gradient(ellipse at 75% 20%,#762ac0,transparent 65%),linear-gradient(130deg,#161130,#30204d);border-radius:18px 18px 0 0;overflow:hidden}.nexo-v2 .conversation-profile-banner img{width:100%;height:100%;object-fit:cover}
.nexo-v2 .conversation-person-profile{justify-items:start!important;text-align:left!important;padding:0!important;gap:0!important;position:relative;z-index:5}.nexo-v2 .conversation-person-profile>.avatar{width:88px!important;height:88px!important;min-width:88px!important;margin:-48px 0 8px 3px;border-radius:50%!important;box-shadow:0 0 0 4px #120f2e}.nexo-v2 .conversation-person-profile h3{display:flex!important;align-items:center!important;gap:6px;font-size:25px!important;line-height:1.3!important;justify-content:flex-start;margin:0!important;overflow-wrap:anywhere}.nexo-v2 .conversation-person-handle{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:16px;color:#cbb9e2;margin:6px 0 12px}.nexo-v2 .conversation-person-handle .settings-preview-plus{margin:0;font-size:12px;padding:4px 8px;border:1px solid #c18a3f;color:#ffdc87;background:linear-gradient(110deg,#6c431c,#30223a)}
.nexo-v2 .conversation-person>.badges{display:flex!important;flex-wrap:wrap;justify-content:flex-start!important;gap:8px!important;padding:4px 0!important}
.nexo-v2 .conversation-detail-card{background:linear-gradient(130deg,#171431,#100f28)!important;border:1px solid #463064!important;border-radius:12px!important;margin-top:0!important;padding:12px!important;font-size:14px;color:#eee7ff}
.nexo-v2 .conversation-about h4{font-size:17px;margin:0 0 6px!important}.nexo-v2 .conversation-about p{font-size:14px!important;line-height:1.4!important;margin:0!important;color:#d6cbe6}
.nexo-v2 .conversation-section-label{font-size:16px!important;margin:16px 4px 6px!important;color:#f8f1ff}
.nexo-v2 .conversation-shared-category{padding:0!important;border-radius:0!important;border-bottom:0!important;flex:none}.nexo-v2 .conversation-shared-category:has(+.conversation-section-label),.nexo-v2 .conversation-shared-category:has(+.conversation-profile-footer){border-bottom:1px solid #463064!important;border-radius:0 0 12px 12px!important}.nexo-v2 .conversation-shared-category>summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;padding:9px 12px;min-height:38px;box-sizing:border-box;font-size:14px;color:#eee5ff}.nexo-v2 .conversation-shared-category>summary::-webkit-details-marker{display:none}.nexo-v2 .conversation-shared-category>summary svg{width:20px!important;height:20px!important;flex:none}.nexo-v2 .conversation-shared-category>summary small{margin-left:auto;font-size:12px;color:#c4b6da}.nexo-v2 .conversation-shared-category>div{padding:12px;border-top:1px solid #463064}.nexo-v2 .conversation-shared-category>div button{min-height:40px;font-size:13px}.nexo-v2 .conversation-shared-category .settings-note{font-size:12px;color:#c0b1d2}.nexo-v2 .conversation-profile-footer{margin-top:auto;padding-top:24px;display:grid;gap:12px;flex:none}.nexo-v2 .conversation-full-profile{width:100%;min-height:46px;background:linear-gradient(#48216e,#22183f)!important;color:white!important;border:1px solid #9360bf!important;border-radius:12px;font-size:16px!important}.nexo-v2 .conversation-person-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.nexo-v2 .conversation-person-actions button{height:40px;min-height:40px!important;padding:8px!important;border:1px solid #52377b!important;background:linear-gradient(#241d47,#15142f)!important;color:#e7d3ff!important;border-radius:10px!important}.nexo-v2 .conversation-person-actions svg{width:22px!important;height:22px!important}
.nexo-v2 #workspace.messaging-workspace .conversation-compose-actions{display:flex;align-items:center;gap:6px;margin-left:auto}.nexo-v2 #workspace.messaging-workspace .conversation-compose-actions button{width:40px!important;height:44px!important;min-width:40px!important;padding:8px!important;background:linear-gradient(140deg,#8233c4,#402167)!important;border:1px solid #aa69d9!important;border-radius:12px!important;color:white!important}.nexo-v2 #workspace.messaging-workspace .conversation-compose-actions button[hidden]{display:none!important}
html.nexo-v2 body :is(.message-action-menu,.dm-context-menu,.chat-header-menu){background:var(--v2-secondary)!important;border-color:var(--v2-border)!important;color:var(--v2-text)!important}html.nexo-v2 body :is(.message-action-menu,.dm-context-menu,.chat-header-menu) button{color:var(--v2-text)!important}
@media(min-width:1001px){
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.messaging-workspace{grid-template-columns:var(--v2-nav-width) 386px minmax(0,1fr)!important;grid-template-areas:none!important;column-gap:12px!important;padding-right:12px!important;padding-bottom:48px!important}
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.messaging-workspace.chat-details-open{grid-template-columns:var(--v2-nav-width) 386px minmax(0,1fr) 346px!important}
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.messaging-workspace>.sidebar{grid-area:2/2!important;margin-top:14px!important}
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.messaging-workspace>.chat{grid-area:2/3!important;margin-top:14px!important}
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.messaging-workspace>.conversation-details{grid-area:2/4!important;margin-top:14px!important;width:auto!important;position:relative!important;inset:auto!important;box-shadow:none!important}
 .nexo-v2 #workspace.messaging-workspace>.members-panel{display:none!important}
}
@media(min-width:1501px){
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.messaging-workspace>.server-rail{position:relative!important;margin-left:-12px!important;margin-right:-12px!important;height:76px!important;min-height:76px!important;max-height:76px!important}
 .nexo-v2 #workspace.messaging-workspace>.server-rail>.nexo-universal-search{position:absolute!important;left:calc(50% - 414px)!important;width:642px!important;margin:0!important}
}
@media(min-width:1001px) and (max-width:1350px){
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.messaging-workspace{grid-template-columns:var(--v2-nav-width) 320px minmax(0,1fr)!important}
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.messaging-workspace.chat-details-open{grid-template-columns:var(--v2-nav-width) 320px minmax(0,1fr)!important}
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.messaging-workspace>.conversation-details{position:fixed!important;inset:90px 16px 48px auto!important;width:346px!important;z-index:110;box-shadow:0 12px 40px #0009!important;margin:0!important}
}
@media(max-width:1000px){
 html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.messaging-workspace>.conversation-details{position:fixed!important;inset:calc(var(--nexo-mobile-top,var(--nexo-nav-height,76px)) + env(safe-area-inset-top)) 8px calc(var(--nexo-mobile-bottom,76px) + env(safe-area-inset-bottom)) auto!important;width:min(346px,calc(100vw - 16px))!important;z-index:110;box-shadow:0 12px 40px #0009!important;margin:0!important}
 .nexo-v2 #workspace.messaging-workspace .message-body{font-size:16px!important}.nexo-v2 #workspace.messaging-workspace .message{padding:8px 0!important;gap:8px!important}.nexo-v2 #workspace.messaging-workspace .message-avatar-button .avatar{width:34px!important;height:34px!important;min-width:34px!important}
}
@media(max-width:760px){
 .nexo-v2 #workspace.messaging-workspace .chat-header{gap:4px!important;padding:8px!important;height:64px!important;min-height:64px!important;max-height:64px!important}.nexo-v2 #workspace.messaging-workspace .chat-header #channel-title{font-size:16px!important;padding-bottom:0!important}.nexo-v2 #workspace.messaging-workspace .chat-header #channel-description{display:none!important}.nexo-v2 #workspace.messaging-workspace .conversation-header-avatar{width:40px!important;min-width:40px!important;height:44px!important}.nexo-v2 #workspace.messaging-workspace .conversation-header-avatar>.avatar{width:34px!important;height:34px!important;min-width:34px!important}.nexo-v2 #workspace.messaging-workspace .conversation-back{display:grid!important;place-items:center;border:0!important;background:none!important;width:44px!important;height:44px!important;min-width:44px!important;font-size:24px!important;padding:0!important}.nexo-v2 #workspace.messaging-workspace .chat-header .conversation-info{display:none!important}.nexo-v2 #workspace.messaging-workspace .conversation-header-menu>summary{width:44px!important;height:44px!important;min-width:44px!important}.nexo-v2 #workspace.messaging-workspace .chat-header #call-user,.nexo-v2 #workspace.messaging-workspace .chat-header #video-call-user{width:44px!important;height:44px!important;min-width:44px!important;padding:10px!important}.nexo-v2 #workspace.messaging-workspace .chat-header>button:not([id]):not(.conversation-back):not(.conversation-header-avatar):not(.conversation-info){display:none!important}
 .nexo-v2 #workspace.messaging-workspace .composer-area{padding:8px!important}.nexo-v2 #workspace.messaging-workspace .composer{gap:2px!important;padding:4px!important}.nexo-v2 #workspace.messaging-workspace .composer>button{height:44px!important;width:44px!important;min-width:44px!important}.nexo-v2 #workspace.messaging-workspace #message-input{font-size:16px!important;padding:10px 4px!important}.nexo-v2 #workspace.messaging-workspace .chat-header #channel-title{min-width:20px!important}
 .nexo-v2 #workspace.messaging-workspace .conversation-filters>button{min-height:44px!important}.nexo-v2 #workspace.messaging-workspace .dm-close{width:44px;height:44px;opacity:1;font-size:18px}.nexo-v2 #workspace.messaging-workspace .dm-channel{padding-right:44px!important}.nexo-v2 #workspace.messaging-workspace .conversation-time{right:4px;top:2px;font-size:10px!important}
}
@media(max-width:359px){.nexo-v2 #workspace.messaging-workspace .chat-header #video-call-user{display:none!important}}

.nexo-v2 #workspace.messaging-workspace #message-form{display:block!important;width:100%!important;border:0!important;background:none!important;padding:0!important;margin:0!important}.nexo-v2 #workspace.messaging-workspace .composer{width:100%!important;box-sizing:border-box!important}.nexo-v2 #workspace.messaging-workspace .chat-header>.conversation-header-menu>summary{font-size:25px!important;line-height:1!important;color:#e4c4ff!important}

.nexo-v2 .conversation-shared-category>summary svg{fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
html.nexo-v2 :is(#profile-dialog,.conversation-person,.chat-header) .nexo-verified:not([hidden]){width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:middle!important;flex:none!important;margin:0 0 0 4px!important}
html.nexo-v2 #group-create{zoom:1!important;box-sizing:border-box;width:min(440px,calc(100vw - 24px))!important;max-height:calc(100dvh - 24px)!important;padding:22px!important;background:linear-gradient(135deg,#151431,#0e1029)!important;color:#f8fafc!important;border:1px solid #79529c!important;border-radius:18px!important;overflow:auto!important}
.nexo-v2 #group-create h2{font-size:23px!important;margin:0 32px 8px 0!important}.nexo-v2 #group-create .dialog-description{font-size:13px!important;color:#bbaed0!important;line-height:1.5}.nexo-v2 #group-create input:not([type=checkbox]){width:100%;box-sizing:border-box;font-size:16px!important;border:1px solid #614080!important;background:#0e1029!important;color:white!important;min-height:44px;padding:10px 12px;border-radius:10px}.nexo-v2 #group-create .group-selected-count{font-size:12px;margin:0;color:#cfb1eb}.nexo-v2 #group-create .group-friend-picker{max-height:min(300px,35dvh);display:grid;gap:4px;overflow:auto}.nexo-v2 #group-create .group-friend-option{min-height:52px!important;box-sizing:border-box;margin:0!important;display:flex!important;align-items:center!important;gap:12px;padding:6px 8px!important;border:1px solid #493064!important;border-radius:10px;background:#191632!important}.nexo-v2 #group-create .group-friend-option[hidden]{display:none!important}.nexo-v2 #group-create .group-friend-option .avatar{width:36px!important;height:36px!important;min-width:36px!important}.nexo-v2 #group-create .group-friend-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:2px;font-size:14px}.nexo-v2 #group-create .group-friend-copy small{font-size:11px;color:#bbaed0}.nexo-v2 #group-create .group-friend-option input{width:20px!important;height:20px!important;flex:none;accent-color:#a855f7}.nexo-v2 #group-create button.primary{min-height:44px!important;padding:10px 16px!important;border:1px solid #b76ef1!important;border-radius:10px!important;background:linear-gradient(#a83bec,#7722b8)!important;color:white!important;font-size:15px!important;position:sticky;bottom:0}.nexo-v2 #group-create button:disabled{opacity:.5}

.nexo-v2 #workspace.messaging-workspace .message-avatar-button{align-self:flex-start!important;padding:0!important;margin:0!important}.nexo-v2 #workspace.messaging-workspace .date-divider span{font-size:12px!important}.nexo-v2 #workspace.messaging-workspace .composer>.labelled-icon{flex:none!important}

@media(max-width:760px){html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.messaging-workspace .chat-header{height:64px!important;min-height:64px!important;max-height:64px!important;padding:8px!important;gap:4px!important}html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.messaging-workspace .composer-area{padding:8px!important}}

.nexo-v2 #workspace.messaging-workspace .conversation-compose-actions{position:relative;flex:none}.nexo-v2 #workspace.messaging-workspace .conversation-compose-actions>summary{display:grid;place-items:center;list-style:none;cursor:pointer;box-sizing:border-box;width:44px;height:44px;border:1px solid #ac6ae3;border-radius:12px;background:linear-gradient(140deg,#9638d5,#47216d);color:white}.nexo-v2 #workspace.messaging-workspace .conversation-compose-actions>summary::-webkit-details-marker{display:none}.nexo-v2 #workspace.messaging-workspace .conversation-compose-actions>summary svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8}.nexo-v2 #workspace.messaging-workspace .conversation-compose-actions>div{position:absolute;top:50px;right:0;z-index:100;min-width:205px;padding:6px;display:grid;gap:5px;background:#15132f;border:1px solid #76519a;border-radius:12px;box-shadow:0 12px 28px #0008}.nexo-v2 #workspace.messaging-workspace .conversation-compose-actions>div button{display:flex!important;align-items:center;justify-content:flex-start;gap:10px;width:100%!important;min-width:100%!important;min-height:44px!important;border:0!important;border-radius:8px!important;background:none!important;font-size:14px!important;padding:10px!important}.nexo-v2 #workspace.messaging-workspace .conversation-request-list{padding:0 14px;overflow:auto;font-size:14px}.conversation-request-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px;border-bottom:1px solid #44305e;padding:8px 0}.nexo-v2 #workspace .conversation-request-person{display:flex;align-items:center;gap:8px;border:0;background:none;color:#f8fafc;min-width:0;flex:1 1 100%;text-align:left;font-size:15px}.conversation-request-person>.avatar{width:36px;height:36px;flex:none}.conversation-request-row>.secondary{min-height:44px;border:1px solid #76519a;background:#291b44;border-radius:9px;color:white;font-size:13px;flex:1}

.nexo-v2 #workspace.messaging-workspace #channel-list[hidden],.nexo-v2 #workspace.messaging-workspace .conversation-request-list[hidden]{display:none!important}

.nexo-v2 #group-create .error:empty{display:none!important}.nexo-v2 #group-create input:not([type=checkbox]){margin:0!important}.nexo-v2 #group-create .group-friend-option input{min-height:20px!important;min-width:20px!important;padding:0!important;margin:0!important}.nexo-v2 #group-create button.primary{margin:0!important}

html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.messaging-workspace>.sidebar :is(.ux-discover-links,.phone-account-controls){display:none!important}
@media(max-width:760px){html.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.messaging-workspace #mobile-sidebar-back{display:none!important}}

@media(min-width:1501px){.nexo-v2 #workspace.messaging-workspace>.server-rail>.v2-history{margin-right:auto!important}.nexo-v2 #workspace.messaging-workspace>.server-rail>.ecosystem-account{min-width:94px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}.nexo-v2 #workspace.messaging-workspace>.server-rail>.ecosystem-account:after{content:'⌄';font-size:20px;color:#e5d9fa}}
