/* BELOUSOVA_GLOBAL_CORE_V1
   Shared brand/system layer only.
   No layout dimensions, no overflow rules, no scroll engine.
*/
:root{
  --bp-brand-red:#cb151c;
  --bp-brand-red-hover:#e1262d;
  --bp-bg:#0b0b0c;
  --bp-white:#fff;
  --bp-font-main:"Manrope",Arial,sans-serif;
  --bp-font-accent:"Martian Mono",monospace;
}

::selection{
  background:var(--bp-brand-red);
  color:var(--bp-white);
}

/* One scrollbar source for every public page and every real scroll container. */
*{
  scrollbar-color:var(--bp-brand-red) transparent;
}
*::-webkit-scrollbar{
  width:2px!important;
  height:2px!important;
}
*::-webkit-scrollbar-track{
  background:transparent!important;
}
*::-webkit-scrollbar-thumb{
  background:var(--bp-brand-red)!important;
  border:0!important;
  border-radius:999px!important;
}
*::-webkit-scrollbar-thumb:hover{
  background:var(--bp-brand-red-hover)!important;
}
*::-webkit-scrollbar-corner{
  background:transparent!important;
}
@supports (-moz-appearance:none){
  *{
    scrollbar-width:thin;
    scrollbar-color:var(--bp-brand-red) transparent;
  }
}


/* BELOUSOVA_UNIFORM_VISUAL_SCROLLBAR_V1
   Keep native scroll mechanics and gutter exactly as the browser already uses them.
   Only hide the native visual paint; the visible 2px brand thumb is rendered by global.js.
*/
*{
  scrollbar-color:transparent transparent!important;
}
*::-webkit-scrollbar-track,
*::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-corner{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border-color:transparent!important;
  box-shadow:none!important;
}

/* Visual layer only: never participates in layout and never intercepts input. */
.bp-global-scrollbar{
  position:fixed;
  z-index:2147483000;
  width:2px;
  pointer-events:none;
  overflow:hidden;
  opacity:1;
}
.bp-global-scrollbar[hidden]{
  display:none!important;
}
.bp-global-scrollbar__thumb{
  position:absolute;
  left:0;
  top:0;
  width:2px;
  min-height:18px;
  border-radius:999px;
  background:#cb151c;
  will-change:transform,height;
}


/* BELOUSOVA_SCROLLBAR_RED_SURFACE_THEME_V1 */
.bp-global-scrollbar__thumb{
  background:#cb151c!important;
}
.bp-global-scrollbar__thumb.is-on-red{
  background:#fff!important;
}


/* BELOUSOVA_DIVIDER_GUTTER_FILL_V1
   Fills only the visual separator segment hidden by the preserved native scrollbar gutter.
   No layout dimensions are changed.
*/
.bp-global-divider-fill{
  position:fixed;
  z-index:2147482999;
  pointer-events:none;
  height:1px;
  min-height:1px;
  overflow:hidden;
}


/* BELOUSOVA_MOBILE_SCROLLBAR_HIDDEN_V1
   Mobile: hide only the custom visual scrollbar.
   Native touch scrolling and all scroll mechanics remain unchanged.
*/
@media (max-width:760px){
  .bp-global-scrollbar{
    display:none!important;
  }
}

/* BELOUSOVA_CURSOR_READY_SCOPE_V3
   One global cursor owner; scope the native-pointer override to pages where
   global.js has successfully attached the real branded cursor. */
@media (hover:hover) and (pointer:fine) {
  html[data-belousova-cursor-active="1"],
  html[data-belousova-cursor-active="1"] body,
  html[data-belousova-cursor-active="1"] body *,
  html[data-belousova-cursor-active="1"] body *::before,
  html[data-belousova-cursor-active="1"] body *::after {
    cursor: none !important;
  }
  html[data-belousova-cursor-active="1"] .custom-cursor {
    display: block !important;
    z-index: 2147483646 !important;
    pointer-events: none !important;
  }
}
