/* BARRA DE ROLAGEM PERSONALIZADA — trilho cinza #D8D8D8, barra roxa #3F3166 com borda áspera (como o traço das flores).
   A barra do navegador fica escondida; a nova é desenhada por assets/barra-rolagem.js. */
html { scrollbar-width: none; }                 /* Firefox */
html::-webkit-scrollbar { display: none; }      /* Chrome, Edge, Safari */
body::-webkit-scrollbar { display: none; }

.barra-trilho {
  position: fixed; top: 0; right: 0; bottom: 0; width: 10px;   /* 14 → 12 → 10px */
  background: rgba(216, 216, 216, .6);           /* #D8D8D8 a 60%: o site continua por trás (sem esfumado/desfoque, a pedido dela) */
  z-index: 2147479000;    /* acima da header; abaixo da tela de carregamento, da transição e do cursor */
  touch-action: none;
}
.barra-polegar {
  position: absolute; left: 3px; width: 4px; top: 0; height: 60px;   /* 8 → 6 → 4px */
  border-radius: 2px; background: #3F3166;
  filter: url(#barra-aspera);                   /* borda áspera: mesma distorção usada no traço das flores */
  cursor: grab; will-change: transform;
  transition: left .25s ease, width .25s ease;
}
.barra-trilho:hover .barra-polegar, .barra-polegar.arrastando { left: 2px; width: 6px; }
.barra-polegar.arrastando { cursor: grabbing; }
.barra-trilho.sem-rolagem { display: none; }
html.arrastando-barra, html.arrastando-barra * { user-select: none !important; }
