/* Keep the dark page backdrop independent of the player’s ambient lighting. */
:root:not([data-theme="light"]) {
  --background: #000 !important;
}

/* Android renders native video behind the WebView. */
:root:not([data-theme="light"], .has-native-video-surface),
:root:not([data-theme="light"], .has-native-video-surface) body,
:root:not([data-theme="light"], .has-native-video-surface) .anime-app,
:root:not([data-theme="light"], .has-native-video-surface) .watch-page {
  background: #000 !important;
}

:root:not([data-theme="light"]) .anime-app::before,
:root:not([data-theme="light"]) .anime-app::after,
:root:not([data-theme="light"]) .anime-app .watch-page::before,
:root:not([data-theme="light"]) .anime-app .watch-page::after {
  display: none !important;
}

:root:root:not([data-theme="light"]) .anime-app .app-header::before {
  background: linear-gradient(180deg, #000 0 12%, transparent 100%) !important;
  animation: none !important;
}

:root:not([data-theme="light"]) .anime-mobile-bottom-frost {
  background: transparent !important;
}
