/* Omni 0.2.82 - Official shared appearance.
   Images are the user's original master-account assets, not recreated art.
   This is an appearance baseline for accounts created before and after 0.2.82.
   Personalized wallpapers and entitled banner images still take precedence. */

html:not([data-nexo-wallpaper="1"]):not([data-nexo-theme="light"]) body{
  background-color:#070809!important;
  background-image:
    linear-gradient(180deg,rgba(3,5,8,.08),rgba(4,5,8,.18)),
    url("/omni-default-wallpaper-082.jpg")!important;
  background-size:100% 100%,cover!important;
  background-position:center,center center!important;
  background-repeat:no-repeat!important;
  background-attachment:fixed!important;
}

/* The app shell itself remains transparent so the central 90% glass
   does not stack a second opaque surface over the gradient wallpaper. */
html[data-nexo-personalized="1"] #appShell.app-shell {
  background:transparent!important;
}

/* Use the real 1,920 x 77 master banner in the continuous top navigation.
   App logic sets --nexo-banner-image to this asset for the default account;
   a user photo or a deliberate solid-color override remains supported. */
#appShell.app-shell.nexo-custom-banner:not(.nexo-video-fullscreen):not(.voice-fullscreen)
 > #globalNavigation.global-navigation{
  background-repeat:no-repeat!important;
  background-position:center center,center center!important;
  background-size:100% 100%,cover!important;
}

/* Accessibility: preserve browser focus rings even over dark wallpaper. */
#appShell.app-shell :is(
  .global-nav-button,.server-button,.channel-button,.voice-channel
):focus-visible {
  outline-offset:2px;
}

/* Respect personal light mode and previously selected personal wallpapers:
   wallpaper fallback intentionally excluded when those are active. */
@media (prefers-reduced-motion:reduce) {
  html:not([data-nexo-wallpaper="1"]) body {
    background-attachment:scroll!important;
  }
}
