/* Nexo Social: original midnight blue and warm gold, shared on every screen. */
.nexo-identity.nexo-orbit .nexo-news-feed{display:grid;grid-template-columns:minmax(0,1fr) 248px;align-content:start;gap:20px 26px;padding:30px!important;background:var(--paper)!important;scrollbar-gutter:stable}
.nexo-orbit .social-home-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;position:relative;overflow:hidden;width:100%;max-width:none;margin:0!important;padding:12px 4px 26px!important;background:transparent;border:0!important;border-radius:0}
.nexo-orbit .social-home-heading .eyebrow{font-size:9px;letter-spacing:.18em;color:var(--accent)}
.nexo-orbit .social-home-heading h1{font-family:inherit;font-size:clamp(34px,3.8vw,54px)!important;letter-spacing:-2px;font-weight:850;line-height:1.12;margin:12px 0}
.nexo-orbit .social-home-heading p{color:var(--muted);font-size:14px;margin:0}
.nexo-orbit .social-home-emblem{width:180px;height:110px;display:grid;place-items:center;flex:none;position:relative;color:var(--accent);transform:rotate(-12deg)}
.nexo-orbit .social-home-emblem span{display:grid;place-items:center;width:77px;height:77px;border-radius:25px 25px 8px 25px;background:var(--accent);color:var(--nav);font-weight:950;font-size:60px;line-height:1;font-style:italic;box-shadow:0 0 70px #f2c87918;transform:rotate(12deg)}
.nexo-orbit .social-home-emblem i{position:absolute;inset:18px 0;border:1px solid #f2c87950;border-radius:50%;transform:rotate(-20deg)}
.nexo-orbit .social-home-emblem i:last-child{inset:0 30px;transform:rotate(52deg)}
.nexo-orbit .social-community-shelf{grid-column:1/-1;display:flex;gap:20px;overflow-x:auto;padding:0 2px 20px;border-bottom:1px solid var(--line);scrollbar-width:thin;min-width:0}
.nexo-orbit .social-community-shelf button{display:flex;flex-direction:column;align-items:center;gap:9px;background:transparent;border:0;min-width:86px;max-width:110px;flex:none;padding:0;font-size:11px;color:var(--muted);white-space:normal;text-align:center;line-height:1.3}
.nexo-orbit .social-space-mark{display:grid;place-items:center;width:54px;height:54px;background:linear-gradient(150deg,var(--surface-card),var(--panel));border:1px solid var(--accent);outline:4px solid var(--paper);box-shadow:0 0 0 5px var(--line);margin:6px;border-radius:18px 18px 6px 18px;color:var(--accent);font-size:15px;font-weight:850;letter-spacing:-.5px}
.nexo-orbit .social-community-shelf button:hover .social-space-mark{background:var(--accent);color:var(--nav)}
.nexo-orbit .social-stream{grid-column:1;min-width:0}
.nexo-orbit .social-home-aside{grid-column:2;grid-row:3;align-self:start;display:grid;gap:18px;min-width:0}
.nexo-orbit .social-profile-summary,.nexo-orbit .social-spaces-summary{border:1px solid var(--line);border-radius:18px;padding:22px;background:var(--panel);overflow-wrap:anywhere}
.nexo-orbit .social-profile-summary{background:linear-gradient(155deg,var(--surface-card),var(--panel));border-top:3px solid var(--accent)}
.nexo-orbit .social-profile-monogram{display:grid;place-items:center;background:var(--paper);border:1px solid var(--line);border-radius:15px;width:52px;height:52px;color:var(--accent);font-weight:850;font-size:18px;margin-bottom:20px}
.nexo-orbit .social-home-aside .eyebrow{display:block;font-size:8px;color:var(--accent);letter-spacing:.14em}
.nexo-orbit .social-home-aside h2{font-family:inherit;font-size:20px;font-weight:800;margin:8px 0;letter-spacing:-.5px}
.nexo-orbit .social-home-aside p{font-size:12px;color:var(--muted);line-height:1.7}
.nexo-orbit .social-home-aside button{width:100%;display:flex;align-items:center;justify-content:flex-start;gap:9px;min-height:40px;font-size:12px;margin-top:8px;border-radius:10px;padding:9px 12px;background:var(--surface-input);border:1px solid var(--line);text-align:left;white-space:normal}
.nexo-orbit .social-home-aside button svg{width:17px;height:17px;flex:none}
.nexo-orbit .social-post-prompt{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:15px;padding:12px;background:var(--panel)}
.nexo-orbit .social-post-prompt button{display:flex;align-items:center;gap:10px;border:0;background:transparent;min-height:42px;font-size:13px;text-align:left;white-space:normal;color:var(--muted)}
.nexo-orbit .social-post-prompt button:first-child{flex:1;min-width:0}
.nexo-orbit .social-post-prompt .primary{flex:none;background:var(--accent)!important;color:#24334a!important;font-size:12px;font-weight:800;border-radius:10px;padding:10px 15px}
.nexo-orbit .social-post-prompt svg{width:19px;height:19px;flex:none}
.nexo-orbit .social-stream .feed-tabs{position:static;display:flex;align-items:center;gap:20px;background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0;margin:18px 0;max-width:none}
.nexo-orbit .social-stream .feed-tabs button{flex:none;min-height:44px;padding:10px 1px;margin:0;background:transparent!important;border:0;border-bottom:2px solid transparent;border-radius:0!important;font-size:12px;color:var(--muted);box-shadow:none!important}
.nexo-orbit .social-stream .feed-tabs button[aria-pressed=true]{border-bottom-color:var(--accent);color:var(--accent);font-weight:800}
.nexo-orbit .social-stream .feed-tabs .social-feed-refresh{margin-left:auto;font-size:0;display:grid;place-items:center;width:36px;min-width:36px}
.nexo-orbit .social-feed-refresh svg{width:18px;height:18px}
.nexo-orbit .social-stream .news-feed-items{max-width:none;margin:0;display:grid;gap:20px}
.nexo-orbit .social-stream .news-feed-card{padding:24px;border-radius:18px!important;border:1px solid var(--line);margin:0;min-width:0;position:relative}
.nexo-orbit .news-feed-card>header{display:flex;align-items:center;gap:12px;flex-wrap:nowrap;border:0;padding:0 26px 0 0}
.nexo-orbit .social-community-mark{width:40px;height:40px;flex:none;display:grid;place-items:center;background:var(--surface-card);color:var(--accent);border-radius:12px 12px 4px 12px;font-size:12px;font-weight:850}
.nexo-orbit .social-post-identity{min-width:0;flex:1;display:grid;gap:2px}
.nexo-orbit .social-post-identity button{padding:0;border:0;background:transparent;text-align:left;font-size:13px;font-weight:800;min-height:22px;color:var(--ink);white-space:normal;overflow-wrap:anywhere}
.nexo-orbit .social-post-identity small{font-size:10px;width:auto!important;color:var(--muted)}
.nexo-orbit .news-feed-card>header .follow-server-button{font-size:10px;border-radius:20px;padding:6px 10px;min-height:30px;background:transparent;color:var(--accent);border-color:var(--line);flex:none}
.nexo-orbit .social-stream .news-feed-card h2{font-family:inherit;font-size:23px;font-weight:800;letter-spacing:-.6px;line-height:1.3;margin:22px 0 6px}
.nexo-orbit .news-feed-card>small{font-size:10px;color:var(--muted)}
.nexo-orbit .social-stream .feed-post-text{font-size:14px;line-height:1.8;margin:16px 0 20px}
.nexo-orbit .social-stream .feed-reactions{border-color:var(--line);gap:8px}
.nexo-orbit .social-stream .feed-reactions button{display:flex;align-items:center;justify-content:center;min-width:48px;min-height:34px;padding:5px 10px;background:transparent;border:1px solid var(--line);font-size:12px;border-radius:20px}
.nexo-orbit .social-stream .feed-reactions button[aria-pressed=true]{background:var(--surface-card);border-color:var(--accent)}
.nexo-orbit .social-empty{padding:34px 24px;background:var(--panel);border:1px dashed var(--line);border-radius:18px;text-align:center}
.nexo-orbit .social-empty>svg{width:34px;height:34px;color:var(--accent)}
.nexo-orbit .social-empty h2{font-size:22px;letter-spacing:-.5px}.nexo-orbit .social-empty p{line-height:1.7}
.nexo-orbit .feed-follow-choices>div{background:var(--panel);border-color:var(--line);font-size:13px}
.nexo-orbit .feed-sidebar-button{display:flex!important;align-items:center;gap:10px;width:100%}
.nexo-orbit .feed-sidebar-button svg{width:18px;height:18px;flex:none}
.nexo-orbit .home-post h3{font-family:inherit;font-weight:800;font-size:23px}.nexo-orbit .home-post{border-radius:18px!important}
.nexo-orbit .server-home-hero{border-top:3px solid var(--accent)!important}.nexo-orbit .server-home-stats{font-variant-numeric:tabular-nums}
.nexo-orbit .discovery-heading h1{font-family:inherit;font-weight:850;letter-spacing:-2px}
.nexo-orbit .support-experience .intro h1{font-family:inherit;font-weight:850}
@media(max-width:1150px){.nexo-identity.nexo-orbit .nexo-news-feed{grid-template-columns:minmax(0,1fr);padding:24px!important;gap:20px}.nexo-orbit .social-home-aside{display:none}.nexo-orbit .social-home-emblem{width:145px}}
@media(max-width:760px){.nexo-identity.nexo-orbit .nexo-news-feed{padding:18px 12px!important;gap:16px;scrollbar-gutter:auto}.nexo-orbit .social-home-heading{padding:8px 0 12px!important}.nexo-orbit .social-home-heading h1{font-size:35px!important;letter-spacing:-1.4px}.nexo-orbit .social-home-heading .eyebrow{font-size:7px;letter-spacing:.1em}.nexo-orbit .social-home-heading p{font-size:11px}.nexo-orbit .social-home-emblem{width:78px;height:86px;margin-right:2px}.nexo-orbit .social-home-emblem span{width:50px;height:50px;border-radius:16px 16px 5px 16px;font-size:40px}.nexo-orbit .social-home-emblem i:last-child{inset:8px 15px}.nexo-orbit .social-community-shelf{gap:8px;padding-bottom:16px}.nexo-orbit .social-community-shelf button{min-width:74px;font-size:10px}.nexo-orbit .social-space-mark{width:44px;height:44px;border-radius:15px 15px 5px 15px;font-size:12px}.nexo-orbit .social-post-prompt{gap:6px;padding:9px}.nexo-orbit .social-post-prompt button{font-size:11px;line-height:1.5;gap:7px}.nexo-orbit .social-post-prompt .primary{font-size:10px;padding:9px}.nexo-orbit .social-post-prompt .primary svg{display:none}.nexo-orbit .social-stream .feed-tabs{gap:22px;margin:10px 0 16px}.nexo-orbit .social-stream .news-feed-card{padding:18px}.nexo-orbit .social-stream .news-feed-card h2{font-size:21px}.nexo-orbit .news-feed-card>header{gap:8px;padding-right:20px}.nexo-orbit .social-community-mark{width:33px;height:33px;font-size:10px}.nexo-orbit .social-post-identity button{font-size:11px}.nexo-orbit .news-feed-card>header .follow-server-button{font-size:9px;padding:5px 7px;margin-left:auto}.nexo-orbit .social-stream .feed-post-text{font-size:13px}.nexo-orbit .social-empty{padding:24px 16px}}
/* Explicit sizing prevents older compact-toolbar rules from shrinking social sections. */
.nexo-identity.nexo-orbit .social-home-heading{height:auto!important;min-height:158px!important;flex-shrink:0;box-shadow:none}
.nexo-identity.nexo-orbit .social-community-shelf{height:auto!important;min-height:112px!important;flex-shrink:0;align-items:flex-start}
.nexo-identity.nexo-orbit .social-community-shelf button{height:auto!important;min-height:90px!important;width:auto!important;flex:0 0 96px!important}
.nexo-identity.nexo-orbit .social-space-mark{flex:none;min-height:54px}
.nexo-identity.nexo-orbit #channel-list .feed-sidebar-button{width:100%!important;min-width:0!important;height:42px!important;margin:0 0 6px!important;padding:10px 12px!important;gap:10px!important;justify-content:flex-start!important}
.nexo-identity.nexo-orbit .social-stream .feed-tabs button{width:auto!important;min-width:0!important;white-space:nowrap}
.nexo-identity.nexo-orbit .social-stream .feed-tabs .social-feed-refresh{width:36px!important}
.nexo-identity.nexo-orbit .social-post-identity button{width:auto!important;min-height:22px!important;height:auto!important;justify-content:flex-start!important;line-height:1.4}
.nexo-orbit :where(.social-post-prompt,.social-home-aside,.feed-sidebar-button) svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:760px){.nexo-identity.nexo-orbit .social-home-heading{min-height:124px!important}.nexo-identity.nexo-orbit .social-community-shelf{min-height:96px!important}.nexo-identity.nexo-orbit .social-community-shelf button{flex-basis:74px!important;min-height:78px!important}.nexo-identity.nexo-orbit .social-space-mark{min-height:44px}}
.nexo-orbit .social-home-emblem img{width:61px;height:61px;object-fit:contain;transform:rotate(0deg)}
.nexo-orbit .social-space-mark img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.nexo-identity.nexo-orbit .social-home-heading{min-height:118px!important;padding-bottom:18px!important}
.nexo-identity.nexo-orbit .social-community-shelf{min-height:100px!important}
.nexo-identity.nexo-orbit #channel-list .feed-sidebar-button{font-size:12px!important}
.nexo-identity.nexo-orbit .social-post-prompt button:first-child{justify-content:flex-start!important;padding-left:8px}
@media(max-width:760px){.nexo-orbit .social-home-emblem img{width:40px;height:40px}.nexo-identity.nexo-orbit .social-home-heading{min-height:118px!important}.nexo-identity.nexo-orbit .social-community-shelf{min-height:96px!important}}
.nexo-identity.nexo-orbit #channel-list .feed-sidebar-button span{font-size:12px!important}
@media(min-width:761px){.nexo-identity.nexo-orbit .chat.news-feed-visible>.chat-header{display:none!important}}
@media(max-width:760px){
 .nexo-identity.nexo-orbit #workspace.social-home-active{grid-template-rows:56px minmax(0,1fr)!important}
 .nexo-identity.nexo-orbit .social-home-active .server-rail{grid-template-rows:34px!important;min-height:56px!important}
 .nexo-identity.nexo-orbit .social-home-active .server-rail .nexo-spaces-strip{display:none!important}
 .nexo-identity.nexo-orbit .social-community-shelf{min-height:112px!important;padding-bottom:12px}
 .nexo-identity.nexo-orbit .social-community-shelf button{min-height:94px!important}
}
/* Channels keep the space: compact server shelf, readable labels and a stable scroll area. */
@media(min-width:761px){
 .nexo-identity.nexo-orbit .channel-navigation-active .sidebar>.nexo-spaces-strip{max-height:112px!important;padding:12px 12px 8px!important;gap:7px}
 .nexo-orbit .channel-navigation-active .orbit-space-caption{display:none}
 .nexo-identity.nexo-orbit .channel-navigation-active .sidebar #server-list{flex-direction:row!important;align-items:center;max-height:50px!important;min-height:50px!important;overflow-x:auto!important;overflow-y:hidden!important;gap:6px}
 .nexo-identity.nexo-orbit .channel-navigation-active .sidebar #server-list .rail-button{flex:0 0 40px;width:40px!important;min-width:40px!important;height:40px!important;justify-content:center;padding:3px!important}
 .nexo-orbit .channel-navigation-active .sidebar .nexo-space-name{display:none}
 .nexo-orbit .channel-navigation-active .sidebar .nexo-space-thumbnail{width:30px;height:30px;flex:none}
 .nexo-orbit .channel-navigation-active .sidebar .server-folder{width:40px;flex:none}
 .nexo-orbit .channel-navigation-active .server-heading{min-height:52px;padding:10px 14px!important}
}
.nexo-identity.nexo-orbit .sidebar #channel-list{flex:1 1 0!important;min-height:110px;overflow-y:auto!important;scrollbar-width:thin;scrollbar-color:#647e99 transparent;padding-bottom:12px}
.nexo-identity.nexo-orbit #channel-list .channel-button{font-size:13px;min-height:42px;color:#d9e6f5;line-height:1.4}
.nexo-identity.nexo-orbit #channel-list .category-title{color:#f2c879;font-size:10px;letter-spacing:.1em}
.nexo-identity.nexo-orbit #channel-list .category-heading{padding-top:16px;padding-bottom:8px}
.nexo-identity.nexo-orbit #channel-list .channel-button.active{color:#f2c879!important;background:#1c3854!important}
.nexo-identity.nexo-orbit #channel-list .staff-channels-switch{position:sticky;top:0;z-index:3;width:100%;border:1px solid #9a7e49!important;background:#1c3854!important;color:#f2c879;font-weight:800;margin-bottom:12px;box-shadow:0 5px 12px #08152488}
.nexo-identity.nexo-orbit #workspace.staff-tools-active{color-scheme:dark;--orbit-gold:#f2c879}
.nexo-identity.nexo-orbit #workspace.staff-tools-active .staff-system-page{background:#0d1f32!important;color:#eef4ff}
.nexo-identity.nexo-orbit #workspace.staff-tools-active .sidebar .nexo-spaces-label{color:#f2c879}
.nexo-identity.nexo-orbit #workspace.staff-tools-active #channel-list .staff-system-nav.selected{color:#f2c879!important;background:#1c3854!important;box-shadow:inset 3px 0 #f2c879!important}
.nexo-identity.nexo-orbit #workspace.staff-tools-active .voice-dock{background:#142c43!important;border-color:#2b4661!important;color:#eef4ff}
.nexo-identity.nexo-orbit #workspace.staff-tools-active .voice-dock b{color:#eef4ff!important}
.nexo-identity.nexo-orbit #workspace.staff-tools-active .voice-dock small{color:#9bb1cb!important}
.nexo-identity.nexo-orbit .channel-heading #staff-tools{margin:0!important;padding:7px!important;width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;min-height:32px!important;flex:0 0 32px;font-size:0!important;align-items:center;justify-content:center;border:1px solid #647e99;border-radius:8px;background:#1c3854;color:#f2c879}
.nexo-identity.nexo-orbit .channel-heading #staff-tools:not([hidden]){display:flex!important}
.nexo-identity.nexo-orbit .channel-heading #staff-tools svg{width:18px;height:18px;flex:none;margin:0}
@media(min-width:761px){
 .nexo-identity.nexo-orbit .channel-navigation-active .sidebar>.nexo-spaces-strip{padding:7px 12px 4px!important;gap:2px;max-height:78px!important}
 .nexo-identity.nexo-orbit .channel-navigation-active .sidebar #server-list{min-height:43px!important;max-height:43px!important}
 .nexo-identity.nexo-orbit .channel-navigation-active .sidebar-header{min-height:46px!important;padding:8px 12px!important}
 .nexo-identity.nexo-orbit .channel-navigation-active .channel-heading{min-height:38px!important;padding:3px 12px!important;gap:6px}
 .nexo-identity.nexo-orbit .channel-navigation-active .channel-heading>span{margin-right:auto}
}
/* Keep the author and message together, without an extra paragraph gap. */
.nexo-identity.nexo-orbit #messages .message-meta{margin:0 0 2px!important;gap:6px;min-height:0;line-height:1.35}
.nexo-identity.nexo-orbit #messages .message-name-button{min-height:0!important;height:auto!important;padding:0!important;line-height:1.35}
.nexo-identity.nexo-orbit #messages .message-body{margin:0!important;line-height:1.6}
.nexo-identity.nexo-orbit #messages .message-content{padding:11px 14px!important}
.nexo-identity.nexo-orbit #profile-dialog.profile-organized .profile-server-roles{max-height:112px;overflow-y:auto;align-content:flex-start;flex-shrink:0;scrollbar-width:thin;scrollbar-color:#647e99 transparent;padding:3px 2px!important}
.nexo-identity.nexo-orbit #profile-dialog.profile-organized .profile-server-roles::before{content:'Roles · ' attr(data-role-count);display:block;flex-basis:100%;color:var(--muted);font-size:9px;font-weight:750;letter-spacing:.06em;text-align:center;padding:2px 0 4px}
.nexo-identity.nexo-orbit #profile-dialog.profile-organized .profile-server-roles[hidden]{display:none!important}
.nexo-identity.nexo-orbit #profile-dialog.profile-organized.mini-profile .profile-role-chip{display:inline-flex!important;flex:none;white-space:normal;overflow-wrap:anywhere}
@media(max-width:760px),(hover:none) and (pointer:coarse){
 .nexo-identity.nexo-orbit #messages .message-actions{position:absolute!important;top:0!important;right:0!important;width:0!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important}
 .nexo-identity.nexo-orbit #messages .message-action{display:none!important}
 .nexo-identity.nexo-orbit #messages .message-content{-webkit-touch-callout:none;user-select:none;-webkit-user-select:none;padding:10px 12px!important}
 .nexo-identity.nexo-orbit #messages .message-content input,.nexo-identity.nexo-orbit #messages .message-content textarea{user-select:text;-webkit-user-select:text}
 .nexo-identity.nexo-orbit .message-action-menu button{min-height:44px!important;display:flex;align-items:center}
}
@media(min-width:1151px){.nexo-orbit .nexo-news-feed:has(.home-news-shelf) .social-home-aside,.nexo-orbit .nexo-news-feed:has(.home-news-shelf) .social-stream{grid-row:4}}

/* Leave room above the Orbit artwork and unread counters inside the scroller. */
.nexo-identity.nexo-orbit .channel-navigation-active .sidebar>.nexo-spaces-strip{max-height:100px!important;padding:10px 12px 8px!important;gap:4px}
.nexo-identity.nexo-orbit .channel-navigation-active .sidebar .nexo-spaces-label{line-height:14px;flex:none}
.nexo-identity.nexo-orbit .channel-navigation-active .sidebar #server-list{box-sizing:border-box;min-height:58px!important;max-height:58px!important;padding:8px 4px!important;align-items:center}
.nexo-identity.nexo-orbit .sidebar #server-list .server-rail-image{object-fit:contain}

/* Community names need their own non-shrinking line box below the artwork. */
.nexo-identity.nexo-orbit .social-community-shelf{min-height:124px!important;height:auto!important;box-sizing:border-box}
.nexo-identity.nexo-orbit .social-community-shelf button{overflow:visible;max-height:none!important;flex-shrink:0}
.nexo-identity.nexo-orbit .social-space-name{display:block;flex:none;min-height:2.6em;line-height:1.3;width:100%;white-space:normal;overflow-wrap:anywhere}
@media(max-width:760px){.nexo-identity.nexo-orbit .social-community-shelf{min-height:112px!important}}
