/*
 * Force-hide scrollbars — eigene Datei, zuletzt importiert (nach index.css / Lazy-Chunks).
 * Scrollen bleibt per Touch, Trackpad und Mausrad möglich.
 * Bare ::-webkit-scrollbar (ohne *): LightningCSS/WebKit zuverlässiger als nur *::-webkit-scrollbar.
 */

html,
body,
#root {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

*,
*::before,
*::after {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
#root::-webkit-scrollbar,
::-webkit-scrollbar,
*::-webkit-scrollbar {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

::-webkit-scrollbar-track,
::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-corner,
::-webkit-scrollbar-button,
*::-webkit-scrollbar-track,
*::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-corner,
*::-webkit-scrollbar-button {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Tailwind overflow utilities + häufige Scroll-Panes */
.overflow-auto,
.overflow-y-auto,
.overflow-x-auto,
.overflow-scroll,
.overflow-y-scroll,
.overflow-x-scroll,
[class*="overflow-auto"],
[class*="overflow-y-auto"],
[class*="overflow-x-auto"],
[class*="overflow-scroll"],
[class*="overflow-y-scroll"],
[class*="overflow-x-scroll"],
.no-scrollbar,
.scrollbar-hide,
.scrollbar-none,
.custom-scrollbar,
.obsidian-scrollbar,
.chat-history-scrollbar {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  scrollbar-gutter: auto !important;
}

.overflow-auto::-webkit-scrollbar,
.overflow-y-auto::-webkit-scrollbar,
.overflow-x-auto::-webkit-scrollbar,
.overflow-scroll::-webkit-scrollbar,
.overflow-y-scroll::-webkit-scrollbar,
.overflow-x-scroll::-webkit-scrollbar,
[class*="overflow-"]::-webkit-scrollbar,
.no-scrollbar::-webkit-scrollbar,
.scrollbar-hide::-webkit-scrollbar,
.scrollbar-none::-webkit-scrollbar,
.custom-scrollbar::-webkit-scrollbar,
.obsidian-scrollbar::-webkit-scrollbar,
.chat-history-scrollbar::-webkit-scrollbar {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}
