/* BM Social Sticky Bar */
.bmsb-bar{position:fixed;top:50%;transform:translateY(-50%);z-index:99999;display:flex;flex-direction:column;margin:0;padding:0;box-sizing:border-box;box-shadow:0 4px 18px rgba(0,0,0,.22)}
.bmsb-bar *{box-sizing:border-box}
.bmsb-right{right:0}
.bmsb-left{left:0}

.bmsb-bar .bmsb-item{display:flex;align-items:center;width:52px;height:52px;overflow:hidden;color:#fff!important;text-decoration:none!important;border:0;outline-offset:-3px;transition:width .25s ease,filter .2s ease}
.bmsb-bar .bmsb-icon{flex:0 0 52px;width:52px;height:52px;display:flex;align-items:center;justify-content:center}
.bmsb-bar svg{width:26px;height:26px;fill:#fff;display:block}
.bmsb-bar .bmsb-label{display:none;font:600 13px/1 Arial,Helvetica,sans-serif;white-space:nowrap;padding:0 14px}

/* Right side: icon stays on the screen edge, name slides out to the left */
.bmsb-right .bmsb-item{flex-direction:row-reverse}
.bmsb-left .bmsb-item{flex-direction:row}

.bmsb-has-labels .bmsb-label{display:block}
@media (hover:hover) and (pointer:fine){
  .bmsb-has-labels .bmsb-item:hover,
  .bmsb-has-labels .bmsb-item:focus-visible{width:150px}
}
.bmsb-item:hover{filter:brightness(1.1)}
.bmsb-item:focus-visible{outline:2px solid #fff}

/* Brand colours */
.bmsb-fb{background:#3b5998}
.bmsb-ig{background:linear-gradient(45deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%)}
.bmsb-yt{background:#e0191f}
.bmsb-tt{background:#2f3437}
.bmsb-tt svg{filter:drop-shadow(1.2px 1.2px 0 #fe2c55) drop-shadow(-1.2px -1.2px 0 #25f4ee)}

/* Tablet */
@media (max-width:1024px){
  .bmsb-bar .bmsb-item{width:46px;height:46px}
  .bmsb-bar .bmsb-icon{flex-basis:46px;width:46px;height:46px}
  .bmsb-bar svg{width:23px;height:23px}
}

/* Mobile: same vertical bar, slightly smaller, still on the left or right edge */
@media (max-width:768px){
  .bmsb-right{right:env(safe-area-inset-right,0px)}
  .bmsb-left{left:env(safe-area-inset-left,0px)}
  .bmsb-bar .bmsb-item{width:44px;height:44px}
  .bmsb-bar .bmsb-icon{flex-basis:44px;width:44px;height:44px}
  .bmsb-bar svg{width:22px;height:22px}
  .bmsb-bar .bmsb-label{display:none!important}
}

@media (prefers-reduced-motion:reduce){.bmsb-bar .bmsb-item{transition:none}}
@media print{.bmsb-bar{display:none!important}}
