/* VoovBet custom LiveChat launcher — 2026-09-08. No changes inside the chat. */
#voovbet-chat-launcher {
  --vb-chat-size: 80px;
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(var(--vb-chat-bottom, 18px), env(safe-area-inset-bottom, 0px));
  z-index: 2147483638;
  width: var(--vb-chat-size);
  height: var(--vb-chat-size);
  isolation: isolate;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: #0c0e12;
  color: #fff;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 7px 24px #0009, 0 0 20px #ed152c55;
  transition: transform .22s ease, box-shadow .22s ease;
  appearance: none;
}
#voovbet-chat-launcher[hidden] { display: none !important; }
#voovbet-chat-launcher::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -2;
  border-radius: inherit;
  background: conic-gradient(from 0deg, #651019, #e61b32 20%, #fff2e8 25%, #f93348 29%, #3b131b 48%, #991327 68%, #fff2e8 75%, #eb1435 80%, #651019);
  animation: vb-chat-orbit 6s linear infinite;
}
#voovbet-chat-launcher::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 15%, #35343a 0, #17171e 36%, #07080c 72%);
  box-shadow: inset 0 1px 2px #ffffff57, inset 0 -5px 12px #9b142d40;
}
#voovbet-chat-launcher:hover,
#voovbet-chat-launcher:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px #000a, 0 0 30px #f3204466;
}
#voovbet-chat-launcher:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
#voovbet-chat-launcher:active { transform: translateY(0) scale(.96); }
#voovbet-chat-launcher .vb-chat-logo {
  position: absolute;
  left: 23%;
  top: 25%;
  width: 54%;
  height: 54%;
  border-radius: 50%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}
#voovbet-chat-launcher .vb-chat-headset {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 2px 2px #000b);
}
#voovbet-chat-launcher .vb-chat-led {
  animation: vb-chat-led 3.2s ease-in-out infinite;
}
#voovbet-chat-launcher .vb-chat-status {
  position: absolute;
  width: 10px;
  height: 10px;
  bottom: 1px;
  right: 6px;
  border: 2px solid #13151a;
  border-radius: 50%;
  background: #89929a;
  box-sizing: content-box;
}
#voovbet-chat-launcher[data-availability="online"] .vb-chat-status {
  background: #65efa5;
  box-shadow: 0 0 8px #43de9470;
}
#voovbet-chat-launcher .vb-chat-unread {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  box-sizing: border-box;
  border: 2px solid #11131a;
  border-radius: 12px;
  background: #eb203a;
  font: 700 11px/17px Arial, sans-serif;
  color: white;
  text-align: center;
}
#voovbet-chat-launcher .vb-chat-unread[hidden] { display: none; }
#voovbet-chat-launcher .vb-chat-label {
  position: absolute;
  right: calc(100% + 15px);
  top: 50%;
  transform: translate(5px, -50%);
  padding: 9px 13px;
  border: 1px solid #e22c424d;
  border-radius: 10px;
  background: #17171fee;
  color: #fff;
  box-shadow: 0 5px 20px #0005;
  font: 600 12px/1.3 Arial, sans-serif;
  letter-spacing: .15px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s, transform .2s;
}
#voovbet-chat-launcher:hover .vb-chat-label,
#voovbet-chat-launcher:focus-visible .vb-chat-label {
  opacity: 1;
  transform: translate(0, -50%);
}
/* Hide only the native minimized icon, never the expanded conversation iframe. */
html.vb-chat-managed #chat-widget-minimized { display: none !important; }
html.vb-chat-managed:not([data-vb-chat-visibility="maximized"]) #chat-widget-container {
  pointer-events: none !important;
}
html.vb-chat-managed .nav-floating-btn { bottom: 116px !important; }
@keyframes vb-chat-orbit { to { transform: rotate(360deg); } }
@keyframes vb-chat-led { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }
@media (max-width: 767px) {
  #voovbet-chat-launcher {
    --vb-chat-size: 68px;
    right: max(14px, env(safe-area-inset-right));
    bottom: max(var(--vb-chat-bottom, 76px), calc(76px + env(safe-area-inset-bottom, 0px)));
  }
  #voovbet-chat-launcher .vb-chat-label { display: none; }
  html.vb-chat-managed .nav-floating-btn { bottom: calc(161px + env(safe-area-inset-bottom)) !important; }
}
@media (max-height: 440px) and (orientation: landscape) {
  #voovbet-chat-launcher { --vb-chat-size: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  #voovbet-chat-launcher,
  #voovbet-chat-launcher::before,
  #voovbet-chat-launcher .vb-chat-led,
  #voovbet-chat-launcher .vb-chat-label { animation: none; transition: none; }
}
