:root{--scroll-thumb:rgba(231,195,157,.42);--scroll-hover:rgba(255,218,170,.75);--scroll-end:14px}
html:has(body.modal-open){overflow:hidden}
html.xcg-theme-scope{--scroll-thumb:rgba(91,103,128,.34);--scroll-hover:rgba(91,103,128,.64)}
html.xcg-theme-scope[data-xcg-theme="night"]{--scroll-thumb:rgba(165,177,200,.36);--scroll-hover:rgba(193,205,228,.68)}
#activity-modal{--scroll-thumb:color-mix(in srgb,var(--campaign-text,#bb9ce1) 42%,transparent);--scroll-hover:color-mix(in srgb,var(--campaign-text,#d3b9f6) 72%,transparent)}
:where(html,body,body *){scrollbar-width:thin;scrollbar-color:var(--scroll-thumb) transparent}
@supports selector(::-webkit-scrollbar){
  :where(html,body,body *){scrollbar-width:auto;scrollbar-color:auto}
  :where(html,body,body *)::-webkit-scrollbar{width:9px!important;height:9px!important;background:transparent!important}
  :where(html,body,body *)::-webkit-scrollbar-track{background:transparent!important;margin-block:var(--scroll-end)!important;margin-inline:var(--scroll-end)!important;border:0!important;box-shadow:none!important}
  :where(html,body,body *)::-webkit-scrollbar-thumb{background:var(--scroll-thumb)!important;background-clip:padding-box!important;border:2px solid transparent!important;border-radius:999px!important;box-shadow:none!important;min-height:36px}
  :where(html,body,body *)::-webkit-scrollbar-thumb:hover{background:var(--scroll-hover)!important;background-clip:padding-box!important}
  :where(html,body,body *)::-webkit-scrollbar-button{display:none!important;width:0!important;height:0!important}
  :where(html,body,body *)::-webkit-scrollbar-corner{background:transparent!important}
}
.nano-dialog,.history-dialog,.dn-dialog{--scroll-end:24px}
.nano-dialog.activity-dialog{--scroll-end:26px}
@media (pointer:coarse){:where(html,body,body *)::-webkit-scrollbar{width:6px!important;height:6px!important}}
@media (forced-colors:active){:where(html,body,body *){scrollbar-color:auto} :where(html,body,body *)::-webkit-scrollbar-thumb{background:ButtonText!important}}

html[data-account-center]{--scroll-thumb:rgba(91,103,128,.38);--scroll-hover:rgba(91,103,128,.68)}
#infinite-canvas-modal{--scroll-thumb:rgba(91,103,128,.38);--scroll-hover:rgba(91,103,128,.68)}
html[data-xcg-theme="night"] #infinite-canvas-modal{--scroll-thumb:rgba(165,177,200,.4);--scroll-hover:rgba(193,205,228,.7)}

:is(.nic-panel-body,.nic-expand-side,.ann-directory,.ann-reader,.admin-side-editor-recent-track,#admin-side-editor>.admin-side-editor-body,#admin-side-editor>.nano-cast-body,[data-editor-scroll-body]){scrollbar-color:var(--scroll-thumb) transparent!important}
@supports selector(::-webkit-scrollbar){:is(.nic-panel-body,.nic-expand-side,.ann-directory,.ann-reader,.admin-side-editor-recent-track,#admin-side-editor>.admin-side-editor-body,#admin-side-editor>.nano-cast-body,[data-editor-scroll-body]){scrollbar-width:auto!important;scrollbar-color:auto!important}}

html.xcg-theme-scope body.x-cg-skin #invite-marquee.is-activity{
 background:#f2edf9!important;border-color:#c8badb!important;color:#322343!important;box-shadow:none!important;
}
html.xcg-theme-scope body.x-cg-skin #invite-marquee.is-activity :is(.invite-marquee-copy,#invite-marquee-text){color:#322343!important;text-shadow:none!important}
html.xcg-theme-scope body.x-cg-skin #invite-marquee.is-activity #invite-marquee-badge{background:#e1d5f0!important;color:#322343!important;box-shadow:none!important}
html.xcg-theme-scope body.x-cg-skin #invite-marquee.is-activity :is(.invite-marquee-link,#invite-marquee-cta){background:#493268!important;color:#fff!important;text-shadow:none!important;box-shadow:none!important}
html.xcg-theme-scope body.x-cg-skin #invite-marquee.is-activity :is(.invite-marquee-link,#invite-marquee-cta)::after{display:none!important}
html.xcg-theme-scope[data-xcg-theme="night"] body.x-cg-skin #invite-marquee.is-activity{background:#2a2435!important;border-color:#756187!important;color:#f5efff!important}
html.xcg-theme-scope[data-xcg-theme="night"] body.x-cg-skin #invite-marquee.is-activity :is(.invite-marquee-copy,#invite-marquee-text){color:#f5efff!important}
html.xcg-theme-scope[data-xcg-theme="night"] body.x-cg-skin #invite-marquee.is-activity #invite-marquee-badge{background:#d8c8ed!important;color:#2c1e3e!important}
html.xcg-theme-scope[data-xcg-theme="night"] body.x-cg-skin #invite-marquee.is-activity :is(.invite-marquee-link,#invite-marquee-cta){background:#baffdf!important;color:#143d2e!important}
html.xcg-theme-scope body.x-cg-skin #invite-marquee.is-activity:focus-visible{outline:2px solid var(--xt-focus);outline-offset:4px}
