/* Loaded first on every page. Background blur (backdrop-filter) is re-computed by the GPU every
   time anything underneath repaints (charts redraw many times a second), which makes weak and
   integrated graphics lag behind the cursor. Panels keep their own background colour instead.
   Declared as the first cascade layer, so its !important wins over every other stylesheet. */
@layer axisPerf {
  *, *::before, *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  /* Floating panels that relied on the blur for legibility get a solid dark base under their own
     (semi-transparent) background, so text stays readable over charts and feeds. */
  body:not([data-route="home"]) .site-header, :is(.axis-workspace-nav, .axis-research-tools, .social-rail-card, .cm-chat, .cm-members,
      .axis-dm-overlay, .fp-settings-dialog, .dashboard-settings-modal:not([hidden]), .social-feed-toolbar,
      .social-right-rail, .social-scope-nav, .axis-drawing-toolbar.is-inline, .liquidation-legend,
      .selector-menu:not([hidden]), .auth-modal, .macro-reaction-head, .indicator-settings-modal,
      .chart-appearance-panel, .axp-menu, .axp-appearance) { background-color: #0c0c0f !important; }
}
