/* В-КРЫМУ.РФ — v1.2. Remove the unwanted dark exterior halos in the
   shared portal chrome, on EVERY route, not only /mail.
   Intentionally preserve backgrounds, borders, radii, focus rings and
   active-state indicators. No JS and no route-specific selectors. */

/* Top navigation: one shell for profile, feed, mail and every other route.
   The original theme assigns !important shadows directly to these islands.
   Explicit selectors also cover the profile background and scrolled states. */
html body.mobile-ui-2026 header.app-header,
html.dark body.mobile-ui-2026 header.app-header,
html body.mobile-ui-2026 header.app-header.m26-scrolled,
html.dark body.mobile-ui-2026 header.app-header.m26-scrolled,
html body.ui-modern-2026 header.app-header,
html.dark body.ui-modern-2026 header.app-header,
html body.ui-modern-2026.profile-page-has-bg header.app-header,
html.dark body.ui-modern-2026.profile-page-has-bg header.app-header,
html body header.app-header > .desktop-header-island,
html body header.app-header .desktop-header-brand,
html body header.app-header .mobile-header-actions {
  box-shadow: none !important;
  filter: none !important;
}

/* Keep the header's own softly outlined icons and search box, but remove
   exterior shadow only. Do not touch quick-search popup shadows. */
html body header.app-header .desktop-header-brand > .shadow-soft,
html body header.app-header #globalSearch,
html body header.app-header #btnUserMenu,
html body header.app-header #chatsBtn,
html body header.app-header #notifyBell {
  box-shadow: none !important;
}

/* Common content cards and the left site's navigation. Profile and other
   sections use .shadow-soft too, therefore this is explicitly site-wide. */
html body #siteMain .shadow-soft,
html body #sidebarLeft .sidebar-ui-card {
  box-shadow: none !important;
}
