/* Omni Beta 0.2.48 - independent per-account colors and 0-90% transparency.
   Targets: community rail, room list, and right-hand activity/online panel.
   Do not tint the Mini Central, global notification bar, or conversation. */
#appShell.app-shell.nexo-custom-channels > .server-rail {
  background:var(--nexo-sidebar-channels-bg) !important;
  background-image:none !important;
  backdrop-filter:blur(27px) saturate(112%);
  -webkit-backdrop-filter:blur(27px) saturate(112%);
}
#appShell.app-shell.nexo-custom-rooms > .channel-sidebar {
  background:var(--nexo-sidebar-rooms-bg) !important;
  background-image:none !important;
  backdrop-filter:blur(27px) saturate(112%);
  -webkit-backdrop-filter:blur(27px) saturate(112%);
}
#appShell.app-shell.nexo-custom-right > .member-sidebar {
  background:var(--nexo-sidebar-right-bg) !important;
  background-image:none !important;
  backdrop-filter:blur(27px) saturate(112%);
  -webkit-backdrop-filter:blur(27px) saturate(112%);
}
/* The new panels reuse the existing Edit Profile visual layout. */
#profileEditorDialog .nexo-sidebar-preview {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  min-height:84px;
  margin:15px 0 11px;
  overflow:hidden;
  isolation:isolate;
  color:#f8f9f9;
  border-radius:13px;
  border:1px solid rgba(246,253,250,.22);
  background:repeating-conic-gradient(#202b2d 0% 25%,#384648 0% 50%) 50%/20px 20px;
  box-shadow:inset 0 1px rgba(255,255,255,.15),0 5px 16px rgba(0,0,0,.14);
}
#profileEditorDialog .nexo-sidebar-preview::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:var(--nexo-sidebar-preview-color,rgba(48,54,58,.6));
  backdrop-filter:blur(9px);
  -webkit-backdrop-filter:blur(9px);
  pointer-events:none;
}
#profileEditorDialog .nexo-sidebar-preview::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  border-top:1px solid rgba(255,255,255,.18);
  background:linear-gradient(130deg,rgba(255,255,255,.08),transparent 58%);
  pointer-events:none;
}
#profileEditorDialog .nexo-sidebar-preview > span {
  position:relative;
  z-index:1;
  min-width:0;
  padding:0 17px;
  color:#fff;
  font:650 12px/1.6 "Segoe UI",sans-serif;
  text-shadow:0 2px 9px rgba(0,0,0,.90);
}
#profileEditorDialog .nexo-sidebar-opacity {
  display:grid;
  gap:9px;
  padding:14px 13px;
  margin-top:11px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:12px;
  background:rgba(255,255,255,.035);
}
#profileEditorDialog .nexo-sidebar-opacity-head,
#profileEditorDialog .nexo-sidebar-scale {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
#profileEditorDialog .nexo-sidebar-opacity-head label {
  font-size:12px;
  color:#dce6e4;
  font-weight:650;
}
#profileEditorDialog .nexo-sidebar-opacity-head output {
  padding:4px 8px;
  border-radius:9px;
  color:#e6fff0;
  font-size:12px;
  font-weight:700;
  background:rgba(105,201,149,.13);
  border:1px solid rgba(124,231,182,.22);
}
#profileEditorDialog .nexo-sidebar-opacity input[type="range"] {
  display:block;
  width:100%;
  height:22px;
  margin:0;
  cursor:pointer;
  accent-color:#8bdcb8;
}
#profileEditorDialog .nexo-sidebar-scale {
  font-size:10px;
  color:#b4c3c1;
}
#profileEditorDialog .nexo-visual-tabs {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
}
#profileEditorDialog .nexo-visual-tabs button {
  min-width:0;
  white-space:normal;
}
@media (max-width:520px) {
  #profileEditorDialog .nexo-visual-tabs button { font-size:10px; padding:8px 5px; }
  #profileEditorDialog .nexo-sidebar-scale { font-size:9px; }
}
