/* Explicit 18.6.38 — consolidacao visual. Nenhum componente novo ou funcao removida.
   Tons-base coerentes: preto profundo, grafite discreto e azul Explicit original. */
:root{
 --base:#080a0e!important;--surface:#0c0f14!important;--raised:#161b22!important;
 --accent:#6ca6df!important;--teal:#6ca6df!important;--line:#242c35!important;
 --muted:#94a2b0!important;--explicit-bg:#080a0e!important;
 --explicit-panel:#0c0f14!important;--explicit-card:#151a20!important;
 --explicit-field:#141922!important;--explicit-blue:#6ca6df!important;
 --explicit-line:#242c35!important;--explicit-hover:#1a242f!important;
 --explicit-v37-bg:#080a0e;--explicit-v37-surface:#0c0f14;
 --explicit-v37-raised:#161b22;--explicit-v37-line:#242c35;
 --explicit-v37-text:#e9edf3;--explicit-v37-muted:#94a2b0;
}
body:not(.explicit-light-theme){background:#080a0e!important;color:#e9edf3!important}
/* Mesmo plano para canais, conversa, lista de membros, painel principal e DMs. */
body:not(.explicit-light-theme) :is(#nexoRail,#nexoSidebar,#channelList,#nexoPane,#channelTitle,#membersPanel,#membersList,#nexoOverlay,header,.pane,.composer,#form,.voice-dock,.obsidian-controls,.explicit-dm-header,.explicit-dm-compose,.explicit-dm-sidebar,.explicit-dm-main,.explicit-settings-window,.explicit-settings-content,.explicit-settings-nav,.explicit-admin-window,.screen-stage){background:#0c0f14!important;border-color:#242c35!important}
body:not(.explicit-light-theme) #nexoRail{background:#080a0e!important}
body:not(.explicit-light-theme) #nexoPane{background:#0c0f14!important}
body:not(.explicit-light-theme) #membersPanel{background:#0c0f14!important;border-left:1px solid #242c35!important}
body:not(.explicit-light-theme) :is(.voice-group,.voice-members,.voice-heading,.voice-person,.member-entry){background:transparent!important;border-color:transparent!important}
body:not(.explicit-light-theme) :is(#nexoSidebar .channelButton,#channelList .voice-heading button,.member-entry){color:#b5c1cd!important}
body:not(.explicit-light-theme) :is(#nexoSidebar .channelButton,#channelList .voice-heading button,.member-entry):hover{background:#1a242f!important;color:#f0f5fb!important}
body:not(.explicit-light-theme) #nexoSidebar .channelButton.selected,
body:not(.explicit-light-theme) #nexoSidebar .channelButton.active{background:#202d3c!important;color:#eef6ff!important}
body:not(.explicit-light-theme) :is(.voice-label,.members-heading,#nexoSidebar h3){color:#90bde5!important}
body:not(.explicit-light-theme) :is(.explicit-section,.explicit-home-card,.explicit-spotlight-item,.explicit-support-card,.explicit-settings-group,.explicit-settings-row,.explicit-profile-menu,.obsidian-modal,.explicit-channel-create,.explicit-community-card,.explicit-mini-profile,.nexo-context,.explicit-role-card,.explicit-role-everyone,.explicit-role-perm-section,.explicit-community-settings,.nexo-card,.explicit-dm-mini,.explicit-audio-quick){background:#151a20!important;border-color:#29333e!important;box-shadow:none!important}
body:not(.explicit-light-theme) :is(.explicit-settings-nav-item,.explicit-settings-side button,.explicit-server-settings-side button,.explicit-profile-menu button,.nexo-context button){color:#b3beca!important}
body:not(.explicit-light-theme) :is(.explicit-settings-nav-item,.explicit-profile-menu button,.nexo-context button,.explicit-server-settings-side button):hover{background:#1c2734!important;color:#f1f6fb!important}
body:not(.explicit-light-theme) :is(.explicit-settings-nav-item.selected,.explicit-settings-nav-item.active,.explicit-server-settings-side button.selected){background:#1c3043!important;color:#d5eaff!important}
body:not(.explicit-light-theme) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea,.composer input){background:#11161d!important;border-color:#303b46!important;color:#e9edf3!important}
body:not(.explicit-light-theme) :is(input,select,textarea):focus-visible{outline-color:#6ca6df!important;border-color:#6ca6df!important}
body:not(.explicit-light-theme) :is(.explicit-primary-action,.explicit-role-primary,.explicit-profile-edit-self,.explicit-auth-submit){background:#355f8d!important;color:#f7fbff!important;border-color:#4579a9!important;box-shadow:none!important}
body:not(.explicit-light-theme) :is(.explicit-settings-group,.explicit-settings-row){border-radius:9px!important}
body:not(.explicit-light-theme) :is(.explicit-spotlight-item,.explicit-community-card,.explicit-role-card,.explicit-role-everyone){border-radius:9px!important}
body:not(.explicit-light-theme) :is(.explicit-home-friend-tab.selected,.explicit-roles-overview small,.explicit-role-editor-header small){color:#9bc8f1!important}
body:not(.explicit-light-theme) .explicit-role-perm-section .explicit-permission-option{background:#131a22!important;border-color:#283644!important}
body:not(.explicit-light-theme) .explicit-role-perm-section .explicit-permission-option.is-enabled{background:#192e42!important;border-color:#456e94!important}
body:not(.explicit-light-theme) .explicit-role-editor-footer{background:#10151b!important;border-color:#2a3642!important}
body:not(.explicit-light-theme) :is(.explicit-roles-workspace,.explicit-role-editor,.explicit-settings-window,.explicit-server-settings-content){color:#e9edf3!important}
/* 1. Cards da Home: a imagem e a segunda linha nunca ultrapassam a faixa. */
@media(min-width:931px){
 body.explicit-home.explicit-home-v179.explicit-home-refresh.explicit-home-v18632:not(.explicit-direct-mode) #nexoOverlay>div{
  grid-template-rows:minmax(0,1fr) 184px 140px!important;gap:12px!important;
 }
 body.explicit-home.explicit-home-v179.explicit-home-refresh.explicit-home-v18632:not(.explicit-direct-mode) .explicit-communities-section{
  padding:13px 18px!important;overflow:hidden!important;min-height:0!important;height:100%!important;
 }
 body.explicit-home.explicit-home-v179.explicit-home-refresh.explicit-home-v18632:not(.explicit-direct-mode) .explicit-communities-section #homeSpaces{
  display:flex!important;align-items:flex-start!important;flex-wrap:nowrap!important;
  width:100%!important;height:96px!important;min-height:0!important;max-height:none!important;
  overflow-x:auto!important;overflow-y:hidden!important;gap:10px!important;padding:4px 2px 10px!important;
 }
 body.explicit-home.explicit-home-v179.explicit-home-refresh.explicit-home-v18632:not(.explicit-direct-mode) .explicit-communities-section #homeSpaces>.explicit-community-card{
  box-sizing:border-box!important;flex:0 0 230px!important;width:230px!important;min-width:230px!important;
  max-width:230px!important;height:76px!important;min-height:76px!important;max-height:76px!important;
  padding:8px 10px!important;overflow:hidden!important;display:flex!important;align-items:center!important;gap:10px!important;
 }
 body.explicit-home.explicit-home-v179.explicit-home-refresh.explicit-home-v18632:not(.explicit-direct-mode) #homeSpaces .explicit-community-image{
  width:54px!important;min-width:54px!important;max-width:54px!important;height:54px!important;min-height:54px!important;max-height:54px!important;flex:0 0 54px!important;overflow:hidden!important;
 }
 body.explicit-home.explicit-home-v179.explicit-home-refresh.explicit-home-v18632:not(.explicit-direct-mode) #homeSpaces .explicit-space-copy{
  min-width:0!important;flex:1 1 auto!important;display:flex!important;flex-direction:column!important;gap:4px!important;
 }
 body.explicit-home.explicit-home-v179.explicit-home-refresh.explicit-home-v18632:not(.explicit-direct-mode) #homeSpaces .explicit-space-arrow{
  flex:0 0 auto!important;align-self:center!important;
 }
}
@media(min-width:931px) and (max-height:720px){
 body.explicit-home.explicit-home-v179.explicit-home-refresh.explicit-home-v18632:not(.explicit-direct-mode) #nexoOverlay>div{
  grid-template-rows:minmax(0,1fr) 157px 110px!important;gap:9px!important;
 }
 body.explicit-home.explicit-home-v179.explicit-home-refresh.explicit-home-v18632:not(.explicit-direct-mode) .explicit-communities-section{padding:8px 14px!important}
 body.explicit-home.explicit-home-v179.explicit-home-refresh.explicit-home-v18632:not(.explicit-direct-mode) .explicit-communities-section #homeSpaces{height:80px!important;padding:2px 2px 7px!important}
 body.explicit-home.explicit-home-v179.explicit-home-refresh.explicit-home-v18632:not(.explicit-direct-mode) .explicit-communities-section #homeSpaces>.explicit-community-card{height:66px!important;min-height:66px!important;max-height:66px!important}
 body.explicit-home.explicit-home-v179.explicit-home-refresh.explicit-home-v18632:not(.explicit-direct-mode) #homeSpaces .explicit-community-image{width:48px!important;min-width:48px!important;max-width:48px!important;height:48px!important;min-height:48px!important;max-height:48px!important;flex-basis:48px!important}
}
@media(max-width:930px){
 body.explicit-home .explicit-communities-section{overflow:visible!important;height:auto!important;max-height:none!important}
 body.explicit-home .explicit-communities-section #homeSpaces{max-height:none!important;overflow-x:auto!important;overflow-y:hidden!important;min-height:82px!important;flex-wrap:nowrap!important}
 body.explicit-home .explicit-communities-section #homeSpaces>.explicit-community-card{min-height:70px!important;height:70px!important;max-height:70px!important;min-width:205px!important;overflow:hidden!important}
}
/* 2. Cabeçalho: nome, seta que reage ao menu e convite sempre na mesma linha. */
#nexoSidebar .explicit-community-header-row{display:flex!important;align-items:center!important;gap:4px!important;min-height:42px!important;min-width:0!important;width:100%!important;margin:0 0 5px!important}
#nexoSidebar .explicit-community-header-row #communityHeading{display:block!important;flex:1 1 auto!important;min-width:0!important;max-width:none!important;width:auto!important;margin:0!important;padding:6px 2px 6px 4px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#ebf2f9!important;letter-spacing:0!important;font-size:14px!important;cursor:pointer}
#nexoSidebar .explicit-community-header-row #communityHeading:focus-visible{outline:2px solid #6ca6df;outline-offset:1px;border-radius:4px}
#nexoSidebar .explicit-community-header-row .explicit-community-chevron{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 24px!important;width:24px!important;height:28px!important;padding:0!important;margin:0!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#aebed0!important;font-size:17px!important;transition:transform .15s ease,background .15s ease!important}
#nexoSidebar .explicit-community-header-row .explicit-community-chevron.is-open{transform:rotate(180deg)!important;color:#a4cfff!important}
#nexoSidebar .explicit-community-header-row .explicit-community-invite-button{float:none!important;display:grid!important;place-items:center!important;flex:0 0 32px!important;width:32px!important;height:31px!important;margin:0!important;padding:0!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#9ab8d3!important}
#nexoSidebar .explicit-community-header-row :is(.explicit-community-invite-button,.explicit-community-chevron):hover{background:#1e2a36!important;color:#d2e9ff!important}
#nexoSidebar .explicit-community-header-row .explicit-community-invite-button svg{display:block!important}
/* 3. O card de perfil nao pode causar barra horizontal e a vertical permanece invisivel. */
#memberPopover:not([hidden]){box-sizing:border-box!important;overflow-x:hidden!important;overflow-y:auto!important;scrollbar-width:none!important;overscroll-behavior:contain!important;width:310px!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;padding:0!important;gap:8px!important;background:#151a20!important;border-color:#2a3542!important}
#memberPopover::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
#memberPopover>*{min-width:0!important;box-sizing:border-box!important}
#memberPopover>*:not(.explicit-popover-cover){max-width:calc(100% - 28px)!important;min-width:0!important}
#memberPopover .explicit-popover-cover{background:linear-gradient(180deg,#202b37 0 55px,#151a20 55px)!important;border-radius:9px!important;margin:10px 10px 0!important;max-width:calc(100% - 20px)!important;min-height:126px!important;padding-bottom:8px!important}
#memberPopover .explicit-popover-identity{min-width:0!important;overflow-wrap:anywhere!important}
#memberPopover .explicit-profile-voice{max-width:calc(100% - 28px)!important;margin:6px 14px!important;background:#1c2530!important;border-color:#303e4e!important}
#memberPopover :is(button,small,strong,span,p){max-width:100%;overflow-wrap:anywhere}
#memberPopover .explicit-profile-edit-self{box-sizing:border-box!important;width:calc(100% - 28px)!important;max-width:calc(100% - 28px)!important;flex:0 0 auto!important;align-self:center!important;margin:8px 14px 14px!important;text-align:center!important}
#memberPopover .explicit-member-role-chips{max-width:calc(100% - 28px)!important;align-self:stretch!important}
@media(max-height:690px){#memberPopover:not([hidden]){gap:5px!important}#memberPopover>.explicit-popover-cover{min-height:109px!important;padding-top:48px!important}#memberPopover .explicit-popover-avatar,#memberPopover .explicit-popover-fallback{top:20px!important}}
/* 4. Cargos e editor abertos na propria tela de configuracoes, sem segunda janela. */
.explicit-server-settings-screen{background:#080a0e!important;color:#e8eef5!important;overflow:auto!important}
.explicit-server-settings-layout{width:min(1180px,calc(100% - 48px))!important;grid-template-columns:224px minmax(0,1fr)!important;gap:32px!important;padding:44px 0!important}
.explicit-server-settings-side{border-color:#252e38!important}
.explicit-server-settings-side button.selected{background:#1b2938!important;color:#c6e4ff!important}
.explicit-server-settings-content{background:transparent!important;min-width:0!important}
.explicit-server-settings-content .explicit-roles-workspace.explicit-inline-roles-list{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;max-height:none!important;overflow:visible!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.explicit-server-settings-content .explicit-inline-roles-list .explicit-roles-overview{padding-top:0!important}
.explicit-server-settings-content .explicit-inline-roles-list .explicit-role-card{background:#151a20!important;border-color:#283340!important}
.explicit-server-settings-content .explicit-inline-role-editor{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;max-height:none!important;min-height:0!important;overflow:visible!important;margin:0!important;padding:0!important;border:1px solid #283440!important;border-radius:9px!important;background:#11161c!important;box-shadow:none!important}
.explicit-server-settings-content .explicit-inline-role-editor .explicit-role-editor-header{padding:20px!important}
.explicit-server-settings-content .explicit-inline-role-editor .explicit-role-editor-footer{position:static!important;padding:16px 20px!important}
.explicit-server-settings-content .explicit-inline-role-editor .explicit-role-perm-layout{padding:0 20px 18px!important}
.explicit-server-settings-content .explicit-inline-role-editor .explicit-role-perm-heading{margin:13px 20px!important}
.explicit-server-settings-content .explicit-inline-role-editor .explicit-role-basics{margin:16px 20px!important}
@media(max-width:760px){.explicit-server-settings-layout{width:calc(100% - 24px)!important;grid-template-columns:150px minmax(0,1fr)!important;gap:12px!important}.explicit-server-settings-side{padding-right:8px!important}.explicit-server-settings-content{padding-right:0!important}.explicit-server-settings-content .explicit-inline-role-editor .explicit-role-perm-section .explicit-role-permissions{grid-template-columns:1fr!important}}
/* 5. Consistencia de overlays e configuracoes sem brilho ou azul-roxo. */
body:not(.explicit-light-theme) :is(.obsidian-modal-backdrop,.workspace-modal-backdrop){background:rgba(2,4,7,.79)!important}
body:not(.explicit-light-theme) :is(.explicit-settings-window,.explicit-settings-content,.explicit-settings-sidebar,.explicit-settings-nav,.explicit-settings-heading){border-color:#27313c!important}
body:not(.explicit-light-theme) :is(.explicit-settings-group,.explicit-settings-row,.explicit-audio-quick,.explicit-invite-person){background:#151a20!important;border-color:#2b3540!important}
body:not(.explicit-light-theme) :is(.explicit-audio-quick button,.explicit-invite-person button,.explicit-invite-footer button){background:#264968!important;color:#eef7ff!important}
body:not(.explicit-light-theme) :is(.explicit-settings-row-copy strong,.explicit-settings-heading h3,.explicit-server-settings-content h2){color:#e9edf3!important}
/* Consolidar todos os paineis da Home, inclusive antigos gradientes de suporte e novidades. */
body.explicit-home.explicit-home-v179.explicit-home-refresh:not(.explicit-light-theme):not(.explicit-direct-mode) #nexoOverlay{background:#0c0f14!important}
body.explicit-home.explicit-home-v179.explicit-home-refresh:not(.explicit-light-theme):not(.explicit-direct-mode) :is(.explicit-spotlight,.explicit-friends-section,.explicit-communities-section,.explicit-support-card,.explicit-spotlight-item,.explicit-home-person,.explicit-community-card){background:#11161d!important;background-image:none!important;border-color:#273440!important;box-shadow:none!important}
body.explicit-home.explicit-home-v179.explicit-home-refresh:not(.explicit-light-theme):not(.explicit-direct-mode) #homeSpaces>.explicit-community-card{background:#151c25!important;border-color:#304154!important}
body.explicit-home.explicit-home-v179.explicit-home-refresh:not(.explicit-light-theme):not(.explicit-direct-mode) .explicit-community-image{background:#25394d!important;color:#a9d5ff!important}
body.explicit-home.explicit-home-v179.explicit-home-refresh:not(.explicit-light-theme):not(.explicit-direct-mode) .explicit-support-card::before,
body.explicit-home.explicit-home-v179.explicit-home-refresh:not(.explicit-light-theme):not(.explicit-direct-mode) .explicit-support-card::after{background:none!important;box-shadow:none!important}
/* Preto no trilho, uma so superficie neutra para os tres paineis principais. */
body:not(.explicit-light-theme) #app{background:#080a0e!important}
body:not(.explicit-light-theme) :is(#nexoSidebar,#membersPanel,#nexoPane){background:#0c0f14!important}
/* Confirmacoes de exclusao e de administrador continuam acima da tela de cargos. */
body:not(.explicit-light-theme) .obsidian-modal-backdrop{z-index:8500!important}
body:not(.explicit-light-theme) .obsidian-toasts{z-index:9500!important}
/* Ajustes: duas colunas equilibradas, navegacao legivel e sem barra horizontal. */
body:not(.explicit-light-theme) .explicit-settings-window{
 width:min(1120px,calc(100vw - 50px))!important;max-width:none!important;
 height:min(800px,calc(100dvh - 58px))!important;
 background:#0f1319!important;border:1px solid #2a3541!important;
 border-radius:11px!important;box-shadow:0 20px 65px #000b!important;
}
body:not(.explicit-light-theme) .explicit-settings-window>h2{background:#0f1319!important;border-color:#293440!important}
body:not(.explicit-light-theme) .explicit-settings-shell{
 grid-template-columns:242px minmax(0,1fr)!important;min-width:0!important;
}
body:not(.explicit-light-theme) .explicit-settings-nav{
 box-sizing:border-box!important;min-width:0!important;overflow-x:hidden!important;overflow-y:auto!important;
 padding:15px 12px!important;background:#0f1319!important;border-color:#29333f!important;scrollbar-width:thin;
}
body:not(.explicit-light-theme) .explicit-settings-nav-item{
 box-sizing:border-box!important;min-width:0!important;width:100%!important;
 border-radius:7px!important;min-height:38px!important;padding:8px 10px!important;
 text-align:left!important;font-size:12px!important;box-shadow:none!important;
}
body:not(.explicit-light-theme) .explicit-settings-nav-item.selected{
 background:#203249!important;border-color:#35506b!important;box-shadow:inset 2px 0 #6ca6df!important;
}
body:not(.explicit-light-theme) .explicit-settings-account-submenu{box-sizing:border-box!important;min-width:0!important;width:100%!important}
body:not(.explicit-light-theme) .explicit-settings-account-child{
 box-sizing:border-box!important;min-width:0!important;width:100%!important;
 padding:7px 9px!important;text-align:left!important;overflow-wrap:anywhere!important;
}
body:not(.explicit-light-theme) .explicit-plus-nav-chip{flex-shrink:0!important;font-size:9px!important}
body:not(.explicit-light-theme) .explicit-settings-content{
 box-sizing:border-box!important;min-width:0!important;overflow-x:hidden!important;
 padding:26px 34px 38px!important;background:#0f1319!important;
}
body:not(.explicit-light-theme) .explicit-settings-group{border-radius:9px!important;padding:5px 19px!important;margin-bottom:16px!important}
body:not(.explicit-light-theme) .explicit-settings-row{gap:18px!important;min-width:0!important;padding:15px 0!important}
body:not(.explicit-light-theme) .explicit-settings-row-copy{min-width:0!important;flex:1 1 auto!important;max-width:none!important}
body:not(.explicit-light-theme) .explicit-settings-row :is(.explicit-settings-range,.explicit-settings-action){flex-shrink:0!important}
@media(max-width:760px){
 body:not(.explicit-light-theme) .explicit-settings-window{width:calc(100vw - 18px)!important}
 body:not(.explicit-light-theme) .explicit-settings-shell{grid-template-columns:166px minmax(0,1fr)!important}
 body:not(.explicit-light-theme) .explicit-settings-nav{padding:12px 7px!important}
 body:not(.explicit-light-theme) .explicit-settings-content{padding:18px 14px!important}
 body:not(.explicit-light-theme) .explicit-settings-row{flex-wrap:wrap!important}
 body:not(.explicit-light-theme) .explicit-settings-row .explicit-settings-range{width:100%!important;min-width:0!important}
}
