/*
 * Global scrollbar hiding. Aplicado em TODO o app (overlays, modais,
 * abas de relatórios, listas de comandantes, etc).
 *
 * Mantém a funcionalidade de scroll (overflow:auto continua valendo
 * em todos os containers); só esconde a barra visual em todos os
 * navegadores modernos (Chromium / WebKit / Firefox / Edge legacy).
 *
 * Carregado por último na cadeia de stylesheets do index.html, então
 * sobrepõe qualquer custom scrollbar declarado em arquivos anteriores
 * (commander-card, upgrade-panel, castle-grid-scroll, etc).
 */

/* Chromium / WebKit / Safari */
*::-webkit-scrollbar,
*::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-track,
*::-webkit-scrollbar-corner,
*::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

/* Firefox + IE/Edge legacy */
* {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

/* HTML/Body explícito também — alguns user-agents aplicam o reset
 * do scrollbar diretamente no documento e não herdam pra * acima. */
html,
body {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
