/* Omni Minimal / 0.2.74
   Implemented using the installed minimalist-ui skill.
   Layout, access and real-time media logic remain unchanged.
   Dark graphite is the established Omni brand; keep it, but strip visual noise.
   Personal backgrounds, Premium effects and custom accents are authoritative. */
:root{
  --omni-m-bg:#14191e;
  --omni-m-surface:#1b2228;
  --omni-m-surface-alt:#20282e;
  --omni-m-ink:#edf1f1;
  --omni-m-muted:#a1adb2;
  --omni-m-divider:rgba(230,238,237,.13);
  --omni-m-focus:#adcbbb;
  --omni-m-radius:9px;
  --omni-m-font:"Segoe UI Variable Text","Segoe UI", "Helvetica Neue", sans-serif;
}
body,button,input,textarea,select{
  font-family:var(--omni-m-font);
}
h1,h2,h3,h4,p,small{font-synthesis:none;}
button{touch-action:manipulation;}
button:focus-visible,[role="button"]:focus-visible,[role="tab"]:focus-visible,
a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{
  outline:2px solid var(--omni-m-focus);
  outline-offset:2px;
}
#appShell .section-heading{font-size:10px;letter-spacing:.075em;font-weight:690;}
#appShell .current-channel h1{letter-spacing:-.022em;font-size:14px;font-weight:700;}
#appShell .current-channel p{font-size:11px;line-height:1.4;}
#appShell .message-heading strong{font-size:12px;font-weight:680;}
#appShell .message-text{font-size:12px;line-height:1.6;}
#appShell .channel-welcome h2{font-weight:680;letter-spacing:-.038em;}
#appShell .channel-welcome p{font-size:12px;line-height:1.6;}
#appShell .day-divider{font-size:10px;font-weight:600;letter-spacing:.065em;}
#appShell :is(.channel-button,.voice-channel,.global-nav-button,.icon-button,
 .user-control,.attach-button,.emoji-button,.server-add,.rail-utility){
  transition:background-color .14s ease,border-color .14s ease,color .14s ease!important;
}

/* All default surfaces: 1px separators, minimal texture, no stacked shadows. */
html:not([data-nexo-personalized="1"]):not([data-nexo-theme="light"]) body{
  background:var(--omni-m-bg)!important;
}
html:not([data-nexo-personalized="1"]):not([data-nexo-theme="light"]) body::before{
  content:none!important;display:none!important;
}
html:not([data-nexo-personalized="1"]):not([data-nexo-theme="light"]) #appShell.app-shell{
  background:var(--omni-m-bg)!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
html:not([data-nexo-personalized="1"]):not([data-nexo-theme="light"])
 #appShell.app-shell:not(.nexo-custom-banner):not(.nexo-community-header)
 > .global-navigation{
  background:var(--omni-m-surface)!important;
  border-bottom:1px solid var(--omni-m-divider)!important;
  box-shadow:none!important;
  backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;
}
html:not([data-nexo-personalized="1"]):not([data-nexo-theme="light"])
 #appShell.app-shell:not(.nexo-custom-channels) > .server-rail{
  background:#192027!important;border-right:1px solid var(--omni-m-divider)!important;
  box-shadow:none!important;backdrop-filter:none!important;
}
html:not([data-nexo-personalized="1"]):not([data-nexo-theme="light"])
 #appShell.app-shell:not(.nexo-custom-rooms) > .channel-sidebar{
  background:var(--omni-m-surface)!important;
  border-right:1px solid var(--omni-m-divider)!important;
  box-shadow:none!important;backdrop-filter:none!important;
}
html:not([data-nexo-personalized="1"]):not([data-nexo-theme="light"])
 #appShell .chat-column:not(.nexo-community-themed){
  background:var(--omni-m-bg)!important;
  box-shadow:none!important;
}
html:not([data-nexo-personalized="1"]):not([data-nexo-theme="light"])
 #appShell:not(.nexo-custom-right):not(.nexo-community-header):not(.nexo-custom-banner)
 > .member-sidebar.nexo-right-design{
  background:var(--omni-m-surface)!important;
  background-image:none!important;
  border-left:1px solid var(--omni-m-divider)!important;
  box-shadow:none!important;backdrop-filter:none!important;
}
html:not([data-nexo-personalized="1"]):not([data-nexo-theme="light"])
 #appShell .chat-column:not(.nexo-community-themed) > .chat-topbar{
  background:rgba(22,28,33,.94)!important;
  border-bottom:1px solid var(--omni-m-divider)!important;
  box-shadow:none!important;
  backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;
}
#appShell .global-navigation .global-nav-button{
  border:1px solid transparent!important;
  border-radius:8px!important;box-shadow:none!important;
  filter:none!important;
}
#appShell .global-navigation .global-nav-button svg{
  width:19px;height:19px;
  stroke-width:1.85;
}
#appShell .global-navigation .global-nav-button:hover{
  background:rgba(235,243,241,.07)!important;color:#f1f5f4!important;
}
#appShell .global-navigation .global-nav-button[aria-pressed="true"]{
  color:#f0f4f3!important;
  background:rgba(239,249,246,.09)!important;
  border-color:rgba(231,241,238,.15)!important;
  box-shadow:none!important;
}
#appShell .server-add,#appShell .rail-utility{
  border:1px solid var(--omni-m-divider)!important;
  border-radius:9px!important;
  background:rgba(241,246,244,.04)!important;
  box-shadow:none!important;
}
#appShell .server-add:hover,#appShell .rail-utility:hover{
  background:rgba(241,246,244,.095)!important;
  border-color:rgba(240,247,244,.24)!important;
}
#appShell .channel-list :is(.channel-button,.voice-channel){
  border-radius:7px!important;box-shadow:none!important;
  letter-spacing:0;
}
#appShell .channel-list :is(.channel-button,.voice-channel):hover:not(.active){
  background:rgba(232,243,240,.055)!important;color:#f0f4f3!important;
}
html:not([data-nexo-personalized="1"]):not([data-nexo-theme="light"])
 #appShell .channel-sidebar :is(#textChannelItems,#voiceChannelItems)
 .channel-entry:not(.nexo-colored-channel) > :is(.channel-button,.voice-channel).active{
  background:rgba(241,248,247,.085)!important;
  color:#f0f5f3!important;
  border:1px solid rgba(242,250,248,.16)!important;
  box-shadow:inset 2px 0 0 rgba(226,239,236,.62)!important;
}
#appShell .section-heading button:hover{
  background:rgba(239,248,246,.06)!important;border-radius:5px!important;
}
#appShell .member-sidebar :is(button,.nexo-right-section-heading){
  box-shadow:none!important;
}
#appShell :is(.nexo-right-section-name,.member-section-heading) strong{letter-spacing:-.015em;}
#appShell .day-divider::before,#appShell .day-divider::after{
  background:var(--omni-m-divider)!important;
}

/* Composer is an instrument, not a floating promotional card. */
html:not([data-nexo-personalized="1"]):not([data-nexo-theme="light"])
 #appShell .chat-column > .composer-wrap:not([hidden]){
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}
html:not([data-nexo-personalized="1"]):not([data-nexo-theme="light"])
 #appShell .chat-column .composer{
  background:rgba(29,37,43,.96)!important;
  background-image:none!important;
  border:1px solid rgba(237,245,243,.20)!important;
  border-radius:9px!important;
  box-shadow:none!important;
  backdrop-filter:blur(6px)!important;-webkit-backdrop-filter:blur(6px)!important;
}
#appShell .chat-column .composer:focus-within{
  border-color:rgba(185,219,200,.55)!important;
  box-shadow:0 0 0 2px rgba(159,201,176,.075)!important;
}
#appShell .chat-column .composer :is(.attach-button,.emoji-button,.send-button){
  border-radius:6px!important;box-shadow:none!important;
}
#appShell .chat-column .message-list{gap:16px;}
#appShell .chat-column .message{gap:11px;}
#appShell .chat-column .reaction{border-radius:6px!important;box-shadow:none!important;}

/* Voice/video: preserve transmission dimensions and media controls.
   Reduce only chrome, not the content, portrait crop or active statuses. */
#appShell #voiceStage .remote-tile{
  border-radius:10px!important;
  border:1px solid rgba(226,236,237,.16)!important;
  box-shadow:none!important;
}
#appShell #voiceStage .remote-tile.is-speaking{
  border-color:rgba(151,218,182,.58)!important;
}
#appShell #voiceStage .voice-stage-controls{
  border-radius:12px!important;
  box-shadow:0 8px 24px rgba(0,0,0,.11)!important;
}
#appShell #voiceStage .voice-stage-controls
 :is(.stage-control,.stage-control-group){
  border-radius:8px!important;
}
#appShell #voiceStage .voice-stage-controls
 > :is(.stage-control:not(.nexo-hangup),.stage-control-group){
  box-shadow:none!important;
}
#appShell #voiceStage #stageLeaveButton{border-radius:8px!important;}

/* Buttons and panels keep legibility, keyboard access, semantic colors. */
#authScreen .auth-card{
  border-radius:14px!important;
  box-shadow:0 16px 40px rgba(0,0,0,.12)!important;
}
#authScreen .auth-tabs,#authScreen .auth-form input,
#authScreen .auth-submit,#authScreen .nexo-google-login{
  border-radius:7px!important;box-shadow:none!important;
}
#authScreen .auth-form label{font-size:11px;}
#authScreen .auth-lede{line-height:1.65;}
#authScreen .auth-submit{
  background:#dce6e3!important;color:#1a272b!important;
  box-shadow:none!important;border-color:#dce6e3!important;
}
#authScreen .auth-submit:hover{background:#f0f4f2!important;filter:none!important;}
#appShell .nexo-shop-tabs button,#appShell #nexoShop .nexo-shop-item{
  border-radius:9px!important;box-shadow:none!important;
}
html:not([data-nexo-personalized="1"]):not([data-nexo-theme="light"])
 #appShell #nexoSocialCenter.nexo-social-page:has(#nexoShop){
  background:var(--omni-m-bg)!important;background-image:none!important;
}
#appShell #nexoShop .nexo-shop-item{
  background:rgba(28,36,42,.75)!important;
  border:1px solid var(--omni-m-divider)!important;
}
#appShell #nexoShop .nexo-shop-item-preview{
  background:#293239!important;
  border-bottom:1px solid var(--omni-m-divider)!important;
}
#appShell #nexoShop .nexo-shop-plan{
  border-radius:9px!important;
  box-shadow:none!important;
}
#appShell #nexoShop .nexo-shop-item:hover{
  transform:none!important;
  border-color:rgba(231,240,238,.27)!important;
}
#appShell .profile-dialog:not([hidden]),
#appShell .app-dialog:not([hidden]){
  border-radius:12px!important;
  box-shadow:0 18px 40px rgba(0,0,0,.18)!important;
}
#appShell .settings-panel :is(.settings-nav [role="tab"],.settings-field input,.settings-field select){
  border-radius:7px!important;
}
@media(max-width:760px){
  #appShell .channel-list{padding-inline:8px;}
  #appShell .nexo-shop{padding-inline:14px;}
}
@media(prefers-reduced-motion:reduce){
  #appShell :is(.global-nav-button,.channel-button,.voice-channel,.server-add,.rail-utility,
    .stage-control,.message),#authScreen :is(button,input){
    transition:none!important;animation:none!important;
  }
}
