
/* Omni 0.2.46 | Consolidated room info + dimensional floating voice toolbar.
   Preserve existing IDs, event handlers, voice and stream state. */

/* Keep the community + room names in the top bar; place the real-time
   people count beside its actions. The second room header is redundant. */
#appShell .chat-column .topbar-voice-status {
  display:none !important;
  min-height:33px;
  padding:6px 10px;
  margin:0 8px 0 0;
  border:1px solid rgba(189,232,218,.25);
  border-radius:11px;
  background:linear-gradient(126deg,rgba(122,188,158,.13),rgba(68,97,102,.12));
  color:#d8eee5;
  box-shadow:inset 0 1px rgba(251,255,253,.13),0 4px 13px rgba(0,0,0,.12);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  white-space:nowrap;
}
#appShell .chat-column:has(> #voiceStage:not([hidden])):not(:has(> .nexo-social-page:not([hidden])))
  .topbar-voice-status {
  display:flex !important;
}
#appShell .chat-column > #voiceStage:not([hidden]) > .voice-stage-heading {
  display:none !important;
}
#appShell .chat-column .topbar-voice-status .voice-status-label {
  font-size:9px;
  font-weight:800;
  letter-spacing:.08em;
  color:#c5ecd8;
}
#appShell .chat-column .topbar-voice-status .live-dot {
  width:7px;
  height:7px;
  background:#69d59c;
  box-shadow:0 0 0 3px rgba(105,213,156,.13),0 0 10px rgba(105,213,156,.40);
}
#appShell .chat-column .topbar-voice-status #voiceStageCount {
  font-size:10px;
  font-weight:650;
  letter-spacing:0;
}
#appShell .chat-column .current-channel h1{font-weight:660;}
#appShell .chat-column .current-channel p{color:#b0c1bf;}
/* In voice calls the generic "3 online" presence is replaced by actual
   room participants. It remains on other chat screens as before. */
#appShell .chat-column:has(> #voiceStage:not([hidden])):not(:has(> .nexo-social-page:not([hidden])))
 .topbar-actions > .online-pill {
  display:none !important;
}

/* Main floating glass island: three stacked shadow planes create depth
   without introducing a bottom strip or opaque background. */
#appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls {
  box-sizing:border-box;
  border:1px solid rgba(220,241,237,.31) !important;
  border-top-color:rgba(250,255,252,.49) !important;
  border-bottom-color:rgba(4,17,21,.42) !important;
  border-radius:19px !important;
  padding:12px 14px !important;
  gap:10px !important;
  background:
    radial-gradient(ellipse 89% 140% at 51% -70%,rgba(251,255,252,.155),transparent 78%),
    linear-gradient(160deg,rgba(150,185,175,.20),rgba(45,63,66,.23) 57%,rgba(22,35,38,.26)) !important;
  box-shadow:
    inset 0 1px rgba(255,255,255,.28),
    inset 0 -2px 0 rgba(3,14,18,.20),
    0 3px 7px rgba(0,0,0,.19),
    0 13px 27px rgba(0,0,0,.33),
    0 29px 52px rgba(0,0,0,.20) !important;
  backdrop-filter:blur(29px) saturate(126%) !important;
  -webkit-backdrop-filter:blur(29px) saturate(126%) !important;
}
html[data-nexo-personalized="1"] #appShell .chat-column
 #voiceStage:not([hidden]) > .voice-stage-controls {
  background:
    radial-gradient(ellipse 88% 145% at 46% -76%,rgba(255,255,255,.135),transparent 79%),
    var(--nexo-surface-bg,rgba(60,80,81,.18)) !important;
}

/* Individual controls float over the parent island; grouped microphone and
   output controls cast ONE shadow instead of overlapping their children. */
#appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control:not(.nexo-hangup),
#appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group {
  position:relative;
  box-sizing:border-box;
  min-height:42px;
  flex:0 0 auto;
  border:1px solid rgba(217,242,237,.31) !important;
  border-top-color:rgba(250,255,252,.51) !important;
  border-bottom-color:rgba(3,13,19,.45) !important;
  border-radius:12px !important;
  color:#ebf7f2;
  background:
    linear-gradient(163deg,rgba(249,255,252,.17),rgba(161,195,185,.12) 40%,rgba(25,40,45,.23)) !important;
  box-shadow:
    inset 0 1px rgba(255,255,255,.21),
    inset 0 -2px rgba(5,14,19,.27),
    0 3px 7px rgba(0,0,0,.27),
    0 7px 12px rgba(0,0,0,.14) !important;
  text-shadow:0 1px 2px rgba(0,0,0,.36);
  transition:transform .16s ease,background .16s ease,border-color .16s ease,
    box-shadow .16s ease,color .16s ease;
}
#appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control:not(.nexo-hangup) {
  font-size:11px;
  font-weight:650;
  padding:0 13px;
  gap:8px;
  white-space:nowrap;
}
#appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group {
  overflow:hidden;
}
#appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group .stage-control {
  min-height:40px;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  text-shadow:inherit;
  font-size:11px;
  font-weight:650;
  color:inherit;
  padding:0 10px;
  gap:8px;
  white-space:nowrap;
}
#appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group .stage-control-arrow {
  min-height:40px;
  color:#dcebe6;
  border:0 !important;
  border-left:1px solid rgba(232,249,243,.20) !important;
  background:rgba(6,16,22,.12);
  box-shadow:inset 1px 0 rgba(1,7,12,.08) !important;
}
#appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group .stage-control-arrow:hover {
  color:#fff;
  background:rgba(228,249,240,.16);
}
#appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control:not(.nexo-hangup):hover,
#appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group:hover {
  transform:translateY(-1px);
  border-color:rgba(237,255,247,.57) !important;
  background:
    linear-gradient(163deg,rgba(249,255,251,.25),rgba(127,162,150,.18) 43%,rgba(39,56,62,.24)) !important;
  box-shadow:
    inset 0 1px rgba(255,255,255,.27),
    inset 0 -2px rgba(4,13,19,.24),
    0 5px 11px rgba(0,0,0,.29),
    0 11px 20px rgba(0,0,0,.17) !important;
}
#appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control:not(.nexo-hangup):active,
#appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group:has(.stage-control:active),
#appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group:has(.stage-control-arrow:active) {
  transform:translateY(2px);
  box-shadow:inset 0 3px 7px rgba(0,0,0,.27),inset 0 1px rgba(255,255,255,.06) !important;
}
#appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control.is-active,
#appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group:has(.stage-control.is-active){
  color:#c5f4db;
  border-color:rgba(115,226,170,.48) !important;
  background:
    linear-gradient(160deg,rgba(137,240,184,.18),rgba(33,95,71,.23)) !important;
}
#appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control.is-muted,
#appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group:has(.stage-control.is-muted){
  color:#ffe0e4;
  border-color:rgba(246,122,149,.40) !important;
  background:
    linear-gradient(160deg,rgba(244,118,147,.17),rgba(92,31,47,.24)) !important;
}
#appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 .stage-control-icon,
#appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 .stage-control-svg {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:none;
  width:17px;
  height:17px;
  color:inherit;
}
#appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 .stage-control-svg {
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linejoin:round;
  stroke-linecap:round;
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.35));
}
#appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 #stageLeaveButton.nexo-hangup {
  border-radius:13px !important;
  border-top-color:rgba(255,227,231,.68) !important;
  border-bottom-color:rgba(92,7,27,.74) !important;
  box-shadow:
    inset 0 1px rgba(255,255,255,.35),
    inset 0 -2px rgba(80,0,23,.22),
    0 4px 9px rgba(105,8,27,.39),
    0 9px 17px rgba(92,8,27,.26) !important;
  transition:transform .17s ease,box-shadow .17s ease,filter .17s ease;
}
#appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 #stageLeaveButton.nexo-hangup:hover {
  transform:translateY(-1px);
  filter:brightness(1.1);
  box-shadow:inset 0 1px rgba(255,255,255,.43),0 7px 13px rgba(115,6,34,.48),
    0 11px 20px rgba(95,10,25,.30) !important;
}
#appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 #stageLeaveButton.nexo-hangup:active {
  transform:translateY(1px);
  box-shadow:inset 0 3px 8px rgba(70,1,21,.41),0 2px 5px rgba(90,6,29,.35) !important;
}
@media(max-width:1220px){
  #appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls{
    gap:7px !important;
    padding:9px 10px !important;
  }
  #appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
    > .stage-control:not(.nexo-hangup){
    padding:0 10px;
  }
}
@media(max-width:760px){
  #appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls{
    gap:6px !important;
    padding:8px 9px !important;
  }
  #appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
    > .stage-control-group .stage-control{padding:0 8px;}
  #appShell .chat-column .topbar-voice-status .voice-status-label{display:none;}
  #appShell .chat-column .topbar-voice-status{padding:6px 8px;}
}
@media(max-width:1080px){
  #appShell .chat-column .topbar-voice-status .voice-status-label {display:none;}
}
html[data-nexo-theme="light"] #appShell .chat-column .topbar-voice-status{
  color:#245146;background:rgba(223,246,236,.18);
  border-color:rgba(69,140,110,.30);
}
html[data-nexo-theme="light"] #appShell .chat-column .topbar-voice-status #voiceStageCount,
html[data-nexo-theme="light"] #appShell .chat-column .topbar-voice-status .voice-status-label{color:#28594c;}
html[data-nexo-theme="light"] #appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls {
  box-shadow:inset 0 1px rgba(255,255,255,.61),0 8px 24px rgba(20,59,52,.19),
     0 22px 39px rgba(20,59,52,.11) !important;
}
@media(prefers-reduced-motion:reduce){
 #appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls button,
 #appShell .chat-column #voiceStage:not([hidden]) > .voice-stage-controls .stage-control-group{
   transition:none !important;transform:none !important;
 }
}
