/**
 * Tryb wydajności — bez animacji / transition / blur / fixed bg.
 * Ładowany jako ostatni arkusz globalny (nadpisuje style modułów).
 */

*,
*::before,
*::after {
  animation: none !important;
  animation-duration: 0s !important;
  animation-delay: 0s !important;
  transition: none !important;
  transition-duration: 0s !important;
  transition-delay: 0s !important;
  scroll-behavior: auto !important;
  will-change: auto !important;
}

html,
body,
.drivers-page,
.module-xfer__door,
.module-xfer__door--l,
.module-xfer__door--r {
  background-attachment: scroll !important;
}

*,
*::before,
*::after {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Topbar / tabs: bez wejścia z opacity:0 */
#topbar,
#tabs {
  opacity: 1 !important;
  transform: none !important;
}

#topbar::after {
  content: none !important;
  display: none !important;
  animation: none !important;
  filter: none !important;
}

/* Drzwi między modułami — wyłączone */
.module-xfer {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Przełączanie modułu: treść zawsze widoczna, bez fade */
#content.content--mod-leave > *,
#content.content--mod-hold > *,
#content.content--mod-enter > *,
#content.content--mod-enter.content--mod-ready > * {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  will-change: auto !important;
  pointer-events: auto !important;
}

/* Intro — nigdy nie pokazuj */
.imbex-intro-splash,
html.imbex-intro-skip .imbex-intro-splash {
  display: none !important;
}

/* Hover bez translate/scale (mniej compositingu) */
.topbar-btn:hover,
.topbar-btn:active,
#tabs .tab-btn:hover,
#tabs .tab-btn:active {
  transform: none !important;
}
